Lines Matching refs:Sc
10 function uc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))fa();return b|0}function vc(){return i|0}function wc(a){a=a|0;i=a}function xc(a,b){a=a|0;b=b|0;if(!r){r=a;s=b}}function yc(b){b=b|0;a[(k&n)>>0]=a[(b&n)>>0];a[(k&n)+1>>0]=a[(b&n)+1>>0];a[(k&n)+2>>0]=a[(b&n)+2>>0];a[(k&n)+3>>0]=a[(b&n)+3>>0]}function zc(b){b=b|0;a[(k&n)>>0]=a[(b&n)>>0];a[(k&n)+1>>0]=a[(b&n)+1>>0];a[(k&n)+2>>0]=a[(b&n)+2>>0];a[(k&n)+3>>0]=a[(b&n)+3>>0];a[(k&n)+4>>0]=a[(b&n)+4>>0];a[(k&n)+5>>0]=a[(b&n)+5>>0];a[(k&n)+6>>0]=a[(b&n)+6>>0];a[(k&n)+7>>0]=a[(b&n)+7>>0]}function Ac(a){a=a|0;G=a}function Bc(){return G|0}function Cc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h+4|0;f=h;g=0;a:while(1){c[(e&p)>>2]=0;c[(f&p)>>2]=0;a[280]=0;if(Rf(14640,e)|0){d=4;break}d=c[(e&p)>>2]|0;b=0;do{if(Qe(d,c[(b<<2&p)+8>>2]|0,17,0,f)|0){d=7;break a}b=b+1|0;d=c[(e&p)>>2]|0}while((b|0)!=5);tf(d)|0;if(_v(280,8504)|0){d=9;break}g=g+1|0;if((g|0)>=3){d=11;break}}if((d|0)==4)ib(8472,8488,47,8496);else if((d|0)==7)ib(8472,8488,50,8496);else if((d|0)==9)ib(8600,8488,53,8496);else if((d|0)==11){i=h;return 0}return 0}function Dc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((d|0)>0)while(1){d=d+-1|0;hw(280,c[(f&p)>>2]|0)|0;b=280+(gw(280)|0)|0;a[(b&n)>>0]=61;a[(b&n)+1>>0]=0;b=c[(e&p)>>2]|0;hw(280,((b|0)==0?20304:b)|0)|0;if((d|0)<=0)break;else{e=e+4|0;f=f+4|0}}return 0}function Ec(b){b=b|0;var e=0,f=0,g=0;g=(Fc(b,8640,7)|0)==0;g=g?b+7|0:b;if(!g)b=0;else{b=g;while(1)if(!(a[(b&n)>>0]|0))break;else b=b+1|0;b=b-g&1073741823}f=0;while(1){e=c[(f<<2&p)+8648>>2]|0;if((Fc(g,e,b)|0)==0?(a[((d[(e+b&n)>>0]|0)&n)+10368>>0]&70)==0:0){b=1;break}f=f+1|0;if((f|0)>=4){b=0;break}}return b|0}function Fc(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;a:do if(b)if(c)if((e|0)>0){f=b;while(1){b=a[(f&n)>>0]|0;if(!(b<<24>>24))break;if((a[(b&255&n)+9328>>0]|0)!=(a[((d[(c&n)>>0]|0)&n)+9328>>0]|0))break;e=e+-1|0;if((e|0)<=0){e=0;break a}else{f=f+1|0;c=c+1|0}}if((e|0)>=1)e=(d[(b&255&n)+9328>>0]|0)-(d[((d[(c&n)>>0]|0)&n)+9328>>0]|0)|0;else e=0}else e=0;else e=1;else e=((c|0)!=0)<<31>>31;while(0);return e|0}function Gc(a){a=a|0;if(a>>>0<4)a=c[(a<<2&p)+8648>>2]|0;else a=0;return a|0}function Hc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h;if(a>>>0<=9){g=c[(a<<2&p)+8664>>2]|0;f=b;c[(f&p)>>2]=g;c[(f&p)+4>>2]=0;f=8704+(a<<2)|0;a=d;c[(a&p)>>2]=c[(f&p)>>2];c[(a&p)+4>>2]=0;if(!e)f=0;else{c[(f&p)>>2]=g;f=0}}else{c[(f&p)>>2]=15033;c[(f&p)+4>>2]=10788;bd(21,13648,f);f=21}i=h;return f|0}function Ic(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h+8|0;g=h;a=Hc(a,f,g,e)|0;if(!a){c[(b&p)>>2]=c[(f&p)>>2];c[(d&p)>>2]=c[(g&p)>>2]}i=h;return a|0}function Jc(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();n=r+4|0;l=r;switch(b|0){case 2:{c[(n&p)>>2]=0;q=a+20|0;g=c[(q&p)>>2]|0;h=(g|0)>0;if(h){l=c[(a&p)+16>>2]|0;k=0;do{b=c[(l+(k<<4)&p)+4>>2]|0;if(b)c[((c[(b&p)+4>>2]|0)&p)+4>>2]=c[(b&p)>>2];k=k+1|0}while((k|0)!=(g|0));k=a+520|0;c[(k&p)>>2]=n;if(h){m=a+16|0;h=0;do{b=c[((c[(m&p)>>2]|0)+(h<<4)&p)+12>>2]|0;if(b){l=lc[c[8796>>2]&127](16)|0;l=ca((c[(b&p)+44>>2]|0)+(c[(b&p)+12>>2]|0)+(c[(b&p)+28>>2]|0)+(c[(b&p)+60>>2]|0)|0,l)|0;c[(n&p)>>2]=l+(c[(n&p)>>2]|0);l=lc[c[8792>>2]&127](c[(b&p)+20>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+52>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+36>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+68>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=c[(b&p)+48>>2]|0;if(l)do{jg(a,c[(l&p)+8>>2]|0);l=c[(l&p)>>2]|0}while((l|0)!=0);l=c[(b&p)+16>>2]|0;if(l)do{kg(a,c[(l&p)+8>>2]|0);l=c[(l&p)>>2]|0}while((l|0)!=0);g=c[(q&p)>>2]|0}h=h+1|0}while((h|0)<(g|0));h=c[(n&p)>>2]|0}else h=0}else{k=a+520|0;c[(k&p)>>2]=n;h=0}c[(k&p)>>2]=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 9:case 8:case 7:{q=a+20|0;l=c[(q&p)>>2]|0;if((l|0)>0){n=c[(a&p)+16>>2]|0;m=b+-7|0;k=(g|0)==0;h=0;b=l;g=0;while(1){l=c[(n+(g<<4)&p)+4>>2]|0;if(l){l=(c[(c[(l&p)+4>>2]&p)>>2]|0)+(m<<2)+184|0;h=(c[(l&p)>>2]|0)+h|0;if(k)l=b;else{c[(l&p)>>2]=0;l=c[(q&p)>>2]|0}}else l=b;g=g+1|0;if((g|0)>=(l|0))break;else b=l}}else h=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 0:{k=a+252|0;c[(d&p)>>2]=c[(k&p)>>2];h=a+256|0;c[(f&p)>>2]=c[(h&p)>>2];if(!g)h=0;else{c[(h&p)>>2]=c[(k&p)>>2];h=0}break}case 6:case 5:case 4:{c[(d&p)>>2]=0;h=a+(b+-4<<2)+260|0;c[(f&p)>>2]=c[(h&p)>>2];if(!g)h=0;else{c[(h&p)>>2]=0;h=0}break}case 1:{m=a+20|0;k=c[(m&p)>>2]|0;g=(k|0)>0;if(g){h=c[(a&p)+16>>2]|0;l=0;do{b=c[(h+(l<<4)&p)+4>>2]|0;if(b)c[((c[(b&p)+4>>2]|0)&p)+4>>2]=c[(b&p)>>2];l=l+1|0}while((l|0)!=(k|0));if(g){b=a+16|0;l=0;h=0;while(1){g=c[((c[(b&p)>>2]|0)+(l<<4)&p)+4>>2]|0;if(!g)g=k;else{q=c[(c[(g&p)+4>>2]&p)>>2]|0;a=q+152|0;n=(c[(a&p)>>2]|0)+60+(e[(q&o)+140>>1]|0)|0;n=ca(lc[c[8872>>2]&127](c[((c[(q&p)+204>>2]|0)&p)+40>>2]|0)|0,n)|0;q=lc[c[8792>>2]&127](q)|0;g=c[(m&p)>>2]|0;h=n+h+q+(c[(a&p)>>2]|0)|0}l=l+1|0;if((l|0)>=(g|0))break;else k=g}}else h=0}else h=0;c[(d&p)>>2]=h;c[(f&p)>>2]=0;h=0;break}case 3:{c[(l&p)>>2]=0;g=a+520|0;c[(g&p)>>2]=l;k=c[(a&p)+4>>2]|0;if(!k)h=0;else{do{lg(a,k);mg(a,k);k=c[(k&p)+52>>2]|0}while((k|0)!=0);h=c[(l&p)>>2]|0}c[(g&p)>>2]=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 10:{c[(f&p)>>2]=0;q=a+512|0;n=c[(q&p)+4>>2]|0;if((n|0)>0|(n|0)==0&(c[(q&p)>>2]|0)>>>0>0)h=1;else{h=a+504|0;a=c[(h&p)+4>>2]|0;h=(a|0)>0|(a|0)==0&(c[(h&p)>>2]|0)>>>0>0}c[(d&p)>>2]=h&1;h=0;break}default:h=1}i=r;return h|0}function Kc(a){a=a|0;var b=0;a:do if(!(Lc()|0)){b=c[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(_v(a,c[(b&p)+16>>2]|0)|0))break a;b=c[(b&p)+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Lc(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;do if(!(c[2243]|0)){c[2245]=1;if(!(c[2246]|0)){if(!(c[2195]|0)){c[(k&p)>>2]=16496;mf(4,k)|0}b=9024|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));if(c[2187]|0)c[2256]=8;h=c[2234]|0;d=c[2235]|0;b=c[2236]|0;if((h|0)!=0&(d|0)>99&(b|0)>0){g=d&-8;c[2235]=g;c[2263]=h;c[2264]=b;f=b+-1|0;if((f|0)>0){b=h+(ca(d>>>3,(b<<3)+-8|0)|0)|0;e=0;d=h;do{a=d;d=d+g|0;c[(a&p)>>2]=d;e=e+1|0}while((e|0)!=(f|0))}else b=h;c[(b&p)>>2]=0;c[2262]=b+4}else{c[2262]=0;c[2234]=0;c[2235]=0;c[2236]=0}if((c[2237]|0)==0|(c[2238]|0)<512|(c[2239]|0)<1){c[2237]=0;c[2238]=0;c[2239]=0}a=lc[c[8800>>2]&127](c[2202]|0)|0;if(a){b=9024|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));break}}c[2246]=1;if(!(c[2249]|0))c[2249]=8;a=(c[2248]|0)+1|0;c[2248]=a;if(!(c[2244]|c[2243])){c[2244]=1;b=10840|0;d=b+92|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));b=0;do{ng(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{ng(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);ng(10840,19256);ng(10840,19292|0);ng(10840,19328|0);if(!(c[2247]|0)){a=c[2214]|0;if(!a){c[(k&p)>>2]=16440;mf(18,k)|0;a=c[2214]|0}a=lc[a&127](c[2213]|0)|0;if(!a)l=28}else l=28;if((l|0)==28){c[2247]=1;a=Tc(10)|0;if(!a)a=7;else{Wc(a);Mc(9584,1)|0;Mc(9672|0,0)|0;Mc(9760|0,0)|0;Mc(9848|0,0)|0;a=c[2237]|0;b=c[2238]|0;d=c[2239]|0;if(c[3153]|0){k=b&-8;c[3154]=k;c[3161]=d;c[3155]=d;if((d|0)<=90){c[3156]=((d|0)/10|0)+1;c[3157]=a;c[3160]=0;c[3162]=0;if(d)l=33}else{c[3156]=10;c[3157]=a;c[3160]=0;c[3162]=0;l=33}if((l|0)==33){f=b>>>3;g=d<<3;h=ca(f<<3,d+-1|0)|0;b=a;e=0;while(1){d=d+-1|0;c[(b&p)>>2]=e;if(!d)break;else{e=b;b=b+k|0}}b=a+(ca(g,f)|0)|0;c[3160]=a+h;a=b}c[3158]=a}c[2243]=1;a=0}}c[2244]=0;b=c[2248]|0}else{b=a;a=0}c[2248]=b+-1;if((b|0)<2)c[2249]=0}else a=0;while(0);i=m;return a|0}function Mc(a,b){a=a|0;b=b|0;var d=0;d=Lc()|0;do if(!d){og(a);d=c[2254]|0;if((b|0)!=0|(d|0)==0){c[(a&p)+12>>2]=d;c[2254]=a;d=0;break}else{c[(a&p)+12>>2]=c[(d&p)+12>>2];c[((c[2254]|0)&p)+12>>2]=a;d=0;break}}while(0);return d|0}function Nc(a){a=a|0;og(a);return 0}function Oc(a){a=a|0;return 0}function Pc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(Lc()|0)){e=9032|0;d=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){c[2260]=9;c[2261]=0;f=9032|0;c[(f&p)>>2]=a;c[(f&p)+4>>2]=b;c[2265]=(0>(b|0)|0==(b|0)&(c[2166]|0)>>>0>=a>>>0)&1;break}else{c[2265]=0;c[2258]=0;c[2259]=0;c[2260]=0;c[2261]=0;break}}else{e=-1;d=-1}while(0);G=e;return d|0}function Qc(){var a=0;a=c[2166]|0;G=((a|0)<0)<<31>>31;return a|0}function Rc(a){a=a|0;var b=0;b=(a|0)<0;Pc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Sc(a){a=a|0;var b=0;b=c[2176]|0;if(a)c[2176]=c[2166];G=((b|0)<0)<<31>>31;return b|0}function Tc(a){a=a|0;if((Lc()|0)!=0|(a|0)<1)a=0;else a=qg(a,((a|0)<0)<<31>>31)|0;return a|0}function Uc(a,b){a=a|0;b=b|0;if(!(Lc()|0))a=qg(a,b)|0;else a=0;return a|0}function Vc(a){a=a|0;a=lc[c[8792>>2]&127](a)|0;G=((a|0)<0)<<31>>31;return a|0}function Wc(a){a=a|0;var b=0;do if(a)if(!(c[2186]|0)){cc[c[8784>>2]&31](a);break}else{b=lc[c[8792>>2]&127](a)|0;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;cc[c[8784>>2]&31](a);break}while(0);return}function Xc(a,b){a=a|0;b=b|0;var c=0;if(!(Lc()|0)){c=(b|0)<0;b=rg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Yc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Lc()|0))b=rg(a,b,c)|0;else b=0;return b|0}function Zc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+112|0;if((i|0)>=(j|0))fa();f=g+28|0;e=g;if(!(Lc()|0)){c[(e&p)+4>>2]=f;c[(e&p)+8>>2]=f;c[(e&p)>>2]=0;c[(e&p)+12>>2]=0;c[(e&p)+16>>2]=70;c[(e&p)+20>>2]=1e9;a[(e&n)+25>>0]=0;a[(e&n)+24>>0]=2;sg(e,0,b,d);e=tg(e)|0}else e=0;i=g;return e|0}function _c(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;if(!(Lc()|0)){c[(d&p)>>2]=b;d=Zc(a,d)|0}else d=0;i=e;return d|0}function $c(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))fa();g=h;if((b|0)>=1){c[(g&p)+4>>2]=d;c[(g&p)+8>>2]=d;c[(g&p)>>2]=0;c[(g&p)+12>>2]=0;c[(g&p)+16>>2]=b;c[(g&p)+20>>2]=0;a[(g&n)+25>>0]=0;a[(g&n)+24>>0]=0;sg(g,0,e,f);d=tg(g)|0}i=h;return d|0}function ad(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();g=f;c[(g&p)>>2]=e;a=$c(a,b,d,g)|0;i=f;return a|0}function bd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+256|0;if((i|0)>=(j|0))fa();f=k+16|0;h=k+44|0;g=k;if(c[2250]|0){c[(g&p)>>2]=e;c[(f&p)+4>>2]=h;c[(f&p)+8>>2]=h;c[(f&p)>>2]=0;c[(f&p)+12>>2]=0;c[(f&p)+16>>2]=210;c[(f&p)+20>>2]=0;a[(f&n)+25>>0]=0;a[(f&n)+24>>0]=0;sg(f,0,d,g);e=c[2250]|0;g=c[2251]|0;f=tg(f)|0;mc[e&63](g,b,f)}i=k;return}function cd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;h=i;i=i+256|0;if((i|0)>=(j|0))fa();g=h;do if(!(Lc()|0)){if((b|0)<1|(e|0)==0){a[9064]=0;break}if(!(a[9064]|0)){a[9066]=0;a[9065]=0;f=(Lc()|0)==0;f=f?c[2254]|0:0;ac[c[(f&p)+56>>2]&63](f,256,g)|0;f=0;do{a[(f&n)+9067>>0]=f;f=f+1|0}while((f|0)!=256);f=0;do{k=9067+f|0;m=(d[(g+f&n)>>0]|0)+(d[(k&n)>>0]|0)+(d[9066]|0)|0;a[9066]=m;m=9067+(m&255)|0;l=a[(m&n)>>0]|0;a[(m&n)>>0]=a[(k&n)>>0]|0;a[(k&n)>>0]=l;f=f+1|0}while((f|0)!=256);a[9064]=1}while(1){k=(a[9065]|0)+1<<24>>24;a[9065]=k;k=9067+(k&255)|0;g=a[(k&n)>>0]|0;f=g&255;l=(d[9066]|0)+f|0;a[9066]=l;a[(k&n)>>0]=a[(l&255&n)+9067>>0]|0;a[((d[9066]|0)&n)+9067>>0]=g;a[(e&n)>>0]=a[((d[((d[9065]|0)&n)+9067>>0]|0)+f&255&n)+9067>>0]|0;b=b+-1|0;if(!b)break;else e=e+1|0}}while(0);i=h;return}function dd(b,c){b=b|0;c=c|0;var e=0;if(b)if(!c)c=1;else{e=a[(b&n)>>0]|0;a:do if(!(e<<24>>24))e=0;else while(1){if((a[(e&255&n)+9328>>0]|0)!=(a[((d[(c&n)>>0]|0)&n)+9328>>0]|0))break a;b=b+1|0;c=c+1|0;e=a[(b&n)>>0]|0;if(!(e<<24>>24)){e=0;break}}while(0);c=(d[(e&255&n)+9328>>0]|0)-(d[((d[(c&n)>>0]|0)&n)+9328>>0]|0)|0}else c=((c|0)!=0)<<31>>31;return c|0}function ed(a){a=a|0;c[2241]=a;return 0}function fd(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();q=r;a:do if((f|0)==(d|0)){ug(f,1,10016,q);h=0}else{h=qg(48,0)|0;if(!h){c[(d&p)+52>>2]=7;h=c[(d&p)+236>>2]|0;if(!h){h=0;break}e=h+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;h=0;break}else{vg(h);h=0;break}}l=h+0|0;k=l+48|0;do{a[(l&n)>>0]=0;l=l+1|0}while((l|0)<(k|0));m=h+24|0;c[(m&p)>>2]=wg(d,f,g)|0;k=wg(d,d,e)|0;l=h+4|0;c[(l&p)>>2]=k;c[(h&p)>>2]=d;c[(h&p)+20>>2]=f;c[(h&p)+16>>2]=1;c[(h&p)+40>>2]=0;e=c[(m&p)>>2]|0;do if(!((e|0)==0|(k|0)==0)?(xg(k,c[((c[(e&p)+4>>2]|0)&p)+32>>2]|0,-1,0)|0)!=7:0)if(!(a[((c[(l&p)>>2]|0)&n)+8>>0]|0)){e=(c[(m&p)>>2]|0)+16|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+1;break a}else{ug(d,1,47416,q);break}while(0);Wc(h);h=0}while(0);i=r;return h|0}function gd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+32|0;if((i|0)>=(j|0))fa();B=F;r=F+16|0;u=F+12|0;y=F+8|0;D=b+24|0;g=c[(D&p)>>2]|0;h=c[(g&p)+4>>2]|0;c[(h&p)+4>>2]=c[(g&p)>>2];E=b+28|0;f=c[(E&p)>>2]|0;if(f>>>0<7?(30>>>(f&127)&1)==0:0){x=c[(h&p)>>2]|0;C=b+4|0;f=c[(C&p)>>2]|0;A=c[(c[(f&p)+4>>2]&p)>>2]|0;if((c[(b&p)>>2]|0)!=0?(a[(h&n)+20>>0]|0)==2:0){z=0;g=5}else v=5;do if((v|0)==5){h=b+12|0;if(!(c[(h&p)>>2]|0)){g=yg(f,2)|0;if(g){z=0;break}c[(h&p)>>2]=1;z=c[(C&p)>>2]|0;g=c[(z&p)+4>>2]|0;c[(g&p)+4>>2]=c[(z&p)>>2];g=c[((c[(g&p)+12>>2]|0)&p)+56>>2]|0;c[(b&p)+8>>2]=d[(g&n)+41>>0]<<16|d[(g&n)+40>>0]<<24|d[(g&n)+42>>0]<<8|d[(g&n)+43>>0];g=c[(D&p)>>2]|0}if(!(a[(g&n)+8>>0]|0)){z=1;g=yg(g,0)|0}else{z=0;g=0}}while(0);l=c[((c[(D&p)>>2]|0)&p)+4>>2]|0;w=c[(l&p)+32>>2]|0;q=c[((c[(C&p)>>2]|0)&p)+4>>2]|0;t=c[(q&p)+32>>2]|0;q=(a[((c[(q&p)>>2]|0)&n)+5>>0]|0)==5;f=(w|0)==(t|0)|(g|0)==0&q^1?g:8;l=c[(l&p)+44>>2]|0;h=(e|0)<0;a:do if(e){g=b+16|0;m=c[(g&p)>>2]|0;o=0;do{if(!(m>>>0<=l>>>0&(f|0)==0))break a;if((m|0)!=((((c[2514]|0)>>>0)/((c[((c[((c[(D&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0)>>>0)|0)+1|0)){f=zg(x,m,r,2)|0;if(!f){k=c[(r&p)>>2]|0;f=Ag(b,m,c[(k&p)+4>>2]|0,0)|0;if(k)Bg(k)}}else f=0;m=(c[(g&p)>>2]|0)+1|0;c[(g&p)>>2]=m;o=o+1|0}while(h|(o|0)<(e|0))}while(0);if(!f){c[(b&p)+36>>2]=l;f=c[(b&p)+16>>2]|0;c[(b&p)+32>>2]=l+1-f;if(f>>>0<=l>>>0){f=b+40|0;if(!(c[(f&p)>>2]|0)){C=(c[(c[((c[(D&p)>>2]|0)&p)+4>>2]&p)>>2]|0)+88|0;c[(b&p)+44>>2]=c[(C&p)>>2];c[(C&p)>>2]=b;c[(f&p)>>2]=1;f=0}else f=0}else v=22}else if((f|0)==101)v=22;do if((v|0)==22){if(!l){g=c[(C&p)>>2]|0;f=c[(g&p)+4>>2]|0;c[(f&p)+4>>2]=c[(g&p)>>2];c[(f&p)+44>>2]=0;f=Cg(f)|0;if((f|0)==0|(f|0)==101)l=1;else break}f=Dg(c[(C&p)>>2]|0,1,(c[(b&p)+8>>2]|0)+1|0)|0;if(!f){g=c[(b&p)>>2]|0;if(g)Eg(g);if(q?(s=Fg(c[(C&p)>>2]|0,2)|0,(s|0)!=0):0){f=s;break}if((w|0)<(t|0)){g=(t|0)/(w|0)|0;g=(l+-1+g|0)/(g|0)|0;h=c[2514]|0;k=c[((c[((c[(C&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;g=(((g|0)==(((h>>>0)/(k>>>0)|0)+1|0))<<31>>31)+g|0;b=((w|0)<0)<<31>>31;s=sw(l|0,((l|0)<0)<<31>>31|0,w|0,b|0)|0;q=G;e=c[(A&p)+60>>2]|0;o=c[(A&p)+24>>2]|0;b:do if(g>>>0<=o>>>0){f=0;while(1){if((g|0)!=(((h>>>0)/(k>>>0)|0)+1|0)){f=zg(A,g,u,0)|0;if(f)break b;h=c[(u&p)>>2]|0;f=Gg(h)|0;if(h)Bg(h)}g=g+1|0;h=(f|0)==0;if(g>>>0>o>>>0|h^1)break;k=c[((c[((c[(C&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;h=c[2514]|0}if(h)v=38}else v=38;while(0);if((v|0)==38)f=Hg(A,0,1)|0;h=c[2514]|0;l=h+t|0;m=((l|0)<0)<<31>>31;k=(m|0)<(q|0)|(m|0)==(q|0)&l>>>0<s>>>0;l=k?l:s;m=k?m:q;h=h+w|0;k=((h|0)<0)<<31>>31;g=(f|0)==0;if(g&((k|0)<(m|0)|(k|0)==(m|0)&h>>>0<l>>>0))do{c[(y&p)>>2]=0;f=qw(h|0,k|0,w|0,b|0)|0;f=jw(f|0,G|0,1,0)|0;f=zg(x,f,y,0)|0;g=c[(y&p)>>2]|0;if(!f)f=tc[c[((c[(e&p)>>2]|0)&p)+12>>2]&31](e,c[(g&p)+4>>2]|0,w,h,k)|0;if(g)Bg(g);h=jw(h|0,k|0,w|0,b|0)|0;k=G;g=(f|0)==0}while(g&((k|0)<(m|0)|(k|0)==(m|0)&h>>>0<l>>>0));if(!g)break;f=rc[c[((c[(e&p)>>2]|0)&p)+24>>2]&127](e,B)|0;y=c[(B&p)+4>>2]|0;if((f|0)==0&((y|0)>(q|0)|((y|0)==(q|0)?(c[(B&p)>>2]|0)>>>0>s>>>0:0)))f=ac[c[((c[(e&p)>>2]|0)&p)+16>>2]&63](e,s,q)|0;if(f)break;f=Ig(A,0)|0}else{c[(A&p)+24>>2]=ca((w|0)/(t|0)|0,l)|0;f=Hg(A,0,0)|0}if(!f){f=Jg(c[(C&p)>>2]|0,0)|0;f=(f|0)==0?101:f}}}while(0);if(z){Kg(c[(D&p)>>2]|0,0)|0;Jg(c[(D&p)>>2]|0,0)|0}f=(f|0)==3082?7:f;c[(E&p)>>2]=f}i=F;return f|0}function hd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;if(!a)d=0;else{h=c[(a&p)+20>>2]|0;e=c[(a&p)+24>>2]|0;d=c[(e&p)+4>>2]|0;c[(d&p)+4>>2]=c[(e&p)>>2];if(c[(a&p)>>2]|0){e=e+16|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1}if(c[(a&p)+40>>2]|0){d=(c[(d&p)>>2]|0)+88|0;while(1){e=c[(d&p)>>2]|0;if((e|0)==(a|0))break;else d=e+44|0}c[(d&p)>>2]=c[(a&p)+44>>2]}Lg(c[(a&p)+4>>2]|0,0,0);d=c[(a&p)+28>>2]|0;d=(d|0)==101?0:d;e=c[(a&p)>>2]|0;if(e){c[(e&p)+52>>2]=d;f=c[(e&p)+236>>2]|0;do if(f){g=f+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(f);e=c[(a&p)>>2]|0;break}}while(0);Mg(e);if(c[(a&p)>>2]|0)Wc(a)}Mg(h)}return d|0}function id(a){a=a|0;return c[(a&p)+32>>2]|0}function jd(a){a=a|0;return c[(a&p)+36>>2]|0}function kd(a){a=a|0;if((a|0)!=0?(b[(a&o)+88>>1]&256)!=0:0)a=c[(a&p)+168>>2]|0;else a=0;return a|0}function ld(a){a=a|0;if(!a)a=1;else a=(b[(a&o)+88>>1]&8)!=0;return a&1|0}function md(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(a){b=c[(a&p)>>2]|0;if(!b){bd(21,47360,d);c[(d&p)>>2]=68910;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}else{a=Og(b,Ng(a)|0)|0;Mg(b);b=a;break}}else b=0;while(0);i=e;return b|0}function nd(b){b=b|0;var d=0,e=0;if(!b)b=0;else{d=Pg(b)|0;c[(b&p)+76>>2]=-1;c[(b&p)+80>>2]=0;a[(b&n)+86>>0]=2;c[(b&p)+40>>2]=-1108210269;c[(b&p)+92>>2]=0;c[(b&p)+72>>2]=1;a[(b&n)+87>>0]=-1;c[(b&p)+104>>2]=0;e=b+144|0;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;b=Og(c[(b&p)>>2]|0,d)|0}return b|0}function od(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+68|0;e=b[(h&o)>>1]|0;if(e<<16>>16>0){i=a+60|0;d=c[(i&p)>>2]|0;g=0;do{f=d+(g*40|0)|0;if(!((b[(d+(g*40|0)&o)+8>>1]&9312)==0?(c[(d+(g*40|0)&p)+24>>2]|0)==0:0)){Qg(f);d=c[(i&p)>>2]|0;e=b[(h&o)>>1]|0}b[(d+(g*40|0)&o)+8>>1]=1;g=g+1|0}while((g|0)<(e<<16>>16|0))}d=a+88|0;e=b[(d&o)>>1]|0;if((e&256)!=0?(c[(a&p)+188>>2]|0)!=0:0)b[(d&o)>>1]=e|8;return 0}function pd(a){a=a|0;var d=0;d=a+8|0;if(b[(d&o)>>1]&18){Rg(a)|0;b[(d&o)>>1]=e[(d&o)>>1]|0|16;if(!(c[(a&p)+12>>2]|0))d=0;else d=c[(a&p)+16>>2]|0}else d=Sg(a,1)|0;return d|0}function qd(a){a=a|0;return Sg(a,1)|0}function rd(a){a=a|0;return Tg(a,1)|0}function sd(a){a=a|0;return Tg(a,2)|0}function td(a){a=a|0;return +(+Ug(a))}function ud(a){a=a|0;a=Vg(a)|0;return a|0}function vd(a){a=a|0;a=Vg(a)|0;return a|0}function wd(a){a=a|0;return Sg(a,2)|0}function xd(a){a=a|0;return Sg(a,3)|0}function yd(a){a=a|0;return Sg(a,2)|0}function zd(a){a=a|0;return d[((e[(a&o)+8>>1]|0)&31&n)+10064>>0]|0|0}function Ad(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,0,d);return}function Bd(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))cc[g&31](d);if(b){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}}else Wg(b,d,e,0,g);return}function Cd(a,b){a=a|0;b=+b;Yg(c[(a&p)>>2]|0,b);return}function Dd(b,d,e){b=b|0;d=d|0;e=e|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,e,1,-1)|0;return}function Ed(b,d,e){b=b|0;d=d|0;e=e|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,e,2,-1)|0;return}function Fd(a,d){a=a|0;d=d|0;var e=0,f=0;a=c[(a&p)>>2]|0;e=((d|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4}else Zg(a,d,e);return}function Gd(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4}else Zg(a,d,e);return}function Hd(a){a=a|0;var d=0;a=c[(a&p)>>2]|0;d=a+8|0;if(!(b[(d&o)>>1]&9312))b[(d&o)>>1]=1;else vg(a);return}function Id(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,1,d);return}function Jd(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))cc[g&31](d);if(b){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}}else Wg(b,d,e,h<<24>>24==4?2:h,g);return}function Kd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,2,d);return}function Ld(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,3,d);return}function Md(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,2,d);return}function Nd(a,b){a=a|0;b=b|0;_g(c[(a&p)>>2]|0,b)|0;return}function Od(a,b){a=a|0;b=b|0;$g(c[(a&p)>>2]|0,b);return}function Pd(d,e){d=d|0;e=e|0;var f=0;c[(d&p)+20>>2]=e;a[(d&n)+25>>0]=1;f=c[(d&p)>>2]|0;if(b[(f&o)+8>>1]&1){if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344;Xg(f,d,-1,1,0)|0}return}function Qd(b){b=b|0;c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0;return}function Rd(d){d=d|0;var e=0,f=0;e=c[(d&p)>>2]|0;f=e+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else{vg(e);e=c[(d&p)>>2]|0}c[(d&p)+20>>2]=7;a[(d&n)+25>>0]=1;a[((c[(e&p)+32>>2]|0)&n)+65>>0]=1;return}function Sd(f){f=f|0;var g=0,l=0,m=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,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;_=i;i=i+224|0;if((i|0)>=(j|0))fa();V=_+8|0;U=_;if(!(ah(f)|0)){Z=c[(f&p)>>2]|0;N=f+88|0;b[(N&o)>>1]=b[(N&o)>>1]&-513;R=f+40|0;S=f+76|0;T=f+128|0;Y=f+80|0;D=f+168|0;E=f+8|0;F=f+20|0;H=f+32|0;I=f+4|0;J=f+84|0;X=f+44|0;K=(f|0)==0;L=f+52|0;M=f+48|0;C=0;while(1){if((c[(R&p)>>2]|0)!=-1108210269)nd(f)|0;B=c[(f&p)>>2]|0;if(a[(B&n)+65>>0]|0){W=7;break}l=c[(S&p)>>2]|0;do if((l|0)<1){if(b[(N&o)>>1]&8){c[(Y&p)>>2]=17;l=1;break}if((l|0)<0){l=B+148|0;if(!(c[(l&p)>>2]|0))c[(B&p)+240>>2]=0;if((c[(B&p)+184>>2]|0)!=0?(a[(B&n)+145>>0]|0)==0:0)bh(c[(B&p)>>2]|0,T)|0;c[(l&p)>>2]=(c[(l&p)>>2]|0)+1;l=b[(N&o)>>1]|0;if(!(l&64)){l=B+156|0;c[(l&p)>>2]=(c[(l&p)>>2]|0)+1;l=b[(N&o)>>1]|0}if(l&128){A=B+152|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1}c[(S&p)>>2]=0;W=22}else W=22}else W=22;while(0);if((W|0)==22){W=0;do if(!(b[(N&o)>>1]&3)){A=B+160|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1;l=gh(f)|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+-1;if((l|0)==100)l=100;else W=101}else{t=c[(f&p)>>2]|0;z=c[(E&p)>>2]|0;y=z+40|0;ch(y,8);c[(F&p)>>2]=0;if((c[(Y&p)>>2]|0)==7){a[(t&n)+65>>0]=1;l=1;W=101;break}r=c[(H&p)>>2]|0;u=b[(N&o)>>1]&3;if(u<<16>>16==1){s=c[(E&p)>>2]|0;v=s+360|0;if(b[(s&o)+368>>1]&16){w=(c[(s&p)+372>>2]|0)>>>2;m=c[(s&p)+376>>2]|0;if(!w){x=m;s=r;g=0}else{l=0;s=r;do{s=(c[((c[(m+(l<<2)&p)>>2]|0)&p)+4>>2]|0)+s|0;l=l+1|0}while((l|0)<(w|0));x=m;g=w}}else{x=0;s=r;g=0}}else{x=0;s=r;g=0;v=0}r=u<<16>>16==2;m=c[(S&p)>>2]|0;while(1){l=m+1|0;if((m|0)>=(s|0)){W=33;break}if(!r)break;if((a[((c[(I&p)>>2]|0)+(m*20|0)&n)>>0]|0)==-99)break;else m=l}if((W|0)==33){c[(S&p)>>2]=l;c[(Y&p)>>2]=0;l=101;W=101;break}c[(S&p)>>2]=l;if(c[(t&p)+240>>2]|0){c[(Y&p)>>2]=9;c[(V&p)>>2]=15832;dh(X,t,10344,V);l=1;W=101;break}s=c[(H&p)>>2]|0;if((m|0)<(s|0)){l=m;A=(c[(I&p)>>2]|0)+(m*20|0)|0}else{m=m-s|0;s=c[(x&p)>>2]|0;r=c[(s&p)+4>>2]|0;if((m|0)<(r|0))r=m;else{s=m;l=0;while(1){m=s-r|0;l=l+1|0;s=c[(x+(l<<2)&p)>>2]|0;r=c[(s&p)+4>>2]|0;if((m|0)<(r|0)){r=m;break}else s=m}}l=r;A=(c[(s&p)>>2]|0)+(r*20|0)|0}if((b[(N&o)>>1]&3)==1){b[(z&o)+48>>1]=4;r=y;c[(r&p)>>2]=l;c[(r&p)+4>>2]=((l|0)<0)<<31>>31;b[(z&o)+88>>1]=2562;r=c[(d[(A&n)>>0]<<2&p)+44856>>2]|0;c[(z&p)+96>>2]=r;s=r;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;w=z+80|0;c[(z&p)+92>>2]=s-r&1073741823;a[(z&n)+90>>0]=1;if((a[(A&n)+1>>0]|0)==-18){l=(g<<2)+4|0;a:do if(!g)s=0;else{r=c[(A&p)+16>>2]|0;m=0;while(1){s=m+1|0;if((c[(x+(m<<2)&p)>>2]|0)==(r|0)){s=m;break a}if((s|0)<(g|0))m=s;else break}}while(0);if((s|0)==(g|0)?(eh(v,l,(g|0)!=0&1)|0)==0:0){c[((c[(v&p)+16>>2]|0)+(g<<2)&p)>>2]=c[(A&p)+16>>2];z=v+8|0;b[(z&o)>>1]=e[(z&o)>>1]|16;c[(v&p)+12>>2]=l;z=w}else z=w}else z=w}b[(z&o)+48>>1]=4;y=c[(A&p)+4>>2]|0;x=z+40|0;c[(x&p)>>2]=y;c[(x&p)+4>>2]=((y|0)<0)<<31>>31;b[(z&o)+88>>1]=4;x=c[(A&p)+8>>2]|0;y=z+80|0;c[(y&p)>>2]=x;c[(y&p)+4>>2]=((x|0)<0)<<31>>31;b[(z&o)+128>>1]=4;y=c[(A&p)+12>>2]|0;x=z+120|0;c[(x&p)>>2]=y;c[(x&p)+4>>2]=((y|0)<0)<<31>>31;x=z+160|0;if(!(fh(x,32)|0)){b[(z&o)+168>>1]=514;y=z+176|0;g=c[(y&p)>>2]|0;b:do switch(a[(A&n)+1>>0]|0){case -6:{t=c[(A&p)+16>>2]|0;l=t+6|0;c[(V&p)>>2]=e[(l&o)>>1];ad(32,g,44768,V)|0;if(!g)s=0;else{s=g;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;s=s-g&1073741823}c:do if(b[(l&o)>>1]|0){u=t+16|0;v=0;while(1){r=c[(t+(v<<2)&p)+20>>2]|0;if(r){r=c[(r&p)>>2]|0;if(!r){m=0;r=0}else W=61}else{r=44776;W=61}do if((W|0)==61){W=0;w=r;while(1)if(!(a[(w&n)>>0]|0))break;else w=w+1|0;m=w-r&1073741823;if((m|0)!=6)break;w=(Zv(r,11152,6)|0)==0;m=w?1:6;r=w?44784:r}while(0);if((m+s|0)>26)break;w=s+1|0;a[(g+s&n)>>0]=44;if(a[((c[(u&p)>>2]|0)+v&n)>>0]|0){a[(g+w&n)>>0]=45;w=s+2|0}kw(g+w|0,r|0,m+1|0)|0;s=w+m|0;v=v+1|0;if((v|0)>=(e[(l&o)>>1]|0))break c}l=g+s|0;a[(l&n)>>0]=44;a[(l&n)+1>>0]=46;a[(l&n)+2>>0]=46;a[(l&n)+3>>0]=46}while(0);a[(g+s&n)>>0]=41;a[(g+s&n)+1>>0]=0;r=g;break}case -15:{ad(32,g,44832,V)|0;r=g;break}case -18:{ad(32,g,44848,V)|0;r=g;break}case -4:{c[(V&p)>>2]=c[(c[(A&p)+16>>2]&p)>>2];ad(32,g,44792,V)|0;r=g;break}case -5:{l=c[(A&p)+16>>2]|0;r=b[(l&o)>>1]|0;c[(V&p)>>2]=c[(l&p)+24>>2];c[(V&p)+4>>2]=r;ad(32,g,44800,V)|0;r=g;break}case -13:{m=c[(A&p)+16>>2]|0;l=c[(m&p)+4>>2]|0;r=V;c[(r&p)>>2]=c[(m&p)>>2];c[(r&p)+4>>2]=l;ad(32,g,19920,V)|0;r=g;break}case -14:{c[(V&p)>>2]=c[(A&p)+16>>2];ad(32,g,44808,V)|0;r=g;break}case -12:{h[(k&q)>>3]=+h[(c[(A&p)+16>>2]&q)>>3];c[(V&p)>>2]=c[(k&p)>>2];c[(V&p)+4>>2]=c[(k&p)+4>>2];ad(32,g,19912,V)|0;r=g;break}case -8:{s=c[(A&p)+16>>2]|0;r=e[(s&o)+8>>1]|0;if(r&2){r=c[(s&p)+16>>2]|0;break b}if(r&4){m=s;l=c[(m&p)+4>>2]|0;r=V;c[(r&p)>>2]=c[(m&p)>>2];c[(r&p)+4>>2]=l;ad(32,g,19920,V)|0;r=g;break b}if(r&8){h[(k&q)>>3]=+h[(s&q)>>3];c[(V&p)>>2]=c[(k&p)>>2];c[(V&p)+4>>2]=c[(k&p)+4>>2];ad(32,g,19912,V)|0;r=g;break b}if(!(r&1))r=44816;else{ad(32,g,20304,V)|0;r=g}break}case -19:{a[(g&n)>>0]=0;r=g;break}case -10:{c[(V&p)>>2]=c[((c[(A&p)+16>>2]|0)&p)+8>>2];ad(32,g,44824,V)|0;r=g;break}default:{s=c[(A&p)+16>>2]|0;if(!s){a[(g&n)>>0]=0;r=g}else r=s}}while(0);if((r|0)==(c[(y&p)>>2]|0)){if(!r)l=0;else{s=r;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;l=s-r&1073741823}c[(z&p)+172>>2]=l;a[(z&n)+170>>0]=1}else Xg(x,r,-1,1,0)|0;l=b[(N&o)>>1]|0;if((l&3)==1){if(fh(z+200|0,4)|0){l=1;W=101;break}b[(z&o)+208>>1]=514;c[(z&p)+212>>2]=2;l=c[(z&p)+216>>2]|0;c[(V&p)>>2]=d[(A&n)+3>>0];ad(3,l,44760,V)|0;a[(z&n)+210>>0]=1;b[(z&o)+248>>1]=1;l=b[(N&o)>>1]|0}b[(J&o)>>1]=12-((l&3)<<2);c[(F&p)>>2]=(c[(E&p)>>2]|0)+40;c[(Y&p)>>2]=0;l=100}else{l=1;W=101}}while(0);if((W|0)==101){W=0;g=B+184|0;if(((c[(g&p)>>2]|0)!=0?(a[(B&n)+145>>0]|0)==0:0)?(c[(D&p)>>2]|0)!=0:0){bh(c[(B&p)>>2]|0,U)|0;g=c[(g&p)>>2]|0;y=c[(B&p)+188>>2]|0;z=c[(D&p)>>2]|0;m=U;A=T;A=dw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,c[(A&p)>>2]|0,c[(A&p)+4>>2]|0)|0;A=sw(A|0,G|0,1e6,0)|0;qc[g&15](y,z,A,G)}if((l|0)==101){t=B+20|0;s=c[(t&p)>>2]|0;if((s|0)>0){u=B+16|0;v=B+216|0;w=B+220|0;g=0;l=0;do{r=c[(u&p)>>2]|0;m=c[(r+(g<<4)&p)+4>>2]|0;if(((m|0)!=0?(O=c[(m&p)+4>>2]|0,c[(O&p)+4>>2]=c[(m&p)>>2],O=c[((c[(O&p)>>2]|0)&p)+208>>2]|0,(O|0)!=0):0)?(Q=O+12|0,P=c[(Q&p)>>2]|0,c[(Q&p)>>2]=0,Q=c[(v&p)>>2]|0,(Q|0)!=0&(P|0)>0&(l|0)==0):0){l=pc[Q&31](c[(w&p)>>2]|0,B,c[(r+(g<<4)&p)>>2]|0,P)|0;s=c[(t&p)>>2]|0}g=g+1|0}while((g|0)<(s|0))}else l=0;c[(Y&p)>>2]=l;l=(l|0)==0?101:1}}c[(B&p)+52>>2]=l;if((Og(c[(f&p)>>2]|0,c[(Y&p)>>2]|0)|0)==7)c[(Y&p)>>2]=7}if((b[(N&o)>>1]&256)!=0&(l|0)!=100&(l|0)!=101)l=hh(f)|0;g=c[(B&p)+56>>2]&l;if((g|0)!=17)break;s=C+1|0;if((C|0)>=50){g=17;break}m=c[(S&p)>>2]|0;if(!K?(b[(N&o)>>1]&256)!=0:0)l=c[(D&p)>>2]|0;else l=0;r=c[(f&p)>>2]|0;g=ih(r,l,-1,0,f,U,0)|0;if((g|0)==7){g=r;W=124;break}else if(g){W=127;break}C=c[(U&p)>>2]|0;kw(V|0,C|0,208)|0;kw(C|0,f|0,208)|0;kw(f|0,V|0,208)|0;A=C+52|0;B=c[(A&p)>>2]|0;c[(A&p)>>2]=c[(L&p)>>2];c[(L&p)>>2]=B;B=C+48|0;A=c[(B&p)>>2]|0;c[(B&p)>>2]=c[(M&p)>>2];c[(M&p)>>2]=A;A=C+168|0;B=c[(A&p)>>2]|0;c[(A&p)>>2]=c[(D&p)>>2];c[(D&p)>>2]=B;b[(N&o)>>1]=b[(N&o)>>1]&-257|b[(C&o)+88>>1]&256;jh(C,f);c[(C&p)+80>>2]=0;Ng(C)|0;nd(f)|0;if((m|0)<=-1){C=s;continue}b[(N&o)>>1]=b[(N&o)>>1]|512;C=s}if((W|0)==7){c[(Y&p)>>2]=7;g=7}else if((W|0)==124){a[(g&n)+65>>0]=1;g=7;W=127}do if((W|0)==127){l=Sg(c[(Z&p)+236>>2]|0,1)|0;mg(Z,c[(X&p)>>2]|0);if(!(a[(Z&n)+65>>0]|0)){c[(X&p)>>2]=kh(Z,l)|0;c[(Y&p)>>2]=g;break}else{c[(X&p)>>2]=0;c[(Y&p)>>2]=7;g=7;break}}while(0);g=Og(Z,g)|0}else{c[(V&p)>>2]=69408;c[(V&p)+4>>2]=10788;bd(21,13648,V);g=21}i=_;return g|0}function Td(a){a=a|0;return c[((c[(a&p)+4>>2]|0)&p)+4>>2]|0}function Ud(a){a=a|0;return c[((c[(a&p)>>2]|0)&p)+32>>2]|0}function Vd(a,d){a=a|0;d=d|0;var e=0;e=c[(a&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(a,d)|0;else e=c[(e&p)+16>>2]|0;return e|0}function Wd(a,b){a=a|0;b=b|0;var d=0;d=c[((c[(a&p)+12>>2]|0)&p)+204>>2]|0;a:do if(!d)d=0;else{a=c[(a&p)+16>>2]|0;while(1){if((c[(d&p)>>2]|0)==(a|0)?(c[(d&p)+4>>2]|0)==(b|0):0)break;d=c[(d&p)+16>>2]|0;if(!d){d=0;break a}}d=c[(d&p)+8>>2]|0}while(0);return d|0}function Xd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[(b&p)+12>>2]|0;do if((d|0)<0)k=14;else{j=h+204|0;g=c[(j&p)>>2]|0;a:do if(g){i=c[(b&p)+16>>2]|0;while(1){if((c[(g&p)>>2]|0)==(i|0)?(c[(g&p)+4>>2]|0)==(d|0):0)break;g=c[(g&p)+16>>2]|0;if(!g){k=8;break a}}if(g){h=c[(g&p)+12>>2]|0;if(h)cc[h&31](c[(g&p)+8>>2]|0)}else k=8}else k=8;while(0);if((k|0)==8){g=mh(c[(h&p)>>2]|0,20,0)|0;if(!g){k=14;break}h=g+0|0;i=h+16|0;do{a[(h&n)>>0]=0;h=h+1|0}while((h|0)<(i|0));c[(g&p)>>2]=c[(b&p)+16>>2];c[(g&p)+4>>2]=d;c[(g&p)+16>>2]=c[(j&p)>>2];c[(j&p)>>2]=g;h=b+25|0;if(!(a[(h&n)>>0]|0)){c[(b&p)+20>>2]=0;a[(h&n)>>0]=1}}c[(g&p)+8>>2]=e;c[(g&p)+12>>2]=f}while(0);if((k|0)==14?(f|0)!=0:0)cc[f&31](e);return}function Yd(a){a=a|0;return c[((c[(a&p)+8>>2]|0)&p)+12>>2]|0}function Zd(a){a=a|0;if(!a)a=0;else a=e[(a&o)+84>>1]|0;return a|0}function _d(a){a=a|0;if((a|0)!=0?(c[(a&p)+20>>2]|0)!=0:0)a=e[(a&o)+84>>1]|0;else a=0;return a|0}function $d(a,b){a=a|0;b=b|0;var d=0;b=pd(nh(a,b)|0)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ae(a,b){a=a|0;b=b|0;var d=0;b=Tg(nh(a,b)|0,1)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function be(a,b){a=a|0;b=b|0;var d=0;b=Tg(nh(a,b)|0,2)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ce(a,b){a=a|0;b=b|0;var d=0.0;d=+Ug(nh(a,b)|0);if(a){b=a+80|0;c[(b&p)>>2]=Og(c[(a&p)>>2]|0,c[(b&p)>>2]|0)|0}return +d}function de(a,b){a=a|0;b=b|0;var d=0;b=Vg(nh(a,b)|0)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ee(a,b){a=a|0;b=b|0;var d=0,e=0;b=Vg(nh(a,b)|0)|0;d=G;if(a){e=a+80|0;c[(e&p)>>2]=Og(c[(a&p)>>2]|0,c[(e&p)>>2]|0)|0}G=d;return b|0}function fe(a,b){a=a|0;b=b|0;var d=0;b=Sg(nh(a,b)|0,1)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ge(a,d){a=a|0;d=d|0;var f=0,g=0;d=nh(a,d)|0;f=d+8|0;g=e[(f&o)>>1]|0;if(g&2048)b[(f&o)>>1]=g&59391|4096;if(a){f=a+80|0;c[(f&p)>>2]=Og(c[(a&p)>>2]|0,c[(f&p)>>2]|0)|0}return d|0}function he(a,b){a=a|0;b=b|0;var d=0;b=Sg(nh(a,b)|0,2)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ie(a,b){a=a|0;b=b|0;var f=0;b=d[((e[((nh(a,b)|0)&o)+8>>1]|0)&31&n)+10064>>0]|0;if(a){f=a+80|0;c[(f&p)>>2]=Og(c[(a&p)>>2]|0,c[(f&p)>>2]|0)|0}return b|0}function je(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+(d*40|0)|0,1)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function ke(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+(d*40|0)|0,2)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function le(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+((f+d|0)*40|0)|0,1)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function me(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+((f+d|0)*40|0)|0,2)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function ne(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,0)|0}function oe(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{cc[f&31](c);d=18}}else d=oh(a,b,c,d,f,0)|0;return d|0}function pe(a,b,d){a=a|0;b=b|0;d=+d;var e=0;e=ph(a,b)|0;if(!e)Yg((c[(a&p)+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function qe(a,b,c){a=a|0;b=b|0;c=c|0;return re(a,b,c,((c|0)<0)<<31>>31)|0}function re(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=ph(a,d)|0;do if(!g){d=d+-1|0;h=c[(a&p)+60>>2]|0;a=h+(d*40|0)|0;d=h+(d*40|0)+8|0;if(!(b[(d&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=f;b[(d&o)>>1]=4;break}else{Zg(a,e,f);break}}while(0);return g|0}function se(a,b){a=a|0;b=b|0;return ph(a,b)|0}function te(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,1)|0}function ue(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{cc[f&31](c);d=18}}else d=oh(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,2)|0}function we(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,j=0;i=b[(g&o)+8>>1]|0;j=d[(i&31&n)+10064>>0]|0;do if((j|0)==3)i=oh(e,f,c[(g&p)+16>>2]|0,c[(g&p)+12>>2]|0,-1,a[(g&n)+10>>0]|0)|0;else if((j|0)==1){i=g;i=re(e,f,c[(i&p)>>2]|0,c[(i&p)+4>>2]|0)|0}else if((j|0)==2)i=pe(e,f,+h[(g&q)>>3])|0;else if((j|0)==4)if(!(i&16384)){i=oh(e,f,c[(g&p)+16>>2]|0,c[(g&p)+12>>2]|0,-1,0)|0;break}else{i=xe(e,f,c[(g&p)>>2]|0)|0;break}else i=ph(e,f)|0;while(0);return i|0}function xe(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=ph(a,b)|0;if(!e)$g((c[(a&p)+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function ye(a){a=a|0;if(!a)a=0;else a=b[(a&o)+68>>1]|0;return a|0}function ze(a,d){a=a|0;d=d|0;if(!((a|0)==0|(d|0)<1)?(b[(a&o)+70>>1]|0)>=(d|0):0)d=c[((c[(a&p)+64>>2]|0)+(d+-1<<2)&p)>>2]|0;else d=0;return d|0}function Ae(b,c){b=b|0;c=c|0;var d=0;if(!c)d=0;else{d=c;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;d=d-c&1073741823}return qh(b,c,d)|0}function Be(a,d){a=a|0;d=d|0;var e=0,f=0;if((b[(a&o)+68>>1]|0)==(b[(d&o)+68>>1]|0)){f=d+88|0;e=b[(f&o)>>1]|0;if((e&256)!=0?(c[(d&p)+188>>2]|0)!=0:0)b[(f&o)>>1]=e|8;e=a+88|0;f=b[(e&o)>>1]|0;if((f&256)!=0?(c[(a&p)+188>>2]|0)!=0:0)b[(e&o)>>1]=f|8;jh(a,d);e=0}else e=1;return e|0}function Ce(a){a=a|0;if(!a)a=0;else a=c[(a&p)>>2]|0;return a|0}function De(a){a=a|0;if(!a)a=1;else a=(e[(a&o)+88>>1]|0)>>>6&1;return a|0}function Ee(a){a=a|0;if((a|0)!=0?(c[(a&p)+76>>2]|0)>-1:0)a=(c[(a&p)+40>>2]|0)==-1108210269;else a=0;return a&1|0}function Fe(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return c[(a&p)>>2]|0}function Ge(a,b,d){a=a|0;b=b|0;d=d|0;a=a+(b<<2)+108|0;b=c[(a&p)>>2]|0;if(d)c[(a&p)>>2]=0;return b|0}function He(a){a=a|0;var b=0,c=0,f=0;c=a+8|0;f=e[(c&o)>>1]|0;b=d[(f&31&n)+10064>>0]|0;if((f&15|0)==2){rh(a,0);b=d[((e[(c&o)>>1]|0)&31&n)+10064>>0]|0}return b|0}function Ie(d,e,f,g,h,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+16|0;if((i|0)>=(j|0))fa();S=U;T=U+4|0;c[(T&p)>>2]=0;c[(m&p)>>2]=0;N=(l|0)!=0;O=N&1;Q=mh(d,28,0)|0;do if(Q){l=Q+0|0;s=l+28|0;do{a[(l&n)>>0]=0;l=l+1|0}while((l|0)<(s|0));s=mh(d,536,0)|0;if(s){K=d+20|0;L=d+16|0;B=d+24|0;l=Q+20|0;C=Q+12|0;D=Q+24|0;E=d+65|0;F=O^3;G=O|2;H=s+440|0;I=s+72|0;J=s+68|0;r=0;M=1;q=0;while(1){fw(s|0,0,536)|0;c[(s&p)>>2]=d;mg(d,r);c[(T&p)>>2]=0;r=c[(K&p)>>2]|0;if((r|0)>0){t=c[(L&p)>>2]|0;v=0;do{u=c[(t+(v<<4)&p)+4>>2]|0;if(u)c[((c[(u&p)+4>>2]|0)&p)+4>>2]=c[(u&p)>>2];v=v+1|0}while((v|0)!=(r|0))}A=sh(s,0,f,e)|0;if(!A)break;r=a[(A&n)+44>>0]|0;if(r&16){R=11;break}if(r&32){R=13;break}if(c[(A&p)+12>>2]|0){R=17;break}z=A+38|0;w=b[(z&o)>>1]|0;a:do if(w<<16>>16>0){v=c[(A&p)+4>>2]|0;u=w<<16>>16;r=0;while(1){t=r+1|0;if(!(dd(c[(v+(r*24|0)&p)>>2]|0,g)|0)){t=r;break a}if((t|0)<(u|0))r=t;else break}}else t=0;while(0);if((t|0)==(w<<16>>16|0)){R=23;break}if(N){if((c[(B&p)>>2]&524288|0)!=0?(P=c[(A&p)+16>>2]|0,(P|0)!=0):0){x=P;r=0;do{w=c[(x&p)+20>>2]|0;if((w|0)>0){v=0;do{r=(c[(x+(v<<3)&p)+36>>2]|0)==(t|0)?10280:r;v=v+1|0}while((v|0)<(w|0))}x=c[(x&p)+4>>2]|0}while((x|0)!=0)}else r=0;v=c[(A&p)+8>>2]|0;if(v)do{u=b[(v&o)+46>>1]|0;if(u<<16>>16){y=c[(v&p)+4>>2]|0;w=u&65535;x=0;do{r=(b[(y+(x<<1)&o)>>1]|0)==(t|0)?10296:r;x=x+1|0}while((x|0)<(w|0))}v=c[(v&p)+20>>2]|0}while((v|0)!=0);if(r){R=36;break}}y=vh(s)|0;c[(l&p)>>2]=y;if(y){x=c[(A&p)+68>>2]|0;b:do if(x){w=c[(K&p)>>2]|0;if((w|0)>0){v=c[(L&p)>>2]|0;r=0;while(1){u=r+1|0;if((c[(v+(r<<4)&p)+12>>2]|0)==(x|0)){u=r;break b}if((u|0)<(w|0))r=u;else break}}else u=0}else u=-1e6;while(0);r=c[(x&p)+4>>2]|0;xh(y,wh(y,4,u,O,c[(x&p)>>2]|0)|0,r,-14);r=y+4|0;v=c[(r&p)>>2]|0;w=y+32|0;if(v)a[(v+(((c[(w&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;yh(y,10,10120)|0;v=y+96|0;c[(v&p)>>2]=c[(v&p)>>2]|1<<u;if((c[(w&p)>>2]|0)>>>0>1){x=c[(r&p)>>2]|0;c[(x&p)+24>>2]=u;v=A+32|0;c[(x&p)+28>>2]=c[(v&p)>>2];c[((c[(r&p)>>2]|0)&p)+32>>2]=O}else v=A+32|0;xh(y,1,c[(A&p)>>2]|0,0);zh(y,F);if((c[(w&p)>>2]|0)>>>0>G>>>0){c[((c[(r&p)>>2]|0)+(G*20|0)&p)+8>>2]=c[(v&p)>>2];c[((c[(r&p)>>2]|0)+(G*20|0)&p)+12>>2]=u}xh(y,G,(b[(z&o)>>1]|0)+1|0,-14);if((c[(w&p)>>2]|0)>>>0>6)c[((c[(r&p)>>2]|0)&p)+128>>2]=b[(z&o)>>1];if(!(a[(E&n)>>0]|0)){c[(H&p)>>2]=1;c[(I&p)>>2]=1;c[(J&p)>>2]=1;Ah(y,s)}}c[(Q&p)>>2]=O;c[(C&p)>>2]=t;c[(D&p)>>2]=d;if(a[(E&n)>>0]|0){R=57;break}re(c[(l&p)>>2]|0,1,h,k)|0;q=Bh(Q,h,k,T)|0;if(!((M|0)<50&(q|0)==17)){R=57;break}r=c[(T&p)>>2]|0;M=M+1|0;q=17}if((R|0)==11){c[(S&p)>>2]=f;th(s,10160,S)}else if((R|0)==13){c[(S&p)>>2]=f;th(s,10192,S)}else if((R|0)==17){c[(S&p)>>2]=f;th(s,10232,S)}else if((R|0)==23){mg(d,0);c[(S&p)>>2]=g;c[(T&p)>>2]=uh(d,10256,S)|0;q=1;R=62;break}else if((R|0)==36){mg(d,0);c[(S&p)>>2]=r;c[(T&p)>>2]=uh(d,10304,S)|0;q=1;R=62;break}else if((R|0)==57)if(!q){q=1;r=s;R=58;break}else{r=s;R=61;break}r=s+4|0;if(!(c[(r&p)>>2]|0)){q=1;R=62}else{mg(d,0);c[(T&p)>>2]=c[(r&p)>>2];c[(r&p)>>2]=0;q=1;R=62}}else{q=1;r=s;R=58}}else{q=0;r=0;R=58}while(0);do if((R|0)==58)if(a[(d&n)+65>>0]|0)if(q){q=0;R=61;break}else{q=0;R=64;break}else{c[(m&p)>>2]=Q;q=0;break}while(0);if((R|0)==61){l=Q+20|0;s=r;R=62}if((R|0)==62){r=c[(l&p)>>2]|0;if(!r){r=s;R=64}else{Ng(r)|0;r=s;R=64}}if((R|0)==64)mg(d,Q);K=c[(T&p)>>2]|0;c[(S&p)>>2]=K;ug(d,q,(K|0)!=0?10344:0,S);mg(d,K);Ch(r);mg(d,r);K=Og(d,q)|0;i=U;return K|0}function Je(a){a=a|0;var b=0,d=0;if(!a)a=0;else{d=c[(a&p)+24>>2]|0;b=md(c[(a&p)+20>>2]|0)|0;mg(d,a);a=b}return a|0}function Ke(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Eh(a,b,c,d,18)|0}function Le(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Eh(a,b,c,d,19)|0}function Me(a){a=a|0;if((a|0)!=0?(c[(a&p)+20>>2]|0)!=0:0)a=c[(a&p)+4>>2]|0;else a=0;return a|0}function Ne(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h;f=h+8|0;if(!a){c[(e&p)>>2]=77720;c[(e&p)+4>>2]=10788;bd(21,13648,e);b=21}else{g=c[(a&p)+24>>2]|0;if(c[(a&p)+20>>2]|0){b=Bh(a,b,d,f)|0;if(!b)b=0;else{d=c[(f&p)>>2]|0;c[(e&p)>>2]=d;ug(g,b,(d|0)!=0?10344:0,e);mg(g,d)}}else b=4;b=Og(g,b)|0}i=h;return b|0}function Oe(a,d,e){a=a|0;d=d|0;e=e|0;c[(a&p)+284>>2]=d;c[(a&p)+288>>2]=e;a=c[(a&p)+4>>2]|0;if(a)do{e=a+88|0;b[(e&o)>>1]=b[(e&o)>>1]|8;a=c[(a&p)+52>>2]|0}while((a|0)!=0);return 0}function Pe(a,b){a=a|0;b=b|0;return (Gh(a,b,10352,0)|0)==0|0}function Qe(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=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;E=i;i=i+16|0;if((i|0)>=(j|0))fa();m=E;A=E+12|0;B=E+8|0;c[(B&p)>>2]=0;do if(Hh(e)|0){l=(f|0)==0?10360:f;C=e+52|0;c[(C&p)>>2]=0;D=e+236|0;m=c[(D&p)>>2]|0;do if(m){f=m+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;break}else{vg(m);break}}while(0);x=(g|0)==0;y=e+24|0;m=0;a:while(1){do{if(m){q=39;break a}if(!(a[(l&n)>>0]|0)){m=0;q=39;break a}c[(B&p)>>2]=0;m=ih(e,l,-1,1,0,B,A)|0}while((m|0)!=0);l=c[(B&p)>>2]|0;if(!l){l=c[(A&p)>>2]|0;m=0;continue}w=b[(l&o)+84>>1]|0;u=w&65535;v=u<<3|1;w=w<<16>>16==0;f=0;q=0;r=0;b:do{m=Sd(l)|0;do if(!x){s=(m|0)==100;if(!s){if((m|0)!=101|(r|0)!=0)break b;if(!(c[(y&p)>>2]&256)){r=0;break}}if(!r){f=mh(e,v,0)|0;if(!f){f=0;q=40;break a}fw(f|0,0,v|0)|0;if(w)t=1;else{r=0;do{c[(f+(r<<2)&p)>>2]=je(l,r)|0;r=r+1|0}while((r|0)<(u|0));t=1}}else t=r;c:do if(s){q=f+(u<<2)|0;if(!w){r=0;while(1){s=fe(l,r)|0;c[(f+(r+u<<2)&p)>>2]=s;if((s|0)==0?(z=c[(B&p)>>2]|0,(ie(z,r)|0)!=5):0){m=z;q=27;break a}r=r+1|0;if((r|0)>=(u|0))break c;l=c[(B&p)>>2]|0}}}while(0);if(!(pc[g&31](h,u,q,f)|0))r=t;else{l=f;q=31;break a}}while(0);l=c[(B&p)>>2]|0}while((m|0)==100);m=Ng(l)|0;c[(B&p)>>2]=0;l=c[(A&p)>>2]|0;while(1)if(!(a[((d[(l&n)>>0]|0)&n)+10368>>0]&1))break;else l=l+1|0;mg(e,f)}do if((q|0)==27){a[(e&n)+65>>0]=1;l=m;m=100;q=40}else if((q|0)==31){Ng(c[(B&p)>>2]|0)|0;c[(B&p)>>2]=0;c[(C&p)>>2]=4;m=c[(D&p)>>2]|0;if(m){f=m+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;f=l;m=4;break}else{vg(m);f=l;m=4;break}}else{f=l;m=4}}else if((q|0)==39){l=c[(B&p)>>2]|0;f=0;q=40}while(0);if((q|0)==40)if(l)Ng(l)|0;mg(e,f);l=Og(e,m)|0;f=(k|0)!=0;if(!((l|0)!=0&f)){if(!f)break;c[(k&p)>>2]=0;break}f=Se(e)|0;if(!f)f=1;else{m=f;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;f=(m-f&1073741823)+1|0}m=qg(f,((f|0)<0)<<31>>31)|0;c[(k&p)>>2]=m;if(m){kw(m|0,Se(e)|0,f|0)|0;break}c[(C&p)>>2]=7;l=c[(D&p)>>2]|0;if(l){f=l+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;l=7;break}else{vg(l);l=7;break}}else l=7}else{c[(m&p)>>2]=101334;c[(m&p)+4>>2]=10788;bd(21,13648,m);l=21}while(0);i=E;return l|0}function Re(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ih(a,b,c,1,0,d,e)|0}function Se(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129635;c[(d&p)+4>>2]=10788;bd(21,13648,d);d=16120;break}if(!(a[(b&n)+65>>0]|0)){d=Sg(c[(b&p)+236>>2]|0,1)|0;if(!d){d=c[(b&p)+52>>2]|0;if((d|0)!=516){d=d&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344}}else d=15776}else d=15776;while(0);i=e;return d|0}function Te(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();u=w;v=w+8|0;t=c[(b&p)>>2]|0;c[(v&p)>>2]=0;m=(d|0)==0;if(m)g=0;else{l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;g=l-d&1073741823}r=g+300|0;q=(f|0)!=0;if(q)c[(f&p)>>2]=0;do if(!(c[(b&p)+24>>2]&4194304))if(q){c[(f&p)>>2]=_c(25216,u)|0;g=1}else g=1;else{o=(e|0)!=0?e:41192;k=t+40|0;l=rc[c[(k&p)>>2]&127](t,d)|0;if(!l){c[(u&p)>>2]=d;c[(u&p)+4>>2]=41184;h=_c(27824,u)|0;if(!h){g=7;break}l=rc[c[(k&p)>>2]&127](t,h)|0;Wc(h);if(!l){if(!q){g=1;break}l=Tc(r)|0;c[(v&p)>>2]=l;c[(f&p)>>2]=l;if(!l){g=1;break}c[(u&p)>>2]=d;ad(r,l,41216,u)|0;mc[c[(t&p)+44>>2]&63](t,g+299|0,l);g=1;break}else s=l}else s=l;g=t+48|0;l=ac[c[(g&p)>>2]&63](t,s,o)|0;if((l|0)==0&(e|0)==0){if(m)l=0;else{l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-d&1073741823}e=Tc(l+30|0)|0;if(!e){jc[c[(t&p)+52>>2]&15](t,s);g=7;break}o=e;m=o;a[(m&n)>>0]=115;a[(m&n)+1>>0]=113;a[(m&n)+2>>0]=108;a[(m&n)+3>>0]=105;o=o+4|0;a[(o&n)>>0]=116;a[(o&n)+1>>0]=101;a[(o&n)+2>>0]=51;a[(o&n)+3>>0]=95;while(1){k=l+-1|0;if((l|0)<=0)break;if((a[(d+k&n)>>0]|0)==47)break;else l=k}h=(Fc(d+l|0,41256,3)|0)==0;k=8;h=h?l+3|0:l;while(1){l=a[(d+h&n)>>0]|0;if(l<<24>>24==0|l<<24>>24==46){l=k;break}if(!(a[(l&255&n)+10368>>0]&2))l=k;else{a[(e+k&n)>>0]=a[(l<<24>>24&n)+9328>>0]|0;l=k+1|0}k=l;h=h+1|0}l=e+l|0;a[(l&n)>>0]=a[41264]|0;a[(l&n)+1>>0]=a[41265]|0;a[(l&n)+2>>0]=a[41266]|0;a[(l&n)+3>>0]=a[41267]|0;a[(l&n)+4>>0]=a[41268]|0;a[(l&n)+5>>0]=a[41269]|0;l=ac[c[(g&p)>>2]&63](t,s,e)|0;g=e;h=e}else{g=0;h=o}if(!l){if(q){if(!h)l=0;else{l=h;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-h&1073741823}l=l+r|0;k=Tc(l)|0;c[(v&p)>>2]=k;c[(f&p)>>2]=k;if(k){c[(u&p)>>2]=h;c[(u&p)+4>>2]=d;ad(l,k,41272,u)|0;mc[c[(t&p)+44>>2]&63](t,l+-1|0,k)}}jc[c[(t&p)+52>>2]&15](t,s);Wc(g);g=1;break}Wc(g);if(ac[l&63](b,v,13776)|0){if(q){c[(u&p)>>2]=c[(v&p)>>2];c[(f&p)>>2]=_c(41320,u)|0}Wc(c[(v&p)>>2]|0);jc[c[(t&p)+52>>2]&15](t,s);g=1;break}k=b+168|0;g=(c[(k&p)>>2]<<2)+4|0;l=mh(b,g,0)|0;if(!l)g=7;else{fw(l|0,0,g|0)|0;g=c[(k&p)>>2]|0;h=b+172|0;if((g|0)>0)kw(l|0,c[(h&p)>>2]|0,g<<2|0)|0;mg(b,c[(h&p)>>2]|0);c[(h&p)>>2]=l;g=c[(k&p)>>2]|0;c[(k&p)>>2]=g+1;c[(l+(g<<2)&p)>>2]=s;g=0}}while(0);s=Og(b,g)|0;i=w;return s|0}function Ue(a){a=a|0;var b=0,d=0,e=0,f=0;b=Lc()|0;if(!b){f=c[2656]|0;a:do if((f|0)>0){d=c[2658]|0;e=0;while(1){b=e+1|0;if((c[(d+(e<<2)&p)>>2]|0)==(a|0)){b=e;break a}if((b|0)<(f|0))e=b;else break}}else b=0;while(0);if((b|0)==(f|0)){b=Xc(c[2658]|0,(f<<2)+4|0)|0;if(!b)b=7;else{c[2658]=b;d=c[2656]|0;c[(b+(d<<2)&p)>>2]=a;c[2656]=d+1;b=0}}else b=0}return b|0}function Ve(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=c[2656]|0;f=c[2658]|0;d=e;while(1){if((d|0)<=0){b=0;break}d=d+-1|0;b=f+(d<<2)|0;if((c[(b&p)>>2]|0)==(a|0)){g=4;break}}if((g|0)==4){d=e+-1|0;c[2656]=d;c[(b&p)>>2]=c[(f+(d<<2)&p)>>2];b=1}return b|0}function We(){if(!(Lc()|0)){Wc(c[2658]|0);c[2658]=0;c[2656]=0}return}function Xe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ih(a,b,c,0,0,d,e)|0}function Ye(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ih(a,b,c,0,d,e)|0}function Ze(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ih(a,b,c,1,d,e)|0}function _e(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))fa();n=w;r=w+4|0;c[(d&p)>>2]=0;s=(f|0)!=0;if(s)c[(f&p)>>2]=0;t=(e|0)!=0;if(t)c[(e&p)>>2]=0;l=(g|0)!=0;if(l)c[(g&p)>>2]=0;m=r+4|0;c[(m&p)>>2]=0;u=r+12|0;c[(u&p)>>2]=0;v=r+16|0;c[(v&p)>>2]=0;k=r+20|0;c[(k&p)>>2]=1;o=r+8|0;c[(o&p)>>2]=20;q=r+24|0;c[(q&p)>>2]=0;h=Tc(80)|0;c[(r&p)>>2]=h;a:do if(h){c[(h&p)>>2]=0;b=Qe(a,b,20,r,g)|0;c[(c[(r&p)>>2]&p)>>2]=c[(k&p)>>2];if((b&255|0)==4){$e((c[(r&p)>>2]|0)+4|0);b=c[(m&p)>>2]|0;if(b){if(l){Wc(c[(g&p)>>2]|0);c[(n&p)>>2]=c[(m&p)>>2];c[(g&p)>>2]=_c(10344,n)|0;b=c[(m&p)>>2]|0}Wc(b)}b=c[(q&p)>>2]|0;c[(a&p)+52>>2]=b;break}Wc(c[(m&p)>>2]|0);if(b){$e((c[(r&p)>>2]|0)+4|0);break}h=c[(k&p)>>2]|0;b=c[(r&p)>>2]|0;do if((c[(o&p)>>2]|0)>>>0>h>>>0){b=Xc(b,h<<2)|0;if(!b){$e((c[(r&p)>>2]|0)+4|0);c[(a&p)+52>>2]=7;b=7;break a}else{c[(r&p)>>2]=b;break}}while(0);c[(d&p)>>2]=b+4;if(s)c[(f&p)>>2]=c[(v&p)>>2];if(t){c[(e&p)>>2]=c[(u&p)>>2];b=0}else b=0}else{c[(a&p)+52>>2]=7;b=7}while(0);i=w;return b|0}function $e(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){b=a+-4|0;e=c[(b&p)>>2]|0;d=e;if((e|0)>1){f=1;do{e=c[(a+(f+-1<<2)&p)>>2]|0;if(e)Wc(e);f=f+1|0}while((f|0)<(d|0))}Wc(b)}return}function af(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Kh(a,b,c,d,0)|0}function bf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Kh(a,b,c,d,e)|0}function cf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;g=s+8|0;c[(g&p)>>2]=0;h=d+324|0;f=c[(h&p)>>2]|0;if((f|0)!=0?(m=c[(f&p)+4>>2]|0,(m|0)!=0):0){q=mh(d,536,0)|0;if(!q)e=7;else{fw(q|0,0,536)|0;k=q+451|0;a[(k&n)>>0]=1;c[(q&p)>>2]=d;c[(q&p)+424>>2]=1;if(((((Lh(q,e,g)|0)==0?(l=c[(q&p)+484>>2]|0,(l|0)!=0):0)?(a[(d&n)+65>>0]|0)==0:0)?(c[(l&p)+12>>2]|0)==0:0)?(a[(l&n)+44>>0]&16)==0:0){f=m+4|0;if(!(c[(f&p)>>2]|0)){r=l+4|0;c[(f&p)>>2]=c[(r&p)>>2];l=l+38|0;b[(m&o)+38>>1]=b[(l&o)>>1]|0;b[(l&o)>>1]=0;c[(r&p)>>2]=0}c[((c[(h&p)>>2]|0)&p)+4>>2]=0;e=0}else{e=c[(g&p)>>2]|0;c[(r&p)>>2]=e;ug(d,1,(e|0)!=0?10344:0,r);mg(d,e);e=1}a[(k&n)>>0]=0;f=c[(q&p)+8>>2]|0;if(f)Ng(f)|0;kg(d,c[(q&p)+484>>2]|0);Ch(q);mg(d,q)}e=Og(d,e)|0}else{c[(d&p)+52>>2]=21;f=c[(d&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);c[(r&p)>>2]=114865;c[(r&p)+4>>2]=10788;bd(21,13648,r);e=21}i=s;return e|0}function df(a){a=a|0;return d[((d[(a&n)+69>>0]|0)+-1&n)+10640>>0]|0|0}function ef(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();h=l;g=l+8|0;c[(g&p)>>2]=f;do if((e|0)==1){e=c[(d&p)+324>>2]|0;if(!e){c[(h&p)>>2]=115248;c[(h&p)+4>>2]=10788;bd(21,13648,h);k=6;break}else{d=c[(g&p)>>2]|0;f=c[(d&p)>>2]|0;c[(g&p)>>2]=d+4;a[((c[(e&p)>>2]|0)&n)+16>>0]=f;e=0;break}}else{c[(h&p)>>2]=115256;c[(h&p)+4>>2]=10788;bd(21,13648,h);k=6}while(0);do if((k|0)==6){c[(d&p)+52>>2]=21;e=c[(d&p)+236>>2]|0;if(e){f=e+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;e=21;break}else{vg(e);e=21;break}}else e=21}while(0);i=l;return e|0}function ff(b){b=b|0;var c=0,e=0,f=0,g=0,h=0;c=a[(b&n)>>0]|0;a:do if(c<<24>>24){g=c;c=0;b:while(1){f=g<<24>>24;switch(f|0){case 45:{if((a[(b&n)+1>>0]|0)==45){e=g;while(1){f=e<<24>>24==0;g=b+1|0;if(!(e<<24>>24!=10&(f^1)))break;b=g;e=a[(g&n)>>0]|0}if(f){h=13;break b}else e=1}else e=2;break}case 59:{e=0;break}case 91:{do{b=b+1|0;f=a[(b&n)>>0]|0;e=f<<24>>24==0}while(f<<24>>24!=93&(e^1));if(e){c=0;break a}else e=2;break}case 39:case 34:case 96:{do{b=b+1|0;f=a[(b&n)>>0]|0;e=f<<24>>24==0}while(f<<24>>24!=g<<24>>24&(e^1));if(e){c=0;break a}else e=2;break}case 47:{if((a[(b&n)+1>>0]|0)==42){b=b+2|0;while(1){e=a[(b&n)>>0]|0;if(e<<24>>24==42){b=b+1|0;if((a[(b&n)>>0]|0)==47){e=1;break}else continue}else if(!(e<<24>>24)){c=0;break a}else{b=b+1|0;continue}}}else e=2;break}case 12:case 10:case 9:case 13:case 32:{e=1;break}default:if(!(a[(g&255&n)+10368>>0]&70))e=2;else{e=1;while(1)if(!(a[((d[(b+e&n)>>0]|0)&n)+10368>>0]&70)){g=e;break}else e=e+1|0;c:do switch(f|0){case 67:case 99:{if((g|0)==6?(Fc(b,10712,6)|0)==0:0){e=4;break c}e=2;break}case 69:case 101:{if((g|0)==3){if(!(Fc(b,10752,3)|0)){e=7;break c}}else if((g|0)==7?(Fc(b,10760,7)|0)==0:0){e=3;break c}e=2;break}case 84:case 116:{if((g|0)==7){if(!(Fc(b,10720,7)|0)){e=6;break c}}else if((g|0)==4){if(!(Fc(b,10728,4)|0)){e=5;break c}}else if((g|0)==9?(Fc(b,10736,9)|0)==0:0){e=5;break c}e=2;break}default:e=2}while(0);b=b+(g+-1)|0}}c=a[((e&255)+((c&255)<<3)&n)+10648>>0]|0;b=b+1|0;g=a[(b&n)>>0]|0;if(!(g<<24>>24)){h=35;break}}if((h|0)==13){c=c<<24>>24==1&1;break}else if((h|0)==35){c=c<<24>>24==1;h=36;break}}else{c=0;h=36}while(0);if((h|0)==36)c=c&1;return c|0}function gf(d){d=d|0;var e=0,f=0,g=0;e=Lc()|0;if(!e){f=qg(40,0)|0;if(f){e=f+0|0;g=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(g|0));b[(f&o)+8>>1]=1;c[(f&p)+32>>2]=0;Xg(f,d,-1,2,0)|0}e=Sg(f,1)|0;if(!e)e=7;else e=(ff(e)|0)&255;Mh(f)}return e|0}function hf(){return 8632}function jf(){return 10768}function kf(){return 3008009}function lf(){return 0}function mf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))fa();d=f;e=f+8|0;if(!(c[2243]|0)){c[(e&p)>>2]=b;do switch(a|0){case 22:{c[(e&p)>>2]=(c[(e&p)>>2]|0)+8;c[(e&p)>>2]=(c[(e&p)>>2]|0)+8;c[2230]=0;c[2231]=0;c[2232]=0;c[2233]=0;d=0;break}case 25:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2242]=d;d=0;break}case 19:{if(!(c[2214]|0)){c[(d&p)>>2]=16440;mf(18,d)|0}a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;d=d+0|0;a=8848|0;e=d+52|0;do{c[(d&p)>>2]=c[(a&p)>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 18:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;d=8848|0;a=a+0|0;e=d+52|0;do{c[(d&p)>>2]=c[(a&p)>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 20:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2190]=d;d=0;break}case 13:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2193]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2194]=d;d=0;break}case 17:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2189]=d;d=0;break}case 15:{d=1;break}case 6:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2234]=d;d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2235]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2236]=d;d=0;break}case 24:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[(d&p)>>2]=152;d=0;break}case 9:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2186]=d;d=0;break}case 7:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2237]=d;d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2238]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2239]=d;d=0;break}case 4:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2195]=c[(d&p)>>2];c[2196]=c[(d&p)+4>>2];c[2197]=c[(d&p)+8>>2];c[2198]=c[(d&p)+12>>2];c[2199]=c[(d&p)+16>>2];c[2200]=c[(d&p)+20>>2];c[2201]=c[(d&p)+24>>2];c[2202]=c[(d&p)+28>>2];d=0;break}case 16:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2250]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2251]=d;d=0;break}case 5:{if(!(c[2195]|0)){c[(d&p)>>2]=16496;mf(4,d)|0}a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[(d&p)>>2]=c[2195];c[(d&p)+4>>2]=c[2196];c[(d&p)+8>>2]=c[2197];c[(d&p)+12>>2]=c[2198];c[(d&p)+16>>2]=c[2199];c[(d&p)+20>>2]=c[2200];c[(d&p)+24>>2]=c[2201];c[(d&p)+28>>2]=c[2202];d=0;break}case 14:{d=0;break}default:d=1}while(0)}else{c[(d&p)>>2]=127883;c[(d&p)+4>>2]=10788;bd(21,13648,d);d=21}i=f;return d|0}function nf(a){a=a|0;return c[(a&p)+12>>2]|0}function of(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[(h&p)>>2]|0;f=(b|0)>0;if(f){e=c[(a&p)+16>>2]|0;g=0;do{d=c[(e+(g<<4)&p)+4>>2]|0;if(d)c[((c[(d&p)+4>>2]|0)&p)+4>>2]=c[(d&p)>>2];g=g+1|0}while((g|0)!=(b|0));if(f){f=a+16|0;e=0;do{d=c[((c[(f&p)>>2]|0)+(e<<4)&p)+4>>2]|0;if(d){cc[c[8896>>2]&31](c[((c[((c[(c[(d&p)+4>>2]&p)>>2]|0)&p)+204>>2]|0)&p)+40>>2]|0);b=c[(h&p)>>2]|0}e=e+1|0}while((e|0)<(b|0))}}return 0}function pf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;c[(h&p)>>2]=e;a:do if((d|0)!=1001){e=0;while(1){if((c[(e<<3&p)+10936>>2]|0)==(d|0))break;e=e+1|0;if(e>>>0>=2){f=1;break a}}g=c[(h&p)>>2]|0;d=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;k=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;h=a+24|0;g=c[(h&p)>>2]|0;if((d|0)<=0)if(!d){d=g&~c[(e<<3&p)+10940>>2];c[(h&p)>>2]=d}else d=g;else{d=c[(e<<3&p)+10940>>2]|g;c[(h&p)>>2]=d}if((g|0)!=(d|0)?(f=c[(a&p)+4>>2]|0,(f|0)!=0):0)do{d=f+88|0;b[(d&o)>>1]=b[(d&o)>>1]|8;f=c[(f&p)+52>>2]|0}while((f|0)!=0);if(!k)f=0;else{c[(k&p)>>2]=(c[(e<<3&p)+10940>>2]&c[(h&p)>>2]|0)!=0&1;f=0}}else{g=c[(h&p)>>2]|0;d=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;e=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;f=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;f=Nh(a,d,e,f)|0}while(0);i=l;return f|0}function qf(a){a=a|0;a=a+32|0;G=c[(a&p)+4>>2]|0;return c[(a&p)>>2]|0}function rf(a){a=a|0;return c[(a&p)+80>>2]|0}function sf(a){a=a|0;return c[(a&p)+84>>2]|0}function tf(a){a=a|0;return Oh(a,0)|0}function uf(a){a=a|0;return Oh(a,1)|0}function vf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+444>>2]=b;c[(a&p)+448>>2]=d;c[(a&p)+452>>2]=0;c[(a&p)+492>>2]=0;return 0}function wf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=(b|0)>0;c[(a&p)+292>>2]=f?d:0;c[(a&p)+300>>2]=f?b:0;c[(a&p)+296>>2]=f?e:0;return}function xf(a,b){a=a|0;b=b|0;var d=0;d=(b|0)>0;c[(a&p)+444>>2]=d?74:0;c[(a&p)+448>>2]=d?a:0;c[(a&p)+452>>2]=0;c[(a&p)+492>>2]=d?b:0;return 0}function yf(a){a=a|0;c[(a&p)+240>>2]=1;return}function zf(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return Og(a,Qh(a,b,c,d,e,f,g,h,0)|0)|0}function Af(b,d,e,f,g,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,o=0;do if(k){l=mh(b,12,0)|0;if(!l){cc[k&31](g);f=1;break}m=l;o=m;a[(o&n)>>0]=0;a[(o&n)+1>>0]=0;a[(o&n)+2>>0]=0;a[(o&n)+3>>0]=0;m=m+4|0;a[(m&n)>>0]=0;a[(m&n)+1>>0]=0;a[(m&n)+2>>0]=0;a[(m&n)+3>>0]=0;c[(l&p)+4>>2]=k;c[(l&p)+8>>2]=g;f=Qh(b,d,e,f,g,h,i,j,l)|0;if(!(c[(l&p)>>2]|0)){cc[k&31](g);mg(b,l)}}else f=Qh(b,d,e,f,g,h,i,j,0)|0;while(0);return Og(b,f)|0}function Bf(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=Rh(a,b,-1)|0;d=Qh(a,b,c,d,e,f,g,h,0)|0;mg(a,b);return Og(a,d)|0}function Cf(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(!c)e=0;else{e=c;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-c&1073741823}if(!(Sh(b,c,e,d,1,0)|0))e=Qh(b,c,d,1,0,57,0,0,0)|0;else e=0;return Og(b,e)|0}function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+180|0;e=c[(f&p)>>2]|0;c[(a&p)+176>>2]=b;c[(f&p)>>2]=d;return e|0}function Ef(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+188|0;e=c[(f&p)>>2]|0;c[(a&p)+184>>2]=b;c[(f&p)>>2]=d;return e|0}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+192|0;e=c[(f&p)>>2]|0;c[(a&p)+196>>2]=b;c[(f&p)>>2]=d;return e|0}function Gf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+208|0;e=c[(f&p)>>2]|0;c[(a&p)+212>>2]=b;c[(f&p)>>2]=d;return e|0}function Hf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+200|0;e=c[(f&p)>>2]|0;c[(a&p)+204>>2]=b;c[(f&p)>>2]=d;return e|0}function If(a,b){a=a|0;b=b|0;var d=0;if((b|0)>0)d=21;else{b=0;d=0}c[(a&p)+216>>2]=d;c[(a&p)+220>>2]=b;return 0}function Jf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+220|0;e=c[(f&p)>>2]|0;c[(a&p)+216>>2]=b;c[(f&p)>>2]=d;return e|0}function Kf(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();k=q;if(g)c[(g&p)>>2]=-1;if(h)c[(h&p)>>2]=-1;if(f>>>0>3)e=21;else{if((e|0)!=0?(a[(e&n)>>0]|0)!=0:0){l=Vh(d,e)|0;if((l|0)<0){c[(k&p)>>2]=e;ug(d,1,10952,k);e=1}else m=10}else{l=10;m=10}do if((m|0)==10){c[(d&p)+452>>2]=0;e=Wh(d,l,f,g,h)|0;c[(d&p)+52>>2]=e;k=c[(d&p)+236>>2]|0;if(k){l=k+8|0;if(!(b[(l&o)>>1]&9312)){b[(l&o)>>1]=1;break}else{vg(k);break}}}while(0);e=Og(d,e)|0}i=q;return e|0}function Lf(a,b){a=a|0;b=b|0;return Kf(a,b,0,0,0)|0}function Mf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;do if(b){d=c[(b&p)+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){c[(g&p)>>2]=15248;bd(21,15256,g);d=11008;break}h=b+65|0;if(!(a[(h&n)>>0]|0)){f=b+236|0;d=Sg(c[(f&p)>>2]|0,2)|0;if(!d){e=c[(b&p)+52>>2]|0;if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344;ug(b,e,d,g);d=Sg(c[(f&p)>>2]|0,2)|0}a[(h&n)>>0]=0}else d=10976}else d=10976;while(0);i=k;return d|0}function Nf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129704;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}if(!(a[(b&n)+65>>0]|0))b=c[(b&p)+56>>2]&c[(b&p)+52>>2];else b=7}else b=7;while(0);i=e;return b|0}function Of(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129713;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}if(!(a[(b&n)+65>>0]|0))b=c[(b&p)+52>>2]|0;else b=7}else b=7;while(0);i=e;return b|0}function Pf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=c[(a<<2&p)+15488>>2]|0}else a=16344;return a|0}function Qf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b>>>0<=11){e=a+(b<<2)+88|0;a=c[(e&p)>>2]|0;if((d|0)>-1){b=c[(b<<2&p)+11088>>2]|0;c[(e&p)>>2]=(b|0)<(d|0)?b:d}}else a=-1;return a|0}function Rf(a,b){a=a|0;b=b|0;return Xh(a,b,6,0)|0}function Sf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Xh(a,b,c,d)|0}function Tf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;c[(e&p)>>2]=0;f=Lc()|0;if(!f){h=qg(40,0)|0;if(h){d=(d|0)==0?11136:d;f=h+0|0;g=f+40|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(g|0));b[(h&o)+8>>1]=1;c[(h&p)+32>>2]=0;Xg(h,d,-1,2,0)|0}d=Sg(h,1)|0;if(d){f=Xh(d,e,6,0)|0;if(!f){f=c[(e&p)>>2]|0;d=c[((c[(f&p)+16>>2]|0)&p)+12>>2]|0;if(!(b[(d&o)+78>>1]&1)){a[(f&n)+62>>0]=2;a[(d&n)+77>>0]=2;f=0}else f=0}}else f=7;Mh(h);f=f&255}return f|0}function Uf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Og(a,Yh(a,b,c&255,d,e,0)|0)|0}function Vf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Og(a,Yh(a,b,c&255,d,e,f)|0)|0}function Wf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Rh(a,b,-1)|0;if(!b)b=0;else{c=Yh(a,b,c&255,d,e,0)|0;mg(a,b);b=c}return Og(a,b)|0}function Xf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+224>>2]=d;c[(a&p)+228>>2]=0;c[(a&p)+232>>2]=b;return 0}function Yf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+224>>2]=0;c[(a&p)+228>>2]=d;c[(a&p)+232>>2]=b;return 0}function Zf(a){a=a|0;return d[(a&n)+63>>0]|0|0}function _f(){return}function $f(d,e,f,g,h,k,l,m,q){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();A=C;B=C+8|0;c[(B&p)>>2]=0;s=c[(d&p)+20>>2]|0;if((s|0)>0){r=c[(d&p)+16>>2]|0;u=0;do{t=c[(r+(u<<4)&p)+4>>2]|0;if(t)c[((c[(t&p)+4>>2]|0)&p)+4>>2]=c[(t&p)>>2];u=u+1|0}while((u|0)!=(s|0))}r=Zh(d,B)|0;z=(r|0)!=0;a:do if((!z?(x=_h(d,f,e)|0,(x|0)!=0):0)?(c[(x&p)+12>>2]|0)==0:0){do if(g){w=b[(x&o)+38>>1]|0;b:do if(w<<16>>16>0){e=c[(x&p)+4>>2]|0;s=w<<16>>16;v=0;while(1){t=e+(v*24|0)|0;u=v+1|0;if(!(dd(c[(t&p)>>2]|0,g)|0)){u=v;break b}if((u|0)<(s|0))v=u;else break}}else{u=0;t=0}while(0);if((u|0)==(w<<16>>16|0)){if(a[(x&n)+44>>0]&32){e=0;w=0;x=0;t=0;v=0;u=0;break a}if(!($h(g)|0)){e=0;w=0;x=0;t=0;v=0;u=0;break a}y=b[(x&o)+36>>1]|0;s=y<<16>>16;if(y<<16>>16<=-1){e=0;v=0;s=1;y=0;u=11144;break}u=s;t=(c[(x&p)+4>>2]|0)+(s*24|0)|0}if(t){if((b[(x&o)+36>>1]|0)==(u|0))s=(a[(x&n)+44>>0]&8)!=0;else s=0;e=s&1;v=(a[(t&n)+20>>0]|0)!=0&1;s=a[(t&n)+23>>0]&1;y=c[(t&p)+16>>2]|0;u=c[(t&p)+12>>2]|0}else{e=0;v=0;s=1;y=0;u=11144}}else{e=0;v=0;s=1;y=0;u=11144}while(0);w=v;t=s;v=(y|0)==0?11152:y}else{e=0;w=0;x=0;t=0;v=0;u=0}while(0);if(h)c[(h&p)>>2]=u;if(k)c[(k&p)>>2]=v;if(l)c[(l&p)>>2]=w;if(m)c[(m&p)>>2]=t;if(q)c[(q&p)>>2]=e;s=c[(B&p)>>2]|0;if(!(z|(x|0)!=0)){mg(d,s);c[(A&p)>>2]=f;c[(A&p)+4>>2]=g;s=uh(d,11160,A)|0;c[(B&p)>>2]=s;r=1}c[(A&p)>>2]=s;ug(d,r,(s|0)!=0?10344:0,A);mg(d,c[(B&p)>>2]|0);z=Og(d,r)|0;i=C;return z|0}function ag(a){a=a|0;var b=0;if((Lc()|0)==0?(b=c[2254]|0,(b|0)!=0):0)a=(rc[c[(b&p)+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function bg(a,b){a=a|0;b=b|0;c[(a&p)+56>>2]=(b|0)!=0?-1:255;return 0}function cg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=ai(a,b)|0;do if(b){a=c[(b&p)+4>>2]|0;c[(a&p)+4>>2]=c[(b&p)>>2];a=c[((c[(a&p)>>2]|0)&p)+60>>2]|0;if((d|0)==7){c[(e&p)>>2]=a;b=0;break}b=c[(a&p)>>2]|0;if(!b)b=12;else b=ac[c[(b&p)+40>>2]&63](a,d,e)|0}else b=1;while(0);return b|0}function dg(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t+24|0;h=t+8|0;g=t;c[(h&p)>>2]=f;do switch(e|0){case 11:{g=c[2514]|0;s=c[(h&p)>>2]|0;f=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(f)c[2514]=f;break}case 12:{c[(g&p)>>2]=0;g=c[(g&p)>>2]|0;break}case 13:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;break}case 22:{g=10;break}case 5:{kw(12672,9064,259)|0;g=0;break}case 7:{if(!(Lc()|0)){a[9064]=0;g=0}else g=0;break}case 8:{r=c[(h&p)>>2]|0;q=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;k=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=qg(512,0)|0;g=(r|0)==0;if(!g){fw(r|0,0,512)|0;c[(r&p)>>2]=q}e=((q+7|0)/8|0)+1|0;m=qg(e,((e|0)<0)<<31>>31)|0;f=(m|0)==0;if(!f)fw(m|0,0,e|0)|0;l=Tc(512)|0;a:do if(!(g|f|(l|0)==0)){h=0;while(1){g=c[(k+(h<<2)&p)>>2]|0;if(!g)break;else if((g|0)==5|(g|0)==2|(g|0)==1){f=k+(h+2<<2)|0;u=c[(f&p)>>2]|0;e=u+-1|0;c[(s&p)>>2]=e;c[(f&p)>>2]=(c[(k+(h+3<<2)&p)>>2]|0)+u;f=4}else{cd(4,s);e=c[(s&p)>>2]|0;f=2}v=k+((h|1)<<2)|0;u=(c[(v&p)>>2]|0)+-1|0;c[(v&p)>>2]=u;h=((u|0)>0?0:f)+h|0;e=(e&2147483647|0)%(q|0)|0;c[(s&p)>>2]=e;e=e+1|0;f=1<<(e&7);if(!(g&1)){e=m+(e>>>3)|0;a[(e&n)>>0]=d[(e&n)>>0]&(f^255);ci(r,(c[(s&p)>>2]|0)+1|0,l);continue}e=m+(e>>>3)|0;a[(e&n)>>0]=d[(e&n)>>0]|f;if((g|0)==5)continue;if(bi(r,(c[(s&p)>>2]|0)+1|0)|0){g=-1;break a}}k=di(r,q+1|0)|0;e=di(r,0)|0;e=k-q+e+(c[(r&p)>>2]|0)|0;c[(s&p)>>2]=1;if((q|0)<1)g=e;else{f=1;while(1){k=(d[(m+(f>>3)&n)>>0]&1<<(f&7)|0)!=0&1;g=f;f=f+1|0;if((k|0)!=(di(r,g)|0))break a;c[(s&p)>>2]=f;if((g|0)>=(q|0)){g=e;break}}}}else g=-1;while(0);Wc(l);Wc(m);ei(r);break}case 6:{kw(9064,12672,259)|0;g=0;break}case 23:{g=(c[2243]|0)==0&1;break}case 25:{q=c[(h&p)>>2]|0;g=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;q=c[(h&p)>>2]|0;r=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;a[(g&n)+144>>0]=Vh(g,r)|0;r=c[(h&p)>>2]|0;q=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;q=q&255;a[(g&n)+147>>0]=q;r=g+145|0;a[(r&n)>>0]=q;q=c[(h&p)>>2]|0;s=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;c[(g&p)+140>>2]=s;if((a[(r&n)>>0]|0)==0&(s|0)>0){Eg(g);g=0}else g=0;break}case 14:{r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;xg(c[((c[(s&p)+16>>2]|0)&p)+4>>2]|0,0,g,0)|0;g=0;break}case 15:{r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;b[(g&o)+60>>1]=s;g=0;break}case 16:{s=c[(h&p)>>2]|0;e=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(!e)g=0;else{g=e;while(1)if(!(a[(g&n)>>0]|0))break;else g=g+1|0;g=g-e&1073741823}g=(fi(e,g)|0)!=27;g=g?124:0;break}case 24:{r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;c[(g&p)+136>>2]=s;g=0;break}case 17:{s=c[(h&p)>>2]|0;f=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;s=c[(h&p)>>2]|0;e=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(f)c[(g&p)>>2]=gi(f)|0;hi(e);g=0;break}case 18:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2253]=g;g=0;break}case 20:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2192]=g;g=0;break}case 9:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2252]=g;if(!g)g=0;else g=lc[g&127](0)|0;break}case 10:{r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;c[3164]=s;c[3166]=g;g=0;break}default:g=0}while(0);i=t;return g|0}function eg(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:do if(!((b|0)==0|(c|0)==0)){d=b;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;e=(d-b&1073741823)+1|0;d=a[(b+e&n)>>0]|0;if(d<<24>>24){g=b+e|0;while(1){f=_v(g,c)|0;e=g;while(1){b=e+1|0;if(!(d<<24>>24))break;d=a[(b&n)>>0]|0;e=b}b=e-g&1073741823;d=g+(b+1)|0;if(!f)break a;else e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;g=g+(b+2+(e-d&1073741823))|0;d=a[(g&n)>>0]|0;if(!(d<<24>>24)){d=0;break}}}else d=0}else d=0;while(0);return d|0}function fg(a,b,c){a=a|0;b=b|0;c=c|0;a=eg(a,b)|0;b=(c|0)!=0;if(a)b=(ii(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function gg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;a=eg(a,b)|0;if(!a){G=e;i=g;return d|0}else{b=(ji(a,f)|0)==0;a=f;G=b?c[(a&p)+4>>2]|0:e;i=g;return (b?c[(a&p)>>2]|0:d)|0}return 0}function hg(b,d){b=b|0;d=d|0;b=ai(b,d)|0;if(b){b=c[(c[(b&p)+4>>2]&p)>>2]|0;if(!(a[(b&n)+15>>0]|0))b=c[(b&p)+168>>2]|0;else b=10360}else b=0;return b|0}function ig(a,d){a=a|0;d=d|0;a=ai(a,d)|0;if(!a)a=-1;else a=b[((c[(a&p)+4>>2]|0)&o)+22>>1]&1;return a|0}function jg(a,b){a=a|0;b=b|0;if(b){Fk(a,c[(b&p)+28>>2]|0);mg(a,c[(b&p)>>2]|0);mg(a,c[(b&p)+4>>2]|0);Gk(a,c[(b&p)+12>>2]|0);Hk(a,c[(b&p)+16>>2]|0);mg(a,b)}return}function kg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;do if(d){h=(a|0)!=0;if(!(h?(c[(a&p)+520>>2]|0)!=0:0))e=4;if((e|0)==4?(f=d+40|0,e=(b[(f&o)>>1]|0)+-1<<16>>16,b[(f&o)>>1]=e,e<<16>>16!=0):0)break;e=c[(d&p)+8>>2]|0;if(e){g=a+520|0;do{f=e;e=c[(e&p)+20>>2]|0;if(!(h?(c[(g&p)>>2]|0)!=0:0))Ik((c[(f&p)+24>>2]|0)+24|0,c[(f&p)>>2]|0,0)|0;Jk(a,f)}while((e|0)!=0)}e=c[(d&p)+16>>2]|0;if(e){j=(a|0)==0;k=d+68|0;l=a+520|0;do{if(!(!j?(c[(l&p)>>2]|0)!=0:0)){f=e+16|0;i=c[(f&p)>>2]|0;h=e+12|0;g=c[(h&p)>>2]|0;if(!i)Ik((c[(k&p)>>2]|0)+56|0,c[(((g|0)==0?e:g)&p)+8>>2]|0,g)|0;else c[(i&p)+12>>2]=g;h=c[(h&p)>>2]|0;if(h)c[(h&p)+16>>2]=c[(f&p)>>2]}Kk(a,c[(e&p)+28>>2]|0);Kk(a,c[(e&p)+32>>2]|0);f=e;e=c[(e&p)+4>>2]|0;mg(a,f)}while((e|0)!=0)}Lk(a,d);mg(a,c[(d&p)>>2]|0);mg(a,c[(d&p)+20>>2]|0);Mk(a,c[(d&p)+12>>2]|0,1);Nk(a,c[(d&p)+24>>2]|0);if(!((a|0)!=0?(c[(a&p)+520>>2]|0)!=0:0))Ok(0,d)|0;h=d+56|0;e=c[(h&p)>>2]|0;if(e){i=d+52|0;f=c[(i&p)>>2]|0;if((f|0)>0){g=0;do{if((g|0)!=1){mg(a,c[((c[(h&p)>>2]|0)+(g<<2)&p)>>2]|0);f=c[(i&p)>>2]|0}g=g+1|0}while((g|0)<(f|0));e=c[(h&p)>>2]|0}mg(a,e)}mg(a,d)}while(0);return}function lg(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;ch(c[(d&p)+60>>2]|0,b[(d&o)+68>>1]|0);h=d+16|0;ch(c[(h&p)>>2]|0,e[(d&o)+84>>1]<<1);f=c[(d&p)+192>>2]|0;if(f)do{g=f;f=c[(f&p)+24>>2]|0;Pk(a,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0);mg(a,g)}while((f|0)!=0);f=b[(d&o)+70>>1]|0;if(f<<16>>16>0){g=d+64|0;f=f<<16>>16;do{f=f+-1|0;mg(a,c[((c[(g&p)>>2]|0)+(f<<2)&p)>>2]|0)}while((f|0)>0)}Pk(a,c[(d&p)+4>>2]|0,c[(d&p)+32>>2]|0);mg(a,c[(h&p)>>2]|0);mg(a,c[(d&p)+168>>2]|0);mg(a,c[(d&p)+172>>2]|0);return}function mg(a,b){a=a|0;b=b|0;var d=0;do if(b){if(a){if(c[(a&p)+520>>2]|0){Qk(a,b);break}if((c[(a&p)+276>>2]|0)>>>0<=b>>>0?(c[(a&p)+280>>2]|0)>>>0>b>>>0:0){d=a+272|0;c[(b&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=b;a=a+252|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+-1;break}}Wc(b)}while(0);return}function ng(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[(e&p)+24>>2]|0;if(!h)f=0;else{f=h;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;f=f-h&1073741823}g=(((d[((d[(h&n)>>0]|0)&n)+9328>>0]|0)+f|0)>>>0)%23|0;f=Rk(b,g,h,f)|0;if(!f){c[(e&p)+8>>2]=0;f=b+(g<<2)|0;c[(e&p)+28>>2]=c[(f&p)>>2];c[(f&p)>>2]=e}else{f=f+8|0;c[(e&p)+8>>2]=c[(f&p)>>2];c[(f&p)>>2]=e}return}function og(a){a=a|0;var b=0,d=0;do if(a){b=c[2254]|0;if((b|0)==(a|0)){c[2254]=c[(a&p)+12>>2];break}if(b){do{d=b+12|0;b=c[(d&p)>>2]|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))c[(d&p)>>2]=c[(a&p)+12>>2]}}while(0);return}function pg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;b=jw(a|0,b|0,-1,-1)|0;d=G;do if(!(d>>>0>0|(d|0)==0&b>>>0>2147483390)){if(!(c[2186]|0)){b=lc[c[8780>>2]&127](a)|0;break}d=lc[c[8796>>2]&127](a)|0;c[2171]=a;if((c[2181]|0)>>>0<a>>>0)c[2181]=a;a=c[2260]|0;do if(a){b=c[2166]|0;e=9032|0;e=dw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;f=G;if(0<(f|0)|0==(f|0)&b>>>0<e>>>0){c[2265]=0;break}else{c[2265]=1;e=c[2261]|0;c[2260]=0;qc[a&15](e,b,0,d);c[2260]=a;c[2261]=e;break}}while(0);b=lc[c[8780>>2]&127](d)|0;if(b){a=lc[c[8792>>2]&127](b)|0;a=(c[2166]|0)+a|0;c[2166]=a;if(a>>>0>(c[2176]|0)>>>0)c[2176]=a;a=(c[2175]|0)+1|0;c[2175]=a;if(a>>>0>(c[2185]|0)>>>0)c[2185]=a}else b=0}else b=0;while(0);return b|0}function rg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;do if(a){if((b|0)==0&(d|0)==0){Wc(a);e=0;break}if(!(d>>>0>0|(d|0)==0&b>>>0>2147483391)){h=lc[c[8792>>2]&127](a)|0;g=lc[c[8796>>2]&127](b)|0;if((g|0)!=(h|0)){if(!(c[2186]|0)){e=rc[c[8788>>2]&127](a,g)|0;break}c[2171]=b;if((c[2181]|0)>>>0<b>>>0)c[2181]=b;d=g-h|0;e=c[2166]|0;i=9032|0;i=dw(c[(i&p)>>2]|0,c[(i&p)+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;j=G;if(!(0<(j|0)|0==(j|0)&e>>>0<i>>>0)?(f=c[2260]|0,(f|0)!=0):0){i=c[2261]|0;c[2260]=0;qc[f&15](i,e,0,d);c[2260]=f;c[2261]=i}e=rc[c[8788>>2]&127](a,g)|0;d=c[2260]|0;if((e|0)==0&(d|0)!=0){f=c[2166]|0;e=c[2261]|0;c[2260]=0;qc[d&15](e,f,0,b);c[2260]=d;c[2261]=e;e=rc[c[8788>>2]&127](a,g)|0}if(e){d=(lc[c[8792>>2]&127](e)|0)-h|0;d=(c[2166]|0)+d|0;c[2166]=d;if(d>>>0>(c[2176]|0)>>>0)c[2176]=d}else e=0}else e=a}else e=0}else e=qg(b,d)|0;while(0);return e|0}function sg(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var l=0,m=0,o=0,r=0,s=0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;$=i;i=i+96|0;if((i|0)>=(j|0))fa();Z=$+8|0;_=$;Y=$+16|0;if(!e){l=0;m=0;T=0}else{l=e&2;if(!l)m=0;else{J=c[(g&p)>>2]|0;m=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}l=l&255;T=(e&1|0)!=0}S=l<<24>>24==0;P=l<<24>>24!=0;Q=m+4|0;R=m+8|0;O=b+12|0;l=0;a:while(1){e=a[(f&n)>>0]|0;if(e<<24>>24==37){e=f;f=l}else if(e<<24>>24){e=f;do{e=e+1|0;J=a[(e&n)>>0]|0}while(!(J<<24>>24==37|J<<24>>24==0));Sk(b,f,e-f|0);if(!(a[(e&n)>>0]|0))break}else break;l=e+1|0;o=a[(l&n)>>0]|0;if(!(o<<24>>24)){U=10;break}r=o<<24>>24;v=0;s=0;y=0;o=0;A=0;B=0;b:while(1){switch(r|0){case 43:{z=s;A=1;break}case 32:{z=s;y=1;break}case 35:{v=1;z=s;break}case 33:{z=1;break}case 48:{z=s;B=1;break}case 45:{z=s;o=1;break}default:{C=v;z=s;break b}}s=e+2|0;J=a[(s&n)>>0]|0;r=J<<24>>24;if(!(J<<24>>24)){l=s;C=v;break}else{e=l;l=s;s=z}}if((r|0)!=42)if((r+-48|0)>>>0<10){s=0;do{s=r+-48+(s*10|0)|0;l=l+1|0;r=a[(l&n)>>0]|0}while((r+-48|0)>>>0<10);N=o;M=s&2147483647}else{N=o;M=0}else{if(S){J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}else s=Tk(m)|0;if((s|0)<0){o=1;s=(s|0)==-2147483648?0:0-s|0}r=l+1|0;l=r;r=a[(r&n)>>0]|0;N=o;M=s}do if((r|0)==46){s=l+1|0;o=a[(s&n)>>0]|0;if(o<<24>>24!=42){r=o<<24>>24;if((o+-48&255)<10)o=0;else{l=s;F=0;break}while(1){o=r+-48+(o*10|0)|0;l=l+2|0;J=a[(l&n)>>0]|0;r=J<<24>>24;if((J+-48&255)<10){J=s;s=l;l=J}else break}F=o&2147483647;break}if(S){J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}else s=Tk(m)|0;l=l+2|0;r=a[(l&n)>>0]|0;if((s|0)<0)F=(s|0)==-2147483648?-1:0-s|0;else F=s}else F=-1;while(0);do if((r|0)==108){s=l+1|0;r=a[(s&n)>>0]|0;if(r<<24>>24==108){r=l+2|0;l=r;r=a[(r&n)>>0]|0;s=1;break}else{l=s;r=r<<24>>24;s=0;break}}else s=0;while(0);v=0;while(1){o=48752+(v*6|0)|0;if((r|0)==(a[(o&n)>>0]|0)){r=o;o=v;U=46;break}v=v+1|0;if((v|0)>=23){L=48752;J=0;break}}if((U|0)==46){U=0;if(!(T|o>>>0<20))break;L=r;J=a[((o*6|0)&n)+48755>>0]|0}c:do switch(J&255|0){case 13:{s=c[(g&p)>>2]|0;e=c[(s&p)>>2]|0;c[(g&p)>>2]=s+4;s=c[(g&p)>>2]|0;r=c[(s&p)>>2]|0;c[(g&p)>>2]=s+4;s=c[(e+(r*72|0)&p)+12>>2]|0;if(s){o=s;while(1)if(!(a[(o&n)>>0]|0))break;else o=o+1|0;Sk(b,s,o-s&1073741823);Sk(b,28928,1)}o=c[(e+(r*72|0)&p)+16>>2]|0;if(!o)e=0;else{e=o;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-o&1073741823}Sk(b,o,e);y=f;r=0;e=0;s=0;break}case 14:{s=0;U=50;break}case 1:case 16:{U=50;break}case 4:case 3:case 2:{do if(!S){s=c[(Q&p)>>2]|0;if((c[(m&p)>>2]|0)>(s|0)){c[(Q&p)>>2]=s+1;t=+Ug(c[((c[(R&p)>>2]|0)+(s<<2)&p)>>2]|0);U=92;break}else{s=(F|0)<0?6:F;t=0.0;U=94;break}}else{U=c[(g&p)>>2]|0;c[(k&p)>>2]=c[(U&p)>>2];c[(k&p)+4>>2]=c[(U&p)+4>>2];t=+h[(k&q)>>3];c[(g&p)>>2]=U+8;U=92}while(0);if((U|0)==92){U=0;s=(F|0)<0?6:F;if(t<0.0){t=-t;K=45}else U=94}if((U|0)==94){U=0;if(!(A<<24>>24))K=y<<24>>24==0?0:32;else K=43}F=J<<24>>24==4;o=((F&(s|0)>0)<<31>>31)+s|0;s=o&4095;if(!s)u=.5;else{u=.5;do{s=s+-1|0;u=u*.1}while((s|0)>0)}E=J<<24>>24==2;if(E)t=t+u;h[(Z&q)>>3]=t;h[(_&q)>>3]=+h[(Z&q)>>3];if(+h[(Z&q)>>3]!=+h[(_&q)>>3]){y=48960;r=3;e=M;s=0}else{if(t>0.0){v=0;w=1.0;while(1){x=w*1.e+100;if(t>=x&(v|0)<351){v=v+100|0;w=x}else break}while(1){x=w*1.e+64;if(t>=x&(v|0)<351){v=v+64|0;w=x}else break}while(1){x=w*1.0e8;if(t>=x&(v|0)<351){v=v+8|0;w=x}else break}while(1){x=w*10.0;if((v|0)<351&t>=x){v=v+1|0;w=x}else break}t=t/w;if(t<1.0e-08)do{t=t*1.0e8;v=v+-8|0}while(t<1.0e-08);if(t<1.0)do{t=t*10.0;v=v+-1|0}while(t<1.0);if((v|0)>350){if(K<<24>>24==43)o=48976;else if(K<<24>>24==45)o=48968;else o=48984;f=o;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;y=o;r=f-o&1073741823;e=M;s=0;break c}}else v=0;if(!E){t=u+t;if(!(t>=10.0))I=v;else{t=t*.1;I=v+1|0}}else I=v;if(F){s=(I|0)<-4|(o|0)<(I|0);F=C<<24>>24==0&1;o=o-(s?0:I)|0;s=s?3:2}else{F=z;s=J}H=s<<24>>24==3;f=H?0:I;v=(f|0)>0;s=jw(o|0,((o|0)<0)<<31>>31|0,M|0,((M|0)<0)<<31>>31|0)|0;v=jw(s|0,G|0,(v?f:0)|0,(v?((f|0)<0)<<31>>31:0)|0)|0;s=G;if((s|0)>0|(s|0)==0&v>>>0>55){v=jw(v|0,s|0,15,0)|0;v=qg(v,G)|0;if(!v){U=124;break a}else{y=v;J=v}}else{y=Y;J=0}v=((z&255)*10|0)+16|0;D=(z|C)&255|(o|0)>0;if(!(K<<24>>24))E=y;else{a[(y&n)>>0]=K;E=y+1|0}if((f|0)<0){a[(E&n)>>0]=48;e=2;s=E+1|0;A=f}else{C=~f;C=(C|0)>-1?C:-1;A=-2-C|0;C=f+C|0;r=E;while(1){if((v|0)<1)e=48;else{s=~~t;e=s+48&255;t=(t-+(s|0))*10.0;v=v+-1|0}a[(r&n)>>0]=e;if((f|0)>0){r=r+1|0;f=f+-1|0}else break}e=C+3|0;s=E+(C+2)|0}r=(D|0)==0;if(!r){a[(s&n)>>0]=46;s=E+e|0}if((A+1|0)<0){fw(s|0,48,~A|0)|0;s=s+~A|0;o=o+1+A|0}if((o|0)>0){e=s;f=o;while(1){f=f+-1|0;if((v|0)<1)A=48;else{E=~~t;A=E+48&255;t=(t-+(E|0))*10.0;v=v+-1|0}a[(e&n)>>0]=A;if((f|0)<=0)break;else e=e+1|0}s=s+o|0}d:do if(!(F<<24>>24==0|r)){while(1){r=s+-1|0;o=a[(r&n)>>0]|0;if(o<<24>>24==46)break;else if(o<<24>>24!=48)break d;a[(r&n)>>0]=0;s=r}if(!(z<<24>>24)){a[(r&n)>>0]=0;s=r;break}else{a[(s&n)>>0]=48;s=s+1|0;break}}while(0);if(H){r=s+1|0;a[(s&n)>>0]=a[((d[(L&n)+4>>0]|0)&n)+48912>>0]|0;o=s+2|0;if((I|0)<0){a[(r&n)>>0]=45;r=0-I|0}else{a[(r&n)>>0]=43;r=I}if((r|0)>99){a[(o&n)>>0]=((r|0)/100|0)+48;f=4;e=5;o=s+3|0;r=(r|0)%100|0}else{f=3;e=4}a[(o&n)>>0]=((r|0)/10|0)+48;a[(s+f&n)>>0]=((r|0)%10|0)+48;s=s+e|0}a[(s&n)>>0]=0;e=y;r=s-e|0;if(!(N<<24>>24==0&B<<24>>24!=0&(M|0)>(r|0))){e=M;s=J;break c}o=M-r|0;if((r|0)>=0){f=M;while(1){a[(y+f&n)>>0]=a[(y+(f-o)&n)>>0]|0;if((f|0)>(o|0))f=f+-1|0;else break}}if((M|0)==(r|0)){r=M;e=M;s=J;break c}fw(y+(K<<24>>24!=0&1)|0,48,M+e-s|0)|0;r=M;e=M;s=J}break}case 5:{if(S){r=c[(O&p)>>2]|0;e=c[(g&p)>>2]|0;y=c[(e&p)>>2]|0;c[(g&p)>>2]=e+4;c[(y&p)>>2]=r;y=f;r=0;e=0;s=0}else{y=f;r=0;e=0;s=0}break}case 8:{a[(Y&n)>>0]=37;y=Y;r=1;e=M;s=0;break}case 9:{if(!S){e=Uk(m)|0;if(!e)s=0;else s=a[(e&n)>>0]|0}else{J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}if((F|0)>1){o=F+-1|0;e=M-o|0;if(!((e|0)<2|N<<24>>24!=0)){Vk(b,e+-1|0,32);e=0}f=s&255;Vk(b,o,f)}else{f=s&255;e=M}a[(Y&n)>>0]=f;y=Y;r=1;s=0;break}case 7:case 6:{if(P)o=Uk(m)|0;else{I=c[(g&p)>>2]|0;o=c[(I&p)>>2]|0;c[(g&p)>>2]=I+4}if(!o){f=10360;s=0}else{f=o;s=J<<24>>24!=7|P?0:o}if((F|0)>-1){if((F|0)>0)o=0;else{y=f;r=0;e=M;break c}while(1){r=o+1|0;if(!(a[(f+o&n)>>0]|0)){y=f;r=o;e=M;break c}if((r|0)<(F|0))o=r;else{y=f;e=M;break}}}else{if(!f){y=0;r=0;e=M;break c}else o=f;while(1)if(!(a[(o&n)>>0]|0))break;else o=o+1|0;y=f;r=o-f&1073741823;e=M;break c}break}case 15:case 11:case 10:{C=J<<24>>24==15?34:39;if(S){I=c[(g&p)>>2]|0;s=c[(I&p)>>2]|0;c[(g&p)>>2]=I+4}else s=Uk(m)|0;y=(s|0)==0;if(y)s=J<<24>>24==11?20304:48992;e:do if(!F){B=0;r=0}else{v=C&255;o=0;e=F;r=0;while(1){f=a[(s+o&n)>>0]|0;if(!(f<<24>>24)){B=o;break e}r=((f<<24>>24|0)==(v|0)&1)+r|0;o=o+1|0;e=e+-1|0;if(!e){B=o;break}}}while(0);z=J<<24>>24==11&(y^1);o=((z&1)<<1|1)+B+r|0;if((o|0)>70){r=qg(o,((o|0)<0)<<31>>31)|0;if(!r){U=197;break a}else{y=r;A=r}}else{y=Y;A=0}if(z){a[(y&n)>>0]=C;o=1}else o=0;if((B|0)>0){v=C&255;e=0;do{r=a[(s+e&n)>>0]|0;f=o+1|0;a[(y+o&n)>>0]=r;if((r<<24>>24|0)==(v|0)){a[(y+f&n)>>0]=r;o=o+2|0}else o=f;e=e+1|0}while((e|0)!=(B|0))}if(z){a[(y+o&n)>>0]=C;o=o+1|0}a[(y+o&n)>>0]=0;r=o;e=M;s=A;break}case 12:{J=c[(g&p)>>2]|0;e=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4;if((e|0)!=0?(X=c[(e&p)+4>>2]|0,(X|0)!=0):0){Sk(b,c[(e&p)>>2]|0,X);y=f;r=0;e=0;s=0}else{y=f;r=0;e=0;s=0}break}default:break a}while(0);if((U|0)==50){U=0;do if(!(a[(L&n)+2>>0]&1)){if(P){f=Tk(m)|0;v=G;E=0;break}if(!(s<<24>>24)){v=c[(g&p)>>2]|0;f=c[(v&p)>>2]|0;c[(g&p)>>2]=v+4;v=0;E=0;break}else{E=c[(g&p)>>2]|0;v=E;f=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;c[(g&p)>>2]=E+8;E=0;break}}else{do if(!P)if(!(s<<24>>24)){r=c[(g&p)>>2]|0;s=c[(r&p)>>2]|0;c[(g&p)>>2]=r+4;r=((s|0)<0)<<31>>31;break}else{I=c[(g&p)>>2]|0;r=I;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;c[(g&p)>>2]=I+8;break}else{s=Tk(m)|0;r=G}while(0);if((r|0)<0){f=dw(0,0,s|0,r|0)|0;v=G;E=45;break}if(!(A<<24>>24)){f=s;v=r;E=y<<24>>24==0?0:32}else{f=s;v=r;E=43}}while(0);D=(f|0)==0&(v|0)==0;if(!(B<<24>>24))A=F;else{A=M-(E<<24>>24!=0&1)|0;A=(F|0)<(A|0)?A:F}if((A|0)>=60){s=A+10|0;r=qg(s,((s|0)<0)<<31>>31)|0;if(!r){U=69;break}else{e=s;s=r;o=r}}else{e=70;s=0;o=Y}B=o+(e+-1)|0;if(J<<24>>24==16){r=uw(f|0,v|0,10,0)|0;if(!(r>>>0<=3?(J=tw(f|0,v|0,10,0)|0,J=uw(J|0,G|0,10,0)|0,!((J|0)==1&(G|0)==0)):0))r=0;J=r<<1;a[(o+e+-2&n)>>0]=a[((J|1)&n)+48896>>0]|0;r=o+(e+-3)|0;a[(r&n)>>0]=a[(J&n)+48896>>0]|0}else r=B;e=d[(L&n)+4>>0]|0;y=d[(L&n)+1>>0]|0;while(1){J=uw(f|0,v|0,y|0,0)|0;o=r+-1|0;a[(o&n)>>0]=a[(J+e&n)+48912>>0]|0;f=tw(f|0,v|0,y|0,0)|0;v=G;if((f|0)==0&(v|0)==0)break;else r=o}f=A-B+o|0;if((f|0)>0){e=r;r=o;while(1){o=e+-2|0;a[(o&n)>>0]=48;f=f+-1|0;if((f|0)<=0)break;else{e=r;r=o}}}if(E<<24>>24){o=r+-2|0;a[(o&n)>>0]=E}if((!(D|C<<24>>24==0)?(V=a[(L&n)+5>>0]|0,V<<24>>24!=0):0)?(W=48952+(V&255)|0,!(V<<24>>24==3|V<<24>>24==6)):0){f=a[(W&n)>>0]|0;r=W;do{o=o+-1|0;a[(o&n)>>0]=f;r=r+1|0;f=a[(r&n)>>0]|0}while(f<<24>>24!=0)}y=o;r=B-o|0;e=M}o=e-r|0;f=(o|0)<1;if(!(f|N<<24>>24!=0))Vk(b,o,32);Sk(b,y,r);if(!(f|N<<24>>24==0))Vk(b,o,32);if(s)Wc(s);f=l+1|0;l=y}if((U|0)==10)Sk(b,48744,1);else if((U|0)==69){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}else if((U|0)==124){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}else if((U|0)==197){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}i=$;return}function tg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;f=b+8|0;d=c[(f&p)>>2]|0;do if(((d|0)!=0?(h=b+12|0,a[(d+(c[(h&p)>>2]|0)&n)>>0]=0,e=a[(b&n)+24>>0]|0,e<<24>>24!=0):0)?(g=b+4|0,(c[(f&p)>>2]|0)==(c[(g&p)>>2]|0)):0){if(e<<24>>24==1){d=(c[(h&p)>>2]|0)+1|0;d=mh(c[(b&p)>>2]|0,d,((d|0)<0)<<31>>31)|0}else d=Tc((c[(h&p)>>2]|0)+1|0)|0;c[(f&p)>>2]=d;if(!d){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0;break}else{kw(d|0,c[(g&p)>>2]|0,(c[(h&p)>>2]|0)+1|0)|0;break}}while(0);return c[(f&p)>>2]|0}function ug(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;h=d+52|0;c[(h&p)>>2]=e;a:do if(!f){c[(h&p)>>2]=e;e=c[(d&p)+236>>2]|0;if(e){h=e+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;break}else{vg(e);break}}}else{l=d+236|0;do if(!(c[(l&p)>>2]|0)){h=mh(d,40,0)|0;if(!h){c[(l&p)>>2]=h;break a}else{e=h+0|0;k=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(k|0));b[(h&o)+8>>1]=1;c[(h&p)+32>>2]=d;c[(l&p)>>2]=h;break}}while(0);c[(m&p)>>2]=g;h=Wk(d,f,m)|0;e=c[(l&p)>>2]|0;if(e)Xg(e,h,-1,1,75)|0}while(0);i=q;return}function vg(a){a=a|0;var d=0,e=0;e=a+8|0;d=b[(e&o)>>1]|0;if(d&8192){Yk(a,c[(a&p)>>2]|0)|0;d=b[(e&o)>>1]|0}d=d&65535;do if(!(d&1024)){if(d&32){Zk(c[(a&p)>>2]|0);break}if(d&64){a=c[(a&p)>>2]|0;d=(c[(a&p)>>2]|0)+180|0;c[(a&p)+4>>2]=c[(d&p)>>2];c[(d&p)>>2]=a}}else cc[c[(a&p)+36>>2]&31](c[(a&p)+16>>2]|0);while(0);b[(e&o)>>1]=1;return}function wg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;e=Vh(b,d)|0;do if((e|0)==1){f=mh(a,536,0)|0;if(!f){ug(a,7,15776,g);e=0;break}fw(f|0,0,536)|0;c[(f&p)>>2]=b;if(!(_k(f)|0)){mg(a,c[(f&p)+4>>2]|0);Ch(f);mg(a,f);h=7;break}else{b=c[(f&p)+12>>2]|0;e=f+4|0;c[(g&p)>>2]=c[(e&p)>>2];ug(a,b,10344,g);mg(a,c[(e&p)>>2]|0);Ch(f);mg(a,f);e=0;break}}else h=7;while(0);do if((h|0)==7)if((e|0)<0){c[(g&p)>>2]=d;ug(a,1,47448,g);e=0;break}else{e=c[((c[(b&p)+16>>2]|0)+(e<<4)&p)+4>>2]|0;break}while(0);i=k;return e|0}function xg(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;k=c[(a&p)+4>>2]|0;c[(k&p)+4>>2]=c[(a&p)>>2];j=k+22|0;if(!(b[(j&o)>>1]&2)){if((f|0)<0)f=(c[(k&p)+32>>2]|0)-(c[(k&p)+36>>2]|0)|0;if(((d+-512|0)>>>0<65025?(d+-1&d|0)==0:0)?(c[(k&p)+32>>2]=d,h=k+80|0,i=c[(h&p)>>2]|0,(i|0)!=0):0){a=i+-4|0;c[(h&p)>>2]=a;$k(a);c[(h&p)>>2]=0}h=k+32|0;a=al(c[(k&p)>>2]|0,h,f)|0;c[(k&p)+36>>2]=(c[(h&p)>>2]|0)-(f&65535);if(g)b[(j&o)>>1]=e[(j&o)>>1]|0|2}else a=8;return a|0}function yg(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;T=i;i=i+16|0;if((i|0)>=(j|0))fa();N=T;M=T+12|0;L=T+8|0;R=c[(f&p)+4>>2]|0;I=R+4|0;c[(I&p)>>2]=c[(f&p)>>2];O=f+8|0;l=a[(O&n)>>0]|0;do if(l<<24>>24!=2?(P=(g|0)!=0,l<<24>>24!=1|P):0){Q=R+22|0;l=b[(Q&o)>>1]|0;if(!((l&1)!=0&P)){if(P)if((a[(R&n)+20>>0]|0)!=2&(l&64)==0)S=8;else S=7;else if(!(l&64))S=8;else S=7;a:do if((S|0)==7){h=c[(R&p)+76>>2]|0;S=12}else if(((S|0)==8?(g|0)>1:0)?(k=c[(R&p)+72>>2]|0,(k|0)!=0):0)do{l=c[(k&p)>>2]|0;if((l|0)!=(f|0)){h=l;S=12;break a}k=c[(k&p)+12>>2]|0}while((k|0)!=0);while(0);if((S|0)==12?(c[(h&p)>>2]|0)!=0:0){h=262;break}h=bl(f,1,1)|0;if(!h){l=e[(Q&o)>>1]|0;b[(Q&o)>>1]=l&65527;K=R+44|0;if(!(c[(K&p)>>2]|0))b[(Q&o)>>1]=l|8;E=R+12|0;u=R+32|0;v=R+36|0;w=R+17|0;x=R+18|0;y=R+80|0;z=R+24|0;A=R+26|0;B=R+28|0;C=R+30|0;D=R+21|0;F=R+20|0;G=(g|0)>1;h=0;b:while(1){c:do if(!(c[(E&p)>>2]|0)){h=cl(c[(R&p)>>2]|0)|0;if(!h){h=dl(R,1,M,0)|0;if(!h){t=c[(M&p)>>2]|0;q=c[(t&p)+56>>2]|0;l=d[(q&n)+29>>0]<<16|d[(q&n)+28>>0]<<24|d[(q&n)+30>>0]<<8|d[(q&n)+31>>0];m=c[(R&p)>>2]|0;r=c[(m&p)+24>>2]|0;if((l|0)!=0?(Zv(q+24|0,q+92|0,4)|0)==0:0)s=l;else s=r;d:do if((s|0)>0){e:do if(!(Zv(q,44680,16)|0)){if((d[(q&n)+18>>0]|0)>2)b[(Q&o)>>1]=e[(Q&o)>>1]|1;l=a[(q&n)+19>>0]|0;if((l&255)<=2){do if(l<<24>>24==2){if(b[(Q&o)>>1]&16)break;c[(L&p)>>2]=0;h=el(m,L)|0;if(h){S=48;break e}if(c[(L&p)>>2]|0)break;if(!t){h=0;continue b}Bg(c[(t&p)+68>>2]|0);h=0;continue b}while(0);if(Zv(q+21|0,47408,3)|0){h=26;S=48;break}k=d[(q&n)+17>>0]<<16|d[(q&n)+16>>0]<<8;if((k+16777215&k|0)!=0|k>>>0>65536|k>>>0<257){h=26;S=48;break}m=d[(q&n)+20>>0]|0;l=k-m|0;if((k|0)==(c[(u&p)>>2]|0)){if((s|0)>(r|0)?(c[((c[(I&p)>>2]|0)&p)+24>>2]&65536|0)==0:0){c[(N&p)>>2]=55672;c[(N&p)+4>>2]=10788;bd(11,13600,N);h=11;S=48;break}if(l>>>0<480){h=26;S=48;break}c[(u&p)>>2]=k;c[(v&p)>>2]=l;a[(w&n)>>0]=(d[(q&n)+53>>0]<<16|d[(q&n)+52>>0]<<24|d[(q&n)+54>>0]<<8|d[(q&n)+55>>0]|0)!=0&1;a[(x&n)>>0]=(d[(q&n)+65>>0]<<16|d[(q&n)+64>>0]<<24|d[(q&n)+66>>0]<<8|d[(q&n)+67>>0]|0)!=0&1;break d}if(t)Bg(c[(t&p)+68>>2]|0);c[(v&p)>>2]=l;c[(u&p)>>2]=k;l=c[(y&p)>>2]|0;if(l){h=l+-4|0;c[(y&p)>>2]=h;$k(h);c[(y&p)>>2]=0}h=al(c[(R&p)>>2]|0,u,m)|0}else{h=26;S=48}}else{h=26;S=48}while(0);if((S|0)==48){S=0;if(t)Bg(c[(t&p)+68>>2]|0);c[(E&p)>>2]=0}if(!h){h=0;continue b}else{S=77;break c}}else l=c[(v&p)>>2]|0;while(0);h=((((l<<6)+-768|0)>>>0)/255|0)+65513|0;k=h&65535;b[(z&o)>>1]=k;m=((((l<<5)+-384|0)>>>0)/255|0)+65513&65535;b[(A&o)>>1]=m;b[(B&o)>>1]=l+65501;b[(C&o)>>1]=m;a[(D&n)>>0]=(k&65535)>127?127:h&255;c[(E&p)>>2]=t;c[(K&p)>>2]=s;h=0;continue b}else l=0}else l=0}else{f:do if((h|0)==0&P){if(b[(Q&o)>>1]&1){h=8;S=77;break c}s=c[(R&p)>>2]|0;h=c[(s&p)+40>>2]|0;g:do if(!h){a[(s&n)+21>>0]=(a[((c[(f&p)>>2]|0)&n)+64>>0]|0)==2&1;t=s+16|0;if((a[(t&n)>>0]|0)==1){m=s+208|0;l=c[(m&p)>>2]|0;do if(!l){h=fl(s,2)|0;h:do if((h|0)==0&G){l=s+176|0;k=s+180|0;while(1){h=fl(s,4)|0;if((h|0)!=5)break h;if(!(lc[c[(l&p)>>2]&127](c[(k&p)>>2]|0)|0)){h=5;break g}}}while(0);if(h)break g}else{do if(a[(s&n)+4>>0]|0){if(a[(l&n)+43>>0]|0)break;h=fl(s,4)|0;if(h)break g;l=c[(m&p)>>2]|0;k=l+43|0;if(!(a[(k&n)>>0]|0)){h=c[(l&p)+4>>2]|0;pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,(b[(l&o)+40>>1]|0)+3|0,1,5)|0;l=c[(m&p)>>2]|0}a[(k&n)>>0]=1}while(0);if(a[(l&n)+46>>0]|0){h=8;break g}k=l+43|0;if((a[(k&n)>>0]|0)==0?(H=c[(l&p)+4>>2]|0,H=pc[c[((c[(H&p)>>2]|0)&p)+56>>2]&31](H,0,1,10)|0,(H|0)!=0):0){h=H;break g}h=l+44|0;a[(h&n)>>0]=1;if(!(Zv(l+52|0,c[(c[(l&p)+32>>2]&p)>>2]|0,48)|0))break;if(!(a[(k&n)>>0]|0)){k=c[(l&p)+4>>2]|0;pc[c[((c[(k&p)>>2]|0)&p)+56>>2]&31](k,0,1,9)|0}a[(h&n)>>0]=0;h=517;break g}while(0);a[(t&n)>>0]=2;h=c[(s&p)+24>>2]|0;c[(s&p)+36>>2]=h;c[(s&p)+32>>2]=h;c[(s&p)+28>>2]=h;h=s+72|0;c[(h&p)>>2]=0;c[(h&p)+4>>2]=0}h=Cg(R)|0;break f}while(0);l=(h|0)==0;break c}while(0);if(!h){h=0;break b}else l=0}while(0);if((S|0)==77){S=0;l=(h|0)==0}if((a[(F&n)>>0]|0)==0?(J=c[(E&p)>>2]|0,(J|0)!=0):0){c[(E&p)>>2]=0;Bg(c[(J&p)+68>>2]|0)}if((h&255|0)!=5){S=86;break}if(a[(F&n)>>0]|0){S=86;break}if(!(gl(R)|0)){S=86;break}}if((S|0)==86)if(!l){S=96;break}if((a[(O&n)>>0]|0)==0?(H=R+40|0,c[(H&p)>>2]=(c[(H&p)>>2]|0)+1,(a[(f&n)+9>>0]|0)!=0):0){a[(f&n)+40>>0]=1;H=R+72|0;c[(f&p)+44>>2]=c[(H&p)>>2];c[(H&p)>>2]=f+32}l=P?2:1;a[(O&n)>>0]=l;if((l&255)>(d[(F&n)>>0]|0))a[(F&n)>>0]=l;if(P){l=c[(E&p)>>2]|0;c[(R&p)+76>>2]=f;k=e[(Q&o)>>1]|0;b[(Q&o)>>1]=G?k|32:k&65503;k=l+56|0;H=c[(k&p)>>2]|0;if((c[(K&p)>>2]|0)!=(d[(H&n)+29>>0]<<16|d[(H&n)+28>>0]<<24|d[(H&n)+30>>0]<<8|d[(H&n)+31>>0]|0)){h=Gg(c[(l&p)+68>>2]|0)|0;if(!h){h=c[(k&p)>>2]|0;S=c[(K&p)>>2]|0;a[(h&n)+28>>0]=S>>>24;a[(h&n)+29>>0]=S>>>16;a[(h&n)+30>>0]=S>>>8;a[(h&n)+31>>0]=S;h=0;S=96}}else S=96}}}else h=8}else{h=0;S=96}while(0);if((S|0)==96)if((h|0)==0&(g|0)!=0)h=hl(c[(R&p)>>2]|0,c[((c[(f&p)>>2]|0)&p)+496>>2]|0)|0;i=T;return h|0}function zg(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();u=y;w=y+8|0;c[(w&p)>>2]=0;t=h&1;a:do if(!f){c[(u&p)>>2]=46865;c[(u&p)+4>>2]=10788;bd(11,13600,u);k=11}else{a[(e&n)+23>>0]=1;h=c[(e&p)+40>>2]|0;do if(!h){s=e+204|0;h=c[(s&p)>>2]|0;h=ac[c[8876>>2]&63](c[(h&p)+40>>2]|0,f,d[(h&n)+29>>0]&3)|0;if(!h){m=c[(s&p)>>2]|0;if((a[(m&n)+29>>0]|0)!=2){l=m+8|0;h=c[(l&p)>>2]|0;b:do if(!h)x=11;else{while(1){if((b[(h&o)+26>>1]|0)==0?(b[(h&o)+24>>1]&4)==0:0)break;h=c[(h&p)+36>>2]|0;if(!h){x=11;break b}}c[(l&p)>>2]=h;r=h;x=14}while(0);c:do if((x|0)==11?(c[(l&p)>>2]=0,q=c[(m&p)+4>>2]|0,(q|0)!=0):0){h=q;do{if(!(b[(h&o)+26>>1]|0)){r=h;x=14;break c}h=c[(h&p)+36>>2]|0}while((h|0)!=0)}while(0);if((x|0)==14?(k=rc[c[(m&p)+32>>2]&127](c[(m&p)+36>>2]|0,r)|0,!((k|0)==0|(k|0)==5)):0)break;k=ac[c[8876>>2]&63](c[(m&p)+40>>2]|0,f,2)|0;if(!k){k=7;break}}else k=0}else k=h;m=il(c[(s&p)>>2]|0,f,k)|0;c[(g&p)>>2]=m;if(!m)k=7;else{h=m+16|0;k=(t|0)!=0;if(!((c[(h&p)>>2]|0)==0|k)){k=e+184|0;c[(k&p)>>2]=(c[(k&p)>>2]|0)+1;k=0;break a}c[(h&p)>>2]=e;do if((f|0)>=0?(v=e+152|0,(((c[2514]|0)/(c[(v&p)>>2]|0)|0)+1|0)!=(f|0)):0){if(((a[(e&n)+15>>0]|0)==0?!((c[(e&p)+24>>2]|0)>>>0<f>>>0|k):0)?(c[(c[(e&p)+60>>2]&p)>>2]|0)!=0:0){k=c[(e&p)+208>>2]|0;if(!k)k=0;else{k=kl(k,f,w)|0;if(k)break;k=c[(w&p)>>2]|0}v=e+188|0;c[(v&p)>>2]=(c[(v&p)>>2]|0)+1;k=ll(m,k)|0;if(!k){k=0;break a}else break}if((c[(e&p)+156>>2]|0)>>>0<f>>>0)k=13;else{if(k){k=c[3164]|0;if(k)nc[k&3]();if((c[(e&p)+28>>2]|0)>>>0>=f>>>0)bi(c[(e&p)+56>>2]|0,f)|0;jl(e,f)|0;k=c[3166]|0;if(k)nc[k&3]()}fw(c[(m&p)+4>>2]|0,0,c[(v&p)>>2]|0)|0;k=0;break a}}else x=21;while(0);if((x|0)==21){c[(u&p)>>2]=46945;c[(u&p)+4>>2]=10788;bd(11,13600,u);k=11}ml(m)}}else k=h;while(0);if((c[(e&p)+120>>2]|0)==0?(c[((c[(e&p)+204>>2]|0)&p)+12>>2]|0)==0:0)nl(e);c[(g&p)>>2]=0}while(0);i=y;return k|0}function Ag(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();x=y;v=b+4|0;r=c[((c[(v&p)>>2]|0)&p)+4>>2]|0;w=c[(r&p)>>2]|0;u=b+24|0;q=c[((c[((c[(u&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;r=c[(r&p)+32>>2]|0;s=(q|0)<(r|0)?q:r;t=((q|0)<0)<<31>>31;m=sw(q|0,t|0,d|0,0)|0;o=G;if((q|0)==(r|0))b=0;else b=(a[(w&n)+15>>0]|0)==0?0:8;a:do if((b|0)==0&(q|0)>0){d=dw(m|0,o|0,q|0,t|0)|0;l=((r|0)<0)<<31>>31;k=(f|0)==0;h=G;b=r;while(1){c[(x&p)>>2]=0;f=qw(d|0,h|0,r|0,l|0)|0;if((f|0)!=(((c[2514]|0)>>>0)/(b>>>0)|0|0)){b=zg(w,f+1|0,x,0)|0;g=c[(x&p)>>2]|0;if(!b){b=Gg(g)|0;if(!b){z=rw(d|0,h|0,q|0,t|0)|0;f=c[(g&p)+4>>2]|0;b=rw(d|0,h|0,r|0,l|0)|0;kw(f+b|0,e+z|0,s|0)|0;a[(c[(g&p)+8>>2]&n)>>0]=0;if((d|0)==0&(h|0)==0&k){z=c[((c[((c[(u&p)>>2]|0)&p)+4>>2]|0)&p)+44>>2]|0;a[(f+b&n)+28>>0]=z>>>24;a[(f+b&n)+29>>0]=z>>>16;a[(f+b&n)+30>>0]=z>>>8;a[(f+b&n)+31>>0]=z;b=0}else b=0}}if(g)Bg(g)}else b=0;d=jw(d|0,h|0,r|0,l|0)|0;f=G;if(!((b|0)==0&((f|0)<(o|0)|(f|0)==(o|0)&d>>>0<m>>>0)))break a;h=f;b=c[((c[((c[(v&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0}}while(0);i=y;return b|0}function Bg(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+16>>2]|0;if(!(b[(a&o)+24>>1]&64)){ol(a);a=c[(d&p)+120>>2]|0}else{f=d+120|0;e=(c[(f&p)>>2]|0)+-1|0;c[(f&p)>>2]=e;f=d+136|0;c[(a&p)+12>>2]=c[(f&p)>>2];c[(f&p)>>2]=a;a=e}if((a|0)==0?(c[((c[(d&p)+204>>2]|0)&p)+12>>2]|0)==0:0)nl(d);return}function Cg(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=d+44|0;if(!(c[(i&p)>>2]|0)){j=c[(d&p)+12>>2]|0;k=c[(j&p)+56>>2]|0;f=Gg(c[(j&p)+68>>2]|0)|0;if(!f){f=k+0|0;g=44680|0;h=f+16|0;do{a[(f&n)>>0]=a[(g&n)>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));f=d+32|0;a[(k&n)+16>>0]=(c[(f&p)>>2]|0)>>>8;a[(k&n)+17>>0]=(c[(f&p)>>2]|0)>>>16;a[(k&n)+18>>0]=1;a[(k&n)+19>>0]=1;a[(k&n)+20>>0]=(c[(f&p)>>2]|0)-(c[(d&p)+36>>2]|0);a[(k&n)+21>>0]=64;a[(k&n)+22>>0]=32;a[(k&n)+23>>0]=32;f=k+24|0;h=f+76|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(h|0));pl(j,13);f=d+22|0;b[(f&o)>>1]=e[(f&o)>>1]|0|2;f=a[(d&n)+17>>0]|0;a[(k&n)+52>>0]=0;a[(k&n)+53>>0]=0;a[(k&n)+54>>0]=0;a[(k&n)+55>>0]=f;f=a[(d&n)+18>>0]|0;a[(k&n)+64>>0]=0;a[(k&n)+65>>0]=0;a[(k&n)+66>>0]=0;a[(k&n)+67>>0]=f;c[(i&p)>>2]=1;a[(k&n)+31>>0]=1;f=0}}else f=0;return f|0}function Dg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[(b&p)+4>>2]|0;c[(g&p)+4>>2]=c[(b&p)>>2];b=c[(g&p)+12>>2]|0;f=c[(b&p)+56>>2]|0;b=Gg(c[(b&p)+68>>2]|0)|0;if((b|0)==0?(i=d<<2,a[(f+i&n)+36>>0]=e>>>24,a[(f+i&n)+37>>0]=e>>>16,a[(f+i&n)+38>>0]=e>>>8,h=e&255,a[(f+i&n)+39>>0]=h,(d|0)==7):0)a[(g&n)+18>>0]=h;return b|0}function Eg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[(h&p)>>2]|0;d=(b|0)>0;if(d){e=c[(a&p)+16>>2]|0;g=0;do{f=c[(e+(g<<4)&p)+4>>2]|0;if(f)c[((c[(f&p)+4>>2]|0)&p)+4>>2]=c[(f&p)>>2];g=g+1|0}while((g|0)!=(b|0));if(d){g=a+16|0;f=0;do{d=c[((c[(g&p)>>2]|0)+(f<<4)&p)+12>>2]|0;if(d){ql(d);b=c[(h&p)>>2]|0}f=f+1|0}while((f|0)<(b|0))}}b=a+24|0;c[(b&p)>>2]=c[(b&p)>>2]&-3;rl(a);sl(a);return}function Fg(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[(d&p)+4>>2]|0;k=h+22|0;g=e[(k&o)>>1]|0;b[(k&o)>>1]=(f|0)==1?g|16:g&65519;g=yg(d,0)|0;do if(!g){h=h+12|0;i=c[((c[(h&p)>>2]|0)&p)+56>>2]|0;j=i+18|0;g=a[(j&n)>>0]|0;f=f&255;if(g<<24>>24==f<<24>>24?(a[(i&n)+19>>0]|0)==g<<24>>24:0){g=0;break}g=yg(d,2)|0;if(!g){g=Gg(c[((c[(h&p)>>2]|0)&p)+68>>2]|0)|0;if(!g){a[(j&n)>>0]=f;a[(i&n)+19>>0]=f;g=0}}}while(0);b[(k&o)>>1]=e[(k&o)>>1]&65519;return g|0}function Gg(a){a=a|0;var b=0;b=c[(a&p)+16>>2]|0;if((c[(b&p)+148>>2]|0)>>>0>(c[(b&p)+152>>2]|0)>>>0)a=tl(a)|0;else a=ul(a)|0;return a|0}function Hg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))fa();u=A+16|0;v=A;k=A+12|0;m=A+8|0;g=c[(b&p)+40>>2]|0;a:do if(!g){z=b+16|0;if((d[(z&n)>>0]|0)>=3){b:do if(!(a[(b&n)+15>>0]|0)){if(c[(b&p)+208>>2]|0){l=b+204|0;h=vl(c[(l&p)>>2]|0)|0;c[(m&p)>>2]=0;if(!h){g=zg(b,1,m,0)|0;h=c[(m&p)>>2]|0;c[(h&p)+12>>2]=0;if(h){k=h;y=9}}else{k=0;y=9}if((y|0)==9){g=wl(b,h,c[(b&p)+24>>2]|0,1)|0;if(k)Bg(k)}if(g)break a;h=c[(l&p)>>2]|0;g=c[(h&p)>>2]|0;if(!g)break;while(1){xl(g);g=c[(h&p)>>2]|0;if(!g)break b}}l=b+18|0;if((a[(l&n)>>0]|0)==0?(c[(b&p)+24>>2]|0)!=0:0){g=zg(b,1,k,0)|0;k=c[(k&p)>>2]|0;if(!g){g=Gg(k)|0;if(!g){yl(k);a[(l&n)>>0]=1;g=0}}if(k)Bg(k);if(g)break a}if(((e|0)!=0?(a[(b&n)+5>>0]|0)!=4:0)?(x=b+64|0,t=c[(x&p)>>2]|0,(c[(t&p)>>2]|0)!=0):0){a[(b&n)+19>>0]=1;k=a[(e&n)>>0]|0;if(!(k<<24>>24)){l=0;h=0}else{l=0;h=0;do{l=(k<<24>>24)+l|0;h=h+1|0;k=a[(e+h&n)>>0]|0}while(k<<24>>24!=0)}s=b+72|0;g=s;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if(!(a[(b&n)+8>>0]|0))m=g;else{if((k|0)==0&(g|0)==0){k=0;g=0}else{g=jw(k|0,g|0,-1,-1)|0;k=c[(b&p)+148>>2]|0;g=qw(g|0,G|0,k|0,0)|0;g=jw(g|0,G|0,1,0)|0;k=sw(g|0,G|0,k|0,0)|0;g=G}m=s;c[(m&p)>>2]=k;c[(m&p)+4>>2]=g;m=g}g=((c[2514]|0)/(c[(b&p)+152>>2]|0)|0)+1|0;a[(u&n)>>0]=g>>>24;o=u+1|0;a[(o&n)>>0]=g>>>16;q=u+2|0;a[(q&n)>>0]=g>>>8;r=u+3|0;a[(r&n)>>0]=g;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,4,k,m)|0;if(g)break a;g=c[(x&p)>>2]|0;m=jw(k|0,m|0,4,0)|0;k=G;g=tc[c[((c[(g&p)>>2]|0)&p)+12>>2]&31](g,e,h,m,k)|0;if(g)break a;g=c[(x&p)>>2]|0;m=jw(m|0,k|0,h|0,((h|0)<0)<<31>>31|0)|0;k=G;a[(u&n)>>0]=h>>>24;a[(o&n)>>0]=h>>>16;a[(q&n)>>0]=h>>>8;a[(r&n)>>0]=h;g=tc[c[((c[(g&p)>>2]|0)&p)+12>>2]&31](g,u,4,m,k)|0;if(g)break a;t=c[(x&p)>>2]|0;g=jw(m|0,k|0,4,0)|0;a[(u&n)>>0]=l>>>24;a[(o&n)>>0]=l>>>16;a[(q&n)>>0]=l>>>8;a[(r&n)>>0]=l;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,4,g,G)|0;if(g)break a;t=c[(x&p)>>2]|0;g=jw(m|0,k|0,8,0)|0;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,14808,8,g,G)|0;if(g)break a;t=h+20|0;g=s;t=jw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,t|0,((t|0)<0)<<31>>31|0)|0;g=s;c[(g&p)>>2]=t;c[(g&p)+4>>2]=G;g=c[(x&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,v)|0;if(g)break a;t=v;r=c[(t&p)+4>>2]|0;g=s;h=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if((r|0)>(g|0)|((r|0)==(g|0)?(c[(t&p)>>2]|0)>>>0>h>>>0:0)?(w=c[(x&p)>>2]|0,w=ac[c[((c[(w&p)>>2]|0)&p)+16>>2]&63](w,h,g)|0,(w|0)!=0):0){g=w;break a}}g=zl(b,0)|0;if(g)break a;h=b+204|0;g=Al(b,vl(c[(h&p)>>2]|0)|0)|0;if(g)break a;g=c[(h&p)>>2]|0;h=c[(g&p)>>2]|0;if(h)do{xl(h);h=c[(g&p)>>2]|0}while((h|0)!=0);h=c[(b&p)+24>>2]|0;if(h>>>0>(c[(b&p)+32>>2]|0)>>>0){g=Bl(b,h-((h|0)==(((c[2514]|0)/(c[(b&p)+152>>2]|0)|0)+1|0)&1)|0)|0;if(!(g|f))y=46}else if(!f)y=46;else break;if((y|0)==46)g=Ig(b,e)|0;if(g)break a}else{g=c[(b&p)+88>>2]|0;if(g)do{c[(g&p)+16>>2]=1;g=c[(g&p)+44>>2]|0}while((g|0)!=0)}while(0);if(!(c[(b&p)+208>>2]|0)){a[(z&n)>>0]=5;g=0}else g=0}else g=0}while(0);i=A;return g|0}function Ig(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;g=b+60|0;h=c[(g&p)>>2]|0;i=c[(h&p)>>2]|0;if(!((i|0)!=0?(f=ac[c[(i&p)+40>>2]&63](h,21,e)|0,!((f|0)==0|(f|0)==12)):0))if(!(a[(b&n)+7>>0]|0)){f=c[(g&p)>>2]|0;f=rc[c[((c[(f&p)>>2]|0)&p)+20>>2]&127](f,d[(b&n)+11>>0]|0)|0}else f=0;return f|0}function Jg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=a[(b&n)+8>>0]|0;do if(!(g<<24>>24))f=0;else{k=c[(b&p)+4>>2]|0;c[(k&p)+4>>2]=c[(b&p)>>2];if(g<<24>>24==2){h=c[(k&p)>>2]|0;i=h+40|0;g=c[(i&p)>>2]|0;do if(!g){g=h+16|0;if(((a[(g&n)>>0]|0)==2?(a[(h&n)+4>>0]|0)!=0:0)?(a[(h&n)+5>>0]|0)==1:0){a[(g&n)>>0]=1;break}f=h+100|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=Cl(h,d[(h&n)+19>>0]|0,1)|0;h=f&255;if((h|0)==10|(h|0)==13){c[(i&p)>>2]=f;a[(g&n)>>0]=6;j=10}else j=10}else{f=g;j=10}while(0);if((j|0)==10?(f|0)!=0&(e|0)==0:0)break;f=b+20|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;a[(k&n)+20>>0]=1;f=k+60|0;ei(c[(f&p)>>2]|0);c[(f&p)>>2]=0}Dl(b);f=0}while(0);return f|0}function Kg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();h=s;a:do if((a[(b&n)+8>>0]|0)==2){r=c[(b&p)+4>>2]|0;c[(r&p)+4>>2]=c[(b&p)>>2];do if(a[(r&n)+17>>0]|0){q=c[(r&p)>>2]|0;f=r+8|0;b=c[(f&p)>>2]|0;if(b)do{o=b+72|0;a[(o&n)>>0]=d[(o&n)>>0]&251;b=c[(b&p)+8>>2]|0}while((b|0)!=0);if(!(a[(r&n)+18>>0]|0)){o=r+44|0;g=c[(o&p)>>2]|0;if(g>>>0<2)b=0;else{b=g+-2|0;b=b-((b>>>0)%(((((c[(r&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;b=((b+1|0)==(((c[2514]|0)>>>0)/((c[(r&p)+32>>2]|0)>>>0)|0|0)?3:2)+b|0}if((b|0)!=(g|0)?(g|0)!=((((c[2514]|0)>>>0)/((c[(r&p)+32>>2]|0)>>>0)|0)+1|0):0){k=r+12|0;l=c[((c[(k&p)>>2]|0)&p)+56>>2]|0;l=d[(l&n)+37>>0]<<16|d[(l&n)+36>>0]<<24|d[(l&n)+38>>0]<<8|d[(l&n)+39>>0];m=El(r,g,l)|0;if(m>>>0>g>>>0){c[(h&p)>>2]=56396;c[(h&p)+4>>2]=10788;bd(11,13600,h);b=11;break a}b:do if(m>>>0<g>>>0){b=c[(f&p)>>2]|0;c:do if(b){while(1){if(b)break;b=c[2]|0;if(!b)break c}b=Fl(b,0,0)|0;if(b){f=0;break b}}while(0);do{b=Gl(r,m,g,1)|0;g=g+-1|0;f=(b|0)==0}while(g>>>0>m>>>0&f)}else{f=1;b=0}while(0);if(((b|0)==101|f)&(l|0)!=0){b=Gg(c[((c[(k&p)>>2]|0)&p)+68>>2]|0)|0;l=(c[((c[(k&p)>>2]|0)&p)+56>>2]|0)+32|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;l=(c[((c[(k&p)>>2]|0)&p)+56>>2]|0)+36|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;l=c[((c[(k&p)>>2]|0)&p)+56>>2]|0;a[(l&n)+28>>0]=m>>>24;a[(l&n)+29>>0]=m>>>16;a[(l&n)+30>>0]=m>>>8;a[(l&n)+31>>0]=m;a[(r&n)+19>>0]=1;c[(o&p)>>2]=m}if(!b)break;Hl(q)|0;break a}c[(h&p)>>2]=56391;c[(h&p)+4>>2]=10788;bd(11,13600,h);b=11;break a}}while(0);b=c[(r&p)>>2]|0;if(a[(r&n)+19>>0]|0)c[(b&p)+24>>2]=c[(r&p)+44>>2];b=Hg(b,e,0)|0}else b=0;while(0);i=s;return b|0}function Lg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();h=m;l=c[(b&p)+4>>2]|0;c[(l&p)+4>>2]=c[(b&p)>>2];a:do if(!e){e=c[(l&p)+8>>2]|0;if(e){while(1){if(e)break;e=c[2]|0;if(!e)break a}e=Fl(e,0,0)|0;g=(e|0)==0;if(!g){g=g?f:0;k=6}}}else{g=f;k=6}while(0);if((k|0)==6)Il(b,e,g)|0;if((a[(b&n)+8>>0]|0)==2){Hl(c[(l&p)>>2]|0)|0;if(!(dl(l,1,h,0)|0)){e=c[(h&p)>>2]|0;g=c[(e&p)+56>>2]|0;g=d[(g&n)+29>>0]<<16|d[(g&n)+28>>0]<<24|d[(g&n)+30>>0]<<8|d[(g&n)+31>>0];if(!g)g=c[((c[(l&p)>>2]|0)&p)+24>>2]|0;c[(l&p)+44>>2]=g;if(e)Bg(c[(e&p)+68>>2]|0)}a[(l&n)+20>>0]=1;g=l+60|0;ei(c[(g&p)>>2]|0);c[(g&p)>>2]=0}Dl(b);i=m;return}function Mg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=d+76|0;if((c[(j&p)>>2]|0)==1691352191?(Jl(d)|0)==0:0){Kl(d,0);Ll(d);i=d+20|0;k=d+16|0;e=c[(k&p)>>2]|0;if((c[(i&p)>>2]|0)>0){h=0;do{g=e+(h<<4)+4|0;f=c[(g&p)>>2]|0;if((f|0)!=0?(Ml(f),c[(g&p)>>2]=0,(h|0)!=1):0)c[(e+(h<<4)&p)+12>>2]=0;h=h+1|0;e=c[(k&p)>>2]|0}while((h|0)<(c[(i&p)>>2]|0))}e=c[(e&p)+28>>2]|0;if(e)ql(e);rl(d);sl(d);h=0;do{e=c[(d+(h<<2)&p)+336>>2]|0;if(e)do{g=e;e=c[(e&p)+28>>2]|0;if(g)do{Nl(d,g);f=g;g=c[(g&p)+8>>2]|0;mg(d,f)}while((g|0)!=0)}while((e|0)!=0);h=h+1|0}while((h|0)!=23);f=d+428|0;e=c[(d&p)+436>>2]|0;if(e)do{h=c[(e&p)+8>>2]|0;g=c[(h&p)+16>>2]|0;if(g)cc[g&31](c[(h&p)+8>>2]|0);g=c[(h&p)+36>>2]|0;if(g)cc[g&31](c[(h&p)+28>>2]|0);g=c[(h&p)+56>>2]|0;if(g)cc[g&31](c[(h&p)+48>>2]|0);mg(d,h);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(f);h=d+308|0;e=c[(d&p)+316>>2]|0;if(e)do{g=c[(e&p)+8>>2]|0;f=c[(g&p)+12>>2]|0;if(f)cc[f&31](c[(g&p)+8>>2]|0);mg(d,g);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(h);c[(d&p)+52>>2]=0;f=d+236|0;e=c[(f&p)>>2]|0;do if(e){g=e+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(e);e=c[(f&p)>>2]|0;break}}else e=0;while(0);Mh(e);g=d+168|0;if((c[(g&p)>>2]|0)>0){e=d+172|0;f=0;do{h=c[(d&p)>>2]|0;jc[c[(h&p)+52>>2]&15](h,c[((c[(e&p)>>2]|0)+(f<<2)&p)>>2]|0);f=f+1|0}while((f|0)<(c[(g&p)>>2]|0))}else e=d+172|0;mg(d,c[(e&p)>>2]|0);c[(j&p)>>2]=-1254786768;mg(d,c[((c[(k&p)>>2]|0)&p)+28>>2]|0);c[(j&p)>>2]=-1623446221;if(a[(d&n)+251>>0]|0)Wc(c[(d&p)+276>>2]|0);Wc(d)}return}function Ng(a){a=a|0;var b=0;b=c[(a&p)+40>>2]|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Pg(a)|0;else b=0;Pl(a);return b|0}function Og(b,d){b=b|0;d=d|0;do if(b)if((a[(b&n)+65>>0]|0)!=0|(d|0)==3082){Ql(b);b=7;break}else{b=c[(b&p)+56>>2]&d;break}else b=d&255;while(0);return b|0}function Pg(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;f=c[(a&p)>>2]|0;Rl(a)|0;if((c[(a&p)+76>>2]|0)>-1){hh(a)|0;d=a+44|0;mg(f,c[(d&p)>>2]|0);c[(d&p)>>2]=0;d=a+88|0;e=b[(d&o)>>1]|0;if(e&16)b[(d&o)>>1]=e|8}else{d=c[(a&p)+80>>2]|0;if((d|0)!=0?(b[(a&o)+88>>1]&8)!=0:0){h=a+44|0;k=c[(h&p)>>2]|0;c[(e&p)>>2]=k;ug(f,d,(k|0)!=0?10344:0,e);mg(f,c[(h&p)>>2]|0);c[(h&p)>>2]=0}}d=a+44|0;mg(c[(a&p)>>2]|0,c[(d&p)>>2]|0);c[(d&p)>>2]=0;c[(a&p)+20>>2]=0;d=a+136|0;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(a&p)+40>>2]=649915045;i=g;return c[(f&p)+56>>2]&c[(a&p)+80>>2]|0}function Qg(a){a=a|0;var d=0;if(b[(a&o)+8>>1]&9312)vg(a);d=a+24|0;if(c[(d&p)>>2]|0){mg(c[(a&p)+32>>2]|0,c[(a&p)+20>>2]|0);c[(d&p)>>2]=0}c[(a&p)+16>>2]=0;return}function Rg(a){a=a|0;var d=0,f=0,g=0;d=a+8|0;if(b[(d&o)>>1]&16384){f=a+12|0;g=(c[(a&p)>>2]|0)+(c[(f&p)>>2]|0)|0;if(!(eh(a,(g|0)<1?1:g,1)|0)){fw((c[(a&p)+16>>2]|0)+(c[(f&p)>>2]|0)|0,0,c[(a&p)>>2]|0)|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+(c[(a&p)>>2]|0);b[(d&o)>>1]=(e[(d&o)>>1]|0)&48639;d=0}else d=7}else d=0;return d|0}function Sg(d,e){d=d|0;e=e|0;var f=0;do if(d){f=b[(d&o)+8>>1]|0;if((f&514)==514?(a[(d&n)+10>>0]|0)==e<<24>>24:0){f=c[(d&p)+16>>2]|0;break}if(!(f&1))f=Sl(d,e)|0;else f=0}else f=0;while(0);return f|0}function Tg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=a+8|0;f=b[(e&o)>>1]|0;if(!(f&16))if(!(Sg(a,d)|0))e=0;else{f=b[(e&o)>>1]|0;g=4}else g=4;if((g|0)==4){e=c[(a&p)+12>>2]|0;if(f&16384)e=(c[(a&p)>>2]|0)+e|0}return e|0}function Ug(b){b=b|0;var d=0.0,f=0,g=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;f=e[(b&o)+8>>1]|0;do if(!(f&8)){if(f&4){f=b;d=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0);break}if(!(f&18))d=0.0;else{h[(g&q)>>3]=0.0;Tl(c[(b&p)+16>>2]|0,g,c[(b&p)+12>>2]|0,a[(b&n)+10>>0]|0)|0;d=+h[(g&q)>>3]}}else d=+h[(b&q)>>3];while(0);i=k;return +d}function Vg(b){b=b|0;var d=0.0,f=0,g=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;f=e[(b&o)+8>>1]|0;do if(!(f&4)){if(!(f&8)){if(!(f&18)){b=0;f=0;break}f=g;c[(f&p)>>2]=0;c[(f&p)+4>>2]=0;Ul(c[(b&p)+16>>2]|0,g,c[(b&p)+12>>2]|0,a[(b&n)+10>>0]|0)|0;f=g;b=c[(f&p)+4>>2]|0;f=c[(f&p)>>2]|0;break}d=+h[(b&q)>>3];if(!(d<=-9223372036854775808.0))if(!(d>=9223372036854775808.0)){b=+R(d)>=1.0?(d>0.0?~~+da(+Q(d/4294967296.0),4294967295.0)>>>0:~~+ba((d-+(~~d>>>0))/4294967296.0)>>>0):0;f=~~d>>>0}else{b=2147483647;f=-1}else{b=-2147483648;f=0}}else{f=b;b=c[(f&p)+4>>2]|0;f=c[(f&p)>>2]|0}while(0);G=b;i=k;return f|0}function Wg(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((Xg(c[(b&p)>>2]|0,d,e,f,g)|0)==18){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}return}function Xg(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;a:do if(!f){j=d+8|0;if(!(b[(j&o)>>1]&9312)){b[(j&o)>>1]=1;j=0;break}else{vg(d);j=0;break}}else{r=d+32|0;j=c[(r&p)>>2]|0;if(!j)u=1e9;else u=c[(j&p)+88>>2]|0;t=h<<24>>24==0;q=t?16:2;if((g|0)<0){b:do if(h<<24>>24!=1)if((u|0)<0)k=0;else{g=0;while(1){k=g+2|0;if(!((a[(f+(g|1)&n)>>0]|a[(f+g&n)>>0])<<24>>24)){k=g;break b}if((k|0)>(u|0))break;else g=k}}else{k=f;while(1)if(!(a[(k&n)>>0]|0))break;else k=k+1|0;k=k-f&1073741823;k=(k|0)>(u|0)?u+1|0:k}while(0);s=k;m=(q&65535|512)&65535}else{s=g;m=q}do if((i|0)==(-1|0)){if(!(m&512))j=s;else j=s+(h<<24>>24==1?1:2)|0;if((s|0)>(u|0)){j=18;break a}if(fh(d,(j|0)>32?j:32)|0){j=7;break a}kw(c[(d&p)+16>>2]|0,f|0,j|0)|0;q=d+8|0;j=m}else{g=(i|0)==75;l=d+8|0;if(!((b[(l&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);c[(d&p)+16>>2]=f;if(!g){c[(d&p)+36>>2]=i;q=l;j=(m&65535|((i|0)==0?2048:1024))&65535;break}c[(d&p)+20>>2]=f;j=c[(r&p)>>2]|0;do if(!j)j=lc[c[8792>>2]&127](f)|0;else{if((c[(j&p)+276>>2]|0)>>>0<=f>>>0?(c[(j&p)+280>>2]|0)>>>0>f>>>0:0){j=e[(j&o)+248>>1]|0;break}j=lc[c[8792>>2]&127](f)|0}while(0);c[(d&p)+24>>2]=j;q=l;j=m}while(0);m=d+12|0;c[(m&p)>>2]=s;b[(q&o)>>1]=j;f=t?1:h;l=d+10|0;a[(l&n)>>0]=f;do if(f<<24>>24!=1&(s|0)>1){g=d+16|0;k=c[(g&p)>>2]|0;j=a[(k&n)>>0]|0;k=a[(k&n)+1>>0]|0;if(!(j<<24>>24==-1&k<<24>>24==-2))if(k<<24>>24!=-1|j<<24>>24!=-2)break;else j=3;else j=2;if(Vl(d)|0){j=7;break a}f=(c[(m&p)>>2]|0)+-2|0;c[(m&p)>>2]=f;i=c[(g&p)>>2]|0;lw(i|0,i+2|0,f|0)|0;a[((c[(g&p)>>2]|0)+(c[(m&p)>>2]|0)&n)>>0]=0;a[((c[(g&p)>>2]|0)+(c[(m&p)>>2]|0)&n)+1>>0]=0;b[(q&o)>>1]=e[(q&o)>>1]|512;a[(l&n)>>0]=j}while(0);j=(s|0)>(u|0)?18:0}while(0);return j|0}function Yg(a,c){a=a|0;c=+c;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g+8|0;f=g;d=a+8|0;if(!(b[(d&o)>>1]&9312))b[(d&o)>>1]=1;else vg(a);h[(e&q)>>3]=c;h[(f&q)>>3]=+h[(e&q)>>3];if(!(+h[(e&q)>>3]!=+h[(f&q)>>3])){h[(a&q)>>3]=c;b[(d&o)>>1]=8}i=g;return}function Zg(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=a+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else vg(a);c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4;return}function _g(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=a+8|0;if(b[(f&o)>>1]&9312)vg(a);c[(a&p)>>2]=c[(d&p)>>2];c[(a&p)+4>>2]=c[(d&p)+4>>2];c[(a&p)+8>>2]=c[(d&p)+8>>2];c[(a&p)+12>>2]=c[(d&p)+12>>2];c[(a&p)+16>>2]=c[(d&p)+16>>2];h=e[(f&o)>>1]|0;g=h&64511;b[(f&o)>>1]=g;if((h&18|0)!=0?(b[(d&o)+8>>1]&2048)==0:0){b[(f&o)>>1]=g|4096;f=Vl(a)|0}else f=0;return f|0}function $g(d,e){d=d|0;e=e|0;var f=0;f=d+8|0;if(!((b[(f&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);b[(f&o)>>1]=16400;c[(d&p)+12>>2]=0;c[(d&p)>>2]=(e|0)<0?0:e;a[(d&n)+10>>0]=1;c[(d&p)+16>>2]=0;return}function ah(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;if(a)if(!(c[(a&p)>>2]|0)){bd(21,47360,b);a=1}else a=0;else{bd(21,47320,b);a=1}i=d;return a|0}function bh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0.0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;if((c[(a&p)>>2]|0)>1?(d=c[(a&p)+72>>2]|0,(d|0)!=0):0)d=rc[d&127](a,b)|0;else{d=rc[c[(a&p)+64>>2]&127](a,e)|0;g=+h[(e&q)>>3]*864.0e5;a=+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0;c[(b&p)>>2]=~~g>>>0;c[(b&p)+4>>2]=a}i=f;return d|0}function ch(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:do if((d|0)!=0&(e|0)!=0){i=d+(e*40|0)|0;j=c[(d&p)+32>>2]|0;g=j+65|0;h=a[(g&n)>>0]|0;if(c[(j&p)+520>>2]|0){e=d;while(1){if(c[(e&p)+24>>2]|0)mg(j,c[(e&p)+20>>2]|0);e=e+40|0;if(e>>>0>=i>>>0)break a}}do{e=d+8|0;if(!(b[(e&o)>>1]&9312)){f=d+24|0;if(c[(f&p)>>2]|0){mg(j,c[(d&p)+20>>2]|0);c[(f&p)>>2]=0}}else Qg(d);b[(e&o)>>1]=128;d=d+40|0}while(d>>>0<i>>>0);a[(g&n)>>0]=h}while(0);return}function dh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();g=f;c[(g&p)>>2]=e;e=Wk(b,d,g)|0;mg(b,c[(a&p)>>2]|0);c[(a&p)>>2]=e;i=f;return}function eh(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,q=0;l=a+24|0;g=c[(l&p)>>2]|0;do if((g|0)<(d|0)){k=(d|0)<32?32:d;d=(g|0)>0;if((f|0)!=0&d?(h=a+16|0,i=c[(h&p)>>2]|0,j=a+20|0,(i|0)==(c[(j&p)>>2]|0)):0){g=Wl(c[(a&p)+32>>2]|0,i,k,((k|0)<0)<<31>>31)|0;c[(j&p)>>2]=g;c[(h&p)>>2]=g;f=0}else{g=a+32|0;if(d){d=a+20|0;mg(c[(g&p)>>2]|0,c[(d&p)>>2]|0)}else d=a+20|0;g=mh(c[(g&p)>>2]|0,k,((k|0)<0)<<31>>31)|0;c[(d&p)>>2]=g}if(!g){f=a+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else vg(a);c[(a&p)+16>>2]=0;c[(l&p)>>2]=0;f=7;break}d=c[(a&p)+32>>2]|0;do if(!d)d=lc[c[8792>>2]&127](g)|0;else{if((c[(d&p)+276>>2]|0)>>>0<=g>>>0?(c[(d&p)+280>>2]|0)>>>0>g>>>0:0){d=e[(d&o)+248>>1]|0;break}d=lc[c[8792>>2]&127](g)|0}while(0);c[(l&p)>>2]=d;q=21}else q=21;while(0);if((q|0)==21){if(((f|0)!=0?(m=c[(a&p)+16>>2]|0,(m|0)!=0):0)?(n=c[(a&p)+20>>2]|0,(m|0)!=(n|0)):0)kw(n|0,m|0,c[(a&p)+12>>2]|0)|0;d=a+8|0;f=b[(d&o)>>1]|0;if(!(f&1024))g=a+16|0;else{g=a+16|0;cc[c[(a&p)+36>>2]&31](c[(g&p)>>2]|0);f=b[(d&o)>>1]|0}c[(g&p)>>2]=c[(a&p)+20>>2];b[(d&o)>>1]=f&58367;f=0}return f|0}function fh(a,d){a=a|0;d=d|0;if((c[(a&p)+24>>2]|0)<(d|0))a=eh(a,d,0)|0;else{c[(a&p)+16>>2]=c[(a&p)+20>>2];a=a+8|0;b[(a&o)>>1]=(e[(a&o)>>1]|0)&13;a=0}return a|0}
13 function gh(f){f=f|0;var g=0,l=0,m=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,D=0.0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ea=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,kc=0,nc=0,oc=0,qc=0,sc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,ed=0,fd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0;oe=i;i=i+1040|0;if((i|0)>=(j|0))fa();ke=oe+400|0;Tc=oe+792|0;id=oe+392|0;ad=oe+788|0;Sd=oe+320|0;md=oe+784|0;pd=oe+780|0;qd=oe+280|0;Nd=oe+680|0;$c=oe+240|0;Qd=oe+200|0;_c=oe+676|0;Xc=oe+672|0;Od=oe+160|0;Uc=oe+644|0;td=oe+152|0;Jd=oe+112|0;kd=oe+640|0;Ld=oe+636|0;Yc=oe+632|0;ud=oe+628|0;Ad=oe+624|0;wd=oe+604|0;Bd=oe+600|0;od=oe+596|0;xd=oe+576|0;Sc=oe+840|0;Cd=oe+572|0;Pd=oe+104|0;Dd=oe+568|0;ed=oe+564|0;fd=oe+96|0;Rd=oe+88|0;Ed=oe+560|0;Fd=oe+556|0;Gd=oe+552|0;yd=oe+532|0;zd=oe+512|0;jd=oe+508|0;vd=oe+504|0;Zc=oe+488|0;Md=oe+48|0;Vc=oe+456|0;Rc=oe+444|0;Kd=oe+8|0;sd=oe+440|0;Id=oe+412|0;Hd=oe;zc=f+4|0;s=c[(zc&p)>>2]|0;le=c[(f&p)>>2]|0;Jc=a[(le&n)+62>>0]|0;Nc=f+8|0;z=c[(Nc&p)>>2]|0;ne=le+32|0;l=ne;m=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;me=f+80|0;a:do if((c[(me&p)>>2]|0)==7){y=le+65|0;z=f+44|0;r=m;g=0;t=0;m=0;ie=1317}else{c[(me&p)>>2]=0;de=f+136|0;c[(de&p)>>2]=0;c[(de&p)+4>>2]=0;de=f+20|0;c[(de&p)>>2]=0;c[(le&p)+452>>2]=0;Cc=le+240|0;b:do if(!(c[(Cc&p)>>2]|0)){be=le+292|0;if(c[(be&p)>>2]|0){r=c[(f&p)+124>>2]|0;g=le+300|0;y=c[(g&p)>>2]|0;if(!r)yc=g;else{yc=g;y=(r>>>0)%(y>>>0)|0}}else{yc=le+300|0;y=0}he=f+76|0;ge=le+65|0;Zd=le+296|0;sb=f+176|0;tb=f+184|0;ub=f+92|0;vb=le+80|0;wb=le+84|0;xb=Jc&255;yb=Jc<<24>>24==1;zb=le+88|0;Ab=f+60|0;_d=f+144|0;fe=f+86|0;je=f+44|0;Bb=f+12|0;Cb=Uc+4|0;Db=Uc+16|0;Eb=Uc+12|0;Fb=Uc+25|0;Gb=Uc+20|0;Hb=f+200|0;Ib=f+56|0;$d=f+72|0;Jb=Jd+16|0;Kb=Jd+8|0;Lb=Jd+24|0;Mb=f+87|0;ae=le+156|0;Nb=le+500|0;Ob=le+496|0;ee=le+63|0;Pb=le+488|0;Qb=le+504|0;Rb=le+512|0;Sb=le+70|0;Tb=le+24|0;Ub=le+20|0;Xd=le+16|0;Vb=le+4|0;Yd=f+88|0;Wb=f+104|0;Xb=f+152|0;Yb=f+160|0;Zb=le+152|0;_b=le+64|0;$b=wd+4|0;cc=wd+6|0;dc=wd+8|0;ec=xd+4|0;fc=xd+8|0;gc=le+212|0;hc=le+208|0;ic=f+116|0;kc=yd+4|0;nc=yd+6|0;oc=yd+8|0;qc=$c+8|0;sc=$c+32|0;uc=$c+24|0;vc=$c+16|0;wc=$c+12|0;xc=zd+4|0;Y=zd+6|0;Z=zd+8|0;_=qd+8|0;$=qd+32|0;aa=qd+24|0;ea=qd+12|0;ga=qd+16|0;ha=le+164|0;ia=Zc+8|0;ja=Zc+4|0;ka=le+145|0;la=Zc+12|0;ma=Sd+4|0;na=Sd+12|0;oa=Sd+16|0;pa=Sd+20|0;qa=Sd+24|0;ra=Sd+28|0;sa=Sd+8|0;ta=Sd+40|0;ua=Sd+44|0;va=Sd+48|0;wa=Sd+52|0;xa=Sd+56|0;ya=Sd+60|0;za=Sd+64|0;Aa=Sd+65|0;Ba=le+128|0;Ca=f+28|0;Da=f+36|0;Ea=f+32|0;Fa=f+196|0;Ga=Vc+4|0;Ha=Vc+8|0;Ia=Md+8|0;Ja=Md+32|0;Ka=Md+24|0;La=Vc+20|0;Ma=Vc+12|0;Na=Vc+16|0;Oa=Vc+24|0;Pa=Rc+8|0;Qa=Rc+4|0;Ra=le+148|0;Sa=le+176|0;Ta=le+72|0;Ua=le+67|0;Va=Tc+20|0;Wa=Tc+24|0;Xa=Tc+4|0;Ya=Tc+16|0;Za=le+304|0;_a=le+328|0;$a=Kd+32|0;ab=Kd+8|0;bb=Kd+24|0;cb=le+308|0;db=Id+20|0;eb=le+69|0;ce=f+168|0;fb=qd+4|0;gb=qd+8|0;hb=qd+12|0;ib=qd+16|0;jb=qd+20|0;kb=qd+24|0;lb=qd+25|0;mb=le+180|0;nb=Od+32|0;ob=Od+8|0;pb=Od+12|0;qb=Od+16|0;rb=Od+24|0;W=0;X=0;g=0;u=0;t=c[(he&p)>>2]|0;x=0;c:while(1){r=m;d:while(1){if(a[(ge&n)>>0]|0){y=ge;z=je;m=x;ie=1317;break a}m=g+1|0;if(!(a[(s+(t*20|0)&n)+2>>0]&2))L=u;else{u=c[(s+(t*20|0)&p)+8>>2]|0;g=z+(u*40|0)|0;u=z+(u*40|0)+8|0;if(b[(u&o)>>1]&9312)vg(g);b[(u&o)>>1]=4;L=g}C=s+(t*20|0)|0;J=a[(C&n)>>0]|0;u=J&255;e:do switch(u|0){case 17:{g=m;m=r;u=L;ie=22;break d}case 18:{g=m;m=r;u=L;ie=23;break d}case 20:{g=m;m=r;ie=24;break d}case 21:{g=m;m=r;u=L;ie=25;break d}case 22:{g=m;m=r;u=L;ie=26;break d}case 23:{g=m;m=r;u=L;r=t;ie=27;break d}case 29:{g=m;m=r;r=t;ie=65;break d}case 30:{g=m;m=r;u=L;r=t;ie=66;break d}case 28:{g=m;m=r;u=L;r=t;ie=60;break d}case 32:{g=m;m=r;r=t;ie=72;break d}case 24:{g=m;m=r;u=L;r=t;ie=28;break d}case 25:{g=m;m=r;u=L;r=t;ie=44;break d}case 26:{g=m;m=r;u=L;r=t;ie=45;break d}case 133:{g=m;m=r;u=L;r=t;ie=46;break d}case 97:{a[(C&n)>>0]=27;C=s+(t*20|0)+16|0;v=c[(C&p)>>2]|0;if(!v)g=0;else{g=v;while(1)if(!(a[(g&n)>>0]|0))break;else g=g+1|0;g=g-v&1073741823}w=s+(t*20|0)+4|0;c[(w&p)>>2]=g;if(yb)u=0;else{u=Xg(L,v,-1,1,0)|0;if((u|0)==18){g=m;m=r;u=x;ie=1316;break c}if(Yl(L,xb)|0){y=ge;z=je;g=m;m=x;ie=1317;break a}c[(L&p)+24>>2]=0;g=L+8|0;b[(g&o)>>1]=e[(g&o)>>1]|2048;g=s+(t*20|0)+1|0;if((a[(g&n)>>0]|0)==-1)mg(le,c[(C&p)>>2]|0);a[(g&n)>>0]=-1;v=c[(L&p)+16>>2]|0;c[(C&p)>>2]=v;g=c[(L&p)+12>>2]|0;c[(w&p)>>2]=g}if((g|0)>(c[(zb&p)>>2]|0)){g=m;m=r;u=x;ie=1316;break c}else ie=57;break}case 31:{g=m;m=r;u=L;r=t;ie=67;break d}case 34:{g=m;m=r;r=t;ie=79;break d}case 35:{g=m;m=r;u=x;ie=80;break c}case 33:{g=m;m=r;ie=74;break d}case 94:{g=m;m=r;ie=94;break d}case 93:case 92:case 91:case 90:case 89:{g=m;P=C;m=r;r=t;ie=112;break d}case 27:{v=c[(s+(t*20|0)&p)+16>>2]|0;g=c[(s+(t*20|0)&p)+4>>2]|0;u=0;ie=57;break}case 16:{t=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;u=0;ie=19;break}case 36:{g=m;m=r;J=L;r=t;ie=166;break d}case 1:{V=a[(s+(t*20|0)&n)+3>>0]|0;C=V&255;A=c[(Bb&p)>>2]|0;g=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0)|0;c[(Uc&p)>>2]=g;if(V<<24>>24){g=0;u=z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0)|0;while(1){c[(A+(g<<2)&p)>>2]=u;if((b[(u&o)+8>>1]&4096)!=0?(Vl(u)|0)!=0:0){y=ge;z=je;g=m;m=x;ie=1317;break a}g=g+1|0;if((g|0)>=(C|0))break;else u=u+40|0}g=c[(Uc&p)>>2]|0}V=c[(s+(t*20|0)&p)+16>>2]|0;c[(Cb&p)>>2]=V;c[(Db&p)>>2]=t;c[(Eb&p)>>2]=f;U=g+8|0;b[(U&o)>>1]=e[(U&o)>>1]&48640|1;a[(Fb&n)>>0]=0;U=ne;c[(U&p)>>2]=r;c[(U&p)+4>>2]=l;mc[c[(V&p)+12>>2]&63](Uc,C,A);l=ne;r=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if(!(a[(Fb&n)>>0]|0))g=0;else{if(!(c[(Gb&p)>>2]|0))g=0;else{c[(ke&p)>>2]=Sg(c[(Uc&p)>>2]|0,1)|0;dh(je,le,10344,ke);g=c[(Gb&p)>>2]|0}em(f,t,c[(s+(t*20|0)&p)+4>>2]|0)}Yl(c[(Uc&p)>>2]|0,xb)|0;w=c[(Uc&p)>>2]|0;v=e[(w&o)+8>>1]|0;if(v&18){u=c[(w&p)+12>>2]|0;if(v&16384)u=(c[(w&p)>>2]|0)+u|0;if((u|0)>(c[((c[(w&p)+32>>2]|0)&p)+88>>2]|0)){g=m;m=r;u=x;ie=1316;break c}else{C=L;T=t;u=g}}else{C=L;T=t;u=g}break}case 88:case 87:case 86:case 85:{g=m;H=C;m=r;r=t;ie=184;break d}case 39:{g=m;m=r;J=L;r=t;ie=208;break d}case 37:{g=m;m=r;u=L;r=t;ie=202;break d}case 38:{g=m;m=r;J=L;r=t;ie=203;break d}case 83:case 80:case 81:case 82:case 78:case 79:{g=m;I=J;m=r;u=L;ie=213;break d}case 40:{V=c[(s+(t*20|0)&p)+4>>2]|0;g=z+(V*40|0)|0;if(!(b[(z+(V*40|0)&o)+8>>1]&16384))u=0;else u=Rg(g)|0;gm(g,c[(s+(t*20|0)&p)+8>>2]&255,Jc);C=L;T=t;break}case 41:{g=m;m=r;u=L;r=t;ie=248;break d}case 42:{g=m;m=r;u=L;r=t;ie=249;break d}case 43:{g=m;m=r;u=L;ie=256;break d}case 71:case 72:{g=m;m=r;r=t;ie=261;break d}case 76:{g=m;m=r;u=L;r=t;ie=286;break d}case 19:{g=m;m=r;r=t;ie=268;break d}case 96:{g=m;m=r;r=t;ie=273;break d}case 44:{g=m;m=r;u=L;r=t;ie=278;break d}case 46:case 45:{g=m;m=r;u=L;r=t;ie=281;break d}case 77:{g=m;m=r;u=L;r=t;ie=288;break d}case 47:{g=m;m=r;u=L;ie=290;break d}case 48:{g=m;m=r;u=L;r=t;ie=368;break d}case 49:{g=m;m=r;ie=371;break d}case 50:{E=c[(c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]&p)>>2]|0;f:do if(c[(E&p)+60>>2]|0){g=qm(E)|0;if(!g){K=E+76|0;H=E+44|0;F=E+72|0;v=0;u=0;g:while(1){C=b[(K&o)>>1]|0;J=c[(E+(C<<16>>16<<2)&p)+120>>2]|0;if(!(a[(J&n)+5>>0]|0)){if(!(a[(J&n)+2>>0]|0)){v=jw(e[(J&o)+18>>1]|0,0,v|0,u|0)|0;u=G}}else{v=jw(e[(J&o)+18>>1]|0,0,v|0,u|0)|0;u=G;while(1){if(!(C<<16>>16))break g;if(J){Bg(c[(J&p)+68>>2]|0);C=b[(K&o)>>1]|0}C=C+-1<<16>>16;b[(K&o)>>1]=C;b[(H&o)>>1]=0;a[(F&n)>>0]=d[(F&n)>>0]&249;J=C<<16>>16;A=E+(J<<1)+78|0;I=b[(A&o)>>1]|0;J=c[(E+(J<<2)&p)+120>>2]|0;if((I&65535)<(e[(J&o)+18>>1]|0)){C=I;break}}b[(A&o)>>1]=C+1<<16>>16;J=b[(K&o)>>1]|0;C=J;J=c[(E+(J<<16>>16<<2)&p)+120>>2]|0}C=b[(E+(C<<16>>16<<1)&o)+78>>1]|0;A=c[(J&p)+56>>2]|0;if(C<<16>>16==(b[(J&o)+18>>1]|0)){g=d[(J&n)+6>>0]|0;g=rm(E,d[(A+g&n)+9>>0]<<16|d[(A+g&n)+8>>0]<<24|d[(A+g&n)+10>>0]<<8|d[(A+g&n)+11>>0])|0}else{g=(C&65535)<<1;V=c[(J&p)+64>>2]|0;g=(d[(V+g&n)>>0]<<8|d[(V+(g|1)&n)>>0])&e[(J&o)+20>>1];g=rm(E,d[(A+g&n)+1>>0]<<16|d[(A+g&n)>>0]<<24|d[(A+g&n)+2>>0]<<8|d[(A+g&n)+3>>0])|0}if(g){v=0;u=0;break f}}g=qm(E)|0}else{v=0;u=0}}else{g=0;v=0;u=0}while(0);C=L;c[(C&p)>>2]=v;c[(C&p)+4>>2]=u;C=L;T=t;u=g;break}case 2:{O=c[(s+(t*20|0)&p)+4>>2]|0;v=c[(s+(t*20|0)&p)+16>>2]|0;if(!O){g=m;m=r;r=t;ie=446;break d}g=c[(Pb&p)>>2]|0;if(!g){s=v;g=m;m=r;u=x;ie=460;break c}else u=0;while(1){if(!(dd(c[(g&p)>>2]|0,v)|0)){M=g;break}g=c[(g&p)+24>>2]|0;if(!g){s=v;g=m;m=r;u=x;ie=460;break c}else u=u+1|0}H=(O|0)==1;if((c[(ae&p)>>2]|0)>0&H){g=m;m=r;u=x;ie=462;break c}F=M+24|0;if(!(c[(F&p)>>2]|0)){A=(a[(Sb&n)>>0]|0)!=0;if(A&H){g=tm(f,1)|0;if(g)break a;a[(ee&n)>>0]=1;if((Rl(f)|0)==5){g=t;ie=467;break c}a[(Sb&n)>>0]=0;A=1;K=u;u=c[(me&p)>>2]|0}else ie=469}else{A=0;ie=469}if((ie|0)==469){ie=0;K=(c[(Ob&p)>>2]|0)-u+-1|0;if((O|0)==2){C=(c[(Tb&p)>>2]|0)>>>1&1;if((c[(Ub&p)>>2]|0)>0){J=C^1;I=0;while(1){u=Il(c[((c[(Xd&p)>>2]|0)+(I<<4)&p)+4>>2]|0,516,J)|0;I=I+1|0;if(u){g=m;m=r;ie=1318;break c}g=c[(Ub&p)>>2]|0;if((I|0)>=(g|0)){ie=475;break}}}}else{g=c[(Ub&p)>>2]|0;C=0;ie=475}if((ie|0)==475){ie=0;if((g|0)>0){E=0;do{u=um(c[((c[(Xd&p)>>2]|0)+(E<<4)&p)+4>>2]|0,O,K)|0;E=E+1|0;if(u){g=m;m=r;ie=1318;break c}}while((E|0)<(c[(Ub&p)>>2]|0))}}if(!C)u=0;else{C=c[(Vb&p)>>2]|0;if(C)do{V=C+88|0;b[(V&o)>>1]=b[(V&o)>>1]|8;C=c[(C&p)+52>>2]|0}while((C|0)!=0);Eg(le);c[(Tb&p)>>2]=c[(Tb&p)>>2]|2;u=0}}C=c[(Pb&p)>>2]|0;if((C|0)!=(M|0))do{c[(Pb&p)>>2]=c[(C&p)+24>>2];mg(le,C);c[(Ob&p)>>2]=(c[(Ob&p)>>2]|0)+-1;C=c[(Pb&p)>>2]|0}while((C|0)!=(M|0));if(H){c[(Pb&p)>>2]=c[(F&p)>>2];mg(le,M);if(A){C=L;T=t;break e}else{g=m;C=O;m=r;A=K;E=L;r=t;ie=486;break d}}else{V=M+8|0;U=c[(V&p)+4>>2]|0;T=Qb;c[(T&p)>>2]=c[(V&p)>>2];c[(T&p)+4>>2]=U;T=M+16|0;U=c[(T&p)+4>>2]|0;V=Rb;c[(V&p)>>2]=c[(T&p)>>2];c[(V&p)+4>>2]=U;if(A){C=L;T=t;break e}else{C=O;g=m;m=r;A=K;E=L;r=t;ie=488;break d}}}case 3:{u=x;ie=489;break c}case 4:{v=s+(t*20|0)+8|0;g=c[(v&p)>>2]|0;if((g|0)!=0?(c[(Tb&p)>>2]&33554432|0)!=0:0){g=m;m=r;u=8;ie=1318;break c}I=s+(t*20|0)+4|0;J=c[((c[(Xd&p)>>2]|0)+(c[(I&p)>>2]<<4)&p)+4>>2]|0;if(!J){v=0;u=0;g=0}else{u=yg(J,g)|0;if((u|0)==5){g=t;ie=508;break c}else if(u){g=m;m=r;ie=1318;break c}do if((c[(v&p)>>2]|0)!=0?(b[(Yd&o)>>1]&32)!=0:0){if((a[(ee&n)>>0]|0)!=0?(c[(Zb&p)>>2]|0)<=1:0){g=0;break}g=c[(Wb&p)>>2]|0;if(!g){g=(c[(Nb&p)>>2]|0)+1|0;c[(Nb&p)>>2]=g;g=(c[(Ob&p)>>2]|0)+g|0;c[(Wb&p)>>2]=g}g=sm(le,0,g+-1|0)|0;if(!g){g=c[(Wb&p)>>2]|0;V=c[(J&p)+4>>2]|0;c[(V&p)+4>>2]=c[(J&p)>>2];g=hl(c[(V&p)>>2]|0,g)|0}V=Qb;U=c[(V&p)+4>>2]|0;T=Xb;c[(T&p)>>2]=c[(V&p)>>2];c[(T&p)+4>>2]=U;T=Rb;U=c[(T&p)+4>>2]|0;V=Yb;c[(V&p)>>2]=c[(T&p)>>2];c[(V&p)+4>>2]=U}else g=0;while(0);v=c[(J&p)+4>>2]|0;c[(v&p)+4>>2]=c[(J&p)>>2];v=c[((c[(v&p)+12>>2]|0)&p)+56>>2]|0;v=d[(v&n)+41>>0]<<16|d[(v&n)+40>>0]<<24|d[(v&n)+42>>0]<<8|d[(v&n)+43>>0];u=c[((c[((c[(Xd&p)>>2]|0)+(c[(I&p)>>2]<<4)&p)+12>>2]|0)&p)+4>>2]|0}if(a[(s+(t*20|0)&n)+3>>0]|0){if((v|0)!=(c[(s+(t*20|0)&p)+12>>2]|0)){g=m;s=I;m=r;u=x;ie=522;break c}if((u|0)!=(c[(s+(t*20|0)&p)+16>>2]|0)){g=m;s=I;m=r;u=x;ie=522;break c}else{C=L;T=t;u=g}}else{C=L;T=t;u=g}break}case 53:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;if((g|0)!=0?(c[(g&p)+28>>2]|0)==(c[(s+(t*20|0)&p)+8>>2]|0):0){v=s+(t*20|0)+3|0;u=0;ie=548}else ie=536;break}case 51:{g=m;m=r;u=L;r=t;ie=525;break d}case 52:{A=s+(t*20|0)+4|0;g=c[(A&p)>>2]|0;v=c[(Xd&p)>>2]|0;C=c[(s+(t*20|0)&p)+12>>2]|0;w=z+(C*40|0)|0;u=Vg(w)|0;V=w;c[(V&p)>>2]=u;c[(V&p)+4>>2]=G;C=z+(C*40|0)+8|0;b[(C&o)>>1]=e[(C&o)>>1]&48640|4;C=s+(t*20|0)+8|0;u=Dg(c[(v+(g<<4)&p)+4>>2]|0,c[(C&p)>>2]|0,u)|0;C=c[(C&p)>>2]|0;if((C|0)==1){c[(c[(v+(g<<4)&p)+12>>2]&p)>>2]=c[(w&p)>>2];c[(Tb&p)>>2]=c[(Tb&p)>>2]|2}else if((C|0)==2)a[((c[(v+(g<<4)&p)+12>>2]|0)&n)+76>>0]=c[(w&p)>>2];if((c[(A&p)>>2]|0)==1){g=c[(Vb&p)>>2]|0;if(g)do{V=g+88|0;b[(V&o)>>1]=b[(V&o)>>1]|8;g=c[(g&p)+52>>2]|0}while((g|0)!=0);b[(Yd&o)>>1]=b[(Yd&o)>>1]&-9;C=L;T=t}else{C=L;T=t}break}case 55:case 54:{ie=536;break}case 57:case 56:{g=xm(f,c[(s+(t*20|0)&p)+4>>2]|0,c[(s+(t*20|0)&p)+8>>2]|0,-1,1)|0;if(!g){y=ge;z=je;g=m;m=x;ie=1317;break a}a[(g&n)+25>>0]=1;J=g+27|0;a[(J&n)>>0]=a[(J&n)>>0]|1;v=g+4|0;I=s+(t*20|0)+3|0;u=zm(c[(le&p)>>2]|0,0,le,v,d[(I&n)>>0]|5,1054)|0;do if(!u){u=yg(c[(v&p)>>2]|0,1)|0;if(!u){A=c[(s+(t*20|0)&p)+16>>2]|0;C=c[(v&p)>>2]|0;if(!A){u=ym(C,1,1,0,c[(g&p)>>2]|0)|0;a[(J&n)>>0]=a[(J&n)>>0]|4;break}u=Am(C,ud,d[(I&n)>>0]|2)|0;if(!u){c[(g&p)+8>>2]=A;u=ym(c[(v&p)>>2]|0,c[(ud&p)>>2]|0,1,A,c[(g&p)>>2]|0)|0}a[(J&n)>>0]=a[(J&n)>>0]&-5}}while(0);a[(J&n)>>0]=((a[(I&n)>>0]|0)!=8&1)<<3&255|a[(J&n)>>0]&-9;C=L;T=t;break}case 58:{g=m;m=r;ie=558;break d}case 60:{g=m;m=r;u=L;ie=568;break d}case 61:{g=m;m=r;u=L;r=t;ie=570;break d}case 59:{g=m;m=r;u=L;r=t;ie=566;break d}case 65:case 64:case 63:case 62:{g=m;K=u;m=r;r=t;ie=571;break d}case 66:{g=m;m=r;u=L;r=t;ie=596;break d}case 69:case 68:case 67:{g=m;H=C;m=r;u=L;ie=597;break d}case 73:{g=m;m=r;u=L;r=t;ie=624;break d}case 70:{V=c[(s+(t*20|0)&p)+12>>2]|0;g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;u=c[(g&p)>>2]|0;c[(Cd&p)>>2]=0;V=z+(V*40|0)|0;U=c[(V&p)>>2]|0;V=c[(V&p)+4>>2]|0;u=Cm(u,0,U,V,0,Cd)|0;v=g+48|0;c[(v&p)>>2]=U;c[(v&p)+4>>2]=V;a[(g&n)+25>>0]=0;c[(g&p)+60>>2]=0;a[(g&n)+26>>0]=0;v=c[(Cd&p)>>2]|0;if(v)t=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;c[(g&p)+12>>2]=v;C=L;T=t;break}case 74:{H=Pd;c[(H&p)>>2]=0;c[(H&p)+4>>2]=0;c[(Dd&p)>>2]=0;H=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;g=c[(H&p)>>2]|0;if(!g){u=0;v=0;g=0}else{K=H+27|0;do if(!(a[(K&n)>>0]&2)){u=Hm(g,Dd)|0;if(u){g=m;m=r;ie=1318;break c}if(c[(Dd&p)>>2]|0){V=Pd;c[(V&p)>>2]=1;c[(V&p)+4>>2]=0;break}km(c[(H&p)>>2]|0,Pd);u=Pd;g=c[(u&p)>>2]|0;u=c[(u&p)+4>>2]|0;if((g|0)==-1&(u|0)==2147483647){a[(K&n)>>0]=a[(K&n)>>0]|2;break}else{U=jw(g|0,u|0,1,0)|0;V=Pd;c[(V&p)>>2]=U;c[(V&p)+4>>2]=G;break}}while(0);J=c[(s+(t*20|0)&p)+12>>2]|0;if(J){g=c[(sb&p)>>2]|0;if(!g)C=z;else{while(1){u=c[(g&p)+4>>2]|0;if(!u)break;else g=u}C=c[(g&p)+16>>2]|0}I=C+(J*40|0)|0;A=Vg(I)|0;g=G;V=I;c[(V&p)>>2]=A;c[(V&p)+4>>2]=g;V=C+(J*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|4;if((A|0)==-1&(g|0)==2147483647){g=m;m=r;u=13;ie=1318;break c}if(a[(K&n)>>0]&2){g=m;m=r;u=13;ie=1318;break c}J=Pd;u=c[(J&p)>>2]|0;J=c[(J&p)+4>>2]|0;C=jw(A|0,g|0,1,0)|0;g=G;if((J|0)<(g|0)|(J|0)==(g|0)&u>>>0<C>>>0){V=Pd;c[(V&p)>>2]=C;c[(V&p)+4>>2]=g}else{C=u;g=J}V=I;c[(V&p)>>2]=C;c[(V&p)+4>>2]=g}h:do if(!(a[(K&n)>>0]&2))g=0;else{u=0;while(1){cd(8,Pd);V=Pd;V=jw(c[(V&p)>>2]|0,c[(V&p)+4>>2]&1073741823|0,1,0)|0;g=G;U=Pd;c[(U&p)>>2]=V;c[(U&p)+4>>2]=g;g=Cm(c[(H&p)>>2]|0,0,V,g,0,Dd)|0;if(c[(Dd&p)>>2]|g)break h;u=u+1|0;if((u|0)>=100){g=m;m=r;u=13;ie=1318;break c}}}while(0);a[(H&n)+26>>0]=0;c[(H&p)+60>>2]=0;v=Pd;u=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0}C=L;c[(C&p)>>2]=u;c[(C&p)+4>>2]=v;C=L;T=t;u=g;break}case 84:case 75:{g=m;C=J;m=r;u=L;r=t;ie=647;break d}case 95:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;u=Jm(c[(g&p)>>2]|0)|0;c[(g&p)+60>>2]=0;if((((u|0)==0?(Gc=c[(gc&p)>>2]|0,(Gc|0)!=0):0)?(Hc=c[(s+(t*20|0)&p)+16>>2]|0,(Hc|0)!=0):0)?(a[(g&n)+27>>0]&4)!=0:0){V=g+48|0;bc[Gc&1](c[(hc&p)>>2]|0,9,c[((c[(Xd&p)>>2]|0)+(a[(g&n)+24>>0]<<4)&p)>>2]|0,Hc,c[(V&p)>>2]|0,c[(V&p)+4>>2]|0)}if(!(c[(s+(t*20|0)&p)+8>>2]&1)){C=L;T=t}else{c[(ub&p)>>2]=(c[(ub&p)>>2]|0)+1;C=L;T=t}break}case 98:{g=m;m=r;u=L;r=t;ie=671;break d}case 99:{g=m;m=r;u=L;r=t;ie=672;break d}case 100:{v=c[(s+(t*20|0)&p)+8>>2]|0;C=z+(v*40|0)|0;g=c[((c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0)&p)+56>>2]|0;if(!(a[(g&n)+56>>0]|0)){u=c[(g&p)+36>>2]|0;g=u;u=u+8|0}else{V=c[(g&p)+20>>2]|0;u=c[((c[(V&p)+8>>2]|0)&p)+4>>2]|0;V=c[(V&p)+12>>2]|0;g=V+(u*56|0)+20|0;u=c[(V+(u*56|0)&p)+32>>2]|0}g=c[(g&p)>>2]|0;if(!(fh(C,g)|0)){c[(z+(v*40|0)&p)+12>>2]=g;V=z+(v*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|16;kw(c[(z+(v*40|0)&p)+16>>2]|0,u|0,g|0)|0;u=0}else u=7;c[((c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+12>>2]<<2)&p)>>2]|0)&p)+60>>2]=0;T=t;break}case 102:case 101:{v=c[(s+(t*20|0)&p)+8>>2]|0;J=z+(v*40|0)|0;A=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;C=c[(A&p)>>2]|0;A=A+27|0;if(a[(A&n)>>0]&4){lm(C,ed);g=c[(ed&p)>>2]|0;if(g>>>0>(c[(zb&p)>>2]|0)>>>0){g=m;m=r;u=x;ie=1316;break c}}else{km(C,fd);T=fd;g=c[(T&p)>>2]|0;T=c[(T&p)+4>>2]|0;V=c[(zb&p)>>2]|0;U=((V|0)<0)<<31>>31;if((T|0)>(U|0)|(T|0)==(U|0)&g>>>0>V>>>0){g=m;m=r;u=x;ie=1316;break c}c[(ed&p)>>2]=g}if(fh(J,g>>>0>32?g:32)|0){y=ge;z=je;g=m;m=x;ie=1317;break a}c[(z+(v*40|0)&p)+12>>2]=g;g=z+(v*40|0)+8|0;b[(g&o)>>1]=e[(g&o)>>1]&48640|16;g=c[(ed&p)>>2]|0;u=c[(z+(v*40|0)&p)+16>>2]|0;if(!(a[(A&n)>>0]&4))u=Lm(C,0,g,u,0)|0;else u=Dh(C,0,g,u)|0;a[(z+(v*40|0)&n)+10>>0]=1;C=J;T=t;break}case 103:{v=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;w=v+25|0;if(a[(w&n)>>0]|0){g=m;m=r;u=L;r=t;ie=700;break d}do if(!(a[(v&n)+26>>0]|0)){g=c[(v&p)+32>>2]|0;if(g){V=c[(g&p)>>2]|0;u=rc[c[((c[(V&p)>>2]|0)&p)+48>>2]&127](g,Rd)|0;Mm(f,V);break}if((a[((c[(v&p)>>2]|0)&n)+73>>0]|0)!=1){u=jm(v)|0;if(u){g=m;m=r;ie=1318;break c}if(a[(w&n)>>0]|0){g=m;m=r;u=L;r=t;ie=708;break d}}km(c[(v&p)>>2]|0,Rd);u=0}else{U=v+48|0;V=c[(U&p)+4>>2]|0;u=Rd;c[(u&p)>>2]=c[(U&p)>>2];c[(u&p)+4>>2]=V;u=0}while(0);V=Rd;T=c[(V&p)+4>>2]|0;C=L;c[(C&p)>>2]=c[(V&p)>>2];c[(C&p)+4>>2]=T;C=L;T=t;break}case 108:{ie=715;break}case 104:{g=m;m=r;u=L;r=t;ie=711;break d}case 107:case 106:{c[(ic&p)>>2]=(c[(ic&p)>>2]|0)+1;ie=715;break}case 105:{T=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;u=c[(T&p)>>2]|0;c[(Ed&p)>>2]=0;u=Hm(u,Ed)|0;V=c[(Ed&p)>>2]|0;a[(T&n)+25>>0]=V;a[(T&n)+26>>0]=0;c[(T&p)+60>>2]=0;T=c[(s+(t*20|0)&p)+8>>2]|0;C=L;T=(T|0)>0&(V|0)!=0?T+-1|0:t;break}case 7:case 6:{if(!(c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0)){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}else ie=765;break}case 5:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;c[(Fd&p)>>2]=0;w=c[(g&p)+56>>2]|0;if(a[(w&n)+56>>0]|0){u=Wm(c[(w&p)+20>>2]|0,Fd)|0;ie=766;break e}u=w+36|0;v=c[(u&p)>>2]|0;V=v+4|0;c[(u&p)>>2]=c[(V&p)>>2];c[(V&p)>>2]=0;if(!((c[(w&p)+40>>2]|0)!=0|(v|0)==0))mg(le,v);c[(Fd&p)>>2]=(c[(u&p)>>2]|0)==0&1;u=0;ie=766;break}case 9:case 8:{ie=765;break}case 110:case 109:{A=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;S=c[(s+(t*20|0)&p)+8>>2]|0;u=c[(A&p)>>2]|0;C=s+(t*20|0)+3|0;if(a[(C&n)>>0]&1)c[(ub&p)>>2]=(c[(ub&p)>>2]|0)+1;if((b[(z+(S*40|0)&o)+8>>1]&16384)!=0?(Ud=Rg(z+(S*40|0)|0)|0,(Ud|0)!=0):0){g=m;m=r;s=Ud;u=x;ie=1309;break c}H=c[(A&p)+56>>2]|0;T=z+(S*40|0)+12|0;P=c[(T&p)>>2]|0;if(!H){if(!(a[(C&n)>>0]&16))g=0;else g=c[(A&p)+12>>2]|0;u=Im(u,c[(z+(S*40|0)&p)+16>>2]|0,P,((P|0)<0)<<31>>31,10360,0,0,c[(s+(t*20|0)&p)+12>>2]|0,g)|0;c[(A&p)+60>>2]=0;C=L;T=t;break e}C=P;g=((P|0)<0)<<31>>31;A=0;do{A=A+1|0;C=mw(C|0,g|0,7)|0;g=G}while(((C|0)!=0|(g|0)!=0)&(A|0)<9);K=P+8|0;I=A+P|0;M=H+4|0;A=c[(M&p)>>2]|0;do if(!A)u=0;else{if(!(c[(H&p)+40>>2]|0)){C=H+44|0;V=c[(C&p)>>2]|0;if((V|0)<=(A|0)?!((c[2265]|0)!=0?(V|0)>(c[(H&p)>>2]|0):0):0){u=0;break}}else{V=c[(H&p)+48>>2]|0;if(!((V|0)!=0&(V+K|0)>(A|0))){u=0;break}C=H+44|0}u=Om(H)|0;c[(C&p)>>2]=0;c[(H&p)+48>>2]=0}while(0);C=H+36|0;J=H+44|0;c[(J&p)>>2]=(c[(J&p)>>2]|0)+I;J=H+8|0;if((I|0)>(c[(J&p)>>2]|0))c[(J&p)>>2]=I;E=H+40|0;J=c[(E&p)>>2]|0;if(!J){g=qg(K,((K|0)<0)<<31>>31)|0;if(!g){g=m;m=r;s=7;u=x;ie=1309;break c}c[(g&p)+4>>2]=c[(C&p)>>2]}else{g=H+48|0;I=c[(g&p)>>2]|0;K=I+K|0;F=H+52|0;H=c[(F&p)>>2]|0;if((K|0)>(H|0)){I=H;do I=I<<1;while((I|0)<(K|0));V=c[(M&p)>>2]|0;I=(I|0)>(V|0)?V:I;I=(I|0)<(K|0)?K:I;J=rg(J,I,((I|0)<0)<<31>>31)|0;if(!J){g=m;m=r;s=7;u=x;ie=1309;break c}A=J+((c[(C&p)>>2]|0)-(c[(E&p)>>2]|0))|0;c[(C&p)>>2]=A;c[(E&p)>>2]=J;c[(F&p)>>2]=I;I=c[(g&p)>>2]|0}else A=c[(C&p)>>2]|0;c[(g&p)>>2]=I+(P+15&-8);c[(J+I&p)+4>>2]=A-J;g=J+I|0}kw(g+8|0,c[(z+(S*40|0)&p)+16>>2]|0,c[(T&p)>>2]|0)|0;c[(g&p)>>2]=c[(T&p)>>2];c[(C&p)>>2]=g;C=L;T=t;break}case 112:{g=m;m=r;r=t;ie=801;break d}case 111:{v=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;g=c[(v&p)>>2]|0;c[(yd&p)>>2]=c[(v&p)+8>>2];b[(kc&o)>>1]=c[(s+(t*20|0)&p)+12>>2];a[(nc&n)>>0]=0;c[(oc&p)>>2]=z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0);u=Cm(g,yd,0,0,0,Gd)|0;if(!(c[(Gd&p)>>2]|u))u=Jm(g)|0;c[(v&p)+60>>2]=0;C=L;T=t;break}case 116:case 115:case 114:case 113:{u=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;c[(zd&p)>>2]=c[(u&p)+8>>2];b[(xc&o)>>1]=c[(s+(t*20|0)&p)+16>>2];a[(Y&n)>>0]=((J&255)<115)<<31>>31;c[(Z&p)>>2]=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0);V=Sd;c[(V&p)>>2]=0;c[(V&p)+4>>2]=0;km(c[(u&p)>>2]|0,Sd);V=Sd;g=c[(V&p)>>2]|0;V=jw(g|0,c[(V&p)+4>>2]|0,-1,-1)|0;U=G;if(!(U>>>0>0|(U|0)==0&V>>>0>2147483646)){b[(_&o)>>1]=0;c[($&p)>>2]=le;c[(aa&p)>>2]=0;g=nm(c[(u&p)>>2]|0,0,g,1,qd)|0;if(!g){u=Km(c[(ea&p)>>2]|0,c[(ga&p)>>2]|0,zd,0)|0;if((b[(_&o)>>1]&9312)==0&(c[(aa&p)>>2]|0)==0)g=0;else{Qg(qd);g=0}}else u=0}else{c[(ke&p)>>2]=68730;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);g=11;u=0}if((((a[(C&n)>>0]&1)==0?u+1|0:0-u|0)|0)>0){C=L;T=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;u=g}else{C=L;T=t;u=g}break}case 117:{O=L+8|0;b[(O&o)>>1]=1;if((c[(Zb&p)>>2]|0)>((c[(ha&p)>>2]|0)+1|0)){g=m;m=r;u=x;ie=832;break c}N=c[(s+(t*20|0)&p)+12>>2]|0;M=c[((c[(Xd&p)>>2]|0)+(N<<4)&p)+4>>2]|0;P=s+(t*20|0)+4|0;I=c[(P&p)>>2]|0;C=M+4|0;K=c[(C&p)>>2]|0;c[(K&p)+4>>2]=c[(M&p)>>2];c[(ke&p)>>2]=0;do if(!(c[(K&p)+8>>2]|0)){u=dl(K,I,ke,0)|0;if(!u){u=Xm(M,I,0)|0;if(u){g=c[(ke&p)>>2]|0;if(!g){A=0;break}Bg(c[(g&p)+68>>2]|0);A=0;break}if(I>>>0<=1){g=c[(ke&p)>>2]|0;pl(g,9);if(!g){u=0;A=0;break}Bg(c[(g&p)+68>>2]|0);u=0;A=0;break}if(!(a[(K&n)+17>>0]|0)){g=c[(ke&p)>>2]|0;u=Ym(c[(g&p)+52>>2]|0,g,c[(g&p)+72>>2]|0)|0;if(!g){A=0;break}Bg(c[(g&p)+68>>2]|0);A=0;break}J=c[(C&p)>>2]|0;c[(J&p)+4>>2]=c[(M&p)>>2];J=c[((c[(J&p)+12>>2]|0)&p)+56>>2]|0;J=d[(J&n)+53>>0]<<16|d[(J&n)+52>>0]<<24|d[(J&n)+54>>0]<<8|d[(J&n)+55>>0];C=c[(ke&p)>>2]|0;if((J|0)==(I|0)){u=Ym(c[(C&p)+52>>2]|0,C,c[(C&p)+72>>2]|0)|0;if(C)Bg(c[(C&p)+68>>2]|0);if(!u)A=0;else{A=0;break}}else{if(C)Bg(c[(C&p)+68>>2]|0);u=dl(K,J,Sd,0)|0;if(u){A=0;break}C=c[(Sd&p)>>2]|0;u=Zm(K,C,1,0,I,0)|0;if(C)Bg(c[(C&p)+68>>2]|0);if(u){A=0;break}c[(Sd&p)>>2]=0;u=dl(K,J,Sd,0)|0;C=c[(Sd&p)>>2]|0;if(u){if(!C){A=0;break}}else u=Ym(c[(C&p)+52>>2]|0,C,c[(C&p)+72>>2]|0)|0;Bg(c[(C&p)+68>>2]|0);if(!u)A=J;else{A=0;break}}H=((c[2514]|0)>>>0)/((c[(K&p)+32>>2]|0)>>>0)|0;F=H+1|0;I=K+36|0;while(1){C=J+-1|0;if((C|0)==(F|0)){J=C;continue}if(C>>>0<2)E=0;else{E=J+-3|0;E=E-((E>>>0)%(((((c[(I&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;E=((E+1|0)==(H|0)?3:2)+E|0}if((E|0)==(C|0))J=C;else break}u=Dg(M,4,C)|0}else A=0}else{u=262;A=0}while(0);b[(O&o)>>1]=4;V=L;c[(V&p)>>2]=A;c[(V&p)+4>>2]=((A|0)<0)<<31>>31;if((u|0)==0&(A|0)!=0){g=m;K=N;C=P;m=r;u=L;r=t;ie=865;break d}else{C=L;T=t}break}case 118:{c[(jd&p)>>2]=0;g=s+(t*20|0)+12|0;u=Xm(c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+8>>2]<<4)&p)+4>>2]|0,c[(s+(t*20|0)&p)+4>>2]|0,(c[(g&p)>>2]|0)!=0?jd:0)|0;g=c[(g&p)>>2]|0;if((g|0)!=0?(Ic=c[(jd&p)>>2]|0,c[(ub&p)>>2]=(c[(ub&p)>>2]|0)+Ic,(g|0)>0):0){C=z+(g*40|0)|0;T=C;T=jw(c[(T&p)>>2]|0,c[(T&p)+4>>2]|0,Ic|0,((Ic|0)<0)<<31>>31|0)|0;c[(C&p)>>2]=T;c[(C&p)+4>>2]=G;C=L;T=t}else{C=L;T=t}break}case 121:case 120:{c[(vd&p)>>2]=0;u=Am(c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)+4>>2]|0,vd,J<<24>>24==121?1:2)|0;T=c[(vd&p)>>2]|0;C=L;c[(C&p)>>2]=T;c[(C&p)+4>>2]=((T|0)<0)<<31>>31;C=L;T=t;break}case 119:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;u=c[(g&p)+56>>2]|0;if(u){g=m;m=r;J=L;r=t;ie=878;break d}u=c[(g&p)>>2]|0;C=L;T=t;u=Xm(c[(u&p)>>2]|0,c[(u&p)+60>>2]|0,0)|0;break}case 123:{C=L;T=t;u=an(le,c[(s+(t*20|0)&p)+4>>2]|0)|0;break}case 124:{g=m;m=r;u=L;r=t;ie=886;break d}case 122:{g=m;m=r;J=L;r=t;ie=881;break d}case 126:{g=m;m=r;u=L;r=t;ie=895;break d}case 125:{g=m;m=r;J=L;r=t;ie=887;break d}case 127:{g=m;m=r;u=L;ie=903;break d}case 128:{g=m;m=r;J=L;ie=947;break d}case 129:{w=c[(s+(t*20|0)&p)+4>>2]|0;v=z+(w*40|0)|0;w=z+(w*40|0)+8|0;g=b[(w&o)>>1]|0;do if(g&32){E=c[(v&p)>>2]|0;u=E+26|0;g=b[(u&o)>>1]|0;if(!(g&2)){if(!(g&1)){g=E+8|0;c[(g&p)>>2]=kn(c[(g&p)>>2]|0)|0;g=b[(u&o)>>1]|0}b[(u&o)>>1]=g&65535|2}C=E+8|0;A=c[(C&p)>>2]|0;if(!A){g=b[(w&o)>>1]|0;break}w=A;v=c[(w&p)>>2]|0;w=c[(w&p)+4>>2]|0;V=c[(A&p)+8>>2]|0;c[(C&p)>>2]=V;if(!V)Zk(E);u=c[(s+(t*20|0)&p)+12>>2]|0;g=z+(u*40|0)|0;u=z+(u*40|0)+8|0;if(!(b[(u&o)>>1]&9312)){ie=g;c[(ie&p)>>2]=v;c[(ie&p)+4>>2]=w;b[(u&o)>>1]=4;u=0;ie=19;break e}else{Zg(g,v,w);u=0;ie=19;break e}}while(0);if(!(g&9312))b[(w&o)>>1]=1;else vg(v);t=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;u=0;ie=19;break}case 130:{g=m;m=r;u=L;ie=966;break d}case 131:{g=m;m=r;u=L;r=t;ie=993;break d}case 132:{g=m;m=r;u=L;r=t;ie=1009;break d}case 134:{g=m;m=r;J=L;r=t;ie=1010;break d}case 135:{g=m;m=r;u=L;r=t;ie=1015;break d}case 136:{g=m;m=r;r=t;ie=1022;break d}case 137:{g=m;m=r;u=L;r=t;ie=1028;break d}case 138:{g=m;m=r;u=L;r=t;ie=1030;break d}case 139:{g=m;m=r;J=L;r=t;ie=1032;break d}case 140:{g=m;m=r;u=L;r=t;ie=1034;break d}case 141:{g=m;m=r;u=L;r=t;ie=1036;break d}case 10:{V=a[(s+(t*20|0)&n)+3>>0]|0;g=V&255;u=c[(Bb&p)>>2]|0;if(V<<24>>24){v=0;w=z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0)|0;while(1){c[(u+(v<<2)&p)>>2]=w;v=v+1|0;if((v|0)>=(g|0))break;else w=w+40|0}}V=c[(s+(t*20|0)&p)+16>>2]|0;c[(Ga&p)>>2]=V;U=c[(s+(t*20|0)&p)+12>>2]|0;c[(Ha&p)>>2]=z+(U*40|0);U=z+(U*40|0)+12|0;c[(U&p)>>2]=(c[(U&p)>>2]|0)+1;b[(Ia&o)>>1]=1;c[(Ja&p)>>2]=le;c[(Ka&p)>>2]=0;c[(Vc&p)>>2]=Md;c[(La&p)>>2]=0;c[(Ma&p)>>2]=f;c[(Na&p)>>2]=t;a[(Oa&n)>>0]=0;mc[c[(V&p)+16>>2]&63](Vc,g,u);if(!(c[(La&p)>>2]|0))u=0;else{c[(ke&p)>>2]=Sg(Md,1)|0;dh(je,le,10344,ke);u=c[(La&p)>>2]|0}do if((a[(Oa&n)>>0]|0)!=0?(Mc=c[(s+((t+-1|0)*20|0)&p)+4>>2]|0,(Mc|0)!=0):0){g=z+(Mc*40|0)|0;v=z+(Mc*40|0)+8|0;if(!(b[(v&o)>>1]&9312)){V=g;c[(V&p)>>2]=1;c[(V&p)+4>>2]=0;b[(v&o)>>1]=4;break}else{Zg(g,1,0);break}}while(0);if((b[(Ia&o)>>1]&9312)==0&(c[(Ka&p)>>2]|0)==0){C=L;T=t}else{Qg(Md);C=L;T=t}break}case 11:{c[(Rc&p)>>2]=0;c[(Pa&p)>>2]=-1;c[(Qa&p)>>2]=-1;g=Wh(le,c[(s+(t*20|0)&p)+4>>2]|0,c[(s+(t*20|0)&p)+8>>2]|0,Qa,Pa)|0;if((g|0)==5){c[(Rc&p)>>2]=1;g=0}v=0;w=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0)|0;while(1){C=c[(Rc+(v<<2)&p)>>2]|0;A=((C|0)<0)<<31>>31;u=w+8|0;if(!(b[(u&o)>>1]&9312)){V=w;c[(V&p)>>2]=C;c[(V&p)+4>>2]=A;b[(u&o)>>1]=4}else Zg(w,C,A);v=v+1|0;if((v|0)==3){C=L;T=t;u=g;break}else w=w+40|0}break}case 142:{C=c[(s+(t*20|0)&p)+4>>2]|0;v=z+(C*40|0)|0;u=Yk(v,c[(s+(t*20|0)&p)+16>>2]|0)|0;if(u){c[(ke&p)>>2]=Sg(v,1)|0;dh(je,le,10344,ke)}Yl(v,xb)|0;w=e[(z+(C*40|0)&o)+8>>1]|0;if(w&18){g=c[(z+(C*40|0)&p)+12>>2]|0;if(w&16384)g=(c[(v&p)>>2]|0)+g|0;if((g|0)>(c[((c[(z+(C*40|0)&p)+32>>2]|0)&p)+88>>2]|0)){g=m;m=r;u=x;ie=1316;break c}else{C=L;T=t}}else{C=L;T=t}break}case 12:{g=c[(s+(t*20|0)&p)+12>>2]|0;L=c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)+4>>2]|0;I=c[(c[(L&p)+4>>2]&p)>>2]|0;J=a[(I&n)+5>>0]|0;H=J&255;g=(g|0)==-1?H:g;do if((d[(I&n)+16>>0]|0)>2)g=H;else if((c[(c[(I&p)+64>>2]&p)>>2]|0)!=0?(V=I+72|0,U=c[(V&p)+4>>2]|0,(U|0)>0|(U|0)==0&(c[(V&p)>>2]|0)>>>0>0):0){g=H;break}while(0);if(!(a[(I&n)+15>>0]|0))A=c[(I&p)+168>>2]|0;else A=10360;K=(g|0)==5;if(K)if(A){C=A;while(1)if(!(a[(C&n)>>0]|0))break;else C=C+1|0;if(C-A&1073741823){C=c[(c[(I&p)+60>>2]&p)>>2]|0;if(!(a[(I&n)+4>>0]|0))if((c[(C&p)>>2]|0)>1?!((c[(C&p)+52>>2]|0)==0|(g|0)==(H|0)):0)ie=1077;else{g=H;u=0}else ie=1076}else{g=H;u=0}}else{g=H;u=0}else ie=1076;if((ie|0)==1076){ie=0;if((g|0)==(H|0)){g=H;u=0}else ie=1077}do if((ie|0)==1077){ie=0;C=J<<24>>24==5;if(C|K){if(!(a[(ee&n)>>0]|0)){g=m;s=K;m=r;u=x;ie=1080;break c}if((c[(Zb&p)>>2]|0)>1){g=m;s=K;m=r;u=x;ie=1080;break c}if(!C){if(J<<24>>24==4)sn(I,2)|0}else{J=I+208|0;if(!(c[(J&p)>>2]|0)){c[(_c&p)>>2]=0;u=fl(I,1)|0;if(u)break;u=c[(I&p)>>2]|0;u=pc[c[(u&p)+32>>2]&31](u,c[(I&p)+212>>2]|0,0,_c)|0;if((u|0)==0&(c[(_c&p)>>2]|0)!=0)u=pn(I)|0;if(u)break;if(c[(J&p)>>2]|0)ie=1088}else ie=1088;if((ie|0)==1088){ie=0;u=qn(I)|0;if(u)break;u=rn(c[(J&p)>>2]|0,d[(I&n)+9>>0]|0,c[(I&p)+152>>2]|0,c[(I&p)+200>>2]|0)|0;c[(J&p)>>2]=0;if(u)break}sn(I,g)|0}u=Fg(L,K?2:1)|0}else u=0}while(0);g=sn(I,(u|0)==0?g:H)|0;C=c[(s+(t*20|0)&p)+8>>2]|0;J=z+(C*40|0)|0;b[(z+(C*40|0)&o)+8>>1]=2562;if((g|0)==6){c[(z+(C*40|0)&p)+16>>2]=0;g=0}else{v=c[(g<<2&p)+32216>>2]|0;c[(z+(C*40|0)&p)+16>>2]=v;g=v;while(1)if(!(a[(g&n)>>0]|0))break;else g=g+1|0;g=g-v&1073741823}c[(z+(C*40|0)&p)+12>>2]=g;a[(z+(C*40|0)&n)+10>>0]=1;Yl(J,xb)|0;C=J;T=t;break}case 13:{if(!(a[(ee&n)>>0]|0)){g=m;m=r;u=x;ie=1101;break c}if((c[(Ra&p)>>2]|0)>1){g=m;m=r;u=x;ie=1103;break c}S=c[(Tb&p)>>2]|0;N=c[(vb&p)>>2]|0;w=c[(wb&p)>>2]|0;v=c[(Sa&p)>>2]|0;c[(Tb&p)>>2]=S&-2762753|2107392;c[(Sa&p)>>2]=0;g=c[((c[(Xd&p)>>2]|0)&p)+4>>2]|0;P=g+4|0;I=a[((c[(c[(P&p)>>2]&p)>>2]|0)&n)+15>>0]|0;V=c[(Ub&p)>>2]|0;u=tn(le,je,(a[(_b&n)>>0]|0)==2?42432:42464)|0;J=c[(Ub&p)>>2]|0;if((J|0)>(V|0))M=(c[(Xd&p)>>2]|0)+(J+-1<<4)|0;else M=0;i:do if(!u){O=c[((c[(Xd&p)>>2]|0)+(J+-1<<4)&p)+4>>2]|0;un(O)|0;T=c[(P&p)>>2]|0;c[(T&p)+4>>2]=c[(g&p)>>2];T=(c[(T&p)+32>>2]|0)-(c[(T&p)+36>>2]|0)|0;u=tn(le,je,42488)|0;if(!u){u=tn(le,je,42528)|0;if(!u){u=yg(g,2)|0;if(!u){J=c[(P&p)>>2]|0;if((a[((c[(J&p)>>2]|0)&n)+5>>0]|0)==5)c[(Ta&p)>>2]=0;if(!(xg(O,c[(J&p)+32>>2]|0,T,0)|0)){if(I<<24>>24==0?(xg(O,c[(Ta&p)>>2]|0,T,0)|0)!=0:0){u=7;break}if(a[(ge&n)>>0]|0){u=7;break}J=a[(Ua&n)>>0]|0;do if(J<<24>>24>-1)J=J<<24>>24;else{J=c[(P&p)>>2]|0;c[(J&p)+4>>2]=c[(g&p)>>2];if(!(a[(J&n)+17>>0]|0)){J=0;break}J=(a[(J&n)+18>>0]|0)==0?1:2}while(0);vn(O,J)|0;u=wn(le,je,42536)|0;if(u)break;u=wn(le,je,42688)|0;if(u)break;u=wn(le,je,42792)|0;if(u)break;u=wn(le,je,42912)|0;if(u)break;u=wn(le,je,43112)|0;if(u)break;u=wn(le,je,43232)|0;if(u)break;u=tn(le,je,43392)|0;if(!u)J=0;else break;do{u=d[(J&n)+43576>>0]|0;wm(g,u,ad);u=Dg(O,u,(d[((J|1)&n)+43576>>0]|0)+(c[(ad&p)>>2]|0)|0)|0;J=J+2|0;if(u)break i}while((J|0)<10);H=c[(P&p)>>2]|0;c[(H&p)+4>>2]=c[(g&p)>>2];J=c[(O&p)>>2]|0;K=O+4|0;I=c[(K&p)>>2]|0;c[(I&p)+4>>2]=J;H=c[((c[(H&p)>>2]|0)&p)+60>>2]|0;F=c[(H&p)>>2]|0;if(F){V=c[(I&p)+32>>2]|0;V=sw(c[(I&p)+44>>2]|0,0,V|0,((V|0)<0)<<31>>31|0)|0;u=id;c[(u&p)>>2]=V;c[(u&p)+4>>2]=G;u=ac[c[(F&p)+40>>2]&63](H,11,id)|0;u=(u|0)==12?0:u;if(u)break;J=c[(O&p)>>2]|0}U=Tc+0|0;V=U+48|0;do{c[(U&p)>>2]=0;U=U+4|0}while((U|0)<(V|0));c[(Va&p)>>2]=J;c[(Wa&p)>>2]=O;c[(Xa&p)>>2]=g;c[(Ya&p)>>2]=1;gd(Tc,2147483647)|0;u=hd(Tc)|0;if(u){C=c[(c[((c[(Xa&p)>>2]|0)&p)+4>>2]&p)>>2]|0;if(a[(C&n)+15>>0]|0)break;if(a[(C&n)+12>>0]|0)break;xn(C);break}u=(c[(P&p)>>2]|0)+22|0;b[(u&o)>>1]=e[(u&o)>>1]&65533;u=un(O)|0;if(u)break;J=c[(K&p)>>2]|0;c[(J&p)+4>>2]=c[(O&p)>>2];if(!(a[(J&n)+17>>0]|0))E=0;else E=(a[(J&n)+18>>0]|0)==0?1:2;vn(g,E)|0;u=xg(g,c[((c[(K&p)>>2]|0)&p)+32>>2]|0,T,1)|0}else u=7}}}}while(0);c[(Tb&p)>>2]=S;c[(vb&p)>>2]=N;c[(wb&p)>>2]=w;c[(Sa&p)>>2]=v;xg(g,-1,-1,1)|0;a[(ee&n)>>0]=1;if(M){V=M+4|0;Ml(c[(V&p)>>2]|0);c[(V&p)>>2]=0;c[(M&p)+12>>2]=0}Eg(le);C=L;T=t;break}case 143:{V=c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)+4>>2]|0;I=c[(V&p)+4>>2]|0;c[(I&p)+4>>2]=c[(V&p)>>2];if(!(a[(I&n)+17>>0]|0)){g=m;m=r;u=L;ie=1157;break d}E=I+44|0;H=c[(E&p)>>2]|0;A=I+12|0;C=c[((c[(A&p)>>2]|0)&p)+56>>2]|0;C=d[(C&n)+37>>0]<<16|d[(C&n)+36>>0]<<24|d[(C&n)+38>>0]<<8|d[(C&n)+39>>0];F=El(I,H,C)|0;if(H>>>0<F>>>0){g=m;m=r;u=x;ie=1145;break c}if(!C){g=m;m=r;u=L;ie=1157;break d}J=I+8|0;g=c[(J&p)>>2]|0;do if(g){C=g;do{if(C){ie=1150;break}C=c[2]|0}while((C|0)!=0);if((ie|0)==1150){ie=0;u=Fl(C,0,0)|0;if(u)break;g=c[(J&p)>>2]|0}if(g){do{V=g+72|0;a[(V&n)>>0]=d[(V&n)>>0]&251;g=c[(g&p)+8>>2]|0}while((g|0)!=0);ie=1154}else ie=1154}else ie=1154;while(0);if((ie|0)==1154){ie=0;u=Gl(I,F,H,0)|0;if(!u){u=Gg(c[((c[(A&p)>>2]|0)&p)+68>>2]|0)|0;V=c[((c[(A&p)>>2]|0)&p)+56>>2]|0;U=c[(E&p)>>2]|0;a[(V&n)+28>>0]=U>>>24;a[(V&n)+29>>0]=U>>>16;a[(V&n)+30>>0]=U>>>8;a[(V&n)+31>>0]=U}}if((u|0)==101){g=m;m=r;u=L;ie=1157;break d}else{C=L;T=t}break}case 145:{g=c[(s+(t*20|0)&p)+12>>2]|0;if((g&255|0)==0?(c[(Tb&p)>>2]&16384|0)!=0:0){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}C=c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)+4>>2]|0;A=c[(s+(t*20|0)&p)+8>>2]|0;if(!(a[(C&n)+9>>0]|0)){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}v=g+1&255;w=C+4|0;c[((c[(w&p)>>2]|0)&p)+4>>2]=c[(C&p)>>2];u=bl(C,A,v)|0;if(!u){g=m;m=r;u=L;r=t;ie=1166;break d}if((u&255|0)!=6){g=m;m=r;s=u;u=x;ie=1309;break c}c[(ke&p)>>2]=c[(s+(t*20|0)&p)+16>>2];dh(je,le,42224,ke);C=L;T=t;break}case 144:{g=m;m=r;u=L;r=t;ie=1158;break d}case 146:{J=c[(s+(t*20|0)&p)+16>>2]|0;v=c[(Za&p)>>2]|0;u=(v|0)>0;if(u?(c[(_a&p)>>2]|0)==0:0){u=6;ie=1188}else ie=1179;j:do if((ie|0)==1179){ie=0;if(!J){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}g=J+8|0;w=(c[(c[(g&p)>>2]&p)>>2]|0)+56|0;if(c[(w&p)>>2]|0){if(u){C=c[(_a&p)>>2]|0;A=0;do{if((c[(C+(A<<2)&p)>>2]|0)==(J|0)){u=0;ie=1188;break j}A=A+1|0}while((A|0)<(v|0))}u=yn(le)|0;if(!u){u=lc[c[(w&p)>>2]&127](c[(g&p)>>2]|0)|0;if(!u){u=c[(Za&p)>>2]|0;c[(Za&p)>>2]=u+1;c[((c[(_a&p)>>2]|0)+(u<<2)&p)>>2]=J;u=J+12|0;c[(u&p)>>2]=(c[(u&p)>>2]|0)+1;u=0}}else ie=1188}else u=0}while(0);if((ie|0)==1188){ie=0;if(!J){C=L;T=t;break e}g=J+8|0}Mm(f,c[(g&p)>>2]|0);C=L;T=t;break}case 147:{U=Kd+0|0;V=U+40|0;do{c[(U&p)>>2]=0;U=U+4|0}while((U|0)<(V|0));c[($a&p)>>2]=le;g=_g(Kd,z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0)|0)|0;u=Sg(Kd,1)|0;k:do if(u){v=_h(le,u,c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)>>2]|0)|0;g=c[(c[(v&p)+56>>2]&p)>>2]|0;u=bn(cb,g,Xc)|0;if((u|0)!=0?(Oc=c[(u&p)+8>>2]|0,(Oc|0)!=0):0){g=zn(le,v,Oc,c[((c[(Oc&p)>>2]|0)&p)+4>>2]|0,je)|0;if(g)break;u=v+60|0;g=c[(u&p)>>2]|0;if(!g){g=0;break}while(1){if((c[(g&p)>>2]|0)==(le|0))break;g=c[(g&p)+24>>2]|0;if(!g){g=0;break k}}g=yn(le)|0;if(g)break;g=c[(u&p)>>2]|0;l:do if(!g)g=0;else while(1){if((c[(g&p)>>2]|0)==(le|0))break l;g=c[(g&p)+24>>2]|0;if(!g){g=0;break}}while(0);V=c[(Za&p)>>2]|0;c[(Za&p)>>2]=V+1;c[((c[(_a&p)>>2]|0)+(V<<2)&p)>>2]=g;g=g+12|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;g=0;break}c[(ke&p)>>2]=g;c[(je&p)>>2]=uh(le,28320,ke)|0;g=1}while(0);if((b[(ab&o)>>1]&9312)==0&(c[(bb&p)>>2]|0)==0){C=L;T=t;u=g}else{Qg(Kd);C=L;T=t;u=g}break}case 148:{c[(ha&p)>>2]=(c[(ha&p)>>2]|0)+1;g=_h(le,c[(s+(t*20|0)&p)+16>>2]|0,c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)>>2]|0)|0;m:do if((g|0)!=0?(Pc=g+60|0,Qc=c[(Pc&p)>>2]|0,(Qc|0)!=0):0){u=Qc;do{if((c[((c[(u&p)+8>>2]|0)&p)+4>>2]|0)>0){u=6;break m}u=c[(u&p)+24>>2]|0}while((u|0)!=0);g=Ok(le,g)|0;v=g+8|0;u=lc[c[((c[(c[(g&p)+4>>2]&p)>>2]|0)&p)+20>>2]&127](c[(v&p)>>2]|0)|0;if(!u){c[(v&p)>>2]=0;c[(Pc&p)>>2]=0;An(g);u=0}}else u=0;while(0);c[(ha&p)>>2]=(c[(ha&p)>>2]|0)+-1;C=L;T=t;break}case 149:{g=m;m=r;u=L;r=t;ie=1213;break d}case 150:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;C=c[(s+(t*20|0)&p)+12>>2]|0;A=z+(C*40|0)|0;if(a[(g&n)+25>>0]|0){g=m;m=r;u=L;r=t;ie=1226;break d}V=g+32|0;u=c[(c[(V&p)>>2]&p)>>2]|0;U=c[(u&p)>>2]|0;c[(Id&p)>>2]=0;c[(Id&p)+4>>2]=0;c[(Id&p)+8>>2]=0;c[(Id&p)+12>>2]=0;c[(Id&p)+16>>2]=0;c[(Id&p)+20>>2]=0;c[(Id&p)+24>>2]=0;c[(Id&p)>>2]=A;v=z+(C*40|0)+8|0;b[(v&o)>>1]=e[(v&o)>>1]&48640|1;V=ac[c[(U&p)+44>>2]&63](c[(V&p)>>2]|0,Id,c[(s+(t*20|0)&p)+8>>2]|0)|0;Mm(f,u);u=c[(db&p)>>2]|0;u=(u|0)==0?V:u;Yl(A,xb)|0;v=e[(v&o)>>1]|0;if(v&18){g=c[(z+(C*40|0)&p)+12>>2]|0;if(v&16384)g=(c[(A&p)>>2]|0)+g|0;if((g|0)>(c[((c[(z+(C*40|0)&p)+32>>2]|0)&p)+88>>2]|0)){g=m;m=r;u=x;ie=1316;break c}else{C=L;T=t}}else{C=L;T=t}break}case 14:{A=c[(s+(t*20|0)&p)+12>>2]|0;C=A+1|0;F=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;J=c[(F&p)+32>>2]|0;I=c[(J&p)>>2]|0;H=c[(I&p)>>2]|0;E=c[(z+(C*40|0)&p)>>2]|0;A=c[(z+(A*40|0)&p)>>2]|0;g=c[(Bb&p)>>2]|0;if((E|0)>0){u=0;do{V=u;u=u+1|0;c[(g+(V<<2)&p)>>2]=z+((u+C|0)*40|0)}while((u|0)!=(E|0))}u=tc[c[(H&p)+32>>2]&31](J,A,c[(s+(t*20|0)&p)+16>>2]|0,E,g)|0;Mm(f,I);if((u|0)==0?(lc[c[(H&p)+40>>2]&127](J)|0)!=0:0)t=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;a[(F&n)+25>>0]=0;C=L;T=t;break}case 151:{g=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;if(a[(g&n)+25>>0]|0){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}g=g+32|0;v=c[(g&p)>>2]|0;V=c[(v&p)>>2]|0;u=c[(V&p)>>2]|0;v=lc[c[(u&p)+36>>2]&127](v)|0;Mm(f,V);if((v|0)==0?(lc[c[(u&p)+40>>2]&127](c[(g&p)>>2]|0)|0)!=0:0){u=0;ie=19;break e}t=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;u=v;ie=19;break}case 15:{F=s+(t*20|0)+16|0;v=c[((c[(F&p)>>2]|0)&p)+8>>2]|0;if(!v){g=m;m=r;s=6;u=x;ie=1309;break c}g=c[(v&p)>>2]|0;if(!g){g=m;m=r;s=6;u=x;ie=1309;break c}I=c[(s+(t*20|0)&p)+8>>2]|0;E=g+52|0;C=c[(E&p)>>2]|0;if(!C){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}H=a[(eb&n)>>0]|0;J=c[(Bb&p)>>2]|0;if((I|0)>0){C=0;A=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0)|0;while(1){c[(J+(C<<2)&p)>>2]=A;C=C+1|0;if((C|0)==(I|0))break;else A=A+40|0}C=c[(E&p)>>2]|0}A=s+(t*20|0)+3|0;a[(eb&n)>>0]=a[(A&n)>>0]|0;u=pc[C&31](v,I,J,Hd)|0;a[(eb&n)>>0]=H;Mm(f,v);if(!u){if(c[(s+(t*20|0)&p)+4>>2]|0){l=Hd;r=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;V=ne;c[(V&p)>>2]=r;c[(V&p)+4>>2]=l}}else if((u&255|0)==19?(a[((c[(F&p)>>2]|0)&n)+16>>0]|0)!=0:0){g=a[(A&n)>>0]|0;if(g<<24>>24==5)g=2;else if(g<<24>>24==4){g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}a[(fe&n)>>0]=g;C=L;T=t;break e}c[(ub&p)>>2]=(c[(ub&p)>>2]|0)+1;C=L;T=t;break}case 152:{g=c[((c[(s+(t*20|0)&p)+16>>2]|0)&p)+8>>2]|0;u=c[(s+(t*20|0)&p)+4>>2]|0;v=z+(u*40|0)|0;if(((b[(z+(u*40|0)&o)+8>>1]&2)!=0?(a[(z+(u*40|0)&n)+10>>0]|0)!=1:0)?(Wd=Bn(v,1)|0,(Wd|0)!=0):0){g=m;m=r;s=Wd;u=x;ie=1309;break c}u=rc[c[((c[(g&p)>>2]|0)&p)+76>>2]&127](g,c[(z+(u*40|0)&p)+16>>2]|0)|0;Mm(f,g);b[(Yd&o)>>1]=b[(Yd&o)>>1]&-9;C=L;T=t;break}case 153:{g=m;m=r;u=L;r=t;ie=1257;break d}case 155:{g=m;m=r;ie=1264;break d}case 154:{g=m;m=r;J=L;r=t;ie=1258;break d}default:{g=m;m=r;S=z;T=s;U=W;V=X;u=L;r=t;break d}}while(0);n:do if((ie|0)==57){ie=0;w=L+8|0;b[(w&o)>>1]=2562;c[(L&p)+16>>2]=v;c[(L&p)+12>>2]=g;a[(L&n)+10>>0]=Jc;if((a[(s+(t*20|0)&n)+3>>0]|0)!=0?(V=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0)|0,!((c[(V&p)>>2]|0)==0&(c[(V&p)+4>>2]|0)==0)):0){b[(w&o)>>1]=2576;C=L;T=t}else{C=L;T=t}}else if((ie|0)==536){if(b[(Yd&o)>>1]&8){g=m;m=r;s=516;u=x;ie=1309;break c}C=c[(s+(t*20|0)&p)+8>>2]|0;I=c[(s+(t*20|0)&p)+12>>2]|0;g=c[(Xd&p)>>2]|0;H=c[(g+(I<<4)&p)+4>>2]|0;if(J<<24>>24==55){g=a[((c[(g+(I<<4)&p)+12>>2]|0)&n)+76>>0]|0;if((g&255)<(d[(Mb&n)>>0]|0)){a[(Mb&n)>>0]=g;J=1}else J=1}else J=0;v=s+(t*20|0)+3|0;if(a[(v&n)>>0]&4){V=z+(C*40|0)|0;g=Vg(V)|0;c[(V&p)>>2]=g;c[(V&p)+4>>2]=G;V=z+(C*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|4;if((g|0)<2){g=m;m=r;s=x;ie=542;break c}else E=g}else E=C;u=s+(t*20|0)+1|0;C=a[(u&n)>>0]|0;if(C<<24>>24==-6){A=c[(s+(t*20|0)&p)+16>>2]|0;C=(e[(A&o)+8>>1]|0)+(e[(A&o)+6>>1]|0)|0}else if(C<<24>>24==-14){C=c[(s+(t*20|0)&p)+16>>2]|0;A=0}else{C=0;A=0}g=xm(f,c[(s+(t*20|0)&p)+4>>2]|0,C,I,1)|0;if(!g){y=ge;z=je;g=m;m=x;ie=1317;break a}a[(g&n)+25>>0]=1;V=g+27|0;a[(V&n)>>0]=a[(V&n)>>0]|8;c[(g&p)+28>>2]=E;ie=ym(H,E,J,A,c[(g&p)>>2]|0)|0;c[(g&p)+8>>2]=A;a[(V&n)>>0]=((a[(u&n)>>0]|0)!=-6&1)<<2&255|a[(V&n)>>0]&-5;u=ie;ie=548}else if((ie|0)==715){ie=0;M=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;V=c[(M&p)+56>>2]|0;do if(!V){u=c[(M&p)>>2]|0;g=qm(u)|0;if(!g)if(!(a[(u&n)+73>>0]|0)){v=1;g=0}else{v=0;g=Vm(u)|0}else v=1;a[(M&n)+26>>0]=0;c[(M&p)+60>>2]=0;a[(M&n)+25>>0]=v;if(!v){C=L;T=t;u=g;break n}}else{do if(!(a[(V&n)+56>>0]|0)){g=V+36|0;if(!(c[(g&p)>>2]|0)){g=0;ie=756}else{g=Nm(V+64|0,g)|0;ie=755}}else{g=Om(V)|0;if(!g){U=V+59|0;o:do if(!(a[(U&n)>>0]|0)){u=0;g=0}else{w=0;v=0;p:while(1){T=V+(w<<6)+64|0;c[(ke&p)>>2]=0;S=V+(w<<6)+92|0;C=c[(S&p)>>2]|0;J=((C|0)<0)<<31>>31;do if((C|0)>16){I=16;H=0;E=0;while(1){I=iw(I|0,H|0,4)|0;H=G;F=E+1|0;if(!((H|0)<(J|0)|(H|0)==(J|0)&I>>>0<C>>>0)){H=E;break}else E=F}P=Sd;c[(P&p)>>2]=0;c[(P&p)+4>>2]=0;if((C|0)<17){ie=726;break}u=Qm(16)|0;c[(ke&p)>>2]=u;J=(u|0)==0;I=c[(S&p)>>2]|0;if(!((I|0)>0&(J^1))){g=J?7:0;break}N=(H|0)>0;P=0;O=0;do{c[(qd&p)>>2]=0;g=I-P|0;g=Pm(T,(g|0)<16?g:16,Sd,qd)|0;if(g){ie=747;break p}g=Rm(T,c[(qd&p)>>2]|0,pd)|0;do if(N){I=1;J=1;do{J=J<<4;I=I+1|0}while((I|0)!=(F|0));if(!g){H=1;I=u}else{J=c[(pd&p)>>2]|0;ie=743;break}while(1){K=(c[(I&p)+12>>2]|0)+((((O|0)/(J|0)|0|0)%16|0)*56|0)+48|0;I=c[(K&p)>>2]|0;if(!I){I=Qm(16)|0;if(!I){g=7;ie=738;break}g=Rm(T,I,K)|0;if(g){ie=738;break}I=c[(K&p)>>2]|0}I=c[(I&p)+4>>2]|0;H=H+1|0;if((H|0)>=(F|0)){ie=740;break}else J=(J|0)/16|0}if((ie|0)==738){J=c[(pd&p)>>2]|0;ie=743;break}else if((ie|0)==740){J=c[(pd&p)>>2]|0;ie=742;break}}else{J=c[(pd&p)>>2]|0;if(!g){I=u;ie=742}else ie=743}while(0);if((ie|0)==742){ie=0;c[((c[(I&p)+12>>2]|0)+(((O|0)%16|0)*56|0)&p)+48>>2]=J;g=0}else if((ie|0)==743){ie=0;Sm(J)}O=O+1|0;P=P+16|0;I=c[(S&p)>>2]|0}while((P|0)<(I|0)&(g|0)==0)}else{ie=Sd;c[(ie&p)>>2]=0;c[(ie&p)+4>>2]=0;ie=726}while(0);if((ie|0)==726){ie=0;g=Pm(T,C,Sd,ke)|0;u=c[(ke&p)>>2]|0}w=w+1|0;if(g){ie=746;break}if((w|0)>=(d[(U&n)>>0]|0)){g=0;break o}else v=u}if((ie|0)==746)Tm(u);else if((ie|0)==747)Tm(u);Tm(v);u=0}while(0);if(!g){g=Um(V+64|0,u)|0;c[(V&p)+20>>2]=u;if(!g){g=0;ie=755;break}else u=0}Tm(u);ie=755}else ie=756}while(0);if((ie|0)==755){ie=0;a[(M&n)+25>>0]=0;C=L;T=t;u=g;break n}else if((ie|0)==756){ie=0;a[(M&n)+25>>0]=1;break}}while(0);C=L;T=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;u=g}else if((ie|0)==765){u=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;c[(Fd&p)>>2]=c[(s+(t*20|0)&p)+12>>2];g=u;u=rc[c[(s+(t*20|0)&p)+16>>2]&127](c[(u&p)>>2]|0,Fd)|0;ie=766}while(0);do if((ie|0)==548){ie=0;a[((c[(g&p)>>2]|0)&n)+74>>0]=d[(v&n)>>0]&3;C=L;T=t}else if((ie|0)==766){c[(g&p)+60>>2]=0;g=g+25|0;if(!(c[(Fd&p)>>2]|0)){a[(g&n)>>0]=0;ie=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;t=f+(d[(s+(t*20|0)&n)+3>>0]<<2)+108|0;c[(t&p)>>2]=(c[(t&p)>>2]|0)+1;t=ie;ie=19;break}else{a[(g&n)>>0]=1;ie=19;break}}while(0);if((ie|0)==19){ie=0;if(c[(Cc&p)>>2]|0){u=je;g=m;m=x;break b}g=c[(be&p)>>2]|0;if(!((g|0)==0|m>>>0<y>>>0)){y=c[(yc&p)>>2]|0;if(!(lc[g&127](c[(Zd&p)>>2]|0)|0)){y=y+m-((m>>>0)%(y>>>0)|0)|0;C=L;T=t}else{g=m;s=9;m=x;ie=1311;break a}}else{C=L;T=t}}t=T+1|0;if(!u){g=m;u=C}else{g=m;s=u;m=x;ie=1311;break a}}q:switch(ie|0){case 22:{ie=0;S=c[(s+(t*20|0)&p)+4>>2]|0;b[(z+(S*40|0)&o)+8>>1]=4;S=z+(S*40|0)|0;c[(S&p)>>2]=t;c[(S&p)+4>>2]=((t|0)<0)<<31>>31;S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;break}case 23:{ie=0;S=c[(s+(t*20|0)&p)+4>>2]|0;r=c[(z+(S*40|0)&p)>>2]|0;b[(z+(S*40|0)&o)+8>>1]=128;S=z;T=s;U=W;V=X;break}case 24:{ie=0;r=c[(s+(t*20|0)&p)+4>>2]|0;u=z+(r*40|0)|0;T=(c[(s+(t*20|0)&p)+12>>2]|0)+-1|0;S=u;c[(S&p)>>2]=T;c[(S&p)+4>>2]=((T|0)<0)<<31>>31;b[(z+(r*40|0)&o)+8>>1]=4;r=c[(s+(t*20|0)&p)+8>>2]|0;S=z;T=s;U=W;V=X;r=(r|0)==0?t:r+-1|0;break}case 25:{ie=0;S=c[(s+(t*20|0)&p)+4>>2]|0;r=(c[(s+((c[(z+(S*40|0)&p)>>2]|0)*20|0)&p)+8>>2]|0)+-1|0;b[(z+(S*40|0)&o)+8>>1]=128;S=z;T=s;U=W;V=X;break}case 26:{ie=0;S=c[(s+(t*20|0)&p)+4>>2]|0;b[(z+(S*40|0)&o)+8>>1]=4;S=z+(S*40|0)|0;r=c[(S&p)>>2]|0;c[(S&p)>>2]=t;c[(S&p)+4>>2]=((t|0)<0)<<31>>31;S=z;T=s;U=W;V=X;break}case 27:{ie=0;if(!(b[(z+((c[(s+(r*20|0)&p)+12>>2]|0)*40|0)&o)+8>>1]&1)){S=z;T=s;U=W;V=X}else ie=28;break}case 44:{ie=0;T=c[(s+(r*20|0)&p)+4>>2]|0;S=u;c[(S&p)>>2]=T;c[(S&p)+4>>2]=((T|0)<0)<<31>>31;S=z;T=s;U=W;V=X;break}case 45:{ie=0;U=c[(s+(r*20|0)&p)+16>>2]|0;T=c[(U&p)+4>>2]|0;S=u;c[(S&p)>>2]=c[(U&p)>>2];c[(S&p)+4>>2]=T;S=z;T=s;U=W;V=X;break}case 46:{ie=0;b[(u&o)+8>>1]=8;h[(u&q)>>3]=+h[(c[(s+(r*20|0)&p)+16>>2]&q)>>3];S=z;T=s;U=W;V=X;break}case 60:{ie=0;J=(c[(s+(r*20|0)&p)+12>>2]|0)-(c[(s+(r*20|0)&p)+8>>2]|0)|0;t=(c[(s+(r*20|0)&p)+4>>2]|0)!=0?257:1;b[(u&o)+8>>1]=t;if((J|0)>0){w=J;A=u;do{v=A+48|0;A=A+40|0;if(!(b[(v&o)>>1]&9312))b[(v&o)>>1]=1;else vg(A);b[(v&o)>>1]=t;w=w+-1|0}while((w|0)>0);S=z;T=s;U=W;V=X;u=u+(J*40|0)|0}else{S=z;T=s;U=W;V=X}break}case 65:{ie=0;u=c[(s+(r*20|0)&p)+4>>2]|0;S=z+(u*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&65406|1;S=z;T=s;U=W;V=X;u=z+(u*40|0)|0;break}case 66:{ie=0;Xg(u,c[(s+(r*20|0)&p)+16>>2]|0,c[(s+(r*20|0)&p)+4>>2]|0,0,0)|0;a[(u&n)+10>>0]=Jc;S=z;T=s;U=W;V=X;break}case 67:{ie=0;C=(c[(s+(r*20|0)&p)+4>>2]|0)+-1|0;A=c[(Ab&p)>>2]|0;w=A+(C*40|0)|0;v=e[(A+(C*40|0)&o)+8>>1]|0;if(v&18){t=c[(A+(C*40|0)&p)+12>>2]|0;if(v&16384)t=(c[(w&p)>>2]|0)+t|0;if((t|0)>(c[((c[(A+(C*40|0)&p)+32>>2]|0)&p)+88>>2]|0)){t=r;u=x;ie=1316;break c}}Zl(u,w,2048);S=z;T=s;U=W;V=X;break}case 72:{ie=0;t=c[(s+(r*20|0)&p)+12>>2]|0;v=c[(s+(r*20|0)&p)+8>>2]|0;J=t+v|0;u=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;v=z+(v*40|0)|0;while(1){_l(v,u);t=t+-1|0;if(!t)break;else{u=u+40|0;v=v+40|0}}S=z;T=s;U=W;V=X;u=z+(J*40|0)|0;break}case 74:{ie=0;r=c[(s+(t*20|0)&p)+12>>2]|0;u=z+((c[(s+(t*20|0)&p)+4>>2]|0)*40|0)|0;J=z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0)|0;while(1){Zl(J,u,4096);if((b[(J&o)+8>>1]&4096)!=0?(Vl(J)|0)!=0:0){y=ge;z=je;r=m;m=x;ie=1317;break a}if(!r){S=z;T=s;U=W;V=X;u=J;r=t;break q}r=r+-1|0;u=u+40|0;J=J+40|0}}case 79:{ie=0;u=z+((c[(s+(r*20|0)&p)+8>>2]|0)*40|0)|0;Zl(u,z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0,4096);S=z;T=s;U=W;V=X;break}case 94:{ie=0;K=c[(s+(t*20|0)&p)+4>>2]|0;J=z+(K*40|0)|0;L=c[(s+(t*20|0)&p)+8>>2]|0;I=z+(L*40|0)|0;M=c[(s+(t*20|0)&p)+12>>2]|0;u=z+(M*40|0)|0;H=z+(K*40|0)+8|0;E=b[(H&o)>>1]|0;F=z+(L*40|0)+8|0;C=b[(F&o)>>1]|0;if((C|E)&1){r=z+(M*40|0)+8|0;if(!(b[(r&o)>>1]&9312)){b[(r&o)>>1]=1;S=z;T=s;U=W;V=X;r=t;break}else{vg(u);S=z;T=s;U=W;V=X;r=t;break}}if(E&16384){if(Rg(J)|0){y=ge;z=je;r=m;m=x;ie=1317;break a}C=b[(F&o)>>1]|0}if((C&16384)!=0?(Rg(I)|0)!=0:0){y=ge;z=je;r=m;m=x;ie=1317;break a}if((b[(H&o)>>1]&18)==0?(bm(J,Jc,0)|0)!=0:0){y=ge;z=je;r=m;m=x;ie=1317;break a}if((b[(F&o)>>1]&18)==0?(bm(I,Jc,0)|0)!=0:0){y=ge;z=je;r=m;m=x;ie=1317;break a}E=z+(K*40|0)+12|0;A=z+(L*40|0)+12|0;r=(c[(A&p)>>2]|0)+(c[(E&p)>>2]|0)|0;if((r|0)>(c[(zb&p)>>2]|0)){u=x;ie=1316;break c}v=(M|0)==(L|0);if(eh(u,r+2|0,v&1)|0){y=ge;z=je;r=m;m=x;ie=1317;break a}w=z+(M*40|0)+8|0;b[(w&o)>>1]=e[(w&o)>>1]&48640|2;C=z+(M*40|0)+16|0;if(!v)kw(c[(C&p)>>2]|0,c[(z+(L*40|0)&p)+16>>2]|0,c[(A&p)>>2]|0)|0;kw((c[(C&p)>>2]|0)+(c[(A&p)>>2]|0)|0,c[(z+(K*40|0)&p)+16>>2]|0,c[(E&p)>>2]|0)|0;a[((c[(C&p)>>2]|0)+r&n)>>0]=0;a[((c[(C&p)>>2]|0)+r&n)+1>>0]=0;b[(w&o)>>1]=e[(w&o)>>1]|512;c[(z+(M*40|0)&p)+12>>2]=r;a[(z+(M*40|0)&n)+10>>0]=Jc;S=z;T=s;U=W;V=X;r=t;break}case 112:{ie=0;V=c[(s+(r*20|0)&p)+4>>2]|0;N=z+(V*40|0)|0;S=cm(N)|0;w=c[(s+(r*20|0)&p)+8>>2]|0;O=z+(w*40|0)|0;T=cm(O)|0;U=c[(s+(r*20|0)&p)+12>>2]|0;u=z+(U*40|0)|0;r:do if(!((b[(z+(w*40|0)&o)+8>>1]|b[(z+(V*40|0)&o)+8>>1])&1)){s:do if(!((S&4&T)<<16>>16))L=0;else{t=N;C=c[(t&p)>>2]|0;t=c[(t&p)+4>>2]|0;F=O;v=c[(F&p)>>2]|0;F=c[(F&p)+4>>2]|0;J=d[(P&n)>>0]|0;t:do if((J|0)==89){if((t|0)>-1|(t|0)==-1&C>>>0>4294967295){V=dw(-1,2147483647,v|0,F|0)|0;w=G;if(((F|0)>0|(F|0)==0&v>>>0>0)&((w|0)<(t|0)|(w|0)==(t|0)&V>>>0<C>>>0)){L=1;break s}}else if((F|0)<0?(w=dw(1,-2147483648,v|0,F|0)|0,A=G,V=jw(C|0,t|0,1,0)|0,M=G,(A|0)>(M|0)|(A|0)==(M|0)&w>>>0>V>>>0):0){L=1;break s}v=jw(v|0,F|0,C|0,t|0)|0;t=G}else if((J|0)==91){L=qw(v|0,F|0,0,1)|0;K=G;E=rw(v|0,F|0,0,1)|0;A=G;J=qw(C|0,t|0,0,1)|0;I=G;M=rw(C|0,t|0,0,1)|0;w=G;V=jw(v|0,F|0,-1,0)|0;pe=G;H=jw(C|0,t|0,-1,0)|0;qe=G;H=qe>>>0<1|(qe|0)==1&H>>>0<4294967295;do if(pe>>>0<1|(pe|0)==1&V>>>0<4294967295)if(H){v=sw(v|0,F|0,C|0,t|0)|0;t=G;break t}else{H=sw(J|0,I|0,E|0,A|0)|0;F=G;break}else{if(!H){L=1;break s}H=sw(M|0,w|0,L|0,K|0)|0;F=G}while(0);V=jw(H|0,F|0,-2147483648,0)|0;v=G;if(v>>>0>0|(v|0)==0&V>>>0>4294967295){L=1;break s}J=sw(M|0,w|0,E|0,A|0)|0;I=G;if((I|0)>-1|(I|0)==-1&J>>>0>4294967295){V=dw(-1,2147483647,0,H|0)|0;w=G;if(((F|0)>0|(F|0)==0&H>>>0>0)&((w|0)<(I|0)|(w|0)==(I|0)&V>>>0<J>>>0)){L=1;break s}}else if((F|0)<0?(w=dw(1,-2147483648,0,H|0)|0,t=G,V=jw(J|0,I|0,1,0)|0,v=G,(t|0)>(v|0)|(t|0)==(v|0)&w>>>0>V>>>0):0){L=1;break s}v=jw(0,H|0,J|0,I|0)|0;t=G}else if((J|0)==90){if((C|0)==0&(t|0)==-2147483648){if((F|0)>-1|(F|0)==-1&v>>>0>4294967295){L=1;break s}t=F^-2147483648;break}if((t|0)<0|(t|0)==0&C>>>0<1){V=dw(0,0,C|0,t|0)|0;M=G;w=dw(-1,2147483647,v|0,F|0)|0;A=G;if(((F|0)>0|(F|0)==0&v>>>0>0)&((A|0)<(M|0)|(A|0)==(M|0)&w>>>0<V>>>0)){L=1;break s}}else if((F|0)<0?(w=dw(1,-2147483648,v|0,F|0)|0,A=G,V=dw(1,0,C|0,t|0)|0,M=G,(A|0)>(M|0)|(A|0)==(M|0)&w>>>0>V>>>0):0){L=1;break s}v=dw(v|0,F|0,C|0,t|0)|0;t=G}else if((J|0)==92){if((C|0)==0&(t|0)==0)break r;if((C|0)==-1&(t|0)==-1&((v|0)==0&(F|0)==-2147483648)){L=1;break s}v=qw(v|0,F|0,C|0,t|0)|0;t=G}else{if((C|0)==-1){if((t|0)==-1){C=1;t=0}}else if((C|0)==0?(t|0)==0:0)break r;v=rw(v|0,F|0,C|0,t|0)|0;t=G}while(0);S=u;c[(S&p)>>2]=v;c[(S&p)+4>>2]=t;S=z+(U*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&48640|4;S=z;T=s;U=W;V=X;break q}while(0);D=+Ug(N);B=+Ug(O);C=d[(P&n)>>0]|0;if((C|0)==89)B=D+B;else if((C|0)==90)B=B-D;else if((C|0)==91)B=D*B;else if((C|0)==92){if(D==0.0)break;B=B/D}else{E=~~D>>>0;C=+R(D)>=1.0?(D>0.0?~~+da(+Q(D/4294967296.0),4294967295.0)>>>0:~~+ba((D-+(~~D>>>0))/4294967296.0)>>>0):0;I=~~B>>>0;J=+R(B)>=1.0?(B>0.0?~~+da(+Q(B/4294967296.0),4294967295.0)>>>0:~~+ba((B-+(~~B>>>0))/4294967296.0)>>>0):0;if(!E){if(!C)break}else if((E|0)==-1?(C|0)==-1:0){E=1;C=0}V=rw(I|0,J|0,E|0,C|0)|0;B=+(V>>>0)+4294967296.0*+(G|0)}h[(ke&q)>>3]=B;h[(Sd&q)>>3]=+h[(ke&q)>>3];if(!(+h[(ke&q)>>3]!=+h[(Sd&q)>>3])){h[(u&q)>>3]=B;V=z+(U*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|8;if(((T|S)&8)!=0|L<<24>>24!=0){S=z;T=s;U=W;V=X;break q}dm(u);S=z;T=s;U=W;V=X;break q}}while(0);t=z+(U*40|0)+8|0;if(!(b[(t&o)>>1]&9312)){b[(t&o)>>1]=1;S=z;T=s;U=W;V=X;break}else{vg(u);S=z;T=s;U=W;V=X;break}}case 166:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;if(t){u=z+(t*40|0)|0;t=z+(t*40|0)+8|0;if(!(b[(t&o)>>1]&9312)){S=u;c[(S&p)>>2]=0;c[(S&p)+4>>2]=0;b[(t&o)>>1]=4;S=z;T=s;U=W;V=X;u=J;break}else{Zg(u,0,0);S=z;T=s;U=W;V=X;u=J;break}}else{S=z;T=s;U=W;V=X;u=J}break}case 184:{ie=0;C=c[(s+(r*20|0)&p)+4>>2]|0;t=c[(s+(r*20|0)&p)+8>>2]|0;K=c[(s+(r*20|0)&p)+12>>2]|0;u=z+(K*40|0)|0;if((b[(z+(t*40|0)&o)+8>>1]|b[(z+(C*40|0)&o)+8>>1])&1){t=z+(K*40|0)+8|0;if(!(b[(t&o)>>1]&9312)){b[(t&o)>>1]=1;S=z;T=s;U=W;V=X;break}else{vg(u);S=z;T=s;U=W;V=X;break}}A=Vg(z+(t*40|0)|0)|0;L=G;J=Vg(z+(C*40|0)|0)|0;I=G;t=a[(H&n)>>0]|0;C=t&255;do if(t<<24>>24==86){A=J|A;t=I|L}else if(t<<24>>24!=85)if(!((J|0)==0&(I|0)==0)){if((I|0)<0){t=175-C&255;C=dw(0,0,J|0,I|0)|0;if((I|0)>-1|(I|0)==-1&J>>>0>4294967232){I=G;ie=194}}else{C=J;ie=194}if((ie|0)==194){ie=0;if(!((I|0)>0|(I|0)==0&C>>>0>63)){if(t<<24>>24==87){A=iw(A|0,L|0,C|0)|0;t=G;break}A=mw(A|0,L|0,C|0)|0;t=G;if((L|0)>=0)break;V=dw(64,0,C|0,I|0)|0;V=iw(-1,-1,V|0)|0;A=V|A;t=G|t;break}}if((L|0)>-1|(L|0)==-1&A>>>0>4294967295){A=0;t=0}else{t=(t<<24>>24!=87)<<31>>31;A=t;t=((t|0)<0)<<31>>31}}else t=L;else{A=J&A;t=I&L}while(0);S=u;c[(S&p)>>2]=A;c[(S&p)+4>>2]=t;S=z+(K*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&48640|4;S=z;T=s;U=W;V=X;break}case 202:{ie=0;T=c[(s+(r*20|0)&p)+4>>2]|0;S=z+(T*40|0)|0;U=Vg(S)|0;T=z+(T*40|0)+8|0;b[(T&o)>>1]=e[(T&o)>>1]&48640|4;T=c[(s+(r*20|0)&p)+8>>2]|0;T=jw(U|0,G|0,T|0,((T|0)<0)<<31>>31|0)|0;c[(S&p)>>2]=T;c[(S&p)+4>>2]=G;S=z;T=s;U=W;V=X;break}case 203:{ie=0;u=c[(s+(r*20|0)&p)+4>>2]|0;v=z+(u*40|0)+8|0;t=b[(v&o)>>1]|0;if(!(t&4)){fm(z+(u*40|0)|0,67,Jc);t=b[(v&o)>>1]|0;if(!(t&4)){E=c[(s+(r*20|0)&p)+8>>2]|0;if(!E){t=r;u=20;ie=1318;break c}S=z;T=s;U=W;V=X;u=J;r=E+-1|0;break}}b[(v&o)>>1]=t&48640|4;S=z;T=s;U=W;V=X;u=J;break}case 208:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;u=z+(t*40|0)+8|0;if(!(b[(u&o)>>1]&4)){S=z;T=s;U=W;V=X;u=J}else{S=z+(t*40|0)|0;h[(S&q)>>3]=+Ug(S);b[(u&o)>>1]=e[(u&o)>>1]&48640|8;S=z;T=s;U=W;V=X;u=J}break}case 213:{ie=0;N=c[(s+(t*20|0)&p)+4>>2]|0;L=z+(N*40|0)|0;w=c[(s+(t*20|0)&p)+12>>2]|0;K=z+(w*40|0)|0;N=z+(N*40|0)+8|0;F=b[(N&o)>>1]|0;w=z+(w*40|0)+8|0;M=b[(w&o)>>1]|0;H=F&65535;A=M&65535;v=s+(t*20|0)+3|0;J=d[(v&n)>>0]|0;do if(!((M|F)&1)){J=J&71;if(J>>>0>66){if((H&14|0)==2){rh(L,0);A=b[(w&o)>>1]|0}else A=M;if((A&14)==2){rh(K,0);J=F;E=M}else{J=F;E=M}}else if((J|0)==66){if((H&2|0)!=0|(H&12|0)==0){I=M;J=F}else{bm(L,Jc,1)|0;I=b[(w&o)>>1]|0;J=(e[(N&o)>>1]&65024|H&511)&65535}V=I&65535;if((V&2|0)!=0|(V&12|0)==0)E=M;else{bm(K,Jc,1)|0;E=(e[(w&o)>>1]&65024|A&511)&65535}}else{J=F;E=M}if(b[(N&o)>>1]&16384){Rg(L)|0;J=J&49151}if(b[(w&o)>>1]&16384){Rg(K)|0;E=E&49151}if(a[(ge&n)>>0]|0){y=ge;z=je;r=m;m=x;ie=1317;break a}V=hm(K,L,c[(s+(t*20|0)&p)+16>>2]|0)|0;I=a[(C&n)>>0]|0;r=t;C=V}else{if(J&128){J=F;E=M;r=t;C=(F&1&M)<<16>>16!=0&(A&256|0)==0&1^1;break}if(J&32){u=c[(s+(t*20|0)&p)+8>>2]|0;S=z+(u*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&48640|1;S=z;T=s;U=W;V=X;u=z+(u*40|0)|0;r=t;break q}if(!(J&16)){S=z;T=s;U=W;V=X;r=t;break q}S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;break q}while(0);switch(I&255|0){case 79:{C=(C|0)==0&1;break}case 78:{C=(C|0)!=0&1;break}case 82:{C=C>>>31;break}case 81:{C=(C|0)<1&1;break}case 80:{C=(C|0)>0&1;break}default:C=C>>>31^1}if(!(a[(v&n)>>0]&32)){if(C)r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{V=c[(s+(r*20|0)&p)+8>>2]|0;u=z+(V*40|0)|0;V=z+(V*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|4;V=u;c[(V&p)>>2]=C;c[(V&p)+4>>2]=0}b[(N&o)>>1]=J;b[(w&o)>>1]=E;S=z;T=s;U=W;V=X;break}case 248:{ie=0;S=z;T=s;U=c[(s+(r*20|0)&p)+16>>2]|0;V=X;break}case 249:{ie=0;w=(a[(s+(r*20|0)&n)+3>>0]&1)==0?0:W;F=c[(s+(r*20|0)&p)+12>>2]|0;H=c[(s+(r*20|0)&p)+16>>2]|0;I=c[(s+(r*20|0)&p)+4>>2]|0;J=c[(s+(r*20|0)&p)+8>>2]|0;if((F|0)>0){t=(w|0)==0;v=H+16|0;E=0;while(1){if(t)A=E;else A=c[(w+(E<<2)&p)>>2]|0;C=a[((c[(v&p)>>2]|0)+E&n)>>0]|0;A=hm(z+((A+I|0)*40|0)|0,z+((A+J|0)*40|0)|0,c[(H+(E<<2)&p)+20>>2]|0)|0;E=E+1|0;if(A)break;if((E|0)>=(F|0)){S=z;T=s;U=0;V=0;break q}}S=z;T=s;U=0;V=C<<24>>24==0?A:0-A|0}else{S=z;T=s;U=0;V=X}break}case 256:{ie=0;if((X|0)<0){S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+4>>2]|0)+-1|0;break}if(!X){S=z;T=s;U=W;V=0;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;break}else{S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+12>>2]|0)+-1|0;break}}case 261:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;if(!(b[(z+(t*40|0)&o)+8>>1]&1)){u=Vg(z+(t*40|0)|0)|0;u=(u|0)!=0|(G|0)!=0?3:0}else u=6;t=c[(s+(r*20|0)&p)+8>>2]|0;if(!(b[(z+(t*40|0)&o)+8>>1]&1)){t=Vg(z+(t*40|0)|0)|0;t=((t|0)!=0|(G|0)!=0)&1}else t=2;t=a[(((a[(C&n)>>0]|0)==72?41680:41696)+t+u&n)>>0]|0;u=c[(s+(r*20|0)&p)+12>>2]|0;J=z+(u*40|0)|0;if(t<<24>>24==2){S=z+(u*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&48640|1;S=z;T=s;U=W;V=X;u=J;break}else{S=J;c[(S&p)>>2]=t&255;c[(S&p)+4>>2]=0;S=z+(u*40|0)+8|0;b[(S&o)>>1]=e[(S&o)>>1]&48640|4;S=z;T=s;U=W;V=X;u=J;break}}case 268:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;u=c[(s+(r*20|0)&p)+8>>2]|0;J=z+(u*40|0)|0;u=z+(u*40|0)+8|0;if(!(b[(u&o)>>1]&9312))b[(u&o)>>1]=1;else vg(J);if(!(b[(z+(t*40|0)&o)+8>>1]&1)){b[(u&o)>>1]=4;T=Vg(z+(t*40|0)|0)|0;S=J;c[(S&p)>>2]=(T|0)==0&(G|0)==0&1;c[(S&p)+4>>2]=0;S=z;T=s;U=W;V=X;u=J}else{S=z;T=s;U=W;V=X;u=J}break}case 273:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;u=c[(s+(r*20|0)&p)+8>>2]|0;J=z+(u*40|0)|0;u=z+(u*40|0)+8|0;if(!(b[(u&o)>>1]&9312))b[(u&o)>>1]=1;else vg(J);if(!(b[(z+(t*40|0)&o)+8>>1]&1)){b[(u&o)>>1]=4;T=Vg(z+(t*40|0)|0)|0;S=J;c[(S&p)>>2]=~T;c[(S&p)+4>>2]=~G;S=z;T=s;U=W;V=X;u=J}else{S=z;T=s;U=W;V=X;u=J}break}case 278:{ie=0;t=(c[(Hb&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]|0)|0;if(!(a[(t&n)>>0]|0)){a[(t&n)>>0]=1;S=z;T=s;U=W;V=X;break}else{S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0;break}}case 281:{ie=0;t=c[(s+(r*20|0)&p)+4>>2]|0;if(!(b[(z+(t*40|0)&o)+8>>1]&1)){t=+Ug(z+(t*40|0)|0)!=0.0;t=(t^(a[(C&n)>>0]|0)==46)&1}else t=c[(s+(r*20|0)&p)+12>>2]|0;if(!t){S=z;T=s;U=W;V=X}else{S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}break}case 286:{ie=0;if(!(b[(z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)&o)+8>>1]&1)){S=z;T=s;U=W;V=X}else{S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}break}case 288:{ie=0;if(!(b[(z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)&o)+8>>1]&1)){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 290:{ie=0;T=c[(s+(t*20|0)&p)+8>>2]|0;M=c[(s+(t*20|0)&p)+12>>2]|0;A=z+(M*40|0)|0;S=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;w=c[(S&p)+80>>2]|0;v=c[(S&p)>>2]|0;if(!(a[(S&n)+26>>0]|0)){if((v|0)!=0?(a[(v&n)+73>>0]|0)!=1:0){Td=jm(S)|0;ie=295}}else{Td=im(S)|0;ie=295}if((ie|0)==295?(ie=0,(Td|0)!=0):0){u=Td;ie=1318;break c}L=S+60|0;C=c[($d&p)>>2]|0;u:do if((c[(L&p)>>2]|0)==(C|0)){C=b[(S&o)+22>>1]|0;if((C&65535|0)>(T|0))ie=350;else{I=S+72|0;ie=318}}else{do if(a[(S&n)+25>>0]|0){if(!v){J=c[(S&p)+16>>2]|0;F=c[(z+(J*40|0)&p)+12>>2]|0;c[(S&p)+68>>2]=F;c[(S&p)+64>>2]=F;J=c[(z+(J*40|0)&p)+16>>2]|0;K=S+76|0;c[(K&p)>>2]=J;break}r=z+(M*40|0)+8|0;if(!(b[(r&o)>>1]&9312)){b[(r&o)>>1]=1;break u}else{vg(A);break u}}else{if(!(a[(S&n)+27>>0]&4)){km(v,td);I=e[(v&o)+40>>1]|0;J=c[(v&p)+32>>2]|0;c[(S&p)+76>>2]=J;C=c[(td&p)>>2]|0;c[(S&p)+64>>2]=C}else{C=S+64|0;lm(v,C);I=e[(v&o)+40>>1]|0;J=c[(v&p)+32>>2]|0;c[(S&p)+76>>2]=J;C=c[(C&p)>>2]|0}c[(S&p)+68>>2]=C>>>0>I>>>0?I:C;if(C>>>0>(c[(zb&p)>>2]|0)>>>0){u=x;ie=1316;break c}K=S+76|0;C=c[($d&p)>>2]|0;F=I}while(0);c[(L&p)>>2]=C;C=a[(J&n)>>0]|0;if(C<<24>>24>-1){H=C&255;c[(kd&p)>>2]=H;J=1}else{J=mm(J,kd)|0;H=c[(kd&p)>>2]|0}I=S+72|0;c[(I&p)>>2]=J&255;b[(S&o)+22>>1]=0;c[(w&p)>>2]=H;if(H>>>0>98307){u=x;ie=313;break c}if(H>>>0>(c[(S&p)+64>>2]|0)>>>0){u=x;ie=313;break c}if(F>>>0<H>>>0){c[(K&p)>>2]=0;c[(S&p)+68>>2]=0;C=0;ie=318}else{C=0;ie=318}}while(0);do if((ie|0)==318){ie=0;J=c[(I&p)>>2]|0;H=c[(w&p)>>2]|0;if(J>>>0<H>>>0){P=S+76|0;F=c[(P&p)>>2]|0;if(!F){U=Jd+0|0;V=U+40|0;do{c[(U&p)>>2]=0;U=U+4|0}while((U|0)<(V|0));J=nm(v,0,c[(w&p)>>2]|0,((d[(S&n)+27>>0]|0)>>>2&1^1)&255,Jd)|0;if(J){s=J;u=x;ie=1309;break c}C=S+22|0;O=C;C=b[(C&o)>>1]|0;J=c[(I&p)>>2]|0;H=c[(w&p)>>2]|0;N=c[(Jb&p)>>2]|0}else{O=S+22|0;N=F}E=C&65535;K=c[(w+(E<<2)&p)>>2]|0;c[(kd&p)>>2]=K;C=N+H|0;J=N+J|0;while(1){F=a[(J&n)>>0]|0;if(F<<24>>24>-1){L=F&255;c[(Ld&p)>>2]=L;J=J+1|0}else{J=J+((mm(J,Ld)|0)&255)|0;L=c[(Ld&p)>>2]|0}c[(S+(E<<2)&p)+84>>2]=L;if(L>>>0>11)F=(L+-12|0)>>>1;else F=d[(L&n)+34336>>0]|0;L=K+F|0;c[(kd&p)>>2]=L;if(L>>>0<K>>>0){J=L;F=E;ie=331;break}F=E+1|0;c[(w+(F<<2)&p)>>2]=L;if((E|0)<(T|0)&J>>>0<C>>>0){K=L;E=F}else break}if((ie|0)==331){ie=0;L=J;J=N+(H+1)|0}b[(O&o)>>1]=F;c[(I&p)>>2]=J-N;if(!(c[(P&p)>>2]|0)){if(!((b[(Kb&o)>>1]&9312)==0&(c[(Lb&p)>>2]|0)==0))Qg(Jd);b[(Kb&o)>>1]=1}if(J>>>0>=C>>>0){if(J>>>0>C>>>0){u=x;ie=343;break c}if((L|0)==(c[(S&p)+64>>2]|0))C=L;else{u=x;ie=343;break c}}else C=c[(S&p)+64>>2]|0;if(L>>>0>C>>>0){u=x;ie=343;break c}C=b[(O&o)>>1]|0}if((C&65535|0)<=(T|0)){if((a[(s+(t*20|0)&n)+1>>0]|0)==-8){Zl(A,c[(s+(t*20|0)&p)+16>>2]|0,2048);r=z+(M*40|0)+8|0;break}r=z+(M*40|0)+8|0;if(!(b[(r&o)>>1]&9312)){b[(r&o)>>1]=1;break}else{vg(A);break}}else ie=350}while(0);if((ie|0)==350){ie=0;r=z+(M*40|0)+8|0;if(b[(r&o)>>1]&9312)vg(A);J=c[(S+(T<<2)&p)+84>>2]|0;c[(Ld&p)>>2]=J;do if((c[(S&p)+68>>2]|0)>>>0<(c[(w+(T+1<<2)&p)>>2]|0)>>>0){V=a[(s+(t*20|0)&n)+3>>0]|0;if(!((V&255)>63?J>>>0>11&(J&1|0)==0|V<<24>>24<0:0)){if(J>>>0>11)C=(J+-12|0)>>>1;else C=d[(J&n)+34336>>0]|0;if(C){C=nm(v,c[(w+(T<<2)&p)>>2]|0,C,((d[(S&n)+27>>0]|0)>>>2&1^1)&255,A)|0;if(C){s=C;u=x;ie=1309;break c}om(c[(z+(M*40|0)&p)+16>>2]|0,J,A)|0;b[(r&o)>>1]=e[(r&o)>>1]&61439;break}}om(J>>>0<14?td:0,J,A)|0}else om((c[(S&p)+76>>2]|0)+(c[(w+(T<<2)&p)>>2]|0)|0,J,A)|0;while(0);a[(z+(M*40|0)&n)+10>>0]=Jc}w=e[(r&o)>>1]|0;if((w&4096|0)!=0?(Ac=z+(M*40|0)+16|0,Bc=c[(Ac&p)>>2]|0,(Bc|0)!=0):0){v=c[(z+(M*40|0)&p)+12>>2]|0;if(fh(A,v+2|0)|0){y=ge;z=je;r=m;m=x;ie=1317;break a}kw(c[(Ac&p)>>2]|0,Bc|0,v|0)|0;a[((c[(Ac&p)>>2]|0)+v&n)>>0]=0;a[((c[(Ac&p)>>2]|0)+v&n)+1>>0]=0;b[(r&o)>>1]=w&18|512;S=z;T=s;U=W;V=X;r=t}else{S=z;T=s;U=W;V=X;r=t}break}case 368:{ie=0;v=c[(s+(r*20|0)&p)+16>>2]|0;t=a[(v&n)>>0]|0;if(!(t<<24>>24)){S=z;T=s;U=W;V=X}else{w=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;while(1){v=v+1|0;fm(w,t,Jc);t=a[(v&n)>>0]|0;if(!(t<<24>>24)){S=z;T=s;U=W;V=X;break}else w=w+40|0}}break}case 371:{ie=0;U=c[(s+(t*20|0)&p)+4>>2]|0;C=c[(s+(t*20|0)&p)+16>>2]|0;V=z+(U*40|0)|0;U=z+((U+-1+(c[(s+(t*20|0)&p)+8>>2]|0)|0)*40|0)|0;A=a[(Mb&n)>>0]|0;T=c[(s+(t*20|0)&p)+12>>2]|0;u=z+(T*40|0)|0;if(C){r=a[(C&n)>>0]|0;v=V;while(1){C=C+1|0;fm(v,r,Jc);r=a[(C&n)>>0]|0;if(!(r<<24>>24))break;else v=v+40|0}}N=(A&255)>3;L=0;K=0;O=0;C=0;w=U;while(1){E=b[(w&o)+8>>1]|0;I=E&65535;v:do if(!(I&1)){do if(!(I&4)){if(I&8){J=7;ie=388;break v}J=c[(w&p)+12>>2]|0;if(I&16384)J=(c[(w&p)>>2]|0)+J|0;J=(J<<1)+12|I>>>1&1}else{I=w;J=c[(I&p)>>2]|0;I=c[(I&p)+4>>2]|0;H=ew(J|0,I|0,63)|0;H=H^J;F=G^I;if(F>>>0<0|(F|0)==0&H>>>0<128){if(!((J&1|0)==(J|0)&0==(I|0)&N)){J=1;ie=388;break v}J=H+8|0;break}if(F>>>0<0|(F|0)==0&H>>>0<32768){J=2;ie=388;break v}if(F>>>0<0|(F|0)==0&H>>>0<8388608){J=3;ie=388;break v}if(F>>>0<0|(F|0)==0&H>>>0<2147483648){J=4;ie=388;break v}J=F>>>0<32768|(F|0)==32768&H>>>0<0?5:6;ie=388;break v}while(0);c[(w&p)+28>>2]=J;if(J>>>0>11){I=J;J=(J+-12|0)>>>1}else ie=391}else{J=0;ie=388}while(0);if((ie|0)==388){c[(w&p)+28>>2]=J;ie=391}if((ie|0)==391){ie=0;I=J;J=d[(J&n)+34336>>0]|0}do if(E&16384)if((L|0)==0&(K|0)==0){E=c[(w&p)>>2]|0;J=J-E|0;E=E+C|0;break}else{Rg(w)|0;E=C;break}else E=C;while(0);L=jw(J|0,((J|0)<0)<<31>>31|0,L|0,K|0)|0;K=G;if(I>>>0<128)J=1;else{H=0;J=0;do{J=J+1|0;I=mw(I|0,H|0,7)|0;H=G}while(((I|0)!=0|(H|0)!=0)&(J|0)<9)}J=J+O|0;w=w+-40|0;if(w>>>0<V>>>0){F=J;P=E;break}else{O=J;C=E}}if((F|0)<127)I=F+1|0;else{I=F;H=((F|0)<0)<<31>>31;J=0;do{J=J+1|0;I=mw(I|0,H|0,7)|0;H=G}while(((I|0)!=0|(H|0)!=0)&(J|0)<9);F=J+F|0;I=F;H=((F|0)<0)<<31>>31;C=0;do{C=C+1|0;I=mw(I|0,H|0,7)|0;H=G}while(((I|0)!=0|(H|0)!=0)&(C|0)<9);I=((J|0)<(C|0)&1)+F|0}J=((I|0)<0)<<31>>31;E=jw(I|0,J|0,L|0,K|0)|0;N=G;S=c[(zb&p)>>2]|0;O=((S|0)<0)<<31>>31;if((N|0)>(O|0)|(N|0)==(O|0)&E>>>0>S>>>0){u=x;ie=1316;break c}if(fh(u,E)|0){y=ge;z=je;r=m;m=x;ie=1317;break a}A=c[(z+(T*40|0)&p)+16>>2]|0;if(I>>>0<128){a[(A&n)>>0]=I;K=1;L=V}else{K=(pm(A,I,J)|0)&255;L=V}while(1){H=c[(L&p)+28>>2]|0;if(H>>>0<128){a[(A+K&n)>>0]=H;J=1}else J=(pm(A+K|0,H,0)|0)&255;K=J+K|0;J=A+I|0;if(!(H>>>0<8&(H|0)!=0))if(H>>>0>11){C=c[(L&p)+12>>2]|0;kw(J|0,c[(L&p)+16>>2]|0,C|0)|0}else C=0;else{J=L;if(H>>>0>11)C=(H+-12|0)>>>1;else C=d[(H&n)+34336>>0]|0;F=c[(J&p)>>2]|0;J=c[(J&p)+4>>2]|0;H=C;while(1){H=H+-1|0;a[(A+H+I&n)>>0]=F;F=mw(F|0,J|0,8)|0;if(!H)break;else J=G}}L=L+40|0;if(L>>>0>U>>>0)break;else I=C+I|0}c[(z+(T*40|0)&p)+12>>2]=E;r=z+(T*40|0)+8|0;b[(r&o)>>1]=16;if(P){c[(u&p)>>2]=P;b[(r&o)>>1]=16400}a[(z+(T*40|0)&n)+10>>0]=1;S=z;T=s;U=W;V=X;r=t;break}case 446:{ie=0;if((c[(ae&p)>>2]|0)>0){u=x;ie=447;break c}if(!v)w=0;else{t=v;while(1)if(!(a[(t&n)>>0]|0))break;else t=t+1|0;w=t-v&1073741823}u=sm(le,0,(c[(Ob&p)>>2]|0)+(c[(Nb&p)>>2]|0)|0)|0;if(u){t=r;ie=1318;break c}t=mh(le,w+33|0,0)|0;if(!t){S=z;T=s;U=W;V=X;u=L}else{V=t+32|0;c[(t&p)>>2]=V;kw(V|0,v|0,w+1|0)|0;if(!(a[(ee&n)>>0]|0))c[(Ob&p)>>2]=(c[(Ob&p)>>2]|0)+1;else{a[(ee&n)>>0]=0;a[(Sb&n)>>0]=1}c[(t&p)+24>>2]=c[(Pb&p)>>2];c[(Pb&p)>>2]=t;S=Qb;T=c[(S&p)+4>>2]|0;U=t+8|0;c[(U&p)>>2]=c[(S&p)>>2];c[(U&p)+4>>2]=T;U=Rb;T=c[(U&p)+4>>2]|0;S=t+16|0;c[(S&p)>>2]=c[(U&p)>>2];c[(S&p)+4>>2]=T;S=z;T=s;U=W;V=X;u=L}break}case 486:{c[(Ob&p)>>2]=(c[(Ob&p)>>2]|0)+-1;ie=488;break}case 525:{ie=0;wm(c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+4>>2]|0,c[(s+(r*20|0)&p)+12>>2]|0,Yc);T=c[(Yc&p)>>2]|0;S=u;c[(S&p)>>2]=T;c[(S&p)+4>>2]=((T|0)<0)<<31>>31;S=z;T=s;U=W;V=X;break}case 558:{ie=0;v=xm(f,c[(s+(t*20|0)&p)+4>>2]|0,c[(s+(t*20|0)&p)+8>>2]|0,-1,1)|0;if(!v){y=ge;z=je;r=m;m=x;ie=1317;break a}r=c[(s+(t*20|0)&p)+16>>2]|0;C=v+8|0;c[(C&p)>>2]=r;A=c[(s+(t*20|0)&p)+12>>2]|0;r=e[(r&o)+6>>1]<<2;u=r+148|0;w=mh(le,u,0)|0;if(!w){s=v;u=x;ie=560;break c}fw(w|0,0,u|0)|0;c[(v&p)+56>>2]=w;V=w+128|0;c[(w&p)+28>>2]=V;kw(V|0,c[(C&p)>>2]|0,r+20|0)|0;c[(w&p)+140>>2]=0;if(A)b[(w&o)+134>>1]=A;r=c[(Xd&p)>>2]|0;u=c[((c[((c[(r&p)+4>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;c[(w&p)+12>>2]=u;a[(w&n)+59>>0]=1;a[(w&n)+57>>0]=0;c[(w&p)+24>>2]=le;c[(w&p)+72>>2]=w;if(((a[(_b&n)>>0]|0)!=2?(Dc=c[2242]|0,c[(w&p)>>2]=ca(Dc,u)|0,V=c[((c[(r&p)+12>>2]|0)&p)+80>>2]|0,V=(V|0)<(Dc|0)?Dc:V,Dc=((u|0)<0)<<31>>31,V=sw(V|0,((V|0)<0)<<31>>31|0,u|0,Dc|0)|0,U=G,c[(w&p)+4>>2]=(U|0)<0|(U|0)==0&V>>>0<536870912?V:536870912,(c[2234]|0)==0):0)?(c[(w&p)+52>>2]=u,V=qg(u,Dc)|0,c[(w&p)+40>>2]=V,(V|0)==0):0){s=7;u=x;ie=1309;break c}else{S=z;T=s;U=W;V=X;u=L;r=t}break}case 566:{ie=0;T=(c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0)+40|0;V=T;U=c[(V&p)>>2]|0;V=c[(V&p)+4>>2]|0;S=jw(U|0,V|0,1,0)|0;c[(T&p)>>2]=S;c[(T&p)+4>>2]=G;if((U|0)==0&(V|0)==0){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 568:{ie=0;r=xm(f,c[(s+(t*20|0)&p)+4>>2]|0,c[(s+(t*20|0)&p)+12>>2]|0,-1,0)|0;if(!r){y=ge;z=je;r=m;m=x;ie=1317;break a}a[(r&n)+25>>0]=1;c[(r&p)+16>>2]=c[(s+(t*20|0)&p)+8>>2];S=r+27|0;a[(S&n)>>0]=a[(S&n)>>0]|4;S=z;T=s;U=W;V=X;r=t;break}case 570:{ie=0;S=s+(r*20|0)+4|0;Bm(f,c[((c[(Ib&p)>>2]|0)+(c[(S&p)>>2]<<2)&p)>>2]|0);c[((c[(Ib&p)>>2]|0)+(c[(S&p)>>2]<<2)&p)>>2]=0;S=z;T=s;U=W;V=X;break}case 571:{ie=0;H=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;a[(H&n)+25>>0]=0;if(!(a[(H&n)+27>>0]&4)){V=c[(s+(r*20|0)&p)+16>>2]|0;c[(wd&p)>>2]=c[(H&p)+8>>2];b[($b&o)>>1]=V;a[(cc&n)>>0]=(K<<1&2^2)+255;V=c[(s+(r*20|0)&p)+12>>2]|0;t=z+(V*40|0)|0;c[(dc&p)>>2]=t;if(b[(z+(V*40|0)&o)+8>>1]&16384)Rg(t)|0;u=Cm(c[(H&p)>>2]|0,wd,0,0,0,Ad)|0;if(!u){u=K;J=L}else{t=r;ie=1318;break c}}else{C=c[(s+(r*20|0)&p)+12>>2]|0;A=z+(C*40|0)|0;C=z+(C*40|0)+8|0;if((b[(C&o)>>1]&14)==2)rh(A,0);J=Vg(A)|0;I=G;C=e[(C&o)>>1]|0;do if(!(C&4)){if(!(C&8)){S=z;T=s;U=W;V=X;u=L;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0;break q}B=+h[(A&q)>>3];D=+(J>>>0)+4294967296.0*+(I|0);if(B<D){C=(K<<31>>31)+K|0;break}else{C=(B>D&(K&1|0)==0&1)+K|0;break}}else C=K;while(0);u=Cm(c[(H&p)>>2]|0,0,J,I,0,Ad)|0;V=H+48|0;c[(V&p)>>2]=J;c[(V&p)+4>>2]=I;if(!u){u=C;J=L}else{t=r;ie=1318;break c}}a[(H&n)+26>>0]=0;c[(H&p)+60>>2]=0;t=c[(Ad&p)>>2]|0;do if((u|0)>63){if((t|0)>=0?!((t|0)==0&(u|0)==65):0){c[(Ad&p)>>2]=0;S=z;T=s;U=W;V=X;u=J;break q}c[(Ad&p)>>2]=0;u=Dm(c[(H&p)>>2]|0,Ad)|0;if(!u)ie=593;else{t=r;ie=1318;break c}}else{if((t|0)<=0?!((t|0)==0&(u|0)==62):0){t=(a[((c[(H&p)>>2]|0)&n)+73>>0]|0)!=1&1;c[(Ad&p)>>2]=t;break}c[(Ad&p)>>2]=0;u=Em(c[(H&p)>>2]|0,Ad)|0;if(!u)ie=593;else{t=r;ie=1318;break c}}while(0);if((ie|0)==593){ie=0;t=c[(Ad&p)>>2]|0}if(!t){S=z;T=s;U=W;V=X;u=J}else{S=z;T=s;U=W;V=X;u=J;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}break}case 596:{ie=0;S=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;a[(S&n)+25>>0]=0;U=Vg(z+((c[(s+(r*20|0)&p)+8>>2]|0)*40|0)|0)|0;T=S+48|0;c[(T&p)>>2]=U;c[(T&p)+4>>2]=G;a[(S&n)+26>>0]=1;S=z;T=s;U=W;V=X;break}case 597:{ie=0;I=c[((c[(Ib&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<2)&p)>>2]|0;r=c[(s+(t*20|0)&p)+12>>2]|0;J=z+(r*40|0)|0;c[(od&p)>>2]=0;K=s+(t*20|0)+16|0;C=c[(K&p)>>2]|0;v=I+8|0;A=c[(v&p)>>2]|0;w:do if((C|0)>0){c[(xd&p)>>2]=A;C=C&65535;b[(ec&o)>>1]=C;c[(fc&p)>>2]=J;if(!(C<<16>>16))v=xd;else{r=J;A=0;while(1){if(b[(r+(A*40|0)&o)+8>>1]&16384){Rg(r+(A*40|0)|0)|0;C=b[(ec&o)>>1]|0}A=A+1|0;if((A|0)>=(C&65535|0)){v=xd;break w}r=c[(fc&p)>>2]|0}}}else{C=Fm(A,Sc,191,od)|0;if(!C){y=ge;z=je;r=m;m=x;ie=1317;break a}if(b[(z+(r*40|0)&o)+8>>1]&16384)Rg(J)|0;Gm(c[(v&p)>>2]|0,c[(z+(r*40|0)&p)+12>>2]|0,c[(z+(r*40|0)&p)+16>>2]|0,C);v=C}while(0);a[(v&n)+6>>0]=0;x:do if((a[(H&n)>>0]|0)==67?(Ec=b[(v&o)+4>>1]|0,Ec<<16>>16!=0):0){C=c[(v&p)+8>>2]|0;A=0;while(1){if(b[(C+(A*40|0)&o)+8>>1]&1)break;A=A+1|0;if((A|0)>=(Ec&65535|0)){L=t;r=t;break x}}L=t;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0}else{L=t;r=t}while(0);C=Cm(c[(I&p)>>2]|0,v,0,0,0,Bd)|0;if(!(c[(K&p)>>2]|0))mg(le,c[(od&p)>>2]|0);if(C){t=r;s=C;u=x;ie=1309;break c}t=c[(Bd&p)>>2]|0;c[(I&p)+12>>2]=t;t=(t|0)==0;a[(I&n)+25>>0]=t&1^1;a[(I&n)+26>>0]=0;c[(I&p)+60>>2]=0;if((a[(H&n)>>0]|0)==69){if(!t){S=z;T=s;U=W;V=X;break}S=z;T=s;U=W;V=X;r=(c[(s+(L*20|0)&p)+8>>2]|0)+-1|0;break}else{if(t){S=z;T=s;U=W;V=X;break}S=z;T=s;U=W;V=X;r=(c[(s+(L*20|0)&p)+8>>2]|0)+-1|0;break}}case 624:{ie=0;S=(c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0)+40|0;T=S;U=c[(T&p)>>2]|0;T=c[(T&p)+4>>2]|0;V=jw(U|0,T|0,1,0)|0;c[(S&p)>>2]=V;c[(S&p)+4>>2]=G;S=u;c[(S&p)>>2]=U;c[(S&p)+4>>2]=T;S=z;T=s;U=W;V=X;break}case 647:{ie=0;I=c[(s+(r*20|0)&p)+8>>2]|0;v=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;t=c[(s+(r*20|0)&p)+12>>2]|0;if(C<<24>>24==75){F=z+(t*40|0)|0;E=c[(F&p)>>2]|0;F=c[(F&p)+4>>2]|0}else{E=t;F=((t|0)<0)<<31>>31}H=s+(r*20|0)+3|0;J=a[(H&n)>>0]|0;if(J&1)c[(ub&p)>>2]=(c[(ub&p)>>2]|0)+1;if(J&2){m=ne;c[(m&p)>>2]=E;c[(m&p)+4>>2]=F;m=E;l=F}C=b[(z+(I*40|0)&o)+8>>1]|0;if(C&1){c[(z+(I*40|0)&p)+16>>2]=0;c[(z+(I*40|0)&p)+12>>2]=0}if(!(J&16))A=0;else A=c[(v&p)+12>>2]|0;if(!(C&16384))C=0;else C=c[(z+(I*40|0)&p)>>2]|0;C=Im(c[(v&p)>>2]|0,0,E,F,c[(z+(I*40|0)&p)+16>>2]|0,c[(z+(I*40|0)&p)+12>>2]|0,C,(J&255)>>>3&1,A)|0;a[(v&n)+26>>0]=0;c[(v&p)+60>>2]=0;if(C){t=r;s=C;u=x;ie=1309;break c}t=c[(gc&p)>>2]|0;if((t|0)!=0?(Fc=c[(s+(r*20|0)&p)+16>>2]|0,(Fc|0)!=0):0){bc[t&1](c[(hc&p)>>2]|0,(a[(H&n)>>0]&4)!=0?23:18,c[((c[(Xd&p)>>2]|0)+(a[(v&n)+24>>0]<<4)&p)>>2]|0,Fc,E,F);S=z;T=s;U=W;V=X}else{S=z;T=s;U=W;V=X}break}case 671:{ie=0;S=c[(ub&p)>>2]|0;c[(vb&p)>>2]=S;c[(wb&p)>>2]=(c[(wb&p)>>2]|0)+S;c[(ub&p)>>2]=0;S=z;T=s;U=W;V=X;break}case 672:{ie=0;J=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;I=c[(s+(r*20|0)&p)+12>>2]|0;H=c[(s+(r*20|0)&p)+16>>2]|0;t=c[(J&p)+56>>2]|0;A=t+32|0;C=c[(A&p)>>2]|0;J=c[(J&p)+8>>2]|0;if(!C){C=Fm(J,0,0,md)|0;c[(A&p)>>2]=C;if(!C){t=r;s=7;u=x;ie=1309;break c}b[(C&o)+4>>1]=H}if(!(a[(t&n)+56>>0]|0)){t=c[(t&p)+36>>2]|0;A=t;t=t+8|0}else{V=c[(t&p)+20>>2]|0;t=c[((c[(V&p)+8>>2]|0)&p)+4>>2]|0;V=c[(V&p)+12>>2]|0;A=V+(t*56|0)+20|0;t=c[(V+(t*56|0)&p)+32>>2]|0}Gm(J,c[(A&p)>>2]|0,t,C);y:do if((H|0)>0){t=c[(C&p)+8>>2]|0;v=0;while(1){if(b[(t+(v*40|0)&o)+8>>1]&1)break y;v=v+1|0;if((v|0)>=(H|0)){ie=682;break}}}else ie=682;while(0);if((ie|0)==682){ie=0;if(!(Km(c[(z+(I*40|0)&p)+12>>2]|0,c[(z+(I*40|0)&p)+16>>2]|0,C,0)|0)){S=z;T=s;U=W;V=X;break}}S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0;break}case 700:{ie=0;b[(u&o)+8>>1]=1;S=z;T=s;U=W;V=X;break}case 708:{ie=0;b[(u&o)+8>>1]=1;S=z;T=s;U=W;V=X;break}case 711:{ie=0;t=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;a[(t&n)+25>>0]=1;c[(t&p)+60>>2]=0;t=c[(t&p)>>2]|0;if(!t){S=z;T=s;U=W;V=X}else{S=t+56|0;Wc(c[(S&p)>>2]|0);c[(S&p)>>2]=0;a[(t&n)+73>>0]=0;S=z;T=s;U=W;V=X}break}case 801:{ie=0;t=c[((c[(Ib&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<2)&p)>>2]|0;u=c[(t&p)>>2]|0;K=L+8|0;b[(K&o)>>1]=1;if((a[(u&n)+73>>0]|0)!=1?(Vd=jm(t)|0,(Vd|0)!=0):0){t=r;u=Vd;ie=1318;break c}if(!(a[(t&n)+25>>0]|0)){V=Sd;c[(V&p)>>2]=0;c[(V&p)+4>>2]=0;km(u,Sd);b[(qc&o)>>1]=0;c[(sc&p)>>2]=le;c[(uc&p)>>2]=0;u=nm(u,0,c[(Sd&p)>>2]|0,1,$c)|0;do if(!u){t=c[(vc&p)>>2]|0;u=a[(t&n)>>0]|0;if(u<<24>>24>-1){C=u&255;c[(qd&p)>>2]=C}else{mm(t,qd)|0;C=c[(qd&p)>>2]|0}if(!(C>>>0<3?1:(C|0)>(c[(wc&p)>>2]|0))){t=(c[(vc&p)>>2]|0)+(C+-1)|0;u=a[(t&n)>>0]|0;if(u<<24>>24>-1){u=u&255;c[(Nd&p)>>2]=u}else{mm(t,Nd)|0;u=c[(Nd&p)>>2]|0}if(!((u+-1|0)>>>0>8|(u|0)==7)){if(u>>>0>11)t=(u+-12|0)>>>1;else t=d[(u&n)+34336>>0]|0;v=c[(wc&p)>>2]|0;if(v>>>0>=(t+C|0)>>>0){om((c[(vc&p)>>2]|0)+(v-t)|0,u,Qd)|0;v=Qd;t=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;if((b[(qc&o)>>1]&9312)==0&(c[(uc&p)>>2]|0)==0){u=0;break}Qg($c);u=0;break}}}if(!((b[(qc&o)>>1]&9312)==0&(c[(uc&p)>>2]|0)==0))Qg($c);c[(ke&p)>>2]=68698;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);u=11;t=0;v=0}else{t=0;v=0}while(0);if(u){t=r;ie=1318;break c}S=L;c[(S&p)>>2]=t;c[(S&p)+4>>2]=v;b[(K&o)>>1]=4;S=z;T=s;U=W;V=X;u=L}else{S=z;T=s;U=W;V=X;u=L}break}case 865:{ie=0;w=c[(C&p)>>2]|0;C=c[((c[(Xd&p)>>2]|0)+(K<<4)&p)+12>>2]|0;t=c[(C&p)+16>>2]|0;if(t)do{v=(c[(t&p)+8>>2]|0)+32|0;if((c[(v&p)>>2]|0)==(A|0))c[(v&p)>>2]=w;t=c[(t&p)>>2]|0}while((t|0)!=0);t=c[(C&p)+32>>2]|0;if(t)do{v=(c[(t&p)+8>>2]|0)+40|0;if((c[(v&p)>>2]|0)==(A|0))c[(v&p)>>2]=w;t=c[(t&p)>>2]|0}while((t|0)!=0);S=z;T=s;U=W;V=X;x=K+1&255;break}case 878:{ie=0;_m(le,u);S=z;T=s;U=W;V=X;u=J;break}case 881:{ie=0;V=c[(s+(r*20|0)&p)+4>>2]|0;c[(Zc&p)>>2]=le;c[(ia&p)>>2]=V;c[(ja&p)>>2]=je;u=c[(s+(r*20|0)&p)+16>>2]|0;c[(ke&p)>>2]=c[((c[(Xd&p)>>2]|0)+(V<<4)&p)>>2];c[(ke&p)+4>>2]=(V|0)==1?13184:13208;c[(ke&p)+8>>2]=u;u=uh(le,42048,ke)|0;if(!u){t=r;u=x;ie=882;break c}a[(ka&n)>>0]=1;c[(la&p)>>2]=0;t=Qe(le,u,22,Zc,0)|0;t=(t|0)==0?c[(la&p)>>2]|0:t;mg(le,u);a[(ka&n)>>0]=0;if(!t){S=z;T=s;U=W;V=X;u=J}else{s=t;t=r;u=x;ie=884;break c}break}case 886:{ie=0;kg(le,Ik((c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+12>>2]|0)+8|0,c[(s+(r*20|0)&p)+16>>2]|0,0)|0);c[(Tb&p)>>2]=c[(Tb&p)>>2]|2;S=z;T=s;U=W;V=X;break}case 887:{ie=0;C=Ik((c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+12>>2]|0)+24|0,c[(s+(r*20|0)&p)+16>>2]|0,0)|0;if(C){t=(c[(C&p)+12>>2]|0)+8|0;u=c[(t&p)>>2]|0;z:do if((u|0)==(C|0))c[(t&p)>>2]=c[(C&p)+20>>2];else{do{if(!u)break z;t=u+20|0;u=c[(t&p)>>2]|0}while((u|0)!=(C|0));c[(t&p)>>2]=c[(C&p)+20>>2]}while(0);Jk(le,C)}c[(Tb&p)>>2]=c[(Tb&p)>>2]|2;S=z;T=s;U=W;V=X;u=J;break}case 895:{ie=0;C=Ik((c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+12>>2]|0)+40|0,c[(s+(r*20|0)&p)+16>>2]|0,0)|0;if(!C){S=z;T=s;U=W;V=X}else{t=c[(C&p)+20>>2]|0;if((t|0)==(c[(C&p)+24>>2]|0)){t=bn(t+8|0,c[(C&p)+4>>2]|0,ke)|0;if(!t)t=0;else t=c[(t&p)+8>>2]|0;v=t+64|0;while(1){V=c[(v&p)>>2]|0;t=V+32|0;if((V|0)==(C|0))break;else v=t}c[(v&p)>>2]=c[(t&p)>>2]}jg(le,C);c[(Tb&p)>>2]=c[(Tb&p)>>2]|2;S=z;T=s;U=W;V=X}break}case 903:{ie=0;L=c[(s+(t*20|0)&p)+8>>2]|0;v=mh(le,(L<<2)+4|0,0)|0;if(!v){y=ge;z=je;r=m;m=x;ie=1317;break a}A=c[(s+(t*20|0)&p)+12>>2]|0;r=c[(s+(t*20|0)&p)+4>>2]|0;M=z+(r*40|0)|0;if((L|0)>0){C=0;do{V=Vg(z+((C+r|0)*40|0)|0)|0;c[(v+(C<<2)&p)>>2]=V;C=C+1|0}while((C|0)!=(L|0));C=L}else C=0;c[(v+(C<<2)&p)>>2]=0;I=c[((c[(Xd&p)>>2]|0)+(d[(s+(t*20|0)&n)+3>>0]<<4)&p)+4>>2]|0;P=z+(A*40|0)|0;V=c[(P&p)>>2]|0;O=c[(I&p)+4>>2]|0;c[(O&p)+4>>2]=c[(I&p)>>2];I=c[(O&p)>>2]|0;w=c[((c[(I&p)+204>>2]|0)&p)+12>>2]|0;c[(Sd&p)>>2]=O;c[(ma&p)>>2]=I;I=c[(O&p)+44>>2]|0;c[(na&p)>>2]=I;c[(oa&p)>>2]=V;c[(pa&p)>>2]=0;c[(pa&p)+4>>2]=0;c[(pa&p)+8>>2]=0;c[(pa&p)+12>>2]=0;c[(pa&p)+16>>2]=0;do if(!I){A=0;C=0}else{J=(I>>>3)+1|0;H=qg(J,0)|0;if(!H){c[(sa&p)>>2]=0;A=0;C=1;break}fw(H|0,0,J|0)|0;c[(sa&p)>>2]=H;N=O+32|0;J=(((c[2514]|0)>>>0)/((c[(N&p)>>2]|0)>>>0)|0)+1|0;if(J>>>0<=I>>>0){V=H+(J>>>3)|0;a[(V&n)>>0]=d[(V&n)>>0]|1<<(J&7)}c[(ua&p)>>2]=Nd;c[(va&p)>>2]=Nd;c[(ta&p)>>2]=0;c[(wa&p)>>2]=0;c[(xa&p)>>2]=100;c[(ya&p)>>2]=1e9;a[(Aa&n)>>0]=0;a[(za&n)>>0]=2;c[(ra&p)>>2]=43592;C=c[((c[(O&p)+12>>2]|0)&p)+56>>2]|0;cn(Sd,1,d[(C&n)+33>>0]<<16|d[(C&n)+32>>0]<<24|d[(C&n)+34>>0]<<8|d[(C&n)+35>>0],d[(C&n)+37>>0]<<16|d[(C&n)+36>>0]<<24|d[(C&n)+38>>0]<<8|d[(C&n)+39>>0]);c[(ra&p)>>2]=0;C=c[(oa&p)>>2]|0;if(!((L|0)<1|(C|0)==0)){F=O+17|0;H=0;do{I=v+(H<<2)|0;J=c[(I&p)>>2]|0;if(J){if((a[(F&n)>>0]|0)!=0&(J|0)>1){dn(Sd,J,1,0);J=c[(I&p)>>2]|0}c[(ra&p)>>2]=43608;en(Sd,J,0,0)|0;c[(ra&p)>>2]=0;C=c[(oa&p)>>2]|0}H=H+1|0}while(!((H|0)>=(L|0)|(C|0)==0))}if(!((c[(na&p)>>2]|0)==0|(C|0)==0)){E=O+17|0;C=O+36|0;L=1;do{H=L>>>3;J=a[((c[(sa&p)>>2]|0)+H&n)>>0]|0;F=1<<(L&7);do if(!(J&255&F)){if(L>>>0<2)I=0;else{I=L+-2|0;I=I-((I>>>0)%(((((c[(C&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;I=((I+1|0)==(((c[2514]|0)>>>0)/((c[(N&p)>>2]|0)>>>0)|0|0)?3:2)+I|0}if((I|0)==(L|0)?(a[(E&n)>>0]|0)!=0:0)break;c[(ke&p)>>2]=L;fn(Sd,43632,ke);J=a[((c[(sa&p)>>2]|0)+H&n)>>0]|0}while(0);do if(J&255&F){if(L>>>0<2)J=0;else{J=L+-2|0;J=J-((J>>>0)%(((((c[(C&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;J=((J+1|0)==(((c[2514]|0)>>>0)/((c[(N&p)>>2]|0)>>>0)|0|0)?3:2)+J|0}if((J|0)!=(L|0))break;if(!(a[(E&n)>>0]|0))break;c[(ke&p)>>2]=L;fn(Sd,43656,ke)}while(0);L=L+1|0}while(!((c[(oa&p)>>2]|0)==0?1:L>>>0>(c[(na&p)>>2]|0)>>>0))}C=c[((c[((c[(O&p)>>2]|0)&p)+204>>2]|0)&p)+12>>2]|0;if((w|0)!=(C|0)){c[(ke&p)>>2]=w;c[(ke&p)+4>>2]=C;fn(Sd,43696,ke)}Wc(c[(sa&p)>>2]|0);if(c[(qa&p)>>2]|0){gn(ta);A=0;C=(c[(pa&p)>>2]|0)+1|0;break}C=c[(pa&p)>>2]|0;if(!C)gn(ta);A=tg(ta)|0}while(0);mg(le,v);U=P;U=dw(c[(U&p)>>2]|0,c[(U&p)+4>>2]|0,C|0,((C|0)<0)<<31>>31|0)|0;V=P;c[(V&p)>>2]=U;c[(V&p)+4>>2]=G;r=z+(r*40|0)+8|0;if(!(b[(r&o)>>1]&9312))b[(r&o)>>1]=1;else vg(M);if(C){if(!A){y=ge;z=je;r=m;m=x;ie=1317;break a}Xg(M,A,-1,1,1)|0}Yl(M,xb)|0;S=z;T=s;U=W;V=X;r=t;break}case 947:{ie=0;v=c[(s+(t*20|0)&p)+4>>2]|0;r=z+(v*40|0)|0;u=c[(s+(t*20|0)&p)+8>>2]|0;v=z+(v*40|0)+8|0;if((b[(v&o)>>1]&32)==0?(hn(r),(b[(v&o)>>1]&32)==0):0){y=ge;z=je;r=m;m=x;ie=1317;break a}S=z+(u*40|0)|0;jn(c[(r&p)>>2]|0,c[(S&p)>>2]|0,c[(S&p)+4>>2]|0);S=z;T=s;U=W;V=X;u=J;r=t;break}case 966:{ie=0;r=c[(s+(t*20|0)&p)+4>>2]|0;P=z+(r*40|0)|0;O=z+((c[(s+(t*20|0)&p)+12>>2]|0)*40|0)|0;N=c[(s+(t*20|0)&p)+16>>2]|0;r=z+(r*40|0)+8|0;if((b[(r&o)>>1]&32)==0?(hn(P),(b[(r&o)>>1]&32)==0):0){y=ge;z=je;r=m;m=x;ie=1317;break a}if(N){L=c[(P&p)>>2]|0;v=O;M=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;K=L+28|0;if((c[(K&p)>>2]|0)!=(N|0)){C=L+8|0;J=c[(C&p)>>2]|0;if(J){I=L+20|0;A=L+26|0;if(!(b[(A&o)>>1]&1))J=kn(J)|0;H=c[(I&p)>>2]|0;A:do if(!H){ld=J;rd=I;ie=978}else{while(1){I=H+12|0;F=c[(I&p)>>2]|0;if(!F)break;E=H+8|0;ln(F,ke,Sd);c[(I&p)>>2]=0;J=mn(c[(ke&p)>>2]|0,J)|0;H=c[(E&p)>>2]|0;if(!H){ld=J;rd=E;ie=978;break A}}c[(I&p)>>2]=nn(J)|0}while(0);if((ie|0)==978?(ie=0,Kc=on(L)|0,c[(rd&p)>>2]=Kc,(Kc|0)!=0):0){V=Kc;c[(V&p)>>2]=0;c[(V&p)+4>>2]=0;c[(Kc&p)+8>>2]=0;c[(Kc&p)+12>>2]=nn(ld)|0}c[(C&p)>>2]=0;c[(L&p)+12>>2]=0;b[(A&o)>>1]=e[(A&o)>>1]|1}c[(K&p)>>2]=N}C=c[(L&p)+20>>2]|0;B:do if(C){C:while(1){A=c[(C&p)+12>>2]|0;if(A)do{r=A;E=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;if((r|0)<(v|0)|(r|0)==(v|0)&E>>>0<M>>>0)A=A+8|0;else{if(!((r|0)>(v|0)|(r|0)==(v|0)&E>>>0>M>>>0))break C;A=A+12|0}A=c[(A&p)>>2]|0}while((A|0)!=0);C=c[(C&p)+8>>2]|0;if(!C)break B}S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;break q}while(0);if((N|0)>-1)C=O;else{S=z;T=s;U=W;V=X;r=t;break}}else C=O;S=C;jn(c[(P&p)>>2]|0,c[(S&p)>>2]|0,c[(S&p)+4>>2]|0);S=z;T=s;U=W;V=X;r=t;break}case 993:{ie=0;K=c[(s+(r*20|0)&p)+16>>2]|0;I=c[(s+(r*20|0)&p)+12>>2]|0;L=z+(I*40|0)|0;if((a[(s+(r*20|0)&n)+3>>0]|0)!=0?(Lc=c[(K&p)+20>>2]|0,nd=c[(sb&p)>>2]|0,(nd|0)!=0):0){t=nd;while(1){if((c[(t&p)+28>>2]|0)==(Lc|0)){S=z;T=s;U=W;V=X;break q}t=c[(t&p)+4>>2]|0;if(!t){t=r;break}}}else t=r;r=c[(tb&p)>>2]|0;if((r|0)>=(c[(Ba&p)>>2]|0)){u=x;ie=998;break c}E=z+(I*40|0)+8|0;if(!(b[(E&o)>>1]&64)){C=K+12|0;A=c[(C&p)>>2]|0;r=A+(c[(K&p)+8>>2]|0)|0;s=K+16|0;A=(A<<2)+80+(c[(s&p)>>2]|0)+(r*40|0)|0;J=mh(le,A,((A|0)<0)<<31>>31)|0;if(!J){y=ge;z=je;r=m;m=x;ie=1317;break a}fw(J|0,0,A|0)|0;if(!((b[(E&o)>>1]&9312)==0?(c[(z+(I*40|0)&p)+24>>2]|0)==0:0))Qg(L);b[(E&o)>>1]=64;c[(L&p)>>2]=J;c[(J&p)>>2]=f;c[(J&p)+60>>2]=r;c[(J&p)+64>>2]=c[(C&p)>>2];c[(J&p)+44>>2]=t;c[(J&p)+16>>2]=c[(Nc&p)>>2];c[(J&p)+52>>2]=c[(Ca&p)>>2];c[(J&p)+24>>2]=c[(Ib&p)>>2];c[(J&p)+40>>2]=c[(Da&p)>>2];c[(J&p)+8>>2]=c[(zc&p)>>2];c[(J&p)+48>>2]=c[(Ea&p)>>2];c[(J&p)+28>>2]=c[(K&p)+20>>2];c[(J&p)+20>>2]=c[(Hb&p)>>2];c[(J&p)+56>>2]=c[(Fa&p)>>2];z=J+80|0;r=z+(r*40|0)|0;if((z|0)!=(r|0))do{b[(z&o)+8>>1]=128;c[(z&p)+32>>2]=le;z=z+40|0}while((z|0)!=(r|0));r=c[(tb&p)>>2]|0;z=J}else{s=K+16|0;z=c[(L&p)>>2]|0}c[(tb&p)>>2]=r+1;c[(z&p)+4>>2]=c[(sb&p)>>2];S=z+32|0;c[(S&p)>>2]=m;c[(S&p)+4>>2]=l;c[(z&p)+68>>2]=c[(ub&p)>>2];c[(z&p)+72>>2]=c[((c[(f&p)>>2]|0)&p)+80>>2];c[(ub&p)>>2]=0;c[(sb&p)>>2]=z;S=z+40|0;c[(Nc&p)>>2]=S;U=c[(z&p)+60>>2]|0;c[(Ca&p)>>2]=U;V=c[(z&p)+64>>2]&65535;c[(Da&p)>>2]=V;U=S+((U+1|0)*40|0)|0;c[(Ib&p)>>2]=U;T=c[(K&p)>>2]|0;c[(zc&p)>>2]=T;c[(Ea&p)>>2]=c[(K&p)+4>>2];V=U+(V<<2)|0;c[(Hb&p)>>2]=V;U=c[(s&p)>>2]|0;c[(Fa&p)>>2]=U;fw(V|0,0,U|0)|0;U=W;V=X;r=-1;break}case 1009:{ie=0;S=c[(sb&p)>>2]|0;Zl(u,(c[(S&p)+16>>2]|0)+(((c[((c[(S&p)+8>>2]|0)+((c[(S&p)+44>>2]|0)*20|0)&p)+4>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]|0)|0)*40|0)|0,4096);S=z;T=s;U=W;V=X;break}case 1010:{ie=0;if(c[(Tb&p)>>2]&16777216){T=c[(s+(r*20|0)&p)+8>>2]|0;S=Rb;T=jw(c[(S&p)>>2]|0,c[(S&p)+4>>2]|0,T|0,((T|0)<0)<<31>>31|0)|0;S=Rb;c[(S&p)>>2]=T;c[(S&p)+4>>2]=G;S=z;T=s;U=W;V=X;u=J;break}t=c[(s+(r*20|0)&p)+8>>2]|0;u=((t|0)<0)<<31>>31;if(!(c[(s+(r*20|0)&p)+4>>2]|0)){T=_d;T=jw(c[(T&p)>>2]|0,c[(T&p)+4>>2]|0,t|0,u|0)|0;S=_d;c[(S&p)>>2]=T;c[(S&p)+4>>2]=G;S=z;T=s;U=W;V=X;u=J;break}else{T=Qb;T=jw(c[(T&p)>>2]|0,c[(T&p)+4>>2]|0,t|0,u|0)|0;S=Qb;c[(S&p)>>2]=T;c[(S&p)+4>>2]=G;S=z;T=s;U=W;V=X;u=J;break}}case 1015:{ie=0;if(!(c[(s+(r*20|0)&p)+4>>2]|0)){V=_d;if(!((c[(V&p)>>2]|0)==0&(c[(V&p)+4>>2]|0)==0)){S=z;T=s;U=W;V=X;break}V=Rb;if(!((c[(V&p)>>2]|0)==0&(c[(V&p)+4>>2]|0)==0)){S=z;T=s;U=W;V=X;break}S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0;break}else{V=Qb;if(!((c[(V&p)>>2]|0)==0&(c[(V&p)+4>>2]|0)==0)){S=z;T=s;U=W;V=X;break}V=Rb;if(!((c[(V&p)>>2]|0)==0&(c[(V&p)+4>>2]|0)==0)){S=z;T=s;U=W;V=X;break}S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0;break}}case 1022:{ie=0;t=c[(sb&p)>>2]|0;if(!t)v=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;else{while(1){u=c[(t&p)+4>>2]|0;if(!u)break;else t=u}v=(c[(t&p)+16>>2]|0)+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0}U=Vg(v)|0;V=v;c[(V&p)>>2]=U;c[(V&p)+4>>2]=G;V=v+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|4;V=c[(s+(r*20|0)&p)+8>>2]|0;U=z+(V*40|0)|0;t=Vg(U)|0;u=G;c[(U&p)>>2]=t;c[(U&p)+4>>2]=u;V=z+(V*40|0)+8|0;b[(V&o)>>1]=e[(V&o)>>1]&48640|4;V=v;U=c[(V&p)+4>>2]|0;if((U|0)<(u|0)|((U|0)==(u|0)?(c[(V&p)>>2]|0)>>>0<t>>>0:0)){S=v;c[(S&p)>>2]=t;c[(S&p)+4>>2]=u;S=z;T=s;U=W;V=X;u=L}else{S=z;T=s;U=W;V=X;u=L}break}case 1028:{ie=0;V=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;U=c[(V&p)+4>>2]|0;if((U|0)>0|(U|0)==0&(c[(V&p)>>2]|0)>>>0>0){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 1030:{ie=0;T=c[(s+(r*20|0)&p)+12>>2]|0;U=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;V=U;T=jw(c[(V&p)>>2]|0,c[(V&p)+4>>2]|0,T|0,((T|0)<0)<<31>>31|0)|0;V=G;c[(U&p)>>2]=T;c[(U&p)+4>>2]=V;if((V|0)<0){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 1032:{ie=0;t=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;v=t;u=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;if((u|0)==0&(v|0)==0){S=z;T=s;U=W;V=X;u=J}else{T=c[(s+(r*20|0)&p)+12>>2]|0;T=jw(T|0,((T|0)<0)<<31>>31|0,u|0,v|0)|0;S=t;c[(S&p)>>2]=T;c[(S&p)+4>>2]=G;S=z;T=s;U=W;V=X;u=J;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}break}case 1034:{ie=0;T=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;U=T;U=jw(c[(U&p)>>2]|0,c[(U&p)+4>>2]|0,-1,-1)|0;V=G;c[(T&p)>>2]=U;c[(T&p)+4>>2]=V;if((U|0)==0&(V|0)==0){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 1036:{ie=0;T=z+((c[(s+(r*20|0)&p)+4>>2]|0)*40|0)|0;V=T;U=c[(V&p)>>2]|0;V=c[(V&p)+4>>2]|0;S=jw(U|0,V|0,1,0)|0;c[(T&p)>>2]=S;c[(T&p)+4>>2]=G;if((U|0)==0&(V|0)==0){S=z;T=s;U=W;V=X;r=(c[(s+(r*20|0)&p)+8>>2]|0)+-1|0}else{S=z;T=s;U=W;V=X}break}case 1157:{ie=0;S=z;T=s;U=W;V=X;r=(c[(s+(t*20|0)&p)+8>>2]|0)+-1|0;break}case 1158:{ie=0;if(c[(s+(r*20|0)&p)+4>>2]|0){b[(Yd&o)>>1]=b[(Yd&o)>>1]|8;S=z;T=s;U=W;V=X;break}t=c[(Vb&p)>>2]|0;if(!t){S=z;T=s;U=W;V=X}else{do{V=t+88|0;b[(V&o)>>1]=b[(V&o)>>1]|8;t=c[(t&p)+52>>2]|0}while((t|0)!=0);S=z;T=s;U=W;V=X}break}case 1166:{ie=0;J=(c[(w&p)>>2]|0)+72|0;t=c[(J&p)>>2]|0;D:do if(t){while(1){if((c[(t&p)+4>>2]|0)==(A|0)?(c[(t&p)>>2]|0)==(C|0):0)break;t=c[(t&p)+12>>2]|0;if(!t){ie=1171;break D}}if(!t)ie=1171}else ie=1171;while(0);if((ie|0)==1171){ie=0;t=qg(16,0)|0;if(!t){t=r;s=7;u=x;ie=1309;break c}U=t+0|0;V=U+12|0;do{a[(U&n)>>0]=0;U=U+1|0}while((U|0)<(V|0));c[(t&p)+4>>2]=A;c[(t&p)>>2]=C;c[(t&p)+12>>2]=c[(J&p)>>2];c[(J&p)>>2]=t}t=t+8|0;if((d[(t&n)>>0]|0)<(v&255)){a[(t&n)>>0]=v;S=z;T=s;U=W;V=X}else{S=z;T=s;U=W;V=X}break}case 1213:{ie=0;c[(sd&p)>>2]=0;v=c[((c[(s+(r*20|0)&p)+16>>2]|0)&p)+8>>2]|0;if(!v){t=r;s=6;u=x;ie=1309;break c}w=c[(v&p)>>2]|0;if(!w){t=r;s=6;u=x;ie=1309;break c}C=rc[c[(w&p)+24>>2]&127](v,sd)|0;Mm(f,v);if(C){t=r;s=C;u=x;ie=1309;break c}c[(c[(sd&p)>>2]&p)>>2]=v;t=xm(f,c[(s+(r*20|0)&p)+4>>2]|0,0,-1,0)|0;if(!t){a[(ge&n)>>0]=1;lc[c[(w&p)+28>>2]&127](c[(sd&p)>>2]|0)|0;S=z;T=s;U=W;V=X;break}else{c[(t&p)+32>>2]=c[(sd&p)>>2];S=v+4|0;c[(S&p)>>2]=(c[(S&p)>>2]|0)+1;S=z;T=s;U=W;V=X;break}}case 1226:{ie=0;t=z+(C*40|0)+8|0;if(!(b[(t&o)>>1]&9312)){b[(t&o)>>1]=1;S=z;T=s;U=W;V=X;break}else{vg(A);S=z;T=s;U=W;V=X;break}}case 1257:{ie=0;S=u;c[(S&p)>>2]=c[((c[((c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+4>>2]|0)&p)+4>>2]|0)&p)+44>>2];c[(S&p)+4>>2]=0;S=z;T=s;U=W;V=X;break}case 1258:{ie=0;v=c[((c[(Xd&p)>>2]|0)+(c[(s+(r*20|0)&p)+4>>2]<<4)&p)+4>>2]|0;t=c[(s+(r*20|0)&p)+12>>2]|0;u=c[(v&p)+4>>2]|0;if(!t)t=0;else{V=c[(u&p)+44>>2]|0;t=V>>>0<t>>>0?t:V}c[(u&p)+4>>2]=c[(v&p)>>2];u=(c[(u&p)>>2]|0)+156|0;if((t|0)>0)c[(u&p)>>2]=t;else t=c[(u&p)>>2]|0;S=J;c[(S&p)>>2]=t;c[(S&p)+4>>2]=((t|0)<0)<<31>>31;S=z;T=s;U=W;V=X;u=J;break}case 1264:{ie=0;r=c[(s+(t*20|0)&p)+8>>2]|0;r=(r|0)==0?t:r+-1|0;if((c[(Sa&p)>>2]|0)!=0?(b[(Yd&o)>>1]&512)==0:0){t=c[(s+(t*20|0)&p)+16>>2]|0;if(!t){t=c[(ce&p)>>2]|0;if(!t){S=z;T=s;U=W;V=X;u=L;break}}c[(Sd&p)>>2]=0;F=c[(f&p)>>2]|0;v=c[(F&p)+88>>2]|0;c[(fb&p)>>2]=Nd;c[(gb&p)>>2]=Nd;c[(hb&p)>>2]=0;c[(ib&p)>>2]=100;c[(jb&p)>>2]=v;a[(kb&n)>>0]=1;a[(lb&n)>>0]=0;c[(qd&p)>>2]=F;v=a[(t&n)>>0]|0;u=v<<24>>24==0;E:do if((c[(F&p)+160>>2]|0)>1){if(!u)while(1){u=t;do{u=u+1|0;if(v<<24>>24==10)break;v=a[(u&n)>>0]|0}while(v<<24>>24!=0);Sk(qd,42288,3);Sk(qd,t,u-t|0);v=a[(u&n)>>0]|0;if(!(v<<24>>24))break;else t=u}}else if(!u){H=F+62|0;K=1;do{F:do if(!(v<<24>>24)){A=0;u=0}else{C=t;u=0;while(1){A=Cn(C,ke)|0;if((c[(ke&p)>>2]|0)==135)break F;u=A+u|0;C=C+A|0;if(!(a[(C&n)>>0]|0)){A=0;break}}}while(0);Sk(qd,t,u);C=t+u|0;if(!A)break E;do if((a[(C&n)>>0]|0)==63)if((A|0)>1){Dn(t+(u+1)|0,Sd)|0;C=c[(Sd&p)>>2]|0;break}else{c[(Sd&p)>>2]=K;C=K;break}else{C=qh(f,C,A)|0;c[(Sd&p)>>2]=C}while(0);t=t+(u+A)|0;K=C+1|0;J=C+-1|0;I=c[(Ab&p)>>2]|0;C=I+(J*40|0)|0;A=e[(I+(J*40|0)&o)+8>>1]|0;do if(!(A&1)){if(A&4){T=C;U=c[(T&p)+4>>2]|0;V=ke;c[(V&p)>>2]=c[(T&p)>>2];c[(V&p)+4>>2]=U;En(qd,0,19920,ke);break}if(A&8){h[(k&q)>>3]=+h[(C&q)>>3];c[(ke&p)>>2]=c[(k&p)>>2];c[(ke&p)+4>>2]=c[(k&p)+4>>2];En(qd,0,20272,ke);break}if(!(A&2)){if(A&16384){c[(ke&p)>>2]=c[(C&p)>>2];En(qd,0,42304,ke);break}Sk(qd,42320,2);E=c[(I+(J*40|0)&p)+12>>2]|0;if((E|0)>0){C=I+(J*40|0)+16|0;A=0;do{c[(ke&p)>>2]=d[((c[(C&p)>>2]|0)+A&n)>>0];En(qd,0,42328,ke);A=A+1|0}while((A|0)!=(E|0))}Sk(qd,42336,1);break}else{E=a[(H&n)>>0]|0;if(E<<24>>24==1){V=c[(I+(J*40|0)&p)+16>>2]|0;c[(ke&p)>>2]=c[(I+(J*40|0)&p)+12>>2];c[(ke&p)+4>>2]=V;En(qd,0,42296,ke);break}U=Od+0|0;V=U+40|0;do{c[(U&p)>>2]=0;U=U+4|0}while((U|0)<(V|0));c[(nb&p)>>2]=F;Xg(Od,c[(I+(J*40|0)&p)+16>>2]|0,c[(I+(J*40|0)&p)+12>>2]|0,E,0)|0;V=c[(ob&p)>>2]|0;if(!((V&2|0)==0|(V&16711680|0)==65536))Bn(Od,1)|0;V=c[(qb&p)>>2]|0;c[(ke&p)>>2]=c[(pb&p)>>2];c[(ke&p)+4>>2]=V;En(qd,0,42296,ke);if((b[(ob&o)>>1]&9312)==0&(c[(rb&p)>>2]|0)==0)break;Qg(Od);break}}else Sk(qd,20304,4);while(0);v=a[(t&n)>>0]|0}while(v<<24>>24!=0)}while(0);S=tg(qd)|0;jc[c[(Sa&p)>>2]&15](c[(mb&p)>>2]|0,S);mg(le,S);S=z;T=s;U=W;V=X;u=L}else{S=z;T=s;U=W;V=X;u=L}break}}if((ie|0)==28){ie=0;z=s+(r*20|0)+4|0;t=c[(z&p)>>2]|0;if(t){y=z;ie=34;break}z=c[(sb&p)>>2]|0;if(!z){ie=30;break}c[(sb&p)>>2]=c[(z&p)+4>>2];c[(tb&p)>>2]=(c[(tb&p)>>2]|0)+-1;l=c[(ub&p)>>2]|0;c[(vb&p)>>2]=l;c[(wb&p)>>2]=(c[(wb&p)>>2]|0)+l;z=Xl(z)|0;l=ne;t=c[(zc&p)>>2]|0;if((c[(s+(r*20|0)&p)+8>>2]|0)==4)r=(c[(t+(z*20|0)&p)+8>>2]|0)+-1|0;else r=z;m=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;S=c[(Nc&p)>>2]|0;T=t;U=W;V=X}else if((ie|0)==488){ie=0;u=sm(le,C,A)|0;if(!u){S=z;T=s;U=W;V=X;u=E}else{t=r;ie=1318;break}}z=S;s=T;W=U;X=V;t=r+1|0}switch(ie|0){case 30:{c[(me&p)>>2]=t;a[(fe&n)>>0]=c[(s+(r*20|0)&p)+8>>2];c[(he&p)>>2]=r;ie=41;break}case 34:{c[(me&p)>>2]=t;a[(fe&n)>>0]=c[(s+(r*20|0)&p)+8>>2];c[(he&p)>>2]=r;t=a[(s+(r*20|0)&n)+3>>0]|0;if(!(t<<24>>24)){s=c[(s+(r*20|0)&p)+16>>2]|0;if(!s){s=0;ie=39}else{c[(ke&p)>>2]=s;dh(je,le,10344,ke)}}else{u=c[((t&255)+-1<<2&p)+41536>>2]|0;t=c[(s+(r*20|0)&p)+16>>2]|0;if(!t){s=u;ie=39}else{c[(ke&p)>>2]=u;c[(ke&p)+4>>2]=t;dh(je,le,41624,ke)}}if((ie|0)==39){c[(ke&p)>>2]=s;dh(je,le,41656,ke)}ie=c[(y&p)>>2]|0;qd=c[(ce&p)>>2]|0;rd=c[(je&p)>>2]|0;c[(ke&p)>>2]=r;c[(ke&p)+4>>2]=qd;c[(ke&p)+8>>2]=rd;bd(ie,41600,ke);ie=41;break}case 80:{x=c[(be&p)>>2]|0;if(!((x|0)==0|g>>>0<y>>>0)?(lc[x&127](c[(Zd&p)>>2]|0)|0)!=0:0){r=m;s=9;m=u;ie=1311;break a}rd=_d;qd=c[(rd&p)+4>>2]|0;if((qd|0)>0|(qd|0)==0&(c[(rd&p)>>2]|0)>>>0>0){s=c[(f&p)>>2]|0;c[(me&p)>>2]=787;a[(fe&n)>>0]=2;dh(je,s,34376,ke);s=1;ie=1309;break}x=$l(f,1)|0;if(!x){c[($d&p)>>2]=(c[($d&p)>>2]|0)+2|1;y=c[(s+(t*20|0)&p)+4>>2]|0;c[(de&p)>>2]=z+(y*40|0);r=s+(t*20|0)+8|0;if((c[(r&p)>>2]|0)>0){x=0;do{v=x+y|0;w=z+(v*40|0)|0;v=z+(v*40|0)+8|0;s=b[(v&o)>>1]|0;if(s&4096){if(Vl(w)|0){y=ge;z=je;r=m;m=u;ie=1317;break a}s=b[(v&o)>>1]|0}if((s&514)==2)am(w)|0;x=x+1|0}while((x|0)<(c[(r&p)>>2]|0))}if(a[(ge&n)>>0]|0){y=ge;z=je;r=m;m=u;ie=1317;break a}c[(he&p)>>2]=t+1;r=m;m=g;g=100;break a}else{s=x;ie=1309}break}case 313:{c[(ke&p)>>2]=73058;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);s=11;ie=1309;break}case 343:{c[(ke&p)>>2]=73142;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);s=11;ie=1309;break}case 447:{dh(je,le,41712,ke);t=r;s=5;ie=1309;break}case 460:{c[(ke&p)>>2]=s;dh(je,le,41768,ke);s=1;ie=1309;break}case 462:{dh(je,le,41792,ke);s=5;ie=1309;break}case 467:{c[(he&p)>>2]=g;a[(ee&n)>>0]=0;c[(me&p)>>2]=5;g=5;break a}case 489:{v=c[(s+(t*20|0)&p)+4>>2]|0;s=c[(s+(t*20|0)&p)+8>>2]|0;g=(v|0)!=0;if(g){s=(s|0)!=0;if(!(s|(a[(ee&n)>>0]|0)!=0))if((c[(ae&p)>>2]|0)>0){dh(je,le,41848,ke);g=m;m=r;s=5;ie=1309;break}else s=0}else s=(s|0)!=0;if((v|0)==(d[(ee&n)>>0]|0)){if(g)g=s?41952:42e3;else g=41904;dh(je,le,g,ke);g=m;m=r;s=1;ie=1309;break}if(!s){g=tm(f,1)|0;if(g)break a;a[(ee&n)>>0]=v;if((Rl(f)|0)==5){c[(he&p)>>2]=t;a[(ee&n)>>0]=1-v;c[(me&p)>>2]=5;g=5;break a}}else{Kl(le,516);a[(ee&n)>>0]=1}Ll(le);g=(c[(me&p)>>2]|0)==0?101:1;break a}case 508:{c[(he&p)>>2]=g;c[(me&p)>>2]=5;g=5;break a}case 522:{mg(le,c[(je&p)>>2]|0);c[(je&p)>>2]=kh(le,16040)|0;s=c[(s&p)>>2]|0;if((c[(c[((c[(Xd&p)>>2]|0)+(s<<4)&p)+12>>2]&p)>>2]|0)!=(v|0))vm(le,s);b[(Yd&o)>>1]=b[(Yd&o)>>1]|8;s=17;ie=1309;break}case 542:{c[(ke&p)>>2]=73997;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);u=11;x=s;ie=1318;break}case 560:{c[(s&p)+56>>2]=0;s=7;ie=1309;break}case 832:{a[(fe&n)>>0]=2;s=6;ie=1309;break}case 882:{Eg(le);y=ge;z=je;r=m;m=u;ie=1317;break a}case 884:{Eg(le);if((s|0)==7){y=ge;z=je;r=m;m=u;ie=1317;break a}else ie=1309;break}case 998:{dh(je,le,42112,ke);s=1;ie=1309;break}case 1080:{c[(ke&p)>>2]=s?42208:42216;dh(je,le,42152,ke);s=1;ie=1309;break}case 1101:{dh(je,le,42344,ke);s=1;ie=1309;break}case 1103:{dh(je,le,42384,ke);s=1;ie=1309;break}case 1145:{c[(ke&p)>>2]=56343;c[(ke&p)+4>>2]=10788;bd(11,13600,ke);s=11;ie=1309;break}case 1316:{dh(je,le,10096,ke);r=m;s=18;m=u;ie=1311;break a}}if((ie|0)==41)if((Rl(f)|0)==5){c[(me&p)>>2]=5;r=m;m=g;g=5;break a}else{r=m;m=g;g=(c[(me&p)>>2]|0)!=0?1:101;break a}else if((ie|0)==1309){r=m;t=t+1|0;m=u;ie=1311;break a}else if((ie|0)==1318){u=(a[(ge&n)>>0]|0)==0?u:7;if((u|0)==3082){r=m;s=3082;m=x;ie=1311;break a}else if((u|0)!=516){r=u&255;if(r>>>0>26|(r|0)==2)s=16328;else s=c[(r<<2&p)+15488>>2]|0}else s=16344;c[(ke&p)>>2]=s;dh(je,le,10344,ke);r=m;s=u;m=x;ie=1311;break a}}else{u=f+44|0;r=m;g=0;t=0;m=0}while(0);c[(me&p)>>2]=9;c[(ke&p)>>2]=15832;dh(u,le,10344,ke);s=9;ie=1311}while(0);if((ie|0)==1317){a[(y&n)>>0]=1;dh(z,le,15776,ke);s=7;ie=1311}if((ie|0)==1311){c[(me&p)>>2]=s;qd=c[(f&p)+168>>2]|0;rd=c[(f&p)+44>>2]|0;c[(ke&p)>>2]=t;c[(ke&p)+4>>2]=qd;c[(ke&p)+8>>2]=rd;bd(s,42256,ke);Rl(f)|0;if((s|0)==3082)a[(le&n)+65>>0]=1;if(!(m<<24>>24)){m=g;g=1}else{vm(le,(m&255)+-1|0);m=g;g=1}}rd=ne;c[(rd&p)>>2]=r;c[(rd&p)+4>>2]=l;rd=f+124|0;c[(rd&p)>>2]=(c[(rd&p)>>2]|0)+m;i=oe;return g|0}
16 var $b=[Rw,ue];var ac=[Sw,li,qi,si,vi,xi,qe,we,vf,Xf,Yf,Ff,Ef,Hf,Oe,Df,Gf,Cf,xe,Qf,pf,Ge,Fc,Jf,Ne,ef,fg,Yc,Gi,Li,Oi,ek,kk,sk,Tw,Uw,Vw,uk,Bp,Cp,Ap,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw,Sw];var bc=[Ww,Jd];var cc=[Xw,Wc,$e,yf,Hd,Rd,Qd,Rc,Ki,Si,Ti,Vi,_i,cj,Fj,Gj,Hj,Jj,Lj,ok,qo,yp,ql,Xw,Xw,Xw,Xw,Xw,Xw,Xw,Xw,Xw];var dc=[Yw,Bd];var ec=[Zw,ce];var fc=[_w,Cd];var gc=[$w,td];var hc=[ax,hf,kf,Qc,lf,jf,vk,ax];var ic=[bx,$f,Af,bx];var jc=[cx,ri,Fd,Nd,Od,Pd,cd,Mi,Ri,ru,su,cx,cx,cx,cx,cx];var kc=[dx,_e,Vf,oe,ex,dx,dx,dx];var lc=[fx,Yd,ye,rf,tf,Zd,ff,gf,_d,Ce,ed,Nf,Se,Mf,ld,md,Zf,qf,Tc,nd,Sd,sf,Td,pd,rd,sd,ud,vd,He,qd,wd,xd,yd,zd,od,Me,Je,Sc,Oc,ag,Kc,Nc,Ud,kd,hd,jd,id,Gc,Ec,nf,Of,df,uf,of,Pf,Ee,De,Ue,Ve,Vc,Di,Ji,Ni,Ui,Xi,Yi,Zi,bk,lk,mk,gx,hx,ix,wk,Ak,Xk,gl,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx,fx];var mc=[jx,pi,Dd,Ed,Gd,bd,Pi,$i,aj,bj,dj,ej,fj,gj,hj,ij,jj,kj,lj,mj,nj,oj,pj,qj,rj,sj,tj,uj,vj,wj,xj,yj,zj,Aj,Bj,Cj,Dj,Ej,Ij,Kj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Vj,Wj,Xj,Yj,Zj,_j,$j,ak,Th,jx,jx,jx,jx,jx,jx];var nc=[kx,_f,We,kx];var oc=[lx,zf,Bf,Ie];var pc=[mx,mi,ni,re,af,ad,Ke,Le,cg,Sf,Ic,fd,gg,$c,Te,nk,rk,Dc,Dh,Fh,Jh,Uh,$m,dq,mx,mx,mx,mx,mx,mx,mx,mx];var qc=[nx,wf,Ad,Id,Kd,Ld,Md,Xd,Qi,pg,nx,nx,nx,nx,nx,nx];var rc=[ox,oi,ti,ui,wi,yi,zi,Ai,Bi,Ci,Vd,se,Ae,ze,xf,$d,ae,be,le,me,de,ee,je,ke,fe,he,ie,ge,cf,Wd,_c,Rf,Tf,Xc,Be,Zc,Mc,dg,bg,Fe,gd,Pc,If,Lf,hg,ig,dd,eg,Uc,Pe,Hi,Ii,Wi,fk,gk,hk,ik,jk,pk,px,qx,rx,sx,tx,ux,tk,vx,wx,xk,yk,zk,Bk,Ck,Dk,Ph,xp,Dm,Em,ps,qs,Zs,_s,gu,hu,ou,pu,qu,pv,Sv,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox,ox];var sc=[xx,pe];var tc=[yx,ki,ne,te,ve,Uf,Wf,Qe,Xe,Ye,Re,Ze,bf,Jc,Kf,Ei,Fi,ck,dk,qk,Ek,Un,Vn,yx,yx,yx,yx,yx,yx,yx,yx,yx];return{_i64Subtract:dw,_strcat:hw,_free:Xv,_main:Cc,_realloc:Yv,_i64Add:jw,_memmove:lw,_bitshift64Ashr:ew,_strlen:gw,_memset:fw,_malloc:Wv,_memcpy:kw,_bitshift64Lshr:mw,_llvm_bswap_i32:nw,_bitshift64Shl:iw,runPostSets:cw,stackAlloc:uc,stackSave:vc,stackRestore:wc,setThrew:xc,setTempRet0:Ac,getTempRet0:Bc,dynCall_iiiiiiii:ww,dynCall_iiii:xw,dynCall_viiiiii:yw,dynCall_vi:zw,dynCall_viiiii:Aw,dynCall_dii:Bw,dynCall_vid:Cw,dynCall_di:Dw,dynCall_i:Ew,dynCall_iiiiiiiiii:Fw,dynCall_vii:Gw,dynCall_iiiiiii:Hw,dynCall_ii:Iw,dynCall_viii:Jw,dynCall_v:Kw,dynCall_iiiiiiiii:Lw,dynCall_iiiii:Mw,dynCall_viiii:Nw,dynCall_iii:Ow,dynCall_iiid:Pw,dynCall_iiiiii:Qw}})