Lines Matching refs:yN

7321 function $K(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;do{if((d|b|e|0)<0){a=6}else{if((e|0)==0|(b|0)==0){if((f|0)==0){f=0;a=0;break}hd[c[a+8>>2]&127](a,f);f=0;a=0;break}if((2147483647/(b|0)|0|0)<(e|0)){a=10;break}if((d|0)!=0){d=da(d,b)|0;b=da(e,b)|0;b=pd[c[a+12>>2]&63](a,d,b,f)|0;a=(b|0)==0;f=a?f:b;a=a?64:0;break}b=da(e,b)|0;if((b|0)<=0){f=0;a=b>>31&6;break}f=Bd[c[a+4>>2]&255](a,b)|0;e=(f|0)==0;a=e?64:0;if(e){f=0;break}bX(f|0,0,b|0)|0}}while(0);c[g>>2]=a;i=h;return f|0}function aL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;e=(b|0)==0;do{if(e){j=0;f=4}else{h=(ZW(b|0)|0)+1|0;if((h|0)<=0){j=h;f=4;break}j=Bd[c[a+4>>2]&255](a,h)|0;a=j;j=(j|0)==0?64:0}}while(0);if((f|0)==4){h=j;a=0;j=j>>31&6}if((j|0)!=0|e){h=d;c[h>>2]=j;i=g;return a|0}$W(a|0,b|0,h|0)|0;h=d;c[h>>2]=j;i=g;return a|0}function bL(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=i;a:do{if(d>>>0>1){while(1){g=a[c]|0;if(g<<24>>24==0){break a}c=c+1|0;f=b+1|0;a[b]=g;d=d+ -1|0;if(d>>>0>1){b=f}else{b=f;break}}}}while(0);a[b]=0;i=e;return(a[c]|0)!=0|0}function cL(a){a=a|0;var b=0,c=0;b=i;while(1){c=a+ -1&a;if((c|0)==0){break}else{a=c}}i=b;return a|0}function dL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;a=i;c[e>>2]=0;if((b|0)==0){d=81;i=a;return d|0}d=nL(b,333319,f)|0;i=a;return d|0}function eL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;a=i;c[e>>2]=0;if((b|0)==0){d=81;i=a;return d|0}d=nL(b,333312,f)|0;i=a;return d|0}function fL(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;g=i;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206480)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function gL(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;g=i;b=ZW(d|0)|0;h=b+18|0;a=c[a>>2]|0;do{if((h|0)>0){j=Bd[c[a+4>>2]&255](a,h)|0;k=(j|0)==0;a=k?64:0;if(k){j=0;break}bX(j|0,0,h|0)|0}else{j=0;a=h>>31&6}}while(0);if((a|0)!=0){k=a;i=g;return k|0}$W(j|0,d|0,b|0)|0;$W(j+b|0,206456,18)|0;c[e>>2]=j;c[f>>2]=0;k=0;i=g;return k|0}function hL(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;g=i;b=ZW(d|0)|0;h=b+6|0;a=c[a>>2]|0;do{if((h|0)>0){j=Bd[c[a+4>>2]&255](a,h)|0;k=(j|0)==0;a=k?64:0;if(k){j=0;break}bX(j|0,0,h|0)|0}else{j=0;a=h>>31&6}}while(0);if((a|0)!=0){k=a;i=g;return k|0}$W(j|0,d|0,b|0)|0;$W(j+b|0,206448,6)|0;c[e>>2]=j;c[f>>2]=0;k=0;i=g;return k|0}function iL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=i;d=mL(c[a>>2]|0,d,206432)|0;if((d|0)==0){a=64;i=b;return a|0}c[e>>2]=d;c[f>>2]=0;a=0;i=b;return a|0}function jL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=i;d=mL(c[a>>2]|0,d,206416)|0;if((d|0)==0){a=64;i=b;return a|0}c[e>>2]=d;c[f>>2]=0;a=0;i=b;return a|0}function kL(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;g=i;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206408)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function lL(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;g=i;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206392)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function mL(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=ZW(d|0)|0;g=g+1+(ZW(e|0)|0)|0;do{if((g|0)>0){b=Bd[c[b+4>>2]&255](b,g)|0;j=(b|0)==0;h=j?64:0;if(j){b=0;break}bX(b|0,0,g|0)|0}else{b=0;h=g>>31&6}}while(0);if((h|0)!=0){j=0;i=f;return j|0}g=Sa(d|0,47)|0;if((g|0)==0){a[b]=0}else{j=g-d+1|0;hX(b|0,d|0,j|0)|0;a[b+j|0]=0;d=g+1|0}cX(b|0,e|0)|0;cX(b|0,d|0)|0;j=b;i=f;return j|0}function nL(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;m=i;i=i+8|0;h=i;i=i+8|0;g=a+8|0;o=c[g>>2]|0;k=a+4|0;if((o+3|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}j=a+20|0;n=c[j>>2]|0;do{if((n|0)==0){n=(c[a>>2]|0)+o|0;if((n|0)==0){p=0}else{l=6}}else{if((pd[n&63](a,o,h,4)|0)==4){o=c[g>>2]|0;n=h;l=6;break}else{q=85;i=f;return q|0}}}while(0);if((l|0)==6){p=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0)}n=o+4|0;c[g>>2]=n;if((p|0)!=(b|0)){q=2;i=f;return q|0}if((o+7|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}b=c[j>>2]|0;do{if((b|0)==0){c[g>>2]=o+8;o=o+24|0;l=14}else{if((pd[b&63](a,n,h,4)|0)!=4){q=85;i=f;return q|0}n=c[g>>2]|0;o=c[j>>2]|0;c[g>>2]=n+4;b=n+20|0;if((o|0)==0){o=b;l=14;break}q=(pd[o&63](a,b,0,0)|0)==0;o=q?0:85}}while(0);if((l|0)==14){b=o;o=(c[k>>2]|0)>>>0<o>>>0?85:0}if((o|0)!=0){q=o;i=f;return q|0}c[g>>2]=b;if((n+21|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}l=c[j>>2]|0;do{if((l|0)==0){m=(c[a>>2]|0)+b|0;if((m|0)!=0){break}c[g>>2]=n+22;q=2;i=f;return q|0}else{if((pd[l&63](a,b,m,2)|0)==2){b=c[g>>2]|0;break}else{q=85;i=f;return q|0}}}while(0);q=(d[m]|0)<<8&65535|(d[m+1|0]|0);p=b+2|0;c[g>>2]=p;m=q&65535;if(q<<16>>16==0){q=2;i=f;return q|0}b=1;a:while(1){if((p+3|0)>>>0>=(c[k>>2]|0)>>>0){o=85;l=49;break}l=c[j>>2]|0;do{if((l|0)==0){n=(c[a>>2]|0)+p|0;if((n|0)!=0){l=30;break}c[g>>2]=p+4;o=p+12|0;l=44}else{if((pd[l&63](a,p,h,4)|0)!=4){o=85;l=49;break a}p=c[g>>2]|0;n=h;l=30}}while(0);do{if((l|0)==30){l=0;q=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);n=p+4|0;c[g>>2]=n;if((q|0)!=2){l=c[j>>2]|0;n=p+12|0;if((l|0)==0){o=n;l=44;break}q=(pd[l&63](a,n,0,0)|0)==0;o=q?0:85;l=45;break}o=c[k>>2]|0;if((p+7|0)>>>0>=o>>>0){break}p=c[j>>2]|0;if((p|0)==0){p=(c[a>>2]|0)+n|0;if((p|0)==0){p=0}else{l=36}}else{if((pd[p&63](a,n,h,4)|0)!=4){break}o=c[k>>2]|0;n=c[g>>2]|0;p=h;l=36}if((l|0)==36){l=0;p=(d[p+1|0]|0)<<16|(d[p]|0)<<24|(d[p+2|0]|0)<<8|(d[p+3|0]|0)}q=n+4|0;c[g>>2]=q;if((n+7|0)>>>0>=o>>>0){break}n=c[j>>2]|0;if((n|0)==0){break a}if((pd[n&63](a,q,h,4)|0)==4){l=40;break a}}}while(0);if((l|0)==44){n=o;o=(c[k>>2]|0)>>>0<o>>>0?85:0;l=45}if((l|0)==45){if((o|0)!=0){l=49;break}c[g>>2]=n}if((b|0)>=(m|0)){o=2;l=49;break}p=c[g>>2]|0;b=b+1|0}if((l|0)==40){q=c[g>>2]|0}else if((l|0)==49){i=f;return o|0}c[g>>2]=q+4;c[e>>2]=p;q=0;i=f;return q|0}function oL(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;k=i;i=i+128|0;j=k;if((e|0)==0){n=85;i=h;return n|0}l=e+20|0;m=c[l>>2]|0;do{if((m|0)!=0){m=(pd[m&63](e,0,0,0)|0)==0;if(m){break}else{g=m?0:85}i=h;return g|0}}while(0);m=e+8|0;c[m>>2]=0;n=c[e+4>>2]|0;if((n|0)==0){n=85;i=h;return n|0}l=c[l>>2]|0;if((l|0)==0){l=n>>>0>128?128:n;$W(k|0,c[e>>2]|0,l|0)|0}else{l=pd[l&63](e,0,j,128)|0}c[m>>2]=l;if(l>>>0<=127){n=85;i=h;return n|0}if((a[k]|0)!=0){n=2;i=h;return n|0}if((a[j+74|0]|0)!=0){n=2;i=h;return n|0}if((a[j+82|0]|0)!=0){n=2;i=h;return n|0}k=a[j+1|0]|0;if(k<<24>>24==0|(k&255)>33){n=2;i=h;return n|0}if((a[j+63|0]|0)!=0){n=2;i=h;return n|0}if((a[j+((k&255)+2)|0]|0)!=0){n=2;i=h;return n|0}n=pL(b,e,(d[j+84|0]<<16|d[j+83|0]<<24|d[j+85|0]<<8|d[j+86|0])+255&-128,f,g)|0;i=h;return n|0}function pL(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;k=i;p=i;i=i+8|0;n=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;l=i;i=i+8|0;o=l;q=i;i=i+8|0;r=q;j=c[b>>2]|0;f=BK(0,e,f,t,s)|0;if((f|0)!=0){F=f;i=k;return F|0}t=c[t>>2]|0;s=c[s>>2]|0;if((FK(b,e,t,s,1347375956,o,r)|0)!=0){o=FK(b,e,t,s,1936092788,o,r)|0;if((o|0)!=0){F=o;i=k;return F|0}o=c[q>>2]|0;p=(g|0)%(o|0)|0;s=c[b>>2]|0;f=(p|0)==-1?0:p;p=c[l>>2]|0;a:do{if((f|0)<(o|0)){t=c[p+(f<<2)>>2]|0;r=e+20|0;q=c[r>>2]|0;if((q|0)==0){q=(c[e+4>>2]|0)>>>0<t>>>0?85:0}else{F=(pd[q&63](e,t,0,0)|0)==0;q=F?0:85}if((q|0)!=0){m=q;break}q=e+8|0;c[q>>2]=t;g=e+4|0;if((t+3|0)>>>0>=(c[g>>2]|0)>>>0){m=85;break}u=c[r>>2]|0;do{if((u|0)==0){n=(c[e>>2]|0)+t|0;if((n|0)!=0){u=t;m=77;break}c[q>>2]=t+4;n=0}else{if((pd[u&63](e,t,n,4)|0)!=4){m=85;break a}u=c[q>>2]|0;m=77}}while(0);if((m|0)==77){n=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);c[q>>2]=u+4;if((n|0)==-1){m=1;break}}m=QJ(b,e,f,h)|0;if((m|0)==0){m=0;break}t=t+4|0;f=c[r>>2]|0;if((f|0)==0){f=(c[g>>2]|0)>>>0<t>>>0?85:0}else{F=(pd[f&63](e,t,0,0)|0)==0;f=F?0:85}if((f|0)!=0){break}c[q>>2]=t;do{if((n|0)>0){m=Bd[c[s+4>>2]&255](s,n)|0;t=(m|0)==0;s=t?64:0;if(t){m=0;break}bX(m|0,0,n|0)|0}else{m=0;s=n>>31&6}}while(0);if((s|0)!=0){m=s;break}s=c[q>>2]|0;g=c[g>>2]|0;if(g>>>0<=s>>>0){m=85;break}r=c[r>>2]|0;if((r|0)==0){r=g-s|0;F=r>>>0>n>>>0?n:r;$W(m|0,(c[e>>2]|0)+s|0,F|0)|0;e=F}else{e=pd[r&63](e,s,m,n)|0}c[q>>2]=e+s;if(e>>>0<n>>>0){m=85;break}if((n|0)>4){F=(iX(m|0,206488,4)|0)!=0;e=F?206240:206496}else{e=206240}m=qL(b,m,n,0,e,h)|0}else{m=1}}while(0);if((p|0)!=0){hd[c[j+8>>2]&127](j,p)}c[l>>2]=0;if((m|0)!=0){F=m;i=k;return F|0}c[c[h>>2]>>2]=o;F=0;i=k;return F|0}o=c[l>>2]|0;r=c[q>>2]|0;q=c[b>>2]|0;b:do{if((g|0)==0|(g|0)==-1){f=(r|0)>0;do{if(f){v=e+20|0;g=e+4|0;u=e+8|0;s=0;t=0;do{w=c[o+(s<<2)>>2]|0;x=c[v>>2]|0;if((x|0)==0){C=(c[g>>2]|0)>>>0<w>>>0?85:0}else{F=(pd[x&63](e,w,0,0)|0)==0;C=F?0:85}if((C|0)!=0){break b}c[u>>2]=w;if((w+3|0)>>>0>=(c[g>>2]|0)>>>0){C=85;break b}x=c[v>>2]|0;if((x|0)==0){x=(c[e>>2]|0)+w|0;if((x|0)==0){x=6}else{m=15}}else{if((pd[x&63](e,w,n,4)|0)!=4){C=85;break b}w=c[u>>2]|0;x=n;m=15}if((m|0)==15){m=0;x=((d[x+1|0]|0)<<16|(d[x]|0)<<24|(d[x+2|0]|0)<<8|(d[x+3|0]|0))+6|0}c[u>>2]=w+4;t=x+t|0;s=s+1|0;}while((s|0)<(r|0));u=t+2|0;if((u|0)>0){g=u;m=19;break}g=u;s=0;C=u>>31&6}else{g=2;t=0;m=19}}while(0);do{if((m|0)==19){s=Bd[c[q+4>>2]&255](q,g)|0;u=(s|0)==0;C=u?64:0;if(u){s=0;break}bX(s|0,0,g|0)|0}}while(0);if((C|0)!=0){break}a[s]=-128;a[s+1|0]=1;F=s+2|0;a[F]=0;a[F+1|0]=0;a[F+2|0]=0;a[F+3|0]=0;c:do{if(f){v=e+20|0;f=e+4|0;u=e+8|0;w=0;z=0;y=2;x=6;A=1;do{B=c[o+(w<<2)>>2]|0;C=c[v>>2]|0;if((C|0)==0){C=(c[f>>2]|0)>>>0<B>>>0?85:0}else{F=(pd[C&63](e,B,0,0)|0)==0;C=F?0:85}if((C|0)!=0){break c}c[u>>2]=B;D=c[f>>2]|0;if((B+3|0)>>>0>=D>>>0){C=85;break b}C=c[v>>2]|0;if((C|0)==0){C=(c[e>>2]|0)+B|0;if((C|0)==0){C=B;B=0}else{E=C;m=33}}else{if((pd[C&63](e,B,n,4)|0)!=4){C=85;break b}D=c[f>>2]|0;B=c[u>>2]|0;E=n;m=33}if((m|0)==33){m=0;C=B;B=(d[E+1|0]|0)<<16|(d[E]|0)<<24|(d[E+2|0]|0)<<8|(d[E+3|0]|0)}E=C+4|0;c[u>>2]=E;if((C+5|0)>>>0>=D>>>0){C=85;break b}D=c[v>>2]|0;do{if((D|0)==0){D=(c[e>>2]|0)+E|0;if((D|0)!=0){m=40;break}c[u>>2]=C+6}else{if((pd[D&63](e,E,p,2)|0)!=2){C=85;break b}E=c[u>>2]|0;D=p;m=40}}while(0);do{if((m|0)==40){m=0;C=((d[D]|0)<<8&65535)>>>8;c[u>>2]=E+2;if((C|0)==0){break}B=(B|0)>2?B+ -2|0:0;if((C|0)==(A|0)){z=B+z|0;D=x}else{E=y+3|0;if((E|0)>(g|0)){C=0;break c}F=z&255;a[s+y|0]=F;A=z>>>8&255;a[s+(y+1)|0]=A;D=z>>>16&255;a[s+(y+2)|0]=D;z=z>>>24&255;a[s+E|0]=z;if((C|0)==5){e=z;m=56;break c}y=x+4|0;if((y|0)>(t|0)){C=0;break c}a[s+x|0]=-128;D=x+2|0;a[s+(x+1)|0]=C;a[s+D|0]=0;a[s+(x+3)|0]=0;a[s+y|0]=0;a[s+(x+5)|0]=0;z=B;y=D;D=x+6|0;A=C}if((D|0)>(t|0)){C=1;break c}x=D+B|0;if((x|0)>(t|0)){C=1;break c}D=s+D|0;C=c[u>>2]|0;E=c[f>>2]|0;if(E>>>0<=C>>>0){C=85;break c}F=c[v>>2]|0;if((F|0)==0){E=E-C|0;F=E>>>0>B>>>0?B:E;$W(D|0,(c[e>>2]|0)+C|0,F|0)|0;D=F}else{D=pd[F&63](e,C,D,B)|0}c[u>>2]=D+C;if(D>>>0<B>>>0){C=85;break c}}}while(0);w=w+1|0;}while((w|0)<(r|0));F=z&255;D=z>>>16&255;e=z>>>24&255;A=z>>>8&255;m=56}else{F=0;D=0;e=0;A=0;y=2;x=6;m=56}}while(0);do{if((m|0)==56){if((x|0)>(t|0)){C=0;break}a[s+x|0]=-128;a[s+(x+1)|0]=3;m=y+3|0;if((m|0)>(g|0)){C=0;break}a[s+y|0]=F;a[s+(y+1)|0]=A;a[s+(y+2)|0]=D;a[s+m|0]=e;C=qL(b,s,x+2|0,0,206504,h)|0;break b}}while(0);if((s|0)==0){break}hd[c[q+8>>2]&127](q,s)}else{C=1}}while(0);if((o|0)!=0){hd[c[j+8>>2]&127](j,o)}c[l>>2]=0;if((C|0)!=0){F=C;i=k;return F|0}c[c[h>>2]>>2]=1;F=0;i=k;return F|0}function qL(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;h=i;m=i;i=i+32|0;l=m;j=c[a>>2]|0;k=(b|0)==0;do{if((a|0)==0){if(k){j=33}else{g=33;break}i=h;return j|0}else{if(k){n=6;i=h;return n|0}k=Bd[c[j+4>>2]&255](j,40)|0;if((k|0)==0){g=64;break}bX(k|0,0,40)|0;c[k>>2]=b;c[k+4>>2]=d;c[k+8>>2]=0;c[k+32>>2]=0;c[k+20>>2]=0;b=k+24|0;c[b>>2]=329;c[m>>2]=2;c[l+16>>2]=k;if((f|0)!=0){c[m>>2]=10;n=c[a+24>>2]|0;d=a+28+(n<<2)|0;a:do{if((n|0)>0){n=a+28|0;while(1){m=c[n>>2]|0;n=n+4|0;if((Qc(c[(c[m>>2]|0)+8>>2]|0,f|0)|0)==0){break a}if(n>>>0<d>>>0){}else{m=0;break}}}else{m=0}}while(0);c[l+20>>2]=m}e=MJ(a,l,e,g)|0;if((e|0)==0){n=(c[g>>2]|0)+8|0;c[n>>2]=c[n>>2]&-1025;n=0;i=h;return n|0}g=c[b>>2]|0;if((g|0)!=0){fd[g&511](k)}hd[c[j+8>>2]&127](j,k);n=e;i=h;return n|0}}while(0);hd[c[j+8>>2]&127](j,b);n=g;i=h;return n|0}function rL(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+28>>2]|0;d=c[a>>2]|0;if((d|0)!=0){hd[c[e+8>>2]&127](e,d)}c[a+4>>2]=0;c[a>>2]=0;c[a+24>>2]=0;i=b;return}function sL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[a>>2]|0;if((c[b+72>>2]|0)!=1651078259){a=18;i=d;return a|0}c[a+20>>2]=c[b+100>>2];c[a+24>>2]=c[b+104>>2];f=b+156|0;a=a+28|0;if((c[(c[f>>2]|0)+4>>2]&1|0)==0){YV(a);a=ZV(e,b+76|0,a)|0;i=d;return a|0}else{$W(a|0,b+76|0,24)|0;a=(c[f>>2]|0)+4|0;c[a>>2]=c[a>>2]&-2;a=0;i=d;return a|0}return 0}function tL(a){a=a|0;var b=0;b=i;_V(c[a>>2]|0,a+28|0)|0;i=b;return}function uL(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=c[a>>2]|0;c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];a=ZV(e,a+28|0,b+28|0)|0;i=d;return a|0}function vL(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+20>>2]<<6;c[b>>2]=e;d=a+28|0;c[b+8>>2]=(c[d+4>>2]<<6)+e;a=c[a+24>>2]<<6;c[b+12>>2]=a;c[b+4>>2]=a-(c[d>>2]<<6);i=i;return}function wL(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;f=d+108|0;g=a+20|0;if((c[d+72>>2]|0)!=1869968492){d=18;i=e;return d|0}a=wK(c[a>>2]|0,b[d+110>>1]|0,b[f>>1]|0,g)|0;if((a|0)!=0){d=a;i=e;return d|0}xK(f,g)|0;d=0;i=e;return d|0}function xL(a){a=a|0;var b=0;b=i;yK(c[a>>2]|0,a+20|0)|0;i=b;return}function yL(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;f=a+20|0;d=d+20|0;a=wK(c[a>>2]|0,b[f+2>>1]|0,b[f>>1]|0,d)|0;if((a|0)!=0){i=e;return a|0}xK(f,d)|0;i=e;return a|0}function zL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((b|0)!=0){GJ(a+20|0,b)}if((d|0)==0){i=e;return}HJ(a+20|0,c[d>>2]|0,c[d+4>>2]|0);i=e;return}function AL(a,b){a=a|0;b=b|0;var c=0;c=i;zK(a+20|0,b);i=c;return}function BL(a,b){a=a|0;b=b|0;var d=0;d=i;c[b+72>>2]=1869968492;$W(b+108|0,a+20|0,20)|0;a=b+124|0;c[a>>2]=c[a>>2]&-2;i=d;return 0}function CL(a){a=a|0;var b=0,d=0,e=0;b=i;if((a|0)==0){i=b;return}d=c[c[a>>2]>>2]|0;e=c[(c[a+4>>2]|0)+12>>2]|0;if((e|0)!=0){fd[e&511](a)}lJ(d,a);i=b;return}function DL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=i;i=i+8|0;f=e;if((a|0)==0){j=37;i=d;return j|0}g=c[a>>2]|0;if((b|0)==0){j=6;i=d;return j|0}h=c[a+72>>2]|0;do{if((h|0)==1651078259){h=206520}else if((h|0)==1869968492){h=206552}else{h=iK(g,h,0)|0;j=(h|0)==0;if(j){b=18}else{h=j?0:h+28|0;break}i=d;return b|0}}while(0);f=jJ(c[g>>2]|0,c[h>>2]|0,f)|0;j=c[e>>2]|0;if((j|0)!=0){i=d;return j|0}c[f>>2]=g;g=f+4|0;c[g>>2]=h;c[f+8>>2]=c[h+4>>2];e=c[e>>2]|0;if((e|0)!=0){j=e;i=d;return j|0}c[f+12>>2]=c[a+64>>2]<<10;c[f+16>>2]=c[a+68>>2]<<10;a=Bd[c[h+8>>2]&255](f,a)|0;if((a|0)==0){c[b>>2]=f;j=0;i=d;return j|0}if((f|0)==0){j=a;i=d;return j|0}b=c[c[f>>2]>>2]|0;e=c[(c[g>>2]|0)+12>>2]|0;if((e|0)!=0){fd[e&511](f)}lJ(b,f);j=a;i=d;return j|0}function EL(a){a=a|0;var b=0;b=i;kK(a,273368)|0;kK(a,274640)|0;kK(a,286944)|0;kK(a,277624)|0;kK(a,207424)|0;kK(a,280624)|0;kK(a,282080)|0;kK(a,206632)|0;kK(a,283472)|0;kK(a,271720)|0;kK(a,283256)|0;kK(a,209736)|0;kK(a,270912)|0;kK(a,273104)|0;kK(a,273184)|0;kK(a,273264)|0;kK(a,208112)|0;kK(a,209816)|0;i=b;return}function FL(a){a=a|0;var b=0,d=0,e=0;b=i;d=ML()|0;do{if((d|0)==0){e=7}else{e=pK(d,a)|0;if((e|0)==0){EL(c[a>>2]|0);e=0;break}else{OL(d);break}}}while(0);i=b;return e|0}function GL(a){a=a|0;var b=0,d=0;b=i;if((a|0)==0){i=b;return 0}d=c[a>>2]|0;rK(a)|0;OL(d);i=b;return 0}function HL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;f=i;i=i+8|0;e=i;i=i+8|0;g=i;i=i+80|0;if((a|0)==0){j=40;i=d;return j|0}e=gc(b|0,0,e|0)|0;if((e|0)<0){j=1;i=d;return j|0}c[f>>2]=1;xb(e|0,2,f|0)|0;a:do{if((Xa(e|0,g|0)|0)>=0){g=c[g+36>>2]|0;if((g|0)==0){break}f=a+4|0;c[f>>2]=g;c[a+8>>2]=0;j=Xb(0,g|0,1,2,e|0,0)|0;c[a>>2]=j;do{if((j|0)==0|(j|0)==-1){j=c[f>>2]|0;g=AW(j)|0;c[a>>2]=g;if((g|0)==0){break a}else{h=0}while(1){g=Qb(e|0,g+h|0,j-h|0)|0;if((g|0)<1){if((g|0)!=-1){f=16;break}if((c[(Pc()|0)>>2]|0)!=4){f=16;break}}else{h=g+h|0}j=c[f>>2]|0;if((h|0)==(j|0)){f=14;break}g=c[a>>2]|0}if((f|0)==14){c[a+24>>2]=331;break}else if((f|0)==16){BW(c[a>>2]|0);break a}}else{c[a+24>>2]=330}}while(0);cb(e|0)|0;c[a+12>>2]=c[a>>2];c[a+16>>2]=b;c[a+20>>2]=0;j=0;i=d;return j|0}}while(0);cb(e|0)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;j=81;i=d;return j|0}function IL(a){a=a|0;var b=0,d=0,e=0;b=i;e=a+12|0;d=a+4|0;Wb(c[e>>2]|0,c[d>>2]|0)|0;c[e>>2]=0;c[d>>2]=0;c[a>>2]=0;i=b;return}function JL(a,b){a=a|0;b=b|0;var c=0;c=i;a=AW(b)|0;i=c;return a|0}function KL(a){a=a|0;var b=0,d=0;b=i;d=a+12|0;BW(c[d>>2]|0);c[d>>2]=0;c[a+4>>2]=0;c[a>>2]=0;i=b;return}function LL(a,b){a=a|0;b=b|0;a=i;BW(b);i=a;return}function ML(){var a=0,b=0;b=i;a=AW(16)|0;if((a|0)==0){i=b;return a|0}c[a>>2]=0;c[a+4>>2]=190;c[a+12>>2]=40;c[a+8>>2]=91;i=b;return a|0}function NL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=i;b=CW(d,c)|0;i=a;return b|0}function OL(a){a=a|0;var b=0;b=i;hd[c[a+8>>2]&127](a,a);i=b;return}function PL(a,b){a=a|0;b=b|0;b=c[a>>2]|0;c[a+16>>2]=c[b+296>>2];c[a+20>>2]=c[b+300>>2];i=i;return 0}function QL(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;i=i;return}function RL(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0;f=i;g=c[a+20>>2]|0;a=c[a+16>>2]|0;if((a|0)==0){k=0;i=f;return k|0}else{j=0}while(1){h=(j+a|0)>>>1;k=c[g+(h<<3)>>2]|0;if((k|0)==(b|0)){break}k=k>>>0>b>>>0;a=k?h:a;j=k?j:h+1|0;if(j>>>0>=a>>>0){g=0;d=5;break}}if((d|0)==5){i=f;return g|0}k=(e[g+(h<<3)+4>>1]|0)+1|0;i=f;return k|0}function SL(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;d=c[a+20>>2]|0;g=(c[b>>2]|0)+1|0;a=c[a+16>>2]|0;a:do{if((a|0)==0){k=0}else{j=a;k=0;while(1){h=(k+j|0)>>>1;l=c[d+(h<<3)>>2]|0;if((g|0)==(l|0)){break}l=g>>>0<l>>>0;j=l?h:j;k=l?k:h+1|0;if(k>>>0>=j>>>0){break a}}j=g;l=(e[d+(h<<3)+4>>1]|0)+1|0;k=b;c[k>>2]=j;i=f;return l|0}}while(0);if(k>>>0>=a>>>0){j=0;l=0;k=b;c[k>>2]=j;i=f;return l|0}j=c[d+(k<<3)>>2]|0;l=(e[d+(k<<3)+4>>1]|0)+1|0;k=b;c[k>>2]=j;i=f;return l|0}function TL(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(207288,b)|0;i=c;return a|0}function UL(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;g=i;h=i;i=i+16|0;f=h;a:do{if((ZL(d,e)|0)!=0){VL(e);l=e+132|0;k=$V(l,d)|0;do{if((k&255|0)!=7){if((k|0)!=0){k=gW(l,d)|0;if(!((k&255|0)!=7&(k|0)==0)){break}}c[e+172>>2]=d;c[e+104>>2]=l;if((ZL(l,e)|0)==0){break a}}}while(0);VL(e);l=2;i=g;return l|0}}while(0);k=c[e+180>>2]|0;do{if((k|0)==0){j=14}else{d=c[e+176>>2]|0;if((d|0)==0){j=14;break}l=a[k]|0;if(!(l<<24>>24==73|l<<24>>24==105)){j=14;break}l=a[k+1|0]|0;if(!(l<<24>>24==83|l<<24>>24==115)){j=14;break}l=a[k+2|0]|0;if(!(l<<24>>24==79|l<<24>>24==111)){j=14;break}k=k+3|0;if((Qc(k|0,206736)|0)!=0){if((Qc(k|0,206744)|0)!=0){j=14;break}if((Qc(d|0,206752)|0)!=0){j=14;break}}c[h>>2]=e;l=f+4|0;k=l;c[k>>2]=0;c[k+4>>2]=0;c[l>>2]=1970170211;b[f+8>>1]=3;b[f+10>>1]=1}}while(0);if((j|0)==14){c[h>>2]=e;l=f+4|0;c[l>>2]=0;c[l+4>>2]=0}l=eK(206584,0,f,0)|0;i=g;return l|0}function VL(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((b|0)==0){i=d;return}e=c[b+100>>2]|0;f=b+300|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+292|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+284|0;h=c[f>>2]|0;do{if((h|0)==0){h=0}else{g=b+280|0;if((c[g>>2]|0)>0){j=0}else{break}do{k=h+(j*12|0)|0;do{if((k|0)!=0){lJ(e,c[k>>2]|0);c[k>>2]=0;if((a[h+(j*12|0)+4|0]|0)==0){break}k=h+(j*12|0)+8|0;lJ(e,c[k>>2]|0);c[k>>2]=0}}while(0);j=j+1|0;h=c[f>>2]|0}while((j|0)<(c[g>>2]|0))}}while(0);lJ(e,h);c[f>>2]=0;f=b+192|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+20|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+24|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+32|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+176|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+180|0;lJ(e,c[f>>2]|0);c[f>>2]=0;e=b+104|0;f=c[e>>2]|0;if((f|0)!=(b+132|0)){i=d;return}zJ(f);c[e>>2]=c[b+172>>2];i=d;return}function WL(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=i;f=c[f>>2]|0;if((f|0)==0){s=6;i=h;return s|0}if((c[f+16>>2]|0)>>>0<=g>>>0){s=6;i=h;return s|0}r=c[f+104>>2]|0;k=(g|0)==0?0:g+ -1|0;n=c[f+292>>2]|0;m=n+(k<<4)+6|0;p=(b[n+(k<<4)+8>>1]|0)+(b[m>>1]|0)|0;g=e+76|0;c[g>>2]=p;j=n+(k<<4)+2|0;l=n+(k<<4)|0;q=(b[j>>1]|0)-(b[l>>1]|0)|0;c[e+80>>2]=q;b[e+92>>1]=1;a[e+94|0]=1;o=f+308|0;s=1<<(c[o>>2]&3);if((s|0)==1){q=q+7>>3;c[e+84>>2]=q}else if((s|0)==8){q=q+63>>6<<3;c[e+84>>2]=q}else if((s|0)==4){q=q+31>>5<<2;c[e+84>>2]=q}else if((s|0)==2){q=q+15>>4<<1;c[e+84>>2]=q}else{s=3;i=h;return s|0}p=da(p,q)|0;q=CJ(e,p)|0;if((q|0)!=0){s=q;i=h;return s|0}q=PJ(r,c[n+(k<<4)+12>>2]|0)|0;if((q|0)!=0){s=q;i=h;return s|0}q=e+88|0;r=CK(r,c[q>>2]|0,p)|0;if((r|0)!=0){s=r;i=h;return s|0}r=c[o>>2]|0;if(!((r&8|0)!=0|(p|0)==0)){s=p;r=c[q>>2]|0;while(1){t=d[r]|0;t=t>>>1&85|t<<1&170;t=t>>>2&51|t<<2&204;a[r]=t>>>4|t<<4;s=s+ -1|0;if((s|0)==0){break}else{r=r+1|0}}r=c[o>>2]|0}do{if(((r>>>2^r>>>3)&1|0)!=0){o=1<<(r>>>4&3);if((o|0)==4){if(p>>>0<=3){break}o=c[q>>2]|0;while(1){s=a[o]|0;r=o+3|0;a[o]=a[r]|0;a[r]=s;r=o+1|0;s=a[r]|0;t=o+2|0;a[r]=a[t]|0;a[t]=s;p=p+ -4|0;if(p>>>0>3){o=o+4|0}else{break}}}else if((o|0)==2){if(p>>>0<=1){break}o=c[q>>2]|0;while(1){s=a[o]|0;t=o+1|0;a[o]=a[t]|0;a[t]=s;p=p+ -2|0;if(p>>>0>1){o=o+2|0}else{break}}}else{break}}}while(0);c[e+72>>2]=1651078259;c[e+100>>2]=b[l>>1]|0;c[e+104>>2]=b[m>>1]|0;s=e+24|0;c[e+40>>2]=b[n+(k<<4)+4>>1]<<6;c[e+32>>2]=b[l>>1]<<6;c[e+36>>2]=b[m>>1]<<6;c[s>>2]=(b[j>>1]|0)-(b[l>>1]|0)<<6;c[e+28>>2]=c[g>>2]<<6;t=f+196|0;XJ(s,(c[t+12>>2]|0)+(c[t+8>>2]|0)<<6);t=0;i=h;return t|0}function XL(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;e=c[a>>2]|0;g=c[d+16>>2]|0;h=c[d+8>>2]|0;if((g|0)!=0){h=((da(h,g)|0)+36|0)/72|0}g=h+32>>6;d=c[d>>2]|0;if((d|0)==0){d=(c[(c[e+32>>2]|0)+12>>2]|0)+32>>6}else if((d|0)==1){d=e+196|0;d=(c[d+12>>2]|0)+(c[d+8>>2]|0)|0}else{h=7;i=f;return h|0}d=(g|0)==(d|0);if(!d){h=d?0:23;i=f;return h|0}h=e+196|0;YJ(e,0);c[a+24>>2]=c[h+8>>2]<<6;c[a+28>>2]=0-(c[h+12>>2]|0)<<6;c[a+36>>2]=b[h+40>>1]<<6;h=0;i=f;return h|0}function YL(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;g=c[a>>2]|0;f=g+196|0;YJ(g,d);c[a+24>>2]=c[f+8>>2]<<6;c[a+28>>2]=0-(c[f+12>>2]|0)<<6;c[a+36>>2]=b[f+40>>1]<<6;i=e;return 0}function ZL(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;g=i;m=i;i=i+8|0;n=m;p=i;i=i+8|0;r=p;s=i;i=i+8|0;v=s;x=i;i=i+8|0;y=x;w=i;i=i+8|0;A=w;o=i;i=i+8|0;z=o;D=i;i=i+8|0;u=D;B=i;i=i+16|0;h=i;i=i+8|0;j=h;c[h>>2]=0;q=f+100|0;k=c[q>>2]|0;t=f+184|0;J=PJ(e,0)|0;c[D>>2]=J;a:do{if((J|0)==0){J=ZK(e,207248,t)|0;c[D>>2]=J;if((J|0)!=0){f=1;l=20;break}if((c[t>>2]|0)!=1885562369){f=3;l=20;break}t=f+188|0;C=c[t>>2]|0;if(C>>>0>134217727|(C|0)==0){f=3;l=20;break}C=oJ(k,16,0,C,0,u)|0;u=f+192|0;c[u>>2]=C;if((c[D>>2]|0)!=0){f=64;l=20;break}do{if((c[t>>2]|0)==0){F=0;l=10}else{E=0;while(1){J=ZK(e,207264,C)|0;c[D>>2]=J;if((J|0)!=0){break}E=E+1|0;F=c[t>>2]|0;if(E>>>0<F>>>0){C=C+16|0}else{l=9;break}}if((l|0)==9){C=c[u>>2]|0;if((F|0)==1){F=1;l=22;break}else{l=10;break}}lJ(k,c[u>>2]|0);c[u>>2]=0;J=c[D>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}F=c[t>>2]|0;C=0}}while(0);if((l|0)==10){D=0;while(1){l=~D;D=D+1|0;if((F|0)==(D|0)){break}G=c[C+12>>2]|0;H=0;F=0;while(1){E=F+1|0;I=C+(E<<4)+12|0;J=c[I>>2]|0;if(G>>>0>J>>>0){G=C+(E<<4)|0;H=C+(F<<4)|0;$W(B|0,H|0,16)|0;$W(H|0,G|0,16)|0;$W(G|0,B|0,16)|0;G=c[I>>2]|0;H=1}else{G=J}I=c[C+(F<<4)+8>>2]|0;if(I>>>0>G>>>0){f=9;l=20;break a}if((c[C+(F<<4)+12>>2]|0)>>>0>(G-I|0)>>>0){f=9;l=20;break a}F=c[t>>2]|0;if(E>>>0<(F+l|0)>>>0){F=E}else{break}}if((H|0)==0){break}if(D>>>0<(F+ -1|0)>>>0){}else{break}}C=c[u>>2]|0;l=22}if((l|0)==22){c[h>>2]=0}B=c[q>>2]|0;b:do{if((F|0)==0){z=3;l=30}else{D=0;while(1){E=D+1|0;if((c[C+(D<<4)>>2]|0)==1){break}if(E>>>0<F>>>0){D=E}else{z=3;l=30;break b}}E=c[e+8>>2]|0;F=c[C+(D<<4)+12>>2]|0;if(E>>>0>F>>>0){z=83;l=30;break}if((DK(e,F-E|0)|0)!=0){z=83;l=30;break}G=c[C+(D<<4)+8>>2]|0;c[o>>2]=0;C=YK(e,z)|0;if(!((c[o>>2]|0)==0&C>>>0<256)){D=0;G=0;break}F=(C&4|0)==0;if(F){C=YK(e,z)|0}else{C=GK(e,z)|0}if((c[o>>2]|0)!=0){D=0;G=0;break}if(C>>>0>((G>>>0)/9|0)>>>0){c[o>>2]=8;D=0;G=0;break}c[f+280>>2]=C;D=oJ(B,12,0,C,0,z)|0;if((c[o>>2]|0)!=0){G=0;break}E=(C|0)==0;do{if(!E){if(F){H=0;do{J=ZK(e,207224,D+(H*12|0)|0)|0;c[o>>2]=J;if((J|0)!=0){G=0;break b}H=H+1|0;}while(H>>>0<C>>>0)}else{H=0;do{J=ZK(e,207200,D+(H*12|0)|0)|0;c[o>>2]=J;if((J|0)!=0){G=0;break b}H=H+1|0;}while(H>>>0<C>>>0)}H=C&3;if((H|0)==0){break}J=DK(e,4-H|0)|0;c[o>>2]=J;if((J|0)==0){break}c[o>>2]=83;G=0;break b}}while(0);if(F){F=YK(e,z)|0}else{F=GK(e,z)|0}if((c[o>>2]|0)!=0){G=0;break}if(F>>>0>((da(C,-9)|0)+G|0)>>>0){c[o>>2]=8;G=0;break}G=oJ(B,1,0,F,0,z)|0;if((c[o>>2]|0)!=0){break}J=CK(e,G,F)|0;c[o>>2]=J;if((J|0)!=0){break}H=oJ(B,12,0,C,0,z)|0;if((c[o>>2]|0)!=0){break}c[f+284>>2]=H;c:do{if(!E){E=0;while(1){I=c[D+(E*12|0)>>2]|0;if((I|0)<0|I>>>0>F>>>0){l=59;break}c[H+(E*12|0)>>2]=aL(B,G+I|0,z)|0;if((c[o>>2]|0)!=0){break b}J=D+(E*12|0)+4|0;a[H+(E*12|0)+4|0]=a[J]|0;I=c[D+(E*12|0)+8>>2]|0;if((a[J]|0)==0){c[H+(E*12|0)+8>>2]=I}else{if((I|0)<0|I>>>0>F>>>0){l=63;break}c[H+(E*12|0)+8>>2]=aL(B,G+I|0,z)|0;if((c[o>>2]|0)!=0){break b}}E=E+1|0;if(E>>>0>=C>>>0){break c}}if((l|0)==59){c[o>>2]=9;break b}else if((l|0)==63){c[o>>2]=9;break b}}}while(0);c[o>>2]=0}}while(0);if((l|0)==30){c[o>>2]=z;D=0;G=0}lJ(B,D);lJ(B,G);J=c[o>>2]|0;c[h>>2]=J;if((J|0)!=0){break}o=c[u>>2]|0;B=c[t>>2]|0;d:do{if((B|0)==0){l=72}else{z=0;while(1){C=z+1|0;if((c[o+(z<<4)>>2]|0)==256){z=1;break d}if(C>>>0<B>>>0){z=C}else{l=72;break}}}}while(0);if((l|0)==72){J=_L(e,f,2)|0;c[h>>2]=J;if((J|0)!=0){break}B=c[t>>2]|0;o=c[u>>2]|0;z=0}c[w>>2]=0;C=c[q>>2]|0;e:do{if((B|0)==0){E=3;l=79}else{l=0;while(1){D=l+1|0;if((c[o+(l<<4)>>2]|0)==4){break}if(D>>>0<B>>>0){l=D}else{E=3;l=79;break e}}B=e+8|0;E=c[B>>2]|0;D=c[o+(l<<4)+12>>2]|0;if(E>>>0>D>>>0){E=83;l=79;break}if((DK(e,D-E|0)|0)!=0){E=83;l=79;break}D=c[o+(l<<4)+8>>2]|0;c[w>>2]=0;l=YK(e,A)|0;E=c[w>>2]|0;if((E|0)!=0){l=102;break}J=l&-256;if(!((J|0)==256|(J|0)==0)){E=3;l=102;break}F=l>>>0<256;E=(l&4|0)!=0;do{if(F){if(E){l=GK(e,A)|0;break}else{l=YK(e,A)|0;break}}else{if(E){l=(EK(e,A)|0)&65535;break}else{l=(WK(e,A)|0)&65535;break}}}while(0);if((c[w>>2]|0)!=0){E=3;l=102;break}o=f+288|0;c[o>>2]=l;if((l|0)==0){E=8;l=102;break}if(F){if(l>>>0>((D>>>0)/12|0)>>>0){E=8;l=102;break}}else{if(l>>>0>((D>>>0)/5|0)>>>0){E=8;l=102;break}}D=oJ(C,16,0,l,0,A)|0;A=f+292|0;c[A>>2]=D;if((c[w>>2]|0)!=0){E=64;l=102;break}J=E?206992:207024;I=y+1|0;E=y+2|0;H=y+3|0;G=y+4|0;f:do{if(F){x=0;while(1){c[w>>2]=ZK(e,J,D+(x<<4)|0)|0;c[D+(x<<4)+12>>2]=0;x=x+1|0;if((c[w>>2]|0)!=0){l=104;break f}if(x>>>0<l>>>0){}else{l=103;break}}}else{F=0;while(1){J=ZK(e,207056,y)|0;if((J|0)==0){b[D+(F<<4)>>1]=(d[x]|0)+ -128<<16>>16;b[D+(F<<4)+2>>1]=(d[I]|0)+ -128<<16>>16;b[D+(F<<4)+4>>1]=(d[E]|0)+ -128<<16>>16;b[D+(F<<4)+6>>1]=(d[H]|0)+ -128<<16>>16;b[D+(F<<4)+8>>1]=(d[G]|0)+ -128<<16>>16;b[D+(F<<4)+10>>1]=0;J=0}c[w>>2]=J;c[D+(F<<4)+12>>2]=0;F=F+1|0;if((c[w>>2]|0)!=0){l=104;break f}if(F>>>0>=l>>>0){l=103;break}}}}while(0);if((l|0)==103){c[h>>2]=0}else if((l|0)==104){lJ(C,c[A>>2]|0);c[A>>2]=0;J=c[w>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}}c[s>>2]=0;w=c[q>>2]|0;y=c[u>>2]|0;D=c[t>>2]|0;g:do{if((D|0)==0){E=3;l=110}else{x=0;while(1){C=x+1|0;if((c[y+(x<<4)>>2]|0)==8){break}if(C>>>0<D>>>0){x=C}else{E=3;l=110;break g}}C=c[B>>2]|0;D=c[y+(x<<4)+12>>2]|0;if(C>>>0>D>>>0){E=83;l=110;break}if((DK(e,D-C|0)|0)!=0){E=83;l=110;break}x=c[y+(x<<4)+8>>2]|0;c[s>>2]=0;E=MK(e,8)|0;c[s>>2]=E;if((E|0)!=0){break}y=UK(e)|0;F=(y&4|0)==0;if(F){C=UK(e)|0}else{C=TK(e)|0}PK(e);if(y>>>0>=256){E=3;break}J=c[o>>2]|0;if(!((J|0)>-1&(C|0)==(J|0))){E=3;break}D=oJ(w,4,0,C,0,v)|0;E=c[s>>2]|0;if((E|0)!=0){break}E=(C|0)==0;if(E){l=123}else{if(F){G=0;do{c[D+(G<<2)>>2]=YK(e,v)|0;G=G+1|0;}while(G>>>0<C>>>0)}else{G=0;do{c[D+(G<<2)>>2]=GK(e,v)|0;G=G+1|0;}while(G>>>0<C>>>0)}if((c[s>>2]|0)==0){l=123}}h:do{if((l|0)==123){if(F){F=0;do{YK(e,v)|0;F=F+1|0;if((c[s>>2]|0)!=0){break h}}while(F>>>0<4)}else{F=0;do{GK(e,v)|0;F=F+1|0;if((c[s>>2]|0)!=0){break h}}while(F>>>0<4)}if(!E){E=0;do{v=c[D+(E<<2)>>2]|0;if(!((v|0)<0|v>>>0>x>>>0)){c[(c[A>>2]|0)+(E<<4)+12>>2]=(c[B>>2]|0)+v}E=E+1|0;}while(E>>>0<C>>>0)}c[f+308>>2]=y}}while(0);lJ(w,D);J=c[s>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}c[p>>2]=0;s=c[q>>2]|0;u=c[u>>2]|0;v=c[t>>2]|0;i:do{if((v|0)==0){E=3;l=140}else{t=0;while(1){w=t+1|0;if((c[u+(t<<4)>>2]|0)==32){break}if(w>>>0<v>>>0){t=w}else{E=3;l=140;break i}}v=c[B>>2]|0;t=c[u+(t<<4)+12>>2]|0;if(v>>>0>t>>>0){E=83;l=140;break}if((DK(e,t-v|0)|0)!=0){E=83;l=140;break}c[p>>2]=0;E=MK(e,14)|0;c[p>>2]=E;if((E|0)!=0){break}x=UK(e)|0;t=(x&4|0)==0;if(t){w=SK(e)|0;y=SK(e)|0;u=SK(e)|0;v=SK(e)|0;b[f+304>>1]=SK(e)|0}else{w=RK(e)|0;y=RK(e)|0;u=RK(e)|0;v=RK(e)|0;b[f+304>>1]=RK(e)|0}u=u<<16>>16;w=w<<16>>16;PK(e);if(x>>>0>=256){E=3;break}x=(y<<16>>16)-w+1|0;y=da(1-u+(v<<16>>16)|0,x)|0;v=oJ(s,8,0,y,0,r)|0;if((c[p>>2]|0)!=0){E=64;break}J=MK(e,y<<1)|0;c[p>>2]=J;do{if((J|0)==0){if((y|0)>0){A=0;B=0;do{if(t){C=SK(e)|0}else{C=RK(e)|0}if(C<<16>>16!=-1){c[v+(B<<3)>>2]=((A|0)%(x|0)|0)+w+(((A|0)/(x|0)|0)+u<<8);b[v+(B<<3)+4>>1]=C;B=B+1|0}A=A+1|0;}while((A|0)<(y|0))}else{B=0}PK(e);t=oJ(s,8,0,B,0,r)|0;if((c[p>>2]|0)!=0){l=159;break}if((B|0)>0){r=0;do{c[t+(r<<3)>>2]=c[v+(r<<3)>>2];b[t+(r<<3)+4>>1]=b[v+(r<<3)+4>>1]|0;r=r+1|0;}while((r|0)<(B|0))}c[f+296>>2]=B;c[f+300>>2]=t;lJ(s,v)}else{t=0;l=159}}while(0);if((l|0)==159){lJ(s,t);lJ(s,v)}J=c[p>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}if(z){J=_L(e,f,256)|0;c[h>>2]=J;if((J|0)!=0){break a}}c[f>>2]=1;c[f+4>>2]=0;c[f+8>>2]=(a[f+199|0]|0)==0?146:150;c[m>>2]=0;e=c[q>>2]|0;t=f+12|0;c[t>>2]=0;q=f+284|0;s=c[q>>2]|0;p=f+280|0;r=c[p>>2]|0;do{if((r|0)>0){u=0;while(1){v=u+1|0;w=(Qc(c[s+(u*12|0)>>2]|0,206904)|0)!=0;if((v|0)<(r|0)&w){u=v}else{break}}do{if(w){w=0;u=2}else{if((s+(u*12|0)|0)==0){w=0;u=2;break}if((a[s+(u*12|0)+4|0]|0)==0){w=0;u=2;break}u=s+(u*12|0)+8|0;J=a[c[u>>2]|0]|0;if(!(J<<24>>24==105|J<<24>>24==73|J<<24>>24==111|J<<24>>24==79)){w=0;u=2;break}c[t>>2]=1;u=a[c[u>>2]|0]|0;if(u<<24>>24==79){w=206912;u=3;break}w=u<<24>>24==111?206912:206920;u=3}}while(0);y=0;while(1){x=y+1|0;v=(Qc(c[s+(y*12|0)>>2]|0,206928)|0)!=0;if((x|0)<(r|0)&v){y=x}else{break}}do{if(v){x=0}else{if((s+(y*12|0)|0)==0){x=0;break}if((a[s+(y*12|0)+4|0]|0)==0){x=0;break}J=a[c[s+(y*12|0)+8>>2]|0]|0;if(!(J<<24>>24==98|J<<24>>24==66)){x=0;break}c[t>>2]=u;x=206944}}while(0);u=0;while(1){t=u+1|0;v=(Qc(c[s+(u*12|0)>>2]|0,206952)|0)!=0;if((t|0)<(r|0)&v){u=t}else{break}}do{if(v){t=0}else{if((s+(u*12|0)|0)==0){t=0;break}if((a[s+(u*12|0)+4|0]|0)==0){t=0;break}t=c[s+(u*12|0)+8>>2]|0;J=a[t]|0;if(J<<24>>24==110|J<<24>>24==78|J<<24>>24==0){t=0;break}}}while(0);y=0;while(1){v=y+1|0;u=(Qc(c[s+(y*12|0)>>2]|0,206968)|0)!=0;if((v|0)<(r|0)&u){y=v}else{break}}do{if(u){B=0;C=0;A=0}else{if((s+(y*12|0)|0)==0){B=0;C=0;A=0;break}if((a[s+(y*12|0)+4|0]|0)==0){B=0;C=0;A=0;break}B=c[s+(y*12|0)+8>>2]|0;J=a[B]|0;if(J<<24>>24==110|J<<24>>24==78|J<<24>>24==0){B=0;C=0;A=0;break}if((B|0)==0){B=0;C=0;A=0;break}A=ZW(B|0)|0;C=A;A=A+1|0}}while(0);if((x|0)==0){u=1;x=0;y=0}else{J=ZW(x|0)|0;u=0;y=J;A=A+1+J|0}if((w|0)==0){z=1;w=0;s=0}else{J=ZW(w|0)|0;z=0;s=J;A=A+1+J|0}if((t|0)==0){r=1;t=0;v=0;break}J=ZW(t|0)|0;r=0;v=J;A=A+1+J|0}else{r=1;s=0;u=1;C=0;B=0;t=0;w=0;x=0;y=0;z=1;v=0;A=0}}while(0);D=(A|0)==0;C=D?7:C;B=D?206984:B;e=jJ(e,D?8:A,n)|0;n=f+24|0;c[n>>2]=e;A=c[m>>2]|0;if((A|0)!=0){c[h>>2]=A;break a}if((B|0)!=0){$W(e|0,B|0,C|0)|0;if((C|0)!=0){B=0;do{A=e+B|0;if((a[A]|0)==32){a[A]=45}B=B+1|0;}while(B>>>0<C>>>0)}e=e+C|0}if(!u){if((e|0)!=(c[n>>2]|0)){a[e]=32;e=e+1|0}$W(e|0,x|0,y|0)|0;e=e+y|0}if(!z){if((e|0)!=(c[n>>2]|0)){a[e]=32;e=e+1|0}$W(e|0,w|0,s|0)|0;e=e+s|0}if(!r){if((e|0)!=(c[n>>2]|0)){a[e]=32;e=e+1|0}$W(e|0,t|0,v|0)|0;if((v|0)!=0){n=0;do{r=e+n|0;if((a[r]|0)==32){a[r]=45}n=n+1|0;}while(n>>>0<v>>>0)}e=e+v|0}a[e]=0;J=c[m>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}e=c[q>>2]|0;n=c[p>>2]|0;do{if((n|0)>0){m=0;while(1){s=m+1|0;r=(Qc(c[e+(m*12|0)>>2]|0,206760)|0)!=0;if((s|0)<(n|0)&r){m=s}else{break}}if(r){l=231;break}if((e+(m*12|0)|0)==0){l=231;break}if((a[e+(m*12|0)+4|0]|0)==0){l=231;break}c[f+20>>2]=aL(k,c[e+(m*12|0)+8>>2]|0,j)|0;if((c[h>>2]|0)!=0){break a}}else{l=231}}while(0);if((l|0)==231){c[f+20>>2]=0}c[f+16>>2]=(c[o>>2]|0)+1;c[f+28>>2]=1;m=oJ(k,16,0,1,0,j)|0;c[f+32>>2]=m;if((c[h>>2]|0)!=0){break a}bX(m|0,0,16)|0;o=(c[f+208>>2]|0)+(c[f+204>>2]|0)&65535;b[m>>1]=o;s=c[q>>2]|0;r=c[p>>2]|0;do{if((r|0)>0){n=0;while(1){t=n+1|0;e=(Qc(c[s+(n*12|0)>>2]|0,206776)|0)!=0;if((t|0)<(r|0)&e){n=t}else{break}}if(e){l=238;break}if((s+(n*12|0)|0)==0){l=238;break}b[m+2>>1]=((c[s+(n*12|0)+8>>2]|0)+5|0)/10|0}else{l=238}}while(0);if((l|0)==238){b[m+2>>1]=(o<<16>>16<<1|0)/3|0}e=c[q>>2]|0;r=c[p>>2]|0;do{if((r|0)>0){s=0;while(1){n=s+1|0;o=(Qc(c[e+(s*12|0)>>2]|0,206792)|0)!=0;if((n|0)<(r|0)&o){s=n}else{break}}do{if(o){n=0}else{if((e+(s*12|0)|0)==0){n=0;break}n=(((c[e+(s*12|0)+8>>2]|0)*460800|0)+36135|0)/72270|0;c[m+4>>2]=n;e=c[q>>2]|0;r=c[p>>2]|0}}while(0);if((r|0)>0){o=0}else{l=259;break}while(1){s=o+1|0;t=(Qc(c[e+(o*12|0)>>2]|0,206808)|0)!=0;if((s|0)<(r|0)&t){o=s}else{break}}do{if(t){o=0}else{if((e+(o*12|0)|0)==0){o=0;break}o=c[e+(o*12|0)+8>>2]<<16>>10;c[m+12>>2]=o;e=c[q>>2]|0;r=c[p>>2]|0}}while(0);do{if((r|0)>0){s=0;while(1){u=s+1|0;t=(Qc(c[e+(s*12|0)>>2]|0,206824)|0)!=0;if((u|0)<(r|0)&t){s=u}else{break}}do{if(t){v=0}else{if((e+(s*12|0)|0)==0){v=0;break}v=c[e+(s*12|0)+8>>2]<<16>>16}}while(0);s=0;while(1){t=s+1|0;u=(Qc(c[e+(s*12|0)>>2]|0,206840)|0)!=0;if((t|0)<(r|0)&u){s=t}else{break}}if(u){r=v;e=0;break}if((e+(s*12|0)|0)==0){r=v;e=0;break}r=v;e=c[e+(s*12|0)+8>>2]&65535}else{r=0;e=0}}while(0);s=m+12|0;if((o|0)==0){c[s>>2]=n;if(e<<16>>16==0){l=265;break}n=(da(n,e<<16>>16)|0)/72|0;c[s>>2]=n}else{n=o}if((r|0)==0|e<<16>>16==0){l=265;break}c[m+8>>2]=(da(n,r)|0)/(e<<16>>16|0)|0}else{n=0;l=259}}while(0);if((l|0)==259){c[m+12>>2]=n;l=265}if((l|0)==265){c[m+8>>2]=n}m=c[q>>2]|0;n=c[p>>2]|0;do{if((n|0)>0){q=0;while(1){p=q+1|0;o=(Qc(c[m+(q*12|0)>>2]|0,206856)|0)!=0;if((p|0)<(n|0)&o){q=p}else{break}}if(o){o=0}else{o=m+(q*12|0)|0}p=0;while(1){q=p+1|0;e=(Qc(c[m+(p*12|0)>>2]|0,206880)|0)!=0;if((q|0)<(n|0)&e){p=q}else{break}}if(e){m=0}else{m=m+(p*12|0)|0}if((o|0)==0){break}if((a[o+4|0]|0)==0|(m|0)==0){break}if((a[m+4|0]|0)==0){break}c[f+176>>2]=aL(k,c[m+8>>2]|0,j)|0;if((c[h>>2]|0)!=0){break a}c[f+180>>2]=aL(k,c[o+8>>2]|0,j)|0}}while(0);E=c[h>>2]|0;break e}}while(0);if((l|0)==140){c[p>>2]=E}c[h>>2]=E;break e}}while(0);if((l|0)==110){c[s>>2]=E}c[h>>2]=E}}while(0);if((l|0)==79){c[w>>2]=E;l=102}if((l|0)==102){c[h>>2]=E}if((E|0)==0){h=0}else{break}i=g;return h|0}else{f=1;l=20}}while(0);if((l|0)==20){c[h>>2]=f}c[h>>2]=3;J=3;i=g;return J|0}function _L(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=i;i=i+8|0;g=f;c[f>>2]=0;j=c[b+192>>2]|0;l=c[b+188>>2]|0;a:do{if((l|0)==0){b=3}else{h=0;while(1){k=h+1|0;if((c[j+(h<<4)>>2]|0)==(d|0)){break}if(k>>>0<l>>>0){h=k}else{b=3;break a}}k=c[a+8>>2]|0;h=c[j+(h<<4)+12>>2]|0;if(k>>>0>h>>>0){b=83;break}if((DK(a,h-k|0)|0)!=0){b=83;break}c[f>>2]=0;h=YK(a,g)|0;g=c[f>>2]|0;if((g|0)!=0){l=g;i=e;return l|0}g=h&-256;if(!((g|0)==256|(g|0)==0)){l=0;i=e;return l|0}j=h&4;h=b+196|0;do{if((j|0)==0){h=ZK(a,207144,h)|0;c[f>>2]=h;if((h|0)==0){break}i=e;return h|0}else{h=ZK(a,207088,h)|0;c[f>>2]=h;if((h|0)==0){break}i=e;return h|0}}while(0);h=b+216|0;j=(j|0)!=0?206992:207024;k=ZK(a,j,h)|0;c[f>>2]=k;if((k|0)!=0){l=k;i=e;return l|0}k=b+232|0;d=ZK(a,j,k)|0;c[f>>2]=d;if((d|0)!=0){l=d;i=e;return l|0}d=b+248|0;if((g|0)!=256){$W(d|0,h|0,16)|0;$W(b+264|0,k|0,16)|0;l=0;i=e;return l|0}g=ZK(a,j,d)|0;c[f>>2]=g;if((g|0)!=0){l=g;i=e;return l|0}l=ZK(a,j,b+264|0)|0;c[f>>2]=l;i=e;return l|0}}while(0);c[f>>2]=b;l=b;i=e;return l|0}function $L(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+176>>2];c[d>>2]=c[a+180>>2];i=i;return 0}function aM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;f=c[b+284>>2]|0;b=c[b+280>>2]|0;if((b|0)>0){h=0}else{k=6;i=g;return k|0}while(1){j=h+1|0;k=(Qc(c[f+(h*12|0)>>2]|0,d|0)|0)!=0;if((j|0)<(b|0)&k){h=j}else{break}}if(k){k=6;i=g;return k|0}if((f+(h*12|0)|0)==0){k=6;i=g;return k|0}if((a[f+(h*12|0)+4|0]|0)==0){c[e>>2]=2;c[e+4>>2]=c[f+(h*12|0)+8>>2];k=0;i=g;return k|0}else{c[e>>2]=1;c[e+4>>2]=c[f+(h*12|0)+8>>2];k=0;i=g;return k|0}return 0}function bM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;b=i;e=(c[a>>2]|0)+288|0;d=c[e+120>>2]|0;c[a+16>>2]=d;e=c[e+128>>2]|0;c[a+20>>2]=e;if(d>>>0<=1){g=0;i=b;return g|0}a=c[e>>2]|0;g=1;while(1){f=c[e+(g<<4)>>2]|0;g=g+1|0;if(a>>>0>=f>>>0){e=8;d=5;break}if(g>>>0<d>>>0){a=f}else{e=0;d=5;break}}if((d|0)==5){i=b;return e|0}return 0}function cM(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;i=i;return}function dM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;e=i;g=c[a+16>>2]|0;if((g|0)==0){j=0;i=e;return j|0}a=c[a+20>>2]|0;h=0;while(1){f=((g-h|0)>>>1)+h|0;j=c[a+(f<<4)>>2]|0;if((j|0)==(b|0)){break}j=j>>>0<b>>>0;g=j?g:f;h=j?f+1|0:h;if(h>>>0>=g>>>0){b=0;d=6;break}}if((d|0)==6){i=e;return b|0}j=f+1|0;i=e;return j|0}function eM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;f=c[a+16>>2]|0;a=a+20|0;a:do{if((f|0)==0){l=0;d=8}else{j=c[b>>2]|0;do{j=j+1|0;h=c[a>>2]|0;k=f;l=0;while(1){g=((k-l|0)>>>1)+l|0;m=c[h+(g<<4)>>2]|0;if((m|0)==(j|0)){break}m=m>>>0<j>>>0;l=m?g+1|0:l;k=m?k:g;if(l>>>0>=k>>>0){d=8;break a}}}while((g|0)==0);f=g+1|0}}while(0);do{if((d|0)==8){if(l>>>0>=f>>>0|(l|0)==0){j=0;f=0;break}j=c[(c[a>>2]|0)+(l<<4)>>2]|0;f=l+1|0}}while(0);c[b>>2]=j;i=e;return f|0}function fM(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0,j=0;h=i;j=a+288|0;a=c[a+88>>2]|0;if((b|0)!=0){c[b>>2]=c[j+12>>2]}if((d|0)!=0){c[d>>2]=c[j+16>>2]}if((a|0)==0){j=65536;a=65536}else{b=j+16|0;j=bJ((e[a+12>>1]|0)<<6,c[b>>2]|0)|0;a=bJ((e[a+14>>1]|0)<<6,c[b>>2]|0)|0}if((f|0)!=0){c[f>>2]=j}if((g|0)==0){i=h;return 0}c[g>>2]=a;i=h;return 0}function gM(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=i;k=e+288|0;c[h>>2]=0;c[h+4>>2]=0;f=(f|0)==0?0:f+ -1|0;g=(g|0)==0?0:g+ -1|0;r=c[k+120>>2]|0;if(f>>>0>r>>>0|g>>>0>r>>>0){r=0;i=j;return r|0}r=c[k+128>>2]|0;f=c[r+(g<<4)>>2]&65535|c[r+(f<<4)>>2]<<16;k=c[k+136>>2]|0;e=c[e+104>>2]|0;if((k|0)==0){r=0;i=j;return r|0}while(1){if(f>>>0>=(c[k+16>>2]|0)>>>0){if(f>>>0<=(c[k+20>>2]|0)>>>0){break}}k=c[k>>2]|0;if((k|0)==0){h=0;l=33;break}}if((l|0)==33){i=j;return h|0}l=PJ(e,c[k+12>>2]|0)|0;if((l|0)!=0){r=l;i=j;return r|0}l=k+4|0;g=k+8|0;m=MK(e,da(d[l]|0,c[g>>2]|0)|0)|0;if((m|0)!=0){r=m;i=j;return r|0}l=d[l]|0;n=c[g>>2]|0;q=cL(l)|0;o=da(q,n)|0;p=c[e+32>>2]|0;g=a[k+5|0]|0;m=g&1;g=g&2;do{if((l|0)==(q|0)){l=16}else{q=da(l-q|0,n)|0;if(m<<24>>24==0){l=q+2|0;q=d[p+q|0]<<16|d[p+(q+1)|0]}else{l=q+4|0;q=d[p+(q+1)|0]<<16|d[p+q|0]<<24|d[p+(q+2)|0]<<8|d[p+(q+3)|0]}if((q|0)==(f|0)){n=p+l|0;l=28;break}if(q>>>0>=f>>>0){l=16;break}p=p+(l+(g<<24>>24==0?1:2))|0;l=16}}while(0);a:do{if((l|0)==16){b:do{if(o>>>0>n>>>0){if(m<<24>>24==0){while(1){o=o>>>1;q=p+o|0;r=d[q]<<16|d[p+(o+1)|0];if((r|0)==(f|0)){break}p=r>>>0<f>>>0?q:p;if(o>>>0>n>>>0){}else{break b}}n=p+(o+2)|0;l=28;break a}else{while(1){o=o>>>1;r=p+o|0;q=d[p+(o+1)|0]<<16|d[r]<<24|d[p+(o+2)|0]<<8|d[p+(o+3)|0];if((q|0)==(f|0)){break}p=q>>>0<f>>>0?r:p;if(o>>>0>n>>>0){}else{break b}}n=p+(o+4)|0;l=28;break a}}}while(0);if(m<<24>>24==0){m=d[p]<<16|d[p+1|0];n=p+2|0}else{m=d[p+1|0]<<16|d[p]<<24|d[p+2|0]<<8|d[p+3|0];n=p+4|0}if((m|0)==(f|0)){l=28}}}while(0);if((l|0)==28){f=a[n]|0;if(g<<24>>24==0){f=f&255}else{f=(d[n+1|0]|(f&255)<<8&65535)<<16>>16}c[h>>2]=(b[k+6>>1]|0)+f}PK(e);r=0;i=j;return r|0}function hM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;c[d>>2]=0;if((b|0)==0){b=6;i=e;return b|0}b=b+ -1|0;if((a|0)==0){b=6;i=e;return b|0}a=a+288|0;if(b>>>0>=(c[a+120>>2]|0)>>>0){b=6;i=e;return b|0}c[d>>2]=c[(c[a+128>>2]|0)+(b<<4)+4>>2];b=0;i=e;return b|0}function iM(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(207688,b)|0;i=c;return a|0}function jM(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;h=i;r=i;i=i+8|0;t=r;u=i;i=i+8|0;s=u;o=i;i=i+8|0;q=o;p=i;i=i+8|0;v=p;w=i;i=i+8|0;z=w;j=i;i=i+8|0;m=j;l=i;i=i+16|0;k=l;y=f+132|0;x=PJ(e,0)|0;do{if((x|0)==0){x=ZK(e,207568,y)|0;if((x|0)!=0){break}x=f+204|0;O=f+168|0;c[O>>2]=(c[O>>2]|0)+(c[x>>2]<<16);c[j>>2]=0;do{if((c[y>>2]|0)==1346785840){if((c[f+136>>2]|0)>>>0>4){break}if((c[f+144>>2]|0)>>>0<58){break}if((c[f+140>>2]|0)!=3338){break}y=f+152|0;A=PJ(e,c[y>>2]|0)|0;c[w>>2]=A;if((A|0)!=0){c[j>>2]=A;O=A;i=h;return O|0}z=EK(e,z)|0;A=c[w>>2]|0;w=(A|0)==0;z=w?z&65535:0;c[j>>2]=A;if(!w){O=A;i=h;return O|0}c[f>>2]=z;if((g|0)<0){O=0;i=h;return O|0}if((z|0)<=(g|0)){c[j>>2]=6;O=6;i=h;return O|0}w=f+240|0;x=(c[x>>2]|0)==0;y=PJ(e,c[y>>2]|0)|0;c[p>>2]=y;do{if((y|0)==0){y=EK(e,v)|0;z=c[p>>2]|0;if((z|0)!=0){v=z;break}if((y&65535)>>>0<=g>>>0){v=6;break}y=DK(e,g*5|0)|0;c[p>>2]=y;if((y|0)!=0){v=y;break}A=EK(e,v)|0;z=A&65535;y=c[p>>2]|0;if((y|0)!=0){v=y;break}y=XK(e,v)|0;v=c[p>>2]|0;if((v|0)!=0){break}c[w>>2]=z;c[f+244>>2]=y;v=PJ(e,y)|0;c[p>>2]=v;if((v|0)!=0){break}v=MK(e,z)|0;c[p>>2]=v;if((v|0)!=0){break}v=e+32|0;B=c[v>>2]|0;y=B+z|0;a:do{if((A&65535)<13){n=53}else{c[w+8>>2]=d[B+1|0]<<8|a[B]<<16|d[B+2|0];c[w+12>>2]=d[B+4|0]<<8|a[B+3|0]<<16|d[B+5|0];c[w+16>>2]=d[B+7|0]<<8|a[B+6|0]<<16|d[B+8|0];c[w+20>>2]=d[B+10|0]<<8|a[B+9|0]<<16|d[B+11|0];E=B+13|0;A=d[B+12|0]|0;D=(A&4|0)!=0;if(D){C=A>>>3&1;F=(A&3|0)==0?C|4:C+1|0}else{F=0}C=(A&16|0)!=0;if(C){F=(A>>>5&1)+1+F|0}if((F+13|0)>(z|0)){n=53;break}do{if(D){if((A&8|0)==0){z=d[E]|0;E=B+14|0}else{z=(d[E]<<8&65535|d[B+14|0])<<16>>16;E=B+15|0}c[w+28>>2]=z;if((A&3|0)!=0){break}c[w+36>>2]=d[E+1|0]<<8|a[E]<<16|d[E+2|0];E=E+3|0}}while(0);if(C){if((A&32|0)==0){z=d[E]|0;E=E+1|0}else{z=(d[E]<<8&65535|d[E+1|0])<<16>>16;E=E+2|0}c[w+32>>2]=z}b:do{if((A&64|0)!=0){A=E+1|0;c:do{if(A>>>0<=y>>>0){z=a[E]|0;if(z<<24>>24==0){E=A}else{z=z&255;E=A;do{if((E+2|0)>>>0>y>>>0){break c}E=E+((d[E]|0)+2)|0;if(E>>>0>y>>>0){break c}z=z+ -1|0;}while((z|0)!=0)}c[p>>2]=0;break b}}while(0);c[p>>2]=8;break a}}while(0);A=E+5|0;if(A>>>0>y>>>0){n=53;break}z=(d[E]<<8&65535|d[E+1|0])&65535;B=w+40|0;c[B>>2]=z;c[w+44>>2]=d[E+3|0]<<8|d[E+2|0]<<16|d[E+4|0];if(x){break}if((E+6|0)>>>0>y>>>0){n=53;break}c[B>>2]=d[A]<<16|z}}while(0);if((n|0)==53){c[p>>2]=8}PK(e);p=c[p>>2]|0;c[j>>2]=p;if((p|0)!=0){O=p;i=h;return O|0}p=f+288|0;A=c[w+44>>2]|0;C=c[w+40>>2]|0;B=c[e+28>>2]|0;c[p>>2]=B;c[p+4>>2]=A;O=p+136|0;c[O>>2]=0;c[p+140>>2]=O;O=PJ(e,A)|0;c[o>>2]=O;d:do{if((O|0)==0){O=MK(e,C)|0;c[o>>2]=O;if((O|0)!=0){break}w=p+148|0;c[w>>2]=c[v>>2];E=c[v>>2]|0;z=E+C|0;e:do{if((C|0)<15){n=125}else{c[p+8>>2]=(d[E]<<8&65535|d[E+1|0])&65535;c[p+12>>2]=(d[E+2|0]<<8&65535|d[E+3|0])&65535;c[p+16>>2]=(d[E+4|0]<<8&65535|d[E+5|0])&65535;c[p+20>>2]=(d[E+6|0]<<8&65535|d[E+7|0])<<16>>16;c[p+24>>2]=(d[E+8|0]<<8&65535|d[E+9|0])<<16>>16;c[p+28>>2]=(d[E+10|0]<<8&65535|d[E+11|0])<<16>>16;c[p+32>>2]=(d[E+12|0]<<8&65535|d[E+13|0])<<16>>16;D=E+15|0;y=d[E+14|0]|0;c[p+36>>2]=y;x=(y&4|0)!=0;if(x){C=D}else{if((C|0)<17){n=125;break}c[p+40>>2]=(d[D]<<8&65535|d[E+16|0])<<16>>16;C=E+17|0}f:do{if((y&128|0)==0){D=C}else{D=C+1|0;g:do{if(D>>>0>z>>>0){E=8}else{C=a[C]|0;if(C<<24>>24!=0){C=C&255;do{E=D+2|0;if(E>>>0>z>>>0){E=8;break g}F=d[D+1|0]|0;D=D+((d[D]|0)+2)|0;if(D>>>0>z>>>0){E=8;break g}else{H=30;G=207528}while(1){if((c[G>>2]|0)==(F|0)){n=70;break}H=c[G+12>>2]|0;if((H|0)==0){break}else{G=G+8|0}}if((n|0)==70){n=0;E=sd[H&127](E,D,p)|0;if((E|0)!=0){break g}}C=C+ -1|0;}while((C|0)!=0)}c[o>>2]=0;break f}}while(0);c[o>>2]=E;break e}}while(0);M=D+3|0;if(M>>>0>z>>>0){n=125;break}I=d[D+1|0]<<8|d[D]<<16|d[D+2|0];h:do{if((I|0)==0){H=M}else{H=D+(I+3)|0;if(H>>>0>z>>>0){n=125;break e}D=p+84|0;G=p+44|0;C=p+48|0;F=p+52|0;E=p+88|0;i:while(1){L=M+4|0;if(L>>>0>H>>>0){break h}N=d[M]<<8&65535|d[M+1|0];K=N&65535;if((N&65535)<4|K>>>0>I>>>0){break h}J=M+K|0;O=(d[M+2|0]<<8&65535|d[M+3|0])&65535;j:do{if((O|0)==2){if((N&65535)<36){break}c[G>>2]=(d[M+14|0]<<8&65535|d[M+15|0])<<16>>16;c[C>>2]=(d[M+16|0]<<8&65535|d[M+17|0])<<16>>16;c[F>>2]=(d[M+18|0]<<8&65535|d[M+19|0])<<16>>16}else if((O|0)==3){N=K+ -4|0;c[r>>2]=0;k:do{if((N|0)!=0){N=(a[M+(K+ -1)|0]|0)==0?K+ -5|0:N;if((N|0)==0){break}else{O=0}do{P=a[M+(O+4)|0]|0;O=O+1|0;if((P&255)<32|P<<24>>24<0){break k}}while(O>>>0<N>>>0);M=jJ(B,N+1|0,t)|0;O=c[r>>2]|0;if((O|0)!=0){n=96;break i}$W(M|0,L|0,N|0)|0;a[M+N|0]=0;O=c[r>>2]|0;c[E>>2]=M;c[o>>2]=O;if((O|0)==0){break j}else{break d}}}while(0);c[E>>2]=0;c[o>>2]=0}else if((O|0)==1){N=K+ -4|0;c[u>>2]=0;l:do{if((N|0)!=0){N=(a[M+(K+ -1)|0]|0)==0?K+ -5|0:N;if((N|0)==0){break}else{O=0}do{P=a[M+(O+4)|0]|0;O=O+1|0;if((P&255)<32|P<<24>>24<0){break l}}while(O>>>0<N>>>0);M=jJ(B,N+1|0,s)|0;O=c[u>>2]|0;if((O|0)!=0){n=86;break i}$W(M|0,L|0,N|0)|0;a[M+N|0]=0;O=c[u>>2]|0;c[D>>2]=M;c[o>>2]=O;if((O|0)==0){break j}else{break d}}}while(0);c[D>>2]=0;c[o>>2]=0}}while(0);if((I|0)==(K|0)){break h}else{I=I-K|0;M=J}}if((n|0)==86){c[D>>2]=M;c[o>>2]=O;break d}else if((n|0)==96){c[E>>2]=M;c[o>>2]=O;break d}}}while(0);D=H+1|0;if(D>>>0>z>>>0){n=125;break}C=a[H]|0;r=C&255;c[p+104>>2]=r;s=H+(r<<1|1)|0;if(s>>>0>z>>>0){n=125;break}u=oJ(B,4,0,r,0,q)|0;t=p+108|0;c[t>>2]=u;if((c[o>>2]|0)!=0){break}do{if(C<<24>>24!=0){c[u>>2]=(d[D]<<8&65535|d[H+2|0])<<16>>16;if((C&255)>1){C=1}else{D=s;break}while(1){u=D+2|0;c[(c[t>>2]|0)+(C<<2)>>2]=(d[u]<<8&65535|d[D+3|0])<<16>>16;C=C+1|0;if(C>>>0<r>>>0){D=u}else{D=s;break}}}}while(0);C=D+8|0;if(C>>>0>z>>>0){n=125;break}c[p+112>>2]=d[D]|0;c[p+116>>2]=d[D+1|0]|0;c[p+68>>2]=(d[D+2|0]<<8&65535|d[D+3|0])&65535;c[p+56>>2]=(d[D+4|0]<<8&65535|d[D+5|0])&65535;E=d[D+6|0]<<8&65535|d[D+7|0];r=E&65535;c[p+120>>2]=r;c[p+124>>2]=C+A-(c[v>>2]|0);A=oJ(B,16,0,r,0,q)|0;s=p+128|0;c[s>>2]=A;if((c[o>>2]|0)!=0){break}q=(y&2|0)==0;O=y&8;t=(O|0)!=0;N=y&16;v=(N|0)==0;P=y&32;u=(P|0)==0;if((D+((da(r,(N>>>4)+(O>>>3)+(P>>>5)+(y>>>1&3|4)|0)|0)+8)|0)>>>0>z>>>0){n=125;break}if(E<<16>>16==0){break}y=p+40|0;z=A;A=0;while(1){if(q){B=d[C]|0;C=C+1|0}else{B=(d[C]<<8&65535|d[C+1|0])&65535;C=C+2|0}c[z+(A<<4)>>2]=B;if(x){B=(d[C]<<8&65535|d[C+1|0])<<16>>16;C=C+2|0}else{B=c[y>>2]|0}c[z+(A<<4)+4>>2]=B;C=t?C+1|0:C;if(v){B=d[C]|0;C=C+1|0}else{B=(d[C]<<8&65535|d[C+1|0])&65535;C=C+2|0}c[z+(A<<4)+8>>2]=B;if(u){B=(d[C]<<8&65535|d[C+1|0])&65535;C=C+2|0}else{B=d[C+1|0]<<8|d[C]<<16|d[C+2|0];C=C+3|0}c[z+(A<<4)+12>>2]=B;A=A+1|0;if(A>>>0>=r>>>0){break e}z=c[s>>2]|0}}}while(0);if((n|0)==125){c[o>>2]=8}PK(e);c[p+144>>2]=IK(e)|0;c[w>>2]=0;e=c[o>>2]|0;c[j>>2]=e;if((e|0)!=0){P=e;i=h;return P|0}c[f+4>>2]=g;e=p+120|0;o=c[e>>2]|0;c[f+16>>2]=o+1;g=f+8|0;c[g>>2]=1;if((o|0)==0){n=133}else{q=c[p+128>>2]|0;s=0;while(1){r=s+1|0;if((c[q+(s<<4)+12>>2]|0)!=0){r=s;break}if(r>>>0<o>>>0){s=r}else{break}}if((r|0)==(o|0)){n=133}else{o=1}}do{if((n|0)==133){if((c[p+92>>2]|0)!=0){c[g>>2]=0;o=0;break}c[j>>2]=3;P=3;i=h;return P|0}}while(0);r=p+36|0;u=c[r>>2]|0;if((u&4|0)==0){o=o|4;c[g>>2]=o}o=(u<<4&16)+16|o;c[g>>2]=o;s=c[p+92>>2]|0;v=(s|0)==0;if(!v){o=o|2;c[g>>2]=o}n=p+132|0;if((c[n>>2]|0)!=0){c[g>>2]=o|64}P=c[p+84>>2]|0;o=f+20|0;c[o>>2]=P;if((P|0)==0){c[o>>2]=c[p+80>>2]}c[f+24>>2]=c[p+88>>2];t=f+28|0;c[t>>2]=0;w=f+32|0;c[w>>2]=0;$W(f+52|0,p+20|0,16)|0;x=c[p+12>>2]|0;o=f+68|0;b[o>>1]=x;P=c[p+32>>2]&65535;b[f+70>>1]=P;y=c[p+24>>2]&65535;b[f+72>>1]=y;x=((((x&65535)*12|0)>>>0)/10|0)&65535;q=f+74|0;y=(P<<16>>16)-(y<<16>>16)|0;b[q>>1]=(x<<16>>16|0)<(y|0)?y&65535:x;if(!v){m=oJ(c[(c[f+104>>2]|0)+28>>2]|0,16,0,s,0,m)|0;c[w>>2]=m;u=c[j>>2]|0;if((u|0)!=0){P=u;i=h;return P|0}u=0;v=c[p+100>>2]|0;while(1){P=v+4|0;b[m>>1]=c[P>>2];b[m+2>>1]=c[v>>2];c[m+4>>2]=c[P>>2]<<6;c[m+8>>2]=c[v>>2]<<6;c[m+12>>2]=c[P>>2]<<6;u=u+1|0;if(u>>>0<s>>>0){v=v+36|0;m=m+16|0}else{break}}c[t>>2]=s;u=c[r>>2]|0}if((u&4|0)==0){b[f+76>>1]=c[p+40>>2]}else{m=c[e>>2]|0;if((m|0)==0){m=0}else{e=c[p+128>>2]|0;p=0;while(1){r=c[e+4>>2]|0;p=(p|0)<(r|0)?r:p;m=m+ -1|0;if((m|0)==0){break}else{e=e+16|0}}m=p&65535}b[f+76>>1]=m}b[f+78>>1]=b[q>>1]|0;P=b[o>>1]|0;b[f+80>>1]=(P&65535|0)/-10|0;b[f+82>>1]=(P&65535)/30|0;c[l>>2]=f;b[k+8>>1]=3;b[k+10>>1]=1;c[k+4>>2]=1970170211;f=eK(207360,0,k,0)|0;c[j>>2]=f;if((c[n>>2]|0)==0){P=f;i=h;return P|0}c[g>>2]=c[g>>2]|64;P=f;i=h;return P|0}}while(0);c[j>>2]=O;P=O;i=h;return P|0}else{v=y}}while(0);c[j>>2]=v;P=v;i=h;return P|0}}while(0);c[j>>2]=2;P=2;i=h;return P|0}}while(0);c[j>>2]=x;P=x;i=h;return P|0}function kM(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;if((a|0)==0){i=b;return}f=c[(c[a+96>>2]|0)+8>>2]|0;c[a+20>>2]=0;c[a+24>>2]=0;e=a+288|0;g=c[a+100>>2]|0;d=e+80|0;lJ(g,c[d>>2]|0);c[d>>2]=0;d=e+84|0;lJ(g,c[d>>2]|0);c[d>>2]=0;d=e+88|0;lJ(g,c[d>>2]|0);c[d>>2]=0;d=e+76|0;lJ(g,c[d>>2]|0);c[d>>2]=0;c[e+72>>2]=0;c[e+64>>2]=0;c[e+60>>2]=0;d=e+100|0;lJ(g,c[d>>2]|0);c[d>>2]=0;c[e+92>>2]=0;c[e+96>>2]=0;d=e+128|0;lJ(g,c[d>>2]|0);c[d>>2]=0;c[e+120>>2]=0;c[e+124>>2]=0;d=e+108|0;lJ(g,c[d>>2]|0);c[d>>2]=0;c[e+104>>2]=0;d=e+136|0;h=c[d>>2]|0;if((h|0)!=0){while(1){j=c[h>>2]|0;lJ(g,h);if((j|0)==0){break}else{h=j}}}c[d>>2]=0;c[e+140>>2]=0;c[e+132>>2]=0;j=a+32|0;lJ(f,c[j>>2]|0);c[j>>2]=0;i=b;return}function lM(b){b=b|0;var d=0,e=0;d=i;e=c[c[b+156>>2]>>2]|0;bX(b+160|0,0,36)|0;c[b+188>>2]=e;a[b+192|0]=0;kJ(e);i=d;return 0}function mM(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[c[a+188>>2]>>2]|0;e=a+168|0;lJ(d,c[e>>2]|0);c[e>>2]=0;c[a+172>>2]=0;c[a+164>>2]=0;lJ(d,c[a+184>>2]|0);bX(a+176|0,0,17)|0;i=b;return}function nM(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;k=i;l=i;i=i+16|0;m=l;s=c[f+4>>2]|0;n=f+108|0;r=(h|0)==0?0:h+ -1|0;if((s|0)==0){H=6;i=k;return H|0}p=s+288|0;if(r>>>0>=(c[p+120>>2]|0)>>>0){H=6;i=k;return H|0}a:do{if((j&9|0)==0){h=c[s+104>>2]|0;t=c[p+128>>2]|0;w=c[p+92>>2]|0;if((w|0)==0){break}q=g+12|0;u=e[q>>1]|0;v=g+14|0;x=0;o=c[p+100>>2]|0;while(1){if((c[o>>2]|0)==(u|0)){if((c[o+4>>2]|0)==(e[v>>1]|0)){break}}x=x+1|0;if(x>>>0<w>>>0){o=o+36|0}else{break a}}w=o+8|0;u=c[w>>2]|0;if((PJ(h,(c[o+24>>2]|0)+(c[p+144>>2]|0)|0)|0)!=0){break}y=o+28|0;if((MK(h,da(c[y>>2]|0,(u&1|4)+(u>>>1&1)+(u>>>2&1)|0)|0)|0)!=0){break}u=h+32|0;v=c[u>>2]|0;o=h+36|0;x=c[o>>2]|0;E=c[y>>2]|0;z=c[w>>2]|0;C=c[t+(r<<4)>>2]|0;G=z&1;B=(G|0)==0;H=z&2;y=(H|0)==0;z=z&4;w=(z|0)==0;z=(G|4)+(H>>>1)+(z>>>2)|0;b:do{if((E|0)!=0){A=0;while(1){F=(E+A|0)>>>1;H=da(F,z)|0;G=v+H|0;if((v+(H+z)|0)>>>0>x>>>0){break b}if(B){D=H+1|0;H=d[G]|0}else{D=H+2|0;H=(d[G]<<8&65535|d[v+(H+1)|0])&65535}G=v+D|0;if((H|0)==(C|0)){break}D=H>>>0<C>>>0;E=D?E:F;A=D?F:A;if(A>>>0>=E>>>0){break b}}if(y){y=D+1|0;x=d[G]|0}else{y=D+2|0;x=(d[G]<<8&65535|d[v+(D+1)|0])&65535}z=a[v+y|0]|0;if(w){v=(d[v+(y+1)|0]|(z&255)<<8&65535)&65535}else{v=d[v+(y+1)|0]<<8|(z&255)<<16|d[v+(y+2)|0]}PK(h);if((x|0)==0){break a}w=t+(r<<4)+4|0;y=c[w>>2]|0;t=p+16|0;z=c[t>>2]|0;A=c[p+12>>2]|0;if((z|0)!=(A|0)){y=_I(y,A,z)|0}c[f+56>>2]=y;t=_I(e[q>>1]<<8,c[w>>2]|0,c[t>>2]|0)|0;if((PJ(h,(c[s+188>>2]|0)+v|0)|0)!=0){break a}if((MK(h,x)|0)!=0){break a}u=c[u>>2]|0;w=c[o>>2]|0;q=u+1|0;c:do{if(q>>>0<=w>>>0){v=a[u]|0;x=v&3;if((x|0)==0){y=u+2|0;if(y>>>0>w>>>0){break}u=a[q]|0;q=u<<24>>24>>4;u=(u<<4&255)<<24>>24>>4}else if((x|0)==2){y=u+5|0;if(y>>>0>w>>>0){break}q=(d[q]<<8&65535|d[u+2|0])<<16>>16;u=(d[u+3|0]<<8&65535|d[u+4|0])<<16>>16}else if((x|0)==1){y=u+3|0;if(y>>>0>w>>>0){break}q=a[q]|0;u=a[u+2|0]|0}else if((x|0)==3){y=u+7|0;if(y>>>0>w>>>0){break}q=d[u+2|0]<<8|a[q]<<16|d[u+3|0];u=d[u+5|0]<<8|a[u+4|0]<<16|d[u+6|0]}else{y=q;q=0;u=0}x=(v&255)>>>2&3;if((x|0)==2){z=y+2|0;if(z>>>0>w>>>0){break}x=d[y]|0;y=d[y+1|0]|0}else if((x|0)==3){z=y+4|0;if(z>>>0>w>>>0){break}x=(d[y]<<8&65535|d[y+1|0])&65535;y=(d[y+2|0]<<8&65535|d[y+3|0])&65535}else if((x|0)==1){z=y+1|0;if(z>>>0>w>>>0){break}y=a[y]|0;x=y>>>4&15;y=y&15}else{z=y;x=0;y=0}A=(v&255)>>>4&255;v=A&3;if((v|0)==3){v=z+3|0;if(v>>>0>w>>>0){break}t=d[z+1|0]<<8|a[z]<<16|d[z+2|0]}else if((v|0)==2){v=z+2|0;if(v>>>0>w>>>0){break}t=(d[z]<<8&65535|d[z+1|0])<<16>>16}else if((v|0)==1){v=z+1|0;if(v>>>0>w>>>0){break}t=a[z]<<8}else if((v|0)==0){v=z}else{t=0;v=z}w=A>>>2;C=y+u|0;if((C|0)<=-1){break}c[f+72>>2]=1651078259;A=f+80|0;c[A>>2]=x;B=f+76|0;c[B>>2]=y;H=(x+7|0)>>>3;z=f+84|0;c[z>>2]=H;a[f+94|0]=1;G=x<<6;c[f+24>>2]=G;c[f+28>>2]=y<<6;c[f+32>>2]=q<<6;c[f+36>>2]=u<<6;c[f+40>>2]=(t>>2)+32&-64;c[f+44>>2]=0-G>>1;c[f+48>>2]=0;c[f+52>>2]=c[g+32>>2];c[f+100>>2]=q;c[f+104>>2]=C;if((CJ(f,da(H,y)|0)|0)!=0){break}t=c[o>>2]|0;q=c[s+208>>2]|0;y=c[B>>2]|0;do{if((y|0)>0){o=c[A>>2]|0;if((o|0)<=0){break}x=c[f+88>>2]|0;z=c[z>>2]|0;u=da(o,y)|0;if((q&2|0)==0){q=0-z|0;x=x+(da(z,y+ -1|0)|0)|0}else{q=z}if((w|0)==1){if((u|0)>0){l=x;n=0;j=0;r=0;f=x;m=o;p=128;s=1;g=1}else{break}while(1){d:do{if((g|0)==0){g=j}else{g=j;while(1){if((s|0)==0){g=r;s=1}else{if(v>>>0>=t>>>0){break d}r=d[v]|0;v=v+1|0;g=r>>>4;r=r&15;s=0}if((g|0)==0){g=0}else{break}}}}while(0);n=((s|0)==0?0:p)|n;p=p>>>1;j=m+ -1|0;do{if((m|0)<2){a[f]=n;f=l+q|0;l=f;n=0;m=o;p=128}else{if((p|0)!=0){m=j;break}a[f]=n;n=0;f=f+1|0;m=j;p=128}}while(0);u=u+ -1|0;if((u|0)>0){j=g+ -1|0;g=(g|0)<2|0}else{break}}if((p|0)==128){break}a[f]=n;break}else if((w|0)==2){if((u|0)>0){l=x;n=0;r=0;f=x;m=o;p=128;j=1;g=1}else{break}while(1){e:do{if((g|0)==0){g=r}else{g=r;while(1){if(v>>>0>=t>>>0){break e}r=v+1|0;H=a[v]|0;g=H&255;j=j^1;if(H<<24>>24==0){v=r}else{v=r;break}}}}while(0);n=((j|0)==0?0:p)|n;p=p>>>1;r=m+ -1|0;do{if((m|0)<2){a[f]=n;f=l+q|0;l=f;n=0;m=o;p=128}else{if((p|0)!=0){m=r;break}a[f]=n;n=0;f=f+1|0;m=r;p=128}}while(0);u=u+ -1|0;if((u|0)>0){r=g+ -1|0;g=(g|0)<2|0}else{break}}if((p|0)==128){break}a[f]=n;break}else if((w|0)==0){l=t-v<<3;l=(l|0)>(u|0)?u:l;if((l|0)>0){f=x;r=0;n=x;j=o;s=128;g=l;p=0}else{break}while(1){if(((g^l)&7|0)==0){m=v+1|0;p=d[v]|0}else{m=v}r=((p&128|0)==0?0:s)|r;p=p<<1;s=s>>>1;t=j+ -1|0;do{if((j|0)<2){a[n]=r;n=f+q|0;f=n;r=0;j=o;s=128}else{if((s|0)!=0){j=t;break}a[n]=r;r=0;n=n+1|0;j=t;s=128}}while(0);g=g+ -1|0;if((g|0)>0){v=m}else{break}}if((s|0)==128){break}a[n]=r;break}else{break c}}}while(0);PK(h);H=0;i=k;return H|0}}while(0);PK(h);break a}}while(0);PK(h)}}while(0);if((j&16384|0)!=0){H=6;i=k;return H|0}t=c[p+128>>2]|0;c[f+72>>2]=1869968492;h=f+110|0;b[h>>1]=0;b[n>>1]=0;G=c[s+188>>2]|0;F=c[s+104>>2]|0;H=c[t+(r<<4)+12>>2]|0;q=c[t+(r<<4)+8>>2]|0;o=f+188|0;kJ(c[o>>2]|0);c[f+176>>2]=0;q=pM(f+160|0,F,G,H,q)|0;if((q|0)!=0){H=q;i=k;return H|0}j=j&1;$W(n|0,(c[o>>2]|0)+20|0,20)|0;o=f+124|0;q=c[o>>2]&-6;c[o>>2]=q|4;do{if((g|0)!=0){if((e[g+14>>1]|0)>=24){break}c[o>>2]=q|260}}while(0);q=f+40|0;c[q>>2]=0;o=f+52|0;c[o>>2]=0;r=c[t+(r<<4)+4>>2]|0;s=c[p+16>>2]|0;t=c[p+12>>2]|0;if((s|0)!=(t|0)){r=_I(r,t,s)|0}if((c[p+36>>2]&1|0)==0){c[q>>2]=r;p=c[o>>2]|0}else{c[o>>2]=r;p=r;r=c[q>>2]|0}c[f+56>>2]=r;c[f+60>>2]=p;c[f+44>>2]=0;c[f+48>>2]=0;if((j|0)==0){p=c[g+16>>2]|0;g=c[g+20>>2]|0;if((b[h>>1]|0)>0){j=0;r=c[f+112>>2]|0;while(1){c[r>>2]=aJ(c[r>>2]|0,p)|0;H=r+4|0;c[H>>2]=aJ(c[H>>2]|0,g)|0;j=j+1|0;if((j|0)<(b[h>>1]|0)){r=r+8|0}else{break}}r=c[q>>2]|0}c[q>>2]=aJ(r,p)|0;c[o>>2]=aJ(c[o>>2]|0,g)|0}zK(n,m);G=c[l>>2]|0;c[f+24>>2]=(c[m+8>>2]|0)-G;H=c[m+4>>2]|0;c[f+28>>2]=(c[m+12>>2]|0)-H;c[f+32>>2]=G;c[f+36>>2]=H;H=0;i=k;return H|0}function oM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;g=a+288|0;gM(a,b,d,e)|0;a=g+12|0;d=c[a>>2]|0;b=g+16|0;g=c[b>>2]|0;if((d|0)==(g|0)){i=f;return 0}h=c[e>>2]|0;if((h|0)==0){d=0}else{d=_I(h,d,g)|0;c[e>>2]=d}e=e+4|0;if((c[e>>2]|0)==0){i=f;return 0}c[e>>2]=_I(d,c[a>>2]|0,c[b>>2]|0)|0;i=f;return 0}function pM(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;k=i;m=i;i=i+8|0;s=m;n=i;i=i+32|0;o=n;p=i;i=i+8|0;r=p;h=PJ(f,h+g|0)|0;if((h|0)!=0){H=h;i=k;return H|0}h=MK(f,j)|0;if((h|0)!=0){H=h;i=k;return H|0}u=c[f+32>>2]|0;h=u+j|0;do{if((j|0)!=0){if((a[u]|0)>=0){break}n=c[e+28>>2]|0;o=e+16|0;m=c[o>>2]|0;c[p>>2]=0;s=c[n>>2]|0;t=u+1|0;a:do{if((j|0)<1){l=52}else{v=d[u]|0;if((v&128|0)==0){l=52;break}q=v&63;b:do{if((v&8|0)!=0){u=u+2|0;c:do{if((j|0)>=2){t=a[t]|0;if(t<<24>>24==0){t=u}else{j=t&255;t=u;do{if((t+2|0)>>>0>h>>>0){break c}t=t+((d[t]|0)+2)|0;if(t>>>0>h>>>0){break c}j=j+ -1|0;}while((j|0)!=0)}c[p>>2]=0;break b}}while(0);c[p>>2]=8;r=8;break a}}while(0);v=m+q|0;j=e+20|0;u=c[j>>2]|0;if(v>>>0>u>>>0){v=v+3&-4;if(v>>>0>64){c[p>>2]=8;r=8;break}H=e+24|0;c[H>>2]=oJ(s,24,u,v,c[H>>2]|0,r)|0;r=c[p>>2]|0;if((r|0)!=0){break}c[j>>2]=v}if((q|0)==0){r=0;break}s=0;u=t;r=(c[e+24>>2]|0)+(m*24|0)|0;while(1){j=u+1|0;if(j>>>0>h>>>0){l=52;break a}t=d[u]|0;c[r>>2]=65536;if((t&16|0)!=0){v=u+3|0;if(v>>>0>h>>>0){l=52;break a}c[r>>2]=(d[j]<<8&65535|d[u+2|0])<<16>>16<<4;j=v}v=r+4|0;c[v>>2]=65536;if((t&32|0)!=0){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}c[v>>2]=(d[j]<<8&65535|d[j+1|0])<<16>>16<<4;j=u}u=t&3;if((u|0)==1){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}j=(d[j]<<8&65535|d[j+1|0])<<16>>16}else if((u|0)==2){u=j+1|0;if(u>>>0>h>>>0){l=52;break a}j=a[j]|0}else{u=j;j=0}v=t>>>2&3;if((v|0)==1){v=u+2|0;if(v>>>0>h>>>0){l=52;break a}u=(d[u]<<8&65535|d[u+1|0])<<16>>16}else if((v|0)==2){v=u+1|0;if(v>>>0>h>>>0){l=52;break a}u=a[u]|0}else{v=u;u=0}c[r+8>>2]=j;c[r+12>>2]=u;if((t&64|0)==0){j=v+1|0;if(j>>>0>h>>>0){l=52;break a}c[r+20>>2]=d[v]|0}else{j=v+2|0;if(j>>>0>h>>>0){l=52;break a}c[r+20>>2]=(d[v]<<8&65535|d[v+1|0])&65535}if((t&128|0)==0){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}c[r+16>>2]=(d[j]<<8&65535|d[j+1|0])&65535}else{u=j+3|0;if(u>>>0>h>>>0){l=52;break a}c[r+16>>2]=d[j+1|0]<<8|a[j]<<16|d[j+2|0]}c[o>>2]=(c[o>>2]|0)+1;s=s+1|0;if(s>>>0<q>>>0){r=r+24|0}else{break}}r=c[p>>2]|0}}while(0);if((l|0)==52){c[p>>2]=8;r=8}PK(f);if((r|0)!=0){H=r;i=k;return H|0}h=(c[o>>2]|0)-m|0;p=e+24|0;if((h|0)<=0){H=0;i=k;return H|0}o=n+22|0;n=n+24|0;q=0;while(1){r=c[p>>2]|0;v=q+m|0;s=b[o>>1]|0;r=pM(e,f,g,c[r+(v*24|0)+16>>2]|0,c[r+(v*24|0)+20>>2]|0)|0;if((r|0)!=0){l=181;break}w=c[p>>2]|0;r=(b[o>>1]|0)-s|0;u=w+(v*24|0)|0;x=c[u>>2]|0;do{if((x|0)==65536){if((c[w+(v*24|0)+4>>2]|0)!=65536){l=59;break}if((r|0)<=0){break}t=w+(v*24|0)+8|0;j=w+(v*24|0)+12|0;u=0;s=(c[n>>2]|0)+(s<<3)|0;while(1){c[s>>2]=(c[s>>2]|0)+(c[t>>2]|0);H=s+4|0;c[H>>2]=(c[H>>2]|0)+(c[j>>2]|0);u=u+1|0;if((u|0)<(r|0)){s=s+8|0}else{break}}}else{l=59}}while(0);d:do{if((l|0)==59){l=0;if((r|0)<=0){break}j=w+(v*24|0)+8|0;t=w+(v*24|0)+4|0;v=w+(v*24|0)+12|0;w=1;s=(c[n>>2]|0)+(s<<3)|0;while(1){H=aJ(c[s>>2]|0,x)|0;c[s>>2]=(c[j>>2]|0)+H;H=s+4|0;G=aJ(c[H>>2]|0,c[t>>2]|0)|0;c[H>>2]=(c[v>>2]|0)+G;if((w|0)>=(r|0)){break d}x=c[u>>2]|0;w=w+1|0;s=s+8|0}}}while(0);q=q+1|0;if((q|0)>=(h|0)){r=0;l=181;break}}if((l|0)==181){i=k;return r|0}}}while(0);c[m>>2]=0;g=e+28|0;r=c[c[g>>2]>>2]|0;p=u+1|0;e:do{if((j|0)<1){l=179}else{t=d[u]|0;if((t&128|0)!=0){l=179;break}do{if((t&4|0)==0){if((t&2|0)==0){q=p;p=0}else{if((j|0)<2){l=179;break e}q=u+2|0;p=d[p]|0}if((t&1|0)==0){u=q;q=0;break}u=q+1|0;if(u>>>0>h>>>0){l=179;break e}q=d[q]|0}else{if((j|0)<2){l=179;break e}q=d[p]|0;u=u+2|0;p=q&15;q=q>>>4}}while(0);j=p+q|0;v=e+4|0;x=c[v>>2]|0;if(j>>>0>x>>>0){w=j+7&-8;C=e+8|0;r=oJ(r,4,x,w,c[C>>2]|0,s)|0;c[C>>2]=r;C=c[m>>2]|0;if((C|0)!=0){break}c[v>>2]=w;v=r}else{v=c[e+8>>2]|0}s=e+8|0;r=e+12|0;c[r>>2]=v+(p<<2);if((j|0)!=0){v=0;w=0;x=0;while(1){if((v&7|0)==0){y=u+1|0;if(y>>>0>h>>>0){l=179;break e}w=d[u]|0}else{y=u}if((w&1|0)==0){u=y+1|0;if(u>>>0>h>>>0){l=179;break e}x=(d[y]|0)+x|0}else{u=y+2|0;if(u>>>0>h>>>0){l=179;break e}x=(d[y]<<8&65535|d[y+1|0])<<16>>16}c[(c[s>>2]|0)+(v<<2)>>2]=x;v=v+1|0;if(v>>>0<j>>>0){w=w>>>1}else{break}}}f:do{if((t&8|0)==0){A=u}else{A=u+1|0;g:do{if(A>>>0<=h>>>0){t=a[u]|0;if(t<<24>>24!=0){t=t&255;do{if((A+2|0)>>>0>h>>>0){break g}A=A+((d[A]|0)+2)|0;if(A>>>0>h>>>0){break g}t=t+ -1|0;}while((t|0)!=0)}c[m>>2]=0;break f}}while(0);c[m>>2]=8;C=8;break e}}while(0);e=e+32|0;a[e]=0;t=o+4|0;c[t>>2]=0;c[n>>2]=0;v=o+24|0;x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;w=v;c[w>>2]=y;c[w+4>>2]=x;w=o+28|0;j=o+8|0;u=o+16|0;x=x|0;h:while(1){z=A+1|0;if(z>>>0>h>>>0){l=179;break e}A=d[A]|0;D=A&15;A=A>>>4;switch(A|0){case 6:{C=3;D=2958;x=o;B=0;l=111;break};case 7:{C=3;D=3627;x=o;B=0;l=111;break};case 3:{if(D>>>0>=q>>>0){l=179;break e}c[n>>2]=y;c[t>>2]=c[(c[r>>2]|0)+(D<<2)>>2];x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=x;x=x|0;break};case 0:{break h};case 5:case 4:case 1:{C=1;x=o;B=0;l=111;break};case 2:{if(D>>>0>=p>>>0){l=179;break e}c[n>>2]=c[(c[s>>2]|0)+(D<<2)>>2];c[t>>2]=x;x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=x;x=x|0;break};default:{C=4;x=o;B=0;l=111}}if((l|0)==111){while(1){l=0;E=D&3;if((E|0)==1){y=z+2|0;if(y>>>0>h>>>0){l=179;break e}c[x>>2]=(d[z]<<8&65535|d[z+1|0])<<16>>16;z=y}else if((E|0)==0){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}z=d[z]|0;if(z>>>0>=p>>>0){l=179;break e}c[x>>2]=c[(c[s>>2]|0)+(z<<2)>>2];z=y}else if((E|0)==2){E=z+1|0;if(E>>>0>h>>>0){l=179;break e}c[x>>2]=(a[z]|0)+y;z=E}else{c[x>>2]=y}y=D>>>2&3;if((y|0)==0){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}z=d[z]|0;if(z>>>0>=q>>>0){l=179;break e}c[x+4>>2]=c[(c[r>>2]|0)+(z<<2)>>2];z=y}else if((y|0)==2){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}c[x+4>>2]=(c[w>>2]|0)+(a[z]|0);z=y}else if((y|0)==1){y=z+2|0;if(y>>>0>h>>>0){l=179;break e}c[x+4>>2]=(d[z]<<8&65535|d[z+1|0])<<16>>16;z=y}else{c[x+4>>2]=c[w>>2]}if((B|0)==0&(C|0)==4){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}C=3;D=d[z]|0;z=y}else{D=D>>>4}E=x;y=c[E>>2]|0;E=c[E+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=E;B=B+1|0;if(B>>>0<C>>>0){x=x+8|0;l=111}else{break}}x=E|0}switch(A|0){case 5:case 4:{A=c[g>>2]|0;l=A+58|0;if((a[e]|0)!=0){F=b[l>>1]|0;E=F<<16>>16;H=E+ -1|0;D=A+56|0;C=b[D>>1]|0;if(C<<16>>16>0){B=b[(c[A+68>>2]|0)+((C<<16>>16)+ -1<<1)>>1]|0}else{B=0}do{if((H|0)>(B|0)){G=c[A+60>>2]|0;if((c[G+(B<<3)>>2]|0)!=(c[G+(H<<3)>>2]|0)){break}if((c[G+(B<<3)+4>>2]|0)!=(c[G+(H<<3)+4>>2]|0)){break}b[l>>1]=F+ -1<<16>>16;H=E+ -2|0}}while(0);if((H|0)>=(B|0)){b[D>>1]=C+1<<16>>16;b[(c[A+68>>2]|0)+(C<<16>>16<<1)>>1]=H}a[e]=0}a[e]=1;if(((b[A+22>>1]|0)+1+(b[l>>1]|0)|0)>>>0>(c[A+4>>2]|0)>>>0){l=165}else{if(((b[A+20>>1]|0)+1+(b[A+56>>1]|0)|0)>>>0>(c[A+8>>2]|0)>>>0){l=165}else{l=167}}do{if((l|0)==165){l=0;C=pJ(A,1,1)|0;if((C|0)!=0){break}if((a[e]|0)==0){C=8}else{l=167}}}while(0);do{if((l|0)==167){l=0;B=c[g>>2]|0;A=B+58|0;C=b[A>>1]|0;if(((b[B+22>>1]|0)+1+(C<<16>>16)|0)>>>0>(c[B+4>>2]|0)>>>0){C=pJ(B,1,0)|0;if((C|0)!=0){break}C=b[A>>1]|0}C=C<<16>>16;F=n;G=c[F+4>>2]|0;H=(c[B+60>>2]|0)+(C<<3)|0;c[H>>2]=c[F>>2];c[H+4>>2]=G;a[(c[B+64>>2]|0)+C|0]=1;b[A>>1]=(b[A>>1]|0)+1<<16>>16;C=0}}while(0);c[m>>2]=C;break};case 0:{break h};case 3:case 2:case 1:{B=c[g>>2]|0;do{if((a[e]|0)==0){C=8}else{A=B+58|0;C=b[A>>1]|0;if(((b[B+22>>1]|0)+1+(C<<16>>16)|0)>>>0>(c[B+4>>2]|0)>>>0){C=pJ(B,1,0)|0;if((C|0)!=0){break}C=b[A>>1]|0}C=C<<16>>16;F=n;G=c[F+4>>2]|0;H=(c[B+60>>2]|0)+(C<<3)|0;c[H>>2]=c[F>>2];c[H+4>>2]=G;a[(c[B+64>>2]|0)+C|0]=1;b[A>>1]=(b[A>>1]|0)+1<<16>>16;C=0}}while(0);c[m>>2]=C;break};default:{A=c[g>>2]|0;do{if((a[e]|0)==0){C=8}else{B=A+58|0;C=b[B>>1]|0;if(((b[A+22>>1]|0)+3+(C<<16>>16)|0)>>>0>(c[A+4>>2]|0)>>>0){C=pJ(A,3,0)|0;if((C|0)!=0){break}C=b[B>>1]|0}E=c[A+60>>2]|0;F=C<<16>>16;H=c[A+64>>2]|0;A=n;D=c[A+4>>2]|0;G=E+(F<<3)|0;c[G>>2]=c[A>>2];c[G+4>>2]=D;G=F+1|0;D=j;A=c[D+4>>2]|0;C=E+(G<<3)|0;c[C>>2]=c[D>>2];c[C+4>>2]=A;C=F+2|0;A=u;D=c[A+4>>2]|0;E=E+(C<<3)|0;c[E>>2]=c[A>>2];c[E+4>>2]=D;a[H+F|0]=2;a[H+G|0]=2;a[H+C|0]=1;b[B>>1]=(b[B>>1]|0)+3<<16>>16;C=0}}while(0);c[m>>2]=C}}if((C|0)==0){A=z}else{break e}}h=c[g>>2]|0;if((a[e]|0)!=0){s=h+58|0;t=b[s>>1]|0;r=t<<16>>16;j=r+ -1|0;n=h+56|0;o=b[n>>1]|0;if(o<<16>>16>0){p=b[(c[h+68>>2]|0)+((o<<16>>16)+ -1<<1)>>1]|0}else{p=0}do{if((j|0)>(p|0)){q=c[h+60>>2]|0;if((c[q+(p<<3)>>2]|0)!=(c[q+(j<<3)>>2]|0)){break}if((c[q+(p<<3)+4>>2]|0)!=(c[q+(j<<3)+4>>2]|0)){break}b[s>>1]=t+ -1<<16>>16;j=r+ -2|0}}while(0);if((j|0)>=(p|0)){b[n>>1]=o+1<<16>>16;b[(c[h+68>>2]|0)+(o<<16>>16<<1)>>1]=j}a[e]=0;h=c[g>>2]|0}sJ(h);C=c[m>>2]|0}}while(0);if((l|0)==179){c[m>>2]=8;C=8}PK(f);H=C;i=k;return H|0}function qM(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=i;k=i;i=i+8|0;s=k;m=c[f>>2]|0;c[k>>2]=0;r=b+5|0;do{if(r>>>0<=e>>>0){p=d[b+3|0]|0;q=a[b+4|0]|0;j=q&255;h=f+92|0;n=c[h>>2]|0;o=n+j|0;l=f+96|0;do{if(o>>>0>(c[l>>2]|0)>>>0){o=o+3&-4;t=f+100|0;c[t>>2]=oJ(m,36,n,o,c[t>>2]|0,s)|0;m=c[k>>2]|0;if((m|0)==0){c[l>>2]=o;break}else{t=m;i=g;return t|0}}}while(0);w=p&1;m=(w|0)==0;v=p&2;l=(v|0)==0;u=p&4;n=(u|0)==0;s=p&8;o=(s|0)==0;t=p&16;p=(t|0)==0;if((b+((da((w|8)+(v>>>1)+(u>>>2)+(s>>>3)+(t>>>4)|0,j)|0)+5)|0)>>>0>e>>>0){break}if(q<<24>>24==0){k=0}else{q=0;f=(c[f+100>>2]|0)+((c[h>>2]|0)*36|0)|0;while(1){if(m){b=d[r]|0;r=r+1|0}else{b=((d[r]|0)<<8&65535|(d[r+1|0]|0))&65535;r=r+2|0}c[f>>2]=b;if(l){b=d[r]|0;r=r+1|0}else{b=((d[r]|0)<<8&65535|(d[r+1|0]|0))&65535;r=r+2|0}c[f+4>>2]=b;c[f+8>>2]=d[r]|0;if(n){b=((d[r+1|0]|0)<<8&65535|(d[r+2|0]|0))&65535;r=r+3|0}else{b=(d[r+2|0]|0)<<8|(d[r+1|0]|0)<<16|(d[r+3|0]|0);r=r+4|0}c[f+20>>2]=b;if(o){b=((d[r]|0)<<8&65535|(d[r+1|0]|0))&65535;r=r+2|0}else{b=(d[r+1|0]|0)<<8|(d[r]|0)<<16|(d[r+2|0]|0);r=r+3|0}c[f+24>>2]=b;if(p){b=d[r]|0;r=r+1|0}else{b=((d[r]|0)<<8&65535|(d[r+1|0]|0))&65535;r=r+2|0}c[f+28>>2]=b;q=q+1|0;if(q>>>0<j>>>0){f=f+36|0}else{break}}k=c[k>>2]|0}c[h>>2]=(c[h>>2]|0)+j;w=k;i=g;return w|0}}while(0);c[k>>2]=8;w=8;i=g;return w|0}function rM(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[g>>2]=0;d=d-b|0;h=e+80|0;if((c[h>>2]|0)!=0){j=0;i=f;return j|0}j=jJ(c[e>>2]|0,d+1|0,g)|0;c[h>>2]=j;e=c[g>>2]|0;if((e|0)!=0){j=e;i=f;return j|0}$W(j|0,b|0,d|0)|0;a[(c[h>>2]|0)+d|0]=0;j=c[g>>2]|0;i=f;return j|0}function sM(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;g=i;f=i;i=i+8|0;m=f;c[f>>2]=0;n=c[e>>2]|0;l=e+76|0;if((c[l>>2]|0)!=0){n=0;i=g;return n|0}j=a+1|0;do{if(j>>>0<=b>>>0){h=d[a]|0;k=h&15;h=k+(h>>>4)|0;if((a+(h<<1|1)|0)>>>0>b>>>0){break}b=oJ(n,4,0,h,0,m)|0;a=c[f>>2]|0;if((a|0)!=0){n=a;i=g;return n|0}c[l>>2]=b;c[e+64>>2]=b+(k<<2);if((h|0)==0){n=0;i=g;return n|0}while(1){c[b>>2]=((d[j]|0)<<8&65535|(d[j+1|0]|0))<<16>>16;h=h+ -1|0;if((h|0)==0){break}else{b=b+4|0;j=j+2|0}}n=c[f>>2]|0;i=g;return n|0}}while(0);c[f>>2]=8;n=8;i=g;return n|0}function tM(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=i;j=i;i=i+8|0;c[j>>2]=0;k=c[g>>2]|0;l=jJ(k,24,j)|0;if((c[j>>2]|0)!=0){t=j;t=c[t>>2]|0;i=n;return t|0}m=e+4|0;do{if(m>>>0<=f>>>0){p=a[e]|0;h=l+4|0;a[h]=p;b[l+6>>1]=(d[e+1|0]|0)<<8&65535|(d[e+2|0]|0);r=a[e+3|0]|0;a[l+5|0]=r;c[l+12>>2]=(c[g+4>>2]|0)+m-(c[g+148>>2]|0);o=(r&1)==0;q=o?3:5;t=(r&2)==0;s=q+1|0;r=t?q:s;c[l+8>>2]=t?q:s;q=p&255;if((e+((da(q,r)|0)+4)|0)>>>0>f>>>0){break}if(p<<24>>24==0){lJ(k,l);t=j;t=c[t>>2]|0;i=n;return t|0}if(o){c[l+16>>2]=(d[m]|0)<<16|(d[e+5|0]|0);t=da(q+ -1|0,r)|0;c[l+20>>2]=(d[e+(t+4)|0]|0)<<16|(d[e+(t+5)|0]|0)}else{c[l+16>>2]=((d[e+6|0]|0)<<8&65535|(d[e+7|0]|0))&65535|(((d[m]|0)<<8&65535|(d[e+5|0]|0))&65535)<<16;t=da(q+ -1|0,r)|0;c[l+20>>2]=((d[e+(t+6)|0]|0)<<8&65535|(d[e+(t+7)|0]|0))&65535|(((d[e+(t+4)|0]|0)<<8&65535|(d[e+(t+5)|0]|0))&65535)<<16}c[l>>2]=0;t=g+140|0;c[c[t>>2]>>2]=l;c[t>>2]=l;t=g+132|0;c[t>>2]=(c[t>>2]|0)+(d[h]|0);t=j;t=c[t>>2]|0;i=n;return t|0}}while(0);lJ(k,l);c[j>>2]=8;t=j;t=c[t>>2]|0;i=n;return t|0}function uM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;f=i;i=i+8|0;h=f;c[a+32>>2]=d;e=a+24|0;c[e>>2]=oJ(d,4,0,b,0,h)|0;do{if((c[f>>2]|0)==0){c[a+28>>2]=oJ(d,4,0,b,0,h)|0;if((c[f>>2]|0)!=0){break}c[a+16>>2]=b;c[a+12>>2]=-559038737;c[a+20>>2]=0;c[a>>2]=0;c[a+8>>2]=0;c[a+4>>2]=0;$W(a+36|0,207760,16)|0;a=0;i=g;return a|0}}while(0);lJ(d,c[e>>2]|0);c[e>>2]=0;a=c[f>>2]|0;i=g;return a|0}function vM(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;f=i;g=i;i=i+8|0;b=c[a+32>>2]|0;d=c[a>>2]|0;if((d|0)==0){i=f;return}e=a+4|0;h=jJ(b,c[e>>2]|0,g)|0;c[a>>2]=h;if((c[g>>2]|0)!=0){i=f;return}$W(h|0,d|0,c[e>>2]|0)|0;j=c[a+16>>2]|0;k=c[a+24>>2]|0;h=(c[a>>2]|0)-d|0;g=k+(j<<2)|0;if((j|0)>0){do{j=c[k>>2]|0;if((j|0)!=0){c[k>>2]=j+h}k=k+4|0;}while(k>>>0<g>>>0)}c[a+8>>2]=c[e>>2];lJ(b,d);i=f;return}function wM(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;g=i;o=i;i=i+8|0;p=o;if((b|0)<0){q=6;i=g;return q|0}n=a+16|0;if((c[n>>2]|0)<=(b|0)|(e|0)<0){q=6;i=g;return q|0}f=a+4|0;m=(c[f>>2]|0)+e|0;j=a+8|0;l=c[j>>2]|0;do{if(m>>>0>l>>>0){h=c[a>>2]|0;k=d-h|0;k=k>>>0>=l>>>0?-1:k;do{l=l+1024+(l>>>2)&-1024;}while(l>>>0<m>>>0);m=c[a+32>>2]|0;p=jJ(m,l,p)|0;c[a>>2]=p;o=c[o>>2]|0;if((o|0)!=0){c[a>>2]=h;q=o;i=g;return q|0}if((h|0)!=0){$W(p|0,h|0,c[j>>2]|0)|0;q=c[n>>2]|0;p=c[a+24>>2]|0;n=(c[a>>2]|0)-h|0;o=p+(q<<2)|0;if((q|0)>0){do{q=c[p>>2]|0;if((q|0)!=0){c[p>>2]=q+n}p=p+4|0;}while(p>>>0<o>>>0)}lJ(m,h)}c[j>>2]=l;if((k|0)<=-1){break}d=(c[a>>2]|0)+k|0}}while(0);c[(c[a+24>>2]|0)+(b<<2)>>2]=(c[a>>2]|0)+(c[f>>2]|0);c[(c[a+28>>2]|0)+(b<<2)>>2]=e;$W((c[a>>2]|0)+(c[f>>2]|0)|0,d|0,e|0)|0;c[f>>2]=(c[f>>2]|0)+e;q=0;i=g;return q|0}function xM(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=c[a+32>>2]|0;e=a+12|0;if((c[e>>2]|0)!=-559038737){i=b;return}lJ(d,c[a>>2]|0);c[a>>2]=0;f=a+24|0;lJ(d,c[f>>2]|0);c[f>>2]=0;a=a+28|0;lJ(d,c[a>>2]|0);c[a>>2]=0;c[e>>2]=0;i=b;return}function yM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;c[a+12>>2]=0;c[a+4>>2]=b;c[a+8>>2]=d;c[a>>2]=b;c[a+16>>2]=e;$W(a+20|0,207776,52)|0;i=f;return}function zM(a){a=a|0;i=i;return}function AM(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;e=c[b+8>>2]|0;g=c[b>>2]|0;a:do{if(g>>>0<e>>>0){while(1){b:do{switch(a[g]|0){case 37:{f=37;while(1){if(f<<24>>24==10|f<<24>>24==13){break b}g=g+1|0;if(g>>>0>=e>>>0){break b}f=a[g]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);g=g+1|0;if(g>>>0>=e>>>0){break a}}}}while(0);c[b>>2]=g;i=d;return}function BM(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;e=c[b>>2]|0;g=c[b+8>>2]|0;a:do{if(e>>>0<g>>>0){l=e;while(1){b:do{switch(a[l]|0){case 37:{j=37;while(1){if(j<<24>>24==10|j<<24>>24==13){break b}l=l+1|0;if(l>>>0>=g>>>0){break b}j=a[l]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);l=l+1|0;if(l>>>0>=g>>>0){break a}}}else{l=e}}while(0);c:do{if(l>>>0<g>>>0){switch(a[l]|0){case 40:{j=0;while(1){d:while(1){h=a[l]|0;k=l+1|0;e:do{if(h<<24>>24==41){h=56;break d}else if(h<<24>>24==40){h=54;break d}else if(h<<24>>24==92){if((k|0)==(g|0)){h=3;break c}switch(d[k]|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{l=l+2|0;break e};default:{}}if(k>>>0<g>>>0){l=k;h=0}else{l=k;break}do{if(((a[l]|0)+ -48<<24>>24&255)>=8){break e}l=l+1|0;h=h+1|0;}while(h>>>0<3&l>>>0<g>>>0)}else{l=k}}while(0);if(l>>>0>=g>>>0){g=l;h=3;break c}}if((h|0)==54){j=j+1|0}else if((h|0)==56){j=j+ -1|0;if((j|0)==0){g=k;h=0;break c}}if(k>>>0<g>>>0){l=k}else{g=k;h=3;break c}}break};case 93:case 91:{g=l+1|0;h=0;break c};case 47:{l=l+1|0;break};case 60:{h=l+1|0;do{if(h>>>0<g>>>0){if((a[h]|0)!=60){break}g=l+2|0;h=0;break c}}while(0);do{l=l+1|0;if(l>>>0>=g>>>0){break}f:do{g:do{switch(a[l]|0){case 37:{h=37;while(1){if(h<<24>>24==10|h<<24>>24==13){break g}l=l+1|0;if(l>>>0>=g>>>0){break g}h=a[l]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break f}}}while(0);l=l+1|0;}while(l>>>0<g>>>0);if(l>>>0>=g>>>0){break}m=a[l]|0;}while((m+ -48<<24>>24&255)<10|(m+ -65<<24>>24&255)<6|(m+ -97<<24>>24&255)<6);if(l>>>0<g>>>0){if((a[l]|0)!=62){g=l;h=3;break c}}g=l+1|0;h=0;break c};case 123:{k=123;j=0;h:while(1){i:do{switch(k&255|0){case 125:{j=j+ -1|0;if((j|0)==0){h=13;break h}break};case 60:{do{l=l+1|0;if(l>>>0>=g>>>0){break}j:do{k:do{switch(a[l]|0){case 37:{k=37;while(1){if(k<<24>>24==10|k<<24>>24==13){break k}l=l+1|0;if(l>>>0>=g>>>0){break k}k=a[l]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break j}}}while(0);l=l+1|0;}while(l>>>0<g>>>0);if(l>>>0>=g>>>0){break}m=a[l]|0;}while((m+ -48<<24>>24&255)<10|(m+ -65<<24>>24&255)<6|(m+ -97<<24>>24&255)<6);if(l>>>0<g>>>0){if((a[l]|0)!=62){g=l;h=41;break h}}l=l+1|0;break};case 40:{if(l>>>0<g>>>0){k=0}else{g=l;h=41;break h}while(1){h=l;l:while(1){m=a[h]|0;l=h+1|0;m:do{if(m<<24>>24==92){if((l|0)==(g|0)){h=41;break h}switch(d[l]|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{l=h+2|0;break m};default:{}}if(l>>>0<g>>>0){h=0}else{break}do{if(((a[l]|0)+ -48<<24>>24&255)>=8){break m}l=l+1|0;h=h+1|0;}while(h>>>0<3&l>>>0<g>>>0)}else if(m<<24>>24==41){h=26;break l}else if(m<<24>>24==40){h=24;break l}}while(0);if(l>>>0<g>>>0){h=l}else{g=l;h=41;break h}}if((h|0)==24){k=k+1|0}else if((h|0)==26){h=0;k=k+ -1|0;if((k|0)==0){break i}}if(l>>>0>=g>>>0){g=l;h=41;break h}}break};case 123:{j=j+1|0;break};case 37:{while(1){if(k<<24>>24==10|k<<24>>24==13){break i}l=l+1|0;if(l>>>0>=g>>>0){break i}k=a[l]|0}break};default:{}}}while(0);l=l+1|0;if(l>>>0>=g>>>0){g=l;k=0;break}k=a[l]|0}if((h|0)==13){g=l+1|0;j=0;k=0}else if((h|0)==41){g=g+1|0;k=3}h=(j|0)==0?k:3;break c};case 62:{j=l+1|0;if(j>>>0>=g>>>0){g=j;h=3;break c}h=(a[j]|0)==62;g=h?l+2|0:j;h=h?0:3;break c};default:{}}if(l>>>0>=g>>>0){g=l;h=0;break}while(1){switch(a[l]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{g=l;h=0;break c};default:{}}l=l+1|0;if(l>>>0>=g>>>0){g=l;h=0;break c}}}else{g=l;h=0}}while(0);c[b+12>>2]=(g|0)==(e|0)?3:h;c[b>>2]=g;i=f;return}function CM(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;e=c[b+8>>2]|0;g=c[b>>2]|0;a:do{if(g>>>0<e>>>0){while(1){b:do{switch(a[g]|0){case 37:{f=37;while(1){if(f<<24>>24==10|f<<24>>24==13){break b}g=g+1|0;if(g>>>0>=e>>>0){break b}f=a[g]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);g=g+1|0;if(g>>>0>=e>>>0){break a}}}}while(0);c[b>>2]=g;g=nN(b,e)|0;i=d;return g|0}function DM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=c[b+8>>2]|0;h=c[b>>2]|0;a:do{if(h>>>0<f>>>0){while(1){b:do{switch(a[h]|0){case 37:{g=37;while(1){if(g<<24>>24==10|g<<24>>24==13){break b}h=h+1|0;if(h>>>0>=f>>>0){break b}g=a[h]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);h=h+1|0;if(h>>>0>=f>>>0){break a}}}}while(0);c[b>>2]=h;h=mN(b,f,d)|0;i=e;return h|0}function EM(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;h=i;k=b+8|0;l=c[k>>2]|0;j=c[b>>2]|0;a:do{if(j>>>0<l>>>0){while(1){b:do{switch(a[j]|0){case 37:{m=37;while(1){if(m<<24>>24==10|m<<24>>24==13){break b}j=j+1|0;if(j>>>0>=l>>>0){break b}m=a[j]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);j=j+1|0;if(j>>>0>=l>>>0){break a}}}}while(0);c[b>>2]=j;if(j>>>0>=l>>>0){o=0;i=h;return o|0}if(g<<24>>24==0){k=e<<1;l=l-j|0;l=k>>>0>l>>>0?l:k;do{if((l|0)==0){k=0;g=0}else{e=1;k=0;g=0;c:do{m=a[j+k|0]|0;d:do{switch(m<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:{break};default:{if(m<<24>>24<0){break c}m=a[208184+(m&127)|0]|0;if((m&255)>15){break c}e=m<<24>>24|e<<4;if((e&256|0)==0){break d}a[d+g|0]=e;e=1;g=g+1|0}}}while(0);k=k+1|0;}while(k>>>0<l>>>0);if((e|0)==1){break}a[d+g|0]=e<<4;g=g+1|0}}while(0);c[f>>2]=g}else{if((a[j]|0)!=60){o=3;i=h;return o|0}g=e<<1;l=l-(j+1)|0;e=g>>>0>l>>>0?l:g;do{if((e|0)==0){g=0;l=0}else{m=1;n=0;l=0;e:while(1){g=n+1|0;o=a[j+g|0]|0;f:do{switch(o<<24>>24){case 0:case 9:case 10:case 12:case 13:case 32:{break};default:{if(o<<24>>24<0){g=n;break e}o=a[208184+(o&127)|0]|0;if((o&255)>15){g=n;break e}m=o<<24>>24|m<<4;if((m&256|0)==0){break f}a[d+l|0]=m;m=1;l=l+1|0}}}while(0);if(g>>>0<e>>>0){n=g}else{break}}if((m|0)==1){break}a[d+l|0]=m<<4;l=l+1|0}}while(0);d=j+(g+1)|0;c[f>>2]=l;do{if(d>>>0<(c[k>>2]|0)>>>0){if((a[d]|0)==62){break}else{b=3}i=h;return b|0}}while(0);k=g+2|0}c[b>>2]=j+k;o=0;i=h;return o|0}function FM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=i;h=i;i=i+8|0;j=h;k=c[d+8>>2]|0;o=c[d>>2]|0;a:do{if(o>>>0<k>>>0){while(1){b:do{switch(a[o]|0){case 37:{l=37;while(1){if(l<<24>>24==10|l<<24>>24==13){break b}o=o+1|0;if(o>>>0>=k>>>0){break b}l=a[o]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);o=o+1|0;if(o>>>0>=k>>>0){break a}}}}while(0);c[d>>2]=o;c[h>>2]=o;c:do{if(o>>>0<k>>>0){l=a[o]|0;if(l<<24>>24==91){l=93;m=10}else{if(l<<24>>24==123){l=125;m=10}else{n=0;l=0}}if((m|0)==10){o=o+1|0;c[h>>2]=o;n=1}d:do{if((f|0)==0){e=n;n=0;while(1){if(o>>>0>=k>>>0){break c}e:do{f:do{switch(a[o]|0){case 37:{f=37;while(1){if(f<<24>>24==10|f<<24>>24==13){break f}o=o+1|0;if(o>>>0>=k>>>0){break f}f=a[o]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break e}}}while(0);o=o+1|0;}while(o>>>0<k>>>0);c[h>>2]=o;if(o>>>0>=k>>>0){break c}if((a[o]|0)==l<<24>>24){break d}mN(j,k,0)|0;f=c[h>>2]|0;if((o|0)==(f|0)){n=-1;break c}n=n+1|0;if(e){o=f;e=1}else{o=f;break c}}}else{m=n;n=0;while(1){if(o>>>0<k>>>0){p=o}else{break c}g:while(1){h:do{switch(a[p]|0){case 37:{o=37;while(1){if(o<<24>>24==10|o<<24>>24==13){break h}p=p+1|0;if(p>>>0>=k>>>0){break h}o=a[p]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{o=p;break g}}}while(0);o=p+1|0;if(o>>>0<k>>>0){p=o}else{break}}c[h>>2]=o;if(o>>>0>=k>>>0){break c}if((a[o]|0)==l<<24>>24){break d}if((n|0)>=(e|0)){break c}b[f+(n<<1)>>1]=(mN(j,k,0)|0)>>>16;p=c[h>>2]|0;if((o|0)==(p|0)){n=-1;break c}n=n+1|0;if(m){o=p;m=1}else{o=p;break c}}}}while(0);o=o+1|0;c[h>>2]=o}else{n=0}}while(0);c[d>>2]=o;i=g;return n|0}function GM(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;g=i;k=i;i=i+8|0;h=k;j=i;i=i+8|0;l=c[b+8>>2]|0;r=c[b>>2]|0;a:do{if(r>>>0<l>>>0){while(1){b:do{switch(a[r]|0){case 37:{m=37;while(1){if(m<<24>>24==10|m<<24>>24==13){break b}r=r+1|0;if(r>>>0>=l>>>0){break b}m=a[r]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);r=r+1|0;if(r>>>0>=l>>>0){break a}}}}while(0);c[b>>2]=r;c[k>>2]=r;c:do{if(r>>>0<l>>>0){m=a[r]|0;if(m<<24>>24==91){m=93;n=10}else{if(m<<24>>24==123){m=125;n=10}else{p=0;m=0}}if((n|0)==10){r=r+1|0;c[k>>2]=r;p=1}n=(e|0)!=0;o=n^1;q=0;while(1){if(r>>>0<l>>>0){s=r}else{break c}d:while(1){e:do{switch(a[s]|0){case 37:{r=37;while(1){if(r<<24>>24==10|r<<24>>24==13){break e}s=s+1|0;if(s>>>0>=l>>>0){break e}r=a[s]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{r=s;break d}}}while(0);r=s+1|0;if(r>>>0<l>>>0){s=r}else{break}}c[k>>2]=r;if(r>>>0>=l>>>0){break c}if((a[r]|0)==m<<24>>24){break}if(!((q|0)<(d|0)|o)){break c}s=mN(h,l,f)|0;if(n){t=e+(q<<2)|0}else{t=j}c[t>>2]=s;s=c[k>>2]|0;if((r|0)==(s|0)){q=-1;break c}q=q+1|0;if(p){r=s;p=1}else{r=s;break c}}r=r+1|0;c[k>>2]=r}else{q=0}}while(0);c[b>>2]=r;i=g;return q|0}function HM(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;g=e+8|0;c[g>>2]=0;c[e>>2]=0;h=e+4|0;c[h>>2]=0;l=b+8|0;j=c[l>>2]|0;n=c[b>>2]|0;a:do{if(n>>>0<j>>>0){while(1){b:do{switch(a[n]|0){case 37:{m=37;while(1){if(m<<24>>24==10|m<<24>>24==13){break b}n=n+1|0;if(n>>>0>=j>>>0){break b}m=a[n]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break a}}}while(0);n=n+1|0;if(n>>>0>=j>>>0){break a}}}}while(0);c[b>>2]=n;if(n>>>0>=j>>>0){i=f;return}m=d[n]|0;c:do{if((m|0)==40){c[g>>2]=2;c[e>>2]=n;l=0;while(1){d:while(1){k=a[n]|0;m=n+1|0;e:do{if(k<<24>>24==92){if((m|0)==(j|0)){k=81;break c}switch(d[m]|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{n=n+2|0;break e};default:{}}if(m>>>0<j>>>0){n=m;k=0}else{n=m;break}do{if(((a[n]|0)+ -48<<24>>24&255)>=8){break e}n=n+1|0;k=k+1|0;}while(k>>>0<3&n>>>0<j>>>0)}else if(k<<24>>24==41){k=22;break d}else if(k<<24>>24==40){k=20;break d}else{n=m}}while(0);if(n>>>0>=j>>>0){j=n;k=81;break c}}if((k|0)==20){l=l+1|0}else if((k|0)==22){k=0;l=l+ -1|0;if((l|0)==0){break}}if(m>>>0<j>>>0){n=m}else{j=m;k=81;break c}}c[h>>2]=m;j=m}else if((m|0)==91){c[g>>2]=3;q=n+1|0;c[e>>2]=n;c[b>>2]=q;m=c[l>>2]|0;f:do{if(q>>>0<m>>>0){while(1){g:do{switch(a[q]|0){case 0:case 12:case 9:case 10:case 13:case 32:{break};case 37:{n=37;while(1){if(n<<24>>24==10|n<<24>>24==13){break g}q=q+1|0;if(q>>>0>=m>>>0){break g}n=a[q]|0}break};default:{break f}}}while(0);q=q+1|0;if(q>>>0>=m>>>0){break f}}}}while(0);c[b>>2]=q;if(q>>>0>=j>>>0){j=q;k=81;break}m=b+12|0;n=1;while(1){if((c[m>>2]|0)!=0){j=q;k=81;break c}o=a[q]|0;if(o<<24>>24==91){n=n+1|0}else if(o<<24>>24==93){if((n|0)<2){break}else{n=n+ -1|0}}c[b>>2]=q;BM(b);o=c[l>>2]|0;q=c[b>>2]|0;h:do{if(q>>>0<o>>>0){while(1){i:do{switch(a[q]|0){case 0:case 12:case 9:case 10:case 13:case 32:{break};case 37:{p=37;while(1){if(p<<24>>24==10|p<<24>>24==13){break i}q=q+1|0;if(q>>>0>=o>>>0){break i}p=a[q]|0}break};default:{break h}}}while(0);q=q+1|0;if(q>>>0>=o>>>0){break h}}}}while(0);c[b>>2]=q;if(q>>>0>=j>>>0){j=q;k=81;break c}}j=q+1|0;c[h>>2]=j}else if((m|0)==123){c[g>>2]=3;c[e>>2]=n;l=0;j:while(1){m=a[n]|0;k:do{switch(m&255|0){case 40:{if(n>>>0<j>>>0){m=0}else{j=n;k=55;break j}while(1){o=n;l:while(1){k=a[o]|0;n=o+1|0;m:do{if(k<<24>>24==41){k=40;break l}else if(k<<24>>24==40){k=38;break l}else if(k<<24>>24==92){if((n|0)==(j|0)){k=55;break j}switch(d[n]|0){case 41:case 40:case 92:case 102:case 98:case 116:case 114:case 110:{n=o+2|0;break m};default:{}}if(n>>>0<j>>>0){k=0}else{break}do{if(((a[n]|0)+ -48<<24>>24&255)>=8){break m}n=n+1|0;k=k+1|0;}while(k>>>0<3&n>>>0<j>>>0)}}while(0);if(n>>>0<j>>>0){o=n}else{j=n;k=55;break j}}if((k|0)==38){m=m+1|0}else if((k|0)==40){k=0;m=m+ -1|0;if((m|0)==0){break k}}if(n>>>0>=j>>>0){j=n;k=55;break j}}break};case 125:{l=l+ -1|0;if((l|0)==0){k=27;break j}break};case 60:{do{n=n+1|0;if(n>>>0>=j>>>0){break}n:do{o:do{switch(a[n]|0){case 0:case 12:case 9:case 10:case 13:case 32:{break};case 37:{m=37;while(1){if(m<<24>>24==10|m<<24>>24==13){break o}n=n+1|0;if(n>>>0>=j>>>0){break o}m=a[n]|0}break};default:{break n}}}while(0);n=n+1|0;}while(n>>>0<j>>>0);if(n>>>0>=j>>>0){break}q=a[n]|0;}while((q+ -48<<24>>24&255)<10|(q+ -65<<24>>24&255)<6|(q+ -97<<24>>24&255)<6);if(n>>>0<j>>>0){if((a[n]|0)!=62){j=n;k=55;break j}}n=n+1|0;break};case 123:{l=l+1|0;break};case 37:{while(1){if(m<<24>>24==10|m<<24>>24==13){break k}n=n+1|0;if(n>>>0>=j>>>0){break k}m=a[n]|0}break};default:{}}}while(0);n=n+1|0;if(n>>>0>=j>>>0){j=n;m=0;break}}if((k|0)==27){j=n+1|0;l=0;m=0}else if((k|0)==55){j=j+1|0;m=3}if((l|m|0)!=0){k=81;break}c[h>>2]=j}else{c[e>>2]=n;c[g>>2]=(a[n]|0)==47?4:1;BM(b);j=c[b>>2]|0;if((c[b+12>>2]|0)!=0){k=81;break}c[h>>2]=j;h=j;k=82}}while(0);if((k|0)==81){h=c[h>>2]|0;k=82}do{if((k|0)==82){if((h|0)!=0){break}c[e>>2]=0;c[g>>2]=0}}while(0);c[b>>2]=j;i=f;return}function IM(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;j=i;n=i;i=i+16|0;m=n;l=i;i=i+16|0;k=l;c[e>>2]=-1;HM(a,m);if((c[m+8>>2]|0)!=3){i=j;return}g=c[a>>2]|0;f=a+8|0;h=c[f>>2]|0;d=b+(d*12|0)|0;o=(c[n>>2]|0)+1|0;c[a>>2]=o;n=(c[m+4>>2]|0)+ -1|0;c[f>>2]=n;a:do{if(o>>>0<n>>>0){m=k+8|0;if((b|0)==0){n=0;while(1){HM(a,k);if((c[m>>2]|0)==0){break a}n=n+12|0;if((c[a>>2]|0)>>>0>=(c[f>>2]|0)>>>0){break a}}}else{n=b}do{HM(a,k);if((c[m>>2]|0)==0){break a}if(n>>>0<d>>>0){$W(n|0,l|0,12)|0}n=n+12|0;}while((c[a>>2]|0)>>>0<(c[f>>2]|0)>>>0)}else{n=b}}while(0);c[e>>2]=(n-b|0)/12|0;c[a>>2]=g;c[f>>2]=h;i=j;return}function JM(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;j=i;t=i;i=i+8|0;l=t;w=i;i=i+16|0;u=w;r=i;i=i+8|0;o=r;q=i;i=i+8|0;p=q;v=i;i=i+16|0;n=i;i=i+16|0;m=n;HM(e,u);s=c[u+8>>2]|0;a:do{if((s|0)!=0){F=c[w>>2]|0;c[r>>2]=F;w=c[u+4>>2]|0;u=f+8|0;if((c[u>>2]|0)==7){G=c[e>>2]|0;I=e+8|0;H=c[I>>2]|0;c[e>>2]=F+1;c[I>>2]=w+ -1;HM(e,v);c[e>>2]=G;c[I>>2]=H;if((c[v+8>>2]|0)==3){k=5}else{h=1;A=0}}else{if((s|0)==3){k=5}else{h=1;A=0}}if((k|0)==5){if((h|0)==0){break}F=F+1|0;c[r>>2]=F;A=1;w=w+ -1|0}v=f+16|0;f=f+20|0;z=e+16|0;y=m+4|0;e=m+8|0;x=m+12|0;b:while(1){C=c[g+(A<<2)>>2]|0;D=c[v>>2]|0;B=C+D|0;c:do{if(F>>>0<w>>>0){while(1){d:do{switch(a[F]|0){case 37:{E=37;while(1){if(E<<24>>24==10|E<<24>>24==13){break d}F=F+1|0;if(F>>>0>=w>>>0){break d}E=a[F]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break c}}}while(0);F=F+1|0;if(F>>>0>=w>>>0){break c}}}}while(0);c[r>>2]=F;e:do{switch(c[u>>2]|0){case 4:{C=mN(o,w,3)|0;k=31;break};case 3:{C=mN(o,w,0)|0;k=31;break};case 7:{c[t>>2]=F;f:do{if(F>>>0<w>>>0){E=a[F]|0;if(E<<24>>24==91){E=93;k=48}else{if(E<<24>>24==123){E=125;k=48}else{H=F;F=0;E=0}}if((k|0)==48){k=0;H=F+1|0;c[t>>2]=H;F=1}G=0;while(1){if(H>>>0<w>>>0){I=H}else{break}g:while(1){h:do{switch(a[I]|0){case 37:{H=37;while(1){if(H<<24>>24==10|H<<24>>24==13){break h}I=I+1|0;if(I>>>0>=w>>>0){break h}H=a[I]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{H=I;break g}}}while(0);H=I+1|0;if(H>>>0<w>>>0){I=H}else{break}}c[t>>2]=H;if(H>>>0>=w>>>0){break}if((a[H]|0)==E<<24>>24){k=58;break}if((G|0)>=4){F=H;k=63;break f}c[m+(G<<2)>>2]=mN(l,w,0)|0;I=c[t>>2]|0;if((H|0)==(I|0)){k=61;break b}G=G+1|0;if(F){H=I;F=1}else{H=I;break}}if((k|0)==58){k=0;H=H+1|0;c[t>>2]=H}c[r>>2]=H;if((G|0)<0){break b}}else{k=63}}while(0);if((k|0)==63){k=0;c[r>>2]=F}c[B>>2]=ZI(c[n>>2]|0)|0;c[C+(D+4)>>2]=ZI(c[y>>2]|0)|0;c[C+(D+8)>>2]=ZI(c[e>>2]|0)|0;c[C+(D+12)>>2]=ZI(c[x>>2]|0)|0;break};case 6:case 5:{E=c[z>>2]|0;D=w-F|0;if(F>>>0>=w>>>0){break e}if((s|0)==2){C=F+1|0;c[r>>2]=C;D=D+ -2|0}else if((s|0)==4){C=F+1|0;c[r>>2]=C;D=D+ -1|0}else{k=40;break b}F=c[B>>2]|0;if((F|0)!=0){lJ(E,F);c[B>>2]=0}F=jJ(E,D+1|0,p)|0;E=c[q>>2]|0;if((E|0)!=0){k=70;break b}$W(F|0,C|0,D|0)|0;a[F+D|0]=0;c[B>>2]=F;break};case 1:{C=F+3|0;do{if(C>>>0<w>>>0){if((a[F]|0)!=116){k=21;break}if((a[F+1|0]|0)!=114){k=21;break}if((a[F+2|0]|0)!=117){k=21;break}if((a[C]|0)!=101){k=21;break}F=F+5|0;C=1}else{k=21}}while(0);do{if((k|0)==21){k=F+4|0;if(k>>>0>=w>>>0){C=0;break}if((a[F]|0)!=102){C=0;break}if((a[F+1|0]|0)!=97){C=0;break}if((a[F+2|0]|0)!=108){C=0;break}if((a[C]|0)!=115){C=0;break}F=(a[k]|0)==101?F+6|0:F;C=0}}while(0);c[r>>2]=F;k=31;break};case 2:{C=nN(o,w)|0;k=31;break};default:{break a}}}while(0);do{if((k|0)==31){k=0;D=d[f]|0;if((D|0)==2){b[B>>1]=C;break}else if((D|0)==1){a[B]=C;break}else if((D|0)==4){c[B>>2]=C;break}else{c[B>>2]=C;break}}}while(0);h=h+ -1|0;if((h|0)==0){k=69;break}F=c[r>>2]|0;A=A+1|0}if((k|0)==40){c[q>>2]=3;I=3;i=j;return I|0}else if((k|0)==61){c[r>>2]=H}else if((k|0)==69){c[q>>2]=0;I=0;i=j;return I|0}else if((k|0)==70){i=j;return E|0}c[q>>2]=3;I=3;i=j;return I|0}}while(0);c[q>>2]=3;I=3;i=j;return I|0}function KM(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;t=i;i=i+16|0;s=t;q=i;i=i+16|0;p=q;n=i;i=i+384|0;k=i;i=i+40|0;h=k;$W(k|0,e|0,36)|0;k=h+8|0;c[k>>2]=2;o=e+8|0;r=c[o>>2]|0;if((r|0)==7|(r|0)==9){c[k>>2]=3}HM(b,s);if((c[s+8>>2]|0)!=3){t=162;i=j;return t|0}m=c[b>>2]|0;k=b+8|0;l=c[k>>2]|0;r=n+384|0;u=(c[t>>2]|0)+1|0;c[b>>2]=u;t=(c[s+4>>2]|0)+ -1|0;c[k>>2]=t;a:do{if(u>>>0<t>>>0){s=p+8|0;t=n;do{HM(b,p);if((c[s>>2]|0)==0){break a}if(t>>>0<r>>>0){$W(t|0,q|0,12)|0}t=t+12|0;}while((c[b>>2]|0)>>>0<(c[k>>2]|0)>>>0)}else{t=n}}while(0);u=t-n|0;q=(u|0)/12|0;c[b>>2]=m;c[k>>2]=l;if((u|0)<0){u=162;i=j;return u|0}p=c[e+24>>2]|0;p=q>>>0>p>>>0?p:q;do{if((c[o>>2]|0)!=7){e=c[e+28>>2]|0;if((e|0)==0){break}a[(c[f>>2]|0)+e|0]=p}}while(0);if((p|0)>0){o=h+20|0;e=h+16|0;while(1){c[b>>2]=c[n>>2];c[k>>2]=c[n+4>>2];JM(b,h,f,g,0)|0;c[e>>2]=(c[e>>2]|0)+(d[o]|0);p=p+ -1|0;if((p|0)>0){n=n+12|0}else{break}}}c[b>>2]=m;c[k>>2]=l;u=0;i=j;return u|0}function LM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;d=c[c[f>>2]>>2]|0;c[b+12>>2]=d;c[b+16>>2]=d+20;c[b+20>>2]=d+56;kJ(d);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(g<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;i=h;return}function MM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function NM(a,d){a=a|0;d=d|0;var e=0;e=i;if((d|0)==0){a=0;i=e;return a|0}a=c[a+12>>2]|0;if(((b[a+22>>1]|0)+d+(b[a+58>>1]|0)|0)>>>0<=(c[a+4>>2]|0)>>>0){a=0;i=e;return a|0}a=pJ(a,d,0)|0;i=e;return a|0}function OM(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;j=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=j+2|0;j=d;j=b[j>>1]|0;j=j+1<<16>>16;b[d>>1]=j;i=h;return}else{l=c[j+4>>2]|0;d=j+2|0;k=b[d>>1]|0;j=(c[j+8>>2]|0)+k|0;c[l+(k<<3)>>2]=(ZI(e)|0)>>16;c[l+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[j]=g<<24>>24!=0?1:2;l=d;k=l;k=b[k>>1]|0;k=k+1<<16>>16;b[l>>1]=k;i=h;return}}function PM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;h=c[d+12>>2]|0;do{if(((b[h+22>>1]|0)+1+(b[h+58>>1]|0)|0)>>>0>(c[h+4>>2]|0)>>>0){h=pJ(h,1,0)|0;if((h|0)==0){break}i=g;return h|0}}while(0);h=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=h+2|0}else{k=c[h+4>>2]|0;d=h+2|0;j=b[d>>1]|0;h=(c[h+8>>2]|0)+j|0;c[k+(j<<3)>>2]=(ZI(e)|0)>>16;c[k+(j<<3)+4>>2]=(ZI(f)|0)>>16;a[h]=1}b[d>>1]=(b[d>>1]|0)+1<<16>>16;k=0;i=g;return k|0}function QM(d){d=d|0;var e=0,f=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){d=3;i=e;return d|0}if((a[d+68|0]|0)==0){b[f>>1]=(b[f>>1]|0)+1<<16>>16;d=0;i=e;return d|0}d=c[d+12>>2]|0;do{if(((b[d+20>>1]|0)+1+(b[d+56>>1]|0)|0)>>>0>(c[d+8>>2]|0)>>>0){d=pJ(d,0,1)|0;if((d|0)==0){break}i=e;return d|0}}while(0);d=b[f>>1]|0;if(d<<16>>16>0){b[(c[f+12>>2]|0)+((d<<16>>16)+ -1<<1)>>1]=(b[f+2>>1]|0)+ -1<<16>>16;d=b[f>>1]|0}b[f>>1]=d+1<<16>>16;d=0;i=e;return d|0}function RM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=d+64|0;if((c[h>>2]|0)==3){l=0;i=g;return l|0}c[h>>2]=3;j=d+20|0;k=c[j>>2]|0;if((k|0)==0){l=3;i=g;return l|0}h=d+68|0;if((a[h]|0)==0){b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=d+12|0}else{d=d+12|0;l=c[d>>2]|0;do{if(((b[l+20>>1]|0)+1+(b[l+56>>1]|0)|0)>>>0>(c[l+8>>2]|0)>>>0){l=pJ(l,0,1)|0;if((l|0)==0){break}i=g;return l|0}}while(0);l=b[k>>1]|0;if(l<<16>>16>0){b[(c[k+12>>2]|0)+((l<<16>>16)+ -1<<1)>>1]=(b[k+2>>1]|0)+ -1<<16>>16;l=b[k>>1]|0}b[k>>1]=l+1<<16>>16}k=c[d>>2]|0;do{if(((b[k+22>>1]|0)+1+(b[k+58>>1]|0)|0)>>>0>(c[k+4>>2]|0)>>>0){l=pJ(k,1,0)|0;if((l|0)==0){break}i=g;return l|0}}while(0);j=c[j>>2]|0;if((a[h]|0)==0){e=j+2|0}else{h=c[j+4>>2]|0;l=j+2|0;k=b[l>>1]|0;d=(c[j+8>>2]|0)+k|0;c[h+(k<<3)>>2]=(ZI(e)|0)>>16;c[h+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[d]=1;e=l}b[e>>1]=(b[e>>1]|0)+1<<16>>16;l=0;i=g;return l|0}function SM(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){i=e;return}g=b[f>>1]|0;if(g<<16>>16<2){h=0}else{h=(b[(c[f+12>>2]|0)+((g<<16>>16)+ -2<<1)>>1]|0)+1|0}d=f+2|0;j=b[d>>1]|0;do{if(j<<16>>16>1){l=c[f+4>>2]|0;k=(j<<16>>16)+ -1|0;if((c[l+(h<<3)>>2]|0)!=(c[l+(k<<3)>>2]|0)){break}if((c[l+(h<<3)+4>>2]|0)!=(c[l+(k<<3)+4>>2]|0)){break}if((a[(c[f+8>>2]|0)+k|0]|0)!=1){break}j=j+ -1<<16>>16;b[d>>1]=j}}while(0);if(g<<16>>16<=0){i=e;return}k=(j<<16>>16)+ -1|0;if((h|0)==(k|0)){b[f>>1]=g+ -1<<16>>16;b[d>>1]=j+ -1<<16>>16;i=e;return}else{b[(c[f+12>>2]|0)+((g<<16>>16)+ -1<<1)>>1]=k;i=e;return}}function TM(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;m=i;bX(b|0,0,1500)|0;n=oK(c[d+96>>2]|0,209568)|0;if((n|0)==0){n=7;i=m;return n|0}c[b+1348>>2]=n;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;n=c[c[f>>2]>>2]|0;c[b+12>>2]=n;c[b+16>>2]=n+20;c[b+20>>2]=n+56;kJ(n);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(j<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;c[b+1352>>2]=c[d+16>>2];c[b+1356>>2]=g;c[b+1468>>2]=k;c[b+1464>>2]=h;c[b+1472>>2]=l;$W(b+1476|0,207864,12)|0;n=0;i=m;return n|0}function UM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function VM(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;j=i;l=i;i=i+8|0;p=i;i=i+8|0;k=i;i=i+8|0;c[l>>2]=f;c[p>>2]=g;m=p^l^k;m=(m>>>10^m^m>>20)&65535;c[k>>2]=(m|0)==0?29572:m;c[f+1136>>2]=f+112;D=f+1140|0;c[f+1344>>2]=D;n=f+64|0;c[n>>2]=0;m=c[f+72>>2]|0;q=c[f+1492>>2]|0;if((q|0)!=0){bX(c[f+1488>>2]|0,0,q<<2|0)|0;g=c[p>>2]|0}c[f+1144>>2]=g;E=g+h|0;c[f+1148>>2]=E;c[D>>2]=g;q=f+24|0;H=c[q>>2]|0;r=f+28|0;G=c[r>>2]|0;p=(m|0)!=0;if(p){fd[c[m+4>>2]&511](c[m>>2]|0)}if((h|0)<=0){R=0;i=j;return R|0}B=f+12|0;y=f+20|0;z=f+68|0;A=m+20|0;v=f+32|0;x=f+40|0;u=f+44|0;w=f+70|0;h=f+36|0;s=m+12|0;t=m+16|0;I=0;F=0;C=H;J=0;a:while(1){b:while(1){N=g;L=F;while(1){M=c[l>>2]|0;K=c[M+1136>>2]|0;g=N+1|0;O=a[N]|0;F=O&255;c:do{switch(F|0){case 11:{F=L;O=24;N=0;break};case 13:{F=L;O=2;N=0;break};case 255:{F=N+5|0;if(F>>>0>E>>>0){M=160;o=238;break a}N=d[N+2|0]<<16|d[g]<<24|d[N+3|0]<<8|d[N+4|0];P=L<<24>>24!=0;if((N+32e3|0)>>>0>64e3){g=F;F=P?L:1;O=0;break c}else{g=F;F=L;O=0;N=P?N:N<<16;break c}break};case 30:{F=L;O=12;N=0;break};case 31:{F=L;O=8;N=0;break};case 3:{F=L;O=18;N=0;break};case 4:{F=L;O=14;N=0;break};case 5:{F=L;O=9;N=0;break};case 6:{F=L;O=6;N=0;break};case 1:{F=L;O=16;N=0;break};case 14:{F=L;O=1;N=0;break};case 15:{F=L;O=26;N=0;break};case 9:{F=L;O=5;N=0;break};case 10:{F=L;O=22;N=0;break};case 7:{F=L;O=13;N=0;break};case 8:{F=L;O=11;N=0;break};case 21:{F=L;O=10;N=0;break};case 22:{F=L;O=7;N=0;break};case 12:{if(g>>>0>E>>>0){M=160;o=238;break a}F=N+2|0;switch(d[g]|0){case 2:{g=F;F=L;O=17;N=0;break c};case 12:{g=F;F=L;O=20;N=0;break c};case 16:{g=F;F=L;O=21;N=0;break c};case 0:{g=F;F=L;O=15;N=0;break c};case 6:{g=F;F=L;O=3;N=0;break c};case 7:{g=F;F=L;O=4;N=0;break c};case 1:{g=F;F=L;O=19;N=0;break c};case 17:{g=F;F=L;O=23;N=0;break c};case 33:{g=F;F=L;O=25;N=0;break c};default:{M=160;o=238;break a}}break};default:{if((O&255)<=31){M=160;o=238;break a}do{if((O&255)<247){N=g;P=F+ -139|0}else{N=N+2|0;if(N>>>0>E>>>0){M=160;o=238;break a}F=F<<8;if((O&255)<251){P=(d[g]|F+ -63232)+108|0;break}else{P=-108-(d[g]|F+ -64256)|0;break}}}while(0);g=N;F=L;O=0;N=L<<24>>24==0?P<<16:P}}}while(0);do{if((J|0)>0){if((O|0)==23|(O|0)==0|(O|0)==24|(O|0)==22){break}J=0}}while(0);do{if(F<<24>>24==0){F=0}else{if((O|0)==0|(O|0)==20){break}F=0}}while(0);if((O|0)==21){break}else if((O|0)!=0){break b}if((K-(M+112)|0)>1020){M=160;o=238;break a}c[K>>2]=N;c[(c[l>>2]|0)+1136>>2]=K+4;if(g>>>0<E>>>0){N=g;L=F}else{M=0;o=238;break a}}O=M+112|0;if((K-O|0)<8){M=161;o=238;break a}R=K+ -8|0;I=c[K+ -4>>2]>>16;J=c[R>>2]>>16;if((J|0)>(R-O>>2|0)){M=161;o=238;break a}N=-2-J|0;L=K+(N<<2)|0;d:do{switch(I|0){case 2:{if((J|0)!=0){M=160;o=238;break a}R=M+1404|0;I=c[R>>2]|0;c[R>>2]=I+1;if((I+ -1|0)>>>0>=6){I=0;J=0;break d}if((I|0)==3){J=1}else{J=(I|0)==6|0}K=c[y>>2]|0;if((a[z]|0)==0){I=K+2|0}else{Q=c[K+4>>2]|0;I=K+2|0;R=b[I>>1]|0;K=(c[K+8>>2]|0)+R|0;c[Q+(R<<3)>>2]=(ZI(H)|0)>>16;c[Q+(R<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=J<<24>>24!=0?1:2}b[I>>1]=(b[I>>1]|0)+1<<16>>16;I=0;J=0;break};case 19:{I=c[M+1464>>2]|0;if((J|0)!=1|(I|0)==0){M=160;o=238;break a}J=c[L>>2]>>16;if((J|0)<0){M=160;o=238;break a}K=c[I>>2]|0;if((K+J|0)>>>0>(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}$W((c[M+1488>>2]|0)+(J<<2)|0,c[I+136>>2]|0,K<<2|0)|0;I=0;J=0;break};case 3:{if((J|0)!=1){M=160;o=238;break a}if(!p){I=1;J=0;break d}hd[c[A>>2]&127](c[m>>2]|0,b[(c[y>>2]|0)+2>>1]|0);I=1;J=0;break};case 24:{if((J|0)!=2){M=160;o=238;break a}if((c[M+1464>>2]|0)==0){M=160;o=238;break a}I=c[K+(N+1<<2)>>2]>>16;if((I|0)<0){M=160;o=238;break a}if(I>>>0>=(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}c[(c[M+1488>>2]|0)+(I<<2)>>2]=c[L>>2];I=0;J=0;break};case 21:{if((J|0)!=2){M=160;o=238;break a}c[L>>2]=(c[L>>2]|0)-(c[K+(N+1<<2)>>2]|0);I=1;J=0;break};case 1:{if((J|0)!=0){M=160;o=238;break a}c[M+1400>>2]=1;c[(c[l>>2]|0)+1404>>2]=0;M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}I=c[B>>2]|0;if(((b[I+22>>1]|0)+6+(b[I+58>>1]|0)|0)>>>0<=(c[I+4>>2]|0)>>>0){I=0;J=0;break d}M=pJ(I,6,0)|0;if((M|0)==0){I=0;J=0}else{o=238;break a}break};case 23:{if((J|0)!=2){M=160;o=238;break a}I=c[K+(N+1<<2)>>2]|0;if((I|0)==0){M=160;o=238;break a}c[L>>2]=bJ(c[L>>2]|0,I)|0;I=1;J=0;break};case 22:{if((J|0)!=2){M=160;o=238;break a}c[L>>2]=aJ(c[L>>2]|0,c[K+(N+1<<2)>>2]|0)|0;I=1;J=0;break};case 28:{if((J|0)!=0){M=160;o=238;break a}I=c[k>>2]|0;c[L>>2]=((I|0)>32767)+I;I=c[k>>2]|0;I=aJ(I,65536-I|0)|0;c[k>>2]=(I|0)==0?I+10355|0:I;I=1;J=0;break};case 27:{if((J|0)!=4){M=160;o=238;break a}if((c[K+(N+2<<2)>>2]|0)<=(c[K+(N+3<<2)>>2]|0)){I=1;J=0;break d}c[L>>2]=c[K+(N+1<<2)>>2];I=1;J=0;break};case 13:case 12:{I=0;L=O;J=0;break};case 18:case 17:case 16:case 15:case 14:{M=c[M+1464>>2]|0;if((M|0)==0){M=160;o=238;break a}I=I+ -13+((I|0)==18)|0;P=c[M>>2]|0;if((J|0)!=(da(P,I)|0)){M=160;o=238;break a}if((I|0)==0){I=0;J=0;break d}J=M+136|0;O=K+(I+N<<2)|0;K=1;N=L;while(1){Q=c[N>>2]|0;if(P>>>0>1){R=O;P=1;while(1){O=R+4|0;Q=(aJ(c[R>>2]|0,c[(c[J>>2]|0)+(P<<2)>>2]|0)|0)+Q|0;P=P+1|0;if(P>>>0<(c[M>>2]|0)>>>0){R=O}else{break}}}c[N>>2]=Q;if(K>>>0>=I>>>0){J=0;break d}P=c[M>>2]|0;K=K+1|0;N=N+4|0}break};case 0:{if((J|0)!=3){M=160;o=238;break a}if((c[M+1400>>2]|0)==0){M=160;o=238;break a}if((c[M+1404>>2]|0)!=7){M=160;o=238;break a}c[L>>2]=H;c[K+(N+1<<2)>>2]=G;I=2;J=0;break};case 25:{if((J|0)!=1){M=160;o=238;break a}if((c[M+1464>>2]|0)==0){M=160;o=238;break a}I=c[L>>2]>>16;if((I|0)<0){M=160;o=238;break a}if(I>>>0>=(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}c[L>>2]=c[(c[M+1488>>2]|0)+(I<<2)>>2];I=1;J=0;break};case 20:{if((J|0)!=2){M=160;o=238;break a}c[L>>2]=(c[L>>2]|0)+(c[K+(N+1<<2)>>2]|0);I=1;J=0;break};default:{I=0}}}while(0);c[(c[l>>2]|0)+1136>>2]=L+(I<<2);if(g>>>0>=E>>>0){M=0;o=238;break a}}N=c[209592+(O<<2)>>2]|0;if((K-(M+112)>>2|0)<(N|0)){M=161;o=238;break}L=K+(0-N<<2)|0;e:do{switch(O|0){case 12:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}M=c[B>>2]|0;if(((b[M+22>>1]|0)+3+(b[M+58>>1]|0)|0)>>>0>(c[M+4>>2]|0)>>>0){M=pJ(M,3,0)|0;if((M|0)!=0){o=238;break a}}G=(c[L>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(1-N<<2)>>2]|0)+H|0;G=(c[K+(2-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(3-N<<2)>>2]|0)+H|0;K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L;break};case 6:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}H=(c[L>>2]|0)+H|0;o=173;break};case 13:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}G=(c[L>>2]|0)+G|0;o=173;break};case 14:{G=(c[L>>2]|0)+G|0;if((c[M+1400>>2]|0)!=0){K=L;break e}if((c[n>>2]|0)==0){M=160;o=238;break a}c[n>>2]=2;K=L;break};case 17:{if(!p){K=L;break e}Gd[c[t>>2]&255](c[m>>2]|0,1,L);K=L;break};case 18:{if(!p){K=L;break e}c[L>>2]=(c[L>>2]|0)+C;Gd[c[s>>2]&255](c[m>>2]|0,0,L);K=L;break};case 19:{if(!p){K=L;break e}c[L>>2]=(c[L>>2]|0)+C;R=K+(2-N<<2)|0;c[R>>2]=(c[R>>2]|0)+C;K=K+(4-N<<2)|0;c[K>>2]=(c[K>>2]|0)+C;Gd[c[t>>2]&255](c[m>>2]|0,0,L);K=L;break};case 23:{if((I|0)>0){I=I+ -1|0;K=L;break e}if((J|0)==0){M=160;o=238;break a}K=K+(1-N<<2)|0;J=J+ -1|0;break};case 24:{if(D>>>0<=(M+1140|0)>>>0){M=160;o=238;break a}R=D+ -12|0;g=c[R>>2]|0;E=c[D+ -4>>2]|0;c[M+1344>>2]=R;K=L;D=R;break};case 16:{if(!p){K=L;break e}Gd[c[s>>2]&255](c[m>>2]|0,1,L);K=L;break};case 10:{H=(c[L>>2]|0)+H|0;G=(c[K+(1-N<<2)>>2]|0)+G|0;if((c[M+1400>>2]|0)!=0){K=L;break e}if((c[n>>2]|0)==0){M=160;o=238;break a}c[n>>2]=2;K=L;break};case 11:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}M=c[B>>2]|0;if(((b[M+22>>1]|0)+3+(b[M+58>>1]|0)|0)>>>0>(c[M+4>>2]|0)>>>0){M=pJ(M,3,0)|0;if((M|0)!=0){o=238;break a}}H=(c[L>>2]|0)+H|0;G=(c[K+(1-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(2-N<<2)>>2]|0)+H|0;G=(c[K+(3-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(4-N<<2)>>2]|0)+H|0;G=(c[K+(5-N<<2)>>2]|0)+G|0;K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L;break};case 3:{o=124;break a};case 4:{c[n>>2]=1;c[v>>2]=(c[v>>2]|0)+(c[L>>2]|0);G=K+(1-N<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[G>>2]|0);c[x>>2]=c[K+(2-N<<2)>>2];c[u>>2]=c[K+(3-N<<2)>>2];if((a[w]|0)==0){K=L;H=(c[L>>2]|0)+(c[q>>2]|0)|0;G=(c[G>>2]|0)+(c[r>>2]|0)|0}else{M=0;o=238;break a}break};case 2:{c[n>>2]=1;c[v>>2]=(c[v>>2]|0)+(c[L>>2]|0);c[x>>2]=c[K+(1-N<<2)>>2];c[u>>2]=0;G=(c[L>>2]|0)+(c[q>>2]|0)|0;if((a[w]|0)==0){C=G;K=L;H=G;G=c[r>>2]|0}else{M=0;o=238;break a}break};case 1:{o=119;break a};case 25:{H=c[L>>2]|0;G=c[K+(1-N<<2)>>2]|0;c[M+1400>>2]=0;K=L;break};case 26:case 15:{K=L;break};case 20:{K=K+(1-N<<2)|0;c[L>>2]=bJ(c[L>>2]|0,c[K>>2]|0)|0;F=0;break};case 22:{E=c[L>>2]>>16;if((E|0)<0){M=160;o=238;break a}if((E|0)>=(c[M+1364>>2]|0)){M=160;o=238;break a}if((D-(M+1140)|0)>180){M=160;o=238;break a}c[D>>2]=g;M=D+12|0;K=c[(c[(c[l>>2]|0)+1368>>2]|0)+(E<<2)>>2]|0;g=D+16|0;c[g>>2]=K;N=c[l>>2]|0;O=c[N+1372>>2]|0;if((O|0)==0){N=c[N+1360>>2]|0;K=K+((N|0)<0?0:N)|0;c[g>>2]=K;c[D+20>>2]=c[(c[(c[l>>2]|0)+1368>>2]|0)+(E+1<<2)>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>16;K=L;break};case 5:{if(((c[n>>2]|0)+ -2|0)>>>0<2){SM(f)}c[n>>2]=1;K=L;break};case 9:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}H=(c[L>>2]|0)+H|0;G=(c[K+(1-N<<2)>>2]|0)+G|0;o=173;break};default:{M=160;o=238;break a}}}while(0);if((o|0)==173){o=0;K=c[B>>2]|0;if(((b[K+22>>1]|0)+1+(b[K+58>>1]|0)|0)>>>0>(c[K+4>>2]|0)>>>0){M=pJ(K,1,0)|0;if((M|0)!=0){o=238;break}}K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L}c[(c[l>>2]|0)+1136>>2]=K;if(g>>>0>=E>>>0){M=0;o=238;break}}if((o|0)==119){SM(f);do{if(p){if((Bd[c[m+8>>2]&255](c[m>>2]|0,b[(c[y>>2]|0)+2>>1]|0)|0)==0){pd[c[m+24>>2]&63](c[m>>2]|0,c[y>>2]|0,c[f+76>>2]|0,c[(c[l>>2]|0)+1468>>2]|0)|0;break}else{R=160;i=j;return R|0}}}while(0);sJ(c[B>>2]|0);R=0;i=j;return R|0}else if((o|0)==124){k=c[L>>2]|0;f=c[K+(2-N<<2)>>2]|0;r=c[K+(3-N<<2)>>2]>>16;o=c[K+(4-N<<2)>>2]>>16;l=M+1496|0;if((a[l]|0)!=0){R=160;i=j;return R|0}m=M+32|0;n=(c[m>>2]|0)+(c[K+(1-N<<2)>>2]|0)|0;p=M+1356|0;q=(c[(c[(c[M+4>>2]|0)+128>>2]|0)+52>>2]|0)==0;f:do{if((c[p>>2]|0)==0){if(q){M=160}else{break}i=j;return M|0}else{if(!q){break}q=M+1348|0;h=c[q>>2]|0;g:do{if(r>>>0>255){r=-1}else{s=jd[c[h+20>>2]&511](e[(c[h+24>>2]|0)+(r<<1)>>1]|0)|0;h=c[M+1352>>2]|0;if((h|0)==0){r=-1;break}t=c[p>>2]|0;r=0;while(1){u=c[t+(r<<2)>>2]|0;do{if((u|0)!=0){if((a[u]|0)!=(a[s]|0)){break}if((Qc(u|0,s|0)|0)==0){break g}}}while(0);r=r+1|0;if(r>>>0>=h>>>0){r=-1;break}}}}while(0);q=c[q>>2]|0;if(o>>>0>255){R=160;i=j;return R|0}q=jd[c[q+20>>2]&511](e[(c[q+24>>2]|0)+(o<<1)>>1]|0)|0;h=c[M+1352>>2]|0;if((h|0)==0){R=160;i=j;return R|0}p=c[p>>2]|0;o=0;while(1){s=c[p+(o<<2)>>2]|0;do{if((s|0)!=0){if((a[s]|0)!=(a[q]|0)){break}if((Qc(s|0,q|0)|0)==0){break f}}}while(0);o=o+1|0;if(o>>>0>=h>>>0){M=160;break}}i=j;return M|0}}while(0);if((r|o|0)<0){R=160;i=j;return R|0}if((a[M+69|0]|0)!=0){l=c[M+8>>2]|0;m=c[c[l+156>>2]>>2]|0;p=qJ(m,2)|0;if((p|0)!=0){R=p;i=j;return R|0}R=c[m+88>>2]|0;c[R>>2]=r;b[R+4>>1]=514;c[R+8>>2]=0;c[R+12>>2]=0;c[R+32>>2]=o;b[R+36>>1]=2;c[R+40>>2]=(ZI(n-k|0)|0)>>16;c[R+44>>2]=(ZI(f)|0)>>16;c[l+128>>2]=2;c[l+132>>2]=c[m+52>>2];c[l+72>>2]=1668246896;c[m+84>>2]=2;R=0;i=j;return R|0}rJ(c[M+12>>2]|0);a[l]=1;p=M+1472|0;q=Bd[c[p>>2]&255](M,r)|0;a[l]=0;if((q|0)!=0){R=q;i=j;return R|0}h=m;t=c[h>>2]|0;h=c[h+4>>2]|0;q=M+40|0;r=q;s=c[r>>2]|0;r=c[r+4>>2]|0;c[m>>2]=0;c[M+36>>2]=0;u=M+24|0;c[u>>2]=n-k;k=M+28|0;c[k>>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=c[m>>2]|0;if((x|0)==0){Ha=6;i=J;return Ha|0}N=b+4|0;ma=c[N>>2]|0;la=ma+12|0;ta=c[la>>2]|0;a:do{if((ta|0)>1){ra=c[ma+8>>2]|0;sa=c[ma>>2]|0}else{ua=c[ma>>2]|0;ra=c[ma+8>>2]|0;b:do{if((ta|0)>0){sa=ua}else{c:do{if(ua>>>0<ra>>>0){d:while(1){ta=ua+1|0;c[ma>>2]=ta;switch(d[ua]|0){case 9:case 32:{break};case 59:{K=9;break d};case 10:case 13:{K=8;break d};case 26:{sa=ta;break c};default:{sa=ta;break b}}if(ta>>>0<ra>>>0){ua=ta}else{sa=ta;break c}}if((K|0)==8){c[la>>2]=2;sa=ta;break a}else if((K|0)==9){c[la>>2]=1;sa=ta;break b}}else{sa=ua}}while(0);c[la>>2]=3;break a}}while(0);while(1){if(sa>>>0>=ra>>>0){ta=3;break}ta=sa+1|0;c[ma>>2]=ta;sa=a[sa]|0;Ha=sa&255;if((Ha|0)==10|(Ha|0)==13){sa=ta;ta=2;break}if(sa<<24>>24==26){sa=ta;ta=3;break}else{sa=ta}}c[la>>2]=ta}}while(0);c[la>>2]=0;e:do{if(sa>>>0<ra>>>0){f:while(1){ta=sa+1|0;c[ma>>2]=ta;switch(d[sa]|0){case 59:{K=20;break f};case 26:{break e};case 10:case 13:{c[la>>2]=2;sa=ta;break};case 9:case 32:{if(ta>>>0<ra>>>0){sa=ta;continue f}else{break e}break};default:{g:while(1){if(ta>>>0>=ra>>>0){oa=ta;K=26;break}pa=ta+1|0;c[ma>>2]=pa;switch(d[ta]|0){case 9:case 32:{qa=pa;na=0;break g};case 10:case 13:{K=24;break g};case 59:{K=25;break g};case 26:{oa=pa;K=26;break g};default:{ta=pa}}}if((K|0)==24){K=0;c[la>>2]=2;qa=pa;na=2}else if((K|0)==25){K=0;c[la>>2]=1;qa=pa;na=1}else if((K|0)==26){K=0;c[la>>2]=3;qa=oa;na=3}if((sa|0)!=0){K=30;break f}if((na|0)==2){sa=qa}else{L=2;K=273;break f}}}c[la>>2]=0;if(sa>>>0>=ra>>>0){break e}}if((K|0)==20){c[la>>2]=1;Ha=2;i=J;return Ha|0}else if((K|0)==30){if((qa+~sa|0)!=16){Ha=2;i=J;return Ha|0}if((vc(sa|0,208152,16)|0)!=0){Ha=2;i=J;return Ha|0}qa=T+4|0;pa=R+4|0;la=R+8|0;ma=R+16|0;na=R+24|0;sa=x+4|0;ta=R+12|0;ua=x+8|0;va=R+20|0;wa=x+12|0;xa=R+28|0;ya=x+16|0;ra=x+20|0;za=x+24|0;oa=ca+4|0;Ba=160;h:while(1){Ca=c[N>>2]|0;Aa=Ca+12|0;Fa=c[Aa>>2]|0;i:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;j:do{if((Fa|0)<=0){k:do{if(Da>>>0<Ea>>>0){Fa=Da;l:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 26:{X=Da;break k};case 59:{K=40;break l};case 9:case 32:{break};case 10:case 13:{K=39;break l};default:{break j}}if(Da>>>0<Ea>>>0){Fa=Da}else{X=Da;break k}}if((K|0)==39){K=0;c[Aa>>2]=2;break i}else if((K|0)==40){K=0;c[Aa>>2]=1;break j}}else{X=Da}}while(0);c[Aa>>2]=3;Da=X;break i}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[Aa>>2]=Fa}}while(0);c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break}m:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue m}else{K=52;break h}break};case 26:{K=52;break h};case 59:{K=51;break h};case 10:case 13:{c[Aa>>2]=2;Da=Fa;break};default:{n:while(1){if(Fa>>>0>=Ea>>>0){U=Fa;K=57;break}Y=Fa+1|0;c[Ca>>2]=Y;switch(d[Fa]|0){case 9:case 32:{V=Y;W=0;break n};case 10:case 13:{K=55;break n};case 59:{K=56;break n};case 26:{U=Y;K=57;break n};default:{Fa=Y}}}if((K|0)==55){K=0;c[Aa>>2]=2;V=Y;W=2}else if((K|0)==56){K=0;c[Aa>>2]=1;V=Y;W=1}else if((K|0)==57){K=0;c[Aa>>2]=3;V=U;W=3}if((Da|0)!=0){break m}if((W|0)==2){Da=V}else{M=Ba;break h}}}c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break h}}Ea=V+~Da|0;Ca=a[Da]|0;Fa=0;o:while(1){Ga=c[208312+(Fa<<2)>>2]|0;p:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break o}if((Fa|0)>=74){break p}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{Ha=Ba;Ba=Ha;continue h}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){Ha=Ba;Ba=Ha;continue h}}switch(Ha|0){case 20:{L=0;K=273;break h};case 45:{c[ha>>2]=3;if((kN(b,ca,1)|0)!=1){M=Ba;break h}Ca=c[oa>>2]|0;if((Ca|0)!=0){while(1){Ca=Ca+ -1|0;Da=c[N>>2]|0;ja=Da+12|0;Ga=c[ja>>2]|0;q:do{if((Ga|0)>1){Ea=c[Da+8>>2]|0;Fa=c[Da>>2]|0}else{Fa=c[Da>>2]|0;Ea=c[Da+8>>2]|0;r:do{if((Ga|0)<=0){s:do{if(Fa>>>0<Ea>>>0){Ga=Fa;t:while(1){Fa=Ga+1|0;c[Da>>2]=Fa;switch(d[Ga]|0){case 59:{K=88;break t};case 10:case 13:{K=87;break t};case 26:{Z=Fa;break s};case 9:case 32:{break};default:{break r}}if(Fa>>>0<Ea>>>0){Ga=Fa}else{Z=Fa;break s}}if((K|0)==87){K=0;c[ja>>2]=2;break q}else if((K|0)==88){K=0;c[ja>>2]=1;break r}}else{Z=Fa}}while(0);c[ja>>2]=3;Fa=Z;break q}}while(0);while(1){if(Fa>>>0>=Ea>>>0){Ga=3;break}Ga=Fa+1|0;c[Da>>2]=Ga;Fa=a[Fa]|0;Ha=Fa&255;if((Ha|0)==10|(Ha|0)==13){Fa=Ga;Ga=2;break}if(Fa<<24>>24==26){Fa=Ga;Ga=3;break}else{Fa=Ga}}c[ja>>2]=Ga}}while(0);c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}u:while(1){Ga=Fa+1|0;c[Da>>2]=Ga;switch(d[Fa]|0){case 59:{K=98;break h};case 9:case 32:{if(Ga>>>0<Ea>>>0){Fa=Ga;continue u}else{K=99;break h}break};case 10:case 13:{c[ja>>2]=2;Fa=Ga;break};case 26:{K=99;break h};default:{v:while(1){if(Ga>>>0>=Ea>>>0){$=Ga;K=104;break}_=Ga+1|0;c[Da>>2]=_;switch(d[Ga]|0){case 10:case 13:{K=102;break v};case 26:{$=_;K=104;break v};case 9:case 32:{ba=_;aa=0;break v};case 59:{K=103;break v};default:{Ga=_}}}if((K|0)==102){K=0;c[ja>>2]=2;ba=_;aa=2}else if((K|0)==103){K=0;c[ja>>2]=1;ba=_;aa=1}else if((K|0)==104){K=0;c[ja>>2]=3;ba=$;aa=3}if((Fa|0)!=0){break u}if((aa|0)==2){Fa=ba}else{L=160;K=273;break h}}}c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}}if((Ca|0)==0){break}}}w:while(1){Ca=c[N>>2]|0;ka=Ca+12|0;Fa=c[ka>>2]|0;x:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;y:do{if((Fa|0)<=0){z:do{if(Da>>>0<Ea>>>0){Fa=Da;A:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 10:case 13:{K=114;break A};case 59:{K=115;break A};case 26:{da=Da;break z};case 9:case 32:{break};default:{break y}}if(Da>>>0<Ea>>>0){Fa=Da}else{da=Da;break z}}if((K|0)==114){K=0;c[ka>>2]=2;break x}else if((K|0)==115){K=0;c[ka>>2]=1;break y}}else{da=Da}}while(0);c[ka>>2]=3;Da=da;break x}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[ka>>2]=Fa}}while(0);c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}B:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue B}else{K=126;break h}break};case 26:{K=126;break h};case 59:{K=125;break h};case 10:case 13:{c[ka>>2]=2;Da=Fa;break};default:{C:while(1){if(Fa>>>0>=Ea>>>0){fa=Fa;K=131;break}ea=Fa+1|0;c[Ca>>2]=ea;switch(d[Fa]|0){case 10:case 13:{K=129;break C};case 26:{fa=ea;K=131;break C};case 59:{K=130;break C};case 9:case 32:{ga=ea;ia=0;break C};default:{Fa=ea}}}if((K|0)==129){K=0;c[ka>>2]=2;ga=ea;ia=2}else if((K|0)==130){K=0;c[ka>>2]=1;ga=ea;ia=1}else if((K|0)==131){K=0;c[ka>>2]=3;ga=fa;ia=3}if((Da|0)!=0){break B}if((ia|0)==2){Da=ga}else{L=160;K=273;break h}}}c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}}Ea=ga+~Da|0;Ca=a[Da]|0;Fa=0;D:while(1){Ga=c[208312+(Fa<<2)>>2]|0;E:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break D}if((Fa|0)>=74){break E}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{continue w}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){continue w}}if((Ha|0)==17|(Ha|0)==20){Ba=0;continue h}}break};case 30:{c[Q>>2]=4;if((kN(b,R,1)|0)!=1){M=Ba;break h}a[x]=a[pa]|0;Ha=Ba;Ba=Ha;continue h};case 40:{c[S>>2]=3;if((kN(b,T,1)|0)!=1){M=Ba;break h}Ha=c[qa>>2]|0;if((Ha|0)==0|(Ha|0)==2){Ha=Ba;Ba=Ha;continue h}else{M=7;break h}break};case 49:{K=142;break h};case 0:{c[Q>>2]=2;if((kN(b,R,1)|0)!=1){M=Ba;break h}c[ra>>2]=c[pa>>2];Ha=Ba;Ba=Ha;continue h};case 26:{c[Q>>2]=2;c[la>>2]=2;c[ma>>2]=2;c[na>>2]=2;if((kN(b,R,4)|0)!=4){M=Ba;break h}c[sa>>2]=c[pa>>2];c[ua>>2]=c[ta>>2];c[wa>>2]=c[va>>2];c[ya>>2]=c[xa>>2];Ha=Ba;Ba=Ha;continue h};case 14:{c[Q>>2]=2;if((kN(b,R,1)|0)!=1){M=Ba;break h}c[za>>2]=c[pa>>2];Ha=Ba;Ba=Ha;continue h};default:{Ha=Ba;Ba=Ha;continue h}}}F:do{if((K|0)==51){c[Aa>>2]=1;M=Ba}else if((K|0)==52){c[Aa>>2]=3;M=Ba}else if((K|0)==98){c[ja>>2]=1;Ha=160;i=J;return Ha|0}else if((K|0)==99){c[ja>>2]=3;Ha=160;i=J;return Ha|0}else if((K|0)==125){c[ka>>2]=1;Ha=160;i=J;return Ha|0}else if((K|0)==126){c[ka>>2]=3;Ha=160;i=J;return Ha|0}else if((K|0)==142){R=h+4|0;Z=j+8|0;S=j+16|0;T=j+24|0;U=j+32|0;fa=j+4|0;ga=j+12|0;ea=j+20|0;da=j+28|0;ca=j+36|0;ba=k+4|0;aa=l+8|0;$=l+16|0;_=l+24|0;Q=l+4|0;Y=l+12|0;X=l+20|0;W=l+28|0;G:while(1){ha=c[N>>2]|0;V=ha+12|0;ka=c[V>>2]|0;H:do{if((ka|0)>1){ja=c[ha+8>>2]|0;ia=c[ha>>2]|0}else{ia=c[ha>>2]|0;ja=c[ha+8>>2]|0;I:do{if((ka|0)<=0){J:do{if(ia>>>0<ja>>>0){ka=ia;K:while(1){ia=ka+1|0;c[ha>>2]=ia;switch(d[ka]|0){case 9:case 32:{break};case 59:{K=150;break K};case 26:{v=ia;break J};case 10:case 13:{K=149;break K};default:{break I}}if(ia>>>0<ja>>>0){ka=ia}else{v=ia;break J}}if((K|0)==149){K=0;c[V>>2]=2;break H}else if((K|0)==150){K=0;c[V>>2]=1;break I}}else{v=ia}}while(0);c[V>>2]=3;ia=v;break H}}while(0);while(1){if(ia>>>0>=ja>>>0){ka=3;break}ka=ia+1|0;c[ha>>2]=ka;ia=a[ia]|0;Ha=ia&255;if((Ha|0)==10|(Ha|0)==13){ia=ka;ka=2;break}if(ia<<24>>24==26){ia=ka;ka=3;break}else{ia=ka}}c[V>>2]=ka}}while(0);c[V>>2]=0;if(ia>>>0>=ja>>>0){K=161;break}L:while(1){ka=ia+1|0;c[ha>>2]=ka;switch(d[ia]|0){case 10:case 13:{c[V>>2]=2;ia=ka;break};case 59:{K=160;break G};case 26:{K=161;break G};case 9:case 32:{if(ka>>>0<ja>>>0){ia=ka;continue L}else{K=161;break G}break};default:{M:while(1){if(ka>>>0>=ja>>>0){e=ka;K=166;break}w=ka+1|0;c[ha>>2]=w;switch(d[ka]|0){case 10:case 13:{K=164;break M};case 59:{K=165;break M};case 26:{e=w;K=166;break M};case 9:case 32:{y=w;z=0;break M};default:{ka=w}}}if((K|0)==164){K=0;c[V>>2]=2;y=w;z=2}else if((K|0)==165){K=0;c[V>>2]=1;y=w;z=1}else if((K|0)==166){K=0;c[V>>2]=3;y=e;z=3}if((ia|0)!=0){break L}if((z|0)==2){ia=y}else{M=160;break F}}}c[V>>2]=0;if(ia>>>0>=ja>>>0){K=161;break G}}ha=y+~ia|0;ja=a[ia]|0;ka=0;N:while(1){la=c[208312+(ka<<2)>>2]|0;O:do{if((a[la]|0)==ja<<24>>24&(ka|0)<74){ma=ka;while(1){ka=ma+1|0;if((vc(la|0,ia|0,ha|0)|0)==0){break N}if((ka|0)>=74){break O}la=c[208312+(ka<<2)>>2]|0;if((a[la]|0)==ja<<24>>24){ma=ka}else{continue G}}}}while(0);ka=ka+1|0;if((ka|0)>=74){continue G}}switch(ma|0){case 20:case 21:{L=0;K=273;break G};case 75:{continue G};case 53:{ia=c[m>>2]|0;ha=ia+32|0;c[n>>2]=3;if((kN(b,h,1)|0)!=1){M=160;break F}P=c[R>>2]|0;c[ha>>2]=P;if((P|0)==0){ja=ia+28|0}else{ja=ia+28|0;c[ja>>2]=oJ(c[b>>2]|0,20,0,P,0,p)|0;P=c[q>>2]|0;if((P|0)!=0){M=P;break F}}ia=0;P:while(1){Q:while(1){ka=c[N>>2]|0;P=ka+12|0;na=c[P>>2]|0;R:do{if((na|0)>1){ma=c[ka+8>>2]|0;la=c[ka>>2]|0}else{la=c[ka>>2]|0;ma=c[ka+8>>2]|0;S:do{if((na|0)<=0){T:do{if(la>>>0<ma>>>0){na=la;U:while(1){la=na+1|0;c[ka>>2]=la;switch(d[na]|0){case 59:{K=189;break U};case 26:{A=la;break T};case 9:case 32:{break};case 10:case 13:{K=188;break U};default:{break S}}if(la>>>0<ma>>>0){na=la}else{A=la;break T}}if((K|0)==188){K=0;c[P>>2]=2;break R}else if((K|0)==189){K=0;c[P>>2]=1;break S}}else{A=la}}while(0);c[P>>2]=3;la=A;break R}}while(0);while(1){if(la>>>0>=ma>>>0){na=3;break}na=la+1|0;c[ka>>2]=na;la=a[la]|0;Ha=la&255;if((Ha|0)==10|(Ha|0)==13){la=na;na=2;break}if(la<<24>>24==26){la=na;na=3;break}else{la=na}}c[P>>2]=na}}while(0);c[P>>2]=0;if(la>>>0>=ma>>>0){K=200;break G}V:while(1){na=la+1|0;c[ka>>2]=na;switch(d[la]|0){case 10:case 13:{c[P>>2]=2;la=na;break};case 59:{K=199;break G};case 9:case 32:{if(na>>>0<ma>>>0){la=na;continue V}else{K=200;break G}break};case 26:{K=200;break G};default:{W:while(1){if(na>>>0>=ma>>>0){C=na;K=205;break}B=na+1|0;c[ka>>2]=B;switch(d[na]|0){case 59:{K=204;break W};case 26:{C=B;K=205;break W};case 9:case 32:{D=B;E=0;break W};case 10:case 13:{K=203;break W};default:{na=B}}}if((K|0)==203){K=0;c[P>>2]=2;D=B;E=2}else if((K|0)==204){K=0;c[P>>2]=1;D=B;E=1}else if((K|0)==205){K=0;c[P>>2]=3;D=C;E=3}if((la|0)!=0){break V}if((E|0)==2){la=D}else{M=160;break F}}}c[P>>2]=0;if(la>>>0>=ma>>>0){K=200;break G}}ma=D+~la|0;ka=a[la]|0;oa=0;X:while(1){na=c[208312+(oa<<2)>>2]|0;Y:do{if((a[na]|0)==ka<<24>>24&(oa|0)<74){pa=oa;while(1){oa=pa+1|0;if((vc(na|0,la|0,ma|0)|0)==0){break X}if((oa|0)>=74){break Y}na=c[208312+(oa<<2)>>2]|0;if((a[na]|0)==ka<<24>>24){pa=oa}else{continue Q}}}}while(0);oa=oa+1|0;if((oa|0)>=74){continue Q}}switch(pa|0){case 56:{break Q};case 75:{break};case 20:case 21:case 23:{break P};default:{M=160;break F}}}if((ia|0)>=(c[ha>>2]|0)){M=160;break F}ka=c[ja>>2]|0;c[r>>2]=3;c[Z>>2]=2;c[S>>2]=2;c[T>>2]=2;c[U>>2]=2;if((kN(b,j,5)|0)!=5){M=160;break F}Ha=c[fa>>2]|0;c[ka+(ia*20|0)>>2]=Ha;c[ka+(ia*20|0)+4>>2]=c[ga>>2];la=c[ea>>2]|0;P=ka+(ia*20|0)+8|0;c[P>>2]=la;c[ka+(ia*20|0)+12>>2]=c[da>>2];c[ka+(ia*20|0)+16>>2]=c[ca>>2];if((Ha|0)<0&(la|0)>0){c[P>>2]=0-la}ia=ia+1|0}c[ha>>2]=ia;continue G};case 51:case 50:{break};default:{M=160;break F}}ia=c[m>>2]|0;ha=ia+40|0;c[o>>2]=3;if((kN(b,k,1)|0)!=1){M=160;break F}O=c[ba>>2]|0;c[ha>>2]=O;if((O|0)==0){ja=ia+36|0}else{ja=ia+36|0;c[ja>>2]=oJ(c[b>>2]|0,16,0,O,0,s)|0;O=c[t>>2]|0;if((O|0)!=0){M=O;break F}}ia=0;Z:while(1){_:while(1){ka=c[N>>2]|0;O=ka+12|0;na=c[O>>2]|0;$:do{if((na|0)>1){ma=c[ka+8>>2]|0;la=c[ka>>2]|0}else{la=c[ka>>2]|0;ma=c[ka+8>>2]|0;aa:do{if((na|0)<=0){ba:do{if(la>>>0<ma>>>0){na=la;ca:while(1){la=na+1|0;c[ka>>2]=la;switch(d[na]|0){case 26:{F=la;break ba};case 9:case 32:{break};case 10:case 13:{K=234;break ca};case 59:{K=235;break ca};default:{break aa}}if(la>>>0<ma>>>0){na=la}else{F=la;break ba}}if((K|0)==234){K=0;c[O>>2]=2;break $}else if((K|0)==235){K=0;c[O>>2]=1;break aa}}else{F=la}}while(0);c[O>>2]=3;la=F;break $}}while(0);while(1){if(la>>>0>=ma>>>0){na=3;break}na=la+1|0;c[ka>>2]=na;la=a[la]|0;Ha=la&255;if((Ha|0)==10|(Ha|0)==13){la=na;na=2;break}if(la<<24>>24==26){la=na;na=3;break}else{la=na}}c[O>>2]=na}}while(0);c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}da:while(1){na=la+1|0;c[ka>>2]=na;switch(d[la]|0){case 26:{K=246;break G};case 9:case 32:{if(na>>>0<ma>>>0){la=na;continue da}else{K=246;break G}break};case 10:case 13:{c[O>>2]=2;la=na;break};case 59:{K=245;break G};default:{ea:while(1){if(na>>>0>=ma>>>0){H=na;K=251;break}G=na+1|0;c[ka>>2]=G;switch(d[na]|0){case 10:case 13:{K=249;break ea};case 59:{K=250;break ea};case 26:{H=G;K=251;break ea};case 9:case 32:{I=G;f=0;break ea};default:{na=G}}}if((K|0)==249){K=0;c[O>>2]=2;I=G;f=2}else if((K|0)==250){K=0;c[O>>2]=1;I=G;f=1}else if((K|0)==251){K=0;c[O>>2]=3;I=H;f=3}if((la|0)!=0){break da}if((f|0)==2){la=I}else{M=160;break F}}}c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}}ka=I+~la|0;ma=a[la]|0;na=0;fa:while(1){pa=c[208312+(na<<2)>>2]|0;ga:do{if((a[pa]|0)==ma<<24>>24&(na|0)<74){while(1){oa=na+1|0;if((vc(pa|0,la|0,ka|0)|0)==0){break fa}if((oa|0)>=74){na=oa;break ga}pa=c[208312+(oa<<2)>>2]|0;if((a[pa]|0)==ma<<24>>24){na=oa}else{continue _}}}}while(0);na=na+1|0;if((na|0)>=74){continue _}}switch(na|0){case 20:case 21:case 22:{break Z};case 37:case 36:case 34:{break _};case 75:{break};default:{M=160;break F}}}if((ia|0)>=(c[ha>>2]|0)){M=160;break F}O=c[ja>>2]|0;c[u>>2]=5;c[aa>>2]=5;c[$>>2]=3;c[_>>2]=3;ka=kN(b,l,4)|0;if((ka|0)<3){M=160;break F}c[O+(ia<<4)>>2]=c[Q>>2];c[O+(ia<<4)+4>>2]=c[Y>>2];if((na|0)==37){c[O+(ia<<4)+8>>2]=0;c[O+(ia<<4)+12>>2]=c[X>>2]}else{c[O+(ia<<4)+8>>2]=c[X>>2];if((na|0)==34&(ka|0)==4){ka=c[W>>2]|0}else{ka=0}c[O+(ia<<4)+12>>2]=ka}ia=ia+1|0}c[ha>>2]=ia;pb(c[ja>>2]|0,ia|0,16,191)}if((K|0)==160){c[V>>2]=1;M=160;break}else if((K|0)==161){c[V>>2]=3;M=160;break}else if((K|0)==199){c[P>>2]=1;M=160;break}else if((K|0)==200){c[P>>2]=3;M=160;break}else if((K|0)==245){c[O>>2]=1;M=160;break}else if((K|0)==246){c[O>>2]=3;M=160;break}else if((K|0)==273){i=J;return L|0}}else if((K|0)==273){i=J;return L|0}}while(0);Ha=x+28|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+32>>2]=0;Ha=x+36|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+40>>2]=0;a[x]=0;Ha=M;i=J;return Ha|0}else if((K|0)==273){i=J;return L|0}}}while(0);c[la>>2]=3;Ha=2;i=J;return Ha|0}function ZM(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+24>>2];i=i;return 0}function _M(a){a=a|0;var b=0;b=i;bX(a+16|0,0,16)|0;i=b;return}function $M(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0;f=i;if(d>>>0>=256){j=0;i=f;return j|0}g=jd[c[b+20>>2]&511](e[(c[b+16>>2]|0)+(d<<1)>>1]|0)|0;d=c[b+24>>2]|0;if((d|0)==0){j=0;i=f;return j|0}b=c[b+28>>2]|0;h=0;a:while(1){j=c[b+(h<<2)>>2]|0;do{if((j|0)!=0){if((a[j]|0)!=(a[g]|0)){break}if((Qc(j|0,g|0)|0)==0){d=8;break a}}}while(0);h=h+1|0;if(h>>>0>=d>>>0){h=0;d=8;break}}if((d|0)==8){i=f;return h|0}return 0}function aN(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;m=(c[d>>2]|0)+1|0;if(m>>>0>=256){n=0;p=0;o=d;c[o>>2]=n;i=f;return p|0}h=b+16|0;g=b+20|0;j=b+24|0;b=b+28|0;a:while(1){o=jd[c[g>>2]&511](e[(c[h>>2]|0)+(m<<1)>>1]|0)|0;n=c[j>>2]|0;b:do{if((n|0)!=0){l=c[b>>2]|0;k=0;c:while(1){p=c[l+(k<<2)>>2]|0;do{if((p|0)!=0){if((a[p]|0)!=(a[o]|0)){break}if((Qc(p|0,o|0)|0)==0){break c}}}while(0);k=k+1|0;if(k>>>0>=n>>>0){break b}}if((k|0)!=0){g=11;break a}}}while(0);m=m+1|0;if(m>>>0>=256){m=0;k=0;g=11;break}}if((g|0)==11){p=d;c[p>>2]=m;i=f;return k|0}return 0}function bN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+28>>2];i=i;return 0}function cN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=d+372|0;d=c[d+376>>2]|0;c[a+16>>2]=d;c[a+20>>2]=(c[b+8>>2]|0)-d;c[a+24>>2]=c[b+12>>2];i=i;return 0}function dN(a){a=a|0;c[a+24>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;i=i;return}function eN(a,b){a=a|0;b=b|0;var d=0,f=0;d=i;f=c[a+16>>2]|0;if(f>>>0>b>>>0){b=0;i=d;return b|0}if(((c[a+20>>2]|0)+f|0)>>>0<=b>>>0){b=0;i=d;return b|0}b=e[(c[a+24>>2]|0)+(b<<1)>>1]|0;i=d;return b|0}function fN(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=(c[d>>2]|0)+1|0;f=c[a+16>>2]|0;j=g>>>0<f>>>0?f:g;f=(c[a+20>>2]|0)+f|0;a:do{if(j>>>0<f>>>0){g=c[a+24>>2]|0;while(1){k=b[g+(j<<1)>>1]|0;a=k&65535;h=j+1|0;if(k<<16>>16!=0){break a}if(h>>>0<f>>>0){j=h}else{j=0;break}}}else{j=0;a=0}}while(0);c[d>>2]=j;i=e;return a|0}function gN(a,b){a=a|0;b=b|0;var d=0;d=i;b=c[a>>2]|0;b=id[c[(c[b+484>>2]|0)+4>>2]&3](c[b+100>>2]|0,a,c[b+416>>2]|0,192,0,b)|0;i=d;return b|0}function hN(a){a=a|0;var b=0,d=0;b=i;d=a+20|0;lJ(c[(c[a>>2]|0)+100>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+16>>2]=0;i=b;return}function iN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+8>>2]&255](a,b)|0;i=d;return a|0}function jN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+12>>2]&255](a,b)|0;i=d;return a|0}function kN(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;k=i;i=i+8|0;m=k;n=i;i=i+8|0;j=n;l=c[b+4>>2]|0;if(f>>>0>5|(f|0)==0){x=0;i=h;return x|0}p=l+12|0;q=l+8|0;o=b+12|0;r=b+16|0;s=0;a:while(1){t=e+(s<<3)|0;u=c[p>>2]|0;v=(u|0)>0;if((c[t>>2]|0)==0){b:do{if(v){g=11}else{x=c[l>>2]|0;v=c[q>>2]|0;if(x>>>0>=v>>>0){g=10;break a}c:while(1){w=x+1|0;c[l>>2]=w;switch(d[x]|0|0){case 26:{g=10;break a};case 10:case 13:{g=8;break a};case 59:{break c};case 9:case 32:{break};default:{g=11;break b}}if(w>>>0<v>>>0){x=w}else{g=10;break a}}c[p>>2]=1}}while(0);if((g|0)==11){g=0;if((u|0)>1){break}w=c[l>>2]|0;v=c[q>>2]|0}u=w+ -1|0;x=w;while(1){if(x>>>0>=v>>>0){w=x;v=3;break}w=x+1|0;c[l>>2]=w;x=a[x]|0;y=x&255;if((y|0)==10|(y|0)==13){v=2;break}if(x<<24>>24==26){v=3;break}else{x=w}}c[p>>2]=v;c[k>>2]=u}else{if(v){break}u=c[l>>2]|0;v=c[q>>2]|0;if(u>>>0>=v>>>0){g=24;break}d:while(1){x=u+1|0;c[l>>2]=x;switch(d[u]|0|0){case 26:{g=24;break a};case 9:case 32:{break};case 59:{g=23;break a};case 10:case 13:{g=22;break a};default:{break d}}if(x>>>0<v>>>0){u=x}else{g=24;break a}}e:while(1){if(x>>>0>=v>>>0){w=x;g=29;break}w=x+1|0;c[l>>2]=w;switch(d[x]|0|0){case 59:{g=28;break e};case 10:case 13:{g=27;break e};case 9:case 32:{break e};case 26:{g=29;break e};default:{x=w}}}if((g|0)==27){g=0;c[p>>2]=2}else if((g|0)==28){g=0;c[p>>2]=1}else if((g|0)==29){g=0;c[p>>2]=3}c[k>>2]=u;if((u|0)==0){g=44;break}}w=w-u|0;v=w+ -1|0;f:do{switch(c[t>>2]|0){case 4:{if((v|0)==4){t=(vc(u|0,208176,4)|0)==0|0}else{t=0}a[e+(s<<3)+4|0]=t;break};case 3:{c[e+(s<<3)+4>>2]=nN(m,u+v|0)|0;break};case 5:{t=c[o>>2]|0;if((t|0)==0){c[e+(s<<3)+4>>2]=0;break f}else{c[e+(s<<3)+4>>2]=sd[t&127](u,v,c[r>>2]|0)|0;break f}break};case 1:case 0:{t=OK(c[b>>2]|0,w,j)|0;w=e+(s<<3)+4|0;c[w>>2]=t;if((c[n>>2]|0)!=0){break f}$W(t|0,u|0,v|0)|0;a[(c[w>>2]|0)+v|0]=0;break};case 2:{c[e+(s<<3)+4>>2]=mN(m,u+v|0,0)|0;break};default:{}}}while(0);s=s+1|0;if(s>>>0>=f>>>0){g=44;break}}if((g|0)==8){c[p>>2]=2}else if((g|0)==10){c[p>>2]=3}else if((g|0)==22){c[p>>2]=2}else if((g|0)==23){c[p>>2]=1}else if((g|0)==24){c[p>>2]=3}else if((g|0)==44){i=h;return s|0}c[k>>2]=0;y=s;i=h;return y|0}function lN(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a>>2]<<16|c[a+4>>2];b=c[b>>2]<<16|c[b+4>>2];if(a>>>0>b>>>0){a=1;i=d;return a|0}a=(a>>>0<b>>>0)<<31>>31;i=d;return a|0}function mN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=i;f=i;i=i+8|0;k=f;m=c[b>>2]|0;c[f>>2]=m;if((m|0)==(d|0)){o=0;i=g;return o|0}h=a[m]|0;do{if(h<<24>>24==43|h<<24>>24==45){m=m+1|0;c[f>>2]=m;if((m|0)==(d|0)){o=0;i=g;return o|0}else{j=a[m]|0;h=h<<24>>24==45|0;break}}else{j=h;h=0}}while(0);if(j<<24>>24==46){j=0}else{j=(nN(k,d)|0)<<16;m=c[f>>2]|0}a:do{if(m>>>0<d>>>0){if((a[m]|0)!=46){l=0;n=1;break}m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){l=0;n=1;break}if((j|0)==0){l=0;n=1}else{l=0;n=1;while(1){o=a[m]|0;switch(o<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(o<<24>>24<0){break a}o=o&127;if((o+ -48|0)>>>0>9){break a}if((n|0)<1e7){l=(l*10|0)+(a[208184+o|0]|0)|0;n=n*10|0}m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){break a}}}while(1){o=a[m]|0;switch(o<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(o<<24>>24<0){break a}p=o&127;o=a[208184+p|0]|0;if((p+ -48|0)>>>0>9){break a}do{if((e|0)>0){e=e+ -1|0;l=o+(l*10|0)|0}else{if((n|0)>=1e7){break}l=o+(l*10|0)|0;n=n*10|0}}while(0);m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){break a}}}else{l=0;n=1}}while(0);o=m+1|0;do{if(o>>>0<d>>>0){p=a[m]|0;if(!(p<<24>>24==69|p<<24>>24==101)){break}c[f>>2]=o;e=(nN(k,d)|0)+e|0}}while(0);do{if((e|0)>0){while(1){j=j*10|0;l=l*10|0;e=e+ -1|0;if((e|0)>0){}else{break}}}else{if((e|0)>=0){break}while(1){j=(j|0)/10|0;n=n*10|0;e=e+1|0;if((e|0)<0){}else{break}}}}while(0);if((l|0)!=0){j=(bJ(l,n)|0)+j|0}c[b>>2]=c[f>>2];p=h<<24>>24==0?j:0-j|0;i=g;return p|0}function nN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;j=c[b>>2]|0;if((j|0)==(d|0)){k=0;i=e;return k|0}f=a[j]|0;if(f<<24>>24==43|f<<24>>24==45){h=j+1|0;if((h|0)==(d|0)){f=0}else{j=h;f=f<<24>>24==45|0;g=4}}else{f=0;g=4}if((g|0)==4){a:do{if(j>>>0<d>>>0){h=0;g=j;while(1){j=a[g]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(j<<24>>24<0){break a}j=j&127;if((j+ -48|0)>>>0>=10){break a}h=(a[208184+j|0]|0)+(h*10|0)|0;g=g+1|0;if(g>>>0>=d>>>0){break a}}}else{h=0;g=j}}while(0);c[b>>2]=g;j=g;f=f<<24>>24==0?h:0-h|0}if(j>>>0>=d>>>0){k=f;i=e;return k|0}if((a[j]|0)!=35){k=f;i=e;return k|0}h=j+1|0;c[b>>2]=h;if((h|0)==(d|0)){k=0;i=e;return k|0}if((f+ -2|0)>>>0>34){k=0;i=e;return k|0}g=a[h]|0;do{if(g<<24>>24==43|g<<24>>24==45){h=j+2|0;if((h|0)==(d|0)){b=0}else{g=g<<24>>24==45|0;break}i=e;return b|0}else{g=0}}while(0);b:do{if(h>>>0<d>>>0){j=0;while(1){k=a[h]|0;switch(k<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break b};default:{}}if(k<<24>>24<0){break b}l=a[208184+(k&127)|0]|0;k=l<<24>>24;if(!(l<<24>>24>-1&(k|0)<(f|0))){break b}j=k+(da(j,f)|0)|0;h=h+1|0;if(h>>>0>=d>>>0){break b}}}else{j=0}}while(0);c[b>>2]=h;l=g<<24>>24==0?j:0-j|0;i=e;return l|0}function oN(a,b){a=a|0;b=b|0;i=i;return c[(c[a+420>>2]|0)+(b<<2)>>2]|0}function pN(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;if((c|0)==0){i=f;return}g=0;e=e&65535;while(1){j=b+g|0;h=d[j]|0;a[j]=h^e>>>8;g=g+1|0;if(g>>>0<c>>>0){e=((h+e|0)*52845|0)+22719&65535}else{break}}i=f;return}function qN(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;j=i;o=i;i=i+64|0;p=i;i=i+8|0;n=p;t=i;i=i+8|0;q=t;h=i;i=i+128|0;k=h;r=e+2|0;v=b[r>>1]|0;if(v<<16>>16==0){R=0;i=j;return R|0}if((b[e>>1]|0)==0){R=0;i=j;return R|0}bX(h|0,0,128)|0;u=c[f>>2]|0;m=k+16|0;c[m>>2]=u;l=k+8|0;c[l>>2]=oJ(u,48,0,v<<16>>16,0,q)|0;v=c[t>>2]|0;do{if((v|0)==0){x=oJ(u,8,0,b[e>>1]|0,0,q)|0;q=k+12|0;c[q>>2]=x;v=c[t>>2]|0;if((v|0)!=0){break}y=b[r>>1]|0;c[h>>2]=y;R=b[e>>1]|0;r=k+4|0;c[r>>2]=R<<16>>16;w=c[l>>2]|0;if(R<<16>>16!=0){v=e+12|0;D=0;A=0;while(1){B=b[(c[v>>2]|0)+(A<<1)>>1]|0;y=B+1|0;C=y-D|0;z=w+(D*48|0)|0;c[x>>2]=z;c[x+4>>2]=C;if((C|0)>0){B=w+(B*48|0)|0;c[z>>2]=B;c[w+(D*48|0)+8>>2]=x;if((C|0)>1){E=C;C=z;while(1){D=C+48|0;c[C+4>>2]=D;c[D>>2]=C;c[C+56>>2]=x;E=E+ -1|0;if((E|0)>1){C=D}else{break}}}else{B=z}c[B+4>>2]=z}A=A+1|0;if(A>>>0<(c[r>>2]|0)>>>0){x=x+8|0;D=y}else{break}}y=c[h>>2]|0;w=c[l>>2]|0}v=e+4|0;x=c[v>>2]|0;do{if((y|0)==0){c[k+20>>2]=e;c[k+24>>2]=f}else{y=e+8|0;A=0;z=w;while(1){C=((c[z>>2]|0)-w|0)/48|0;F=((c[z+4>>2]|0)-w|0)/48|0;if((a[(c[y>>2]|0)+A|0]&1)==0){c[z+12>>2]=1}E=x+(A<<3)|0;B=(c[E>>2]|0)-(c[x+(C<<3)>>2]|0)|0;G=x+(A<<3)+4|0;C=(c[G>>2]|0)-(c[x+(C<<3)+4>>2]|0)|0;D=(B|0)>-1?B:0-B|0;H=(C|0)>-1?C:0-C|0;do{if((H*12|0)<(D|0)){D=(B>>31&252|2)&255}else{if((D*12|0)>=(H|0)){D=4;break}D=(C>>31&2)+255&255}}while(0);a[z+20|0]=D;E=(c[x+(F<<3)>>2]|0)-(c[E>>2]|0)|0;F=(c[x+(F<<3)+4>>2]|0)-(c[G>>2]|0)|0;G=(E|0)>-1?E:0-E|0;H=(F|0)>-1?F:0-F|0;do{if((H*12|0)<(G|0)){H=(E>>31&252|2)&255}else{if((G*12|0)>=(H|0)){H=4;break}H=(F>>31&2)+255&255}}while(0);a[z+21|0]=H;G=z+12|0;I=c[G>>2]|0;do{if((I&1|0)==0){if(D<<24>>24!=H<<24>>24){break}if(D<<24>>24==4){if((hJ(B,C,E,F)|0)==0){break}I=c[G>>2]|0}c[G>>2]=I|2}else{c[G>>2]=I|2}}while(0);A=A+1|0;B=c[h>>2]|0;if(A>>>0<B>>>0){z=z+48|0}else{break}}c[k+20>>2]=e;c[k+24>>2]=f;if((B|0)==0){break}e=c[l>>2]|0;v=c[v>>2]|0;while(1){c[e+16>>2]=0;c[e+32>>2]=0;c[e+36>>2]=c[v>>2];c[e+40>>2]=c[v+4>>2];B=B+ -1|0;if((B|0)==0){break}else{v=v+8|0;e=e+48|0}}}}while(0);if((c[r>>2]|0)!=0){e=0;do{v=c[q>>2]|0;a:do{if((c[v+(e<<3)+4>>2]|0)>>>0>=4){y=c[v+(e<<3)>>2]|0;B=y+36|0;v=y+40|0;z=y;do{z=c[z+4>>2]|0;if((z|0)==(y|0)){break a}Q=c[z+36>>2]|0;D=c[B>>2]|0;w=Q-D|0;R=c[z+40>>2]|0;A=c[v>>2]|0;x=R-A|0;}while((Q|0)==(D|0)&(R|0)==(A|0));C=c[y>>2]|0;if((C|0)==(y|0)){break}else{v=y}while(1){G=C+36|0;Q=c[G>>2]|0;E=D-Q|0;F=C+40|0;R=c[F>>2]|0;B=A-R|0;if(!((D|0)==(Q|0)&(A|0)==(R|0))){A=gJ(w,x,E,B)|0;if((A|0)!=0){w=E;E=v;break}}v=c[C>>2]|0;if((v|0)==(y|0)){break a}R=C;A=c[F>>2]|0;D=c[G>>2]|0;C=v;v=R}while(1){x=z;F=0;while(1){z=c[x+4>>2]|0;F=(z|0)==(v|0)?1:F;O=c[z+36>>2]|0;P=c[x+36>>2]|0;D=O-P|0;Q=c[z+40>>2]|0;R=c[x+40>>2]|0;y=Q-R|0;if((O|0)==(P|0)&(Q|0)==(R|0)){x=z;continue}C=gJ(w,B,D,y)|0;if((C|0)==0){x=z}else{break}}if((C^A|0)<0){do{R=E+12|0;c[R>>2]=c[R>>2]|4;E=c[E+4>>2]|0;}while((E|0)!=(x|0));R=x+12|0;c[R>>2]=c[R>>2]|4}if((F|0)==0){w=D;B=y;A=C;E=x}else{break}}}}while(0);e=e+1|0;}while(e>>>0<(c[r>>2]|0)>>>0)}v=RN(k+28|0,d+16|0,d+28|0,u)|0;c[t>>2]=v;if((v|0)!=0){break}v=RN(k+68|0,d+52|0,d+64|0,u)|0;if((v|0)!=0){break}d=k+24|0;u=c[d>>2]|0;t=c[u+200>>2]|0;u=c[u+404>>2]|0;v=aJ(c[f+416>>2]|0,u)|0;w=v+32&-64;if((w|0)==0|(v|0)==(w|0)){B=0}else{e=_I(u,w,v)|0;if((w|0)<(v|0)){v=t-((t|0)/50|0)|0}else{v=t}rN(c[d>>2]|0,v,e,0,0)|0;B=1}a[k+120|0]=1;a[k+121|0]=1;if((g|0)==2){a[k+122|0]=1;e=1}else{a[k+122|0]=(g|0)==3|0;e=(g|0)==4|0}a[k+123|0]=e;a[k+124|0]=(g|0)!=1|0;x=k+20|0;z=f+412|0;y=f+416|0;e=f+928|0;v=f+2488|0;A=f+2492|0;g=f+2484|0;w=f+428|0;B=B<<24>>24==0;C=0;while(1){E=c[h>>2]|0;F=c[l>>2]|0;D=c[(c[x>>2]|0)+4>>2]|0;if((E|0)!=0){if((C|0)==0){while(1){c[F+16>>2]=0;c[F+32>>2]=0;c[F+36>>2]=c[D>>2];c[F+40>>2]=c[D+4>>2];E=E+ -1|0;if((E|0)==0){break}else{D=D+8|0;F=F+48|0}}}else{while(1){c[F+16>>2]=0;c[F+32>>2]=0;c[F+36>>2]=c[D+4>>2];c[F+40>>2]=c[D>>2];E=E+ -1|0;if((E|0)==0){break}else{D=D+8|0;F=F+48|0}}}}F=c[r>>2]|0;b:do{if((F|0)==0){D=0}else{D=0;while(1){R=c[q>>2]|0;E=c[R+(D<<3)>>2]|0;if((c[R+(D<<3)+4>>2]|0)!=0){F=E+36|0;G=E;do{G=c[G>>2]|0;if((G|0)==(E|0)){s=97;break b}}while((c[G+36>>2]|0)==(c[F>>2]|0));E=c[G+4>>2]|0;I=E;c:while(1){H=I+36|0;F=I;do{F=c[F+4>>2]|0;if((F|0)==(E|0)){break c}J=c[F+36>>2]|0;K=c[H>>2]|0;}while((J|0)==(K|0));if((c[G+36>>2]|0)<(K|0)){if((J|0)<(K|0)){s=82}}else{if((J|0)>(K|0)){s=82}}if((s|0)==82){while(1){s=0;R=I+16|0;c[R>>2]=c[R>>2]|64;I=c[I+4>>2]|0;if((I|0)==(F|0)){break}else{s=82}}}G=c[F>>2]|0;I=F}F=c[r>>2]|0}D=D+1|0;if(D>>>0>=F>>>0){D=0;break}}}}while(0);d:while(1){if((s|0)==97){s=0;D=D+1|0}if(D>>>0>=(c[h>>2]|0)>>>0){break}G=c[l>>2]|0;s=G+(D*48|0)|0;F=G+(D*48|0)+16|0;E=c[F>>2]|0;if((E&64|0)==0){s=97;continue}I=G+(D*48|0)+40|0;J=s;while(1){J=c[J>>2]|0;if((J|0)==(s|0)){s=97;continue d}H=c[J+40>>2]|0;G=c[I>>2]|0;if((H|0)==(G|0)){}else{J=s;break}}while(1){J=c[J+4>>2]|0;if((J|0)==(s|0)){s=97;continue d}I=c[J+40>>2]|0;if((I|0)!=(G|0)){break}}if((H|0)<(G|0)&(I|0)>(G|0)){c[F>>2]=E|128;s=97;continue}if(!((H|0)>(G|0)&(I|0)<(G|0))){s=97;continue}c[F>>2]=E|256;s=97}E=k+28+(C*40|0)|0;H=c[d>>2]|0;F=c[E>>2]|0;if((F|0)!=0){D=c[k+28+(C*40|0)+8>>2]|0;while(1){QN(D,H,C,k);F=F+ -1|0;if((F|0)==0){break}else{D=D+28|0}}H=c[d>>2]|0}F=k+28+(C*40|0)+32|0;L=c[F>>2]|0;K=c[L+8>>2]|0;L=c[L>>2]|0;D=(C|0)==0;G=D?1:2;H=bJ(32,c[H+4+(C*204|0)+196>>2]|0)|0;H=(H|0)>30?30:H;e:do{if(L>>>0>1){M=c[h>>2]|0;if((M|0)==0){break}N=c[K+12>>2]|0;I=k+28+(C*40|0)+4|0;s=k+28+(C*40|0)+12|0;J=M;M=N>>>0>M>>>0?M:N;while(1){N=K+16|0;O=c[K+28>>2]|0;O=O>>>0>J>>>0?J:O;J=O-M|0;if((J|0)>0){R=(c[l>>2]|0)+(M*48|0)|0;ON(E,c[N>>2]|0,c[K+24>>2]|0);PN(c[I>>2]|0,c[s>>2]|0,R,J,H,G)}L=L+ -1|0;if(L>>>0<=1){J=s;s=111;break e}J=c[h>>2]|0;M=O;K=N}}else{if((L|0)!=1){s=112;break}I=k+28+(C*40|0)+4|0;J=k+28+(C*40|0)+12|0;s=111}}while(0);if((s|0)==111){R=c[h>>2]|0;Q=c[l>>2]|0;P=c[(c[F>>2]|0)+8>>2]|0;ON(E,c[P>>2]|0,c[P+8>>2]|0);PN(c[I>>2]|0,c[J>>2]|0,Q,R,H,G);s=112}do{if((s|0)==112){s=0;H=c[h>>2]|0;if((H|0)==0){break}E=c[l>>2]|0;while(1){do{if((c[E+32>>2]|0)!=0){F=E+16|0;G=c[F>>2]|0;if((G&16|0)!=0){break}c[F>>2]=G|16}}while(0);H=H+ -1|0;if((H|0)==0){break}else{E=E+48|0}}}}while(0);do{if((C|0)==1){H=c[h>>2]|0;if((H|0)==0){H=0;break}E=c[l>>2]|0;while(1){R=a[E+20|0]|0;if(R<<24>>24==-2|R<<24>>24==2){s=123}else{R=a[E+21|0]|0;if(R<<24>>24==-2|R<<24>>24==2){s=123}}f:do{if((s|0)==123){s=0;F=E+16|0;M=c[F>>2]|0;if((M&16|0)!=0){break}G=c[E+36>>2]|0;N=c[z>>2]|0;g:do{if((N|0)!=0){I=E+44|0;L=G-(c[w>>2]|0)|0;J=c[v>>2]|0;if((L|0)<(0-J|0)){break}else{K=y}while(1){do{if((G|0)<=((c[K+8>>2]|0)+J|0)){if((a[A]|0)==0){if((L|0)>(c[g>>2]|0)){break}}c[I>>2]=c[K+24>>2];M=M|48;c[F>>2]=M}}while(0);N=N+ -1|0;if((N|0)==0){break g}L=G-(c[K+44>>2]|0)|0;J=c[v>>2]|0;if((L|0)<(0-J|0)){break}else{K=K+32|0}}}}while(0);N=c[e>>2]|0;if((N|0)==0){break}L=N+ -1|0;I=E+44|0;K=(c[f+932+(L<<5)+8>>2]|0)-G|0;J=c[v>>2]|0;if((K|0)<(0-J|0)){break}L=f+932+(L<<5)|0;while(1){do{if((G|0)>=((c[L+12>>2]|0)-J|0)){if((a[A]|0)==0){if((K|0)>=(c[g>>2]|0)){break}}c[I>>2]=c[L+28>>2];M=M|48;c[F>>2]=M}}while(0);N=N+ -1|0;if((N|0)==0){break f}K=(c[L+ -24>>2]|0)-G|0;J=c[v>>2]|0;if((K|0)<(0-J|0)){break}else{L=L+ -32|0}}}}while(0);H=H+ -1|0;if((H|0)==0){s=142;break}else{E=E+48|0}}}else{s=142}}while(0);do{if((s|0)==142){s=0;H=c[h>>2]|0;E=c[(c[d>>2]|0)+4+(C*204|0)+196>>2]|0;if((H|0)==0){H=0;break}F=c[l>>2]|0;while(1){J=c[F+32>>2]|0;if((J|0)!=0){G=F+16|0;I=c[G>>2]|0;do{if((I&512|0)==0){if((I&1024|0)!=0){c[F+44>>2]=(c[J+12>>2]|0)+(c[J+8>>2]|0);break}I=(c[F+36>>2]|0)-(c[J>>2]|0)|0;if((I|0)<1){R=c[J+8>>2]|0;c[F+44>>2]=(aJ(I,E)|0)+R;break}K=c[J+4>>2]|0;L=c[J+8>>2]|0;J=c[J+12>>2]|0;if((I|0)<(K|0)){c[F+44>>2]=(_I(I,J,K)|0)+L;break}else{c[F+44>>2]=J+L+(aJ(I-K|0,E)|0);break}}else{c[F+44>>2]=c[J+8>>2]}}while(0);c[G>>2]=c[G>>2]|32}H=H+ -1|0;if((H|0)==0){break}else{F=F+48|0}}H=c[h>>2]|0}}while(0);G=c[(c[d>>2]|0)+4+(C*204|0)+196>>2]|0;F=c[m>>2]|0;L=c[l>>2]|0;E=L+(H*48|0)|0;do{if((H|0)>0){H=0;I=L;do{H=((c[I+16>>2]|0)>>>4&1)+H|0;I=I+48|0;}while(I>>>0<E>>>0);if((H|0)==0){break}if(H>>>0<17){H=o}else{H=oJ(F,4,0,H,0,n)|0;if((c[p>>2]|0)!=0){break}}I=0;J=L;do{if((c[J+16>>2]&16|0)!=0){M=H+(I<<2)|0;h:do{if((I|0)>0){K=J+36|0;while(1){N=M+ -4|0;O=c[N>>2]|0;if((c[O+36>>2]|0)<=(c[K>>2]|0)){break h}c[M>>2]=O;if(N>>>0>H>>>0){M=N}else{M=N;break}}}}while(0);c[M>>2]=J;I=I+1|0}J=J+48|0;}while(J>>>0<E>>>0);K=(I|0)==0;J=H+(I+ -1<<2)|0;do{M=L+16|0;Q=c[M>>2]|0;do{if((Q&16|0)==0){O=L+12|0;P=c[O>>2]|0;if((P&2|0)!=0){N=a[L+20|0]|0;if(N<<24>>24==4){break}if(N<<24>>24!=(a[L+21|0]|0)){break}if((Q&64|0)==0){if((P&4|0)==0){break}}c[O>>2]=P&-3}N=c[L+36>>2]|0;do{if(K){s=182}else{O=0;while(1){P=O+1|0;if((c[(c[H+(O<<2)>>2]|0)+36>>2]|0)>(N|0)){break}if(P>>>0<I>>>0){O=P}else{O=P;break}}if((O|0)==0){s=182;break}O=c[H+(O+ -1<<2)>>2]|0;P=I;while(1){if((P|0)==0){P=0;break}Q=P+ -1|0;if((c[(c[H+(Q<<2)>>2]|0)+36>>2]|0)<(N|0)){break}else{P=Q}}if((P|0)==(I|0)){Q=c[J>>2]|0;R=c[Q+44>>2]|0;c[L+44>>2]=(aJ(N-(c[Q+36>>2]|0)|0,G)|0)+R;break}P=c[H+(P<<2)>>2]|0;R=c[O+36>>2]|0;if((N|0)==(R|0)){c[L+44>>2]=c[O+44>>2];break}Q=c[P+36>>2]|0;if((N|0)==(Q|0)){c[L+44>>2]=c[P+44>>2];break}else{O=c[O+44>>2]|0;c[L+44>>2]=(_I(N-R|0,(c[P+44>>2]|0)-O|0,Q-R|0)|0)+O;break}}}while(0);if((s|0)==182){s=0;Q=c[H>>2]|0;R=c[Q+44>>2]|0;c[L+44>>2]=(aJ(N-(c[Q+36>>2]|0)|0,G)|0)+R}c[M>>2]=c[M>>2]|32}}while(0);L=L+48|0;}while(L>>>0<E>>>0);if((H|0)==(o|0)){break}lJ(F,H)}}while(0);G=c[r>>2]|0;H=c[d>>2]|0;E=c[H+4+(C*204|0)+196>>2]|0;if((G|0)!=0){F=c[q>>2]|0;H=c[H+4+(C*204|0)+200>>2]|0;while(1){K=c[F>>2]|0;R=c[F+4>>2]|0;J=K+(R*48|0)|0;i:do{if((R|0)>0){I=0;L=0;M=K;do{if((c[M+16>>2]&32|0)!=0){I=(I|0)==0?M:I;L=L+1|0}M=M+48|0;}while(M>>>0<J>>>0);if(L>>>0<2){if((L|0)==1){H=c[I+44>>2]|0;H=H-(aJ(c[I+36>>2]|0,E)|0)|0}while(1){if((K|0)!=(I|0)){c[K+44>>2]=(aJ(c[K+36>>2]|0,E)|0)+H}K=K+48|0;if(K>>>0>=J>>>0){break i}}}O=I+4|0;M=c[O>>2]|0;if((M|0)==(I|0)){break}else{L=I}while(1){if((c[M+16>>2]&32|0)==0){J=M;do{J=c[J+4>>2]|0;}while((c[J+16>>2]&32|0)==0);N=c[L+36>>2]|0;Q=c[J+36>>2]|0;if((N|0)>(Q|0)){P=c[J+44>>2]|0;K=P;P=(c[L+44>>2]|0)-P|0;L=Q;N=N-Q|0}else{P=c[L+44>>2]|0;K=P;P=(c[J+44>>2]|0)-P|0;L=N;N=Q-N|0}if((N|0)>0){R=bJ(P,N)|0;M=c[O>>2]|0;O=R}else{O=65536}P=P+K|0;do{Q=(c[M+36>>2]|0)-L|0;do{if((Q|0)<1){Q=(aJ(Q,E)|0)+K|0}else{if((Q|0)<(N|0)){Q=(aJ(Q,O)|0)+K|0;break}else{Q=P+(aJ(Q-N|0,E)|0)|0;break}}}while(0);c[M+44>>2]=Q;M=c[M+4>>2]|0;}while((M|0)!=(J|0));if((J|0)==(I|0)){break i}}else{J=M}O=J+4|0;M=c[O>>2]|0;if((M|0)==(I|0)){break}else{L=J}}}}while(0);G=G+ -1|0;if((G|0)==0){break}else{F=F+8|0}}}H=c[l>>2]|0;G=c[x>>2]|0;F=c[G+4>>2]|0;G=c[G+8>>2]|0;if((c[h>>2]|0)!=0){E=D?32:64;if(D){D=0;while(1){c[F+(D<<3)>>2]=c[H+44>>2];if((c[H+16>>2]&16|0)!=0){R=G+D|0;a[R]=a[R]|E}D=D+1|0;if(D>>>0<(c[h>>2]|0)>>>0){H=H+48|0}else{break}}}else{D=0;while(1){c[F+(D<<3)+4>>2]=c[H+44>>2];if((c[H+16>>2]&16|0)!=0){R=G+D|0;a[R]=a[R]|E}D=D+1|0;if(D>>>0<(c[h>>2]|0)>>>0){H=H+48|0}else{break}}}}if(!B){rN(c[d>>2]|0,t,u,0,0)|0}C=C+1|0;if((C|0)>=2){v=0;break}}}else{q=k+12|0}}while(0);R=c[m>>2]|0;Q=k+92|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;c[k+88>>2]=0;c[k+96>>2]=0;Q=k+80|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;Q=k+76|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;c[k+72>>2]=0;c[k+68>>2]=0;c[k+84>>2]=0;Q=k+52|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;c[k+48>>2]=0;c[k+56>>2]=0;Q=k+40|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;Q=k+36|0;lJ(R,c[Q>>2]|0);c[Q>>2]=0;c[k+32>>2]=0;c[k+28>>2]=0;c[k+44>>2]=0;lJ(R,c[l>>2]|0);c[l>>2]=0;lJ(R,c[q>>2]|0);c[q>>2]=0;c[h>>2]=0;c[k+4>>2]=0;c[m>>2]=0;R=v;i=j;return R|0}function rN(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;h=i;k=b+200|0;l=b+204|0;if((c[k>>2]|0)==(d|0)){if((c[l>>2]|0)!=(f|0)){j=3}}else{j=3}do{if((j|0)==3){c[k>>2]=d;c[l>>2]=f;k=c[b+4>>2]|0;if((k|0)==0){break}m=aJ(c[b+8>>2]|0,d)|0;j=b+12|0;c[j>>2]=m;c[b+16>>2]=m+32&-64;m=k+ -1|0;if((m|0)==0){break}k=b+20|0;while(1){l=aJ(c[k>>2]|0,d)|0;n=c[j>>2]|0;f=l-n|0;o=(((f|0)<0?0-f|0:f)|0)<128?n:l;c[k+4>>2]=o;c[k+8>>2]=o+32&-64;m=m+ -1|0;if((m|0)==0){break}else{k=k+12|0}}}}while(0);j=b+404|0;d=b+408|0;do{if((c[j>>2]|0)==(e|0)){if((c[d>>2]|0)!=(g|0)){break}i=h;return 0}}while(0);c[j>>2]=e;c[d>>2]=g;j=c[b+208>>2]|0;do{if((j|0)!=0){m=aJ(c[b+212>>2]|0,e)|0;d=b+216|0;c[d>>2]=m;c[b+220>>2]=m+32&-64;m=j+ -1|0;if((m|0)==0){break}j=b+224|0;while(1){f=aJ(c[j>>2]|0,e)|0;l=c[d>>2]|0;k=f-l|0;o=(((k|0)<0?0-k|0:k)|0)<128?l:f;c[j+4>>2]=o;c[j+8>>2]=o+32&-64;m=m+ -1|0;if((m|0)==0){break}else{j=j+12|0}}}}while(0);l=b+412|0;if((e|0)>34359737){a[b+2492|0]=((c[b+2476>>2]<<3|0)/125|0|0)>(e|0)|0}else{a[b+2492|0]=(e*125|0)<(c[b+2476>>2]<<3|0)|0}d=c[b+2480>>2]|0;a:do{if((d|0)>0){while(1){j=d+ -1|0;if((aJ(d,e)|0)<=32){break a}if((j|0)>0){d=j}else{d=j;break}}}}while(0);c[b+2484>>2]=d;d=b+1960|0;j=b+928|0;k=b+1444|0;f=0;do{if((f|0)==2){n=k}else if((f|0)==1){n=j}else if((f|0)==0){n=l}else{n=d}m=c[n>>2]|0;if((m|0)!=0){n=n+4|0;while(1){c[n+28>>2]=(aJ(c[n+8>>2]|0,e)|0)+g;c[n+24>>2]=(aJ(c[n+12>>2]|0,e)|0)+g;o=n+16|0;c[o>>2]=(aJ(c[n>>2]|0,e)|0)+g;c[n+20>>2]=aJ(c[n+4>>2]|0,e)|0;c[o>>2]=(c[o>>2]|0)+32&-64;m=m+ -1|0;if((m|0)==0){break}else{n=n+32|0}}}f=f+1|0;}while(f>>>0<4);f=c[l>>2]|0;b:do{if((f|0)!=0){g=b+1448|0;l=b+416|0;while(1){o=c[k>>2]|0;c:do{if((o|0)!=0){m=g;while(1){n=(c[l>>2]|0)-(c[m>>2]|0)|0;if((aJ((n|0)<0?0-n|0:n,e)|0)<64){break}o=o+ -1|0;if((o|0)==0){break c}else{m=m+32|0}}c[l+28>>2]=c[m+28>>2];c[l+24>>2]=c[m+24>>2];c[l+16>>2]=c[m+16>>2];c[l+20>>2]=c[m+20>>2]}}while(0);f=f+ -1|0;if((f|0)==0){break b}l=l+32|0}}}while(0);j=c[j>>2]|0;if((j|0)==0){i=h;return 0}g=b+1964|0;b=b+932|0;while(1){f=c[d>>2]|0;d:do{if((f|0)!=0){k=g;while(1){l=(c[b>>2]|0)-(c[k>>2]|0)|0;if((aJ((l|0)<0?0-l|0:l,e)|0)<64){break}f=f+ -1|0;if((f|0)==0){break d}else{k=k+32|0}}c[b+28>>2]=c[k+28>>2];c[b+24>>2]=c[k+24>>2];c[b+16>>2]=c[k+16>>2];c[b+20>>2]=c[k+20>>2]}}while(0);j=j+ -1|0;if((j|0)==0){break}b=b+32|0}i=h;return 0}function sN(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[a+8>>2]|0;e=a+20|0;bX(e|0,0,88)|0;c[e>>2]=d;c[a+108>>2]=77;c[a+112>>2]=39;c[a+116>>2]=332;d=a+120|0;bX(d|0,0,20)|0;c[a+124>>2]=333;c[a+128>>2]=193;c[a+132>>2]=146;c[a+136>>2]=147;c[a+140>>2]=92;c[a+144>>2]=41;c[d>>2]=e;d=a+148|0;bX(d|0,0,20)|0;c[a+152>>2]=334;c[a+156>>2]=193;c[a+160>>2]=33;c[a+164>>2]=34;c[a+168>>2]=148;c[a+172>>2]=41;c[d>>2]=e;i=b;return 0}function tN(a){a=a|0;var b=0,d=0,e=0;b=i;c[a+120>>2]=0;c[a+148>>2]=0;d=a+20|0;e=c[d>>2]|0;uN(a+36|0,e);uN(a+72|0,e);c[a+24>>2]=0;c[d>>2]=0;i=b;return}function uN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;f=a+28|0;h=c[f>>2]|0;e=a+32|0;if((h|0)!=0){g=c[e>>2]|0;while(1){lJ(b,c[g+8>>2]|0);bX(g|0,0,16)|0;h=h+ -1|0;if((h|0)==0){break}else{g=g+16|0}}}lJ(b,c[e>>2]|0);c[e>>2]=0;c[a+24>>2]=0;c[f>>2]=0;f=a+16|0;h=c[f>>2]|0;e=a+20|0;if((h|0)!=0){g=c[e>>2]|0;while(1){lJ(b,c[g+8>>2]|0);bX(g|0,0,16)|0;h=h+ -1|0;if((h|0)==0){break}else{g=g+16|0}}}lJ(b,c[e>>2]|0);c[e>>2]=0;c[a+12>>2]=0;c[f>>2]=0;h=a+8|0;lJ(b,c[h>>2]|0);c[h>>2]=0;c[a>>2]=0;c[a+4>>2]=0;i=d;return}function vN(a){a=a|0;c[a+4>>2]=0;c[a+12>>2]=2;c[a+16>>2]=0;c[a+28>>2]=0;c[a+40>>2]=0;c[a+52>>2]=0;c[a+64>>2]=0;c[a+76>>2]=0;i=i;return}function wN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[a+4>>2]|0;if((e|0)!=0){f=e;i=d;return f|0}f=c[a>>2]|0;e=CN(a+16|0,b,f)|0;if((e|0)!=0){f=e;i=d;return f|0}f=CN(a+52|0,b,f)|0;i=d;return f|0}function xN(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;g=i;f=i;i=i+128|0;if((d|0)<=0){i=g;return}h=a+4|0;j=a+12|0;b=a+16+((b>>>0>1?1:b)*36|0)|0;m=0;do{k=(d|0)>16?16:d;l=k<<1;n=(k|0)>0;do{if(n){o=0;do{m=(c[e+(o<<2)>>2]|0)+m|0;c[f+(o<<2)>>2]=(ZI(m)|0)>>16;o=o+1|0;}while((o|0)<(l|0));if(n){n=0}else{break}while(1){o=f+((n|1)<<2)|0;c[o>>2]=(c[o>>2]|0)-(c[f+(n<<2)>>2]|0);n=n+2|0;if((n|0)<(l|0)){}else{break}}}}while(0);a:do{if((c[h>>2]|0)==0){if(((c[j>>2]|0)+ -1|0)>>>0>1|(k|0)==0){break}else{o=k;l=f}while(1){n=BN(b,c[l>>2]|0,c[l+4>>2]|0,c[a>>2]|0,0)|0;if((n|0)!=0){break}o=o+ -1|0;if((o|0)==0){break a}l=l+8|0}c[h>>2]=n}}while(0);d=d-k|0;}while((d|0)>0);i=g;return}function yN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;f=a+4|0;if((c[f>>2]|0)!=0){i=g;return}l=a+16|0;h=c[a>>2]|0;k=c[l>>2]|0;a=a+52|0;j=c[a>>2]|0;if((j+k|0)!=(d|0)){i=g;return}d=AN(l,e,j,k,b,h)|0;do{if((d|0)==0){d=AN(a,e,0,j,b,h)|0;if((d|0)!=0){break}i=g;return}}while(0);c[f>>2]=d;i=g;return}function zN(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;f=i;e=a+4|0;if((c[e>>2]|0)!=0){i=f;return}k=a+16|0;h=c[a>>2]|0;g=c[k>>2]|0;a=a+52|0;j=c[a>>2]|0;if((j+g|0)!=(b|0)){i=f;return}b=AN(k,d,0,g,0,h)|0;do{if((b|0)==0){b=AN(a,d,g,j,0,h)|0;if((b|0)!=0){break}i=f;return}}while(0);c[e>>2]=b;i=f;return}function AN(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=i;m=i;i=i+8|0;l=m;o=i;i=i+8|0;q=o;r=i;i=i+8|0;n=b+12|0;p=c[n>>2]|0;if((p|0)==0){h=0}else{c[(c[b+20>>2]|0)+(p+ -1<<4)+12>>2]=h;h=c[n>>2]|0}s=h+1|0;p=b+16|0;u=c[p>>2]|0;do{if(s>>>0>u>>>0){c[r>>2]=0;t=h+8&-8;v=b+20|0;u=oJ(j,16,u,t,c[v>>2]|0,r)|0;c[v>>2]=u;r=c[r>>2]|0;if((r|0)==0){c[p>>2]=t;break}else{v=r;i=k;return v|0}}else{u=c[b+20>>2]|0}}while(0);c[u+(h<<4)>>2]=0;c[u+(h<<4)+12>>2]=0;c[n>>2]=s;if((s|0)==0){do{if((c[p>>2]|0)==0){c[o>>2]=0;v=b+20|0;q=oJ(j,16,0,8,c[v>>2]|0,q)|0;c[v>>2]=q;o=c[o>>2]|0;if((o|0)==0){c[p>>2]=8;break}else{v=o;i=k;return v|0}}else{q=c[b+20>>2]|0}}while(0);c[q>>2]=0;c[q+12>>2]=0;c[n>>2]=1;n=q}else{n=(c[b+20>>2]|0)+(h<<4)|0}o=n+4|0;p=((c[o>>2]|0)+7|0)>>>3;q=(g+7|0)>>>3;c[m>>2]=0;do{if(q>>>0>p>>>0){q=q+7&1073741816;v=n+8|0;c[v>>2]=oJ(j,1,p,q,c[v>>2]|0,l)|0;l=c[m>>2]|0;if((l|0)==0){c[o>>2]=q<<3;break}else{v=l;i=k;return v|0}}}while(0);c[n>>2]=g;if((g|0)==0){v=0;i=k;return v|0}e=e+(f>>>3)|0;j=128>>>(f&7);l=128;f=c[n+8>>2]|0;while(1){m=(d[f]|0)&~l;if(((d[e]|0)&j|0)==0){m=m&255}else{m=(m|l)&255}a[f]=m;n=j>>1;j=(n|0)==0;l=l>>1;m=(l|0)==0;g=g+ -1|0;if((g|0)==0){f=0;break}else{e=j?e+1|0:e;j=j?128:n;l=m?128:l;f=m?f+1|0:f}}i=k;return f|0}function BN(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;j=i;k=i;i=i+8|0;l=k;n=i;i=i+8|0;o=n;p=i;i=i+8|0;q=p;if((f|0)<0){m=(f|0)==-21;f=0;e=(m?-21:0)+e|0;r=m?3:1}else{r=0}m=(h|0)!=0;if(m){c[h>>2]=-1}s=c[b>>2]|0;a:do{if((s|0)==0){u=0;t=10}else{u=0;v=c[b+8>>2]|0;while(1){if((c[v>>2]|0)==(e|0)){if((c[v+4>>2]|0)==(f|0)){p=u;break a}}u=u+1|0;if(u>>>0<s>>>0){v=v+12|0}else{t=10;break}}}}while(0);if((t|0)==10){w=s+1|0;t=b+4|0;x=c[t>>2]|0;do{if(w>>>0>=x>>>0){c[p>>2]=0;if(x>>>0>=w>>>0){break}v=s+8&-8;y=b+8|0;c[y>>2]=oJ(g,12,x,v,c[y>>2]|0,q)|0;p=c[p>>2]|0;if((p|0)==0){c[t>>2]=v;break}else{y=p;i=j;return y|0}}}while(0);p=c[b+8>>2]|0;c[b>>2]=w;c[p+(s*12|0)>>2]=e;c[p+(s*12|0)+4>>2]=f;c[p+(s*12|0)+8>>2]=r;p=u}f=b+12|0;q=c[f>>2]|0;if((q|0)==0){q=b+16|0;do{if((c[q>>2]|0)==0){c[n>>2]=0;y=b+20|0;o=oJ(g,16,0,8,c[y>>2]|0,o)|0;c[y>>2]=o;n=c[n>>2]|0;if((n|0)==0){c[q>>2]=8;n=o;break}else{y=n;i=j;return y|0}}else{n=c[b+20>>2]|0}}while(0);c[n>>2]=0;c[n+12>>2]=0;c[f>>2]=1}else{n=(c[b+20>>2]|0)+(q+ -1<<4)|0}if((p|0)>=0){if((c[n>>2]|0)>>>0<=p>>>0){o=p+1|0;b=n+4|0;q=((c[b>>2]|0)+7|0)>>>3;f=(p+8|0)>>>3;c[k>>2]=0;do{if(f>>>0>q>>>0){f=f+7&1073741816;y=n+8|0;c[y>>2]=oJ(g,1,q,f,c[y>>2]|0,l)|0;g=c[k>>2]|0;if((g|0)==0){c[b>>2]=f<<3;break}else{y=g;i=j;return y|0}}}while(0);c[n>>2]=o}y=(c[n+8>>2]|0)+(p>>3)|0;a[y]=d[y]|0|128>>>(p&7)}if(!m){y=0;i=j;return y|0}c[h>>2]=p;y=0;i=j;return y|0}function CN(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;g=i;k=i;i=i+8|0;j=k;h=i;i=i+16|0;l=c[b+12>>2]|0;if((l|0)!=0){c[(c[b+20>>2]|0)+(l+ -1<<4)+12>>2]=e}e=b+24|0;m=c[e>>2]|0;l=m+ -1|0;if((l|0)<=0){x=0;i=g;return x|0}b=b+32|0;o=m;a:while(1){p=m+ -2|0;b:do{if((p|0)>-1){m=c[b>>2]|0;n=c[m+(l<<4)+8>>2]|0;q=c[m+(l<<4)>>2]|0;c:while(1){r=c[m+(p<<4)+8>>2]|0;s=c[m+(p<<4)>>2]|0;s=q>>>0<=s>>>0?q:s;if(s>>>0>7){t=n;do{if((a[r]&a[t])<<24>>24!=0){break c}t=t+1|0;r=r+1|0;s=s+ -8|0;}while(s>>>0>7)}else{t=n}if((s|0)!=0){if((a[r]&a[t]&255&~(255>>>s)|0)!=0){break}}if((p|0)>0){p=p+ -1|0}else{break b}}q=(p|0)>(l|0);n=q?p:l;p=q?l:p;if(!((p|0)<(n|0)&(p|0)>-1&(n|0)<(o|0))){break}o=m+(n<<4)|0;s=m+(p<<4)|0;t=c[s>>2]|0;q=c[o>>2]|0;do{if((q|0)!=0){if(q>>>0>t>>>0){w=m+(p<<4)+4|0;x=((c[w>>2]|0)+7|0)>>>3;r=(q+7|0)>>>3;c[k>>2]=0;if(r>>>0>x>>>0){v=r+7&1073741816;u=m+(p<<4)+8|0;c[u>>2]=oJ(f,1,x,v,c[u>>2]|0,j)|0;x=c[k>>2]|0;if((x|0)!=0){f=32;break a}c[w>>2]=v<<3}else{u=m+(p<<4)+8|0}do{if((c[s>>2]|0)>>>0>t>>>0){x=(c[u>>2]|0)+(t>>3)|0;a[x]=(d[x]|0)&(128>>>(t&7)^255)}t=t+1|0;}while(t>>>0<q>>>0)}else{r=(q+7|0)>>>3}if((r|0)==0){break}q=c[m+(n<<4)+8>>2]|0;p=c[m+(p<<4)+8>>2]|0;while(1){a[p]=a[q]|a[p];r=r+ -1|0;if((r|0)==0){break}else{p=p+1|0;q=q+1|0}}}}while(0);c[o>>2]=0;c[m+(n<<4)+12>>2]=0;r=c[e>>2]|0;p=r+ -1|0;q=p-n|0;if((q|0)>0){$W(h|0,o|0,16)|0;aX(o|0,m+(n+1<<4)|0,q<<4|0)|0;$W(m+(p<<4)|0,h|0,16)|0;r=c[e>>2]|0}o=r+ -1|0;c[e>>2]=o}}while(0);m=l+ -1|0;if((m|0)>0){x=l;l=m;m=x}else{x=0;f=32;break}}if((f|0)==32){i=g;return x|0}return 0}function DN(a){a=a|0;c[a+4>>2]=0;c[a+12>>2]=1;c[a+16>>2]=0;c[a+28>>2]=0;c[a+40>>2]=0;c[a+52>>2]=0;c[a+64>>2]=0;c[a+76>>2]=0;i=i;return}function EN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;h=i;i=i+8|0;g=h;f=(ZI(c[d>>2]|0)|0)>>16;c[h>>2]=f;c[g+4>>2]=(ZI(c[d+4>>2]|0)|0)>>16;d=a+4|0;if((c[d>>2]|0)!=0){i=e;return}if(((c[a+12>>2]|0)+ -1|0)>>>0>=2){i=e;return}a=BN(a+16+((b>>>0>1?1:b)*36|0)|0,f,c[g+4>>2]|0,c[a>>2]|0,0)|0;if((a|0)==0){i=e;return}c[d>>2]=a;i=e;return}function FN(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=i;s=i;i=i+8|0;t=s;p=i;i=i+8|0;q=p;n=i;i=i+8|0;m=n;j=i;i=i+8|0;k=j;r=i;i=i+16|0;o=r;h=b+4|0;if((c[h>>2]|0)!=0){i=g;return}l=c[b>>2]|0;u=e>>>0>1?1:e;e=b+16+(u*36|0)|0;a:do{if((c[b+12>>2]|0)==1){x=0;while(1){w=(ZI(c[f>>2]|0)|0)>>16;w=BN(e,w,(ZI(c[f+4>>2]|0)|0)>>16,l,o+(x<<2)|0)|0;if((w|0)!=0){break a}x=x+1|0;if((x|0)<3){f=f+8|0}else{break}}e=c[r>>2]|0;r=c[o+4>>2]|0;o=c[o+8>>2]|0;f=b+16+(u*36|0)+24|0;w=c[f>>2]|0;b:do{if((w|0)==0){v=14}else{C=e>>3;B=128>>>(e&7);D=r>>3;A=128>>>(r&7);z=o>>3;y=128>>>(o&7);F=w;x=c[b+16+(u*36|0)+32>>2]|0;while(1){E=c[x>>2]|0;if(E>>>0>e>>>0){if(((d[(c[x+8>>2]|0)+C|0]|0)&B|0)!=0){s=x;break b}}if(E>>>0>r>>>0){if(((d[(c[x+8>>2]|0)+D|0]|0)&A|0)!=0){s=x;break b}}if(E>>>0>o>>>0){if(((d[(c[x+8>>2]|0)+z|0]|0)&y|0)!=0){s=x;break b}}F=F+ -1|0;if((F|0)==0){v=14;break}else{x=x+16|0}}}}while(0);if((v|0)==14){v=w+1|0;y=b+16+(u*36|0)+28|0;z=c[y>>2]|0;if(v>>>0>z>>>0){c[s>>2]=0;x=w+8&-8;F=b+16+(u*36|0)+32|0;b=oJ(l,16,z,x,c[F>>2]|0,t)|0;c[F>>2]=b;s=c[s>>2]|0;if((s|0)!=0){w=s;break}c[y>>2]=x}else{b=c[b+16+(u*36|0)+32>>2]|0}s=b+(w<<4)|0;c[s>>2]=0;c[b+(w<<4)+12>>2]=0;c[f>>2]=v}if((e|0)>=0){if((c[s>>2]|0)>>>0<=e>>>0){b=e+1|0;t=s+4|0;u=((c[t>>2]|0)+7|0)>>>3;v=(e+8|0)>>>3;c[p>>2]=0;if(v>>>0>u>>>0){v=v+7&1073741816;w=s+8|0;c[w>>2]=oJ(l,1,u,v,c[w>>2]|0,q)|0;w=c[p>>2]|0;if((w|0)!=0){break}c[t>>2]=v<<3}c[s>>2]=b}F=(c[s+8>>2]|0)+(e>>3)|0;a[F]=d[F]|0|128>>>(e&7)}if((r|0)>=0){if((c[s>>2]|0)>>>0<=r>>>0){p=r+1|0;q=s+4|0;e=((c[q>>2]|0)+7|0)>>>3;b=(r+8|0)>>>3;c[n>>2]=0;if(b>>>0>e>>>0){b=b+7&1073741816;w=s+8|0;c[w>>2]=oJ(l,1,e,b,c[w>>2]|0,m)|0;w=c[n>>2]|0;if((w|0)!=0){break}c[q>>2]=b<<3}c[s>>2]=p}F=(c[s+8>>2]|0)+(r>>3)|0;a[F]=d[F]|0|128>>>(r&7)}if((o|0)<0){i=g;return}if((c[s>>2]|0)>>>0<=o>>>0){n=o+1|0;m=s+4|0;p=((c[m>>2]|0)+7|0)>>>3;q=(o+8|0)>>>3;c[j>>2]=0;if(q>>>0>p>>>0){q=q+7&1073741816;w=s+8|0;c[w>>2]=oJ(l,1,p,q,c[w>>2]|0,k)|0;w=c[j>>2]|0;if((w|0)!=0){break}c[m>>2]=q<<3}c[s>>2]=n}F=(c[s+8>>2]|0)+(o>>3)|0;a[F]=d[F]|0|128>>>(o&7);i=g;return}else{w=6}}while(0);c[h>>2]=w;i=g;return}function GN(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;d=i;f=i;i=i+8|0;h=f;n=i;i=i+8|0;p=n;e=a+4|0;if((c[e>>2]|0)!=0){i=d;return}g=c[a>>2]|0;do{if((c[a+12>>2]|0)==1){j=a+28|0;k=c[j>>2]|0;if((k|0)==0){k=0}else{c[(c[a+36>>2]|0)+(k+ -1<<4)+12>>2]=b;k=c[j>>2]|0}l=k+1|0;m=a+32|0;q=c[m>>2]|0;if(l>>>0>q>>>0){c[n>>2]=0;o=k+8&-8;r=a+36|0;p=oJ(g,16,q,o,c[r>>2]|0,p)|0;c[r>>2]=p;n=c[n>>2]|0;if((n|0)!=0){break}c[m>>2]=o}else{p=c[a+36>>2]|0}c[p+(k<<4)>>2]=0;c[p+(k<<4)+12>>2]=0;c[j>>2]=l;j=a+64|0;k=c[j>>2]|0;if((k|0)==0){k=0}else{c[(c[a+72>>2]|0)+(k+ -1<<4)+12>>2]=b;k=c[j>>2]|0}b=k+1|0;l=a+68|0;n=c[l>>2]|0;if(b>>>0>n>>>0){c[f>>2]=0;m=k+8&-8;r=a+72|0;g=oJ(g,16,n,m,c[r>>2]|0,h)|0;c[r>>2]=g;n=c[f>>2]|0;if((n|0)!=0){break}c[l>>2]=m}else{g=c[a+72>>2]|0}c[g+(k<<4)>>2]=0;c[g+(k<<4)+12>>2]=0;c[j>>2]=b;i=d;return}else{n=6}}while(0);c[e>>2]=n;i=d;return}function HN(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;k=i;j=i;i=i+8|0;l=jJ(f,2496,j)|0;m=c[j>>2]|0;if((m|0)!=0){q=m;p=h;c[p>>2]=l;i=k;return q|0}c[l>>2]=f;f=l+4|0;m=l+208|0;c[l+212>>2]=e[g+120>>1]|0;n=g+124|0;o=a[n]|0;if(o<<24>>24==0){n=1}else{q=o&255;p=g+128|0;o=l+224|0;while(1){c[o>>2]=b[p>>1]|0;q=q+ -1|0;if((q|0)==0){break}else{o=o+12|0;p=p+2|0}}n=(d[n]|0)+1|0}c[m>>2]=n;c[l+8>>2]=e[g+122>>1]|0;m=g+125|0;n=a[m]|0;if(n<<24>>24==0){m=1}else{p=n&255;o=g+154|0;n=l+20|0;while(1){c[n>>2]=b[o>>1]|0;p=p+ -1|0;if((p|0)==0){break}else{n=n+12|0;o=o+2|0}}m=(d[m]|0)+1|0}c[f>>2]=m;p=l+412|0;q=g+116|0;JN(p,d[g+8|0]|0,g+12|0,d[g+9|0]|0,g+40|0,c[q>>2]|0,0);JN(p,d[g+10|0]|0,g+60|0,d[g+11|0]|0,g+88|0,c[q>>2]|0,1);c[l+2476>>2]=c[g+108>>2];c[l+2480>>2]=c[g+112>>2];c[l+2488>>2]=c[q>>2];c[l+200>>2]=0;c[l+204>>2]=0;c[l+404>>2]=0;c[l+408>>2]=0;q=c[j>>2]|0;p=h;c[p>>2]=l;i=k;return q|0}function IN(a){a=a|0;var b=0,d=0;b=i;if((a|0)==0){i=b;return}d=c[a>>2]|0;c[a+4>>2]=0;c[a+208>>2]=0;c[a+412>>2]=0;c[a+928>>2]=0;c[a+1444>>2]=0;c[a+1960>>2]=0;lJ(d,a);i=b;return}function JN(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;j=i;if((h|0)==0){h=a+516|0}else{h=a+1548|0;a=a+1032|0}c[a>>2]=0;c[h>>2]=0;KN(0,b,d,a,h);KN(1,e,f,a,h);b=c[a>>2]|0;e=c[h>>2]|0;if((b|0)>0){d=b;f=a+4|0;while(1){do{if(d>>>0>1){k=c[f>>2]|0;m=(c[f+32>>2]|0)-k|0;n=f+4|0;l=c[n>>2]|0;if((l|0)<=(m|0)){break}c[n>>2]=m;l=m}else{l=c[f+4>>2]|0;k=c[f>>2]|0}}while(0);c[f+12>>2]=k;c[f+8>>2]=k+l;d=d+ -1|0;if((d|0)==0){break}else{f=f+32|0}}}if((e|0)>0){k=e;f=h+4|0;while(1){d=c[f>>2]|0;do{if(k>>>0>1){n=d-(c[f+32>>2]|0)|0;l=f+4|0;m=c[l>>2]|0;if((m|0)>=(n|0)){break}c[l>>2]=n;m=n}else{m=c[f+4>>2]|0}}while(0);c[f+8>>2]=d;c[f+12>>2]=d+m;k=k+ -1|0;if((k|0)==0){break}else{f=f+32|0}}}f=g<<1;d=a+4|0;if((b|0)!=0){l=a+16|0;c[l>>2]=(c[l>>2]|0)-g;l=b+ -1|0;k=c[a+12>>2]|0;if((l|0)==0){a=d}else{a=a+ -28+(b<<3<<2)|0;b=l;while(1){n=d+44|0;l=c[n>>2]|0;m=l-k|0;if((m|0)<(f|0)){m=((m|0)/2|0)+k|0;c[n>>2]=m;c[d+8>>2]=m}else{c[d+8>>2]=k+g;c[n>>2]=l-g}b=b+ -1|0;k=c[d+40>>2]|0;if((b|0)==0){break}else{d=d+32|0}}}c[a+8>>2]=k+g}a=h+4|0;if((e|0)==0){i=j;return}d=h+16|0;c[d>>2]=(c[d>>2]|0)-g;d=e+ -1|0;b=c[h+12>>2]|0;if((d|0)==0){h=a}else{h=h+ -28+(e<<3<<2)|0;e=d;while(1){l=a+44|0;k=c[l>>2]|0;d=k-b|0;if((d|0)<(f|0)){n=((d|0)/2|0)+b|0;c[l>>2]=n;c[a+8>>2]=n}else{c[a+8>>2]=b+g;c[l>>2]=k-g}e=e+ -1|0;b=c[a+40>>2]|0;if((e|0)==0){break}else{a=a+32|0}}}c[h+8>>2]=b+g;i=j;return}function KN(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=i;m=c[f>>2]|0;l=c[g>>2]|0;if(d>>>0>1){k=1}else{r=l;q=m;s=f;c[s>>2]=q;s=g;c[s>>2]=r;i=h;return}while(1){if((k|a)<<24>>24==0){o=b[e>>1]|0;q=f;r=m;n=(b[e+2>>1]|0)-o|0;p=1}else{o=b[e+2>>1]|0;q=g;r=l;n=(b[e>>1]|0)-o|0;k=0;p=0}q=q+4|0;a:do{if((r|0)==0){j=16}else{while(1){s=c[q>>2]|0;if((o|0)<(s|0)){j=14;break}if((o|0)==(s|0)){break}r=r+ -1|0;q=q+32|0;if((r|0)==0){j=16;break a}}if((j|0)==14){if((r|0)==0){j=16;break}while(1){j=r+ -1|0;$W(q+(r<<5)|0,q+(j<<5)|0,32)|0;if((j|0)==0){j=16;break a}else{r=j}}}o=q+4|0;p=c[o>>2]|0;if((n|0)<0){if((n|0)>=(p|0)){break}c[o>>2]=n;break}else{if((n|0)<=(p|0)){break}c[o>>2]=n;break}}}while(0);do{if((j|0)==16){j=0;c[q>>2]=o;c[q+4>>2]=n;if(p<<24>>24==0){l=l+1|0;break}else{m=m+1|0;break}}}while(0);d=d+ -2|0;if(d>>>0>1){e=e+4|0}else{break}}s=f;c[s>>2]=m;s=g;c[s>>2]=l;i=h;return}function LN(a){a=a|0;i=i;return a+108|0}function MN(a){a=a|0;i=i;return a+120|0}function NN(a){a=a|0;i=i;return a+148|0}function ON(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;h=c[a>>2]|0;if((h|0)!=0){g=c[a+8>>2]|0;while(1){p=g+16|0;c[p>>2]=c[p>>2]&-5;c[g+24>>2]=-1;h=h+ -1|0;if((h|0)==0){break}else{g=g+28|0}}}if((b|0)==0){c[a+4>>2]=0;i=f;return}h=a+8|0;g=a+12|0;j=0;l=0;m=0;n=0;while(1){if((m|0)==0){k=e+1|0;m=128;n=d[e]|0}else{k=e}do{if((m&n|0)!=0){p=c[h>>2]|0;o=p+(l*28|0)+16|0;e=c[o>>2]|0;if((e&4|0)!=0){break}c[o>>2]=e|4;if(j>>>0>=(c[a>>2]|0)>>>0){break}c[(c[g>>2]|0)+(j<<2)>>2]=p+(l*28|0);j=j+1|0}}while(0);l=l+1|0;if(l>>>0<b>>>0){e=k;m=m>>1}else{break}}c[a+4>>2]=j;m=c[g>>2]|0;if((j|0)>1){l=1}else{i=f;return}do{h=c[m+(l<<2)>>2]|0;g=l;while(1){a=g+ -1|0;k=m+(a<<2)|0;b=c[k>>2]|0;if((c[b>>2]|0)<(c[h>>2]|0)){break}c[m+(g<<2)>>2]=b;c[k>>2]=h;if((a|0)>0){g=a}else{break}}l=l+1|0;}while((l|0)<(j|0));i=f;return}function PN(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=i;if((f|0)==0){i=l;return}m=0-h|0;j=(b|0)==0;o=(h|0)==2;n=o?128:256;o=o?256:128;while(1){p=c[e+36>>2]|0;q=e+16|0;r=c[q>>2]|0;a:do{if((r&16|0)==0){s=a[e+20|0]|0;if((s|0)==(h|0)|(s|0)==(m|0)){k=6}else{s=a[e+21|0]|0;if((s|0)==(h|0)|(s|0)==(m|0)){k=6}}do{if((k|0)==6){k=0;if((s|0)==0){break}if((s|0)==(h|0)){if(j){break a}else{s=0}while(1){t=c[d+(s<<2)>>2]|0;u=p-(c[t>>2]|0)|0;s=s+1|0;if((u|0)<(g|0)&(0-u|0)<(g|0)){break}if(s>>>0>=b>>>0){break a}}c[q>>2]=r|528;c[e+32>>2]=t;break a}else{if((s|0)!=(m|0)|j){break a}else{s=0}while(1){t=c[d+(s<<2)>>2]|0;u=p-(c[t>>2]|0)-(c[t+4>>2]|0)|0;s=s+1|0;if((u|0)<(g|0)&(0-u|0)<(g|0)){break}if(s>>>0>=b>>>0){break a}}c[q>>2]=r|1040;c[e+32>>2]=t;break a}}}while(0);if((r&64|0)==0){break}b:do{if((r&n|0)==0){if((r&o|0)==0|j){break}else{t=0}while(1){s=c[d+(t<<2)>>2]|0;u=p-(c[s>>2]|0)-(c[s+4>>2]|0)|0;t=t+1|0;if((u|0)<(g|0)&(0-u|0)<(g|0)){break}if(t>>>0>=b>>>0){break b}}c[e+32>>2]=s;c[q>>2]=r|1040}else{if(j){break}else{t=0}while(1){s=c[d+(t<<2)>>2]|0;u=p-(c[s>>2]|0)|0;t=t+1|0;if((u|0)<(g|0)&(0-u|0)<(g|0)){break}if(t>>>0>=b>>>0){break b}}c[e+32>>2]=s;c[q>>2]=r|528}}while(0);t=e+32|0;if((c[t>>2]|0)!=0|j){break}else{s=0}while(1){r=c[d+(s<<2)>>2]|0;q=c[r>>2]|0;if((p|0)>=(q|0)){if((p|0)<=((c[r+4>>2]|0)+q|0)){break}}s=s+1|0;if(s>>>0>=b>>>0){break a}}c[t>>2]=r}}while(0);f=f+ -1|0;if((f|0)==0){break}else{e=e+48|0}}i=l;return}function QN(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;h=i;n=c[d+4+(e*204|0)+196>>2]|0;g=b+16|0;if((c[g>>2]&8|0)!=0){i=h;return}l=c[d+4+(e*204|0)+200>>2]|0;l=(aJ(c[b>>2]|0,n)|0)+l|0;m=b+4|0;k=aJ(c[m>>2]|0,n)|0;do{if((e|0)==0){if((a[f+120|0]|0)==0){j=5;break}p=(a[f+122|0]|0)!=0;o=b+12|0;c[o>>2]=k;q=0;r=0;j=27}else if((e|0)==1){if((a[f+121|0]|0)==0){j=5;break}p=(a[f+123|0]|0)!=0;o=b+12|0;c[o>>2]=k;t=c[b>>2]|0;u=(c[m>>2]|0)+t|0;s=a[d+2492|0]|0;x=c[d+412>>2]|0;a:do{if((x|0)==0){r=0;q=0;u=2}else{r=c[d+2488>>2]|0;q=0-r|0;v=d+416|0;while(1){w=u-(c[v+12>>2]|0)|0;if((w|0)<(q|0)){r=0;q=0;u=2;break a}if(((c[v+8>>2]|0)+r|0)>=(u|0)){break}x=x+ -1|0;if((x|0)==0){r=0;q=0;u=2;break a}else{v=v+32|0}}if(s<<24>>24==0){if((w|0)>(c[d+2484>>2]|0)){r=0;q=0;u=2;break}}r=c[v+16>>2]|0;q=1;u=3}}while(0);y=c[d+928>>2]|0;b:do{if((y|0)==0){s=0}else{v=c[d+2488>>2]|0;w=0-v|0;x=y;y=d+932+(y+ -1<<5)|0;while(1){z=(c[y+8>>2]|0)-t|0;if((z|0)<(w|0)){s=0;break b}if(((c[y+12>>2]|0)-v|0)<=(t|0)){break}x=x+ -1|0;if((x|0)==0){s=0;break b}else{y=y+ -32|0}}if(s<<24>>24==0){if((z|0)>=(c[d+2484>>2]|0)){s=0;break}}s=c[y+16>>2]|0;q=u}}while(0);if((q|0)==3){c[b+8>>2]=s;c[o>>2]=r-s;if(p){q=3;j=47;break}else{break}}else if((q|0)==1){c[b+8>>2]=r-k;if(p){q=1;j=47;break}else{break}}else if((q|0)==2){c[b+8>>2]=s;if(p){q=2;j=47;break}else{break}}else{j=27;break}}else{o=b+12|0;c[o>>2]=k;q=0;r=0;p=0;j=27}}while(0);if((j|0)==5){c[b+8>>2]=l;c[b+12>>2]=k;c[g>>2]=c[g>>2]|8;i=h;return}if((j|0)==27){s=c[b+20>>2]|0;if((s|0)!=0){if((c[s+16>>2]&8|0)==0){QN(s,d,e,f)}z=c[s+8>>2]|0;l=c[s+12>>2]>>1;l=z-(k>>1)+l+(aJ((c[b>>2]|0)-((c[s+4>>2]>>1)+(c[s>>2]|0))+(c[m>>2]>>1)|0,n)|0)|0}m=b+8|0;c[m>>2]=l;c[o>>2]=k;do{if((a[f+124|0]|0)==0){d=k}else{if((k|0)<65){if((k|0)>31){d=64;l=l+(k>>1)&-64;break}e=l+32&-64;if((k|0)<=0){d=k;l=e;break}d=l+k|0;f=d+32&-64;n=e-l|0;l=f-d|0;d=k;l=(((n|0)<0?0-n|0:n)|0)>(((l|0)<0?0-l|0:l)|0)?f:e;break}d=c[d+4+(e*204|0)+8>>2]|0;f=k-d|0;if((((f|0)<0?0-f|0:f)|0)<40){k=(d|0)<48?48:d}if((k|0)>=192){d=k+32&-64;break}d=k&63;f=k&-64;if(d>>>0<10){d=k;break}if(d>>>0<32){d=f|10;break}else{d=d>>>0<54?f|54:k;break}}}while(0);f=l+32|0;k=(f&-64)-l|0;f=(f+d&-64)-l-d|0;c[m>>2]=((((k|0)<0?0-k|0:k)|0)>(((f|0)<0?0-f|0:f)|0)?f:k)+l;c[o>>2]=d;if(p){j=47}}do{if((j|0)==47){b=b+8|0;k=c[b>>2]|0;j=c[o>>2]|0;if((j|0)<64){j=64}else{j=j+32&-64}if((q|0)==1){c[b>>2]=r-j;c[o>>2]=j;break}else if((q|0)==2){c[o>>2]=j;break}else if((q|0)==3){break}else{c[o>>2]=j;d=j>>1;k=d+k|0;if((j&64|0)==0){k=k+32&-64}else{k=k&-64|32}c[b>>2]=k-d;c[o>>2]=j;break}}}while(0);c[g>>2]=c[g>>2]|8;i=h;return}function RN(a,b,e,f){a=a|0;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;g=i;h=i;i=i+8|0;n=h;m=c[b>>2]|0;k=m<<1;l=a+12|0;c[l>>2]=oJ(f,4,0,k,0,n)|0;if((c[h>>2]|0)!=0){x=h;x=c[x>>2]|0;i=g;return x|0}j=a+8|0;c[j>>2]=oJ(f,28,0,m,0,n)|0;if((c[h>>2]|0)!=0){x=h;x=c[x>>2]|0;i=g;return x|0}c[a+24>>2]=oJ(f,16,0,k|1,0,n)|0;if((c[h>>2]|0)!=0){x=h;x=c[x>>2]|0;i=g;return x|0}c[a>>2]=m;k=a+16|0;c[k>>2]=(c[l>>2]|0)+(m<<2);l=a+4|0;c[l>>2]=0;c[a+20>>2]=0;c[a+28>>2]=0;if((m|0)!=0){b=c[b+8>>2]|0;n=c[j>>2]|0;while(1){c[n>>2]=c[b>>2];c[n+4>>2]=c[b+4>>2];c[n+16>>2]=c[b+8>>2];m=m+ -1|0;if((m|0)==0){break}else{n=n+28|0;b=b+12|0}}}do{if((e|0)!=0){b=c[e+8>>2]|0;m=c[e>>2]|0;c[a+32>>2]=e;if((m|0)==0){break}while(1){n=c[b>>2]|0;if((n|0)!=0){q=c[b+8>>2]|0;p=0;o=0;f=0;while(1){if((o|0)==0){e=q+1|0;o=128;f=d[q]|0}else{e=q}do{if((o&f|0)!=0){t=c[j>>2]|0;q=t+(p*28|0)|0;if((c[a>>2]|0)>>>0<=p>>>0){break}s=t+(p*28|0)+16|0;r=c[s>>2]|0;if((r&4|0)!=0){break}c[s>>2]=r|4;u=c[k>>2]|0;v=c[l>>2]|0;s=t+(p*28|0)+20|0;c[s>>2]=0;a:do{if((v|0)!=0){r=c[q>>2]|0;t=(c[t+(p*28|0)+4>>2]|0)+r|0;while(1){x=c[u>>2]|0;w=c[x>>2]|0;if((t|0)>=(w|0)){if(((c[x+4>>2]|0)+w|0)>=(r|0)){break}}v=v+ -1|0;if((v|0)==0){break a}else{u=u+4|0}}c[s>>2]=x}}while(0);r=c[l>>2]|0;if(r>>>0>=(c[a>>2]|0)>>>0){break}c[l>>2]=r+1;c[(c[k>>2]|0)+(r<<2)>>2]=q}}while(0);p=p+1|0;if(p>>>0<n>>>0){q=e;o=o>>1}else{break}}}m=m+ -1|0;if((m|0)==0){break}else{b=b+16|0}}}}while(0);b=c[a>>2]|0;if((c[l>>2]|0)==(b|0)|(b|0)==0){x=h;x=c[x>>2]|0;i=g;return x|0}else{n=b;m=0}while(1){o=c[j>>2]|0;e=o+(m*28|0)|0;do{if(n>>>0>m>>>0){f=o+(m*28|0)+16|0;n=c[f>>2]|0;if((n&4|0)!=0){break}c[f>>2]=n|4;q=c[k>>2]|0;p=c[l>>2]|0;n=o+(m*28|0)+20|0;c[n>>2]=0;b:do{if((p|0)!=0){f=c[e>>2]|0;o=(c[o+(m*28|0)+4>>2]|0)+f|0;while(1){r=c[q>>2]|0;s=c[r>>2]|0;if((o|0)>=(s|0)){if(((c[r+4>>2]|0)+s|0)>=(f|0)){break}}p=p+ -1|0;if((p|0)==0){break b}else{q=q+4|0}}c[n>>2]=r}}while(0);n=c[l>>2]|0;if(n>>>0>=(c[a>>2]|0)>>>0){break}c[l>>2]=n+1;c[(c[k>>2]|0)+(n<<2)>>2]=e}}while(0);m=m+1|0;if(m>>>0>=b>>>0){break}n=c[a>>2]|0}x=h;x=c[x>>2]|0;i=g;return x|0}function SN(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(209856,b)|0;i=c;return a|0}function TN(b){b=b|0;var c=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;e=i;f=a[b]|0;do{if(f<<24>>24==117){g=b+1|0;h=a[g]|0;do{if(h<<24>>24==110){if((a[b+2|0]|0)!=105){h=110;j=6;k=0;break}l=4;j=b+3|0;k=0;do{m=d[j]|0;n=m+ -48|0;if(n>>>0>9){n=(m+ -65|0)>>>0>5?16:m+ -55|0;if(n>>>0>15){break}}k=n+(k<<4)|0;l=l+ -1|0;j=j+1|0;}while((l|0)>0);if((l|0)!=0){j=6;k=0;break}j=a[j]|0;if(j<<24>>24==0){n=k;i=e;return n|0}else if(j<<24>>24!=46){j=6;k=0;break}n=k|-2147483648;i=e;return n|0}else{j=6;k=0}}while(0);while(1){h=h&255;l=h+ -48|0;if(l>>>0>9){l=(h+ -65|0)>>>0>5?16:h+ -55|0;if(l>>>0>15){c=15;break}}k=l+(k<<4)|0;j=j+ -1|0;g=g+1|0;if((j|0)<=0){break}h=a[g]|0}if((c|0)==15){if((j|0)>=3){g=b;break}}g=a[g]|0;if(g<<24>>24==0){n=k;i=e;return n|0}else if(g<<24>>24!=46){g=b;break}n=k|-2147483648;i=e;return n|0}else{g=b}}while(0);while(1){if(f<<24>>24==0){break}else if(f<<24>>24==46){if(g>>>0>b>>>0){c=21;break}}n=g+1|0;f=a[n]|0;g=n}do{if((c|0)==21){if((g|0)==0){g=0;break}n=_N(b,g)|0|-2147483648;i=e;return n|0}}while(0);n=_N(b,g)|0;i=e;return n|0}function UN(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=i;k=i;i=i+8|0;l=k;o=i;i=i+40|0;n=o;p=i;i=i+40|0;m=p;bX(o|0,0,40)|0;j=b+16|0;c[j>>2]=0;b=b+20|0;c[b>>2]=0;s=oJ(a,8,0,d+10|0,0,l)|0;c[b>>2]=s;r=c[k>>2]|0;if((r|0)!=0){w=r;i=h;return w|0}do{if((d|0)!=0){if((f|0)==0){f=0;do{r=Bd[e&255](g,f)|0;do{if((r|0)!=0){t=0;while(1){u=t+1|0;if((Qc(215960+(c[216048+(t<<2)>>2]|0)|0,r|0)|0)==0){q=7;break}if(u>>>0<10){t=u}else{break}}do{if((q|0)==7){q=0;u=n+(t<<2)|0;if((c[u>>2]|0)!=0){break}c[u>>2]=1;c[m+(t<<2)>>2]=f}}while(0);r=TN(r)|0;if((r&2147483647|0)==0){break}else{t=0}while(1){u=t+1|0;if((c[215920+(t<<2)>>2]|0)==(r|0)){q=12;break}if(u>>>0<10){t=u}else{break}}if((q|0)==12){q=0;c[n+(t<<2)>>2]=2}c[s>>2]=r;c[s+4>>2]=f;s=s+8|0}}while(0);f=f+1|0;}while(f>>>0<d>>>0)}else{r=0;do{t=Bd[e&255](g,r)|0;if((t|0)!=0){u=0;while(1){v=u+1|0;if((Qc(215960+(c[216048+(u<<2)>>2]|0)|0,t|0)|0)==0){q=19;break}if(v>>>0<10){u=v}else{break}}do{if((q|0)==19){q=0;v=n+(u<<2)|0;if((c[v>>2]|0)!=0){break}c[v>>2]=1;c[m+(u<<2)>>2]=r}}while(0);w=TN(t)|0;if((w&2147483647|0)!=0){v=0;while(1){u=v+1|0;if((c[215920+(v<<2)>>2]|0)==(w|0)){q=24;break}if(u>>>0<10){v=u}else{break}}if((q|0)==24){q=0;c[n+(v<<2)>>2]=2}c[s>>2]=w;c[s+4>>2]=r;s=s+8|0}hd[f&127](g,t)}r=r+1|0;}while(r>>>0<d>>>0)}if((c[o>>2]|0)!=1){break}c[s>>2]=916;c[s+4>>2]=c[p>>2];s=s+8|0}}while(0);if((c[n+4>>2]|0)==1){c[s>>2]=937;c[s+4>>2]=c[m+4>>2];s=s+8|0}if((c[n+8>>2]|0)==1){c[s>>2]=8725;c[s+4>>2]=c[m+8>>2];s=s+8|0}if((c[n+12>>2]|0)==1){c[s>>2]=173;c[s+4>>2]=c[m+12>>2];s=s+8|0}if((c[n+16>>2]|0)==1){c[s>>2]=713;c[s+4>>2]=c[m+16>>2];s=s+8|0}if((c[n+20>>2]|0)==1){c[s>>2]=956;c[s+4>>2]=c[m+20>>2];s=s+8|0}if((c[n+24>>2]|0)==1){c[s>>2]=8729;c[s+4>>2]=c[m+24>>2];s=s+8|0}if((c[n+28>>2]|0)==1){c[s>>2]=160;c[s+4>>2]=c[m+28>>2];s=s+8|0}if((c[n+32>>2]|0)==1){c[s>>2]=538;c[s+4>>2]=c[m+32>>2];s=s+8|0}if((c[n+36>>2]|0)==1){c[s>>2]=539;c[s+4>>2]=c[m+36>>2];s=s+8|0}n=c[b>>2]|0;m=s-n>>3;do{if((m|0)==0){lJ(a,n);c[b>>2]=0;a=c[k>>2]|0;if((a|0)!=0){break}c[k>>2]=163;a=163}else{if(m>>>0<d>>>1>>>0){n=oJ(a,8,d,m,n,l)|0;c[b>>2]=n;c[k>>2]=0}pb(n|0,m|0,8,194);a=c[k>>2]|0}}while(0);c[j>>2]=m;w=a;i=h;return w|0}function VN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=c[a+20>>2]|0;a=(c[a+16>>2]|0)+ -1|0;if((a|0)<0){j=0;i=d;return j|0}a=e+(a<<3)|0;f=0;a:while(1){j=f;while(1){g=a-e>>4;f=e+(g<<3)|0;h=c[f>>2]|0;if((h|0)==(b|0)){break a}h=h&2147483647;f=(h|0)==(b|0)?f:j;if((e|0)==(a|0)){break a}if(h>>>0>=b>>>0){break}e=e+(g+1<<3)|0;if(e>>>0>a>>>0){break a}else{j=f}}a=g+ -1|0;if((a|0)<0){break}else{a=e+(a<<3)|0}}if((f|0)==0){j=0;i=d;return j|0}j=c[f+4>>2]|0;i=d;return j|0}function WN(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;d=i;g=(c[b>>2]|0)+1|0;e=c[a+16>>2]|0;do{if((e|0)==0){l=0;k=9}else{f=c[a+20>>2]|0;k=e;l=0;j=0;while(1){h=((k-l|0)>>>1)+l|0;m=c[f+(h<<3)>>2]|0;if((m|0)==(g|0)){k=4;break}m=m&2147483647;if((m|0)==(g|0)){j=c[f+(h<<3)+4>>2]|0}m=m>>>0<g>>>0;l=m?h+1|0:l;k=m?k:h;if(l>>>0>=k>>>0){k=8;break}}if((k|0)==4){j=c[f+(h<<3)+4>>2]|0;break}else if((k|0)==8){if((j|0)==0){k=9;break}else{break}}}}while(0);do{if((k|0)==9){if(l>>>0>=e>>>0){g=0;j=0;break}j=c[a+20>>2]|0;g=c[j+(l<<3)>>2]&2147483647;j=c[j+(l<<3)+4>>2]|0}}while(0);c[b>>2]=g;i=d;return j|0}function XN(a){a=a|0;i=i;return 210920+(b[215400+((a>>>0>257?0:a)<<1)>>1]|0)|0}function YN(a){a=a|0;var c=0;c=i;if(a>>>0>390){a=0;i=c;return a|0}a=210920+(b[214616+(a<<1)>>1]|0)|0;i=c;return a|0}function ZN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;a=c[a>>2]|0;e=a&2147483647;b=c[b>>2]|0;f=b&2147483647;do{if((e|0)==(f|0)){if(a>>>0>b>>>0){a=1;break}a=(a>>>0<b>>>0)<<31>>31}else{if(e>>>0>f>>>0){a=1;break}a=(e>>>0<f>>>0)<<31>>31}}while(0);i=d;return a|0}function _N(b,c){b=b|0;c=c|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;g=i;if(!((b|0)!=0&b>>>0<c>>>0)){q=0;i=g;return q|0}h=b+1|0;l=a[b]|0;o=52;p=0;while(1){n=o+p>>1;b=n<<1;b=216088+(d[b+216090|0]<<8|d[b+216091|0])|0;m=a[b]|0;q=m&127;if((q|0)==(l|0)){break}q=(q|0)<(l|0);p=q?n+1|0:p;o=q?o:n;if((p|0)>=(o|0)){j=0;k=16;break}}if((k|0)==16){i=g;return j|0}a:do{if(h>>>0<c>>>0){k=b;b:while(1){b=h+1|0;h=a[h]|0;j=k+1|0;o=a[j]|0;l=o&255;n=l&127;c:do{if(m<<24>>24<0){if((h|0)==(n|0)){m=o}else{j=0;k=16;break b}}else{if((n|0)==0){j=0;k=16;break b}k=((l&128|0)==0?j:k+3|0)+1|0;while(1){j=216088+(d[k]<<8|d[k+1|0])|0;m=a[j]|0;if((h|0)==(m&127|0)){break c}n=n+ -1|0;if((n|0)>0){k=k+2|0}else{j=0;k=16;break b}}}}while(0);if(b>>>0<c>>>0){k=j;h=b}else{e=m;f=j;break a}}if((k|0)==16){i=g;return j|0}}else{e=m;f=b}}while(0);if(e<<24>>24<=-1){q=0;i=g;return q|0}if((a[f+1|0]|0)>=0){q=0;i=g;return q|0}q=d[f+2|0]<<8|d[f+3|0];i=g;return q|0}function $N(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;g=i;i=i+8|0;c[b>>2]=0;f=jJ(a,24,g)|0;e=c[g>>2]|0;if((e|0)!=0){b=e;i=d;return b|0}c[f+8>>2]=a;c[b>>2]=f;b=c[g>>2]|0;i=d;return b|0}function aO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((a|0)==0){i=e;return}if((b|0)!=0&(d|0)>3075){c[a>>2]=b+1032;c[a+4>>2]=d+ -1032;c[a+12>>2]=b;i=e;return}else{c[a>>2]=0;c[a+4>>2]=0;c[a+12>>2]=0;i=e;return}}function bO(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function cO(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;f=i;k=c[e+4>>2]|0;j=c[e>>2]|0;if((d|0)==0){p=96;i=f;return p|0}if((c[d>>2]|0)==0){p=96;i=f;return p|0}h=d+4|0;if((c[h>>2]|0)==0){p=96;i=f;return p|0}if((k|0)==0){p=20;i=f;return p|0}g=b[k+2>>1]|0;if(g<<16>>16==0){p=0;i=f;return p|0}m=b[k>>1]|0;if(m<<16>>16<1){p=0;i=f;return p|0}l=c[k+12>>2]|0;if((l|0)==0){p=20;i=f;return p|0}if((c[k+4>>2]|0)==0){p=20;i=f;return p|0}if((g<<16>>16|0)!=((b[l+((m<<16>>16)+ -1<<1)>>1]|0)+1|0)){p=20;i=f;return p|0}g=c[d+12>>2]|0;e=e+8|0;if((c[e>>2]&2|0)!=0){p=19;i=f;return p|0}if((j|0)==0){p=20;i=f;return p|0}if((c[j+4>>2]|0)==0){p=0;i=f;return p|0}if((c[j>>2]|0)==0){p=0;i=f;return p|0}if((c[j+12>>2]|0)==0){p=20;i=f;return p|0}$W(g+128|0,k|0,20)|0;$W(g+104|0,j|0,24)|0;p=c[d>>2]|0;c[g+28>>2]=p;c[g+32>>2]=p+((c[h>>2]|0)>>>2<<2);if((c[e>>2]&1|0)!=0){p=19;i=f;return p|0}h=c[g+144>>2]|0;if((h&256|0)==0){c[g>>2]=6;c[g+16>>2]=32;c[g+20>>2]=2;d=6}else{c[g>>2]=12;c[g+16>>2]=256;c[g+20>>2]=50;d=12}p=1<<d;c[g+4>>2]=p;c[g+8>>2]=(p|0)/2|0;p=d+ -6|0;c[g+12>>2]=p;c[g+24>>2]=p;do{if((h&8|0)==0){d=g+180|0;j=(h&16|0)==0?0:4;a[d]=j;if((h&32|0)!=0){break}a[d]=j|1}else{a[g+180|0]=2}}while(0);d=g+181|0;a[d]=h>>>9&1^1;o=g+164|0;c[o>>2]=149;p=g+168|0;c[p>>2]=4;m=g+172|0;c[m>>2]=5;l=g+176|0;c[l>>2]=335;h=g+1024|0;c[h>>2]=0;j=g+960|0;b[j>>1]=0;e=g+962|0;b[e>>1]=(c[g+104>>2]|0)+65535;n=g+108|0;b[g+56>>1]=c[n>>2];c[g+60>>2]=c[g+116>>2];k=nO(g,0)|0;if((k|0)!=0){p=k;i=f;return p|0}do{if((a[d]|0)!=0){if((a[g+180|0]|0)==2){break}c[o>>2]=150;c[p>>2]=6;c[m>>2]=7;c[l>>2]=336;c[h>>2]=0;b[j>>1]=0;b[e>>1]=(c[n>>2]|0)+65535;g=nO(g,1)|0;if((g|0)==0){break}i=f;return g|0}}while(0);p=0;i=f;return p|0}function dO(a){a=a|0;var b=0;b=i;lJ(c[a+8>>2]|0,a);i=b;return}function eO(a){a=a|0;var b=0,d=0;b=i;d=c[a+4>>2]|0;Gd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+8>>2]&255](c[a+60>>2]|0,c[d+172>>2]|0,c[d+176>>2]|0);i=b;return 0}function fO(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=i;n=i;i=i+8|0;o=n;j=i;i=i+16|0;q=j;m=i;i=i+48|0;l=m;k=e+72|0;if((c[k>>2]|0)!=(c[d+24>>2]|0)){c[n>>2]=6;v=6;i=h;return v|0}p=c[d+20>>2]|0;do{if((f|0)==2){if((p|0)==270984){e=19}else{break}i=h;return e|0}else{if((p|0)==270912){e=19}else{break}i=h;return e|0}}while(0);p=e+108|0;if((g|0)!=0){HJ(p,c[g>>2]|0,c[g+4>>2]|0)}zK(p,q);v=c[j>>2]&-64;c[j>>2]=v;g=q+4|0;t=c[g>>2]&-64;c[g>>2]=t;s=q+8|0;u=(c[s>>2]|0)+63&-64;c[s>>2]=u;q=q+12|0;s=(c[q>>2]|0)+63&-64;c[q>>2]=s;v=u-v>>6;t=s-t>>6;s=e+76|0;u=c[d+8>>2]|0;r=e+156|0;if((c[(c[r>>2]|0)+4>>2]&1|0)!=0){w=e+88|0;lJ(u,c[w>>2]|0);c[w>>2]=0;w=(c[r>>2]|0)+4|0;c[w>>2]=c[w>>2]&-2}if((f&2|0)==0){a[e+94|0]=2;b[e+92>>1]=256;f=v+3&-4}else{a[e+94|0]=1;f=(v+15|0)>>>4<<1}c[e+80>>2]=v;c[s>>2]=t;c[e+84>>2]=f;c[e+88>>2]=oJ(u,t,0,f,0,o)|0;o=c[n>>2]|0;if((o|0)!=0){w=o;i=h;return w|0}w=(c[r>>2]|0)+4|0;c[w>>2]=c[w>>2]|1;HJ(p,0-(c[j>>2]|0)|0,0-(c[g>>2]|0)|0);c[m>>2]=s;c[l+4>>2]=p;c[l+8>>2]=(a[e+94|0]|0)==2;c[n>>2]=Bd[c[d+64>>2]&255](c[d+60>>2]|0,l)|0;HJ(p,c[j>>2]|0,c[g>>2]|0);l=c[n>>2]|0;if((l|0)!=0){w=l;i=h;return w|0}c[k>>2]=1651078259;c[e+100>>2]=c[j>>2]>>6;c[e+104>>2]=c[q>>2]>>6;w=0;i=h;return w|0}function gO(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){a=6;i=f;return a|0}if((d|0)!=0){GJ(b+108|0,d)}if((e|0)==0){a=0;i=f;return a|0}HJ(b+108|0,c[e>>2]|0,c[e+4>>2]|0);a=0;i=f;return a|0}function hO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;bX(d|0,0,16)|0;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){i=e;return}zK(b+108|0,d);i=e;return}function iO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;a=sd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+12>>2]&127](c[a+60>>2]|0,b,d)|0;i=e;return a|0}function jO(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;e=c[a+112>>2]|0;g=0-e|0;b[a+156>>1]=g;f=b[d>>1]|0;d=a+148|0;c[d>>2]=da(f,g)|0;if((e|0)>0){c[d>>2]=da((c[a+104>>2]|0)+~f|0,e)|0}b[a+158>>1]=0;b[a+160>>1]=0;i=i;return}function kO(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;l=i;p=c[f+4>>2]|0;g=0-p|0;m=c[f>>2]|0;k=(h+ -1+p&g)>>m;if((j-h-p|0)>(c[f+20>>2]|0)){h=(g&j)>>m}else{h=k}if((h|0)<=-1){i=l;return}j=e[f+56>>1]|0;if((k|0)>=(j|0)){i=l;return}k=(k|0)<0?0:k;m=(h|0)<(j|0)?h:j+ -1|0;h=k<<13>>16;j=m<<13>>16;g=255>>>(k&7);k=127>>>(m&7)^255;m=f+158|0;if((b[m>>1]|0)>(h|0)){b[m>>1]=h}m=f+160|0;if((b[m>>1]|0)<(j|0)){b[m>>1]=j}m=c[f+60>>2]|0;n=c[f+148>>2]|0;o=n+h|0;p=m+o|0;f=j-h|0;if((f|0)<=0){a[p]=d[p]|k&g;i=l;return}a[p]=d[p]|g;g=m+(o+1)|0;if((f+ -1|0)>0){bX(g|0,-1,j+ -1-h|0)|0;g=m+(n+j)|0}a[g]=d[g]|k;i=l;return}function lO(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=i;q=c[f+4>>2]|0;r=h+ -1|0;p=0-q|0;n=r+q&p;o=p&j;do{if((n|0)>(o|0)){s=c[k+12>>2]|0;t=s&7;if((n|0)!=(o+q|0)){i=m;return}do{if((t|0)==5|(t|0)==1){do{if((c[k+28>>2]|0)==(l|0)){if((c[k+16>>2]|0)>=1){break}if((s&16|0)==0){i=m;return}if((j-h|0)>=(c[f+8>>2]|0)){break}i=m;return}}while(0);do{if((c[l+28>>2]|0)==(k|0)){if((c[k+20>>2]|0)!=(g<<16>>16|0)){break}if((s&32|0)==0){i=m;return}if((j-h|0)>=(c[f+8>>2]|0)){break}i=m;return}}while(0);if((t|0)==1){l=o;break}l=(c[f+8>>2]|0)+((r+j|0)/2|0)&p}else if((t|0)==0){l=o}else if((t|0)==4){l=(c[f+8>>2]|0)+((r+j|0)/2|0)&p}else{i=m;return}}while(0);p=c[f>>2]|0;n=((l|0)==(n|0)?o:n)>>p;if((n|0)<=-1){n=l;break}if((n|0)>=(e[f+56>>1]|0)){n=l;break}if((d[(c[f+60>>2]|0)+((c[f+148>>2]|0)+(n<<13>>16))|0]&128>>>(n&7)|0)==0){n=l;break}i=m;return}else{p=c[f>>2]|0}}while(0);n=n>>p;if((n|0)<=-1){i=m;return}if((n|0)>=(e[f+56>>1]|0)){i=m;return}o=n>>>3&65535;l=f+158|0;if((b[l>>1]|0)>o<<16>>16){b[l>>1]=o}l=f+160|0;if((b[l>>1]|0)<o<<16>>16){b[l>>1]=o}t=(c[f+60>>2]|0)+((c[f+148>>2]|0)+(o<<16>>16))|0;a[t]=d[t]|128>>>(n&7);i=m;return}function mO(a){a=a|0;var d=0;d=a+148|0;c[d>>2]=(c[d>>2]|0)+(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>2]<<ia)-ea|0;$=(c[aa+(ca<<3)+4>>2]<<ia)-ea|0;Z=(c[W>>2]<<ia)-ea|0;ea=(c[aa+(fa<<3)+4>>2]<<ia)-ea|0;ba=O?$:Y;$=O?Y:$;Y=O?ea:Z;Z=O?Z:ea;ea=c[T>>2]|0;ga=ea+ca|0;ha=a[ga]|0;if((ha&4)!=0){a[P]=(ha&255)>>>5;ha=a[ga]|0}ha=ha&3;if((ha|0)==0){if((a[ea+fa|0]&3)==1){W=aa+(fa+ -1<<3)|0}else{Y=(Y+ba|0)/2|0;Z=(Z+$|0)/2|0}ga=ca+ -1|0;_=aa+(ga<<3)|0;ga=ea+ga|0}else if((ha|0)==2){W=30;break a}else{Y=ba;Z=$}c[V>>2]=Y;c[U>>2]=Z;c:do{if(_>>>0<W>>>0){$=ga;d:while(1){fa=_+8|0;aa=$+1|0;ba=a[aa]&3;if((ba|0)==1){ha=c[s>>2]|0;ia=c[t>>2]|0;$=(c[fa>>2]<<ha)-ia|0;_=(c[_+12>>2]<<ha)-ia|0;if((sO(d,O?_:$,O?$:_)|0)<<24>>24==0){_=fa;$=aa}else{W=83;break b}}else if((ba|0)==0){ha=c[s>>2]|0;ia=c[t>>2]|0;$=(c[fa>>2]<<ha)-ia|0;_=(c[_+12>>2]<<ha)-ia|0;ca=O?_:$;ba=O?$:_;e:do{if(O){$=aa;while(1){if(fa>>>0>=W>>>0){W=23;break d}_=fa+8|0;$=$+1|0;ga=a[$]&3;ia=c[s>>2]|0;aa=c[t>>2]|0;ea=(c[_>>2]<<ia)-aa|0;aa=(c[fa+12>>2]<<ia)-aa|0;if((ga|0)==1){break e}else if((ga|0)!=0){W=30;break a}if((tO(d,ca,ba,(aa+ca|0)/2|0,(ea+ba|0)/2|0)|0)<<24>>24==0){fa=_;ca=aa;ba=ea}else{W=83;break b}}}else{$=aa;while(1){if(fa>>>0>=W>>>0){W=23;break d}_=fa+8|0;$=$+1|0;ga=a[$]&3;ia=c[s>>2]|0;ea=c[t>>2]|0;aa=(c[_>>2]<<ia)-ea|0;ea=(c[fa+12>>2]<<ia)-ea|0;if((ga|0)==1){break e}else if((ga|0)!=0){W=30;break a}if((tO(d,ca,ba,(aa+ca|0)/2|0,(ea+ba|0)/2|0)|0)<<24>>24==0){fa=_;ca=aa;ba=ea}else{W=83;break b}}}}while(0);if((tO(d,ca,ba,aa,ea)|0)<<24>>24!=0){W=83;break b}}else{if((_+16|0)>>>0>W>>>0){W=30;break a}if((a[$+2|0]&3)!=2){W=30;break a}ba=_+24|0;fa=c[s>>2]|0;ca=c[t>>2]|0;ga=(c[_+8>>2]<<fa)-ca|0;ea=(c[_+12>>2]<<fa)-ca|0;ha=(c[_+16>>2]<<fa)-ca|0;ia=(c[_+20>>2]<<fa)-ca|0;aa=O?ea:ga;ga=O?ga:ea;ea=O?ia:ha;ha=O?ha:ia;if(ba>>>0>W>>>0){W=28;break}ia=(c[ba>>2]<<fa)-ca|0;_=(c[_+28>>2]<<fa)-ca|0;if((uO(d,aa,ga,ea,ha,O?_:ia,O?ia:_)|0)<<24>>24==0){_=ba;$=$+3|0}else{W=83;break b}}if(_>>>0>=W>>>0){W=29;break c}}if((W|0)==23){W=0;if((tO(d,ca,ba,Y,Z)|0)<<24>>24==0){break}else{W=83;break b}}else if((W|0)==28){W=0;if((uO(d,aa,ga,ea,ha,Y,Z)|0)<<24>>24==0){break}else{W=83;break b}}}else{W=29}}while(0);if((W|0)==29){W=0;if((sO(d,Y,Z)|0)<<24>>24!=0){W=83;break b}}Y=(b[(c[A>>2]|0)+(X<<1)>>1]|0)+1<<16>>16;aa=c[U>>2]|0;_=c[M>>2]|0;$=_+ -1&aa;do{if(($|0)==0){if((aa|0)<(c[J>>2]|0)){break}if((aa|0)>(c[I>>2]|0)){break}Z=c[y>>2]|0;if((Z|0)==0){break}if(((c[(c[E>>2]|0)+12>>2]^c[Z+12>>2])&8|0)!=0){break}c[F>>2]=(c[F>>2]|0)+ -4}}while(0);Z=c[E>>2]|0;if((c[Z+12>>2]&8|0)==0){aa=((aa+ -1+_&0-_)-aa|0)>=(c[t>>2]|0)}else{aa=($|0)>=(c[t>>2]|0)}$=c[F>>2]|0;_=$-(c[Z+8>>2]|0)|0;if((_|0)<0){W=41;break a}if((_|0)>0){c[Z+16>>2]=_>>2;do{if(aa){_=(c[E>>2]|0)+12|0;$=c[_>>2]|0;if(($&8|0)==0){c[_>>2]=$|32;break}else{c[_>>2]=$|16;break}}}while(0);$=c[E>>2]|0;ia=c[F>>2]|0;c[E>>2]=ia;c[F>>2]=ia+32;c[ia+16>>2]=0;c[(c[E>>2]|0)+8>>2]=c[F>>2];c[$+28>>2]=c[E>>2];b[G>>1]=(b[G>>1]|0)+1<<16>>16;$=c[F>>2]|0}if($>>>0>=(c[D>>2]|0)>>>0){W=49;break}a[C]=0;_=c[y>>2]|0;if((_|0)!=0){c[Z+28>>2]=_}X=X+1|0;if((X|0)>=(b[B>>1]|0)){break}ca=Y&65535}if((W|0)==49){c[N>>2]=98;W=84;break}Y=b[G>>1]|0;X=c[H>>2]|0;if((Y&65535)<2|(X|0)==0){W=81;break}if(Y<<16>>16==0){W=82;break}while(1){if((Y&65535)>1){W=c[X+16>>2]|0;c[X+4>>2]=(c[X+8>>2]|0)+(W<<2)}else{c[X+4>>2]=0;W=c[X+16>>2]|0}_=X+20|0;Z=c[_>>2]|0;if((c[X+12>>2]&8|0)==0){aa=Z-W+1|0;c[_>>2]=aa;ia=X+8|0;c[ia>>2]=(c[ia>>2]|0)+(W+ -1<<2)}else{aa=Z;Z=W+ -1+Z|0}$=c[h>>2]|0;_=c[L>>2]|0;ca=$;while(1){ba=ca+ -1|0;if((ca|0)<=0){W=68;break}ea=c[_+(ba-$<<2)>>2]|0;if((ea|0)>(aa|0)){ca=ba}else{W=65;break}}do{if((W|0)==65){W=0;if((ea|0)<(aa|0)){W=aa;while(1){ia=_+(ba-$<<2)|0;aa=c[ia>>2]|0;c[ia>>2]=W;if((ba|0)>0){ba=ba+ -1|0;W=aa}else{W=68;break}}}else{if((ca|0)<1){W=68;break}else{break}}}}while(0);if((W|0)==68){ia=(c[D>>2]|0)+ -4|0;c[D>>2]=ia;if(ia>>>0<=(c[F>>2]|0)>>>0){W=70;break}_=c[h>>2]|0;c[h>>2]=_+1;c[(c[L>>2]|0)+(~_<<2)>>2]=aa;_=c[L>>2]|0;$=c[h>>2]|0}ca=Z+1|0;ba=$;while(1){Z=ba+ -1|0;if((ba|0)<=0){W=77;break}aa=c[_+(Z-$<<2)>>2]|0;if((aa|0)>(ca|0)){ba=Z}else{W=74;break}}do{if((W|0)==74){W=0;if((aa|0)<(ca|0)){W=ca;while(1){ia=_+(Z-$<<2)|0;ca=c[ia>>2]|0;c[ia>>2]=W;if((Z|0)>0){Z=Z+ -1|0;W=ca}else{W=77;break}}}else{if((ba|0)<1){W=77;break}else{break}}}}while(0);if((W|0)==77){ia=(c[D>>2]|0)+ -4|0;c[D>>2]=ia;if(ia>>>0<=(c[F>>2]|0)>>>0){W=79;break}ia=c[h>>2]|0;c[h>>2]=ia+1;c[(c[L>>2]|0)+(~ia<<2)>>2]=ca}Y=Y+ -1<<16>>16;if(Y<<16>>16==0){W=82;break b}else{X=c[X+4>>2]|0}}if((W|0)==70){c[N>>2]=98;W=84;break}else if((W|0)==79){c[N>>2]=98;W=84;break}}else{W=81}}while(0);if((W|0)==81){c[H>>2]=0;W=82}do{if((W|0)==82){W=0;if((c[F>>2]|0)>>>0>=(c[D>>2]|0)>>>0){W=83;break}X=c[H>>2]|0;do{if((X|0)!=0){c[m>>2]=0;c[u>>2]=0;c[r>>2]=0;ba=c[d>>2]|0;aa=c[J>>2]>>ba&65535;b[l>>1]=aa;ba=c[I>>2]>>ba&65535;b[q>>1]=ba;while(1){Y=X+4|0;Z=c[Y>>2]|0;$=c[X+20>>2]|0;_=$&65535;$=$+65535+(c[X+16>>2]|0)&65535;if(ba<<16>>16>_<<16>>16){b[q>>1]=_}else{_=ba}if(aa<<16>>16<$<<16>>16){b[l>>1]=$}else{$=aa}c[X>>2]=0;aa=c[m>>2]|0;f:do{if((aa|0)==0){ba=k;aa=0}else{ca=k;while(1){ba=aa+4|0;if((c[aa>>2]|0)>0){ba=ca;break f}aa=c[ba>>2]|0;if((aa|0)==0){aa=0;break}else{ca=ba}}}}while(0);c[Y>>2]=aa;c[ba>>2]=X;if((Z|0)==0){break}else{aa=$;ba=_;X=Z}}if((c[h>>2]|0)==0){W=98;break a}Gd[c[Q>>2]&255](d,o,p);Z=c[m>>2]|0;Y=b[q>>1]|0;if((Z|0)!=0){X=Y&65535;_=Z;do{c[_+24>>2]=(c[_+20>>2]|0)-X&65535;_=c[_+4>>2]|0;}while((_|0)!=0)}X=c[h>>2]|0;g:do{if((X|0)>0){if((c[(c[L>>2]|0)+(0-X<<2)>>2]|0)==(Y<<16>>16|0)){ia=X+ -1|0;c[h>>2]=ia;if((ia|0)>0){X=0}else{break}}else{X=0}while(1){if((Z|0)!=0){while(1){$=Z+4|0;_=c[$>>2]|0;ha=Z+24|0;ia=c[ha>>2]|0;c[ha>>2]=ia-X;do{if((ia|0)==(X|0)){ca=k;while(1){aa=c[ca>>2]|0;if((aa|0)==0){break}ba=aa+4|0;if((aa|0)==(Z|0)){W=112;break}else{ca=ba}}if((W|0)==112){W=0;c[ca>>2]=c[ba>>2]}aa=c[Z>>2]|0;if((c[Z+12>>2]&8|0)==0){ca=c[r>>2]|0;h:do{if((ca|0)==0){ba=K;ca=0}else{ea=K;while(1){ba=ca+4|0;if((aa|0)<(c[ca>>2]|0)){ba=ea;break h}ca=c[ba>>2]|0;if((ca|0)==0){ca=0;break}else{ea=ba}}}}while(0);c[$>>2]=ca;c[ba>>2]=Z;break}else{ca=c[u>>2]|0;i:do{if((ca|0)==0){ba=j;ca=0}else{ea=j;while(1){ba=ca+4|0;if((aa|0)<(c[ca>>2]|0)){ba=ea;break i}ca=c[ba>>2]|0;if((ca|0)==0){ca=0;break}else{ea=ba}}}}while(0);c[$>>2]=ca;c[ba>>2]=Z;break}}}while(0);if((_|0)==0){break}else{Z=_}}}$=c[u>>2]|0;do{if(($|0)==0){$=0}else{X=$;do{ia=X+8|0;ha=c[ia>>2]|0;c[X>>2]=c[ha>>2];c[ia>>2]=ha+(((c[X+12>>2]|0)>>>2&2)+ -1<<2);ia=X+16|0;c[ia>>2]=(c[ia>>2]|0)+ -1;X=c[X+4>>2]|0;}while((X|0)!=0);ba=$+4|0;aa=c[ba>>2]|0;if((aa|0)==0){break}else{X=$;Z=$;_=j}while(1){if((c[Z>>2]|0)>(c[aa>>2]|0)){c[_>>2]=aa;$=aa+4|0;c[ba>>2]=c[$>>2];c[$>>2]=Z;Z=c[u>>2]|0;$=Z;_=j}else{$=X;Z=aa;_=ba}ba=Z+4|0;aa=c[ba>>2]|0;if((aa|0)==0){break}else{X=$}}}}while(0);_=c[r>>2]|0;do{if((_|0)==0){_=0}else{X=_;do{ia=X+8|0;ha=c[ia>>2]|0;c[X>>2]=c[ha>>2];c[ia>>2]=ha+(((c[X+12>>2]|0)>>>2&2)+ -1<<2);ia=X+16|0;c[ia>>2]=(c[ia>>2]|0)+ -1;X=c[X+4>>2]|0;}while((X|0)!=0);ba=_+4|0;aa=c[ba>>2]|0;if((aa|0)==0){break}else{X=_;Z=_;$=aa;aa=K}while(1){if((c[Z>>2]|0)>(c[$>>2]|0)){c[aa>>2]=$;_=$+4|0;c[ba>>2]=c[_>>2];c[_>>2]=Z;Z=c[r>>2]|0;_=Z;aa=K}else{_=X;Z=$;aa=ba}ba=Z+4|0;$=c[ba>>2]|0;if(($|0)==0){break}else{X=_}}$=c[u>>2]|0}}while(0);Z=c[h>>2]|0;c[h>>2]=Z+ -1;Z=c[(c[L>>2]|0)+(0-Z<<2)>>2]<<16>>16;X=Z-(Y&65535)|0;j:do{if((Y<<16>>16|0)<(Z|0)){while(1){k:do{if(($|0)!=0){aa=0;while(1){ca=c[$>>2]|0;fa=c[_>>2]|0;ea=(ca|0)>(fa|0);ba=ea?fa:ca;ca=ea?ca:fa;ea=c[M>>2]|0;ga=0-ea|0;fa=ba&ga;ga=ea+ -1+ca&ga;do{if((ca-ba|0)>(ea|0)|(fa|0)==(ba|0)|(ga|0)==(ca|0)){W=143}else{if(!((fa|0)>(ga|0)|(ga|0)==(fa+ea|0))){W=143;break}if((c[$+12>>2]&7|0)==2){break}c[$>>2]=ba;c[_>>2]=ca;c[$+24>>2]=1;aa=aa+1<<16>>16}}while(0);if((W|0)==143){W=0;ud[c[R>>2]&7](d,Y,ba,ca,$,_)}$=c[$+4>>2]|0;if(($|0)==0){break}_=c[_+4>>2]|0}if(aa<<16>>16<=0){break}$=c[u>>2]|0;if(($|0)==0){break}else{_=K}while(1){_=c[_>>2]|0;aa=$+24|0;if((c[aa>>2]|0)!=0){c[aa>>2]=0;ud[c[S>>2]&7](d,Y,c[$>>2]|0,c[_>>2]|0,$,_)}$=c[$+4>>2]|0;if(($|0)==0){break k}_=_+4|0}}}while(0);fd[c[f>>2]&511](d);Y=Y+1<<16>>16;$=c[u>>2]|0;if((Y<<16>>16|0)>=(Z|0)){break j}do{if(($|0)==0){$=0}else{_=$;do{ia=_+8|0;ha=c[ia>>2]|0;c[_>>2]=c[ha>>2];c[ia>>2]=ha+(((c[_+12>>2]|0)>>>2&2)+ -1<<2);ia=_+16|0;c[ia>>2]=(c[ia>>2]|0)+ -1;_=c[_+4>>2]|0;}while((_|0)!=0);ca=$+4|0;ba=c[ca>>2]|0;if((ba|0)==0){break}else{_=$;aa=j}while(1){if((c[$>>2]|0)>(c[ba>>2]|0)){c[aa>>2]=ba;_=ba+4|0;c[ca>>2]=c[_>>2];c[_>>2]=$;$=c[u>>2]|0;_=$;aa=j}else{$=ba;aa=ca}ca=$+4|0;ba=c[ca>>2]|0;if((ba|0)==0){$=_;break}}}}while(0);_=c[r>>2]|0;if((_|0)==0){_=0;continue}else{aa=_}do{ia=aa+8|0;ha=c[ia>>2]|0;c[aa>>2]=c[ha>>2];c[ia>>2]=ha+(((c[aa+12>>2]|0)>>>2&2)+ -1<<2);ia=aa+16|0;c[ia>>2]=(c[ia>>2]|0)+ -1;aa=c[aa+4>>2]|0;}while((aa|0)!=0);ca=_+4|0;aa=c[ca>>2]|0;if((aa|0)==0){continue}else{$=_;ba=K}while(1){if((c[_>>2]|0)>(c[aa>>2]|0)){c[ba>>2]=aa;aa=aa+4|0;c[ca>>2]=c[aa>>2];c[aa>>2]=_;aa=c[r>>2]|0;_=aa;ba=K}else{_=$;ba=ca}ca=aa+4|0;ea=c[ca>>2]|0;if((ea|0)==0){break}else{$=_;_=aa;aa=ea}}$=c[u>>2]|0}}}while(0);if(($|0)!=0){while(1){aa=c[$+4>>2]|0;l:do{if((c[$+16>>2]|0)==0){_=j;while(1){Z=c[_>>2]|0;if((Z|0)==0){break l}ba=Z+4|0;if((Z|0)==($|0)){break}else{_=ba}}c[_>>2]=c[ba>>2]}}while(0);if((aa|0)==0){break}else{$=aa}}}_=c[r>>2]|0;if((_|0)!=0){while(1){$=c[_+4>>2]|0;m:do{if((c[_+16>>2]|0)==0){Z=K;while(1){ba=c[Z>>2]|0;if((ba|0)==0){break m}aa=ba+4|0;if((ba|0)==(_|0)){break}else{Z=aa}}c[Z>>2]=c[aa>>2]}}while(0);if(($|0)==0){break}else{_=$}}}if((c[h>>2]|0)<=0){break g}Z=c[m>>2]|0;X=X<<16>>16}}}while(0);if(Y<<16>>16>(b[l>>1]|0)){break}do{fd[c[f>>2]&511](d);Y=Y+1<<16>>16;}while(Y<<16>>16<=(b[l>>1]|0))}}while(0);X=(c[n>>2]|0)+ -1|0}}while(0);if((W|0)==83){if((c[N>>2]|0)==98){W=84}else{h=1;W=180;break}}if((W|0)==84){c[N>>2]=0;X=c[n>>2]|0;ia=b[d+960+(X<<2)>>1]|0;W=b[d+960+(X<<2)+2>>1]|0;Y=(((W<<16>>16)+(ia<<16>>16)|0)/2|0)&65535;if((X|0)>6|Y<<16>>16<ia<<16>>16){W=85;break}b[d+960+(X+1<<2)>>1]=Y;b[d+960+((c[n>>2]|0)+1<<2)+2>>1]=W;b[d+960+(c[n>>2]<<2)+2>>1]=Y+ -1<<16>>16;X=(c[n>>2]|0)+1|0}c[n>>2]=X;if((X|0)<=-1){h=0;W=180;break}}if((W|0)==30){c[N>>2]=20;ia=1;i=g;return ia|0}else if((W|0)==41){c[N>>2]=99;ia=1;i=g;return ia|0}else if((W|0)==85){c[n>>2]=0;c[N>>2]=20;ia=20;i=g;return ia|0}else if((W|0)==98){c[N>>2]=20;ia=20;i=g;return ia|0}else if((W|0)==180){i=g;return h|0}return 0}function oO(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function pO(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;j=i;h=c[b+4>>2]|0;if((g-f|0)>=(h|0)){i=j;return}k=0-h|0;f=f+ -1+h&k;if((f|0)!=(k&g|0)){i=j;return}e=e<<16>>16;h=f>>c[b>>2];if((h|0)<=-1){i=j;return}g=c[b+104>>2]|0;if((h|0)>=(g|0)){i=j;return}f=c[b+112>>2]|0;h=(e>>3)-(da(f,h)|0)|0;if((f|0)>0){h=h+(da(f,g+ -1|0)|0)|0}k=(c[b+60>>2]|0)+h|0;a[k]=d[k]|0|128>>>(e&7);i=j;return}function qO(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=i;m=c[b+4>>2]|0;r=f+ -1|0;q=0-m|0;l=r+m&q;n=q&g;do{if((l|0)>(n|0)){p=c[h+12>>2]|0;o=p&7;if((l|0)!=(n+m|0)){i=k;return}do{if((o|0)==0){m=n}else if((o|0)==5|(o|0)==1){do{if((c[h+28>>2]|0)==(j|0)){if((c[h+16>>2]|0)>=1){break}if((p&16|0)==0){i=k;return}if((g-f|0)>=(c[b+8>>2]|0)){break}i=k;return}}while(0);do{if((c[j+28>>2]|0)==(h|0)){if((c[h+20>>2]|0)!=(e<<16>>16|0)){break}if((p&32|0)==0){i=k;return}if((g-f|0)>=(c[b+8>>2]|0)){break}i=k;return}}while(0);if((o|0)==1){m=n;break}m=(c[b+8>>2]|0)+((r+g|0)/2|0)&q}else if((o|0)==4){m=(c[b+8>>2]|0)+((r+g|0)/2|0)&q}else{i=k;return}}while(0);j=c[b>>2]|0;g=((m|0)==(l|0)?n:l)>>j;f=c[b+60>>2]|0;n=e<<16>>16;l=n>>3;n=128>>>(n&7);e=b+104|0;p=c[b+112>>2]|0;o=l-(da(g,p)|0)|0;if((p|0)>0){o=(da((c[e>>2]|0)+ -1|0,p)|0)+o|0}if((g|0)<=-1){e=f;f=l;l=m;break}if((g|0)>=(c[e>>2]|0)){e=f;f=l;l=m;break}if((n&(d[f+o|0]|0)|0)==0){e=f;f=l;l=m;break}i=k;return}else{f=e<<16>>16;j=c[b>>2]|0;e=c[b+60>>2]|0;n=128>>>(f&7);f=f>>3}}while(0);m=l>>j;if((m|0)<=-1){i=k;return}l=c[b+104>>2]|0;if((m|0)>=(l|0)){i=k;return}b=c[b+112>>2]|0;m=f-(da(b,m)|0)|0;if((b|0)>0){m=m+(da(b,l+ -1|0)|0)|0}r=e+m|0;a[r]=d[r]|0|n;i=k;return}function rO(a){a=a|0;i=i;return}function sO(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=i;j=e+100|0;k=c[j>>2]|0;do{if((k|0)==0){k=c[e+72>>2]|0;if((k|0)<(g|0)){n=c[e+4>>2]|0;k=((k+ -1+n&0-n)-k|0)<(c[e+8>>2]|0);n=e+92|0;l=e+40|0;m=c[l>>2]|0;if((c[n>>2]|0)==0){c[e+88>>2]=m;c[n>>2]=m;m=m+32|0;c[l>>2]=m}if(m>>>0>=(c[e+36>>2]|0)>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}m=e+88|0;c[(c[m>>2]|0)+12>>2]=0;c[(c[m>>2]|0)+20>>2]=0;c[(c[m>>2]|0)+16>>2]=0;c[(c[m>>2]|0)+8>>2]=c[l>>2];c[(c[m>>2]|0)+4>>2]=0;c[(c[m>>2]|0)+28>>2]=0;c[(c[m>>2]|0)+12>>2]=d[e+180|0]|0;s=(c[m>>2]|0)+12|0;c[s>>2]=c[s>>2]|8;if(!k){s=(c[m>>2]|0)+12|0;c[s>>2]=c[s>>2]|32}k=e+96|0;if((c[k>>2]|0)==0){c[k>>2]=c[m>>2]}c[j>>2]=1;a[e+86|0]=1;a[e+87|0]=0;l=63;break}if((k|0)<=(g|0)){l=62;break}k=((c[e+4>>2]|0)+ -1&k|0)<(c[e+8>>2]|0);m=e+92|0;l=e+40|0;n=c[l>>2]|0;if((c[m>>2]|0)==0){c[e+88>>2]=n;c[m>>2]=n;n=n+32|0;c[l>>2]=n}if(n>>>0>=(c[e+36>>2]|0)>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}m=e+88|0;c[(c[m>>2]|0)+12>>2]=0;c[(c[m>>2]|0)+20>>2]=0;c[(c[m>>2]|0)+16>>2]=0;c[(c[m>>2]|0)+8>>2]=c[l>>2];c[(c[m>>2]|0)+4>>2]=0;c[(c[m>>2]|0)+28>>2]=0;c[(c[m>>2]|0)+12>>2]=d[e+180|0]|0;if(!k){s=(c[m>>2]|0)+12|0;c[s>>2]=c[s>>2]|16}k=e+96|0;if((c[k>>2]|0)==0){c[k>>2]=c[m>>2]}c[j>>2]=2;a[e+86|0]=1;a[e+87|0]=0;l=64}else if((k|0)==1){m=e+72|0;k=c[m>>2]|0;if((k|0)<=(g|0)){l=63;break}n=e+4|0;o=e+8|0;s=((c[n>>2]|0)+ -1&k|0)<(c[o>>2]|0);l=e+40|0;r=c[l>>2]|0;k=e+88|0;q=c[k>>2]|0;p=r-(c[q+8>>2]|0)|0;if((p|0)<0){c[e+44>>2]=99;s=1;i=h;return s|0}if((p|0)>0){c[q+16>>2]=p>>2;do{if(!s){q=(c[k>>2]|0)+12|0;p=c[q>>2]|0;if((p&8|0)==0){c[q>>2]=p|32;break}else{c[q>>2]=p|16;break}}}while(0);r=c[k>>2]|0;s=c[l>>2]|0;c[k>>2]=s;c[l>>2]=s+32;c[s+16>>2]=0;c[(c[k>>2]|0)+8>>2]=c[l>>2];c[r+28>>2]=c[k>>2];r=e+84|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16;r=c[l>>2]|0}q=c[e+36>>2]|0;if(r>>>0>=q>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}p=e+87|0;a[p]=0;m=((c[n>>2]|0)+ -1&c[m>>2]|0)<(c[o>>2]|0);n=e+92|0;if((c[n>>2]|0)==0){c[k>>2]=r;c[n>>2]=r;r=r+32|0;c[l>>2]=r}if(r>>>0>=q>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}c[(c[k>>2]|0)+12>>2]=0;c[(c[k>>2]|0)+20>>2]=0;c[(c[k>>2]|0)+16>>2]=0;c[(c[k>>2]|0)+8>>2]=c[l>>2];c[(c[k>>2]|0)+4>>2]=0;c[(c[k>>2]|0)+28>>2]=0;c[(c[k>>2]|0)+12>>2]=d[e+180|0]|0;if(!m){s=(c[k>>2]|0)+12|0;c[s>>2]=c[s>>2]|16}l=e+96|0;if((c[l>>2]|0)==0){c[l>>2]=c[k>>2]}c[j>>2]=2;a[e+86|0]=1;a[p]=0;l=64}else if((k|0)==2){n=e+72|0;k=c[n>>2]|0;if((k|0)>=(g|0)){l=64;break}m=e+4|0;s=c[m>>2]|0;o=e+8|0;s=((k+ -1+s&0-s)-k|0)<(c[o>>2]|0);l=e+40|0;r=c[l>>2]|0;k=e+88|0;q=c[k>>2]|0;p=r-(c[q+8>>2]|0)|0;if((p|0)<0){c[e+44>>2]=99;s=1;i=h;return s|0}if((p|0)>0){c[q+16>>2]=p>>2;do{if(!s){p=(c[k>>2]|0)+12|0;q=c[p>>2]|0;if((q&8|0)==0){c[p>>2]=q|32;break}else{c[p>>2]=q|16;break}}}while(0);r=c[k>>2]|0;s=c[l>>2]|0;c[k>>2]=s;c[l>>2]=s+32;c[s+16>>2]=0;c[(c[k>>2]|0)+8>>2]=c[l>>2];c[r+28>>2]=c[k>>2];r=e+84|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16;r=c[l>>2]|0}q=c[e+36>>2]|0;if(r>>>0>=q>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}p=e+87|0;a[p]=0;n=c[n>>2]|0;m=c[m>>2]|0;m=((n+ -1+m&0-m)-n|0)<(c[o>>2]|0);n=e+92|0;if((c[n>>2]|0)==0){c[k>>2]=r;c[n>>2]=r;r=r+32|0;c[l>>2]=r}if(r>>>0>=q>>>0){c[e+44>>2]=98;s=1;i=h;return s|0}c[(c[k>>2]|0)+12>>2]=0;c[(c[k>>2]|0)+20>>2]=0;c[(c[k>>2]|0)+16>>2]=0;c[(c[k>>2]|0)+8>>2]=c[l>>2];c[(c[k>>2]|0)+4>>2]=0;c[(c[k>>2]|0)+28>>2]=0;c[(c[k>>2]|0)+12>>2]=d[e+180|0]|0;s=(c[k>>2]|0)+12|0;c[s>>2]=c[s>>2]|8;if(!m){s=(c[k>>2]|0)+12|0;c[s>>2]=c[s>>2]|32}l=e+96|0;if((c[l>>2]|0)==0){c[l>>2]=c[k>>2]}c[j>>2]=1;a[e+86|0]=1;a[p]=0;l=63}else{l=62}}while(0);do{if((l|0)==62){k=e+68|0;j=e+72|0}else if((l|0)==63){k=e+68|0;j=e+72|0;if((zO(e,c[k>>2]|0,c[j>>2]|0,f,g,c[e+76>>2]|0,c[e+80>>2]|0)|0)<<24>>24==0){break}else{g=1}i=h;return g|0}else if((l|0)==64){k=e+68|0;j=e+72|0;m=e+86|0;s=a[m]|0;l=zO(e,c[k>>2]|0,0-(c[j>>2]|0)|0,f,0-g|0,0-(c[e+80>>2]|0)|0,0-(c[e+76>>2]|0)|0)|0;do{if(s<<24>>24!=0){if((a[m]|0)!=0){break}s=(c[e+88>>2]|0)+20|0;c[s>>2]=0-(c[s>>2]|0)}}while(0);if(l<<24>>24==0){break}else{g=1}i=h;return g|0}}while(0);c[k>>2]=f;c[j>>2]=g;s=0;i=h;return s|0}function tO(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;j=i;n=d+184|0;m=d+52|0;c[m>>2]=n;l=d+68|0;c[d+200>>2]=c[l>>2];k=d+72|0;z=c[k>>2]|0;c[d+204>>2]=z;c[d+192>>2]=e;c[d+196>>2]=f;c[n>>2]=g;c[d+188>>2]=h;w=d+100|0;x=d+76|0;s=d+80|0;v=d+86|0;p=d+88|0;u=d+4|0;t=d+8|0;q=d+40|0;r=d+84|0;o=d+36|0;e=d+87|0;y=n;a:while(1){A=(z|0)>(h|0);do{if((f|0)<((A?h:z)|0)|(f|0)>((A?z:h)|0)){D=y+16|0;C=c[D>>2]|0;c[y+32>>2]=C;A=y+8|0;B=c[A>>2]|0;C=(B+C|0)/2|0;c[y+24>>2]=C;B=(g+B|0)/2|0;c[A>>2]=B;c[D>>2]=(B+C|0)/2|0;c[y+36>>2]=z;D=(f+z|0)/2|0;c[y+28>>2]=D;C=(h+f|0)/2|0;c[y+12>>2]=C;c[y+20>>2]=(C+D|0)/2|0;c[m>>2]=(c[m>>2]|0)+16}else{if((z|0)==(h|0)){c[m>>2]=y+ -16;break}f=(z|0)<(h|0);y=f?1:2;B=c[w>>2]|0;if((B|0)!=(y|0)){A=c[u>>2]|0;if(f){A=((z+ -1+A&0-A)-z|0)>=(c[t>>2]|0)}else{A=(A+ -1&z|0)>=(c[t>>2]|0)}z=A&1;if((B|0)!=0){B=c[q>>2]|0;C=c[p>>2]|0;D=B-(c[C+8>>2]|0)|0;if((D|0)<0){m=12;break a}if((D|0)>0){c[C+16>>2]=D>>2;do{if(A){B=(c[p>>2]|0)+12|0;A=c[B>>2]|0;if((A&8|0)==0){c[B>>2]=A|32;break}else{c[B>>2]=A|16;break}}}while(0);B=c[p>>2]|0;D=c[q>>2]|0;c[p>>2]=D;c[q>>2]=D+32;c[D+16>>2]=0;c[(c[p>>2]|0)+8>>2]=c[q>>2];c[B+28>>2]=c[p>>2];b[r>>1]=(b[r>>1]|0)+1<<16>>16;B=c[q>>2]|0}if(B>>>0>=(c[o>>2]|0)>>>0){m=20;break a}a[e]=0}if((wO(d,y,z)|0)<<24>>24!=0){d=1;m=32;break a}}y=c[x>>2]|0;z=c[s>>2]|0;if(f){if((xO(d,2,337,y,z)|0)<<24>>24==0){break}else{d=1;m=32;break a}}D=c[m>>2]|0;f=D+4|0;c[f>>2]=0-(c[f>>2]|0);C=D+12|0;c[C>>2]=0-(c[C>>2]|0);D=D+20|0;c[D>>2]=0-(c[D>>2]|0);D=a[v]|0;y=xO(d,2,337,0-z|0,0-y|0)|0;do{if(D<<24>>24!=0){if((a[v]|0)!=0){break}D=(c[p>>2]|0)+20|0;c[D>>2]=0-(c[D>>2]|0)}}while(0);c[f>>2]=0-(c[f>>2]|0);if(y<<24>>24!=0){d=1;m=32;break a}}}while(0);y=c[m>>2]|0;if(y>>>0<n>>>0){m=31;break}g=c[y>>2]|0;h=c[y+4>>2]|0;f=c[y+12>>2]|0;z=c[y+20>>2]|0}if((m|0)==12){c[d+44>>2]=99;D=1;i=j;return D|0}else if((m|0)==20){c[d+44>>2]=98;D=1;i=j;return D|0}else if((m|0)==31){c[l>>2]=g;c[k>>2]=h;D=0;i=j;return D|0}else if((m|0)==32){i=j;return d|0}return 0}function uO(d,e,f,g,h,j,k){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,C=0,D=0,E=0,F=0,G=0,H=0;l=i;p=d+184|0;o=d+52|0;c[o>>2]=p;n=d+68|0;c[d+208>>2]=c[n>>2];m=d+72|0;z=c[m>>2]|0;c[d+212>>2]=z;c[d+200>>2]=e;c[d+204>>2]=f;c[d+192>>2]=g;c[d+196>>2]=h;c[p>>2]=j;c[d+188>>2]=k;y=d+100|0;t=d+76|0;u=d+80|0;x=d+86|0;q=d+88|0;w=d+4|0;v=d+8|0;r=d+40|0;s=d+84|0;e=d+36|0;g=d+87|0;A=f;B=p;a:while(1){f=(z|0)<=(k|0);C=(A|0)>(h|0);do{if(((C?h:A)|0)<((f?z:k)|0)|((C?A:h)|0)>((f?k:z)|0)){C=B+24|0;D=c[C>>2]|0;c[B+48>>2]=D;H=B+8|0;F=B+16|0;E=c[F>>2]|0;G=(c[H>>2]|0)+1|0;f=j+G>>1;c[H>>2]=f;D=D+1+E>>1;c[B+40>>2]=D;E=(G+E>>1)+1|0;f=E+f>>1;c[F>>2]=f;D=E+D>>1;c[B+32>>2]=D;c[C>>2]=f+1+D>>1;c[B+52>>2]=z;h=h+1|0;C=k+h>>1;c[B+12>>2]=C;D=z+1+A>>1;c[B+44>>2]=D;A=(h+A>>1)+1|0;C=A+C>>1;c[B+20>>2]=C;D=A+D>>1;c[B+36>>2]=D;c[B+28>>2]=C+1+D>>1;c[o>>2]=(c[o>>2]|0)+24}else{if((z|0)==(k|0)){c[o>>2]=B+ -24;break}h=f?1:2;B=c[y>>2]|0;if((B|0)!=(h|0)){A=c[w>>2]|0;if(f){A=((z+ -1+A&0-A)-z|0)>=(c[v>>2]|0)}else{A=(A+ -1&z|0)>=(c[v>>2]|0)}z=A&1;if((B|0)!=0){B=c[r>>2]|0;D=c[q>>2]|0;C=B-(c[D+8>>2]|0)|0;if((C|0)<0){o=12;break a}if((C|0)>0){c[D+16>>2]=C>>2;do{if(A){A=(c[q>>2]|0)+12|0;B=c[A>>2]|0;if((B&8|0)==0){c[A>>2]=B|32;break}else{c[A>>2]=B|16;break}}}while(0);B=c[q>>2]|0;H=c[r>>2]|0;c[q>>2]=H;c[r>>2]=H+32;c[H+16>>2]=0;c[(c[q>>2]|0)+8>>2]=c[r>>2];c[B+28>>2]=c[q>>2];b[s>>1]=(b[s>>1]|0)+1<<16>>16;B=c[r>>2]|0}if(B>>>0>=(c[e>>2]|0)>>>0){o=20;break a}a[g]=0}if((wO(d,h,z)|0)<<24>>24!=0){d=1;o=32;break a}}h=c[t>>2]|0;z=c[u>>2]|0;if(f){if((xO(d,3,338,h,z)|0)<<24>>24==0){break}else{d=1;o=32;break a}}H=c[o>>2]|0;f=H+4|0;c[f>>2]=0-(c[f>>2]|0);G=H+12|0;c[G>>2]=0-(c[G>>2]|0);G=H+20|0;c[G>>2]=0-(c[G>>2]|0);H=H+28|0;c[H>>2]=0-(c[H>>2]|0);H=a[x]|0;h=xO(d,3,338,0-z|0,0-h|0)|0;do{if(H<<24>>24!=0){if((a[x]|0)!=0){break}H=(c[q>>2]|0)+20|0;c[H>>2]=0-(c[H>>2]|0)}}while(0);c[f>>2]=0-(c[f>>2]|0);if(h<<24>>24!=0){d=1;o=32;break a}}}while(0);B=c[o>>2]|0;if(B>>>0<p>>>0){o=31;break}j=c[B>>2]|0;k=c[B+4>>2]|0;h=c[B+12>>2]|0;A=c[B+20>>2]|0;z=c[B+28>>2]|0}if((o|0)==12){c[d+44>>2]=99;H=1;i=l;return H|0}else if((o|0)==20){c[d+44>>2]=98;H=1;i=l;return H|0}else if((o|0)==31){c[n>>2]=j;c[m>>2]=k;H=0;i=l;return H|0}else if((o|0)==32){i=l;return d|0}return 0}function vO(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=a+24|0;d=c[b>>2]|0;c[a+48>>2]=d;e=a+8|0;f=a+16|0;g=c[f>>2]|0;h=(c[e>>2]|0)+1|0;j=h+(c[a>>2]|0)>>1;c[e>>2]=j;d=g+1+d>>1;c[a+40>>2]=d;g=(h+g>>1)+1|0;j=g+j>>1;c[f>>2]=j;d=g+d>>1;c[a+32>>2]=d;c[b>>2]=j+1+d>>1;b=a+28|0;d=c[b>>2]|0;c[a+52>>2]=d;j=a+12|0;g=a+20|0;f=c[g>>2]|0;h=(c[j>>2]|0)+1|0;e=h+(c[a+4>>2]|0)>>1;c[j>>2]=e;d=f+1+d>>1;c[a+44>>2]=d;f=(h+f>>1)+1|0;e=f+e>>1;c[g>>2]=e;d=f+d>>1;c[a+36>>2]=d;c[b>>2]=e+1+d>>1;i=i;return}function wO(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;k=b+92|0;h=b+40|0;j=c[h>>2]|0;if((c[k>>2]|0)==0){c[b+88>>2]=j;c[k>>2]=j;j=j+32|0;c[h>>2]=j}if(j>>>0>=(c[b+36>>2]|0)>>>0){c[b+44>>2]=98;k=1;i=g;return k|0}h=b+88|0;c[(c[h>>2]|0)+12>>2]=0;c[(c[h>>2]|0)+20>>2]=0;c[(c[h>>2]|0)+16>>2]=0;c[(c[h>>2]|0)+8>>2]=c[b+40>>2];c[(c[h>>2]|0)+4>>2]=0;c[(c[h>>2]|0)+28>>2]=0;c[(c[h>>2]|0)+12>>2]=d[b+180|0]|0;do{if((e|0)==2){if(f<<24>>24==0){break}k=(c[h>>2]|0)+12|0;c[k>>2]=c[k>>2]|16}else if((e|0)==1){k=(c[h>>2]|0)+12|0;c[k>>2]=c[k>>2]|8;if(f<<24>>24==0){break}k=(c[h>>2]|0)+12|0;c[k>>2]=c[k>>2]|32}else{c[b+44>>2]=20;k=1;i=g;return k|0}}while(0);f=b+96|0;if((c[f>>2]|0)==0){c[f>>2]=c[h>>2]}c[b+100>>2]=e;a[b+86|0]=1;a[b+87|0]=0;k=0;i=g;return k|0}function xO(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;k=b+52|0;m=c[k>>2]|0;o=c[m+(d<<3)+4>>2]|0;r=c[m+4>>2]|0;h=b+40|0;n=c[h>>2]|0;a:do{if(!((r|0)<(f|0)|(o|0)>(g|0))){l=b+4|0;p=c[l>>2]|0;q=0-p|0;r=r&q;g=(r|0)>(g|0)?g:r;do{if((o|0)<(f|0)){o=f;q=n}else{f=o+ -1+p&q;if((o&65535&p+65535|0)!=0){o=f;q=n;break}o=b+87|0;if((a[o]|0)!=0){a[o]=0;n=n+ -4|0}c[n>>2]=c[m+(d<<3)>>2];o=f;f=(c[l>>2]|0)+f|0;q=n+4|0}}while(0);n=b+86|0;if((a[n]|0)!=0){c[(c[b+88>>2]|0)+20>>2]=o>>c[b>>2];a[n]=0}if((g|0)<(f|0)){n=q;break}if((q+((g-f>>c[b>>2])+1<<2)|0)>>>0>=(c[b+36>>2]|0)>>>0){c[h>>2]=q;c[b+44>>2]=98;u=1;i=j;return u|0}n=b+87|0;o=b+16|0;b=0-d|0;r=m;while(1){while(1){a[n]=0;u=c[r+4>>2]|0;if((u|0)<=(f|0)){p=19;break}t=r+(d<<3)|0;s=c[r+(d<<3)+4>>2]|0;u=u-s|0;if((u|0)<(c[o>>2]|0)){p=16;break}fd[e&511](r);if(t>>>0<m>>>0){n=q;break a}else{r=t}}do{if((p|0)==16){t=c[t>>2]|0;c[q>>2]=((da((c[r>>2]|0)-t|0,f-s|0)|0)/(u|0)|0)+t;f=(c[l>>2]|0)+f|0;q=q+4|0}else if((p|0)==19){if((u|0)!=(f|0)){break}a[n]=1;c[q>>2]=c[r>>2];f=(c[l>>2]|0)+f|0;q=q+4|0}}while(0);r=r+(b<<3)|0;if(r>>>0<m>>>0|(f|0)>(g|0)){n=q;break}}}}while(0);c[h>>2]=n;c[k>>2]=(c[k>>2]|0)+(0-d<<3);u=0;i=j;return u|0}function yO(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+16|0;d=c[b>>2]|0;c[a+32>>2]=d;f=a+8|0;e=c[f>>2]|0;d=(d+e|0)/2|0;c[a+24>>2]=d;e=((c[a>>2]|0)+e|0)/2|0;c[f>>2]=e;c[b>>2]=(e+d|0)/2|0;b=a+20|0;d=c[b>>2]|0;c[a+36>>2]=d;e=a+12|0;f=c[e>>2]|0;d=(d+f|0)/2|0;c[a+28>>2]=d;a=((c[a+4>>2]|0)+f|0)/2|0;c[e>>2]=a;c[b>>2]=(a+d|0)/2|0;i=i;return}function zO(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;k=i;l=f-d|0;f=g-e|0;if((f|0)<1|(g|0)<(h|0)|(e|0)>(j|0)){o=0;i=k;return o|0}if((e|0)<(h|0)){d=(_I(l,h-e|0,f)|0)+d|0;n=c[b>>2]|0;m=n;h=h>>n;n=0}else{h=c[b>>2]|0;m=h;h=e>>h;n=(c[b+4>>2]|0)+ -1&e}if((g|0)>(j|0)){e=0}else{e=(c[b+4>>2]|0)+ -1&g;j=g}g=j>>m;do{if((n|0)>0){if((h|0)==(g|0)){o=0;i=k;return o|0}else{d=(_I(l,(c[b+4>>2]|0)-n|0,f)|0)+d|0;j=b+87|0;h=h+1|0;break}}else{j=b+87|0;if((a[j]|0)==0){break}o=b+40|0;c[o>>2]=(c[o>>2]|0)+ -4;a[j]=0}}while(0);a[j]=(e|0)==0|0;e=b+86|0;if((a[e]|0)!=0){c[(c[b+88>>2]|0)+20>>2]=h;a[e]=0}o=g-h|0;n=o+1|0;e=b+40|0;if(((c[e>>2]|0)+(n<<2)|0)>>>0>=(c[b+36>>2]|0)>>>0){c[b+44>>2]=98;o=1;i=k;return o|0}m=b+4|0;b=c[m>>2]|0;if((l|0)>0){b=_I(b,l,f)|0;j=1;l=da(c[m>>2]|0,l)|0}else{l=0-l|0;b=0-(_I(b,l,f)|0)|0;j=-1;l=da(c[m>>2]|0,l)|0}m=(l|0)%(f|0)|0;l=c[e>>2]|0;if((o|0)>-1){o=h+ -1-g|0;g=g+((o|0)>-1?o:-1)+2-h|0;o=0-f|0;h=l;while(1){c[h>>2]=d;d=d+b|0;o=o+m|0;if((o|0)>-1){o=o-f|0;d=d+j|0}n=n+ -1|0;if((n|0)>0){h=h+4|0}else{break}}l=l+(g<<2)|0}c[e>>2]=l;o=0;i=k;return o|0}function AO(a,b){a=a|0;b=b|0;c[a+16>>2]=b;i=i;return 0}function BO(a,b){a=a|0;b=b|0;var e=0;e=i;if(b>>>0>=256){b=0;i=e;return b|0}b=d[(c[a+16>>2]|0)+(b+6)|0]|0;i=e;return b|0}function CO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=c[b+16>>2]|0;h=c[d>>2]|0;g=0;while(1){b=h+1|0;if(b>>>0>=256){b=0;break}h=a[f+(h+7)|0]|0;g=h&255;if(h<<24>>24==0){h=b}else{break}}c[d>>2]=b;i=e;return g|0}function DO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;e=i;g=(d[a+2|0]|0)<<8&65535|(d[a+3|0]|0);if((a+(g&65535)|0)>>>0>(c[b+4>>2]|0)>>>0|(g&65535)<262){wJ(b,8)}if((c[b+8>>2]|0)==0){i=e;return 0}f=b+172|0;g=1;a=a+6|0;while(1){if((d[a]|0)>>>0>=(c[f>>2]|0)>>>0){f=6;break}if(g>>>0>=256){f=9;break}g=g+1|0;a=a+1|0}if((f|0)==6){wJ(b,16)}else if((f|0)==9){i=e;return 0}return 0}function EO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=0;c[b>>2]=((d[a+4|0]|0)<<8&65535|(d[a+5|0]|0))&65535;i=i;return 0}function FO(a,b){a=a|0;b=b|0;var e=0,f=0;e=i;a=c[a+16>>2]|0;if(b>>>0>=65536){f=0;i=e;return f|0}f=b>>>8;do{if((f|0)==0){f=b<<1&510;if(((d[a+(f+6)|0]|0)<<8&65535|(d[a+(f+7)|0]|0))<<16>>16==0){a=a+518|0;break}else{b=0}i=e;return b|0}else{f=f<<1;f=((d[a+(f+6)|0]|0)<<8&65535|(d[a+(f+7)|0]|0))&65528;if((f|0)==0){b=0}else{a=a+(f+518)|0;break}i=e;return b|0}}while(0);f=(d[a+6|0]|0)<<8&65535|(d[a+7|0]|0);b=(b&255)-(((d[a]|0)<<8&65535|(d[a+1|0]|0))&65535)|0;if(b>>>0>=(((d[a+2|0]|0)<<8&65535|(d[a+3|0]|0))&65535)>>>0|f<<16>>16==0){f=0;i=e;return f|0}b=(f&65535)+(b<<1)|0;b=(d[a+(b+6)|0]|0)<<8&65535|(d[a+(b+7)|0]|0);if(b<<16>>16==0){f=0;i=e;return f|0}f=(b&65535)+(((d[a+4|0]|0)<<8&65535|(d[a+5|0]|0))&65535)&65535;i=e;return f|0}function GO(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;f=i;a=c[a+16>>2]|0;k=(c[b>>2]|0)+1|0;if(k>>>0>=65536){q=0;o=0;p=b;c[p>>2]=o;i=f;return q|0}g=a+518|0;a:while(1){h=k>>>8;if((h|0)==0){q=k<<1&510;if(((d[a+(q+6)|0]|0)<<8&65535|(d[a+(q+7)|0]|0))<<16>>16==0){m=g;e=6}}else{h=h<<1;h=((d[a+(h+6)|0]|0)<<8&65535|(d[a+(h+7)|0]|0))&65528;if((h|0)!=0){m=a+(h+518)|0;e=6}}do{if((e|0)==6){e=0;o=((d[m]|0)<<8&65535|(d[m+1|0]|0))&65535;j=((d[m+2|0]|0)<<8&65535|(d[m+3|0]|0))&65535;h=((d[m+4|0]|0)<<8&65535|(d[m+5|0]|0))&65535;n=(d[m+6|0]|0)<<8&65535|(d[m+7|0]|0);p=k&255;if(n<<16>>16==0){break}q=p>>>0<o>>>0;l=q?0:p-o|0;k=(q?o:p)+(k&-256)|0;if(l>>>0>=j>>>0){break}n=m+((l<<1)+6+(n&65535))|0;while(1){m=n+2|0;n=(d[n]|0)<<8&65535|(d[n+1|0]|0);if(n<<16>>16!=0){n=(n&65535)+h&65535;if((n|0)!=0){e=13;break a}}l=l+1|0;k=k+1|0;if(l>>>0<j>>>0){n=m}else{break}}}}while(0);k=k+256&-256;if(k>>>0>=65536){n=0;k=0;e=13;break}}if((e|0)==13){q=b;c[q>>2]=k;i=f;return n|0}return 0}function HO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;s=(d[a+2|0]|0)<<8&65535|(d[a+3|0]|0);e=a+(s&65535)|0;k=b+4|0;if(e>>>0>(c[k>>2]|0)>>>0|(s&65535)<518){wJ(b,8)}g=b+8|0;l=a+518|0;m=0;o=0;p=a+6|0;while(1){n=p+2|0;p=((d[p]|0)<<8&65535|(d[p+1|0]|0))&65535;if((c[g>>2]|0)>>>0>1){if((p&7|0)!=0){j=6;break}}h=p>>>3;h=h>>>0>m>>>0?h:m;o=o+1|0;if(o>>>0<256){m=h;p=n}else{break}}if((j|0)==6){wJ(b,8)}j=a+((h<<3)+526)|0;if(j>>>0>(c[k>>2]|0)>>>0){wJ(b,8)}k=b+172|0;a=0;o=l;a:while(1){q=(d[o]|0)<<8&65535|(d[o+1|0]|0);r=q&65535;t=(d[o+2|0]|0)<<8&65535|(d[o+3|0]|0);n=t&65535;l=((d[o+4|0]|0)<<8&65535|(d[o+5|0]|0))&65535;m=o+8|0;s=(d[o+6|0]|0)<<8&65535|(d[o+7|0]|0);p=s&65535;do{if(t<<16>>16!=0){if((c[g>>2]|0)>>>0>1){if((q&65535)>255){j=15;break a}if((n+r|0)>>>0>256){j=15;break a}}if(s<<16>>16==0){break}p=p+6|0;if((o+p|0)>>>0<j>>>0){j=19;break a}if((o+(p+(n<<1))|0)>>>0>e>>>0){j=19;break a}if((c[g>>2]|0)==0){break}t=(n<<1)+8|0;n=o+t|0;if(t>>>0>8){o=m}else{break}while(1){m=o+2|0;o=(d[o]|0)<<8&65535|(d[o+1|0]|0);if(o<<16>>16!=0){if(((o&65535)+l&65535)>>>0>=(c[k>>2]|0)>>>0){j=24;break a}}if(m>>>0<n>>>0){o=m}else{break}}}}while(0);a=a+1|0;if(a>>>0>h>>>0){j=27;break}else{o=m}}if((j|0)==15){wJ(b,8)}else if((j|0)==19){wJ(b,9)}else if((j|0)==24){wJ(b,16)}else if((j|0)==27){i=f;return 0}return 0}function IO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=2;c[b>>2]=((d[a+4|0]|0)<<8&65535|(d[a+5|0]|0))&65535;i=i;return 0}function JO(a,b){a=a|0;b=b|0;c[a+16>>2]=b;c[a+32>>2]=(((d[b+6|0]|0)<<8&65535|(d[b+7|0]|0))&65535)>>>1;c[a+24>>2]=-1;c[a+28>>2]=0;i=i;return 0}function KO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;f=i;i=i+8|0;e=f;c[f>>2]=b;if(b>>>0>65535){f=0;i=d;return f|0}if((c[a+20>>2]&1|0)==0){f=DQ(a,e,0)|0;i=d;return f|0}else{f=BQ(a,e,0)|0;i=d;return f|0}return 0}function LO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;f=c[b>>2]|0;if(f>>>0>65534){f=0;i=d;return f|0}if((c[a+20>>2]&1|0)!=0){f=BQ(a,b,1)|0;i=d;return f|0}e=a+24|0;if((f|0)!=(c[e>>2]|0)){f=DQ(a,b,1)|0;i=d;return f|0}CQ(a);a=c[a+28>>2]|0;if((a|0)==0){f=0;i=d;return f|0}c[b>>2]=c[e>>2];f=a;i=d;return f|0}function MO(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=i;C=(d[b+2|0]|0)<<8&65535|(d[b+3|0]|0);j=C&65535;if((C&65535)<16){wJ(e,8)}h=e+4|0;g=e+8|0;do{if((b+j|0)>>>0>(c[h>>2]|0)>>>0){if((c[g>>2]|0)==0){n=(c[h>>2]|0)-b|0;break}else{wJ(e,8)}}else{n=j}}while(0);j=((d[b+6|0]|0)<<8&65535|(d[b+7|0]|0))&65535;do{if((c[g>>2]|0)>>>0>1){if((j&1|0)==0){break}wJ(e,8)}}while(0);j=j>>>1;l=j<<1;if(n>>>0<((j<<3)+16|0)>>>0){wJ(e,8)}do{if((c[g>>2]|0)>>>0>1){C=a[b+9|0]|0;o=((d[b+8|0]|0)<<8&65535|C&255)&65535;m=((d[b+10|0]|0)<<8&65535|(d[b+11|0]|0))&65535;B=a[b+13|0]|0;k=((d[b+12|0]|0)<<8&65535|B&255)&65535;if(((B|C)&1)!=0){wJ(e,8)}o=o>>>1;if(o>>>0>j>>>0|o<<1>>>0<j>>>0){wJ(e,8)}if(((k>>>1)+o|0)!=(j|0)){wJ(e,8)}if((o|0)==(1<<m|0)){break}wJ(e,8)}}while(0);w=b+14|0;k=l+16|0;o=b+k|0;k=k+l|0;t=b+k|0;k=k+l|0;y=b+k|0;k=b+(k+l)|0;do{if((c[g>>2]|0)>>>0>1){if(((d[b+(l+12)|0]|0)<<8&65535|(d[b+(l+13)|0]|0))<<16>>16==-1){break}wJ(e,8)}}while(0);if((j|0)==0){C=0;i=f;return C|0}l=j+ -1|0;m=e+172|0;b=b+n|0;u=0;x=0;v=0;n=0;z=o;a:while(1){o=z+2|0;z=(d[z]|0)<<8&65535|(d[z+1|0]|0);s=z&65535;p=w+2|0;A=(d[w]|0)<<8&65535|(d[w+1|0]|0);q=A&65535;r=t+2|0;w=((d[t]|0)<<8&65535|(d[t+1|0]|0))&65535;t=y+2|0;C=(d[y]|0)<<8&65535|(d[y+1|0]|0);B=C&65535;if((z&65535)>(A&65535)){g=25;break}do{if(!(s>>>0>x>>>0|(n|0)==0)){if((c[g>>2]|0)!=0){g=28;break a}if(v>>>0>s>>>0|x>>>0>q>>>0){u=u|1;break}else{u=u|2;break}}}while(0);do{if(C<<16>>16==-1){if((c[g>>2]|0)>>>0>1){g=48;break a}if(!((n|0)==(l|0)&z<<16>>16==-1&A<<16>>16==-1)){g=48;break a}}else if(C<<16>>16!=0){v=y+B|0;do{if((c[g>>2]|0)==0){if((n|0)==(l|0)&z<<16>>16==-1&A<<16>>16==-1){break}if(v>>>0<k>>>0){g=40;break a}if((y+((q-s<<1)+2+B)|0)>>>0>(c[h>>2]|0)>>>0){g=40;break a}}else{if(v>>>0<k>>>0){g=36;break a}if((y+((q-s<<1)+2+B)|0)>>>0>b>>>0){g=36;break a}}}while(0);if((c[g>>2]|0)!=0&(z&65535)<(A&65535)){y=s}else{break}while(1){x=v+2|0;v=(d[v]|0)<<8&65535|(d[v+1|0]|0);if(v<<16>>16!=0){if(((v&65535)+w&65535)>>>0>=(c[m>>2]|0)>>>0){g=44;break a}}y=y+1|0;if(y>>>0<q>>>0){v=x}else{break}}}}while(0);n=n+1|0;if(n>>>0<j>>>0){z=o;y=t;w=p;t=r;v=s;x=q}else{g=50;break}}if((g|0)==25){wJ(e,8)}else if((g|0)==28){wJ(e,8)}else if((g|0)==36){wJ(e,8)}else if((g|0)==40){wJ(e,8)}else if((g|0)==44){wJ(e,16)}else if((g|0)==48){wJ(e,8)}else if((g|0)==50){i=f;return u|0}return 0}function NO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=4;c[b>>2]=((d[a+4|0]|0)<<8&65535|(d[a+5|0]|0))&65535;i=i;return 0}function OO(a,b){a=a|0;b=b|0;var e=0;e=i;a=c[a+16>>2]|0;b=b-(((d[a+6|0]|0)<<8&65535|(d[a+7|0]|0))&65535)|0;if(b>>>0>=(((d[a+8|0]|0)<<8&65535|(d[a+9|0]|0))&65535)>>>0){a=0;i=e;return a|0}b=b<<1;a=((d[a+(b+10)|0]|0)<<8&65535|(d[a+(b+11)|0]|0))&65535;i=e;return a|0}function PO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=c[a+16>>2]|0;f=(c[b>>2]|0)+1|0;h=((d[g+6|0]|0)<<8&65535|(d[g+7|0]|0))&65535;a=((d[g+8|0]|0)<<8&65535|(d[g+9|0]|0))&65535;a:do{if(f>>>0>65535){g=0;f=0}else{f=f>>>0<h>>>0?h:f;j=f-h|0;if(j>>>0>=a>>>0){g=0;f=0;break}h=j;j=g+((j<<1)+10)|0;while(1){k=(d[j]|0)<<8&65535|(d[j+1|0]|0);g=k&65535;if(k<<16>>16!=0){break a}h=h+1|0;if(h>>>0<a>>>0){f=f+1|0;j=j+2|0}else{f=0;break}}}}while(0);c[b>>2]=f;i=e;return g|0}function QO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;f=a+10|0;j=b+4|0;if(f>>>0>(c[j>>2]|0)>>>0){wJ(b,8)}k=((d[a+2|0]|0)<<8&65535|(d[a+3|0]|0))&65535;h=(d[a+8|0]|0)<<8&65535|(d[a+9|0]|0);g=h&65535;if((a+k|0)>>>0>(c[j>>2]|0)>>>0){wJ(b,8)}if(k>>>0<((g<<1)+10|0)>>>0){wJ(b,8)}if((c[b+8>>2]|0)==0|h<<16>>16==0){i=e;return 0}a=b+172|0;while(1){if((((d[f]|0)<<8&65535|(d[f+1|0]|0))&65535)>>>0>=(c[a>>2]|0)>>>0){f=9;break}g=g+ -1|0;if((g|0)==0){f=11;break}else{f=f+2|0}}if((f|0)==9){wJ(b,16)}else if((f|0)==11){i=e;return 0}return 0}function RO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=6;c[b>>2]=((d[a+4|0]|0)<<8&65535|(d[a+5|0]|0))&65535;i=i;return 0}function SO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0;e=i;a=c[a+16>>2]|0;j=(d[a+8205|0]|0)<<16|(d[a+8204|0]|0)<<24|(d[a+8206|0]|0)<<8|(d[a+8207|0]|0);if((j|0)==0){j=0;i=e;return j|0}h=a+8208|0;while(1){g=(d[h+1|0]|0)<<16|(d[h]|0)<<24|(d[h+2|0]|0)<<8|(d[h+3|0]|0);f=(d[h+9|0]|0)<<16|(d[h+8|0]|0)<<24|(d[h+10|0]|0)<<8;a=d[h+11|0]|0;if(g>>>0>b>>>0){b=0;h=7;break}j=j+ -1|0;if(((d[h+4|0]|0)<<24|(d[h+5|0]|0)<<16|(d[h+6|0]|0)<<8|(d[h+7|0]|0))>>>0>=b>>>0){h=6;break}if((j|0)==0){b=0;h=7;break}else{h=h+12|0}}if((h|0)==6){j=b-g+(f|a)|0;i=e;return j|0}else if((h|0)==7){i=e;return b|0}return 0}function TO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0;e=i;f=c[a+16>>2]|0;g=(d[f+8205|0]|0)<<16|(d[f+8204|0]|0)<<24|(d[f+8206|0]|0)<<8|(d[f+8207|0]|0);if((g|0)==0){j=0;g=0;h=b;c[h>>2]=g;i=e;return j|0}a=(c[b>>2]|0)+1|0;j=f+8208|0;while(1){h=(d[j+1|0]|0)<<16|(d[j]|0)<<24|(d[j+2|0]|0)<<8|(d[j+3|0]|0);f=j+12|0;a=a>>>0<h>>>0?h:a;if(a>>>0<=((d[j+5|0]|0)<<16|(d[j+4|0]|0)<<24|(d[j+6|0]|0)<<8|(d[j+7|0]|0))>>>0){h=((d[j+8|0]|0)<<24|(d[j+9|0]|0)<<16|(d[j+10|0]|0)<<8|(d[j+11|0]|0))+(a-h)|0;if((h|0)!=0){f=6;break}}g=g+ -1|0;if((g|0)==0){h=0;a=0;f=6;break}else{j=f}}if((f|0)==6){j=b;c[j>>2]=a;i=e;return h|0}return 0}function UO(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;q=a+8208|0;g=b+4|0;if(q>>>0>(c[g>>2]|0)>>>0){wJ(b,8)}p=(d[a+5|0]|0)<<16|(d[a+4|0]|0)<<24|(d[a+6|0]|0)<<8|(d[a+7|0]|0);if(p>>>0>((c[g>>2]|0)-a|0)>>>0|p>>>0<8208){wJ(b,8)}f=(d[a+8205|0]|0)<<16|(d[a+8204|0]|0)<<24|(d[a+8206|0]|0)<<8|(d[a+8207|0]|0);if((a+((f*12|0)+8208)|0)>>>0>(c[g>>2]|0)>>>0){wJ(b,8)}if((f|0)==0){i=e;return 0}h=b+8|0;g=b+172|0;p=0;k=0;a:while(1){n=(d[q+1|0]|0)<<16|(d[q]|0)<<24;m=n|(d[q+2|0]|0)<<8|(d[q+3|0]|0);o=(d[q+5|0]|0)<<16|(d[q+4|0]|0)<<24;j=o|(d[q+6|0]|0)<<8|(d[q+7|0]|0);l=q+12|0;if(m>>>0>j>>>0){a=10;break}if(!((k|0)==0|m>>>0>p>>>0)){a=12;break}do{if((c[h>>2]|0)!=0){p=j-m|0;if((p+((d[q+9|0]|0)<<16|(d[q+8|0]|0)<<24|(d[q+10|0]|0)<<8|(d[q+11|0]|0))|0)>>>0>=(c[g>>2]|0)>>>0){a=15;break a}p=p+1|0;if((n|0)==0){if((o|0)!=0){a=24;break a}if((p|0)==0){break}while(1){if(((d[a+((m>>>3&8191)+12)|0]|0)&128>>>(m&7)|0)!=0){a=27;break a}p=p+ -1|0;if((p|0)==0){break}else{m=m+1|0}}}else{if((p|0)==0){break}while(1){if(((d[a+((m>>>19)+12)|0]|0)&128>>>(m>>>16&7)|0)==0){a=19;break a}if(((d[a+((m>>>3&8191)+12)|0]|0)&128>>>(m&7)|0)==0){a=21;break a}p=p+ -1|0;if((p|0)==0){break}else{m=m+1|0}}}}}while(0);k=k+1|0;if(k>>>0<f>>>0){q=l;p=j}else{a=30;break}}if((a|0)==10){wJ(b,8)}else if((a|0)==12){wJ(b,8)}else if((a|0)==15){wJ(b,16)}else if((a|0)==19){wJ(b,8)}else if((a|0)==21){wJ(b,8)}else if((a|0)==24){wJ(b,8)}else if((a|0)==27){wJ(b,8)}else if((a|0)==30){i=e;return 0}return 0}function VO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=8;c[b>>2]=(d[a+9|0]|0)<<16|(d[a+8|0]|0)<<24|(d[a+10|0]|0)<<8|(d[a+11|0]|0);i=i;return 0}function WO(a,b){a=a|0;b=b|0;var e=0;e=i;a=c[a+16>>2]|0;b=b-((d[a+13|0]|0)<<16|(d[a+12|0]|0)<<24|(d[a+14|0]|0)<<8|(d[a+15|0]|0))|0;if(b>>>0>=((d[a+17|0]|0)<<16|(d[a+16|0]|0)<<24|(d[a+18|0]|0)<<8|(d[a+19|0]|0))>>>0){a=0;i=e;return a|0}b=b<<1;a=((d[a+(b+20)|0]|0)<<8&65535|(d[a+(b+21)|0]|0))&65535;i=e;return a|0}function XO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;f=c[a+16>>2]|0;h=(c[b>>2]|0)+1|0;g=(d[f+13|0]|0)<<16|(d[f+12|0]|0)<<24|(d[f+14|0]|0)<<8|(d[f+15|0]|0);a=(d[f+17|0]|0)<<16|(d[f+16|0]|0)<<24|(d[f+18|0]|0)<<8|(d[f+19|0]|0);h=h>>>0<g>>>0?g:h;j=h-g|0;if(j>>>0>=a>>>0){g=h;j=0;h=b;c[h>>2]=g;i=e;return j|0}g=j;j=f+((j<<1)+20)|0;while(1){k=(d[j]|0)<<8&65535|(d[j+1|0]|0);f=k&65535;if(k<<16>>16!=0){a=5;break}h=h+1|0;g=g+1|0;if(g>>>0<a>>>0){j=j+2|0}else{a=5;break}}if((a|0)==5){k=b;c[k>>2]=h;i=e;return f|0}return 0}function YO(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0;e=i;f=a+20|0;j=b+4|0;if(f>>>0>(c[j>>2]|0)>>>0){wJ(b,8)}h=(d[a+5|0]|0)<<16|(d[a+4|0]|0)<<24|(d[a+6|0]|0)<<8|(d[a+7|0]|0);g=(d[a+17|0]|0)<<16|(d[a+16|0]|0)<<24|(d[a+18|0]|0)<<8|(d[a+19|0]|0);if(h>>>0>((c[j>>2]|0)-a|0)>>>0){wJ(b,8)}if(h>>>0<((g<<1)+20|0)>>>0){wJ(b,8)}if((c[b+8>>2]|0)==0|(g|0)==0){i=e;return 0}h=b+172|0;while(1){if((((d[f]|0)<<8&65535|(d[f+1|0]|0))&65535)>>>0>=(c[h>>2]|0)>>>0){f=9;break}g=g+ -1|0;if((g|0)==0){f=11;break}else{f=f+2|0}}if((f|0)==9){wJ(b,16)}else if((f|0)==11){i=e;return 0}return 0}function ZO(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=10;c[b>>2]=(d[a+9|0]|0)<<16|(d[a+8|0]|0)<<24|(d[a+10|0]|0)<<8|(d[a+11|0]|0);i=i;return 0}function _O(b,e){b=b|0;e=e|0;c[b+16>>2]=e;c[b+40>>2]=(d[e+13|0]|0)<<16|(d[e+12|0]|0)<<24|(d[e+14|0]|0)<<8|(d[e+15|0]|0);a[b+24|0]=0;i=i;return 0}function $O(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=i;i=i+8|0;c[e>>2]=b;b=AQ(a,e,0)|0;i=d;return b|0}function aP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=b+28|0;g=c[f>>2]|0;if((g|0)==-1){h=0;i=e;return h|0}h=b+24|0;do{if((a[h]|0)!=0){if((g|0)!=(c[d>>2]|0)){break}zQ(b);if((a[h]|0)==0){h=0;i=e;return h|0}b=c[b+32>>2]|0;if((b|0)==0){h=0;i=e;return h|0}c[d>>2]=c[f>>2];h=b;i=e;return h|0}}while(0);h=AQ(b,d,1)|0;i=e;return h|0}function bP(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;e=i;k=a+16|0;h=b+4|0;if(k>>>0>(c[h>>2]|0)>>>0){wJ(b,8)}g=(d[a+5|0]|0)<<16|(d[a+4|0]|0)<<24|(d[a+6|0]|0)<<8|(d[a+7|0]|0);f=(d[a+13|0]|0)<<16|(d[a+12|0]|0)<<24|(d[a+14|0]|0)<<8|(d[a+15|0]|0);if(g>>>0>((c[h>>2]|0)-a|0)>>>0){wJ(b,8)}if(g>>>0<((f*12|0)+16|0)>>>0){wJ(b,8)}if((f|0)==0){i=e;return 0}h=b+8|0;g=b+172|0;a=0;j=0;n=k;while(1){m=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);k=(d[n+5|0]|0)<<16|(d[n+4|0]|0)<<24|(d[n+6|0]|0)<<8|(d[n+7|0]|0);l=n+12|0;if(m>>>0>k>>>0){f=9;break}if(!((j|0)==0|m>>>0>a>>>0)){f=11;break}if((c[h>>2]|0)!=0){if((k-m+((d[n+9|0]|0)<<16|(d[n+8|0]|0)<<24|(d[n+10|0]|0)<<8|(d[n+11|0]|0))|0)>>>0>=(c[g>>2]|0)>>>0){f=14;break}}j=j+1|0;if(j>>>0<f>>>0){n=l;a=k}else{f=16;break}}if((f|0)==9){wJ(b,8)}else if((f|0)==11){wJ(b,8)}else if((f|0)==14){wJ(b,16)}else if((f|0)==16){i=e;return 0}return 0}function cP(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=12;c[b>>2]=(d[a+9|0]|0)<<16|(d[a+8|0]|0)<<24|(d[a+10|0]|0)<<8|(d[a+11|0]|0);i=i;return 0}function dP(b,e){b=b|0;e=e|0;c[b+16>>2]=e;c[b+40>>2]=(d[e+13|0]|0)<<16|(d[e+12|0]|0)<<24|(d[e+14|0]|0)<<8|(d[e+15|0]|0);a[b+24|0]=0;i=i;return 0}function eP(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=i;i=i+8|0;c[e>>2]=b;b=yQ(a,e,0)|0;i=d;return b|0}function fP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=b+28|0;g=c[f>>2]|0;if((g|0)==-1){h=0;i=e;return h|0}h=b+24|0;do{if((a[h]|0)!=0){if((g|0)!=(c[d>>2]|0)){break}xQ(b);if((a[h]|0)==0){h=0;i=e;return h|0}b=c[b+32>>2]|0;if((b|0)==0){h=0;i=e;return h|0}c[d>>2]=c[f>>2];h=b;i=e;return h|0}}while(0);h=yQ(b,d,1)|0;i=e;return h|0}function gP(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;e=i;k=a+16|0;h=b+4|0;if(k>>>0>(c[h>>2]|0)>>>0){wJ(b,8)}g=(d[a+5|0]|0)<<16|(d[a+4|0]|0)<<24|(d[a+6|0]|0)<<8|(d[a+7|0]|0);f=(d[a+13|0]|0)<<16|(d[a+12|0]|0)<<24|(d[a+14|0]|0)<<8|(d[a+15|0]|0);if(g>>>0>((c[h>>2]|0)-a|0)>>>0){wJ(b,8)}if(g>>>0<((f*12|0)+16|0)>>>0){wJ(b,8)}if((f|0)==0){i=e;return 0}h=b+8|0;g=b+172|0;a=0;j=0;n=k;while(1){m=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);k=(d[n+5|0]|0)<<16|(d[n+4|0]|0)<<24|(d[n+6|0]|0)<<8|(d[n+7|0]|0);l=n+12|0;if(m>>>0>k>>>0){f=9;break}if(!((j|0)==0|m>>>0>a>>>0)){f=11;break}if((c[h>>2]|0)!=0){if(((d[n+9|0]|0)<<16|(d[n+8|0]|0)<<24|(d[n+10|0]|0)<<8|(d[n+11|0]|0))>>>0>=(c[g>>2]|0)>>>0){f=14;break}}j=j+1|0;if(j>>>0<f>>>0){n=l;a=k}else{f=16;break}}if((f|0)==9){wJ(b,8)}else if((f|0)==11){wJ(b,8)}else if((f|0)==14){wJ(b,16)}else if((f|0)==16){i=e;return 0}return 0}function hP(a,b){a=a|0;b=b|0;a=c[a+16>>2]|0;c[b+4>>2]=13;c[b>>2]=(d[a+9|0]|0)<<16|(d[a+8|0]|0)<<24|(d[a+10|0]|0)<<8|(d[a+11|0]|0);i=i;return 0}function iP(a,b){a=a|0;b=b|0;c[a+16>>2]=b;c[a+24>>2]=(d[b+7|0]|0)<<16|(d[b+6|0]|0)<<24|(d[b+8|0]|0)<<8|(d[b+9|0]|0);c[a+28>>2]=0;c[a+32>>2]=0;i=i;return 0}function jP(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[a+36>>2]|0;c[a+28>>2]=0;if((d|0)==0){i=b;return}e=a+32|0;a=c[e>>2]|0;if((a|0)==0){i=b;return}lJ(d,a);c[e>>2]=0;i=b;return}function kP(a,b){a=a|0;b=b|0;i=i;return 0}function lP(a,b){a=a|0;b=b|0;c[b>>2]=0;i=i;return 0}function mP(a,b,e,f){a=a|0;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;g=i;a=c[a+16>>2]|0;j=(d[a+7|0]|0)<<16|(d[a+6|0]|0)<<24|(d[a+8|0]|0)<<8|(d[a+9|0]|0);if((j|0)==0){q=0;i=g;return q|0}else{l=0}a:while(1){while(1){m=(l+j|0)>>>1;h=m*11|0;k=(d[a+(h+11)|0]|0)<<8|(d[a+(h+10)|0]|0)<<16|(d[a+(h+12)|0]|0);if(k>>>0>f>>>0){break}l=m+1|0;if(k>>>0>=f>>>0){f=7;break a}if(l>>>0>=j>>>0){e=0;f=17;break a}}if(l>>>0<m>>>0){j=m}else{e=0;f=17;break}}if((f|0)==7){f=a+(h+13)|0;if((f|0)==0){q=0;i=g;return q|0}m=(d[a+(h+14)|0]|0)<<16|(d[f]|0)<<24|(d[a+(h+15)|0]|0)<<8|(d[a+(h+16)|0]|0);j=(d[a+(h+18)|0]|0)<<16|(d[a+(h+17)|0]|0)<<24|(d[a+(h+19)|0]|0)<<8|(d[a+(h+20)|0]|0);b:do{if((m|0)!=0){f=m+4|0;k=m+5|0;h=m+6|0;l=m+7|0;p=(d[a+(m+1)|0]|0)<<16|(d[a+m|0]|0)<<24|(d[a+(m+2)|0]|0)<<8|(d[a+(m+3)|0]|0);m=0;while(1){while(1){if(m>>>0>=p>>>0){break b}n=(p+m|0)>>>1;o=n<<2;q=(d[a+(k+o)|0]|0)<<8|(d[a+(f+o)|0]|0)<<16|(d[a+(h+o)|0]|0);if(q>>>0>e>>>0){p=n}else{break}}if(((d[a+(l+o)|0]|0)+q|0)>>>0<e>>>0){m=n+1|0}else{break}}q=Bd[c[(c[b+12>>2]|0)+12>>2]&255](b,e)|0;i=g;return q|0}}while(0);if((j|0)==0){q=0;i=g;return q|0}q=wQ(a+j|0,e)|0;i=g;return q|0}else if((f|0)==17){i=g;return e|0}return 0}function nP(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;a=c[a+16>>2]|0;h=(d[a+7|0]|0)<<16|(d[a+6|0]|0)<<24|(d[a+8|0]|0)<<8|(d[a+9|0]|0);if((h|0)==0){p=-1;i=f;return p|0}else{k=0}a:while(1){while(1){l=(k+h|0)>>>1;g=l*11|0;j=(d[a+(g+11)|0]|0)<<8|(d[a+(g+10)|0]|0)<<16|(d[a+(g+12)|0]|0);if(j>>>0>e>>>0){break}k=l+1|0;if(j>>>0>=e>>>0){e=7;break a}if(k>>>0>=h>>>0){b=-1;e=17;break a}}if(k>>>0<l>>>0){h=l}else{b=-1;e=17;break}}if((e|0)==7){e=a+(g+13)|0;if((e|0)==0){p=-1;i=f;return p|0}l=(d[a+(g+14)|0]|0)<<16|(d[e]|0)<<24|(d[a+(g+15)|0]|0)<<8|(d[a+(g+16)|0]|0);e=(d[a+(g+18)|0]|0)<<16|(d[a+(g+17)|0]|0)<<24|(d[a+(g+19)|0]|0)<<8|(d[a+(g+20)|0]|0);b:do{if((l|0)!=0){h=l+4|0;j=l+5|0;g=l+6|0;k=l+7|0;o=(d[a+(l+1)|0]|0)<<16|(d[a+l|0]|0)<<24|(d[a+(l+2)|0]|0)<<8|(d[a+(l+3)|0]|0);l=0;while(1){while(1){if(l>>>0>=o>>>0){break b}m=(o+l|0)>>>1;p=m<<2;n=(d[a+(j+p)|0]|0)<<8|(d[a+(h+p)|0]|0)<<16|(d[a+(g+p)|0]|0);if(n>>>0>b>>>0){o=m}else{break}}if(((d[a+(k+p)|0]|0)+n|0)>>>0<b>>>0){l=m+1|0}else{b=1;break}}i=f;return b|0}}while(0);do{if((e|0)!=0){if((wQ(a+e|0,b)|0)==0){break}else{b=0}i=f;return b|0}}while(0);p=-1;i=f;return p|0}else if((e|0)==17){i=f;return b|0}return 0}function oP(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;k=i;i=i+8|0;f=c[a+24>>2]|0;g=c[a+16>>2]|0;j=f+1|0;h=a+28|0;l=c[h>>2]|0;c[k>>2]=0;do{if(l>>>0<j>>>0){c[a+36>>2]=b;a=a+32|0;l=oJ(b,4,l,j,c[a>>2]|0,k)|0;c[a>>2]=l;if((c[k>>2]|0)==0){c[h>>2]=j;h=l;break}else{a=0;i=e;return a|0}}else{h=c[a+32>>2]|0}}while(0);if((f|0)==0){f=0}else{j=0;g=g+10|0;while(1){c[h+(j<<2)>>2]=(d[g+1|0]|0)<<8|(d[g]|0)<<16|(d[g+2|0]|0);j=j+1|0;if(j>>>0<f>>>0){g=g+11|0}else{break}}}c[h+(f<<2)>>2]=0;a=h;i=e;return a|0}function pP(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=i;k=i;i=i+8|0;h=c[a+24>>2]|0;g=a+16|0;j=c[g>>2]|0;m=h+1|0;l=a+28|0;n=c[l>>2]|0;c[k>>2]=0;do{if(n>>>0<m>>>0){c[a+36>>2]=b;v=a+32|0;b=oJ(b,4,n,m,c[v>>2]|0,k)|0;c[v>>2]=b;if((c[k>>2]|0)==0){c[l>>2]=m;break}else{v=0;i=f;return v|0}}else{b=c[a+32>>2]|0}}while(0);a=a+32|0;if((h|0)!=0){l=j+10|0;while(1){k=(d[l+1|0]|0)<<8|(d[l]|0)<<16|(d[l+2|0]|0);r=(d[l+4|0]|0)<<16|(d[l+3|0]|0)<<24|(d[l+5|0]|0)<<8|(d[l+6|0]|0);j=l+11|0;l=(d[l+8|0]|0)<<16|(d[l+7|0]|0)<<24|(d[l+9|0]|0)<<8|(d[l+10|0]|0);a:do{if((r|0)==0){m=13}else{o=c[g>>2]|0;q=r+4|0;p=r+5|0;m=r+6|0;n=r+7|0;u=(d[o+(r+1)|0]|0)<<16|(d[o+r|0]|0)<<24|(d[o+(r+2)|0]|0)<<8|(d[o+(r+3)|0]|0);s=0;while(1){while(1){if(s>>>0>=u>>>0){m=13;break a}r=(u+s|0)>>>1;t=r<<2;v=(d[o+(p+t)|0]|0)<<8|(d[o+(q+t)|0]|0)<<16|(d[o+(m+t)|0]|0);if(v>>>0>e>>>0){u=r}else{break}}if(((d[o+(n+t)|0]|0)+v|0)>>>0<e>>>0){s=r+1|0}else{m=15;break}}}}while(0);do{if((m|0)==13){m=0;if((l|0)==0){break}if((wQ((c[g>>2]|0)+l|0,e)|0)!=0){m=15}}}while(0);if((m|0)==15){c[b>>2]=k;b=b+4|0}h=h+ -1|0;if((h|0)==0){break}else{l=j}}}c[b>>2]=0;v=c[a>>2]|0;i=f;return v|0}function qP(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=i;n=i;i=i+8|0;o=n;h=i;i=i+8|0;g=h;m=i;i=i+8|0;l=m;j=c[a+16>>2]|0;p=(d[j+7|0]|0)<<16|(d[j+6|0]|0)<<24|(d[j+8|0]|0)<<8|(d[j+9|0]|0);if((p|0)==0){s=0;i=f;return s|0}else{s=0}a:while(1){while(1){r=(s+p|0)>>>1;k=r*11|0;q=(d[j+(k+11)|0]|0)<<8|(d[j+(k+10)|0]|0)<<16|(d[j+(k+12)|0]|0);if(q>>>0>e>>>0){break}s=r+1|0;if(q>>>0>=e>>>0){e=7;break a}if(s>>>0>=p>>>0){g=0;e=59;break a}}if(s>>>0<r>>>0){p=r}else{g=0;e=59;break}}if((e|0)==7){e=j+(k+13)|0;if((e|0)==0){s=0;i=f;return s|0}e=(d[j+(k+14)|0]|0)<<16|(d[e]|0)<<24|(d[j+(k+15)|0]|0)<<8|(d[j+(k+16)|0]|0);k=(d[j+(k+18)|0]|0)<<16|(d[j+(k+17)|0]|0)<<24|(d[j+(k+19)|0]|0)<<8|(d[j+(k+20)|0]|0);q=(k|0)==0;if((k|e|0)==0){s=0;i=f;return s|0}if((e|0)==0){l=(d[j+(k+1)|0]|0)<<16|(d[j+k|0]|0)<<24|(d[j+(k+2)|0]|0)<<8|(d[j+(k+3)|0]|0);n=l+1|0;o=a+28|0;m=c[o>>2]|0;c[h>>2]=0;do{if(m>>>0<n>>>0){c[a+36>>2]=b;a=a+32|0;c[a>>2]=oJ(b,4,m,n,c[a>>2]|0,g)|0;if((c[h>>2]|0)==0){c[o>>2]=n;break}else{s=0;i=f;return s|0}}else{a=a+32|0}}while(0);g=c[a>>2]|0;if((l|0)==0){l=0}else{h=j+(k+4)|0;b=0;while(1){c[g+(b<<2)>>2]=(d[h+1|0]|0)<<8|(d[h]|0)<<16|(d[h+2|0]|0);b=b+1|0;if(b>>>0<l>>>0){h=h+5|0}else{break}}}c[g+(l<<2)>>2]=0;s=g;i=f;return s|0}p=j+e|0;if(q){s=vQ(a,p,b)|0;i=f;return s|0}h=(d[j+(k+1)|0]|0)<<16|(d[j+k|0]|0)<<24|(d[j+(k+2)|0]|0)<<8|(d[j+(k+3)|0]|0);g=(d[j+(e+1)|0]|0)<<16|(d[p]|0)<<24|(d[j+(e+2)|0]|0)<<8|(d[j+(e+3)|0]|0);if((g|0)==0){r=0}else{q=j+(e+7)|0;s=g;r=0;while(1){r=r+1+(d[q]|0)|0;s=s+ -1|0;if((s|0)==0){break}else{q=q+4|0}}}if((h|0)==0){s=vQ(a,p,b)|0;i=f;return s|0}p=h+1|0;if((r|0)==0){g=a+28|0;l=c[g>>2]|0;c[n>>2]=0;do{if(l>>>0<p>>>0){c[a+36>>2]=b;a=a+32|0;c[a>>2]=oJ(b,4,l,p,c[a>>2]|0,o)|0;if((c[n>>2]|0)==0){c[g>>2]=p;break}else{s=0;i=f;return s|0}}else{a=a+32|0}}while(0);g=c[a>>2]|0;b=j+(k+4)|0;j=0;while(1){c[g+(j<<2)>>2]=(d[b+1|0]|0)<<8|(d[b]|0)<<16|(d[b+2|0]|0);j=j+1|0;if(j>>>0<h>>>0){b=b+5|0}else{break}}c[g+(h<<2)>>2]=0;s=g;i=f;return s|0}n=p+r|0;p=a+28|0;o=c[p>>2]|0;c[m>>2]=0;do{if(o>>>0<n>>>0){c[a+36>>2]=b;a=a+32|0;c[a>>2]=oJ(b,4,o,n,c[a>>2]|0,l)|0;if((c[m>>2]|0)==0){c[p>>2]=n;break}else{s=0;i=f;return s|0}}else{a=a+32|0}}while(0);b=c[a>>2]|0;m=d[j+(e+7)|0]|0;n=1;q=j+(e+8)|0;p=(d[j+(e+5)|0]|0)<<8|(d[j+(e+4)|0]|0)<<16|(d[j+(e+6)|0]|0);o=0;l=1;a=(d[j+(k+5)|0]|0)<<8|(d[j+(k+4)|0]|0)<<16|(d[j+(k+6)|0]|0);j=j+(k+9)|0;b:while(1){if(a>>>0>(m+p|0)>>>0){e=q;k=o;while(1){o=k;q=0;while(1){k=o+1|0;c[b+(o<<2)>>2]=q+p;q=q+1|0;if(q>>>0>m>>>0){break}else{o=k}}n=n+1|0;if(n>>>0>g>>>0){o=e;e=p;break b}p=(d[e+1|0]|0)<<8|(d[e]|0)<<16|(d[e+2|0]|0);q=e+4|0;m=d[e+3|0]|0;if(a>>>0>(m+p|0)>>>0){e=q}else{e=p;break}}}else{e=p;k=o}if(a>>>0<e>>>0){c[b+(k<<2)>>2]=a;k=k+1|0}l=l+1|0;if(l>>>0>h>>>0){o=q;break}p=e;o=k;a=(d[j+1|0]|0)<<8|(d[j]|0)<<16|(d[j+2|0]|0);j=j+5|0}do{if(l>>>0>h>>>0){if(n>>>0>g>>>0){break}else{h=k;j=0}while(1){k=h+1|0;c[b+(h<<2)>>2]=j+e;j=j+1|0;if(j>>>0>m>>>0){break}else{h=k}}if(n>>>0>=g>>>0){break}while(1){j=(d[o+1|0]|0)<<8|(d[o]|0)<<16|(d[o+2|0]|0);a=d[o+3|0]|0;h=k;l=0;while(1){c[b+(h<<2)>>2]=l+j;l=l+1|0;if(l>>>0>a>>>0){break}else{h=h+1|0}}k=k+1+a|0;n=n+1|0;if(n>>>0<g>>>0){o=o+4|0}else{break}}}else{c[b+(k<<2)>>2]=a;a=k+1|0;if(l>>>0>=h>>>0){k=a;break}g=k+h+1|0;k=a;a=l;while(1){c[b+(k<<2)>>2]=(d[j+1|0]|0)<<8|(d[j]|0)<<16|(d[j+2|0]|0);a=a+1|0;if(a>>>0<h>>>0){j=j+5|0;k=k+1|0}else{break}}k=g-l|0}}while(0);c[b+(k<<2)>>2]=0;s=b;i=f;return s|0}else if((e|0)==59){i=f;return g|0}return 0}function rP(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=i;l=(d[a+3|0]|0)<<16|(d[a+2|0]|0)<<24|(d[a+4|0]|0)<<8|(d[a+5|0]|0);g=(d[a+7|0]|0)<<16|(d[a+6|0]|0)<<24|(d[a+8|0]|0)<<8|(d[a+9|0]|0);j=b+4|0;if(l>>>0>((c[j>>2]|0)-a|0)>>>0){wJ(b,8)}if(l>>>0<((g*11|0)+10|0)>>>0){wJ(b,8)}if((g|0)==0){i=e;return 0}f=b+8|0;h=b+172|0;n=1;m=0;o=a+10|0;a:while(1){q=(d[o+1|0]|0)<<8|(d[o]|0)<<16|(d[o+2|0]|0);p=(d[o+4|0]|0)<<16|(d[o+3|0]|0)<<24|(d[o+5|0]|0)<<8|(d[o+6|0]|0);k=o+11|0;o=(d[o+8|0]|0)<<16|(d[o+7|0]|0)<<24|(d[o+9|0]|0)<<8|(d[o+10|0]|0);if(!(p>>>0<l>>>0&o>>>0<l>>>0)){f=7;break}if(q>>>0<n>>>0){f=9;break}n=q+1|0;do{if((p|0)!=0){q=p+4|0;p=(d[a+(p+1)|0]|0)<<16|(d[a+p|0]|0)<<24|(d[a+(p+2)|0]|0)<<8|(d[a+(p+3)|0]|0);if((a+((p<<2)+q)|0)>>>0>(c[j>>2]|0)>>>0){f=12;break a}if((p|0)==0){break}else{q=a+q|0;u=0;t=0}while(1){s=(d[q+1|0]|0)<<8|(d[q]|0)<<16|(d[q+2|0]|0);r=s+(d[q+3|0]|0)|0;if(r>>>0>1114111){f=15;break a}if(s>>>0<t>>>0){f=17;break a}u=u+1|0;if(u>>>0<p>>>0){t=r+1|0;q=q+4|0}else{break}}}}while(0);do{if((o|0)!=0){r=a+(o+4)|0;o=(d[a+(o+1)|0]|0)<<16|(d[a+o|0]|0)<<24|(d[a+(o+2)|0]|0)<<8|(d[a+(o+3)|0]|0);if(o<<2>>>0>((c[j>>2]|0)-r|0)>>>0){f=21;break a}if((o|0)==0){break}else{p=0;s=0}while(1){t=(d[r+1|0]|0)<<8|(d[r]|0)<<16|(d[r+2|0]|0);q=r+5|0;if(t>>>0>1114111){f=24;break a}if(t>>>0<s>>>0){f=26;break a}s=t+1|0;if((c[f>>2]|0)!=0){if((((d[r+3|0]|0)<<8&65535|(d[r+4|0]|0))&65535)>>>0>=(c[h>>2]|0)>>>0){f=29;break a}}p=p+1|0;if(p>>>0<o>>>0){r=q}else{break}}}}while(0);m=m+1|0;if(m>>>0<g>>>0){o=k}else{f=32;break}}if((f|0)==7){wJ(b,8)}else if((f|0)==9){wJ(b,8)}else if((f|0)==12){wJ(b,8)}else if((f|0)==15){wJ(b,8)}else if((f|0)==17){wJ(b,8)}else if((f|0)==21){wJ(b,8)}else if((f|0)==24){wJ(b,8)}else if((f|0)==26){wJ(b,8)}else if((f|0)==29){wJ(b,16)}else if((f|0)==32){i=e;return 0}return 0}function sP(a,b){a=a|0;b=b|0;c[b+4>>2]=14;c[b>>2]=-1;i=i;return 0}function tP(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(271760,b)|0;i=c;return a|0}function uP(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[a+12>>2]|0)+48>>2]&255](a,b)|0;i=d;return a|0}function vP(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;e=i;h=i;i=i+8|0;f=h;j=i;i=i+8|0;g=j;k=wP(a,271936,g)|0;if((k|0)!=0){a=k;i=e;return a|0}k=wP(a,271960,f)|0;if((k|0)!=0){a=k;i=e;return a|0}if((c[j>>2]|0)!=1){a=6;i=e;return a|0}if((c[h>>2]|0)!=1){a=6;i=e;return a|0}c[b>>2]=c[f+4>>2];c[d>>2]=c[g+4>>2];a=0;i=e;return a|0}function wP(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=i;m=c[e+88>>2]|0;c[g>>2]=0;p=e+812|0;a:do{if((a[p]|0)==0){n=c[e+104>>2]|0;o=e+792|0;bX(o|0,0,24)|0;v=b[e+152>>1]|0;r=c[e+156>>2]|0;q=r+((v&65535)<<4)|0;if(v<<16>>16==0){v=8;i=j;return v|0}while(1){if((c[r>>2]|0)==1111770656){t=c[r+12>>2]|0;if((t|0)!=0){break}}s=r+16|0;if(s>>>0<q>>>0){r=s}else{h=8;l=36;break}}if((l|0)==36){i=j;return h|0}if((r|0)==0){v=8;i=j;return v|0}if((PJ(n,c[r+8>>2]|0)|0)!=0|t>>>0<8){v=8;i=j;return v|0}if((LK(n,t,o)|0)!=0){v=8;i=j;return v|0}r=c[o>>2]|0;c[e+796>>2]=r+t;u=d[r+2|0]<<8&65535|d[r+3|0];q=u&65535;v=d[r+5|0]<<16|d[r+4|0]<<24|d[r+6|0]<<8|d[r+7|0];do{if(!((d[r]<<8&65535|d[r+1|0])<<16>>16!=1|v>>>0<8)){if((v+ -8|0)>>>2>>>0<q>>>0|(v+1|0)>>>0>t>>>0){break}c[e+808>>2]=q;s=r+v|0;c[e+800>>2]=s;c[e+804>>2]=t-v;v=r+((q<<2)+8)|0;if(u<<16>>16!=0){u=q;t=r+8|0;while(1){v=v+(((d[t+2|0]<<8&65535|d[t+3|0])&65535)*10|0)|0;u=u+ -1|0;if((u|0)==0){break}else{t=t+4|0}}}if(v>>>0>s>>>0){break}a[p]=1;break a}}while(0);NK(n,o);bX(o|0,0,24)|0;v=8;i=j;return v|0}else{r=c[e+792>>2]|0;q=c[e+808>>2]|0}}while(0);if((m|0)==0|(f|0)==0){v=6;i=j;return v|0}n=ZW(f|0)|0;if((n|0)==0|(q|0)==0){v=6;i=j;return v|0}o=b[m+14>>1]|0;s=q;p=r+8|0;m=r+((q<<2)+8)|0;while(1){r=d[p+2|0]<<8&65535|d[p+3|0];q=r&65535;if((d[p]<<8&65535|d[p+1|0])<<16>>16==o<<16>>16){break}s=s+ -1|0;if((s|0)==0){h=6;l=36;break}else{p=p+4|0;m=m+(q*10|0)|0}}if((l|0)==36){i=j;return h|0}if(r<<16>>16==0){v=6;i=j;return v|0}l=e+804|0;e=e+800|0;b:while(1){s=(d[m+4|0]<<8&65535|d[m+5|0])&65535;do{if((s&16|0)!=0){r=d[m+1|0]<<16|d[m]<<24|d[m+2|0]<<8|d[m+3|0];k=d[m+7|0]<<16|d[m+6|0]<<24|d[m+8|0]<<8|d[m+9|0];p=c[l>>2]|0;if(r>>>0>=p>>>0){break}t=p-r|0;if(n>>>0>=t>>>0){break}o=c[e>>2]|0;if((vc(f|0,o+r|0,t|0)|0)!=0){break}r=s&15;if((r|0)==3){l=34;break b}else if((r|0)==2){l=33;break b}else if(!((r|0)==1|(r|0)==0)){break}if(k>>>0>=p>>>0){break}if((Ua(o+k|0,0,p|0)|0)!=0){l=32;break b}}}while(0);q=q+ -1|0;if((q|0)==0){h=6;l=36;break}else{m=m+10|0}}if((l|0)==32){c[g>>2]=1;c[g+4>>2]=(c[e>>2]|0)+k;v=0;i=j;return v|0}else if((l|0)==33){c[g>>2]=2;c[g+4>>2]=k;v=0;i=j;return v|0}else if((l|0)==34){c[g>>2]=3;c[g+4>>2]=k;v=0;i=j;return v|0}else if((l|0)==36){i=j;return h|0}return 0}function xP(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;k=b[a+152>>1]|0;j=c[a+156>>2]|0;a=j+((k&65535)<<4)|0;if(k<<16>>16==0){k=142;i=g;return k|0}while(1){if((c[j>>2]|0)==(d|0)){k=c[j+12>>2]|0;if((k|0)!=0){break}}j=j+16|0;if(j>>>0>=a>>>0){d=142;h=9;break}}if((h|0)==9){i=g;return d|0}if((j|0)==0){k=142;i=g;return k|0}if((f|0)!=0){c[f>>2]=k}k=PJ(e,c[j+8>>2]|0)|0;i=g;return k|0}function yP(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=i;i=i+8|0;b=AP(a,b,g)|0;if((b|0)!=0){i=f;return b|0}bL(d,c[g>>2]|0,e)|0;i=f;return b|0}function zP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;e=i;i=i+8|0;g=e;f=c[a+16>>2]|0;if((f|0)<1){h=0;i=d;return h|0}else{h=0}while(1){if((AP(a,h,g)|0)==0){if((Qc(b|0,c[e>>2]|0)|0)==0){b=5;break}}h=h+1|0;if(h>>>0>=f>>>0){h=0;b=5;break}}if((b|0)==5){i=d;return h|0}return 0}function AP(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;if((d|0)==0){l=35;i=h;return l|0}if((e[d+264>>1]|0)>>>0<=f>>>0){l=16;i=h;return l|0}j=c[d+536>>2]|0;if((j|0)==0){l=7;i=h;return l|0}k=d+628|0;j=j+16|0;c[g>>2]=jd[c[j>>2]&511](0)|0;l=c[d+468>>2]|0;if((l|0)==131072){do{if((a[k]|0)==0){if((BP(d)|0)==0){break}else{d=0}i=h;return d|0}}while(0);if((e[d+632>>1]|0)>>>0<=f>>>0){l=0;i=h;return l|0}l=b[(c[d+636>>2]|0)+(f<<1)>>1]|0;f=l&65535;if((l&65535)<258){c[g>>2]=jd[c[j>>2]&511](f)|0;l=0;i=h;return l|0}else{c[g>>2]=c[(c[d+640>>2]|0)+(f+ -258<<2)>>2];l=0;i=h;return l|0}}else if((l|0)==65536){if(f>>>0>=258){l=0;i=h;return l|0}c[g>>2]=jd[c[j>>2]&511](f)|0;l=0;i=h;return l|0}else if((l|0)==163840){do{if((a[k]|0)==0){if((BP(d)|0)==0){break}else{d=0}i=h;return d|0}}while(0);if((e[d+632>>1]|0)>>>0<=f>>>0){l=0;i=h;return l|0}c[g>>2]=jd[c[j>>2]&511]((a[(c[d+636>>2]|0)+f|0]|0)+f|0)|0;l=0;i=h;return l|0}else{l=0;i=h;return l|0}return 0}function BP(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=i;l=i;i=i+8|0;m=l;g=i;i=i+8|0;j=g;o=i;i=i+8|0;h=c[d+104>>2]|0;n=pd[c[d+508>>2]&63](d,1886352244,h,o)|0;if((n|0)!=0){u=n;i=f;return u|0}n=IK(h)|0;n=(c[o>>2]|0)+n|0;o=c[d+468>>2]|0;p=DK(h,32)|0;if((p|0)!=0){u=p;i=f;return u|0}a:do{if((o|0)==131072){l=c[h+28>>2]|0;o=EK(h,j)|0;p=o&65535;m=c[g>>2]|0;if((m|0)!=0){break}if((o&65535)>(e[d+264>>1]|0)){c[g>>2]=3;m=3;break}m=oJ(l,2,0,p,0,j)|0;b:do{if((c[g>>2]|0)==0){u=MK(h,p<<1)|0;c[g>>2]=u;if((u|0)!=0){p=0;break}if(o<<16>>16==0){PK(h);q=0}else{q=0;do{b[m+(q<<1)>>1]=RK(h)|0;q=q+1|0;}while((q|0)<(p|0));PK(h);r=0;q=0;do{s=b[m+(r<<1)>>1]|0;if((s&65535)>257){s=(s&65535)+ -257|0;q=(s|0)>(q&65535|0)?s&65535:q}r=r+1|0;}while((r|0)<(p|0))}p=oJ(l,4,0,q&65535,0,j)|0;if((c[g>>2]|0)!=0){break}c:do{if(q<<16>>16!=0){r=0;s=0;while(1){if((IK(h)|0)>=(n|0)){k=19;break}u=(VK(h,j)|0)&255;if((c[g>>2]|0)!=0){h=0;break}if((u|0)>(n|0)){k=23}else{if((IK(h)|0)>(n-u|0)){k=23}}do{if((k|0)==23){k=0;if((n-(IK(h)|0)|0)<0){u=0;break}u=n-(IK(h)|0)|0}}while(0);t=oJ(l,1,0,u+1|0,0,j)|0;r=p+(r<<2)|0;c[r>>2]=t;if((c[g>>2]|0)!=0){h=0;break}t=CK(h,t,u)|0;c[g>>2]=t;if((t|0)!=0){h=0;break}a[(c[r>>2]|0)+u|0]=0;s=s+1<<16>>16;if((s&65535)<(q&65535)){r=s&65535}else{break c}}d:do{if((k|0)==19){if((s&65535)>=(q&65535)){break c}while(1){h=oJ(l,1,0,1,0,j)|0;c[p+((s&65535)<<2)>>2]=h;if((c[g>>2]|0)!=0){h=0;break d}a[h]=0;s=s+1<<16>>16;if((s&65535)>=(q&65535)){break c}}}}while(0);while(1){u=p+((h&65535)<<2)|0;lJ(l,c[u>>2]|0);c[u>>2]=0;h=h+1<<16>>16;if((h&65535)<(q&65535)){}else{break b}}}}while(0);b[d+632>>1]=o;b[d+634>>1]=q;c[d+636>>2]=m;c[d+640>>2]=p;m=0;break a}else{p=0}}while(0);lJ(l,p);lJ(l,m);m=c[g>>2]|0}else if((o|0)==163840){k=c[h+28>>2]|0;j=EK(h,m)|0;g=j&65535;n=c[l>>2]|0;if((n|0)!=0){m=n;break}if((j&65535)>(e[d+264>>1]|0)|(j&65535)>258){c[l>>2]=3;m=3;break}m=oJ(k,1,0,g,0,m)|0;e:do{if((c[l>>2]|0)==0){u=CK(h,m,g)|0;c[l>>2]=u;if((u|0)!=0){break}f:do{if(j<<16>>16!=0){h=0;while(1){u=(a[m+h|0]|0)+h|0;h=h+1|0;if((u|0)<0|(u|0)>(g|0)){break}if((h|0)>=(g|0)){break f}}c[l>>2]=3;break e}}while(0);b[d+632>>1]=j;c[d+636>>2]=m;m=0;break a}}while(0);lJ(k,m);m=c[l>>2]|0}else{m=3}}while(0);a[d+628|0]=1;u=m;i=f;return u|0}function CP(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=i;h=i;i=i+8|0;l=h;j=i;i=i+8|0;k=j;f=d+700|0;m=c[f>>2]|0;if((m|0)!=0){r=m;i=g;return r|0}m=b[d+344>>1]|0;a:do{if(m<<16>>16==0){j=0}else{o=c[d+360>>2]|0;p=m&65535;m=-1;n=-1;q=0;do{do{if((b[o+(q*20|0)+6>>1]|0)==6){if((b[o+(q*20|0)+8>>1]|0)==0){break}r=b[o+(q*20|0)>>1]|0;if(r<<16>>16==3){if((b[o+(q*20|0)+2>>1]|0)!=1){break}n=(b[o+(q*20|0)+4>>1]|0)==1033?q:n}if(r<<16>>16!=1){break}if((b[o+(q*20|0)+2>>1]|0)!=0){break}m=(b[o+(q*20|0)+4>>1]|0)==0?q:m}}while(0);q=q+1|0;}while((q|0)<(p|0));if((n|0)==-1){if((m|0)==-1){j=0;break}l=c[d+100>>2]|0;h=c[d+360>>2]|0;o=h+(m*20|0)+8|0;n=e[o>>1]|0;c[j>>2]=0;k=jJ(l,n+1|0,k)|0;if((c[j>>2]|0)!=0){j=k;break}d=c[d+364>>2]|0;p=h+(m*20|0)+12|0;r=PJ(d,c[p>>2]|0)|0;c[j>>2]=r;do{if((r|0)==0){r=CK(d,k,n)|0;c[j>>2]=r;if((r|0)!=0){break}a[k+n|0]=0;j=k;break a}}while(0);c[p>>2]=0;b[o>>1]=0;j=h+(m*20|0)+16|0;lJ(l,c[j>>2]|0);c[j>>2]=0;lJ(l,k);j=0;break}o=c[d+100>>2]|0;p=c[d+360>>2]|0;k=p+(n*20|0)+8|0;m=(e[k>>1]|0)>>>1;c[h>>2]=0;j=jJ(o,(e[k>>1]|0)+1|0,l)|0;if((c[h>>2]|0)!=0){break}d=c[d+364>>2]|0;l=p+(n*20|0)+16|0;n=p+(n*20|0)+12|0;r=PJ(d,c[n>>2]|0)|0;c[h>>2]=r;do{if((r|0)==0){r=MK(d,e[k>>1]|0)|0;c[h>>2]=r;if((r|0)!=0){break}if((m|0)==0){k=j}else{h=c[d+32>>2]|0;k=j;while(1){do{if((a[h]|0)==0){l=a[h+1|0]|0;if(!((l&255)>31&l<<24>>24>-1)){break}a[k]=l;k=k+1|0}}while(0);m=m+ -1|0;if((m|0)==0){break}else{h=h+2|0}}}a[k]=0;PK(d);break a}}while(0);lJ(o,j);b[k>>1]=0;c[n>>2]=0;lJ(o,c[l>>2]|0);c[l>>2]=0;j=0}}while(0);c[f>>2]=j;r=j;i=g;return r|0}function DP(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;do{if((d|0)==0){l=c[(c[a+104>>2]|0)+4>>2]|0}else{l=b[a+152>>1]|0;m=c[a+156>>2]|0;k=m+((l&65535)<<4)|0;if(l<<16>>16==0){m=142;i=h;return m|0}while(1){if((c[m>>2]|0)==(d|0)){l=c[m+12>>2]|0;if((l|0)!=0){break}}m=m+16|0;if(m>>>0>=k>>>0){a=142;j=13;break}}if((j|0)==13){i=h;return a|0}if((m|0)==0){m=142;i=h;return m|0}else{e=(c[m+8>>2]|0)+e|0;break}}}while(0);do{if((g|0)!=0){j=c[g>>2]|0;if((j|0)!=0){l=j;break}c[g>>2]=l;m=0;i=h;return m|0}}while(0);m=JK(c[a+104>>2]|0,e,f,l)|0;i=h;return m|0}function EP(d,e){d=d|0;e=e|0;a:do{switch(e|0){case 1:{d=d+260|0;break};case 3:{d=d+216|0;break};case 6:{d=d+556|0;if((c[d>>2]|0)==0){d=0;break a}break};case 5:{d=d+468|0;break};case 2:{d=d+368|0;if((b[d>>1]|0)==-1){d=0;break a}break};case 0:{d=d+160|0;break};case 4:{if((a[d+296|0]|0)==0){d=0;break a}d=d+300|0;break};default:{d=0}}}while(0);i=i;return d|0}function FP(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0;h=i;if((d|0)==0|(f|0)==0|(g|0)==0){g=6;i=h;return g|0}if((e[a+152>>1]|0)>>>0<=b>>>0){g=142;i=h;return g|0}a=a+156|0;c[d>>2]=c[(c[a>>2]|0)+(b<<4)>>2];c[f>>2]=c[(c[a>>2]|0)+(b<<4)+8>>2];c[g>>2]=c[(c[a>>2]|0)+(b<<4)+12>>2];g=0;i=h;return g|0}function GP(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;f=i;i=i+8|0;j=f;k=b+532|0;g=c[k>>2]|0;h=b+96|0;do{if((g|0)==0){g=nK(c[(c[h>>2]|0)+4>>2]|0,271552)|0;if((g|0)==0){p=3;i=e;return p|0}else{c[k>>2]=g;c[b+508>>2]=c[g>>2];break}}}while(0);c[b+536>>2]=oK(c[h>>2]|0,273032)|0;k=c[a+28>>2]|0;p=b+132|0;c[p>>2]=0;m=b+136|0;c[m>>2]=0;h=b+140|0;c[h>>2]=0;l=IK(a)|0;n=GK(a,j)|0;o=c[f>>2]|0;if((o|0)!=0){p=o;i=e;return p|0}if(!((n|0)==65536|(n|0)==131072|(n|0)==1330926671|(n|0)==1953658213|(n|0)==1953784678|(n|0)==1954115633)){p=2;i=e;return p|0}c[p>>2]=1953784678;do{if((n|0)==1953784678){l=ZK(a,273056,p)|0;c[f>>2]=l;if((l|0)!=0){p=l;i=e;return p|0}l=b+144|0;c[l>>2]=oJ(k,4,0,c[h>>2]|0,0,j)|0;j=c[f>>2]|0;if((j|0)!=0){p=j;i=e;return p|0}j=MK(a,c[h>>2]<<2)|0;c[f>>2]=j;if((j|0)!=0){p=j;i=e;return p|0}if((c[h>>2]|0)>0){j=0;do{p=TK(a)|0;c[(c[l>>2]|0)+(j<<2)>>2]=p;j=j+1|0;}while((j|0)<(c[h>>2]|0))}PK(a)}else{c[m>>2]=65536;c[h>>2]=1;j=jJ(k,4,j)|0;c[b+144>>2]=j;k=c[f>>2]|0;if((k|0)==0){c[j>>2]=l;break}else{p=k;i=e;return p|0}}}while(0);f=c[f>>2]|0;if((f|0)!=0){p=f;i=e;return p|0}d=(d|0)<0?0:d;if((d|0)>=(c[h>>2]|0)){p=6;i=e;return p|0}f=PJ(a,c[(c[b+144>>2]|0)+(d<<2)>>2]|0)|0;if((f|0)!=0){p=f;i=e;return p|0}a=Bd[c[g+132>>2]&255](b,a)|0;if((a|0)!=0){p=a;i=e;return p|0}c[b>>2]=c[h>>2];c[b+4>>2]=d;p=0;i=e;return p|0}function HP(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;g=i;k=i;i=i+8|0;p=k;m=i;i=i+32|0;l=m;o=c[f+532>>2]|0;if((h|0)>0){s=0;r=0;q=0;do{t=c[j+(s<<3)>>2]|0;if((t|0)==1768386662){r=1}else{q=(t|0)==1768386675?1:q}s=s+1|0;}while((s|0)<(h|0))}else{r=0;q=0}h=f+128|0;a:do{if((c[(c[h>>2]|0)+52>>2]|0)==0){t=b[f+152>>1]|0;s=c[f+156>>2]|0;j=s+((t&65535)<<4)|0;t=t<<16>>16==0;b:do{if(t){t=0}else{u=s;do{if((c[u>>2]|0)==1735162214){if((c[u+12>>2]|0)!=0){n=10;break}}u=u+16|0;}while(u>>>0<j>>>0);if((n|0)==10){if((u|0)!=0){t=1;n=18;break a}}if(t){t=0;break}while(1){if((c[s>>2]|0)==1128678944){if((c[s+12>>2]|0)!=0){break}}s=s+16|0;if(s>>>0>=j>>>0){t=0;break b}}x=(s|0)!=0;t=x&1;if(x){n=18;break a}}}while(0);j=c[o+84>>2]|0;if((j|0)==0){t=0;n=18;break}x=Bd[j&255](f,d)|0;c[k>>2]=x;if((x|0)==0){u=1}else{n=18}}else{t=1;n=18}}while(0);do{if((n|0)==18){x=Bd[c[o+32>>2]&255](f,d)|0;c[k>>2]=x;if((x|0)==0){u=0;break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);j=f+178|0;if((b[j>>1]|0)==0){c[k>>2]=8;x=k;x=c[x>>2]|0;i=g;return x|0}c[k>>2]=Bd[c[o+44>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+40>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+56>>2]&255](f,d)|0;s=Bd[c[o+52>>2]&255](f,d)|0;c[k>>2]=s;do{if(!u){u=o+36|0;v=sd[c[u>>2]&127](f,d,0)|0;c[k>>2]=v;do{if((v|0)==0){v=sd[c[o+136>>2]&127](f,d,0)|0;c[k>>2]=v;if((v|0)!=142){n=32;break}c[k>>2]=147;h=c[(c[h>>2]|0)+52>>2]|0;if((h|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}if((c[(c[h>>2]|0)+8>>2]|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}else{b[f+250>>1]=0;c[k>>2]=0;break}}else if((v|0)==142){if((c[f+148>>2]|0)==1953658213){c[k>>2]=0;t=0;break}c[k>>2]=143;h=c[(c[h>>2]|0)+52>>2]|0;if((h|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}if((c[(c[h>>2]|0)+8>>2]|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}else{b[f+250>>1]=0;c[k>>2]=0;break}}else{n=32}}while(0);do{if((n|0)==32){if((v|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);h=sd[c[u>>2]&127](f,d,1)|0;c[k>>2]=h;do{if((h|0)==0){h=sd[c[o+136>>2]&127](f,d,1)|0;c[k>>2]=h;if((h|0)!=0){n=36;break}a[f+296|0]=1}else{n=36}}while(0);do{if((n|0)==36){if((h|0)==0|(h|0)==142){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);x=Bd[c[o+48>>2]&255](f,d)|0;c[k>>2]=x;if((x|0)==0){break}b[f+368>>1]=-1}}while(0);h=c[o+140>>2]|0;do{if((h|0)!=0){h=Bd[h&255](f,d)|0;c[k>>2]=h;if((h|0)==0){break}else if((h|0)==142){c[k>>2]=0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);h=Bd[c[o+80>>2]&255](f,d)|0;c[k>>2]=h;if((h|0)==142){c[f+556>>2]=0}else if((h|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}c[k>>2]=Bd[c[o+76>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+72>>2]&255](f,d)|0;c[f+16>>2]=e[f+264>>1]|0;u=f+20|0;c[u>>2]=0;d=f+24|0;c[d>>2]=0;h=f+368|0;do{if((b[h>>1]|0)==-1){n=54}else{if((b[f+432>>1]&256)==0){n=54;break}do{if(r<<24>>24==0){x=rQ(f,16,u)|0;c[k>>2]=x;if((x|0)==0){if((c[u>>2]|0)==0){n=49;break}else{break}}else{x=k;x=c[x>>2]|0;i=g;return x|0}}else{n=49}}while(0);do{if((n|0)==49){x=rQ(f,1,u)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);do{if(q<<24>>24==0){x=rQ(f,17,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);if((c[d>>2]|0)!=0){break}x=rQ(f,2,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);do{if((n|0)==54){x=rQ(f,21,u)|0;c[k>>2]=x;if((x|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}v=c[u>>2]|0;do{if((v|0)==0&r<<24>>24==0){x=rQ(f,16,u)|0;c[k>>2]=x;if((x|0)==0){v=c[u>>2]|0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);do{if((v|0)==0){x=rQ(f,1,u)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);x=rQ(f,22,d)|0;c[k>>2]=x;if((x|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}r=c[d>>2]|0;do{if((r|0)==0&q<<24>>24==0){x=rQ(f,17,d)|0;c[k>>2]=x;if((x|0)==0){r=c[d>>2]|0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);if((r|0)!=0){break}x=rQ(f,2,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);d=f+8|0;r=t<<24>>24==1;q=c[d>>2]|r&1;t=q|24;if((s|0)==0){t=(c[f+468>>2]|0)==196608?t:q|536}s=(c[f+480>>2]|0)==0?t:t|4;q=f+296|0;s=(a[q]|0)==0?s:s|32;s=(c[f+784>>2]|0)==0?s:s|64;x=b[f+152>>1]|0;u=c[f+156>>2]|0;t=u+((x&65535)<<4)|0;c:do{if(x<<16>>16!=0){v=u;while(1){if((c[v>>2]|0)==1735162214){if((c[v+12>>2]|0)!=0){break}}v=v+16|0;if(v>>>0>=t>>>0){break c}}if((v|0)==0){break}else{v=u}while(1){if((c[v>>2]|0)==1719034226){if((c[v+12>>2]|0)!=0){break}}v=v+16|0;if(v>>>0>=t>>>0){break c}}if((v|0)==0){break}while(1){if((c[u>>2]|0)==1735811442){if((c[u+12>>2]|0)!=0){break}}u=u+16|0;if(u>>>0>=t>>>0){u=0;break}}s=(u|0)==0?s:s|256}}while(0);c[d>>2]=s;do{if(r){if((b[h>>1]|0)==-1){n=84;break}x=b[f+432>>1]|0;r=x&65535;r=(x&65535)>>>4&2|((r&512|0)==0?r&1:1)}else{n=84}}while(0);if((n|0)==84){x=b[f+204>>1]|0;r=(x&65535)>>>1&1|((x&1)==0?0:2)}c[f+12>>2]=r;sQ(f);t=f+36|0;if((c[t>>2]|0)>0){r=f+40|0;s=0;do{u=c[(c[r>>2]|0)+(s<<2)>>2]|0;v=e[u+8>>1]|0;w=e[u+10>>1]|0;x=272856;while(1){if((c[x>>2]|0)==(v|0)){y=c[x+4>>2]|0;if((y|0)==(w|0)|(y|0)==-1){n=90;break}}x=x+12|0;if(x>>>0>=(272988|0)>>>0){v=0;break}}if((n|0)==90){n=0;v=c[x+8>>2]|0}c[u+4>>2]=v;s=s+1|0;}while((s|0)<(c[t>>2]|0))}r=c[f+612>>2]|0;do{if((r|0)==0){l=c[d>>2]|0}else{t=c[(c[f+104>>2]|0)+28>>2]|0;s=b[j>>1]|0;if(s<<16>>16==0){n=97}else{if((b[h>>1]|0)==-1){n=97}else{h=b[f+370>>1]|0}}if((n|0)==97){h=0;s=1}v=oJ(t,16,0,r,0,p)|0;n=f+32|0;c[n>>2]=v;if((c[k>>2]|0)!=0){y=k;y=c[y>>2]|0;i=g;return y|0}o=o+152|0;p=l+20|0;h=h<<16>>16;t=s&65535;u=t>>>1;s=l+2|0;w=0;while(1){y=sd[c[o>>2]&127](f,w,l)|0;c[k>>2]=y;if((y|0)!=0){n=108;break}b[v+(w<<4)>>1]=(c[p>>2]|0)>>>6;b[v+(w<<4)+2>>1]=((da(e[m>>1]|0,h)|0)+u|0)/(t|0)|0;c[v+(w<<4)+8>>2]=e[m>>1]<<6;c[v+(w<<4)+12>>2]=e[s>>1]<<6;c[v+(w<<4)+4>>2]=e[s>>1]<<6;w=w+1|0;if(w>>>0>=r>>>0){n=103;break}v=c[n>>2]|0}if((n|0)==103){l=c[d>>2]|2;c[d>>2]=l;c[f+28>>2]=r;break}else if((n|0)==108){y=k;y=c[y>>2]|0;i=g;return y|0}}}while(0);if((l&3|0)==0){l=l|1;c[d>>2]=l}if((l&1|0)==0){y=k;y=c[y>>2]|0;i=g;return y|0}c[f+52>>2]=b[f+196>>1]|0;c[f+56>>2]=b[f+198>>1]|0;c[f+60>>2]=b[f+200>>1]|0;c[f+64>>2]=b[f+202>>1]|0;b[f+68>>1]=b[j>>1]|0;x=b[f+220>>1]|0;b[f+70>>1]=x;y=b[f+222>>1]|0;b[f+72>>1]=y;l=f+74|0;b[l>>1]=(x-y<<16>>16)+(b[f+224>>1]|0)<<16>>16;b[f+76>>1]=b[f+226>>1]|0;b[f+78>>1]=b[((a[q]|0)==0?l:f+310|0)>>1]|0;y=b[f+478>>1]|0;b[f+80>>1]=(e[f+476>>1]|0)-((y<<16>>16|0)/2|0);b[f+82>>1]=y;y=k;y=c[y>>2]|0;i=g;return y|0}function IP(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;if((d|0)==0){i=e;return}g=c[d+100>>2]|0;j=d+532|0;f=c[j>>2]|0;h=(f|0)!=0;do{if(h){k=c[f+116>>2]|0;if((k|0)!=0){fd[k&511](d)}k=c[f+144>>2]|0;if((k|0)==0){break}fd[k&511](d)}}while(0);if((a[d+812|0]|0)!=0){k=d+792|0;if((c[k>>2]|0)!=0){NK(c[d+104>>2]|0,k)}c[d+796>>2]=0;c[d+800>>2]=0;c[d+804>>2]=0}k=d+104|0;NK(c[k>>2]|0,d+772|0);bX(d+776|0,0,16)|0;l=d+144|0;lJ(g,c[l>>2]|0);c[l>>2]=0;c[d+140>>2]=0;l=d+156|0;lJ(g,c[l>>2]|0);c[l>>2]=0;b[d+152>>1]=0;NK(c[k>>2]|0,d+500|0);c[d+504>>2]=0;k=d+252|0;lJ(g,c[k>>2]|0);c[k>>2]=0;k=d+256|0;lJ(g,c[k>>2]|0);c[k>>2]=0;k=d+296|0;if((a[k]|0)!=0){l=d+336|0;lJ(g,c[l>>2]|0);c[l>>2]=0;l=d+340|0;lJ(g,c[l>>2]|0);c[l>>2]=0;a[k]=0}l=d+552|0;lJ(g,c[l>>2]|0);c[l>>2]=0;b[d+550>>1]=0;if(h){fd[c[f+60>>2]&511](d)}l=d+20|0;lJ(g,c[l>>2]|0);c[l>>2]=0;l=d+24|0;lJ(g,c[l>>2]|0);c[l>>2]=0;l=d+32|0;lJ(g,c[l>>2]|0);c[l>>2]=0;c[d+28>>2]=0;l=d+700|0;lJ(g,c[l>>2]|0);c[l>>2]=0;c[j>>2]=0;i=e;return}function JP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;i=i;return 7}function KP(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 7}function LP(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=pd[c[a+508>>2]&63](a,1751474532,b,0)|0;if((e|0)!=0){a=e;i=d;return a|0}a=ZK(b,272216,a+160|0)|0;i=d;return a|0}function MP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;f=c[a+508>>2]|0;do{if(d<<24>>24==0){f=pd[f&63](a,1751672161,b,0)|0;if((f|0)==0){a=a+216|0;break}else{d=f;i=e;return d|0}}else{f=pd[f&63](a,1986553185,b,0)|0;if((f|0)==0){a=a+300|0;break}else{d=f;i=e;return d|0}}}while(0);b=ZK(b,272776,a)|0;if((b|0)!=0){d=b;i=e;return d|0}c[a+36>>2]=0;c[a+40>>2]=0;d=0;i=e;return d|0}function NP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+504|0;f=pd[c[a+508>>2]&63](a,1668112752,b,e)|0;if((f|0)!=0){a=f;i=d;return a|0}b=LK(b,c[e>>2]|0,a+500|0)|0;if((b|0)==0){a=0;i=d;return a|0}c[e>>2]=0;a=b;i=d;return a|0}function OP(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0;f=i;g=a+260|0;h=pd[c[a+508>>2]&63](a,1835104368,d,0)|0;if((h|0)!=0){k=h;i=f;return k|0}h=ZK(d,272696,g)|0;if((h|0)!=0){k=h;i=f;return k|0}j=a+276|0;k=a+280|0;h=a+290|0;bX(a+266|0,0,26)|0;if((c[g>>2]|0)<=65535){k=0;i=f;return k|0}d=ZK(d,272712,g)|0;if((d|0)!=0){k=d;i=f;return k|0}if((e[k>>1]|0)<64){b[k>>1]=64}if((e[j>>1]|0)>65531){b[j>>1]=-5}if((e[h>>1]|0)<=100){k=0;i=f;return k|0}b[h>>1]=100;k=0;i=f;return k|0}function PP(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=i;h=pd[c[a+508>>2]&63](a,1330851634,d,0)|0;do{if((h|0)==0){g=a+368|0;h=ZK(d,272472,g)|0;if((h|0)!=0){break}bX(a+448|0,0,18)|0;if((b[g>>1]|0)==0){h=0;break}h=ZK(d,272648,g)|0;if((h|0)!=0){break}if((e[g>>1]|0)<=1){h=0;break}h=ZK(d,272664,g)|0}}while(0);i=f;return h|0}function QP(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=pd[c[a+508>>2]&63](a,1886352244,b,0)|0;if((e|0)!=0){a=e;i=d;return a|0}a=ZK(b,272424,a+468|0)|0;i=d;return a|0}function RP(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=i;e=i;i=i+8|0;k=i;i=i+8|0;m=c[d+28>>2]|0;c[a+364>>2]=d;g=pd[c[a+508>>2]&63](a,1851878757,d,k)|0;c[e>>2]=g;if((g|0)!=0){s=g;i=f;return s|0}h=IK(d)|0;g=ZK(d,272368,a+348|0)|0;c[e>>2]=g;if((g|0)!=0){s=g;i=f;return s|0}g=a+352|0;n=c[g>>2]|0;o=n*12|0;j=h+6+o|0;l=(c[k>>2]|0)+h|0;if(j>>>0>l>>>0){c[e>>2]=145;s=145;i=f;return s|0}c[g>>2]=0;k=a+360|0;c[k>>2]=oJ(m,20,0,n,0,e)|0;m=c[e>>2]|0;if((m|0)!=0){s=m;i=f;return s|0}m=MK(d,o)|0;c[e>>2]=m;if((m|0)!=0){s=m;i=f;return s|0}p=c[k>>2]|0;if((n|0)==0){h=p}else{m=a+356|0;do{s=ZK(d,272392,p)|0;c[e>>2]=s;a:do{if((s|0)==0){q=p+8|0;o=b[q>>1]|0;if(o<<16>>16==0){break}r=p+12|0;s=(c[m>>2]|0)+h+(c[r>>2]|0)|0;c[r>>2]=s;do{if(s>>>0>=j>>>0){if(((o&65535)+s|0)>>>0>l>>>0){break}p=p+20|0;break a}}while(0);c[r>>2]=0;b[q>>1]=0}}while(0);n=n+ -1|0;}while((n|0)!=0);h=c[k>>2]|0}c[g>>2]=(p-h|0)/20|0;PK(d);b[a+344>>1]=c[g>>2];s=c[e>>2]|0;i=f;return s|0}function SP(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;e=c[(c[a+96>>2]|0)+8>>2]|0;f=a+360|0;h=c[f>>2]|0;g=a+352|0;j=c[g>>2]|0;if((h|0)!=0){if((j|0)!=0){while(1){k=h+16|0;lJ(e,c[k>>2]|0);c[k>>2]=0;b[h+8>>1]=0;j=j+ -1|0;if((j|0)==0){break}else{h=h+20|0}}h=c[f>>2]|0}lJ(e,h);c[f>>2]=0}c[g>>2]=0;b[a+348>>1]=0;c[a+356>>2]=0;i=d;return}function TP(a,b){a=a|0;b=b|0;i=i;return 7}function UP(a){a=a|0;i=i;return}function VP(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;g=i;i=i+8|0;h=pd[c[b+508>>2]&63](b,1801810542,e,g)|0;if((h|0)!=0){q=h;i=f;return q|0}j=c[g>>2]|0;if(j>>>0<4){q=142;i=f;return q|0}h=b+772|0;e=LK(e,j,h)|0;if((e|0)!=0){q=e;i=f;return q|0}g=c[g>>2]|0;c[b+776>>2]=g;k=c[h>>2]|0;g=k+g|0;h=((d[k+2|0]|0)<<8&65535|(d[k+3|0]|0))&65535;j=h>>>0>32?32:h;a:do{if((j|0)==0){n=0;h=0;e=0}else{n=0;h=0;e=0;m=k+4|0;while(1){l=1<<h;p=m+6|0;if(p>>>0>g>>>0){break a}k=(d[m+2|0]|0)<<8&65535|(d[m+3|0]|0);if((k&65535)<7){break a}k=m+(k&65535)|0;k=k>>>0>g>>>0?g:k;b:do{if((a[m+5|0]&247|(d[m+4|0]|0)<<8&65535)<<16>>16==1){o=m+14|0;if(o>>>0>g>>>0){break}p=((d[p]|0)<<8&65535|(d[m+7|0]|0))&65535;q=k-o|0;if((q|0)<(p*6|0)){p=(q|0)/6|0}n=l|n;if((p|0)==0){break}p=p+ -1|0;if((p|0)!=0){o=(d[m+15|0]|0)<<16|(d[o]|0)<<24|(d[m+16|0]|0)<<8|(d[m+17|0]|0);m=m+20|0;while(1){q=(d[m+1|0]|0)<<16|(d[m]|0)<<24|(d[m+2|0]|0)<<8|(d[m+3|0]|0);if(q>>>0<=o>>>0){break b}p=p+ -1|0;if((p|0)==0){break}else{m=m+6|0;o=q}}}e=l|e}}while(0);h=h+1|0;if(h>>>0<j>>>0){m=k}else{break}}}}while(0);c[b+780>>2]=h;c[b+784>>2]=n;c[b+788>>2]=e;q=0;i=f;return q|0}function WP(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;f=i;i=i+8|0;j=c[d+28>>2]|0;h=pd[c[a+508>>2]&63](a,1734439792,d,0)|0;c[f>>2]=h;if((h|0)!=0){l=h;i=g;return l|0}h=MK(d,4)|0;c[f>>2]=h;if((h|0)!=0){l=h;i=g;return l|0}l=a+548|0;b[l>>1]=RK(d)|0;h=a+550|0;b[h>>1]=RK(d)|0;PK(d);if((e[l>>1]|0)>1){b[h>>1]=0;c[f>>2]=8;l=8;i=g;return l|0}k=b[h>>1]|0;h=k&65535;j=oJ(j,4,0,h,0,f)|0;l=c[f>>2]|0;if((l|0)!=0){i=g;return l|0}l=MK(d,h<<2)|0;c[f>>2]=l;if((l|0)!=0){i=g;return l|0}c[a+552>>2]=j;if(k<<16>>16!=0){a=0;do{b[j+(a<<2)>>1]=RK(d)|0;b[j+(a<<2)+2>>1]=RK(d)|0;a=a+1|0;}while(a>>>0<h>>>0)}PK(d);l=c[f>>2]|0;i=g;return l|0}function XP(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=pd[c[a+508>>2]&63](a,1346587732,b,0)|0;if((e|0)!=0){a=e;i=d;return a|0}a=ZK(b,272304,a+556|0)|0;i=d;return a|0}function YP(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=pd[c[a+508>>2]&63](a,1651008868,b,0)|0;if((e|0)!=0){a=e;i=d;return a|0}a=ZK(b,272216,a+160|0)|0;i=d;return a|0}function ZP(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;h=i;i=i+24|0;g=h;c[h>>2]=0;c[g+4>>2]=b;c[g+8>>2]=d;c[g+12>>2]=0;c[g+16>>2]=0;c[e>>2]=2147483647;b=WJ(a,g,0,e)|0;i=f;return b|0}function _P(a,b){a=a|0;b=b|0;i=i;return 7}function $P(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;j=c[a+616>>2]|0;do{if((j|0)!=0){if((c[a+612>>2]|0)>>>0<=d>>>0){break}j=j+(d*48|0)|0;if((qQ(b,j,e,g)|0)!=0){break}c[f>>2]=j;a=0;i=h;return a|0}}while(0);c[e>>2]=0;c[f>>2]=0;c[g>>2]=0;a=6;i=h;return a|0}function aQ(c,f,g){c=c|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;j=i;i=i+8|0;k=j;switch(e[f+6>>1]|0|0){case 8:case 2:case 1:{c=ZK(c,272184,k)|0;if((c|0)!=0){f=c;i=h;return f|0}a[g]=a[j]|0;a[g+1|0]=a[k+1|0]|0;a[g+2|0]=a[k+2|0]|0;a[g+3|0]=a[k+3|0]|0;a[g+4|0]=a[k+4|0]|0;a[g+5|0]=0;a[g+6|0]=0;a[g+7|0]=0;f=0;i=h;return f|0};case 9:case 7:case 6:{f=ZK(c,272096,g)|0;i=h;return f|0};default:{c=b[f+4>>1]|0;if(!(c<<16>>16==5|c<<16>>16==2)){f=3;i=h;return f|0}c=f+16|0;j=c;c=c+4|0;j=d[j]|d[j+1|0]<<8|d[j+2|0]<<16|d[j+3|0]<<24;c=d[c]|d[c+1|0]<<8|d[c+2|0]<<16|d[c+3|0]<<24;f=g;k=f;f=f+4|0;a[k]=j;a[k+1|0]=j>>8;a[k+2|0]=j>>16;a[k+3|0]=j>>24;a[f]=c;a[f+1|0]=c>>8;a[f+2|0]=c>>16;a[f+3|0]=c>>24;f=0;i=h;return f|0}}return 0}function bQ(b,e,f,g,h,j,k){b=b|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;l=i;q=i;i=i+8|0;r=q;p=i;i=i+8|0;s=p;n=c[b+616>>2]|0;do{if((n|0)!=0){if((c[b+612>>2]|0)>>>0<=e>>>0){break}o=n+(e*48|0)|0;if((qQ(f,o,s,r)|0)!=0){break}r=b+508|0;do{if((pd[c[r>>2]&63](b,1161970772,h,0)|0)!=0){r=pd[c[r>>2]&63](b,1650745716,h,0)|0;if((r|0)==0){break}i=l;return r|0}}while(0);u=IK(h)|0;o=pQ(o,c[p>>2]|0,u,c[q>>2]|0,c[b+84>>2]|0,0,0,h,k,0)|0;if((o|0)!=0){u=o;i=l;return u|0}if((a[n+(e*48|0)+47|0]&1)!=0){u=(a[n+(e*48|0)+16|0]|0)-(a[n+(e*48|0)+17|0]|0)|0;a[k+5|0]=(d[k+1|0]|0)/-2|0;a[k+6|0]=(u-(d[k]|0)|0)/2|0;a[k+7|0]=(u*12|0)/10|0}if((g&64|0)==0){u=0;i=l;return u|0}g=j+12|0;n=c[j>>2]|0;o=j+8|0;e=c[o>>2]|0;a:do{if((n|0)>0){b=c[g>>2]|0;if((e|0)>0){p=0;q=b}else{m=0;while(1){m=m+1|0;if((m|0)>=(n|0)){break a}}}b:while(1){h=q+e|0;while(1){r=q+1|0;if((a[q]|0)!=0){break b}if(r>>>0<h>>>0){q=r}else{break}}p=p+1|0;if((p|0)<(n|0)){q=h}else{break a}}if((p|0)>0){n=n-p|0;aX(b|0,b+(da(p,e)|0)|0,da(n,e)|0)|0;a[k]=(d[k]|0)-p;u=k+3|0;a[u]=(d[u]|0)-p;u=k+6|0;a[u]=(d[u]|0)-p;c[j>>2]=(c[j>>2]|0)-p}do{if((n|0)>0){b=da(n+ -1|0,e)|0;o=0-e|0;q=0;b=(c[g>>2]|0)+b|0;c:while(1){p=b+e|0;r=b;while(1){h=r+1|0;if((a[r]|0)!=0){break c}if(h>>>0<p>>>0){r=h}else{break}}q=q+1|0;if((q|0)<(n|0)){b=b+o|0}else{break}}if((q|0)<=0){break}a[k]=(d[k]|0)-q;c[j>>2]=(c[j>>2]|0)-q;n=n-q|0}}while(0);n=da(n,e)|0;j=j+4|0;b=k+2|0;o=k+5|0;k=k+1|0;h=(n|0)>0;d:do{r=c[g>>2]|0;p=r+n|0;if(h){q=r;do{if((a[q]|0)<0){m=38;break d}q=q+e|0;}while(q>>>0<p>>>0);q=c[j>>2]|0;do{t=a[r]<<1&255;if((q|0)>8){s=r;u=8;while(1){f=s+1|0;v=a[f]|0;a[s]=(v&255)>>>7|t;u=u+8|0;t=v<<1&255;if((u|0)<(q|0)){s=f}else{break}}}else{f=r}a[f]=t;r=r+e|0;q=c[j>>2]|0}while(r>>>0<p>>>0)}else{q=c[j>>2]|0}c[j>>2]=q+ -1;a[b]=(a[b]|0)+1<<24>>24;a[o]=(a[o]|0)+1<<24>>24;a[k]=(a[k]|0)+ -1<<24>>24;p=c[j>>2]|0;}while((p|0)>0);if((m|0)==38){p=c[j>>2]|0}e:while(1){b=p+ -1|0;h=c[g>>2]|0;p=b>>3;v=p+n|0;m=h+v|0;if((p|0)<(v|0)){o=128>>>(b&7);h=h+p|0;do{if((d[h]&o|0)!=0){r=0;m=45;break e}h=h+e|0;}while(h>>>0<m>>>0)}c[j>>2]=b;a[k]=(a[k]|0)+ -1<<24>>24;p=c[j>>2]|0;if((p|0)<=0){r=0;m=45;break}}if((m|0)==45){i=l;return r|0}}}while(0);c[j+4>>2]=0;c[j>>2]=0;c[o>>2]=0;a[j+18|0]=1;v=0;i=l;return v|0}}while(0);c[p>>2]=0;c[q>>2]=0;v=6;i=l;return v|0}function cQ(a){a=a|0;i=i;return}function dQ(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;h=i;g=c[d+100>>2]|0;f=d+628|0;if((a[f]|0)==0){m=f;a[m]=0;i=h;return}j=c[d+468>>2]|0;if((j|0)==131072){j=d+636|0;lJ(g,c[j>>2]|0);c[j>>2]=0;b[d+632>>1]=0;j=d+634|0;d=d+640|0;m=c[d>>2]|0;if((b[j>>1]|0)!=0){l=0;k=0;while(1){lJ(g,c[m+(l<<2)>>2]|0);c[(c[d>>2]|0)+(l<<2)>>2]=0;l=k+1<<16>>16;m=c[d>>2]|0;if((l&65535)<(e[j>>1]|0)){k=l;l=l&65535}else{break}}}lJ(g,m);c[d>>2]=0;b[j>>1]=0;m=f;a[m]=0;i=h;return}else if((j|0)==163840){m=d+636|0;lJ(g,c[m>>2]|0);c[m>>2]=0;b[d+632>>1]=0;m=f;a[m]=0;i=h;return}else{m=f;a[m]=0;i=h;return}}function eQ(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 7}function fQ(a,b){a=a|0;b=b|0;i=i;return 0}function gQ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=i;k=c[a+772>>2]|0;g=k+(c[a+776>>2]|0)|0;j=c[a+780>>2]|0;if((j|0)==0){s=0;i=f;return s|0}h=a+784|0;b=b<<16|e;a=a+788|0;e=1;n=k+4|0;m=0;while(1){o=n+6|0;if(o>>>0>g>>>0){g=20;break}l=((d[n+4|0]|0)<<8&65535|(d[n+5|0]|0))&65535;k=n+(((d[n+2|0]|0)<<8&65535|(d[n+3|0]|0))&65535)|0;k=k>>>0>g>>>0?g:k;a:do{if((c[h>>2]&e|0)!=0){p=n+14|0;if(p>>>0>k>>>0){break}o=((d[o]|0)<<8&65535|(d[n+7|0]|0))&65535;q=k-p|0;if((q|0)<(o*6|0)){o=(q|0)/6|0}if((l&65280|0)!=0){break}q=(o|0)==0;if((c[a>>2]&e|0)==0){if(q){break}while(1){if(((d[p+1|0]|0)<<16|(d[p]|0)<<24|(d[p+2|0]|0)<<8|(d[p+3|0]|0)|0)==(b|0)){break}o=o+ -1|0;if((o|0)==0){break a}else{p=p+6|0}}n=(d[p+4|0]|0)<<8&65535|(d[p+5|0]|0)}else{if(q){break}else{q=0}while(1){p=(o+q|0)>>>1;r=p*6|0;s=(d[n+(r+15)|0]|0)<<16|(d[n+(r+14)|0]|0)<<24|(d[n+(r+16)|0]|0)<<8|(d[n+(r+17)|0]|0);if((s|0)==(b|0)){break}r=s>>>0<b>>>0;q=r?p+1|0:q;o=r?o:p;if(q>>>0>=o>>>0){break a}}n=(d[n+(r+18)|0]|0)<<8&65535|(d[n+(r+19)|0]|0)}m=(n<<16>>16)+((l&8|0)==0?m:0)|0}}while(0);j=j+ -1|0;if((j|0)==0){g=20;break}else{e=e<<1;n=k}}if((g|0)==20){i=f;return m|0}return 0}function hQ(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=i;o=i;i=i+8|0;s=o;r=i;i=i+16|0;q=r;n=i;i=i+16|0;h=n;f=i;i=i+8|0;l=f;m=c[d+28>>2]|0;k=h+12|0;c[k>>2]=IK(d)|0;c[n>>2]=GK(d,l)|0;j=c[f>>2]|0;if((j|0)!=0){E=j;i=g;return E|0}j=ZK(d,272136,h)|0;c[f>>2]=j;if((j|0)!=0){E=j;i=g;return E|0}t=c[k>>2]|0;C=PJ(d,t+12|0)|0;c[o>>2]=C;a:do{if((C|0)==0){h=h+4|0;do{if((b[h>>1]|0)==0){b[h>>1]=0}else{w=q+8|0;v=q+12|0;j=d+4|0;x=t+28|0;y=0;B=0;u=0;t=0;z=0;A=0;b:while(1){E=ZK(d,272160,q)|0;c[o>>2]=E;if((E|0)!=0){p=8;break}D=c[w>>2]|0;E=c[v>>2]|0;do{if((E+D|0)>>>0<=(c[j>>2]|0)>>>0){A=A+1<<16>>16;C=c[r>>2]|0;if((C|0)==1397313095){t=1;break}else if(!((C|0)==1651008868|(C|0)==1751474532)){u=(C|0)==1296389185?1:u;break}if(E>>>0<54){p=12;break b}C=PJ(d,D+12|0)|0;c[o>>2]=C;if((C|0)!=0){break a}B=GK(d,s)|0;C=c[o>>2]|0;if((C|0)!=0){break a}if((B|0)!=1594834165){p=16;break b}C=PJ(d,x+(y<<4)|0)|0;c[o>>2]=C;if((C|0)==0){B=1}else{break a}}}while(0);z=z+1<<16>>16;if((z&65535)<(e[h>>1]|0)){y=z&65535}else{break}}if((p|0)==8){b[h>>1]=z+ -1<<16>>16}else if((p|0)==12){c[o>>2]=142;C=142;break a}else if((p|0)==16){c[o>>2]=142;C=142;break a}b[h>>1]=A;if(A<<16>>16==0){break}do{if((B|0)==0){if(!((t|0)==0|(u|0)==0)){break}c[o>>2]=142;C=142;break a}}while(0);c[f>>2]=0;o=a+152|0;b[o>>1]=A;c[a+148>>2]=c[n>>2];n=a+156|0;c[n>>2]=oJ(m,16,0,A&65535,0,l)|0;l=c[f>>2]|0;if((l|0)!=0){E=l;i=g;return E|0}k=PJ(d,(c[k>>2]|0)+12|0)|0;c[f>>2]=k;if((k|0)!=0){E=k;i=g;return E|0}k=MK(d,e[o>>1]<<4)|0;c[f>>2]=k;if((k|0)!=0){E=k;i=g;return E|0}if((b[h>>1]|0)!=0){m=c[n>>2]|0;n=0;while(1){c[m>>2]=TK(d)|0;c[m+4>>2]=TK(d)|0;k=m+8|0;c[k>>2]=TK(d)|0;l=TK(d)|0;c[m+12>>2]=l;n=n+1|0;if((n|0)<(e[h>>1]|0)){m=((c[k>>2]|0)+l|0)>>>0>(c[j>>2]|0)>>>0?m:m+16|0}else{break}}}PK(d);E=c[f>>2]|0;i=g;return E|0}}while(0);c[o>>2]=2;C=2}}while(0);c[f>>2]=C;E=C;i=g;return E|0}function iQ(a,f,g){a=a|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;j=i;i=i+8|0;o=j;q=i;i=i+8|0;k=q;p=c[f+28>>2]|0;g=g<<24>>24!=0;l=c[a+508>>2]|0;do{if(g){r=pd[l&63](a,1986884728,f,k)|0;c[j>>2]=r;if((r|0)==0){r=a+334|0;k=e[r>>1]|0;m=c[q>>2]|0;l=m>>>2;b[r>>1]=0;r=a+336|0;k=k>>>0>l>>>0?l:k;l=a+340|0;break}else{r=j;r=c[r>>2]|0;i=h;return r|0}}else{r=pd[l&63](a,1752003704,f,k)|0;c[j>>2]=r;if((r|0)==0){r=a+250|0;l=e[r>>1]|0;m=c[q>>2]|0;k=m>>>2;b[r>>1]=0;r=a+252|0;k=l>>>0>k>>>0?k:l;l=a+256|0;break}else{r=j;r=c[r>>2]|0;i=h;return r|0}}}while(0);n=(e[a+264>>1]|0)-k|0;m=(m-(k<<2)|0)>>>1;n=(n|0)<0?0:n;c[r>>2]=oJ(p,4,0,k,0,o)|0;if((c[j>>2]|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}c[l>>2]=oJ(p,2,0,n,0,o)|0;if((c[j>>2]|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}q=MK(f,c[q>>2]|0)|0;c[j>>2]=q;if((q|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}p=c[f+32>>2]|0;q=c[r>>2]|0;o=q+(k<<2)|0;if(q>>>0<o>>>0){while(1){b[q>>1]=(d[p]|0)<<8&65535|(d[p+1|0]|0);r=p+4|0;b[q+2>>1]=(d[p+2|0]|0)<<8&65535|(d[p+3|0]|0);q=q+4|0;if(q>>>0<o>>>0){p=r}else{p=r;break}}}q=c[l>>2]|0;o=q+(((n|0)<(m|0)?n:m)<<1)|0;if(q>>>0<o>>>0){while(1){b[q>>1]=(d[p]|0)<<8&65535|(d[p+1|0]|0);q=q+2|0;if(q>>>0<o>>>0){p=p+2|0}else{break}}}do{if((n|0)>(m|0)&(m|0)!=0){r=c[l>>2]|0;l=b[r+(m+ -1<<1)>>1]|0;m=r+(n<<1)|0;if(q>>>0>=m>>>0){break}do{b[q>>1]=l;q=q+2|0;}while(q>>>0<m>>>0)}}while(0);PK(f);f=k&65535;if(g){b[a+334>>1]=f;r=j;r=c[r>>2]|0;i=h;return r|0}else{b[a+250>>1]=f;r=j;r=c[r>>2]|0;i=h;return r|0}return 0}function jQ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=i;l=i;i=i+8|0;k=l;p=i;i=i+8|0;h=p;o=i;i=i+8|0;j=o;g=i;i=i+8|0;q=g;c[g>>2]=0;m=d+28|0;n=c[m>>2]|0;t=a+612|0;c[t>>2]=0;r=a+508|0;B=pd[c[r>>2]&63](a,1161972803,d,0)|0;c[g>>2]=B;do{if((B|0)!=0){v=pd[c[r>>2]&63](a,1651273571,d,0)|0;c[g>>2]=v;if((v|0)==0){break}i=e;return v|0}}while(0);r=IK(d)|0;s=MK(d,8)|0;c[g>>2]=s;if((s|0)!=0){B=s;i=e;return B|0}B=TK(d)|0;s=TK(d)|0;PK(d);if((B|0)!=131072|s>>>0>65535){c[g>>2]=3;B=3;i=e;return B|0}u=oJ(n,48,0,s,0,q)|0;a=a+616|0;c[a>>2]=u;v=c[g>>2]|0;if((v|0)!=0){B=v;i=e;return B|0}c[t>>2]=s;t=MK(d,s*48|0)|0;c[g>>2]=t;if((t|0)!=0){B=t;i=e;return B|0}t=(s|0)==0;a:do{if(t){PK(d)}else{v=s;while(1){B=ZK(d,272040,u)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,271984,u+16|0)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,271984,u+28|0)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,272064,u)|0;c[g>>2]=B;if((B|0)!=0){break}v=v+ -1|0;if((v|0)==0){break}else{u=u+48|0}}PK(d);if(t){break}a=c[a>>2]|0;b:while(1){v=c[a>>2]|0;u=a+8|0;B=PJ(d,(c[u>>2]|0)+r|0)|0;c[g>>2]=B;if((B|0)!=0){break a}B=MK(d,c[a>>2]<<3)|0;c[g>>2]=B;if((B|0)!=0){break a}w=oJ(n,40,0,c[a>>2]|0,0,q)|0;t=a+4|0;c[t>>2]=w;if((c[g>>2]|0)!=0){break a}if((v|0)!=0){while(1){b[w>>1]=RK(d)|0;b[w+2>>1]=RK(d)|0;B=(c[u>>2]|0)+r|0;c[w+36>>2]=B+(TK(d)|0);v=v+ -1|0;if((v|0)==0){break}else{w=w+40|0}}}PK(d);u=c[a>>2]|0;c:do{if((u|0)!=0){t=c[t>>2]|0;while(1){v=PJ(d,c[t+36>>2]|0)|0;c[g>>2]=v;if((v|0)!=0){f=51;break b}v=MK(d,8)|0;c[g>>2]=v;if((v|0)!=0){f=51;break b}w=t+4|0;b[w>>1]=RK(d)|0;b[t+6>>1]=RK(d)|0;v=t+8|0;c[v>>2]=TK(d)|0;PK(d);z=c[m>>2]|0;w=b[w>>1]|0;d:do{switch(w&65535|0){case 4:{v=oQ(t,d,1)|0;c[o>>2]=v;break};case 2:{c[t+12>>2]=GK(d,h)|0;v=c[p>>2]|0;if((v|0)==0){v=ZK(d,272096,t+16|0)|0;c[p>>2]=v;v=(v|0)!=0|0}c[o>>2]=v;break};case 3:case 1:{y=b[t+2>>1]|0;x=b[t>>1]|0;if((y&65535)<(x&65535)){f=28;break b}w=w<<16>>16==1;x=(y&65535)-(x&65535)|0;c[t+24>>2]=x+1;x=x+2|0;y=t+28|0;c[y>>2]=oJ(z,4,0,x,0,j)|0;z=c[o>>2]|0;if((z|0)!=0){break b}z=MK(d,da(x,w?4:2)|0)|0;c[o>>2]=z;if((z|0)!=0){break b}if((x|0)!=0){A=0;do{B=c[v>>2]|0;if(w){z=TK(d)|0}else{z=(RK(d)|0)&65535}c[(c[y>>2]|0)+(A<<2)>>2]=z+B;A=A+1|0;}while(A>>>0<x>>>0)}PK(d);v=c[o>>2]|0;break};case 5:{c[t+12>>2]=GK(d,k)|0;z=c[l>>2]|0;if((z|0)!=0){f=42;break b}B=(ZK(d,272096,t+16|0)|0)!=0;v=B&1;c[o>>2]=v;if(B){break d}v=oQ(t,d,0)|0;c[o>>2]=v;break};default:{f=45;break b}}}while(0);c[g>>2]=v;if((v|0)!=0){f=51;break b}u=u+ -1|0;if((u|0)==0){break c}else{t=t+40|0}}}}while(0);s=s+ -1|0;if((s|0)==0){break a}else{a=a+48|0}}if((f|0)==28){c[o>>2]=3;z=3}else if((f|0)==42){c[o>>2]=z}else if((f|0)==45){c[o>>2]=3;z=3}else if((f|0)==51){i=e;return v|0}c[g>>2]=z;B=z;i=e;return B|0}}while(0);B=c[g>>2]|0;i=e;return B|0}function kQ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;d=c[a+100>>2]|0;b=a+616|0;g=c[b>>2]|0;a=a+612|0;h=c[a>>2]|0;f=g+(h*48|0)|0;if((g|0)==0){l=a;c[l>>2]=0;i=e;return}if((h|0)>0){do{h=g+4|0;l=c[h>>2]|0;k=c[g>>2]|0;j=l+(k*40|0)|0;do{if((l|0)==0){l=0}else{if((k|0)<=0){break}do{k=l+28|0;lJ(d,c[k>>2]|0);c[k>>2]=0;k=l+32|0;lJ(d,c[k>>2]|0);c[k>>2]=0;l=l+40|0;}while(l>>>0<j>>>0);l=c[h>>2]|0}}while(0);lJ(d,l);c[h>>2]=0;c[g>>2]=0;g=g+48|0;}while(g>>>0<f>>>0);g=c[b>>2]|0}lJ(d,g);c[b>>2]=0;l=a;c[l>>2]=0;i=e;return}function lQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=WJ(a,b,0,c)|0;i=d;return a|0}function mQ(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;if((c[e+612>>2]|0)>>>0<=f>>>0){g=6;i=h;return g|0}k=c[e+616>>2]|0;b[g>>1]=d[k+(f*48|0)+44|0]|0;b[g+2>>1]=d[k+(f*48|0)+45|0]|0;j=a[k+(f*48|0)+16|0]<<6;c[g+12>>2]=j;e=a[k+(f*48|0)+17|0]<<6;c[g+16>>2]=e;c[g+24>>2]=(d[k+(f*48|0)+18|0]|0)+(a[k+(f*48|0)+22|0]|0)+(a[k+(f*48|0)+23|0]|0)<<6;c[g+20>>2]=j-e;g=0;i=h;return g|0}function nQ(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;j=i;d=d<<24>>24!=0?a+300|0:a+216|0;m=b[d+34>>1]|0;k=m&65535;do{if(m<<16>>16!=0){m=d+36|0;l=c[m>>2]|0;if((l|0)==0){break}if((e[a+264>>1]|0)>>>0<=f>>>0){break}if(k>>>0>f>>>0){b[g>>1]=b[l+(f<<2)+2>>1]|0;g=l+(f<<2)|0}else{b[g>>1]=b[(c[d+40>>2]|0)+(f-k<<1)>>1]|0;g=(c[m>>2]|0)+(k+ -1<<2)|0}b[h>>1]=b[g>>1]|0;i=j;return 0}}while(0);b[h>>1]=0;b[g>>1]=0;i=j;return 0}function oQ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;g=i;i=i+8|0;k=g;l=c[d+28>>2]|0;h=GK(d,k)|0;j=c[g>>2]|0;if((j|0)!=0){m=j;i=f;return m|0}c[a+24>>2]=h;j=e<<24>>24!=0;do{if(j){c[a+28>>2]=oJ(l,4,0,h,0,k)|0;e=c[g>>2]|0;if((e|0)==0){m=h<<2;break}else{m=e;i=f;return m|0}}else{m=h<<1}}while(0);e=a+32|0;c[e>>2]=oJ(l,2,0,h,0,k)|0;k=c[g>>2]|0;if((k|0)!=0){m=k;i=f;return m|0}k=MK(d,m)|0;c[g>>2]=k;if((k|0)!=0){m=k;i=f;return m|0}if((h|0)!=0){k=a+8|0;a=a+28|0;l=0;do{m=RK(d)|0;b[(c[e>>2]|0)+(l<<1)>>1]=m;if(j){m=c[k>>2]|0;m=((RK(d)|0)&65535)+m|0;c[(c[a>>2]|0)+(l<<2)>>2]=m}l=l+1|0;}while(l>>>0<h>>>0)}PK(d);m=c[g>>2]|0;i=f;return m|0}function pQ(f,g,h,j,k,l,m,n,o,p){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;q=i;C=i;i=i+8|0;B=C;r=i;i=i+8|0;z=r;x=i;i=i+8|0;v=x;t=i;i=i+8|0;u=i;i=i+8|0;w=u;s=c[n+28>>2]|0;y=k+76|0;j=PJ(n,j+h|0)|0;c[r>>2]=j;if((j|0)!=0){g=j;i=q;return g|0}j=g+6|0;a:do{switch(e[j>>1]|0){case 8:case 2:case 1:{A=ZK(n,272184,B)|0;if((A|0)!=0){n=A;A=8;break a}a[o]=a[C]|0;a[o+1|0]=a[B+1|0]|0;a[o+2|0]=a[B+2|0]|0;a[o+3|0]=a[B+3|0]|0;a[o+4|0]=a[B+4|0]|0;a[o+5|0]=0;a[o+6|0]=0;a[o+7|0]=0;A=7;break};case 9:case 7:case 6:{B=ZK(n,272096,o)|0;c[r>>2]=B;if((B|0)==0){break a}i=q;return B|0};default:{C=b[g+4>>1]|0;if(!(C<<16>>16==5|C<<16>>16==2)){n=3;A=8;break a}g=g+16|0;B=g;g=g+4|0;B=d[B]|d[B+1|0]<<8|d[B+2|0]<<16|d[B+3|0]<<24;g=d[g]|d[g+1|0]<<8|d[g+2|0]<<16|d[g+3|0]<<24;A=o;C=A;A=A+4|0;a[C]=B;a[C+1|0]=B>>8;a[C+2|0]=B>>16;a[C+3|0]=B>>24;a[A]=g;a[A+1|0]=g>>8;a[A+2|0]=g>>16;a[A+3|0]=g>>24;A=7}}}while(0);if((A|0)==7){c[r>>2]=0}else if((A|0)==8){c[r>>2]=n;g=n;i=q;return g|0}do{if((p|0)==0){B=d[o+1|0]|0;c[k+80>>2]=B;A=d[o]|0;c[y>>2]=A;C=d[f+46|0]|0;if((C|0)==4){a[k+94|0]=4;B=(B+1|0)>>>1;c[k+84>>2]=B}else if((C|0)==2){a[k+94|0]=3;B=(B+3|0)>>>2;c[k+84>>2]=B}else if((C|0)==1){a[k+94|0]=1;B=(B+7|0)>>>3;c[k+84>>2]=B}else if((C|0)==8){a[k+94|0]=2;c[k+84>>2]=B}else{g=3;i=q;return g|0}A=da(B,A)|0;if((A|0)==0){g=0;i=q;return g|0}B=CJ(k,A)|0;c[r>>2]=B;if((B|0)==0){break}i=q;return B|0}}while(0);j=e[j>>1]|0;b:do{switch(j|0){case 8:{g=DK(n,1)|0;c[r>>2]=g;if((g|0)==0){break b}c[r>>2]=83;g=83;i=q;return g|0};case 7:case 6:case 5:case 2:case 1:{s=d[f+46|0]|0;if((l|0)<0){g=6;i=q;return g|0}f=d[o+1|0]|0;if((f+l|0)>(c[k+80>>2]|0)|(m|0)<0){g=6;i=q;return g|0}t=d[o]|0;if((t+m|0)>(c[y>>2]|0)){g=6;i=q;return g|0}r=da(f,s)|0;switch(j|0){case 6:case 1:{if((s|0)==1){f=(f+7|0)>>>3}else if((s|0)==2){f=(f+3|0)>>>2}else if((s|0)==4){f=(f+1|0)>>>1}t=da(f,t)|0;h=1;break};case 7:case 5:case 2:{t=((da(t,r)|0)+7|0)>>>3;h=0;break};default:{g=3;i=q;return g|0}}t=MK(n,t)|0;if((t|0)!=0){g=t;i=q;return g|0}s=da(s,l)|0;v=a[o]|0;l=c[k+84>>2]|0;x=c[k+88>>2]|0;if((l|0)<0){x=x+(da((c[y>>2]|0)+ -1|0,0-l|0)|0)|0}if(v<<24>>24!=0){z=da(l,m)|0;p=s>>3;m=s&7;f=m&255;t=r>>>0>7;s=r+ -8|0;k=m<<24>>24==0;m=8-m<<24>>24&255;u=h<<24>>24==0;g=(15-r|0)>0?0:s>>>3;h=s-(g<<3)|0;o=c[n+32>>2]|0;y=0;w=v&255;v=x+(p+1+g+z)|0;x=x+(z+p)|0;p=0;while(1){if(t){z=o;A=y;y=s;j=x;while(1){if(p>>>0<8){o=z+1|0;A=(d[z]<<8-p|A&65535)&65535;p=p+8|0}else{o=z}z=(A&65535)>>>8&65535;if(k){a[j]=d[j]|z;j=j+1|0}else{a[j]=d[j]|z>>>f;j=j+1|0;a[j]=d[j]|z<<m}A=A<<8&65535;p=p+ -8|0;y=y+ -8|0;if((y|0)>-1){z=o}else{y=h;z=v;break}}}else{A=y;y=r;z=x}if((y|0)>0){if((p|0)<(y|0)){j=o+1|0;A=(d[o]<<8-p|A&65535)&65535;p=p+8|0}else{j=o}o=(A&65535)>>>8&65535&(255>>>y^255);a[z]=o>>>f|d[z];if((y|0)>(m|0)){g=z+1|0;a[g]=d[g]|o<<m}o=j;A=(A&65535)<<y&65535;p=p-y|0}w=w+ -1|0;if((w|0)>0){y=u?A:0;v=v+l|0;x=x+l|0;p=u?p:0}else{break}}}PK(n);g=0;i=q;return g|0};case 9:{break};default:{g=3;i=q;return g|0}}}while(0);y=EK(n,z)|0;o=c[r>>2]|0;if((o|0)!=0){g=o;i=q;return g|0}j=y&65535;o=oJ(s,4,0,j,0,z)|0;z=c[r>>2]|0;if((z|0)!=0){g=z;i=q;return g|0}g=MK(n,j<<2)|0;c[r>>2]=g;c:do{if((g|0)==0){j=y<<16>>16==0;if(j){PK(n);break}else{z=o;A=y}while(1){b[z>>1]=RK(n)|0;a[z+2|0]=QK(n)|0;a[z+3|0]=QK(n)|0;A=A+ -1<<16>>16;if(A<<16>>16==0){break}else{z=z+4|0}}PK(n);if(j){break}z=p+1|0;p=o;while(1){g=qQ(e[p>>1]|0,f,v,w)|0;c[r>>2]=g;if((g|0)!=0){break c}g=pQ(f,c[x>>2]|0,h,c[u>>2]|0,k,(a[p+2|0]|0)+l|0,(a[p+3|0]|0)+m|0,n,t,z)|0;c[r>>2]=g;if((g|0)!=0){break c}y=y+ -1<<16>>16;if(y<<16>>16==0){break}else{p=p+4|0}}}}while(0);lJ(s,o);g=c[r>>2]|0;i=q;return g|0}function qQ(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;a:do{if((e[d+40>>1]|0)>>>0<=a>>>0){if((e[d+42>>1]|0)>>>0<a>>>0){break}j=c[d+4>>2]|0;n=c[d>>2]|0;d=j+(n*40|0)|0;if(!((j|0)!=0&(n|0)>0)){break}while(1){k=e[j>>1]|0;if(k>>>0<=a>>>0){if((e[j+2>>1]|0)>>>0>=a>>>0){break}}j=j+40|0;if(j>>>0>=d>>>0){break a}}k=a-k|0;d=b[j+4>>1]|0;b:do{switch(d&65535|0){case 5:case 4:{k=c[j+24>>2]|0;if((k|0)==0){break a}m=c[j+32>>2]|0;n=0;while(1){l=n+1|0;if((e[m+(n<<1)>>1]|0|0)==(a|0)){break}if(l>>>0<k>>>0){n=l}else{break a}}if(d<<16>>16==4){c[g>>2]=c[(c[j+28>>2]|0)+(n<<2)>>2];break b}else{c[g>>2]=(da(c[j+12>>2]|0,n)|0)+(c[j+8>>2]|0);break b}break};case 3:case 1:{c[g>>2]=c[(c[j+28>>2]|0)+((k&65535)<<2)>>2];break};case 2:{c[g>>2]=(da(c[j+12>>2]|0,k&65535)|0)+(c[j+8>>2]|0);break};default:{break a}}}while(0);c[f>>2]=j;n=0;i=h;return n|0}}while(0);c[f>>2]=0;c[g>>2]=0;n=6;i=h;return n|0}function rQ(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=i;h=i;i=i+8|0;k=h;j=c[a+100>>2]|0;c[h>>2]=0;m=a+360|0;p=b[a+344>>1]|0;if(p<<16>>16==0){v=0;w=f;c[w>>2]=v;w=h;w=c[w>>2]|0;i=g;return w|0}q=0;u=-1;v=-1;r=-1;n=-1;s=0;t=0;o=c[m>>2]|0;while(1){do{if((b[o+6>>1]|0)==d<<16>>16){if((b[o+8>>1]|0)==0){break}w=e[o>>1]|0;if((w|0)==1){if((b[o+4>>1]|0)==0){u=q;break}v=(b[o+2>>1]|0)==0?q:v;break}else if((w|0)==3){if((n|0)!=-1){if((b[o+4>>1]&1023)!=9){break}}w=e[o+2>>1]|0;if(!((w|0)==10|(w|0)==1|(w|0)==0)){break}n=q;s=(b[o+4>>1]&1023)==9|0;break}else if((w|0)==2|(w|0)==0){r=q;break}else{break}}}while(0);t=t+1<<16>>16;if((t&65535)<(p&65535)){q=t&65535;o=o+20|0}else{break}}o=(u|0)>-1?u:v;do{if((n|0)>-1){if((o|0)>-1&s<<24>>24==0){l=17;break}m=c[m>>2]|0;w=e[m+(n*20|0)+2>>1]|0;if((w|0)==10|(w|0)==0|(w|0)==1){d=195;m=m+(n*20|0)|0;break}else{j=0}w=f;c[w>>2]=j;w=h;w=c[w>>2]|0;i=g;return w|0}else{l=17}}while(0);do{if((l|0)==17){if((o|0)>-1){d=196;m=(c[m>>2]|0)+(o*20|0)|0;break}if((r|0)>-1){d=195;m=(c[m>>2]|0)+(r*20|0)|0;break}else{v=0;w=f;c[w>>2]=v;w=h;w=c[w>>2]|0;i=g;return w|0}}}while(0);if((m|0)==0){v=0;w=f;c[w>>2]=v;w=h;w=c[w>>2]|0;i=g;return w|0}l=m+16|0;a:do{if((c[l>>2]|0)==0){n=c[a+364>>2]|0;a=m+8|0;c[l>>2]=oJ(j,1,0,e[a>>1]|0,0,k)|0;do{if((c[h>>2]|0)==0){w=PJ(n,c[m+12>>2]|0)|0;c[h>>2]=w;if((w|0)!=0){break}w=CK(n,c[l>>2]|0,e[a>>1]|0)|0;c[h>>2]=w;if((w|0)==0){break a}}}while(0);lJ(j,c[l>>2]|0);c[l>>2]=0;b[a>>1]=0;v=0;w=f;c[w>>2]=v;w=h;w=c[w>>2]|0;i=g;return w|0}}while(0);v=Bd[d&255](m,j)|0;w=f;c[w>>2]=v;w=h;w=c[w>>2]|0;i=g;return w|0}function sQ(a){a=a|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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=i;k=i;i=i+168|0;c[k>>2]=0;o=i;i=i+16|0;h=o;g=i;i=i+176|0;p=i;i=i+8|0;j=p;m=c[a+500>>2]|0;n=a+504|0;l=m+(c[n>>2]|0)|0;q=m;if((q|0)==0){i=f;return}if((q+4|0)>>>0>l>>>0){i=f;return}G=q+2|0;q=G;if((d[G+ -1|0]|0|(d[G+ -2|0]|0)<<8&65535)<<16>>16!=0){i=f;return}q=q+2|0;u=(d[q+ -1|0]|0|(d[q+ -2|0]|0)<<8&65535)&65535;if((u|0)==0){i=f;return}z=h+8|0;A=h+10|0;r=h+4|0;w=a+264|0;x=g+172|0;y=g+16|0;v=g+12|0;while(1){if((q+8|0)>>>0>l>>>0){a=24;break}q=q+2|0;b[z>>1]=d[q+ -1|0]|0|(d[q+ -2|0]|0)<<8&65535;q=q+2|0;b[A>>1]=d[q+ -1|0]|0|(d[q+ -2|0]|0)<<8&65535;c[o>>2]=a;c[r>>2]=0;q=q+4|0;B=(d[q+ -3|0]|0)<<16|(d[q+ -4|0]|0)<<24|(d[q+ -2|0]|0)<<8|(d[q+ -1|0]|0);do{if((B|0)!=0){if(B>>>0>((c[n>>2]|0)+ -2|0)>>>0){break}B=m+B|0;E=(d[B+1|0]|0|(d[B]|0)<<8&65535)&65535;D=272992;a:do{if((c[D>>2]|0)!=0){while(1){C=c[D>>2]|0;if((c[C+40>>2]|0)==(E|0)){break}D=D+4|0;if((c[D>>2]|0)==0){break a}}D=0;s=0;Pa(35,g|0,B|0,l|0,0);F=s;s=0;if((F|0)!=0&(t|0)!=0){E=kX(c[F>>2]|0,k)|0;if((E|0)==0){_a(F|0,t|0)}H=t}else{E=-1}if((E|0)==1){E=H}else{c[x>>2]=e[w>>1]|0;YW(y,1,k|0)|0;E=0}while(1){if((E|0)==0){s=0;G=Ha(c[C+44>>2]|0,B|0,g|0)|0;F=s;s=0;if((F|0)!=0&(t|0)!=0){E=kX(c[F>>2]|0,k)|0;if((E|0)==0){_a(F|0,t|0)}H=t}else{E=-1}if((E|0)==1){E=H;continue}D=G}if((c[v>>2]|0)!=0){break a}s=0;G=va(42,C|0,B|0,h|0,j|0)|0;F=s;s=0;if((F|0)!=0&(t|0)!=0){E=kX(c[F>>2]|0,k)|0;if((E|0)==0){_a(F|0,t|0)}H=t}else{E=-1}if((E|0)==1){E=H}else{break}}if((G|0)!=0){break}c[(c[p>>2]|0)+20>>2]=D}}while(0);}}while(0);u=u+ -1|0;if((u|0)==0){a=24;break}}if((a|0)==24){i=f;return}}function tQ(b,f){b=b|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;k=i;i=i+8|0;h=c[b+16>>2]|0;b=(e[b+8>>1]|0)>>>1;f=oJ(f,1,0,b+1|0,0,k)|0;if((c[k>>2]|0)!=0){k=0;i=g;return k|0}if((b|0)!=0){j=0;while(1){k=a[h+1|0]|0;a[f+j|0]=(((d[h]|0)<<8&65535|k&255)+ -32<<16>>16&65535)>95?63:k;j=j+1|0;if(j>>>0<b>>>0){h=h+2|0}else{break}}}a[f+b|0]=0;k=f;i=g;return k|0}function uQ(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;j=i;i=i+8|0;g=c[d+16>>2]|0;h=b[d+8>>1]|0;d=h&65535;e=oJ(e,1,0,d+1|0,0,j)|0;if((c[j>>2]|0)!=0){j=0;i=f;return j|0}if(h<<16>>16!=0){h=0;while(1){j=a[g]|0;a[e+h|0]=(j&255)<32|j<<24>>24<0?63:j;h=h+1|0;if(h>>>0<d>>>0){g=g+1|0}else{break}}}a[e+d|0]=0;j=e;i=f;return j|0}function vQ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;f=i;k=i;i=i+8|0;j=k;g=(d[b+1|0]|0)<<16|(d[b]|0)<<24|(d[b+2|0]|0)<<8|(d[b+3|0]|0);h=(g|0)==0;if(h){n=1}else{l=b+7|0;n=g;m=0;while(1){m=m+1+(d[l]|0)|0;n=n+ -1|0;if((n|0)==0){break}else{l=l+4|0}}n=m+1|0}l=a+28|0;m=c[l>>2]|0;c[k>>2]=0;do{if(m>>>0<n>>>0){c[a+36>>2]=e;a=a+32|0;c[a>>2]=oJ(e,4,m,n,c[a>>2]|0,j)|0;if((c[k>>2]|0)==0){c[l>>2]=n;break}else{n=0;i=f;return n|0}}else{a=a+32|0}}while(0);k=c[a>>2]|0;if(!h){while(1){h=b+4|0;j=d[b+7|0]|0;l=j+1|0;e=k;b=(d[b+5|0]|0)<<8|(d[h]|0)<<16|(d[b+6|0]|0);while(1){c[e>>2]=b;l=l+ -1|0;if((l|0)==0){break}else{b=b+1|0;e=e+4|0}}k=k+(j+1<<2)|0;g=g+ -1|0;if((g|0)==0){break}else{b=h}}}c[k>>2]=0;n=c[a>>2]|0;i=f;return n|0}function wQ(a,b){a=a|0;b=b|0;var c=0,e=0,f=0,g=0,h=0,j=0,k=0;c=i;e=(d[a+1|0]|0)<<16|(d[a]|0)<<24|(d[a+2|0]|0)<<8|(d[a+3|0]|0);if((e|0)==0){k=0;i=c;return k|0}else{j=0}a:while(1){while(1){k=(j+e|0)>>>1;g=k*5|0;f=g+7|0;h=(d[a+(g+5)|0]|0)<<8|(d[a+(g+4)|0]|0)<<16|(d[a+(g+6)|0]|0);if(h>>>0>b>>>0){break}j=k+1|0;if(h>>>0>=b>>>0){b=7;break a}if(j>>>0>=e>>>0){a=0;b=8;break a}}if(j>>>0<k>>>0){e=k}else{a=0;b=8;break}}if((b|0)==7){k=((d[a+f|0]|0)<<8&65535|(d[a+(g+8)|0]|0))&65535;i=c;return k|0}else if((b|0)==8){i=c;return a|0}return 0}function xQ(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;h=i;e=b+28|0;k=c[e>>2]|0;a:do{if((k|0)!=-1){f=b+36|0;l=c[f>>2]|0;g=c[b+40>>2]|0;if(l>>>0>=g>>>0){break}j=c[b+16>>2]|0;n=k+1|0;while(1){m=l*12|0;o=(d[j+(m+17)|0]|0)<<16|(d[j+(m+16)|0]|0)<<24|(d[j+(m+18)|0]|0)<<8|(d[j+(m+19)|0]|0);k=(d[j+(m+25)|0]|0)<<16|(d[j+(m+24)|0]|0)<<24|(d[j+(m+26)|0]|0)<<8|(d[j+(m+27)|0]|0);n=n>>>0<o>>>0?o:n;o=l+1|0;if(!(n>>>0>((d[j+(m+21)|0]|0)<<16|(d[j+(m+20)|0]|0)<<24|(d[j+(m+22)|0]|0)<<8|(d[j+(m+23)|0]|0))>>>0|(k|0)==0)){break}if(o>>>0<g>>>0){l=o}else{break a}}c[e>>2]=n;c[b+32>>2]=k;c[f>>2]=l;i=h;return}}while(0);a[b+24|0]=0;i=h;return}function yQ(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;g=i;k=c[b+16>>2]|0;h=d[k+13|0]<<16|d[k+12|0]<<24|d[k+14|0]<<8|d[k+15|0];if((h|0)==0){r=0;i=g;return r|0}l=f<<24>>24!=0;f=(c[e>>2]|0)+(l&1)|0;m=h;r=0;a:while(1){while(1){n=(r+m|0)>>>1;q=n*12|0;p=q+24|0;o=d[k+(q+21)|0]<<16|d[k+(q+20)|0]<<24|d[k+(q+22)|0]<<8|d[k+(q+23)|0];if(f>>>0<(d[k+(q+17)|0]<<16|d[k+(q+16)|0]<<24|d[k+(q+18)|0]<<8|d[k+(q+19)|0])>>>0){break}r=n+1|0;if(f>>>0<=o>>>0){j=8;break a}if(r>>>0>=m>>>0){k=0;break a}}if(r>>>0<n>>>0){m=n}else{k=0;break}}if((j|0)==8){k=d[k+(q+25)|0]<<16|d[k+p|0]<<24|d[k+(q+26)|0]<<8|d[k+(q+27)|0]}if(!l){r=k;i=g;return r|0}do{if(f>>>0>o>>>0){n=n+1|0;if((n|0)==(h|0)){e=0}else{break}i=g;return e|0}}while(0);j=b+24|0;a[j]=1;h=b+28|0;c[h>>2]=f;c[b+36>>2]=n;do{if((k|0)==0){xQ(b);if((a[j]|0)==0){r=0;i=g;return r|0}else{k=c[b+32>>2]|0;break}}else{c[b+32>>2]=k}}while(0);if((k|0)==0){r=0;i=g;return r|0}c[e>>2]=c[h>>2];r=k;i=g;return r|0}function zQ(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;j=i;e=b+28|0;l=c[e>>2]|0;a:do{if((l|0)!=-1){g=b+36|0;k=c[g>>2]|0;f=c[b+40>>2]|0;if(k>>>0>=f>>>0){break}h=c[b+16>>2]|0;o=l+1|0;b:while(1){n=k*12|0;l=(d[h+(n+17)|0]|0)<<16|(d[h+(n+16)|0]|0)<<24|(d[h+(n+18)|0]|0)<<8|(d[h+(n+19)|0]|0);m=(d[h+(n+21)|0]|0)<<16|(d[h+(n+20)|0]|0)<<24|(d[h+(n+22)|0]|0)<<8|(d[h+(n+23)|0]|0);n=(d[h+(n+25)|0]|0)<<16|(d[h+(n+24)|0]|0)<<24|(d[h+(n+26)|0]|0)<<8|(d[h+(n+27)|0]|0);o=o>>>0<l>>>0?l:o;if(o>>>0<=m>>>0){p=o;while(1){q=p+n|0;o=p+1|0;if((q|0)!=(l|0)){break b}if(o>>>0>m>>>0){break}else{p=o}}}k=k+1|0;if(k>>>0>=f>>>0){break a}}c[e>>2]=p;c[b+32>>2]=q-l;c[g>>2]=k;i=j;return}}while(0);a[b+24|0]=0;i=j;return}function AQ(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;g=i;l=c[b+16>>2]|0;h=d[l+13|0]<<16|d[l+12|0]<<24|d[l+14|0]<<8|d[l+15|0];if((h|0)==0){s=0;i=g;return s|0}k=f<<24>>24!=0;f=(c[e>>2]|0)+(k&1)|0;o=h;s=0;a:while(1){while(1){n=(s+o|0)>>>1;r=n*12|0;q=d[l+(r+17)|0]<<16|d[l+(r+16)|0]<<24|d[l+(r+18)|0]<<8|d[l+(r+19)|0];p=r+24|0;m=d[l+(r+21)|0]<<16|d[l+(r+20)|0]<<24|d[l+(r+22)|0]<<8|d[l+(r+23)|0];if(f>>>0<q>>>0){break}s=n+1|0;if(f>>>0<=m>>>0){j=8;break a}if(s>>>0>=o>>>0){l=0;break a}}if(s>>>0<n>>>0){o=n}else{l=0;break}}if((j|0)==8){l=f-q+(d[l+(r+25)|0]<<16|d[l+p|0]<<24|d[l+(r+26)|0]<<8|d[l+(r+27)|0])|0}if(!k){s=l;i=g;return s|0}do{if(f>>>0>m>>>0){n=n+1|0;if((n|0)==(h|0)){e=0}else{break}i=g;return e|0}}while(0);j=b+24|0;a[j]=1;h=b+28|0;c[h>>2]=f;c[b+36>>2]=n;do{if((l|0)==0){zQ(b);if((a[j]|0)==0){s=0;i=g;return s|0}else{l=c[b+32>>2]|0;break}}else{c[b+32>>2]=l}}while(0);if((l|0)==0){s=0;i=g;return s|0}c[e>>2]=c[h>>2];s=l;i=g;return s|0}function BQ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=i;m=c[a+16>>2]|0;n=((d[m+6|0]|0)<<8&65535|(d[m+7|0]|0))&65535;h=n&65534;l=n>>>1;if((l|0)==0){C=0;i=g;return C|0}k=e<<24>>24!=0;s=(c[b>>2]|0)+(k&1)|0;if(s>>>0>=65536){C=0;i=g;return C|0}j=m+14|0;m=m+(h+16)|0;o=n|1;p=h<<1;q=p|1;r=l+ -1|0;n=p|2;while(1){u=0;w=j;v=m;a:while(1){x=w+2|0;B=(d[w]|0)<<8&65535|(d[w+1|0]|0);t=v+2|0;A=(d[v]|0)<<8&65535|(d[v+1|0]|0);w=A&65535;do{if(s>>>0>=w>>>0){if(s>>>0>(B&65535)>>>0){break}z=((d[v+h|0]|0)<<8&65535|(d[v+o|0]|0))<<16>>16;x=v+p|0;C=(d[x]|0)<<8&65535|(d[v+q|0]|0);y=C&65535;do{if(u>>>0>=r>>>0&A<<16>>16==-1&B<<16>>16==-1){A=c[a>>2]|0;if(C<<16>>16==0){break}A=(v+(n+y)|0)>>>0>((c[A+500>>2]|0)+(c[A+504>>2]|0)|0)>>>0;z=A?1:z;y=A?0:y}}while(0);if((y|0)!=65535)if((y|0)==0){f=11;break a}else{f=12;break a}}}while(0);u=u+1|0;if(u>>>0<l>>>0){w=x;v=t}else{u=0;break}}do{if((f|0)==11){f=0;u=z+s&65535}else if((f|0)==12){f=0;C=(s-w<<1)+p+y|0;C=(d[v+C|0]|0)<<8&65535|(d[v+(C+1)|0]|0);u=C&65535;if(C<<16>>16==0){break}u=u+z&65535}}while(0);t=s+1|0;if(!(k&(u|0)==0)){break}if(t>>>0<65536){s=t}else{h=0;f=19;break}}if((f|0)==19){i=g;return h|0}if(e<<24>>24==0|(u|0)==0){C=u;i=g;return C|0}c[b>>2]=s;C=u;i=g;return C|0}function CQ(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;b=i;e=a+24|0;f=c[e>>2]|0;a:do{if(f>>>0<=65534){m=f+1|0;f=a+40|0;l=c[f>>2]|0;h=a+52|0;j=a+44|0;k=a+48|0;g=a+36|0;o=l;q=m>>>0<l>>>0?l:m;b:while(1){p=c[h>>2]|0;l=c[j>>2]|0;m=c[k>>2]|0;c:do{if(q>>>0>l>>>0){n=q}else{if((p|0)==0){n=q;while(1){o=n+m&65535;if((o|0)!=0){f=11;break b}n=n+1|0;if(n>>>0>l>>>0){break c}}}n=q;p=p+(q-o<<1)|0;while(1){o=p+2|0;p=(d[p]|0)<<8&65535|(d[p+1|0]|0);if(p<<16>>16!=0){p=(p&65535)+m&65535;if((p|0)!=0){f=8;break b}}n=n+1|0;if(n>>>0>l>>>0){break}else{p=o}}}}while(0);if((EQ(a,(c[g>>2]|0)+1|0)|0)<0){break a}l=c[f>>2]|0;o=l;q=n>>>0<l>>>0?l:n}if((f|0)==8){c[e>>2]=n;c[a+28>>2]=p;i=b;return}else if((f|0)==11){c[e>>2]=n;c[a+28>>2]=o;i=b;return}}}while(0);c[e>>2]=-1;c[a+28>>2]=0;i=b;return}function DQ(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=i;j=c[a+16>>2]|0;g=((d[j+6|0]|0)<<8&65535|(d[j+7|0]|0))&65535;k=g&65534;if((k|0)==0){B=0;i=f;return B|0}g=g>>>1;h=e<<24>>24!=0;e=(c[b>>2]|0)+(h&1)|0;l=k+2|0;q=65535;r=g;m=g;o=0;a:while(1){while(1){if(o>>>0>=r>>>0){j=0;break a}m=(r+o|0)>>>1;t=m<<1;s=t+14|0;t=(d[j+s|0]|0)<<8&65535|(d[j+(t+15)|0]|0);q=t&65535;s=s+l|0;u=(d[j+s|0]|0)<<8&65535|(d[j+(s|1)|0]|0);n=u&65535;if(e>>>0<n>>>0){r=m}else{break}}o=m+1|0;if(e>>>0<=q>>>0){p=7;break}}b:do{if((p|0)==7){w=s+k|0;r=((d[j+w|0]|0)<<8&65535|(d[j+(w|1)|0]|0))<<16>>16;w=w+k|0;s=j+w|0;v=(d[s]|0)<<8&65535|(d[j+(w|1)|0]|0);p=v&65535;do{if(m>>>0>=(g+ -1|0)>>>0&u<<16>>16==-1&t<<16>>16==-1){t=c[a>>2]|0;if(v<<16>>16==0){t=r;u=p;break}u=(j+(w+2+p)|0)>>>0>((c[t+500>>2]|0)+(c[t+504>>2]|0)|0)>>>0;t=u?1:r;u=u?0:p}else{t=r;u=p}}while(0);v=(u|0)==65535;do{if((c[a+20>>2]&2|0)==0){if(v){j=0;break b}}else{y=v?o:m;c:do{if((m|0)==0){v=q;w=0;x=n}else{v=q;w=m;x=n;while(1){A=w+ -1|0;z=A<<1;B=z+14|0;z=((d[j+B|0]|0)<<8&65535|(d[j+(z+15)|0]|0))&65535;if(e>>>0>z>>>0){break c}B=B+l|0;x=((d[j+B|0]|0)<<8&65535|(d[j+(B|1)|0]|0))&65535;B=B+k|0;t=((d[j+B|0]|0)<<8&65535|(d[j+(B|1)|0]|0))<<16>>16;B=B+k|0;s=j+B|0;B=(d[s]|0)<<8&65535|(d[j+(B|1)|0]|0);u=B&65535;y=B<<16>>16==-1?y:A;if((A|0)==0){v=z;w=0;break}else{w=A;v=z}}}}while(0);if((y|0)==(o|0)){s=(w|0)==(m|0);q=s?v:q;if(o>>>0<g>>>0){t=s?t:r;r=m;u=s?u:p;n=s?x:n}else{j=0;break b}while(1){x=o<<1;w=x+14|0;v=w+l|0;s=j+v|0;p=((d[s]|0)<<8&65535|(d[j+(v|1)|0]|0))&65535;if(e>>>0<p>>>0){break}q=((d[j+w|0]|0)<<8&65535|(d[j+(x+15)|0]|0))&65535;B=v+k|0;t=((d[j+B|0]|0)<<8&65535|(d[j+(B|1)|0]|0))<<16>>16;B=B+k|0;s=j+B|0;B=(d[s]|0)<<8&65535|(d[j+(B|1)|0]|0);u=B&65535;r=B<<16>>16==-1?r:o;o=o+1|0;if(o>>>0<g>>>0){n=p}else{n=p;break}}w=o+ -1|0;if((r|0)==(m|0)){j=0;m=w;break b}else{m=r}}else{q=v;m=y;n=x}if((m|0)==(w|0)){break}q=m<<1;B=q+14|0;n=B+l|0;t=n+k|0;u=t+k|0;s=j+u|0;t=((d[j+t|0]|0)<<8&65535|(d[j+(t|1)|0]|0))<<16>>16;q=((d[j+B|0]|0)<<8&65535|(d[j+(q+15)|0]|0))&65535;u=((d[s]|0)<<8&65535|(d[j+(u|1)|0]|0))&65535;n=((d[j+n|0]|0)<<8&65535|(d[j+(n|1)|0]|0))&65535}}while(0);if((u|0)==0){j=t+e&65535;break}B=(e-n<<1)+u|0;B=(d[s+B|0]|0)<<8&65535|(d[s+(B+1)|0]|0);j=B&65535;if(B<<16>>16==0){break}j=j+t&65535}}while(0);if(!h){B=j;i=f;return B|0}do{if(e>>>0>q>>>0){m=m+1|0;if((m|0)==(g|0)){b=0}else{break}i=f;return b|0}}while(0);if((EQ(a,m)|0)!=0){if((j|0)==0){B=0;i=f;return B|0}c[b>>2]=e;B=j;i=f;return B|0}g=a+24|0;c[g>>2]=e;if((j|0)==0){c[g>>2]=e;CQ(a);j=c[a+28>>2]|0}else{c[a+28>>2]=j}if((j|0)==0){B=0;i=f;return B|0}c[b>>2]=c[g>>2];B=j;i=f;return B|0}function EQ(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;o=c[a+16>>2]|0;g=c[a+32>>2]|0;if(g>>>0<=b>>>0){s=-1;i=f;return s|0}l=a+44|0;h=g<<1;m=h+2|0;n=a+40|0;k=a+48|0;j=g+ -1|0;a:while(1){s=b<<1;q=s+14|0;s=(d[o+q|0]|0)<<8&65535|(d[o+(s+15)|0]|0);c[l>>2]=s&65535;q=m+q|0;t=(d[o+q|0]|0)<<8&65535|(d[o+(q|1)|0]|0);c[n>>2]=t&65535;q=q+h|0;c[k>>2]=((d[o+q|0]|0)<<8&65535|(d[o+(q|1)|0]|0))<<16>>16;q=q+h|0;r=(d[o+q|0]|0)<<8&65535|(d[o+(q|1)|0]|0);p=r&65535;do{if(b>>>0>=j>>>0&t<<16>>16==-1&s<<16>>16==-1){s=c[a>>2]|0;if(r<<16>>16==0){break}if((o+(q+2+p)|0)>>>0>((c[s+500>>2]|0)+(c[s+504>>2]|0)|0)>>>0){e=6;break a}}}while(0);if((p|0)==0){g=0;break}else if((p|0)!=65535){e=8;break}b=b+1|0;if(b>>>0>=g>>>0){a=-1;e=11;break}}if((e|0)==6){c[k>>2]=1;g=0}else if((e|0)==8){g=o+(p+q)|0}else if((e|0)==11){i=f;return a|0}c[a+52>>2]=g;c[a+36>>2]=b;t=0;i=f;return t|0}function FQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;g=i;i=i+8|0;c[b>>2]=0;f=jJ(a,20,g)|0;e=c[g>>2]|0;if((e|0)!=0){b=e;i=d;return b|0}c[f+12>>2]=a;c[b>>2]=f;b=c[g>>2]|0;i=d;return b|0}function GQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((a|0)==0){i=e;return}if((b|0)!=0&(d|0)>3475){c[a+16>>2]=b;c[a>>2]=b+1440;d=d+ -1440|0;c[a+4>>2]=d&-16;c[a+8>>2]=d>>>7;i=e;return}else{c[a>>2]=0;c[a+4>>2]=0;c[a+16>>2]=0;i=e;return}}function HQ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;e=i;g=i;i=i+320|0;h=g;l=c[d+4>>2]|0;s=c[d>>2]|0;if((a|0)==0){M=6;i=e;return M|0}if((c[a>>2]|0)==0){M=6;i=e;return M|0}k=a+4|0;if((c[k>>2]|0)==0){M=6;i=e;return M|0}if((l|0)==0){M=20;i=e;return M|0}n=b[l+2>>1]|0;if(n<<16>>16==0){M=0;i=e;return M|0}m=b[l>>1]|0;if(m<<16>>16<1){M=0;i=e;return M|0}j=c[l+12>>2]|0;if((j|0)==0){M=20;i=e;return M|0}if((c[l+4>>2]|0)==0){M=20;i=e;return M|0}if((n<<16>>16|0)!=((b[j+((m<<16>>16)+ -1<<1)>>1]|0)+1|0)){M=20;i=e;return M|0}j=c[a+16>>2]|0;t=d+8|0;m=c[t>>2]|0;n=(m&2|0)==0;do{if(n){if((s|0)==0){M=6;i=e;return M|0}if((c[s+4>>2]|0)==0){M=0;i=e;return M|0}if((c[s>>2]|0)==0){M=0;i=e;return M|0}if((c[s+12>>2]|0)==0){g=6}else{break}i=e;return g|0}}while(0);if((m&1|0)==0){M=19;i=e;return M|0}do{if(n){c[j+1024>>2]=0;c[j+1028>>2]=0;c[j+1032>>2]=c[s+4>>2];c[j+1036>>2]=c[s>>2]}else{n=j+1024|0;if((m&4|0)==0){c[n>>2]=-32768;c[j+1028>>2]=-32768;c[j+1032>>2]=32767;c[j+1036>>2]=32767;break}else{$W(n|0,d+32|0,16)|0;break}}}while(0);m=c[a>>2]|0;n=c[k>>2]|0;r=j+1412|0;c[r>>2]=m;o=j+1416|0;c[o>>2]=n;n=j+1420|0;c[n>>2]=m;m=j+44|0;c[m>>2]=0;q=j+48|0;c[q>>2]=0;k=j+52|0;c[k>>2]=0;c[j+32>>2]=0;c[j+36>>2]=0;p=j+40|0;c[p>>2]=1;$W(j+980|0,l|0,20)|0;c[k>>2]=0;c[p>>2]=1;l=j+1248|0;c[l>>2]=c[a+8>>2];a=j+1232|0;c[a>>2]=0;if((c[t>>2]&2|0)==0){$W(j+1e3|0,s|0,24)|0;c[j+1236>>2]=36;c[j+1240>>2]=j}else{c[j+1236>>2]=c[d+12>>2];c[j+1240>>2]=c[d+28>>2]}z=c[j+984>>2]|0;w=b[j+982>>1]|0;v=z+(w<<16>>16<<3)|0;if(w<<16>>16<1){bX(j+8|0,0,16)|0;z=0;t=0;A=0;u=0;y=j+12|0}else{x=c[z>>2]|0;d=j+12|0;c[d>>2]=x;u=j+8|0;c[u>>2]=x;y=c[z+4>>2]|0;t=j+20|0;c[t>>2]=y;s=j+16|0;c[s>>2]=y;if(w<<16>>16>1){w=y;A=x;B=z;z=z+8|0;while(1){C=c[z>>2]|0;B=c[B+12>>2]|0;if((C|0)<(x|0)){c[u>>2]=C;x=C}if((C|0)>(A|0)){c[d>>2]=C;A=C}if((B|0)<(y|0)){c[s>>2]=B;y=B}if((B|0)>(w|0)){c[t>>2]=B;w=B}B=z+8|0;if(B>>>0<v>>>0){M=z;z=B;B=M}else{break}}}else{w=y;A=x}M=x>>6;c[u>>2]=M;z=y>>6;c[s>>2]=z;u=A+63>>6;c[d>>2]=u;A=w+63>>6;c[t>>2]=A;t=A;A=M;y=d}w=c[j+1024>>2]|0;if((u|0)<=(w|0)){M=0;i=e;return M|0}x=c[j+1032>>2]|0;if((A|0)>=(x|0)){M=0;i=e;return M|0}s=j+20|0;B=c[j+1028>>2]|0;if((t|0)<=(B|0)){M=0;i=e;return M|0}d=j+16|0;v=c[j+1036>>2]|0;if((z|0)>=(v|0)){M=0;i=e;return M|0}if((A|0)<(w|0)){c[j+8>>2]=w}else{w=A}if((z|0)<(B|0)){c[d>>2]=B;z=B}if((u|0)>(x|0)){c[y>>2]=x;u=x}if((t|0)>(v|0)){c[s>>2]=v}else{v=t}t=j+24|0;c[t>>2]=u-w;A=v-z|0;z=j+28|0;c[z>>2]=A;A=(A|0)/(c[l>>2]|0)|0;if((A|0)==0){A=1}if((A|0)>38){A=39}E=j+1252|0;c[E>>2]=0;G=c[d>>2]|0;F=c[s>>2]|0;D=0;a:do{if((D|0)<(A|0)){u=h+4|0;y=j+1424|0;x=j+1236|0;v=j+1244|0;B=j+1040|0;w=j+1240|0;b:while(1){C=(c[l>>2]|0)+G|0;if((D|0)==(A+ -1|0)){f=58}else{if((C|0)>(F|0)){f=58}}if((f|0)==58){f=0;C=F}c[g>>2]=G;c[u>>2]=C;G=h;if(G>>>0>=h>>>0){do{c[n>>2]=c[r>>2];H=(c[G+4>>2]|0)-(c[G>>2]|0)|0;c[y>>2]=H;J=H<<2;I=J&12;if((I|0)!=0){J=J+16-I|0}I=c[o>>2]&-16;c[m>>2]=(c[r>>2]|0)+J;do{if((J|0)<(I|0)){M=I-J|0;c[q>>2]=M>>4;if((M|0)<32){f=84;break}if((H|0)>0){H=0;do{c[(c[n>>2]|0)+(H<<2)>>2]=0;H=H+1|0;}while((H|0)<(c[y>>2]|0))}c[k>>2]=0;c[p>>2]=1;c[d>>2]=c[G>>2];c[s>>2]=c[G+4>>2];c[z>>2]=(c[G+4>>2]|0)-(c[G>>2]|0);H=SQ(j)|0;if((H|0)==64){f=84;break}else if((H|0)!=0){g=1;f=92;break b}do{if((c[k>>2]|0)!=0){c[a>>2]=0;if((c[y>>2]|0)>0){H=0;do{I=c[(c[n>>2]|0)+(H<<2)>>2]|0;do{if((I|0)!=0){J=0;L=0;do{K=c[I>>2]|0;if(!((K|0)<=(L|0)|(J|0)==0)){TQ(j,L,H,J<<9,K-L|0)}J=(c[I+4>>2]|0)+J|0;K=J<<9;L=c[I+8>>2]|0;M=K-L|0;do{if((K|0)!=(L|0)){L=c[I>>2]|0;if((L|0)<=-1){break}TQ(j,L,H,M,1)}}while(0);L=(c[I>>2]|0)+1|0;I=c[I+12>>2]|0;}while((I|0)!=0);if((J|0)==0){break}TQ(j,L,H,K,(c[t>>2]|0)-L|0)}}while(0);H=H+1|0;}while((H|0)<(c[y>>2]|0))}I=c[x>>2]|0;if((I|0)==0){break}H=c[a>>2]|0;if((H|0)<=0){break}Jd[I&63](c[v>>2]|0,H,B,c[w>>2]|0)}}while(0);G=G+ -8|0}else{f=84}}while(0);if((f|0)==84){f=0;I=c[G>>2]|0;H=c[G+4>>2]|0;M=H-I>>1;J=M+I|0;if((M|0)==0){g=1;f=92;break b}if((I-H|0)>=(c[l>>2]|0)){c[E>>2]=(c[E>>2]|0)+1}c[G+8>>2]=I;c[G+12>>2]=J;c[G>>2]=J;c[G+4>>2]=H;G=G+8|0}}while(G>>>0>=h>>>0)}D=D+1|0;G=C;if((D|0)>=(A|0)){break a}}if((f|0)==92){i=e;return g|0}}}while(0);if((c[E>>2]|0)<=8){M=0;i=e;return M|0}f=c[l>>2]|0;if((f|0)<=16){M=0;i=e;return M|0}c[l>>2]=(f|0)/2|0;M=0;i=e;return M|0}function IQ(a){a=a|0;var b=0;b=i;lJ(c[a+12>>2]|0,a);i=b;return}function JQ(a){a=a|0;var b=0,d=0;b=i;d=c[a+4>>2]|0;Gd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+8>>2]&255](c[a+60>>2]|0,c[d+172>>2]|0,c[d+176>>2]|0);i=b;return 0}function KQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;a=QQ(a,b,(c|0)==1?0:c,d,0)|0;i=e;return a|0}function LQ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){a=6;i=f;return a|0}if((d|0)!=0){GJ(b+108|0,d)}if((e|0)==0){a=0;i=f;return a|0}HJ(b+108|0,c[e>>2]|0,c[e+4>>2]|0);a=0;i=f;return a|0}function MQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;bX(d|0,0,16)|0;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){i=e;return}zK(b+108|0,d);i=e;return}function NQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;a=sd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+12>>2]&127](c[a+60>>2]|0,b,d)|0;i=e;return a|0}function OQ(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;e=QQ(b,c,d,e,3)|0;if((e|0)!=0){i=f;return e|0}a[c+94|0]=5;i=f;return e|0}function PQ(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;e=QQ(b,c,d,e,4)|0;if((e|0)!=0){i=f;return e|0}a[c+94|0]=6;i=f;return e|0}function QQ(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;j=i;k=i;i=i+8|0;o=i;i=i+16|0;p=o;y=i;i=i+48|0;x=y;w=(f|0)==3;n=(f|0)==4;l=e+72|0;if((c[l>>2]|0)!=(c[d+24>>2]|0)){c[k>>2]=6;C=6;i=j;return C|0}if((f|0)!=(h|0)){C=19;i=j;return C|0}h=e+108|0;f=(g|0)==0;if(!f){HJ(h,c[g>>2]|0,c[g+4>>2]|0)}zK(h,p);t=c[o>>2]&-64;c[o>>2]=t;q=p+4|0;m=c[q>>2]&-64;c[q>>2]=m;r=p+8|0;s=(c[r>>2]|0)+63&-64;c[r>>2]=s;r=p+12|0;p=(c[r>>2]|0)+63&-64;c[r>>2]=p;if((t|0)<0&(s|0)>(t+2147483647|0)){C=98;i=j;return C|0}u=s-t>>6;if((m|0)<0&(p|0)>(m+2147483647|0)){C=98;i=j;return C|0}s=p-m>>6;B=e+76|0;C=c[d+8>>2]|0;A=e+156|0;if((c[(c[A>>2]|0)+4>>2]&1|0)!=0){z=e+88|0;lJ(C,c[z>>2]|0);c[z>>2]=0;z=(c[A>>2]|0)+4|0;c[z>>2]=c[z>>2]&-2}if(w){v=u*3|0;m=v+3&-4}else{m=u;v=u}if(n){t=s*3|0}else{t=s}p=c[o>>2]|0;q=c[q>>2]|0;o=p>>6;r=c[r>>2]>>6;if(v>>>0>32767|t>>>0>32767){C=98;i=j;return C|0}a[e+94|0]=2;b[e+92>>1]=256;c[e+80>>2]=v;c[B>>2]=t;c[e+84>>2]=m;HJ(h,0-p|0,0-q|0);z=e+88|0;c[z>>2]=jJ(C,da(t,m)|0,k)|0;C=c[k>>2]|0;do{if((C|0)==0){C=(c[A>>2]|0)+4|0;c[C>>2]=c[C>>2]|1;c[y>>2]=B;c[x+4>>2]=h;c[x+8>>2]=1;c[k>>2]=Bd[c[d+64>>2]&255](c[d+60>>2]|0,x)|0;do{if(w){if((s|0)==0|(u|0)==0){break}else{w=s;d=c[z>>2]|0}while(1){x=d+v|0;A=u;while(1){A=A+ -1|0;C=a[d+A|0]|0;y=x+ -3|0;a[y]=C;a[x+ -2|0]=C;a[x+ -1|0]=C;if((A|0)==0){break}else{x=y}}w=w+ -1|0;if((w|0)==0){break}else{d=d+m|0}}}}while(0);do{if(n){d=c[z>>2]|0;if((s|0)==0){break}n=m<<1;u=n+m|0;v=s;s=d+(da(t-s|0,m)|0)|0;while(1){$W(d|0,s|0,m|0)|0;$W(d+m|0,s|0,m|0)|0;$W(d+n|0,s|0,m|0)|0;v=v+ -1|0;if((v|0)==0){break}else{d=d+u|0;s=s+m|0}}}}while(0);HJ(h,p,q);C=c[k>>2]|0;if((C|0)!=0){break}c[l>>2]=1651078259;c[e+100>>2]=o;c[e+104>>2]=r;C=0}}while(0);if(f){i=j;return C|0}HJ(h,0-(c[g>>2]|0)|0,0-(c[g+4>>2]|0)|0);C=c[k>>2]|0;i=j;return C|0}function RQ(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;j=i;k=c[g+1012>>2]|0;l=c[g+1008>>2]|0;d=da(l,d)|0;if((l|0)>-1){g=da((c[g+1e3>>2]|0)+ -1|0,l)|0}else{g=0}g=g-d|0;if((e|0)<=0){i=j;return}while(1){l=a[f+4|0]|0;a:do{if(l<<24>>24!=0){o=b[f+2>>1]|0;d=o&65535;n=b[f>>1]|0;m=k+(g+n)|0;if((o&65535)>7){bX(m|0,l|0,d|0)|0;break}switch(d|0){case 1:{break};case 6:{h=9;break};case 4:{h=11;break};case 7:{a[m]=l;m=k+(g+(n+1))|0;h=9;break};case 3:{h=12;break};case 5:{h=10;break};case 2:{h=13;break};default:{break a}}if((h|0)==9){a[m]=l;m=m+1|0;h=10}if((h|0)==10){a[m]=l;m=m+1|0;h=11}if((h|0)==11){a[m]=l;m=m+1|0;h=12}if((h|0)==12){a[m]=l;m=m+1|0;h=13}if((h|0)==13){h=0;a[m]=l;m=m+1|0}a[m]=l}}while(0);e=e+ -1|0;if((e|0)>0){f=f+6|0}else{break}}i=j;return}function SQ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=i;i=i+168|0;c[d>>2]=0;YW(a+1256|0,1,d|0)|0;e=0;while(1){if((e|0)!=0){a=6;break}s=0;e=ya(78,a+980|0,273328,a|0)|0;f=s;s=0;if((f|0)!=0&(t|0)!=0){g=kX(c[f>>2]|0,d)|0;if((g|0)==0){_a(f|0,t|0)}H=t}else{g=-1}if((g|0)==1){e=H;continue}s=0;la(339,a|0);g=s;s=0;if((g|0)!=0&(t|0)!=0){f=kX(c[g>>2]|0,d)|0;if((f|0)==0){_a(g|0,t|0)}H=t}else{f=-1}if((f|0)==1){e=H}else{a=5;break}}if((a|0)==5){g=e;i=b;return g|0}else if((a|0)==6){g=64;i=b;return g|0}return 0}function TQ(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=i;j=j>>9;j=(j|0)<0?0-j|0:j;do{if((c[f+996>>2]&2|0)==0){j=(j|0)>255?255:j}else{j=j&511;if(j>>>0>256){j=512-j|0;break}else{j=(j|0)==256?255:j;break}}}while(0);h=(c[f+16>>2]|0)+h|0;g=(c[f+8>>2]|0)+g|0;g=(g|0)<32767?g:32767;if((j|0)==0){i=l;return}m=f+1232|0;p=c[m>>2]|0;o=f+1040|0;q=p+ -1|0;n=(p|0)>0;s=c[f+1244>>2]|0;do{if(n&(s|0)==(h|0)){r=f+1040+(q*6|0)+2|0;s=e[r>>1]|0;if((s+(b[f+1040+(q*6|0)>>1]|0)|0)!=(g|0)){s=h;break}if((d[f+1040+(q*6|0)+4|0]|0)!=(j|0)){s=h;break}b[r>>1]=s+k;i=l;return}}while(0);r=f+1244|0;if((s|0)!=(h|0)|(p|0)>31){q=c[f+1236>>2]|0;if(!((q|0)==0|n^1)){Jd[q&63](s,p,o,c[f+1240>>2]|0)}c[m>>2]=0;c[r>>2]=h}else{o=f+1040+(p*6|0)|0}b[o>>1]=g;b[o+2>>1]=k;a[o+4|0]=j;c[m>>2]=(c[m>>2]|0)+1;i=l;return}function UQ(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;g=i;if((c[a+40>>2]|0)!=0){i=g;return}f=a+32|0;k=c[f>>2]|0;e=a+36|0;if((c[e>>2]|k|0)==0){i=g;return}l=c[a>>2]|0;j=c[a+24>>2]|0;j=(l|0)>(j|0)?j:l;n=(c[a+1420>>2]|0)+(c[a+4>>2]<<2)|0;l=c[n>>2]|0;a:do{if((l|0)==0){h=7}else{while(1){m=c[l>>2]|0;if((m|0)>(j|0)){h=7;break a}n=l+12|0;if((m|0)==(j|0)){d=k;b=l;break a}l=c[n>>2]|0;if((l|0)==0){h=7;break}}}}while(0);do{if((h|0)==7){k=a+52|0;h=c[k>>2]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[g>>2]=h;b=c[b+4>>2]<<2;c[d+80>>2]=b;r=c[a>>2]|0;c[d+84>>2]=r<<2;j=c[a+4>>2]|0;c[d+88>>2]=j<<2;a=c[d+64>>2]|0;c[d+92>>2]=a;k=c[d+68>>2]|0;c[d+96>>2]=k;a=h-(r<<3)+a|0;a=(a|0)<0?0-a|0:a;j=b-(j<<3)+k|0;j=(j|0)<0?0-j|0:j;a=(a|0)<(j|0)?j:a;if((a|0)<65){ZQ(d,h,b);i=e;return 0}else{h=a;a=0}do{h=h>>2;a=a+1|0;}while((h|0)>64);c[d+852>>2]=a;h=d+20|0;b=d+16|0;j=0;while(1){l=d+852+(j<<2)|0;m=c[g+4>>2]|0;do{if((a|0)>1){q=g+12|0;k=c[q>>2]|0;p=(k|0)<(m|0)?k:m;r=(k|0)>(m|0)?k:m;n=g+20|0;o=c[n>>2]|0;if((((o|0)<(p|0)?o:p)>>8|0)>=(c[h>>2]|0)){f=11;break}if((((o|0)>(r|0)?o:r)>>8|0)<(c[b>>2]|0)){f=11;break}r=g+16|0;p=c[r>>2]|0;c[g+32>>2]=p;t=g+8|0;s=c[t>>2]|0;p=(s+p|0)/2|0;c[g+24>>2]=p;s=((c[g>>2]|0)+s|0)/2|0;c[t>>2]=s;c[r>>2]=(s+p|0)/2|0;c[g+36>>2]=o;r=(o+k|0)/2|0;c[g+28>>2]=r;p=(k+m|0)/2|0;c[q>>2]=p;c[n>>2]=(p+r|0)/2|0;j=j+1|0;r=a+ -1|0;c[l>>2]=r;c[d+852+(j<<2)>>2]=r;g=g+16|0}else{f=11}}while(0);if((f|0)==11){f=0;ZQ(d,c[g>>2]|0,m);g=g+ -16|0;j=j+ -1|0}if((j|0)<=-1){break}a=c[d+852+(j<<2)>>2]|0}i=e;return 0}function YQ(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=i;g=e+76|0;c[g>>2]=c[d>>2]<<2;c[e+80>>2]=c[d+4>>2]<<2;c[e+84>>2]=c[b>>2]<<2;c[e+88>>2]=c[b+4>>2]<<2;c[e+92>>2]=c[a>>2]<<2;c[e+96>>2]=c[a+4>>2]<<2;c[e+100>>2]=c[e+64>>2];c[e+104>>2]=c[e+68>>2];a=e+20|0;d=e+16|0;m=g;a:while(1){h=c[m+4>>2]|0;k=m+12|0;j=c[k>>2]|0;o=(j|0)<(h|0)?j:h;n=(j|0)>(h|0)?j:h;l=m+20|0;b=c[l>>2]|0;q=(b|0)<(o|0)?b:o;r=(b|0)>(n|0)?b:n;o=m+24|0;p=m+28|0;n=c[p>>2]|0;b:do{if((((n|0)<(q|0)?n:q)>>8|0)<(c[a>>2]|0)){if((((n|0)>(r|0)?n:r)>>8|0)<(c[d>>2]|0)){break}q=c[o>>2]|0;r=c[m>>2]|0;t=q-r|0;s=n-h|0;u=(t|0)<0?0-t|0:t;v=(s|0)<0?0-s|0:s;if((u|0)>(v|0)){u=(u*236|0)+(v*97|0)|0}else{u=(u*97|0)+(v*236|0)|0}u=u>>8;do{if((u|0)>32767){u=c[m+8>>2]|0}else{v=u*42|0;u=c[m+8>>2]|0;w=u-r|0;x=j-h|0;y=(da(w,s)|0)-(da(t,x)|0)|0;if((((y|0)<0?0-y|0:y)|0)>(v|0)){break}z=c[m+16>>2]|0;A=z-r|0;y=b-h|0;B=(da(A,s)|0)-(da(t,y)|0)|0;if((((B|0)<0?0-B|0:B)|0)>(v|0)){break}if(((da(w,t)|0)+(da(s,x)|0)|0)<0){break}if(((da(A,t)|0)+(da(s,y)|0)|0)<0){break}if(((da(q-u|0,t)|0)+(da(n-j|0,s)|0)|0)<0){break}if(((da(q-z|0,t)|0)+(da(n-b|0,s)|0)|0)>=0){break b}}}while(0);c[m+48>>2]=q;y=m+16|0;z=c[y>>2]|0;B=(u+r|0)/2|0;c[m+8>>2]=B;A=(z+q|0)/2|0;c[m+40>>2]=A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a+4|0;if((u|0)!=(c[t>>2]|0)){m=28}}else{m=28}if((m|0)==28){if((c[a+40>>2]|0)==0){UQ(a)}c[a+32>>2]=0;c[a+36>>2]=0;t=a+4|0}c[a>>2]=y;c[t>>2]=u;t=a+28|0;if(u>>>0<(c[t>>2]|0)>>>0){y=(y|0)>=(c[a+24>>2]|0)|0}else{y=1}u=a+40|0;c[u>>2]=y;if((E|0)!=(k|0)){z=x<<8;x=(z|0)/(q|0)|0;z=(z|0)%(q|0)|0;if((z|0)<0){x=x+ -1|0;z=z+q|0}C=256-o|0;B=a+4|0;A=a+24|0;y=a+32|0;D=a+36|0;w=w-q|0;F=v;while(1){v=w+z|0;w=v-((v|0)>-1?q:0)|0;v=x+(v>>>31^1)+F|0;_Q(a,E,F,C,v,o);E=E+p|0;H=v>>8;F=E-(c[n>>2]|0)|0;G=c[r>>2]|0;G=((G|0)<(H|0)?G:H)-(c[s>>2]|0)|0;G=(G|0)>-1?G:-1;if((G|0)==(c[a>>2]|0)){if((F|0)!=(c[B>>2]|0)){m=39}}else{m=39}if((m|0)==39){m=0;if((c[u>>2]|0)==0){UQ(a)}c[y>>2]=0;c[D>>2]=0}c[a>>2]=G;c[B>>2]=F;if(F>>>0<(c[t>>2]|0)>>>0){F=(G|0)>=(c[A>>2]|0)|0}else{F=1}c[u>>2]=F;if((E|0)==(k|0)){break}else{F=v}}}_Q(a,k,v,256-o|0,b,j);H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}function _Q(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;h=i;l=f-d|0;p=d>>8;k=f>>8;n=d-(p<<8)|0;f=f-(k<<8)|0;if((e|0)==(g|0)){g=b-(c[a+16>>2]|0)|0;b=c[a+12>>2]|0;k=((b|0)<(k|0)?b:k)-(c[a+8>>2]|0)|0;k=(k|0)>-1?k:-1;if((k|0)==(c[a>>2]|0)){b=a+4|0;if((g|0)!=(c[b>>2]|0)){j=4}}else{j=4}if((j|0)==4){if((c[a+40>>2]|0)==0){UQ(a)}c[a+32>>2]=0;c[a+36>>2]=0;b=a+4|0}c[a>>2]=k;c[b>>2]=g;if(g>>>0<(c[a+28>>2]|0)>>>0){j=(k|0)>=(c[a+24>>2]|0)|0}else{j=1}c[a+40>>2]=j;i=h;return}if((p|0)==(k|0)){D=g-e|0;C=da(f+n|0,D)|0;E=a+32|0;c[E>>2]=(c[E>>2]|0)+C;E=a+36|0;c[E>>2]=(c[E>>2]|0)+D;i=h;return}o=(l|0)<0;m=l>>31;d=m+256&-256;l=o?0-l|0:l;m=m|1;x=da(o?n:256-n|0,g-e|0)|0;u=(x|0)/(l|0)|0;x=(x|0)%(l|0)|0;if((x|0)<0){u=u+ -1|0;x=x+l|0}o=da(u,d+n|0)|0;n=a+32|0;c[n>>2]=(c[n>>2]|0)+o;o=a+36|0;c[o>>2]=(c[o>>2]|0)+u;z=m+p|0;q=a+16|0;t=b-(c[q>>2]|0)|0;p=a+12|0;s=c[p>>2]|0;r=a+8|0;s=((s|0)<(z|0)?s:z)-(c[r>>2]|0)|0;B=(s|0)>-1?s:-1;if((B|0)==(c[a>>2]|0)){s=a+4|0;if((t|0)!=(c[s>>2]|0)){j=16}}else{j=16}if((j|0)==16){if((c[a+40>>2]|0)==0){UQ(a)}c[n>>2]=0;c[o>>2]=0;s=a+4|0}c[a>>2]=B;c[s>>2]=t;s=a+28|0;A=c[s>>2]|0;if(t>>>0<A>>>0){y=(B|0)>=(c[a+24>>2]|0)|0}else{y=1}t=a+40|0;c[t>>2]=y;C=u+e|0;if((z|0)!=(k|0)){v=u+g-C<<8;e=(v|0)/(l|0)|0;v=(v|0)%(l|0)|0;if((v|0)<0){e=e+ -1|0;v=v+l|0}w=a+4|0;u=a+24|0;x=x-l|0;while(1){E=x+v|0;D=e+(E>>>31^1)|0;x=E-((E|0)>-1?l:0)|0;c[n>>2]=(c[n>>2]|0)+(D<<8);c[o>>2]=(c[o>>2]|0)+D;C=D+C|0;z=z+m|0;E=b-(c[q>>2]|0)|0;D=c[p>>2]|0;D=((D|0)<(z|0)?D:z)-(c[r>>2]|0)|0;D=(D|0)>-1?D:-1;if((D|0)==(B|0)){if((E|0)!=(c[w>>2]|0)){j=27}}else{j=27}if((j|0)==27){j=0;if((y|0)==0){UQ(a);A=c[s>>2]|0}c[n>>2]=0;c[o>>2]=0}c[a>>2]=D;c[w>>2]=E;if(E>>>0<A>>>0){y=(D|0)>=(c[u>>2]|0)|0}else{y=1}c[t>>2]=y;if((z|0)==(k|0)){break}else{B=D}}}E=g-C|0;D=da(E,f+256-d|0)|0;c[n>>2]=D+(c[n>>2]|0);c[o>>2]=(c[o>>2]|0)+E;i=h;return}function $Q(a){a=a|0;var b=0;b=i;a=(mR(a)|0)==0;i=b;return(a?153:0)|0}function aR(a){a=a|0;var d=0,e=0,f=0,g=0;d=i;e=a+40|0;a=c[e>>2]|0;if((a|0)==0){i=d;return}f=c[a+8>>2]|0;b[a+440>>1]=0;b[a+442>>1]=0;g=a+24|0;lJ(f,c[g>>2]|0);c[g>>2]=0;c[a+20>>2]=0;g=a+436|0;lJ(f,c[g>>2]|0);c[g>>2]=0;c[a+432>>2]=0;c[a+428>>2]=0;g=a+392|0;lJ(f,c[g>>2]|0);c[g>>2]=0;c[a+388>>2]=0;c[a+4>>2]=0;c[a>>2]=0;lJ(f,a);c[e>>2]=0;i=d;return}function bR(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=uJ(274320,b)|0;if((e|0)!=0){i=d;return e|0}if((a|0)==0){e=0;i=d;return e|0}e=mK(c[a+4>>2]|0,274056)|0;if((e|0)==0){e=0;i=d;return e|0}e=c[(c[e>>2]|0)+20>>2]|0;if((e|0)==0){e=0;i=d;return e|0}e=Bd[c[e+16>>2]&255](a,b)|0;i=d;return e|0}function cR(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;k=i;m=i;i=i+8|0;l=m;o=i;i=i+8|0;n=o;p=i;i=i+8|0;q=p;t=i;i=i+8|0;v=t;r=i;i=i+8|0;w=r;y=i;i=i+24|0;x=y;z=nK(c[(c[f+96>>2]|0)+4>>2]|0,274056)|0;if((z|0)==0){G=2;i=k;return G|0}u=PJ(e,0)|0;if((u|0)!=0){G=u;i=k;return G|0}u=Cd[c[z+4>>2]&63](e,f,g,h,j)|0;if((u|0)!=0){G=u;i=k;return G|0}G=c[f+148>>2]|0;if(!((G|0)==1953658213|(G|0)==131072|(G|0)==65536)){G=2;i=k;return G|0}u=f+8|0;c[u>>2]=c[u>>2]|2048;if((g|0)<0){G=0;i=k;return G|0}h=Cd[c[z+8>>2]&63](e,f,g,h,j)|0;if((h|0)!=0){G=h;i=k;return G|0}a:do{if((f|0)!=0){h=c[f+20>>2]|0;b:do{if((h|0)==0){bX(y|0,0,20)|0;y=f+152|0;A=b[y>>1]|0;if(A<<16>>16==0){break a}h=f+156|0;g=f+508|0;j=f+104|0;z=0;while(1){D=c[h>>2]|0;B=c[D+(z<<4)>>2]|0;if((B|0)==1718642541){B=1;s=16}else if((B|0)==1886545264){B=2;s=16}else if((B|0)==1668707360){B=0;s=16}if((s|0)==16){s=0;A=z&65535;F=0;C=0;while(1){if((c[D+(z<<4)+12>>2]|0)==(c[274064+(C*24|0)+(B<<3)+4>>2]|0)){do{if((F|0)==0){F=c[D+(A<<4)+4>>2]|0;if((F|0)!=0){break}E=c[g>>2]|0;if((E|0)==0){F=0;break}if((pd[E&63](f,c[D+(A<<4)>>2]|0,c[j>>2]|0,0)|0)==0){F=0;break}D=c[j>>2]|0;E=c[(c[h>>2]|0)+(A<<4)+12>>2]|0;if((MK(D,E)|0)!=0){F=0;break}if(E>>>0>3){F=0;while(1){F=(TK(D)|0)+F|0;E=E+ -4|0;if(E>>>0>3){}else{break}}}else{F=0}if((E|0)!=0){G=F;F=3;while(1){G=(((QK(D)|0)&255)<<(F<<3))+G|0;E=E+ -1|0;if((E|0)==0){F=G;break}else{F=F+ -1|0}}}PK(D)}}while(0);E=x+(C<<2)|0;D=c[E>>2]|0;if((c[274064+(C*24|0)+(B<<3)>>2]|0)==(F|0)){D=D+1|0;c[E>>2]=D}if((D|0)==3){break b}}C=C+1|0;if((C|0)>=5){break}D=c[h>>2]|0}A=b[y>>1]|0}z=z+1|0;if((z|0)>=(A&65535|0)){break a}}}else{y=0;while(1){x=y+1|0;if((nb(h|0,274184+(y*17|0)|0)|0)!=0){break b}if((x|0)<8){y=x}else{break a}}}}while(0);c[u>>2]=c[u>>2]|8192}}while(0);g=c[e+28>>2]|0;x=f+508|0;G=pd[c[x>>2]&63](f,1751412088,e,w)|0;c[t>>2]=G;do{if((G|0)==0){w=c[r>>2]|0;if(w>>>0<8){break}z=f+740|0;w=LK(e,w,z)|0;c[t>>2]=w;if((w|0)!=0){G=w;i=k;return G|0}A=c[z>>2]|0;w=A+(c[r>>2]|0)|0;B=d[A+2|0]<<8&65535|d[A+3|0];h=B&65535;y=d[A+5|0]<<16|d[A+4|0]<<24|d[A+6|0]<<8|d[A+7|0];y=y>>>0>4294901759?y&65535:y;do{if((d[A]<<8&65535|d[A+1|0])<<16>>16!=0|(B&65535)>255|y>>>0>65537){c[t>>2]=3;s=47}else{j=f+756|0;c[j>>2]=oJ(g,1,0,h,0,v)|0;if((c[t>>2]|0)!=0){s=47;break}c:do{if(B<<16>>16==0){v=0}else{v=0;z=A+8|0;while(1){g=z+y|0;if(g>>>0>w>>>0){break c}a[(c[j>>2]|0)+v|0]=a[z]|0;v=v+1|0;if(v>>>0<h>>>0){z=g}else{break}}}}while(0);c[f+748>>2]=v;c[f+744>>2]=c[r>>2];c[f+752>>2]=y}}while(0);if((s|0)==47){NK(e,z);c[f+744>>2]=0}r=c[t>>2]|0;if((r|0)==0){break}i=k;return r|0}}while(0);do{if((c[u>>2]&1|0)==0){s=0}else{if((c[(c[f+128>>2]|0)+52>>2]|0)==0){r=f+704|0;s=pd[c[x>>2]&63](f,1735162214,e,r)|0;if((s|0)==142){c[r>>2]=0}else if((s|0)!=0){break}if((pd[c[x>>2]&63](f,1819239265,e,q)|0)!=0){s=144;break}s=c[p>>2]|0;if((b[f+210>>1]|0)==0){if(s>>>0>131071){s=8;break}u=s>>>1;c[f+732>>2]=u;v=1}else{if(s>>>0>262143){s=8;break}u=s>>>2;c[f+732>>2]=u;v=2}q=f+732|0;r=f+16|0;t=c[r>>2]|0;do{if(u>>>0<t>>>0){s=t<<v;w=c[f+156>>2]|0;G=b[f+152>>1]|0;u=w+((G&65535)<<4)|0;t=IK(e)|0;if(G<<16>>16==0){v=2147483647}else{v=2147483647;while(1){y=(c[w+8>>2]|0)-t|0;v=(y|0)>0&(y|0)<(v|0)?y:v;w=w+16|0;if(w>>>0<u>>>0){}else{break}}}if((w|0)==(u|0)){v=(c[e+4>>2]|0)-t|0}if((s|0)>(v|0)){s=c[p>>2]|0;break}else{c[q>>2]=c[r>>2];c[p>>2]=s;break}}}while(0);s=LK(e,s,f+736|0)|0;if((s|0)!=0){break}}s=TR(f,e)|0;if((s|0)!=0){break}if((pd[c[x>>2]&63](f,1718642541,e,n)|0)==0){s=c[o>>2]|0;c[f+652>>2]=s;s=LK(e,s,f+656|0)|0;if((s|0)!=0){break}}else{c[f+656>>2]=0;c[f+652>>2]=0}if((pd[c[x>>2]&63](f,1886545264,e,l)|0)==0){s=c[m>>2]|0;c[f+660>>2]=s;s=LK(e,s,f+664|0)|0;break}else{c[f+664>>2]=0;c[f+660>>2]=0;s=0;break}}}while(0);c[f+512>>2]=43;c[f+520>>2]=254;c[f+524>>2]=255;c[f+528>>2]=256;c[f+516>>2]=340;G=s;i=k;return G|0}function dR(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;d=i;if((a|0)==0){i=d;return}b=c[a+100>>2]|0;h=a+104|0;j=c[h>>2]|0;e=c[a+532>>2]|0;f=a+692|0;g=c[f+4>>2]|0;if((g|0)!=0){fd[g&511](c[f>>2]|0)}if((e|0)!=0){fd[c[e+12>>2]&511](a)}NK(c[h>>2]|0,a+736|0);c[a+732>>2]=0;e=c[h>>2]|0;f=a+756|0;lJ(c[e+28>>2]|0,c[f>>2]|0);c[f>>2]=0;NK(e,a+740|0);e=a+672|0;lJ(b,c[e>>2]|0);c[e>>2]=0;c[a+668>>2]=0;NK(j,a+656|0);NK(j,a+664|0);c[a+652>>2]=0;c[a+660>>2]=0;e=a+712|0;f=c[e>>2]|0;if((f|0)!=0){g=f+4|0;lJ(b,c[g>>2]|0);c[g>>2]=0;g=f+8|0;lJ(b,c[g>>2]|0);c[g>>2]=0;g=f+20|0;a=c[g>>2]|0;if((a|0)!=0){if((c[f>>2]|0)!=0){h=0;while(1){lJ(b,c[a+(h<<3)+4>>2]|0);c[(c[g>>2]|0)+(h<<3)+4>>2]=0;h=h+1|0;a=c[g>>2]|0;if(h>>>0<(c[f>>2]|0)>>>0){}else{break}}}lJ(b,a);c[g>>2]=0}j=f+28|0;lJ(b,c[j>>2]|0);c[j>>2]=0;j=f+36|0;lJ(b,c[j>>2]|0);c[j>>2]=0;lJ(b,f)}c[e>>2]=0;i=d;return}function eR(b){b=b|0;a[b+300|0]=0;a[b+301|0]=0;a[b+108|0]=0;c[b+112>>2]=-1;i=i;return 0}function fR(b){b=b|0;var c=0;c=i;if((a[b+300|0]|0)!=0){SR(b)}a[b+108|0]=0;i=c;return}function gR(a){a=a|0;var b=0;b=i;a=nJ(c[c[a+156>>2]>>2]|0)|0;i=b;return a|0}function hR(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;k=i;r=i;i=i+16|0;q=r;p=i;i=i+16|0;m=p;y=i;i=i+8|0;D=y;x=i;i=i+8|0;G=x;v=i;i=i+8|0;u=v;s=i;i=i+208|0;n=s;t=f+4|0;o=c[t>>2]|0;if((f|0)==0){K=37;i=k;return K|0}if((g|0)==0){K=36;i=k;return K|0}if((o|0)==0){K=6;i=k;return K|0}do{if((c[o+16>>2]|0)>>>0<=h>>>0){if((c[(c[o+128>>2]|0)+52>>2]|0)==0){x=6}else{break}i=k;return x|0}}while(0);if((j&2|0)!=0){j=(c[o+8>>2]&8192|0)==0?j:j&-3;j=j>>>14&2|j}if((j&1025|0)!=0){j=(c[o+8>>2]|0)>>>12&2^11|j}w=c[g+112>>2]|0;do{if((w|0)!=-1){if((j&8|0)!=0){break}if((dd[c[(c[o+532>>2]|0)+104>>2]&1](o,w,h,j,c[o+104>>2]|0,f+76|0,u)|0)!=0){break}b[f+110>>1]=0;b[f+108>>1]=0;c[f+24>>2]=d[u+1|0]<<6;c[f+28>>2]=d[v]<<6;q=a[u+2|0]|0;c[f+32>>2]=q<<6;p=a[u+3|0]|0;c[f+36>>2]=p<<6;c[f+40>>2]=d[u+4|0]<<6;m=a[u+5|0]|0;c[f+44>>2]=m<<6;r=a[u+6|0]|0;c[f+48>>2]=r<<6;c[f+52>>2]=d[u+7|0]<<6;c[f+72>>2]=1651078259;u=f+100|0;if((j&16|0)==0){c[u>>2]=q;c[f+104>>2]=p}else{c[u>>2]=m;c[f+104>>2]=r}if((c[o+8>>2]&1|0)==0){K=0;i=k;return K|0}p=c[t>>2]|0;q=c[p+104>>2]|0;bX(s|0,0,208)|0;do{if((c[(c[p+128>>2]|0)+52>>2]|0)==0){m=pd[c[p+508>>2]&63](p,1735162214,q,0)|0;if((m|0)==0){c[n+84>>2]=IK(q)|0;l=22;break}else if((m|0)==142){c[n+84>>2]=0;l=22;break}else{break}}else{c[n+84>>2]=0;l=22}}while(0);if((l|0)==22){c[n+16>>2]=j;c[s>>2]=p;c[n+4>>2]=g;c[n+8>>2]=f;c[n+24>>2]=q}cS(n,h,0,1)|0;g=f+56|0;c[g>>2]=c[n+60>>2];c[f+60>>2]=(c[n+48>>2]|0)+(c[n+176>>2]|0)-(c[n+180>>2]|0);if((c[o+480>>2]|0)==0){K=0;i=k;return K|0}if((j&512|0)!=0){K=0;i=k;return K|0}c[g>>2]=e[o+226>>1]|0;K=0;i=k;return K|0}}while(0);o=(j&1|0)!=0;do{if(!o){if((a[g+108|0]|0)==0){x=36}else{break}i=k;return x|0}}while(0);if((j&16384|0)!=0){K=6;i=k;return K|0}v=c[t>>2]|0;u=c[v+104>>2]|0;bX(s|0,0,208)|0;t=(j&2|0)==0;if(t){w=g+301|0;do{if((a[w]|0)==0){z=g+300|0;a:do{if((a[z]|0)==0){E=c[g>>2]|0;F=c[E+100>>2]|0;H=E+260|0;a[z]=1;a[w]=0;L=e[H+20>>1]|0;c[g+120>>2]=L;K=g+132|0;c[K>>2]=e[H+22>>1]|0;C=g+116|0;c[C>>2]=0;A=g+128|0;c[A>>2]=0;z=g+140|0;c[z>>2]=0;B=g+144|0;c[B>>2]=0;J=g+240|0;c[J>>2]=c[E+668>>2];I=g+248|0;b[I>>1]=b[H+18>>1]|0;M=g+72|0;a[M+37|0]=0;a[M+38|0]=0;bX(g+92|0,0,16)|0;c[g+124>>2]=oJ(F,16,0,L,0,G)|0;b:do{if((c[x>>2]|0)==0){c[g+136>>2]=oJ(F,16,0,c[K>>2]|0,0,G)|0;if((c[x>>2]|0)!=0){break}c[g+244>>2]=oJ(F,4,0,c[J>>2]|0,0,G)|0;if((c[x>>2]|0)!=0){break}c[g+252>>2]=oJ(F,4,0,e[I>>1]|0,0,G)|0;if((c[x>>2]|0)!=0){break}I=(b[H+16>>1]|0)+4<<16>>16;H=g+256|0;bX(H|0,0,36)|0;c[H>>2]=F;J=I&65535;G=H+12|0;c[G>>2]=oJ(F,8,0,J,0,D)|0;K=c[y>>2]|0;do{if((K|0)==0){c[H+16>>2]=oJ(F,8,0,J,0,D)|0;K=c[y>>2]|0;if((K|0)!=0){l=41;break}c[H+20>>2]=oJ(F,8,0,J,0,D)|0;K=c[y>>2]|0;if((K|0)!=0){l=41;break}c[H+24>>2]=oJ(F,1,0,J,0,D)|0;K=c[y>>2]|0;if((K|0)!=0){l=41;break}c[H+28>>2]=oJ(F,2,0,0,0,D)|0;K=c[y>>2]|0;if((K|0)!=0){l=41;break}b[H+4>>1]=I;b[H+6>>1]=0;c[x>>2]=0}else{l=41}}while(0);do{if((l|0)==41){D=c[H>>2]|0;if((D|0)==0){c[x>>2]=K;break b}else{M=H+28|0;lJ(D,c[M>>2]|0);c[M>>2]=0;M=H+24|0;lJ(D,c[M>>2]|0);c[M>>2]=0;M=H+16|0;lJ(D,c[M>>2]|0);c[M>>2]=0;lJ(D,c[G>>2]|0);c[G>>2]=0;M=H+20|0;lJ(D,c[M>>2]|0);c[M>>2]=0;bX(H|0,0,12)|0;M=c[y>>2]|0;c[x>>2]=M;if((M|0)==0){break}else{break b}}}}while(0);b[H+8>>1]=I;$W(g+172|0,273472,68)|0;y=c[(c[(c[E+96>>2]|0)+4>>2]|0)+180>>2]|0;c[E+688>>2]=(y|0)==0?257:y;y=c[g>>2]|0;if((a[g+292|0]|0)==0){D=(c[y+96>>2]|0)+40|0}else{D=g+296|0}D=c[D>>2]|0;do{if((D|0)==0){y=153}else{gS(D,y,g);c[D+428>>2]=0;c[D+16>>2]=0;c[D+476>>2]=64;c[D+480>>2]=0;c[D+484>>2]=0;a[D+488|0]=0;c[D+564>>2]=65536;b[D+252>>1]=0;c[D+260>>2]=0;bX(D+216|0,0,12)|0;c[D+256>>2]=65536;F=c[y+656>>2]|0;M=y+652|0;E=c[M>>2]|0;c[D+444>>2]=F;c[D+448>>2]=E;bX(D+452|0,0,16)|0;if((c[M>>2]|0)!=0){c[D+356>>2]=F;c[D+364>>2]=E;c[D+360>>2]=0;c[D+352>>2]=1;y=jd[c[y+688>>2]&511](D)|0;if((y|0)!=0){break}}c[C>>2]=c[D+396>>2];c[A>>2]=c[D+408>>2];c[z>>2]=c[D+420>>2];c[B>>2]=c[D+424>>2];K=D+444|0;L=c[K+4>>2]|0;M=g+148|0;c[M>>2]=c[K>>2];c[M+4>>2]=L;M=D+452|0;L=c[M+4>>2]|0;K=g+156|0;c[K>>2]=c[M>>2];c[K+4>>2]=L;K=D+460|0;L=c[K+4>>2]|0;M=g+164|0;c[M>>2]=c[K>>2];c[M+4>>2]=L;break a}}while(0);c[x>>2]=y}}while(0);SR(g);x=c[x>>2]|0;if((x|0)==0){break}i=k;return x|0}}while(0);if((a[w]|0)!=0){break}y=g+240|0;if((c[y>>2]|0)!=0){z=(c[g>>2]|0)+672|0;A=g+88|0;B=g+244|0;x=0;do{M=aJ(b[(c[z>>2]|0)+(x<<1)>>1]|0,c[A>>2]|0)|0;c[(c[B>>2]|0)+(x<<2)>>2]=M;x=x+1|0;}while(x>>>0<(c[y>>2]|0)>>>0)}y=g+264|0;if((b[y>>1]|0)!=0){x=g+268|0;z=g+272|0;A=0;do{c[(c[x>>2]|0)+(A<<3)>>2]=0;c[(c[x>>2]|0)+(A<<3)+4>>2]=0;c[(c[z>>2]|0)+(A<<3)>>2]=0;c[(c[z>>2]|0)+(A<<3)+4>>2]=0;A=A+1|0;}while(A>>>0<(e[y>>1]|0)>>>0)}x=g+248|0;if((b[x>>1]|0)!=0){y=g+252|0;z=0;do{c[(c[y>>2]|0)+(z<<2)>>2]=0;z=z+1|0;}while(z>>>0<(e[x>>1]|0)>>>0)}$W(g+172|0,273472,68)|0;x=hS(g)|0;if((x|0)==0){a[w]=1;break}else{M=x;i=k;return M|0}}}while(0);if((a[g+292|0]|0)==0){w=(c[v+96>>2]|0)+40|0}else{w=g+296|0}w=c[w>>2]|0;if((w|0)==0){M=153;i=k;return M|0}x=(j&983040|0)!=131072;gS(w,v,g);y=w+604|0;if((x&1|0)!=(d[y]|0)){a[y]=x&1;y=g+240|0;if((c[y>>2]|0)!=0){z=v+672|0;A=g+88|0;B=g+244|0;x=0;do{M=aJ(b[(c[z>>2]|0)+(x<<1)>>1]|0,c[A>>2]|0)|0;c[(c[B>>2]|0)+(x<<2)>>2]=M;x=x+1|0;}while(x>>>0<(c[y>>2]|0)>>>0)}hS(g)|0}x=a[w+336|0]|0;if((x&2)!=0){$W(w+284|0,273472,68)|0}a[w+561|0]=j&255&-128;c[n+160>>2]=w;c[n+164>>2]=c[w+392>>2];j=(x&1)<<1|j}do{if((c[(c[v+128>>2]|0)+52>>2]|0)==0){w=pd[c[v+508>>2]&63](v,1735162214,u,0)|0;if((w|0)==0){c[n+84>>2]=IK(u)|0;break}else if((w|0)==142){c[n+84>>2]=0;break}else{M=w;i=k;return M|0}}else{c[n+84>>2]=0}}while(0);w=c[c[f+156>>2]>>2]|0;kJ(w);x=n+12|0;c[x>>2]=w;w=n+16|0;c[w>>2]=j;c[s>>2]=v;v=n+4|0;c[v>>2]=g;y=n+8|0;c[y>>2]=f;c[n+24>>2]=u;A=f+72|0;c[A>>2]=1869968492;B=f+128|0;c[B>>2]=0;z=f+108|0;j=f+124|0;c[j>>2]=0;u=cS(n,h,0,0)|0;c:do{if((u|0)==0){x=c[x>>2]|0;do{if((c[A>>2]|0)==1668246896){c[B>>2]=c[x+48>>2];c[f+132>>2]=c[x+52>>2]}else{$W(z|0,x+20|0,20)|0;c[j>>2]=c[j>>2]&-513;f=c[n+68>>2]|0;if((f|0)==0){break}HJ(z,0-f|0,0)}}while(0);do{if(t){f=c[n+160>>2]|0;if((a[f+337|0]|0)==0){c[j>>2]=c[j>>2]|8;break}f=c[f+340>>2]|0;if((f|0)==4){c[j>>2]=c[j>>2]|48;break}else if((f|0)==5){c[j>>2]=c[j>>2]|16;break}else if((f|0)==1){break}else if((f|0)==0){c[j>>2]=c[j>>2]|32;break}else{c[j>>2]=c[j>>2]|8;break}}}while(0);x=c[s>>2]|0;s=c[y>>2]|0;A=c[v>>2]|0;if((c[w>>2]&1|0)==0){v=c[A+20>>2]|0}else{v=65536}if((c[s+72>>2]|0)==1668246896){$W(r|0,n+36|0,16)|0}else{zK(s+108|0,q)}f=c[n+60>>2]|0;z=x+480|0;do{if((c[z>>2]|0)!=0){if((c[w>>2]&512|0)!=0){break}f=e[x+226>>1]|0}}while(0);c[s+56>>2]=f;t=s+32|0;c[t>>2]=c[r>>2];y=q+12|0;c[s+36>>2]=c[y>>2];f=s+40|0;c[f>>2]=(c[n+76>>2]|0)-(c[n+68>>2]|0);d:do{if((c[z>>2]|0)==0){if((c[w>>2]&2|0)!=0){break}F=e[A+12>>1]|0;C=c[x+752>>2]|0;D=c[x+740>>2]|0;A=c[x+748>>2]|0;if((A|0)==0){break}E=c[x+756>>2]|0;B=0;while(1){z=B+1|0;if((d[E+B|0]|0)==(F|0)){break}if(z>>>0<A>>>0){B=z}else{break d}}if((h+2|0)>>>0>=C>>>0){break}z=D+(h+10+(da(B,C)|0))|0;if((z|0)==0){break}c[f>>2]=d[z]<<6}}while(0);c[s+24>>2]=(c[q+8>>2]|0)-(c[r>>2]|0);q=q+4|0;c[s+28>>2]=(c[y>>2]|0)-(c[q>>2]|0);do{if((a[x+296|0]|0)==0){l=117}else{if((b[x+334>>1]|0)==0){l=117;break}r=n+188|0;q=(bJ((c[r>>2]|0)-(c[y>>2]|0)|0,v)|0)<<16>>16;r=c[r>>2]|0;n=c[n+196>>2]|0;if((r|0)<=(n|0)){n=0;break}n=(bJ(r-n|0,v)|0)&65535}}while(0);if((l|0)==117){l=(bJ((c[y>>2]|0)-(c[q>>2]|0)|0,v)|0)<<16>>16;n=x+368|0;if((b[n>>1]|0)==-1){q=x+216|0;q=(b[q+4>>1]|0)-(b[q+6>>1]|0)|0}else{q=(b[n+70>>1]|0)-(b[n+72>>1]|0)|0}n=q;q=(q-l|0)/2|0}l=c[(c[x+128>>2]|0)+52>>2]|0;do{if((l|0)!=0){if((c[(c[l>>2]|0)+8>>2]|0)==0){break}c[p>>2]=0;p=m+4|0;c[p>>2]=q;q=m+8|0;c[q>>2]=n;if((pd[c[(c[l>>2]|0)+8>>2]&63](c[l+4>>2]|0,h,1,m)|0)!=0){break c}n=c[q>>2]|0;q=c[p>>2]|0}}while(0);c[s+60>>2]=n;if((c[w>>2]&1|0)==0){q=aJ(q,v)|0;n=aJ(n,v)|0}c[s+44>>2]=(c[t>>2]|0)-((c[f>>2]|0)/2|0);c[s+48>>2]=q;c[s+52>>2]=n}}while(0);if(o){M=u;i=k;return M|0}if((e[g+14>>1]|0)>=24){M=u;i=k;return M|0}c[j>>2]=c[j>>2]|256;M=u;i=k;return M|0}function iR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=c[a+532>>2]|0;c[e>>2]=0;c[e+4>>2]=0;if((g|0)==0){i=f;return 0}c[e>>2]=sd[c[g+128>>2]&127](a,b,d)|0;i=f;return 0}function jR(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;r=i;i=i+8|0;p=r;q=i;i=i+8|0;l=q;m=i;i=i+8|0;o=i;i=i+8|0;n=o;s=h&512;t=(g|0)==0;if((h&16|0)!=0){if(t){i=k;return 0}o=d+296|0;m=d+68|0;n=d+532|0;s=0;do{if((a[o]|0)==0){b[r>>1]=0;h=b[m>>1]|0;b[q>>1]=h}else{Cd[c[(c[n>>2]|0)+156>>2]&63](d,1,s+f|0,p,l)|0;h=b[q>>1]|0}c[j+(s<<2)>>2]=h&65535;s=s+1|0;}while(s>>>0<g>>>0);i=k;return 0}if(t){i=k;return 0}l=d+532|0;q=d+480|0;p=d+226|0;if((s|0)==0){r=0}else{p=0;do{Cd[c[(c[l>>2]|0)+156>>2]&63](d,0,p+f|0,m,n)|0;c[j+(p<<2)>>2]=e[o>>1]|0;p=p+1|0;}while(p>>>0<g>>>0);i=k;return 0}do{Cd[c[(c[l>>2]|0)+156>>2]&63](d,0,r+f|0,m,n)|0;if((c[q>>2]|0)!=0){b[o>>1]=b[p>>1]|0}c[j+(r<<2)>>2]=e[o>>1]|0;r=r+1|0;}while(r>>>0<g>>>0);i=k;return 0}function kR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=i;i=i+8|0;f=c[a>>2]|0;do{if((c[f+8>>2]&2|0)==0){e=f;f=0}else{f=sd[c[(c[f+532>>2]|0)+148>>2]&127](f,b,e)|0;if((f|0)!=0){c[a+112>>2]=-1;e=c[a>>2]|0;break}e=c[e>>2]|0;f=c[a>>2]|0;b=a+112|0;c[b>>2]=e;if((c[f+8>>2]&1|0)!=0){YJ(f,e);bS(a)|0;f=0;i=d;return f|0}a=sd[c[(c[f+532>>2]|0)+152>>2]&127](f,e,a+12|0)|0;if((a|0)==0){f=0;i=d;return f|0}c[b>>2]=-1;f=a;i=d;return f|0}}while(0);_J(e,b);if((c[(c[a>>2]|0)+8>>2]&1|0)==0){i=d;return f|0}f=bS(a)|0;i=d;return f|0}function lR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;f=c[a>>2]|0;e=a+112|0;c[e>>2]=b;if((c[f+8>>2]&1|0)!=0){YJ(f,b);bS(a)|0;b=0;i=d;return b|0}a=sd[c[(c[f+532>>2]|0)+152>>2]&127](f,b,a+12|0)|0;if((a|0)==0){b=0;i=d;return b|0}c[e>>2]=-1;b=a;i=d;return b|0}function mR(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;f=i;i=i+8|0;e=i;i=i+8|0;g=c[a+8>>2]|0;a=a+40|0;h=c[a>>2]|0;if((h|0)!=0){l=h;i=d;return l|0}h=jJ(g,608,e)|0;if((c[e>>2]|0)!=0){l=0;i=d;return l|0}l=h+8|0;c[l>>2]=g;j=h+432|0;c[j>>2]=32;k=h+436|0;c[k>>2]=oJ(g,16,0,32,0,f)|0;do{if((c[f>>2]|0)==0){b[h+440>>1]=0;b[h+442>>1]=0;c[h+20>>2]=0;c[h+388>>2]=0;c[h+24>>2]=0;c[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ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0;g=i;k=i;i=i+40|0;Gb=i;i=i+8|0;l=Gb;Ja=i;i=i+8|0;G=Ja;D=i;i=i+8|0;H=D;t=i;i=i+40|0;o=i;i=i+8|0;u=o;q=i;i=i+8|0;r=q;p=i;i=i+8|0;s=p;z=i;i=i+40|0;A=i;i=i+8|0;w=i;i=i+8|0;x=w;v=i;i=i+8|0;y=v;n=i;i=i+16|0;m=n;c[f+256>>2]=0;B=f+592|0;if((b[f+216>>1]|0)==(b[f+218>>1]|0)){c[B>>2]=198;c[f+596>>2]=153;c[f+600>>2]=154}else{c[B>>2]=197;c[f+596>>2]=151;c[f+600>>2]=152}uR(f);E=f+312|0;switch(c[E>>2]&255|0){case 7:{F=f+568|0;c[F>>2]=86;break};case 5:{F=f+568|0;c[F>>2]=79;break};case 6:{F=f+568|0;c[F>>2]=85;break};case 0:{F=f+568|0;c[F>>2]=83;break};case 2:{F=f+568|0;c[F>>2]=84;break};case 1:{F=f+568|0;c[F>>2]=80;break};case 4:{F=f+568|0;c[F>>2]=81;break};case 3:{F=f+568|0;c[F>>2]=82;break};default:{F=f+568|0}}ea=f+360|0;ba=f+356|0;La=f+368|0;Na=f+372|0;ca=f+364|0;Fb=f+16|0;$=f+28|0;Z=f+32|0;Eb=f+20|0;aa=f+376|0;h=f+12|0;_=f+24|0;ta=f+72|0;S=f+80|0;gb=f+380|0;Ka=f+284|0;T=f+44|0;Y=f+328|0;X=f+324|0;wa=f+346|0;Ha=f+48|0;qa=f+298|0;Fa=f+84|0;pa=f+300|0;N=f+88|0;P=f+52|0;Da=f+576|0;ra=f+572|0;mb=f+316|0;sa=f+584|0;C=f+286|0;Ea=f+288|0;Qa=f+308|0;va=f+344|0;Pa=f+320|0;M=f+561|0;Ga=f+92|0;Ia=f+56|0;kb=f+220|0;lb=f+224|0;ja=f+416|0;ka=f+408|0;ha=f+428|0;ia=f+432|0;ga=f+436|0;fa=f+352|0;j=f+488|0;Ra=f+294|0;Sa=f+296|0;eb=f+290|0;fb=f+292|0;V=f+294|0;R=f+116|0;O=f+124|0;W=f+290|0;U=f+298|0;Q=f+132|0;ua=f+36|0;K=f+180|0;L=f+144|0;J=f+108|0;I=f+348|0;Aa=f+304|0;oa=f+60|0;na=f+420|0;la=f+404|0;ma=f+396|0;Oa=f+400|0;db=f+264|0;Ta=f+154|0;bb=f+156|0;_a=f+160|0;$a=m+4|0;ab=f+164|0;Xa=m+8|0;Ya=f+152|0;Za=m+12|0;Va=f+172|0;Wa=f+176|0;Ua=f+168|0;cb=t+16|0;xa=k+16|0;za=f+118|0;ya=f+136|0;Ba=f+120|0;Ca=f+128|0;Ma=f+588|0;ib=f+468|0;hb=f+472|0;jb=f+596|0;nb=f+332|0;ob=f+334|0;pb=f+260|0;qb=f+384|0;rb=f+600|0;sb=f+476|0;ub=f+484|0;tb=f+480|0;wb=f+282|0;vb=f+337|0;xb=f+281|0;yb=f+252|0;Bb=f+604|0;Ab=f+412|0;zb=f+424|0;Cb=f+340|0;Db=f+336|0;Pb=c[ea>>2]|0;Hb=0;a:while(1){Nb=c[ba>>2]|0;Mb=a[Nb+Pb|0]|0;a[La]=Mb;Tb=Mb&255;Ub=a[273544+Tb|0]|0;c[Na>>2]=Ub;Ob=c[ca>>2]|0;if((Tb&254|0)==64){if((Pb|0)>=(Ob|0)){Lb=745;break}Ub=2-(da(d[Nb+(Pb+1)|0]|0,Ub)|0)|0;c[Na>>2]=Ub}Vb=Ub+Pb|0;if((Vb|0)>(Ob|0)){Lb=745;break}Qb=c[Fb>>2]|0;Ib=d[273800+Tb|0]|0;Kb=Qb-(Ib>>>4)|0;c[$>>2]=Kb;if((Kb|0)<0){Lb=20;break}Sb=(Ib&15)+Kb|0;c[Z>>2]=Sb;Rb=c[Eb>>2]|0;if(Sb>>>0>Rb>>>0){Lb=22;break}a[aa]=1;c[h>>2]=0;Jb=c[_>>2]|0;Ib=Jb+(Kb<<2)|0;b:do{switch(Tb|0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]|0;Mb=c[ma>>2]|0;if((Kb|0)==(Mb|0)){if((c[Nb+(Jb<<4)+8>>2]|0)==(Jb|0)){Nb=Nb+(Jb<<4)|0}else{Lb=139}}else{Lb=139}if((Lb|0)==139){Kb=Nb+(Mb<<4)|0;d:do{if((Mb|0)>0){while(1){Lb=Nb+16|0;if((c[Nb+8>>2]|0)==(Jb|0)){break d}if(Lb>>>0<Kb>>>0){Nb=Lb}else{Nb=Lb;break}}}}while(0);if((Nb|0)==(Kb|0)){Lb=155;break a}}if((a[Nb+12|0]|0)==0){Lb=155;break a}Jb=c[ha>>2]|0;if((Jb|0)>=(c[ia>>2]|0)){Lb=145;break a}if((c[Ib>>2]|0)<=0){Lb=723;break b}Lb=c[ga>>2]|0;c[Lb+(Jb<<4)>>2]=c[fa>>2];c[Lb+(Jb<<4)+4>>2]=(c[ea>>2]|0)+1;c[Lb+(Jb<<4)+8>>2]=c[Ib>>2];Kb=Nb+4|0;c[Lb+(Jb<<4)+12>>2]=c[Kb>>2];c[ha>>2]=(c[ha>>2]|0)+1;Jb=c[Nb>>2]|0;Kb=c[Kb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Ib=c[f+444+(Lb<<3)>>2]|0;if((Ib|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Kb>>>0){c[h>>2]=131;break}else{c[ba>>2]=Ib;c[ca>>2]=Lb;c[ea>>2]=Kb;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break};case 41:{Jb=c[Ib>>2]&65535;if(Jb>>>0<(e[T>>1]|0)>>>0){Ib=(b[qa>>1]|0)==0?-1:-9;Jb=(c[oa>>2]|0)+Jb|0;a[Jb]=((b[pa>>1]|0)==0?Ib:Ib&-17)&a[Jb];Lb=723;break b}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=134;break a}}break};case 35:{Vb=c[Ib>>2]|0;Lb=Jb+(Kb+1<<2)|0;c[Ib>>2]=c[Lb>>2];c[Lb>>2]=Vb;Lb=723;break};case 36:{c[Ib>>2]=Qb;Lb=723;break};case 37:{Lb=c[Ib>>2]|0;if((Lb|0)<1|(Lb|0)>(Kb|0)){Lb=107;break a}c[Ib>>2]=c[Jb+(Kb-Lb<<2)>>2];Lb=723;break};case 43:{Ib=c[Ib>>2]|0;Jb=(c[na>>2]|0)+1|0;if(Jb>>>0<=Ib>>>0){Lb=174;break a}Kb=c[la>>2]|0;Mb=c[ma>>2]|0;if((Jb|0)==(Mb|0)){if((c[Kb+(Ib<<4)+8>>2]|0)==(Ib|0)){Kb=Kb+(Ib<<4)|0}else{Lb=159}}else{Lb=159}if((Lb|0)==159){Jb=Kb+(Mb<<4)|0;e:do{if((Mb|0)>0){while(1){Lb=Kb+16|0;if((c[Kb+8>>2]|0)==(Ib|0)){break e}if(Lb>>>0<Jb>>>0){Kb=Lb}else{Kb=Lb;break}}}}while(0);if((Kb|0)==(Jb|0)){Lb=174;break a}}if((a[Kb+12|0]|0)==0){Lb=174;break a}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=165;break a}Vb=c[ga>>2]|0;c[Vb+(Ib<<4)>>2]=c[fa>>2];c[Vb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Vb+(Ib<<4)+8>>2]=1;Lb=Kb+4|0;c[Vb+(Ib<<4)+12>>2]=c[Lb>>2];c[ha>>2]=(c[ha>>2]|0)+1;Kb=c[Kb>>2]|0;Ib=c[Lb>>2]|0;Lb=Kb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Jb=c[f+444+(Lb<<3)>>2]|0;if((Jb|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Ib>>>0){c[h>>2]=131;break}else{c[ba>>2]=Jb;c[ca>>2]=Lb;c[ea>>2]=Ib;c[fa>>2]=Kb;break}}}while(0);a[aa]=0;Lb=723;break};case 14:{Vb=V;Vb=e[Vb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,36)|0}else if((Jb|0)==1){$W(ua|0,L|0,36)|0}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=79;break a}}$W(ta|0,ua|0,36)|0;$W(J|0,ua|0,36)|0;b[va>>1]=c[Ib>>2];b[wa>>1]=c[Ib>>2];b[I>>1]=c[Ib>>2];Lb=723;break};case 20:{Jb=c[Ib>>2]|0;if((Jb|0)==0){$W(ta|0,K|0,36)|0}else if((Jb|0)==1){$W(ta|0,L|0,36)|0}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=67;break a}}b[wa>>1]=c[Ib>>2];Lb=723;break};case 55:case 54:{if((c[Ib>>2]|0)>>>0>1){if((a[M]|0)==0){Lb=723;break b}else{Lb=268;break a}}if((GR(f,G,H,k,l)|0)<<24>>24!=0){Lb=723;break b}Ib=b[I>>1]|0;do{if(Ib<<16>>16==0){Ib=b[R>>1]|0;Kb=Ib<<16>>16==0?0:Ib+ -1<<16>>16}else if(Ib<<16>>16==1){Ib=b[za>>1]|0;if(Ib<<16>>16<=0){Kb=0;break}Kb=b[(c[ya>>2]|0)+((Ib<<16>>16)+ -1<<1)>>1]|0;if((Kb&65535)<(e[R>>1]|0)){break}if((a[M]|0)==0){Lb=723;break b}else{Lb=275;break a}}else{Kb=0}}while(0);Ib=c[xa>>2]|0;Jb=b[Gb>>1]|0;Mb=c[D>>2]|0;Lb=c[Ja>>2]|0;Ob=0;while(1){Nb=c[O>>2]|0;do{if(!((Ib|0)==(Nb|0)&Jb<<16>>16==Ob<<16>>16)){if((b[qa>>1]|0)!=0){Vb=Nb+((Ob&65535)<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Lb}if((b[pa>>1]|0)==0){break}Vb=(c[O>>2]|0)+((Ob&65535)<<3)+4|0;c[Vb>>2]=(c[Vb>>2]|0)+Mb}}while(0);Ob=Ob+1<<16>>16;if((Ob&65535)>(Kb&65535)){Lb=723;break}}break};case 56:{Lb=c[Aa>>2]|0;if((Qb|0)<(Lb+1|0)){Lb=284;break a}Mb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]&63](f,ta,Lb,(c[Jb>>2]|0)-Vb|0);b[C>>1]=b[Ka>>1]|0;b[Ea>>1]=Lb;if((a[La]&1)==0){Lb=723;break b}b[Ka>>1]=Lb;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=325;break a}break};case 44:{Ib=c[Ib>>2]|0;Lb=c[la>>2]|0;Kb=c[ma>>2]|0;Jb=Lb+(Kb<<4)|0;g:do{if((Kb|0)>0){while(1){Mb=Lb+16|0;if((c[Lb+8>>2]|0)==(Ib|0)){break g}if(Mb>>>0<Jb>>>0){Lb=Mb}else{Lb=Mb;break}}}}while(0);if((Lb|0)==(Jb|0)){if(Kb>>>0>=(c[Oa>>2]|0)>>>0){Lb=180;break a}c[ma>>2]=Kb+1}if(Ib>>>0>65535){Lb=183;break a}c[Lb>>2]=c[fa>>2];Jb=Ib&65535;c[Lb+8>>2]=Jb;c[Lb+4>>2]=(c[ea>>2]|0)+1;a[Lb+12|0]=1;if((c[na>>2]|0)>>>0<Ib>>>0){c[na>>2]=Jb}Ib=c[ca>>2]|0;Jb=c[ea>>2]|0;Lb=c[Na>>2]|0;while(1){Jb=Lb+Jb|0;c[ea>>2]=Jb;if((Jb|0)>=(Ib|0)){Lb=191;break a}Mb=c[ba>>2]|0;Kb=a[Mb+Jb|0]|0;a[La]=Kb;Kb=Kb&255;Lb=a[273544+Kb|0]|0;c[Na>>2]=Lb;if((Kb&254|0)==64){Lb=2-(da(d[Mb+(Jb+1)|0]|0,Lb)|0)|0;c[Na>>2]=Lb}if((Lb+Jb|0)>(Ib|0)){Lb=191;break a}if((Kb|0)==44|(Kb|0)==137){Lb=193;break a}else if((Kb|0)==45){Lb=723;break}else{}}break};case 28:{Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 29:{c[Pa>>2]=c[Ib>>2];Lb=723;break};case 24:{c[E>>2]=1;c[F>>2]=80;Lb=723;break};case 25:{c[E>>2]=0;c[F>>2]=83;Lb=723;break};case 18:{b[Ea>>1]=c[Ib>>2];Lb=723;break};case 19:{Jb=c[Ib>>2]|0;if((Jb|0)==0){$W(ua|0,K|0,36)|0}else if((Jb|0)==1){$W(ua|0,L|0,36)|0}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=61;break a}}b[va>>1]=c[Ib>>2];Lb=723;break};case 26:{c[Qa>>2]=c[Ib>>2];Lb=723;break};case 27:{Ib=1;while(1){Pb=Ub+Pb|0;c[ea>>2]=Pb;if((Pb|0)>=(Ob|0)){Lb=91;break a}Jb=a[Nb+Pb|0]|0;a[La]=Jb;Jb=Jb&255;Ub=a[273544+Jb|0]|0;c[Na>>2]=Ub;if((Jb&254|0)==64){Ub=2-(da(d[Nb+(Pb+1)|0]|0,Ub)|0)|0;c[Na>>2]=Ub}if((Ub+Pb|0)>(Ob|0)){Lb=91;break a}if((Jb|0)==89){Ib=Ib+ -1|0}else if((Jb|0)==88){Ib=Ib+1|0}if((Ib|0)==0){Lb=723;break}else{}}break};case 12:{c[Ib>>2]=b[Ra>>1]|0;c[Jb+(Kb+1<<2)>>2]=b[Sa>>1]|0;Lb=723;break};case 49:case 48:{if((b[Ta>>1]|0)==0){Lb=723;break b}Ib=c[bb>>2]|0;if((Mb&1)==0){c[n>>2]=Ib+4;c[$a>>2]=(c[_a>>2]|0)+4;Ib=16;Jb=(c[ab>>2]|0)+4|0}else{c[n>>2]=Ib;c[$a>>2]=c[_a>>2];Ib=8;Jb=c[ab>>2]|0}c[Xa>>2]=Jb;Kb=b[Ya>>1]|0;c[Za>>2]=Kb&65535;Jb=0;Lb=0;while(1){Mb=(e[(c[Va>>2]|0)+(Jb<<16>>16<<1)>>1]|0)-(e[Wa>>1]|0)|0;Kb=Kb&65535;Kb=Mb>>>0<Kb>>>0?Mb:Kb+ -1|0;h:do{if(Lb>>>0<=Kb>>>0){Mb=c[Ua>>2]|0;Nb=Lb;while(1){Ob=Nb+1|0;if((d[Mb+Nb|0]&Ib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else{if((a[M]|0)!=0){Lb=242;break a}}}while(0);Vb=(c[Aa>>2]|0)+ -1|0;c[Aa>>2]=Vb;}while((Vb|0)>0)}c[Aa>>2]=1;c[Z>>2]=c[$>>2];Lb=723;break};case 45:{Ib=c[ha>>2]|0;if((Ib|0)<1){Lb=195;break a}Kb=Ib+ -1|0;c[ha>>2]=Kb;Jb=c[ga>>2]|0;Vb=Jb+(Kb<<4)+8|0;c[Vb>>2]=(c[Vb>>2]|0)+ -1;a[aa]=0;if((c[Vb>>2]|0)>0){c[ha>>2]=(c[ha>>2]|0)+1;c[ea>>2]=c[Jb+(Kb<<4)+12>>2];Lb=723;break b}Ib=c[Jb+(Kb<<4)>>2]|0;Jb=c[Jb+(Kb<<4)+4>>2]|0;Lb=Ib+ -1|0;if(Lb>>>0>2){Lb=199;break a}Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){Lb=201;break a}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Jb>>>0){Lb=203;break a}c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Jb;c[fa>>2]=Ib;Lb=723;break};case 47:case 46:{Jb=c[Ib>>2]|0;Ib=Jb&65535;Jb=Jb&65535;if(Jb>>>0>=(e[T>>1]|0)>>>0){if((a[M]|0)==0){Lb=723;break b}else{Lb=207;break a}}if((Mb&1)==0){Jb=0}else{Vb=c[P>>2]|0;Jb=sd[c[ra>>2]&127](f,c[Vb+(Jb<<3)>>2]|0,c[Vb+(Jb<<3)+4>>2]|0)|0;Jb=(sd[c[F>>2]&127](f,Jb,c[db>>2]|0)|0)-Jb|0}Jd[c[sa>>2]&63](f,ua,Ib,Jb);b[Ka>>1]=Ib;b[C>>1]=Ib;Lb=723;break};case 5:case 4:case 3:case 2:case 1:case 0:{Ib=Tb<<14&16384;Jb=Ib^16384;if((Mb&255)<4){b[Ra>>1]=Ib;b[Sa>>1]=Jb;b[eb>>1]=Ib;b[fb>>1]=Jb}if((Tb&2|0)==0){b[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c[Ob>>2]|0)-(c[Pb>>2]|0)|0,(c[Qb+(Nb<<3)+4>>2]|0)-(c[Kb+(Jb<<3)+4>>2]|0)|0)|0;Jb=aJ(Jb,c[kb>>2]|0)|0;break}else{Vb=aJ((c[Ob>>2]|0)-(c[Pb>>2]|0)|0,Mb)|0;Jb=aJ((c[Qb+(Nb<<3)+4>>2]|0)-(c[Kb+(Jb<<3)+4>>2]|0)|0,c[lb>>2]|0)|0;Jb=sd[c[Da>>2]&127](f,Vb,Jb)|0;break}}else{Lb=396}}while(0);if((Lb|0)==396){if((a[M]|0)==0){Jb=0}else{Lb=397;break a}}c[Ib>>2]=Jb;Lb=723;break};case 75:{c[Ib>>2]=zR(f)|0;Lb=723;break};case 76:{c[Ib>>2]=zR(f)|0;Lb=723;break};case 77:{a[mb]=1;Lb=723;break};case 78:{a[mb]=0;Lb=723;break};case 79:{Lb=408;break a};case 80:{c[Ib>>2]=(c[Ib>>2]|0)<(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 81:{c[Ib>>2]=(c[Ib>>2]|0)<=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 82:{c[Ib>>2]=(c[Ib>>2]|0)>(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 90:{if((c[Ib>>2]|0)==0){Jb=0}else{Jb=(c[Jb+(Kb+1<<2)>>2]|0)!=0|0}c[Ib>>2]=Jb;Lb=723;break};case 83:{c[Ib>>2]=(c[Ib>>2]|0)>=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 84:{c[Ib>>2]=(c[Ib>>2]|0)==(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 85:{c[Ib>>2]=(c[Ib>>2]|0)!=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 86:{c[Ib>>2]=((sd[c[F>>2]&127](f,c[Ib>>2]|0,0)|0)&127|0)==64;Lb=723;break};case 87:{c[Ib>>2]=((sd[c[F>>2]&127](f,c[Ib>>2]|0,0)|0)&127|0)==0;Lb=723;break};case 88:{if((c[Ib>>2]|0)!=0){Lb=723;break b}c[ea>>2]=Vb;if((Vb|0)<(Ob|0)){Ib=1}else{Lb=423;break a}while(1){Jb=(Ib|0)==1;while(1){Kb=a[Nb+Vb|0]|0;a[La]=Kb;Kb=Kb&255;Lb=a[273544+Kb|0]|0;c[Na>>2]=Lb;if((Kb&254|0)==64){Lb=2-(da(d[Nb+(Vb+1)|0]|0,Lb)|0)|0;c[Na>>2]=Lb}Vb=Lb+Vb|0;if((Vb|0)>(Ob|0)){Lb=423;break a}if((Kb|0)==88){Lb=426;break}else if((Kb|0)==27){if(Jb){Lb=723;break b}}else if((Kb|0)==89){Lb=428;break}c[ea>>2]=Vb;if((Vb|0)>=(Ob|0)){Lb=423;break a}}if((Lb|0)==426){Ib=Ib+1|0}else if((Lb|0)==428){Ib=Ib+ -1|0;if((Ib|0)==0){Lb=723;break b}}c[ea>>2]=Vb;if((Vb|0)>=(Ob|0)){Lb=423;break a}}break};case 91:{if((c[Ib>>2]|0)==0){Jb=(c[Jb+(Kb+1<<2)>>2]|0)!=0|0}else{Jb=1}c[Ib>>2]=Jb;Lb=723;break};case 92:{c[Ib>>2]=(c[Ib>>2]|0)==0;Lb=723;break};case 93:{AR(f,c[Ib>>2]|0);Lb=723;break};case 94:{b[nb>>1]=c[Ib>>2];Lb=723;break};case 95:{b[ob>>1]=c[Ib>>2];Lb=723;break};case 96:{c[Ib>>2]=(c[Ib>>2]|0)+(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 99:{c[Ib>>2]=_I(c[Ib>>2]|0,c[Jb+(Kb+1<<2)>>2]|0,64)|0;Lb=723;break};case 100:{Jb=c[Ib>>2]|0;c[Ib>>2]=(Jb|0)<0?0-Jb|0:Jb;Lb=723;break};case 101:{c[Ib>>2]=0-(c[Ib>>2]|0);Lb=723;break};case 102:{c[Ib>>2]=c[Ib>>2]&-64;Lb=723;break};case 103:{c[Ib>>2]=(c[Ib>>2]|0)+63&-64;Lb=723;break};case 107:case 106:case 105:case 104:{c[Ib>>2]=sd[c[F>>2]&127](f,c[Ib>>2]|0,c[f+264+(Tb+ -104<<2)>>2]|0)|0;Lb=723;break};case 97:{c[Ib>>2]=(c[Ib>>2]|0)-(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 98:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb|0)==0){Lb=443;break a}c[Ib>>2]=$I(c[Ib>>2]|0,64,Jb)|0;Lb=723;break};case 112:{Ib=c[Ib>>2]|0;if(Ib>>>0<(c[gb>>2]|0)>>>0){Lb=aJ(c[Jb+(Kb+1<<2)>>2]|0,c[pb>>2]|0)|0;c[(c[qb>>2]|0)+(Ib<<2)>>2]=Lb;Lb=723;break b}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=370;break a}}break};case 114:case 113:{AR(f,c[Ib>>2]|0);Lb=723;break};case 117:case 116:case 115:{Ib=c[Ib>>2]|0;if((Ib|0)!=0){Jb=1;do{if((Kb|0)<2){Lb=461;break a}Lb=Kb+ -2|0;c[$>>2]=Lb;Vb=c[_>>2]|0;Kb=c[Vb+(Kb+ -1<<2)>>2]|0;Lb=c[Vb+(Lb<<2)>>2]|0;do{if(Kb>>>0<(c[gb>>2]|0)>>>0){Mb=Lb>>>4&15;Nb=d[La]|0;if((Nb|0)==116){Mb=Mb|16}else if((Nb|0)==117){Mb=Mb|32}Vb=(b[nb>>1]|0)+Mb|0;if((zR(f)|0)!=(Vb|0)){break}Lb=Lb&15;Mb=Lb+ -8|0;Gd[c[rb>>2]&255](f,Kb,(((Mb|0)>-1?Lb+ -7|0:Mb)<<6|0)/(1<<b[ob>>1]|0)|0)}else{if((a[M]|0)!=0){Lb=464;break a}}}while(0);Jb=Jb+1|0;Kb=c[$>>2]|0}while(Jb>>>0<=Ib>>>0)}c[Z>>2]=Kb;Lb=723;break};case 111:case 110:case 109:case 108:{Jb=c[Ib>>2]|0;Kb=c[f+264+(Tb+ -108<<2)>>2]|0;if((Jb|0)>-1){Kb=Kb+Jb|0;Jb=(Jb|0)!=0&(Kb|0)<0?0:Kb}else{Jb=Jb-Kb|0;Jb=(Jb|0)>0?0:Jb}c[Ib>>2]=Jb;Lb=723;break};case 118:{Ib=c[Ib>>2]|0;Jb=Ib&192;if((Jb|0)==0){c[sb>>2]=8192}else if((Jb|0)==64){c[sb>>2]=16384}else if((Jb|0)==128){c[sb>>2]=32768}else if((Jb|0)==192){c[sb>>2]=16384}Jb=Ib&48;if((Jb|0)==0){c[tb>>2]=0}else if((Jb|0)==16){c[tb>>2]=(c[sb>>2]|0)/4|0}else if((Jb|0)==32){c[tb>>2]=(c[sb>>2]|0)/2|0}else if((Jb|0)==48){c[tb>>2]=((c[sb>>2]|0)*3|0)/4|0}Ib=Ib&15;if((Ib|0)==0){Jb=c[sb>>2]|0;Ib=Jb+ -1|0}else{Jb=c[sb>>2]|0;Ib=(da(Jb,Ib+ -4|0)|0)/8|0}c[sb>>2]=(Jb|0)/256|0;c[tb>>2]=(c[tb>>2]|0)/256|0;c[ub>>2]=(Ib|0)/256|0;c[E>>2]=6;c[F>>2]=85;Lb=723;break};case 119:{Ib=c[Ib>>2]|0;Jb=Ib&192;if((Jb|0)==0){c[sb>>2]=5792}else if((Jb|0)==64){c[sb>>2]=11585}else if((Jb|0)==128){c[sb>>2]=23170}else if((Jb|0)==192){c[sb>>2]=11585}Jb=Ib&48;if((Jb|0)==0){c[tb>>2]=0}else if((Jb|0)==16){c[tb>>2]=(c[sb>>2]|0)/4|0}else if((Jb|0)==32){c[tb>>2]=(c[sb>>2]|0)/2|0}else if((Jb|0)==48){c[tb>>2]=((c[sb>>2]|0)*3|0)/4|0}Ib=Ib&15;if((Ib|0)==0){Jb=c[sb>>2]|0;Ib=Jb+ -1|0}else{Jb=c[sb>>2]|0;Ib=(da(Jb,Ib+ -4|0)|0)/8|0}c[sb>>2]=(Jb|0)/256|0;c[tb>>2]=(c[tb>>2]|0)/256|0;c[ub>>2]=(Ib|0)/256|0;c[E>>2]=7;c[F>>2]=86;Lb=723;break};case 121:{if((c[Jb+(Kb+1<<2)>>2]|0)!=0){Lb=723;break b}Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 122:{c[E>>2]=5;c[F>>2]=79;Lb=723;break};case 123:{Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;k:do{if((Vb|0)>0){while(1){if(Mb<<24>>24==(c[Jb+8>>2]&255)<<24>>24){if((a[Jb+12|0]|0)!=0){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){break k}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=513;break a}Vb=c[ga>>2]|0;c[ha>>2]=Ib+1;c[Vb+(Ib<<4)>>2]=c[fa>>2];c[Vb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Vb+(Ib<<4)+8>>2]=1;Lb=Jb+4|0;c[Vb+(Ib<<4)+12>>2]=c[Lb>>2];Jb=c[Jb>>2]|0;Ib=c[Lb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Ib>>>0){c[h>>2]=131;break}else{c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Ib;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 120:{if((c[Jb+(Kb+1<<2)>>2]|0)==0){Lb=723;break b}Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 124:{c[E>>2]=4;c[F>>2]=81;Lb=723;break};case 125:{c[E>>2]=3;c[F>>2]=82;Lb=723;break};case 128:{Ib=c[Aa>>2]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Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Ib>>>0){c[h>>2]=131;break}else{c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Ib;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 130:{Lb=c[Ib>>2]|0;Ib=c[Jb+(Kb+1<<2)>>2]&65535;Jb=e[Ya>>1]|0;do{if(Ib>>>0<Jb>>>0){Kb=Lb&65535;if(Kb>>>0>=Jb>>>0){break}if(Kb>>>0>Ib>>>0){Lb=723;break b}else{Jb=Lb&65535}while(1){Kb=(c[Ua>>2]|0)+Kb|0;a[Kb]=a[Kb]&-2;Jb=Jb+1<<16>>16;Kb=Jb&65535;if(Kb>>>0>Ib>>>0){Lb=723;break b}else{}}}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=546;break a}break};case 133:{Kb=c[Ib>>2]|0;Jb=Kb&255;if((Jb|0)==255){a[vb]=1;Lb=723;break b}else if((Jb|0)==0){a[vb]=0;Lb=723;break b}else{do{if((Kb&256|0)!=0){if((e[yb>>1]|0)>>>0>Jb>>>0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&512|0)!=0){if((a[xb]|0)==0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&1024|0)!=0){if((a[wb]|0)==0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&2048|0)!=0){if((e[yb>>1]|0)>>>0<=Jb>>>0){break}a[vb]=0;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&4096|0)!=0){if((a[xb]|0)==0){break}a[vb]=0;Kb=c[Ib>>2]|0}}while(0);if((Kb&8192|0)==0){Lb=723;break b}if((a[wb]|0)==0){Lb=723;break b}a[vb]=0;Lb=723;break b}break};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2]=Jb;if((Jb|0)>=(Ib|0)){Lb=613;break a}Lb=c[ba>>2]|0;Kb=a[Lb+Jb|0]|0;a[La]=Kb;Kb=Kb&255;Mb=a[273544+Kb|0]|0;c[Na>>2]=Mb;if((Kb&254|0)==64){Mb=2-(da(d[Lb+(Jb+1)|0]|0,Mb)|0)|0;c[Na>>2]=Mb}if((Mb+Jb|0)>(Ib|0)){Lb=613;break a}if((Kb|0)==44|(Kb|0)==137){Lb=615;break a}else if((Kb|0)==45){Lb=723;break}else{}}break};case 136:{Jb=c[Ib>>2]|0;Kb=(Jb&1|0)!=0?35:0;if((Jb&2|0)!=0){Kb=(a[xb]|0)==0?Kb:Kb|128}if((Jb&4|0)!=0){Kb=(a[wb]|0)==0?Kb:Kb|256}if((Jb&32|0)!=0){Kb=(a[Bb]|0)==0?Kb:Kb|4096}c[Ib>>2]=Kb;Lb=723;break};case 138:{Tb=Jb+(Kb+2<<2)|0;Ub=c[Tb>>2]|0;Vb=Jb+(Kb+1<<2)|0;Lb=c[Vb>>2]|0;c[Tb>>2]=c[Ib>>2];c[Vb>>2]=Ub;c[Ib>>2]=Lb;Lb=723;break};case 139:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb|0)<=(c[Ib>>2]|0)){Lb=723;break b}c[Ib>>2]=Jb;Lb=723;break};case 140:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb|0)>=(c[Ib>>2]|0)){Lb=723;break b}c[Ib>>2]=Jb;Lb=723;break};case 141:{Ib=c[Ib>>2]|0;if((Ib|0)<=-1){Lb=723;break b}c[Cb>>2]=Ib;Lb=723;break};case 142:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb+ -1|0)>>>0>1){if((a[M]|0)==0){Lb=723;break b}else{Lb=625;break a}}else{a[Db]=d[Db]&(Jb^255)|((c[Ib>>2]|0)==0?0:Jb);Lb=723;break b}break};case 143:{Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;o:do{if((Vb|0)>0){while(1){if(Mb<<24>>24==(c[Jb+8>>2]&255)<<24>>24){if((a[Jb+12|0]|0)!=0){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){break o}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=631;break a}Lb=c[ga>>2]|0;c[ha>>2]=Ib+1;c[Lb+(Ib<<4)>>2]=c[fa>>2];c[Lb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Lb+(Ib<<4)+8>>2]=1;Kb=Jb+4|0;c[Lb+(Ib<<4)+12>>2]=c[Kb>>2];Jb=c[Jb>>2]|0;Kb=c[Kb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Ib=c[f+444+(Lb<<3)>>2]|0;if((Ib|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Kb>>>0){c[h>>2]=131;break}else{c[ba>>2]=Ib;c[ca>>2]=Lb;c[ea>>2]=Kb;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 127:case 126:case 89:case 33:{Lb=738;break};default:{if((Mb&255)>223){Vb=c[Ib>>2]|0;Lb=c[Jb+(Kb+1<<2)>>2]|0;Ib=Vb&65535;Kb=Lb+1|0;Jb=Vb&65535;do{if(Jb>>>0<(e[S>>1]|0)>>>0){if(Kb>>>0>=((c[gb>>2]|0)+1|0)>>>0){break}if((e[Ka>>1]|0)>=(e[T>>1]|0)){break}if((Kb|0)==0){Lb=0}else{Lb=Bd[c[B>>2]&255](f,Lb)|0}Mb=c[Y>>2]|0;Kb=Lb-Mb|0;if((((Kb|0)<0?0-Kb|0:Kb)|0)<(c[X>>2]|0)){Lb=(Lb|0)>-1?Mb:0-Mb|0}if((b[wa>>1]|0)==0){Mb=b[qa>>1]|0;Kb=Mb<<16>>16;Nb=(Lb|0)<0?0-Lb|0:Lb;Ob=Mb<<16>>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138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Jb>>>0){c[h>>2]=131;break}else{c[ba>>2]=Ib;c[ca>>2]=Lb;c[ea>>2]=Jb;c[fa>>2]=Kb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724}}}while(0);if((Lb|0)==723){Ib=c[h>>2]|0;if((Ib|0)==128){Lb=724}else if((Ib|0)==0){Lb=738}else{Lb=746;break}}if((Lb|0)==724){Lb=0;Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;if((Vb|0)<=0){Lb=737;break}while(1){if((a[Jb+12|0]|0)!=0){if((a[La]|0)==(c[Jb+8>>2]&255)<<24>>24){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){Lb=737;break a}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=728;break}Mb=c[ga>>2]|0;c[Mb+(Ib<<4)>>2]=c[fa>>2];c[Mb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Mb+(Ib<<4)+8>>2]=1;Kb=Jb+4|0;c[Mb+(Ib<<4)+12>>2]=c[Kb>>2];Jb=c[Jb>>2]|0;Kb=c[Kb>>2]|0;Mb=Jb+ -1|0;if(Mb>>>0>2){Lb=730;break}Ib=c[f+444+(Mb<<3)>>2]|0;if((Ib|0)==0){Lb=732;break}Mb=c[f+444+(Mb<<3)+4>>2]|0;if(Mb>>>0<Kb>>>0){Lb=734;break}c[ba>>2]=Ib;c[ca>>2]=Mb;c[ea>>2]=Kb;c[fa>>2]=Jb}else if((Lb|0)==738){Lb=0;c[Fb>>2]=c[Z>>2];if((a[aa]|0)!=0){c[ea>>2]=(c[ea>>2]|0)+(c[Na>>2]|0)}if((Hb|0)>999999){f=139;Lb=749;break}else{Hb=Hb+1|0}}Pb=c[ea>>2]|0;if((Pb|0)>=(c[ca>>2]|0)){Lb=742;break}if((a[j]|0)!=0){f=0;Lb=749;break}}do{if((Lb|0)==20){c[h>>2]=129;Ib=129}else if((Lb|0)==22){c[h>>2]=130;Ib=130}else if((Lb|0)==32){c[h>>2]=134;Ib=134}else if((Lb|0)==37){c[h>>2]=134;Ib=134}else if((Lb|0)==50){c[h>>2]=134;Ib=134}else if((Lb|0)==61){c[h>>2]=134;Ib=134}else if((Lb|0)==67){c[h>>2]=134;Ib=134}else if((Lb|0)==73){c[h>>2]=134;Ib=134}else if((Lb|0)==79){c[h>>2]=134;Ib=134}else if((Lb|0)==82){c[h>>2]=132;Ib=132}else if((Lb|0)==91){c[h>>2]=131;Ib=131}else if((Lb|0)==107){c[h>>2]=134;Ib=134}else if((Lb|0)==110){c[h>>2]=134;Ib=134}else if((Lb|0)==115){c[h>>2]=134;Ib=134}else if((Lb|0)==121){c[h>>2]=130;Ib=130}else if((Lb|0)==134){c[h>>2]=134;Ib=134}else if((Lb|0)==145){c[h>>2]=130;Ib=130}else if((Lb|0)==155){c[h>>2]=134;Ib=134}else if((Lb|0)==165){c[h>>2]=130;Ib=130}else if((Lb|0)==174){c[h>>2]=134;Ib=134}else if((Lb|0)==180){c[h>>2]=140;Ib=140}else if((Lb|0)==183){c[h>>2]=140;Ib=140}else if((Lb|0)==191){c[h>>2]=131;Ib=131}else if((Lb|0)==193){c[h>>2]=137;Ib=137}else if((Lb|0)==195){c[h>>2]=136;Ib=136}else if((Lb|0)==199){c[h>>2]=132;Ib=132}else if((Lb|0)==201){c[h>>2]=138;Ib=138}else if((Lb|0)==203){c[h>>2]=131;Ib=131}else if((Lb|0)==207){c[h>>2]=134;Ib=134}else if((Lb|0)==236){c[h>>2]=134;Ib=134}else if((Lb|0)==242){c[h>>2]=134;Ib=134}else if((Lb|0)==251){c[h>>2]=134;Ib=134}else if((Lb|0)==268){c[h>>2]=134;Ib=134}else if((Lb|0)==275){c[h>>2]=134;Ib=134}else if((Lb|0)==284){c[h>>2]=134;Ib=134}else if((Lb|0)==288){c[h>>2]=134;Ib=134}else if((Lb|0)==297){c[h>>2]=134;Ib=134}else if((Lb|0)==303){c[h>>2]=134;Ib=134}else if((Lb|0)==313){c[h>>2]=134;Ib=134}else if((Lb|0)==325){c[h>>2]=134;Ib=134}else if((Lb|0)==334){c[h>>2]=134;Ib=134}else if((Lb|0)==338){c[h>>2]=134;Ib=134}else if((Lb|0)==347){c[h>>2]=134;Ib=134}else if((Lb|0)==356){c[h>>2]=130;Ib=130}else if((Lb|0)==361){c[h>>2]=130;Ib=130}else if((Lb|0)==370){c[h>>2]=134;Ib=134}else if((Lb|0)==384){c[h>>2]=134;Ib=134}else if((Lb|0)==391){c[h>>2]=134;Ib=134}else if((Lb|0)==397){c[h>>2]=134;Ib=134}else if((Lb|0)==408){c[h>>2]=135;Ib=135}else if((Lb|0)==423){c[h>>2]=131;Ib=131}else if((Lb|0)==443){c[h>>2]=133;Ib=133}else if((Lb|0)==461){c[h>>2]=129;Ib=129}else if((Lb|0)==464){c[h>>2]=134;Ib=134}else if((Lb|0)==513){c[h>>2]=130;Ib=130}else if((Lb|0)==528){c[h>>2]=129;Ib=129}else if((Lb|0)==531){c[h>>2]=134;Ib=134}else if((Lb|0)==540){c[h>>2]=134;Ib=134}else if((Lb|0)==546){c[h>>2]=134;Ib=134}else if((Lb|0)==552){c[h>>2]=130;Ib=130}else if((Lb|0)==587){c[h>>2]=134;Ib=134}else if((Lb|0)==602){c[h>>2]=141;Ib=141}else if((Lb|0)==605){c[h>>2]=141;Ib=141}else if((Lb|0)==613){c[h>>2]=131;Ib=131}else if((Lb|0)==615){c[h>>2]=137;Ib=137}else if((Lb|0)==625){c[h>>2]=134;Ib=134}else if((Lb|0)==631){c[h>>2]=130;Ib=130}else if((Lb|0)==647){c[h>>2]=134;Ib=134}else if((Lb|0)==674){c[h>>2]=134;Ib=134}else if((Lb|0)==696){c[h>>2]=130;Ib=130}else if((Lb|0)==705){c[h>>2]=130;Ib=130}else if((Lb|0)==712){c[h>>2]=130;Ib=130}else if((Lb|0)==728){c[h>>2]=134;Ib=134}else if((Lb|0)==730){c[h>>2]=132;Ib=132}else if((Lb|0)==732){c[h>>2]=138;Ib=138}else if((Lb|0)==734){c[h>>2]=131;Ib=131}else if((Lb|0)==737){c[h>>2]=128;Ib=128}else if((Lb|0)==742){if((c[ha>>2]|0)>0){c[h>>2]=131;Ib=131;break}else{Vb=0;i=g;return Vb|0}}else if((Lb|0)==745){c[h>>2]=131;Ib=131}else if((Lb|0)==746){if((Ib|0)==0){f=0}else{break}i=g;return f|0}else if((Lb|0)==749){i=g;return f|0}}while(0);if((a[j]|0)!=0){Vb=Ib;i=g;return Vb|0}a[(c[f+4>>2]|0)+301|0]=0;Vb=c[h>>2]|0;i=g;return Vb|0}function oR(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;g=i;i=i+8|0;e=g;h=c[(c[a+384>>2]|0)+(d<<2)>>2]|0;d=a+244|0;j=a+256|0;k=c[j>>2]|0;if((k|0)!=0){l=k;l=aJ(h,l)|0;i=f;return l|0}k=a+296|0;if((b[k>>1]|0)==0){l=c[d>>2]|0;c[j>>2]=l;l=aJ(h,l)|0;i=f;return l|0}l=b[a+294>>1]|0;if(l<<16>>16==0){l=c[a+248>>2]|0;c[j>>2]=l;l=aJ(h,l)|0;i=f;return l|0}else{d=_I(l<<16>>16,c[d>>2]|0,16384)|0;l=_I(b[k>>1]|0,c[a+248>>2]|0,16384)|0;c[g>>2]=d;c[e+4>>2]=l;l=_K(e)|0;c[j>>2]=l;l=aJ(h,l)|0;i=f;return l|0}return 0}function pR(a,d,e){a=a|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;k=j;h=a+244|0;g=a+256|0;l=c[g>>2]|0;do{if((l|0)==0){m=a+296|0;if((b[m>>1]|0)==0){l=c[h>>2]|0;c[g>>2]=l;break}l=b[a+294>>1]|0;if(l<<16>>16==0){l=c[a+248>>2]|0;c[g>>2]=l;break}else{h=_I(l<<16>>16,c[h>>2]|0,16384)|0;l=_I(b[m>>1]|0,c[a+248>>2]|0,16384)|0;c[j>>2]=h;c[k+4>>2]=l;l=_K(k)|0;c[g>>2]=l;break}}}while(0);m=bJ(e,l)|0;c[(c[a+384>>2]|0)+(d<<2)>>2]=m;i=f;return}function qR(a,d,e){a=a|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;k=j;h=a+244|0;g=a+256|0;l=c[g>>2]|0;do{if((l|0)==0){m=a+296|0;if((b[m>>1]|0)==0){l=c[h>>2]|0;c[g>>2]=l;break}l=b[a+294>>1]|0;if(l<<16>>16==0){l=c[a+248>>2]|0;c[g>>2]=l;break}else{h=_I(l<<16>>16,c[h>>2]|0,16384)|0;l=_I(b[m>>1]|0,c[a+248>>2]|0,16384)|0;c[j>>2]=h;c[k+4>>2]=l;l=_K(k)|0;c[g>>2]=l;break}}}while(0);l=bJ(e,l)|0;m=(c[a+384>>2]|0)+(d<<2)|0;c[m>>2]=(c[m>>2]|0)+l;i=f;return}function rR(a,b){a=a|0;b=b|0;i=i;return c[(c[a+384>>2]|0)+(b<<2)>>2]|0}function sR(a,b,d){a=a|0;b=b|0;d=d|0;c[(c[a+384>>2]|0)+(b<<2)>>2]=d;i=i;return}function tR(a,b,d){a=a|0;b=b|0;d=d|0;a=(c[a+384>>2]|0)+(b<<2)|0;c[a>>2]=(c[a>>2]|0)+d;i=i;return}function uR(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=b[a+298>>1]|0;f=e<<16>>16;e=e<<16>>16==16384;do{if(e){g=b[a+294>>1]|0;f=g<<16>>16<<16;c[a+564>>2]=f}else{g=b[a+300>>1]|0;if(g<<16>>16==16384){f=b[a+296>>1]<<16;c[a+564>>2]=f;g=b[a+294>>1]|0;break}else{j=b[a+294>>1]|0;f=da(j<<16>>16,f)|0;f=(da(b[a+296>>1]|0,g<<16>>16)|0)+f<<2;c[a+564>>2]=f;g=j;break}}}while(0);do{if(g<<16>>16==16384){c[a+572>>2]=87}else{g=a+572|0;if((b[a+296>>1]|0)==16384){c[g>>2]=88;break}else{c[g>>2]=89;break}}}while(0);do{if((b[a+290>>1]|0)==16384){c[a+576>>2]=87}else{g=a+576|0;if((b[a+292>>1]|0)==16384){c[g>>2]=88;break}else{c[g>>2]=90;break}}}while(0);j=a+584|0;c[j>>2]=37;h=a+588|0;c[h>>2]=38;g=a+564|0;do{if((f|0)==1073741824){if(e){c[j>>2]=39;c[h>>2]=40;break}if((b[a+300>>1]|0)!=16384){break}c[j>>2]=41;c[h>>2]=42}}while(0);if((((f|0)<0?0-f|0:f)|0)>=67108864){j=a+256|0;c[j>>2]=0;i=d;return}c[g>>2]=1073741824;j=a+256|0;c[j>>2]=0;i=d;return}function vR(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;k=j;g=i;i=i+8|0;h=g;do{if((((a|0)<0?0-a|0:a)|0)<65536){if((((d|0)<0?0-d|0:d)|0)>=65536){break}j=a<<8;d=d<<8;c[g>>2]=j;c[h+4>>2]=d;g=_K(h)|0;if((g|0)==0){i=f;return}b[e>>1]=_I(j,16384,g)|0;b[e+2>>1]=_I(d,16384,g)|0;i=f;return}}while(0);c[j>>2]=a;c[k+4>>2]=d;g=_K(k)|0;h=_I(a,16384,g)|0;g=_I(d,16384,g)|0;d=(da(g,g)|0)+(da(h,h)|0)|0;j=(h|0)<0?0-h|0:h;k=(g|0)<0?0-g|0:g;if((d|0)<268435456){while(1){d=(j|0)<(k|0)|0;j=d+j|0;k=(d^1)+k|0;d=(da(k,k)|0)+(da(j,j)|0)|0;if((d|0)<268435456){}else{break}}}if((d|0)>268451839){d=k;while(1){a=(j|0)<(d|0);j=(a<<31>>31)+j|0;d=((a^1)<<31>>31)+d|0;if(((da(j,j)|0)+(da(d,d)|0)|0)>268451839){}else{break}}}else{d=k}if((h|0)>-1){h=j&65535}else{h=0-j&65535}if((g|0)>-1){g=d&65535}else{g=0-d&65535}b[e>>1]=h;b[e+2>>1]=g;i=f;return}function wR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+32+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(32-b+c&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function xR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b&-64|32;i=a;return((b|0)!=0&(c|0)<0?0:c)|0}else{b=0-(c-b&-64|32)|0;i=a;return((b|0)>0?0:b)|0}return 0}function yR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+16+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-32:0)|0}else{b=0-(16-b+c&-32)|0;i=a;return((b|0)>0?0:b)|0}return 0}function zR(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;j=i;i=i+8|0;k=j;f=e[a+252>>1]|0;g=a+244|0;h=a+256|0;l=c[h>>2]|0;if((l|0)!=0){m=l;m=aJ(f,m)|0;i=d;return m|0}l=a+296|0;if((b[l>>1]|0)==0){m=c[g>>2]|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}m=b[a+294>>1]|0;if(m<<16>>16==0){m=c[a+248>>2]|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}else{g=_I(m<<16>>16,c[g>>2]|0,16384)|0;m=_I(b[l>>1]|0,c[a+248>>2]|0,16384)|0;c[j>>2]=g;c[k+4>>2]=m;m=_K(k)|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}return 0}function AR(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=i;k=f+28|0;u=c[k>>2]|0;a:do{if((g|0)!=0){l=f+24|0;q=f+36|0;j=f+44|0;s=f+368|0;r=f+332|0;o=f+334|0;p=f+584|0;n=f+561|0;m=f+12|0;t=1;while(1){if((u|0)<2){break}v=u+ -2|0;c[k>>2]=v;w=c[l>>2]|0;x=c[w+(u+ -1<<2)>>2]|0;u=x&65535;v=c[w+(v<<2)>>2]|0;do{if((x&65535)>>>0<(e[j>>1]|0)>>>0){x=v>>>4&15;w=d[s]|0;if((w|0)==113){x=x|16}else if((w|0)==114){x=x|32}x=(b[r>>1]|0)+x|0;if((zR(f)|0)!=(x|0)){break}v=v&15;w=v+ -8|0;Jd[c[p>>2]&63](f,q,u,(((w|0)>-1?v+ -7|0:w)<<6|0)/(1<<b[o>>1]|0)|0)}else{if((a[n]|0)==0){break}c[m>>2]=134}}while(0);t=t+1|0;u=c[k>>2]|0;if(t>>>0>g>>>0){break a}}c[m>>2]=129;i=h;return}}while(0);c[f+32>>2]=u;i=h;return}function BR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b|0;i=a;return((b|0)!=0&(c|0)<0?0:c)|0}else{b=b-c|0;i=a;return((b|0)>0?0:b)|0}return 0}function CR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;if((b|0)>-1){f=c[a+480>>2]|0;a=d+b-f+(c[a+484>>2]|0)&0-(c[a+476>>2]|0);f=((b|0)!=0&(a|0)<0?0:a)+f|0;i=e;return f|0}else{f=c[a+480>>2]|0;b=0-(d-b+(c[a+484>>2]|0)-f&0-(c[a+476>>2]|0))|0;f=((b|0)>0?0:b)-f|0;i=e;return f|0}return 0}function DR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;if((b|0)>-1){f=c[a+480>>2]|0;d=d+b-f+(c[a+484>>2]|0)|0;a=d-((d|0)%(c[a+476>>2]|0)|0)|0;f=((b|0)!=0&(a|0)<0?0:a)+f|0;i=e;return f|0}else{f=c[a+480>>2]|0;b=d-b+(c[a+484>>2]|0)-f|0;b=((b|0)%(c[a+476>>2]|0)|0)-b|0;f=((b|0)>0?0:b)-f|0;i=e;return f|0}return 0}function ER(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+63+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(63-b+c&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function FR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(c-b&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function GR(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;m=i;i=i+16|0;if((a[d+368|0]&1)==0){p=d+72|0;q=c[p>>2]|0;p=c[p+4>>2]|0;o=b[d+80>>1]|0;n=b[d+82>>1]|0;l=c[d+84>>2]|0;j=c[d+88>>2]|0;$W(m|0,d+92|0,16)|0;r=d+288|0}else{p=d+36|0;q=c[p>>2]|0;p=c[p+4>>2]|0;o=b[d+44>>1]|0;n=b[d+46>>1]|0;l=c[d+48>>2]|0;j=c[d+52>>2]|0;$W(m|0,d+56|0,16)|0;r=d+286|0}s=b[r>>1]|0;r=s&65535;if((s&65535)<(o&65535)){t=g;c[t>>2]=q;c[t+4>>2]=p;b[g+8>>1]=o;b[g+10>>1]=n;c[g+12>>2]=l;c[g+16>>2]=j;$W(g+20|0,m|0,16)|0;b[h>>1]=s;r=sd[c[d+572>>2]&127](d,(c[j+(r<<3)>>2]|0)-(c[l+(r<<3)>>2]|0)|0,(c[j+(r<<3)+4>>2]|0)-(c[l+(r<<3)+4>>2]|0)|0)|0;s=d+564|0;c[e>>2]=_I(r,b[d+298>>1]<<16,c[s>>2]|0)|0;c[f>>2]=_I(r,b[d+300>>1]<<16,c[s>>2]|0)|0;s=0;i=k;return s|0}if((a[d+561|0]|0)!=0){c[d+12>>2]=134}b[h>>1]=0;t=1;i=k;return t|0}function HR(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=i;if(b>>>0>d>>>0){i=g;return}s=c[a+12>>2]|0;if(!(s>>>0>e>>>0&s>>>0>f>>>0)){i=g;return}h=a+8|0;k=c[h>>2]|0;l=c[k+(e<<3)>>2]|0;k=c[k+(f<<3)>>2]|0;j=(l|0)>(k|0);p=j?l:k;l=j?k:l;k=j?e:f;n=j?f:e;s=c[a>>2]|0;e=c[s+(n<<3)>>2]|0;m=c[s+(k<<3)>>2]|0;f=a+4|0;o=c[f>>2]|0;n=c[o+(n<<3)>>2]|0;j=n-e|0;q=c[o+(k<<3)>>2]|0;k=q-m|0;if((l|0)==(p|0)){while(1){h=c[s+(b<<3)>>2]|0;c[o+(b<<3)>>2]=((h|0)>(e|0)?k:j)+h;b=b+1|0;if(b>>>0>d>>>0){break}o=c[f>>2]|0;s=c[a>>2]|0}i=g;return}o=q-n|0;p=p-l|0;q=0;r=0;while(1){s=c[s+(b<<3)>>2]|0;do{if((s|0)>(e|0)){if((s|0)>=(m|0)){s=s+k|0;break}if(r<<24>>24==0){s=_I(o,65536,p)|0;r=1}else{s=q}q=s;s=(aJ((c[(c[h>>2]|0)+(b<<3)>>2]|0)-l|0,s)|0)+n|0}else{s=s+j|0}}while(0);c[(c[f>>2]|0)+(b<<3)>>2]=s;b=b+1|0;if(b>>>0>d>>>0){break}s=c[a>>2]|0}i=g;return}function IR(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return b|0}function JR(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return c|0}function KR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=b[a+294>>1]|0;g=b[a+296>>1]|0;f=da(h,c&65535)|0;h=da(h,c>>16)|0;e=(h<<16)+f|0;a=da(g,d&65535)|0;g=da(g,d>>16)|0;d=(g<<16)+a|0;c=d+e|0;d=(h>>16)+(f>>31)+(a>>31)+(g>>16)+(e>>>0<f>>>0)+(d>>>0<a>>>0)+(c>>>0<e>>>0)|0;e=d>>31;a=e+c|0;i=i;return e+d+(a>>>0<c>>>0)+(a>>>0>4294959103)<<18|(a+8192|0)>>>14|0}function LR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=b[a+290>>1]|0;g=b[a+292>>1]|0;f=da(h,c&65535)|0;h=da(h,c>>16)|0;e=(h<<16)+f|0;a=da(g,d&65535)|0;g=da(g,d>>16)|0;d=(g<<16)+a|0;c=d+e|0;d=(h>>16)+(f>>31)+(a>>31)+(g>>16)+(e>>>0<f>>>0)+(d>>>0<a>>>0)+(c>>>0<e>>>0)|0;e=d>>31;a=e+c|0;i=i;return e+d+(a>>>0<c>>>0)+(a>>>0>4294959103)<<18|(a+8192|0)>>>14|0}function MR(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;j=b[d+298>>1]|0;if(j<<16>>16!=0){l=_I(g,j<<16>>16<<16,c[d+564>>2]|0)|0;j=f&65535;k=(c[e+16>>2]|0)+(j<<3)|0;c[k>>2]=(c[k>>2]|0)+l;j=(c[e+24>>2]|0)+j|0;a[j]=a[j]|8}j=b[d+300>>1]|0;if(j<<16>>16==0){i=h;return}j=_I(g,j<<16>>16<<16,c[d+564>>2]|0)|0;l=f&65535;k=(c[e+16>>2]|0)+(l<<3)+4|0;c[k>>2]=(c[k>>2]|0)+j;l=(c[e+24>>2]|0)+l|0;a[l]=a[l]|16;i=h;return}function NR(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;h=b[a+298>>1]|0;if(h<<16>>16!=0){j=_I(f,h<<16>>16<<16,c[a+564>>2]|0)|0;h=(c[d+12>>2]|0)+((e&65535)<<3)|0;c[h>>2]=(c[h>>2]|0)+j}h=b[a+300>>1]|0;if(h<<16>>16==0){i=g;return}h=_I(f,h<<16>>16<<16,c[a+564>>2]|0)|0;j=(c[d+12>>2]|0)+((e&65535)<<3)+4|0;c[j>>2]=(c[j>>2]|0)+h;i=g;return}function OR(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=e&65535;e=(c[d+16>>2]|0)+(b<<3)|0;c[e>>2]=(c[e>>2]|0)+f;b=(c[d+24>>2]|0)+b|0;a[b]=a[b]|8;i=i;return}function PR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=(c[b+12>>2]|0)+((d&65535)<<3)|0;c[a>>2]=(c[a>>2]|0)+e;i=i;return}function QR(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=e&65535;e=(c[d+16>>2]|0)+(b<<3)+4|0;c[e>>2]=(c[e>>2]|0)+f;b=(c[d+24>>2]|0)+b|0;a[b]=a[b]|16;i=i;return}function RR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=(c[b+12>>2]|0)+((d&65535)<<3)+4|0;c[a>>2]=(c[a>>2]|0)+e;i=i;return}function SR(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;e=c[(c[d>>2]|0)+100>>2]|0;g=d+292|0;if((a[g]|0)!=0){c[d+296>>2]=0;a[g]=0}g=d+244|0;lJ(e,c[g>>2]|0);c[g>>2]=0;c[d+240>>2]=0;g=d+252|0;lJ(e,c[g>>2]|0);c[g>>2]=0;b[d+248>>1]=0;g=d+256|0;h=c[g>>2]|0;if((h|0)!=0){j=g+28|0;lJ(h,c[j>>2]|0);c[j>>2]=0;j=g+24|0;lJ(h,c[j>>2]|0);c[j>>2]=0;j=g+16|0;lJ(h,c[j>>2]|0);c[j>>2]=0;j=g+12|0;lJ(h,c[j>>2]|0);c[j>>2]=0;j=g+20|0;lJ(h,c[j>>2]|0);c[j>>2]=0;bX(g|0,0,12)|0}j=d+124|0;lJ(e,c[j>>2]|0);c[j>>2]=0;lJ(e,c[d+136>>2]|0);c[d+116>>2]=0;c[d+120>>2]=0;a[d+300|0]=0;bX(d+128|0,0,20)|0;a[d+301|0]=0;i=f;return}function TR(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;f=i;i=i+8|0;h=i;i=i+8|0;k=c[e+28>>2]|0;j=pd[c[d+508>>2]&63](d,1668707360,e,h)|0;c[f>>2]=j;if((j|0)!=0){c[d+668>>2]=0;c[d+672>>2]=0;c[f>>2]=0;k=0;i=g;return k|0}l=(c[h>>2]|0)>>>1;h=d+668|0;c[h>>2]=l;j=d+672|0;c[j>>2]=oJ(k,2,0,l,0,f)|0;k=c[f>>2]|0;if((k|0)!=0){l=k;i=g;return l|0}k=MK(e,c[h>>2]<<1)|0;c[f>>2]=k;if((k|0)!=0){l=k;i=g;return l|0}j=c[j>>2]|0;l=c[h>>2]|0;h=j+(l<<1)|0;if((l|0)>0){do{b[j>>1]=RK(e)|0;j=j+2|0;}while(j>>>0<h>>>0)}PK(e);if((a[d+708|0]|0)==0){l=c[f>>2]|0;i=g;return l|0}else{l=ZR(d,e)|0;c[f>>2]=l;i=g;return l|0}return 0}function UR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;b=i;f=c[a+24>>2]|0;d=PJ(f,d)|0;if((d|0)!=0){i=b;return d|0}e=MK(f,e)|0;if((e|0)!=0){d=e;i=b;return d|0}c[a+200>>2]=c[f+32>>2];c[a+204>>2]=c[f+36>>2];d=0;i=b;return d|0}function VR(a){a=a|0;var e=0,f=0,g=0,h=0;e=i;h=a+200|0;f=c[h>>2]|0;g=f+10|0;if(g>>>0>(c[a+204>>2]|0)>>>0){h=20;i=e;return h|0}b[a+32>>1]=(d[f]|0)<<8&65535|(d[f+1|0]|0);c[a+36>>2]=((d[f+2|0]|0)<<8&65535|(d[f+3|0]|0))<<16>>16;c[a+40>>2]=((d[f+4|0]|0)<<8&65535|(d[f+5|0]|0))<<16>>16;c[a+44>>2]=((d[f+6|0]|0)<<8&65535|(d[f+7|0]|0))<<16>>16;c[a+48>>2]=((d[f+8|0]|0)<<8&65535|(d[f+9|0]|0))<<16>>16;c[h>>2]=g;h=0;i=e;return h|0}function WR(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;l=i;k=f+200|0;w=c[k>>2]|0;h=c[f+204>>2]|0;m=c[f+12>>2]|0;j=b[f+32>>1]|0;A=j<<16>>16;t=c[f>>2]|0;do{if(j<<16>>16!=0){do{if(((b[m+20>>1]|0)+A+(b[m+56>>1]|0)|0)>>>0>(c[m+8>>2]|0)>>>0){v=pJ(m,0,A)|0;if((v|0)==0){break}else{p=v}i=l;return p|0}}while(0);if(j<<16>>16>4094){p=20}else{break}i=l;return p|0}}while(0);z=m+68|0;C=c[z>>2]|0;v=C+(A<<1)|0;if((w+((A<<1)+2)|0)>>>0>h>>>0){F=20;i=l;return F|0}E=d[w]<<8&65535|d[w+1|0];B=j<<16>>16>0;if(B){b[C>>1]=E}while(1){A=w+2|0;D=C+2|0;if(D>>>0>=v>>>0){break}F=d[A]<<8&65535|d[w+3|0];b[D>>1]=F;if(F<<16>>16>E<<16>>16){E=F;w=A;C=D}else{p=8;u=51;break}}if((u|0)==51){i=l;return p|0}do{if(B){C=b[C>>1]|0;B=C+1|0;if((B|0)<0){F=20;i=l;return F|0}else{C=C+5|0;if((C|0)==0){n=B;break}else{y=C;x=B;u=13;break}}}else{y=4;x=0;u=13}}while(0);do{if((u|0)==13){if(((b[m+22>>1]|0)+y+(b[m+58>>1]|0)|0)>>>0<=(c[m+4>>2]|0)>>>0){n=x;break}n=pJ(m,y,0)|0;if((n|0)==0){n=x;break}else{p=n}i=l;return p|0}}while(0);x=c[z>>2]|0;while(1){y=x+2|0;if(y>>>0>=v>>>0){break}if((b[x>>1]|0)<(b[y>>1]|0)){x=y}else{p=20;u=51;break}}if((u|0)==51){i=l;return p|0}u=f+8|0;c[(c[u>>2]|0)+140>>2]=0;c[(c[u>>2]|0)+136>>2]=0;v=w+4|0;if(v>>>0>h>>>0){F=20;i=l;return F|0}F=d[A]<<8&65535|d[w+3|0];x=F&65535;if((F&65535)>(e[t+286>>1]|0)){F=22;i=l;return F|0}if((h-v|0)<(x|0)){F=22;i=l;return F|0}if((c[f+16>>2]&2|0)==0){c[(c[u>>2]|0)+140>>2]=x;F=f+160|0;c[(c[u>>2]|0)+136>>2]=c[(c[F>>2]|0)+392>>2];$W(c[(c[F>>2]|0)+392>>2]|0,v|0,x|0)|0}z=w+(x+4)|0;t=m+64|0;v=c[t>>2]|0;u=v+n|0;f=(n|0)>0;do{if(f){a:while(1){w=z+1|0;if(w>>>0>h>>>0){p=20;u=51;break}y=a[z]|0;x=v+1|0;a[v]=y;do{if((y&8)==0){v=x;s=w}else{z=z+2|0;if(z>>>0>h>>>0){p=20;u=51;break a}w=a[w]|0;if((v+((w&255)+1)|0)>>>0>u>>>0){p=20;u=51;break a}if(w<<24>>24==0){v=x;s=z;break}s=w+ -1<<24>>24&255;bX(x|0,y|0,s+1|0)|0;v=v+(s+2)|0;s=z}}while(0);if(v>>>0<u>>>0){z=s}else{u=31;break}}if((u|0)==31){r=c[t>>2]|0;q=s;break}else if((u|0)==51){i=l;return p|0}}else{r=v;q=z}}while(0);s=m+60|0;v=c[s>>2]|0;u=v+(n<<3)|0;if(q>>>0>h>>>0){F=20;i=l;return F|0}b:do{if(f){x=0;c:while(1){w=a[r]|0;y=w&255;do{if((y&2|0)==0){if((y&16|0)!=0){o=q;q=0;break}y=q+2|0;if(y>>>0>h>>>0){p=20;u=51;break c}o=y;q=(d[q]<<8&65535|d[q+1|0])<<16>>16}else{z=q+1|0;if(z>>>0>h>>>0){p=20;u=51;break c}q=d[q]|0;o=z;q=(y&16|0)==0?0-q|0:q}}while(0);x=q+x|0;c[v>>2]=x;a[r]=w&-19;v=v+8|0;if(v>>>0<u>>>0){r=r+1|0;q=o}else{u=41;break}}if((u|0)==41){r=c[s>>2]|0;p=r+(n<<3)|0;if(!f){g=o;break}q=c[t>>2]|0;f=0;d:while(1){s=a[q]|0;u=s&255;do{if((u&4|0)==0){if((u&32|0)!=0){t=o;o=0;break}t=o+2|0;if(t>>>0>h>>>0){p=20;u=51;break d}o=(d[o]<<8&65535|d[o+1|0])<<16>>16}else{t=o+1|0;if(t>>>0>h>>>0){p=20;u=51;break d}o=d[o]|0;o=(u&32|0)==0?0-o|0:o}}while(0);f=o+f|0;c[r+4>>2]=f;a[q]=s&1;r=r+8|0;if(r>>>0<p>>>0){q=q+1|0;o=t}else{g=t;break b}}if((u|0)==51){i=l;return p|0}}else if((u|0)==51){i=l;return p|0}}else{g=q}}while(0);b[m+58>>1]=n;b[m+56>>1]=j;c[k>>2]=g;F=0;i=l;return F|0}function XR(e){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;f=i;j=e+200|0;g=c[e+204>>2]|0;h=c[e+12>>2]|0;m=h+88|0;l=0;p=c[j>>2]|0;while(1){k=l+1|0;n=qJ(h,k)|0;if((n|0)!=0){l=21;break}t=p+4|0;if(t>>>0>g>>>0){n=21;l=21;break}o=c[m>>2]|0;q=o+(l<<5)+12|0;c[q>>2]=0;u=o+(l<<5)+8|0;c[u>>2]=0;n=d[p+1|0]|0;r=d[p]<<8&65535|n;b[o+(l<<5)+4>>1]=r;c[o+(l<<5)>>2]=(d[p+2|0]<<8&65535|d[p+3|0])&65535;v=(n&1)==0;w=v?2:4;s=r&65535;r=(s&8|0)==0;do{if(r){if((s&64|0)==0){w=s>>>4&8|w;break}else{w=w+4|0;break}}else{w=w+2|0}}while(0);if((p+(w+4)|0)>>>0>g>>>0){n=21;l=21;break}if(v){c[u>>2]=a[t]|0;t=p+6|0;p=a[p+5|0]|0}else{c[u>>2]=(d[t]<<8&65535|d[p+5|0])<<16>>16;t=p+8|0;p=(d[p+6|0]<<8&65535|d[p+7|0])<<16>>16}c[q>>2]=p;do{if(r){if((s&64|0)!=0){p=t+4|0;q=(d[t]<<8&65535|d[t+1|0])<<16>>16<<2;s=0;r=0;t=(d[t+2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jmp:YW,_memcmp:iX,_strncasecmp:XW,_strcat:cX,_free:BW,_main:_d,_realloc:CW,_i64Add:gX,_memmove:aX,_tolower:WW,_strlen:ZW,_memset:bX,_malloc:AW,_bitshift64Ashr:_W,_memcpy:$W,_strncpy:hX,_bitshift64Lshr:jX,_bitshift64Shl:dX,_i64Subtract:fX,_strcpy:eX,_testSetjmp:kX,runPostSets:VW,stackAlloc:Kd,stackSave:Ld,stackRestore:Md,setThrew:Nd,setTempRet0:Qd,setTempRet1:Rd,setTempRet2:Sd,setTempRet3:Td,setTempRet4:Ud,setTempRet5:Vd,setTempRet6:Wd,setTempRet7:Xd,setTempRet8:Yd,setTempRet9:Zd,dynCall_iiiiiiii:uX,dynCall_viiiii:vX,dynCall_vi:wX,dynCall_iiiidd:xX,dynCall_vii:yX,dynCall_iiiiiii:zX,dynCall_ii:AX,dynCall_viidd:BX,dynCall_viddii:CX,dynCall_viiddddddiiii:DX,dynCall_iiiiiiiiiiiidd:EX,dynCall_vidii:FX,dynCall_iiiii:GX,dynCall_iiiddddiii:HX,dynCall_viiiiiiiiiii:IX,dynCall_iiii:JX,dynCall_iiiddiiiiiiiiiii:KX,dynCall_viiiiii:LX,dynCall_viiiiiiiiiiiii:MX,dynCall_di:NX,dynCall_iiiiiiiiiii:OX,dynCall_viiiiiii:PX,dynCall_viiiiiiiii:QX,dynCall_viiiiiiiiii:RX,dynCall_iii:SX,dynCall_iiiiii:TX,dynCall_dii:UX,dynCall_viidddddd:VX,dynCall_iiiiiiiiii:WX,dynCall_viii:XX,dynCall_v:YX,dynCall_viid:ZX,dynCall_viiii:_X}})