Searched refs:Sd (Results 1 - 21 of 21) sorted by relevance

/external/clang/test/CodeGen/
H A Dppc64-struct-onefloat.c5 typedef struct s2 { double d; } Sd; typedef in typeref:struct:s2
7 typedef struct s5 { Sd ds; } SSd;
9 void bar(Sf a, Sd b, SSf d, SSd e) {}
31 Sd p2 = { 19.47 };
/external/vboot_reference/utility/
H A Defidecompress.c96 IN SCRATCH_DATA *Sd,
107 Sd - The global scratch data
114 Sd->mBitBuf = (UINT32) (Sd->mBitBuf << NumOfBits);
116 while (NumOfBits > Sd->mBitCount) {
118 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount)));
120 if (Sd->mCompSize > 0) {
124 Sd
95 FillBuf( IN SCRATCH_DATA *Sd, IN UINT16 NumOfBits ) argument
145 GetBits( IN SCRATCH_DATA *Sd, IN UINT16 NumOfBits ) argument
179 MakeTable( IN SCRATCH_DATA *Sd, IN UINT16 NumOfChar, IN UINT8 *BitLen, IN UINT16 TableBits, OUT UINT16 *Table ) argument
368 ReadPTLen( IN SCRATCH_DATA *Sd, IN UINT16 nn, IN UINT16 nbit, IN UINT16 Special ) argument
755 SCRATCH_DATA *Sd; local
[all...]
/external/clang/test/OpenMP/
H A Dtarget_codegen_global_capture.cpp42 static float Sd = 8.0; local
128 // Capture b, Gb, Sb, Gc, c, Sc, d, Gd, Sd
139 // Capture d, Gd, Sd,
146 Sd += 1.0;
149 return a + b + c + d + (int)Sa + (int)Sb + (int)Sc + (int)Sd;
165 static float Sd = 12.0; local
264 // Capture b, Gb, Sb, Gc, c, Sc, d, Gd, Sd
275 // Capture d, Gd, Sd
280 Sd += 1.0;
284 return a + b + c + d + (int)Sa + (int)Sb + (int)Sc + (int)Sd;
[all...]
/external/valgrind/none/tests/arm/
H A Dvfp.stdout.exp142 vmla.f32 s0, s11, s12 :: Sd 0x7fc00000 Sm (i32)0xff800000 Sn (i32)0x7fc00000
143 vmla.f32 s7, s1, s6 :: Sd 0x7fc00000 Sm (i32)0x7f800000 Sn (i32)0x7fc00000
144 vmla.f32 s0, s5, s2 :: Sd 0x7fc00000 Sm (i32)0x7fc00000 Sn (i32)0xbf800000
145 vmla.f32 s10, s13, s15 :: Sd 0x7fc00000 Sm (i32)0x7fc00000 Sn (i32)0x00000000
146 vmla.f32 s10, s13, s15 :: Sd 0x7fc00000 Sm (i32)0x7fc00000 Sn (i32)0x7fc00000
147 vmla.f32 s20, s25, s22 :: Sd 0xc4833ce4 Sm (i32)0x41b851ec Sn (i32)0xc2364659
148 vmla.f32 s23, s24, s25 :: Sd 0xcddf4321 Sm (i32)0xc8a9da0f Sn (i32)0x44a84000
149 vmla.f32 s20, s31, s12 :: Sd 0xcf050e7f Sm (i32)0x473e7300 Sn (i32)0xc732da7a
150 vmla.f32 s19, s25, s27 :: Sd 0x4ec3063f Sm (i32)0x47bb3de1 Sn (i32)0x46855200
151 vmla.f32 s30, s15, s2 :: Sd
[all...]
/external/opencv/cxcore/src/
H A Dcxmatrix.cpp905 #define Sd( y, x ) ((double*)(srcdata + y*srcstep))[x] macro
1002 double d = det2(Sd);
1008 t0 = Sd(0,0)*d;
1009 t1 = Sd(1,1)*d;
1012 t0 = -Sd(0,1)*d;
1013 t1 = -Sd(1,0)*d;
1049 double d = det3(Sd);
1056 t[0] = (Sd(1,1) * Sd(2,2) - Sd(
[all...]
/external/v8/src/arm/
H A Ddisasm-arm.cc1393 // vcvt: Sd = Dm
1396 // Sd = vabs(Sm)
1398 // Sd = vneg(Sm)
1400 // Sd = vadd(Sn, Sm)
1402 // Sd = vsub(Sn, Sm)
1404 // Sd = vmul(Sn, Sm)
1406 // Sd = vmla(Sn, Sm)
1408 // Sd = vmls(Sn, Sm)
1410 // Sd = vdiv(Sn, Sm)
1412 // vcmp(Sd, S
[all...]
/external/valgrind/massif/tests/
H A Dculling2.stderr.exp32 Massif: alloc Sd 9 (t:14544, hp:14400, ex:144, st:0)
42 Massif: alloc Sd 19 (t:68704, hp:68400, ex:304, st:0)
52 Massif: alloc Sd 29 (t:162864, hp:162400, ex:464, st:0)
62 Massif: alloc Sd 39 (t:297024, hp:296400, ex:624, st:0)
72 Massif: alloc Sd 49 (t:471184, hp:470400, ex:784, st:0)
82 Massif: alloc Sd 59 (t:685344, hp:684400, ex:944, st:0)
92 Massif: alloc Sd 69 (t:939504, hp:938400, ex:1104, st:0)
102 Massif: alloc Sd 79 (t:1233664, hp:1232400, ex:1264, st:0)
112 Massif: alloc Sd 89 (t:1567824, hp:1566400, ex:1424, st:0)
122 Massif: alloc Sd 9
[all...]
H A Dculling1.stderr.exp32 Massif: alloc Sd 9 (t:288, hp:144, ex:144, st:0)
42 Massif: alloc Sd 19 (t:608, hp:304, ex:304, st:0)
52 Massif: alloc Sd 29 (t:928, hp:464, ex:464, st:0)
62 Massif: alloc Sd 39 (t:1248, hp:624, ex:624, st:0)
72 Massif: alloc Sd 49 (t:1568, hp:784, ex:784, st:0)
82 Massif: alloc Sd 59 (t:1888, hp:944, ex:944, st:0)
92 Massif: alloc Sd 69 (t:2208, hp:1104, ex:1104, st:0)
102 Massif: alloc Sd 79 (t:2528, hp:1264, ex:1264, st:0)
112 Massif: alloc Sd 89 (t:2848, hp:1424, ex:1424, st:0)
122 Massif: alloc Sd 9
[all...]
H A Ddeep-B.stderr.exp39 Massif: alloc Sd 9 (t:3672, hp:3600, ex:72, st:0)
H A Ddeep-C.stderr.exp42 Massif: alloc Sd 9 (t:3672, hp:3600, ex:72, st:0)
/external/clang/test/SemaCXX/
H A Derr_typecheck_assign_const_filecheck.cpp25 static D Sd; member in struct:C
/external/skia/src/core/
H A DSkMatrix.cpp1692 double Sa, Sb, Sd; local
1700 Sd = D;
1712 Sd = -B*sinQ + D*cosQ;
1723 w2 = Sd;
1727 double diff = Sa - Sd;
1729 double trace = Sa + Sd;
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2637 Value *Sd = getShadow(D); local
2640 Value *Sa0 = IRB.CreateSelect(B, Sc, Sd);
2645 // Sa = select Sb, poisoned, (select b, Sc, Sd)
2648 // Sa = select Sb, [ (c^d) | Sc | Sd ], [ b ? Sc : Sd ]
2651 // If !Sb (condition is unpoisoned), simply pick one of Sc and Sd.
2658 Sa1 = IRB.CreateOr(IRB.CreateXor(C, D), IRB.CreateOr(Sc, Sd));
/external/v8/test/mjsunit/asm/sqlite3/
H A Dsqlite-pointer-masking.js5 function hh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[(d&p)>>2]|0;l=c[(d&p)+80>>2]|0;h=d+44|0;do if(!(c[(h&p)>>2]|0)){c[(k&p)+52>>2]=l;e=c[(k&p)+236>>2]|0;if(e){d=e+8|0;if(!(b[(d&o)>>1]&9312)){b[(d&o)>>1]=1;break}else{vg(e);break}}}else{i=k+65|0;j=a[(i&n)>>0]|0;d=c[3164]|0;if(d)nc[d&3]();g=k+236|0;d=c[(g&p)>>2]|0;do if(!d){d=mh(k,40,0)|0;if(!d){c[(g&p)>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(f|0));b[(d&o)+8>>1]=1;c[(d&p)+32>>2]=k;c[(g&p)>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Xg(d,c[(h&p)>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)nc[d&3]();a[(i&n)>>0]=j;c[(k&p)+52>>2]=l}while(0);return l|0}function ih(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;c[(g&p)>>2]=0;if(!((Hh(a)|0)==0|(b|0)==0)){k=c[(a&p)+20>>2]|0;if((k|0)>0){l=c[(a&p)+16>>2]|0;n=0;do{m=c[(l+(n<<4)&p)+4>>2]|0;if(m)c[((c[(m&p)+4>>2]|0)&p)+4>>2]=c[(m&p)>>2];n=n+1|0}while((n|0)!=(k|0))}k=Fn(a,b,d,e,f,g,h)|0;if((k|0)==17){md(c[(g&p)>>2]|0)|0;k=Fn(a,b,d,e,f,g,h)|0}}else{c[(k&p)>>2]=105892;c[(k&p)+4>>2]=10788;bd(21,13648,k);k=21}i=o;return k|0}function jh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[(f&o)>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{_l((c[(e&p)>>2]|0)+(a*40|0)|0,(c[(d&p)>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[(f&o)>>1]|0))}return}function kh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=mh(b,e,0)|0;if(d)kw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function lh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[(a&p)+8>>2]|0;if((d|0)>=1){fh(f,d)|0;b[(f&o)+8>>1]=8192;c[(f&p)>>2]=c[(a&p)+4>>2];e=f+16|0;a=c[(e&p)>>2]|0;if(!a)e=0;else{fw(a|0,0,d|0)|0;e=c[(e&p)>>2]|0}}else{e=f+8|0;if(!(b[(e&o)>>1]&9312))b[(e&o)>>1]=1;else vg(f);c[(f&p)+16>>2]=0;e=0}return e|0}function mh(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[(i&n)>>0]|0)){do if(a[(b&n)+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[(b&o)+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}h=b+272|0;g=c[(h&p)>>2]|0;if(!g){g=b+268|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}c[(h&p)>>2]=c[(g&p)>>2];f=b+252|0;h=c[(f&p)>>2]|0;d=h+1|0;c[(f&p)>>2]=d;f=b+260|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=b+256|0;if((h|0)>=(c[(f&p)>>2]|0))c[(f&p)>>2]=d;break a}while(0);g=qg(d,f)|0;if(!g){a[(i&n)>>0]=1;g=0}}else g=0}else g=qg(d,f)|0;while(0);return g|0}function nh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[(a&p)+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[(a&o)+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[(a&p)>>2]|0;if((f|0)!=0?(c[(f&p)+52>>2]=25,g=c[(f&p)+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;f=41496;break}else{vg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function oh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=ph(a,e)|0;if(!j)if(!f)j=0;else{e=(c[(a&p)+60>>2]|0)+((e+-1|0)*40|0)|0;j=Xg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Yl(e,d[((c[(a&p)>>2]|0)&n)+62>>0]|0)|0;j=c[(a&p)>>2]|0;c[(j&p)+52>>2]=e;h=c[(j&p)+236>>2]|0;do if(h){g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);j=c[(a&p)>>2]|0;break}}while(0);j=Og(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))cc[h&31](f)}return j|0}function ph(a,d){a=a|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;do if(!(ah(a)|0)){if((c[(a&p)+40>>2]|0)==-1108210269?(c[(a&p)+76>>2]|0)<=-1:0){if((d|0)>=1?(b[(a&o)+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[(a&p)+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[(e&o)>>1]&9312)==0?(c[(g+(h*40|0)&p)+24>>2]|0)==0:0))Qg(f);b[(e&o)>>1]=1;f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=0;f=c[(f&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);g=a+88|0;e=b[(g&o)>>1]|0;if(!(e&256)){e=0;break}f=c[(a&p)+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[(g&o)>>1]=e|8;e=0;break}e=c[(a&p)>>2]|0;c[(e&p)+52>>2]=25;e=c[(e&p)+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;e=25;break}else{vg(e);e=25;break}}f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=21;f=c[(f&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[(g&p)>>2]=c[(a&p)+168>>2];bd(21,41456,g);c[(g&p)>>2]=69987;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}else{c[(g&p)>>2]=69979;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}while(0);i=k;return e|0}function qh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[(d&o)+70>>1]|0,i<<16>>16>0):0){g=c[(d&p)+64>>2]|0;d=0;while(1){h=c[(g+(d<<2)&p)>>2]|0;if(((h|0)!=0?($v(h,e,f)|0)==0:0)?(a[(h+f&n)>>0]|0)==0:0)break;d=d+1|0;if((d|0)>=(i<<16>>16|0)){d=0;break a}}d=d+1|0}else d=0;while(0);return d|0}function rh(d,f){d=d|0;f=f|0;var g=0,k=0,l=0,m=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s+8|0;m=s;g=a[(d&n)+10>>0]|0;k=d+16|0;l=d+12|0;do if(Tl(c[(k&p)>>2]|0,r,c[(l&p)>>2]|0,g)|0){if(!(Ul(c[(k&p)>>2]|0,m,c[(l&p)>>2]|0,g)|0)){l=m;k=c[(l&p)+4>>2]|0;g=d;c[(g&p)>>2]=c[(l&p)>>2];c[(g&p)+4>>2]=k;g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|4;break}h[(d&q)>>3]=+h[(r&q)>>3];g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|8;if(f)dm(d)}while(0);i=s;return}function sh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;if(!(Gn(b)|0)){g=_h(c[(b&p)>>2]|0,e,f)|0;if(!g){g=(d|0)!=0?41368:41384;if(!f){c[(h&p)>>2]=g;c[(h&p)+4>>2]=e;th(b,27680,h)}else{c[(h&p)>>2]=g;c[(h&p)+4>>2]=f;c[(h&p)+8>>2]=e;th(b,27664,h)}a[(b&n)+17>>0]=1;g=0}}else g=0;i=k;return g|0}function th(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();h=g;f=c[(b&p)>>2]|0;c[(h&p)>>2]=e;e=Wk(f,d,h)|0;if(!(a[(f&n)+68>>0]|0)){d=b+64|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=b+4|0;mg(f,c[(d&p)>>2]|0);c[(d&p)>>2]=e;c[(b&p)+12>>2]=1}else mg(f,e);i=g;return}function uh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;a=Wk(a,b,f)|0;i=e;return a|0}function vh(a){a=a|0;var b=0,d=0,e=0;d=c[(a&p)>>2]|0;b=mh(d,208,0)|0;if(!b)b=0;else{fw(b|0,0,208)|0;c[(b&p)>>2]=d;d=d+4|0;e=c[(d&p)>>2]|0;if(e)c[(e&p)+48>>2]=b;c[(b&p)+52>>2]=e;c[(b&p)+48>>2]=0;c[(d&p)>>2]=b;c[(b&p)+40>>2]=649915045;c[(b&p)+24>>2]=a}return b|0}function wh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=b+32|0;h=c[(i&p)>>2]|0;if((c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0)<=(h|0))if(!(Hn(b)|0)){j=c[(i&p)>>2]|0;k=4}else h=1;else{j=h;k=4}if((k|0)==4){c[(i&p)>>2]=j+1;i=c[(b&p)+4>>2]|0;a[(i+(h*20|0)&n)>>0]=d;a[(i+(h*20|0)&n)+3>>0]=0;c[(i+(h*20|0)&p)+4>>2]=e;c[(i+(h*20|0)&p)+8>>2]=f;c[(i+(h*20|0)&p)+12>>2]=g;c[(i+(h*20|0)&p)+16>>2]=0;a[(i+(h*20|0)&n)+1>>0]=0}return h|0}function xh(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;j=c[(b&p)>>2]|0;g=c[(b&p)+4>>2]|0;do if((g|0)!=0?(a[(j&n)+65>>0]|0)==0:0){if((d|0)<0)d=(c[(b&p)+32>>2]|0)+-1|0;i=g+(d*20|0)+1|0;h=g+(d*20|0)+16|0;In(j,a[(i&n)>>0]|0,c[(h&p)>>2]|0);c[(h&p)>>2]=0;if((f|0)==-14){c[(h&p)>>2]=e;a[(i&n)>>0]=-14;break}if(!e){c[(h&p)>>2]=0;a[(i&n)>>0]=0;break}if((f|0)==-6){c[(h&p)>>2]=e;a[(i&n)>>0]=-6;break}else if((f|0)==-10){c[(h&p)>>2]=e;a[(i&n)>>0]=-10;d=e+12|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;break}else{if((f|0)<0){c[(h&p)>>2]=e;a[(i&n)>>0]=f;break}if(!f){d=e;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;g=d-e&1073741823}else g=f;b=c[(b&p)>>2]|0;d=jw(g|0,((g|0)<0)<<31>>31|0,1,0)|0;d=mh(b,d,G)|0;if(!d)d=0;else{kw(d|0,e|0,g|0)|0;a[(d+g&n)>>0]=0}c[(h&p)>>2]=d;a[(i&n)>>0]=-1;break}}else k=3;while(0);if((k|0)==3?(f|0)!=-10:0)In(j,f,e);return}function yh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+32|0;f=c[(k&p)>>2]|0;if((f+d|0)>(c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0))if(!(Hn(b)|0)){f=c[(k&p)>>2]|0;g=4}else f=0;else g=4;if((g|0)==4)if((d|0)>0){i=b+4|0;j=0;while(1){l=a[(e&n)+2>>0]|0;g=l<<24>>24;b=j+f|0;h=c[(i&p)>>2]|0;a[(h+(b*20|0)&n)>>0]=a[(e&n)>>0]|0;c[(h+(b*20|0)&p)+4>>2]=a[(e&n)+1>>0];if(l<<24>>24<0)g=f+~g|0;c[(h+(b*20|0)&p)+8>>2]=g;c[(h+(b*20|0)&p)+12>>2]=a[(e&n)+3>>0];a[(h+(b*20|0)&n)+1>>0]=0;c[(h+(b*20|0)&p)+16>>2]=0;a[(h+(b*20|0)&n)+3>>0]=0;j=j+1|0;if((j|0)==(d|0))break;else e=e+4|0}c[(k&p)>>2]=(c[(k&p)>>2]|0)+d}return f|0}function zh(b,d){b=b|0;d=d|0;var e=0,f=0;e=b+32|0;if((c[(e&p)>>2]|0)>(d|0)?(f=c[(b&p)+4>>2]|0,In(c[(b&p)>>2]|0,a[(f+(d*20|0)&n)+1>>0]|0,c[(f+(d*20|0)&p)+16>>2]|0),b=f+(d*20|0)|0,c[(b&p)>>2]=0,c[(b&p)+4>>2]=0,c[(b&p)+8>>2]=0,c[(b&p)+12>>2]=0,c[(b&p)+16>>2]=0,a[(b&n)>>0]=-100,((c[(e&p)>>2]|0)+-1|0)==(d|0)):0)c[(e&p)>>2]=d;return}function Ah(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,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;N=i;i=i+16|0;if((i|0)>=(j|0))fa();k=N;L=c[(e&p)>>2]|0;F=c[(f&p)+440>>2]|0;g=c[(f&p)+72>>2]|0;E=c[(f&p)+68>>2]|0;c[(k&p)>>2]=c[(f&p)+392>>2];D=c[(f&p)+80>>2]|0;D=(D|0)==0?1:D;g=E+g|0;m=c[(e&p)+4>>2]|0;l=m+((c[(e&p)+32>>2]|0)*20|0)|0;m=m+((c[(f&p)+84>>2]|0)*20|0)|0;Jn(e,k);if(!(a[(f&n)+20>>0]|0))h=0;else h=((a[(f&n)+21>>0]|0)!=0&1)<<5&65535;M=e+88|0;b[(M&o)>>1]=b[(M&o)>>1]&-33|h;K=f+450|0;H=(a[(K&n)>>0]|0)!=0&(g|0)<10?10:g;g=l;fw(l|0,0,m-g|0)|0;b[(M&o)>>1]=b[(M&o)>>1]&-9;G=e+8|0;y=H*40|0;z=e+60|0;A=F*40|0;B=e+12|0;q=(c[(k&p)>>2]<<2)+7&-8;C=e+64|0;r=(F<<2)+7&-8;s=e+56|0;t=(E<<2)+7&-8;u=e+200|0;v=D+7&-8;w=e+172|0;x=L+65|0;l=l+(g&7)|0;while(1){k=c[(G&p)>>2]|0;if(!k){h=l+y|0;g=h>>>0>m>>>0;k=g?0:l;l=g?l:h;g=g?y:0}else g=0;c[(G&p)>>2]=k;k=c[(z&p)>>2]|0;if(!k){O=l+A|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?A:0)+g|0}c[(z&p)>>2]=k;k=c[(B&p)>>2]|0;if(!k){O=l+q|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?q:0)+g|0}c[(B&p)>>2]=k;k=c[(C&p)>>2]|0;if(!k){O=l+r|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?r:0)+g|0}c[(C&p)>>2]=k;k=c[(s&p)>>2]|0;if(!k){O=l+t|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?t:0)+g|0}c[(s&p)>>2]=k;k=c[(u&p)>>2]|0;if(!k){h=(l+v|0)>>>0>m>>>0;k=h?0:l;g=(h?v:0)+g|0}c[(u&p)>>2]=k;if(!g)break;h=mh(L,g,((g|0)<0)<<31>>31)|0;if(!h)k=0;else{fw(h|0,0,g|0)|0;k=h}c[(w&p)>>2]=k;if(!(a[(x&n)>>0]|0)){l=h;m=h+g|0}else break}c[(e&p)+36>>2]=E;c[(e&p)+196>>2]=D;h=c[(z&p)>>2]|0;if((h|0)!=0?(b[(e&o)+68>>1]=F,(F|0)>0):0){g=0;do{b[(h+(g*40|0)&o)+8>>1]=1;c[(h+(g*40|0)&p)+32>>2]=L;g=g+1|0}while((g|0)!=(F|0))}h=c[(C&p)>>2]|0;if((h|0)!=0?(I=f+444|0,J=c[(I&p)>>2]|0,(J|0)>0):0){b[(e&o)+70>>1]=J;F=f+472|0;kw(h|0,c[(F&p)>>2]|0,J<<16>>14|0)|0;fw(c[(F&p)>>2]|0,0,c[(I&p)>>2]<<2|0)|0}h=c[(G&p)>>2]|0;if((h|0)!=0?(c[(G&p)>>2]=h+-40,c[(e&p)+28>>2]=H,(H|0)>=1):0){g=1;while(1){b[(h+((g+-1|0)*40|0)&o)+8>>1]=128;c[(h+((g+-1|0)*40|0)&p)+32>>2]=L;if((g|0)==(H|0))break;else g=g+1|0}}b[(M&o)>>1]=b[(M&o)>>1]&-4|d[(K&n)>>0]&3;c[(e&p)+76>>2]=-1;c[(e&p)+80>>2]=0;a[(e&n)+86>>0]=2;c[(e&p)+40>>2]=-1108210269;c[(e&p)+92>>2]=0;c[(e&p)+72>>2]=1;a[(e&n)+87>>0]=-1;c[(e&p)+104>>2]=0;G=e+144|0;c[(G&p)>>2]=0;c[(G&p)+4>>2]=0;i=N;return}function Bh(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;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;q=e+20|0;m=c[(q&p)>>2]|0;l=c[(m&p)+60>>2]|0;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=Sd(m)|0;do if((l|0)!=100){k=c[(q&p)>>2]|0;if(k){l=md(k)|0;c[(q&p)>>2]=0;k=c[(e&p)+24>>2]|0;if(!l){l=r;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=1;k=uh(k,41432,r)|0;break}else{c[(r&p)>>2]=Se(k)|0;k=uh(k,10344,r)|0;break}}else k=0}else{l=c[(c[(m&p)+56>>2]&p)>>2]|0;k=c[(e&p)+12>>2]|0;m=c[(l+(k<<2)&p)+84>>2]|0;if(m>>>0>=12){c[(e&p)+8>>2]=c[(l+((b[(l&o)+20>>1]|0)+k<<2)&p)+84>>2];c[(e&p)+4>>2]=(m+-12|0)>>>1;l=c[(l&p)>>2]|0;c[(e&p)+16>>2]=l;l=l+72|0;a[(l&n)>>0]=d[(l&n)>>0]|16;l=0;k=0;break}l=c[(e&p)+24>>2]|0;if(!m)k=20352;else k=(m|0)==7?20336:20320;c[(r&p)>>2]=k;k=uh(l,41400,r)|0;md(c[(q&p)>>2]|0)|0;c[(q&p)>>2]=0;l=1}while(0);c[(h&p)>>2]=k;i=s;return l|0}function Ch(a){a=a|0;var b=0;if(a){b=c[(a&p)>>2]|0;mg(b,c[(a&p)+112>>2]|0);Nk(b,c[(a&p)+316>>2]|0)}return}function Dh(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=a[(b&n)+73>>0]|0;do if(!(g<<24>>24))f=4;else{if((g&255)>2?(f=Kn(b)|0,(f|0)!=0):0)break;f=Lm(b,c,d,e,0)|0}while(0);return f|0}function Eh(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;if(!a){c[(k&p)>>2]=77646;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{l=c[(a&p)+24>>2]|0;k=a+20|0;h=c[(k&p)>>2]|0;do if((f|e|0)>=0?(q=jw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,s=G,n=c[(a&p)+4>>2]|0,r=((n|0)<0)<<31>>31,!((s|0)>(r|0)|(s|0)==(r|0)&q>>>0>n>>>0)):0)if(h){f=pc[g&31](c[(a&p)+16>>2]|0,(c[(a&p)+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Ng(h)|0;c[(k&p)>>2]=0;f=4;break}else{c[(h&p)+80>>2]=f;break}}else f=4;else f=1;while(0);c[(l&p)+52>>2]=f;h=c[(l&p)+236>>2]|0;do if(h){k=h+8|0;if(!(b[(k&o)>>1]&9312)){b[(k&o)>>1]=1;break}else{vg(h);break}}while(0);f=Og(l,f)|0}i=m;return f|0}function Fh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[(h&n)>>0]|0;if((g&255)>2){g=Kn(b)|0;if(!g){g=a[(h&n)>>0]|0;i=4}}else i=4;if((i|0)==4)if(g<<24>>24==1){Ln(c[(b&p)+4>>2]|0,c[(b&p)+60>>2]|0,b)|0;if(!(a[(b&n)+72>>0]&1))g=8;else g=Lm(b,d,e,f,1)|0}else g=4;return g|0}function Gh(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var 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+16|0;if((i|0)>=(j|0))fa();y=A+4|0;z=A;c[(y&p)>>2]=b;c[(z&p)>>2]=e;t=d[(f&n)+1>>0]|0;u=d[(f&n)>>0]|0;x=a[(f&n)+3>>0]|0;w=(g|0)!=0;if(w)v=g;else v=d[(f&n)+2>>0]|0;q=x<<24>>24!=0;m=0;a:while(1){while(1){k=Mn(y)|0;if(!k){s=60;break a}if((k|0)==(u|0)){s=7;break a}if((k|0)!=(v|0))break;if(w){s=40;break}e=Mn(z)|0;if(!e){h=0;break a}l=Mn(y)|0;if((l|0)==94){l=Mn(y)|0;h=1}else h=0;if((l|0)==93){l=Mn(y)|0;o=(e|0)==93&1}else o=0;k=(l|0)==0;if((l|0)!=93&(k^1)){k=0;while(1){if(((l|0)==45?(r=a[(c[(y&p)>>2]&n)>>0]|0,r<<24>>24!=93):0)?r<<24>>24!=0&(k|0)!=0:0){l=e>>>0<k>>>0|e>>>0>(Mn(y)|0)>>>0;b=0;o=l?o:1}else{b=l;o=(e|0)==(l|0)?1:o}l=Mn(y)|0;k=(l|0)==0;if(!((l|0)!=93&(k^1))){l=k;break}else k=b}}else l=k;if(l|(o|0)==(h|0)){h=0;break a}}if((s|0)==40){s=0;k=Mn(y)|0;if(!k){h=0;break}m=c[(y&p)>>2]|0}l=Mn(z)|0;if((k|0)==(l|0))continue;if(q&k>>>0<128&l>>>0<128?(a[(k&255&n)+9328>>0]|0)==(a[(l&255&n)+9328>>0]|0):0)continue;if((k|0)!=(t|0)){h=0;break}if(!((l|0)!=0?(c[(y&p)>>2]|0)!=(m|0):0)){h=0;break}}b:do if((s|0)==7){e=Mn(y)|0;b=(e|0)==(t|0);if((e|0)==(u|0)|b)do{if(b?(Mn(z)|0)==0:0){h=0;break b}e=Mn(y)|0;b=(e|0)==(t|0)}while((e|0)==(u|0)|b);if(e){do if((e|0)==(v|0)){if(w){e=Mn(y)|0;if(!e){h=0;break b}else break}h=c[(z&p)>>2]|0;c:do if(!(a[(h&n)>>0]|0))h=0;else{b=c[(y&p)>>2]|0;while(1){if(Gh(b+-1|0,h,f,0)|0)break;e=h+1|0;c[(z&p)>>2]=e;if((d[(h&n)>>0]|0)>191?(a[(e&n)>>0]&-64)<<24>>24==-128:0){while(1){h=h+2|0;if((a[(h&n)>>0]&-64)<<24>>24==-128){s=e;e=h;h=s}else break}c[(z&p)>>2]=h}else h=e;if(!(a[(h&n)>>0]|0)){h=0;break c}}h=(a[(h&n)>>0]|0)!=0}while(0);h=h&1;break b}while(0);if(e>>>0>=129){h=Mn(z)|0;if(!h){h=0;break}b=c[(y&p)>>2]|0;while(1){if((h|0)==(e|0)?(Gh(b,c[(z&p)>>2]|0,f,g)|0)!=0:0){h=1;break b}h=Mn(z)|0;if(!h){h=0;break b}}}if(!(x<<24>>24)){o=e;m=e}else{m=e&255;o=d[(m&n)+9328>>0]|0;m=((d[(m&n)+10368>>0]|-33)^32)&e}b=c[(z&p)>>2]|0;h=b+1|0;c[(z&p)>>2]=h;e=a[(b&n)>>0]|0;if(!(e<<24>>24))h=0;else{l=c[(y&p)>>2]|0;k=e&255;while(1){if((k|0)==(o|0)|(k|0)==(m|0)?(Gh(l,h,f,g)|0)!=0:0){h=1;break b}e=b+2|0;c[(z&p)>>2]=e;b=a[(h&n)>>0]|0;if(!(b<<24>>24)){h=0;break}else{s=h;k=b&255;h=e;b=s}}}}else h=1}else if((s|0)==60)h=(a[(c[(z&p)>>2]&n)>>0]|0)==0&1;while(0);i=A;return h|0}function Hh(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;do if(a){a=c[(a&p)+76>>2]|0;if((a|0)==1266094736|(a|0)==-264537850){c[(b&p)>>2]=41352;bd(21,15256,b);a=0;break}else if((a|0)==-1607883113){a=1;break}else{c[(b&p)>>2]=15248;bd(21,15256,b);a=0;break}}else{c[(b&p)>>2]=20304;bd(21,15256,b);a=0}while(0);i=d;return a|0}function Ih(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;l=o+8|0;c[(l&p)>>2]=0;c[(g&p)>>2]=0;if((Hh(b)|0)==0|(d|0)==0){c[(k&p)>>2]=106003;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{a:do if((e|0)>-1)if((e|0)>0){k=0;do{if((a[(d+k&n)>>0]|0)==0?(a[(d+(k|1)&n)>>0]|0)==0:0)break a;k=k+2|0}while((k|0)<(e|0))}else k=0;else k=e;while(0);m=Rh(b,d,k)|0;if(m){f=ih(b,m,-1,f,0,g,l)|0;k=c[(l&p)>>2]|0;if((k|0)!=0&(h|0)!=0){g=Nn(m,k-m|0)|0;if((g|0)>0){e=0;k=d;do{k=(a[(k&n)+1>>0]&-8)<<24>>24==-40?k+4|0:k+2|0;e=e+1|0}while((e|0)!=(g|0))}else k=d;c[(h&p)>>2]=d+(k-d)}}else f=0;mg(b,m);f=Og(b,f)|0}i=o;return f|0}function Jh(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;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;r=b+12|0;h=c[(r&p)>>2]|0;o=(e|0)!=0;g=d<<((h|0)==0&o&1);s=b+20|0;l=b+8|0;k=c[(l&p)>>2]|0;if((g+(c[(s&p)>>2]|0)|0)>>>0>k>>>0){g=g+(k<<1)|0;c[(l&p)>>2]=g;h=c[(b&p)>>2]|0;if((Lc()|0)==0?(m=rg(h,g<<2,0)|0,(m|0)!=0):0){c[(b&p)>>2]=m;h=c[(r&p)>>2]|0;m=5}else m=21}else m=5;a:do if((m|0)==5){g=b+16|0;if(!h){c[(g&p)>>2]=d;if((d|0)>0){g=0;do{c[(q&p)>>2]=c[(f+(g<<2)&p)>>2];h=_c(10344,q)|0;if(!h){m=21;break a}l=c[(s&p)>>2]|0;c[(s&p)>>2]=l+1;c[((c[(b&p)>>2]|0)+(l<<2)&p)>>2]=h;g=g+1|0}while((g|0)<(d|0))}}else if((c[(g&p)>>2]|0)!=(d|0)){g=b+4|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=_c(40912,q)|0;c[(b&p)+24>>2]=1;g=1;break}if(o){if((d|0)>0){l=0;do{k=e+(l<<2)|0;g=c[(k&p)>>2]|0;if(!g)g=0;else{h=g;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=(h-g&1073741823)+1|0;g=Tc(h)|0;if(!g){m=21;break a}kw(g|0,c[(k&p)>>2]|0,h|0)|0}q=c[(s&p)>>2]|0;c[(s&p)>>2]=q+1;c[((c[(b&p)>>2]|0)+(q<<2)&p)>>2]=g;l=l+1|0}while((l|0)<(d|0))}c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;g=0}else g=0}while(0);if((m|0)==21){c[(b&p)+24>>2]=7;g=1}i=t;return g|0}function Kh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;if(!d)k=0;else{h=d;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;k=h-d&1073741823}l=b+308|0;h=bn(l,d,m)|0;if((h|0)!=0?(c[(h&p)+8>>2]|0)!=0:0){c[(m&p)>>2]=114188;c[(m&p)+4>>2]=10788;bd(21,13648,m);h=21}else{h=mh(b,k+17|0,0)|0;if((h|0)!=0?(o=h+16|0,kw(o|0,d|0,k+1|0)|0,c[(h&p)+4>>2]=o,c[(h&p)>>2]=e,c[(h&p)+8>>2]=f,c[(h&p)+12>>2]=g,o=Ik(l,o,h)|0,(o|0)!=0):0){a[(b&n)+65>>0]=1;mg(b,o);h=0}else h=0}h=Og(b,h)|0;if((h|0)!=0&(g|0)!=0)cc[g&31](f);i=q;return h|0}function Lh(b,d,e){b=b|0;d=d|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;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;o=C+8|0;A=c[(b&p)>>2]|0;l=c[(A&p)+92>>2]|0;if(!(c[(A&p)+148>>2]|0))c[(A&p)+240>>2]=0;B=b+12|0;c[(B&p)>>2]=0;r=b+480|0;c[(r&p)>>2]=d;v=qg(1612,0)|0;if(v){c[(v&p)>>2]=-1;s=A+250|0;t=a[(s&n)>>0]|0;if(c[(A&p)+276>>2]|0)a[(s&n)>>0]=1;u=A+65|0;q=b+504|0;f=b+508|0;m=A+240|0;k=0;h=-1;a:while(1){while(1){if(a[(u&n)>>0]|0){x=19;break a}g=d+k|0;if(!(a[(g&n)>>0]|0)){x=19;break a}c[(q&p)>>2]=g;g=Cn(g,o)|0;c[(f&p)>>2]=g;k=g+k|0;if((k|0)>(l|0)){x=12;break a}g=c[(o&p)>>2]|0;if((g|0)==150){x=16;break a}else if((g|0)==1){h=g;x=17;break}else if((g|0)!=151){h=g;break}if(c[(m&p)>>2]|0){x=15;break a}}if((x|0)==17){x=0;c[(r&p)>>2]=d+k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,h,z,b);h=c[(o&p)>>2]|0;if(c[(B&p)>>2]|0){x=19;break}}if((x|0)==12){c[(B&p)>>2]=18;x=19}else if((x|0)==15){th(b,20384,z);c[(B&p)>>2]=9;x=19}else if((x|0)==16){mg(A,c[(e&p)>>2]|0);c[(z&p)>>2]=q;c[(e&p)>>2]=uh(A,20400,z)|0;f=1}if((x|0)==19){k=d+k|0;if((a[(k&n)>>0]|0)==0?(c[(B&p)>>2]|0)==0:0){if((h|0)!=1){c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,1,z,b);c[(r&p)>>2]=k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,0,z,b);f=0}else f=0}if((c[(v&p)>>2]|0)>-1)do Pn(v);while((c[(v&p)>>2]|0)>-1);Wc(v);a[(s&n)>>0]=t;if(!(a[(u&n)>>0]|0)){h=c[(B&p)>>2]|0;if(!((h|0)==101|(h|0)==0)){w=h;x=29}}else{c[(B&p)>>2]=7;w=7;x=29}if((x|0)==29?(y=b+4|0,(c[(y&p)>>2]|0)==0):0){if((w|0)!=516){h=w&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[(h<<2&p)+15488>>2]|0}else h=16344;c[(z&p)>>2]=h;dh(y,A,10344,z)}h=b+4|0;g=c[(h&p)>>2]|0;if(g){c[(e&p)>>2]=g;e=c[(B&p)>>2]|0;c[(z&p)>>2]=g;bd(e,10344,z);c[(h&p)>>2]=0;f=f+1|0}h=b+8|0;g=c[(h&p)>>2]|0;if(((g|0)!=0?(c[(b&p)+64>>2]|0)>0:0)?(a[(b&n)+18>>0]|0)==0:0){Pl(g);c[(h&p)>>2]=0}if(!(a[(b&n)+18>>0]|0)){e=b+400|0;mg(A,c[(e&p)>>2]|0);c[(e&p)>>2]=0;c[(b&p)+396>>2]=0}Wc(c[(b&p)+520>>2]|0);if(!(a[(b&n)+451>>0]|0))kg(A,c[(b&p)+484>>2]|0);if(a[(b&n)+449>>0]|0)Qn(A,c[(b&p)+532>>2]|0);jg(A,c[(b&p)+488>>2]|0);h=c[(b&p)+444>>2]|0;k=b+472|0;g=c[(k&p)>>2]|0;if((h|0)>0)do{h=h+-1|0;mg(A,c[(g+(h<<2)&p)>>2]|0);g=c[(k&p)>>2]|0}while((h|0)>0);mg(A,g);h=b+404|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)>>2];mg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);h=b+524|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)+72>>2];kg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);if((f|0)>0?(c[(B&p)>>2]|0)==0:0)c[(B&p)>>2]=1}else{a[(A&n)+65>>0]=1;f=7}i=C;return f|0}function Mh(a){a=a|0;if(a){if(!((b[(a&o)+8>>1]&9312)==0?(c[(a&p)+24>>2]|0)==0:0))Qg(a);mg(c[(a&p)+32>>2]|0,a)}return}function Nh(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0;if(!(c[(d&p)+252>>2]|0)){q=d+251|0;if(a[(q&n)>>0]|0)Wc(c[(d&p)+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)nc[f&3]();f=ca(h,i)|0;f=qg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)nc[g&3]();if(!f)f=0;else i=(lc[c[8792>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[(g&p)>>2]=f;m=d+272|0;c[(m&p)>>2]=0;b[(d&o)+248>>1]=h;if(!f){c[(g&p)>>2]=d;c[(d&p)+280>>2]=d;a[(d&n)+250>>0]=0;f=0}else{if((i|0)>0){g=ca(h,i)|0;l=f+(ca(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[(j&p)>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[(m&p)>>2]=l;f=f+g|0}c[(d&p)+280>>2]=f;a[(d&n)+250>>0]=1;f=(e|0)==0&1}a[(q&n)>>0]=f;f=0}else f=5;return f|0}function Oh(b,d){b=b|0;d=d|0;var e=0,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();r=s;do if(!b)e=0;else{l=b+76|0;o=c[(l&p)>>2]|0;if(!((o|0)==1266094736|(o|0)==-1607883113|(o|0)==-264537850)){c[(r&p)>>2]=15248;bd(21,15256,r);c[(r&p)>>2]=128509;c[(r&p)+4>>2]=10788;bd(21,13648,r);e=21;break}m=b+20|0;e=c[(m&p)>>2]|0;a:do if((e|0)>0){o=b+16|0;f=c[(o&p)>>2]|0;h=0;do{g=c[(f+(h<<4)&p)+4>>2]|0;if(g)c[((c[(g&p)+4>>2]|0)&p)+4>>2]=c[(g&p)>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[(f+(k<<4)&p)+12>>2]|0;if((e|0)!=0?(q=c[(e&p)+16>>2]|0,(q|0)!=0):0){e=q;do{f=c[(e&p)+8>>2]|0;b:do if(a[(f&n)+44>>0]&16){g=f+60|0;while(1){f=c[(g&p)>>2]|0;if(!f)break b;h=f+24|0;if((c[(f&p)>>2]|0)==(b|0))break;else g=h}c[(g&p)>>2]=c[(h&p)>>2];An(f)}while(0);e=c[(e&p)>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[(m&p)>>2]|0))break a;f=c[(o&p)>>2]|0;k=e}}while(0);rl(b);Rn(b,68);if((d|0)==0?(Jl(b)|0)!=0:0){ug(b,5,16368,r);e=5;break}c[(l&p)>>2]=1691352191;Mg(b);e=0}while(0);i=s;return e|0}function Ph(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[(a&p)+492>>2]|0))b=0;else{b=c[(a&p)>>2]|0;rc[c[(b&p)+60>>2]&127](b,1e6)|0;b=1}return b|0}function Qh(d,f,g,h,k,l,m,q,r){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;r=r|0;var 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();w=y;do if(f){u=(l|0)!=0;s=(q|0)!=0;if(u)if(s|(m|0)!=0){x=8;break}else{s=0;t=0}else{t=(m|0)!=0;if(!(t|s^1)){x=8;break}}if(!(t&((u|s)^1)|(g|0)<-1|(g|0)>127)){s=f;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;t=s-f&1073741823;if(t>>>0<=255){v=h&2048;s=h&7;if((s|0)!=4){if((s|0)==5){s=Qh(d,f,g,v|1,k,l,m,q,r)|0;if(s)break;s=Qh(d,f,g,v|2,k,l,m,q,r)|0;if(!s)s=3;else break}}else s=2;u=s&255;h=Sh(d,f,t,g,u,0)|0;if(((h|0)!=0?(e[(h&o)+2>>1]&3|0)==(s|0):0)?(b[(h&o)>>1]|0)==(g|0):0){if(c[(d&p)+148>>2]|0){ug(d,5,15424,w);s=5;break}s=c[(d&p)+4>>2]|0;if(s)do{w=s+88|0;b[(w&o)>>1]=b[(w&o)>>1]|8;s=c[(s&p)+52>>2]|0}while((s|0)!=0)}s=Sh(d,f,t,g,u,1)|0;if(!s)s=7;else{Nl(d,s);if(r)c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;c[(s&p)+32>>2]=r;r=s+2|0;b[(r&o)>>1]=e[(r&o)>>1]&3|v;c[(s&p)+12>>2]=l;c[(s&p)+16>>2]=m;c[(s&p)+20>>2]=q;c[(s&p)+4>>2]=k;b[(s&o)>>1]=g;s=0}}else x=8}else x=8}else x=8;while(0);if((x|0)==8){c[(w&p)>>2]=129075;c[(w&p)+4>>2]=10788;bd(21,13648,w);s=21}i=y;return s|0}function Rh(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+48|0;if((i|0)>=(j|0))fa();k=l;g=k+0|0;h=g+40|0;do{c[(g&p)>>2]=0;g=g+4|0}while((g|0)<(h|0));c[(k&p)+32>>2]=d;Xg(k,e,f,2,0)|0;f=k+8|0;e=c[(f&p)>>2]|0;if(!((e&2|0)==0|(e&16711680|0)==65536))Bn(k,1)|0;if(!(a[(d&n)+65>>0]|0))f=c[(k&p)+16>>2]|0;else{if(!((b[(f&o)>>1]&9312)==0?(c[(k&p)+24>>2]|0)==0:0))Qg(k);c[(k&p)+16>>2]=0;f=0}i=l;return f|0}function Sh(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0;q=((d[((d[(f&n)>>0]|0)&n)+9328>>0]|0)+g|0)%23|0;r=e+336|0;l=Rk(r,q,f,g)|0;if(!l){m=0;k=0}else{m=0;k=0;do{t=Sn(l,h,i)|0;s=(t|0)>(m|0);m=s?t:m;k=s?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0)}do if(!(j<<24>>24)){if((k|0)!=0?(c[(e&p)+24>>2]&2097152|0)==0:0){l=0;q=12;break}l=Rk(10840,q,f,g)|0;if(!l){m=0;q=8}else{m=0;do{s=Sn(l,h,i)|0;q=(s|0)>(m|0);m=q?s:m;k=q?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0);q=8}}else q=8;while(0);do if((q|0)==8){l=j<<24>>24!=0;if(l&(m|0)<6){l=g+37|0;k=mh(e,l,0)|0;if(!k){q=14;break}fw(k|0,0,l|0)|0;l=k+36|0;c[(k&p)+24>>2]=l;b[(k&o)>>1]=h;b[(k&o)+2>>1]=i&255;kw(l|0,f|0,g|0)|0;a[(k+g&n)+36>>0]=0;ng(r,k);l=1}if(!k)q=14;else q=12}while(0);if((q|0)==12)if((c[(k&p)+16>>2]|0)==0?!((c[(k&p)+12>>2]|0)!=0|l):0)q=14;if((q|0)==14)k=0;return k|0}function Th(b,d,e){b=b|0;d=d|0;e=e|0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();e=d;c[(e&p)>>2]=c[((c[(b&p)+4>>2]|0)&p)+24>>2];e=_c(15304,e)|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,e,-1,1,-1)|0;Wc(e);i=d;return}function Uh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)<=(e|0)){e=c[3164]|0;if(e)nc[e&3]();Kf(b,d,0,0,0)|0;e=c[3166]|0;if(e)nc[e&3]()}return 0}function Vh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(d){e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;g=e-d&1073741823;f=c[(b&p)+20>>2]|0;e=f+-1|0;if((f|0)>0){h=e;f=(c[(b&p)+16>>2]|0)+(e<<4)|0;while(1){b=c[(f&p)>>2]|0;if(!b)e=0;else{e=b;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-b&1073741823}if((g|0)==(e|0)?(dd(b,d)|0)==0:0){e=h;break a}e=h+-1|0;if((h|0)>0){h=e;f=f+-16|0}else break}}}else e=-1;while(0);return e|0}function Wh(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;s=b+20|0;i=c[(s&p)>>2]|0;if((i|0)>0){t=(e|0)==10;q=b+16|0;r=(f|0)==0;m=g;b=i;g=0;o=0;while(1){if((o|0)==(e|0)|t){j=c[((c[(q&p)>>2]|0)+(o<<4)&p)+4>>2]|0;if(j){i=c[(j&p)+4>>2]|0;c[(i&p)+4>>2]=c[(j&p)>>2];if(!(a[(i&n)+20>>0]|0)){j=c[(i&p)>>2]|0;k=c[(j&p)+208>>2]|0;if(!k)k=0;else{if(r)i=0;else i=c[(j&p)+176>>2]|0;k=Tn(k,f,i,c[(j&p)+180>>2]|0,d[(j&n)+9>>0]|0,c[(j&p)+152>>2]|0,c[(j&p)+200>>2]|0,m,h)|0;b=c[(s&p)>>2]|0}}else k=6}else k=0;h=(k|0)==5;l=0;j=0;i=b;g=h?1:g;h=h?0:k}else{l=h;j=m;i=b;h=0}o=o+1|0;b=(h|0)==0;if(!((o|0)<(i|0)&b))break;else{m=j;h=l;b=i}}}else{b=1;g=0;h=0}return (b&(g|0)!=0?5:h)|0}function Xh(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+32|0;if((i|0)>=(j|0))fa();v=z;w=z+20|0;r=z+16|0;q=z+12|0;m=z+8|0;c[(r&p)>>2]=f;c[(q&p)>>2]=0;c[(m&p)>>2]=0;c[(e&p)>>2]=0;h=Lc()|0;do if(!h){if(!(1<<(f&7)&70)){c[(v&p)>>2]=130207;c[(v&p)+4>>2]=10788;bd(21,13648,v);h=21;break}if((c[2187]|0)!=0&(f&32768|0)==0)l=(f&65536|0)==0?c[2188]|0:1;else l=0;if(!(f&262144)){if(c[2241]|0){f=f|131072;c[(r&p)>>2]=f}}else{f=f&-131073;c[(r&p)>>2]=f}f=f&-655129;c[(r&p)>>2]=f;y=qg(528,0)|0;a:do if(y){fw(y|0,0,528)|0;if(l)c[(y&p)+12>>2]=8;c[(y&p)+56>>2]=255;c[(y&p)+20>>2]=2;s=y+76|0;c[(s&p)>>2]=-264537850;t=y+16|0;c[(t&p)>>2]=y+456;k=y+88|0;l=11088;h=k+44|0;do{c[(k&p)>>2]=c[(l&p)>>2];k=k+4|0;l=l+4|0}while((k|0)<(h|0));c[(y&p)+132>>2]=0;a[(y&n)+63>>0]=1;a[(y&n)+67>>0]=-1;k=8920;u=c[(k&p)+4>>2]|0;l=y+40|0;c[(l&p)>>2]=c[(k&p)>>2];c[(l&p)+4>>2]=u;c[(y&p)+72>>2]=0;c[(y&p)+136>>2]=2147483647;c[(y&p)+24>>2]=9437264;l=y+428|0;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;u=y+308|0;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;c[(u&p)+8>>2]=0;c[(u&p)+12>>2]=0;Yh(y,11152,1,0,21,0)|0;Yh(y,11152,3,0,21,0)|0;Yh(y,11152,2,0,21,0)|0;Yh(y,13752,1,0,22,0)|0;Yh(y,13760,1,1,21,0)|0;u=y+65|0;if(!(a[(u&n)>>0]|0)){l=bn(l,11152,v)|0;if(!l)l=0;else l=c[(l&p)+8>>2]|0;c[(y&p)+8>>2]=l;c[(y&p)+48>>2]=f;l=Wn(g,d,r,y,q,m)|0;if((l|0)==7)a[(u&n)>>0]=1;else if(!l){d=c[(q&p)>>2]|0;h=zm(c[(y&p)>>2]|0,d,y,(c[(t&p)>>2]|0)+4|0,0,c[(r&p)>>2]|256)|0;if(!h){f=c[((c[(t&p)>>2]|0)&p)+4>>2]|0;c[((c[(f&p)+4>>2]|0)&p)+4>>2]=c[(f&p)>>2];f=Xn(y,f)|0;c[((c[(t&p)>>2]|0)&p)+12>>2]=f;if(!(a[(u&n)>>0]|0))a[(y&n)+62>>0]=a[(f&n)+77>>0]|0;f=qg(84,0)|0;if(!f){a[(u&n)>>0]=1;f=0}else{k=f+0|0;h=k+84|0;do{a[(k&n)>>0]=0;k=k+1|0}while((k|0)<(h|0));l=f+77|0;k=f+8|0;h=k+64|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));a[(l&n)>>0]=1}r=c[(t&p)>>2]|0;c[(r&p)+28>>2]=f;c[(r&p)>>2]=13768;a[(r&n)+8>>0]=3;c[(r&p)+16>>2]=10728;a[(r&n)+24>>0]=1;c[(s&p)>>2]=-1607883113;if(a[(u&n)>>0]|0){h=y;break}k=y+52|0;c[(k&p)>>2]=0;l=y+236|0;f=c[(l&p)>>2]|0;do if(f){h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;break}else{vg(f);break}}while(0);if((Cf(y,14632,2)|0)==7)a[(u&n)>>0]=1;f=Nf(y)|0;do if(!f){f=c[2656]|0;if(f){b:do if((f|0)>0){k=0;while(1){f=c[((c[2658]|0)+(k<<2)&p)>>2]|0;c[(w&p)>>2]=0;if(f){h=ac[f&63](y,w,13776)|0;f=c[(w&p)>>2]|0;if(h)break}else f=0;Wc(f);k=k+1|0;if((k|0)>=(c[2656]|0)){x=40;break b}}c[(v&p)>>2]=f;ug(y,h,14592,v);h=c[(w&p)>>2]|0}else x=40;while(0);if((x|0)==40){c[(w&p)>>2]=0;h=0}Wc(h)}if(Nf(y)|0){h=y;break a}}else{c[(k&p)>>2]=f;h=c[(l&p)>>2]|0;if(h){f=h+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;break}else{vg(h);break}}}while(0);Nh(y,0,c[2193]|0,c[2194]|0)|0;c[(y&p)+216>>2]=21;c[(y&p)+220>>2]=1e3;h=y;break}else if((h|0)==3082)h=7;c[(y&p)+52>>2]=h;f=c[(y&p)+236>>2]|0;if(!f){h=y;break}h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;h=y;break}else{vg(f);h=y;break}}d=c[(m&p)>>2]|0;c[(v&p)>>2]=d;ug(y,l,(d|0)!=0?10344:0,v);Wc(d);d=c[(q&p)>>2]|0;h=y}else{d=0;h=y}}else{d=0;h=0}while(0);Wc(d);f=Nf(h)|0;if((f|0)==7){Oh(h,0)|0;h=0}else if(f)c[(y&p)+76>>2]=1266094736;c[(e&p)>>2]=h;h=f&255}while(0);i=z;return h|0}function Yh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))fa();m=v;u=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((u+-1|0)>>>0>2){c[(m&p)>>2]=129758;c[(m&p)+4>>2]=10788;bd(21,13648,m);m=21}else{t=u;q=4}else{t=2;q=4}do if((q|0)==4){s=t&255;q=Yn(e,s,f,0)|0;if((q|0)!=0?(c[(q&p)+12>>2]|0)!=0:0){if(c[(e&p)+148>>2]|0){ug(e,5,13680,m);m=5;break}g=c[(e&p)+4>>2]|0;if(g)do{r=g+88|0;b[(r&o)>>1]=b[(r&o)>>1]|8;g=c[(g&p)+52>>2]|0}while((g|0)!=0);r=q+4|0;if((d[(r&n)>>0]&247|0)==(t|0)){g=bn(e+428|0,f,m)|0;if(!g)q=0;else q=c[(g&p)+8>>2]|0;m=0;do{if((a[(q+(m*20|0)&n)+4>>0]|0)==(a[(r&n)>>0]|0)){g=c[(q+(m*20|0)&p)+16>>2]|0;if(g)cc[g&31](c[(q+(m*20|0)&p)+8>>2]|0);c[(q+(m*20|0)&p)+12>>2]=0}m=m+1|0}while((m|0)!=3)}}g=Yn(e,s,f,1)|0;if(g){c[(g&p)+12>>2]=k;c[(g&p)+8>>2]=h;c[(g&p)+16>>2]=l;a[(g&n)+4>>0]=t|u&8;c[(e&p)+52>>2]=0;m=c[(e&p)+236>>2]|0;if(m){g=m+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;m=0;break}else{vg(m);m=0;break}}else m=0}else m=7}while(0);i=v;return m|0}function Zh(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0;l=d+24|0;m=c[(l&p)>>2]&2;q=d+145|0;a[(q&n)>>0]=1;k=d+16|0;i=c[(k&p)>>2]|0;a[(d&n)+62>>0]=a[((c[(i&p)+12>>2]|0)&n)+77>>0]|0;h=d+20|0;g=0;while(1){if((g|0)>=(c[(h&p)>>2]|0)){g=i;i=6;break}if(!((g|0)==1?1:(b[((c[(i+(g<<4)&p)+12>>2]|0)&o)+78>>1]&1)!=0)?(f=Zn(d,g,e)|0,(f|0)!=0):0){i=9;break}i=c[(k&p)>>2]|0;g=g+1|0}if((i|0)==6)if((b[((c[(g&p)+28>>2]|0)&o)+78>>1]&1)==0?(j=Zn(d,1,e)|0,(j|0)!=0):0){ql(c[((c[(k&p)>>2]|0)&p)+28>>2]|0);f=j}else f=0;else if((i|0)==9)vm(d,g);a[(q&n)>>0]=0;if(!(f|m))c[(l&p)>>2]=c[(l&p)>>2]&-3;return f|0}function _h(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))fa();m=n;k=a+20|0;a:do if((c[(k&p)>>2]|0)>0){l=(d|0)==0;g=a+16|0;h=0;a=0;do{f=(h|0)<2^h;e=c[(g&p)>>2]|0;if(!(!l?(dd(d,c[(e+(f<<4)&p)>>2]|0)|0)!=0:0)){a=bn((c[(e+(f<<4)&p)+12>>2]|0)+8|0,b,m)|0;if(a){a=c[(a&p)+8>>2]|0;if(a)break a}else a=0}h=h+1|0}while((h|0)<(c[(k&p)>>2]|0))}else a=0;while(0);i=n;return a|0}function $h(a){a=a|0;if((dd(a,12936)|0)!=0?(dd(a,12944)|0)!=0:0)a=(dd(a,12952)|0)==0&1;else a=1;return a|0}function ai(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[(a&p)+20>>2]|0;a:do if((g|0)>0){d=c[(a&p)+16>>2]|0;e=(b|0)==0;f=0;while(1){a=c[(d+(f<<4)&p)+4>>2]|0;if(a){if(e)break a;if(!(dd(b,c[(d+(f<<4)&p)>>2]|0)|0))break a}f=f+1|0;if((f|0)>=(g|0)){a=0;break}}}else a=0;while(0);return a|0}function bi(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:do if(!b)e=0;else{e=e+-1|0;b:do if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e;while(1){e=g+8|0;h=c[(e&p)>>2]|0;if(!h){j=b;break}e=(f>>>0)%(h>>>0)|0;f=g+12+(((f>>>0)/(h>>>0)|0)<<2)|0;b=c[(f&p)>>2]|0;if(!b){b=qg(512,0)|0;if(!b){e=b;l=21;break}fw(b|0,0,512)|0;c[(b&p)>>2]=h;c[(f&p)>>2]=b}if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e}else break b}if((l|0)==21){c[(f&p)>>2]=e;e=7;break a}k=f+1|0;f=(f>>>0)%125|0;i=g+12|0;b=c[(g+(f<<2)&p)+12>>2]|0;if(!b){b=c[(g&p)+4>>2]|0;if(b>>>0<124){e=g;l=20}}else{do{if((b|0)==(k|0)){e=0;break a}f=f+1|0;f=f>>>0>124?0:f;b=c[(g+(f<<2)&p)+12>>2]|0}while((b|0)!=0);b=c[(g&p)+4>>2]|0;if(b>>>0<=61){e=g;l=20}}if((l|0)==20){c[(g&p)+4>>2]=b+1;c[(e+(f<<2)&p)+12>>2]=k;e=0;break a}h=qg(500,0)|0;if(!h){e=7;break a}kw(h|0,i|0,500)|0;fw(i|0,0,500)|0;c[(e&p)>>2]=(((c[(j&p)>>2]|0)+124|0)>>>0)/125|0;b=0;e=bi(g,k)|0;do{f=c[(h+(b<<2)&p)>>2]|0;if(f)e=bi(g,f)|0|e;b=b+1|0}while((b|0)!=125);Wc(h);break a}while(0);b=b+12+(e>>>3)|0;a[(b&n)>>0]=d[(b&n)>>0]|0|1<<(e&7);e=0}while(0);return e|0}function ci(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:do if(b){g=e+-1|0;while(1){e=c[(b&p)+8>>2]|0;if(!e)break;b=c[(b+(((g>>>0)/(e>>>0)|0)<<2)&p)+12>>2]|0;if(!b)break a;else g=(g>>>0)%(e>>>0)|0}if((c[(b&p)>>2]|0)>>>0<4001){b=b+12+(g>>>3)|0;a[(b&n)>>0]=(d[(b&n)>>0]|0)&(1<<(g&7)^255);break}k=b+12|0;kw(f|0,k|0,500)|0;fw(k|0,0,500)|0;k=b+4|0;c[(k&p)>>2]=0;h=g+1|0;j=0;do{i=f+(j<<2)|0;e=c[(i&p)>>2]|0;if(!((e|0)==0|(e|0)==(h|0))){g=((e+-1|0)>>>0)%125|0;c[(k&p)>>2]=(c[(k&p)>>2]|0)+1;e=b+(g<<2)+12|0;if(c[(e&p)>>2]|0)do{e=g+1|0;g=e>>>0>124?0:e;e=b+(g<<2)+12|0}while((c[(e&p)>>2]|0)!=0);c[(e&p)>>2]=c[(i&p)>>2]}j=j+1|0}while((j|0)!=125)}while(0);return}function di(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0?(e=b+-1|0,e>>>0<(c[(a&p)>>2]|0)>>>0):0){while(1){b=c[(a&p)+8>>2]|0;if(!b)break;a=c[(a+(((e>>>0)/(b>>>0)|0)<<2)&p)+12>>2]|0;if(!a){e=0;break a}else e=(e>>>0)%(b>>>0)|0}if((c[(a&p)>>2]|0)>>>0<4001){e=((d[(a+(e>>>3)&n)+12>>0]|0)&1<<(e&7)|0)!=0&1;break}f=e+1|0;e=(e>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(b)while(1){if((b|0)==(f|0)){e=1;break a}e=((e+1|0)>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(!b){e=0;break}}else e=0}else e=0;while(0);return e|0}function ei(a){a=a|0;var b=0,d=0;if(a){if(c[(a&p)+8>>2]|0){b=a+12|0;d=0;do{ei(c[(b+(d<<2)&p)>>2]|0);d=d+1|0}while((d|0)!=125)}Wc(a)}return}function fi(b,c){b=b|0;c=c|0;var f=0;a:do if((c|0)>=2?(f=a[((((d[((d[(b&n)>>0]|0)&n)+9328>>0]|0)<<2^c^(d[((d[(b+c+-1&n)>>0]|0)&n)+9328>>0]|0)*3|0)%127|0)&n)+11824>>0]|0,f<<24>>24!=0):0){f=f&255;while(1){f=f+-1|0;if((d[(f&n)+12080>>0]|0|0)==(c|0)?(Fc(11264+(e[(f<<1&o)+12208>>1]|0)|0,b,c)|0)==0:0)break;f=a[(f&n)+11952>>0]|0;if(!(f<<24>>24)){f=27;break a}else f=f&255}f=d[(f&n)+12456>>0]|0}else f=27;while(0);return f|0}function gi(a){a=a|0;var b=0,d=0,e=0;c[2174]=a;if((c[2184]|0)>>>0<a>>>0)c[2184]=a;d=c[2264]|0;if((d|0)==0|(c[2235]|0)<(a|0)){b=qg(a,((a|0)<0)<<31>>31)|0;if((c[2186]|0)!=0&(b|0)!=0?(e=lc[c[8792>>2]&127](b)|0,e=(c[2170]|0)+e|0,c[2170]=e,e>>>0>(c[2180]|0)>>>0):0)c[2180]=e}else{b=c[2263]|0;c[2263]=c[(b&p)>>2];c[2264]=d+-1;a=(c[2169]|0)+1|0;c[2169]=a;if(a>>>0>(c[2179]|0)>>>0)c[2179]=a}return b|0}function hi(a){a=a|0;var b=0;do if(a){if((c[2234]|0)>>>0<=a>>>0&(c[2262]|0)>>>0>a>>>0){c[(a&p)>>2]=c[2263];c[2263]=a;c[2264]=(c[2264]|0)+1;c[2169]=(c[2169]|0)+-1;break}if(!(c[2186]|0)){cc[c[8784>>2]&31](a);break}else{b=lc[c[8792>>2]&127](a)|0;c[2170]=(c[2170]|0)-b;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;cc[c[8784>>2]&31](a);break}}while(0);return}function ii(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;g=a[(b&n)>>0]|0;a:do if(((g&255)+-48|0)>>>0>=10){k=g;g=b;while(1){h=g+1|0;if(!(k<<24>>24))break;k=a[(h&n)>>0]|0;g=h}k=g-b&1073741823;g=7-e|0;if((g|0)>0){h=0;while(1){if((d[(h&n)+11248>>0]|0|0)==(k|0)?(Fc(11216+(d[(h&n)+11240>>0]|0)|0,b,k)|0)==0:0){f=h;break}h=h+1|0;if((h|0)>=(g|0))break a}f=a[(f&n)+11256>>0]|0}}else{c[(h&p)>>2]=0;Dn(b,h)|0;f=c[(h&p)>>2]&255}while(0);i=l;return f|0}function ji(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=a[(b&n)>>0]|0;do if(e<<24>>24==48){f=a[(b&n)+1>>0]|0;if(!(f<<24>>24==88|f<<24>>24==120))if(!b){e=0;k=15;break}else{g=e;e=b;k=12;break}e=a[(b&n)+2>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){g=48;e=b;k=12}else{g=2;while(1){f=g+1|0;if(e<<24>>24!=48)break;e=a[(b+f&n)>>0]|0;g=f}if(!(a[(e&255&n)+10368>>0]&8)){h=b+g|0;i=0;e=0;f=g}else{i=0;h=0;f=g;while(1){i=iw(i|0,h|0,4)|0;j=G;h=e<<24>>24;i=(0-(h>>>6&1)&9)+h&15|i;f=f+1|0;h=b+f|0;e=a[(h&n)>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){e=j;break}else h=j}}j=d;c[(j&p)>>2]=i;c[(j&p)+4>>2]=e;if(!(a[(h&n)>>0]|0))e=(f-g|0)<17;else e=0;e=e&1^1}}else{g=e;e=b;k=12}while(0);if((k|0)==12){while(1){f=e+1|0;if(!(g<<24>>24))break;g=a[(f&n)>>0]|0;e=f;k=12}e=e-b&1073741823;k=15}if((k|0)==15)e=Ul(b,d,e,1)|0;return e|0}function ki(d,f,g,h,k){d=d|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,F=0,G=0;G=i;i=i+1264|0;if((i|0)>=(j|0))fa();E=G;D=G+152|0;x=G+742|0;y=G+76|0;u=G+228|0;r=h&-256;v=h&16;C=h&8;w=h&4;q=h&1;z=h&2;if((w|0)!=0?(r|0)==524288|(r|0)==2048|(r|0)==16384:0)B=1;else B=0;A=c[12114]|0;if((A|0)!=(rb()|0)?(c[12114]=rb()|0,(Lc()|0)==0):0)a[9064]=0;s=g+0|0;t=s+44|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));A=(r|0)==256;do if(A){a:do if((rc[c[47604>>2]&127](f,E)|0)==0?(l=c[12178]|0,(l|0)!=0):0){r=c[(E&p)>>2]|0;s=c[(E&p)+72>>2]|0;while(1){if((c[(l&p)>>2]|0)==(r|0)?(c[(l&p)+4>>2]|0)==(s|0):0)break;l=c[(l&p)+32>>2]|0;if(!l){F=18;break a}}r=l+28|0;l=c[(r&p)>>2]|0;if(l){while(1){t=r;r=l+8|0;s=l;l=c[(r&p)>>2]|0;if((c[(s&p)+4>>2]|0)==(h|0)){r=t;break}if(!l){F=18;break a}}c[(r&p)>>2]=l;u=c[(s&p)>>2]|0;l=s}else F=18}else F=18;while(0);if((F|0)==18){l=Tc(12)|0;if(!l){l=7;break}else u=-1}c[(g&p)+28>>2]=l;r=w<<4|z;l=(v|0)!=0;if((u|0)<0){w=l;v=l?r|131200:r;l=f;F=23}else{t=u;l=f;F=36}}else{if(!f){l=_n(514,u)|0;if(!l)l=u;else break}else l=f;F=w<<4|z;v=(v|0)!=0;w=v;v=v?F|131200:F;F=23}while(0);b:do if((F|0)==23){if(!(h&526336)){r=(C|0)==0?0:384;u=0;t=0}else{if(!l)r=0;else{r=l;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;r=r-l&1073741823}do r=r+-1|0;while((a[(l+r&n)>>0]|0)!=45);kw(x|0,l|0,r|0)|0;a[(x+r&n)>>0]=0;if(rc[c[47604>>2]&127](x,y)|0){l=1802;break}r=c[(y&p)+12>>2]&511;u=c[(y&p)+20>>2]|0;t=c[(y&p)+24>>2]|0}s=$n(l,v,r)|0;do if((s|0)<0){if(!(w|((z|0)==0|(c[((Hb()|0)&p)>>2]|0)==21))?(m=$n(l,v&131200,r)|0,(m|0)>=0):0){h=h&-8|1;q=1;break}c[(E&p)>>2]=31186;c[(E&p)+4>>2]=10788;bd(14,14848,E);l=co(14,47896,l,31186)|0;if(!l){l=0;break b}m=g+28|0;F=70;break b}else m=s;while(0);if(!(h&526336)){t=m;F=36}else{ac[c[47796>>2]&63](m,u,t)|0;t=m;F=36}}while(0);c:do if((F|0)==36){if(k)c[(k&p)>>2]=h;u=g+28|0;m=c[(u&p)>>2]|0;if(m){c[(m&p)>>2]=t;c[(m&p)+4>>2]=h}if(C)lc[c[47748>>2]&127](l)|0;l=C<<2;l=(q|0)==0?l:l|2;l=A?l:l|128;l=B?l|8:l;C=l|h&64;c[(g&p)+12>>2]=t;c[(g&p)+4>>2]=d;c[(g&p)+32>>2]=f;m=g+18|0;b[(m&o)>>1]=C&255;if(fg((C&64|0)!=0?f:0,48496,1)|0)b[(m&o)>>1]=e[(m&o)>>1]|16;if(!(_v(c[(d&p)+16>>2]|0,1e4)|0))b[(m&o)>>1]=e[(m&o)>>1]|1;d:do if(!(l&128)){l=rc[c[(c[(d&p)+20>>2]&p)>>2]&127](f,g)|0;if((l|0)!=48504){if((l|0)!=47472){F=64;break}m=(gw(f|0)|0)+6|0;l=Tc(m)|0;if(l){c[(E&p)>>2]=f;ad(m,l,48584,E)|0;c[(g&p)+24>>2]=l;c[(g&p)+20>>2]=0;l=47472;break}c[(g&p)+24>>2]=0;c[(g&p)+20>>2]=0;if((t|0)<=-1){m=u;l=7;F=70;break c}ao(g,t,30794);m=u;l=7;F=70;break c}do if(!(rc[c[47616>>2]&127](c[(g&p)+12>>2]|0,D)|0)){l=E;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(E&p)>>2]=c[(D&p)>>2];c[(E&p)+4>>2]=c[(D&p)+72>>2];l=c[12178]|0;e:do if(!l)F=53;else{while(1){if(!(Zv(E,l,8)|0))break;l=c[(l&p)+32>>2]|0;if(!l){F=53;break e}}E=l+16|0;c[(E&p)>>2]=(c[(E&p)>>2]|0)+1}while(0);if((F|0)==53){m=Tc(40)|0;if(!m){l=7;m=g+20|0;break}s=m+0|0;t=s+40|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));F=c[(E&p)+4>>2]|0;l=m;c[(l&p)>>2]=c[(E&p)>>2];c[(l&p)+4>>2]=F;c[(m&p)+16>>2]=1;c[(m&p)+32>>2]=c[12178];c[(m&p)+36>>2]=0;l=c[12178]|0;if(l)c[(l&p)+36>>2]=m;c[12178]=m;l=m}c[(g&p)+8>>2]=l;l=48504;F=64;break d}else{l=c[((Hb()|0)&p)>>2]|0;m=g+20|0;c[(m&p)>>2]=l;l=(l|0)==75?22:10}while(0);ao(g,t,30709);c[(m&p)>>2]=0;m=u;F=70;break c}else{l=48376;F=64}while(0);if((F|0)==64)c[(g&p)+20>>2]=0;c[(g&p)>>2]=l;bo(g);l=0}while(0);if((F|0)==70)Wc(c[(m&p)>>2]|0);i=G;return l|0}function li(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;do if((lc[c[47748>>2]&127](b)|0)==-1)if((c[((Hb()|0)&p)>>2]|0)==2)a=5898;else a=co(2570,48032,b,31314)|0;else if(d&1){a=rc[c[47760>>2]&127](b,e)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Gb(c[(e&p)>>2]|0)|0))a=0;else a=co(1290,48488,b,31329)|0;if(lc[c[47568>>2]&127](c[(e&p)>>2]|0)|0)co(4106,47856,0,31331)|0}else a=0;while(0);i=f;return a|0}function mi(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+80|0;if((i|0)>=(j|0))fa();f=g;if((d|0)==2)a=4;else if((d|0)==1)a=6;else a=0;a=(rc[c[47580>>2]&127](b,a)|0)==0;c[(e&p)>>2]=a&1;if((!((d|0)!=0|a^1)?(rc[c[47604>>2]&127](b,f)|0)==0:0)?(c[(f&p)+36>>2]|0)==0:0)c[(e&p)>>2]=0;i=g;return 0}function ni(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+16|0;if((i|0)>=(j|0))fa();g=h;b=e+-1|0;a[(f+b&n)>>0]=0;do if((a[(d&n)>>0]|0)!=47)if(!(rc[c[47592>>2]&127](f,b)|0)){c[(g&p)>>2]=31416;c[(g&p)+4>>2]=10788;bd(14,14848,g);b=co(14,47904,d,31416)|0;break}else{b=gw(f|0)|0;c[(g&p)>>2]=d;ad(e-b|0,f+b|0,48480,g)|0;b=0;break}else{c[(g&p)>>2]=d;ad(e,f,10344,g)|0;b=0}while(0);i=h;return b|0}function oi(a,b){a=a|0;b=b|0;return Db(b|0,258)|0}function pi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;a=Xa()|0;if(a){c[(e&p)>>2]=a;ad(b,d,10344,e)|0}i=f;return}function qi(a,b,c){a=a|0;b=b|0;c=c|0;return $a(b|0,c|0)|0}function ri(a,b){a=a|0;b=b|0;Eb(b|0)|0;return}function si(b,d,e){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;fw(e|0,0,d|0)|0;c[12114]=rb()|0;b=$n(48464,0,0)|0;if((b|0)>=0){do if((ac[c[47652>>2]&63](b,e,d)|0)>=0)break;while((c[((Hb()|0)&p)>>2]|0)==4);if(lc[c[47568>>2]&127](b)|0)co(4106,47856,0,31521)|0}else{Pb(f|0)|0;d=c[(f&p)>>2]|0;a[(e&n)>>0]=d;a[(e&n)+1>>0]=d>>8;a[(e&n)+2>>0]=d>>16;a[(e&n)+3>>0]=d>>24;d=e+4|0;b=c[12114]|0;a[(d&n)>>0]=b;a[(d&n)+1>>0]=b>>8;a[(d&n)+2>>0]=b>>16;a[(d&n)+3>>0]=b>>24;d=8}i=g;return d|0}function ti(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Mb(a|0)|0;return a*1e6|0}function ui(a,b){a=a|0;b=b|0;var d=0,e=0;a=i;i=i+16|0;if((i|0)>=(j|0))fa();e=a;d=e;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=wi(0,e)|0;h[(b&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;i=a;return d|0}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();a=d;if(!(Sb(a|0,0)|0)){f=c[(a&p)>>2]|0;f=sw(f|0,((f|0)<0)<<31>>31|0,1e3,0)|0;f=jw(f|0,G|0,1045635584,49096)|0;e=(c[(a&p)+4>>2]|0)/1e3|0;e=jw(f|0,G|0,e|0,((e|0)<0)<<31>>31|0)|0;a=b;c[(a&p)>>2]=e;c[(a&p)+4>>2]=G;a=0}else a=1;i=d;return a|0}function xi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if(!b){a=0;do{b=c[((a*12|0)&p)+47560>>2]|0;if(b)c[((a*12|0)&p)+47556>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){e=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(e*12|0)|0;a=c[(b&p)>>2]|0;if(!a){a=c[((e*12|0)&p)+47556>>2]|0;c[(b&p)>>2]=a}c[((e*12|0)&p)+47556>>2]=(d|0)==0?a:d;b=0}while(0);return b|0}function yi(a,b){a=a|0;b=b|0;var d=0;a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){d=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((d|0)==4)a=c[((a*12|0)&p)+47556>>2]|0;return a|0}function zi(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)a=-1;else{d=0;while(1){a=d+1|0;if(!(_v(b,c[((d*12|0)&p)+47552>>2]|0)|0)){a=d;break a}if((a|0)<24)d=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(c[((a*12|0)&p)+47556>>2]|0){e=6;break}}if((e|0)==6)a=c[((a*12|0)&p)+47552>>2]|0;return a|0}function Ai(a,b){a=a|0;b=b|0;return 48504}function Bi(a,b){a=a|0;b=b|0;return 48376}function Ci(a,b){a=a|0;b=b|0;return 47472}function Di(a){a=a|0;var b=0,d=0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);b=a+0|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));c[(a&p)>>2]=14696;return 0}function Ei(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+24|0;k=l;if(((c[(k&p)>>2]|0)!=(e|0)?1:(c[(k&p)+4>>2]|0)!=(f|0))|(e|0)==0&(f|0)==0){g=c[(a&p)+4>>2]|0;if(!((g|0)==0|((f|0)<0|(f|0)==0&e>>>0<1020))){h=1020;i=0;do{h=jw(h|0,i|0,1020,0)|0;i=G;g=c[(g&p)>>2]|0}while(!((g|0)==0|((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>e>>>0)))}}else g=c[(a&p)+32>>2]|0;j=rw(e|0,f|0,1020,0)|0;k=d;h=b;while(1){b=1020-j|0;i=(k|0)<(b|0)?k:b;kw(h|0,g+j+4|0,i|0)|0;k=k-b|0;if((k|0)<=-1)break;g=c[(g&p)>>2]|0;if(!((g|0)!=0&(k|0)>0))break;else{j=0;h=h+i|0}}f=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;d=l;c[(d&p)>>2]=f;c[(d&p)+4>>2]=G;c[(a&p)+32>>2]=g;return 0}function Fi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a:do if((d|0)>0){i=a+8|0;j=a+16|0;h=a+4|0;e=i;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;while(1){a=c[(j&p)>>2]|0;e=rw(f|0,e|0,1020,0)|0;g=1020-e|0;g=(d|0)<(g|0)?d:g;if(!e){f=Tc(1024)|0;if(!f){e=3082;break a}c[(f&p)>>2]=0;if(!a){c[(h&p)>>2]=f;a=f}else{c[(a&p)>>2]=f;a=f}c[(j&p)>>2]=a}kw(a+e+4|0,b|0,g|0)|0;d=d-g|0;f=i;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;e=G;a=i;c[(a&p)>>2]=f;c[(a&p)+4>>2]=e;if((d|0)<=0){e=0;break}else b=b+g|0}}else e=0;while(0);return e|0}function Gi(a,b,d){a=a|0;b=b|0;d=d|0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);d=a+0|0;b=d+40|0;do{c[(d&p)>>2]=0;d=d+4|0}while((d|0)<(b|0));c[(a&p)>>2]=14696;return 0}function Hi(a,b){a=a|0;b=b|0;return 0}function Ii(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[(e&p)+4>>2]|0;a=b;c[(a&p)>>2]=c[(e&p)>>2];c[(a&p)+4>>2]=d;return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));if(c[2187]|0){c[3146]=8;c[3159]=8}c[3149]=10;c[3153]=1;return 0}function Ki(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Li(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=qg(48,0)|0;if(f){g=f+0|0;h=g+48|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(h|0));c[(f&p)>>2]=12584;c[(f&p)+4>>2]=b;c[(f&p)+8>>2]=d;e=(e|0)!=0;c[(f&p)+12>>2]=e&1;eo(f);if(e){c[(f&p)+16>>2]=10;e=c[3148]|0;c[3148]=e+10;c[3149]=(c[3147]|0)+10+(-10-e)}if(!(c[(f&p)+40>>2]|0)){Si(f);f=0}}else f=0;return f|0}function Mi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;e=a+20|0;g=d+4|0;f=(c[(g&p)>>2]|0)+(b-(c[(e&p)>>2]|0))|0;c[(g&p)>>2]=f;c[(d&p)+12>>2]=f+10-(c[(d&p)+8>>2]|0);c[(e&p)>>2]=b;c[(a&p)+24>>2]=((b*9|0)>>>0)/10|0;fo(d)}return}function Ni(a){a=a|0;return c[(a&p)+36>>2]|0}function Oi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)+44>>2]|0)+(((d>>>0)%((c[(b&p)+40>>2]|0)>>>0)|0)<<2)&p)>>2]|0;a:do if(f){while(1){if((c[(f&p)+8>>2]|0)==(d|0))break;f=c[(f&p)+16>>2]|0;if(!f){g=6;break a}}if(!(a[(f&n)+12>>0]|0))go(f)}else g=6;while(0);if((g|0)==6)if(!e)f=0;else f=ho(b,d,e)|0;return f|0}function Pi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[(b&p)>>2]|0;if((e|0)==0?(c[(g&p)+16>>2]|0)>>>0<=(c[(g&p)+4>>2]|0)>>>0:0){e=g+20|0;f=c[(e&p)>>2]|0;if(!f)c[(g&p)+24>>2]=d;else{c[(f&p)+28>>2]=d;c[(d&p)+24>>2]=f}c[(e&p)>>2]=d;f=b+32|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;a[(d&n)+12>>0]=0}else{g=c[(d&p)+20>>2]|0;e=(c[(g&p)+44>>2]|0)+((((c[(d&p)+8>>2]|0)>>>0)%((c[(g&p)+40>>2]|0)>>>0)|0)<<2)|0;while(1){b=c[(e&p)>>2]|0;f=b+16|0;if((b|0)==(d|0))break;else e=f}c[(e&p)>>2]=c[(f&p)>>2];f=g+36|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;io(d)}return}function Qi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[(a&p)+40>>2]|0;h=a+44|0;d=(c[(h&p)>>2]|0)+(((d>>>0)%(g>>>0)|0)<<2)|0;while(1){f=c[(d&p)>>2]|0;if((f|0)==(b|0))break;else d=f+16|0}f=b+16|0;c[(d&p)>>2]=c[(f&p)>>2];c[(b&p)+8>>2]=e;d=(c[(h&p)>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[(f&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=b;d=a+28|0;if((c[(d&p)>>2]|0)>>>0<e>>>0)c[(d&p)>>2]=e;return}function Ri(a,b){a=a|0;b=b|0;var d=0;d=a+28|0;if((c[(d&p)>>2]|0)>>>0>=b>>>0){jo(a,b);c[(d&p)>>2]=b+-1}return}function Si(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[(a&p)>>2]|0;jo(a,0);f=b+4|0;e=(c[(f&p)>>2]|0)-(c[(a&p)+20>>2]|0)|0;c[(f&p)>>2]=e;f=b+8|0;d=(c[(f&p)>>2]|0)-(c[(a&p)+16>>2]|0)|0;c[(f&p)>>2]=d;c[(b&p)+12>>2]=e+10-d;fo(b);Wc(c[(a&p)+44>>2]|0);Wc(a);return}function Ti(a){a=a|0;var b=0,d=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;a=d+4|0;b=c[(a&p)>>2]|0;c[(a&p)>>2]=0;fo(d);c[(a&p)>>2]=b}return}function Ui(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;b=a+7&-8;a=Wv(b+8|0)|0;if(!a){c[(d&p)>>2]=b;bd(7,16568,d)}else{d=a;c[(d&p)>>2]=b;c[(d&p)+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}i=e;return a|0}function Vi(a){a=a|0;Xv(a+-8|0);return}function Wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=a+-8|0;d=Yv(e,b+8|0)|0;if(!d){if(!a)e=0;else e=c[(e&p)>>2]|0;c[(f&p)>>2]=e;c[(f&p)+4>>2]=b;bd(7,16528,f)}else{e=d;c[(e&p)>>2]=b;c[(e&p)+4>>2]=((b|0)<0)<<31>>31;d=d+8|0}i=g;return d|0}function Xi(a){a=a|0;if(!a)a=0;else a=c[(a+-8&p)>>2]|0;return a|0}function Yi(a){a=a|0;return a+7&-8|0}function Zi(a){a=a|0;return 0}function _i(a){a=a|0;return}function $i(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;i=c[(g&p)>>2]|0;do if((-1431655766>>>(e[(i&o)+8>>1]&31)&1|0)==0?(h=Sg(i,1)|0,(h|0)!=0):0){i=Tg(c[(g&p)>>2]|0,1)|0;if((f|0)!=1){r=Sg(c[(g&p)+4>>2]|0,1)|0;if(!r)break;f=a[(r&n)>>0]|0;if(f<<24>>24){g=0;j=r;while(1){l=j+1|0;if((f&255)>191){k=j;j=l;while(1){f=a[(j&n)>>0]|0;if((f&-64)<<24>>24==-128){q=j;j=k+2|0;k=q}else break}}else{f=a[(l&n)>>0]|0;j=l}k=g+1|0;if(!(f<<24>>24)){f=k;break}else g=k}if((g|0)>-1){m=sw(f|0,((f|0)<0)<<31>>31|0,5,0)|0;m=ko(b,m,G)|0;if(!m)break;f=m+(f<<2)|0;if(a[(r&n)>>0]|0){j=r;g=0;while(1){c[(m+(g<<2)&p)>>2]=j;l=j+1|0;if((d[(j&n)>>0]|0)>191){k=j;while(1)if((a[(l&n)>>0]&-64)<<24>>24==-128){q=l;l=k+2|0;k=q}else break}a[(f+g&n)>>0]=l-j;k=g+1|0;if(!(a[(l&n)>>0]|0))break;else{j=l;g=k}}if((g|0)>-1){q=k;s=17}}}}}else{f=20360;m=20368;q=1;r=0;s=17}if((s|0)==17){g=c[((c[(b&p)+4>>2]|0)&p)+4>>2]|0;a:do if((g&1|0)!=0&(i|0)>0){j=(q|0)>0;do{if(j)k=0;else{s=24;break a}while(1){l=d[(f+k&n)>>0]|0;if((i|0)>=(l|0)?(Zv(h,c[(m+(k<<2)&p)>>2]|0,l)|0)==0:0)break;k=k+1|0;if((k|0)>=(q|0)){s=24;break a}}h=h+l|0;i=i-l|0}while((i|0)>0)}else s=24;while(0);b:do if((s|0)==24)if((g&2|0)!=0&(i|0)>0){l=(q|0)>0;do{if(l)j=0;else break b;while(1){k=d[(f+j&n)>>0]|0;if((i|0)>=(k|0)?(t=i-k|0,(Zv(h+t|0,c[(m+(j<<2)&p)>>2]|0,k)|0)==0):0){i=t;break}j=j+1|0;if((j|0)>=(q|0))break b}}while((i|0)>0)}while(0);if(r)Wc(m)}Wg(b,h,i,1,-1)}while(0);return}function aj(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=((c[((c[(a&p)+4>>2]|0)&p)+4>>2]|0)!=0)<<31>>31;i=c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0;f=c[(d&p)>>2]|0;a:do if(!(-1431655766>>>((e[(f&o)+8>>1]|0)&31)&1)){if((b|0)>1){h=1;f=0;do{g=c[(d+(h<<2)&p)>>2]|0;if(-1431655766>>>((e[(g&o)+8>>1]|0)&31)&1)break a;g=((hm(c[(d+(f<<2)&p)>>2]|0,g,i)|0)^j|0)>-1;f=g?h:f;h=h+1|0}while((h|0)<(b|0));f=c[(d+(f<<2)&p)>>2]|0}_g(c[(a&p)>>2]|0,f)|0}while(0);return}function bj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(g&p)>>2]|0;f=c[(d&p)+8>>2]|0;if(!(b[(f&o)+8>>1]&8192))f=lh(d,40)|0;else f=c[(f&p)+16>>2]|0;do if(f){h=(b[(f&o)+8>>1]|0)!=0;if(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1){if(!h)break;a[(d&n)+24>>0]=1;break}if(!h){c[(f&p)+32>>2]=c[((c[(d&p)>>2]|0)&p)+32>>2];_g(f,i)|0;break}h=(c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0)!=0;g=hm(f,i,c[((c[((c[(d&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(d&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0;if(!(h&(g|0)<0)?!((g|0)>0&(h^1)):0){a[(d&n)+24>>0]=1;break}_g(f,i)|0}while(0);return}function cj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;do if(d){e=d+8|0;if(!((b[(e&o)>>1]|0)!=0?(_g(c[(a&p)>>2]|0,d)|0,(b[(e&o)>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[(d&p)+24>>2]|0)==0:0)break;Qg(d)}while(0);return}function dj(a,b,f){a=a|0;b=b|0;f=f|0;b=d[((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31&n)+10064>>0]|0;if((b|0)==3)b=20328;else if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==1)b=20320;else b=20352;Wg(a,b,-1,1,0);return}function ej(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;do if((h|0)==3){i=Sg(g,1)|0;if(i){g=a[(i&n)>>0]|0;if(!(g<<24>>24)){j=0;i=0}else{h=g;g=0;do{g=g+1|0;k=i+1|0;if((h&255)>191){j=i;i=k;while(1){h=a[(i&n)>>0]|0;if((h&-64)<<24>>24==-128){h=i;i=j+2|0;j=h}else break}}else{h=a[(k&n)>>0]|0;i=k}}while(h<<24>>24!=0);j=g;i=((g|0)<0)<<31>>31}g=c[(f&p)>>2]|0;h=g+8|0;if(!(b[(h&o)>>1]&9312)){c[(g&p)>>2]=j;c[(g&p)+4>>2]=i;b[(h&o)>>1]=4;break}else{Zg(g,j,i);break}}}else if((h|0)==2|(h|0)==1|(h|0)==4){j=Tg(g,1)|0;i=c[(f&p)>>2]|0;g=((j|0)<0)<<31>>31;h=i+8|0;if(!(b[(h&o)>>1]&9312)){c[(i&p)>>2]=j;c[(i&p)+4>>2]=g;b[(h&o)>>1]=4;break}else{Zg(i,j,g);break}}else{h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}while(0);return}function fj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[(f&p)>>2]|0;h=b[(g&o)+8>>1]|0;i=f+4|0;e=b[((c[(i&p)>>2]|0)&o)+8>>1]|0;do if(!((-1431655766>>>(e&31)|-1431655766>>>(h&31))&1)){j=Tg(g,1)|0;l=Tg(c[(i&p)>>2]|0,1)|0;f=c[(f&p)>>2]|0;if(!((e|h)&15)){e=pd(f)|0;f=0;k=pd(c[(i&p)>>2]|0)|0}else{e=Sg(f,1)|0;f=1;k=Sg(c[(i&p)>>2]|0,1)|0}a:do if((l|0)>(j|0)){e=1;g=1}else{g=1;h=j;while(1){if(!(Zv(e,k,l)|0)){e=0;break a}g=g+1|0;i=(f|0)==0;do{h=h+-1|0;e=e+1|0;if(i){f=0;break}}while((a[(e&n)>>0]&-64)<<24>>24==-128);if((l|0)>(h|0)){e=1;break}}}while(0);h=c[(d&p)>>2]|0;f=e?0:g;e=e?0:((g|0)<0)<<31>>31;g=h+8|0;if(!(b[(g&o)>>1]&9312)){c[(h&p)>>2]=f;c[(h&p)+4>>2]=e;b[(g&o)>>1]=4;break}else{Zg(h,f,e);break}}while(0);return}function gj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;h=c[(g&p)+4>>2]|0;do if(!(-1431655766>>>((e[(h&o)+8>>1]|0)&31)&1)){r=(f|0)==3;if(r?(-1431655766>>>((e[((c[(g&p)+8>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)break;t=b[((c[(g&p)>>2]|0)&o)+8>>1]|0;k=Vg(h)|0;l=((k|0)<0)<<31>>31;t=(t&15)==0;i=c[(g&p)>>2]|0;if(t){i=Tg(i,1)|0;j=pd(c[(g&p)>>2]|0)|0;if(!j)break;else s=i}else{j=Sg(i,1)|0;if(!j)break;if((k|0)<0?(m=a[(j&n)>>0]|0,m<<24>>24!=0):0){i=0;h=j;do{q=h+1|0;if((m&255)>191){f=h;h=q;while(1){m=a[(h&n)>>0]|0;if((m&-64)<<24>>24==-128){s=h;h=f+2|0;f=s}else break}}else{m=a[(q&n)>>0]|0;h=q}i=i+1|0}while(m<<24>>24!=0);s=i}else s=0}if(r){q=Vg(c[(g&p)+8>>2]|0)|0;f=((q|0)<0)<<31>>31;r=(q|0)<0;h=dw(0,0,q|0,f|0)|0;h=r?h:q;f=r?G:f;q=q>>>31}else{f=c[((c[((c[(d&p)>>2]|0)&p)+32>>2]|0)&p)+88>>2]|0;h=f;f=((f|0)<0)<<31>>31;q=0}do if((k|0)<0){k=jw(s|0,((s|0)<0)<<31>>31|0,k|0,l|0)|0;l=G;if((l|0)<0){h=jw(h|0,f|0,k|0,l|0)|0;f=G;r=(f|0)<0;k=0;l=0;h=r?0:h;f=r?0:f}}else if((k|0)>0){k=jw(k|0,l|0,-1,-1)|0;l=G;break}else{r=((f|0)>0|(f|0)==0&h>>>0>0)<<31>>31;h=jw(r|0,((r|0)<0)<<31>>31|0,h|0,f|0)|0;f=G;break}while(0);if(!q){m=k;q=l}else{m=dw(k|0,l|0,h|0,f|0)|0;q=G;r=(q|0)<0;m=r?0:m;q=r?0:q;h=r?k:h;f=r?l:f}if(t){r=jw(h|0,f|0,m|0,q|0)|0;l=G;i=((s|0)<0)<<31>>31;if((l|0)>(i|0)|(l|0)==(i|0)&r>>>0>s>>>0){h=dw(s|0,i|0,m|0,q|0)|0;f=G;s=(f|0)<0;h=s?0:h;f=s?0:f}Bd(d,j+m|0,h,f,-1);break}i=a[(j&n)>>0]|0;if(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0)do{l=j+1|0;if((i&255)>191){k=j;j=l;while(1){i=a[(j&n)>>0]|0;if((i&-64)<<24>>24==-128){s=j;j=k+2|0;k=s}else break}}else{i=a[(l&n)>>0]|0;j=l}m=jw(m|0,q|0,-1,-1)|0;q=G}while(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0);if(i<<24>>24!=0&((h|0)!=0|(f|0)!=0)){m=f;f=j;do{k=f+1|0;if((i&255)>191)while(1){i=a[(k&n)>>0]|0;if((i&-64)<<24>>24==-128){s=k;k=f+2|0;f=s}else{f=k;break}}else{i=a[(k&n)>>0]|0;f=k}h=jw(h|0,m|0,-1,-1)|0;m=G}while(i<<24>>24!=0&((h|0)!=0|(m|0)!=0))}else f=j;s=f-j|0;Jd(d,j,s,((s|0)<0)<<31>>31,-1,1)}while(0);return}function hj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))fa();h=l;k=l+32|0;g=l+4|0;if((d|0)>0?(f=Sg(c[(e&p)>>2]|0,1)|0,(f|0)!=0):0){c[(k&p)>>2]=d+-1;c[(k&p)+4>>2]=0;c[(k&p)+8>>2]=e+4;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;c[(g&p)+16>>2]=0;c[(g&p)+20>>2]=1e9;a[(g&n)+24>>0]=1;a[(g&n)+25>>0]=0;c[(g&p)>>2]=c[((c[(b&p)>>2]|0)&p)+32>>2];c[(h&p)>>2]=k;En(g,2,f,h);f=c[(g&p)+12>>2]|0;Wg(b,tg(g)|0,f,1,75)}i=l;return}function ij(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h;f=Sg(c[(f&p)>>2]|0,1)|0;c[(e&p)>>2]=f;do if((f|0)!=0?(a[(f&n)>>0]|0)!=0:0){g=Mn(e)|0;e=c[(d&p)>>2]|0;d=((g|0)<0)<<31>>31;f=e+8|0;if(!(b[(f&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=d;b[(f&o)>>1]=4;break}else{Zg(e,g,d);break}}while(0);i=h;return}function jj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=Tc(d<<2|1)|0;if(!i)Rd(b);else{if((d|0)>0){h=0;f=i;do{g=Vg(c[(e+(h<<2)&p)>>2]|0)|0;j=G;g=j>>>0>0|(j|0)==0&g>>>0>1114111?65533:g&2097151;do if(g>>>0>=128){if(g>>>0<2048){a[(f&n)>>0]=g>>>6&31|192;a[(f&n)+1>>0]=g&63|128;f=f+2|0;break}if(g>>>0<65536){a[(f&n)>>0]=g>>>12&15|224;a[(f&n)+1>>0]=g>>>6&63|128;a[(f&n)+2>>0]=g&63|128;f=f+3|0;break}else{a[(f&n)>>0]=g>>>18|240;a[(f&n)+1>>0]=g>>>12&63|128;a[(f&n)+2>>0]=g>>>6&63|128;a[(f&n)+3>>0]=g&63|128;f=f+4|0;break}}else{a[(f&n)>>0]=g;f=f+1|0}while(0);h=h+1|0}while((h|0)!=(d|0))}else f=i;f=f-i|0;Jd(b,i,f,((f|0)<0)<<31>>31,1,1)}return}function kj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;a:do if((h|0)==1){g=Vg(g)|0;j=G;do if((j|0)<0)if((g|0)==0&(j|0)==-2147483648){c[(f&p)+20>>2]=1;a[(f&n)+25>>0]=1;Xg(c[(f&p)>>2]|0,20248,-1,1,-1)|0;break a}else{g=dw(0,0,g|0,j|0)|0;k=G;break}else k=j;while(0);h=c[(f&p)>>2]|0;j=h+8|0;if(!(b[(j&o)>>1]&9312)){c[(h&p)>>2]=g;c[(h&p)+4>>2]=k;b[(j&o)>>1]=4;break}else{Zg(h,g,k);break}}else if((h|0)==5){h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}else{i=+Ug(g);if(i<0.0)i=-i;Yg(c[(f&p)>>2]|0,i)}while(0);return}function lj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0.0,l=0,m=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;if((i|0)>=(j|0))fa();s=u+8|0;t=u;if((d|0)==2){d=c[(f&p)+4>>2]|0;if(!(-1431655766>>>(e[(d&o)+8>>1]&31)&1)){r=Vg(d)|0;r=(r|0)>30?30:r;r=(r|0)<0?0:r;m=4}}else{r=0;m=4}a:do if((m|0)==4?(l=c[(f&p)>>2]|0,(-1431655766>>>(e[(l&o)+8>>1]&31)&1|0)==0):0){g=+Ug(l);h[(t&q)>>3]=g;d=(r|0)==0;do if(d&g>=0.0&g<9223372036854775808.0){g=g+.5;g=+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0);h[(t&q)>>3]=g}else{if(d&g<0.0&g>-9223372036854775808.0){g=.5-g;g=-(+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0));h[(t&q)>>3]=g;break}c[(s&p)>>2]=r;d=s+4|0;h[(k&q)>>3]=g;c[(d&p)>>2]=c[(k&p)>>2];c[(d&p)+4>>2]=c[(k&p)+4>>2];d=_c(20312,s)|0;if(!d){Rd(b);break a}else l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;Tl(d,t,l-d&1073741823,1)|0;Wc(d);g=+h[(t&q)>>3]}while(0);Yg(c[(b&p)>>2]|0,g)}while(0);i=u;return}function mj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{i=d[(g+f&n)>>0]|0;a[(h+f&n)>>0]=((d[(i&n)+10368>>0]|0|223)^32)&i;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function nj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{a[(h+f&n)>>0]=a[((d[(g+f&n)>>0]|0)&n)+9328>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,8632,-1,1,0);return}function pj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;e=pd(c[(f&p)>>2]|0)|0;i=Tg(c[(f&p)>>2]|0,1)|0;j=iw(i|0,((i|0)<0)<<31>>31|0,1)|0;j=ko(b,j|1,G)|0;if(j){if((i|0)>0){g=i<<1;h=0;f=j;while(1){k=d[(e&n)>>0]|0;a[(f&n)>>0]=a[(k>>>4&n)+20288>>0]|0;a[(f&n)+1>>0]=a[(k&15&n)+20288>>0]|0;h=h+1|0;if((h|0)==(i|0))break;else{e=e+1|0;f=f+2|0}}f=j+g|0}else f=j;a[(f&n)>>0]=0;Wg(b,j,i<<1,1,1)}return}function qj(a,d,e){a=a|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();d=h;cd(8,d);f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((f|0)<0){g=dw(0,0,e|0,f&2147483647|0)|0;f=G;c[(d&p)>>2]=g;c[(d&p)+4>>2]=f}else g=e;e=c[(a&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=f;b[(d&o)>>1]=4}else Zg(e,g,f);i=h;return}function rj(a,b,d){a=a|0;b=b|0;d=d|0;d=Vg(c[(d&p)>>2]|0)|0;d=(d|0)<1?1:d;b=ko(a,d,((d|0)<0)<<31>>31)|0;if(b){cd(d,b);Wg(a,b,d,0,1)}return}function sj(a,b,d){a=a|0;b=b|0;d=d|0;if(hm(c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0)_g(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0;return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,10768,-1,1,0);return}function uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;i=i+16|0;if((i|0)>=(j|0))fa();a=b;e=Vg(c[(d&p)>>2]|0)|0;c[(a&p)>>2]=Sg(c[(d&p)+4>>2]|0,1)|0;bd(e,10344,a);i=b;return}function vj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=Sg(c[(e&p)>>2]|0,1)|0;do if(d){f=Ec(d)|0;e=c[(a&p)>>2]|0;d=((f|0)<0)<<31>>31;a=e+8|0;if(!(b[(a&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=d;b[(a&o)>>1]=4;break}else{Zg(e,f,d);break}}while(0);return}function wj(a,b,d){a=a|0;b=b|0;d=d|0;b=Vg(c[(d&p)>>2]|0)|0;if(b>>>0<4)b=c[(b<<2&p)+8648>>2]|0;else b=0;Wg(a,b,-1,1,0);return}function xj(b,f,g){b=b|0;f=f|0;g=g|0;var l=0,m=0.0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;if((i|0)>=(j|0))fa();f=w+8|0;l=w;t=w+16|0;s=c[(g&p)>>2]|0;r=d[(e[(s&o)+8>>1]&31&n)+10064>>0]|0;if((r|0)==4){s=pd(s)|0;f=Tg(c[(g&p)>>2]|0,1)|0;l=iw(f|0,((f|0)<0)<<31>>31|0,1)|0;l=jw(l|0,G|0,4,0)|0;l=ko(b,l,G)|0;if(l){if((f|0)>0){r=0;do{g=s+r|0;t=r<<1;a[(l+t&n)+2>>0]=a[((d[(g&n)>>0]|0)>>>4&n)+20288>>0]|0;a[(l+t&n)+3>>0]=a[(d[(g&n)>>0]&15&n)+20288>>0]|0;r=r+1|0}while((r|0)!=(f|0))}f=f<<1;a[(l+f&n)+2>>0]=39;a[(l+f&n)+3>>0]=0;a[(l&n)>>0]=88;a[(l&n)+1>>0]=39;Wg(b,l,-1,1,-1);Wc(l)}}else if((r|0)==1)_g(c[(b&p)>>2]|0,s)|0;else if((r|0)==2){m=+Ug(s);h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20272,f)|0;Tl(t,l,20,1)|0;if(m!=+h[(l&q)>>3]){h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20280,f)|0}Wg(b,t,-1,1,-1)}else if((r|0)==3){v=Sg(s,1)|0;if(v){f=0;l=0;r=0;while(1){s=a[(v+r&n)>>0]|0;if(s<<24>>24==39){s=jw(f|0,l|0,1,0)|0;l=G}else if(!(s<<24>>24)){s=l;break}else s=f;f=s;r=r+1|0}u=jw(f|0,s|0,3,0)|0;u=jw(u|0,G|0,r|0,((r|0)<0)<<31>>31|0)|0;u=ko(b,u,G)|0;if(u){a[(u&n)>>0]=39;l=a[(v&n)>>0]|0;f=u+1|0;if(!(l<<24>>24))r=2;else{t=v;r=2;s=0;g=1;do{a[(f&n)>>0]=l;if((a[(t&n)>>0]|0)==39){a[(u+r&n)>>0]=39;g=g+2|0}else g=r;s=s+1|0;t=v+s|0;l=a[(t&n)>>0]|0;r=g+1|0;f=u+g|0}while(l<<24>>24!=0)}a[(f&n)>>0]=39;a[(u+r&n)>>0]=0;Wg(b,u,r,1,1)}}}else Wg(b,20304,4,1,0);i=w;return}function yj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;f=(c[(a&p)+32>>2]|0)+32|0;d=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;e=a+8|0;if(!(b[(e&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=f;b[(e&o)>>1]=4}else Zg(a,d,f);return}function zj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+80>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Aj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+84>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Bj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=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;v=Sg(c[(e&p)>>2]|0,1)|0;a:do if((v|0)!=0?(w=Tg(c[(e&p)>>2]|0,1)|0,g=e+4|0,u=Sg(c[(g&p)>>2]|0,1)|0,(u|0)!=0):0){if(!(a[(u&n)>>0]|0)){_g(c[(b&p)>>2]|0,c[(e&p)>>2]|0)|0;break}s=Tg(c[(g&p)>>2]|0,1)|0;g=e+8|0;r=Sg(c[(g&p)>>2]|0,1)|0;if((r|0)!=0?(t=Tg(c[(g&p)>>2]|0,1)|0,h=w+1|0,i=((h|0)<0)<<31>>31,f=ko(b,h,i)|0,(f|0)!=0):0){l=w-s|0;b:do if((l|0)>=0){m=t-s|0;o=((m|0)<0)<<31>>31;q=s+-1|0;e=0;k=0;while(1){g=v+e|0;d=a[(g&n)>>0]|0;if(d<<24>>24==(a[(u&n)>>0]|0)?(Zv(g,u,s)|0)==0:0){d=c[(b&p)>>2]|0;j=c[(d&p)+32>>2]|0;h=jw(h|0,i|0,m|0,o|0)|0;i=G;g=jw(h|0,i|0,-1,-1)|0;y=G;j=c[(j&p)+88>>2]|0;x=((j|0)<0)<<31>>31;if((y|0)>(x|0)|(y|0)==(x|0)&g>>>0>j>>>0){g=13;break}j=Xc(f,h)|0;if(!j){g=15;break}kw(j+k|0,r|0,t|0)|0;g=q+e|0;d=k+t|0;f=j}else{a[(f+k&n)>>0]=d;g=e;d=k+1|0}e=g+1|0;if((g|0)<(l|0))k=d;else break b}if((g|0)==13){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(d,10096,-1,1,0)|0;Wc(f);break a}else if((g|0)==15){Rd(b);Wc(f);break a}}else{e=0;d=0}while(0);m=w-e|0;kw(f+d|0,v+e|0,m|0)|0;m=d+m|0;a[(f+m&n)>>0]=0;Wg(b,f,m,1,1)}}while(0);return}function Cj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;d=Vg(c[(e&p)>>2]|0)|0;g=G;e=c[(f&p)+88>>2]|0;f=((e|0)<0)<<31>>31;if((g|0)>(f|0)|(g|0)==(f|0)&d>>>0>e>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}else $g(c[(b&p)>>2]|0,d);return}function Dj(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+16|0;if((i|0)>=(j|0))fa();h=k;f=Sg(c[(e&p)>>2]|0,1)|0;g=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(h&p)>>2]=0;if((d|0)==2)d=Sg(c[(e&p)+4>>2]|0,1)|0;else d=0;if((f|0)!=0?(Te(g,f,d,h)|0)!=0:0){d=c[(h&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,-1,1,-1)|0;Wc(c[(h&p)>>2]|0)}i=k;return}function Ej(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0,r=0,s=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))g=lh(d,32)|0;else g=c[(e&p)+16>>2]|0;d=He(c[(f&p)>>2]|0)|0;do if((g|0)!=0&(d|0)!=5){e=g+16|0;i=e;i=jw(c[(i&p)>>2]|0,c[(i&p)+4>>2]|0,1,0)|0;c[(e&p)>>2]=i;c[(e&p)+4>>2]=G;e=c[(f&p)>>2]|0;if((d|0)!=1){l=+Ug(e);h[(g&q)>>3]=l+ +h[(g&q)>>3];a[(g&n)+25>>0]=1;break}i=Vg(e)|0;j=G;h[(g&q)>>3]=+h[(g&q)>>3]+(+(i>>>0)+4294967296.0*+(j|0));k=g+24|0;if(!((a[(k&n)>>0]|a[(g&n)+25>>0])<<24>>24)){g=g+8|0;d=g;f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if((j|0)>-1|(j|0)==-1&i>>>0>4294967295){e=dw(-1,2147483647,f|0,d|0)|0;m=G;if(((d|0)>0|(d|0)==0&f>>>0>0)&((m|0)<(j|0)|(m|0)==(j|0)&e>>>0<i>>>0))e=12;else e=11}else if((d|0)<0?(m=dw(1,-2147483648,f|0,d|0)|0,s=G,e=jw(i|0,j|0,1,0)|0,r=G,(s|0)>(r|0)|(s|0)==(r|0)&m>>>0>e>>>0):0)e=12;else e=11;if((e|0)==11){d=jw(f|0,d|0,i|0,j|0)|0;e=g;c[(e&p)>>2]=d;c[(e&p)+4>>2]=G;break}else if((e|0)==12){a[(k&n)>>0]=1;break}}}while(0);return}function Fj(d){d=d|0;var e=0,f=0,g=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if((e|0)!=0?(f=e+16|0,g=c[(f&p)+4>>2]|0,(g|0)>0|(g|0)==0&(c[(f&p)>>2]|0)>>>0>0):0){if(a[(e&n)+24>>0]|0){c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20248,-1,1,-1)|0;break}if(a[(e&n)+25>>0]|0){Yg(c[(d&p)>>2]|0,+h[(e&q)>>3]);break}g=e+8|0;f=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;e=c[(d&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=g;b[(d&o)>>1]=4;break}else{Zg(e,f,g);break}}while(0);return}function Gj(a){a=a|0;var d=0,e=0.0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d)e=0.0;else e=+h[(d&q)>>3];Yg(c[(a&p)>>2]|0,e);return}function Hj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if((d|0)!=0?(f=d+16|0,e=c[(f&p)>>2]|0,f=c[(f&p)+4>>2]|0,(f|0)>0|(f|0)==0&e>>>0>0):0)Yg(c[(a&p)>>2]|0,+h[(d&q)>>3]/(+(e>>>0)+4294967296.0*+(f|0)));return}function Ij(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=c[(a&p)+8>>2]|0;if(!(b[(g&o)+8>>1]&8192))g=lh(a,8)|0;else g=c[(g&p)+16>>2]|0;if(!d){if(g)h=7}else if((g|0)!=0?(1431655765>>>((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)h=7;if((h|0)==7){a=g;a=jw(c[(a&p)>>2]|0,c[(a&p)+4>>2]|0,1,0)|0;c[(g&p)>>2]=a;c[(g&p)+4>>2]=G}return}function Jj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d){e=0;f=0}else{f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0}d=c[(a&p)>>2]|0;a=d+8|0;if(!(b[(a&o)>>1]&9312)){c[(d&p)>>2]=e;c[(d&p)+4>>2]=f;b[(a&o)>>1]=4}else Zg(d,e,f);return}function Kj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0;if(!(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1)){h=c[(d&p)+8>>2]|0;if(!(b[(h&o)+8>>1]&8192))i=lh(d,28)|0;else i=c[(h&p)+16>>2]|0;if(i){d=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;j=i+24|0;h=(a[(j&n)>>0]|0)==0;a[(j&n)>>0]=2;c[(i&p)+20>>2]=c[(d&p)+88>>2];do if(!h){if((f|0)==2){f=g+4|0;h=Sg(c[(f&p)>>2]|0,1)|0;f=Tg(c[(f&p)>>2]|0,1)|0;if(!f)break}else{f=1;h=20240}Sk(i,h,f)}while(0);h=Sg(c[(g&p)>>2]|0,1)|0;f=Tg(c[(g&p)>>2]|0,1)|0;if(h)Sk(i,h,f)}}return}function Lj(d){d=d|0;var e=0,f=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if(e){f=a[(e&n)+25>>0]|0;if(f<<24>>24==1){Rd(d);break}else if(f<<24>>24==2){c[(d&p)+20>>2]=18;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,10096,-1,1,0)|0;break}else{Wg(d,tg(e)|0,-1,1,1);break}}while(0);return}function Mj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;m=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;g=Sg(c[(f&p)>>2]|0,1)|0;k=Sg(c[(f&p)+4>>2]|0,1)|0;q=Tg(c[(f&p)>>2]|0,1)|0;a:do if((q|0)<=(c[(m&p)+120>>2]|0)){do if((e|0)==3){f=Sg(c[(f&p)+8>>2]|0,1)|0;c[(h&p)>>2]=f;if(!f)break a;if((Nn(f,-1)|0)==1){f=Mn(h)|0;break}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20192,-1,1,-1)|0;break a}}else f=0;while(0);if((k|0)!=0&(g|0)!=0){e=Gh(g,k,c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0,f)|0;g=c[(d&p)>>2]|0;h=((e|0)<0)<<31>>31;f=g+8|0;if(!(b[(f&o)>>1]&9312)){c[(g&p)>>2]=e;c[(g&p)+4>>2]=h;b[(f&o)>>1]=4;break}else{Zg(g,e,h);break}}}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20152,-1,1,-1)|0}while(0);i=l;return}function Nj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;r=i;i=i+32|0;if((i|0)>=(j|0))fa();q=r;k=r+16|0;o=Sg(c[(e&p)>>2]|0,1)|0;l=Sg(c[(e&p)+4>>2]|0,1)|0;m=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((o|0)!=0?(a[(o&n)>>0]|0)!=0:0){d=0;e=o;b:while(1){g=d;f=e;while(1){f=f+g|0;h=Cn(f,k)|0;g=c[(k&p)>>2]|0;if((g|0)==22|(g|0)==125)break b;else if((g|0)==151)g=h;else{e=f;d=h;break}}if(!(a[(e&n)>>0]|0))break a}c[(q&p)>>2]=e-o;c[(q&p)+4>>2]=o;c[(q&p)+8>>2]=l;c[(q&p)+12>>2]=e+d;Wg(b,uh(m,19464,q)|0,-1,1,75)}while(0);i=r;return}function Oj(b,d,e){b=b|0;d=d|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;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;m=t+16|0;r=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;q=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((r|0)!=0?(a[(r&n)>>0]|0)!=0:0){l=3;d=0;e=r;while(1){g=d;f=e;do{f=f+g|0;g=Cn(f,m)|0;h=c[(m&p)>>2]|0}while((h|0)==151);k=g;g=(h|0)==122|(h|0)==107?0:l+1|0;if((g|0)==2)if((h|0)==5|(h|0)==46|(h|0)==137)break;else e=2;else e=g;if(!(a[(f&n)>>0]|0))break a;else{l=e;d=k;e=f}}c[(s&p)>>2]=e-r;c[(s&p)+4>>2]=r;c[(s&p)+8>>2]=o;c[(s&p)+12>>2]=e+d;Wg(b,uh(q,19464,s)|0,-1,1,75)}while(0);i=t;return}function Pj(b,d,e){b=b|0;d=d|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;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;q=t+16|0;r=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;f=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;m=Sg(c[(e&p)+8>>2]|0,1)|0;if(!((f|0)==0|(o|0)==0)){a:do if(!(a[(f&n)>>0]|0))d=0;else{g=f;d=0;do{e=Cn(g,q)|0;if((c[(q&p)>>2]|0)==105){k=g;while(1){g=k+e|0;h=Cn(g,q)|0;if((c[(q&p)>>2]|0)==151){e=h;k=g}else break}if(!g)break a;l=jw(h|0,((h|0)<0)<<31>>31|0,1,0)|0;l=mh(r,l,G)|0;if(!l)break a;kw(l|0,g|0,h|0)|0;a[(l+h&n)>>0]=0;lo(l);if(!(dd(o,l)|0)){c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=g-f;c[(s&p)+8>>2]=f;c[(s&p)+12>>2]=m;u=uh(r,19440,s)|0;mg(r,d);f=k+(h+e)|0;d=u}mg(r,l);e=h}g=g+e|0}while((a[(g&n)>>0]|0)!=0)}while(0);c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=f;Wg(b,uh(r,19456,s)|0,-1,1,75);mg(r,d)}i=t;return}function Qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;if((i|0)>=(j|0))fa();e=f;if(!(mo(a,b,d,e)|0)){no(e);b=e;Yg(c[(a&p)>>2]|0,(+((c[(b&p)>>2]|0)>>>0)+4294967296.0*+(c[(b&p)+4>>2]|0))/864.0e5)}i=f;return}function Rj(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+160|0;if((i|0)>=(j|0))fa();e=h+48|0;f=h;g=h+60|0;if(!(mo(a,b,d,f)|0)){oo(f);d=c[(f&p)+12>>2]|0;b=c[(f&p)+16>>2]|0;c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20136,e)|0;Wg(a,g,-1,1,-1)}i=h;return}function Sj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0;k=i;i=i+160|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+60|0;if(!(mo(a,b,d,f)|0)){po(f);d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+20>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20120,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Tj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0,l=0,m=0,n=0;k=i;i=i+176|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+72|0;if(!(mo(a,b,d,f)|0)){oo(f);po(f);n=c[(f&p)+12>>2]|0;m=c[(f&p)+16>>2]|0;l=c[(f&p)+20>>2]|0;d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=n;c[(e&p)+8>>2]=m;c[(e&p)+12>>2]=l;c[(e&p)+16>>2]=d;c[(e&p)+20>>2]=b;ad(100,g,20088,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Uj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,o=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.0;F=i;i=i+208|0;if((i|0)>=(j|0))fa();B=F+96|0;C=F+48|0;E=F+104|0;D=F;a:do if(((d|0)!=0?(A=Sg(c[(e&p)>>2]|0,1)|0,(A|0)!=0):0)?(mo(b,d+-1|0,e+4|0,C)|0)==0:0){m=c[(b&p)>>2]|0;l=c[(m&p)+32>>2]|0;e=1;d=0;g=0;b:while(1){f=a[(A+g&n)>>0]|0;c:do if(f<<24>>24==37){f=g+1|0;switch(a[(A+f&n)>>0]|0){case 87:case 83:case 77:case 109:case 72:case 100:{e=jw(e|0,d|0,1,0)|0;d=G;break c}case 102:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 106:{e=jw(e|0,d|0,3,0)|0;d=G;break c}case 89:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 74:case 115:{e=jw(e|0,d|0,50,0)|0;d=G;break c}case 37:case 119:break c;default:break a}}else if(!(f<<24>>24))break b;else f=g;while(0);e=jw(e|0,d|0,1,0)|0;d=G;g=f+1|0}if(!(d>>>0<0|(d|0)==0&e>>>0<100)){z=c[(l&p)+88>>2]|0;y=((z|0)<0)<<31>>31;if(d>>>0>y>>>0|(d|0)==(y|0)&e>>>0>z>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(m,10096,-1,1,0)|0;break}d=ew(0,e|0,32)|0;d=mh(l,d,G)|0;if(!d){Rd(b);break}else z=d}else z=E;no(C);oo(C);po(C);o=C+16|0;r=C+32|0;s=C+20|0;t=D+42|0;u=D+12|0;v=D+16|0;w=C+12|0;x=C+24|0;y=C+8|0;l=0;d=0;d:while(1){m=a[(A+l&n)>>0]|0;e:do if(!(m<<24>>24))break d;else if(m<<24>>24==37){l=l+1|0;e=A+l|0;do switch(a[(e&n)>>0]|0){case 109:{c[(B&p)>>2]=c[(w&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 77:{c[(B&p)>>2]=c[(x&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 100:{c[(B&p)>>2]=c[(o&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 106:case 87:{m=D+0|0;g=C+0|0;f=m+48|0;do{c[(m&p)>>2]=c[(g&p)>>2];m=m+4|0;g=g+4|0}while((m|0)<(f|0));a[(t&n)>>0]=0;c[(u&p)>>2]=1;c[(v&p)>>2]=1;no(D);m=C;f=D;H=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;m=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,432e5,0)|0;g=G;f=qw(dw(m|0,g|0,H|0,f|0)|0,G|0,864e5,0)|0;if((a[(e&n)>>0]|0)==87){e=qw(m|0,g|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;c[(B&p)>>2]=(f+7-e|0)/7|0;ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}else{c[(B&p)>>2]=f+1;ad(4,z+d|0,19904,B)|0;d=d+3|0;break e}}case 72:{c[(B&p)>>2]=c[(s&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 115:{g=z+d|0;f=C;e=B;c[(e&p)>>2]=jw(qw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,1e3,0)|0,G|0,-413362496,-50)|0;c[(e&p)+4>>2]=G;ad(30,g,19920,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 119:{e=C;e=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,1296e5,0)|0;e=qw(e|0,G|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;a[(z+d&n)>>0]=e+48;d=d+1|0;break e}case 89:{g=z+d|0;c[(B&p)>>2]=c[(y&p)>>2];ad(5,g,19928,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 102:{I=+h[(r&q)>>3];g=z+d|0;h[(k&q)>>3]=I>59.999?59.999:I;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(7,g,19896,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 74:{g=z+d|0;e=C;h[(k&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(20,g,19912,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 83:{c[(B&p)>>2]=~~+h[(r&q)>>3];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}default:{a[(z+d&n)>>0]=37;d=d+1|0;break e}}while(0)}else{a[(z+d&n)>>0]=m;d=d+1|0}while(0);l=l+1|0}a[(z+d&n)>>0]=0;Wg(b,z,-1,1,(z|0)==(E|0)?-1:75)}while(0);i=F;return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Tj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Yj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=Vg(c[(d&p)>>2]|0)|0;h=g+1&-2;e=Vg(c[(d&p)+4>>2]|0)|0;f=(h<<3)+56|0;d=c[((c[(a&p)>>2]|0)&p)+32>>2]|0;b=mh(d,f,((f|0)<0)<<31>>31)|0;if(!b)Rd(a);else{fw(b|0,0,f|0)|0;c[(b&p)+52>>2]=d;c[(b&p)>>2]=0;c[(b&p)+8>>2]=g;c[(b&p)+12>>2]=e;d=b+56|0;c[(b&p)+24>>2]=d;c[(b&p)+20>>2]=d+(h<<2);Wg(a,b,56,0,20)}return}function Zj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=pd(c[(d&p)>>2]|0)|0;f=Vg(c[(d&p)+4>>2]|0)|0;if(!(c[(g&p)>>2]|0)){a=g+8|0;if((c[(a&p)>>2]|0)>0){b=c[(g&p)+20>>2]|0;d=0;do{c[(b+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}else{if((f|0)>0){a=c[(g&p)+20>>2]|0;d=0;do{b=a+(d<<2)|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+1;d=d+1|0}while((d|0)!=(f|0))}a=g+8|0;if((f|0)<(c[(a&p)>>2]|0)){b=c[(g&p)+24>>2]|0;e=c[(g&p)+20>>2]|0;d=f;do{f=b+(d<<2)|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;c[(e+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;return}function _j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();m=o;h=pd(c[(e&p)>>2]|0)|0;k=h+12|0;e=((c[(k&p)>>2]|0)*25|0)+25|0;l=qg(e,((e|0)<0)<<31>>31)|0;if(!l)Rd(b);else{fw(l|0,0,e|0)|0;e=m;c[(e&p)>>2]=c[(h&p)>>2];c[(e&p)+4>>2]=0;ad(24,l,28696,m)|0;e=l;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;if((c[(k&p)>>2]|0)>0){f=h+24|0;g=0;d=l+(e-l&1073741823)|0;while(1){q=(c[((c[(f&p)>>2]|0)+(g<<2)&p)>>2]|0)+1|0;e=c[(h&p)>>2]|0;r=jw(q|0,0,-1,-1)|0;e=jw(r|0,G|0,e|0,0)|0;q=tw(e|0,G|0,q|0,0)|0;e=m;c[(e&p)>>2]=q;c[(e&p)+4>>2]=G;ad(24,d,28704,m)|0;if(!d)e=0;else{e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-d&1073741823}g=g+1|0;if((g|0)>=(c[(k&p)>>2]|0))break;else d=d+e|0}}Wg(b,l,-1,1,1)}i=o;return}function $j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0;o=i;i=i+144|0;if((i|0)>=(j|0))fa();l=o;m=o+8|0;h=Sg(c[(e&p)>>2]|0,1)|0;k=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;h=(h|0)==0?10360:h;g=c[(k&p)+20>>2]|0;a:do if((g|0)>0){d=c[(k&p)+16>>2]|0;e=0;do{f=d+(e<<4)|0;if((c[(d+(e<<4)&p)+4>>2]|0)!=0?(dd(c[(f&p)>>2]|0,h)|0)==0:0)break a;e=e+1|0}while((e|0)<(g|0))}else{e=0;f=0}while(0);do if((e|0)<(g|0)){if((e|0)<2){c[(l&p)>>2]=h;ad(128,m,29256,l)|0;q=16;break}if(!(a[(k&n)+63>>0]|0)){ad(128,m,29288,l)|0;q=16;break}e=f+4|0;d=c[(e&p)>>2]|0;if((a[(d&n)+8>>0]|0)==0?(c[(d&p)+16>>2]|0)==0:0){Ml(d);c[(e&p)>>2]=0;c[(f&p)+12>>2]=0;Eg(k);break}c[(l&p)>>2]=h;ad(128,m,29336,l)|0;q=16}else{c[(l&p)>>2]=h;ad(128,m,29232,l)|0;q=16}while(0);if((q|0)==16){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,m,-1,1,-1)|0}i=o;return}function ak(b,d,f){b=b|0;d=d|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,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+32|0;if((i|0)>=(j|0))fa();y=C;l=C+20|0;d=C+16|0;k=C+12|0;B=C+8|0;m=C+4|0;A=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(l&p)>>2]=0;c[(d&p)>>2]=0;c[(B&p)>>2]=0;x=Sg(c[(f&p)>>2]|0,1)|0;t=Sg(c[(f&p)+4>>2]|0,1)|0;x=(x|0)==0?10360:x;t=(t|0)==0?10360:t;w=A+20|0;g=c[(w&p)>>2]|0;h=c[(A&p)+116>>2]|0;a:do if((g|0)<(h+2|0)){if(!(a[(A&n)+63>>0]|0)){g=uh(A,29456,y)|0;c[(B&p)>>2]=g;d=0;z=42;break}u=A+16|0;h=c[(u&p)>>2]|0;b:do if((g|0)>0){f=0;while(1){if(!(dd(c[(h+(f<<4)&p)>>2]|0,t)|0))break;f=f+1|0;if((f|0)>=(g|0))break b}c[(y&p)>>2]=t;g=uh(A,29504,y)|0;c[(B&p)>>2]=g;d=0;z=42;break a}while(0);if((h|0)!=(A+456|0)){h=ro(A,h,(g<<4)+16|0,0)|0;if(!h)break;else s=h}else{h=mh(A,48,0)|0;if(!h)break;s=c[(u&p)>>2]|0;c[(h&p)>>2]=c[(s&p)>>2];c[(h&p)+4>>2]=c[(s&p)+4>>2];c[(h&p)+8>>2]=c[(s&p)+8>>2];c[(h&p)+12>>2]=c[(s&p)+12>>2];c[(h&p)+16>>2]=c[(s&p)+16>>2];c[(h&p)+20>>2]=c[(s&p)+20>>2];c[(h&p)+24>>2]=c[(s&p)+24>>2];c[(h&p)+28>>2]=c[(s&p)+28>>2];s=h}c[(u&p)>>2]=s;q=c[(w&p)>>2]|0;r=s+(q<<4)|0;c[(r&p)>>2]=0;c[(r&p)+4>>2]=0;c[(r&p)+8>>2]=0;c[(r&p)+12>>2]=0;c[(k&p)>>2]=c[(A&p)+48>>2];h=Wn(c[((c[(A&p)>>2]|0)&p)+16>>2]|0,x,k,m,l,d)|0;if(!h){h=c[(k&p)>>2]|256;c[(k&p)>>2]=h;l=c[(l&p)>>2]|0;k=s+(q<<4)+4|0;h=zm(c[(m&p)>>2]|0,l,A,k,0,h)|0;Wc(l);c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;if((h|0)==19){c[(B&p)>>2]=uh(A,29536,y)|0;h=1}else if(!h){h=Xn(A,c[(k&p)>>2]|0)|0;c[(s+(q<<4)&p)+12>>2]=h;if(h)if((a[(h&n)+76>>0]|0)!=0?(a[(h&n)+77>>0]|0)!=(a[(A&n)+62>>0]|0):0){c[(B&p)>>2]=uh(A,13232,y)|0;h=1}else h=0;else h=7;d=c[(k&p)>>2]|0;f=c[(d&p)+4>>2]|0;c[(f&p)+4>>2]=c[(d&p)>>2];f=c[(f&p)>>2]|0;g=a[(A&n)+66>>0]|0;do if(!(a[(f&n)+12>>0]|0)){m=c[(f&p)+208>>2]|0;if((m|0)!=0?(a[(m&n)+43>>0]|0)==2:0)break;a[(f&n)+4>>0]=g}while(0);f=c[((c[(u&p)>>2]|0)&p)+4>>2]|0;if(!f)f=0;else{m=c[(f&p)+4>>2]|0;c[(m&p)+4>>2]=c[(f&p)>>2];f=(e[(m&o)+22>>1]|0)>>>2&1}so(d,f)|0;to(c[(k&p)>>2]|0,c[(A&p)+24>>2]&28|3)}a[(s+(q<<4)&n)+8>>0]=3;d=kh(A,t)|0;c[(r&p)>>2]=d;d=(h|0)==0&(d|0)==0?7:h;if(!d){f=c[(w&p)>>2]|0;if((f|0)>0){g=c[(u&p)>>2]|0;h=0;do{d=c[(g+(h<<4)&p)+4>>2]|0;if(d)c[((c[(d&p)+4>>2]|0)&p)+4>>2]=c[(d&p)>>2];h=h+1|0}while((h|0)!=(f|0))}d=Zh(A,B)|0;if(!d)break}g=(c[(w&p)>>2]|0)+-1|0;f=c[((c[(u&p)>>2]|0)+(g<<4)&p)+4>>2]|0;if(f){Ml(f);s=c[(u&p)>>2]|0;c[(s+(g<<4)&p)+4>>2]=0;c[(s+(g<<4)&p)+12>>2]=0}Eg(A);c[(w&p)>>2]=g;if((d|0)==7|(d|0)==3082){a[(A&n)+65>>0]=1;mg(A,c[(B&p)>>2]|0);g=uh(A,15776,y)|0;c[(B&p)>>2]=g;z=42;break}g=c[(B&p)>>2]|0;if(g){z=43;break}c[(y&p)>>2]=x;g=uh(A,29568,y)|0;c[(B&p)>>2]=g;z=42;break}else if((h|0)==7)a[(A&n)+65>>0]=1;s=c[(d&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,s,-1,1,-1)|0;Wc(s)}else{c[(y&p)>>2]=h;g=uh(A,29416,y)|0;c[(B&p)>>2]=g;d=0;z=42}while(0);if((z|0)==42)if(!g){v=d;z=44}else z=43;if((z|0)==43){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,g,-1,1,-1)|0;mg(A,c[(B&p)>>2]|0);v=d;z=44}if((z|0)==44?(v|0)!=0:0)Pd(b,v);i=C;return}function bk(a){a=a|0;if(a){ik(a,0)|0;Wc(c[(a&p)+24>>2]|0);uo(a)}return 0}function ck(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+12|0;g=d&131071;k=b;i=f;j=0;a:while(1){while(1){f=cb(c[(l&p)>>2]|0,e|0,0)|0;if(!((f|0)==(e|0)&(((f|0)<0)<<31>>31|0)==(i|0))){e=4;break a}h=ac[c[47652>>2]&63](c[(l&p)>>2]|0,k,g)|0;if((g|0)==(h|0)){f=j;e=13;break a}if((h|0)>=0){f=h;break}f=c[((Hb()|0)&p)>>2]|0;if((f|0)!=4){g=h;e=10;break a}}if((f|0)<=0){g=0;f=j;e=13;break}h=jw(f|0,((f|0)<0)<<31>>31|0,e|0,i|0)|0;g=g-f|0;k=k+f|0;i=G;e=h;j=f+j|0}do if((e|0)==4)if((f|0)==-1){c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];f=-1;break}else{c[(a&p)+20>>2]=0;f=-1;break}else if((e|0)==10){c[(a&p)+20>>2]=f;f=0;e=13}while(0);if((e|0)==13)f=f+g|0;if((f|0)!=(d|0))if((f|0)<0)f=266;else{c[(a&p)+20>>2]=0;fw(b+f|0,0,d-f|0)|0;f=522}else f=0;return f|0}function dk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if((d|0)>0){h=a+12|0;i=a+20|0;g=d;while(1){d=vo(c[(h&p)>>2]|0,e,f,b,g,i)|0;if((d|0)<=0)break;g=g-d|0;e=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;if((g|0)<=0){d=0;break a}else{b=b+d|0;f=G}}if((d|0)<0?(c[(i&p)>>2]|0)!=28:0){d=778;break}c[(a&p)+20>>2]=0;d=13}else d=0;while(0);return d|0}function ek(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[(a&p)+40>>2]|0;if((e|0)>0){f=((e|0)<0)<<31>>31;d=jw(b|0,d|0,-1,-1)|0;d=jw(d|0,G|0,e|0,f|0)|0;b=G;e=rw(d|0,b|0,e|0,f|0)|0;e=dw(d|0,b|0,e|0,G|0)|0}else e=b;d=c[(a&p)+12>>2]|0;while(1){b=rc[c[47628>>2]&127](d,e)|0;if((b|0)>=0){e=6;break}b=Hb()|0;if((c[(b&p)>>2]|0)!=4){e=8;break}}if((e|0)==6)if(!b)b=0;else{b=Hb()|0;e=8}if((e|0)==8){c[(a&p)+20>>2]=c[(b&p)>>2];b=co(1546,47928,c[(a&p)+32>>2]|0,29004)|0}return b|0}function fk(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;if(!(Gb(c[(a&p)+12>>2]|0)|0)){h=a+18|0;if(!(b[(h&o)>>1]&8))d=0;else{d=rc[c[47760>>2]&127](c[(a&p)+32>>2]|0,g)|0;f=c[(g&p)>>2]|0;if((d|0)==0&(f|0)>-1){Gb(f|0)|0;ao(a,c[(g&p)>>2]|0,28974);d=0}else d=(d|0)==14?0:d;b[(h&o)>>1]=(e[(h&o)>>1]|0)&65527}}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=co(1034,48360,c[(a&p)+32>>2]|0,28960)|0}i=k;return d|0}function gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+80|0;if((i|0)>=(j|0))fa();d=e;if(!(rc[c[47616>>2]&127](c[(a&p)+12>>2]|0,d)|0)){a=c[(d&p)+36>>2]|0;f=(a|0)==1;d=b;c[(d&p)>>2]=f?0:a;c[(d&p)+4>>2]=f?0:((a|0)<0)<<31>>31;d=0}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=1802}i=e;return d|0}function hk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[(b&p)+24>>2]|0;g=b+16|0;a:do if(!(a[(g&n)>>0]|0)){e=rc[c[47772>>2]&127](f,511)|0;if((e|0)>=0){a[(g&n)>>0]=d;break}f=c[((Hb()|0)&p)>>2]|0;switch(f|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{e=5;break a}case 1:{e=3;break}default:e=3850}c[(b&p)+20>>2]=f}else{a[(g&n)>>0]=d;Ya(f|0,0)|0;e=0}while(0);return e|0}function ik(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=c[(b&p)+24>>2]|0;h=b+16|0;a:do if((d[(h&n)>>0]|0|0)==(e|0))f=0;else{if((e|0)==1){a[(h&n)>>0]=1;f=0;break}do if((lc[c[47784>>2]&127](g)|0)<0){f=Hb()|0;e=c[(f&p)>>2]|0;if((e|0)==20){if((lc[c[47748>>2]&127](g)|0)>=0)break;e=c[(f&p)>>2]|0}g=(e|0)!=2;f=g?2058:0;if(!g)break a;c[(b&p)+20>>2]=e;break a}while(0);a[(h&n)>>0]=0;f=0}while(0);return f|0}function jk(a,b){a=a|0;b=b|0;if((d[(a&n)+16>>0]|0)>1)a=1;else a=(rc[c[47580>>2]&127](c[(a&p)+24>>2]|0,0)|0)==0&1;c[(b&p)>>2]=a;return 0}function kk(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))fa();g=o;a:do switch(b|0){case 16:{f=a+4|0;b=Tc(c[((c[(f&p)>>2]|0)&p)+8>>2]|0)|0;if(!b)f=0;else{_n(c[((c[(f&p)>>2]|0)&p)+8>>2]|0,b)|0;c[(e&p)>>2]=b;f=0}break}case 4:{c[(e&p)>>2]=c[(a&p)+20>>2];f=0;break}case 6:{c[(a&p)+40>>2]=c[(e&p)>>2];f=0;break}case 5:{b=e;e=c[(b&p)>>2]|0;b=c[(b&p)+4>>2]|0;f=a+40|0;if((c[(f&p)>>2]|0)>0){m=a+12|0;if(!(rc[c[47616>>2]&127](c[(m&p)>>2]|0,g)|0)){f=c[(f&p)>>2]|0;k=((f|0)<0)<<31>>31;e=jw(e|0,b|0,-1,-1)|0;e=jw(e|0,G|0,f|0,k|0)|0;l=G;k=rw(e|0,l|0,f|0,k|0)|0;k=dw(e|0,l|0,k|0,G|0)|0;l=G;e=c[(g&p)+36>>2]|0;f=((e|0)<0)<<31>>31;do if((l|0)>(f|0)|(l|0)==(f|0)&k>>>0>e>>>0){h=c[(g&p)+40>>2]|0;b=e+-1+(h<<1)|0;b=b+~((b|0)%(h|0)|0)|0;e=((b|0)<0)<<31>>31;f=a+20|0;if((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0){g=((h|0)<0)<<31>>31;do{a=(vo(c[(m&p)>>2]|0,b,e,10360,1,f)|0)==1;b=jw(b|0,e|0,h|0,g|0)|0;e=G;if(!a){f=778;break a}}while((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0);b=rw(k|0,l|0,h|0,g|0)|0;if((b|0)==0&(G|0)==0)break}b=jw(k|0,l|0,-1,-1)|0;if((vo(c[(m&p)>>2]|0,b,G,10360,1,f)|0)!=1){f=778;break a}}while(0);f=0}else f=1802}else f=0;break}case 1:{c[(e&p)>>2]=d[(a&n)+16>>0];f=0;break}case 20:{c[(e&p)>>2]=xo(a)|0;f=0;break}case 24:{f=0;break}case 10:{wo(a,4,e);f=0;break}case 13:{wo(a,16,e);f=0;break}case 12:{c[(g&p)>>2]=c[((c[(a&p)+4>>2]|0)&p)+16>>2];c[(e&p)>>2]=_c(10344,g)|0;f=0;break}default:f=12}while(0);i=o;return f|0}function lk(a){a=a|0;return 4096}function mk(a){a=a|0;return (b[(a&o)+18>>1]&16)<<8|0}function nk(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,l=0,m=0;l=c[(a&p)+36>>2]|0;i=c[(l&p)>>2]|0;m=(1<<f+d)-(1<<d)|0;a:do if(!(g&1)){j=c[(i&p)+32>>2]|0;i=(j|0)==0;if(g&4){if(i)g=0;else{g=0;i=j;do{if(m&(e[(i&o)+12>>1]|0)){h=5;break a}g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((m&(g&65535)|0)==0?(k=yo(a,0,d+120|0,f)|0,(k|0)!=0):0){h=k;break}h=l+10|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0;break}if(!i){h=m&65535;g=j;do{if((e[(g&o)+12>>1]|0)&h){h=5;break a}if((e[(g&o)+10>>1]|0)&h){h=5;break a}g=c[(g&p)+4>>2]|0}while((g|0)!=0)}h=yo(a,1,d+120|0,f)|0;if(!h){h=l+12|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0}}else{i=c[(i&p)+32>>2]|0;if(!i)g=0;else{g=0;do{if((i|0)!=(l|0))g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((g&65535&m|0)==0?(h=yo(a,2,d+120|0,f)|0,(h|0)!=0):0)break;g=(m|-65536)^65535;h=l+12|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=l+10|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=0}while(0);return h|0}function ok(a){a=a|0;return}function pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=a+36|0;g=c[(f&p)>>2]|0;if(g){h=c[(g&p)>>2]|0;d=h+32|0;while(1){e=c[(d&p)>>2]|0;if((e|0)==(g|0))break;else d=e+4|0}c[(d&p)>>2]=c[(g&p)+4>>2];Wc(g);c[(f&p)>>2]=0;e=h+28|0;d=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=d;if(!d){if((b|0)!=0?(c[(h&p)+12>>2]|0)>-1:0)lc[c[47748>>2]&127](c[(h&p)+8>>2]|0)|0;zo(a)}}return 0}function qk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[(f&p)>>2]=0;return 0}function rk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;b=qb(a|0,b|0,f|0)|0;i=e;return b|0}function tk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+528|0;if((i|0)>=(j|0))fa();f=k;g=k+8|0;c[(f&p)>>2]=b;ad(512,g,10344,f)|0;b=gw(g|0)|0;a:do if((b|0)>1)while(1){e=b+-1|0;if((a[(g+b&n)>>0]|0)==47)break a;if((e|0)>1)b=e;else{b=e;break}}while(0);if((b|0)>0){a[(g+b&n)>>0]=0;b=$n(g,0,0)|0;c[(d&p)>>2]=b;if((b|0)>-1)b=0;else h=7}else{c[(d&p)>>2]=-1;h=7}if((h|0)==7){c[(f&p)>>2]=28919;c[(f&p)+4>>2]=10788;bd(14,14848,f);b=co(14,47896,g,28919)|0}i=k;return b|0}function uk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Kb()|0))a=Qb(a|0,b|0,c|0)|0;else a=0;return a|0}function vk(){return wb(30)|0}function wk(a){a=a|0;uo(a);return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;return 0}function zk(a,b){a=a|0;b=b|0;c[(b&p)>>2]=0;return 0}function Ak(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;bo(a);Ck(a,0)|0;f=c[(a&p)+8>>2]|0;if(f){if(c[(f&p)+24>>2]|0){b=a+28|0;e=c[(b&p)>>2]|0;d=f+28|0;c[(e&p)+8>>2]=c[(d&p)>>2];c[(d&p)>>2]=e;c[(a&p)+12>>2]=-1;c[(b&p)>>2]=0}d=f+16|0;b=(c[(d&p)>>2]|0)+-1|0;c[(d&p)>>2]=b;if(!b){Ao(a);g=f+36|0;b=c[(g&p)>>2]|0;d=f+32|0;e=c[(d&p)>>2]|0;if(!b)c[12178]=e;else c[(b&p)+32>>2]=e;b=c[(d&p)>>2]|0;if(b)c[(b&p)+36>>2]=c[(g&p)>>2];Wc(f)}}uo(a);return 0}function Bk(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,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();m=t;r=d+16|0;f=a[(r&n)>>0]|0;a:do if((f&255|0)<(e|0)){l=c[(d&p)+8>>2]|0;s=l+12|0;g=a[(s&n)>>0]|0;if(f<<24>>24!=g<<24>>24?(g&255)>2|(e|0)>1:0){f=5;break}h=(e|0)==1;do if(h)if((g+-1&255)<2){a[(r&n)>>0]=1;f=l+8|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=l+24|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=0;break a}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;q=10;break}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;if((e|0)==4)if((f&255)<3)q=10;else{k=g;q=14}else{h=g;q=24}}while(0);if((q|0)==10){b[(m&o)>>1]=h&1^1;c[(m&p)+4>>2]=c[2514];if(!(Bo(d,m)|0)){k=g;q=14}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break a}default:f=3850}c[(d&p)+20>>2]=g;break}}b:do if((q|0)==14)if(h){h=m+4|0;c[(h&p)>>2]=(c[2514]|0)+2;c[(k&p)>>2]=510;c:do if(!(Bo(d,m)|0)){f=0;g=0}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;g=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break c}default:{f=3850;break c}}}while(0);c[(h&p)>>2]=c[2514];c[(k&p)>>2]=1;b[(m&o)>>1]=2;do if((Bo(d,m)|0)!=0&(f|0)==0){f=2058;g=c[((Hb()|0)&p)>>2]|0}else{if((f|0)==5){f=5;break a}else if(f)break;a[(r&n)>>0]=1;m=l+24|0;c[(m&p)>>2]=(c[(m&p)>>2]|0)+1;c[(l&p)+8>>2]=1;break b}while(0);c[(d&p)+20>>2]=g;break a}else{h=k;q=24}while(0);do if((q|0)==24){k=(e|0)==4;if(k)if((c[(l&p)+8>>2]|0)>1)f=5;else{b[(m&o)>>1]=1;g=c[2514]|0;q=29}else{b[(m&o)>>1]=1;g=c[2514]|0;if((e|0)==2){c[(m&p)+4>>2]=g+1;g=1;q=30}else q=29}if((q|0)==29){c[(m&p)+4>>2]=g+2;g=510;q=30}if((q|0)==30){c[(h&p)>>2]=g;if(!(Bo(d,m)|0))break;g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;q=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break}default:{f=3850;q=33}}if((q|0)==33)c[(d&p)+20>>2]=g;if(!k)break a}a[(r&n)>>0]=3;a[(s&n)>>0]=3;break a}while(0);f=e&255;a[(r&n)>>0]=f;a[(s&n)>>0]=f;f=0}else f=0;while(0);i=t;return f|0}function Ck(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();k=q;l=d+16|0;f=a[(l&n)>>0]|0;a:do if((f&255|0)>(e|0)){m=c[(d&p)+8>>2]|0;do if((f&255)>1){if((e|0)==1){b[(k&o)>>1]=0;h=k+2|0;b[(h&o)>>1]=0;f=k+4|0;c[(f&p)>>2]=(c[2514]|0)+2;g=k+8|0;c[(g&p)>>2]=510;if(Bo(d,k)|0){c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2314;break a}}else{g=k+8|0;h=k+2|0;f=k+4|0}b[(k&o)>>1]=2;b[(h&o)>>1]=0;c[(f&p)>>2]=c[2514];c[(g&p)>>2]=2;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=1;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2058;break a}}while(0);if(!e){g=m+8|0;f=(c[(g&p)>>2]|0)+-1|0;c[(g&p)>>2]=f;do if(!f){b[(k&o)>>1]=2;b[(k&o)+2>>1]=0;c[(k&p)+8>>2]=0;c[(k&p)+4>>2]=0;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=0;f=0;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];a[(m&n)+12>>0]=0;a[(l&n)>>0]=0;f=2058;break}}else f=0;while(0);h=m+24|0;g=(c[(h&p)>>2]|0)+-1|0;c[(h&p)>>2]=g;if(!g)Ao(d);if(f)break}a[(l&n)>>0]=e;f=0}else f=0;while(0);i=q;return f|0}function Dk(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;m=i;i=i+32|0;if((i|0)>=(j|0))fa();k=m;l=m+8|0;h=c[(e&p)+8>>2]|0;q=(d[(h&n)+12>>0]|0)>1;g=q&1;do if(!q)if(!(a[(h&n)+13>>0]|0)){b[(l&o)+2>>1]=0;c[(l&p)+4>>2]=(c[2514]|0)+1;c[(l&p)+8>>2]=1;b[(l&o)>>1]=1;q=c[11910]|0;h=c[(e&p)+12>>2]|0;c[(k&p)>>2]=l;if(!(ac[q&63](h,12,k)|0)){h=0;g=(b[(l&o)>>1]|0)==2?g:1;break}else{c[(e&p)+20>>2]=c[((Hb()|0)&p)>>2];h=3594;break}}else{h=0;g=0}else{h=0;g=1}while(0);c[(f&p)>>2]=g;i=m;return h|0}function Ek(d,f,g,h,k){d=d|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;D=i;i=i+160|0;if((i|0)>=(j|0))fa();B=D;w=D+76|0;m=hc[c[47844>>2]&7]()|0;if((m|0)<32768)C=1;else C=(m|0)/32768|0;z=d+36|0;m=c[(z&p)>>2]|0;a:do if(!m){m=Tc(16)|0;if(!m)l=7;else{c[(m&p)>>2]=0;c[(m&p)+4>>2]=0;c[(m&p)+8>>2]=0;c[(m&p)+12>>2]=0;v=d+8|0;t=c[(v&p)>>2]|0;l=c[(t&p)+20>>2]|0;b:do if(!l){u=d+32|0;q=c[(u&p)>>2]|0;if((rc[c[47616>>2]&127](c[(d&p)+12>>2]|0,w)|0)!=0?(a[(t&n)+13>>0]|0)==0:0)l=1802;else A=8;c:do if((A|0)==8){l=gw(q|0)|0;r=l+42|0;x=Tc(r)|0;if(x){fw(x|0,0,r|0)|0;s=x+36|0;c[(x&p)+8>>2]=s;c[(B&p)>>2]=q;ad(l+6|0,s,48720,B)|0;l=x+12|0;c[(l&p)>>2]=-1;v=c[(v&p)>>2]|0;c[(v&p)+20>>2]=x;c[(x&p)>>2]=v;c[(x&p)+4>>2]=8;if(a[(t&n)+13>>0]|0){l=x;break b}if(!(fg(c[(u&p)>>2]|0,48728,0)|0))r=66;else{a[(x&n)+22>>0]=1;r=0}q=$n(s,r,c[(w&p)+12>>2]&511)|0;c[(l&p)>>2]=q;if((q|0)<0){c[(B&p)>>2]=29706;c[(B&p)+4>>2]=10788;bd(14,14848,B);l=co(14,47896,s,29706)|0;break}ac[c[47796>>2]&63](q,c[(w&p)+20>>2]|0,c[(w&p)+24>>2]|0)|0;do if(!(yo(d,1,128,1)|0)){l=c[(l&p)>>2]|0;do{q=rc[c[47628>>2]&127](l,0)|0;if((q|0)>=0){y=q;A=18;break}}while((c[((Hb()|0)&p)>>2]|0)==4);if((A|0)==18?(y|0)==0:0)break;l=co(4618,47928,s,29722)|0;if(l)break c}while(0);l=yo(d,0,128,1)|0;if(!l){l=x;break b}}else l=7}while(0);zo(d);Wc(m);if(l)break a;m=c[(z&p)>>2]|0;A=24;break a}while(0);c[(m&p)>>2]=l;A=l+28|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1;c[(d&p)+36>>2]=m;A=l+32|0;c[(m&p)+4>>2]=c[(A&p)>>2];c[(A&p)>>2]=m;A=24}}else A=24;while(0);if((A|0)==24){x=c[(m&p)>>2]|0;z=C+f|0;z=z-((z|0)%(C|0)|0)|0;w=x+20|0;d:do if((e[(w&o)>>1]|0)<(z|0)){l=ca(z,g)|0;c[(x&p)+16>>2]=g;y=x+12|0;m=c[(y&p)>>2]|0;e:do if((m|0)>-1){if(rc[c[47616>>2]&127](m,B)|0){m=4874;break d}m=c[(B&p)+36>>2]|0;if((m|0)<(l|0)){if(!h){m=0;break d}m=(m|0)/4096|0;l=(l|0)/4096|0;if((m|0)<(l|0)){while(1){v=m<<12|4095;m=m+1|0;if((vo(c[(y&p)>>2]|0,v,((v|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((m|0)>=(l|0))break e}m=co(4874,47976,c[(x&p)+8>>2]|0,29853)|0;break d}}}while(0);v=x+24|0;m=Xc(c[(v&p)>>2]|0,z<<2)|0;if(m){c[(v&p)>>2]=m;m=e[(w&o)>>1]|0;if((m|0)<(z|0)){s=ca(C,g)|0;t=x+22|0;u=(C|0)>0;while(1){l=c[(y&p)>>2]|0;if((l|0)>-1){m=ca(m,g)|0;m=kc[c[47808>>2]&7](0,s,(a[(t&n)>>0]|0)!=0?1:3,1,l,m)|0;if((m|0)==(-1|0))break}else{m=Tc(g)|0;if(!m){m=7;break d}fw(m|0,0,g|0)|0}q=b[(w&o)>>1]|0;if(u){l=q&65535;r=0;do{d=m+(ca(r,g)|0)|0;c[((c[(v&p)>>2]|0)+(l+r<<2)&p)>>2]=d;r=r+1|0}while((r|0)!=(C|0))}m=(q&65535)+C|0;b[(w&o)>>1]=m;m=m&65535;if((m|0)>=(z|0)){m=0;break d}}m=co(5386,48080,c[(x&p)+8>>2]|0,29880)|0}else m=0}else m=3082}else m=0;while(0);if((e[(w&o)>>1]|0)>(f|0))l=c[((c[(x&p)+24>>2]|0)+(f<<2)&p)>>2]|0;else l=0;c[(k&p)>>2]=l;l=(a[(x&n)+22>>0]|0)!=0&(m|0)==0?8:m}i=D;return l|0}function Fk(a,b){a=a|0;b=b|0;var d=0;if(b)do{d=b;b=c[(b&p)+32>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Hk(a,c[(d&p)+28>>2]|0);mg(a,d)}while((b|0)!=0);return}function Gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;do if(!(c[(f&p)>>2]&16384)){Gk(a,c[(b&p)+12>>2]|0);Gk(a,c[(b&p)+16>>2]|0);d=c[(f&p)>>2]|0;if(d&65536){mg(a,c[(b&p)+8>>2]|0);d=c[(f&p)>>2]|0}e=b+20|0;if(!(d&2048)){Nk(a,c[(e&p)>>2]|0);break}else{Mk(a,c[(e&p)>>2]|0,1);break}}while(0);if(!(c[(f&p)>>2]&32768))mg(a,b)}return}function Hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;d=c[(b&p)>>2]|0;if((c[(f&p)>>2]|0)>0){e=0;do{mg(a,c[(d+(e<<3)&p)>>2]|0);e=e+1|0;d=c[(b&p)>>2]|0}while((e|0)<(c[(f&p)>>2]|0))}mg(a,d);mg(a,b)}return}function Ik(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;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;m=bn(b,e,r)|0;do if(!m)if(f){q=qg(16,0)|0;if(!q)g=f;else{c[(q&p)+12>>2]=e;c[(q&p)+8>>2]=f;o=b+4|0;k=(c[(o&p)>>2]|0)+1|0;c[(o&p)>>2]=k;if((k>>>0>9?(h=c[(b&p)>>2]|0,k>>>0>h<<1>>>0):0)?(l=k<<4>>>0>1024?128:k<<1,(l|0)!=(h|0)):0){g=c[3164]|0;if(g)nc[g&3]();o=qg(l<<3,0)|0;g=c[3166]|0;if(g)nc[g&3]();if(o){m=b+12|0;Wc(c[(m&p)>>2]|0);c[(m&p)>>2]=o;m=(lc[c[8792>>2]&127](o)|0)>>>3;c[(b&p)>>2]=m;fw(o|0,0,m<<3|0)|0;f=b+8|0;k=c[(f&p)>>2]|0;c[(f&p)>>2]=0;if(k)do{l=c[(k&p)+12>>2]|0;h=a[(l&n)>>0]|0;if(!(h<<24>>24))h=0;else{f=h;h=0;do{l=l+1|0;h=h<<3^h^(d[(f&255&n)+9328>>0]|0);f=a[(l&n)>>0]|0}while(f<<24>>24!=0)}f=k;k=c[(k&p)>>2]|0;Co(b,o+(((h>>>0)%(m>>>0)|0)<<3)|0,f)}while((k|0)!=0);g=a[(e&n)>>0]|0;if(!(g<<24>>24))g=0;else{k=g;g=0;do{e=e+1|0;g=g<<3^g^(d[(k&255&n)+9328>>0]|0);k=a[(e&n)>>0]|0}while(k<<24>>24!=0)}c[(r&p)>>2]=(g>>>0)%((c[(b&p)>>2]|0)>>>0)|0}}g=c[(b&p)+12>>2]|0;if(!g)g=0;else g=g+(c[(r&p)>>2]<<3)|0;Co(b,g,q);g=0}}else g=0;else{k=m+8|0;g=c[(k&p)>>2]|0;if(f){c[(k&p)>>2]=f;c[(m&p)+12>>2]=e;break}l=c[(r&p)>>2]|0;k=c[(m&p)+4>>2]|0;h=c[(m&p)>>2]|0;if(!k)c[(b&p)+8>>2]=h;else{c[(k&p)>>2]=h;h=c[(m&p)>>2]|0}if(h)c[(h&p)+4>>2]=k;e=c[(b&p)+12>>2]|0;if(e){k=e+(l<<3)+4|0;if((c[(k&p)>>2]|0)==(m|0))c[(k&p)>>2]=h;r=e+(l<<3)|0;c[(r&p)>>2]=(c[(r&p)>>2]|0)+-1}Wc(m);q=b+4|0;r=(c[(q&p)>>2]|0)+-1|0;c[(q&p)>>2]=r;if(!r)Ol(b)}while(0);i=s;return g|0}function Jk(b,d){b=b|0;d=d|0;Gk(b,c[(d&p)+36>>2]|0);mg(b,c[(d&p)+16>>2]|0);if(a[(d&n)+51>>0]&16)mg(b,c[(d&p)+32>>2]|0);mg(b,d);return}function Kk(a,b){a=a|0;b=b|0;var d=0;if(b){d=c[(b&p)+28>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Gk(a,c[(b&p)+12>>2]|0);mg(a,b)}return}function Lk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=d+4|0;e=c[(g&p)>>2]|0;if(e){d=d+38|0;if((b[(d&o)>>1]|0)>0){f=0;while(1){mg(a,c[(e&p)>>2]|0);Gk(a,c[(e&p)+4>>2]|0);mg(a,c[(e&p)+8>>2]|0);mg(a,c[(e&p)+12>>2]|0);mg(a,c[(e&p)+16>>2]|0);f=f+1|0;if((f|0)>=(b[(d&o)>>1]|0))break;else e=e+24|0}e=c[(g&p)>>2]|0}mg(a,e)}return}function Mk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b){e=(d|0)==0;d=b;while(1){b=d;d=c[(d&p)+52>>2]|0;Nk(a,c[(b&p)>>2]|0);Do(a,c[(b&p)+32>>2]|0);Gk(a,c[(b&p)+36>>2]|0);Nk(a,c[(b&p)+40>>2]|0);Gk(a,c[(b&p)+44>>2]|0);Nk(a,c[(b&p)+48>>2]|0);Gk(a,c[(b&p)+60>>2]|0);Gk(a,c[(b&p)+64>>2]|0);Qn(a,c[(b&p)+68>>2]|0);if(!e)mg(a,b);if(!d)break;else e=0}}return}function Nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){d=b+4|0;if((c[(b&p)>>2]|0)>0){e=0;f=c[(d&p)>>2]|0;while(1){Gk(a,c[(f&p)>>2]|0);mg(a,c[(f&p)+4>>2]|0);mg(a,c[(f&p)+8>>2]|0);e=e+1|0;if((e|0)>=(c[(b&p)>>2]|0))break;else f=f+20|0}}mg(a,c[(d&p)>>2]|0);mg(a,b)}return}function Ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=b+60|0;d=c[(h&p)>>2]|0;c[(h&p)>>2]=0;a:do if(!d)b=0;else{b=0;do{while(1){f=c[(d&p)>>2]|0;e=d+24|0;g=d;d=c[(e&p)>>2]|0;if((f|0)==(a|0)){b=g;break}f=f+332|0;c[(e&p)>>2]=c[(f&p)>>2];c[(f&p)>>2]=g;if(!d)break a}c[(h&p)>>2]=b;c[(e&p)>>2]=0}while((d|0)!=0)}while(0);return b|0}function Pk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((d|0)!=0?(f=d+(e*20|0)|0,(e|0)>0):0){e=d;do{In(b,a[(e&n)+1>>0]|0,c[(e&p)+16>>2]|0);e=e+20|0}while(e>>>0<f>>>0)}mg(b,d);return}function Qk(a,b){a=a|0;b=b|0;do if(!a)b=lc[c[8792>>2]&127](b)|0;else{if((c[(a&p)+276>>2]|0)>>>0<=b>>>0?(c[(a&p)+280>>2]|0)>>>0>b>>>0:0){b=e[(a&o)+248>>1]|0;break}b=lc[c[8792>>2]&127](b)|0}while(0);a=c[(a&p)+520>>2]|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+b;return}function Rk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[(b+(d<<2)&p)>>2]|0;a:do if(!b)b=0;else while(1){d=c[(b&p)+24>>2]|0;if((Fc(d,e,f)|0)==0?(a[(d+f&n)>>0]|0)==0:0)break a;b=c[(b&p)+28>>2]|0;if(!b){b=0;break}}while(0);return b|0}function Sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+12|0;f=c[(e&p)>>2]|0;g=f+d|0;if((g|0)<(c[(a&p)+16>>2]|0)){c[(e&p)>>2]=g;kw((c[(a&p)+8>>2]|0)+f|0,b|0,d|0)|0}else Eo(a,b,d);return}function Tk(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[(d&p)>>2]|0;if((c[(a&p)>>2]|0)>(b|0)){c[(d&p)>>2]=b+1;d=Vg(c[((c[(a&p)+8>>2]|0)+(b<<2)&p)>>2]|0)|0;b=G}else{b=0;d=0}G=b;return d|0}function Uk(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[(b&p)>>2]|0;if((c[(a&p)>>2]|0)>(d|0)){c[(b&p)>>2]=d+1;b=Sg(c[((c[(a&p)+8>>2]|0)+(d<<2)&p)>>2]|0,1)|0}else b=0;return b|0}function Vk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=b+12|0;i=c[(g&p)>>2]|0;i=jw(i|0,((i|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;k=G;h=c[(b&p)+16>>2]|0;j=((h|0)<0)<<31>>31;if((k|0)<(j|0)|(k|0)==(j|0)&i>>>0<h>>>0){if((d|0)>0)f=4}else{d=Fo(b,d)|0;if((d|0)>=1)f=4}if((f|0)==4){b=b+8|0;do{d=d+-1|0;f=c[(g&p)>>2]|0;c[(g&p)>>2]=f+1;a[((c[(b&p)>>2]|0)+f&n)>>0]=e}while((d|0)>0)}return}function Wk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+112|0;if((i|0)>=(j|0))fa();k=f+28|0;h=f;g=c[(b&p)+88>>2]|0;c[(h&p)+4>>2]=k;c[(h&p)+8>>2]=k;c[(h&p)+12>>2]=0;c[(h&p)+16>>2]=70;c[(h&p)+20>>2]=g;a[(h&n)+24>>0]=1;g=h+25|0;a[(g&n)>>0]=0;c[(h&p)>>2]=b;sg(h,1,d,e);e=tg(h)|0;if((a[(g&n)>>0]|0)==1)a[(b&n)+65>>0]=1;i=f;return e|0}function Xk(a){a=a|0;return lc[c[8792>>2]&127](a)|0}function Yk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+80|0;if((i|0)>=(j|0))fa();l=m+40|0;g=m;if((d|0)!=0?(f=c[(d&p)+20>>2]|0,(f|0)!=0):0){c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;c[(l&p)+16>>2]=0;c[(l&p)+20>>2]=0;c[(l&p)+24>>2]=0;h=g+0|0;k=h+40|0;do{c[(h&p)>>2]=0;h=h+4|0}while((h|0)<(k|0));b[(g&o)+8>>1]=1;e=a+32|0;c[(g&p)+32>>2]=c[(e&p)>>2];c[(l&p)>>2]=g;c[(l&p)+8>>2]=a;c[(l&p)+4>>2]=d;cc[f&31](l);if((c[(a&p)+24>>2]|0)>0)mg(c[(e&p)>>2]|0,c[(a&p)+20>>2]|0);h=a+0|0;e=g+0|0;k=h+40|0;do{c[(h&p)>>2]=c[(e&p)>>2];h=h+4|0;e=e+4|0}while((h|0)<(k|0));e=c[(l&p)+20>>2]|0}else e=0;i=m;return e|0}function Zk(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)>>2]|0;if(d){e=a+4|0;do{f=d;d=c[(d&p)>>2]|0;mg(c[(e&p)>>2]|0,f)}while((d|0)!=0)}c[(a&p)>>2]=0;b[(a&o)+24>>1]=0;c[(a&p)+8>>2]=0;c[(a&p)+12>>2]=0;c[(a&p)+20>>2]=0;b[(a&o)+26>>1]=1;return}function _k(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();h=k;g=k+4|0;d=c[(b&p)>>2]|0;e=d+16|0;do if((c[((c[(e&p)>>2]|0)&p)+20>>2]|0)==0?(a[(b&n)+450>>0]|0)==0:0){f=zm(c[(d&p)>>2]|0,0,d,g,0,542)|0;if(f){th(b,25496,h);c[(b&p)+12>>2]=f;d=1;break}f=c[(g&p)>>2]|0;c[((c[(e&p)>>2]|0)&p)+20>>2]=f;if((xg(f,c[(d&p)+72>>2]|0,-1,0)|0)==7){a[(d&n)+65>>0]=1;d=1}else d=0}else d=0;while(0);i=k;return d|0}function $k(a){a=a|0;var b=0;do if(a)if((c[3157]|0)>>>0<=a>>>0&(c[3158]|0)>>>0>a>>>0){c[2167]=(c[2167]|0)+-1;c[(a&p)>>2]=c[3160];c[3160]=a;a=(c[3161]|0)+1|0;c[3161]=a;c[3162]=(a|0)<(c[3156]|0)&1;break}else{b=lc[c[8792>>2]&127](a)|0;c[2168]=(c[2168]|0)-b;Wc(a);break}while(0);return}function al(d,e,f){d=d|0;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;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;m=c[(e&p)>>2]|0;if((a[(d&n)+15>>0]|0)!=0?(c[(d&p)+24>>2]|0)!=0:0)s=12;else s=3;do if((s|0)==3){l=d+204|0;if(((m|0)!=0?(c[((c[(l&p)>>2]|0)&p)+12>>2]|0)==0:0)?(r=d+152|0,(m|0)!=(c[(r&p)>>2]|0)):0){u=q;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;if(((a[(d&n)+16>>0]|0)!=0?(h=c[(d&p)+60>>2]|0,g=c[(h&p)>>2]|0,(g|0)!=0):0)?(k=rc[c[(g&p)+24>>2]&127](h,q)|0,(k|0)!=0):0){g=0;f=k}else{g=Go(m)|0;if(g){xn(d);h=Ho(c[(l&p)>>2]|0,m)|0;if(!h){s=d+200|0;$k(c[(s&p)>>2]|0);c[(s&p)>>2]=g;s=q;q=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;l=jw(m|0,0,-1,-1)|0;s=jw(l|0,G|0,q|0,s|0)|0;s=qw(s|0,G|0,m|0,0)|0;c[(d&p)+24>>2]=s;c[(r&p)>>2]=m;s=12;break}else f=h}else{g=0;f=7}}$k(g);c[(e&p)>>2]=c[(r&p)>>2]}else s=12}while(0);if((s|0)==12){c[(e&p)>>2]=c[(d&p)+152>>2];g=d+142|0;if((f|0)<0)f=b[(g&o)>>1]|0;b[(g&o)>>1]=f;f=0}i=t;return f|0}function bl(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(d&p)+4>>2]|0;a:do if(a[(d&n)+9>>0]|0){if((c[(i&p)+76>>2]|0)!=(d|0)?(b[(i&o)+22>>1]&32)!=0:0){h=262;break}h=c[(i&p)+72>>2]|0;if(h){while(1){if(((c[(h&p)>>2]|0)!=(d|0)?(c[(h&p)+4>>2]|0)==(f|0):0)?(a[(h&n)+8>>0]|0)!=g<<24>>24:0)break;h=c[(h&p)+12>>2]|0;if(!h){h=0;break a}}if(g<<24>>24==2){h=i+22|0;b[(h&o)>>1]=e[(h&o)>>1]|64;h=262}else h=262}else h=0}else h=0;while(0);return h|0}function cl(b){b=b|0;var e=0,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,G=0,H=0;H=i;i=i+64|0;if((i|0)>=(j|0))fa();G=H;D=H+28|0;C=H+24|0;m=H+20|0;t=H+48|0;v=H+16|0;w=H+12|0;A=H+8|0;B=H+32|0;if(!((a[(b&n)+15>>0]|0)!=0?(e=c[(b&p)+40>>2]|0,(e|0)!=0):0))F=3;do if((F|0)==3){E=b+208|0;f=c[(E&p)>>2]|0;a:do if(!f){z=b+16|0;do if(!(a[(z&n)>>0]|0)){h=b+176|0;g=b+180|0;while(1){e=fl(b,1)|0;if(!e)break;else if((e|0)!=5)break a;if(!(lc[c[(h&p)>>2]&127](c[(g&p)>>2]|0)|0)){e=5;break a}}u=b+17|0;if((d[(u&n)>>0]|0)<2){f=c[(b&p)>>2]|0;c[(G&p)>>2]=1;k=b+64|0;l=(c[(c[(k&p)>>2]&p)>>2]|0)!=0;if(l){h=1;e=0}else{e=pc[c[(f&p)+32>>2]&31](f,c[(b&p)+172>>2]|0,0,G)|0;h=(c[(G&p)>>2]|0)!=0}b:do if((e|0)==0&h){c[(D&p)>>2]=0;g=b+60|0;e=c[(g&p)>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+36>>2]&127](e,D)|0;if(!(c[(D&p)>>2]|e)){e=Io(b,C)|0;if(!e){if((c[(C&p)>>2]|0)!=0|l){do if(!l){c[(m&p)>>2]=2049;e=tc[c[(f&p)+24>>2]&31](f,c[(b&p)+172>>2]|0,c[(k&p)>>2]|0,2049,m)|0;if(!e)break;else if((e|0)!=14){h=0;break b}h=1;e=0;break b}while(0);a[(t&n)>>0]=0;e=c[(k&p)>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,t,1,0,0)|0;e=(e|0)==522?0:e;if(!l?(r=c[(k&p)>>2]|0,s=c[(r&p)>>2]|0,(s|0)!=0):0){lc[c[(s&p)+4>>2]&127](r)|0;c[(r&p)>>2]=0}h=(a[(t&n)>>0]|0)!=0&1;break}h=c[3164]|0;if(h)nc[h&3]();do if(((fl(b,2)|0)==0?(ac[c[(f&p)+28>>2]&63](f,c[(b&p)+172>>2]|0,0)|0,(a[(b&n)+4>>0]|0)==0):0)?(o=c[(g&p)>>2]|0,q=c[(o&p)>>2]|0,(q|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(q&p)+32>>2]&127](o,1)|0;if((a[(u&n)>>0]|0)==5)break;a[(u&n)>>0]=1}while(0);h=c[3166]|0;if(!h){h=0;e=0}else{nc[h&3]();h=0;e=0}}else h=0}else h=0}else h=0;while(0);if(e)break a;if(h)F=35}else F=35;do if((F|0)==35){if(a[(b&n)+14>>0]|0){e=776;break a}e=fl(b,4)|0;if(e)break a;f=b+64|0;if(!(c[(c[(f&p)>>2]&p)>>2]|0)){h=c[(b&p)>>2]|0;g=b+172|0;e=pc[c[(h&p)+32>>2]&31](h,c[(g&p)>>2]|0,0,v)|0;if((e|0)==0&(c[(v&p)>>2]|0)!=0){c[(w&p)>>2]=0;e=tc[c[(h&p)+24>>2]&31](h,c[(g&p)>>2]|0,c[(f&p)>>2]|0,2050,w)|0;if(!e)if(c[(w&p)>>2]&1){c[(G&p)>>2]=46645;c[(G&p)+4>>2]=10788;bd(14,14848,G);h=c[(f&p)>>2]|0;g=c[(h&p)>>2]|0;if(!g)e=14;else{lc[c[(g&p)+4>>2]&127](h)|0;c[(h&p)>>2]=0;e=14}}else e=0}}else e=0;if(!(c[(c[(f&p)>>2]&p)>>2]|0))if((a[(b&n)+4>>0]|0)==0?(x=c[(b&p)+60>>2]|0,y=c[(x&p)>>2]|0,(y|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(y&p)+32>>2]&127](x,1)|0;if((a[(u&n)>>0]|0)!=5){a[(u&n)>>0]=1;F=52}else F=52}else F=52;else{e=Jo(b)|0;if(!e){e=Ko(b,1)|0;a[(z&n)>>0]=0;F=52}}if((F|0)==52)if(!e)break;D=e&255;if(!((D|0)==10|(D|0)==13))break a;c[(b&p)+40>>2]=e;a[(z&n)>>0]=6;break a}while(0);h=b+12|0;if((a[(h&n)>>0]|0)==0?(a[(b&n)+23>>0]|0)!=0:0){c[(A&p)>>2]=0;e=Io(b,A)|0;if(e)break a;if(c[(A&p)>>2]|0){e=c[(b&p)+60>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,B,16,24,0)|0;if(!((e|0)==0|(e|0)==522))break a}else{g=B+0|0;f=g+16|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(f|0))}if(Zv(b+104|0,B,16)|0)xn(b)}if(!(a[(h&n)>>0]|0)){e=Io(b,C)|0;if(!e){g=c[(b&p)>>2]|0;f=c[(b&p)+212>>2]|0;if(!(c[(C&p)>>2]|0)){e=ac[c[(g&p)+28>>2]&63](g,f,0)|0;c[(D&p)>>2]=0;if((e|0)!=5898)F=68}else{e=pc[c[(g&p)+32>>2]&31](g,f,0,D)|0;F=68}if((F|0)==68){if(e)break;if(c[(D&p)>>2]|0){e=el(b,0)|0;break}}e=b+5|0;if((a[(e&n)>>0]|0)==5){a[(e&n)>>0]=0;e=0}else e=0}}else e=0}else e=0;while(0);f=c[(E&p)>>2]|0;if(!f)F=78;else F=74}else F=74;while(0);if((F|0)==74){c[(G&p)>>2]=0;Lo(f);f=c[(E&p)>>2]|0;g=0;do{g=g+1|0;e=Mo(f,G,0,g)|0}while((e|0)==-1);if(!(c[(G&p)>>2]|e))F=78;else{xn(b);F=78}}if((F|0)==78){if((a[(b&n)+16>>0]|0)==0&(e|0)==0)e=Io(b,b+24|0)|0;if(!e){a[(b&n)+16>>0]=1;e=0;break}}No(b)}while(0);i=H;return e|0}function dl(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+16|0;if((i|0)>=(j|0))fa();g=h;f=zg(c[(b&p)>>2]|0,d,g,f)|0;if(!f){g=c[(g&p)>>2]|0;f=c[(g&p)+8>>2]|0;c[(f&p)+56>>2]=c[(g&p)+4>>2];c[(f&p)+68>>2]=g;c[(f&p)+52>>2]=b;c[(f&p)+72>>2]=d;a[(f&n)+6>>0]=(d|0)==1?100:0;c[(e&p)>>2]=f;f=0}i=h;return f|0}function el(b,d){b=b|0;d=d|0;var e=0,f=0;do if((a[(b&n)+12>>0]|0)==0?(c[(b&p)+208>>2]|0)==0:0){d=c[(c[(b&p)+60>>2]&p)>>2]|0;if(!(a[(b&n)+4>>0]|0)){if((c[(d&p)>>2]|0)<=1){d=14;break}if(!(c[(d&p)+52>>2]|0)){d=14;break}}d=c[(b&p)+64>>2]|0;e=c[(d&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](d)|0;c[(d&p)>>2]=0}d=pn(b)|0;if(!d){a[(b&n)+5>>0]=5;a[(b&n)+16>>0]=0;d=0}}else f=10;while(0);if((f|0)==10){c[(d&p)>>2]=1;d=0}return d|0}function fl(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+17|0;e=a[(f&n)>>0]|0;do if((e&255|0)<(d|0)|e<<24>>24==5){if(!(a[(b&n)+13>>0]|0)){e=c[(b&p)+60>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+28>>2]&127](e,d)|0;if(e)break;e=a[(f&n)>>0]|0}if(e<<24>>24!=5|(d|0)==4){a[(f&n)>>0]=d;e=0}else e=0}else e=0;while(0);return e|0}function gl(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)+4>>2]|0;a=c[(b&p)+444>>2]|0;if((a|0)!=0?(e=b+452|0,d=c[(e&p)>>2]|0,(d|0)>=0):0){a=rc[a&127](c[(b&p)+448>>2]|0,d)|0;if(!a)b=-1;else b=(c[(e&p)>>2]|0)+1|0;c[(e&p)>>2]=b}else a=0;return a|0}function hl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;o=b+96|0;e=c[(o&p)>>2]|0;a:do if((e|0)<(d|0)?(a[(b&n)+6>>0]|0)!=0:0){f=b+92|0;s=rg(c[(f&p)>>2]|0,d*48|0,0)|0;if(!s)e=7;else{fw(s+(e*48|0)|0,0,(d-e|0)*48|0)|0;c[(f&p)>>2]=s;i=b+24|0;j=b+64|0;k=b+148|0;l=b+52|0;m=b+208|0;h=b+72|0;while(1){g=c[(i&p)>>2]|0;b=s+(e*48|0)|0;c[(s+(e*48|0)&p)+20>>2]=g;if((c[(c[(j&p)>>2]&p)>>2]|0)!=0?(r=h,q=c[(r&p)>>2]|0,r=c[(r&p)+4>>2]|0,(r|0)>0|(r|0)==0&q>>>0>0):0){c[(b&p)>>2]=q;c[(b&p)+4>>2]=r}else{c[(b&p)>>2]=c[(k&p)>>2];c[(b&p)+4>>2]=0}c[(s+(e*48|0)&p)+24>>2]=c[(l&p)>>2];f=qg(512,0)|0;if(!f)break;fw(f|0,0,512)|0;c[(f&p)>>2]=g;c[(s+(e*48|0)&p)+16>>2]=f;f=c[(m&p)>>2]|0;if(f){c[(s+(e*48|0)&p)+28>>2]=c[(f&p)+68>>2];c[(s+(e*48|0)&p)+32>>2]=c[(f&p)+76>>2];c[(s+(e*48|0)&p)+36>>2]=c[(f&p)+80>>2];c[(s+(e*48|0)&p)+40>>2]=c[(f&p)+104>>2]}e=e+1|0;c[(o&p)>>2]=e;if((e|0)>=(d|0)){e=0;break a}}c[(s+(e*48|0)&p)+16>>2]=f;e=7}}else e=0;while(0);return e|0}function il(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;do if(e){f=c[(e&p)+4>>2]|0;if(!(c[(f&p)>>2]|0)){f=Oo(a,d,e)|0;break}e=f+26|0;g=b[(e&o)>>1]|0;if(!(g<<16>>16)){h=a+12|0;c[(h&p)>>2]=(c[(h&p)>>2]|0)+1}b[(e&o)>>1]=g+1<<16>>16;if((d|0)==1)c[(a&p)+44>>2]=f}else f=0;while(0);return f|0}function jl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+96|0;d=c[(h&p)>>2]|0;if((d|0)>0){g=a+92|0;f=0;a=0;do{e=c[(g&p)>>2]|0;if((c[(e+(f*48|0)&p)+20>>2]|0)>>>0>=b>>>0){a=bi(c[(e+(f*48|0)&p)+16>>2]|0,b)|0|a;d=c[(h&p)>>2]|0}f=f+1|0}while((f|0)<(d|0))}else a=0;return a|0}function kl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=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();y=A;u=A+16|0;v=A+12|0;x=A+8|0;s=c[(a&p)+68>>2]|0;a:do if((s|0)!=0?(b[(a&o)+40>>1]|0)!=0:0){t=d*383&8191;w=(s+33|0)>>>12;b:while(1){g=Po(a,w,u,v,x)|0;if(g)break a;g=(c[(u&p)>>2]|0)+(t<<1)|0;if(!(b[(g&o)>>1]|0))g=0;else{n=c[(x&p)>>2]|0;q=c[(u&p)>>2]|0;r=c[(v&p)>>2]|0;k=g;l=t;g=0;m=8192;while(1){h=(e[(k&o)>>1]|0)+n|0;if(h>>>0<=s>>>0)g=(c[(r+(e[(k&o)>>1]<<2)&p)>>2]|0)==(d|0)?h:g;if(!m){z=11;break b}l=l+1&8191;k=q+(l<<1)|0;if(!(b[(k&o)>>1]|0))break;else m=m+-1|0}}if((w|0)>0&(g|0)==0)w=w+-1|0;else{z=14;break}}if((z|0)==11){c[(y&p)>>2]=51262;c[(y&p)+4>>2]=10788;bd(11,13600,y);g=11;break}else if((z|0)==14){c[(f&p)>>2]=g;g=0;break}}else z=3;while(0);if((z|0)==3){c[(f&p)>>2]=0;g=0}i=A;return g|0}function ll(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[(b&p)+16>>2]|0;i=c[(b&p)+20>>2]|0;f=c[(h&p)+152>>2]|0;b=b+4|0;g=c[(b&p)>>2]|0;if(!d){d=sw(i+-1|0,0,f|0,((f|0)<0)<<31>>31|0)|0;j=c[(h&p)+60>>2]|0;d=tc[c[((c[(j&p)>>2]|0)&p)+8>>2]&31](j,g,f,d,G)|0;d=(d|0)==522?0:d}else{k=c[(h&p)+208>>2]|0;j=e[(k&o)+66>>1]|0;j=j<<16&65536|j&65024;d=sw(j|24|0,0,d+-1|0,0)|0;d=jw(d|0,G|0,56,0)|0;k=c[(k&p)+8>>2]|0;d=tc[c[((c[(k&p)>>2]|0)&p)+8>>2]&31](k,g,(j|0)<(f|0)?j:f,d,G)|0}do if((i|0)==1)if(!d){g=h+104|0;f=(c[(b&p)>>2]|0)+24|0;b=g+16|0;do{a[(g&n)>>0]=a[(f&n)>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(b|0));break}else{g=h+104|0;b=g+16|0;do{a[(g&n)>>0]=255;g=g+1|0}while((g|0)<(b|0));break}while(0);return d|0}function ml(a){a=a|0;var d=0,e=0;if(b[(a&o)+24>>1]&2)Qo(a,1);d=c[(a&p)+28>>2]|0;e=d+12|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1;if((c[(a&p)+20>>2]|0)==1)c[(d&p)+44>>2]=0;mc[c[8880>>2]&63](c[(d&p)+40>>2]|0,c[(a&p)>>2]|0,1);return}function nl(b){b=b|0;var d=0;d=a[(b&n)+16>>0]|0;do if(!(d<<24>>24==0|d<<24>>24==6)){if((d&255)<=1){if(a[(b&n)+4>>0]|0)break;Cl(b,0,0)|0;break}d=c[3164]|0;if(d)nc[d&3]();Hl(b)|0;d=c[3166]|0;if(d)nc[d&3]()}while(0);No(b);return}function ol(d){d=d|0;var e=0,f=0;f=d+26|0;e=(b[(f&o)>>1]|0)+-1<<16>>16;b[(f&o)>>1]=e;do if(!(e<<16>>16)){e=c[(d&p)+28>>2]|0;f=e+12|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;if(b[(d&o)+24>>1]&2){if(!(c[(d&p)+36>>2]|0))break;Qo(d,3);break}if(a[(e&n)+28>>0]|0){if((c[(d&p)+20>>2]|0)==1)c[(e&p)+44>>2]=0;mc[c[8880>>2]&63](c[(e&p)+40>>2]|0,c[(d&p)>>2]|0,0)}}while(0);return}function pl(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=c[(e&p)+56>>2]|0;k=c[(e&p)+52>>2]|0;g=d[(e&n)+6>>0]|0;h=j+g|0;i=k+36|0;if(b[(k&o)+22>>1]&4)fw(h|0,0,(c[(i&p)>>2]|0)-g|0)|0;a[(h&n)>>0]=f;h=g+(f>>>1&4^12)|0;l=j+(g+1)|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;a[(j+g&n)+7>>0]=0;a[(j+g&n)+5>>0]=(c[(i&p)>>2]|0)>>>8;a[(j+g&n)+6>>0]=c[(i&p)>>2];b[(e&o)+16>>1]=(c[(i&p)>>2]|0)-h;Ro(e,f)|0;b[(e&o)+14>>1]=h;c[(e&p)+60>>2]=j+(c[(i&p)>>2]|0);c[(e&p)+64>>2]=j+(h&65535);a[(e&n)+1>>0]=0;b[(e&o)+20>>1]=(c[(k&p)+32>>2]|0)+65535;b[(e&o)+18>>1]=0;a[(e&n)>>0]=1;return}function ql(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))fa();g=h+16|0;f=h;d=a+8|0;c[(g&p)>>2]=c[(d&p)>>2];c[(g&p)+4>>2]=c[(d&p)+4>>2];c[(g&p)+8>>2]=c[(d&p)+8>>2];c[(g&p)+12>>2]=c[(d&p)+12>>2];e=a+40|0;c[(f&p)>>2]=c[(e&p)>>2];c[(f&p)+4>>2]=c[(e&p)+4>>2];c[(f&p)+8>>2]=c[(e&p)+8>>2];c[(f&p)+12>>2]=c[(e&p)+12>>2];c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;c[(e&p)+8>>2]=0;c[(e&p)+12>>2]=0;Ol(a+24|0);e=c[(f&p)+8>>2]|0;if(e)do{jg(0,c[(e&p)+8>>2]|0);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(f);c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0;c[(d&p)+12>>2]=0;d=c[(g&p)+8>>2]|0;if(d)do{kg(0,c[(d&p)+8>>2]|0);d=c[(d&p)>>2]|0}while((d|0)!=0);Ol(g);Ol(a+56|0);c[(a&p)+72>>2]=0;d=a+78|0;e=b[(d&o)>>1]|0;if(e&1){f=a+4|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;b[(d&o)>>1]=e&65534}i=h;return}function rl(a){a=a|0;var d=0,e=0;e=a+332|0;d=c[(e&p)>>2]|0;c[(e&p)>>2]=0;if(d){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);do{a=d;d=c[(d&p)+24>>2]|0;An(a)}while((d|0)!=0)}return}function sl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+20|0;b=c[(g&p)>>2]|0;j=a+16|0;d=c[(j&p)>>2]|0;if((b|0)>2){f=2;e=2;do{b=d+(f<<4)|0;if(!(c[(d+(f<<4)&p)+4>>2]|0)){mg(a,c[(b&p)>>2]|0);c[(b&p)>>2]=0}else{if((e|0)<(f|0)){d=d+(e<<4)|0;c[(d&p)>>2]=c[(b&p)>>2];c[(d&p)+4>>2]=c[(b&p)+4>>2];c[(d&p)+8>>2]=c[(b&p)+8>>2];c[(d&p)+12>>2]=c[(b&p)+12>>2]}e=e+1|0}f=f+1|0;b=c[(g&p)>>2]|0;d=c[(j&p)>>2]|0}while((f|0)<(b|0))}else e=2;fw(d+(e<<4)|0,0,b-e<<4|0)|0;c[(g&p)>>2]=e;if((e|0)<3?(h=c[(j&p)>>2]|0,i=a+456|0,(h|0)!=(i|0)):0){c[(i&p)>>2]=c[(h&p)>>2];c[(i&p)+4>>2]=c[(h&p)+4>>2];c[(i&p)+8>>2]=c[(h&p)+8>>2];c[(i&p)+12>>2]=c[(h&p)+12>>2];c[(i&p)+16>>2]=c[(h&p)+16>>2];c[(i&p)+20>>2]=c[(h&p)+20>>2];c[(i&p)+24>>2]=c[(h&p)+24>>2];c[(i&p)+28>>2]=c[(h&p)+28>>2];mg(a,h);c[(j&p)>>2]=i}return}function tl(f){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,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();v=y;s=c[(f&p)+16>>2]|0;u=s+152|0;k=((c[(s&p)+148>>2]|0)>>>0)/((c[(u&p)>>2]|0)>>>0)|0;x=s+20|0;a[(x&n)>>0]=d[(x&n)>>0]|0|4;r=f+20|0;l=c[(r&p)>>2]|0;f=l+-1&0-k;w=f+1|0;h=~f;g=c[(s&p)+24>>2]|0;if(l>>>0<=g>>>0){if((f+k|0)>>>0>g>>>0)k=g+1+h|0}else k=l+1+h|0;a:do if((k|0)>0){q=s+56|0;t=s+204|0;m=0;f=0;while(1){h=m+w|0;if((h|0)!=(l|0)?(di(c[(q&p)>>2]|0,h)|0)!=0:0){l=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,h,0)|0;h=il(c[(t&p)>>2]|0,h,l)|0;c[(v&p)>>2]=h;if(!h)g=0;else{f=(b[(h&o)+24>>1]&4)==0?f:1;Bg(h);g=0}}else if((h|0)==(((c[2514]|0)/(c[(u&p)>>2]|0)|0)+1|0))g=0;else{g=zg(s,h,v,0)|0;if(g)break a;l=c[(v&p)>>2]|0;g=ul(l)|0;f=(b[(l&o)+24>>1]&4)==0?f:1;Bg(l)}m=m+1|0;h=(g|0)==0;if(!((m|0)<(k|0)&h))break;l=c[(r&p)>>2]|0}if(h&(f|0)!=0){f=0;do{s=f+w|0;g=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,s,0)|0;g=il(c[(t&p)>>2]|0,s,g)|0;if(g){s=g+24|0;b[(s&o)>>1]=e[(s&o)>>1]|0|4;Bg(g)}f=f+1|0}while((f|0)!=(k|0));g=0}}else g=0;while(0);a[(x&n)>>0]=(d[(x&n)>>0]|0)&251;i=y;return g|0}function ul(f){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,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();C=E+4|0;t=E;D=c[(f&p)+16>>2]|0;x=D+16|0;a:do if((a[(x&n)>>0]|0)==2){s=c[(D&p)>>2]|0;k=c[(D&p)+40>>2]|0;if(!k){do if((c[(D&p)+208>>2]|0)==0?(q=D+5|0,(a[(q&n)>>0]|0)!=2):0){r=D+24|0;k=c[(r&p)>>2]|0;h=qg(512,0)|0;if(!h){c[(D&p)+56>>2]=0;g=7;break a}fw(h|0,0,512)|0;c[(h&p)>>2]=k;u=D+56|0;c[(u&p)>>2]=h;l=D+64|0;m=c[(l&p)>>2]|0;do if(!(c[(m&p)>>2]|0)){if((a[(q&n)>>0]|0)==4){k=m+0|0;h=k+40|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));c[(m&p)>>2]=14696;w=17;break}h=a[(D&n)+12>>0]|0;c[(t&p)>>2]=0;if((h<<24>>24==0?(c[(r&p)>>2]|0)!=0:0)?(g=c[(D&p)+60>>2]|0,g=ac[c[((c[(g&p)>>2]|0)&p)+40>>2]&63](g,20,t)|0,(g|0)!=12):0){k=(g|0)==0;if(k&(c[(t&p)>>2]|0)!=0){g=1032;break}if(k)w=15}else w=15;if((w|0)==15)g=tc[c[(s&p)+24>>2]&31](s,c[(D&p)+172>>2]|0,c[(l&p)>>2]|0,h<<24>>24!=0?4110:2054,0)|0;if(!g)w=17}else w=17;while(0);if((w|0)==17){c[(D&p)+44>>2]=0;g=D+72|0;a[(D&n)+19>>0]=0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;g=So(D)|0;if(!g)break}ei(c[(u&p)>>2]|0);c[(u&p)>>2]=0;if(!g){w=20;break a}else break a}while(0);a[(x&n)>>0]=3;w=20}else g=k}else w=20;while(0);b:do if((w|0)==20){To(f);y=D+56|0;z=f+20|0;m=c[(z&p)>>2]|0;do if(!(di(c[(y&p)>>2]|0,m)|0))if(!(c[(D&p)+208>>2]|0)){if(m>>>0<=(c[(D&p)+28>>2]|0)>>>0?(B=D+64|0,A=c[(B&p)>>2]|0,(c[(A&p)>>2]|0)!=0):0){w=D+72|0;q=w;u=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;v=c[(f&p)+4>>2]|0;k=c[(D&p)+48>>2]|0;x=D+152|0;l=(c[(x&p)>>2]|0)+-200|0;if((l|0)>0)do{k=(d[(v+l&n)>>0]|0)+k|0;l=l+-200|0}while((l|0)>0);t=f+24|0;b[(t&o)>>1]=e[(t&o)>>1]|4;a[(C&n)>>0]=m>>>24;t=C+1|0;a[(t&n)>>0]=m>>>16;s=C+2|0;a[(s&n)>>0]=m>>>8;r=C+3|0;a[(r&n)>>0]=m;g=tc[c[((c[(A&p)>>2]|0)&p)+12>>2]&31](A,C,4,u,q)|0;if(g)break b;m=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;h=jw(u|0,q|0,4,0)|0;l=G;g=tc[c[((c[(m&p)>>2]|0)&p)+12>>2]&31](m,v,g,h,l)|0;if(g)break b;u=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;g=jw(h|0,l|0,g|0,((g|0)<0)<<31>>31|0)|0;a[(C&n)>>0]=k>>>24;a[(t&n)>>0]=k>>>16;a[(s&n)>>0]=k>>>8;a[(r&n)>>0]=k;g=tc[c[((c[(u&p)>>2]|0)&p)+12>>2]&31](u,C,4,g,G)|0;if(g)break b;g=(c[(x&p)>>2]|0)+8|0;u=w;u=jw(g|0,((g|0)<0)<<31>>31|0,c[(u&p)>>2]|0,c[(u&p)+4>>2]|0)|0;g=w;c[(g&p)>>2]=u;c[(g&p)+4>>2]=G;g=D+44|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;g=bi(c[(y&p)>>2]|0,c[(z&p)>>2]|0)|0;g=jl(D,c[(z&p)>>2]|0)|0|g;if(!g){w=34;break}else break b}if((a[(x&n)>>0]|0)!=4){w=f+24|0;b[(w&o)>>1]=e[(w&o)>>1]|4;w=34}else w=34}else w=34;else if((c[(D&p)+96>>2]|0)!=0?(Uo(f)|0)!=0:0)w=34;else g=0;while(0);if((w|0)==34)if((c[(D&p)+96>>2]|0)>0?(Uo(f)|0)!=0:0)g=Vo(f)|0;else g=0;k=D+24|0;h=c[(z&p)>>2]|0;if((c[(k&p)>>2]|0)>>>0<h>>>0)c[(k&p)>>2]=h}while(0);i=E;return g|0}function vl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+128|0;if((i|0)>=(j|0))fa();k=l;e=c[(a&p)>>2]|0;d=(e|0)==0;if(!d){b=e;do{a=b;b=c[(b&p)+32>>2]|0;c[(a&p)+12>>2]=b}while((b|0)!=0);b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));if(d)a=0;else{g=k+124|0;do{b=e+12|0;a=e;e=c[(b&p)>>2]|0;c[(b&p)>>2]=0;b=0;do{f=k+(b<<2)|0;d=c[(f&p)>>2]|0;if(!d){d=f;h=8;break}a=Wo(d,a)|0;c[(f&p)>>2]=0;b=b+1|0}while((b|0)<31);if((h|0)==8){h=0;c[(d&p)>>2]=a}if((b|0)==31)c[(g&p)>>2]=Wo(c[(g&p)>>2]|0,a)|0}while((e|0)!=0);a=c[(k&p)>>2]|0}}else{b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Wo(a,c[(k+(b<<2)&p)>>2]|0)|0;b=b+1|0}while((b|0)!=32);i=l;return a|0}function wl(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,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;M=i;i=i+80|0;if((i|0)>=(j|0))fa();s=M+32|0;t=M+28|0;C=M;v=M+40|0;K=M+24|0;c[(K&p)>>2]=f;z=(h|0)==0;if(!z){c[(K&p)>>2]=f;if(!f){f=0;q=0}else{q=0;m=K;do{A=(c[(f&p)+20>>2]|0)>>>0>g>>>0;H=f+12|0;q=q+(A&1^1)|0;m=A?m:H;f=c[(H&p)>>2]|0;c[(m&p)>>2]=f}while((f|0)!=0);f=c[(K&p)>>2]|0}}else q=1;H=e+192|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+q;if((c[(f&p)+20>>2]|0)==1)yl(f);I=c[(e&p)+208>>2]|0;J=c[(e&p)+152>>2]|0;u=a[(e&n)+10>>0]|0;A=u&255;m=I+40|0;if(!(b[(m&o)>>1]|0)){do if(c[((c[(c[(I&p)+32>>2]&p)>>2]|0)&p)+96>>2]|0){cd(4,s);q=I+43|0;if(!(a[(q&n)>>0]|0)){k=c[(I&p)+4>>2]|0;k=pc[c[((c[(k&p)>>2]|0)&p)+56>>2]&31](k,4,4,10)|0;if((k|0)==5){B=14;break}else if(k)break}Xo(I,c[(s&p)>>2]|0);if(!(a[(q&n)>>0]|0)){B=c[(I&p)+4>>2]|0;pc[c[((c[(B&p)>>2]|0)&p)+56>>2]&31](B,4,4,9)|0;B=14}else B=14}else{q=I+43|0;B=14}while(0);if((B|0)==14){if(!(a[(q&n)>>0]|0)){H=c[(I&p)+4>>2]|0;pc[c[((c[(H&p)>>2]|0)&p)+56>>2]&31](H,3,1,5)|0}b[(m&o)>>1]=-1;q=0;do{q=q+1|0;k=Mo(I,t,1,q)|0}while((k|0)==-1)}if(!k)B=19}else B=19;a:do if((B|0)==19){H=I+68|0;t=c[(H&p)>>2]|0;if(!t){a[(v&n)>>0]=55;a[(v&n)+1>>0]=127;a[(v&n)+2>>0]=6;a[(v&n)+3>>0]=-126;a[(v&n)+4>>0]=0;a[(v&n)+5>>0]=45;a[(v&n)+6>>0]=-30;a[(v&n)+7>>0]=24;a[(v&n)+8>>0]=J>>>24;a[(v&n)+9>>0]=J>>>16;a[(v&n)+10>>0]=J>>>8;a[(v&n)+11>>0]=J;y=c[(I&p)+104>>2]|0;a[(v&n)+12>>0]=y>>>24;a[(v&n)+13>>0]=y>>>16;a[(v&n)+14>>0]=y>>>8;a[(v&n)+15>>0]=y;if(!y)cd(8,I+84|0);l=I+84|0;q=l;q=d[(q&n)>>0]|d[(q&n)+1>>0]<<8|d[(q&n)+2>>0]<<16|d[(q&n)+3>>0]<<24;l=l+4|0;l=d[(l&n)>>0]|d[(l&n)+1>>0]<<8|d[(l&n)+2>>0]<<16|d[(l&n)+3>>0]<<24;s=v+16|0;m=s;a[(m&n)>>0]=q;a[(m&n)+1>>0]=q>>8;a[(m&n)+2>>0]=q>>16;a[(m&n)+3>>0]=q>>24;s=s+4|0;a[(s&n)>>0]=l;a[(s&n)+1>>0]=l>>8;a[(s&n)+2>>0]=l>>16;a[(s&n)+3>>0]=l>>24;s=v+24|0;l=v;m=0;q=0;do{m=m+q+(c[(l&p)>>2]|0)|0;q=m+q+(c[(l&p)+4>>2]|0)|0;l=l+8|0}while(l>>>0<s>>>0);a[(s&n)>>0]=m>>>24;a[(v&n)+25>>0]=m>>>16;a[(v&n)+26>>0]=m>>>8;a[(v&n)+27>>0]=m;a[(v&n)+28>>0]=q>>>24;a[(v&n)+29>>0]=q>>>16;a[(v&n)+30>>0]=q>>>8;a[(v&n)+31>>0]=q;c[(I&p)+36>>2]=J;a[(I&n)+65>>0]=0;c[(I&p)+76>>2]=m;c[(I&p)+80>>2]=q;a[(I&n)+47>>0]=1;q=I+8|0;k=c[(q&p)>>2]|0;k=tc[c[((c[(k&p)>>2]|0)&p)+12>>2]&31](k,v,32,0,0)|0;if(k)break;if((a[(I&n)+48>>0]|0)!=0&u<<24>>24!=0?(r=c[(q&p)>>2]|0,r=rc[c[((c[(r&p)>>2]|0)&p)+20>>2]&127](r,A&19)|0,(r|0)!=0):0){k=r;break}}else q=I+8|0;c[(C&p)>>2]=I;v=c[(q&p)>>2]|0;c[(C&p)+4>>2]=v;w=C+8|0;x=w;c[(x&p)>>2]=0;c[(x&p)+4>>2]=0;c[(C&p)+16>>2]=A;c[(C&p)+20>>2]=J;x=J+24|0;y=((x|0)<0)<<31>>31;m=sw(t|0,0,x|0,y|0)|0;m=jw(m|0,G|0,32,0)|0;k=G;if(!f){l=m;u=0}else{r=k;l=t;u=f;while(1){t=l+1|0;if(z)l=0;else l=(c[(u&p)+12>>2]|0)==0?g:0;k=Yo(C,u,l,m,r)|0;if(k)break a;m=jw(m|0,r|0,x|0,y|0)|0;k=G;s=c[(u&p)+12>>2]|0;if(!s){l=m;break}else{r=k;l=t;u=s}}}z=(h|0)!=0;do if(!((A&32|0)==0|z^1)){if(!(a[(I&n)+49>>0]|0)){m=0;k=rc[c[((c[(v&p)>>2]|0)&p)+20>>2]&127](v,A&19)|0;break}q=c[(q&p)>>2]|0;m=c[((c[(q&p)>>2]|0)&p)+44>>2]|0;if(m){q=lc[m&127](q)|0;if((q|0)<32){m=512;q=0}else B=37}else{q=4096;B=37}if((B|0)==37){B=(q|0)>65536;m=B?65536:q;q=B?0:((q|0)<0)<<31>>31}B=jw(l|0,k|0,-1,-1)|0;B=jw(B|0,G|0,m|0,q|0)|0;s=G;r=rw(B|0,s|0,m|0,q|0)|0;r=dw(B|0,s|0,r|0,G|0)|0;s=G;B=w;c[(B&p)>>2]=r;c[(B&p)+4>>2]=s;if((k|0)<(s|0)|(k|0)==(s|0)&l>>>0<r>>>0){q=k;m=0;while(1){k=Yo(C,u,g,l,q)|0;if(k)break a;l=jw(l|0,q|0,x|0,y|0)|0;q=G;m=m+1|0;if(!((q|0)<(s|0)|(q|0)==(s|0)&l>>>0<r>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((z?(D=I+47|0,(a[(D&n)>>0]|0)!=0):0)?(F=I+16|0,E=c[(F&p)>>2]|0,F=c[(F&p)+4>>2]|0,(F|0)>-1|(F|0)==-1&E>>>0>4294967295):0){h=sw(m+t|0,0,x|0,y|0)|0;h=jw(h|0,G|0,32,0)|0;C=G;B=(C|0)>(F|0)|(C|0)==(F|0)&h>>>0>E>>>0;Zo(I,B?h:E,B?C:F);a[(D&n)>>0]=0}l=c[(H&p)>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=_o(I,l,c[(f&p)+20>>2]|0)|0;f=c[(f&p)+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){q=u+20|0;do{l=l+1|0;m=m+-1|0;k=_o(I,l,c[(q&p)>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[(I&o)+66>>1]=J&65280|J>>>16;c[(H&p)>>2]=l;if(z){H=I+60|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+1;c[(I&p)+72>>2]=g;$o(I);c[(I&p)+12>>2]=l}}else if(k)break;l=e+88|0;k=c[(l&p)>>2]|0;if((k|0)!=0?(L=c[(K&p)>>2]|0,(L|0)!=0):0){f=k;k=L;while(1){ap(f,c[(k&p)+20>>2]|0,c[(k&p)+4>>2]|0);k=c[(k&p)+12>>2]|0;if(!k){k=0;break a}f=c[(l&p)>>2]|0}}else k=0}while(0);i=M;return k|0}function xl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[(f&o)>>1]&2)!=0?(Qo(d,1),b[(f&o)>>1]=e[(f&o)>>1]&65529,(b[(d&o)+26>>1]|0)==0):0)?(g=c[(d&p)+28>>2]|0,(a[(g&n)+28>>0]|0)!=0):0){if((c[(d&p)+20>>2]|0)==1)c[(g&p)+44>>2]=0;mc[c[8880>>2]&63](c[(g&p)+40>>2]|0,c[(d&p)>>2]|0,0)}return}function yl(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[(b&p)+16>>2]|0;f=((d[(f&n)+105>>0]|0)<<16|(d[(f&n)+104>>0]|0)<<24|(d[(f&n)+106>>0]|0)<<8|(d[(f&n)+107>>0]|0))+1|0;b=b+4|0;e=c[(b&p)>>2]|0;i=f>>>24&255;a[(e&n)+24>>0]=i;h=f>>>16&255;a[(e&n)+25>>0]=h;g=f>>>8&255;a[(e&n)+26>>0]=g;f=f&255;a[(e&n)+27>>0]=f;e=c[(b&p)>>2]|0;a[(e&n)+92>>0]=i;a[(e&n)+93>>0]=h;a[(e&n)+94>>0]=g;a[(e&n)+95>>0]=f;b=c[(b&p)>>2]|0;a[(b&n)+96>>0]=0;a[(b&n)+97>>0]=45;a[(b&n)+98>>0]=-26;a[(b&n)+99>>0]=9;return}function zl(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;y=i;i=i+32|0;if((i|0)>=(j|0))fa();r=y+16|0;u=y;k=bp(f)|0;a:do if(!k){do if(!(a[(f&n)+7>>0]|0)){w=f+64|0;if((c[(c[(w&p)>>2]&p)>>2]|0)!=0?(a[(f&n)+5>>0]|0)!=4:0){q=c[(f&p)+60>>2]|0;q=lc[c[((c[(q&p)>>2]|0)&p)+48>>2]&127](q)|0;v=(q&512|0)==0;if(v){l=u;c[(l&p)>>2]=-117058087;c[(l&p)+4>>2]=-681336544;l=c[(f&p)+44>>2]|0;a[(u&n)+8>>0]=l>>>24;a[(u&n)+9>>0]=l>>>16;a[(u&n)+10>>0]=l>>>8;a[(u&n)+11>>0]=l;l=f+72|0;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=jw(k|0,l|0,-1,-1)|0;l=c[(f&p)+148>>2]|0;k=qw(k|0,G|0,l|0,0)|0;k=jw(k|0,G|0,1,0)|0;l=sw(k|0,G|0,l|0,0)|0;k=G}m=c[(w&p)>>2]|0;m=tc[c[((c[(m&p)>>2]|0)&p)+8>>2]&31](m,r,8,l,k)|0;if(!m){if(!(Zv(r,14808,8)|0)){s=c[(w&p)>>2]|0;s=tc[c[((c[(s&p)>>2]|0)&p)+12>>2]&31](s,14976,1,l,k)|0;t=12}}else{s=m;t=12}if((t|0)==12?!((s|0)==0|(s|0)==522):0){h=s;break a}k=q&1024;if((a[(f&n)+8>>0]|0)!=0&(k|0)==0?(h=c[(w&p)>>2]|0,h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(f&n)+11>>0]|0)|0,(h|0)!=0):0)break a;t=c[(w&p)>>2]|0;h=f+80|0;h=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,12,c[(h&p)>>2]|0,c[(h&p)+4>>2]|0)|0;if(h)break a}else k=q&1024;if((k|0)==0?(u=c[(w&p)>>2]|0,x=a[(f&n)+11>>0]|0,x=rc[c[((c[(u&p)>>2]|0)&p)+20>>2]&127](u,(x<<24>>24==3?16:0)|x&255)|0,(x|0)!=0):0){h=x;break a}s=f+72|0;t=c[(s&p)+4>>2]|0;u=f+80|0;c[(u&p)>>2]=c[(s&p)>>2];c[(u&p)+4>>2]=t;if((g|0)==0|v^1)break;c[(f&p)+44>>2]=0;h=So(f)|0;if(!h)break;else break a}t=f+72|0;u=c[(t&p)+4>>2]|0;v=f+80|0;c[(v&p)>>2]=c[(t&p)>>2];c[(v&p)+4>>2]=u}while(0);k=c[(f&p)+204>>2]|0;h=c[(k&p)>>2]|0;if(h)do{v=h+24|0;b[(v&o)>>1]=e[(v&o)>>1]&65531;h=c[(h&p)+32>>2]|0}while((h|0)!=0);c[(k&p)+8>>2]=c[(k&p)+4>>2];a[(f&n)+16>>0]=4;h=0}else h=k;while(0);i=y;return h|0}function Al(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,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();l=y;x=d+60|0;g=c[(x&p)>>2]|0;if(!((c[(g&p)>>2]|0)==0?(f=c[(d&p)>>2]|0,f=tc[c[(f&p)+24>>2]&31](f,0,g,c[(d&p)+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[(g&p)>>2]|0;h=d+24|0;k=c[(h&p)>>2]|0;do if(f>>>0<k>>>0){if((c[(e&p)+12>>2]|0)==0?(c[(e&p)+20>>2]|0)>>>0<=f>>>0:0)break;q=c[(d&p)+152>>2]|0;q=sw(k|0,0,q|0,((q|0)<0)<<31>>31|0)|0;r=l;c[(r&p)>>2]=q;c[(r&p)+4>>2]=G;r=c[(x&p)>>2]|0;ac[c[((c[(r&p)>>2]|0)&p)+40>>2]&63](r,5,l)|0;c[(g&p)>>2]=c[(h&p)>>2]}while(0);if(!e)f=0;else{s=d+24|0;t=d+152|0;u=d+104|0;v=d+32|0;w=d+192|0;r=d+88|0;do{q=c[(e&p)+20>>2]|0;if(q>>>0<=(c[(s&p)>>2]|0)>>>0?(b[(e&o)+24>>1]&32)==0:0){l=c[(t&p)>>2]|0;d=sw(l|0,((l|0)<0)<<31>>31|0,q+-1|0,0)|0;k=G;h=(q|0)==1;if(h){yl(e);l=c[(t&p)>>2]|0}m=e+4|0;g=c[(m&p)>>2]|0;f=c[(x&p)>>2]|0;f=tc[c[((c[(f&p)>>2]|0)&p)+12>>2]&31](f,g,l,d,k)|0;if(h){d=u+0|0;l=g+24|0;k=d+16|0;do{a[(d&n)>>0]=a[(l&n)>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(q>>>0>(c[(v&p)>>2]|0)>>>0)c[(v&p)>>2]=q;c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;ap(c[(r&p)>>2]|0,q,c[(m&p)>>2]|0)}else f=0;e=c[(e&p)+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=y;return f|0}function Bl(b,d){b=b|0;d=d|0;var e=0,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();m=s;o=b+60|0;f=c[(o&p)>>2]|0;g=c[(f&p)>>2]|0;do if((g|0)!=0?((a[(b&n)+16>>0]|0)+-1&255)>2:0){q=c[(b&p)+152>>2]|0;g=rc[c[(g&p)+24>>2]&127](f,m)|0;h=((q|0)<0)<<31>>31;k=sw(q|0,h|0,d|0,0)|0;l=G;if(!g){f=m;g=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=jw(g|0,f|0,q|0,h|0)|0;g=G;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){r=c[(b&p)+200>>2]|0;fw(r|0,0,q|0)|0;o=c[(o&p)>>2]|0;e=dw(k|0,l|0,q|0,h|0)|0;e=tc[c[((c[(o&p)>>2]|0)&p)+12>>2]&31](o,r,q,e,G)|0;r=9}}else{e=c[(o&p)>>2]|0;e=ac[c[((c[(e&p)>>2]|0)&p)+16>>2]&63](e,k,l)|0;r=9}if((r|0)==9?(e|0)!=0:0)break;c[(b&p)+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=s;return e|0}
9 function Cl(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;s=i;i=i+16|0;if((i|0)>=(j|0))fa();o=s;r=b+16|0;if((d[(r&n)>>0]|0)<2?(d[(b&n)+17>>0]|0)<2:0)g=0;else{cp(b);q=b+64|0;l=c[(q&p)>>2]|0;h=c[(l&p)>>2]|0;do if(!h)h=0;else{if((h|0)==14696){Gi(l,0,0)|0;c[(l&p)>>2]=0;h=0;break}k=a[(b&n)+5>>0]|0;if(k<<24>>24==3){k=b+72|0;o=k;if(!((c[(o&p)>>2]|0)==0&(c[(o&p)+4>>2]|0)==0)){h=ac[c[(h&p)+16>>2]&63](l,0,0)|0;if(!h)if(!(a[(b&n)+8>>0]|0))h=0;else{h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(b&n)+11>>0]|0)|0}}else h=0;q=k;c[(q&p)>>2]=0;c[(q&p)+4>>2]=0;break}else if(k<<24>>24!=1?(a[(b&n)+4>>0]|0)==0|k<<24>>24==5:0){q=(a[(b&n)+12>>0]|0)==0;lc[c[(h&p)+4>>2]&127](l)|0;c[(l&p)>>2]=0;if(!q){h=0;break}h=c[(b&p)>>2]|0;h=ac[c[(h&p)+28>>2]&63](h,c[(b&p)+172>>2]|0,0)|0;break}m=b+72|0;k=m;if(!((c[(k&p)>>2]|0)==0&(c[(k&p)+4>>2]|0)==0)){g=b+160|0;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if((e|0)!=0|(k|0)==0&(g|0)==0)h=ac[c[(h&p)+16>>2]&63](l,0,0)|0;else h=tc[c[(h&p)+12>>2]&31](l,14664,28,0,0)|0;if(!h){if(!(a[(b&n)+7>>0]|0)){h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(b&n)+11>>0]|16)|0}else h=0;if((h|0)==0&((g|0)>0|(g|0)==0&k>>>0>0)){h=c[(q&p)>>2]|0;h=rc[c[((c[(h&p)>>2]|0)&p)+24>>2]&127](h,o)|0;l=c[(o&p)+4>>2]|0;if((h|0)==0&((l|0)>(g|0)|((l|0)==(g|0)?(c[(o&p)>>2]|0)>>>0>k>>>0:0))){h=c[(q&p)>>2]|0;h=ac[c[((c[(h&p)>>2]|0)&p)+16>>2]&63](h,k,g)|0}}}}else h=0;q=m;c[(q&p)>>2]=0;c[(q&p)+4>>2]=0}while(0);k=b+56|0;ei(c[(k&p)>>2]|0);c[(k&p)>>2]=0;c[(b&p)+44>>2]=0;k=b+204|0;g=c[(k&p)>>2]|0;e=c[(g&p)>>2]|0;if(e){do{xl(e);e=c[(g&p)>>2]|0}while((e|0)!=0);g=c[(k&p)>>2]|0}k=b+24|0;dp(g,c[(k&p)>>2]|0);l=b+208|0;g=c[(l&p)>>2]|0;if(!g){if((h|0)==0&(f|0)!=0){g=c[(k&p)>>2]|0;if((c[(b&p)+32>>2]|0)>>>0>g>>>0)h=Bl(b,g)|0;else h=0}}else{e=g+44|0;if(a[(e&n)>>0]|0){if(!(a[(g&n)+43>>0]|0)){q=c[(g&p)+4>>2]|0;pc[c[((c[(q&p)>>2]|0)&p)+56>>2]&31](q,0,1,9)|0}a[(e&n)>>0]=0;a[(g&n)+47>>0]=0}}if((h|0)==0&(f|0)!=0){g=c[(b&p)+60>>2]|0;h=c[(g&p)>>2]|0;if(!h)k=0;else{k=ac[c[(h&p)+40>>2]&63](g,22,0)|0;k=(k|0)==12?0:k}}else k=h;do if(!(a[(b&n)+4>>0]|0)){g=c[(l&p)>>2]|0;if((g|0)!=0?(ep(g,0)|0)==0:0){g=0;break}h=c[(b&p)+60>>2]|0;g=c[(h&p)>>2]|0;if(g){if(!(a[(b&n)+13>>0]|0))g=rc[c[(g&p)+32>>2]&127](h,1)|0;else g=0;h=b+17|0;if((a[(h&n)>>0]|0)!=5)a[(h&n)>>0]=1}else g=0;a[(b&n)+18>>0]=0}else g=0;while(0);a[(r&n)>>0]=1;a[(b&n)+19>>0]=0;g=(k|0)==0?g:k}i=s;return g|0}function Dl(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[(d&p)+4>>2]|0;g=c[(d&p)>>2]|0;a[(j&n)+19>>0]=0;k=d+8|0;do if(a[(k&n)>>0]|0){if((c[(g&p)+152>>2]|0)>1){g=j+76|0;if((c[(g&p)>>2]|0)==(d|0)?(c[(g&p)>>2]=0,f=j+22|0,b[(f&o)>>1]=e[(f&o)>>1]&65439,f=c[(j&p)+72>>2]|0,(f|0)!=0):0)do{a[(f&n)+8>>0]=1;f=c[(f&p)+12>>2]|0}while((f|0)!=0);a[(k&n)>>0]=1;break}g=j+72|0;f=c[(g&p)>>2]|0;a:do if(f)do while(1){h=f+12|0;i=c[(h&p)>>2]|0;if((c[(f&p)>>2]|0)!=(d|0)){g=h;f=i;break}c[(g&p)>>2]=i;if((c[(f&p)+4>>2]|0)==1)f=i;else{Wc(f);f=c[(g&p)>>2]|0}if(!f)break a}while((f|0)!=0);while(0);f=j+76|0;if((c[(f&p)>>2]|0)!=(d|0)){f=c[(j&p)+40>>2]|0;if((f|0)==2){i=j+22|0;b[(i&o)>>1]=e[(i&o)>>1]&65471;c[(j&p)+40>>2]=1;i=20;break}}else{c[(f&p)>>2]=0;f=j+22|0;b[(f&o)>>1]=e[(f&o)>>1]&65439;f=c[(j&p)+40>>2]|0}f=f+-1|0;c[(j&p)+40>>2]=f;if(!f){a[(j&n)+20>>0]=0;i=20}else i=20}else i=20;while(0);if(((i|0)==20?(a[(k&n)>>0]=0,(a[(j&n)+20>>0]|0)==0):0)?(l=j+12|0,m=c[(l&p)>>2]|0,(m|0)!=0):0){c[(l&p)>>2]=0;Bg(c[(m&p)+68>>2]|0)}return}function El(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=((c[(a&p)+36>>2]|0)>>>0)/5|0;if(b>>>0<2){e=0;g=c[(a&p)+32>>2]|0;i=c[2514]|0}else{e=b+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;i=c[2514]|0;g=c[(a&p)+32>>2]|0;e=((e+1|0)==((i>>>0)/(g>>>0)|0|0)?3:2)+e|0}e=b-d-(((d-b+h+e|0)>>>0)/(h>>>0)|0)|0;f=a+32|0;a=((i>>>0)/(g>>>0)|0)+1|0;d=((i>>>0)/(g>>>0)|0)+1|0;a=((a>>>0<b>>>0&e>>>0<a>>>0)<<31>>31)+e|0;while(1){if(a>>>0<2)e=0;else{e=a+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;e=((e+1|0)==((i>>>0)/((c[(f&p)>>2]|0)>>>0)|0|0)?3:2)+e|0}if(!((e|0)==(a|0)|(a|0)==(d|0)))break;a=a+-1|0}return a|0}function Fl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=(d|0)==0;f=b;a:while(1){do if((f|0)!=(e|0)){if(!g?(c[(f&p)+60>>2]|0)!=(d|0):0)break;if(((a[(f&n)+73>>0]|0)+-1&255)<2){b=fp(f)|0;if(!b)break;else break a}else{gp(f);break}}while(0);f=c[(f&p)+8>>2]|0;if(!f){b=0;break}}return b|0}function Gl(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var 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;x=i;i=i+48|0;if((i|0)>=(j|0))fa();k=x;m=x+32|0;u=x+28|0;l=x+24|0;q=x+20|0;s=x+16|0;v=x+12|0;t=x+8|0;if(f>>>0<2)o=0;else{o=f+-2|0;o=o-((o>>>0)%(((((c[(b&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;o=((o+1|0)==(((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0|0)?3:2)+o|0}do if((o|0)!=(f|0)?((((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0)+1|0)!=(f|0):0){r=c[((c[(b&p)+12>>2]|0)&p)+56>>2]|0;if((d[(r&n)+37>>0]|0)<<16|(d[(r&n)+36>>0]|0)<<24|(d[(r&n)+38>>0]|0)<<8|(d[(r&n)+39>>0]|0)){h=hp(b,f,m,u)|0;if(!h){r=a[(m&n)>>0]|0;if(r<<24>>24==2){if(g){h=0;break}h=ip(b,q,l,f,1)|0;if(h)break;k=c[(q&p)>>2]|0;if(!k){w=24;break}Bg(c[(k&p)+68>>2]|0);w=24;break}else if(r<<24>>24!=1){h=dl(b,f,v,0)|0;if(h)break;k=(g|0)==0;m=k?2:0;k=k?e:0;l=(g|0)!=0;do{h=ip(b,t,s,k,m)|0;if(h){w=16;break}o=c[(t&p)>>2]|0;if(o)Bg(c[(o&p)+68>>2]|0);o=c[(s&p)>>2]|0}while(l&o>>>0>e>>>0);if((w|0)==16){k=c[(v&p)>>2]|0;if(!k)break;Bg(c[(k&p)+68>>2]|0);break}m=c[(v&p)>>2]|0;h=Zm(b,m,r,c[(u&p)>>2]|0,o,g)|0;if(m)Bg(c[(m&p)+68>>2]|0);if(!h){w=24;break}else break}else{c[(k&p)>>2]=56228;c[(k&p)+4>>2]=10788;bd(11,13600,k);h=11;break}}}else h=101}else w=24;while(0);if((w|0)==24)if(!g){l=((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0;m=l+1|0;o=b+36|0;k=f;while(1){h=k+-1|0;if((h|0)==(m|0)){k=h;continue}if(h>>>0<2)k=0;else{k=k+-3|0;k=k-((k>>>0)%(((((c[(o&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(l|0)?3:2)+k|0}if((k|0)==(h|0))k=h;else break}a[(b&n)+19>>0]=1;c[(b&p)+44>>2]=h;h=0}else h=0;i=x;return h|0}function Hl(b){b=b|0;var e=0,f=0,g=0;g=b+16|0;f=a[(g&n)>>0]|0;a:do if(f<<24>>24!=6)if((f&255)>=2){do if(!(c[(b&p)+208>>2]|0)){if(!(f<<24>>24==2?1:(c[(c[(b&p)+64>>2]&p)>>2]|0)==0)){e=Ko(b,0)|0;break}e=Cl(b,0,0)|0;if((a[(b&n)+15>>0]|0)==0&(f&255)>2){c[(b&p)+40>>2]=4;a[(g&n)>>0]=6;break a}}else{e=jp(b,2,-1)|0;f=Cl(b,d[(b&n)+19>>0]|0,0)|0;e=(e|0)==0?f:e}while(0);f=e&255;if((f|0)==10|(f|0)==13){c[(b&p)+40>>2]=e;a[(g&n)>>0]=6}}else e=0;else e=c[(b&p)+40>>2]|0;while(0);return e|0}function Il(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a:do if((d|0)!=0?(h=c[(d&p)+4>>2]|0,c[(h&p)+4>>2]=c[(d&p)>>2],h=c[(h&p)+8>>2]|0,(h|0)!=0):0){l=(f|0)==0;while(1){if(!l?(a[(h&n)+72>>0]&1)==0:0){if(((a[(h&n)+73>>0]|0)+-1&255)<2?(g=fp(h)|0,(g|0)!=0):0)break}else{f=h+56|0;Wc(c[(f&p)>>2]|0);c[(f&p)>>2]=0;a[(h&n)+73>>0]=4;c[(h&p)+68>>2]=e}f=h+76|0;if((b[(f&o)>>1]|0)>=0){k=0;while(1){i=h+(k<<2)+120|0;j=c[(i&p)>>2]|0;if(j)Bg(c[(j&p)+68>>2]|0);c[(i&p)>>2]=0;if((k|0)<(b[(f&o)>>1]|0))k=k+1|0;else break}}h=c[(h&p)+8>>2]|0;if(!h)break a}Il(d,g,0)|0;return g|0}while(0);return 0}function Jl(a){a=a|0;var b=0,d=0,e=0;a:do if(!(c[(a&p)+4>>2]|0)){d=c[(a&p)+20>>2]|0;if((d|0)>0){a=c[(a&p)+16>>2]|0;b=0;while(1){e=c[(a+(b<<4)&p)+4>>2]|0;if((e|0)!=0?(c[(e&p)+16>>2]|0)!=0:0){a=1;break a}b=b+1|0;if((b|0)>=(d|0)){a=0;break}}}else a=0}else a=1;while(0);return a|0}function Kl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=c[3164]|0;if(f)nc[f&3]();l=d+20|0;j=c[(l&p)>>2]|0;i=(j|0)>0;if(i){f=c[(d&p)+16>>2]|0;h=0;do{g=c[(f+(h<<4)&p)+4>>2]|0;if(g)c[((c[(g&p)+4>>2]|0)&p)+4>>2]=c[(g&p)>>2];h=h+1|0}while((h|0)!=(j|0))}m=d+24|0;if(!(c[(m&p)>>2]&2))f=1;else f=(a[(d&n)+145>>0]|0)!=0;if(i){k=d+16|0;f=f&1;i=j;j=0;h=0;while(1){g=c[((c[(k&p)>>2]|0)+(j<<4)&p)+4>>2]|0;if(!g)g=i;else{h=(a[(g&n)+8>>0]|0)==2?1:h;Lg(g,e,f);g=c[(l&p)>>2]|0}j=j+1|0;if((j|0)>=(g|0))break;else i=g}}else h=0;Rn(d,68);f=c[3166]|0;if(f)nc[f&3]();f=c[(m&p)>>2]|0;if((f&2|0)!=0?(a[(d&n)+145>>0]|0)==0:0){f=c[(d&p)+4>>2]|0;if(f)do{g=f+88|0;b[(g&o)>>1]=b[(g&o)>>1]|8;f=c[(f&p)+52>>2]|0}while((f|0)!=0);Eg(d);f=c[(m&p)>>2]|0}g=d+504|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;c[(m&p)>>2]=f&-16777217;f=c[(d&p)+204>>2]|0;do if(f){if((h|0)==0?(a[(d&n)+63>>0]|0)!=0:0)break;cc[f&31](c[(d&p)+200>>2]|0)}while(0);return}function Ll(b){b=b|0;var d=0,e=0;e=b+488|0;d=c[(e&p)>>2]|0;if(d)do{c[(e&p)>>2]=c[(d&p)+24>>2];mg(b,d);d=c[(e&p)>>2]|0}while((d|0)!=0);c[(b&p)+496>>2]=0;c[(b&p)+500>>2]=0;a[(b&n)+70>>0]=0;return}function Ml(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[(b&p)+4>>2]|0;c[(h&p)+4>>2]=c[(b&p)>>2];e=c[(h&p)+8>>2]|0;if(e)do{d=e;e=c[(e&p)+8>>2]|0;if((c[(d&p)>>2]|0)==(b|0))kp(d)}while((e|0)!=0);Lg(b,0,0);a:do if(a[(b&n)+9>>0]|0){e=h+64|0;d=c[(e&p)>>2]|0;c[(e&p)>>2]=d+-1;if((d|0)<2){d=c[3664]|0;if((d|0)==(h|0)){c[3664]=c[(h&p)+68>>2];f=12;break}else e=d;do{if(!e){f=12;break a}d=e+68|0;e=c[(d&p)>>2]|0}while((e|0)!=(h|0));c[(d&p)>>2]=c[(h&p)+68>>2];f=12}}else f=12;while(0);if((f|0)==12){lp(c[(h&p)>>2]|0);d=c[(h&p)+52>>2]|0;e=h+48|0;if((d|0)!=0?(g=c[(e&p)>>2]|0,(g|0)!=0):0)cc[d&31](g);d=c[(e&p)>>2]|0;if(d)Wc(d);d=h+80|0;e=c[(d&p)>>2]|0;if(e){e=e+-4|0;c[(d&p)>>2]=e;$k(e);c[(d&p)>>2]=0}Wc(h)}e=c[(b&p)+28>>2]|0;d=b+24|0;if(e)c[(e&p)+24>>2]=c[(d&p)>>2];d=c[(d&p)>>2]|0;if(d)c[(d&p)+28>>2]=e;Wc(b);return}function Nl(a,b){a=a|0;b=b|0;var d=0;b=c[(b&p)+32>>2]|0;if((b|0)!=0?(d=(c[(b&p)>>2]|0)+-1|0,c[(b&p)>>2]=d,(d|0)==0):0){cc[c[(b&p)+4>>2]&31](c[(b&p)+8>>2]|0);mg(a,b)}return}function Ol(a){a=a|0;var b=0,d=0;d=a+8|0;b=c[(d&p)>>2]|0;c[(d&p)>>2]=0;d=a+12|0;Wc(c[(d&p)>>2]|0);c[(d&p)>>2]=0;c[(a&p)>>2]=0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);c[(a&p)+4>>2]=0;return}function Pl(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){e=c[(a&p)>>2]|0;lg(e,a);f=c[(a&p)+48>>2]|0;d=a+52|0;b=c[(d&p)>>2]|0;if(!f)c[(e&p)+4>>2]=b;else{c[(f&p)+52>>2]=b;b=c[(d&p)>>2]|0}if(b)c[(b&p)+48>>2]=f;c[(a&p)+40>>2]=-1241070648;c[(a&p)>>2]=0;mg(e,a)}return}function Ql(d){d=d|0;var e=0;a[(d&n)+65>>0]=0;c[(d&p)+52>>2]=7;d=c[(d&p)+236>>2]|0;do if(d){e=d+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(d);break}}while(0);return}function Rl(d){d=d|0;var f=0,g=0,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,H=0,I=0;I=i;i=i+32|0;if((i|0)>=(j|0))fa();x=I;A=I+16|0;t=I+12|0;u=I+8|0;H=c[(d&p)>>2]|0;if(a[(H&n)+65>>0]|0)c[(d&p)+80>>2]=7;g=c[(d&p)+200>>2]|0;if(g)fw(g|0,0,c[(d&p)+196>>2]|0)|0;k=d+176|0;g=c[(k&p)>>2]|0;if(g){while(1){h=c[(g&p)+4>>2]|0;if(!h)break;else g=h}Xl(g)|0;c[(k&p)>>2]=0;c[(d&p)+184>>2]=0}r=d+56|0;g=c[(r&p)>>2]|0;a:do if((g|0)!=0?(s=d+36|0,f=c[(s&p)>>2]|0,(f|0)>0):0){k=0;while(1){h=c[(g+(k<<2)&p)>>2]|0;if(!h)h=f;else{Bm(d,h);c[((c[(r&p)>>2]|0)+(k<<2)&p)>>2]=0;h=c[(s&p)>>2]|0}k=k+1|0;if((k|0)>=(h|0))break a;g=c[(r&p)>>2]|0;f=h}}while(0);g=c[(d&p)+8>>2]|0;if(g)ch(g+40|0,c[(d&p)+28>>2]|0);s=d+180|0;g=c[(s&p)>>2]|0;if(g)do{c[(s&p)>>2]=c[(g&p)+4>>2];r=g+80|0;f=g+60|0;h=c[(f&p)>>2]|0;m=r+(h*40|0)|0;q=g+64|0;if((c[(q&p)>>2]|0)>0){k=0;do{Bm(c[(g&p)>>2]|0,c[(m+(k<<2)&p)>>2]|0);k=k+1|0}while((k|0)<(c[(q&p)>>2]|0));h=c[(f&p)>>2]|0}ch(r,h);mg(c[(c[(g&p)>>2]&p)>>2]|0,g);g=c[(s&p)>>2]|0}while((g|0)!=0);if(c[(d&p)+204>>2]|0)em(d,-1,0);E=d+40|0;b:do if((c[(E&p)>>2]|0)==-1108210269){C=d+76|0;if((c[(C&p)>>2]|0)>-1){D=d+88|0;q=b[(D&o)>>1]|0;if(q&128){B=d+80|0;k=c[(B&p)>>2]|0;m=k&255;h=m+-7|0;do if(h>>>0<7?(l=(77>>>(h&127)&1)!=0,l):0)if((q&64)==0|(m|0)!=9){if((m|0)==7|(m|0)==13?(q&32)!=0:0){f=2;break}Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0;k=c[(B&p)>>2]|0;f=0}else{l=1;f=0}else{l=0;f=0}while(0);if((k|0)==0?(z=d+144|0,y=c[(z&p)+4>>2]|0,(y|0)>0|(y|0)==0&(c[(z&p)>>2]|0)>>>0>0):0){z=c[(d&p)>>2]|0;c[(B&p)>>2]=787;a[(d&n)+86>>0]=2;dh(d+44|0,z,34376,x)}m=H+304|0;if((c[(m&p)>>2]|0)>0?(c[(H&p)+328>>2]|0)==0:0)F=141;else if((a[(H&n)+63>>0]|0)!=0?(c[(H&p)+156>>2]|0)==(((e[(D&o)>>1]|0)>>>6&1^1)&65535|0):0){do if(!(c[(B&p)>>2]|0))F=41;else{if(!((a[(d&n)+86>>0]|0)!=3|l)){F=41;break}Kl(H,0);c[(d&p)+92>>2]=0}while(0);c:do if((F|0)==41){d:do if(tm(d,1)|0)if(!(b[(D&o)>>1]&64))g=787;else{f=1;break b}else{l=H+328|0;h=c[(l&p)>>2]|0;c[(l&p)>>2]=0;k=c[(m&p)>>2]|0;e:do if((k|0)>0){q=0;f:while(1){s=c[((c[(h+(q<<2)&p)>>2]|0)&p)+8>>2]|0;do if(s){r=c[((c[(s&p)>>2]|0)&p)+60>>2]|0;if(!r)break;g=lc[r&127](s)|0;Mm(d,s);if(g)break f;k=c[(m&p)>>2]|0}while(0);q=q+1|0;if((q|0)>=(k|0)){F=50;break e}}c[(l&p)>>2]=h;F=135}else F=50;while(0);g:do if((F|0)==50){c[(l&p)>>2]=h;y=H+20|0;z=H+16|0;r=0;k=0;q=0;h:while(1){m=c[(y&p)>>2]|0;if((r|0)>=(m|0)){h=k;break}l=c[(z&p)>>2]|0;s=r;while(1){r=c[(l+(s<<4)&p)+4>>2]|0;if((r|0)!=0?(a[(r&n)+8>>0]|0)==2:0)break;s=s+1|0;if((s|0)>=(m|0)){h=k;break h}}g=c[(r&p)+4>>2]|0;c[(g&p)+4>>2]=c[(r&p)>>2];g=bp(c[(g&p)>>2]|0)|0;if(!g){r=s+1|0;k=((s|0)!=1&1)+k|0;q=1}else{F=135;break g}}do if(q){l=c[(H&p)+196>>2]|0;if(!l)break;if(lc[l&127](c[(H&p)+192>>2]|0)|0){g=531;break d}}while(0);k=c[((c[(z&p)>>2]|0)&p)+4>>2]|0;q=c[(c[(k&p)+4>>2]&p)>>2]|0;m=(a[(q&n)+15>>0]|0)==0;if(m){s=c[(q&p)+168>>2]|0;if(s)F=62}else{s=10360;F=62}do if((F|0)==62){r=s;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;if((r-s&1073741823|0)==0|(h|0)<2)break;w=c[(H&p)>>2]|0;if(m){l=c[(q&p)+168>>2]|0;c[(A&p)>>2]=0;if(!l){s=0;l=0}else F=80}else{c[(A&p)>>2]=0;l=10360;F=80}if((F|0)==80){q=l;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;s=q-l&1073741823}c[(x&p)>>2]=l;v=uh(H,44696,x)|0;if(!v){g=7;break d}s=v+s|0;r=w+32|0;q=0;i:while(1){do if(q){if((q|0)>100){F=87;break i}if((q|0)!=1)break;c[(x&p)>>2]=v;bd(13,44728,x)}while(0);cd(4,u);g=c[(u&p)>>2]|0;c[(x&p)>>2]=g>>>8;c[(x&p)+4>>2]=g&255;ad(13,s,44744,x)|0;g=pc[c[(r&p)>>2]&31](w,v,0,t)|0;m=(g|0)==0;if(m&(c[(t&p)>>2]|0)!=0)q=q+1|0;else{F=91;break}}if((F|0)==87){c[(x&p)>>2]=v;bd(13,44712,x);ac[c[(w&p)+28>>2]&63](w,v,0)|0;F=92}else if((F|0)==91)if(m)F=92;do if((F|0)==92){g=mp(w,v,A,16406,0)|0;if(g)break;l=c[(y&p)>>2]|0;j:do if((l|0)>0){t=0;r=0;u=0;q=0;k:while(1){s=c[((c[(z&p)>>2]|0)+(u<<4)&p)+4>>2]|0;do if(!s)s=t;else{if((a[(s&n)+8>>0]|0)!=2){s=t;break}m=c[(s&p)+4>>2]|0;k=c[(m&p)>>2]|0;h=c[(k&p)+172>>2]|0;if(!h){s=t;break}if(!q){c[(m&p)+4>>2]=c[(s&p)>>2];q=(a[(k&n)+7>>0]|0)==0&1}k=c[(A&p)>>2]|0;s=h;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;m=h;g=tc[c[((c[(k&p)>>2]|0)&p)+12>>2]&31](k,h,(s-m&1073741823)+1|0,t,r)|0;s=h;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;if(g){l=k;F=106;break k}s=jw((s-m&1073741823)+1|0,0,t|0,r|0)|0;l=c[(y&p)>>2]|0;r=G}while(0);u=u+1|0;if((u|0)>=(l|0))break;else t=s}if((F|0)==106){h=c[(l&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](k)|0;c[(l&p)>>2]=0}Wc(k);ac[c[(w&p)+28>>2]&63](w,v,0)|0;mg(H,v);F=135;break g}do if(!q)q=0;else{m=c[(A&p)>>2]|0;if((lc[c[((c[(m&p)>>2]|0)&p)+48>>2]&127](m)|0)&1024)break;g=rc[c[((c[(m&p)>>2]|0)&p)+20>>2]&127](m,2)|0;if(!g)break;h=c[(m&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](m)|0;c[(m&p)>>2]=0}Wc(m);ac[c[(w&p)+28>>2]&63](w,v,0)|0;mg(H,v);F=135;break g}while(0);k=c[(y&p)>>2]|0;if((k|0)>0)s=0;else{s=1;g=0;break}while(1){m=c[((c[(z&p)>>2]|0)+(s<<4)&p)+4>>2]|0;if(m){g=Kg(m,v)|0;if(g){s=0;break j}k=c[(y&p)>>2]|0}s=s+1|0;if((s|0)>=(k|0)){s=1;g=0;break}}}else{s=1;q=0;g=0}while(0);m=c[(A&p)>>2]|0;l=c[(m&p)>>2]|0;if(l){lc[c[(l&p)+4>>2]&127](m)|0;c[(m&p)>>2]=0}Wc(m);if(!s){mg(H,v);F=135;break g}g=ac[c[(w&p)+28>>2]&63](w,v,q)|0;mg(H,v);if(g){F=135;break g}g=c[3164]|0;if(g)nc[g&3]();g=c[(y&p)>>2]|0;if((g|0)>0){k=0;do{h=c[((c[(z&p)>>2]|0)+(k<<4)&p)+4>>2]|0;if(h){Jg(h,1)|0;g=c[(y&p)>>2]|0}k=k+1|0}while((k|0)<(g|0))}g=c[3166]|0;if(g)nc[g&3]();Rn(H,64);break g}while(0);mg(H,v);F=135;break g}while(0);g=c[(y&p)>>2]|0;do if((g|0)>0){h=1;while(1){if(k){g=Kg(k,0)|0;if(g){F=135;break g}g=c[(y&p)>>2]|0}if((h|0)>=(g|0))break;k=c[((c[(z&p)>>2]|0)+(h<<4)&p)+4>>2]|0;h=h+1|0}if((g|0)>0)k=0;else break;do{h=c[((c[(z&p)>>2]|0)+(k<<4)&p)+4>>2]|0;if(h){g=Jg(h,0)|0;if(g){F=135;break g}g=c[(y&p)>>2]|0}k=k+1|0}while((k|0)<(g|0))}while(0);Rn(H,64)}while(0);do if((F|0)==135){if(!g)break;else if((g|0)!=5)break d;if(!(b[(D&o)>>1]&64)){g=5;break d}else{f=5;break b}}while(0);A=H+504|0;F=H+24|0;c[(A&p)>>2]=0;c[(A&p)+4>>2]=0;c[(A&p)+8>>2]=0;c[(A&p)+12>>2]=0;c[(F&p)>>2]=c[(F&p)>>2]&-16777219;break c}while(0);c[(B&p)>>2]=g;Kl(H,0);c[(d&p)+92>>2]=0}while(0);c[(H&p)+500>>2]=0;F=146}else F=141;do if((F|0)==141)if(!f)if(c[(B&p)>>2]|0){g=a[(d&n)+86>>0]|0;if(g<<24>>24==2){f=2;F=147;break}else if(g<<24>>24==3){f=1;F=147;break}else{Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0;F=146;break}}else{f=1;F=147}else F=147;while(0);if((F|0)==146)if(!f)f=0;else F=147;if((F|0)==147){g=$l(d,f)|0;if(g){F=c[(B&p)>>2]|0;if((F|0)==0|(F&255|0)==19){c[(B&p)>>2]=g;F=d+44|0;mg(H,c[(F&p)>>2]|0);c[(F&p)>>2]=0}Kl(H,516);Ll(H);a[(H&n)+63>>0]=1;c[(d&p)+92>>2]=0}}if(b[(D&o)>>1]&4){if((f|0)==2){c[(H&p)+80>>2]=0;f=d+92|0}else{f=d+92|0;B=c[(f&p)>>2]|0;c[(H&p)+80>>2]=B;F=H+84|0;c[(F&p)>>2]=(c[(F&p)>>2]|0)+B}c[(f&p)>>2]=0}}if((c[(C&p)>>2]|0)>-1){f=H+148|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;f=b[(D&o)>>1]|0;if(!(f&64)){f=H+156|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;f=b[(D&o)>>1]|0}if(f&128){F=H+152|0;c[(F&p)>>2]=(c[(F&p)>>2]|0)+-1}}}c[(E&p)>>2]=1369188723;f=d+80|0;if(!(a[((c[(d&p)>>2]|0)&n)+65>>0]|0)){f=(c[(f&p)>>2]|0)==5?5:0;break}else{c[(f&p)>>2]=7;f=0;break}}else f=0;while(0);i=I;return f|0}function Sl(a,f){a=a|0;f=f|0;var g=0,h=0,i=0,j=0;i=a+8|0;h=e[(i&o)>>1]|0;do if(h&18){b[(i&o)>>1]=h|2;if(h&16384)Rg(a)|0;g=a+10|0;f=f&255;h=f&247;if((d[(g&n)>>0]|0|0)!=(h|0))Yl(a,h)|0;if(((f&8|0)!=0?(c[(a&p)+16>>2]&1|0)!=0:0)?(Vl(a)|0)!=0:0){g=0;break}if((b[(i&o)>>1]&514)==2){am(a)|0;j=12}else j=12}else{bm(a,f,0)|0;h=f&247;g=a+10|0;j=12}while(0);if((j|0)==12)if((d[(g&n)>>0]|0|0)==(h|0))g=c[(a&p)+16>>2]|0;else g=0;return g|0}function Tl(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0.0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0;h[(c&q)>>3]=0.0;j=f&255;if(f<<24>>24==1){f=b;g=e;r=1;u=0}else{g=3-j|0;a:do if((g|0)<(e|0))while(1){f=g+2|0;if(a[(b+g&n)>>0]|0){e=1;break a}if((f|0)<(e|0))g=f;else{e=0;g=f;break}}else e=0;while(0);f=b+(j&1)|0;g=j+-3+g|0;r=2;u=e}t=b+g|0;b:do if(f>>>0<t>>>0){while(1){g=a[(f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&1))break;f=f+r|0;if(f>>>0>=t>>>0){f=0;break b}}if(g<<24>>24==45){f=f+r|0;s=-1}else if(g<<24>>24==43){f=f+r|0;s=1}else s=1;c:do if(f>>>0<t>>>0){g=0;do{if((a[(f&n)>>0]|0)!=48)break c;f=f+r|0;g=g+1|0}while(f>>>0<t>>>0)}else g=0;while(0);d:do if(f>>>0<t>>>0){b=0;j=0;while(1){e=a[(f&n)>>0]|0;if(!(((e&255)+-48|0)>>>0<10&((b|0)<214748364|(b|0)==214748364&j>>>0<3435973835))){l=b;break d}j=sw(j|0,b|0,10,0)|0;b=(e<<24>>24)+-48|0;j=jw(b|0,((b|0)<0)<<31>>31|0,j|0,G|0)|0;b=G;f=f+r|0;g=g+1|0;if(f>>>0>=t>>>0){l=b;break}}}else{j=0;l=0}while(0);e:do if(f>>>0<t>>>0){e=0;while(1){b=a[(f&n)>>0]|0;if(((b&255)+-48|0)>>>0>=10){m=e;break}f=f+r|0;g=g+1|0;b=e+1|0;if(f>>>0<t>>>0)e=b;else{o=l;m=b;b=0;l=1;e=1;break e}}f:do if(b<<24>>24==46){e=f+r|0;g:do if(e>>>0<t>>>0){o=e;while(1){b=a[(o&n)>>0]|0;if(!(((b&255)+-48|0)>>>0<10&((l|0)<214748364|(l|0)==214748364&j>>>0<3435973835))){e=o;o=l;break g}j=sw(j|0,l|0,10,0)|0;l=(b<<24>>24)+-48|0;j=jw(l|0,((l|0)<0)<<31>>31|0,j|0,G|0)|0;l=G;g=g+1|0;b=m+-1|0;e=f+(r<<1)|0;if(e>>>0<t>>>0){f=o;o=e;m=b}else{f=o;o=l;m=b;break}}}else o=l;while(0);if(e>>>0<t>>>0){l=r<<1;b=e;while(1){if(((d[(b&n)>>0]|0)+-48|0)>>>0>=10){e=b;break f}e=f+l|0;g=g+1|0;if(e>>>0<t>>>0){f=b;b=e}else break}}}else{e=f;o=l}while(0);if(e>>>0<t>>>0){p=a[(e&n)>>0]|0;h:do if(p<<24>>24==69|p<<24>>24==101){f=e+r|0;if(f>>>0>=t>>>0){b=0;l=0;e=1;break e}b=a[(f&n)>>0]|0;if(b<<24>>24==45){f=e+(r<<1)|0;p=-1}else if(b<<24>>24==43){f=e+(r<<1)|0;p=1}else p=1;if(f>>>0<t>>>0){e=0;l=0}else{b=0;l=0;e=p;break e}while(1){b=a[(f&n)>>0]|0;if(((b&255)+-48|0)>>>0>=10){b=e;e=p;break h}if((e|0)<1e4)b=(e*10|0)+-48+(b<<24>>24)|0;else b=1e4;f=f+r|0;if(f>>>0<t>>>0){e=b;l=1}else{l=1;e=p;break}}}else{f=e;b=0;l=1;e=1}while(0);if((g|0)!=0&(l|0)!=0&f>>>0<t>>>0)do{if(!(a[((d[(f&n)>>0]|0)&n)+10368>>0]&1))break e;f=f+r|0}while(f>>>0<t>>>0)}else{f=e;b=0;l=1;e=1}}else{o=l;m=0;b=0;l=1;e=1}while(0);b=(ca(b,e)|0)+m|0;p=(b|0)<0;e=p?0-b|0:b;do if((j|0)==0&(o|0)==0)if((s|0)<0)i=(g|0)!=0?-0.0:0.0;else i=0.0;else{if((b>>31|1|0)>0)if(((o|0)<214748364|(o|0)==214748364&j>>>0<3435973836)&(e|0)>0){b=o;do{e=e+-1|0;j=sw(j|0,b|0,10,0)|0;b=G}while(((b|0)<214748364|(b|0)==214748364&j>>>0<3435973836)&(e|0)>0)}else b=o;else{m=rw(j|0,o|0,10,0)|0;if((m|0)==0&(G|0)==0&(e|0)>0){b=o;do{e=e+-1|0;j=qw(j|0,b|0,10,0)|0;b=G;o=rw(j|0,b|0,10,0)|0}while((o|0)==0&(G|0)==0&(e|0)>0)}else b=o}o=(s|0)<0;m=dw(0,0,j|0,b|0)|0;m=o?m:j;o=o?G:b;if(!e){i=+(m>>>0)+4294967296.0*+(o|0);break}if((e+-308|0)>>>0<34){if(!((e|0)%308|0))k=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0);k=i}i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i/k/1.e+308;break}else{i=i*k*1.e+308;break}}if((e|0)>341){i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i*0.0;break}else{i=i*w;break}}if(!((e|0)%22|0)){j=e;i=1.0}else{j=e;i=1.0;do{i=i*10.0;j=j+-1|0}while(((j|0)%22|0|0)!=0)}if((j|0)>0){do{i=i*1.0e22;j=j+-22|0}while((j|0)>0);k=i}else k=i;i=+(m>>>0)+4294967296.0*+(o|0);if(p){i=i/k;break}else{i=i*k;break}}while(0);h[(c&q)>>3]=i;f=f>>>0>=t>>>0&(g|0)>0&(l|0)!=0&(u|0)==0&1}else f=0;while(0);return f|0}function Ul(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,l=0,m=0,o=0,q=0,r=0;i=f&255;if(f<<24>>24==1){g=b;h=e;o=1;e=0}else{h=3-i|0;a:do if((h|0)<(e|0))while(1){f=h+2|0;if(a[(b+h&n)>>0]|0){e=1;break a}if((f|0)<(e|0))h=f;else{e=0;h=f;break}}else e=0;while(0);g=b+(i&1)|0;h=i+-3+h|0;o=2}k=b+h|0;b:do if(g>>>0<k>>>0){while(1){h=a[(g&n)>>0]|0;if(!(a[(h&255&n)+10368>>0]&1))break;g=g+o|0;if(g>>>0>=k>>>0){l=0;break b}}if(h<<24>>24==45){g=g+o|0;l=1;break}else if(h<<24>>24==43){g=g+o|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(g>>>0<k>>>0){h=g;while(1){if((a[(h&n)>>0]|0)!=48){m=h;break c}h=h+o|0;if(h>>>0>=k>>>0){m=h;break}}}else m=g;while(0);do if(m>>>0<k>>>0){b=m;j=0;i=0;h=0;while(1){f=a[(b&n)>>0]|0;if((f+-48&255)>=10){b=0;k=i;break}i=sw(j|0,i|0,10,0)|0;j=f<<24>>24;i=jw(i|0,G|0,-48,-1)|0;j=jw(i|0,G|0,j|0,((j|0)<0)<<31>>31|0)|0;i=G;h=h+o|0;b=m+h|0;if(b>>>0>=k>>>0){b=1;k=i;break}}i=f<<24>>24;f=(l|0)!=0;if((k|0)>=0)if(f){f=k;r=22;break}else{f=k;r=23;break}else{j=d;c[(j&p)>>2]=f?0:-1;c[(j&p)+4>>2]=f?-2147483648:2147483647;j=f?0:2;break}}else if(!l){b=1;j=0;f=0;i=0;h=0;r=23}else{b=1;j=0;f=0;i=0;h=0;r=22}while(0);if((r|0)==22){l=dw(0,0,j|0,f|0)|0;j=d;c[(j&p)>>2]=l;c[(j&p)+4>>2]=G;j=0}else if((r|0)==23){l=d;c[(l&p)>>2]=j;c[(l&p)+4>>2]=f;j=2}if(((i|0)==0|b?!((h|0)==0&(g|0)==(m|0)):0)?(q=o*19|0,!((h|0)>(q|0)|(e|0)!=0)):0)if((h|0)>=(q|0)){h=0;do{g=a[(m+(ca(h,o)|0)&n)>>0]|0;e=a[(h&n)+11192>>0]|0;h=h+1|0;f=g<<24>>24==e<<24>>24}while(f&(h|0)<18);if(f)g=(a[(m+(o*18|0)&n)>>0]|0)+-56|0;else g=((g<<24>>24)-(e<<24>>24)|0)*10|0;if((g|0)>=0)return ((g|0)>0?1:j)|0;else g=0}else g=0;else g=1;return g|0}function Vl(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[(g&o)>>1]|0;if(f&16384){Rg(d)|0;f=b[(g&o)>>1]|0}do if(f&18){if((c[(d&p)+24>>2]|0)!=0?(c[(d&p)+16>>2]|0)==(c[(d&p)+20>>2]|0):0){f=0;break}f=d+12|0;if(!(eh(d,(c[(f&p)>>2]|0)+2|0,1)|0)){d=d+16|0;a[((c[(d&p)>>2]|0)+(c[(f&p)>>2]|0)&n)>>0]=0;a[((c[(d&p)>>2]|0)+(c[(f&p)>>2]|0)&n)+1>>0]=0;b[(g&o)>>1]=e[(g&o)>>1]|0|512;f=0}else f=7}else f=0;while(0);return f|0}function Wl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=ro(a,b,c,d)|0;if(!c)mg(a,b);return c|0}function Xl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[(a&p)>>2]|0;c[(d&p)+200>>2]=c[(a&p)+20>>2];c[(d&p)+196>>2]=c[(a&p)+56>>2];c[(d&p)+4>>2]=c[(a&p)+8>>2];c[(d&p)+32>>2]=c[(a&p)+48>>2];c[(d&p)+8>>2]=c[(a&p)+16>>2];c[(d&p)+28>>2]=c[(a&p)+52>>2];c[(d&p)+56>>2]=c[(a&p)+24>>2];c[(d&p)+36>>2]=c[(a&p)+40>>2];g=a+32|0;f=c[(g&p)+4>>2]|0;b=c[(d&p)>>2]|0;e=b+32|0;c[(e&p)>>2]=c[(g&p)>>2];c[(e&p)+4>>2]=f;c[(d&p)+92>>2]=c[(a&p)+68>>2];c[(b&p)+80>>2]=c[(a&p)+72>>2];return c[(a&p)+44>>2]|0}function Yl(a,c){a=a|0;c=c|0;if((b[(a&o)+8>>1]&2)!=0?(d[(a&n)+10>>0]|0|0)!=(c|0):0)c=Bn(a,c&255)|0;else c=0;return c|0}function Zl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=a+8|0;if(b[(g&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];if(!(b[(d&o)+8>>1]&2048))b[(g&o)>>1]=(e[(g&o)>>1]|0)&58367|f;return}function _l(a,d){a=a|0;d=d|0;var e=0,f=0;if(!((b[(a&o)+8>>1]&9312)==0?(c[(a&p)+24>>2]|0)==0:0))Qg(a);a=a+0|0;e=d+0|0;f=a+40|0;do{c[(a&p)>>2]=c[(e&p)>>2];a=a+4|0;e=e+4|0}while((a|0)<(f|0));b[(d&o)+8>>1]=1;c[(d&p)+24>>2]=0;return}function $l(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0;q=c[(a&p)>>2]|0;m=q+500|0;f=c[(m&p)>>2]|0;do if((f|0)!=0?(n=a+104|0,e=c[(n&p)>>2]|0,(e|0)!=0):0){o=e+-1|0;k=q+20|0;e=c[(k&p)>>2]|0;if((e|0)>0){i=q+16|0;j=(b|0)==2;g=e;h=0;e=0;do{f=c[((c[(i&p)>>2]|0)+(h<<4)&p)+4>>2]|0;if(f){if(j?(l=um(f,2,o)|0,(l|0)!=0):0)f=l;else f=um(f,1,o)|0;g=c[(k&p)>>2]|0;e=(e|0)==0?f:e}h=h+1|0}while((h|0)<(g|0));c[(m&p)>>2]=(c[(m&p)>>2]|0)+-1;c[(n&p)>>2]=0;if(!e)e=13;else{d=e;e=16}}else{c[(m&p)>>2]=f+-1;c[(n&p)>>2]=0;e=13}do if((e|0)==13){if((b|0)==2?(d=sm(q,2,o)|0,(d|0)!=0):0)break;d=sm(q,1,o)|0;e=16}while(0);if((e|0)==16)if((b|0)!=2)break;m=a+152|0;l=c[(m&p)+4>>2]|0;k=q+504|0;c[(k&p)>>2]=c[(m&p)>>2];c[(k&p)+4>>2]=l;k=a+160|0;l=c[(k&p)+4>>2]|0;m=q+512|0;c[(m&p)>>2]=c[(k&p)>>2];c[(m&p)+4>>2]=l}else d=0;while(0);return d|0}function am(d){d=d|0;var f=0,g=0;f=d+12|0;if(!(eh(d,(c[(f&p)>>2]|0)+2|0,1)|0)){g=d+16|0;a[((c[(g&p)>>2]|0)+(c[(f&p)>>2]|0)&n)>>0]=0;a[((c[(g&p)>>2]|0)+(c[(f&p)>>2]|0)&n)+1>>0]=0;f=d+8|0;b[(f&o)>>1]=e[(f&o)>>1]|0|512;f=0}else f=7;return f|0}function bm(d,f,g){d=d|0;f=f|0;g=g|0;var l=0,m=0,r=0,s=0,t=0,u=0,v=0,w=0;u=i;i=i+16|0;if((i|0)>=(j|0))fa();s=u;t=d+8|0;m=b[(t&o)>>1]|0;if(!(fh(d,32)|0)){l=d+16|0;r=c[(l&p)>>2]|0;if(!(m&4)){h[(k&q)>>3]=+h[(d&q)>>3];c[(s&p)>>2]=c[(k&p)>>2];c[(s&p)+4>>2]=c[(k&p)+4>>2];ad(32,r,20272,s)|0}else{w=d;v=c[(w&p)+4>>2]|0;m=s;c[(m&p)>>2]=c[(w&p)>>2];c[(m&p)+4>>2]=v;ad(32,r,19920,s)|0}m=c[(l&p)>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[(d&p)+12>>2]=l;a[(d&n)+10>>0]=1;l=e[(t&o)>>1]|514;b[(t&o)>>1]=g<<24>>24==0?l:l&65523;Yl(d,f&255)|0;l=0}else l=7;i=u;return l|0}function cm(a){a=a|0;var b=0,c=0;b=e[(a&o)+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=np(a)|0;else b=c&65535;return b|0}function dm(a){a=a|0;var d=0.0,f=0,g=0,i=0,j=0;d=+h[(a&q)>>3];if(!(d<=-9223372036854775808.0)&!(d>=9223372036854775808.0)?(f=~~d>>>0,g=+R(d)>=1.0?(d>0.0?~~+da(+Q(d/4294967296.0),4294967295.0)>>>0:~~+ba((d-+(~~d>>>0))/4294967296.0)>>>0):0,i=jw(f|0,g|0,1,-2147483648)|0,j=G,!(d!=+(f>>>0)+4294967296.0*+(g|0)|(j>>>0<0|(j|0)==0&i>>>0<2))):0){i=a;c[(i&p)>>2]=f;c[(i&p)+4>>2]=g;f=a+8|0;b[(f&o)>>1]=(e[(f&o)>>1]|0)&48640|4}return}function em(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+204|0;e=c[(f&p)>>2]|0;a:do if(e){h=(b|0)<0;do{while(1){if(!h){if((c[(e&p)>>2]|0)!=(b|0))break;g=c[(e&p)+4>>2]|0;if((g|0)<=31?(1<<g&d|0)!=0:0)break}g=c[(e&p)+12>>2]|0;if(g)cc[g&31](c[(e&p)+8>>2]|0);c[(f&p)>>2]=c[(e&p)+16>>2];mg(c[(a&p)>>2]|0,e);e=c[(f&p)>>2]|0;if(!e)break a}f=e+16|0;e=c[(f&p)>>2]|0}while((e|0)!=0)}while(0);return}function fm(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=e[(a&o)+8>>1]|0;if(!(b&4)){if(b&8){dm(a);break}if(b&2)rh(a,1)}}else if(b<<24>>24==66?(b=e[(a&o)+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)bm(a,c,1)|0;while(0);return}function gm(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=a+8|0;g=b[(j&o)>>1]|0;i=g&65535;do if(!(i&1)){d=d&255;if((d|0)==68){d=Vg(a)|0;g=a;c[(g&p)>>2]=d;c[(g&p)+4>>2]=G;b[(j&o)>>1]=(e[(j&o)>>1]|0)&48640|4;break}else if((d|0)==67){op(a);break}else if((d|0)==69){h[(a&q)>>3]=+Ug(a);b[(j&o)>>1]=(e[(j&o)>>1]|0)&48640|8;break}else if((d|0)==65){if(i&16){b[(j&o)>>1]=i&65040;break}if(!((i&2|0)!=0|(i&12|0)==0)){bm(a,f,1)|0;g=b[(j&o)>>1]|0}b[(j&o)>>1]=g&48640|16;break}else{d=i>>>3&2|i;g=d&65535;b[(j&o)>>1]=g;if(!((d&2|0)!=0|(i&12|0)==0)){bm(a,f,1)|0;g=b[(j&o)>>1]|0}b[(j&o)>>1]=g&49123;break}}while(0);return}function hm(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,i=0,j=0.0,k=0,l=0,m=0;l=b[(a&o)+8>>1]|0;k=l&65535;i=b[(d&o)+8>>1]|0;m=i&65535;f=(i|l)&65535;do if(!(f&1)){if(!(f&12)){if(f&2){if(!(k&2)){f=1;break}if(!(m&2)){f=-1;break}if(e){f=pp(a,d,e,0)|0;break}}f=qp(a,d)|0;break}if((l&4&i)<<16>>16){l=a;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;i=d;f=c[(i&p)>>2]|0;i=c[(i&p)+4>>2]|0;if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<f>>>0){f=-1;break}f=((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>f>>>0)&1;break}if(!(k&8)){if(!(k&4)){f=1;break}f=a;j=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0)}else j=+h[(a&q)>>3];if(!(m&8)){if(!(m&4)){f=-1;break}f=d;g=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0)}else g=+h[(d&q)>>3];if(j<g)f=-1;else f=j>g&1}else f=(m&1)-(k&1)|0;while(0);return f|0}function im(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=g+8|0;d=b+48|0;d=Cm(c[(b&p)>>2]|0,0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,0,e)|0;do if(!d)if(!(c[(e&p)>>2]|0)){a[(b&n)+26>>0]=0;c[(b&p)+60>>2]=0;d=0;break}else{c[(f&p)>>2]=67421;c[(f&p)+4>>2]=10788;bd(11,13600,f);d=11;break}while(0);i=g;return d|0}function jm(b){b=b|0;var d=0,e=0,f=0;e=c[(b&p)>>2]|0;f=e+73|0;d=a[(f&n)>>0]|0;do if((d&255)>2){d=Kn(e)|0;if(!d){d=a[(f&n)>>0]|0;f=5;break}else{c[(b&p)+60>>2]=0;f=6;break}}else f=5;while(0);if((f|0)==5){c[(b&p)+60>>2]=0;if(d<<24>>24==1)d=0;else{d=0;f=6}}if((f|0)==6)a[(b&n)+25>>0]=1;return d|0}function km(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=f+24|0;if(!(b[(f&o)+44>>1]|0)){j=b[(f&o)+76>>1]|0;i=c[(f+(j<<2)&p)+120>>2]|0;j=e[(f+(j<<1)&o)+78>>1]<<1;k=c[(i&p)+64>>2]|0;rp(i,(c[(i&p)+56>>2]|0)+((d[(k+j&n)>>0]<<8|d[(k+(j|1)&n)>>0])&e[(i&o)+20>>1])|0,h);f=f+72|0;a[(f&n)>>0]=d[(f&n)>>0]|2}i=h;f=c[(i&p)+4>>2]|0;h=g;c[(h&p)>>2]=c[(i&p)>>2];c[(h&p)+4>>2]=f;return}function lm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0;if(!(b[(f&o)+44>>1]|0)){i=b[(f&o)+76>>1]|0;h=c[(f+(i<<2)&p)+120>>2]|0;i=e[(f+(i<<1)&o)+78>>1]<<1;j=c[(h&p)+64>>2]|0;rp(h,(c[(h&p)+56>>2]|0)+((d[(j+i&n)>>0]<<8|d[(j+(i|1)&n)>>0])&e[(h&o)+20>>1])|0,f+24|0);h=f+72|0;a[(h&n)>>0]=d[(h&n)>>0]|2}c[(g&p)>>2]=c[(f&p)+36>>2];return}function mm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;e=d[(a&n)>>0]|0;g=d[(a&n)+1>>0]|0;do if(g&128){f=d[(a&n)+2>>0]|0;if(!(f&128)){c[(b&p)>>2]=(f|e<<14)&2080895|g<<7&16256;e=3;break}else{e=sp(a,h)|0;g=h;f=c[(g&p)>>2]|0;c[(b&p)>>2]=((f|0)==(f|0)?0==(c[(g&p)+4>>2]|0):0)?f:-1;break}}else{c[(b&p)>>2]=e<<7&16256|g;e=2}while(0);i=k;return e|0}function nm(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;j=(h|0)==0;do if((g+f|0)>>>0>(e[(d&o)+40>>1]|0)>>>0){l=i+8|0;b[(l&o)>>1]=1;h=fh(i,g+2|0)|0;if(!h){k=i+16|0;h=c[(k&p)>>2]|0;if(j)h=Dh(d,f,g,h)|0;else h=Lm(d,f,g,h,0)|0;if(!h){a[((c[(k&p)>>2]|0)+g&n)>>0]=0;a[((c[(k&p)>>2]|0)+g&n)+1>>0]=0;b[(l&o)>>1]=528;c[(i&p)+12>>2]=g;h=0;break}if((b[(l&o)>>1]&9312)==0?(c[(i&p)+24>>2]|0)==0:0)break;Qg(i)}}else{c[(i&p)+16>>2]=(c[(d&p)+32>>2]|0)+f;b[(i&o)+8>>1]=4112;c[(i&p)+12>>2]=g;h=0}while(0);return h|0}function om(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;switch(f|0){case 9:case 8:{e=g;c[(e&p)>>2]=f+-8;c[(e&p)+4>>2]=0;b[(g&o)+8>>1]=4;e=0;break}case 1:{f=a[(e&n)>>0]|0;e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=1;break}case 0:case 11:case 10:{b[(g&o)+8>>1]=1;e=0;break}case 3:{f=d[(e&n)+1>>0]<<8|a[(e&n)>>0]<<16|d[(e&n)+2>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=3;break}case 4:{f=d[(e&n)+1>>0]<<16|a[(e&n)>>0]<<24|d[(e&n)+2>>0]<<8|d[(e&n)+3>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=4;break}case 2:{f=a[(e&n)>>0]<<8|d[(e&n)+1>>0];e=g;c[(e&p)>>2]=f;c[(e&p)+4>>2]=((f|0)<0)<<31>>31;b[(g&o)+8>>1]=4;e=2;break}case 7:case 6:{tp(e,f,g);e=8;break}case 5:{h=a[(e&n)>>0]<<8|d[(e&n)+1>>0];f=g;c[(f&p)>>2]=d[(e&n)+3>>0]<<16|d[(e&n)+2>>0]<<24|d[(e&n)+4>>0]<<8|d[(e&n)+5>>0];c[(f&p)+4>>2]=h;b[(g&o)+8>>1]=4;e=6;break}default:{c[(g&p)+16>>2]=e;e=(f+-12|0)>>>1;c[(g&p)+12>>2]=e;b[(g&o)+8>>1]=b[((f&1)<<1&o)+34328>>1]|0}}return e|0}function pm(b,c,d){b=b|0;c=c|0;d=d|0;do if(!(d>>>0<0|(d|0)==0&c>>>0<128))if(d>>>0<0|(d|0)==0&c>>>0<16384){d=mw(c|0,d|0,7)|0;a[(b&n)>>0]=d|128;a[(b&n)+1>>0]=c&127;c=2;break}else{c=up(b,c,d)|0;break}else{a[(b&n)>>0]=c&127;c=1}while(0);return c|0}function qm(e){e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;k=e+73|0;f=a[(k&n)>>0]|0;do if((f&255)>2)if(f<<24>>24==4){f=c[(e&p)+68>>2]|0;break}else{g=e+56|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=0;a[(k&n)>>0]=0;g=5;break}else g=5;while(0);a:do if((g|0)==5){h=e+76|0;f=b[(h&o)>>1]|0;do if(f<<16>>16<=-1){f=c[(e&p)+60>>2]|0;if(!f){a[(k&n)>>0]=0;f=0;break a}g=e+120|0;f=vp(c[((c[(e&p)>>2]|0)&p)+4>>2]|0,f,g,(a[(e&n)+72>>0]&1)<<1^2)|0;if(!f){b[(h&o)>>1]=0;f=g;break}else{a[(k&n)>>0]=0;break a}}else{if(f<<16>>16)do{g=f+-1<<16>>16;b[(h&o)>>1]=g;f=c[(e+(f<<16>>16<<2)&p)+120>>2]|0;if(!f)f=g;else{Bg(c[(f&p)+68>>2]|0);f=b[(h&o)>>1]|0}}while(f<<16>>16!=0);f=e+120|0}while(0);f=c[(f&p)>>2]|0;if((a[(f&n)>>0]|0)!=0?((c[(e&p)+16>>2]|0)==0|0)==(d[(f&n)+2>>0]|0):0){b[(e&o)+78>>1]=0;b[(e&o)+44>>1]=0;g=e+72|0;a[(g&n)>>0]=d[(g&n)>>0]&241;if(b[(f&o)+18>>1]|0){a[(k&n)>>0]=1;f=0;break}if(a[(f&n)+5>>0]|0){a[(k&n)>>0]=0;f=0;break}if((c[(f&p)+72>>2]|0)==1){g=d[(f&n)+6>>0]|0;f=c[(f&p)+56>>2]|0;f=d[(f+g&n)+9>>0]<<16|d[(f+g&n)+8>>0]<<24|d[(f+g&n)+10>>0]<<8|d[(f+g&n)+11>>0];a[(k&n)>>0]=1;f=rm(e,f)|0;break}else{c[(l&p)>>2]=57629;c[(l&p)+4>>2]=10788;bd(11,13600,l);f=11;break}}c[(l&p)>>2]=57618;c[(l&p)+4>>2]=10788;bd(11,13600,l);f=11}while(0);i=m;return f|0}function rm(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;l=q+8|0;g=e+76|0;k=b[(g&o)>>1]|0;h=k<<16>>16;do if(k<<16>>16<=18){k=e+72|0;f=vp(c[(e&p)+4>>2]|0,f,l,(a[(k&n)>>0]&1)<<1^2)|0;if(!f){f=c[(l&p)>>2]|0;l=h+1|0;c[(e+(l<<2)&p)+120>>2]=f;b[(e+(l<<1)&o)+78>>1]=0;b[(g&o)>>1]=(b[(g&o)>>1]|0)+1<<16>>16;b[(e&o)+44>>1]=0;a[(k&n)>>0]=d[(k&n)>>0]&249;if((b[(f&o)+18>>1]|0)!=0?(a[(f&n)+2>>0]|0)==(a[((c[(e+(h<<2)&p)+120>>2]|0)&n)+2>>0]|0):0){f=0;break}c[(m&p)>>2]=57499;c[(m&p)+4>>2]=10788;bd(11,13600,m);f=11}}else{c[(m&p)>>2]=57487;c[(m&p)+4>>2]=10788;bd(11,13600,m);f=11}while(0);i=q;return f|0}function sm(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;j=a+328|0;a:do if(!(c[(j&p)>>2]|0))a=0;else{g=a+304|0;h=d+1|0;i=0;while(1){if((i|0)>=(c[(g&p)>>2]|0)){a=0;break a}f=c[((c[(j&p)>>2]|0)+(i<<2)&p)>>2]|0;a=c[(c[(f&p)+4>>2]&p)>>2]|0;e=c[(f&p)+8>>2]|0;if((e|0)!=0?(c[(a&p)>>2]|0)>1:0){if(!b){a=c[(a&p)+80>>2]|0;c[(f&p)+20>>2]=h}else if((b|0)==2)a=c[(a&p)+88>>2]|0;else a=c[(a&p)+84>>2]|0;if((a|0)!=0?(c[(f&p)+20>>2]|0)>(d|0):0){a=rc[a&127](e,d)|0;if(!a){i=i+1|0;continue}else break a}}i=i+1|0}}while(0);return a|0}function tm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h;e=c[(b&p)>>2]|0;if(!d){d=b+144|0;k=c[(d&p)+4>>2]|0;if((k|0)>0|(k|0)==0&(c[(d&p)>>2]|0)>>>0>0)g=4;else e=0}else{d=e+504|0;k=e+512|0;d=jw(c[(k&p)>>2]|0,c[(k&p)+4>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0)|0;k=G;if((k|0)>0|(k|0)==0&d>>>0>0)g=4;else e=0}if((g|0)==4){c[(b&p)+80>>2]=787;a[(b&n)+86>>0]=2;dh(b+44|0,e,34376,f);e=1}i=h;return e|0}function um(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;if((e|0)!=0?(a[(e&n)+8>>0]|0)==2:0){h=c[(e&p)+4>>2]|0;c[(h&p)+4>>2]=c[(e&p)>>2];f=jp(c[(h&p)>>2]|0,f,g)|0;if(!f){if((g|0)<0?(b[(h&o)+22>>1]&8)!=0:0)c[(h&p)+44>>2]=0;f=Cg(h)|0;e=c[((c[(h&p)+12>>2]|0)&p)+56>>2]|0;c[(h&p)+44>>2]=d[(e&n)+29>>0]<<16|d[(e&n)+28>>0]<<24|d[(e&n)+30>>0]<<8|d[(e&n)+31>>0]}}else f=0;return f|0}function vm(a,b){a=a|0;b=b|0;a=a+16|0;ql(c[((c[(a&p)>>2]|0)+(b<<4)&p)+12>>2]|0);if((b|0)!=1)ql(c[((c[(a&p)>>2]|0)&p)+28>>2]|0);return}function wm(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=c[(a&p)+4>>2]|0;c[(f&p)+4>>2]=c[(a&p)>>2];if((b|0)==15)f=(c[(a&p)+20>>2]|0)+(c[((c[(f&p)>>2]|0)&p)+100>>2]|0)|0;else{b=b<<2;f=c[((c[(f&p)+12>>2]|0)&p)+56>>2]|0;f=(d[(f+b&n)+37>>0]|0)<<16|(d[(f+b&n)+36>>0]|0)<<24|(d[(f+b&n)+38>>0]|0)<<8|(d[(f+b&n)+39>>0]|0)}c[(e&p)>>2]=f;return}function xm(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,q=0;k=(c[(d&p)+28>>2]|0)-e|0;i=c[(d&p)+8>>2]|0;q=(f<<3)+88|0;m=(h|0)!=0;l=d+56|0;j=c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]|0;if(j){Bm(d,j);c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]=0}if(!(fh(i+(k*40|0)|0,(m?200:0)+q|0)|0)){k=i+(k*40|0)+16|0;h=c[(k&p)>>2]|0;c[((c[(l&p)>>2]|0)+(e<<2)&p)>>2]=h;i=h+0|0;j=i+88|0;do{c[(i&p)>>2]=0;i=i+4|0}while((i|0)<(j|0));a[(h&n)+24>>0]=g;b[(h&o)+20>>1]=f;c[(h&p)+80>>2]=h+84+(f<<2);if(m){i=(c[(k&p)>>2]|0)+q|0;c[(h&p)>>2]=i;i=i+0|0;j=i+76|0;do{c[(i&p)>>2]=0;i=i+4|0}while((i|0)<(j|0))}}else h=0;return h|0}function ym(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;k=c[(d&p)+4>>2]|0;c[(k&p)+4>>2]=c[(d&p)>>2];if(f)if(!(b[(k&o)+22>>1]&1)){j=k+80|0;if(!(c[(j&p)>>2]|0)){i=Go(c[(k&p)+32>>2]|0)|0;c[(j&p)>>2]=i;if(!i)i=7;else{l=i;i=l;a[(i&n)>>0]=0;a[(i&n)+1>>0]=0;a[(i&n)+2>>0]=0;a[(i&n)+3>>0]=0;l=l+4|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;c[(j&p)>>2]=(c[(j&p)>>2]|0)+4;l=6}}else l=6}else i=8;else l=6;if((l|0)==6){if((e|0)==1)e=(c[(k&p)+44>>2]|0)!=0&1;c[(h&p)+60>>2]=e;b[(h&o)+76>>1]=-1;c[(h&p)+16>>2]=g;c[(h&p)>>2]=d;c[(h&p)+4>>2]=k;a[(h&n)+72>>0]=f;i=k+8|0;e=c[(i&p)>>2]|0;c[(h&p)+8>>2]=e;if(e)c[(e&p)+12>>2]=h;c[(i&p)>>2]=h;a[(h&n)+73>>0]=0;i=0}return i|0}function zm(f,g,h,k,l,m){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;S=i;i=i+128|0;if((i|0)>=(j|0))fa();D=S;K=S+12|0;H=S+8|0;P=S+16|0;N=(g|0)==0;if(!N){r=(a[(g&n)>>0]|0)==0;if(_v(g,14640)|0)if(r)J=4;else{r=0;J=5}else O=1}else J=4;if((J|0)==4)if((a[(h&n)+64>>0]|0)==2){O=1;r=1}else{r=1;J=5}if((J|0)==5)O=(m&128|0)!=0;M=O?l|2:l;if((m&256|0)!=0&(O|r))m=m&-769|512;R=qg(48,0)|0;a:do if(R){x=R+0|0;w=x+48|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));c[(R&p)>>2]=h;c[(R&p)+32>>2]=R;c[(R&p)+36>>2]=1;b:do if(!r?!(O&(m&64|0)==0|(m&131072|0)==0):0){if(N)r=1;else{r=g;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;r=(r-g&1073741823)+1|0}l=(c[(f&p)+8>>2]|0)+1|0;u=(l|0)>(r|0)?l:r;u=qg(u,((u|0)<0)<<31>>31)|0;t=R+9|0;a[(t&n)>>0]=1;if(!u){Wc(R);q=7;break a}if(!O){a[(u&n)>>0]=0;r=pc[c[(f&p)+36>>2]&31](f,g,l,u)|0;if(r){Wc(u);Wc(R);q=r;break a}}else kw(u|0,g|0,r|0)|0;r=c[3664]|0;c:do if(r){while(1){l=c[(r&p)>>2]|0;if((_v(u,c[(l&p)+168>>2]|0)|0)==0?(c[(l&p)>>2]|0)==(f|0):0)break;r=c[(r&p)+68>>2]|0;if(!r)break c}l=c[(h&p)+20>>2]|0;d:do if((l|0)>0){s=c[(h&p)+16>>2]|0;while(1){l=l+-1|0;G=c[(s+(l<<4)&p)+4>>2]|0;if((G|0)!=0?(c[(G&p)+4>>2]|0)==(r|0):0)break;if((l|0)<=0)break d}Wc(u);Wc(R);q=19;break a}while(0);c[(R&p)+4>>2]=r;G=r+64|0;c[(G&p)>>2]=(c[(G&p)>>2]|0)+1;Wc(u);if(!r){J=32;break b}if(!(a[(t&n)>>0]|0))break b;else{J=105;break b}}while(0);Wc(u);J=32}else J=32;while(0);e:do if((J|0)==32){L=qg(84,0)|0;if(L){x=L+0|0;w=x+84|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));F=M&1;G=(F|0)==0;c[(K&p)>>2]=1024;E=f+4|0;r=c[(E&p)>>2]|0;if((r|0)>40)l=r+7&-8;else l=40;c[(L&p)>>2]=0;do if(!(M&2))if(!N)if(a[(g&n)>>0]|0){y=f+8|0;t=(c[(y&p)>>2]|0)+1|0;A=t<<1;A=qg(A,((A|0)<0)<<31>>31)|0;if(!A)q=7;else{a[(A&n)>>0]=0;r=pc[c[(f&p)+36>>2]&31](f,g,t,A)|0;t=A;while(1)if(!(a[(t&n)>>0]|0))break;else t=t+1|0;x=t-A&1073741823;u=g;while(1)if(!(a[(u&n)>>0]|0))break;else u=u+1|0;w=(u-g&1073741823)+1|0;u=a[(g+w&n)>>0]|0;w=g+w|0;if(!(u<<24>>24))t=w;else{t=w;do{if(!(u<<24>>24))u=t;else{u=t;do u=u+1|0;while((a[(u&n)>>0]|0)!=0)}u=u-t&1073741823;s=t+(u+1)|0;v=s;while(1)if(!(a[(v&n)>>0]|0))break;else v=v+1|0;t=t+(u+2+(v-s&1073741823))|0;u=a[(t&n)>>0]|0}while(u<<24>>24!=0)}if(!r){if((x+8|0)<=(c[(y&p)>>2]|0)){z=1;D=0;y=x;x=t+1-w|0;u=A;J=58;break}c[(D&p)>>2]=46171;c[(D&p)+4>>2]=10788;bd(14,14848,D);r=14}Wc(A);J=89}}else{z=1;D=0;y=0;x=0;u=0;w=0;J=58}else{g=0;z=0;D=0;y=0;x=0;u=0;w=0;J=58}else if(!N)if(a[(g&n)>>0]|0){u=kh(0,g)|0;if(!u)q=7;else{r=u;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;g=0;z=0;D=1;y=r-u&1073741823;x=0;w=0;J=58}}else{z=1;D=1;y=0;x=0;u=0;w=0;J=58}else{g=0;z=0;D=1;y=0;x=0;u=0;w=0;J=58}while(0);do if((J|0)==58){t=(l<<1)+17+(y*3|0)+x+((c[(E&p)>>2]|0)+271&-8)|0;C=qg(t,0)|0;if(!C){if(!u){q=7;break}Wc(u);q=7;break}fw(C|0,0,t|0)|0;A=C+204|0;c[(A&p)>>2]=C+216;B=C+60|0;c[(B&p)>>2]=C+264;v=(c[(E&p)>>2]|0)+271&-8;c[(C&p)+68>>2]=C+v;v=v+l|0;c[(C&p)+64>>2]=C+v;v=v+l|0;t=C+v|0;r=C+168|0;c[(r&p)>>2]=t;if(u){s=y+1|0;l=C+172|0;c[(l&p)>>2]=C+(x+s+v);kw(t|0,u|0,y|0)|0;if(x)kw((c[(r&p)>>2]|0)+s|0,w|0,x|0)|0;kw(c[(l&p)>>2]|0,u|0,y|0)|0;x=(c[(l&p)>>2]|0)+y+0|0;v=14928;w=x+10|0;do{a[(x&n)>>0]=a[(v&n)>>0]|0;x=x+1|0;v=v+1|0}while((x|0)<(w|0));l=(c[(l&p)>>2]|0)+(y+9)|0;E=C+212|0;c[(E&p)>>2]=l;kw(l|0,u|0,y|0)|0;E=(c[(E&p)>>2]|0)+y|0;a[(E&n)>>0]=a[14944]|0;a[(E&n)+1>>0]=a[14945]|0;a[(E&n)+2>>0]=a[14946]|0;a[(E&n)+3>>0]=a[14947]|0;a[(E&n)+4>>0]=a[14948]|0;Wc(u)}c[(C&p)>>2]=f;c[(C&p)+144>>2]=m;do if(z?(a[(g&n)>>0]|0)!=0:0){c[(H&p)>>2]=0;r=tc[c[(f&p)+24>>2]&31](f,c[(r&p)>>2]|0,c[(B&p)>>2]|0,m&556927,H)|0;s=c[(H&p)>>2]&1;if(!r){r=c[(B&p)>>2]|0;r=lc[c[((c[(r&p)>>2]|0)&p)+48>>2]&127](r)|0;do if((s|0)==0?(wp(C),I=c[(C&p)+148>>2]|0,I>>>0>1024):0)if(I>>>0>8192){c[(K&p)>>2]=8192;break}else{c[(K&p)>>2]=I;break}while(0);a[(C&n)+13>>0]=fg(g,14952,0)|0;if((r&8192|0)==0?(fg(g,14960,0)|0)==0:0){v=0;J=77;break}r=m|1;J=76}}else{r=m;J=76}while(0);if((J|0)==76){a[(C&n)+16>>0]=1;a[(C&n)+17>>0]=4;a[(C&n)+13>>0]=1;s=r&1;v=1;J=77}if((J|0)==77){r=al(C,K,-1)|0;if(!r){l=c[(K&p)>>2]|0;u=(D|0)==0;m=D^1;t=u?75:0;r=c[(A&p)>>2]|0;x=r+0|0;w=x+48|0;do{c[(x&p)>>2]=0;x=x+4|0}while((x|0)<(w|0));c[(r&p)+20>>2]=1;c[(r&p)+24>>2]=80;a[(r&n)+28>>0]=m;a[(r&n)+29>>0]=2;c[(r&p)+32>>2]=t;c[(r&p)+36>>2]=C;c[(r&p)+16>>2]=100;r=Ho(r,l)|0;if(!r){a[(C&n)+6>>0]=F^1;c[(C&p)+156>>2]=1073741823;a[(C&n)+12>>0]=v;a[(C&n)+4>>0]=v;a[(C&n)+18>>0]=v;a[(C&n)+15>>0]=D;a[(C&n)+14>>0]=s;a[(C&n)+7>>0]=v;if(!(v<<24>>24)){a[(C&n)+8>>0]=1;a[(C&n)+11>>0]=2;a[(C&n)+10>>0]=34;a[(C&n)+9>>0]=2}b[(C&o)+140>>1]=80;H=C+160|0;c[(H&p)>>2]=-1;c[(H&p)+4>>2]=-1;wp(C);do if(G){if(u)break;a[(C&n)+5>>0]=4}else a[(C&n)+5>>0]=2;while(0);c[(C&p)+196>>2]=21;c[(L&p)>>2]=C;J=90;break}}}l=c[(B&p)>>2]|0;m=c[(l&p)>>2]|0;if(m){lc[c[(m&p)+4>>2]&127](l)|0;c[(l&p)>>2]=0}$k(c[(C&p)+200>>2]|0);Wc(C);J=89}while(0);if((J|0)==89)if(!r)J=90;else q=r;do if((J|0)==90){r=c[(L&p)>>2]|0;H=h+40|0;w=c[(H&p)+4>>2]|0;x=r+128|0;c[(x&p)>>2]=c[(H&p)>>2];c[(x&p)+4>>2]=w;x=P+0|0;w=x+100|0;do{a[(x&n)>>0]=0;x=x+1|0}while((x|0)<(w|0));r=c[(r&p)+60>>2]|0;l=c[(r&p)>>2]|0;if((l|0)!=0?(q=tc[c[(l&p)+8>>2]&31](r,P,100,0,0)|0,!((q|0)==0|(q|0)==522)):0)break;a[(L&n)+16>>0]=M;c[(L&p)+4>>2]=h;r=c[(L&p)>>2]|0;l=r+176|0;c[(l&p)>>2]=76;c[(r&p)+180>>2]=L;m=c[(r&p)+60>>2]|0;q=c[(m&p)>>2]|0;if(!q)l=r;else{ac[c[(q&p)+40>>2]&63](m,15,l)|0;l=c[(L&p)>>2]|0}c[(R&p)+4>>2]=L;c[(L&p)+8>>2]=0;c[(L&p)+12>>2]=0;if(a[(l&n)+14>>0]|0){H=L+22|0;b[(H&o)>>1]=e[(H&o)>>1]|1}H=d[(P&n)+17>>0]<<16|d[(P&n)+16>>0]<<8;m=L+32|0;c[(m&p)>>2]=H;if((H+-512|0)>>>0<=65024?(H+16777215&H|0)==0:0){r=a[(P&n)+20>>0]|0;H=L+22|0;b[(H&o)>>1]=e[(H&o)>>1]|2;a[(L&n)+17>>0]=(d[(P&n)+53>>0]<<16|d[(P&n)+52>>0]<<24|d[(P&n)+54>>0]<<8|d[(P&n)+55>>0]|0)!=0&1;a[(L&n)+18>>0]=(d[(P&n)+65>>0]<<16|d[(P&n)+64>>0]<<24|d[(P&n)+66>>0]<<8|d[(P&n)+67>>0]|0)!=0&1}else{c[(m&p)>>2]=0;if(N|O)r=0;else{a[(L&n)+17>>0]=0;a[(L&n)+18>>0]=0;r=0}}r=r&255;q=al(l,m,r)|0;if(!q){c[(L&p)+36>>2]=(c[(m&p)>>2]|0)-r;if(!(a[(R&n)+9>>0]|0))break e;c[(L&p)+64>>2]=1;c[(L&p)+68>>2]=c[3664];c[3664]=L;J=105;break e}}while(0);if(L){m=c[(L&p)>>2]|0;if(!m)m=L;else{lp(m);m=L}}else m=0}else{m=0;q=7}Wc(m);Wc(R);c[(k&p)>>2]=0;break a}while(0);f:do if((J|0)==105?(Q=c[(h&p)+20>>2]|0,(Q|0)>0):0){m=c[(h&p)+16>>2]|0;l=0;while(1){q=c[(m+(l<<4)&p)+4>>2]|0;if((q|0)!=0?(a[(q&n)+9>>0]|0)!=0:0){l=q;break}l=l+1|0;if((l|0)>=(Q|0))break f}while(1){q=l+28|0;m=c[(q&p)>>2]|0;if(!m){m=l;break}else l=m}r=c[(R&p)+4>>2]|0;if(r>>>0<(c[(m&p)+4>>2]|0)>>>0){c[(R&p)+24>>2]=m;c[(R&p)+28>>2]=0;c[(q&p)>>2]=R;break}while(1){q=m+24|0;l=c[(q&p)>>2]|0;if(!l){J=113;break}if((c[(l&p)+4>>2]|0)>>>0<r>>>0)m=l;else{J=115;break}}if((J|0)==113){c[(R&p)+24>>2]=0;c[(R&p)+28>>2]=m}else if((J|0)==115){c[(R&p)+24>>2]=l;c[(R&p)+28>>2]=m;c[(l&p)+28>>2]=R}c[(q&p)>>2]=R}while(0);c[(k&p)>>2]=R;q=c[(R&p)+4>>2]|0;c[(q&p)+4>>2]=c[(R&p)>>2];if(!(c[(q&p)+48>>2]|0)){q=c[((c[(q&p)>>2]|0)&p)+204>>2]|0;c[(q&p)+16>>2]=2e3;jc[c[8868>>2]&15](c[(q&p)+40>>2]|0,2e3);q=0}else q=0}else q=7;while(0);i=S;return q|0}function Am(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+48|0;if((i|0)>=(j|0))fa();t=A;x=A+28|0;y=A+24|0;w=A+20|0;o=A+16|0;r=A+12|0;s=A+32|0;u=A+8|0;h=c[(b&p)>>2]|0;v=c[(b&p)+4>>2]|0;g=v+4|0;c[(g&p)>>2]=h;a:do if(!(a[(v&n)+17>>0]|0)){g=ip(v,x,y,1,0)|0;c[(w&p)>>2]=g;if(!g){h=c[(x&p)>>2]|0;z=39}}else{q=v+8|0;k=c[(q&p)>>2]|0;if(k)do{m=k+72|0;a[(m&n)>>0]=d[(m&n)>>0]&251;k=c[(k&p)+8>>2]|0}while((k|0)!=0);c[(g&p)>>2]=h;m=c[((c[(v&p)+12>>2]|0)&p)+56>>2]|0;m=d[(m&n)+53>>0]<<16|d[(m&n)+52>>0]<<24|d[(m&n)+54>>0]<<8|d[(m&n)+55>>0];c[(y&p)>>2]=m;h=((c[2514]|0)>>>0)/((c[(v&p)+32>>2]|0)>>>0)|0;g=v+36|0;while(1){l=m+1|0;if(l>>>0<2)k=0;else{k=m+-1|0;k=k-((k>>>0)%(((((c[(g&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(h|0)?3:2)+k|0}if((l|0)==(k|0)|(m|0)==(h|0))m=l;else break}c[(y&p)>>2]=l;g=ip(v,r,o,l,1)|0;c[(w&p)>>2]=g;if(!g){m=c[(o&p)>>2]|0;do if((m|0)==(l|0)){h=c[(r&p)>>2]|0;c[(x&p)>>2]=h}else{a[(s&n)>>0]=0;c[(u&p)>>2]=0;k=c[(q&p)>>2]|0;b:do if(!k)g=0;else{while(1){if(k)break;k=c[2]|0;if(!k){g=0;break b}}g=Fl(k,0,0)|0}while(0);c[(w&p)>>2]=g;k=c[(r&p)>>2]|0;if(k)Bg(c[(k&p)+68>>2]|0);if(g)break a;g=dl(v,l,x,0)|0;c[(w&p)>>2]=g;if(g)break a;g=hp(v,l,s,u)|0;c[(w&p)>>2]=g;k=a[(s&n)>>0]|0;if((k+-1&255)>=2){h=c[(x&p)>>2]|0;if(!g){g=Zm(v,h,k,c[(u&p)>>2]|0,m,0)|0;c[(w&p)>>2]=g;if(h)Bg(c[(h&p)+68>>2]|0);if(g)break a;g=dl(v,l,x,0)|0;c[(w&p)>>2]=g;if(g)break a;h=c[(x&p)>>2]|0;k=h+68|0;g=Gg(c[(k&p)>>2]|0)|0;c[(w&p)>>2]=g;if(!g)break;if(!h)break a;Bg(c[(k&p)>>2]|0);break a}}else{c[(t&p)>>2]=60876;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(w&p)>>2]=11;g=11;h=c[(x&p)>>2]|0}if(!h)break a;Bg(c[(h&p)+68>>2]|0);break a}while(0);zp(v,l,1,0,w);g=c[(w&p)>>2]|0;if(g){if(!h)break;Bg(c[(h&p)+68>>2]|0);break}g=Dg(b,4,l)|0;c[(w&p)>>2]=g;if(g){if(h)Bg(c[(h&p)+68>>2]|0)}else z=39}}while(0);if((z|0)==39){pl(h,(f&1|0)==0?10:13);g=c[((c[(x&p)>>2]|0)&p)+68>>2]|0;if(g)Bg(g);c[(e&p)>>2]=c[(y&p)>>2];g=0}i=A;return g|0}function Bm(a,b){a=a|0;b=b|0;var d=0,e=0;do if(b){a=c[(a&p)>>2]|0;d=b+56|0;e=c[(d&p)>>2]|0;if(e){_m(a,e);Wc(c[(e&p)+40>>2]|0);mg(a,e);c[(d&p)>>2]=0}a=c[(b&p)+4>>2]|0;if(a){Ml(a);break}a=c[(b&p)>>2]|0;if(a){kp(a);break}a=c[(b&p)+32>>2]|0;if(a){e=c[(a&p)>>2]|0;d=c[(e&p)>>2]|0;e=e+4|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1;lc[c[(d&p)+28>>2]&127](a)|0}}while(0);return}function Cm(f,g,h,k,l,m){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;Q=i;i=i+16|0;if((i|0)>=(j|0))fa();O=Q+8|0;N=Q;t=f+73|0;do if(((a[(t&n)>>0]|0)==1?(s=d[(f&n)+72>>0]|0,(s&2|0)!=0):0)?(a[((c[(f&p)+120>>2]|0)&n)+2>>0]|0)!=0:0){q=f+24|0;r=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if((r|0)==(h|0)&(q|0)==(k|0)){c[(m&p)>>2]=0;q=0;break}if((s&8|0)!=0&((q|0)<(k|0)|(q|0)==(k|0)&r>>>0<h>>>0)){c[(m&p)>>2]=-1;q=0}else P=8}else P=8;while(0);do if((P|0)==8){if(!g)J=0;else{r=c[(g&p)>>2]|0;if(((e[(r&o)+8>>1]|0)+(e[(r&o)+6>>1]|0)|0)<14){q=e[((c[(g&p)+8>>2]|0)&o)+8>>1]|0;K=(a[(c[(r&p)+16>>2]&n)>>0]|0)==0;c[(g&p)+12>>2]=K?-1:1;c[(g&p)+16>>2]=K?1:-1;if(!(q&4))if((q&25|0)==0?(c[(r&p)+20>>2]|0)==0:0)r=39;else P=13;else r=38}else P=13;if((P|0)==13)r=40;a[(g&n)+7>>0]=0;J=r}q=qm(f)|0;if(!q){if(!(a[(t&n)>>0]|0)){c[(m&p)>>2]=-1;q=0;break}K=f+76|0;F=1-l|0;G=(J|0)==0;L=f+72|0;H=f+24|0;I=f+24|0;a:do{l=b[(K&o)>>1]|0;D=c[(f+(l<<2)&p)+120>>2]|0;E=D+18|0;s=(e[(E&o)>>1]|0)+-1|0;r=s>>F;b[(f+(l<<1)&o)+78>>1]=r;l=D+56|0;A=D+20|0;B=D+64|0;C=D+7|0;b:do if(G){v=D+3|0;u=D+60|0;t=0;w=s;while(1){s=r<<1;z=c[(B&p)>>2]|0;s=(c[(l&p)>>2]|0)+(((d[(z+s&n)>>0]<<8|d[(z+(s|1)&n)>>0])&e[(A&o)>>1])+(d[(C&n)>>0]|0))|0;c:do if(a[(v&n)>>0]|0)while(1){z=s;s=s+1|0;if((a[(z&n)>>0]|0)>=0)break c;if(s>>>0>=(c[(u&p)>>2]|0)>>>0){P=25;break a}}while(0);sp(s,N)|0;q=N;s=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if((q|0)<(k|0)|(q|0)==(k|0)&s>>>0<h>>>0){t=r+1|0;if((r|0)<(w|0))s=w;else{q=-1;P=49;break b}}else{if(!((q|0)>(k|0)|(q|0)==(k|0)&s>>>0>h>>>0)){t=q;break}s=r+-1|0;if((t|0)>(s|0)){q=1;P=49;break b}}r=s+t>>1;w=s}a[(L&n)>>0]=d[(L&n)>>0]|2;C=H;c[(C&p)>>2]=s;c[(C&p)+4>>2]=t;b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;if(a[(D&n)+5>>0]|0){P=31;break a}}else{x=D+8|0;y=D+10|0;z=r;t=0;while(1){q=c[(l&p)>>2]|0;v=z<<1;r=c[(B&p)>>2]|0;v=(d[(r+v&n)>>0]<<8|d[(r+(v|1)&n)>>0])&e[(A&o)>>1];r=v+(d[(C&n)>>0]|0)|0;R=a[(q+r&n)>>0]|0;w=R&255;u=q+(r+1)|0;do if((R&255)>(d[(x&n)>>0]|0)){u=d[(u&n)>>0]|0;if((u&128|0)==0?(M=u+(w<<7&16256)|0,(M|0)<=(e[(y&o)>>1]|0)):0){q=ac[J&63](M,q+(r+2)|0,g)|0;break}rp(D,q+v|0,I);u=c[(I&p)>>2]|0;r=qg(u,((u|0)<0)<<31>>31)|0;if(!r){q=7;break a}b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=z;q=Lm(f,0,u,r,2)|0;if(q){P=40;break a}q=ac[J&63](u,r,g)|0;Wc(r)}else q=ac[J&63](w,u,g)|0;while(0);if((q|0)<0)t=z+1|0;else{if((q|0)<=0){r=z;P=46;break a}s=z+-1|0}if((t|0)>(s|0)){r=z;P=49;break b}z=s+t>>1}}while(0);if((P|0)==49){P=0;if(a[(D&n)+5>>0]|0){P=51;break}l=D+56|0;r=t}t=c[(l&p)>>2]|0;if((r|0)<(e[(E&o)>>1]|0)){s=r<<1;E=c[(D&p)+64>>2]|0;s=(d[(E+s&n)>>0]<<8|d[(E+(s|1)&n)>>0])&e[(D&o)+20>>1];s=d[(t+s&n)+1>>0]<<16|d[(t+s&n)>>0]<<24|d[(t+s&n)+2>>0]<<8|d[(t+s&n)+3>>0]}else{s=d[(D&n)+6>>0]|0;s=d[(t+s&n)+9>>0]<<16|d[(t+s&n)+8>>0]<<24|d[(t+s&n)+10>>0]<<8|d[(t+s&n)+11>>0]}b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;q=rm(f,s)|0}while((q|0)==0);if((P|0)==25){c[(O&p)>>2]=57865;c[(O&p)+4>>2]=10788;bd(11,13600,O);q=11;break}else if((P|0)==31){c[(m&p)>>2]=0;q=0}else if((P|0)==40)Wc(r);else if((P|0)==46){c[(m&p)>>2]=0;b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;q=(a[(g&n)+7>>0]|0)==0?0:11}else if((P|0)==51){b[(f+(b[(K&o)>>1]<<1)&o)+78>>1]=r;c[(m&p)>>2]=q;q=0}b[(f&o)+44>>1]=0;a[(L&n)>>0]=d[(L&n)>>0]&249}}while(0);i=Q;return q|0}function Dm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0;b[(f&o)+44>>1]=0;h=f+72|0;a[(h&n)>>0]=d[(h&n)>>0]&249;c[(g&p)>>2]=0;do if((a[(f&n)+73>>0]|0)==1){h=f+76|0;k=b[(h&o)>>1]|0;i=c[(f+(k<<2)&p)+120>>2]|0;k=f+(k<<1)+78|0;j=(b[(k&o)>>1]|0)+1<<16>>16;b[(k&o)>>1]=j;if((j&65535)>=(e[(i&o)+18>>1]|0)){h=f+(b[(h&o)>>1]<<1)+78|0;b[(h&o)>>1]=(b[(h&o)>>1]|0)+-1<<16>>16;h=Dp(f,g)|0;break}if(!(a[(i&n)+5>>0]|0))h=Vm(f)|0;else h=0}else h=Dp(f,g)|0;while(0);return h|0}function Em(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0;c[(f&p)>>2]=0;j=e+72|0;a[(j&n)>>0]=d[(j&n)>>0]&241;b[(e&o)+44>>1]=0;if(((a[(e&n)+73>>0]|0)==1?(g=b[(e&o)+76>>1]|0,h=e+(g<<1)+78|0,i=b[(h&o)>>1]|0,i<<16>>16!=0):0)?(a[((c[(e+(g<<2)&p)+120>>2]|0)&n)+5>>0]|0)!=0:0){b[(h&o)>>1]=i+-1<<16>>16;g=0}else g=Ep(e,f)|0;return g|0}function Fm(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=0-d&7;j=a+6|0;h=b[(j&o)>>1]|0;g=((h&65535)*40|0)+64|0;if((g|0)>(i+e|0)){g=mh(c[(a&p)+12>>2]|0,g,0)|0;c[(f&p)>>2]=g;if(!g)g=0;else{h=b[(j&o)>>1]|0;k=5}}else{c[(f&p)>>2]=0;g=d+i|0;k=5}if((k|0)==5){c[(g&p)+8>>2]=g+24;c[(g&p)>>2]=a;b[(g&o)+4>>1]=(h&65535)+1}return g|0}function Gm(d,f,g,h){d=d|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;x=i;i=i+16|0;if((i|0)>=(j|0))fa();w=x+4|0;v=x;m=c[(h&p)+8>>2]|0;a[(h&n)+6>>0]=0;k=a[(g&n)>>0]|0;if(k<<24>>24>-1){k=k&255;c[(w&p)>>2]=k;l=1}else{l=mm(g,w)|0;k=c[(w&p)>>2]|0}u=d+4|0;s=d+12|0;t=h+4|0;d=k;r=k;q=l&255;k=0;while(1){if(q>>>0>=d>>>0|(r|0)>(f|0))break;h=g+q|0;d=a[(h&n)>>0]|0;if(d<<24>>24>-1){c[(v&p)>>2]=d&255;h=1}else h=mm(h,v)|0;a[(m&n)+10>>0]=a[(u&n)>>0]|0;c[(m&p)+32>>2]=c[(s&p)>>2];c[(m&p)+24>>2]=0;l=om(g+r|0,c[(v&p)>>2]|0,m)|0;k=k+1<<16>>16;if((k&65535)>=(e[(t&o)>>1]|0))break;d=c[(w&p)>>2]|0;r=l+r|0;q=(h&255)+q|0;m=m+40|0}b[(t&o)>>1]=k;i=x;return}function Hm(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=b+73|0;if((a[(g&n)>>0]|0)==1?(a[(b&n)+72>>0]&8)!=0:0)f=0;else h=3;do if((h|0)==3){f=qm(b)|0;if(!f){if(!(a[(g&n)>>0]|0)){c[(e&p)>>2]=1;f=0;break}c[(e&p)>>2]=0;f=Fp(b)|0;e=b+72|0;g=d[(e&n)>>0]|0;if(!f){a[(e&n)>>0]=g|8;f=0;break}else{a[(e&n)>>0]=g&247;break}}}while(0);return f|0}function Im(f,g,h,k,l,m,q,r,s){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;r=r|0;s=s|0;var 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;O=i;i=i+32|0;if((i|0)>=(j|0))fa();x=O;D=O+24|0;E=O+20|0;C=O+16|0;N=O+12|0;K=O+8|0;L=O+28|0;c[(K&p)>>2]=s;u=(c[(f&p)>>2]|0)+4|0;w=c[(u&p)>>2]|0;M=f+73|0;do if((a[(M&n)>>0]|0)!=4){v=Ln(w,c[(f&p)+60>>2]|0,f)|0;c[(N&p)>>2]=v;if(!v){if(!(c[(f&p)+16>>2]|0)){v=c[((c[(u&p)>>2]|0)&p)+8>>2]|0;if(v)do{if((a[(v&n)+72>>0]&16)!=0?(H=v+24|0,(c[(H&p)>>2]|0)==(h|0)?(c[(H&p)+4>>2]|0)==(k|0):0):0)a[(v&n)+73>>0]=0;v=c[(v&p)+8>>2]|0}while((v|0)!=0);if((a[(f&n)+72>>0]&2)!=0&((k|0)>0|(k|0)==0&h>>>0>0)?(H=f+24|0,A=c[(H&p)>>2]|0,H=c[(H&p)+4>>2]|0,B=jw(h|0,k|0,-1,-1)|0,(A|0)==(B|0)&(H|0)==(G|0)):0)c[(K&p)>>2]=-1;else F=13}else F=13;if(((F|0)==13?(s|0)==0:0)?(t=Gp(f,g,h,k,r,K)|0,c[(N&p)>>2]=t,(t|0)!=0):0)break;I=f+76|0;J=c[(f+(b[(I&o)>>1]<<2)&p)+120>>2]|0;H=c[(w&p)+80>>2]|0;c[(E&p)>>2]=0;r=J+52|0;B=c[(r&p)>>2]|0;c[(C&p)>>2]=0;v=d[(J&n)+7>>0]|0;w=q+m|0;if(a[(J&n)+3>>0]|0){if(w>>>0<128){a[(H+v&n)>>0]=w;u=1}else u=(pm(H+v|0,w,((w|0)<0)<<31>>31)|0)&255;v=u+v|0}s=(pm(H+v|0,h,k)|0)+v|0;do if(!(a[(J&n)+2>>0]|0))if((k|0)>0|(k|0)==0&h>>>0>2147483647|(g|0)==0){c[(x&p)>>2]=58825;c[(x&p)+4>>2]=10788;bd(11,13600,x);t=11;v=0;break}else{A=m;w=h;m=h;q=g;F=24;break}else{A=0;q=l;F=24}while(0);do if((F|0)==24){v=e[(J&o)+10>>1]|0;if((w|0)>(v|0)){u=e[(J&o)+12>>1]|0;r=(((w-u|0)>>>0)%(((c[((c[(r&p)>>2]|0)&p)+36>>2]|0)+-4|0)>>>0)|0)+u|0;r=(r|0)>(v|0)?u:r;u=r+s|0;v=u+4|0;u=H+u|0}else{v=w+s|0;v=(v|0)<4?4:v;u=H;r=w}if((w|0)>0){h=B+17|0;y=B+36|0;z=B+32|0;g=m;x=H+s|0;k=u;s=0;m=r;while(1){if(!m){x=c[(C&p)>>2]|0;if(!(a[(h&n)>>0]|0))u=x;else{t=((c[2514]|0)>>>0)/((c[(z&p)>>2]|0)>>>0)|0;m=x;while(1){u=m+1|0;if(u>>>0<2)r=0;else{r=m+-1|0;r=r-((r>>>0)%(((((c[(y&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;r=((r+1|0)==(t|0)?3:2)+r|0}if((r|0)==(u|0)|(m|0)==(t|0))m=u;else break}c[(C&p)>>2]=u}t=ip(B,E,C,u,0)|0;c[(D&p)>>2]=t;u=(t|0)==0;if((a[(h&n)>>0]|0)!=0&u){u=c[(C&p)>>2]|0;zp(B,u,(x|0)!=0?4:3,x,D);t=c[(D&p)>>2]|0;if(t){r=s;F=38;break}}else{if(!u)break;u=c[(C&p)>>2]|0}a[(k&n)>>0]=u>>>24;a[(k&n)+1>>0]=u>>>16;a[(k&n)+2>>0]=u>>>8;a[(k&n)+3>>0]=u;if(s)Bg(c[(s&p)+68>>2]|0);t=c[(E&p)>>2]|0;x=t+56|0;k=c[(x&p)>>2]|0;a[(k&n)>>0]=0;a[(k&n)+1>>0]=0;a[(k&n)+2>>0]=0;a[(k&n)+3>>0]=0;x=(c[(x&p)>>2]|0)+4|0;m=(c[(y&p)>>2]|0)+-4|0}else t=s;u=(w|0)>(m|0)?m:w;if((g|0)>0){u=(u|0)>(g|0)?g:u;kw(x|0,q|0,u|0)|0}else fw(x|0,0,u|0)|0;w=w-u|0;r=(g|0)==(u|0);if((w|0)<=0){F=51;break}else{g=r?A:g-u|0;x=x+u|0;q=r?l:q+u|0;s=t;m=m-u|0}}if((F|0)==38){s=c[(E&p)>>2]|0;if(!s)s=r;else{Bg(c[(s&p)+68>>2]|0);s=r}}else if((F|0)==51){if(!t){t=0;break}Bg(c[(t&p)+68>>2]|0);t=0;break}if(s)Bg(c[(s&p)+68>>2]|0)}else t=0}while(0);c[(N&p)>>2]=t;if(!t){t=f+(b[(I&o)>>1]<<1)+78|0;r=b[(t&o)>>1]|0;u=r&65535;s=c[(K&p)>>2]|0;if(!s){t=Gg(c[(J&p)+68>>2]|0)|0;c[(N&p)>>2]=t;if(t)break;t=u<<1;F=c[(J&p)+64>>2]|0;t=(c[(J&p)+56>>2]|0)+((d[(F+t&n)>>0]<<8|d[(F+(t|1)&n)>>0])&e[(J&o)+20>>1])|0;if(!(a[(J&n)+5>>0]|0)){F=d[(t&n)>>0]|d[(t&n)+1>>0]<<8|d[(t&n)+2>>0]<<16|d[(t&n)+3>>0]<<24;a[(H&n)>>0]=F;a[(H&n)+1>>0]=F>>8;a[(H&n)+2>>0]=F>>16;a[(H&n)+3>>0]=F>>24}c[(N&p)>>2]=Hp(J,t,L)|0;Ip(J,u,e[(L&o)>>1]|0,N);t=c[(N&p)>>2]|0;if(!t)t=u;else break}else if((s|0)<0?(b[(J&o)+18>>1]|0)!=0:0){F=r+1<<16>>16;b[(t&o)>>1]=F;t=F&65535}else t=u;Jp(J,t,H,v,0,0,N);b[(f&o)+44>>1]=0;t=c[(N&p)>>2]|0;if(!t)if(!(a[(J&n)+1>>0]|0))t=0;else{t=f+72|0;a[(t&n)>>0]=d[(t&n)>>0]&253;t=Kp(f)|0;c[(N&p)>>2]=t;a[((c[(f+(b[(I&o)>>1]<<2)&p)+120>>2]|0)&n)+1>>0]=0;a[(M&n)>>0]=0}}}else t=v}else t=c[(f&p)+68>>2]|0;while(0);i=O;return t|0}function Jm(f){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,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();B=C+4|0;t=C+8|0;l=C;m=(c[(f&p)>>2]|0)+4|0;v=c[(m&p)>>2]|0;z=f+76|0;A=b[(z&o)>>1]|0;x=A<<16>>16;s=b[(f+(x<<1)&o)+78>>1]|0;y=s&65535;u=c[(f+(x<<2)&p)+120>>2]|0;do if((s&65535)<(e[(u&o)+18>>1]|0)?(a[(f&n)+73>>0]|0)==1:0){s=y<<1;w=c[(u&p)+64>>2]|0;s=(c[(u&p)+56>>2]|0)+((d[(w+s&n)>>0]<<8|d[(w+(s|1)&n)>>0])&e[(u&o)+20>>1])|0;w=u+5|0;if((a[(w&n)>>0]|0)==0?(c[(l&p)>>2]=0,k=Em(f,l)|0,c[(B&p)>>2]=k,(k|0)!=0):0){g=k;break}k=Ln(v,c[(f&p)+60>>2]|0,f)|0;c[(B&p)>>2]=k;if(!k){if((c[(f&p)+16>>2]|0)==0?(r=f+24|0,q=c[(r&p)>>2]|0,r=c[(r&p)+4>>2]|0,h=c[((c[(m&p)>>2]|0)&p)+8>>2]|0,(h|0)!=0):0)do{if((a[(h&n)+72>>0]&16)!=0?(m=h+24|0,(c[(m&p)>>2]|0)==(q|0)?(c[(m&p)+4>>2]|0)==(r|0):0):0)a[(h&n)+73>>0]=0;h=c[(h&p)+8>>2]|0}while((h|0)!=0);h=Gg(c[(u&p)+68>>2]|0)|0;c[(B&p)>>2]=h;if(!h){c[(B&p)>>2]=Hp(u,s,t)|0;Ip(u,y,e[(t&o)>>1]|0,B);h=c[(B&p)>>2]|0;if(!h){if((a[(w&n)>>0]|0)==0?(s=c[(f+(b[(z&o)>>1]<<2)&p)+120>>2]|0,r=c[((c[(f+(x+1<<2)&p)+120>>2]|0)&p)+72>>2]|0,l=c[(s&p)+56>>2]|0,t=s+18|0,m=e[(t&o)>>1]<<1,g=c[(s&p)+64>>2]|0,m=(d[(g+m+-2&n)>>0]<<8|d[(g+m+-1&n)>>0])&e[(s&o)+20>>1],g=(Lp(s,l+m|0)|0)&65535,q=c[(v&p)+80>>2]|0,c[(B&p)>>2]=Gg(c[(s&p)+68>>2]|0)|0,Jp(u,y,l+(m+-4)|0,g+4|0,q,r,B),Ip(s,(e[(t&o)>>1]|0)+-1|0,g,B),g=c[(B&p)>>2]|0,(g|0)!=0):0)break;g=Kp(f)|0;c[(B&p)>>2]=g;if(!g){g=b[(z&o)>>1]|0;if(g<<16>>16>A<<16>>16){do{h=g+-1<<16>>16;b[(z&o)>>1]=h;g=c[(f+(g<<16>>16<<2)&p)+120>>2]|0;if(!g)g=h;else{Bg(c[(g&p)+68>>2]|0);g=b[(z&o)>>1]|0}}while(g<<16>>16>A<<16>>16);g=Kp(f)|0;c[(B&p)>>2]=g;if(g)break}qm(f)|0;g=0}}else g=h}else g=h}else g=k}else g=1;while(0);i=C;return g|0}function Km(f,g,k,l){f=f|0;g=g|0;k=k|0;l=l|0;var m=0,r=0,s=0,t=0,u=0.0,v=0.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;P=i;i=i+64|0;if((i|0)>=(j|0))fa();N=P+40|0;t=P+56|0;L=P;r=P+52|0;M=P+48|0;w=c[(k&p)+8>>2]|0;O=c[(k&p)>>2]|0;do if(!l){l=a[(g&n)>>0]|0;if(l<<24>>24>-1){l=l&255;c[(t&p)>>2]=l;m=1}else{m=mm(g,t)|0;l=c[(t&p)>>2]|0}if(l>>>0>f>>>0){c[(N&p)>>2]=68267;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(k&n)+7>>0]=11;m=0;break}else{K=l;t=l;l=0;r=m&255;s=15;break}}else{l=g+1|0;m=a[(l&n)>>0]|0;if(m<<24>>24>-1){l=m&255;c[(r&p)>>2]=l;s=1}else{s=mm(l,r)|0;l=c[(r&p)>>2]|0}m=d[(g&n)>>0]|0;c[(t&p)>>2]=m;if(l>>>0>11)l=(l+-12|0)>>>1;else l=d[(l&n)+34336>>0]|0;K=m;t=l+m|0;l=1;r=(s&255)+1|0;w=w+40|0;s=15}while(0);do if((s|0)==15){A=L+12|0;B=O+4|0;C=L+10|0;D=O+12|0;E=L+32|0;F=L+8|0;H=L+16|0;J=k+7|0;I=k+4|0;z=t;y=r;a:while(1){r=e[(w&o)+8>>1]|0;do if(!(r&4)){if(r&8){s=a[(g+y&n)>>0]|0;t=s&255;c[(M&p)>>2]=t;if((s&255)>11){m=1;s=62;break a}if(!(s<<24>>24)){m=-1;s=62;break a}u=+h[(w&q)>>3];om(g+z|0,t,L)|0;if(s<<24>>24==7)v=+h[(L&q)>>3];else{m=L;v=+((c[(m&p)>>2]|0)>>>0)+4294967296.0*+(c[(m&p)+4>>2]|0)}if(v<u){m=-1;s=62;break a}if(v>u){m=1;s=62;break a}else break}do if(!(r&2)){s=g+y|0;x=a[(s&n)>>0]|0;t=x&255;if(!(r&16)){c[(M&p)>>2]=t;m=x<<24>>24!=0&1;break}if(x<<24>>24>-1)c[(M&p)>>2]=t;else{mm(s,M)|0;t=c[(M&p)>>2]|0}if(!(t>>>0>11&(t&1|0)==0)){m=-1;s=62;break a}x=(t+-12|0)>>>1;if((x+z|0)>>>0>f>>>0){s=57;break a}s=c[(w&p)+12>>2]|0;m=Zv(g+z|0,c[(w&p)+16>>2]|0,(x|0)<(s|0)?x:s)|0;if(m){s=62;break a}m=x-s|0}else{t=g+y|0;s=a[(t&n)>>0]|0;if(s<<24>>24>-1){t=s&255;c[(M&p)>>2]=t}else{mm(t,M)|0;t=c[(M&p)>>2]|0}if(t>>>0<12){m=-1;s=62;break a}if(!(t&1)){m=1;s=62;break a}r=(t+-12|0)>>>1;c[(A&p)>>2]=r;if((r+z|0)>>>0>f>>>0){s=46;break a}s=c[(O+(l<<2)&p)+20>>2]|0;if(s){a[(C&n)>>0]=a[(B&n)>>0]|0;c[(E&p)>>2]=c[(D&p)>>2];b[(F&o)>>1]=2;c[(H&p)>>2]=g+z;m=pp(L,w,s,J)|0;break}x=c[(w&p)+12>>2]|0;m=Zv(g+z|0,c[(w&p)+16>>2]|0,(r|0)<(x|0)?r:x)|0;if(m){s=62;break a}m=r-x|0}while(0);if(m){s=62;break a}}else{s=a[(g+y&n)>>0]|0;t=s&255;c[(M&p)>>2]=t;if((s&255)>11){m=1;s=62;break a}if(s<<24>>24==7){m=w;u=+((c[(m&p)>>2]|0)>>>0)+4294967296.0*+(c[(m&p)+4>>2]|0);om(g+z|0,t,L)|0;v=+h[(L&q)>>3];if(v<u){m=-1;s=62;break a}if(v>u){m=1;s=62;break a}else break}else if(!(s<<24>>24)){m=-1;s=62;break a}s=g+z|0;switch(t|0){case 6:{m=d[(g+z&n)+1>>0]<<16|d[(s&n)>>0]<<24|d[(g+z&n)+2>>0]<<8|d[(g+z&n)+3>>0];x=d[(g+z&n)+5>>0]<<16|d[(g+z&n)+4>>0]<<24|d[(g+z&n)+6>>0]<<8|d[(g+z&n)+7>>0];break}case 3:{x=d[(g+z&n)+1>>0]<<8|a[(s&n)>>0]<<16|d[(g+z&n)+2>>0];m=((x|0)<0)<<31>>31;break}case 5:{m=a[(s&n)>>0]<<8|d[(g+z&n)+1>>0];x=d[(g+z&n)+3>>0]<<16|d[(g+z&n)+2>>0]<<24|d[(g+z&n)+4>>0]<<8|d[(g+z&n)+5>>0];break}case 1:case 0:{x=a[(s&n)>>0]|0;m=((x|0)<0)<<31>>31;break}case 4:{x=d[(g+z&n)+1>>0]<<16|d[(s&n)>>0]<<24|d[(g+z&n)+2>>0]<<8|d[(g+z&n)+3>>0];m=((x|0)<0)<<31>>31;break}case 2:{x=a[(s&n)>>0]<<8|d[(g+z&n)+1>>0];m=((x|0)<0)<<31>>31;break}default:{m=0;x=t+-8|0}}r=w;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;if((m|0)<(r|0)|(m|0)==(r|0)&x>>>0<s>>>0){m=-1;s=62;break a}if((m|0)>(r|0)|(m|0)==(r|0)&x>>>0>s>>>0){m=1;s=62;break a}}while(0);l=l+1|0;w=w+40|0;if(t>>>0>11)r=(t+-12|0)>>>1;else r=d[(t&n)+34336>>0]|0;x=t;s=0;t=0;do{t=t+1|0;x=mw(x|0,s|0,7)|0;s=G}while(((x|0)!=0|(s|0)!=0)&(t|0)<9);z=r+z|0;y=t+y|0;if(y>>>0>=K>>>0){s=70;break}if(z>>>0>f>>>0?1:(l|0)>=(e[(I&o)>>1]|0)){s=70;break}}if((s|0)==46){c[(N&p)>>2]=68346;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(J&n)>>0]=11;m=0;break}else if((s|0)==57){c[(N&p)>>2]=68375;c[(N&p)+4>>2]=10788;bd(11,13600,N);a[(J&n)>>0]=11;m=0;break}else if((s|0)==62){m=(a[((c[(O&p)+16>>2]|0)+l&n)>>0]|0)==0?m:0-m|0;break}else if((s|0)==70){m=a[(k&n)+6>>0]|0;break}}while(0);i=P;return m|0}function Lm(f,g,h,k,l){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var 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();D=E;B=E+12|0;C=E+8|0;m=b[(f&o)+76>>1]|0;r=c[(f+(m<<2)&p)+120>>2]|0;A=c[(f&p)+4>>2]|0;if(!(b[(f&o)+44>>1]|0)){v=r+56|0;m=e[(f+(m<<1)&o)+78>>1]<<1;u=c[(r&p)+64>>2]|0;rp(r,(c[(v&p)>>2]|0)+((d[(u+m&n)>>0]<<8|d[(u+(m|1)&n)>>0])&e[(r&o)+20>>1])|0,f+24|0);m=f+72|0;a[(m&n)>>0]=d[(m&n)>>0]|2;m=v}else m=r+56|0;v=c[(f&p)+32>>2]|0;t=f+40|0;q=e[(t&o)>>1]|0;u=A+36|0;if((v+q|0)>>>0<=((c[(m&p)>>2]|0)+(c[(u&p)>>2]|0)|0)>>>0){if(q>>>0>g>>>0){s=(h+g|0)>>>0>q>>>0?q-g|0:h;q=v+g|0;if(l&1){m=Gg(c[(r&p)+68>>2]|0)|0;if(!m){kw(q|0,k|0,s|0)|0;m=0}}else{kw(k|0,q|0,s|0)|0;m=0}k=k+s|0;w=0;h=h-s|0}else{w=g-q|0;m=0}a:do if((m|0)==0&(h|0)!=0){m=c[(u&p)>>2]|0;z=m+-4|0;q=e[(t&o)>>1]|0;t=d[(v+q&n)+1>>0]<<16|d[(v+q&n)>>0]<<24|d[(v+q&n)+2>>0]<<8|d[(v+q&n)+3>>0];c[(B&p)>>2]=t;v=f+72|0;do if((l|0)!=2?(a[(v&n)>>0]&4)==0:0){m=((m+-5+(c[(f&p)+36>>2]|0)-q|0)>>>0)/(z>>>0)|0;g=f+64|0;if((m|0)>(c[(g&p)>>2]|0)){r=f+20|0;q=rg(c[(r&p)>>2]|0,m<<3,0)|0;if(!q){m=7;break}c[(g&p)>>2]=m<<1;c[(r&p)>>2]=q}fw(c[(f&p)+20>>2]|0,0,m<<2|0)|0;a[(v&n)>>0]=d[(v&n)>>0]|4;m=0}else m=0;while(0);g=a[(v&n)>>0]|0;if((g&4)!=0?(y=(w>>>0)/(z>>>0)|0,x=c[((c[(f&p)+20>>2]|0)+(y<<2)&p)>>2]|0,(x|0)!=0):0){c[(B&p)>>2]=x;s=(w>>>0)%(z>>>0)|0;r=x;t=y}else{s=w;r=t;t=0}if((m|0)==0&(r|0)!=0){x=l&1;y=x<<1^2;x=(x|0)==0;l=f+20|0;while(1){if(g&4)c[((c[(l&p)>>2]|0)+(t<<2)&p)>>2]=r;if(s>>>0<z>>>0){u=(s+h|0)>>>0>z>>>0?z-s|0:h;m=zg(c[(A&p)>>2]|0,r,C,y)|0;if(!m){g=c[(C&p)>>2]|0;q=c[(g&p)+4>>2]|0;r=d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0];c[(B&p)>>2]=r;q=q+(s+4)|0;if(!x){m=Gg(g)|0;if(!m){kw(q|0,k|0,u|0)|0;m=0}}else{kw(k|0,q|0,u|0)|0;m=0}if(!g)s=0;else{Bg(g);s=0}}h=h-u|0;k=k+u|0;t=t+1|0}else{g=t+1|0;m=c[((c[(l&p)>>2]|0)+(g<<2)&p)>>2]|0;if(!m){m=Mp(A,r,0,B)|0;r=c[(B&p)>>2]|0}else{c[(B&p)>>2]=m;r=m;m=0}s=s-z|0;t=g}if(!((m|0)==0&(h|0)!=0&(r|0)!=0))break a;g=a[(v&n)>>0]|0}}}while(0);if((m|0)==0&(h|0)!=0){c[(D&p)>>2]=57357;c[(D&p)+4>>2]=10788;bd(11,13600,D);m=11}}else{c[(D&p)>>2]=57202;c[(D&p)+4>>2]=10788;bd(11,13600,D);m=11}i=E;return m|0}function Mm(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[(a&p)>>2]|0;d=a+44|0;mg(e,c[(d&p)>>2]|0);a=b+8|0;c[(d&p)>>2]=kh(e,c[(a&p)>>2]|0)|0;Wc(c[(a&p)>>2]|0);c[(a&p)>>2]=0;return}function Nm(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;u=i;i=i+16|0;if((i|0)>=(j|0))fa();k=u+4|0;s=u;t=e+12|0;if(!(c[(t&p)>>2]|0)){h=e+8|0;g=Fm(c[((c[(h&p)>>2]|0)&p)+28>>2]|0,0,0,k)|0;c[(t&p)>>2]=g;if(!(c[(k&p)>>2]|0))g=7;else{b[(g&o)+4>>1]=b[((c[((c[(h&p)>>2]|0)&p)+28>>2]|0)&o)+6>>1]|0;a[(g&n)+7>>0]=0;l=4}}else l=4;if((l|0)==4){r=qg(256,0)|0;if(!r)g=7;else{fw(r|0,0,256)|0;g=c[(f&p)>>2]|0;c[(s&p)>>2]=g;if(g){q=f+4|0;while(1){h=c[(q&p)>>2]|0;if(h)if((g|0)==(h|0))m=0;else m=h+(c[(g&p)+4>>2]|0)|0;else m=c[(g&p)+4>>2]|0;c[(g&p)+4>>2]=0;l=c[(r&p)>>2]|0;k=c[(s&p)>>2]|0;if(!l)l=r;else{h=r;g=0;do{Np(e,k,l,s);c[(h&p)>>2]=0;g=g+1|0;h=r+(g<<2)|0;l=c[(h&p)>>2]|0;k=c[(s&p)>>2]|0}while((l|0)!=0);l=h}c[(l&p)>>2]=k;c[(s&p)>>2]=m;if(!m)break;else g=m}}c[(s&p)>>2]=0;g=0;h=0;do{Np(e,g,c[(r+(h<<2)&p)>>2]|0,s);h=h+1|0;g=c[(s&p)>>2]|0}while((h|0)!=64);c[(f&p)>>2]=g;Wc(r);g=d[((c[(t&p)>>2]|0)&n)+7>>0]|0}}i=u;return g|0}function Om(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+64|0;if((i|0)>=(j|0))fa();m=q+40|0;o=q;a[(b&n)+56>>0]=1;g=b+64|0;l=b+36|0;k=b+72|0;h=c[((c[(k&p)>>2]|0)&p)+24>>2]|0;f=o+0|0;e=f+40|0;do{c[(f&p)>>2]=0;f=f+4|0}while((f|0)<(e|0));f=b+96|0;if(!((c[(f&p)>>2]|0)==0?(d=Op(h,f)|0,(d|0)!=0):0)){d=Nm(g,l)|0;if(!d){g=b+104|0;d=g;Pp(c[(f&p)>>2]|0,o,c[((c[(k&p)>>2]|0)&p)+12>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0);d=b+92|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=c[(b&p)+44>>2]|0;Qp(o,m,pm(m,d,((d|0)<0)<<31>>31)|0);d=c[(l&p)>>2]|0;if(d){f=b+40|0;do{e=d;d=c[(d&p)+4>>2]|0;b=c[(e&p)>>2]|0;Qp(o,m,pm(m,b,((b|0)<0)<<31>>31)|0);Qp(o,e+8|0,c[(e&p)>>2]|0);if(!(c[(f&p)>>2]|0))Wc(e)}while((d|0)!=0)}c[(l&p)>>2]=0;d=Rp(o,g)|0}}i=q;return d|0}function Pm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();q=s;g=d;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;r=Qm(b)|0;c[(e&p)>>2]=r;h=(r|0)==0;f=h?7:0;h=h^1;if((b|0)>0&h){o=r+12|0;n=a+32|0;m=0;do{h=c[(o&p)>>2]|0;l=h+(m*56|0)|0;f=Sp(a,l,n,k,g)|0;if(!f){f=Tp(l,q)|0;g=l;k=q;g=jw(c[(k&p)>>2]|0,c[(k&p)+4>>2]|0,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0)|0;k=h+(m*56|0)+8|0;h=k;c[(h&p)>>2]=g;c[(h&p)+4>>2]=G;if(!f)f=Up(l)|0}else k=h+(m*56|0)+8|0;g=k;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;m=m+1|0;h=(f|0)==0}while((m|0)<(b|0)&h)}if(!h){Tm(r);c[(e&p)>>2]=0}b=d;c[(b&p)>>2]=k;c[(b&p)+4>>2]=g;i=s;return f|0}function Qm(a){a=a|0;var b=0,d=0;b=2;while(1)if((b|0)<(a|0))b=b<<1;else{d=b;break}b=c[2252]|0;if((b|0)!=0?(lc[b&127](100)|0)!=0:0)b=0;else{a=(d*60|0)+16|0;b=qg(a,((a|0)<0)<<31>>31)|0;if(!b)b=0;else{fw(b|0,0,a|0)|0;c[(b&p)>>2]=d;c[(b&p)+4>>2]=0;a=b+16|0;c[(b&p)+12>>2]=a;c[(b&p)+8>>2]=a+(d*56|0)}}return b|0}function Rm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[2252]|0;if((f|0)!=0?(lc[f&127](100)|0)!=0:0){f=0;i=6}else i=3;do if((i|0)==3){f=qg(64,0)|0;if(!f){i=6;break}else{g=f+0|0;h=g+64|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(h|0));c[(e&p)>>2]=f;c[(f&p)+4>>2]=d;c[(f&p)>>2]=b;h=c[(b&p)+8>>2]|0;g=(c[(h&p)+8>>2]|0)+9|0;h=(c[(h&p)+4>>2]|0)/2|0;h=(g|0)>(h|0)?g:h;c[(f&p)+16>>2]=h;f=b+56|0;g=f;g=jw(h|0,((h|0)<0)<<31>>31|0,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0)|0;c[(f&p)>>2]=g;c[(f&p)+4>>2]=G;f=0;break}}while(0);if((i|0)==6){c[(e&p)>>2]=f;Tm(d);f=7}return f|0}function Sm(a){a=a|0;if(a){Tm(c[(a&p)+4>>2]|0);Wc(a)}return}function Tm(a){a=a|0;var b=0,d=0;if((a|0)!=0?(c[(a&p)>>2]|0)>0:0){b=a+12|0;d=0;do{Vp((c[(b&p)>>2]|0)+(d*56|0)|0);d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}Wc(a);return}function Um(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;o=c[(b&p)>>2]|0;t=b+4|0;c[(t&p)>>2]=a;a:do if((o|0)>0){q=b+12|0;r=0;do{l=c[(q&p)>>2]|0;j=l+(r*56|0)|0;l=c[(l+(r*56|0)&p)+48>>2]|0;if(l){m=c[(l&p)>>2]|0;i=c[((c[(m&p)+8>>2]|0)&p)+24>>2]|0;e=Um(m,c[(l&p)+4>>2]|0)|0;if(e)break a;k=c[(l&p)+16>>2]|0;g=m+48|0;h=c[(g&p)>>2]|0;f=m+56|0;if(!h){e=Op(i,g)|0;i=f;c[(i&p)>>2]=0;c[(i&p)+4>>2]=0;if(e)break a;h=c[(g&p)>>2]|0;g=0;f=0}else{g=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0}c[(l&p)+48>>2]=h;l=l+8|0;c[(l&p)>>2]=g;c[(l&p)+4>>2]=f;l=jw(g|0,f|0,k|0,((k|0)<0)<<31>>31|0)|0;e=m+56|0;c[(e&p)>>2]=l;c[(e&p)+4>>2]=G;e=Up(j)|0;if(e)break a}r=r+1|0}while((r|0)<(o|0));e=c[(b&p)>>2]|0;s=12}else{e=o;s=12}while(0);if((s|0)==12){f=e+-1|0;b:do if((f|0)>0){j=b+12|0;k=b+8|0;h=e;g=e;i=f;while(1){e=(h|0)/2|0;if((g|0)>(e|0)){g=i-e<<1;e=g;g=g|1}else{g=i<<1;o=c[(k&p)>>2]|0;e=c[(o+(g<<2)&p)>>2]|0;g=c[(o+((g|1)<<2)&p)>>2]|0}f=c[(j&p)>>2]|0;if(c[(f+(e*56|0)&p)+24>>2]|0){if(c[(f+(g*56|0)&p)+24>>2]|0){o=(Wp(c[(t&p)>>2]|0,c[(f+(e*56|0)&p)+32>>2]|0,c[(f+(e*56|0)&p)+20>>2]|0,c[(f+(g*56|0)&p)+32>>2]|0,c[(f+(g*56|0)&p)+20>>2]|0)|0)<1;e=o?e:g}}else e=g;c[((c[(k&p)>>2]|0)+(i<<2)&p)>>2]=e;e=i+-1|0;if((e|0)<=0)break b;g=i;h=c[(b&p)>>2]|0;i=e}}while(0);e=d[((c[(a&p)+12>>2]|0)&n)+7>>0]|0}return e|0}function Vm(f){f=f|0;var g=0,h=0,i=0,j=0,k=0;i=f+76|0;do{g=b[(i&o)>>1]|0;h=c[(f+(g<<2)&p)+120>>2]|0;if(a[(h&n)+5>>0]|0){g=0;break}j=c[(h&p)+56>>2]|0;g=e[(f+(g<<1)&o)+78>>1]<<1;k=c[(h&p)+64>>2]|0;g=(d[(k+g&n)>>0]<<8|d[(k+(g|1)&n)>>0])&e[(h&o)+20>>1];g=rm(f,d[(j+g&n)+1>>0]<<16|d[(j+g&n)>>0]<<24|d[(j+g&n)+2>>0]<<8|d[(j+g&n)+3>>0])|0}while((g|0)==0);return g|0}function Wm(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=a+8|0;g=c[((c[(s&p)>>2]|0)&p)+4>>2]|0;w=c[(a&p)+4>>2]|0;u=a+12|0;e=Up((c[(u&p)>>2]|0)+(g*56|0)|0)|0;if(!e){e=c[(u&p)>>2]|0;f=g|1;a=(c[(a&p)>>2]|0)+g|0;a:do if((a|0)>1){m=e;o=a;i=c[(e+(f*56|0)&p)+32>>2]|0;q=e+((g&65534)*56|0)|0;g=e+(f*56|0)|0;while(1){r=q+24|0;j=q;k=q+32|0;l=q+20|0;e=m;h=o;a=i;while(1){f=h;h=(h|0)/2|0;if(!(c[(r&p)>>2]|0)){i=a;break}if(((c[(g&p)+24>>2]|0)!=0?(t=Wp(w,c[(k&p)>>2]|0,c[(l&p)>>2]|0,a,c[(g&p)+20>>2]|0)|0,(t|0)>=0):0)?!((t|0)==0&q>>>0<g>>>0):0){v=10;break}i=c[(u&p)>>2]|0;a=c[(s&p)>>2]|0;c[(a+(h<<2)&p)>>2]=(j-i|0)/56|0;g=c[(a+((h^1)<<2)&p)>>2]|0;if((f|0)<=3){e=i;break a}else{e=i;a=c[(i+(g*56|0)&p)+32>>2]|0;g=i+(g*56|0)|0}}if((v|0)==10){v=0;e=c[(u&p)>>2]|0;i=(c[(r&p)>>2]|0)==0?a:0}a=c[(s&p)>>2]|0;c[(a+(h<<2)&p)>>2]=(g-e|0)/56|0;if((f|0)>3){m=e;o=h;q=e+((c[(a+((h^1)<<2)&p)>>2]|0)*56|0)|0}else break}}else a=c[(s&p)>>2]|0;while(0);c[(b&p)>>2]=(c[(e+((c[(a&p)+4>>2]|0)*56|0)&p)+24>>2]|0)==0&1;e=d[((c[(w&p)+12>>2]|0)&n)+7>>0]|0}return e|0}function Xm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=b+4|0;g=c[(f&p)>>2]|0;c[(g&p)+4>>2]=c[(b&p)>>2];b=Ln(g,d,0)|0;if(!b){b=c[((c[(f&p)>>2]|0)&p)+8>>2]|0;if(b)do{if(a[(b&n)+72>>0]&16)a[(b&n)+73>>0]=0;b=c[(b&p)+8>>2]|0}while((b|0)!=0);b=Xp(g,d,0,e)|0}return b|0}function Ym(f,g,h){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,z=0,A=0,B=0,C=0,D=0;C=i;i=i+32|0;if((i|0)>=(j|0))fa();t=C;B=C+16|0;A=C+12|0;z=C+8|0;c[(B&p)>>2]=0;m=c[(f&p)+12>>2]|0;if(!g){g=Yp(f,h)|0;c[(A&p)>>2]=g}else{c[(A&p)>>2]=g;u=(c[(g&p)+68>>2]|0)+26|0;b[(u&o)>>1]=(b[(u&o)>>1]|0)+1<<16>>16}l=Gg(c[(m&p)+68>>2]|0)|0;c[(z&p)>>2]=l;do if(!l){u=m+56|0;s=c[(u&p)>>2]|0;D=s+36|0;l=s+37|0;m=s+38|0;s=s+39|0;q=d[(l&n)>>0]<<16|d[(D&n)>>0]<<24|d[(m&n)>>0]<<8|d[(s&n)>>0];r=q+1|0;a[(D&n)>>0]=r>>>24;a[(l&n)>>0]=r>>>16;a[(m&n)>>0]=r>>>8;a[(s&n)>>0]=r;s=f+22|0;if(b[(s&o)>>1]&4){if(!g){m=dl(f,h,A,0)|0;c[(z&p)>>2]=m;if(m){k=m;break}g=c[(A&p)>>2]|0}m=Gg(c[(g&p)+68>>2]|0)|0;c[(z&p)>>2]=m;if(m){k=m;break}fw(c[(g&p)+56>>2]|0,0,c[((c[(g&p)+52>>2]|0)&p)+32>>2]|0)|0}if((a[(f&n)+17>>0]|0)!=0?(zp(f,h,2,0,z),k=c[(z&p)>>2]|0,(k|0)!=0):0)break;if(q){l=c[(u&p)>>2]|0;l=d[(l&n)+33>>0]<<16|d[(l&n)+32>>0]<<24|d[(l&n)+34>>0]<<8|d[(l&n)+35>>0];k=dl(f,l,B,0)|0;c[(z&p)>>2]=k;if(k)break;k=c[(B&p)>>2]|0;r=k+56|0;q=c[(r&p)>>2]|0;q=d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0];m=(c[(f&p)+36>>2]|0)>>>2;if(q>>>0>(m+-2|0)>>>0){c[(t&p)>>2]=58627;c[(t&p)+4>>2]=10788;bd(11,13600,t);c[(z&p)>>2]=11;k=11;break}if(q>>>0<(m+-8|0)>>>0){k=Gg(c[(k&p)+68>>2]|0)|0;c[(z&p)>>2]=k;if(k)break;u=c[(r&p)>>2]|0;t=q+1|0;a[(u&n)+4>>0]=t>>>24;a[(u&n)+5>>0]=t>>>16;a[(u&n)+6>>0]=t>>>8;a[(u&n)+7>>0]=t;u=q<<2;t=c[(r&p)>>2]|0;a[(t+u&n)+8>>0]=h>>>24;a[(t+u&n)+9>>0]=h>>>16;a[(t+u&n)+10>>0]=h>>>8;a[(t+u&n)+11>>0]=h;if((((g|0)!=0?(b[(s&o)>>1]&4)==0:0)?(v=c[(g&p)+68>>2]|0,w=v+24|0,x=e[(w&o)>>1]|0,(x&2|0)!=0):0)?(c[((c[(v&p)+16>>2]|0)&p)+96>>2]|0)==0:0)b[(w&o)>>1]=x|32;l=f+60|0;k=c[(l&p)>>2]|0;do if(!k){g=c[(f&p)+44>>2]|0;k=qg(512,0)|0;if(!k){c[(l&p)>>2]=0;k=7;break}else{fw(k|0,0,512)|0;c[(k&p)>>2]=g;c[(l&p)>>2]=k;y=28;break}}else y=28;while(0);if((y|0)==28)if((c[(k&p)>>2]|0)>>>0<h>>>0)k=0;else k=bi(k,h)|0;c[(z&p)>>2]=k;break}}else l=0;if(!g){k=dl(f,h,A,0)|0;c[(z&p)>>2]=k;if(k)break;g=c[(A&p)>>2]|0}k=Gg(c[(g&p)+68>>2]|0)|0;c[(z&p)>>2]=k;if(!k){k=g+56|0;v=c[(k&p)>>2]|0;a[(v&n)>>0]=l>>>24;a[(v&n)+1>>0]=l>>>16;a[(v&n)+2>>0]=l>>>8;a[(v&n)+3>>0]=l;k=(c[(k&p)>>2]|0)+4|0;a[(k&n)>>0]=0;a[(k&n)+1>>0]=0;a[(k&n)+2>>0]=0;a[(k&n)+3>>0]=0;k=c[(u&p)>>2]|0;a[(k&n)+32>>0]=h>>>24;a[(k&n)+33>>0]=h>>>16;a[(k&n)+34>>0]=h>>>8;a[(k&n)+35>>0]=h;k=0}}else k=l;while(0);g=c[(A&p)>>2]|0;if(g){a[(g&n)>>0]=0;Bg(c[(g&p)+68>>2]|0)}g=c[(B&p)>>2]|0;if(g)Bg(c[(g&p)+68>>2]|0);i=C;return k|0}function Zm(f,g,h,k,l,m){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;S=i;i=i+48|0;if((i|0)>=(j|0))fa();P=S+24|0;G=S;z=S+36|0;Q=S+32|0;w=g+72|0;O=c[(w&p)>>2]|0;x=c[(f&p)>>2]|0;u=c[(g&p)+68>>2]|0;v=x+15|0;if((a[(v&n)>>0]|0)!=0?(q=Gg(u)|0,(q|0)!=0):0)R=20;else R=3;a:do if((R|0)==3){r=u+24|0;t=b[(r&o)>>1]|0;if((t&2)!=0?(Uo(u)|0)!=0:0){q=Vo(u)|0;if(q){R=20;break}t=b[(r&o)>>1]|0}if((t&4)==0|(m|0)!=0)s=0;else s=c[(u&p)+20>>2]|0;b[(r&o)>>1]=t&65531;D=x+204|0;m=ac[c[8876>>2]&63](c[((c[(D&p)>>2]|0)&p)+40>>2]|0,l,0)|0;m=il(c[(D&p)>>2]|0,l,m)|0;do if(m){b[(r&o)>>1]=e[(r&o)>>1]|e[(m&o)+24>>1]&4;if(!(a[(v&n)>>0]|0)){ml(m);break}else{Zp(m,(c[(x&p)+24>>2]|0)+1|0);break}}while(0);t=c[(u&p)+20>>2]|0;Zp(u,l);To(u);if(a[(v&n)>>0]|0){Zp(m,t);Bg(m)}do if(s){q=zg(x,s,P,0)|0;if(!q){D=c[(P&p)>>2]|0;C=D+24|0;b[(C&o)>>1]=e[(C&o)>>1]|4;To(D);Bg(D);break}if(s>>>0>(c[(x&p)+28>>2]|0)>>>0){R=20;break a}ci(c[(x&p)+56>>2]|0,s,c[(x&p)+200>>2]|0);R=20;break a}while(0);c[(Q&p)>>2]=0;c[(w&p)>>2]=l;if(h<<24>>24==1|h<<24>>24==5){q=_p(g)|0;c[(Q&p)>>2]=q;if(!q)R=25;else break}else{m=c[(g&p)+56>>2]|0;m=d[(m&n)+1>>0]<<16|d[(m&n)>>0]<<24|d[(m&n)+2>>0]<<8|d[(m&n)+3>>0];if(m){zp(f,m,4,l,Q);q=c[(Q&p)>>2]|0;if(!q)R=25;else break}}if((R|0)==25?h<<24>>24==1:0){q=0;break}q=dl(f,k,z,0)|0;c[(Q&p)>>2]=q;if(!q){C=c[(z&p)>>2]|0;D=C+68|0;q=Gg(c[(D&p)>>2]|0)|0;c[(Q&p)>>2]=q;if(q){if(!C)break;Bg(c[(D&p)>>2]|0);break}b:do if(h<<24>>24==4){q=c[(C&p)+56>>2]|0;r=q+1|0;s=q+2|0;m=q+3|0;if((d[(r&n)>>0]<<16|d[(q&n)>>0]<<24|d[(s&n)>>0]<<8|d[(m&n)>>0]|0)==(O|0)){a[(q&n)>>0]=l>>>24;a[(r&n)>>0]=l>>>16;a[(s&n)>>0]=l>>>8;a[(m&n)>>0]=l;q=0;break}else{c[(P&p)>>2]=56060;c[(P&p)+4>>2]=10788;bd(11,13600,P);q=11;break}}else{A=a[(C&n)>>0]|0;$p(C)|0;z=b[(C&o)+18>>1]|0;B=z&65535;c:do if(z<<16>>16){g=C+56|0;x=C+20|0;u=C+64|0;y=h<<24>>24==3;z=G+18|0;m=0;while(1){w=c[(g&p)>>2]|0;v=m<<1;t=c[(u&p)>>2]|0;v=(d[(t+v&n)>>0]<<8|d[(t+(v|1)&n)>>0])&e[(x&o)>>1];t=w+v|0;if(y){rp(C,t,G);t=b[(z&o)>>1]|0;if((t<<16>>16!=0?(E=(t&65535)+v|0,F=w+(E+3)|0,F>>>0<=((c[(g&p)>>2]|0)+(e[(x&o)>>1]|0)|0)>>>0):0)?(H=w+E|0,I=w+(E+1)|0,J=w+(E+2)|0,(d[(I&n)>>0]<<16|d[(H&n)>>0]<<24|d[(J&n)>>0]<<8|d[(F&n)>>0]|0)==(O|0)):0){t=F;q=H;r=I;s=J;R=40;break}}else{q=w+(v+1)|0;r=w+(v+2)|0;s=w+(v+3)|0;if((d[(q&n)>>0]<<16|d[(t&n)>>0]<<24|d[(r&n)>>0]<<8|d[(s&n)>>0]|0)==(O|0)){R=42;break}}m=m+1|0;if((m|0)>=(B|0))break c}if((R|0)==40){a[(q&n)>>0]=l>>>24;a[(r&n)>>0]=l>>>16;a[(s&n)>>0]=l>>>8;a[(t&n)>>0]=l;break}else if((R|0)==42){a[(t&n)>>0]=l>>>24;a[(q&n)>>0]=l>>>16;a[(r&n)>>0]=l>>>8;a[(s&n)>>0]=l;break}}else m=0;while(0);do if((m|0)==(B|0)){if(h<<24>>24==5?(N=d[(C&n)+6>>0]|0,J=c[(C&p)+56>>2]|0,K=J+(N+8)|0,L=J+(N+9)|0,M=J+(N+10)|0,N=J+(N+11)|0,(d[(L&n)>>0]<<16|d[(K&n)>>0]<<24|d[(M&n)>>0]<<8|d[(N&n)>>0]|0)==(O|0)):0){a[(K&n)>>0]=l>>>24;a[(L&n)>>0]=l>>>16;a[(M&n)>>0]=l>>>8;a[(N&n)>>0]=l;break}c[(P&p)>>2]=56094;c[(P&p)+4>>2]=10788;bd(11,13600,P);q=11;break b}while(0);a[(C&n)>>0]=A;q=0}while(0);c[(Q&p)>>2]=q;if(C)Bg(c[(D&p)>>2]|0);if(!q){zp(f,l,h,k,Q);q=c[(Q&p)>>2]|0}}}while(0);if((R|0)==20)c[(Q&p)>>2]=q;i=S;return q|0}function _m(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=e+20|0;Tm(c[(j&p)>>2]|0);c[(j&p)>>2]=0;j=e+59|0;if(a[(j&n)>>0]|0){k=0;do{g=e+(k<<6)+76|0;mg(b,c[(g&p)>>2]|0);c[(g&p)>>2]=0;g=e+(k<<6)+80|0;h=c[(g&p)>>2]|0;if(h)do{i=h;h=c[(h&p)+4>>2]|0;if(i)Wc(i)}while((h|0)!=0);c[(g&p)>>2]=0;h=e+(k<<6)+96|0;g=c[(h&p)>>2]|0;if(g){i=c[(g&p)>>2]|0;if(i){lc[c[(i&p)+4>>2]&127](g)|0;c[(g&p)>>2]=0}Wc(g);c[(h&p)>>2]=0;g=e+(k<<6)+104|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0}i=e+(k<<6)+112|0;h=c[(i&p)>>2]|0;if(h){g=c[(h&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](h)|0;c[(h&p)>>2]=0}Wc(h);c[(i&p)>>2]=0;g=e+(k<<6)+120|0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0}k=k+1|0}while((k|0)<(d[(j&n)>>0]|0))}h=e+36|0;if((c[(e&p)+40>>2]|0)==0?(f=c[(h&p)>>2]|0,(f|0)!=0):0)do{g=f;f=c[(f&p)+4>>2]|0;if(g)Wc(g)}while((f|0)!=0);c[(h&p)>>2]=0;c[(e&p)+44>>2]=0;a[(e&n)+56>>0]=0;c[(e&p)+48>>2]=0;c[(e&p)+8>>2]=0;f=e+32|0;mg(b,c[(f&p)>>2]|0);c[(f&p)>>2]=0;return}function $m(d,f,g,h){d=d|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;u=i;i=i+16|0;if((i|0)>=(j|0))fa();k=u+4|0;r=u;s=c[(d&p)>>2]|0;m=c[(d&p)+8>>2]|0;q=c[(s&p)+16>>2]|0;l=(c[(q+(m<<4)&p)+12>>2]|0)+78|0;b[(l&o)>>1]=e[(l&o)>>1]&65531;l=s+65|0;do if(!(a[(l&n)>>0]|0))if(g){t=g+4|0;f=c[(t&p)>>2]|0;if(!f){aq(d,c[(g&p)>>2]|0,0);h=0;break}h=g+8|0;v=c[(h&p)>>2]|0;if((v|0)!=0?(a[(v&n)>>0]|0)!=0:0){q=s+144|0;a[(q&n)>>0]=m;c[(k&p)>>2]=0;Dn(f,k)|0;f=c[(h&p)>>2]|0;c[(s&p)+140>>2]=c[(k&p)>>2];t=s+146|0;a[(t&n)>>0]=0;ih(s,f,-1,0,0,r,0)|0;f=c[(s&p)+52>>2]|0;a[(q&n)>>0]=0;do if((f|0)!=0?(a[(t&n)>>0]|0)==0:0){c[(d&p)+12>>2]=f;if((f|0)==7){a[(l&n)>>0]=1;break}else if((f|0)==9)break;if((f&255|0)!=6){t=c[(g&p)>>2]|0;aq(d,t,Se(s)|0)}}while(0);md(c[(r&p)>>2]|0)|0;h=0;break}f=c[(g&p)>>2]|0;if(!f){aq(d,0,0);h=0;break}f=bq(s,f,c[(q+(m<<4)&p)>>2]|0)|0;if((f|0)!=0?(Dn(c[(t&p)>>2]|0,f+40|0)|0)==0:0){aq(d,c[(g&p)>>2]|0,13528);h=0}else h=0}else h=0;else{aq(d,c[(g&p)>>2]|0,0);h=1}while(0);i=u;return h|0}function an(b,d){b=b|0;d=d|0;var 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;l=m+8|0;h=b+16|0;f=c[(h&p)>>2]|0;g=c[((c[(f+(d<<4)&p)+12>>2]|0)&p)+32>>2]|0;if(g){f=g;do{cq(c[(f&p)+8>>2]|0);f=c[(f&p)>>2]|0}while((f|0)!=0);f=c[(h&p)>>2]|0}c[(l&p)>>2]=b;f=c[(f+(d<<4)&p)>>2]|0;c[(l&p)+4>>2]=f;do if(!(_h(b,13384,f)|0))e=1;else{c[(k&p)>>2]=f;f=uh(b,13400,k)|0;if((f|0)!=0?(e=Qe(b,f,23,l,0)|0,mg(b,f),(e|0)!=7):0)break;a[(b&n)+65>>0]=1;e=7}while(0);i=m;return e|0}function bn(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=c[(b&p)+12>>2]|0;if(!j){h=b+4|0;g=b+8|0;i=0}else{h=a[(e&n)>>0]|0;if(!(h<<24>>24))h=0;else{g=e;i=h;h=0;do{g=g+1|0;h=h<<3^h^(d[(i&255&n)+9328>>0]|0);i=a[(g&n)>>0]|0}while(i<<24>>24!=0)}i=(h>>>0)%((c[(b&p)>>2]|0)>>>0)|0;h=j+(i<<3)|0;g=j+(i<<3)+4|0}h=c[(h&p)>>2]|0;g=c[(g&p)>>2]|0;c[(f&p)>>2]=i;a:do if(!h)g=0;else while(1){h=h+-1|0;if(!(dd(c[(g&p)+12>>2]|0,e)|0))break a;if(!h){g=0;break}else g=c[(g&p)>>2]|0}while(0);return g|0}function cn(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var 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();v=w;u=w+12|0;a:do if((g|0)>0){s=b+16|0;t=b+4|0;r=(e|0)==0;h=f;e=g;while(1){m=e+-1|0;if(!(c[(s&p)>>2]|0))break a;if((h|0)<1){h=e;e=5;break}if(eq(b,h)|0)break a;if(zg(c[(t&p)>>2]|0,h,u,0)|0){e=8;break}o=c[(u&p)>>2]|0;q=c[(o&p)+4>>2]|0;do if(r)if((m|0)>0?(a[((c[(b&p)>>2]|0)&n)+17>>0]|0)!=0:0){dn(b,d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0],4,h);e=m}else e=m;else{l=d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0];k=c[(b&p)>>2]|0;if(a[(k&n)+17>>0]|0){dn(b,h,2,0);k=c[(b&p)>>2]|0}if((l|0)>(((c[(k&p)+36>>2]|0)/4|0)+-2|0)){c[(v&p)>>2]=h;fn(b,44640,v);e=e+-2|0;break}b:do if((l|0)>0){e=0;while(1){h=e<<2;h=d[(q+h&n)+9>>0]<<16|d[(q+h&n)+8>>0]<<24|d[(q+h&n)+10>>0]<<8|d[(q+h&n)+11>>0];if(a[(k&n)+17>>0]|0)dn(b,h,2,0);eq(b,h)|0;e=e+1|0;if((e|0)==(l|0))break b;k=c[(b&p)>>2]|0}}while(0);e=m-l|0}while(0);h=d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|d[(q&n)+3>>0];if(o)Bg(o);if((e|0)<=0)break a}if((e|0)==5){c[(v&p)>>2]=h;c[(v&p)+4>>2]=g;c[(v&p)+8>>2]=f;fn(b,44552,v);break}else if((e|0)==8){c[(v&p)>>2]=h;fn(b,44616,v);break}}while(0);i=w;return}function dn(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;o=i;i=i+32|0;if((i|0)>=(j|0))fa();l=o;h=o+24|0;k=o+20|0;g=hp(c[(b&p)>>2]|0,d,h,k)|0;if(!g){h=a[(h&n)>>0]|0;g=c[(k&p)>>2]|0;if(!((g|0)==(f|0)?h<<24>>24==e<<24>>24:0)){c[(l&p)>>2]=d;c[(l&p)+4>>2]=e&255;c[(l&p)+8>>2]=f;c[(l&p)+12>>2]=h&255;c[(l&p)+16>>2]=g;fn(b,44496,l)}}else if((g|0)==7|(g|0)==3082){c[(b&p)+24>>2]=1;m=3}else m=3;if((m|0)==3){c[(l&p)>>2]=d;fn(b,44464,l)}i=o;return}function en(f,g,h,k){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,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=i;i=i+64|0;if((i|0)>=(j|0))fa();V=aa+40|0;r=aa+56|0;Q=aa+32|0;R=aa+24|0;N=aa;_=Q;c[(_&p)>>2]=0;c[(_&p)+4>>2]=0;_=R;c[(_&p)>>2]=0;c[(_&p)+4>>2]=0;_=f+28|0;$=c[(_&p)>>2]|0;W=f+32|0;X=c[(W&p)>>2]|0;Y=f+36|0;Z=c[(Y&p)>>2]|0;S=c[(f&p)>>2]|0;M=S+36|0;T=c[(M&p)>>2]|0;if((g|0)!=0?(eq(f,g)|0)==0:0){c[(_&p)>>2]=43768;c[(W&p)>>2]=g;s=dl(S,g,r,0)|0;do if(!s){U=c[(r&p)>>2]|0;a[(U&n)>>0]=0;s=$p(U)|0;if(s){c[(V&p)>>2]=s;fn(f,43824,V);if(!U){l=-1;break}Bg(c[(U&p)+68>>2]|0);l=-1;break}z=f+16|0;O=U+18|0;s=b[(O&o)>>1]|0;a:do if(!(s<<16>>16)){t=U+5|0;s=0;l=0}else{A=U+56|0;B=U+20|0;C=U+64|0;D=N+12|0;E=U+2|0;F=N+16|0;G=T+-5|0;H=T+-4|0;I=S+17|0;J=U+5|0;w=0;x=0;while(1){if(!(c[(z&p)>>2]|0)){t=J;l=w;break a}c[(_&p)>>2]=43864;c[(W&p)>>2]=g;c[(Y&p)>>2]=x;r=c[(A&p)>>2]|0;s=x<<1;t=c[(C&p)>>2]|0;s=(d[(t+s&n)>>0]<<8|d[(t+(s|1)&n)>>0])&e[(B&o)>>1];t=r+s|0;rp(U,t,N);u=c[(D&p)>>2]|0;if(a[(E&n)>>0]|0){l=N;y=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if(x){q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;if(!((l|0)>(q|0)|(l|0)==(q|0)&y>>>0>m>>>0)){v=V;c[(v&p)>>2]=y;c[(v&p)+4>>2]=l;v=V+8|0;c[(v&p)>>2]=m;c[(v&p)+4>>2]=q;fn(f,43896,V)}}else{m=R;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l;m=Q;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l}m=R;c[(m&p)>>2]=y;c[(m&p)+4>>2]=l}y=c[(F&p)>>2]|0;l=y&65535;if(u>>>0>l>>>0?(K=(y>>>16)+s|0,L=r+K|0,L>>>0<=((c[(A&p)>>2]|0)+(c[(M&p)>>2]|0)|0)>>>0):0){y=d[(r+K&n)+1>>0]<<16|d[(L&n)>>0]<<24|d[(r+K&n)+2>>0]<<8|d[(r+K&n)+3>>0];if(a[(I&n)>>0]|0)dn(f,y,3,g);cn(f,0,y,((G+u-l|0)>>>0)/(H>>>0)|0)}if(!(a[(J&n)>>0]|0)){v=d[(r+s&n)+1>>0]<<16|d[(t&n)>>0]<<24|d[(r+s&n)+2>>0]<<8|d[(r+s&n)+3>>0];if(a[(I&n)>>0]|0)dn(f,v,5,g);l=en(f,v,Q,(x|0)==0?0:R)|0;if(!((x|0)<1|(l|0)==(w|0)))fn(f,43944,V)}else l=w;x=x+1|0;s=b[(O&o)>>1]|0;if((x|0)>=(s&65535|0)){t=J;break}else w=l}}while(0);if(!(a[(t&n)>>0]|0)){r=d[(U&n)+6>>0]|0;J=c[(U&p)+56>>2]|0;r=d[(J+r&n)+9>>0]<<16|d[(J+r&n)+8>>0]<<24|d[(J+r&n)+10>>0]<<8|d[(J+r&n)+11>>0];c[(_&p)>>2]=43976;c[(W&p)>>2]=g;if(a[(S&n)+17>>0]|0){dn(f,r,5,g);s=b[(O&o)>>1]|0}en(f,r,0,s<<16>>16!=0?R:0)|0;J=a[(t&n)>>0]|0;c[(_&p)>>2]=43768;c[(W&p)>>2]=g;if(J<<24>>24)P=34}else{c[(_&p)>>2]=43768;c[(W&p)>>2]=g;P=34}do if((P|0)==34?(a[(U&n)+2>>0]|0)!=0:0){r=(k|0)!=0;if(!h){if(!r)break;r=Q;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;m=k;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if((r|0)>(m|0)|(r|0)==(m|0)&s>>>0>q>>>0)break;J=V;c[(J&p)>>2]=s;c[(J&p)+4>>2]=r;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44200,V);break}if(!r){s=R;r=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;m=h;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if(!((s|0)>(m|0)|(s|0)==(m|0)&r>>>0>q>>>0))break;J=V;c[(J&p)>>2]=r;c[(J&p)+4>>2]=s;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44008,V);break}r=Q;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;m=h;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if(!((r|0)>(m|0)|(r|0)==(m|0)&s>>>0>q>>>0)){J=V;c[(J&p)>>2]=s;c[(J&p)+4>>2]=r;J=V+8|0;c[(J&p)>>2]=q;c[(J&p)+4>>2]=m;fn(f,44072,V)}q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;r=k;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;if((q|0)>(r|0)|(q|0)==(r|0)&m>>>0>s>>>0){J=V;c[(J&p)>>2]=m;c[(J&p)+4>>2]=q;q=V+8|0;c[(q&p)>>2]=s;c[(q&p)+4>>2]=r;fn(f,44136,V);q=R;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0}J=h;c[(J&p)>>2]=m;c[(J&p)+4>>2]=q}while(0);w=c[(U&p)+56>>2]|0;x=d[(U&n)+6>>0]|0;y=Go(c[(S&p)+32>>2]|0)|0;c[(_&p)>>2]=0;if(y){v=((d[(w+x&n)+5>>0]<<8|d[(w+x&n)+6>>0])+65535&65535)+1|0;fw(y+v|0,0,T-v|0)|0;fw(y|0,1,v|0)|0;v=d[(w+x&n)+3>>0]<<8|d[(w+x&n)+4>>0];q=x+12-(d[(t&n)>>0]<<2)|0;if(v){m=T+-4|0;u=0;do{t=q+(u<<1)|0;t=d[(w+t&n)>>0]<<8|d[(w+t&n)+1>>0];if((t|0)>(m|0))r=65536;else r=(Lp(U,w+t|0)|0)&65535;s=r+t|0;if((s|0)<=(T|0)){if(r)do{s=s+-1|0;J=y+s|0;a[(J&n)>>0]=(a[(J&n)>>0]|0)+1<<24>>24}while((s|0)>(t|0))}else{c[(_&p)>>2]=0;c[(V&p)>>2]=u;c[(V&p)+4>>2]=g;fn(f,44264,V)}u=u+1|0}while((u|0)<(v|0))}m=d[(w+x&n)+1>>0]<<8|d[(w+x&n)+2>>0];if(m)do{q=d[(w+m&n)+2>>0]<<8|d[(w+m&n)+3>>0];if(q){q=q+m|0;do{q=q+-1|0;J=y+q|0;a[(J&n)>>0]=(a[(J&n)>>0]|0)+1<<24>>24}while((q|0)>(m|0))}m=d[(w+m&n)>>0]<<8|d[(w+m&n)+1>>0]}while((m|0)!=0);b:do if((T|0)>0){q=0;m=0;while(1){r=a[(y+m&n)>>0]|0;if(r<<24>>24){if(r<<24>>24>1)break}else q=q+1|0;m=m+1|0;if((m|0)>=(T|0))break b}c[(V&p)>>2]=m;c[(V&p)+4>>2]=g;fn(f,44312,V)}else q=0;while(0);m=d[(w+x&n)+7>>0]|0;if((q|0)!=(m|0)){c[(V&p)>>2]=q;c[(V&p)+4>>2]=m;c[(V&p)+8>>2]=g;fn(f,44352,V)}}else c[(f&p)+24>>2]=1;$k(y);if(U)Bg(c[(U&p)+68>>2]|0)}else{c[(V&p)>>2]=s;fn(f,43784,V);l=-1}while(0);c[(_&p)>>2]=$;c[(W&p)>>2]=X;c[(Y&p)>>2]=Z;l=l+1|0}else l=0;i=aa;return l|0}function fn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+224|0;if((i|0)>=(j|0))fa();h=m;k=m+8|0;l=m+24|0;f=b+16|0;g=c[(f&p)>>2]|0;if(g){c[(f&p)>>2]=g+-1;f=b+20|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;c[(k&p)>>2]=e;e=b+40|0;if(c[(b&p)+52>>2]|0)Sk(e,43760,1);f=c[(b&p)+28>>2]|0;if(f){g=c[(b&p)+36>>2]|0;c[(h&p)>>2]=c[(b&p)+32>>2];c[(h&p)+4>>2]=g;ad(200,l,f,h)|0;f=l;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;Sk(e,l,f-l&1073741823)}sg(e,1,d,k);if((a[(b&n)+65>>0]|0)==1)c[(b&p)+24>>2]=1}i=m;return}function gn(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[(d&p)>>2]|0;do if((e|0)!=(c[(b&p)+4>>2]|0))if((a[(b&n)+24>>0]|0)==1){mg(c[(b&p)>>2]|0,e);break}else{Wc(e);break}while(0);c[(d&p)>>2]=0;return}function hn(d){d=d|0;var f=0,g=0,h=0,i=0;g=c[(d&p)+32>>2]|0;i=d+8|0;if(!((b[(i&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);f=mh(g,64,0)|0;h=d+20|0;c[(h&p)>>2]=f;if(!(a[(g&n)+65>>0]|0)){do if(!g)f=lc[c[8792>>2]&127](f)|0;else{if((c[(g&p)+276>>2]|0)>>>0<=f>>>0?(c[(g&p)+280>>2]|0)>>>0>f>>>0:0){f=e[(g&o)+248>>1]|0;break}f=lc[c[8792>>2]&127](f)|0}while(0);c[(d&p)+24>>2]=f;h=c[(h&p)>>2]|0;c[(h&p)>>2]=0;c[(h&p)+4>>2]=g;c[(h&p)+8>>2]=0;c[(h&p)+12>>2]=0;c[(h&p)+20>>2]=0;c[(h&p)+16>>2]=h+32;b[(h&o)+24>>1]=(f+1048544|0)>>>4;b[(h&o)+26>>1]=1;c[(h&p)+28>>2]=0;c[(d&p)>>2]=h;b[(i&o)>>1]=32}else{b[(i&o)>>1]=1;c[(d&p)+24>>2]=0}return}function jn(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;i=on(a)|0;if(i){j=i;c[(j&p)>>2]=d;c[(j&p)+4>>2]=f;c[(i&p)+8>>2]=0;j=a+12|0;h=c[(j&p)>>2]|0;if(!h)c[(a&p)+8>>2]=i;else{a=a+26|0;g=e[(a&o)>>1]|0;if((g&1|0)!=0?(k=h,l=c[(k&p)+4>>2]|0,!((l|0)<(f|0)|((l|0)==(f|0)?(c[(k&p)>>2]|0)>>>0<d>>>0:0))):0)b[(a&o)>>1]=g&65534;c[(h&p)+8>>2]=i}c[(j&p)>>2]=i}return}function kn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))fa();g=h;fw(g|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){d=a+8|0;f=c[(d&p)>>2]|0;c[(d&p)>>2]=0;if(!b)b=g;else{d=b;b=g;e=0;do{a=mn(d,a)|0;c[(b&p)>>2]=0;e=e+1|0;b=g+(e<<2)|0;d=c[(b&p)>>2]|0}while((d|0)!=0)}c[(b&p)>>2]=a;if(!f){a=0;b=0;break a}a=f;b=c[(g&p)>>2]|0}}while(0);do{a=mn(a,c[(g+(b<<2)&p)>>2]|0)|0;b=b+1|0}while((b|0)!=40);i=h;return a|0}function ln(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;f=c[(a&p)+12>>2]|0;if(!f)c[(b&p)>>2]=a;else{ln(f,b,e);c[((c[(e&p)>>2]|0)&p)+8>>2]=a}e=a+8|0;f=c[(e&p)>>2]|0;if(!f)c[(d&p)>>2]=a;else ln(f,e,d);i=g;return}function mn(a,b){a=a|0;b=b|0;var 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();l=m;d=(a|0)!=0;a:do if(d&(b|0)!=0){e=a;a=l;while(1){h=e;g=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;while(1){f=b;d=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((h|0)<(f|0)|(h|0)==(f|0)&g>>>0<d>>>0){k=4;break}if(!((f|0)<(h|0)|(f|0)==(h|0)&d>>>0<g>>>0))break;c[(a&p)+8>>2]=b;d=c[(b&p)+8>>2]|0;if(!d){f=0;d=1;break a}else{a=b;b=d}}if((k|0)==4){k=0;c[(a&p)+8>>2]=e;a=e}e=c[(e&p)+8>>2]|0;d=(e|0)!=0;if(!(d&(b|0)!=0)){f=b;b=a;break}}}else{f=b;e=a;b=l}while(0);c[(b&p)+8>>2]=d?e:f;i=m;return c[(l&p)+8>>2]|0}function nn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;d=a+8|0;b=c[(d&p)>>2]|0;c[(e&p)>>2]=b;c[(d&p)>>2]=0;c[(a&p)+12>>2]=0;if(!b)b=a;else{d=1;while(1){g=b+8|0;c[(e&p)>>2]=c[(g&p)>>2];c[(b&p)+12>>2]=a;c[(g&p)>>2]=fq(e,d)|0;a=c[(e&p)>>2]|0;if(!a)break;else{g=b;b=a;d=d+1|0;a=g}}}i=f;return b|0}function on(a){a=a|0;var d=0,e=0,f=0,g=0;f=a+24|0;d=b[(f&o)>>1]|0;if(!(d<<16>>16)){d=mh(c[(a&p)+4>>2]|0,1016,0)|0;if(!d)d=0;else{c[(d&p)>>2]=c[(a&p)>>2];c[(a&p)>>2]=d;d=d+8|0;c[(a&p)+16>>2]=d;b[(f&o)>>1]=63;e=62;g=5}}else{e=d+-1<<16>>16;d=c[(a&p)+16>>2]|0;g=5}if((g|0)==5){b[(f&o)>>1]=e;c[(a&p)+16>>2]=d+16}return d|0}function pn(d){d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();s=t;g=d+4|0;if(a[(g&n)>>0]|0){e=qn(d)|0;if(!e){m=a[(g&n)>>0]|0;f=4}}else{m=0;f=4}do if((f|0)==4){h=c[(d&p)>>2]|0;q=c[(d&p)+60>>2]|0;k=c[(d&p)+212>>2]|0;e=d+160|0;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;l=d+208|0;c[(l&p)>>2]=0;g=(c[(h&p)+4>>2]|0)+112|0;r=qg(g,0)|0;if(!r)e=7;else{fw(r|0,0,g|0)|0;c[(r&p)>>2]=h;u=r+112|0;g=r+8|0;c[(g&p)>>2]=u;c[(r&p)+4>>2]=q;b[(r&o)+40>>1]=-1;d=r+16|0;c[(d&p)>>2]=f;c[(d&p)+4>>2]=e;c[(r&p)+100>>2]=k;d=r+48|0;a[(d&n)>>0]=1;f=r+49|0;a[(f&n)>>0]=1;a[(r&n)+43>>0]=m<<24>>24!=0?2:0;c[(s&p)>>2]=524294;e=tc[c[(h&p)+24>>2]&31](h,k,u,524294,s)|0;if(e){gq(r,0);f=c[(g&p)>>2]|0;g=c[(f&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](f)|0;c[(f&p)>>2]=0}Wc(r);break}if(c[(s&p)>>2]&1)a[(r&n)+46>>0]=1;g=lc[c[((c[(q&p)>>2]|0)&p)+48>>2]&127](q)|0;if(g&1024)a[(d&n)>>0]=0;if(g&4096)a[(f&n)>>0]=0;c[(l&p)>>2]=r;e=0}}while(0);i=t;return e|0}function qn(b){b=b|0;var d=0,e=0,f=0;f=fl(b,4)|0;if((f|0)!=0?(d=c[(b&p)+60>>2]|0,e=c[(d&p)>>2]|0,(e|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(e&p)+32>>2]&127](d,1)|0;d=b+17|0;if((a[(d&n)>>0]|0)!=5)a[(d&n)>>0]=1}return f|0}function rn(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;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;if(!b)g=0;else{k=b+4|0;g=c[(k&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+28>>2]&127](g,4)|0;if(!g){h=b+43|0;if(!(a[(h&n)>>0]|0))a[(h&n)>>0]=1;g=Tn(b,0,0,0,d,e,f,0,0)|0;if(!g){c[(l&p)>>2]=-1;g=c[(k&p)>>2]|0;ac[c[((c[(g&p)>>2]|0)&p)+40>>2]&63](g,10,l)|0;if((c[(l&p)>>2]|0)==1){g=b+16|0;d=c[(g&p)+4>>2]|0;if((d|0)>-1|(d|0)==-1&(c[(g&p)>>2]|0)>>>0>4294967295){Zo(b,0,0);e=0;g=0}else{e=0;g=0}}else{e=1;g=0}}else e=0}else e=0;gq(b,e);d=c[(b&p)+8>>2]|0;h=c[(d&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](d)|0;c[(d&p)>>2]=0}if(e){d=c[3164]|0;if(d)nc[d&3]();d=c[(b&p)>>2]|0;ac[c[(d&p)+28>>2]&63](d,c[(b&p)+100>>2]|0,0)|0;d=c[3166]|0;if(d)nc[d&3]()}Wc(c[(b&p)+32>>2]|0);Wc(b)}i=m;return g|0}function sn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=b+5|0;g=a[(k&n)>>0]|0;if(!((a[(b&n)+15>>0]|0)!=0?!((e|0)==2|(e|0)==4):0))h=3;do if(((h|0)==3?(f=g&255,(f|0)!=(e|0)):0)?(a[(k&n)>>0]=e,(a[(b&n)+4>>0]|0)==0&(f&5|0)==1&(e&1|0)==0):0){f=c[(b&p)+64>>2]|0;g=c[(f&p)>>2]|0;if(g){lc[c[(g&p)+4>>2]&127](f)|0;c[(f&p)>>2]=0}j=b+17|0;if((d[(j&n)>>0]|0)>1){f=c[(b&p)>>2]|0;ac[c[(f&p)+28>>2]&63](f,c[(b&p)+172>>2]|0,0)|0;break}g=b+16|0;f=a[(g&n)>>0]|0;i=f<<24>>24==0;if(i){e=cl(b)|0;h=a[(g&n)>>0]|0}else{h=f;e=0}if(h<<24>>24==1)e=fl(b,2)|0;if((e|0)==0?(g=c[(b&p)>>2]|0,ac[c[(g&p)+28>>2]&63](g,c[(b&p)+172>>2]|0,0)|0,f<<24>>24==1):0){g=c[(b&p)+60>>2]|0;f=c[(g&p)>>2]|0;if(!f)break;if(!(a[(b&n)+13>>0]|0))rc[c[(f&p)+32>>2]&127](g,1)|0;if((a[(j&n)>>0]|0)==5)break;a[(j&n)>>0]=1;break}if(i)No(b)}while(0);return d[(k&n)>>0]|0}function tn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;e=g+4|0;do if(d)if(!(ih(a,d,-1,0,0,e,0)|0)){e=c[(e&p)>>2]|0;Sd(e)|0;a=hq(a,e,b)|0;break}else{dh(b,a,Se(a)|0,f);a=Nf(a)|0;break}else a=7;while(0);i=g;return a|0}function un(a){a=a|0;var b=0;c[((c[(a&p)+4>>2]|0)&p)+4>>2]=c[(a&p)>>2];b=Kg(a,0)|0;if(!b)b=Jg(a,0)|0;return b|0}function vn(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[(e&p)+4>>2]|0;c[(g&p)+4>>2]=c[(e&p)>>2];e=f&255;if(b[(g&o)+22>>1]&2){f=g+17|0;if(((e|0)!=0|0)==(d[(f&n)>>0]|0|0))h=4;else f=8}else{f=g+17|0;h=4}if((h|0)==4){a[(f&n)>>0]=(e|0)!=0&1;a[(g&n)+18>>0]=(e|0)==2&1;f=0}return f|0}function wn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;d=ih(a,d,-1,0,0,e,0)|0;do if(!d){e=c[(e&p)>>2]|0;while(1){if((Sd(e)|0)!=100){f=6;break}d=tn(a,b,fe(e,0)|0)|0;if(d){f=5;break}}if((f|0)==5){hq(a,e,b)|0;break}else if((f|0)==6){d=hq(a,e,b)|0;break}}while(0);i=g;return d|0}function xn(a){a=a|0;var b=0;b=a+100|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+1;b=c[(a&p)+88>>2]|0;if(b)do{c[(b&p)+16>>2]=1;b=c[(b&p)+44>>2]|0}while((b|0)!=0);dp(c[(a&p)+204>>2]|0,0);return}function yn(a){a=a|0;var b=0,d=0,e=0;e=a+304|0;b=c[(e&p)>>2]|0;if(!((b|0)%5|0)){b=(b<<2)+20|0;d=a+328|0;b=ro(a,c[(d&p)>>2]|0,b,((b|0)<0)<<31>>31)|0;if(!b)b=7;else{a=b+(c[(e&p)>>2]<<2)|0;c[(a&p)>>2]=0;c[(a&p)+4>>2]=0;c[(a&p)+8>>2]=0;c[(a&p)+12>>2]=0;c[(a&p)+16>>2]=0;c[(d&p)>>2]=b;b=0}}else b=0;return b|0}function zn(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;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;u=C+8|0;x=C+4|0;l=f+56|0;v=c[(l&p)>>2]|0;w=c[(f&p)+52>>2]|0;c[(x&p)>>2]=0;c[(z&p)>>2]=c[(f&p)>>2];B=uh(e,10344,z)|0;do if(!B)l=7;else{y=mh(e,28,0)|0;if(!y){mg(e,B);l=7;break}s=y+0|0;r=s+28|0;do{a[(s&n)>>0]=0;s=s+1|0}while((s|0)<(r|0));c[(y&p)>>2]=e;c[(y&p)+4>>2]=g;t=c[(f&p)+68>>2]|0;a:do if(t){s=c[(e&p)+20>>2]|0;if((s|0)>0){q=c[(e&p)+16>>2]|0;m=0;while(1){r=m+1|0;if((c[(q+(m<<4)&p)+12>>2]|0)==(t|0)){r=m;break a}if((r|0)<(s|0))m=r;else break}}else r=0}else r=-1e6;while(0);c[((c[(l&p)>>2]|0)&p)+4>>2]=c[((c[(e&p)+16>>2]|0)+(r<<4)&p)>>2];s=u+4|0;c[(s&p)>>2]=f;c[(u&p)>>2]=y;t=e+324|0;q=c[(t&p)>>2]|0;c[(t&p)>>2]=u;r=y+8|0;l=kc[h&7](e,c[(g&p)+8>>2]|0,w,v,r,x)|0;c[(t&p)>>2]=q;do if((l|0)==7){a[(e&n)+65>>0]=1;A=11}else if(!l){q=c[(r&p)>>2]|0;if(q){c[(q&p)>>2]=0;c[(q&p)+4>>2]=0;c[(q&p)+8>>2]=0;c[(c[(r&p)>>2]&p)>>2]=c[(g&p)>>2];c[(y&p)+12>>2]=1;if(c[(s&p)>>2]|0){c[(z&p)>>2]=c[(f&p)>>2];c[(k&p)>>2]=uh(e,28376,z)|0;An(y);l=1;break}x=f+60|0;c[(y&p)+24>>2]=c[(x&p)>>2];c[(x&p)>>2]=y;x=f+38|0;l=b[(x&o)>>1]|0;if(l<<16>>16>0){w=f+4|0;m=c[(w&p)>>2]|0;h=0;while(1){u=c[(m+(h*24|0)&p)+12>>2]|0;if(u){q=u;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;r=q-u|0;t=r&1073741823;if((Fc(28424,u,6)|0)==0?(v=a[(u&n)+6>>0]|0,v<<24>>24==32|v<<24>>24==0):0)q=0;else A=24;b:do if((A|0)==24){A=0;if(!t)q=0;else{q=0;while(1){if((Fc(28432,u+q|0,7)|0)==0?(v=a[(u+q&n)+7>>0]|0,v<<24>>24==32|v<<24>>24==0):0)break;q=q+1|0;if((q|0)>=(t|0))break b}q=q+1|0}}while(0);if((q|0)<(t|0)){s=(a[(u+q&n)+6>>0]|0)!=0|6;m=q+s|0;if((m|0)<=(t|0)){r=(r&1073741823)+1-s|0;l=m;m=q;while(1){a[(u+m&n)>>0]=a[(u+l&n)>>0]|0;m=m+1|0;if((m|0)==(r|0))break;else l=m+s|0}}if((a[(u+q&n)>>0]|0)==0&(q|0)>0)a[(u+q+-1&n)>>0]=0;m=c[(w&p)>>2]|0;l=m+(h*24|0)+23|0;a[(l&n)>>0]=d[(l&n)>>0]|2;l=b[(x&o)>>1]|0}}h=h+1|0;if((h|0)>=(l<<16>>16|0)){l=0;break}}}else l=0}else l=0}else A=11;while(0);if((A|0)==11){m=c[(x&p)>>2]|0;if(!m){c[(z&p)>>2]=B;c[(k&p)>>2]=uh(e,28344,z)|0}else{c[(z&p)>>2]=m;c[(k&p)>>2]=uh(e,10344,z)|0;Wc(c[(x&p)>>2]|0)}mg(e,y)}mg(e,B)}while(0);i=C;return l|0}function An(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)>>2]|0;e=a+12|0;d=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=d;if(!d){d=c[(a&p)+8>>2]|0;if(d)lc[c[((c[(d&p)>>2]|0)&p)+16>>2]&127](d)|0;mg(b,a)}return}function Bn(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=f+10|0;i=g<<24>>24==1;if((a[(v&n)>>0]|0)==1|i){r=f+12|0;h=c[(r&p)>>2]|0;if(i){i=h&-2;c[(r&p)>>2]=i;l=i;i=i<<1|1}else{l=h;i=(h<<1)+2|0}s=f+16|0;h=c[(s&p)>>2]|0;q=h+l|0;t=f+32|0;u=mh(c[(t&p)>>2]|0,i,((i|0)<0)<<31>>31)|0;if(!u)h=7;else{i=a[(v&n)>>0]|0;if(i<<24>>24==2)if((l|0)>0){i=u;do{j=d[(h&n)>>0]|0;l=h+2|0;m=d[(h&n)+1>>0]<<8;k=m|j;if((m&63488|0)==55296&l>>>0<q>>>0){k=(k<<10&983040)+65536|j<<10&64512|d[(l&n)>>0]|d[(h&n)+3>>0]<<8&768;h=h+4|0}else h=l;do if(k>>>0>=128){if(k>>>0<2048){a[(i&n)>>0]=k>>>6&31|192;a[(i&n)+1>>0]=k&63|128;i=i+2|0;break}if(k>>>0<65536){a[(i&n)>>0]=k>>>12&15|224;a[(i&n)+1>>0]=k>>>6&63|128;a[(i&n)+2>>0]=k&63|128;i=i+3|0;break}else{a[(i&n)>>0]=k>>>18&7|240;a[(i&n)+1>>0]=k>>>12&63|128;a[(i&n)+2>>0]=k>>>6&63|128;a[(i&n)+3>>0]=k&63|128;i=i+4|0;break}}else{a[(i&n)>>0]=k;i=i+1|0}while(0)}while(h>>>0<q>>>0);m=55}else{i=u;m=55}else if(i<<24>>24!=1)if((l|0)>0){i=u;do{m=d[(h&n)>>0]<<8;l=h+2|0;k=d[(h&n)+1>>0]|0;j=m|k;if((m&63488|0)==55296&l>>>0<q>>>0){j=(j<<10&983040)+65536|k<<10&64512|d[(h&n)+3>>0]|d[(l&n)>>0]<<8&768;h=h+4|0}else h=l;do if(j>>>0>=128){if(j>>>0<2048){a[(i&n)>>0]=j>>>6&31|192;a[(i&n)+1>>0]=j&63|128;i=i+2|0;break}if(j>>>0<65536){a[(i&n)>>0]=j>>>12&15|224;a[(i&n)+1>>0]=j>>>6&63|128;a[(i&n)+2>>0]=j&63|128;i=i+3|0;break}else{a[(i&n)>>0]=j>>>18&7|240;a[(i&n)+1>>0]=j>>>12&63|128;a[(i&n)+2>>0]=j>>>6&63|128;a[(i&n)+3>>0]=j&63|128;i=i+4|0;break}}else{a[(i&n)>>0]=j;i=i+1|0}while(0)}while(h>>>0<q>>>0);m=55}else{i=u;m=55}else{i=(l|0)>0;if(g<<24>>24==2)if(i){i=u;l=h;while(1){h=l+1|0;j=a[(l&n)>>0]|0;k=j&255;if((j&255)>191){k=d[(k+-192&n)+15360>>0]|0;a:do if((h|0)==(q|0))h=q;else while(1){j=a[(h&n)>>0]|0;if((j&-64)<<24>>24!=-128)break a;l=l+2|0;k=j&63|k<<6;if((l|0)==(q|0)){h=q;break}else{j=h;h=l;l=j}}while(0);if(!(k>>>0<128|(k&-2048|0)==55296|(k&-2|0)==65534))if(k>>>0<65536)m=22;else{l=k+-65536|0;a[(i&n)>>0]=l>>>10&192|k>>>10&63;a[(i&n)+1>>0]=l>>>18&3|216;a[(i&n)+2>>0]=k;a[(i&n)+3>>0]=k>>>8&3|220;i=i+4|0}else{k=65533;m=22}}else m=22;if((m|0)==22){m=0;a[(i&n)>>0]=k;a[(i&n)+1>>0]=k>>>8;i=i+2|0}if(h>>>0<q>>>0)l=h;else break}}else i=u;else if(i){i=u;do{l=h+1|0;k=a[(h&n)>>0]|0;j=k&255;if((k&255)>191){j=d[(j+-192&n)+15360>>0]|0;b:do if((l|0)==(q|0))h=q;else{k=h;h=l;while(1){l=a[(h&n)>>0]|0;if((l&-64)<<24>>24!=-128)break b;k=k+2|0;j=l&63|j<<6;if((k|0)==(q|0)){h=q;break}else{l=h;h=k;k=l}}}while(0);if(!(j>>>0<128|(j&-2048|0)==55296|(j&-2|0)==65534))if(j>>>0<65536)m=31;else{l=j+-65536|0;a[(i&n)>>0]=l>>>18&3|216;a[(i&n)+1>>0]=l>>>10&192|j>>>10&63;a[(i&n)+2>>0]=j>>>8&3|220;a[(i&n)+3>>0]=j;i=i+4|0}else{j=65533;m=31}}else{h=l;m=31}if((m|0)==31){m=0;a[(i&n)>>0]=j>>>8;a[(i&n)+1>>0]=j;i=i+2|0}}while(h>>>0<q>>>0)}else i=u;c[(r&p)>>2]=i-u;a[(i&n)>>0]=0;i=i+1|0}if((m|0)==55)c[(r&p)>>2]=i-u;a[(i&n)>>0]=0;i=f+8|0;r=b[(i&o)>>1]|0;h=r&65535;if(!((r&9312)==0?(c[(f&p)+24>>2]|0)==0:0))Qg(f);b[(i&o)>>1]=h&29|514;a[(v&n)>>0]=g;c[(s&p)>>2]=u;c[(f&p)+20>>2]=u;h=c[(t&p)>>2]|0;do if(!h)h=lc[c[8792>>2]&127](u)|0;else{if((c[(h&p)+276>>2]|0)>>>0<=u>>>0?(c[(h&p)+280>>2]|0)>>>0>u>>>0:0){h=e[(h&o)+248>>1]|0;break}h=lc[c[8792>>2]&127](u)|0}while(0);c[(f&p)+24>>2]=h;h=0}}else if(!(Vl(f)|0)){h=c[(f&p)+16>>2]|0;t=c[(f&p)+12>>2]&-2;i=h+t|0;if((t|0)>0)do{s=a[(h&n)>>0]|0;t=h+1|0;a[(h&n)>>0]=a[(t&n)>>0]|0;h=h+2|0;a[(t&n)>>0]=s}while(h>>>0<i>>>0);a[(v&n)>>0]=g;h=0}else h=7;return h|0}function Cn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=a[(b&n)>>0]|0;g=i&255;a:do switch(g|0){case 46:{if(((d[(b&n)+1>>0]|0)+-48|0)>>>0<10)j=51;else{c[(e&p)>>2]=122;f=1}break}case 47:{if((a[(b&n)+1>>0]|0)==42?(f=a[(b&n)+2>>0]|0,f<<24>>24!=0):0){f=f&255;g=3;while(1){i=a[(b+g&n)>>0]|0;if((f|0)==42&i<<24>>24==47){f=42;break}f=i&255;if(!(i<<24>>24))break;else g=g+1|0}c[(e&p)>>2]=151;f=((f|0)!=0&1)+g|0;break a}c[(e&p)>>2]=92;f=1;break}case 45:{if((a[(b&n)+1>>0]|0)==45)f=2;else{c[(e&p)>>2]=90;f=1;break a}while(1){g=a[(b+f&n)>>0]|0;if(g<<24>>24==0|g<<24>>24==10)break;f=f+1|0}c[(e&p)>>2]=151;break}case 41:{c[(e&p)>>2]=23;f=1;break}case 59:{c[(e&p)>>2]=1;f=1;break}case 43:{c[(e&p)>>2]=89;f=1;break}case 42:{c[(e&p)>>2]=91;f=1;break}case 40:{c[(e&p)>>2]=22;f=1;break}case 124:if((a[(b&n)+1>>0]|0)==124){c[(e&p)>>2]=94;f=2;break a}else{c[(e&p)>>2]=86;f=1;break a}case 91:{f=1;while(1){g=a[(b+f&n)>>0]|0;if(!(g<<24>>24)){g=g&255;break}f=f+1|0;if(g<<24>>24==93){g=93;break}}c[(e&p)>>2]=(g|0)==93?27:150;break}case 44:{c[(e&p)>>2]=26;f=1;break}case 38:{c[(e&p)>>2]=85;f=1;break}case 126:{c[(e&p)>>2]=96;f=1;break}case 34:case 39:case 96:{g=a[(b&n)+1>>0]|0;b:do if(g<<24>>24){f=1;while(1){if(g<<24>>24==i<<24>>24){f=f+1|0;if((a[(b+f&n)>>0]|0)!=i<<24>>24)break}f=f+1|0;g=a[(b+f&n)>>0]|0;if(!(g<<24>>24))break b}if(i<<24>>24==39){c[(e&p)>>2]=97;break a}else{c[(e&p)>>2]=27;break a}}else f=1;while(0);c[(e&p)>>2]=150;break}case 88:case 120:{if((a[(b&n)+1>>0]|0)==39){c[(e&p)>>2]=134;f=2;while(1){g=a[(b+f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&8))break;else f=f+1|0}if(g<<24>>24==39&(f&1|0)==0)g=1;else{c[(e&p)>>2]=150;while(1){g=a[(b+f&n)>>0]|0;if(g<<24>>24==39|g<<24>>24==0)break;f=f+1|0}g=g<<24>>24!=0}f=(g&1)+f|0}else j=98;break}case 61:{c[(e&p)>>2]=79;f=(a[(b&n)+1>>0]|0)==61?2:1;break}case 60:{f=a[(b&n)+1>>0]|0;if(f<<24>>24==62){c[(e&p)>>2]=78;f=2;break a}else if(f<<24>>24==60){c[(e&p)>>2]=87;f=2;break a}else if(f<<24>>24==61){c[(e&p)>>2]=81;f=2;break a}else{c[(e&p)>>2]=82;f=1;break a}}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{j=51;break}case 62:{f=a[(b&n)+1>>0]|0;if(f<<24>>24==61){c[(e&p)>>2]=83;f=2;break a}else if(f<<24>>24==62){c[(e&p)>>2]=88;f=2;break a}else{c[(e&p)>>2]=80;f=1;break a}}case 63:{c[(e&p)>>2]=135;f=1;while(1)if(((d[(b+f&n)>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break;break}case 33:if((a[(b&n)+1>>0]|0)==61){c[(e&p)>>2]=78;f=2;break a}else{c[(e&p)>>2]=150;f=2;break a}case 58:case 35:case 64:case 36:{c[(e&p)>>2]=135;g=a[(b&n)+1>>0]|0;if(g<<24>>24){f=1;i=0;while(1){if(!(a[(g&255&n)+10368>>0]&70)){if(g<<24>>24==40&(i|0)>0){g=i;j=78;break}if(g<<24>>24!=58){g=i;break}g=f+1|0;if((a[(b+g&n)>>0]|0)==58)f=g;else{g=i;break}}else i=i+1|0;f=f+1|0;g=a[(b+f&n)>>0]|0;if(!(g<<24>>24)){g=i;break}}do if((j|0)==78){h=f;while(1){f=h+1|0;i=a[(b+f&n)>>0]|0;if(!(i<<24>>24))break;if(i<<24>>24!=41?(a[(i&255&n)+10368>>0]&1)==0:0)h=f;else{j=81;break}}if((j|0)==81)if(i<<24>>24==41){f=h+2|0;break}c[(e&p)>>2]=150}while(0);if(g)break a}else f=1;c[(e&p)>>2]=150;break}case 37:{c[(e&p)>>2]=93;f=1;break}case 13:case 12:case 10:case 9:case 32:{f=1;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&1))break;else f=f+1|0;c[(e&p)>>2]=151;break}default:j=98}while(0);c:do if((j|0)==51){c[(e&p)>>2]=132;f=a[(b&n)>>0]|0;if(f<<24>>24==48){g=a[(b&n)+1>>0]|0;if(g<<24>>24==88|g<<24>>24==120)if(!(a[((d[(b&n)+2>>0]|0)&n)+10368>>0]&8))h=0;else{f=3;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&8))break c;else f=f+1|0}else{f=48;h=0}}else h=0;while(1){g=h+1|0;if(((f&255)+-48|0)>>>0>=10){g=h;break}f=a[(b+g&n)>>0]|0;h=g}if(f<<24>>24==46){f=g;do{f=f+1|0;g=b+f|0}while(((d[(g&n)>>0]|0)+-48|0)>>>0<10);c[(e&p)>>2]=133;h=a[(g&n)>>0]|0;i=f}else{h=f;i=g}do if(h<<24>>24==69|h<<24>>24==101){g=a[(b+i&n)+1>>0]|0;if(((g&255)+-48|0)>>>0>=10){if(!(g<<24>>24==45|g<<24>>24==43)){g=h;f=i;break}f=i+2|0;if(((d[(b+f&n)>>0]|0)+-48|0)>>>0>=10){g=h;f=i;break}}else f=i+2|0;while(1){g=b+f|0;if(((d[(g&n)>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break}c[(e&p)>>2]=133;g=a[(g&n)>>0]|0}else{g=h;f=i}while(0);if(a[(g&255&n)+10368>>0]&70)do{c[(e&p)>>2]=150;f=f+1|0}while((a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&70)!=0)}else if((j|0)==98){if(!(a[(g&n)+10368>>0]&70)){c[(e&p)>>2]=150;f=1;break}else f=1;while(1)if(!(a[((d[(b+f&n)>>0]|0)&n)+10368>>0]&70))break;else f=f+1|0;c[(e&p)>>2]=fi(b,f)|0}while(0);return f|0}function Dn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=a[(b&n)>>0]|0;if(f<<24>>24==43){b=b+1|0;i=0;j=13}else if(f<<24>>24==45){b=b+1|0;i=1;j=13}else if((f<<24>>24==48?(f=a[(b&n)+1>>0]|0,f<<24>>24==88|f<<24>>24==120):0)?(g=b+2|0,e=a[(g&n)>>0]|0,(a[(e&255&n)+10368>>0]&8)!=0):0){while(1){f=g+1|0;if(e<<24>>24!=48)break;g=f;e=a[(f&n)>>0]|0}if(!(a[(e&255&n)+10368>>0]&8)){e=0;f=0}else{h=e;b=0;f=0;do{e=h<<24>>24;f=(0-(e>>>6&1)&9)+e&15|f<<4;b=b+1|0;h=a[(g+b&n)>>0]|0;e=(a[(h&255&n)+10368>>0]&8)==0}while((b|0)<8&(e^1));e=e^1}if((f|0)<0|e)e=0;else{c[(d&p)>>2]=f;e=1}}else{i=0;j=13}a:do if((j|0)==13){e=0;f=0;h=0;while(1){g=(a[(b+h&n)>>0]|0)+-48|0;if(g>>>0>=10)break;f=sw(e|0,f|0,10,0)|0;e=jw(g|0,((g|0)<0)<<31>>31|0,f|0,G|0)|0;h=h+1|0;if((h|0)>=11){e=0;break a}else f=G}g=dw(e|0,f|0,i|0,0)|0;b=G;if((b|0)>0|(b|0)==0&g>>>0>2147483647)e=0;else{if(i)e=dw(0,0,e|0,f|0)|0;c[(d&p)>>2]=e;e=1}}while(0);return e|0}function En(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;sg(a,b,d,g);i=f;return}function Fn(e,f,g,h,k,l,m){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,H=0,I=0;I=i;i=i+16|0;if((i|0)>=(j|0))fa();F=I;D=I+4|0;c[(D&p)>>2]=0;H=mh(e,536,0)|0;a:do if(H){fw(H|0,0,536)|0;c[(H&p)+476>>2]=k;u=e+20|0;k=c[(u&p)>>2]|0;b:do if((k|0)>0){v=e+16|0;s=0;while(1){t=c[((c[(v&p)>>2]|0)+(s<<4)&p)+4>>2]|0;if(t){c[((c[(t&p)+4>>2]|0)&p)+4>>2]=c[(t&p)>>2];q=bl(t,1,1)|0;if(q)break;k=c[(u&p)>>2]|0}s=s+1|0;if((s|0)>=(k|0))break b}c[(F&p)>>2]=c[((c[(v&p)>>2]|0)+(s<<4)&p)>>2];ug(e,q,40984,F);s=H;break a}while(0);rl(e);c[(H&p)>>2]=e;c[(H&p)+424>>2]=0;do if((g|0)>-1){if((g|0)!=0?(a[(f+g+-1&n)>>0]|0)==0:0){E=21;break}if((c[(e&p)+92>>2]|0)<(g|0)){ug(e,18,41016,F);if(!e){s=H;q=18;break a}if(!(a[(e&n)+65>>0]|0)){s=H;q=c[(e&p)+56>>2]&18;break a}else{Ql(e);s=H;q=7;break a}}else{if((f|0)!=0?(r=jw(g|0,((g|0)<0)<<31>>31|0,1,0)|0,r=mh(e,r,G)|0,(r|0)!=0):0){kw(r|0,f|0,g|0)|0;a[(r+g&n)>>0]=0;Lh(H,r,D)|0;mg(e,r);q=H+480|0;c[(q&p)>>2]=f+((c[(q&p)>>2]|0)-r);break}c[(H&p)+480>>2]=f+g;break}}else E=21;while(0);if((E|0)==21)Lh(H,f,D)|0;v=e+65|0;k=H+12|0;if(!(a[(v&n)>>0]|0)){s=H+12|0;if((c[(k&p)>>2]|0)==101)c[(s&p)>>2]=0}else{c[(k&p)>>2]=7;s=H+12|0}c:do if((a[(H&n)+17>>0]|0)!=0?(w=c[(H&p)>>2]|0,x=w+20|0,(c[(x&p)>>2]|0)>0):0){r=w+16|0;u=0;while(1){k=c[(r&p)>>2]|0;q=c[(k+(u<<4)&p)+4>>2]|0;if(q){if(!(a[(q&n)+8>>0]|0)){k=yg(q,0)|0;if((k|0)==7|(k|0)==3082)break;else if(k)break c;k=c[(r&p)>>2]|0;t=1}else t=0;g=c[(q&p)+4>>2]|0;c[(g&p)+4>>2]=c[(q&p)>>2];g=c[((c[(g&p)+12>>2]|0)&p)+56>>2]|0;if((d[(g&n)+41>>0]<<16|d[(g&n)+40>>0]<<24|d[(g&n)+42>>0]<<8|d[(g&n)+43>>0]|0)!=(c[(c[(k+(u<<4)&p)+12>>2]&p)>>2]|0)){vm(w,u);c[(s&p)>>2]=17}if(t)un(q)|0}u=u+1|0;if((u|0)>=(c[(x&p)>>2]|0))break c}a[(w&n)+65>>0]=1}while(0);if(a[(v&n)>>0]|0)c[(s&p)>>2]=7;if(m)c[(m&p)>>2]=c[(H&p)+480>>2];q=c[(s&p)>>2]|0;t=(q|0)==0;do if(t?(z=H+8|0,y=c[(z&p)>>2]|0,(y|0)!=0):0){s=a[(H&n)+450>>0]|0;if(!(s<<24>>24))break;else if(s<<24>>24==2){iq(y,4);r=8;k=12}else{iq(y,8);r=0;k=8}s=r;do{jq(c[(z&p)>>2]|0,s-r|0,0,c[(s<<2&p)+41040>>2]|0,0);s=s+1|0}while((s|0)<(k|0))}while(0);r=H+8|0;if((a[(e&n)+145>>0]|0)==0?(C=c[(r&p)>>2]|0,A=(c[(H&p)+480>>2]|0)-f|0,(C|0)!=0):0){if((f|0)!=0?(z=c[(C&p)>>2]|0,B=jw(A|0,((A|0)<0)<<31>>31|0,1,0)|0,B=mh(z,B,G)|0,(B|0)!=0):0){kw(B|0,f|0,A|0)|0;a[(B+A&n)>>0]=0;s=B}else s=0;c[(C&p)+168>>2]=s;C=C+88|0;b[(C&o)>>1]=b[(C&o)>>1]&-257|(h&65535)<<8&256}s=c[(r&p)>>2]|0;do if(!s)E=60;else{if(t?(a[(v&n)>>0]|0)==0:0){E=60;break}Ng(s)|0}while(0);if((E|0)==60)c[(l&p)>>2]=s;r=c[(D&p)>>2]|0;do if(!r){c[(e&p)+52>>2]=q;r=c[(e&p)+236>>2]|0;if(r){s=r+8|0;if(!(b[(s&o)>>1]&9312)){b[(s&o)>>1]=1;break}else{vg(r);break}}}else{c[(F&p)>>2]=r;ug(e,q,10344,F);mg(e,r)}while(0);r=H+528|0;s=c[(r&p)>>2]|0;if(!s)s=H;else{do{c[(r&p)>>2]=c[(s&p)+4>>2];mg(e,s);s=c[(r&p)>>2]|0}while((s|0)!=0);s=H}}else{s=0;q=7}while(0);Ch(s);mg(e,H);F=Og(e,q)|0;i=I;return F|0}function Gn(b){b=b|0;var d=0,e=0;e=c[(b&p)>>2]|0;if((a[(e&n)+145>>0]|0)==0?(d=Zh(e,b+4|0)|0,(d|0)!=0):0){c[(b&p)+12>>2]=d;e=b+64|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+1}else d=0;return d|0}function Hn(a){a=a|0;var b=0,d=0,f=0,g=0,h=0;f=c[(a&p)+24>>2]|0;h=f+84|0;b=c[(h&p)>>2]|0;if(!b){b=1020;d=0}else{b=b*40|0;d=0}g=a+4|0;a=ro(c[(f&p)>>2]|0,c[(g&p)>>2]|0,b,d)|0;d=(a|0)!=0;if(d){b=c[(f&p)>>2]|0;do if(!b)b=lc[c[8792>>2]&127](a)|0;else{if((c[(b&p)+276>>2]|0)>>>0<=a>>>0?(c[(b&p)+280>>2]|0)>>>0>a>>>0:0){b=e[(b&o)+248>>1]|0;break}b=lc[c[8792>>2]&127](a)|0}while(0);c[(h&p)>>2]=(b>>>0)/20|0;c[(g&p)>>2]=a}return (d?0:7)|0}function In(a,d,e){a=a|0;d=d|0;e=e|0;a:do if(e)switch(d|0){case -6:{if(c[(a&p)+520>>2]|0)break a;a=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=a;if(a)break a;Wc(e);break a}case -8:{if(!(c[(a&p)+520>>2]|0)){Mh(e);break a}if(c[(e&p)+24>>2]|0)mg(a,c[(e&p)+20>>2]|0);mg(a,e);break a}case -10:{if(c[(a&p)+520>>2]|0)break a;An(e);break a}case -15:case -1:case -13:case -12:{mg(a,e);break a}case -11:{if(c[(a&p)+520>>2]|0)break a;Wc(e);break a}case -5:{if(!(b[(e&o)+2>>1]&16))break a;mg(a,e);break a}default:break a}while(0);return}function Jn(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;g=c[(f&p)>>2]|0;s=c[(e&p)+24>>2]|0;t=s+112|0;k=c[(t&p)>>2]|0;q=e+88|0;b[(q&o)>>1]=b[(q&o)>>1]&-193|64;h=c[(e&p)+32>>2]|0;a:do if((h|0)>0){j=c[(e&p)+4>>2]|0;while(1){h=h+-1|0;i=d[(j&n)>>0]|0;switch(i|0){case 5:case 7:case 9:{c[(j&p)+16>>2]=76;a[(j&n)+1>>0]=-19;break}case 6:case 8:{c[(j&p)+16>>2]=77;a[(j&n)+1>>0]=-19;break}case 14:{u=c[(j+-16&p)>>2]|0;g=(u|0)>(g|0)?u:g;break}case 2:case 3:{r=7;break}case 4:{if(!(c[(j&p)+8>>2]|0))r=7;else{b[(q&o)>>1]=b[(q&o)>>1]&-65;r=7}break}case 12:case 13:case 11:{b[(q&o)>>1]=b[(q&o)>>1]&-193|128;break}case 15:{u=c[(j&p)+8>>2]|0;g=(u|0)>(g|0)?u:g;break}case 10:case 1:{u=d[(j&n)+3>>0]|0;g=(u|0)>(g|0)?u:g;break}default:{}}if((r|0)==7){r=0;b[(q&o)>>1]=b[(q&o)>>1]|128}i=a[(i&n)+34168>>0]|0;a[(j&n)+2>>0]=i;if((i&1)!=0?(l=j+8|0,m=c[(l&p)>>2]|0,(m|0)<0):0)c[(l&p)>>2]=c[(k+(~m<<2)&p)>>2];if((h|0)<=0)break a;else j=j+20|0}}while(0);mg(c[(e&p)>>2]|0,c[(t&p)>>2]|0);c[(t&p)>>2]=0;c[(s&p)+108>>2]=0;c[(f&p)>>2]=g;return}function Kn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;e=b+73|0;if((a[(e&n)>>0]|0)!=4){a[(e&n)>>0]=0;f=b+56|0;d=b+48|0;d=Gp(b,c[(f&p)>>2]|0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,0,g)|0;if(!d){Wc(c[(f&p)>>2]|0);c[(f&p)>>2]=0;f=b+68|0;d=c[(f&p)>>2]|c[(g&p)>>2];c[(f&p)>>2]=d;if((d|0)!=0?(a[(e&n)>>0]|0)==1:0){a[(e&n)>>0]=2;d=0}else d=0}}else d=c[(b&p)+68>>2]|0;i=h;return d|0}function Ln(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=c[(a&p)+8>>2]|0;a:do if(!a)a=0;else{e=(b|0)==0;while(1){if((a|0)!=(d|0)){if(e)break;if((c[(a&p)+60>>2]|0)==(b|0))break}a=c[(a&p)+8>>2]|0;if(!a){a=0;break a}}a=Fl(a,b,d)|0}while(0);return a|0}function Mn(b){b=b|0;var e=0,f=0,g=0,h=0;f=c[(b&p)>>2]|0;g=f+1|0;c[(b&p)>>2]=g;h=a[(f&n)>>0]|0;e=h&255;if((h&255)<=191)return e|0;e=d[(e+-192&n)+15360>>0]|0;if((a[(g&n)>>0]&-64)<<24>>24==-128)while(1){f=f+2|0;c[(b&p)>>2]=f;e=(d[(g&n)>>0]|0)&63|e<<6;if((a[(f&n)>>0]&-64)<<24>>24==-128){h=g;g=f;f=h}else break}return (e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534?65533:e)|0}function Nn(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>-1)g=b+c|0;else g=-1;c=a[(b&n)>>0]|0;if(c<<24>>24!=0&g>>>0>b>>>0){d=c;c=0;do{f=b+1|0;if((d&255)>191){e=b;b=f;while(1){d=a[(b&n)>>0]|0;if((d&-64)<<24>>24==-128){d=b;b=e+2|0;e=d}else break}}else{d=a[(f&n)>>0]|0;b=f}c=c+1|0}while(d<<24>>24!=0&b>>>0<g>>>0)}else c=0;return c|0}function On(d,f,g,h){d=d|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,z=0,A=0;A=i;i=i+48|0;if((i|0)>=(j|0))fa();w=A+32|0;x=A+16|0;y=A;k=c[(d&p)>>2]|0;if((k|0)<0){c[(d&p)>>2]=0;c[(d&p)+4>>2]=-1;b[(d&o)+12>>1]=0;a[(d&n)+14>>0]=0;k=0}s=g;r=c[(s&p)+4>>2]|0;t=y;c[(t&p)>>2]=c[(s&p)>>2];c[(t&p)+4>>2]=r;t=d+8|0;c[(t&p)>>2]=h;r=f&255;s=(f|0)==254;do{q=b[(d+(k<<4)&o)+12>>1]|0;h=q&65535;g=37184+(h<<1)|0;a:do if((q&65535)>429)z=6;else{q=r;while(1){m=b[(g&o)>>1]|0;l=m<<16>>16;if(m<<16>>16==-86){z=6;break a}m=q&255;k=l+m|0;if(k>>>0<=1496?(a[(k&n)+39336>>0]|0)==q<<24>>24:0){z=16;break}if(!(q<<24>>24))break;if((q&255)>=70){u=l;z=12;break}q=a[(m&n)+40840>>0]|0;if(!(q<<24>>24)){u=l;z=12;break}}if((z|0)==16){z=0;k=e[(k<<1&o)+22184>>1]|0;break}if(((z|0)==12?(z=0,v=u+70|0,(v|0)>-1):0)?(a[(v&n)+39336>>0]|0)==70:0){k=e[(v<<1&o)+22184>>1]|0;break}k=e[(h<<1&o)+38048>>1]|0}while(0);if((z|0)==6){z=0;k=e[(h<<1&o)+38048>>1]|0}if(k>>>0<642){z=18;break}if(k>>>0>=969){z=20;break}mq(d,k+-642|0);if(s)break;k=c[(d&p)>>2]|0}while((k|0)>-1);if((z|0)==18){kq(d,k,f,y);u=d+4|0;c[(u&p)>>2]=(c[(u&p)>>2]|0)+-1}else if((z|0)==20){c[(x&p)>>2]=c[(y&p)>>2];c[(x&p)+4>>2]=c[(y&p)+4>>2];c[(x&p)+8>>2]=c[(y&p)+8>>2];u=c[(t&p)>>2]|0;c[(w&p)>>2]=x;th(u,20432,w);c[(t&p)>>2]=u;lq(d,r,y)}i=A;return}function Pn(b){b=b|0;var d=0;d=c[(b&p)>>2]|0;if((d|0)>=0){lq(b,a[(b+(d<<4)&n)+14>>0]|0,b+(d<<4)+16|0);c[(b&p)>>2]=(c[(b&p)>>2]|0)+-1}return}function Qn(a,b){a=a|0;b=b|0;var d=0;if(b){if((c[(b&p)>>2]|0)>0){d=0;do{Nk(a,c[(b+(d<<4)&p)+12>>2]|0);Mk(a,c[(b+(d<<4)&p)+16>>2]|0,1);mg(a,c[(b+(d<<4)&p)+8>>2]|0);d=d+1|0}while((d|0)<(c[(b&p)>>2]|0))}mg(a,b)}return}function Rn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+328|0;d=c[(h&p)>>2]|0;if(d){i=a+304|0;if((c[(i&p)>>2]|0)>0){f=0;do{e=c[(d+(f<<2)&p)>>2]|0;d=c[(e&p)+8>>2]|0;if((d|0)!=0?(g=c[((c[(d&p)>>2]|0)+b&p)>>2]|0,(g|0)!=0):0)lc[g&127](d)|0;c[(e&p)+20>>2]=0;An(e);f=f+1|0;d=c[(h&p)>>2]|0}while((f|0)<(c[(i&p)>>2]|0))}mg(a,d);c[(i&p)>>2]=0;c[(h&p)>>2]=0}return}function Sn(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;do if((d|0)==-2)if(!(c[(a&p)+12>>2]|0))d=(c[(a&p)+16>>2]|0)==0?0:6;else d=6;else{h=b[(a&o)>>1]|0;g=h<<16>>16;if(!((g|0)!=(d|0)&h<<16>>16>-1)){h=(g|0)==(d|0)?4:1;g=f&255;d=e[(a&o)+2>>1]|0;if((g|0)==(d&3|0)){d=h|2;break}else return ((d&g)>>>1&1)+h|0}else d=0}while(0);return d|0}
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}
[all...]
H A Dsqlite-change-heap.js10 function zc(a){a=a|0;var b=0;b=r;r=r+a|0;r=r+15&-16;if((r|0)>=(s|0))ka();return b|0}function Ac(){return r|0}function Bc(a){a=a|0;r=a}function Cc(a,b){a=a|0;b=b|0;if(!w){w=a;x=b}}function Dc(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0]}function Ec(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0];i[t+4>>0]=i[a+4>>0];i[t+5>>0]=i[a+5>>0];i[t+6>>0]=i[a+6>>0];i[t+7>>0]=i[a+7>>0]}function Fc(a){a=a|0;L=a}function Gc(){return L|0}function Hc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();c=f+4|0;d=f;e=0;a:while(1){k[c>>2]=0;k[d>>2]=0;i[280]=0;if(Wf(14640,c)|0){b=4;break}b=k[c>>2]|0;a=0;do{if(Ve(b,k[8+(a<<2)>>2]|0,17,0,d)|0){b=7;break a}a=a+1|0;b=k[c>>2]|0}while((a|0)!=5);yf(b)|0;if(dw(280,8504)|0){b=9;break}e=e+1|0;if((e|0)>=3){b=11;break}}if((b|0)==4)nb(8472,8488,47,8496);else if((b|0)==7)nb(8472,8488,50,8496);else if((b|0)==9)nb(8600,8488,53,8496);else if((b|0)==11){r=f;return 0}return 0}function Ic(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)>0)while(1){b=b+-1|0;mw(280,k[d>>2]|0)|0;a=280+(lw(280)|0)|0;i[a>>0]=61;i[a+1>>0]=0;a=k[c>>2]|0;mw(280,((a|0)==0?20304:a)|0)|0;if((b|0)<=0)break;else{c=c+4|0;d=d+4|0}}return 0}function Jc(a){a=a|0;var b=0,c=0,d=0;d=(Kc(a,8640,7)|0)==0;d=d?a+7|0:a;if(!d)a=0;else{a=d;while(1)if(!(i[a>>0]|0))break;else a=a+1|0;a=a-d&1073741823}c=0;while(1){b=k[8648+(c<<2)>>2]|0;if((Kc(d,b,a)|0)==0?(i[10368+(l[b+a>>0]|0)>>0]&70)==0:0){a=1;break}c=c+1|0;if((c|0)>=4){a=0;break}}return a|0}function Kc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(a)if(b)if((c|0)>0){d=a;while(1){a=i[d>>0]|0;if(!(a<<24>>24))break;if((i[9328+(a&255)>>0]|0)!=(i[9328+(l[b>>0]|0)>>0]|0))break;c=c+-1|0;if((c|0)<=0){c=0;break a}else{d=d+1|0;b=b+1|0}}if((c|0)>=1)c=(l[9328+(a&255)>>0]|0)-(l[9328+(l[b>>0]|0)>>0]|0)|0;else c=0}else c=0;else c=1;else c=((b|0)!=0)<<31>>31;while(0);return c|0}function Lc(a){a=a|0;if(a>>>0<4)a=k[8648+(a<<2)>>2]|0;else a=0;return a|0}function Mc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;if(a>>>0<=9){f=k[8664+(a<<2)>>2]|0;e=b;k[e>>2]=f;k[e+4>>2]=0;e=8704+(a<<2)|0;a=c;k[a>>2]=k[e>>2];k[a+4>>2]=0;if(!d)e=0;else{k[e>>2]=f;e=0}}else{k[e>>2]=15033;k[e+4>>2]=10788;gd(21,13648,e);e=21}r=g;return e|0}function Nc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g+8|0;f=g;a=Mc(a,e,f,d)|0;if(!a){k[b>>2]=k[e>>2];k[c>>2]=k[f>>2]}r=g;return a|0}function Oc(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();j=n+4|0;h=n;switch(b|0){case 2:{k[j>>2]=0;l=a+20|0;e=k[l>>2]|0;f=(e|0)>0;if(f){h=k[a+16>>2]|0;g=0;do{b=k[h+(g<<4)+4>>2]|0;if(b)k[(k[b+4>>2]|0)+4>>2]=k[b>>2];g=g+1|0}while((g|0)!=(e|0));g=a+520|0;k[g>>2]=j;if(f){i=a+16|0;f=0;do{b=k[(k[i>>2]|0)+(f<<4)+12>>2]|0;if(b){h=qc[k[8744+52>>2]&127](16)|0;h=ha((k[b+44>>2]|0)+(k[b+12>>2]|0)+(k[b+28>>2]|0)+(k[b+60>>2]|0)|0,h)|0;k[j>>2]=h+(k[j>>2]|0);h=qc[k[8744+48>>2]&127](k[b+20>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+52>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+36>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+68>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=k[b+48>>2]|0;if(h)do{og(a,k[h+8>>2]|0);h=k[h>>2]|0}while((h|0)!=0);h=k[b+16>>2]|0;if(h)do{pg(a,k[h+8>>2]|0);h=k[h>>2]|0}while((h|0)!=0);e=k[l>>2]|0}f=f+1|0}while((f|0)<(e|0));f=k[j>>2]|0}else f=0}else{g=a+520|0;k[g>>2]=j;f=0}k[g>>2]=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 9:case 8:case 7:{l=a+20|0;h=k[l>>2]|0;if((h|0)>0){j=k[a+16>>2]|0;i=b+-7|0;g=(e|0)==0;f=0;b=h;e=0;while(1){h=k[j+(e<<4)+4>>2]|0;if(h){h=(k[k[h+4>>2]>>2]|0)+(i<<2)+184|0;f=(k[h>>2]|0)+f|0;if(g)h=b;else{k[h>>2]=0;h=k[l>>2]|0}}else h=b;e=e+1|0;if((e|0)>=(h|0))break;else b=h}}else f=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 0:{g=a+252|0;k[c>>2]=k[g>>2];f=a+256|0;k[d>>2]=k[f>>2];if(!e)f=0;else{k[f>>2]=k[g>>2];f=0}break}case 6:case 5:case 4:{k[c>>2]=0;f=a+(b+-4<<2)+260|0;k[d>>2]=k[f>>2];if(!e)f=0;else{k[f>>2]=0;f=0}break}case 1:{i=a+20|0;g=k[i>>2]|0;e=(g|0)>0;if(e){f=k[a+16>>2]|0;h=0;do{b=k[f+(h<<4)+4>>2]|0;if(b)k[(k[b+4>>2]|0)+4>>2]=k[b>>2];h=h+1|0}while((h|0)!=(g|0));if(e){b=a+16|0;h=0;f=0;while(1){e=k[(k[b>>2]|0)+(h<<4)+4>>2]|0;if(!e)e=g;else{l=k[k[e+4>>2]>>2]|0;a=l+152|0;j=(k[a>>2]|0)+60+(m[l+140>>1]|0)|0;j=ha(qc[k[8744+128>>2]&127](k[(k[l+204>>2]|0)+40>>2]|0)|0,j)|0;l=qc[k[8744+48>>2]&127](l)|0;e=k[i>>2]|0;f=j+f+l+(k[a>>2]|0)|0}h=h+1|0;if((h|0)>=(e|0))break;else g=e}}else f=0}else f=0;k[c>>2]=f;k[d>>2]=0;f=0;break}case 3:{k[h>>2]=0;e=a+520|0;k[e>>2]=h;g=k[a+4>>2]|0;if(!g)f=0;else{do{qg(a,g);rg(a,g);g=k[g+52>>2]|0}while((g|0)!=0);f=k[h>>2]|0}k[e>>2]=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 10:{k[d>>2]=0;l=a+512|0;j=k[l+4>>2]|0;if((j|0)>0|(j|0)==0&(k[l>>2]|0)>>>0>0)f=1;else{f=a+504|0;a=k[f+4>>2]|0;f=(a|0)>0|(a|0)==0&(k[f>>2]|0)>>>0>0}k[c>>2]=f&1;f=0;break}default:f=1}r=n;return f|0}function Pc(a){a=a|0;var b=0;a:do if(!(Qc()|0)){b=k[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(dw(a,k[b+16>>2]|0)|0))break a;b=k[b+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Qc(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;do if(!(k[2243]|0)){k[2245]=1;if(!(k[2246]|0)){if(!(k[2195]|0)){k[h>>2]=16496;rf(4,h)|0}b=9024|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));if(k[2187]|0)k[2256]=8;g=k[2234]|0;c=k[2235]|0;b=k[2236]|0;if((g|0)!=0&(c|0)>99&(b|0)>0){f=c&-8;k[2235]=f;k[2263]=g;k[2264]=b;e=b+-1|0;if((e|0)>0){b=g+(ha(c>>>3,(b<<3)+-8|0)|0)|0;d=0;c=g;do{a=c;c=c+f|0;k[a>>2]=c;d=d+1|0}while((d|0)!=(e|0))}else b=g;k[b>>2]=0;k[2262]=b+4}else{k[2262]=0;k[2234]=0;k[2235]=0;k[2236]=0}if((k[2237]|0)==0|(k[2238]|0)<512|(k[2239]|0)<1){k[2237]=0;k[2238]=0;k[2239]=0}a=qc[k[8744+56>>2]&127](k[2202]|0)|0;if(a){b=9024|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));break}}k[2246]=1;if(!(k[2249]|0))k[2249]=8;a=(k[2248]|0)+1|0;k[2248]=a;if(!(k[2244]|k[2243])){k[2244]=1;b=10840|0;c=b+92|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));b=0;do{sg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{sg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);sg(10840,19256);sg(10840,19292|0);sg(10840,19328|0);if(!(k[2247]|0)){a=k[2214]|0;if(!a){k[h>>2]=16440;rf(18,h)|0;a=k[2214]|0}a=qc[a&127](k[2213]|0)|0;if(!a)i=28}else i=28;if((i|0)==28){k[2247]=1;a=Yc(10)|0;if(!a)a=7;else{$c(a);Rc(9584,1)|0;Rc(9672|0,0)|0;Rc(9760|0,0)|0;Rc(9848|0,0)|0;a=k[2237]|0;b=k[2238]|0;c=k[2239]|0;if(k[3153]|0){h=b&-8;k[3154]=h;k[3161]=c;k[3155]=c;if((c|0)<=90){k[3156]=((c|0)/10|0)+1;k[3157]=a;k[3160]=0;k[3162]=0;if(c)i=33}else{k[3156]=10;k[3157]=a;k[3160]=0;k[3162]=0;i=33}if((i|0)==33){e=b>>>3;f=c<<3;g=ha(e<<3,c+-1|0)|0;b=a;d=0;while(1){c=c+-1|0;k[b>>2]=d;if(!c)break;else{d=b;b=b+h|0}}b=a+(ha(f,e)|0)|0;k[3160]=a+g;a=b}k[3158]=a}k[2243]=1;a=0}}k[2244]=0;b=k[2248]|0}else{b=a;a=0}k[2248]=b+-1;if((b|0)<2)k[2249]=0}else a=0;while(0);r=j;return a|0}function Rc(a,b){a=a|0;b=b|0;var c=0;c=Qc()|0;do if(!c){tg(a);c=k[2254]|0;if((b|0)!=0|(c|0)==0){k[a+12>>2]=c;k[2254]=a;c=0;break}else{k[a+12>>2]=k[c+12>>2];k[(k[2254]|0)+12>>2]=a;c=0;break}}while(0);return c|0}function Sc(a){a=a|0;tg(a);return 0}function Tc(a){a=a|0;return 0}function Uc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!(Qc()|0)){d=9032|0;c=k[d>>2]|0;d=k[d+4>>2]|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){k[2260]=9;k[2261]=0;e=9032|0;k[e>>2]=a;k[e+4>>2]=b;k[2265]=(0>(b|0)|0==(b|0)&(k[2166]|0)>>>0>=a>>>0)&1;break}else{k[2265]=0;k[2258]=0;k[2259]=0;k[2260]=0;k[2261]=0;break}}else{d=-1;c=-1}while(0);L=d;return c|0}function Vc(){var a=0;a=k[2166]|0;L=((a|0)<0)<<31>>31;return a|0}function Wc(a){a=a|0;var b=0;b=(a|0)<0;Uc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Xc(a){a=a|0;var b=0;b=k[2176]|0;if(a)k[2176]=k[2166];L=((b|0)<0)<<31>>31;return b|0}function Yc(a){a=a|0;if((Qc()|0)!=0|(a|0)<1)a=0;else a=vg(a,((a|0)<0)<<31>>31)|0;return a|0}function Zc(a,b){a=a|0;b=b|0;if(!(Qc()|0))a=vg(a,b)|0;else a=0;return a|0}function _c(a){a=a|0;a=qc[k[8744+48>>2]&127](a)|0;L=((a|0)<0)<<31>>31;return a|0}function $c(a){a=a|0;var b=0;do if(a)if(!(k[2186]|0)){hc[k[8744+40>>2]&31](a);break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2166]=(k[2166]|0)-b;k[2175]=(k[2175]|0)+-1;hc[k[8744+40>>2]&31](a);break}while(0);return}function ad(a,b){a=a|0;b=b|0;var c=0;if(!(Qc()|0)){c=(b|0)<0;b=wg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function bd(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Qc()|0))b=wg(a,b,c)|0;else b=0;return b|0}function cd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+112|0;if((r|0)>=(s|0))ka();d=e+28|0;c=e;if(!(Qc()|0)){k[c+4>>2]=d;k[c+8>>2]=d;k[c>>2]=0;k[c+12>>2]=0;k[c+16>>2]=70;k[c+20>>2]=1e9;i[c+25>>0]=0;i[c+24>>0]=2;xg(c,0,a,b);c=yg(c)|0}else c=0;r=e;return c|0}function dd(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;if(!(Qc()|0)){k[c>>2]=b;c=cd(a,c)|0}else c=0;r=d;return c|0}function ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+32|0;if((r|0)>=(s|0))ka();e=f;if((a|0)>=1){k[e+4>>2]=b;k[e+8>>2]=b;k[e>>2]=0;k[e+12>>2]=0;k[e+16>>2]=a;k[e+20>>2]=0;i[e+25>>0]=0;i[e+24>>0]=0;xg(e,0,c,d);b=yg(e)|0}r=f;return b|0}function fd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;a=ed(a,b,c,f)|0;r=e;return a|0}function gd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+256|0;if((r|0)>=(s|0))ka();d=g+16|0;f=g+44|0;e=g;if(k[2250]|0){k[e>>2]=c;k[d+4>>2]=f;k[d+8>>2]=f;k[d>>2]=0;k[d+12>>2]=0;k[d+16>>2]=210;k[d+20>>2]=0;i[d+25>>0]=0;i[d+24>>0]=0;xg(d,0,b,e);c=k[2250]|0;e=k[2251]|0;d=yg(d)|0;rc[c&63](e,a,d)}r=g;return}function hd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=r;r=r+256|0;if((r|0)>=(s|0))ka();d=e;do if(!(Qc()|0)){if((a|0)<1|(b|0)==0){i[9064]=0;break}if(!(i[9064]|0)){i[9066]=0;i[9065]=0;c=(Qc()|0)==0;c=c?k[2254]|0:0;fc[k[c+56>>2]&63](c,256,d)|0;c=0;do{i[9067+c>>0]=c;c=c+1|0}while((c|0)!=256);c=0;do{f=9067+c|0;h=(l[d+c>>0]|0)+(l[f>>0]|0)+(l[9066]|0)|0;i[9066]=h;h=9067+(h&255)|0;g=i[h>>0]|0;i[h>>0]=i[f>>0]|0;i[f>>0]=g;c=c+1|0}while((c|0)!=256);i[9064]=1}while(1){f=(i[9065]|0)+1<<24>>24;i[9065]=f;f=9067+(f&255)|0;d=i[f>>0]|0;c=d&255;g=(l[9066]|0)+c|0;i[9066]=g;i[f>>0]=i[9067+(g&255)>>0]|0;i[9067+(l[9066]|0)>>0]=d;i[b>>0]=i[9067+((l[9067+(l[9065]|0)>>0]|0)+c&255)>>0]|0;a=a+-1|0;if(!a)break;else b=b+1|0}}while(0);r=e;return}function id(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=i[a>>0]|0;a:do if(!(c<<24>>24))c=0;else while(1){if((i[9328+(c&255)>>0]|0)!=(i[9328+(l[b>>0]|0)>>0]|0))break a;a=a+1|0;b=b+1|0;c=i[a>>0]|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(l[9328+(c&255)>>0]|0)-(l[9328+(l[b>>0]|0)>>0]|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function jd(a){a=a|0;k[2241]=a;return 0}function kd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;a:do if((c|0)==(a|0)){zg(c,1,10016,l);e=0}else{e=vg(48,0)|0;if(!e){k[a+52>>2]=7;e=k[a+236>>2]|0;if(!e){e=0;break}f=e+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;e=0;break}else{Ag(e);e=0;break}}g=e+0|0;f=g+48|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(f|0));g=Bg(a,c,d)|0;h=e+24|0;k[h>>2]=g;g=Bg(a,a,b)|0;d=e+4|0;k[d>>2]=g;k[e>>2]=a;k[e+20>>2]=c;k[e+16>>2]=1;k[e+40>>2]=0;f=k[h>>2]|0;do if(!((f|0)==0|(g|0)==0)?(Cg(g,k[(k[f+4>>2]|0)+32>>2]|0,-1,0)|0)!=7:0)if(!(i[(k[d>>2]|0)+8>>0]|0)){f=(k[h>>2]|0)+16|0;k[f>>2]=(k[f>>2]|0)+1;break a}else{zg(a,1,47416,l);break}while(0);$c(e);e=0}while(0);r=m;return e|0}function ld(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+32|0;if((r|0)>=(s|0))ka();z=D;n=D+16|0;q=D+12|0;w=D+8|0;B=a+24|0;d=k[B>>2]|0;e=k[d+4>>2]|0;k[e+4>>2]=k[d>>2];C=a+28|0;c=k[C>>2]|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){v=k[e>>2]|0;A=a+4|0;c=k[A>>2]|0;y=k[k[c+4>>2]>>2]|0;if((k[a>>2]|0)!=0?(i[e+20>>0]|0)==2:0){x=0;d=5}else t=5;do if((t|0)==5){e=a+12|0;if(!(k[e>>2]|0)){d=Dg(c,2)|0;if(d){x=0;break}k[e>>2]=1;x=k[A>>2]|0;d=k[x+4>>2]|0;k[d+4>>2]=k[x>>2];d=k[(k[d+12>>2]|0)+56>>2]|0;k[a+8>>2]=l[d+41>>0]<<16|l[d+40>>0]<<24|l[d+42>>0]<<8|l[d+43>>0];d=k[B>>2]|0}if(!(i[d+8>>0]|0)){x=1;d=Dg(d,0)|0}else{x=0;d=0}}while(0);g=k[(k[B>>2]|0)+4>>2]|0;u=k[g+32>>2]|0;m=k[(k[A>>2]|0)+4>>2]|0;p=k[m+32>>2]|0;m=(i[(k[m>>2]|0)+5>>0]|0)==5;c=(u|0)==(p|0)|(d|0)==0&m^1?d:8;g=k[g+44>>2]|0;e=(b|0)<0;a:do if(b){d=a+16|0;h=k[d>>2]|0;j=0;do{if(!(h>>>0<=g>>>0&(c|0)==0))break a;if((h|0)!=((((k[2514]|0)>>>0)/((k[(k[(k[B>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0)){c=Eg(v,h,n,2)|0;if(!c){f=k[n>>2]|0;c=Fg(a,h,k[f+4>>2]|0,0)|0;if(f)Gg(f)}}else c=0;h=(k[d>>2]|0)+1|0;k[d>>2]=h;j=j+1|0}while(e|(j|0)<(b|0))}while(0);if(!c){k[a+36>>2]=g;c=k[a+16>>2]|0;k[a+32>>2]=g+1-c;if(c>>>0<=g>>>0){c=a+40|0;if(!(k[c>>2]|0)){A=(k[k[(k[B>>2]|0)+4>>2]>>2]|0)+88|0;k[a+44>>2]=k[A>>2];k[A>>2]=a;k[c>>2]=1;c=0}else c=0}else t=22}else if((c|0)==101)t=22;do if((t|0)==22){if(!g){d=k[A>>2]|0;c=k[d+4>>2]|0;k[c+4>>2]=k[d>>2];k[c+44>>2]=0;c=Hg(c)|0;if((c|0)==0|(c|0)==101)g=1;else break}c=Ig(k[A>>2]|0,1,(k[a+8>>2]|0)+1|0)|0;if(!c){d=k[a>>2]|0;if(d)Jg(d);if(m?(o=Kg(k[A>>2]|0,2)|0,(o|0)!=0):0){c=o;break}if((u|0)<(p|0)){d=(p|0)/(u|0)|0;d=(g+-1+d|0)/(d|0)|0;e=k[2514]|0;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;d=(((d|0)==(((e>>>0)/(f>>>0)|0)+1|0))<<31>>31)+d|0;a=((u|0)<0)<<31>>31;o=xw(g|0,((g|0)<0)<<31>>31|0,u|0,a|0)|0;m=L;b=k[y+60>>2]|0;j=k[y+24>>2]|0;b:do if(d>>>0<=j>>>0){c=0;while(1){if((d|0)!=(((e>>>0)/(f>>>0)|0)+1|0)){c=Eg(y,d,q,0)|0;if(c)break b;e=k[q>>2]|0;c=Lg(e)|0;if(e)Gg(e)}d=d+1|0;e=(c|0)==0;if(d>>>0>j>>>0|e^1)break;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;e=k[2514]|0}if(e)t=38}else t=38;while(0);if((t|0)==38)c=Mg(y,0,1)|0;e=k[2514]|0;g=e+p|0;h=((g|0)<0)<<31>>31;f=(h|0)<(m|0)|(h|0)==(m|0)&g>>>0<o>>>0;g=f?g:o;h=f?h:m;e=e+u|0;f=((e|0)<0)<<31>>31;d=(c|0)==0;if(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0))do{k[w>>2]=0;c=vw(e|0,f|0,u|0,a|0)|0;c=ow(c|0,L|0,1,0)|0;c=Eg(v,c,w,0)|0;d=k[w>>2]|0;if(!c)c=yc[k[(k[b>>2]|0)+12>>2]&31](b,k[d+4>>2]|0,u,e,f)|0;if(d)Gg(d);e=ow(e|0,f|0,u|0,a|0)|0;f=L;d=(c|0)==0}while(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0));if(!d)break;c=wc[k[(k[b>>2]|0)+24>>2]&127](b,z)|0;w=k[z+4>>2]|0;if((c|0)==0&((w|0)>(m|0)|((w|0)==(m|0)?(k[z>>2]|0)>>>0>o>>>0:0)))c=fc[k[(k[b>>2]|0)+16>>2]&63](b,o,m)|0;if(c)break;c=Ng(y,0)|0}else{c=ha((u|0)/(p|0)|0,g)|0;k[y+24>>2]=c;c=Mg(y,0,0)|0}if(!c){c=Og(k[A>>2]|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(x){Pg(k[B>>2]|0,0)|0;Og(k[B>>2]|0,0)|0}c=(c|0)==3082?7:c;k[C>>2]=c}r=D;return c|0}function md(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=k[a+20>>2]|0;c=k[a+24>>2]|0;b=k[c+4>>2]|0;k[b+4>>2]=k[c>>2];if(k[a>>2]|0){c=c+16|0;k[c>>2]=(k[c>>2]|0)+-1}if(k[a+40>>2]|0){b=(k[b>>2]|0)+88|0;while(1){c=k[b>>2]|0;if((c|0)==(a|0))break;else b=c+44|0}k[b>>2]=k[a+44>>2]}Qg(k[a+4>>2]|0,0,0);b=k[a+28>>2]|0;b=(b|0)==101?0:b;c=k[a>>2]|0;if(c){k[c+52>>2]=b;d=k[c+236>>2]|0;do if(d){e=d+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(d);c=k[a>>2]|0;break}}while(0);Rg(c);if(k[a>>2]|0)$c(a)}Rg(f)}return b|0}function nd(a){a=a|0;return k[a+32>>2]|0}function od(a){a=a|0;return k[a+36>>2]|0}function pd(a){a=a|0;if((a|0)!=0?(j[a+88>>1]&256)!=0:0)a=k[a+168>>2]|0;else a=0;return a|0}function qd(a){a=a|0;if(!a)a=1;else a=(j[a+88>>1]&8)!=0;return a&1|0}function rd(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;do if(a){b=k[a>>2]|0;if(!b){gd(21,47360,c);k[c>>2]=68910;k[c+4>>2]=10788;gd(21,13648,c);b=21;break}else{a=Tg(b,Sg(a)|0)|0;Rg(b);b=a;break}}else b=0;while(0);r=d;return b|0}function sd(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Ug(a)|0;k[a+76>>2]=-1;k[a+80>>2]=0;i[a+86>>0]=2;k[a+40>>2]=-1108210269;k[a+92>>2]=0;k[a+72>>2]=1;i[a+87>>0]=-1;k[a+104>>2]=0;c=a+144|0;k[c>>2]=0;k[c+4>>2]=0;a=Tg(k[a>>2]|0,b)|0}return a|0}function td(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=j[f>>1]|0;if(c<<16>>16>0){g=a+60|0;b=k[g>>2]|0;e=0;do{d=b+(e*40|0)|0;if(!((j[b+(e*40|0)+8>>1]&9312)==0?(k[b+(e*40|0)+24>>2]|0)==0:0)){Vg(d);b=k[g>>2]|0;c=j[f>>1]|0}j[b+(e*40|0)+8>>1]=1;e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=j[b>>1]|0;if((c&256)!=0?(k[a+188>>2]|0)!=0:0)j[b>>1]=c|8;return 0}function ud(a){a=a|0;var b=0;b=a+8|0;if(j[b>>1]&18){Wg(a)|0;j[b>>1]=m[b>>1]|0|16;if(!(k[a+12>>2]|0))b=0;else b=k[a+16>>2]|0}else b=Xg(a,1)|0;return b|0}function vd(a){a=a|0;return Xg(a,1)|0}function wd(a){a=a|0;return Yg(a,1)|0}function xd(a){a=a|0;return Yg(a,2)|0}function yd(a){a=a|0;return +(+Zg(a))}function zd(a){a=a|0;a=_g(a)|0;return a|0}function Ad(a){a=a|0;a=_g(a)|0;return a|0}function Bd(a){a=a|0;return Xg(a,2)|0}function Cd(a){a=a|0;return Xg(a,3)|0}function Dd(a){a=a|0;return Xg(a,2)|0}function Ed(a){a=a|0;return l[10064+((m[a+8>>1]|0)&31)>>0]|0|0}function Fd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,0,d);return}function Gd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))hc[e&31](b);if(a){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}}else $g(a,b,c,0,e);return}function Hd(a,b){a=a|0;b=+b;bh(k[a>>2]|0,b);return}function Id(a,b,c){a=a|0;b=b|0;c=c|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,c,1,-1)|0;return}function Jd(a,b,c){a=a|0;b=b|0;c=c|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,c,2,-1)|0;return}function Kd(a,b){a=a|0;b=b|0;var c=0,d=0;a=k[a>>2]|0;c=((b|0)<0)<<31>>31;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4}else ch(a,b,c);return}function Ld(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a>>2]|0;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4}else ch(a,b,c);return}function Md(a){a=a|0;var b=0;a=k[a>>2]|0;b=a+8|0;if(!(j[b>>1]&9312))j[b>>1]=1;else Ag(a);return}function Nd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,1,d);return}function Od(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(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))hc[e&31](b);if(a){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}}else $g(a,b,c,f<<24>>24==4?2:f,e);return}function Pd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,2,d);return}function Qd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,3,d);return}function Rd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,2,d);return}function Sd(a,b){a=a|0;b=b|0;dh(k[a>>2]|0,b)|0;return}function Td(a,b){a=a|0;b=b|0;eh(k[a>>2]|0,b);return}function Ud(a,b){a=a|0;b=b|0;var c=0;k[a+20>>2]=b;i[a+25>>0]=1;c=k[a>>2]|0;if(j[c+8>>1]&1){if((b|0)!=516){a=b&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;ah(c,a,-1,1,0)|0}return}function Vd(a){a=a|0;k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0;return}function Wd(a){a=a|0;var b=0,c=0;b=k[a>>2]|0;c=b+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else{Ag(b);b=k[a>>2]|0}k[a+20>>2]=7;i[a+25>>0]=1;i[(k[b+32>>2]|0)+65>>0]=1;return}function Xd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=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,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=r;r=r+224|0;if((r|0)>=(s|0))ka();R=W+8|0;Q=W;if(!(fh(a)|0)){V=k[a>>2]|0;I=a+88|0;j[I>>1]=j[I>>1]&-513;N=a+40|0;O=a+76|0;P=a+128|0;U=a+80|0;z=a+168|0;A=a+8|0;B=a+20|0;C=a+32|0;D=a+4|0;E=a+84|0;T=a+44|0;F=(a|0)==0;G=a+52|0;H=a+48|0;y=0;while(1){if((k[N>>2]|0)!=-1108210269)sd(a)|0;x=k[a>>2]|0;if(i[x+65>>0]|0){S=7;break}c=k[O>>2]|0;do if((c|0)<1){if(j[I>>1]&8){k[U>>2]=17;c=1;break}if((c|0)<0){c=x+148|0;if(!(k[c>>2]|0))k[x+240>>2]=0;if((k[x+184>>2]|0)!=0?(i[x+145>>0]|0)==0:0)gh(k[x>>2]|0,P)|0;k[c>>2]=(k[c>>2]|0)+1;c=j[I>>1]|0;if(!(c&64)){c=x+156|0;k[c>>2]=(k[c>>2]|0)+1;c=j[I>>1]|0}if(c&128){w=x+152|0;k[w>>2]=(k[w>>2]|0)+1}k[O>>2]=0;S=22}else S=22}else S=22;while(0);if((S|0)==22){S=0;do if(!(j[I>>1]&3)){w=x+160|0;k[w>>2]=(k[w>>2]|0)+1;c=lh(a)|0;k[w>>2]=(k[w>>2]|0)+-1;if((c|0)==100)c=100;else S=101}else{g=k[a>>2]|0;v=k[A>>2]|0;u=v+40|0;hh(u,8);k[B>>2]=0;if((k[U>>2]|0)==7){i[g+65>>0]=1;c=1;S=101;break}e=k[C>>2]|0;h=j[I>>1]&3;if(h<<16>>16==1){f=k[A>>2]|0;n=f+360|0;if(j[f+368>>1]&16){o=(k[f+372>>2]|0)>>>2;d=k[f+376>>2]|0;if(!o){q=d;f=e;b=0}else{c=0;f=e;do{f=(k[(k[d+(c<<2)>>2]|0)+4>>2]|0)+f|0;c=c+1|0}while((c|0)<(o|0));q=d;b=o}}else{q=0;f=e;b=0}}else{q=0;f=e;b=0;n=0}e=h<<16>>16==2;d=k[O>>2]|0;while(1){c=d+1|0;if((d|0)>=(f|0)){S=33;break}if(!e)break;if((i[(k[D>>2]|0)+(d*20|0)>>0]|0)==-99)break;else d=c}if((S|0)==33){k[O>>2]=c;k[U>>2]=0;c=101;S=101;break}k[O>>2]=c;if(k[g+240>>2]|0){k[U>>2]=9;k[R>>2]=15832;ih(T,g,10344,R);c=1;S=101;break}f=k[C>>2]|0;if((d|0)<(f|0)){c=d;w=(k[D>>2]|0)+(d*20|0)|0}else{d=d-f|0;f=k[q>>2]|0;e=k[f+4>>2]|0;if((d|0)<(e|0))e=d;else{f=d;c=0;while(1){d=f-e|0;c=c+1|0;f=k[q+(c<<2)>>2]|0;e=k[f+4>>2]|0;if((d|0)<(e|0)){e=d;break}else f=d}}c=e;w=(k[f>>2]|0)+(e*20|0)|0}if((j[I>>1]&3)==1){j[v+48>>1]=4;e=u;k[e>>2]=c;k[e+4>>2]=((c|0)<0)<<31>>31;j[v+88>>1]=2562;e=k[44856+(l[w>>0]<<2)>>2]|0;k[v+96>>2]=e;f=e;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;o=v+80|0;k[v+92>>2]=f-e&1073741823;i[v+90>>0]=1;if((i[w+1>>0]|0)==-18){c=(b<<2)+4|0;a:do if(!b)f=0;else{e=k[w+16>>2]|0;d=0;while(1){f=d+1|0;if((k[q+(d<<2)>>2]|0)==(e|0)){f=d;break a}if((f|0)<(b|0))d=f;else break}}while(0);if((f|0)==(b|0)?(jh(n,c,(b|0)!=0&1)|0)==0:0){k[(k[n+16>>2]|0)+(b<<2)>>2]=k[w+16>>2];v=n+8|0;j[v>>1]=m[v>>1]|16;k[n+12>>2]=c;v=o}else v=o}else v=o}j[v+48>>1]=4;u=k[w+4>>2]|0;q=v+40|0;k[q>>2]=u;k[q+4>>2]=((u|0)<0)<<31>>31;j[v+88>>1]=4;q=k[w+8>>2]|0;u=v+80|0;k[u>>2]=q;k[u+4>>2]=((q|0)<0)<<31>>31;j[v+128>>1]=4;u=k[w+12>>2]|0;q=v+120|0;k[q>>2]=u;k[q+4>>2]=((u|0)<0)<<31>>31;q=v+160|0;if(!(kh(q,32)|0)){j[v+168>>1]=514;u=v+176|0;b=k[u>>2]|0;b:do switch(i[w+1>>0]|0){case -6:{g=k[w+16>>2]|0;c=g+6|0;k[R>>2]=m[c>>1];fd(32,b,44768,R)|0;if(!b)f=0;else{f=b;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;f=f-b&1073741823}c:do if(j[c>>1]|0){h=g+16|0;n=0;while(1){e=k[g+(n<<2)+20>>2]|0;if(e){e=k[e>>2]|0;if(!e){d=0;e=0}else S=61}else{e=44776;S=61}do if((S|0)==61){S=0;o=e;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;d=o-e&1073741823;if((d|0)!=6)break;o=(cw(e,11152,6)|0)==0;d=o?1:6;e=o?44784:e}while(0);if((d+f|0)>26)break;o=f+1|0;i[b+f>>0]=44;if(i[(k[h>>2]|0)+n>>0]|0){i[b+o>>0]=45;o=f+2|0}pw(b+o|0,e|0,d+1|0)|0;f=o+d|0;n=n+1|0;if((n|0)>=(m[c>>1]|0))break c}c=b+f|0;i[c>>0]=44;i[c+1>>0]=46;i[c+2>>0]=46;i[c+3>>0]=46}while(0);i[b+f>>0]=41;i[b+(f+1)>>0]=0;e=b;break}case -15:{fd(32,b,44832,R)|0;e=b;break}case -18:{fd(32,b,44848,R)|0;e=b;break}case -4:{k[R>>2]=k[k[w+16>>2]>>2];fd(32,b,44792,R)|0;e=b;break}case -5:{c=k[w+16>>2]|0;e=j[c>>1]|0;k[R>>2]=k[c+24>>2];k[R+4>>2]=e;fd(32,b,44800,R)|0;e=b;break}case -13:{d=k[w+16>>2]|0;c=k[d+4>>2]|0;e=R;k[e>>2]=k[d>>2];k[e+4>>2]=c;fd(32,b,19920,R)|0;e=b;break}case -14:{k[R>>2]=k[w+16>>2];fd(32,b,44808,R)|0;e=b;break}case -12:{p[t>>3]=+p[k[w+16>>2]>>3];k[R>>2]=k[t>>2];k[R+4>>2]=k[t+4>>2];fd(32,b,19912,R)|0;e=b;break}case -8:{f=k[w+16>>2]|0;e=m[f+8>>1]|0;if(e&2){e=k[f+16>>2]|0;break b}if(e&4){d=f;c=k[d+4>>2]|0;e=R;k[e>>2]=k[d>>2];k[e+4>>2]=c;fd(32,b,19920,R)|0;e=b;break b}if(e&8){p[t>>3]=+p[f>>3];k[R>>2]=k[t>>2];k[R+4>>2]=k[t+4>>2];fd(32,b,19912,R)|0;e=b;break b}if(!(e&1))e=44816;else{fd(32,b,20304,R)|0;e=b}break}case -19:{i[b>>0]=0;e=b;break}case -10:{k[R>>2]=k[(k[w+16>>2]|0)+8>>2];fd(32,b,44824,R)|0;e=b;break}default:{f=k[w+16>>2]|0;if(!f){i[b>>0]=0;e=b}else e=f}}while(0);if((e|0)==(k[u>>2]|0)){if(!e)c=0;else{f=e;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;c=f-e&1073741823}k[v+172>>2]=c;i[v+170>>0]=1}else ah(q,e,-1,1,0)|0;c=j[I>>1]|0;if((c&3)==1){if(kh(v+200|0,4)|0){c=1;S=101;break}j[v+208>>1]=514;k[v+212>>2]=2;c=k[v+216>>2]|0;k[R>>2]=l[w+3>>0];fd(3,c,44760,R)|0;i[v+210>>0]=1;j[v+248>>1]=1;c=j[I>>1]|0}j[E>>1]=12-((c&3)<<2);k[B>>2]=(k[A>>2]|0)+40;k[U>>2]=0;c=100}else{c=1;S=101}}while(0);if((S|0)==101){S=0;b=x+184|0;if(((k[b>>2]|0)!=0?(i[x+145>>0]|0)==0:0)?(k[z>>2]|0)!=0:0){gh(k[x>>2]|0,Q)|0;b=k[b>>2]|0;u=k[x+188>>2]|0;v=k[z>>2]|0;d=Q;w=P;w=iw(k[d>>2]|0,k[d+4>>2]|0,k[w>>2]|0,k[w+4>>2]|0)|0;w=xw(w|0,L|0,1e6,0)|0;vc[b&15](u,v,w,L)}if((c|0)==101){g=x+20|0;f=k[g>>2]|0;if((f|0)>0){h=x+16|0;n=x+216|0;o=x+220|0;b=0;c=0;do{e=k[h>>2]|0;d=k[e+(b<<4)+4>>2]|0;if(((d|0)!=0?(J=k[d+4>>2]|0,k[J+4>>2]=k[d>>2],J=k[(k[J>>2]|0)+208>>2]|0,(J|0)!=0):0)?(M=J+12|0,K=k[M>>2]|0,k[M>>2]=0,M=k[n>>2]|0,(M|0)!=0&(K|0)>0&(c|0)==0):0){c=uc[M&31](k[o>>2]|0,x,k[e+(b<<4)>>2]|0,K)|0;f=k[g>>2]|0}b=b+1|0}while((b|0)<(f|0))}else c=0;k[U>>2]=c;c=(c|0)==0?101:1}}k[x+52>>2]=c;if((Tg(k[a>>2]|0,k[U>>2]|0)|0)==7)k[U>>2]=7}if((j[I>>1]&256)!=0&(c|0)!=100&(c|0)!=101)c=mh(a)|0;b=k[x+56>>2]&c;if((b|0)!=17)break;f=y+1|0;if((y|0)>=50){b=17;break}d=k[O>>2]|0;if(!F?(j[I>>1]&256)!=0:0)c=k[z>>2]|0;else c=0;e=k[a>>2]|0;b=nh(e,c,-1,0,a,Q,0)|0;if((b|0)==7){b=e;S=124;break}else if(b){S=127;break}y=k[Q>>2]|0;pw(R|0,y|0,208)|0;pw(y|0,a|0,208)|0;pw(a|0,R|0,208)|0;w=y+52|0;x=k[w>>2]|0;k[w>>2]=k[G>>2];k[G>>2]=x;x=y+48|0;w=k[x>>2]|0;k[x>>2]=k[H>>2];k[H>>2]=w;w=y+168|0;x=k[w>>2]|0;k[w>>2]=k[z>>2];k[z>>2]=x;j[I>>1]=j[I>>1]&-257|j[y+88>>1]&256;oh(y,a);k[y+80>>2]=0;Sg(y)|0;sd(a)|0;if((d|0)<=-1){y=f;continue}j[I>>1]=j[I>>1]|512;y=f}if((S|0)==7){k[U>>2]=7;b=7}else if((S|0)==124){i[b+65>>0]=1;b=7;S=127}do if((S|0)==127){c=Xg(k[V+236>>2]|0,1)|0;rg(V,k[T>>2]|0);if(!(i[V+65>>0]|0)){F=ph(V,c)|0;k[T>>2]=F;k[U>>2]=b;break}else{k[T>>2]=0;k[U>>2]=7;b=7;break}}while(0);b=Tg(V,b)|0}else{k[R>>2]=69408;k[R+4>>2]=10788;gd(21,13648,R);b=21}r=W;return b|0}function Yd(a){a=a|0;return k[(k[a+4>>2]|0)+4>>2]|0}function Zd(a){a=a|0;return k[(k[a>>2]|0)+32>>2]|0}function _d(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;if(!(j[c+8>>1]&8192))c=qh(a,b)|0;else c=k[c+16>>2]|0;return c|0}function $d(a,b){a=a|0;b=b|0;var c=0;c=k[(k[a+12>>2]|0)+204>>2]|0;a:do if(!c)c=0;else{a=k[a+16>>2]|0;while(1){if((k[c>>2]|0)==(a|0)?(k[c+4>>2]|0)==(b|0):0)break;c=k[c+16>>2]|0;if(!c){c=0;break a}}c=k[c+8>>2]|0}while(0);return c|0}function ae(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=k[a+12>>2]|0;do if((b|0)<0)j=14;else{h=f+204|0;e=k[h>>2]|0;a:do if(e){g=k[a+16>>2]|0;while(1){if((k[e>>2]|0)==(g|0)?(k[e+4>>2]|0)==(b|0):0)break;e=k[e+16>>2]|0;if(!e){j=8;break a}}if(e){f=k[e+12>>2]|0;if(f)hc[f&31](k[e+8>>2]|0)}else j=8}else j=8;while(0);if((j|0)==8){e=rh(k[f>>2]|0,20,0)|0;if(!e){j=14;break}f=e+0|0;g=f+16|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(g|0));k[e>>2]=k[a+16>>2];k[e+4>>2]=b;k[e+16>>2]=k[h>>2];k[h>>2]=e;f=a+25|0;if(!(i[f>>0]|0)){k[a+20>>2]=0;i[f>>0]=1}}k[e+8>>2]=c;k[e+12>>2]=d}while(0);if((j|0)==14?(d|0)!=0:0)hc[d&31](c);return}function be(a){a=a|0;return k[(k[a+8>>2]|0)+12>>2]|0}function ce(a){a=a|0;if(!a)a=0;else a=m[a+84>>1]|0;return a|0}function de(a){a=a|0;if((a|0)!=0?(k[a+20>>2]|0)!=0:0)a=m[a+84>>1]|0;else a=0;return a|0}function ee(a,b){a=a|0;b=b|0;var c=0;b=ud(sh(a,b)|0)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function fe(a,b){a=a|0;b=b|0;var c=0;b=Yg(sh(a,b)|0,1)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function ge(a,b){a=a|0;b=b|0;var c=0;b=Yg(sh(a,b)|0,2)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function he(a,b){a=a|0;b=b|0;var c=0.0;c=+Zg(sh(a,b)|0);if(a){b=a+80|0;a=Tg(k[a>>2]|0,k[b>>2]|0)|0;k[b>>2]=a}return +c}function ie(a,b){a=a|0;b=b|0;var c=0;b=_g(sh(a,b)|0)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function je(a,b){a=a|0;b=b|0;var c=0,d=0;b=_g(sh(a,b)|0)|0;c=L;if(a){d=a+80|0;a=Tg(k[a>>2]|0,k[d>>2]|0)|0;k[d>>2]=a}L=c;return b|0}function ke(a,b){a=a|0;b=b|0;var c=0;b=Xg(sh(a,b)|0,1)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function le(a,b){a=a|0;b=b|0;var c=0,d=0;b=sh(a,b)|0;c=b+8|0;d=m[c>>1]|0;if(d&2048)j[c>>1]=d&59391|4096;if(a){c=a+80|0;d=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=d}return b|0}function me(a,b){a=a|0;b=b|0;var c=0;b=Xg(sh(a,b)|0,2)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function ne(a,b){a=a|0;b=b|0;var c=0;b=(sh(a,b)|0)+8|0;b=l[10064+((m[b>>1]|0)&31)>>0]|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function oe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+(b*40|0)|0,1)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function pe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+(b*40|0)|0,2)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function qe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+((c+b|0)*40|0)|0,1)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function re(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+((c+b|0)*40|0)|0,2)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function se(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,0)|0}function te(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{hc[f&31](c);d=18}}else d=th(a,b,c,d,f,0)|0;return d|0}function ue(a,b,c){a=a|0;b=b|0;c=+c;var d=0;d=uh(a,b)|0;if(!d)bh((k[a+60>>2]|0)+((b+-1|0)*40|0)|0,c);return d|0}function ve(a,b,c){a=a|0;b=b|0;c=c|0;return we(a,b,c,((c|0)<0)<<31>>31)|0}function we(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=uh(a,b)|0;do if(!e){b=b+-1|0;f=k[a+60>>2]|0;a=f+(b*40|0)|0;b=f+(b*40|0)+8|0;if(!(j[b>>1]&9312)){k[a>>2]=c;k[a+4>>2]=d;j[b>>1]=4;break}else{ch(a,c,d);break}}while(0);return e|0}function xe(a,b){a=a|0;b=b|0;return uh(a,b)|0}function ye(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,1)|0}function ze(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{hc[f&31](c);d=18}}else d=th(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function Ae(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,2)|0}function Be(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c+8>>1]|0;e=l[10064+(d&31)>>0]|0;do if((e|0)==3)d=th(a,b,k[c+16>>2]|0,k[c+12>>2]|0,-1,i[c+10>>0]|0)|0;else if((e|0)==2)d=ue(a,b,+p[c>>3])|0;else if((e|0)==4)if(!(d&16384)){d=th(a,b,k[c+16>>2]|0,k[c+12>>2]|0,-1,0)|0;break}else{d=Ce(a,b,k[c>>2]|0)|0;break}else if((e|0)==1){d=c;d=we(a,b,k[d>>2]|0,k[d+4>>2]|0)|0}else d=uh(a,b)|0;while(0);return d|0}function Ce(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=uh(a,b)|0;if(!d)eh((k[a+60>>2]|0)+((b+-1|0)*40|0)|0,c);return d|0}function De(a){a=a|0;if(!a)a=0;else a=j[a+68>>1]|0;return a|0}function Ee(a,b){a=a|0;b=b|0;if(!((a|0)==0|(b|0)<1)?(j[a+70>>1]|0)>=(b|0):0)b=k[(k[a+64>>2]|0)+(b+-1<<2)>>2]|0;else b=0;return b|0}function Fe(a,b){a=a|0;b=b|0;var c=0;if(!b)c=0;else{c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-b&1073741823}return vh(a,b,c)|0}function Ge(a,b){a=a|0;b=b|0;var c=0,d=0;if((j[a+68>>1]|0)==(j[b+68>>1]|0)){d=b+88|0;c=j[d>>1]|0;if((c&256)!=0?(k[b+188>>2]|0)!=0:0)j[d>>1]=c|8;c=a+88|0;d=j[c>>1]|0;if((d&256)!=0?(k[a+188>>2]|0)!=0:0)j[c>>1]=d|8;oh(a,b);c=0}else c=1;return c|0}function He(a){a=a|0;if(!a)a=0;else a=k[a>>2]|0;return a|0}function Ie(a){a=a|0;if(!a)a=1;else a=(m[a+88>>1]|0)>>>6&1;return a|0}function Je(a){a=a|0;if((a|0)!=0?(k[a+76>>2]|0)>-1:0)a=(k[a+40>>2]|0)==-1108210269;else a=0;return a&1|0}function Ke(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return k[a>>2]|0}function Le(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+108|0;b=k[a>>2]|0;if(c)k[a>>2]=0;return b|0}function Me(a){a=a|0;var b=0,c=0,d=0;c=a+8|0;d=m[c>>1]|0;b=l[10064+(d&31)>>0]|0;if((d&15|0)==2){wh(a,0);b=l[10064+((m[c>>1]|0)&31)>>0]|0}return b|0}function Ne(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;var l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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;R=r;r=r+16|0;if((r|0)>=(s|0))ka();P=R;Q=R+4|0;k[Q>>2]=0;k[h>>2]=0;K=(g|0)!=0;L=K&1;N=rh(a,28,0)|0;do if(N){g=N+0|0;n=g+28|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(n|0));n=rh(a,536,0)|0;if(n){H=a+20|0;I=a+16|0;y=a+24|0;g=N+20|0;z=N+12|0;A=N+24|0;B=a+65|0;C=L^3;D=L|2;E=n+440|0;F=n+72|0;G=n+68|0;m=0;J=1;l=0;while(1){kw(n|0,0,536)|0;k[n>>2]=a;rg(a,m);k[Q>>2]=0;m=k[H>>2]|0;if((m|0)>0){o=k[I>>2]|0;q=0;do{p=k[o+(q<<4)+4>>2]|0;if(p)k[(k[p+4>>2]|0)+4>>2]=k[p>>2];q=q+1|0}while((q|0)!=(m|0))}x=xh(n,0,c,b)|0;if(!x)break;m=i[x+44>>0]|0;if(m&16){O=11;break}if(m&32){O=13;break}if(k[x+12>>2]|0){O=17;break}w=x+38|0;t=j[w>>1]|0;a:do if(t<<16>>16>0){q=k[x+4>>2]|0;p=t<<16>>16;m=0;while(1){o=m+1|0;if(!(id(k[q+(m*24|0)>>2]|0,d)|0)){o=m;break a}if((o|0)<(p|0))m=o;else break}}else o=0;while(0);if((o|0)==(t<<16>>16|0)){O=23;break}if(K){if((k[y>>2]&524288|0)!=0?(M=k[x+16>>2]|0,(M|0)!=0):0){u=M;m=0;do{t=k[u+20>>2]|0;if((t|0)>0){q=0;do{m=(k[u+(q<<3)+36>>2]|0)==(o|0)?10280:m;q=q+1|0}while((q|0)<(t|0))}u=k[u+4>>2]|0}while((u|0)!=0)}else m=0;q=k[x+8>>2]|0;if(q)do{p=j[q+46>>1]|0;if(p<<16>>16){v=k[q+4>>2]|0;t=p&65535;u=0;do{m=(j[v+(u<<1)>>1]|0)==(o|0)?10296:m;u=u+1|0}while((u|0)<(t|0))}q=k[q+20>>2]|0}while((q|0)!=0);if(m){O=36;break}}v=Ah(n)|0;k[g>>2]=v;if(v){u=k[x+68>>2]|0;b:do if(u){t=k[H>>2]|0;if((t|0)>0){q=k[I>>2]|0;m=0;while(1){p=m+1|0;if((k[q+(m<<4)+12>>2]|0)==(u|0)){p=m;break b}if((p|0)<(t|0))m=p;else break}}else p=0}else p=-1e6;while(0);m=k[u+4>>2]|0;Ch(v,Bh(v,4,p,L,k[u>>2]|0)|0,m,-14);m=v+4|0;q=k[m>>2]|0;t=v+32|0;if(q)i[q+(((k[t>>2]|0)+-1|0)*20|0)+3>>0]=1;Dh(v,10,10120)|0;q=v+96|0;k[q>>2]=k[q>>2]|1<<p;if((k[t>>2]|0)>>>0>1){u=k[m>>2]|0;k[u+24>>2]=p;q=x+32|0;k[u+28>>2]=k[q>>2];k[(k[m>>2]|0)+32>>2]=L}else q=x+32|0;Ch(v,1,k[x>>2]|0,0);Eh(v,C);if((k[t>>2]|0)>>>0>D>>>0){k[(k[m>>2]|0)+(D*20|0)+8>>2]=k[q>>2];k[(k[m>>2]|0)+(D*20|0)+12>>2]=p}Ch(v,D,(j[w>>1]|0)+1|0,-14);if((k[t>>2]|0)>>>0>6)k[(k[m>>2]|0)+128>>2]=j[w>>1];if(!(i[B>>0]|0)){k[E>>2]=1;k[F>>2]=1;k[G>>2]=1;Fh(v,n)}}k[N>>2]=L;k[z>>2]=o;k[A>>2]=a;if(i[B>>0]|0){O=57;break}we(k[g>>2]|0,1,e,f)|0;l=Gh(N,e,f,Q)|0;if(!((J|0)<50&(l|0)==17)){O=57;break}m=k[Q>>2]|0;J=J+1|0;l=17}if((O|0)==11){k[P>>2]=c;yh(n,10160,P)}else if((O|0)==13){k[P>>2]=c;yh(n,10192,P)}else if((O|0)==17){k[P>>2]=c;yh(n,10232,P)}else if((O|0)==23){rg(a,0);k[P>>2]=d;l=zh(a,10256,P)|0;k[Q>>2]=l;l=1;O=62;break}else if((O|0)==36){rg(a,0);k[P>>2]=m;l=zh(a,10304,P)|0;k[Q>>2]=l;l=1;O=62;break}else if((O|0)==57)if(!l){l=1;m=n;O=58;break}else{m=n;O=61;break}m=n+4|0;if(!(k[m>>2]|0)){l=1;O=62}else{rg(a,0);k[Q>>2]=k[m>>2];k[m>>2]=0;l=1;O=62}}else{l=1;m=n;O=58}}else{l=0;m=0;O=58}while(0);do if((O|0)==58)if(i[a+65>>0]|0)if(l){l=0;O=61;break}else{l=0;O=64;break}else{k[h>>2]=N;l=0;break}while(0);if((O|0)==61){g=N+20|0;n=m;O=62}if((O|0)==62){m=k[g>>2]|0;if(!m){m=n;O=64}else{Sg(m)|0;m=n;O=64}}if((O|0)==64)rg(a,N);H=k[Q>>2]|0;k[P>>2]=H;zg(a,l,(H|0)!=0?10344:0,P);rg(a,H);Hh(m);rg(a,m);H=Tg(a,l)|0;r=R;return H|0}function Oe(a){a=a|0;var b=0,c=0;if(!a)a=0;else{c=k[a+24>>2]|0;b=rd(k[a+20>>2]|0)|0;rg(c,a);a=b}return a|0}function Pe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Jh(a,b,c,d,18)|0}function Qe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Jh(a,b,c,d,19)|0}function Re(a){a=a|0;if((a|0)!=0?(k[a+20>>2]|0)!=0:0)a=k[a+4>>2]|0;else a=0;return a|0}function Se(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();d=g;e=g+8|0;if(!a){k[d>>2]=77720;k[d+4>>2]=10788;gd(21,13648,d);b=21}else{f=k[a+24>>2]|0;if(k[a+20>>2]|0){b=Gh(a,b,c,e)|0;if(!b)b=0;else{c=k[e>>2]|0;k[d>>2]=c;zg(f,b,(c|0)!=0?10344:0,d);rg(f,c)}}else b=4;b=Tg(f,b)|0}r=g;return b|0}function Te(a,b,c){a=a|0;b=b|0;c=c|0;k[a+284>>2]=b;k[a+288>>2]=c;a=k[a+4>>2]|0;if(a)do{c=a+88|0;j[c>>1]=j[c>>1]|8;a=k[a+52>>2]|0}while((a|0)!=0);return 0}function Ue(a,b){a=a|0;b=b|0;return (Lh(a,b,10352,0)|0)==0|0}function Ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+16|0;if((r|0)>=(s|0))ka();g=B;x=B+12|0;y=B+8|0;k[y>>2]=0;do if(Mh(a)|0){f=(b|0)==0?10360:b;z=a+52|0;k[z>>2]=0;A=a+236|0;g=k[A>>2]|0;do if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(g);break}}while(0);u=(c|0)==0;v=a+24|0;g=0;a:while(1){do{if(g){h=39;break a}if(!(i[f>>0]|0)){g=0;h=39;break a}k[y>>2]=0;g=nh(a,f,-1,1,0,y,x)|0}while((g|0)!=0);f=k[y>>2]|0;if(!f){f=k[x>>2]|0;g=0;continue}t=j[f+84>>1]|0;p=t&65535;q=p<<3|1;t=t<<16>>16==0;b=0;h=0;m=0;b:do{g=Xd(f)|0;do if(!u){n=(g|0)==100;if(!n){if((g|0)!=101|(m|0)!=0)break b;if(!(k[v>>2]&256)){m=0;break}}if(!m){b=rh(a,q,0)|0;if(!b){b=0;h=40;break a}kw(b|0,0,q|0)|0;if(t)o=1;else{m=0;do{o=oe(f,m)|0;k[b+(m<<2)>>2]=o;m=m+1|0}while((m|0)<(p|0));o=1}}else o=m;c:do if(n){h=b+(p<<2)|0;if(!t){m=0;while(1){n=ke(f,m)|0;k[b+(m+p<<2)>>2]=n;if((n|0)==0?(w=k[y>>2]|0,(ne(w,m)|0)!=5):0){g=w;h=27;break a}m=m+1|0;if((m|0)>=(p|0))break c;f=k[y>>2]|0}}}while(0);if(!(uc[c&31](d,p,h,b)|0))m=o;else{f=b;h=31;break a}}while(0);f=k[y>>2]|0}while((g|0)==100);g=Sg(f)|0;k[y>>2]=0;f=k[x>>2]|0;while(1)if(!(i[10368+(l[f>>0]|0)>>0]&1))break;else f=f+1|0;rg(a,b)}do if((h|0)==27){i[a+65>>0]=1;f=g;g=100;h=40}else if((h|0)==31){Sg(k[y>>2]|0)|0;k[y>>2]=0;k[z>>2]=4;g=k[A>>2]|0;if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;b=f;g=4;break}else{Ag(g);b=f;g=4;break}}else{b=f;g=4}}else if((h|0)==39){f=k[y>>2]|0;b=0;h=40}while(0);if((h|0)==40)if(f)Sg(f)|0;rg(a,b);f=Tg(a,g)|0;b=(e|0)!=0;if(!((f|0)!=0&b)){if(!b)break;k[e>>2]=0;break}b=Xe(a)|0;if(!b)b=1;else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;b=(g-b&1073741823)+1|0}g=vg(b,((b|0)<0)<<31>>31)|0;k[e>>2]=g;if(g){pw(g|0,Xe(a)|0,b|0)|0;break}k[z>>2]=7;f=k[A>>2]|0;if(f){b=f+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;f=7;break}else{Ag(f);f=7;break}}else f=7}else{k[g>>2]=101334;k[g+4>>2]=10788;gd(21,13648,g);f=21}while(0);r=B;return f|0}function We(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,1,0,d,e)|0}function Xe(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129635;k[b+4>>2]=10788;gd(21,13648,b);b=16120;break}if(!(i[a+65>>0]|0)){b=Xg(k[a+236>>2]|0,1)|0;if(!b){b=k[a+52>>2]|0;if((b|0)!=516){b=b&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344}}else b=15776}else b=15776;while(0);r=c;return b|0}function Ye(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();q=u;t=u+8|0;p=k[a>>2]|0;k[t>>2]=0;j=(b|0)==0;if(j)e=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;e=h-b&1073741823}n=e+300|0;m=(d|0)!=0;if(m)k[d>>2]=0;do if(!(k[a+24>>2]&4194304))if(m){e=dd(25216,q)|0;k[d>>2]=e;e=1}else e=1;else{l=(c|0)!=0?c:41192;g=p+40|0;h=wc[k[g>>2]&127](p,b)|0;if(!h){k[q>>2]=b;k[q+4>>2]=41184;f=dd(27824,q)|0;if(!f){e=7;break}h=wc[k[g>>2]&127](p,f)|0;$c(f);if(!h){if(!m){e=1;break}h=Yc(n)|0;k[t>>2]=h;k[d>>2]=h;if(!h){e=1;break}k[q>>2]=b;fd(n,h,41216,q)|0;rc[k[p+44>>2]&63](p,e+299|0,h);e=1;break}else o=h}else o=h;e=p+48|0;h=fc[k[e>>2]&63](p,o,l)|0;if((h|0)==0&(c|0)==0){if(j)h=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=h-b&1073741823}c=Yc(h+30|0)|0;if(!c){oc[k[p+52>>2]&15](p,o);e=7;break}l=c;j=l;i[j>>0]=115;i[j+1>>0]=113;i[j+2>>0]=108;i[j+3>>0]=105;l=l+4|0;i[l>>0]=116;i[l+1>>0]=101;i[l+2>>0]=51;i[l+3>>0]=95;while(1){g=h+-1|0;if((h|0)<=0)break;if((i[b+g>>0]|0)==47)break;else h=g}f=(Kc(b+h|0,41256,3)|0)==0;g=8;f=f?h+3|0:h;while(1){h=i[b+f>>0]|0;if(h<<24>>24==0|h<<24>>24==46){h=g;break}if(!(i[10368+(h&255)>>0]&2))h=g;else{i[c+g>>0]=i[9328+(h<<24>>24)>>0]|0;h=g+1|0}g=h;f=f+1|0}h=c+h|0;i[h+0>>0]=i[41264]|0;i[h+1>>0]=i[41265]|0;i[h+2>>0]=i[41266]|0;i[h+3>>0]=i[41267]|0;i[h+4>>0]=i[41268]|0;i[h+5>>0]=i[41269]|0;h=fc[k[e>>2]&63](p,o,c)|0;e=c;f=c}else{e=0;f=l}if(!h){if(m){if(!f)h=0;else{h=f;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=h-f&1073741823}h=h+n|0;g=Yc(h)|0;k[t>>2]=g;k[d>>2]=g;if(g){k[q>>2]=f;k[q+4>>2]=b;fd(h,g,41272,q)|0;rc[k[p+44>>2]&63](p,h+-1|0,g)}}oc[k[p+52>>2]&15](p,o);$c(e);e=1;break}$c(e);if(fc[h&63](a,t,13776)|0){if(m){k[q>>2]=k[t>>2];n=dd(41320,q)|0;k[d>>2]=n}$c(k[t>>2]|0);oc[k[p+52>>2]&15](p,o);e=1;break}g=a+168|0;e=(k[g>>2]<<2)+4|0;h=rh(a,e,0)|0;if(!h)e=7;else{kw(h|0,0,e|0)|0;e=k[g>>2]|0;f=a+172|0;if((e|0)>0)pw(h|0,k[f>>2]|0,e<<2|0)|0;rg(a,k[f>>2]|0);k[f>>2]=h;e=k[g>>2]|0;k[g>>2]=e+1;k[h+(e<<2)>>2]=o;e=0}}while(0);o=Tg(a,e)|0;r=u;return o|0}function Ze(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qc()|0;if(!b){e=k[2656]|0;a:do if((e|0)>0){c=k[2658]|0;d=0;while(1){b=d+1|0;if((k[c+(d<<2)>>2]|0)==(a|0)){b=d;break a}if((b|0)<(e|0))d=b;else break}}else b=0;while(0);if((b|0)==(e|0)){b=ad(k[2658]|0,(e<<2)+4|0)|0;if(!b)b=7;else{k[2658]=b;c=k[2656]|0;k[b+(c<<2)>>2]=a;k[2656]=c+1;b=0}}else b=0}return b|0}function _e(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=k[2656]|0;e=k[2658]|0;c=d;while(1){if((c|0)<=0){b=0;break}c=c+-1|0;b=e+(c<<2)|0;if((k[b>>2]|0)==(a|0)){f=4;break}}if((f|0)==4){c=d+-1|0;k[2656]=c;k[b>>2]=k[e+(c<<2)>>2];b=1}return b|0}function $e(){if(!(Qc()|0)){$c(k[2658]|0);k[2658]=0;k[2656]=0}return}function af(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,0,0,d,e)|0}function bf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Nh(a,b,c,0,d,e)|0}function cf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Nh(a,b,c,1,d,e)|0}function df(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+32|0;if((r|0)>=(s|0))ka();l=v;o=v+4|0;k[c>>2]=0;p=(e|0)!=0;if(p)k[e>>2]=0;q=(d|0)!=0;if(q)k[d>>2]=0;i=(f|0)!=0;if(i)k[f>>2]=0;j=o+4|0;k[j>>2]=0;t=o+12|0;k[t>>2]=0;u=o+16|0;k[u>>2]=0;h=o+20|0;k[h>>2]=1;m=o+8|0;k[m>>2]=20;n=o+24|0;k[n>>2]=0;g=Yc(80)|0;k[o>>2]=g;a:do if(g){k[g>>2]=0;b=Ve(a,b,20,o,f)|0;k[k[o>>2]>>2]=k[h>>2];if((b&255|0)==4){ef((k[o>>2]|0)+4|0);b=k[j>>2]|0;if(b){if(i){$c(k[f>>2]|0);k[l>>2]=k[j>>2];b=dd(10344,l)|0;k[f>>2]=b;b=k[j>>2]|0}$c(b)}b=k[n>>2]|0;k[a+52>>2]=b;break}$c(k[j>>2]|0);if(b){ef((k[o>>2]|0)+4|0);break}g=k[h>>2]|0;b=k[o>>2]|0;do if((k[m>>2]|0)>>>0>g>>>0){b=ad(b,g<<2)|0;if(!b){ef((k[o>>2]|0)+4|0);k[a+52>>2]=7;b=7;break a}else{k[o>>2]=b;break}}while(0);k[c>>2]=b+4;if(p)k[e>>2]=k[u>>2];if(q){k[d>>2]=k[t>>2];b=0}else b=0}else{k[a+52>>2]=7;b=7}while(0);r=v;return b|0}function ef(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){b=a+-4|0;d=k[b>>2]|0;c=d;if((d|0)>1){e=1;do{d=k[a+(e+-1<<2)>>2]|0;if(d)$c(d);e=e+1|0}while((e|0)<(c|0))}$c(b)}return}function ff(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ph(a,b,c,d,0)|0}function gf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ph(a,b,c,d,e)|0}function hf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();m=n;d=n+8|0;k[d>>2]=0;e=a+324|0;c=k[e>>2]|0;if((c|0)!=0?(h=k[c+4>>2]|0,(h|0)!=0):0){l=rh(a,536,0)|0;if(!l)b=7;else{kw(l|0,0,536)|0;f=l+451|0;i[f>>0]=1;k[l>>2]=a;k[l+424>>2]=1;if(((((Qh(l,b,d)|0)==0?(g=k[l+484>>2]|0,(g|0)!=0):0)?(i[a+65>>0]|0)==0:0)?(k[g+12>>2]|0)==0:0)?(i[g+44>>0]&16)==0:0){c=h+4|0;if(!(k[c>>2]|0)){m=g+4|0;k[c>>2]=k[m>>2];g=g+38|0;j[h+38>>1]=j[g>>1]|0;j[g>>1]=0;k[m>>2]=0}k[(k[e>>2]|0)+4>>2]=0;b=0}else{b=k[d>>2]|0;k[m>>2]=b;zg(a,1,(b|0)!=0?10344:0,m);rg(a,b);b=1}i[f>>0]=0;c=k[l+8>>2]|0;if(c)Sg(c)|0;pg(a,k[l+484>>2]|0);Hh(l);rg(a,l)}b=Tg(a,b)|0}else{k[a+52>>2]=21;c=k[a+236>>2]|0;do if(c){b=c+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(c);break}}while(0);k[m>>2]=114865;k[m+4>>2]=10788;gd(21,13648,m);b=21}r=n;return b|0}function jf(a){a=a|0;return l[10640+((l[a+69>>0]|0)+-1)>>0]|0|0}function kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;if((r|0)>=(s|0))ka();e=g;d=g+8|0;k[d>>2]=c;do if((b|0)==1){b=k[a+324>>2]|0;if(!b){k[e>>2]=115248;k[e+4>>2]=10788;gd(21,13648,e);f=6;break}else{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;i[(k[b>>2]|0)+16>>0]=c;b=0;break}}else{k[e>>2]=115256;k[e+4>>2]=10788;gd(21,13648,e);f=6}while(0);do if((f|0)==6){k[a+52>>2]=21;b=k[a+236>>2]|0;if(b){c=b+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;b=21;break}else{Ag(b);b=21;break}}else b=21}while(0);r=g;return b|0}function lf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=i[a>>0]|0;a:do if(b<<24>>24){e=b;b=0;b:while(1){d=e<<24>>24;switch(d|0){case 45:{if((i[a+1>>0]|0)==45){c=e;while(1){d=c<<24>>24==0;e=a+1|0;if(!(c<<24>>24!=10&(d^1)))break;a=e;c=i[e>>0]|0}if(d){f=13;break b}else c=1}else c=2;break}case 91:{do{a=a+1|0;d=i[a>>0]|0;c=d<<24>>24==0}while(d<<24>>24!=93&(c^1));if(c){b=0;break a}else c=2;break}case 12:case 10:case 9:case 13:case 32:{c=1;break}case 39:case 34:case 96:{do{a=a+1|0;d=i[a>>0]|0;c=d<<24>>24==0}while(d<<24>>24!=e<<24>>24&(c^1));if(c){b=0;break a}else c=2;break}case 47:{if((i[a+1>>0]|0)==42){a=a+2|0;while(1){c=i[a>>0]|0;if(c<<24>>24==42){a=a+1|0;if((i[a>>0]|0)==47){c=1;break}else continue}else if(!(c<<24>>24)){b=0;break a}else{a=a+1|0;continue}}}else c=2;break}case 59:{c=0;break}default:if(!(i[10368+(e&255)>>0]&70))c=2;else{c=1;while(1)if(!(i[10368+(l[a+c>>0]|0)>>0]&70)){e=c;break}else c=c+1|0;c:do switch(d|0){case 67:case 99:{if((e|0)==6?(Kc(a,10712,6)|0)==0:0){c=4;break c}c=2;break}case 84:case 116:{if((e|0)==7){if(!(Kc(a,10720,7)|0)){c=6;break c}}else if((e|0)==4){if(!(Kc(a,10728,4)|0)){c=5;break c}}else if((e|0)==9?(Kc(a,10736,9)|0)==0:0){c=5;break c}c=2;break}case 69:case 101:{if((e|0)==3){if(!(Kc(a,10752,3)|0)){c=7;break c}}else if((e|0)==7?(Kc(a,10760,7)|0)==0:0){c=3;break c}c=2;break}default:c=2}while(0);a=a+(e+-1)|0}}b=i[(c&255)+(10648+((b&255)<<3))>>0]|0;a=a+1|0;e=i[a>>0]|0;if(!(e<<24>>24)){f=35;break}}if((f|0)==13){b=b<<24>>24==1&1;break}else if((f|0)==35){b=b<<24>>24==1;f=36;break}}else{b=0;f=36}while(0);if((f|0)==36)b=b&1;return b|0}function mf(a){a=a|0;var b=0,c=0,d=0;b=Qc()|0;if(!b){c=vg(40,0)|0;if(c){b=c+0|0;d=b+40|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(d|0));j[c+8>>1]=1;k[c+32>>2]=0;ah(c,a,-1,2,0)|0}b=Xg(c,1)|0;if(!b)b=7;else b=(lf(b)|0)&255;Rh(c)}return b|0}function nf(){return 8632}function of(){return 10768}function pf(){return 3008009}function qf(){return 0}function rf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;if((r|0)>=(s|0))ka();c=e;d=e+8|0;if(!(k[2243]|0)){k[d>>2]=b;do switch(a|0){case 5:{if(!(k[2195]|0)){k[c>>2]=16496;rf(4,c)|0}a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[c+0>>2]=k[2195];k[c+4>>2]=k[2196];k[c+8>>2]=k[2197];k[c+12>>2]=k[2198];k[c+16>>2]=k[2199];k[c+20>>2]=k[2200];k[c+24>>2]=k[2201];k[c+28>>2]=k[2202];c=0;break}case 17:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2189]=c;c=0;break}case 20:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2190]=c;c=0;break}case 19:{if(!(k[2214]|0)){k[c>>2]=16440;rf(18,c)|0}a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;c=c+0|0;a=8848|0;d=c+52|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 16:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2250]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2251]=c;c=0;break}case 13:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2193]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2194]=c;c=0;break}case 7:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2237]=c;c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2238]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2239]=c;c=0;break}case 24:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[c>>2]=152;c=0;break}case 15:{c=1;break}case 4:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2195]=k[c+0>>2];k[2196]=k[c+4>>2];k[2197]=k[c+8>>2];k[2198]=k[c+12>>2];k[2199]=k[c+16>>2];k[2200]=k[c+20>>2];k[2201]=k[c+24>>2];k[2202]=k[c+28>>2];c=0;break}case 18:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;c=8848|0;a=a+0|0;d=c+52|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 6:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2234]=c;c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2235]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2236]=c;c=0;break}case 9:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2186]=c;c=0;break}case 22:{k[d>>2]=(k[d>>2]|0)+8;k[d>>2]=(k[d>>2]|0)+8;k[2230]=0;k[2231]=0;k[2232]=0;k[2233]=0;c=0;break}case 25:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2242]=c;c=0;break}case 14:{c=0;break}default:c=1}while(0)}else{k[c>>2]=127883;k[c+4>>2]=10788;gd(21,13648,c);c=21}r=e;return c|0}function sf(a){a=a|0;return k[a+12>>2]|0}function tf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=k[g>>2]|0;e=(b|0)>0;if(e){d=k[a+16>>2]|0;f=0;do{c=k[d+(f<<4)+4>>2]|0;if(c)k[(k[c+4>>2]|0)+4>>2]=k[c>>2];f=f+1|0}while((f|0)!=(b|0));if(e){e=a+16|0;d=0;do{c=k[(k[e>>2]|0)+(d<<4)+4>>2]|0;if(c){hc[k[8744+152>>2]&31](k[(k[(k[k[c+4>>2]>>2]|0)+204>>2]|0)+40>>2]|0);b=k[g>>2]|0}d=d+1|0}while((d|0)<(b|0))}}return 0}function uf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;k[f>>2]=c;a:do if((b|0)!=1001){c=0;while(1){if((k[10936+(c<<3)>>2]|0)==(b|0))break;c=c+1|0;if(c>>>0>=2){d=1;break a}}e=k[f>>2]|0;b=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;g=k[e>>2]|0;k[f>>2]=e+4;f=a+24|0;e=k[f>>2]|0;if((b|0)<=0)if(!b){b=e&~k[10940+(c<<3)>>2];k[f>>2]=b}else b=e;else{b=k[10940+(c<<3)>>2]|e;k[f>>2]=b}if((e|0)!=(b|0)?(d=k[a+4>>2]|0,(d|0)!=0):0)do{b=d+88|0;j[b>>1]=j[b>>1]|8;d=k[d+52>>2]|0}while((d|0)!=0);if(!g)d=0;else{k[g>>2]=(k[10940+(c<<3)>>2]&k[f>>2]|0)!=0&1;d=0}}else{e=k[f>>2]|0;b=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;c=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;d=k[e>>2]|0;k[f>>2]=e+4;d=Sh(a,b,c,d)|0}while(0);r=h;return d|0}function vf(a){a=a|0;a=a+32|0;L=k[a+4>>2]|0;return k[a>>2]|0}function wf(a){a=a|0;return k[a+80>>2]|0}function xf(a){a=a|0;return k[a+84>>2]|0}function yf(a){a=a|0;return Th(a,0)|0}function zf(a){a=a|0;return Th(a,1)|0}function Af(a,b,c){a=a|0;b=b|0;c=c|0;k[a+444>>2]=b;k[a+448>>2]=c;k[a+452>>2]=0;k[a+492>>2]=0;return 0}function Bf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=(b|0)>0;k[a+292>>2]=e?c:0;k[a+300>>2]=e?b:0;k[a+296>>2]=e?d:0;return}function Cf(a,b){a=a|0;b=b|0;var c=0;c=(b|0)>0;k[a+444>>2]=c?74:0;k[a+448>>2]=c?a:0;k[a+452>>2]=0;k[a+492>>2]=c?b:0;return 0}function Df(a){a=a|0;k[a+240>>2]=1;return}function Ef(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 Tg(a,Vh(a,b,c,d,e,f,g,h,0)|0)|0}function Ff(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var l=0,m=0,n=0;do if(j){l=rh(a,12,0)|0;if(!l){hc[j&31](e);d=1;break}m=l;n=m;i[n>>0]=0;i[n+1>>0]=0;i[n+2>>0]=0;i[n+3>>0]=0;m=m+4|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;k[l+4>>2]=j;k[l+8>>2]=e;d=Vh(a,b,c,d,e,f,g,h,l)|0;if(!(k[l>>2]|0)){hc[j&31](e);rg(a,l)}}else d=Vh(a,b,c,d,e,f,g,h,0)|0;while(0);return Tg(a,d)|0}function Gf(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=Wh(a,b,-1)|0;d=Vh(a,b,c,d,e,f,g,h,0)|0;rg(a,b);return Tg(a,d)|0}function Hf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-b&1073741823}if(!(Xh(a,b,d,c,1,0)|0))d=Vh(a,b,c,1,0,57,0,0,0)|0;else d=0;return Tg(a,d)|0}function If(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+180|0;d=k[e>>2]|0;k[a+176>>2]=b;k[e>>2]=c;return d|0}function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+188|0;d=k[e>>2]|0;k[a+184>>2]=b;k[e>>2]=c;return d|0}function Kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+192|0;d=k[e>>2]|0;k[a+196>>2]=b;k[e>>2]=c;return d|0}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+208|0;d=k[e>>2]|0;k[a+212>>2]=b;k[e>>2]=c;return d|0}function Mf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+200|0;d=k[e>>2]|0;k[a+204>>2]=b;k[e>>2]=c;return d|0}function Nf(a,b){a=a|0;b=b|0;var c=0;if((b|0)>0)c=21;else{b=0;c=0}k[a+216>>2]=c;k[a+220>>2]=b;return 0}function Of(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+220|0;d=k[e>>2]|0;k[a+216>>2]=b;k[e>>2]=c;return d|0}function Pf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;if(d)k[d>>2]=-1;if(e)k[e>>2]=-1;if(c>>>0>3)b=21;else{if((b|0)!=0?(i[b>>0]|0)!=0:0){g=_h(a,b)|0;if((g|0)<0){k[f>>2]=b;zg(a,1,10952,f);b=1}else h=10}else{g=10;h=10}do if((h|0)==10){k[a+452>>2]=0;b=$h(a,g,c,d,e)|0;k[a+52>>2]=b;f=k[a+236>>2]|0;if(f){g=f+8|0;if(!(j[g>>1]&9312)){j[g>>1]=1;break}else{Ag(f);break}}}while(0);b=Tg(a,b)|0}r=l;return b|0}function Qf(a,b){a=a|0;b=b|0;return Pf(a,b,0,0,0)|0}function Rf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;do if(a){b=k[a+76>>2]|0;if(!((b|0)==1266094736|(b|0)==-1607883113|(b|0)==-264537850)){k[e>>2]=15248;gd(21,15256,e);b=11008;break}f=a+65|0;if(!(i[f>>0]|0)){d=a+236|0;b=Xg(k[d>>2]|0,2)|0;if(!b){c=k[a+52>>2]|0;if((c|0)!=516){b=c&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344;zg(a,c,b,e);b=Xg(k[d>>2]|0,2)|0}i[f>>0]=0}else b=10976}else b=10976;while(0);r=g;return b|0}function Sf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129704;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+56>>2]&k[a+52>>2];else a=7}else a=7;while(0);r=c;return a|0}function Tf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129713;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+52>>2]|0;else a=7}else a=7;while(0);r=c;return a|0}function Uf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Vf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0<=11){d=a+(b<<2)+88|0;a=k[d>>2]|0;if((c|0)>-1){b=k[11088+(b<<2)>>2]|0;k[d>>2]=(b|0)<(c|0)?b:c}}else a=-1;return a|0}function Wf(a,b){a=a|0;b=b|0;return ai(a,b,6,0)|0}function Xf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ai(a,b,c,d)|0}function Yf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[b>>2]=0;c=Qc()|0;if(!c){e=vg(40,0)|0;if(e){a=(a|0)==0?11136:a;c=e+0|0;d=c+40|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));j[e+8>>1]=1;k[e+32>>2]=0;ah(e,a,-1,2,0)|0}a=Xg(e,1)|0;if(a){c=ai(a,b,6,0)|0;if(!c){c=k[b>>2]|0;a=k[(k[c+16>>2]|0)+12>>2]|0;if(!(j[a+78>>1]&1)){i[c+62>>0]=2;i[a+77>>0]=2;c=0}else c=0}}else c=7;Rh(e);c=c&255}return c|0}function Zf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tg(a,bi(a,b,c&255,d,e,0)|0)|0}function _f(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 Tg(a,bi(a,b,c&255,d,e,f)|0)|0}function $f(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Wh(a,b,-1)|0;if(!b)b=0;else{c=bi(a,b,c&255,d,e,0)|0;rg(a,b);b=c}return Tg(a,b)|0}function ag(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=c;k[a+228>>2]=0;k[a+232>>2]=b;return 0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=0;k[a+228>>2]=c;k[a+232>>2]=b;return 0}function cg(a){a=a|0;return l[a+63>>0]|0|0}function dg(){return}function eg(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;if((r|0)>=(s|0))ka();x=z;y=z+8|0;k[y>>2]=0;n=k[a+20>>2]|0;if((n|0)>0){m=k[a+16>>2]|0;p=0;do{o=k[m+(p<<4)+4>>2]|0;if(o)k[(k[o+4>>2]|0)+4>>2]=k[o>>2];p=p+1|0}while((p|0)!=(n|0))}m=ci(a,y)|0;w=(m|0)!=0;a:do if((!w?(u=di(a,c,b)|0,(u|0)!=0):0)?(k[u+12>>2]|0)==0:0){do if(d){t=j[u+38>>1]|0;b:do if(t<<16>>16>0){b=k[u+4>>2]|0;n=t<<16>>16;q=0;while(1){o=b+(q*24|0)|0;p=q+1|0;if(!(id(k[o>>2]|0,d)|0)){p=q;break b}if((p|0)<(n|0))q=p;else break}}else{p=0;o=0}while(0);if((p|0)==(t<<16>>16|0)){if(i[u+44>>0]&32){b=0;t=0;u=0;o=0;q=0;p=0;break a}if(!(ei(d)|0)){b=0;t=0;u=0;o=0;q=0;p=0;break a}v=j[u+36>>1]|0;n=v<<16>>16;if(v<<16>>16<=-1){b=0;q=0;n=1;v=0;p=11144;break}p=n;o=(k[u+4>>2]|0)+(n*24|0)|0}if(o){if((j[u+36>>1]|0)==(p|0))n=(i[u+44>>0]&8)!=0;else n=0;b=n&1;q=(i[o+20>>0]|0)!=0&1;n=i[o+23>>0]&1;v=k[o+16>>2]|0;p=k[o+12>>2]|0}else{b=0;q=0;n=1;v=0;p=11144}}else{b=0;q=0;n=1;v=0;p=11144}while(0);t=q;o=n;q=(v|0)==0?11152:v}else{b=0;t=0;u=0;o=0;q=0;p=0}while(0);if(e)k[e>>2]=p;if(f)k[f>>2]=q;if(g)k[g>>2]=t;if(h)k[h>>2]=o;if(l)k[l>>2]=b;n=k[y>>2]|0;if(!(w|(u|0)!=0)){rg(a,n);k[x>>2]=c;k[x+4>>2]=d;n=zh(a,11160,x)|0;k[y>>2]=n;m=1}k[x>>2]=n;zg(a,m,(n|0)!=0?10344:0,x);rg(a,k[y>>2]|0);w=Tg(a,m)|0;r=z;return w|0}function fg(a){a=a|0;var b=0;if((Qc()|0)==0?(b=k[2254]|0,(b|0)!=0):0)a=(wc[k[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function gg(a,b){a=a|0;b=b|0;k[a+56>>2]=(b|0)!=0?-1:255;return 0}function hg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=fi(a,b)|0;do if(b){a=k[b+4>>2]|0;k[a+4>>2]=k[b>>2];a=k[(k[a>>2]|0)+60>>2]|0;if((c|0)==7){k[d>>2]=a;b=0;break}b=k[a>>2]|0;if(!b)b=12;else b=fc[k[b+40>>2]&63](a,c,d)|0}else b=1;while(0);return b|0}function ig(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;o=r;r=r+32|0;if((r|0)>=(s|0))ka();n=o+24|0;d=o+8|0;c=o;k[d>>2]=b;do switch(a|0){case 8:{m=k[d>>2]|0;h=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;e=k[m>>2]|0;k[d>>2]=m+4;m=vg(512,0)|0;c=(m|0)==0;if(!c){kw(m|0,0,512)|0;k[m>>2]=h}a=((h+7|0)/8|0)+1|0;g=vg(a,((a|0)<0)<<31>>31)|0;b=(g|0)==0;if(!b)kw(g|0,0,a|0)|0;f=Yc(512)|0;a:do if(!(c|b|(f|0)==0)){d=0;while(1){c=k[e+(d<<2)>>2]|0;if((c|0)==5|(c|0)==2|(c|0)==1){b=e+(d+2<<2)|0;p=k[b>>2]|0;a=p+-1|0;k[n>>2]=a;k[b>>2]=(k[e+(d+3<<2)>>2]|0)+p;b=4}else if(!c)break;else{hd(4,n);a=k[n>>2]|0;b=2}q=e+((d|1)<<2)|0;p=(k[q>>2]|0)+-1|0;k[q>>2]=p;d=((p|0)>0?0:b)+d|0;a=(a&2147483647|0)%(h|0)|0;k[n>>2]=a;a=a+1|0;b=1<<(a&7);if(!(c&1)){a=g+(a>>>3)|0;i[a>>0]=l[a>>0]&(b^255);hi(m,(k[n>>2]|0)+1|0,f);continue}a=g+(a>>>3)|0;i[a>>0]=l[a>>0]|b;if((c|0)==5)continue;if(gi(m,(k[n>>2]|0)+1|0)|0){c=-1;break a}}e=ii(m,h+1|0)|0;a=ii(m,0)|0;a=e-h+a+(k[m>>2]|0)|0;k[n>>2]=1;if((h|0)<1)c=a;else{b=1;while(1){e=(l[g+(b>>3)>>0]&1<<(b&7)|0)!=0&1;c=b;b=b+1|0;if((e|0)!=(ii(m,c)|0))break a;k[n>>2]=b;if((c|0)>=(h|0)){c=a;break}}}}else c=-1;while(0);$c(f);$c(g);ji(m);break}case 11:{c=k[2514]|0;n=k[d>>2]|0;b=k[n>>2]|0;k[d>>2]=n+4;if(b)k[2514]=b;break}case 12:{k[c>>2]=0;c=k[c>>2]|0;break}case 13:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;break}case 22:{c=10;break}case 5:{pw(12672,9064,259)|0;c=0;break}case 6:{pw(9064,12672,259)|0;c=0;break}case 7:{if(!(Qc()|0)){i[9064]=0;c=0}else c=0;break}case 14:{m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;Cg(k[(k[n+16>>2]|0)+4>>2]|0,0,c,0)|0;c=0;break}case 15:{m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;j[c+60>>1]=n;c=0;break}case 16:{n=k[d>>2]|0;a=k[n>>2]|0;k[d>>2]=n+4;if(!a)c=0;else{c=a;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-a&1073741823}c=(ki(a,c)|0)!=27;c=c?124:0;break}case 24:{m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;k[c+136>>2]=n;c=0;break}case 23:{c=(k[2243]|0)==0&1;break}case 25:{h=k[d>>2]|0;c=k[h>>2]|0;k[d>>2]=h+4;h=k[d>>2]|0;m=k[h>>2]|0;k[d>>2]=h+4;m=(_h(c,m)|0)&255;i[c+144>>0]=m;m=k[d>>2]|0;h=k[m>>2]|0;k[d>>2]=m+4;h=h&255;i[c+147>>0]=h;m=c+145|0;i[m>>0]=h;h=k[d>>2]|0;n=k[h>>2]|0;k[d>>2]=h+4;k[c+140>>2]=n;if((i[m>>0]|0)==0&(n|0)>0){Jg(c);c=0}else c=0;break}case 17:{n=k[d>>2]|0;b=k[n>>2]|0;k[d>>2]=n+4;n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;n=k[d>>2]|0;a=k[n>>2]|0;k[d>>2]=n+4;if(b){n=li(b)|0;k[c>>2]=n}mi(a);c=0;break}case 18:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2253]=c;c=0;break}case 20:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2192]=c;c=0;break}case 9:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2252]=c;if(!c)c=0;else c=qc[c&127](0)|0;break}case 10:{m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;k[3164]=n;k[3166]=c;c=0;break}default:c=0}while(0);r=o;return c|0}function jg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)){c=a;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;d=(c-a&1073741823)+1|0;c=i[a+d>>0]|0;if(c<<24>>24){f=a+d|0;while(1){e=dw(f,b)|0;d=f;while(1){a=d+1|0;if(!(c<<24>>24))break;c=i[a>>0]|0;d=a}a=d-f&1073741823;c=f+(a+1)|0;if(!e)break a;else d=c;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;f=f+(a+2+(d-c&1073741823))|0;c=i[f>>0]|0;if(!(c<<24>>24)){c=0;break}}}else c=0}else c=0;while(0);return c|0}function kg(a,b,c){a=a|0;b=b|0;c=c|0;a=jg(a,b)|0;b=(c|0)!=0;if(a)b=(ni(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;a=jg(a,b)|0;if(!a){L=d;r=f;return c|0}else{b=(oi(a,e)|0)==0;a=e;L=b?k[a+4>>2]|0:d;r=f;return (b?k[a>>2]|0:c)|0}return 0}function mg(a,b){a=a|0;b=b|0;a=fi(a,b)|0;if(a){a=k[k[a+4>>2]>>2]|0;if(!(i[a+15>>0]|0))a=k[a+168>>2]|0;else a=10360}else a=0;return a|0}function ng(a,b){a=a|0;b=b|0;a=fi(a,b)|0;if(!a)a=-1;else a=j[(k[a+4>>2]|0)+22>>1]&1;return a|0}function og(a,b){a=a|0;b=b|0;if(b){Kk(a,k[b+28>>2]|0);rg(a,k[b>>2]|0);rg(a,k[b+4>>2]|0);Lk(a,k[b+12>>2]|0);Mk(a,k[b+16>>2]|0);rg(a,b)}return}function pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;do if(b){f=(a|0)!=0;if(!(f?(k[a+520>>2]|0)!=0:0))c=4;if((c|0)==4?(d=b+40|0,c=(j[d>>1]|0)+-1<<16>>16,j[d>>1]=c,c<<16>>16!=0):0)break;c=k[b+8>>2]|0;if(c){e=a+520|0;do{d=c;c=k[c+20>>2]|0;if(!(f?(k[e>>2]|0)!=0:0))Nk((k[d+24>>2]|0)+24|0,k[d>>2]|0,0)|0;Ok(a,d)}while((c|0)!=0)}c=k[b+16>>2]|0;if(c){h=(a|0)==0;i=b+68|0;l=a+520|0;do{if(!(!h?(k[l>>2]|0)!=0:0)){d=c+16|0;g=k[d>>2]|0;f=c+12|0;e=k[f>>2]|0;if(!g)Nk((k[i>>2]|0)+56|0,k[((e|0)==0?c:e)+8>>2]|0,e)|0;else k[g+12>>2]=e;f=k[f>>2]|0;if(f)k[f+16>>2]=k[d>>2]}Pk(a,k[c+28>>2]|0);Pk(a,k[c+32>>2]|0);d=c;c=k[c+4>>2]|0;rg(a,d)}while((c|0)!=0)}Qk(a,b);rg(a,k[b>>2]|0);rg(a,k[b+20>>2]|0);Rk(a,k[b+12>>2]|0,1);Sk(a,k[b+24>>2]|0);if(!((a|0)!=0?(k[a+520>>2]|0)!=0:0))Tk(0,b)|0;f=b+56|0;c=k[f>>2]|0;if(c){g=b+52|0;d=k[g>>2]|0;if((d|0)>0){e=0;do{if((e|0)!=1){rg(a,k[(k[f>>2]|0)+(e<<2)>>2]|0);d=k[g>>2]|0}e=e+1|0}while((e|0)<(d|0));c=k[f>>2]|0}rg(a,c)}rg(a,b)}while(0);return}function qg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;hh(k[b+60>>2]|0,j[b+68>>1]|0);e=b+16|0;hh(k[e>>2]|0,m[b+84>>1]<<1);c=k[b+192>>2]|0;if(c)do{d=c;c=k[c+24>>2]|0;Uk(a,k[d>>2]|0,k[d+4>>2]|0);rg(a,d)}while((c|0)!=0);c=j[b+70>>1]|0;if(c<<16>>16>0){d=b+64|0;c=c<<16>>16;do{c=c+-1|0;rg(a,k[(k[d>>2]|0)+(c<<2)>>2]|0)}while((c|0)>0)}Uk(a,k[b+4>>2]|0,k[b+32>>2]|0);rg(a,k[e>>2]|0);rg(a,k[b+168>>2]|0);rg(a,k[b+172>>2]|0);return}function rg(a,b){a=a|0;b=b|0;var c=0;do if(b){if(a){if(k[a+520>>2]|0){Vk(a,b);break}if((k[a+276>>2]|0)>>>0<=b>>>0?(k[a+280>>2]|0)>>>0>b>>>0:0){c=a+272|0;k[b>>2]=k[c>>2];k[c>>2]=b;a=a+252|0;k[a>>2]=(k[a>>2]|0)+-1;break}}$c(b)}while(0);return}function sg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[b+24>>2]|0;if(!e)c=0;else{c=e;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-e&1073741823}d=(((l[9328+(l[e>>0]|0)>>0]|0)+c|0)>>>0)%23|0;c=Wk(a,d,e,c)|0;if(!c){k[b+8>>2]=0;c=a+(d<<2)|0;k[b+28>>2]=k[c>>2];k[c>>2]=b}else{c=c+8|0;k[b+8>>2]=k[c>>2];k[c>>2]=b}return}function tg(a){a=a|0;var b=0,c=0;do if(a){b=k[2254]|0;if((b|0)==(a|0)){k[2254]=k[a+12>>2];break}if(b){do{c=b+12|0;b=k[c>>2]|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))k[c>>2]=k[a+12>>2]}}while(0);return}function ug(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function vg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=ow(a|0,b|0,-1,-1)|0;c=L;do if(!(c>>>0>0|(c|0)==0&b>>>0>2147483390)){if(!(k[2186]|0)){b=qc[k[8744+36>>2]&127](a)|0;break}c=qc[k[8744+52>>2]&127](a)|0;k[2171]=a;if((k[2181]|0)>>>0<a>>>0)k[2181]=a;a=k[2260]|0;do if(a){b=k[2166]|0;d=9032|0;d=iw(k[d>>2]|0,k[d+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;e=L;if(0<(e|0)|0==(e|0)&b>>>0<d>>>0){k[2265]=0;break}else{k[2265]=1;d=k[2261]|0;k[2260]=0;vc[a&15](d,b,0,c);k[2260]=a;k[2261]=d;break}}while(0);b=qc[k[8744+36>>2]&127](c)|0;if(b){a=qc[k[8744+48>>2]&127](b)|0;a=(k[2166]|0)+a|0;k[2166]=a;if(a>>>0>(k[2176]|0)>>>0)k[2176]=a;a=(k[2175]|0)+1|0;k[2175]=a;if(a>>>0>(k[2185]|0)>>>0)k[2185]=a}else b=0}else b=0;while(0);return b|0}function wg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if(a){if((b|0)==0&(c|0)==0){$c(a);d=0;break}if(!(c>>>0>0|(c|0)==0&b>>>0>2147483391)){g=qc[k[8744+48>>2]&127](a)|0;f=qc[k[8744+52>>2]&127](b)|0;if((f|0)!=(g|0)){if(!(k[2186]|0)){d=wc[k[8744+44>>2]&127](a,f)|0;break}k[2171]=b;if((k[2181]|0)>>>0<b>>>0)k[2181]=b;c=f-g|0;d=k[2166]|0;h=9032|0;h=iw(k[h>>2]|0,k[h+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;i=L;if(!(0<(i|0)|0==(i|0)&d>>>0<h>>>0)?(e=k[2260]|0,(e|0)!=0):0){h=k[2261]|0;k[2260]=0;vc[e&15](h,d,0,c);k[2260]=e;k[2261]=h}d=wc[k[8744+44>>2]&127](a,f)|0;c=k[2260]|0;if((d|0)==0&(c|0)!=0){e=k[2166]|0;d=k[2261]|0;k[2260]=0;vc[c&15](d,e,0,b);k[2260]=c;k[2261]=d;d=wc[k[8744+44>>2]&127](a,f)|0}if(d){c=(qc[k[8744+48>>2]&127](d)|0)-g|0;c=(k[2166]|0)+c|0;k[2166]=c;if(c>>>0>(k[2176]|0)>>>0)k[2176]=c}else d=0}else d=a}else d=0}else d=vg(b,c)|0;while(0);return d|0}function xg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,m=0.0,n=0.0,o=0,q=0.0,u=0.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,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;Y=r;r=r+96|0;if((r|0)>=(s|0))ka();W=Y+8|0;X=Y;V=Y+16|0;if(!b){e=0;f=0;Q=0}else{e=b&2;if(!e)f=0;else{F=k[d>>2]|0;f=k[F>>2]|0;k[d>>2]=F+4}e=e&255;Q=(b&1|0)!=0}P=e<<24>>24==0;M=e<<24>>24!=0;N=f+4|0;O=f+8|0;K=a+12|0;e=0;a:while(1){b=i[c>>0]|0;if(b<<24>>24==37){b=c;c=e}else if(b<<24>>24){b=c;do{b=b+1|0;F=i[b>>0]|0}while(!(F<<24>>24==37|F<<24>>24==0));Xk(a,c,b-c|0);if(!(i[b>>0]|0))break}else break;e=b+1|0;g=i[e>>0]|0;if(!(g<<24>>24)){R=10;break}h=g<<24>>24;o=0;j=0;v=0;g=0;x=0;y=0;b:while(1){switch(h|0){case 45:{w=j;g=1;break}case 32:{w=j;v=1;break}case 35:{o=1;w=j;break}case 33:{w=1;break}case 48:{w=j;y=1;break}case 43:{w=j;x=1;break}default:{z=o;w=j;break b}}j=b+2|0;F=i[j>>0]|0;h=F<<24>>24;if(!(F<<24>>24)){e=j;z=o;break}else{b=e;e=j;j=w}}if((h|0)!=42)if((h+-48|0)>>>0<10){j=0;do{j=h+-48+(j*10|0)|0;e=e+1|0;h=i[e>>0]|0}while((h+-48|0)>>>0<10);J=g;I=j&2147483647}else{J=g;I=0}else{if(P){F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}else j=Yk(f)|0;if((j|0)<0){g=1;j=(j|0)==-2147483648?0:0-j|0}h=e+1|0;e=h;h=i[h>>0]|0;J=g;I=j}do if((h|0)==46){j=e+1|0;g=i[j>>0]|0;if(g<<24>>24!=42){h=g<<24>>24;if((g+-48&255)<10)g=0;else{e=j;C=0;break}while(1){g=h+-48+(g*10|0)|0;e=e+2|0;F=i[e>>0]|0;h=F<<24>>24;if((F+-48&255)<10){F=j;j=e;e=F}else break}C=g&2147483647;break}if(P){F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}else j=Yk(f)|0;e=e+2|0;h=i[e>>0]|0;if((j|0)<0)C=(j|0)==-2147483648?-1:0-j|0;else C=j}else C=-1;while(0);do if((h|0)==108){j=e+1|0;h=i[j>>0]|0;if(h<<24>>24==108){h=e+2|0;e=h;h=i[h>>0]|0;j=1;break}else{e=j;h=h<<24>>24;j=0;break}}else j=0;while(0);o=0;while(1){g=48752+(o*6|0)|0;if((h|0)==(i[g>>0]|0)){h=g;g=o;R=46;break}o=o+1|0;if((o|0)>=23){H=48752;F=0;break}}if((R|0)==46){R=0;if(!(Q|g>>>0<20))break;H=h;F=i[48755+(g*6|0)>>0]|0}c:do switch(F&255|0){case 14:{j=0;R=50;break}case 1:case 16:{R=50;break}case 13:{j=k[d>>2]|0;b=k[j>>2]|0;k[d>>2]=j+4;j=k[d>>2]|0;h=k[j>>2]|0;k[d>>2]=j+4;j=k[b+(h*72|0)+12>>2]|0;if(j){g=j;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;Xk(a,j,g-j&1073741823);Xk(a,28928,1)}g=k[b+(h*72|0)+16>>2]|0;if(!g)b=0;else{b=g;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;b=b-g&1073741823}Xk(a,g,b);v=c;h=0;b=0;j=0;break}case 4:case 3:case 2:{do if(!P){j=k[N>>2]|0;if((k[f>>2]|0)>(j|0)){k[N>>2]=j+1;m=+Zg(k[(k[O>>2]|0)+(j<<2)>>2]|0);R=92;break}else{j=(C|0)<0?6:C;m=0.0;R=94;break}}else{R=k[d>>2]|0;k[t>>2]=k[R>>2];k[t+4>>2]=k[R+4>>2];m=+p[t>>3];k[d>>2]=R+8;R=92}while(0);if((R|0)==92){R=0;j=(C|0)<0?6:C;if(m<0.0){m=-m;G=45}else R=94}if((R|0)==94){R=0;if(!(x<<24>>24))G=v<<24>>24==0?0:32;else G=43}C=F<<24>>24==4;g=((C&(j|0)>0)<<31>>31)+j|0;j=g&4095;if(!j)n=.5;else{n=.5;do{j=j+-1|0;n=n*.1}while((j|0)>0)}B=F<<24>>24==2;if(B)m=m+n;p[W>>3]=m;p[X>>3]=+p[W>>3];if(+p[W>>3]!=+p[X>>3]){v=48960;h=3;b=I;j=0}else{if(m>0.0){o=0;q=1.0;while(1){u=q*1.e+100;if(m>=u&(o|0)<351){o=o+100|0;q=u}else break}while(1){u=q*1.e+64;if(m>=u&(o|0)<351){o=o+64|0;q=u}else break}while(1){u=q*1.0e8;if(m>=u&(o|0)<351){o=o+8|0;q=u}else break}while(1){u=q*10.0;if((o|0)<351&m>=u){o=o+1|0;q=u}else break}m=m/q;if(m<1.0e-08)do{m=m*1.0e8;o=o+-8|0}while(m<1.0e-08);if(m<1.0)do{m=m*10.0;o=o+-1|0}while(m<1.0);if((o|0)>350){if(G<<24>>24==43)g=48976;else if(G<<24>>24==45)g=48968;else g=48984;c=g;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;v=g;h=c-g&1073741823;b=I;j=0;break c}}else o=0;if(!B){m=n+m;if(!(m>=10.0))E=o;else{m=m*.1;E=o+1|0}}else E=o;if(C){j=(E|0)<-4|(g|0)<(E|0);C=z<<24>>24==0&1;g=g-(j?0:E)|0;j=j?3:2}else{C=w;j=F}D=j<<24>>24==3;c=D?0:E;o=(c|0)>0;j=ow(g|0,((g|0)<0)<<31>>31|0,I|0,((I|0)<0)<<31>>31|0)|0;o=ow(j|0,L|0,(o?c:0)|0,(o?((c|0)<0)<<31>>31:0)|0)|0;j=L;if((j|0)>0|(j|0)==0&o>>>0>55){o=ow(o|0,j|0,15,0)|0;o=vg(o,L)|0;if(!o){R=124;break a}else{v=o;F=o}}else{v=V;F=0}o=((w&255)*10|0)+16|0;A=(w|z)&255|(g|0)>0;if(!(G<<24>>24))B=v;else{i[v>>0]=G;B=v+1|0}if((c|0)<0){i[B>>0]=48;b=2;j=B+1|0;x=c}else{z=~c;z=(z|0)>-1?z:-1;x=-2-z|0;z=c+z|0;h=B;while(1){if((o|0)<1)b=48;else{j=~~m;b=j+48&255;m=(m-+(j|0))*10.0;o=o+-1|0}i[h>>0]=b;if((c|0)>0){h=h+1|0;c=c+-1|0}else break}b=z+3|0;j=B+(z+2)|0}h=(A|0)==0;if(!h){i[j>>0]=46;j=B+b|0}if((x+1|0)<0){kw(j|0,48,~x|0)|0;j=j+~x|0;g=g+1+x|0}if((g|0)>0){b=j;c=g;while(1){c=c+-1|0;if((o|0)<1)x=48;else{B=~~m;x=B+48&255;m=(m-+(B|0))*10.0;o=o+-1|0}i[b>>0]=x;if((c|0)<=0)break;else b=b+1|0}j=j+g|0}d:do if(!(C<<24>>24==0|h)){h=j;while(1){j=h+-1|0;g=i[j>>0]|0;if(g<<24>>24==46)break;else if(g<<24>>24!=48){j=h;break d}i[j>>0]=0;h=j}if(!(w<<24>>24)){i[j>>0]=0;break}else{i[h>>0]=48;j=h+1|0;break}}while(0);if(D){h=j+1|0;i[j>>0]=i[48912+(l[H+4>>0]|0)>>0]|0;g=j+2|0;if((E|0)<0){i[h>>0]=45;h=0-E|0}else{i[h>>0]=43;h=E}if((h|0)>99){i[g>>0]=((h|0)/100|0)+48;c=4;b=5;g=j+3|0;h=(h|0)%100|0}else{c=3;b=4}i[g>>0]=((h|0)/10|0)+48;i[j+c>>0]=((h|0)%10|0)+48;j=j+b|0}i[j>>0]=0;b=v;h=j-b|0;if(!(J<<24>>24==0&y<<24>>24!=0&(I|0)>(h|0))){b=I;j=F;break c}g=I-h|0;if((h|0)>=0){c=I;while(1){i[v+c>>0]=i[v+(c-g)>>0]|0;if((c|0)>(g|0))c=c+-1|0;else break}}if((I|0)==(h|0)){h=I;b=I;j=F;break c}kw(v+(G<<24>>24!=0&1)|0,48,I+b-j|0)|0;h=I;b=I;j=F}break}case 5:{if(P){h=k[K>>2]|0;b=k[d>>2]|0;v=k[b>>2]|0;k[d>>2]=b+4;k[v>>2]=h;v=c;h=0;b=0;j=0}else{v=c;h=0;b=0;j=0}break}case 8:{i[V>>0]=37;v=V;h=1;b=I;j=0;break}case 9:{if(!P){b=Zk(f)|0;if(!b)j=0;else j=i[b>>0]|0}else{F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}if((C|0)>1){g=C+-1|0;b=I-g|0;if(!((b|0)<2|J<<24>>24!=0)){_k(a,b+-1|0,32);b=0}c=j&255;_k(a,g,c)}else{c=j&255;b=I}i[V>>0]=c;v=V;h=1;j=0;break}case 7:case 6:{if(M)g=Zk(f)|0;else{E=k[d>>2]|0;g=k[E>>2]|0;k[d>>2]=E+4}if(!g){c=10360;j=0}else{c=g;j=F<<24>>24!=7|M?0:g}if((C|0)>-1){if((C|0)>0)g=0;else{v=c;h=0;b=I;break c}while(1){h=g+1|0;if(!(i[c+g>>0]|0)){v=c;h=g;b=I;break c}if((h|0)<(C|0))g=h;else{v=c;b=I;break}}}else{if(!c){v=0;h=0;b=I;break c}else g=c;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;v=c;h=g-c&1073741823;b=I;break c}break}case 15:case 11:case 10:{z=F<<24>>24==15?34:39;if(P){E=k[d>>2]|0;j=k[E>>2]|0;k[d>>2]=E+4}else j=Zk(f)|0;v=(j|0)==0;if(v)j=F<<24>>24==11?20304:48992;e:do if(!C){y=0;h=0}else{o=z&255;g=0;b=C;h=0;while(1){c=i[j+g>>0]|0;if(!(c<<24>>24)){y=g;break e}h=((c<<24>>24|0)==(o|0)&1)+h|0;g=g+1|0;b=b+-1|0;if(!b){y=g;break}}}while(0);w=F<<24>>24==11&(v^1);g=((w&1)<<1|1)+y+h|0;if((g|0)>70){h=vg(g,((g|0)<0)<<31>>31)|0;if(!h){R=197;break a}else{v=h;x=h}}else{v=V;x=0}if(w){i[v>>0]=z;g=1}else g=0;if((y|0)>0){o=z&255;b=0;do{h=i[j+b>>0]|0;c=g+1|0;i[v+g>>0]=h;if((h<<24>>24|0)==(o|0)){i[v+c>>0]=h;g=g+2|0}else g=c;b=b+1|0}while((b|0)!=(y|0))}if(w){i[v+g>>0]=z;g=g+1|0}i[v+g>>0]=0;h=g;b=I;j=x;break}case 12:{F=k[d>>2]|0;b=k[F>>2]|0;k[d>>2]=F+4;if((b|0)!=0?(U=k[b+4>>2]|0,(U|0)!=0):0){Xk(a,k[b>>2]|0,U);v=c;h=0;b=0;j=0}else{v=c;h=0;b=0;j=0}break}default:break a}while(0);if((R|0)==50){R=0;do if(!(i[H+2>>0]&1)){if(M){c=Yk(f)|0;o=L;B=0;break}if(!(j<<24>>24)){o=k[d>>2]|0;c=k[o>>2]|0;k[d>>2]=o+4;o=0;B=0;break}else{B=k[d>>2]|0;o=B;c=k[o>>2]|0;o=k[o+4>>2]|0;k[d>>2]=B+8;B=0;break}}else{do if(!M)if(!(j<<24>>24)){h=k[d>>2]|0;j=k[h>>2]|0;k[d>>2]=h+4;h=((j|0)<0)<<31>>31;break}else{E=k[d>>2]|0;h=E;j=k[h>>2]|0;h=k[h+4>>2]|0;k[d>>2]=E+8;break}else{j=Yk(f)|0;h=L}while(0);if((h|0)<0){c=iw(0,0,j|0,h|0)|0;o=L;B=45;break}if(!(x<<24>>24)){c=j;o=h;B=v<<24>>24==0?0:32}else{c=j;o=h;B=43}}while(0);A=(c|0)==0&(o|0)==0;if(!(y<<24>>24))x=C;else{x=I-(B<<24>>24!=0&1)|0;x=(C|0)<(x|0)?x:C}if((x|0)>=60){j=x+10|0;h=vg(j,((j|0)<0)<<31>>31)|0;if(!h){R=69;break}else{b=j;j=h;g=h}}else{b=70;j=0;g=V}y=g+(b+-1)|0;if(F<<24>>24==16){h=zw(c|0,o|0,10,0)|0;if(!(h>>>0<=3?(F=yw(c|0,o|0,10,0)|0,F=zw(F|0,L|0,10,0)|0,!((F|0)==1&(L|0)==0)):0))h=0;F=h<<1;i[g+(b+-2)>>0]=i[48896+(F|1)>>0]|0;h=g+(b+-3)|0;i[h>>0]=i[48896+F>>0]|0}else h=y;b=l[H+4>>0]|0;v=l[H+1>>0]|0;while(1){F=zw(c|0,o|0,v|0,0)|0;g=h+-1|0;i[g>>0]=i[48912+(F+b)>>0]|0;c=yw(c|0,o|0,v|0,0)|0;o=L;if((c|0)==0&(o|0)==0)break;else h=g}c=x-y+g|0;if((c|0)>0){b=h;h=g;while(1){g=b+-2|0;i[g>>0]=48;c=c+-1|0;if((c|0)<=0)break;else{b=h;h=g}}}if(B<<24>>24){g=h+-2|0;i[g>>0]=B}if((!(A|z<<24>>24==0)?(S=i[H+5>>0]|0,S<<24>>24!=0):0)?(T=48952+(S&255)|0,!(S<<24>>24==3|S<<24>>24==6)):0){c=i[T>>0]|0;h=T;do{g=g+-1|0;i[g>>0]=c;h=h+1|0;c=i[h>>0]|0}while(c<<24>>24!=0)}v=g;h=y-g|0;b=I}g=b-h|0;c=(g|0)<1;if(!(c|J<<24>>24!=0))_k(a,g,32);Xk(a,v,h);if(!(c|J<<24>>24==0))_k(a,g,32);if(j)$c(j);c=e+1|0;e=v}if((R|0)==10)Xk(a,48744,1);else if((R|0)==69){i[a+25>>0]=1;k[a+16>>2]=0}else if((R|0)==124){i[a+25>>0]=1;k[a+16>>2]=0}else if((R|0)==197){i[a+25>>0]=1;k[a+16>>2]=0}r=Y;return}function yg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+8|0;b=k[d>>2]|0;do if(((b|0)!=0?(f=a+12|0,i[b+(k[f>>2]|0)>>0]=0,c=i[a+24>>0]|0,c<<24>>24!=0):0)?(e=a+4|0,(k[d>>2]|0)==(k[e>>2]|0)):0){if(c<<24>>24==1){b=(k[f>>2]|0)+1|0;b=rh(k[a>>2]|0,b,((b|0)<0)<<31>>31)|0}else b=Yc((k[f>>2]|0)+1|0)|0;k[d>>2]=b;if(!b){i[a+25>>0]=1;k[a+16>>2]=0;break}else{pw(b|0,k[e>>2]|0,(k[f>>2]|0)+1|0)|0;break}}while(0);return k[d>>2]|0}function zg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();h=l;e=a+52|0;k[e>>2]=b;a:do if(!c){k[e>>2]=b;b=k[a+236>>2]|0;if(b){e=b+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(b);break}}}else{g=a+236|0;do if(!(k[g>>2]|0)){e=rh(a,40,0)|0;if(!e){k[g>>2]=e;break a}else{b=e+0|0;f=b+40|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(f|0));j[e+8>>1]=1;k[e+32>>2]=a;k[g>>2]=e;break}}while(0);k[h>>2]=d;e=$k(a,c,h)|0;b=k[g>>2]|0;if(b)ah(b,e,-1,1,75)|0}while(0);r=l;return}function Ag(a){a=a|0;var b=0,c=0;c=a+8|0;b=j[c>>1]|0;if(b&8192){bl(a,k[a>>2]|0)|0;b=j[c>>1]|0}b=b&65535;do if(!(b&1024)){if(b&32){cl(k[a>>2]|0);break}if(b&64){a=k[a>>2]|0;b=(k[a>>2]|0)+180|0;k[a+4>>2]=k[b>>2];k[b>>2]=a}}else hc[k[a+36>>2]&31](k[a+16>>2]|0);while(0);j[c>>1]=1;return}function Bg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;d=_h(b,c)|0;do if((d|0)==1){e=rh(a,536,0)|0;if(!e){zg(a,7,15776,f);d=0;break}kw(e|0,0,536)|0;k[e>>2]=b;if(!(dl(e)|0)){rg(a,k[e+4>>2]|0);Hh(e);rg(a,e);g=7;break}else{b=k[e+12>>2]|0;d=e+4|0;k[f>>2]=k[d>>2];zg(a,b,10344,f);rg(a,k[d>>2]|0);Hh(e);rg(a,e);d=0;break}}else g=7;while(0);do if((g|0)==7)if((d|0)<0){k[f>>2]=c;zg(a,1,47448,f);d=0;break}else{d=k[(k[b+16>>2]|0)+(d<<4)+4>>2]|0;break}while(0);r=h;return d|0}function Cg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=k[a+4>>2]|0;k[h+4>>2]=k[a>>2];g=h+22|0;if(!(j[g>>1]&2)){if((c|0)<0)c=(k[h+32>>2]|0)-(k[h+36>>2]|0)|0;if(((b+-512|0)>>>0<65025?(b+-1&b|0)==0:0)?(k[h+32>>2]=b,e=h+80|0,f=k[e>>2]|0,(f|0)!=0):0){a=f+-4|0;k[e>>2]=a;el(a);k[e>>2]=0}e=h+32|0;a=fl(k[h>>2]|0,e,c)|0;k[h+36>>2]=(k[e>>2]|0)-(c&65535);if(d)j[g>>1]=m[g>>1]|0|2}else a=8;return a|0}function Dg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=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;Q=r;r=r+16|0;if((r|0)>=(s|0))ka();K=Q;J=Q+12|0;I=Q+8|0;O=k[a+4>>2]|0;F=O+4|0;k[F>>2]=k[a>>2];L=a+8|0;e=i[L>>0]|0;do if(e<<24>>24!=2?(M=(b|0)!=0,e<<24>>24!=1|M):0){N=O+22|0;e=j[N>>1]|0;if(!((e&1)!=0&M)){if(M)if((i[O+20>>0]|0)!=2&(e&64)==0)P=8;else P=7;else if(!(e&64))P=8;else P=7;a:do if((P|0)==7){c=k[O+76>>2]|0;P=12}else if(((P|0)==8?(b|0)>1:0)?(d=k[O+72>>2]|0,(d|0)!=0):0)do{e=k[d>>2]|0;if((e|0)!=(a|0)){c=e;P=12;break a}d=k[d+12>>2]|0}while((d|0)!=0);while(0);if((P|0)==12?(k[c>>2]|0)!=0:0){c=262;break}c=gl(a,1,1)|0;if(!c){e=m[N>>1]|0;j[N>>1]=e&65527;H=O+44|0;if(!(k[H>>2]|0))j[N>>1]=e|8;B=O+12|0;p=O+32|0;q=O+36|0;t=O+17|0;u=O+18|0;v=O+80|0;w=O+24|0;x=O+26|0;y=O+28|0;z=O+30|0;A=O+21|0;C=O+20|0;D=(b|0)>1;c=0;b:while(1){c:do if(!(k[B>>2]|0)){c=hl(k[O>>2]|0)|0;if(!c){c=il(O,1,J,0)|0;if(!c){o=k[J>>2]|0;g=k[o+56>>2]|0;e=l[g+29>>0]<<16|l[g+28>>0]<<24|l[g+30>>0]<<8|l[g+31>>0];f=k[O>>2]|0;h=k[f+24>>2]|0;if((e|0)!=0?(cw(g+24|0,g+92|0,4)|0)==0:0)n=e;else n=h;d:do if((n|0)>0){e:do if(!(cw(g,44680,16)|0)){if((l[g+18>>0]|0)>2)j[N>>1]=m[N>>1]|1;e=i[g+19>>0]|0;if((e&255)<=2){do if(e<<24>>24==2){if(j[N>>1]&16)break;k[I>>2]=0;c=jl(f,I)|0;if(c){P=48;break e}if(k[I>>2]|0)break;if(!o){c=0;continue b}Gg(k[o+68>>2]|0);c=0;continue b}while(0);if(cw(g+21|0,47408,3)|0){c=26;P=48;break}d=l[g+17>>0]<<16|l[g+16>>0]<<8;if((d+16777215&d|0)!=0|d>>>0>65536|d>>>0<257){c=26;P=48;break}f=l[g+20>>0]|0;e=d-f|0;if((d|0)==(k[p>>2]|0)){if((n|0)>(h|0)?(k[(k[F>>2]|0)+24>>2]&65536|0)==0:0){k[K>>2]=55672;k[K+4>>2]=10788;gd(11,13600,K);c=11;P=48;break}if(e>>>0<480){c=26;P=48;break}k[p>>2]=d;k[q>>2]=e;i[t>>0]=(l[g+53>>0]<<16|l[g+52>>0]<<24|l[g+54>>0]<<8|l[g+55>>0]|0)!=0&1;i[u>>0]=(l[g+65>>0]<<16|l[g+64>>0]<<24|l[g+66>>0]<<8|l[g+67>>0]|0)!=0&1;break d}if(o)Gg(k[o+68>>2]|0);k[q>>2]=e;k[p>>2]=d;e=k[v>>2]|0;if(e){c=e+-4|0;k[v>>2]=c;el(c);k[v>>2]=0}c=fl(k[O>>2]|0,p,f)|0}else{c=26;P=48}}else{c=26;P=48}while(0);if((P|0)==48){P=0;if(o)Gg(k[o+68>>2]|0);k[B>>2]=0}if(!c){c=0;continue b}else{P=77;break c}}else e=k[q>>2]|0;while(0);c=((((e<<6)+-768|0)>>>0)/255|0)+65513|0;d=c&65535;j[w>>1]=d;f=((((e<<5)+-384|0)>>>0)/255|0)+65513&65535;j[x>>1]=f;j[y>>1]=e+65501;j[z>>1]=f;i[A>>0]=(d&65535)>127?127:c&255;k[B>>2]=o;k[H>>2]=n;c=0;continue b}else e=0}else e=0}else{f:do if((c|0)==0&M){if(j[N>>1]&1){c=8;P=77;break c}n=k[O>>2]|0;c=k[n+40>>2]|0;g:do if(!c){i[n+21>>0]=(i[(k[a>>2]|0)+64>>0]|0)==2&1;o=n+16|0;if((i[o>>0]|0)==1){f=n+208|0;e=k[f>>2]|0;do if(!e){c=kl(n,2)|0;h:do if((c|0)==0&D){e=n+176|0;d=n+180|0;while(1){c=kl(n,4)|0;if((c|0)!=5)break h;if(!(qc[k[e>>2]&127](k[d>>2]|0)|0)){c=5;break g}}}while(0);if(c)break g}else{do if(i[n+4>>0]|0){if(i[e+43>>0]|0)break;c=kl(n,4)|0;if(c)break g;e=k[f>>2]|0;d=e+43|0;if(!(i[d>>0]|0)){c=k[e+4>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,(j[e+40>>1]|0)+3|0,1,5)|0;e=k[f>>2]|0}i[d>>0]=1}while(0);if(i[e+46>>0]|0){c=8;break g}d=e+43|0;if((i[d>>0]|0)==0?(E=k[e+4>>2]|0,E=uc[k[(k[E>>2]|0)+56>>2]&31](E,0,1,10)|0,(E|0)!=0):0){c=E;break g}c=e+44|0;i[c>>0]=1;if(!(cw(e+52|0,k[k[e+32>>2]>>2]|0,48)|0))break;if(!(i[d>>0]|0)){d=k[e+4>>2]|0;uc[k[(k[d>>2]|0)+56>>2]&31](d,0,1,9)|0}i[c>>0]=0;c=517;break g}while(0);i[o>>0]=2;c=k[n+24>>2]|0;k[n+36>>2]=c;k[n+32>>2]=c;k[n+28>>2]=c;c=n+72|0;k[c>>2]=0;k[c+4>>2]=0}c=Hg(O)|0;break f}while(0);e=(c|0)==0;break c}while(0);if(!c){c=0;break b}else e=0}while(0);if((P|0)==77){P=0;e=(c|0)==0}if((i[C>>0]|0)==0?(G=k[B>>2]|0,(G|0)!=0):0){k[B>>2]=0;Gg(k[G+68>>2]|0)}if((c&255|0)!=5){P=86;break}if(i[C>>0]|0){P=86;break}if(!(ll(O)|0)){P=86;break}}if((P|0)==86)if(!e){P=96;break}if((i[L>>0]|0)==0?(E=O+40|0,k[E>>2]=(k[E>>2]|0)+1,(i[a+9>>0]|0)!=0):0){i[a+40>>0]=1;E=O+72|0;k[a+44>>2]=k[E>>2];k[E>>2]=a+32}e=M?2:1;i[L>>0]=e;if((e&255)>(l[C>>0]|0))i[C>>0]=e;if(M){e=k[B>>2]|0;k[O+76>>2]=a;d=m[N>>1]|0;j[N>>1]=D?d|32:d&65503;d=e+56|0;E=k[d>>2]|0;if((k[H>>2]|0)!=(l[E+29>>0]<<16|l[E+28>>0]<<24|l[E+30>>0]<<8|l[E+31>>0]|0)){c=Lg(k[e+68>>2]|0)|0;if(!c){c=k[d>>2]|0;P=k[H>>2]|0;i[c+28>>0]=P>>>24;i[c+29>>0]=P>>>16;i[c+30>>0]=P>>>8;i[c+31>>0]=P;c=0;P=96}}else P=96}}}else c=8}else{c=0;P=96}while(0);if((P|0)==96)if((c|0)==0&(b|0)!=0)c=ml(k[O>>2]|0,k[(k[a>>2]|0)+496>>2]|0)|0;r=Q;return c|0}function Eg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();p=v;t=v+8|0;k[t>>2]=0;o=d&1;a:do if(!b){k[p>>2]=46865;k[p+4>>2]=10788;gd(11,13600,p);e=11}else{i[a+23>>0]=1;d=k[a+40>>2]|0;do if(!d){n=a+204|0;d=k[n>>2]|0;d=fc[k[8744+132>>2]&63](k[d+40>>2]|0,b,l[d+29>>0]&3)|0;if(!d){g=k[n>>2]|0;if((i[g+29>>0]|0)!=2){f=g+8|0;d=k[f>>2]|0;b:do if(!d)u=11;else{while(1){if((j[d+26>>1]|0)==0?(j[d+24>>1]&4)==0:0)break;d=k[d+36>>2]|0;if(!d){u=11;break b}}k[f>>2]=d;m=d;u=14}while(0);c:do if((u|0)==11?(k[f>>2]=0,h=k[g+4>>2]|0,(h|0)!=0):0){d=h;do{if(!(j[d+26>>1]|0)){m=d;u=14;break c}d=k[d+36>>2]|0}while((d|0)!=0)}while(0);if((u|0)==14?(e=wc[k[g+32>>2]&127](k[g+36>>2]|0,m)|0,!((e|0)==0|(e|0)==5)):0)break;e=fc[k[8744+132>>2]&63](k[g+40>>2]|0,b,2)|0;if(!e){e=7;break}}else e=0}else e=d;g=nl(k[n>>2]|0,b,e)|0;k[c>>2]=g;if(!g)e=7;else{d=g+16|0;e=(o|0)!=0;if(!((k[d>>2]|0)==0|e)){e=a+184|0;k[e>>2]=(k[e>>2]|0)+1;e=0;break a}k[d>>2]=a;do if((b|0)>=0?(q=a+152|0,(((k[2514]|0)/(k[q>>2]|0)|0)+1|0)!=(b|0)):0){if(((i[a+15>>0]|0)==0?!((k[a+24>>2]|0)>>>0<b>>>0|e):0)?(k[k[a+60>>2]>>2]|0)!=0:0){e=k[a+208>>2]|0;if(!e)e=0;else{e=pl(e,b,t)|0;if(e)break;e=k[t>>2]|0}q=a+188|0;k[q>>2]=(k[q>>2]|0)+1;e=ql(g,e)|0;if(!e){e=0;break a}else break}if((k[a+156>>2]|0)>>>0<b>>>0)e=13;else{if(e){e=k[3164]|0;if(e)sc[e&3]();if((k[a+28>>2]|0)>>>0>=b>>>0)gi(k[a+56>>2]|0,b)|0;ol(a,b)|0;e=k[3166]|0;if(e)sc[e&3]()}kw(k[g+4>>2]|0,0,k[q>>2]|0)|0;e=0;break a}}else u=21;while(0);if((u|0)==21){k[p>>2]=46945;k[p+4>>2]=10788;gd(11,13600,p);e=11}rl(g)}}else e=d;while(0);if((k[a+120>>2]|0)==0?(k[(k[a+204>>2]|0)+12>>2]|0)==0:0)sl(a);k[c>>2]=0}while(0);r=v;return e|0}function Fg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();v=w;t=a+4|0;n=k[(k[t>>2]|0)+4>>2]|0;u=k[n>>2]|0;q=a+24|0;m=k[(k[(k[q>>2]|0)+4>>2]|0)+32>>2]|0;n=k[n+32>>2]|0;o=(m|0)<(n|0)?m:n;p=((m|0)<0)<<31>>31;j=xw(m|0,p|0,b|0,0)|0;l=L;if((m|0)==(n|0))a=0;else a=(i[u+15>>0]|0)==0?0:8;a:do if((a|0)==0&(m|0)>0){b=iw(j|0,l|0,m|0,p|0)|0;h=((n|0)<0)<<31>>31;g=(d|0)==0;f=L;a=n;while(1){k[v>>2]=0;d=vw(b|0,f|0,n|0,h|0)|0;if((d|0)!=(((k[2514]|0)>>>0)/(a>>>0)|0|0)){a=Eg(u,d+1|0,v,0)|0;e=k[v>>2]|0;if(!a){a=Lg(e)|0;if(!a){x=ww(b|0,f|0,m|0,p|0)|0;d=k[e+4>>2]|0;a=ww(b|0,f|0,n|0,h|0)|0;pw(d+a|0,c+x|0,o|0)|0;i[k[e+8>>2]>>0]=0;if((b|0)==0&(f|0)==0&g){x=k[(k[(k[q>>2]|0)+4>>2]|0)+44>>2]|0;i[d+(a+28)>>0]=x>>>24;i[d+(a+29)>>0]=x>>>16;i[d+(a+30)>>0]=x>>>8;i[d+(a+31)>>0]=x;a=0}else a=0}}if(e)Gg(e)}else a=0;b=ow(b|0,f|0,n|0,h|0)|0;d=L;if(!((a|0)==0&((d|0)<(l|0)|(d|0)==(l|0)&b>>>0<j>>>0)))break a;f=d;a=k[(k[(k[t>>2]|0)+4>>2]|0)+32>>2]|0}}while(0);r=w;return a|0}function Gg(a){a=a|0;var b=0,c=0,d=0;b=k[a+16>>2]|0;if(!(j[a+24>>1]&64)){tl(a);a=k[b+120>>2]|0}else{d=b+120|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;d=b+136|0;k[a+12>>2]=k[d>>2];k[d>>2]=a;a=c}if((a|0)==0?(k[(k[b+204>>2]|0)+12>>2]|0)==0:0)sl(b);return}function Hg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=a+44|0;if(!(k[e>>2]|0)){f=k[a+12>>2]|0;g=k[f+56>>2]|0;b=Lg(k[f+68>>2]|0)|0;if(!b){b=g+0|0;c=44680|0;d=b+16|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(d|0));b=a+32|0;i[g+16>>0]=(k[b>>2]|0)>>>8;i[g+17>>0]=(k[b>>2]|0)>>>16;i[g+18>>0]=1;i[g+19>>0]=1;i[g+20>>0]=(k[b>>2]|0)-(k[a+36>>2]|0);i[g+21>>0]=64;i[g+22>>0]=32;i[g+23>>0]=32;b=g+24|0;d=b+76|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(d|0));ul(f,13);b=a+22|0;j[b>>1]=m[b>>1]|0|2;b=i[a+17>>0]|0;i[g+52>>0]=0;i[g+53>>0]=0;i[g+54>>0]=0;i[g+55>>0]=b;b=i[a+18>>0]|0;i[g+64>>0]=0;i[g+65>>0]=0;i[g+66>>0]=0;i[g+67>>0]=b;k[e>>2]=1;i[g+31>>0]=1;b=0}}else b=0;return b|0}function Ig(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;k[e+4>>2]=k[a>>2];a=k[e+12>>2]|0;d=k[a+56>>2]|0;a=Lg(k[a+68>>2]|0)|0;if((a|0)==0?(g=b<<2,i[d+(g+36)>>0]=c>>>24,i[d+(g+37)>>0]=c>>>16,i[d+(g+38)>>0]=c>>>8,f=c&255,i[d+(g+39)>>0]=f,(b|0)==7):0)i[e+18>>0]=f;return a|0}function Jg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=k[g>>2]|0;c=(b|0)>0;if(c){d=k[a+16>>2]|0;f=0;do{e=k[d+(f<<4)+4>>2]|0;if(e)k[(k[e+4>>2]|0)+4>>2]=k[e>>2];f=f+1|0}while((f|0)!=(b|0));if(c){f=a+16|0;e=0;do{c=k[(k[f>>2]|0)+(e<<4)+12>>2]|0;if(c){vl(c);b=k[g>>2]|0}e=e+1|0}while((e|0)<(b|0))}}b=a+24|0;k[b>>2]=k[b>>2]&-3;wl(a);xl(a);return}function Kg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;g=d+22|0;c=m[g>>1]|0;j[g>>1]=(b|0)==1?c|16:c&65519;c=Dg(a,0)|0;do if(!c){d=d+12|0;e=k[(k[d>>2]|0)+56>>2]|0;f=e+18|0;c=i[f>>0]|0;b=b&255;if(c<<24>>24==b<<24>>24?(i[e+19>>0]|0)==c<<24>>24:0){c=0;break}c=Dg(a,2)|0;if(!c){c=Lg(k[(k[d>>2]|0)+68>>2]|0)|0;if(!c){i[f>>0]=b;i[e+19>>0]=b;c=0}}}while(0);j[g>>1]=m[g>>1]&65519;return c|0}function Lg(a){a=a|0;var b=0;b=k[a+16>>2]|0;if((k[b+148>>2]|0)>>>0>(k[b+152>>2]|0)>>>0)a=yl(a)|0;else a=zl(a)|0;return a|0}function Mg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;x=r;r=r+32|0;if((r|0)>=(s|0))ka();q=x+16|0;t=x;e=x+12|0;h=x+8|0;f=k[a+40>>2]|0;a:do if(!f){w=a+16|0;if((l[w>>0]|0)>=3){b:do if(!(i[a+15>>0]|0)){if(k[a+208>>2]|0){g=a+204|0;e=Al(k[g>>2]|0)|0;k[h>>2]=0;if(!e){d=Eg(a,1,h,0)|0;e=k[h>>2]|0;k[e+12>>2]=0;if(e){f=e;v=9}}else{f=0;v=9}if((v|0)==9){d=Bl(a,e,k[a+24>>2]|0,1)|0;if(f)Gg(f)}if(d)break a;e=k[g>>2]|0;d=k[e>>2]|0;if(!d)break;while(1){Cl(d);d=k[e>>2]|0;if(!d)break b}}f=a+18|0;if((i[f>>0]|0)==0?(k[a+24>>2]|0)!=0:0){g=Eg(a,1,e,0)|0;e=k[e>>2]|0;if(!g){g=Lg(e)|0;if(!g){Dl(e);i[f>>0]=1;g=0}}if(e)Gg(e);if(g){d=g;break a}}if(((b|0)!=0?(i[a+5>>0]|0)!=4:0)?(u=a+64|0,j=k[u>>2]|0,(k[j>>2]|0)!=0):0){i[a+19>>0]=1;f=i[b>>0]|0;if(!(f<<24>>24)){g=0;e=0}else{g=0;e=0;do{g=(f<<24>>24)+g|0;e=e+1|0;f=i[b+e>>0]|0}while(f<<24>>24!=0)}p=a+72|0;h=p;f=k[h>>2]|0;h=k[h+4>>2]|0;if(i[a+8>>0]|0){if((f|0)==0&(h|0)==0){f=0;h=0}else{h=ow(f|0,h|0,-1,-1)|0;f=k[a+148>>2]|0;h=vw(h|0,L|0,f|0,0)|0;h=ow(h|0,L|0,1,0)|0;f=xw(h|0,L|0,f|0,0)|0;h=L}o=p;k[o>>2]=f;k[o+4>>2]=h}y=((k[2514]|0)/(k[a+152>>2]|0)|0)+1|0;i[q>>0]=y>>>24;m=q+1|0;i[m>>0]=y>>>16;n=q+2|0;i[n>>0]=y>>>8;o=q+3|0;i[o>>0]=y;j=yc[k[(k[j>>2]|0)+12>>2]&31](j,q,4,f,h)|0;if(j){d=j;break a}y=k[u>>2]|0;j=ow(f|0,h|0,4,0)|0;h=L;f=yc[k[(k[y>>2]|0)+12>>2]&31](y,b,e,j,h)|0;if(f){d=f;break a}y=k[u>>2]|0;h=ow(j|0,h|0,e|0,((e|0)<0)<<31>>31|0)|0;f=L;i[q>>0]=e>>>24;i[m>>0]=e>>>16;i[n>>0]=e>>>8;i[o>>0]=e;j=yc[k[(k[y>>2]|0)+12>>2]&31](y,q,4,h,f)|0;if(j){d=j;break a}y=k[u>>2]|0;j=ow(h|0,f|0,4,0)|0;i[q>>0]=g>>>24;i[m>>0]=g>>>16;i[n>>0]=g>>>8;i[o>>0]=g;g=yc[k[(k[y>>2]|0)+12>>2]&31](y,q,4,j,L)|0;if(g){d=g;break a}o=k[u>>2]|0;f=ow(h|0,f|0,8,0)|0;f=yc[k[(k[o>>2]|0)+12>>2]&31](o,14808,8,f,L)|0;if(f){d=f;break a}o=e+20|0;f=p;o=ow(k[f>>2]|0,k[f+4>>2]|0,o|0,((o|0)<0)<<31>>31|0)|0;f=p;k[f>>2]=o;k[f+4>>2]=L;f=k[u>>2]|0;f=wc[k[(k[f>>2]|0)+24>>2]&127](f,t)|0;if(f){d=f;break a}o=t;n=k[o+4>>2]|0;f=p;e=k[f>>2]|0;f=k[f+4>>2]|0;if((n|0)>(f|0)|((n|0)==(f|0)?(k[o>>2]|0)>>>0>e>>>0:0)?(d=k[u>>2]|0,d=fc[k[(k[d>>2]|0)+16>>2]&63](d,e,f)|0,(d|0)!=0):0)break a}d=El(a,0)|0;if(d)break a;e=a+204|0;d=Fl(a,Al(k[e>>2]|0)|0)|0;if(d)break a;d=k[e>>2]|0;e=k[d>>2]|0;if(e)do{Cl(e);e=k[d>>2]|0}while((e|0)!=0);e=k[a+24>>2]|0;if(e>>>0>(k[a+32>>2]|0)>>>0){d=Gl(a,e-((e|0)==(((k[2514]|0)/(k[a+152>>2]|0)|0)+1|0)&1)|0)|0;if(!(d|c))v=46}else if(!c)v=46;else break;if((v|0)==46)d=Ng(a,b)|0;if(d)break a}else{d=k[a+88>>2]|0;if(d)do{k[d+16>>2]=1;d=k[d+44>>2]|0}while((d|0)!=0)}while(0);if(!(k[a+208>>2]|0)){i[w>>0]=5;d=0}else d=0}else d=0}else d=f;while(0);r=x;return d|0}function Ng(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=a+60|0;e=k[d>>2]|0;f=k[e>>2]|0;if(!((f|0)!=0?(c=fc[k[f+40>>2]&63](e,21,b)|0,!((c|0)==0|(c|0)==12)):0))if(!(i[a+7>>0]|0)){c=k[d>>2]|0;c=wc[k[(k[c>>2]|0)+20>>2]&127](c,l[a+11>>0]|0)|0}else c=0;return c|0}function Og(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=i[a+8>>0]|0;do if(!(d<<24>>24))c=0;else{h=k[a+4>>2]|0;k[h+4>>2]=k[a>>2];if(d<<24>>24==2){e=k[h>>2]|0;f=e+40|0;d=k[f>>2]|0;do if(!d){d=e+16|0;if(((i[d>>0]|0)==2?(i[e+4>>0]|0)!=0:0)?(i[e+5>>0]|0)==1:0){i[d>>0]=1;break}c=e+100|0;k[c>>2]=(k[c>>2]|0)+1;c=Hl(e,l[e+19>>0]|0,1)|0;e=c&255;if((e|0)==10|(e|0)==13){k[f>>2]=c;i[d>>0]=6;g=10}else g=10}else{c=d;g=10}while(0);if((g|0)==10?(c|0)!=0&(b|0)==0:0)break;c=a+20|0;k[c>>2]=(k[c>>2]|0)+-1;i[h+20>>0]=1;c=h+60|0;ji(k[c>>2]|0);k[c>>2]=0}Il(a);c=0}while(0);return c|0}function Pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();e=o;a:do if((i[a+8>>0]|0)==2){n=k[a+4>>2]|0;k[n+4>>2]=k[a>>2];do if(i[n+17>>0]|0){m=k[n>>2]|0;c=n+8|0;a=k[c>>2]|0;if(a)do{j=a+72|0;i[j>>0]=l[j>>0]&251;a=k[a+8>>2]|0}while((a|0)!=0);if(!(i[n+18>>0]|0)){j=n+44|0;d=k[j>>2]|0;if(d>>>0<2)a=0;else{a=d+-2|0;a=a-((a>>>0)%(((((k[n+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;a=((a+1|0)==(((k[2514]|0)>>>0)/((k[n+32>>2]|0)>>>0)|0|0)?3:2)+a|0}if((a|0)!=(d|0)?(d|0)!=((((k[2514]|0)>>>0)/((k[n+32>>2]|0)>>>0)|0)+1|0):0){f=n+12|0;g=k[(k[f>>2]|0)+56>>2]|0;g=l[g+37>>0]<<16|l[g+36>>0]<<24|l[g+38>>0]<<8|l[g+39>>0];h=Jl(n,d,g)|0;if(h>>>0>d>>>0){k[e>>2]=56396;k[e+4>>2]=10788;gd(11,13600,e);a=11;break a}b:do if(h>>>0<d>>>0){a=k[c>>2]|0;c:do if(a){while(1){if(a)break;a=k[2]|0;if(!a)break c}a=Kl(a,0,0)|0;if(a){c=0;break b}}while(0);do{a=Ll(n,h,d,1)|0;d=d+-1|0;c=(a|0)==0}while(d>>>0>h>>>0&c)}else{c=1;a=0}while(0);if(((a|0)==101|c)&(g|0)!=0){a=Lg(k[(k[f>>2]|0)+68>>2]|0)|0;g=(k[(k[f>>2]|0)+56>>2]|0)+32|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;g=(k[(k[f>>2]|0)+56>>2]|0)+36|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;g=k[(k[f>>2]|0)+56>>2]|0;i[g+28>>0]=h>>>24;i[g+29>>0]=h>>>16;i[g+30>>0]=h>>>8;i[g+31>>0]=h;i[n+19>>0]=1;k[j>>2]=h}if(!a)break;Ml(m)|0;break a}k[e>>2]=56391;k[e+4>>2]=10788;gd(11,13600,e);a=11;break a}}while(0);a=k[n>>2]|0;if(i[n+19>>0]|0)k[a+24>>2]=k[n+44>>2];a=Mg(a,b,0)|0}else a=0;while(0);r=o;return a|0}function Qg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();e=h;g=k[a+4>>2]|0;k[g+4>>2]=k[a>>2];a:do if(!b){b=k[g+8>>2]|0;if(b){while(1){if(b)break;b=k[2]|0;if(!b)break a}b=Kl(b,0,0)|0;d=(b|0)==0;if(!d){d=d?c:0;f=6}}}else{d=c;f=6}while(0);if((f|0)==6)Nl(a,b,d)|0;if((i[a+8>>0]|0)==2){Ml(k[g>>2]|0)|0;if(!(il(g,1,e,0)|0)){b=k[e>>2]|0;d=k[b+56>>2]|0;d=l[d+29>>0]<<16|l[d+28>>0]<<24|l[d+30>>0]<<8|l[d+31>>0];if(!d)d=k[(k[g>>2]|0)+24>>2]|0;k[g+44>>2]=d;if(b)Gg(k[b+68>>2]|0)}i[g+20>>0]=1;d=g+60|0;ji(k[d>>2]|0);k[d>>2]=0}Il(a);r=h;return}function Rg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=a+76|0;if((k[g>>2]|0)==1691352191?(Ol(a)|0)==0:0){Pl(a,0);Ql(a);f=a+20|0;h=a+16|0;b=k[h>>2]|0;if((k[f>>2]|0)>0){e=0;do{d=b+(e<<4)+4|0;c=k[d>>2]|0;if((c|0)!=0?(Rl(c),k[d>>2]=0,(e|0)!=1):0)k[b+(e<<4)+12>>2]=0;e=e+1|0;b=k[h>>2]|0}while((e|0)<(k[f>>2]|0))}b=k[b+28>>2]|0;if(b)vl(b);wl(a);xl(a);e=0;do{b=k[a+(e<<2)+336>>2]|0;if(b)do{d=b;b=k[b+28>>2]|0;if(d)do{Sl(a,d);c=d;d=k[d+8>>2]|0;rg(a,c)}while((d|0)!=0)}while((b|0)!=0);e=e+1|0}while((e|0)!=23);c=a+428|0;b=k[a+436>>2]|0;if(b)do{e=k[b+8>>2]|0;d=k[e+16>>2]|0;if(d)hc[d&31](k[e+8>>2]|0);d=k[e+36>>2]|0;if(d)hc[d&31](k[e+28>>2]|0);d=k[e+56>>2]|0;if(d)hc[d&31](k[e+48>>2]|0);rg(a,e);b=k[b>>2]|0}while((b|0)!=0);Tl(c);e=a+308|0;b=k[a+316>>2]|0;if(b)do{d=k[b+8>>2]|0;c=k[d+12>>2]|0;if(c)hc[c&31](k[d+8>>2]|0);rg(a,d);b=k[b>>2]|0}while((b|0)!=0);Tl(e);k[a+52>>2]=0;c=a+236|0;b=k[c>>2]|0;do if(b){d=b+8|0;if(!(j[d>>1]&9312)){j[d>>1]=1;break}else{Ag(b);b=k[c>>2]|0;break}}else b=0;while(0);Rh(b);d=a+168|0;if((k[d>>2]|0)>0){b=a+172|0;c=0;do{e=k[a>>2]|0;oc[k[e+52>>2]&15](e,k[(k[b>>2]|0)+(c<<2)>>2]|0);c=c+1|0}while((c|0)<(k[d>>2]|0))}else b=a+172|0;rg(a,k[b>>2]|0);k[g>>2]=-1254786768;rg(a,k[(k[h>>2]|0)+28>>2]|0);k[g>>2]=-1623446221;if(i[a+251>>0]|0)$c(k[a+276>>2]|0);$c(a)}return}function Sg(a){a=a|0;var b=0;b=k[a+40>>2]|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Ug(a)|0;else b=0;Ul(a);return b|0}function Tg(a,b){a=a|0;b=b|0;do if(a)if((i[a+65>>0]|0)!=0|(b|0)==3082){Vl(a);a=7;break}else{a=k[a+56>>2]&b;break}else a=b&255;while(0);return a|0}function Ug(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();c=e;d=k[a>>2]|0;Wl(a)|0;if((k[a+76>>2]|0)>-1){mh(a)|0;b=a+44|0;rg(d,k[b>>2]|0);k[b>>2]=0;b=a+88|0;c=j[b>>1]|0;if(c&16)j[b>>1]=c|8}else{b=k[a+80>>2]|0;if((b|0)!=0?(j[a+88>>1]&8)!=0:0){f=a+44|0;g=k[f>>2]|0;k[c>>2]=g;zg(d,b,(g|0)!=0?10344:0,c);rg(d,k[f>>2]|0);k[f>>2]=0}}b=a+44|0;rg(k[a>>2]|0,k[b>>2]|0);k[b>>2]=0;k[a+20>>2]=0;b=a+136|0;k[b>>2]=0;k[b+4>>2]=0;k[a+40>>2]=649915045;r=e;return k[d+56>>2]&k[a+80>>2]|0}function Vg(a){a=a|0;var b=0;if(j[a+8>>1]&9312)Ag(a);b=a+24|0;if(k[b>>2]|0){rg(k[a+32>>2]|0,k[a+20>>2]|0);k[b>>2]=0}k[a+16>>2]=0;return}function Wg(a){a=a|0;var b=0,c=0,d=0;b=a+8|0;if(j[b>>1]&16384){c=a+12|0;d=(k[a>>2]|0)+(k[c>>2]|0)|0;if(!(jh(a,(d|0)<1?1:d,1)|0)){kw((k[a+16>>2]|0)+(k[c>>2]|0)|0,0,k[a>>2]|0)|0;k[c>>2]=(k[c>>2]|0)+(k[a>>2]|0);j[b>>1]=(m[b>>1]|0)&48639;b=0}else b=7}else b=0;return b|0}function Xg(a,b){a=a|0;b=b|0;var c=0;do if(a){c=j[a+8>>1]|0;if((c&514)==514?(i[a+10>>0]|0)==b<<24>>24:0){c=k[a+16>>2]|0;break}if(!(c&1))c=Xl(a,b)|0;else c=0}else c=0;while(0);return c|0}function Yg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;d=j[c>>1]|0;if(!(d&16))if(!(Xg(a,b)|0))c=0;else{d=j[c>>1]|0;e=4}else e=4;if((e|0)==4){c=k[a+12>>2]|0;if(d&16384)c=(k[a>>2]|0)+c|0}return c|0}function Zg(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=m[a+8>>1]|0;do if(!(c&8)){if(c&4){c=a;b=+((k[c>>2]|0)>>>0)+4294967296.0*+(k[c+4>>2]|0);break}if(!(c&18))b=0.0;else{p[d>>3]=0.0;Yl(k[a+16>>2]|0,d,k[a+12>>2]|0,i[a+10>>0]|0)|0;b=+p[d>>3]}}else b=+p[a>>3];while(0);r=e;return +b}function _g(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=m[a+8>>1]|0;do if(!(c&4)){if(!(c&8)){if(!(c&18)){a=0;c=0;break}c=d;k[c>>2]=0;k[c+4>>2]=0;Zl(k[a+16>>2]|0,d,k[a+12>>2]|0,i[a+10>>0]|0)|0;c=d;a=k[c+4>>2]|0;c=k[c>>2]|0;break}b=+p[a>>3];if(!(b<=-9223372036854775808.0))if(!(b>=9223372036854775808.0)){a=+W(b)>=1.0?(b>0.0?~~+ia(+V(b/4294967296.0),4294967295.0)>>>0:~~+ga((b-+(~~b>>>0))/4294967296.0)>>>0):0;c=~~b>>>0}else{a=2147483647;c=-1}else{a=-2147483648;c=0}}else{c=a;a=k[c+4>>2]|0;c=k[c>>2]|0}while(0);L=a;r=e;return c|0}function $g(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((ah(k[a>>2]|0,b,c,d,e)|0)==18){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}return}function ah(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,r=0;a:do if(!b){f=a+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;f=0;break}else{Ag(a);f=0;break}}else{o=a+32|0;f=k[o>>2]|0;if(!f)r=1e9;else r=k[f+88>>2]|0;q=d<<24>>24==0;n=q?16:2;if((c|0)<0){b:do if(d<<24>>24!=1)if((r|0)<0)g=0;else{c=0;while(1){g=c+2|0;if(!((i[b+(c|1)>>0]|i[b+c>>0])<<24>>24)){g=c;break b}if((g|0)>(r|0))break;else c=g}}else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-b&1073741823;g=(g|0)>(r|0)?r+1|0:g}while(0);p=g;l=(n&65535|512)&65535}else{p=c;l=n}do if((e|0)==(-1|0)){if(!(l&512))f=p;else f=p+(d<<24>>24==1?1:2)|0;if((p|0)>(r|0)){f=18;break a}if(kh(a,(f|0)>32?f:32)|0){f=7;break a}pw(k[a+16>>2]|0,b|0,f|0)|0;n=a+8|0;f=l}else{c=(e|0)==75;h=a+8|0;if(!((j[h>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);k[a+16>>2]=b;if(!c){k[a+36>>2]=e;n=h;f=(l&65535|((e|0)==0?2048:1024))&65535;break}k[a+20>>2]=b;f=k[o>>2]|0;do if(!f)f=qc[k[8744+48>>2]&127](b)|0;else{if((k[f+276>>2]|0)>>>0<=b>>>0?(k[f+280>>2]|0)>>>0>b>>>0:0){f=m[f+248>>1]|0;break}f=qc[k[8744+48>>2]&127](b)|0}while(0);k[a+24>>2]=f;n=h;f=l}while(0);l=a+12|0;k[l>>2]=p;j[n>>1]=f;b=q?1:d;h=a+10|0;i[h>>0]=b;do if(b<<24>>24!=1&(p|0)>1){c=a+16|0;g=k[c>>2]|0;f=i[g>>0]|0;g=i[g+1>>0]|0;if(!(f<<24>>24==-1&g<<24>>24==-2))if(g<<24>>24!=-1|f<<24>>24!=-2)break;else f=3;else f=2;if(_l(a)|0){f=7;break a}b=(k[l>>2]|0)+-2|0;k[l>>2]=b;e=k[c>>2]|0;qw(e|0,e+2|0,b|0)|0;i[(k[c>>2]|0)+(k[l>>2]|0)>>0]=0;i[(k[c>>2]|0)+((k[l>>2]|0)+1)>>0]=0;j[n>>1]=m[n>>1]|512;i[h>>0]=f}while(0);f=(p|0)>(r|0)?18:0}while(0);return f|0}function bh(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f+8|0;e=f;c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);p[d>>3]=b;p[e>>3]=+p[d>>3];if(!(+p[d>>3]!=+p[e>>3])){p[a>>3]=b;j[c>>1]=8}r=f;return}function ch(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!(j[d>>1]&9312))j[d>>1]=1;else Ag(a);k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4;return}function dh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if(j[c>>1]&9312)Ag(a);k[a+0>>2]=k[b+0>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];e=m[c>>1]|0;d=e&64511;j[c>>1]=d;if((e&18|0)!=0?(j[b+8>>1]&2048)==0:0){j[c>>1]=d|4096;c=_l(a)|0}else c=0;return c|0}function eh(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!((j[c>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);j[c>>1]=16400;k[a+12>>2]=0;k[a>>2]=(b|0)<0?0:b;i[a+10>>0]=1;k[a+16>>2]=0;return}function fh(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;if(a)if(!(k[a>>2]|0)){gd(21,47360,b);a=1}else a=0;else{gd(21,47320,b);a=1}r=c;return a|0}function gh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if((k[a>>2]|0)>1?(c=k[a+72>>2]|0,(c|0)!=0):0)c=wc[c&127](a,b)|0;else{c=wc[k[a+64>>2]&127](a,d)|0;f=+p[d>>3]*864.0e5;a=+W(f)>=1.0?(f>0.0?~~+ia(+V(f/4294967296.0),4294967295.0)>>>0:~~+ga((f-+(~~f>>>0))/4294967296.0)>>>0):0;k[b>>2]=~~f>>>0;k[b+4>>2]=a}r=e;return c|0}function hh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=k[a+32>>2]|0;d=g+65|0;e=i[d>>0]|0;if(k[g+520>>2]|0){b=a;while(1){if(k[b+24>>2]|0)rg(g,k[b+20>>2]|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!(j[b>>1]&9312)){c=a+24|0;if(k[c>>2]|0){rg(g,k[a+20>>2]|0);k[c>>2]=0}}else Vg(a);j[b>>1]=128;a=a+40|0}while(a>>>0<f>>>0);i[d>>0]=e}while(0);return}function ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;d=$k(b,c,f)|0;rg(b,k[a>>2]|0);k[a>>2]=d;r=e;return}function jh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0;i=a+24|0;d=k[i>>2]|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=k[e>>2]|0,g=a+20|0,(f|0)==(k[g>>2]|0)):0){d=$l(k[a+32>>2]|0,f,h,((h|0)<0)<<31>>31)|0;k[g>>2]=d;k[e>>2]=d;c=0}else{d=a+32|0;if(b){b=a+20|0;rg(k[d>>2]|0,k[b>>2]|0)}else b=a+20|0;d=rh(k[d>>2]|0,h,((h|0)<0)<<31>>31)|0;k[b>>2]=d}if(!d){c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);k[a+16>>2]=0;k[i>>2]=0;c=7;break}b=k[a+32>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](d)|0;else{if((k[b+276>>2]|0)>>>0<=d>>>0?(k[b+280>>2]|0)>>>0>d>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](d)|0}while(0);k[i>>2]=b;o=21}else o=21;while(0);if((o|0)==21){if(((c|0)!=0?(l=k[a+16>>2]|0,(l|0)!=0):0)?(n=k[a+20>>2]|0,(l|0)!=(n|0)):0)pw(n|0,l|0,k[a+12>>2]|0)|0;b=a+8|0;c=j[b>>1]|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;hc[k[a+36>>2]&31](k[d>>2]|0);c=j[b>>1]|0}k[d>>2]=k[a+20>>2];j[b>>1]=c&58367;c=0}return c|0}function kh(a,b){a=a|0;b=b|0;if((k[a+24>>2]|0)<(b|0))a=jh(a,b,0)|0;else{k[a+16>>2]=k[a+20>>2];a=a+8|0;j[a>>1]=(m[a>>1]|0)&13;a=0}return a|0}
[all...]
H A Dsqlite-safe-heap.js10 function tc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))ba();return b|0}function uc(){return i|0}function vc(a){a=a|0;i=a}function wc(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function xc(a){a=a|0;ea(k>>0|0,da(a>>0|0,1,0,0)|0|0,1,0);ea(k+1>>0|0,da(a+1>>0|0,1,0,0)|0|0,1,0);ea(k+2>>0|0,da(a+2>>0|0,1,0,0)|0|0,1,0);ea(k+3>>0|0,da(a+3>>0|0,1,0,0)|0|0,1,0)}function yc(a){a=a|0;ea(k>>0|0,da(a>>0|0,1,0,0)|0|0,1,0);ea(k+1>>0|0,da(a+1>>0|0,1,0,0)|0|0,1,0);ea(k+2>>0|0,da(a+2>>0|0,1,0,0)|0|0,1,0);ea(k+3>>0|0,da(a+3>>0|0,1,0,0)|0|0,1,0);ea(k+4>>0|0,da(a+4>>0|0,1,0,0)|0|0,1,0);ea(k+5>>0|0,da(a+5>>0|0,1,0,0)|0|0,1,0);ea(k+6>>0|0,da(a+6>>0|0,1,0,0)|0|0,1,0);ea(k+7>>0|0,da(a+7>>0|0,1,0,0)|0|0,1,0)}function zc(a){a=a|0;C=a}function Ac(){return C|0}function Bc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();c=f+4|0;d=f;e=0;a:while(1){ea(c|0,0|0,4,0);ea(d|0,0|0,4,0);ea(280|0,0|0,1,0);if(Qf(14640,c)|0){b=4;break}b=da(c|0,4,0,0)|0|0;a=0;do{if(Pe(b,da(8+(a<<2)|0,4,0,0)|0|0,17,0,d)|0){b=7;break a}a=a+1|0;b=da(c|0,4,0,0)|0|0}while((a|0)!=5);sf(b)|0;if(Zv(280,8504)|0){b=9;break}e=e+1|0;if((e|0)>=3){b=11;break}}if((b|0)==4)hb(8472,8488,47,8496);else if((b|0)==7)hb(8472,8488,50,8496);else if((b|0)==9)hb(8600,8488,53,8496);else if((b|0)==11){i=f;return 0}return 0}function Cc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)>0)while(1){b=b+-1|0;gw(280,da(d|0,4,0,0)|0|0)|0;a=280+(fw(280)|0)|0;ea(a>>0|0,61|0,1,0);ea(a+1>>0|0,0|0,1,0);a=da(c|0,4,0,0)|0|0;gw(280,((a|0)==0?20304:a)|0)|0;if((b|0)<=0)break;else{c=c+4|0;d=d+4|0}}return 0}function Dc(a){a=a|0;var b=0,c=0,d=0;d=(Ec(a,8640,7)|0)==0;d=d?a+7|0:a;if(!d)a=0;else{a=d;while(1)if(!(da(a>>0|0,1,0,0)|0))break;else a=a+1|0;a=a-d&1073741823}c=0;while(1){b=da(8648+(c<<2)|0,4,0,0)|0|0;if((Ec(d,b,a)|0)==0?((da(10368+(da(b+a>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0)&70)==0:0){a=1;break}c=c+1|0;if((c|0)>=4){a=0;break}}return a|0}function Ec(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(a)if(b)if((c|0)>0){d=a;while(1){a=da(d>>0|0,1,0,0)|0|0;if(!(a<<24>>24))break;if((da(9328+(a&255)>>0|0,1,0,0)|0|0)!=(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0))break;c=c+-1|0;if((c|0)<=0){c=0;break a}else{d=d+1|0;b=b+1|0}}if((c|0)>=1)c=(da(9328+(a&255)>>0|0,1,0,1)|0|0)-(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)|0;else c=0}else c=0;else c=1;else c=((b|0)!=0)<<31>>31;while(0);return c|0}function Fc(a){a=a|0;if(a>>>0<4)a=da(8648+(a<<2)|0,4,0,0)|0|0;else a=0;return a|0}function Gc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;if(a>>>0<=9){f=da(8664+(a<<2)|0,4,0,0)|0|0;e=b;ea(e|0,f|0,4,0);ea(e+4|0,0|0,4,0);e=8704+(a<<2)|0;a=c;ea(a|0,da(e|0,4,0,0)|0|0,4,0);ea(a+4|0,0|0,4,0);if(!d)e=0;else{ea(e|0,f|0,4,0);e=0}}else{ea(e|0,15033|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);e=21}i=g;return e|0}function Hc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g;a=Gc(a,e,f,d)|0;if(!a){ea(b|0,da(e|0,4,0,0)|0|0,4,0);ea(c|0,da(f|0,4,0,0)|0|0,4,0)}i=g;return a|0}function Ic(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n+4|0;h=n;switch(b|0){case 2:{ea(l|0,0|0,4,0);m=a+20|0;e=da(m|0,4,0,0)|0|0;f=(e|0)>0;if(f){h=da(a+16|0,4,0,0)|0|0;g=0;do{b=da(h+(g<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);g=g+1|0}while((g|0)!=(e|0));g=a+520|0;ea(g|0,l|0,4,0);if(f){k=a+16|0;f=0;do{b=da((da(k|0,4,0,0)|0|0)+(f<<4)+12|0,4,0,0)|0|0;if(b){h=kc[(fa(da(8744+52|0,4,0,0)|0|0,127|0)|0)&127](16)|0;h=_((da(b+44|0,4,0,0)|0|0)+(da(b+12|0,4,0,0)|0|0)+(da(b+28|0,4,0,0)|0|0)+(da(b+60|0,4,0,0)|0|0)|0,h)|0;ea(l|0,h+(da(l|0,4,0,0)|0|0)|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+20|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+52|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+36|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](da(b+68|0,4,0,0)|0|0)|0;ea(l|0,(da(l|0,4,0,0)|0|0)+h|0,4,0);h=da(b+48|0,4,0,0)|0|0;if(h)do{ig(a,da(h+8|0,4,0,0)|0|0);h=da(h|0,4,0,0)|0|0}while((h|0)!=0);h=da(b+16|0,4,0,0)|0|0;if(h)do{jg(a,da(h+8|0,4,0,0)|0|0);h=da(h|0,4,0,0)|0|0}while((h|0)!=0);e=da(m|0,4,0,0)|0|0}f=f+1|0}while((f|0)<(e|0));f=da(l|0,4,0,0)|0|0}else f=0}else{g=a+520|0;ea(g|0,l|0,4,0);f=0}ea(g|0,0|0,4,0);ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 9:case 8:case 7:{m=a+20|0;h=da(m|0,4,0,0)|0|0;if((h|0)>0){l=da(a+16|0,4,0,0)|0|0;k=b+-7|0;g=(e|0)==0;f=0;b=h;e=0;while(1){h=da(l+(e<<4)+4|0,4,0,0)|0|0;if(h){h=(da(da(h+4|0,4,0,0)|0|0,4,0,0)|0|0)+(k<<2)+184|0;f=(da(h|0,4,0,0)|0|0)+f|0;if(g)h=b;else{ea(h|0,0|0,4,0);h=da(m|0,4,0,0)|0|0}}else h=b;e=e+1|0;if((e|0)>=(h|0))break;else b=h}}else f=0;ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 0:{g=a+252|0;ea(c|0,da(g|0,4,0,0)|0|0,4,0);f=a+256|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);if(!e)f=0;else{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=0}break}case 6:case 5:case 4:{ea(c|0,0|0,4,0);f=a+(b+-4<<2)+260|0;ea(d|0,da(f|0,4,0,0)|0|0,4,0);if(!e)f=0;else{ea(f|0,0|0,4,0);f=0}break}case 1:{k=a+20|0;g=da(k|0,4,0,0)|0|0;e=(g|0)>0;if(e){f=da(a+16|0,4,0,0)|0|0;h=0;do{b=da(f+(h<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);h=h+1|0}while((h|0)!=(g|0));if(e){b=a+16|0;h=0;f=0;while(1){e=da((da(b|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0|0;if(!e)e=g;else{m=da(da(e+4|0,4,0,0)|0|0,4,0,0)|0|0;a=m+152|0;l=(da(a|0,4,0,0)|0|0)+60+(da(m+140|0,2,0,1)|0|0)|0;l=_(kc[(fa(da(8744+128|0,4,0,0)|0|0,127|0)|0)&127](da((da(m+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0)|0,l)|0;m=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](m)|0;e=da(k|0,4,0,0)|0|0;f=l+f+m+(da(a|0,4,0,0)|0|0)|0}h=h+1|0;if((h|0)>=(e|0))break;else g=e}}else f=0}else f=0;ea(c|0,f|0,4,0);ea(d|0,0|0,4,0);f=0;break}case 3:{ea(h|0,0|0,4,0);e=a+520|0;ea(e|0,h|0,4,0);g=da(a+4|0,4,0,0)|0|0;if(!g)f=0;else{do{kg(a,g);lg(a,g);g=da(g+52|0,4,0,0)|0|0}while((g|0)!=0);f=da(h|0,4,0,0)|0|0}ea(e|0,0|0,4,0);ea(d|0,0|0,4,0);ea(c|0,f|0,4,0);f=0;break}case 10:{ea(d|0,0|0,4,0);m=a+512|0;l=da(m+4|0,4,0,0)|0|0;if((l|0)>0|(l|0)==0&(da(m|0,4,0,0)|0|0)>>>0>0)f=1;else{f=a+504|0;a=da(f+4|0,4,0,0)|0|0;f=(a|0)>0|(a|0)==0&(da(f|0,4,0,0)|0|0)>>>0>0}ea(c|0,f&1|0,4,0);f=0;break}default:f=1}i=n;return f|0}function Jc(a){a=a|0;var b=0;a:do if(!(Kc()|0)){b=da(2254*4|0,4,0,0)|0|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(Zv(a,da(b+16|0,4,0,0)|0|0)|0))break a;b=da(b+12|0,4,0,0)|0|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Kc(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();h=l;do if(!(da(2243*4|0,4,0,0)|0)){ea(2245*4|0,1|0,4,0);if(!(da(2246*4|0,4,0,0)|0)){if(!(da(2195*4|0,4,0,0)|0)){ea(h|0,16496|0,4,0);lf(4,h)|0}b=9024|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));if(da(2187*4|0,4,0,0)|0)ea(2256*4|0,8|0,4,0);g=da(2234*4|0,4,0,0)|0|0;c=da(2235*4|0,4,0,0)|0|0;b=da(2236*4|0,4,0,0)|0|0;if((g|0)!=0&(c|0)>99&(b|0)>0){f=c&-8;ea(2235*4|0,f|0,4,0);ea(2263*4|0,g|0,4,0);ea(2264*4|0,b|0,4,0);e=b+-1|0;if((e|0)>0){b=g+(_(c>>>3,(b<<3)+-8|0)|0)|0;d=0;c=g;do{a=c;c=c+f|0;ea(a|0,c|0,4,0);d=d+1|0}while((d|0)!=(e|0))}else b=g;ea(b|0,0|0,4,0);ea(2262*4|0,b+4|0,4,0)}else{ea(2262*4|0,0|0,4,0);ea(2234*4|0,0|0,4,0);ea(2235*4|0,0|0,4,0);ea(2236*4|0,0|0,4,0)}if((da(2237*4|0,4,0,0)|0|0)==0|(da(2238*4|0,4,0,0)|0|0)<512|(da(2239*4|0,4,0,0)|0|0)<1){ea(2237*4|0,0|0,4,0);ea(2238*4|0,0|0,4,0);ea(2239*4|0,0|0,4,0)}a=kc[(fa(da(8744+56|0,4,0,0)|0|0,127|0)|0)&127](da(2202*4|0,4,0,0)|0|0)|0;if(a){b=9024|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));break}}ea(2246*4|0,1|0,4,0);if(!(da(2249*4|0,4,0,0)|0))ea(2249*4|0,8|0,4,0);a=(da(2248*4|0,4,0,0)|0|0)+1|0;ea(2248*4|0,a|0,4,0);if(!(da(2244*4|0,4,0,0)|0|(da(2243*4|0,4,0,0)|0))){ea(2244*4|0,1|0,4,0);b=10840|0;c=b+92|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));b=0;do{mg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{mg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);mg(10840,19256);mg(10840,19292|0);mg(10840,19328|0);if(!(da(2247*4|0,4,0,0)|0)){a=da(2214*4|0,4,0,0)|0|0;if(!a){ea(h|0,16440|0,4,0);lf(18,h)|0;a=da(2214*4|0,4,0,0)|0|0}a=kc[(fa(a|0,127|0)|0)&127](da(2213*4|0,4,0,0)|0|0)|0;if(!a)k=28}else k=28;if((k|0)==28){ea(2247*4|0,1|0,4,0);a=Sc(10)|0;if(!a)a=7;else{Vc(a);Lc(9584,1)|0;Lc(9672|0,0)|0;Lc(9760|0,0)|0;Lc(9848|0,0)|0;a=da(2237*4|0,4,0,0)|0|0;b=da(2238*4|0,4,0,0)|0|0;c=da(2239*4|0,4,0,0)|0|0;if(da(3153*4|0,4,0,0)|0){h=b&-8;ea(3154*4|0,h|0,4,0);ea(3161*4|0,c|0,4,0);ea(3155*4|0,c|0,4,0);if((c|0)<=90){ea(3156*4|0,((c|0)/10|0)+1|0,4,0);ea(3157*4|0,a|0,4,0);ea(3160*4|0,0|0,4,0);ea(3162*4|0,0|0,4,0);if(c)k=33}else{ea(3156*4|0,10|0,4,0);ea(3157*4|0,a|0,4,0);ea(3160*4|0,0|0,4,0);ea(3162*4|0,0|0,4,0);k=33}if((k|0)==33){e=b>>>3;f=c<<3;g=_(e<<3,c+-1|0)|0;b=a;d=0;while(1){c=c+-1|0;ea(b|0,d|0,4,0);if(!c)break;else{d=b;b=b+h|0}}b=a+(_(f,e)|0)|0;ea(3160*4|0,a+g|0,4,0);a=b}ea(3158*4|0,a|0,4,0)}ea(2243*4|0,1|0,4,0);a=0}}ea(2244*4|0,0|0,4,0);b=da(2248*4|0,4,0,0)|0|0}else{b=a;a=0}ea(2248*4|0,b+-1|0,4,0);if((b|0)<2)ea(2249*4|0,0|0,4,0)}else a=0;while(0);i=l;return a|0}function Lc(a,b){a=a|0;b=b|0;var c=0;c=Kc()|0;do if(!c){ng(a);c=da(2254*4|0,4,0,0)|0|0;if((b|0)!=0|(c|0)==0){ea(a+12|0,c|0,4,0);ea(2254*4|0,a|0,4,0);c=0;break}else{ea(a+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea((da(2254*4|0,4,0,0)|0|0)+12|0,a|0,4,0);c=0;break}}while(0);return c|0}function Mc(a){a=a|0;ng(a);return 0}function Nc(a){a=a|0;return 0}function Oc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!(Kc()|0)){d=9032|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){ea(2260*4|0,9|0,4,0);ea(2261*4|0,0|0,4,0);e=9032|0;ea(e|0,a|0,4,0);ea(e+4|0,b|0,4,0);ea(2265*4|0,(0>(b|0)|0==(b|0)&(da(2166*4|0,4,0,0)|0|0)>>>0>=a>>>0)&1|0,4,0);break}else{ea(2265*4|0,0|0,4,0);ea(2258*4|0,0|0,4,0);ea(2259*4|0,0|0,4,0);ea(2260*4|0,0|0,4,0);ea(2261*4|0,0|0,4,0);break}}else{d=-1;c=-1}while(0);C=d;return c|0}function Pc(){var a=0;a=da(2166*4|0,4,0,0)|0|0;C=((a|0)<0)<<31>>31;return a|0}function Qc(a){a=a|0;var b=0;b=(a|0)<0;Oc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Rc(a){a=a|0;var b=0;b=da(2176*4|0,4,0,0)|0|0;if(a)ea(2176*4|0,da(2166*4|0,4,0,0)|0|0,4,0);C=((b|0)<0)<<31>>31;return b|0}function Sc(a){a=a|0;if((Kc()|0)!=0|(a|0)<1)a=0;else a=pg(a,((a|0)<0)<<31>>31)|0;return a|0}function Tc(a,b){a=a|0;b=b|0;if(!(Kc()|0))a=pg(a,b)|0;else a=0;return a|0}function Uc(a){a=a|0;a=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;C=((a|0)<0)<<31>>31;return a|0}function Vc(a){a=a|0;var b=0;do if(a)if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}while(0);return}function Wc(a,b){a=a|0;b=b|0;var c=0;if(!(Kc()|0)){c=(b|0)<0;b=qg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Xc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Kc()|0))b=qg(a,b,c)|0;else b=0;return b|0}function Yc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+112|0;if((i|0)>=(j|0))ba();d=e+28|0;c=e;if(!(Kc()|0)){ea(c+4|0,d|0,4,0);ea(c+8|0,d|0,4,0);ea(c|0,0|0,4,0);ea(c+12|0,0|0,4,0);ea(c+16|0,70|0,4,0);ea(c+20|0,1e9|0,4,0);ea(c+25>>0|0,0|0,1,0);ea(c+24>>0|0,2|0,1,0);rg(c,0,a,b);c=sg(c)|0}else c=0;i=e;return c|0}function Zc(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;if(!(Kc()|0)){ea(c|0,b|0,4,0);c=Yc(a,c)|0}else c=0;i=d;return c|0}function _c(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f;if((a|0)>=1){ea(e+4|0,b|0,4,0);ea(e+8|0,b|0,4,0);ea(e|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,a|0,4,0);ea(e+20|0,0|0,4,0);ea(e+25>>0|0,0|0,1,0);ea(e+24>>0|0,0|0,1,0);rg(e,0,c,d);b=sg(e)|0}i=f;return b|0}function $c(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);a=_c(a,b,c,f)|0;i=e;return a|0}function ad(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+256|0;if((i|0)>=(j|0))ba();d=g+16|0;f=g+44|0;e=g;if(da(2250*4|0,4,0,0)|0){ea(e|0,c|0,4,0);ea(d+4|0,f|0,4,0);ea(d+8|0,f|0,4,0);ea(d|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+16|0,210|0,4,0);ea(d+20|0,0|0,4,0);ea(d+25>>0|0,0|0,1,0);ea(d+24>>0|0,0|0,1,0);rg(d,0,b,e);c=da(2250*4|0,4,0,0)|0|0;e=da(2251*4|0,4,0,0)|0|0;d=sg(d)|0;lc[(fa(c|0,63|0)|0)&63](e,a,d)}i=g;return}function bd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+256|0;if((i|0)>=(j|0))ba();d=e;do if(!(Kc()|0)){if((a|0)<1|(b|0)==0){ea(9064|0,0|0,1,0);break}if(!(da(9064|0,1,0,0)|0)){ea(9066|0,0|0,1,0);ea(9065|0,0|0,1,0);c=(Kc()|0)==0;c=c?da(2254*4|0,4,0,0)|0|0:0;$b[(fa(da(c+56|0,4,0,0)|0|0,63|0)|0)&63](c,256,d)|0;c=0;do{ea(9067+c>>0|0,c|0,1,0);c=c+1|0}while((c|0)!=256);c=0;do{g=9067+c|0;h=(da(d+c>>0|0,1,0,1)|0|0)+(da(g>>0|0,1,0,1)|0|0)+(da(9066|0,1,0,1)|0|0)|0;ea(9066|0,h|0,1,0);h=9067+(h&255)|0;f=da(h>>0|0,1,0,0)|0|0;ea(h>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);ea(g>>0|0,f|0,1,0);c=c+1|0}while((c|0)!=256);ea(9064|0,1|0,1,0)}while(1){g=(da(9065|0,1,0,0)|0|0)+1<<24>>24;ea(9065|0,g|0,1,0);g=9067+(g&255)|0;d=da(g>>0|0,1,0,0)|0|0;c=d&255;f=(da(9066|0,1,0,1)|0|0)+c|0;ea(9066|0,f|0,1,0);ea(g>>0|0,da(9067+(f&255)>>0|0,1,0,0)|0|0|0,1,0);ea(9067+(da(9066|0,1,0,1)|0|0)>>0|0,d|0,1,0);ea(b>>0|0,da(9067+((da(9067+(da(9065|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c&255)>>0|0,1,0,0)|0|0|0,1,0);a=a+-1|0;if(!a)break;else b=b+1|0}}while(0);i=e;return}function cd(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=da(a>>0|0,1,0,0)|0|0;a:do if(!(c<<24>>24))c=0;else while(1){if((da(9328+(c&255)>>0|0,1,0,0)|0|0)!=(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0))break a;a=a+1|0;b=b+1|0;c=da(a>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(da(9328+(c&255)>>0|0,1,0,1)|0|0)-(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function dd(a){a=a|0;ea(2241*4|0,a|0,4,0);return 0}function ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;a:do if((c|0)==(a|0)){tg(c,1,10016,k);e=0}else{e=pg(48,0)|0;if(!e){ea(a+52|0,7|0,4,0);e=da(a+236|0,4,0,0)|0|0;if(!e){e=0;break}b=e+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);e=0;break}else{ug(e);e=0;break}}g=e+0|0;f=g+48|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));h=e+24|0;ea(h|0,vg(a,c,d)|0|0,4,0);f=vg(a,a,b)|0;g=e+4|0;ea(g|0,f|0,4,0);ea(e|0,a|0,4,0);ea(e+20|0,c|0,4,0);ea(e+16|0,1|0,4,0);ea(e+40|0,0|0,4,0);b=da(h|0,4,0,0)|0|0;do if(!((b|0)==0|(f|0)==0)?(wg(f,da((da(b+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,-1,0)|0)!=7:0)if(!(da((da(g|0,4,0,0)|0|0)+8>>0|0,1,0,0)|0)){b=(da(h|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break a}else{tg(a,1,47416,k);break}while(0);Vc(e);e=0}while(0);i=l;return e|0}function fd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();d=A;n=A+16|0;q=A+12|0;u=A+8|0;y=a+24|0;e=da(y|0,4,0,0)|0|0;f=da(e+4|0,4,0,0)|0|0;ea(f+4|0,da(e|0,4,0,0)|0|0,4,0);z=a+28|0;c=da(z|0,4,0,0)|0|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){t=da(f|0,4,0,0)|0|0;x=a+4|0;c=da(x|0,4,0,0)|0|0;w=da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)!=0?(da(f+20>>0|0,1,0,0)|0|0)==2:0){v=0;e=5}else r=5;do if((r|0)==5){f=a+12|0;if(!(da(f|0,4,0,0)|0)){e=xg(c,2)|0;if(e){v=0;break}ea(f|0,1|0,4,0);v=da(x|0,4,0,0)|0|0;e=da(v+4|0,4,0,0)|0|0;ea(e+4|0,da(v|0,4,0,0)|0|0,4,0);e=da((da(e+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(a+8|0,(da(e+41>>0|0,1,0,1)|0)<<16|(da(e+40>>0|0,1,0,1)|0)<<24|(da(e+42>>0|0,1,0,1)|0)<<8|(da(e+43>>0|0,1,0,1)|0)|0,4,0);e=da(y|0,4,0,0)|0|0}if(!(da(e+8>>0|0,1,0,0)|0)){v=1;e=xg(e,0)|0}else{v=0;e=0}}while(0);h=da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(h+32|0,4,0,0)|0|0;m=da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;p=da(m+32|0,4,0,0)|0|0;m=(da((da(m|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)==5;c=(s|0)==(p|0)|(e|0)==0&m^1?e:8;h=da(h+44|0,4,0,0)|0|0;f=(b|0)<0;a:do if(b){e=a+16|0;k=da(e|0,4,0,0)|0|0;l=0;do{if(!(k>>>0<=h>>>0&(c|0)==0))break a;if((k|0)!=((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da((da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)>>>0)|0)+1|0)){c=yg(t,k,n,2)|0;if(!c){g=da(n|0,4,0,0)|0|0;c=zg(a,k,da(g+4|0,4,0,0)|0|0,0)|0;if(g)Ag(g)}}else c=0;k=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,k|0,4,0);l=l+1|0}while(f|(l|0)<(b|0))}while(0);if(!c){ea(a+36|0,h|0,4,0);n=da(a+16|0,4,0,0)|0|0;ea(a+32|0,h+1-n|0,4,0);if(n>>>0<=h>>>0){c=a+40|0;if(!(da(c|0,4,0,0)|0)){x=(da(da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0)+88|0;ea(a+44|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,a|0,4,0);ea(c|0,1|0,4,0);c=0}else c=0}else r=22}else if((c|0)==101)r=22;do if((r|0)==22){if(!h){n=da(x|0,4,0,0)|0|0;c=da(n+4|0,4,0,0)|0|0;ea(c+4|0,da(n|0,4,0,0)|0|0,4,0);ea(c+44|0,0|0,4,0);c=Bg(c)|0;if((c|0)==0|(c|0)==101)h=1;else break}c=Cg(da(x|0,4,0,0)|0|0,1,(da(a+8|0,4,0,0)|0|0)+1|0)|0;if(!c){e=da(a|0,4,0,0)|0|0;if(e)Dg(e);if(m?(o=Eg(da(x|0,4,0,0)|0|0,2)|0,(o|0)!=0):0){c=o;break}if((s|0)<(p|0)){e=(p|0)/(s|0)|0;e=(h+-1+e|0)/(e|0)|0;f=da(2514*4|0,4,0,0)|0|0;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;e=(((e|0)==(((f>>>0)/(g>>>0)|0)+1|0))<<31>>31)+e|0;a=((s|0)<0)<<31>>31;o=rw(h|0,((h|0)<0)<<31>>31|0,s|0,a|0)|0;n=C;m=da(w+60|0,4,0,0)|0|0;l=da(w+24|0,4,0,0)|0|0;b:do if(e>>>0<=l>>>0){c=0;while(1){if((e|0)!=(((f>>>0)/(g>>>0)|0)+1|0)){c=yg(w,e,q,0)|0;if(c)break b;f=da(q|0,4,0,0)|0|0;c=Fg(f)|0;if(f)Ag(f)}e=e+1|0;f=(c|0)==0;if(e>>>0>l>>>0|f^1)break;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=da(2514*4|0,4,0,0)|0|0}if(f)r=38}else r=38;while(0);if((r|0)==38)c=Gg(w,0,1)|0;f=da(2514*4|0,4,0,0)|0|0;h=f+p|0;k=((h|0)<0)<<31>>31;g=(k|0)<(n|0)|(k|0)==(n|0)&h>>>0<o>>>0;h=g?h:o;k=g?k:n;f=f+s|0;g=((f|0)<0)<<31>>31;e=(c|0)==0;if(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0))do{ea(u|0,0|0,4,0);c=pw(f|0,g|0,s|0,a|0)|0;c=iw(c|0,C|0,1,0)|0;c=yg(t,c,u,0)|0;e=da(u|0,4,0,0)|0|0;if(!c)c=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,da(e+4|0,4,0,0)|0|0,s,f,g)|0;if(e)Ag(e);f=iw(f|0,g|0,s|0,a|0)|0;g=C;e=(c|0)==0}while(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0));if(!e)break;c=qc[(fa(da((da(m|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](m,d)|0;u=da(d+4|0,4,0,0)|0|0;if((c|0)==0&((u|0)>(n|0)|((u|0)==(n|0)?(da(d|0,4,0,0)|0|0)>>>0>o>>>0:0)))c=$b[(fa(da((da(m|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](m,o,n)|0;if(c)break;c=Hg(w,0)|0}else{ea(w+24|0,_((s|0)/(p|0)|0,h)|0|0,4,0);c=Gg(w,0,0)|0}if(!c){c=Ig(da(x|0,4,0,0)|0|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(v){Jg(da(y|0,4,0,0)|0|0,0)|0;Ig(da(y|0,4,0,0)|0|0,0)|0}c=(c|0)==3082?7:c;ea(z|0,c|0,4,0)}i=A;return c|0}function gd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=da(a+20|0,4,0,0)|0|0;c=da(a+24|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;ea(b+4|0,da(c|0,4,0,0)|0|0,4,0);if(da(a|0,4,0,0)|0){c=c+16|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0)}if(da(a+40|0,4,0,0)|0){b=(da(b|0,4,0,0)|0|0)+88|0;while(1){c=da(b|0,4,0,0)|0|0;if((c|0)==(a|0))break;else b=c+44|0}ea(b|0,da(a+44|0,4,0,0)|0|0,4,0)}Kg(da(a+4|0,4,0,0)|0|0,0,0);b=da(a+28|0,4,0,0)|0|0;b=(b|0)==101?0:b;c=da(a|0,4,0,0)|0|0;if(c){ea(c+52|0,b|0,4,0);d=da(c+236|0,4,0,0)|0|0;do if(d){e=d+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(d);c=da(a|0,4,0,0)|0|0;break}}while(0);Lg(c);if(da(a|0,4,0,0)|0)Vc(a)}Lg(f)}return b|0}function hd(a){a=a|0;return da(a+32|0,4,0,0)|0|0}function id(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function jd(a){a=a|0;if((a|0)!=0?((da(a+88|0,2,0,0)|0)&256)!=0:0)a=da(a+168|0,4,0,0)|0|0;else a=0;return a|0}function kd(a){a=a|0;if(!a)a=1;else a=((da(a+88|0,2,0,0)|0)&8)!=0;return a&1|0}function ld(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;do if(a){b=da(a|0,4,0,0)|0|0;if(!b){ad(21,47360,c);ea(c|0,68910|0,4,0);ea(c+4|0,10788|0,4,0);ad(21,13648,c);b=21;break}else{a=Ng(b,Mg(a)|0)|0;Lg(b);b=a;break}}else b=0;while(0);i=d;return b|0}function md(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Og(a)|0;ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);c=a+144|0;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);a=Ng(da(a|0,4,0,0)|0|0,b)|0}return a|0}function nd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=da(f|0,2,0,0)|0|0;if(c<<16>>16>0){g=a+60|0;b=da(g|0,4,0,0)|0|0;e=0;do{d=b+(e*40|0)|0;if(!(((da(b+(e*40|0)+8|0,2,0,0)|0)&9312)==0?(da(b+(e*40|0)+24|0,4,0,0)|0|0)==0:0)){Pg(d);b=da(g|0,4,0,0)|0|0;c=da(f|0,2,0,0)|0|0}ea(b+(e*40|0)+8|0,1|0,2,0);e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=da(b|0,2,0,0)|0|0;if((c&256)!=0?(da(a+188|0,4,0,0)|0|0)!=0:0)ea(b|0,c|8|0,2,0);return 0}function od(a){a=a|0;var b=0;b=a+8|0;if((da(b|0,2,0,0)|0)&18){Qg(a)|0;ea(b|0,da(b|0,2,0,1)|0|0|16|0,2,0);if(!(da(a+12|0,4,0,0)|0))b=0;else b=da(a+16|0,4,0,0)|0|0}else b=Rg(a,1)|0;return b|0}function pd(a){a=a|0;return Rg(a,1)|0}function qd(a){a=a|0;return Sg(a,1)|0}function rd(a){a=a|0;return Sg(a,2)|0}function sd(a){a=a|0;return +(+Tg(a))}function td(a){a=a|0;a=Ug(a)|0;return a|0}function ud(a){a=a|0;a=Ug(a)|0;return a|0}function vd(a){a=a|0;return Rg(a,2)|0}function wd(a){a=a|0;return Rg(a,3)|0}function xd(a){a=a|0;return Rg(a,2)|0}function yd(a){a=a|0;return da(10064+((da(a+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0|0}function zd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,0,d);return}function Ad(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))bc[(fa(e|0,31|0)|0)&31](b);if(a){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}}else Vg(a,b,c,0,e);return}function Bd(a,b){a=a|0;b=+b;Xg(da(a|0,4,0,0)|0|0,b);return}function Cd(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,c,1,-1)|0;return}function Dd(a,b,c){a=a|0;b=b|0;c=c|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,c,2,-1)|0;return}function Ed(a,b){a=a|0;b=b|0;var c=0,d=0;a=da(a|0,4,0,0)|0|0;c=((b|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,b,c);return}function Fd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,b,c);return}function Gd(a){a=a|0;var b=0;a=da(a|0,4,0,0)|0|0;b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312))ea(b|0,1|0,2,0);else ug(a);return}function Hd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,1,d);return}function Id(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(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))bc[(fa(e|0,31|0)|0)&31](b);if(a){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}}else Vg(a,b,c,f<<24>>24==4?2:f,e);return}function Jd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,2,d);return}function Kd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,3,d);return}function Ld(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,2,d);return}function Md(a,b){a=a|0;b=b|0;Zg(da(a|0,4,0,0)|0|0,b)|0;return}function Nd(a,b){a=a|0;b=b|0;_g(da(a|0,4,0,0)|0|0,b);return}function Od(a,b){a=a|0;b=b|0;var c=0;ea(a+20|0,b|0,4,0);ea(a+25>>0|0,1|0,1,0);c=da(a|0,4,0,0)|0|0;if((da(c+8|0,2,0,0)|0)&1){if((b|0)!=516){a=b&255;if(a>>>0>26|(a|0)==2)a=16328;else a=da(15488+(a<<2)|0,4,0,0)|0|0}else a=16344;Wg(c,a,-1,1,0)|0}return}function Pd(a){a=a|0;ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;return}function Qd(a){a=a|0;var b=0,c=0;b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else{ug(b);b=da(a|0,4,0,0)|0|0}ea(a+20|0,7|0,4,0);ea(a+25>>0|0,1|0,1,0);ea((da(b+32|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);return}function Rd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,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;Q=i;i=i+224|0;if((i|0)>=(j|0))ba();L=Q+8|0;K=Q;if(!($g(a)|0)){P=da(a|0,4,0,0)|0|0;D=a+88|0;ea(D|0,(da(D|0,2,0,0)|0)&-513|0,2,0);H=a+40|0;I=a+76|0;J=a+128|0;O=a+80|0;t=a+168|0;u=a+8|0;v=a+20|0;w=a+32|0;x=a+4|0;y=a+84|0;N=a+44|0;z=(a|0)==0;A=a+52|0;B=a+48|0;s=0;while(1){if((da(H|0,4,0,0)|0|0)!=-1108210269)md(a)|0;r=da(a|0,4,0,0)|0|0;if(da(r+65>>0|0,1,0,0)|0){M=7;break}c=da(I|0,4,0,0)|0|0;do if((c|0)<1){if((da(D|0,2,0,0)|0)&8){ea(O|0,17|0,4,0);c=1;break}if((c|0)<0){c=r+148|0;if(!(da(c|0,4,0,0)|0))ea(r+240|0,0|0,4,0);if((da(r+184|0,4,0,0)|0|0)!=0?(da(r+145>>0|0,1,0,0)|0|0)==0:0)ah(da(r|0,4,0,0)|0|0,J)|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=da(D|0,2,0,0)|0|0;if(!(c&64)){c=r+156|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=da(D|0,2,0,0)|0|0}if(c&128){q=r+152|0;ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0)}ea(I|0,0|0,4,0);M=22}else M=22}else M=22;while(0);if((M|0)==22){M=0;do if(!((da(D|0,2,0,0)|0)&3)){q=r+160|0;ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);c=fh(a)|0;ea(q|0,(da(q|0,4,0,0)|0|0)+-1|0,4,0);if((c|0)==100)c=100;else M=101}else{g=da(a|0,4,0,0)|0|0;p=da(u|0,4,0,0)|0|0;o=p+40|0;bh(o,8);ea(v|0,0|0,4,0);if((da(O|0,4,0,0)|0|0)==7){ea(g+65>>0|0,1|0,1,0);c=1;M=101;break}e=da(w|0,4,0,0)|0|0;h=(da(D|0,2,0,0)|0)&3;if(h<<16>>16==1){f=da(u|0,4,0,0)|0|0;l=f+360|0;if((da(f+368|0,2,0,0)|0)&16){m=(da(f+372|0,4,0,0)|0|0)>>>2;d=da(f+376|0,4,0,0)|0|0;if(!m){n=d;f=e;b=0}else{c=0;f=e;do{f=(da((da(d+(c<<2)|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+f|0;c=c+1|0}while((c|0)<(m|0));n=d;b=m}}else{n=0;f=e;b=0}}else{n=0;f=e;b=0;l=0}e=h<<16>>16==2;d=da(I|0,4,0,0)|0|0;while(1){c=d+1|0;if((d|0)>=(f|0)){M=33;break}if(!e)break;if((da((da(x|0,4,0,0)|0|0)+(d*20|0)>>0|0,1,0,0)|0|0)==-99)break;else d=c}if((M|0)==33){ea(I|0,c|0,4,0);ea(O|0,0|0,4,0);c=101;M=101;break}ea(I|0,c|0,4,0);if(da(g+240|0,4,0,0)|0){ea(O|0,9|0,4,0);ea(L|0,15832|0,4,0);ch(N,g,10344,L);c=1;M=101;break}f=da(w|0,4,0,0)|0|0;if((d|0)<(f|0)){c=d;q=(da(x|0,4,0,0)|0|0)+(d*20|0)|0}else{d=d-f|0;f=da(n|0,4,0,0)|0|0;e=da(f+4|0,4,0,0)|0|0;if((d|0)<(e|0))e=d;else{f=d;c=0;while(1){d=f-e|0;c=c+1|0;f=da(n+(c<<2)|0,4,0,0)|0|0;e=da(f+4|0,4,0,0)|0|0;if((d|0)<(e|0)){e=d;break}else f=d}}c=e;q=(da(f|0,4,0,0)|0|0)+(e*20|0)|0}if(((da(D|0,2,0,0)|0)&3)==1){ea(p+48|0,4|0,2,0);e=o;ea(e|0,c|0,4,0);ea(e+4|0,((c|0)<0)<<31>>31|0,4,0);ea(p+88|0,2562|0,2,0);e=da(44856+((da(q>>0|0,1,0,1)|0)<<2)|0,4,0,0)|0|0;ea(p+96|0,e|0,4,0);f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;m=p+80|0;ea(p+92|0,f-e&1073741823|0,4,0);ea(p+90>>0|0,1|0,1,0);if((da(q+1>>0|0,1,0,0)|0|0)==-18){c=(b<<2)+4|0;a:do if(!b)f=0;else{e=da(q+16|0,4,0,0)|0|0;d=0;while(1){f=d+1|0;if((da(n+(d<<2)|0,4,0,0)|0|0)==(e|0)){f=d;break a}if((f|0)<(b|0))d=f;else break}}while(0);if((f|0)==(b|0)?(dh(l,c,(b|0)!=0&1)|0)==0:0){ea((da(l+16|0,4,0,0)|0|0)+(b<<2)|0,da(q+16|0,4,0,0)|0|0,4,0);p=l+8|0;ea(p|0,da(p|0,2,0,1)|0|16|0,2,0);ea(l+12|0,c|0,4,0);p=m}else p=m}else p=m}ea(p+48|0,4|0,2,0);n=da(q+4|0,4,0,0)|0|0;o=p+40|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);ea(p+88|0,4|0,2,0);n=da(q+8|0,4,0,0)|0|0;o=p+80|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);ea(p+128|0,4|0,2,0);n=da(q+12|0,4,0,0)|0|0;o=p+120|0;ea(o|0,n|0,4,0);ea(o+4|0,((n|0)<0)<<31>>31|0,4,0);n=p+160|0;if(!(eh(n,32)|0)){ea(p+168|0,514|0,2,0);o=p+176|0;b=da(o|0,4,0,0)|0|0;b:do switch(da(q+1>>0|0,1,0,0)|0|0){case -6:{g=da(q+16|0,4,0,0)|0|0;c=g+6|0;ea(L|0,da(c|0,2,0,1)|0|0,4,0);$c(32,b,44768,L)|0;if(!b)f=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=f-b&1073741823}c:do if(da(c|0,2,0,0)|0){h=g+16|0;l=0;while(1){e=da(g+(l<<2)+20|0,4,0,0)|0|0;if(e){e=da(e|0,4,0,0)|0|0;if(!e){d=0;e=0}else M=61}else{e=44776;M=61}do if((M|0)==61){M=0;m=e;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;d=m-e&1073741823;if((d|0)!=6)break;m=(Yv(e,11152,6)|0)==0;d=m?1:6;e=m?44784:e}while(0);if((d+f|0)>26)break;m=f+1|0;ea(b+f>>0|0,44|0,1,0);if(da((da(h|0,4,0,0)|0|0)+l>>0|0,1,0,0)|0){ea(b+m>>0|0,45|0,1,0);m=f+2|0}jw(b+m|0,e|0,d+1|0)|0;f=m+d|0;l=l+1|0;if((l|0)>=(da(c|0,2,0,1)|0|0))break c}c=b+f|0;ea(c>>0|0,44|0,1,0);ea(c+1>>0|0,46|0,1,0);ea(c+2>>0|0,46|0,1,0);ea(c+3>>0|0,46|0,1,0)}while(0);ea(b+f>>0|0,41|0,1,0);ea(b+(f+1)>>0|0,0|0,1,0);e=b;break}case -15:{$c(32,b,44832,L)|0;e=b;break}case -18:{$c(32,b,44848,L)|0;e=b;break}case -4:{ea(L|0,da(da(q+16|0,4,0,0)|0|0,4,0,0)|0|0,4,0);$c(32,b,44792,L)|0;e=b;break}case -5:{c=da(q+16|0,4,0,0)|0|0;e=da(c|0,2,0,0)|0|0;ea(L|0,da(c+24|0,4,0,0)|0|0,4,0);ea(L+4|0,e|0,4,0);$c(32,b,44800,L)|0;e=b;break}case -13:{d=da(q+16|0,4,0,0)|0|0;e=da(d+4|0,4,0,0)|0|0;c=L;ea(c|0,da(d|0,4,0,0)|0|0,4,0);ea(c+4|0,e|0,4,0);$c(32,b,19920,L)|0;e=b;break}case -14:{ea(L|0,da(q+16|0,4,0,0)|0|0,4,0);$c(32,b,44808,L)|0;e=b;break}case -12:{ea(k|0,+(+(+da(da(q+16|0,4,0,0)|0|0,8,1,0))),8,1);ea(L|0,da(k|0,4,0,0)|0|0,4,0);ea(L+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,b,19912,L)|0;e=b;break}case -8:{f=da(q+16|0,4,0,0)|0|0;e=da(f+8|0,2,0,1)|0|0;if(e&2){e=da(f+16|0,4,0,0)|0|0;break b}if(e&4){d=f;e=da(d+4|0,4,0,0)|0|0;c=L;ea(c|0,da(d|0,4,0,0)|0|0,4,0);ea(c+4|0,e|0,4,0);$c(32,b,19920,L)|0;e=b;break b}if(e&8){ea(k|0,+(+(+da(f|0,8,1,0))),8,1);ea(L|0,da(k|0,4,0,0)|0|0,4,0);ea(L+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(32,b,19912,L)|0;e=b;break b}if(!(e&1))e=44816;else{$c(32,b,20304,L)|0;e=b}break}case -19:{ea(b>>0|0,0|0,1,0);e=b;break}case -10:{ea(L|0,da((da(q+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,4,0);$c(32,b,44824,L)|0;e=b;break}default:{f=da(q+16|0,4,0,0)|0|0;if(!f){ea(b>>0|0,0|0,1,0);e=b}else e=f}}while(0);if((e|0)==(da(o|0,4,0,0)|0|0)){if(!e)c=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;c=f-e&1073741823}ea(p+172|0,c|0,4,0);ea(p+170>>0|0,1|0,1,0)}else Wg(n,e,-1,1,0)|0;c=da(D|0,2,0,0)|0|0;if((c&3)==1){if(eh(p+200|0,4)|0){c=1;M=101;break}ea(p+208|0,514|0,2,0);ea(p+212|0,2|0,4,0);c=da(p+216|0,4,0,0)|0|0;ea(L|0,da(q+3>>0|0,1,0,1)|0|0,4,0);$c(3,c,44760,L)|0;ea(p+210>>0|0,1|0,1,0);ea(p+248|0,1|0,2,0);c=da(D|0,2,0,0)|0|0}ea(y|0,12-((c&3)<<2)|0,2,0);ea(v|0,(da(u|0,4,0,0)|0|0)+40|0,4,0);ea(O|0,0|0,4,0);c=100}else{c=1;M=101}}while(0);if((M|0)==101){M=0;b=r+184|0;if(((da(b|0,4,0,0)|0|0)!=0?(da(r+145>>0|0,1,0,0)|0|0)==0:0)?(da(t|0,4,0,0)|0|0)!=0:0){ah(da(r|0,4,0,0)|0|0,K)|0;b=da(b|0,4,0,0)|0|0;o=da(r+188|0,4,0,0)|0|0;p=da(t|0,4,0,0)|0|0;d=K;q=J;q=cw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0,da(q+4|0,4,0,0)|0|0)|0;q=rw(q|0,C|0,1e6,0)|0;pc[(fa(b|0,15|0)|0)&15](o,p,q,C)}if((c|0)==101){g=r+20|0;f=da(g|0,4,0,0)|0|0;if((f|0)>0){h=r+16|0;l=r+216|0;m=r+220|0;b=0;c=0;do{e=da(h|0,4,0,0)|0|0;d=da(e+(b<<4)+4|0,4,0,0)|0|0;if(((d|0)!=0?(E=da(d+4|0,4,0,0)|0|0,ea(E+4|0,da(d|0,4,0,0)|0|0,4,0),E=da((da(E|0,4,0,0)|0|0)+208|0,4,0,0)|0|0,(E|0)!=0):0)?(G=E+12|0,F=da(G|0,4,0,0)|0|0,ea(G|0,0|0,4,0),G=da(l|0,4,0,0)|0|0,(G|0)!=0&(F|0)>0&(c|0)==0):0){c=oc[(fa(G|0,31|0)|0)&31](da(m|0,4,0,0)|0|0,r,da(e+(b<<4)|0,4,0,0)|0|0,F)|0;f=da(g|0,4,0,0)|0|0}b=b+1|0}while((b|0)<(f|0))}else c=0;ea(O|0,c|0,4,0);c=(c|0)==0?101:1}}ea(r+52|0,c|0,4,0);if((Ng(da(a|0,4,0,0)|0|0,da(O|0,4,0,0)|0|0)|0)==7)ea(O|0,7|0,4,0)}if(((da(D|0,2,0,0)|0)&256)!=0&(c|0)!=100&(c|0)!=101)c=gh(a)|0;b=(da(r+56|0,4,0,0)|0)&c;if((b|0)!=17)break;f=s+1|0;if((s|0)>=50){b=17;break}d=da(I|0,4,0,0)|0|0;if(!z?((da(D|0,2,0,0)|0)&256)!=0:0)c=da(t|0,4,0,0)|0|0;else c=0;e=da(a|0,4,0,0)|0|0;b=hh(e,c,-1,0,a,K,0)|0;if((b|0)==7){b=e;M=124;break}else if(b){M=127;break}s=da(K|0,4,0,0)|0|0;jw(L|0,s|0,208)|0;jw(s|0,a|0,208)|0;jw(a|0,L|0,208)|0;q=s+52|0;r=da(q|0,4,0,0)|0|0;ea(q|0,da(A|0,4,0,0)|0|0,4,0);ea(A|0,r|0,4,0);r=s+48|0;q=da(r|0,4,0,0)|0|0;ea(r|0,da(B|0,4,0,0)|0|0,4,0);ea(B|0,q|0,4,0);q=s+168|0;r=da(q|0,4,0,0)|0|0;ea(q|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,r|0,4,0);ea(D|0,(da(D|0,2,0,0)|0)&-257|(da(s+88|0,2,0,0)|0)&256|0,2,0);ih(s,a);ea(s+80|0,0|0,4,0);Mg(s)|0;md(a)|0;if((d|0)<=-1){s=f;continue}ea(D|0,da(D|0,2,0,0)|0|512|0,2,0);s=f}if((M|0)==7){ea(O|0,7|0,4,0);b=7}else if((M|0)==124){ea(b+65>>0|0,1|0,1,0);b=7;M=127}do if((M|0)==127){c=Rg(da(P+236|0,4,0,0)|0|0,1)|0;lg(P,da(N|0,4,0,0)|0|0);if(!(da(P+65>>0|0,1,0,0)|0)){ea(N|0,jh(P,c)|0|0,4,0);ea(O|0,b|0,4,0);break}else{ea(N|0,0|0,4,0);ea(O|0,7|0,4,0);b=7;break}}while(0);b=Ng(P,b)|0}else{ea(L|0,69408|0,4,0);ea(L+4|0,10788|0,4,0);ad(21,13648,L);b=21}i=Q;return b|0}function Sd(a){a=a|0;return da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}function Td(a){a=a|0;return da((da(a|0,4,0 (…)
[all...]
H A Dsqlite.js10 function qc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))ba();return b|0}function rc(){return i|0}function sc(a){a=a|0;i=a}function tc(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function uc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function vc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function wc(a){a=a|0;C=a}function xc(){return C|0}function yc(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))ba();e=h+4|0;f=h;g=0;a:while(1){c[e>>2]=0;c[f>>2]=0;a[280]=0;if(Nf(14640,e)|0){d=4;break}d=c[e>>2]|0;b=0;do{if(Me(d,c[8+(b<<2)>>2]|0,17,0,f)|0){d=7;break a}b=b+1|0;d=c[e>>2]|0}while((b|0)!=5);pf(d)|0;if(Wv(280,8504)|0){d=9;break}g=g+1|0;if((g|0)>=3){d=11;break}}if((d|0)==4)eb(8472,8488,47,8496);else if((d|0)==7)eb(8472,8488,50,8496);else if((d|0)==9)eb(8600,8488,53,8496);else if((d|0)==11){i=h;return 0}return 0}function zc(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;dw(280,c[f>>2]|0)|0;b=280+(cw(280)|0)|0;a[b>>0]=61;a[b+1>>0]=0;b=c[e>>2]|0;dw(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 Ac(b){b=b|0;var e=0,f=0,g=0;g=(Bc(b,8640,7)|0)==0;g=g?b+7|0:b;if(!g)b=0;else{b=g;while(1)if(!(a[b>>0]|0))break;else b=b+1|0;b=b-g&1073741823}f=0;while(1){e=c[8648+(f<<2)>>2]|0;if((Bc(g,e,b)|0)==0?(a[10368+(d[e+b>>0]|0)>>0]&70)==0:0){b=1;break}f=f+1|0;if((f|0)>=4){b=0;break}}return b|0}function Bc(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>>0]|0;if(!(b<<24>>24))break;if((a[9328+(b&255)>>0]|0)!=(a[9328+(d[c>>0]|0)>>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[9328+(b&255)>>0]|0)-(d[9328+(d[c>>0]|0)>>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 Cc(a){a=a|0;if(a>>>0<4)a=c[8648+(a<<2)>>2]|0;else a=0;return a|0}function Dc(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))ba();f=h;if(a>>>0<=9){g=c[8664+(a<<2)>>2]|0;f=b;c[f>>2]=g;c[f+4>>2]=0;f=8704+(a<<2)|0;a=d;c[a>>2]=c[f>>2];c[a+4>>2]=0;if(!e)f=0;else{c[f>>2]=g;f=0}}else{c[f>>2]=15033;c[f+4>>2]=10788;Zc(21,13648,f);f=21}i=h;return f|0}function Ec(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))ba();f=h+8|0;g=h;a=Dc(a,f,g,e)|0;if(!a){c[b>>2]=c[f>>2];c[d>>2]=c[g>>2]}i=h;return a|0}function Fc(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,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p+4|0;l=p;switch(b|0){case 2:{c[n>>2]=0;o=a+20|0;g=c[o>>2]|0;h=(g|0)>0;if(h){l=c[a+16>>2]|0;k=0;do{b=c[l+(k<<4)+4>>2]|0;if(b)c[(c[b+4>>2]|0)+4>>2]=c[b>>2];k=k+1|0}while((k|0)!=(g|0));k=a+520|0;c[k>>2]=n;if(h){m=a+16|0;h=0;do{b=c[(c[m>>2]|0)+(h<<4)+12>>2]|0;if(b){l=hc[c[8744+52>>2]&127](16)|0;l=_((c[b+44>>2]|0)+(c[b+12>>2]|0)+(c[b+28>>2]|0)+(c[b+60>>2]|0)|0,l)|0;c[n>>2]=l+(c[n>>2]|0);l=hc[c[8744+48>>2]&127](c[b+20>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+52>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+36>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+68>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=c[b+48>>2]|0;if(l)do{fg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);l=c[b+16>>2]|0;if(l)do{gg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);g=c[o>>2]|0}h=h+1|0}while((h|0)<(g|0));h=c[n>>2]|0}else h=0}else{k=a+520|0;c[k>>2]=n;h=0}c[k>>2]=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 9:case 8:case 7:{o=a+20|0;l=c[o>>2]|0;if((l|0)>0){n=c[a+16>>2]|0;m=b+-7|0;k=(g|0)==0;h=0;b=l;g=0;while(1){l=c[n+(g<<4)+4>>2]|0;if(l){l=(c[c[l+4>>2]>>2]|0)+(m<<2)+184|0;h=(c[l>>2]|0)+h|0;if(k)l=b;else{c[l>>2]=0;l=c[o>>2]|0}}else l=b;g=g+1|0;if((g|0)>=(l|0))break;else b=l}}else h=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 0:{k=a+252|0;c[d>>2]=c[k>>2];h=a+256|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=c[k>>2];h=0}break}case 6:case 5:case 4:{c[d>>2]=0;h=a+(b+-4<<2)+260|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=0;h=0}break}case 1:{m=a+20|0;k=c[m>>2]|0;g=(k|0)>0;if(g){h=c[a+16>>2]|0;l=0;do{b=c[h+(l<<4)+4>>2]|0;if(b)c[(c[b+4>>2]|0)+4>>2]=c[b>>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>>2]|0)+(l<<4)+4>>2]|0;if(!g)g=k;else{o=c[c[g+4>>2]>>2]|0;a=o+152|0;n=(c[a>>2]|0)+60+(e[o+140>>1]|0)|0;n=_(hc[c[8744+128>>2]&127](c[(c[o+204>>2]|0)+40>>2]|0)|0,n)|0;o=hc[c[8744+48>>2]&127](o)|0;g=c[m>>2]|0;h=n+h+o+(c[a>>2]|0)|0}l=l+1|0;if((l|0)>=(g|0))break;else k=g}}else h=0}else h=0;c[d>>2]=h;c[f>>2]=0;h=0;break}case 3:{c[l>>2]=0;g=a+520|0;c[g>>2]=l;k=c[a+4>>2]|0;if(!k)h=0;else{do{hg(a,k);ig(a,k);k=c[k+52>>2]|0}while((k|0)!=0);h=c[l>>2]|0}c[g>>2]=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 10:{c[f>>2]=0;o=a+512|0;n=c[o+4>>2]|0;if((n|0)>0|(n|0)==0&(c[o>>2]|0)>>>0>0)h=1;else{h=a+504|0;a=c[h+4>>2]|0;h=(a|0)>0|(a|0)==0&(c[h>>2]|0)>>>0>0}c[d>>2]=h&1;h=0;break}default:h=1}i=p;return h|0}function Gc(a){a=a|0;var b=0;a:do if(!(Hc()|0)){b=c[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(Wv(a,c[b+16>>2]|0)|0))break a;b=c[b+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Hc(){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))ba();k=m;do if(!(c[2243]|0)){c[2245]=1;if(!(c[2246]|0)){if(!(c[2195]|0)){c[k>>2]=16496;hf(4,k)|0}b=9024|0;d=b+40|0;do{c[b>>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+(_(d>>>3,(b<<3)+-8|0)|0)|0;e=0;d=h;do{a=d;d=d+g|0;c[a>>2]=d;e=e+1|0}while((e|0)!=(f|0))}else b=h;c[b>>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=hc[c[8744+56>>2]&127](c[2202]|0)|0;if(a){b=9024|0;d=b+40|0;do{c[b>>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>>2]=0;b=b+4|0}while((b|0)<(d|0));b=0;do{jg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{jg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);jg(10840,19256);jg(10840,19292|0);jg(10840,19328|0);if(!(c[2247]|0)){a=c[2214]|0;if(!a){c[k>>2]=16440;hf(18,k)|0;a=c[2214]|0}a=hc[a&127](c[2213]|0)|0;if(!a)l=28}else l=28;if((l|0)==28){c[2247]=1;a=Pc(10)|0;if(!a)a=7;else{Sc(a);Ic(9584,1)|0;Ic(9672|0,0)|0;Ic(9760|0,0)|0;Ic(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=_(f<<3,d+-1|0)|0;b=a;e=0;while(1){d=d+-1|0;c[b>>2]=e;if(!d)break;else{e=b;b=b+k|0}}b=a+(_(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 Ic(a,b){a=a|0;b=b|0;var d=0;d=Hc()|0;do if(!d){kg(a);d=c[2254]|0;if((b|0)!=0|(d|0)==0){c[a+12>>2]=d;c[2254]=a;d=0;break}else{c[a+12>>2]=c[d+12>>2];c[(c[2254]|0)+12>>2]=a;d=0;break}}while(0);return d|0}function Jc(a){a=a|0;kg(a);return 0}function Kc(a){a=a|0;return 0}function Lc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(Hc()|0)){e=9032|0;d=c[e>>2]|0;e=c[e+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>>2]=a;c[f+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);C=e;return d|0}function Mc(){var a=0;a=c[2166]|0;C=((a|0)<0)<<31>>31;return a|0}function Nc(a){a=a|0;var b=0;b=(a|0)<0;Lc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Oc(a){a=a|0;var b=0;b=c[2176]|0;if(a)c[2176]=c[2166];C=((b|0)<0)<<31>>31;return b|0}function Pc(a){a=a|0;if((Hc()|0)!=0|(a|0)<1)a=0;else a=mg(a,((a|0)<0)<<31>>31)|0;return a|0}function Qc(a,b){a=a|0;b=b|0;if(!(Hc()|0))a=mg(a,b)|0;else a=0;return a|0}function Rc(a){a=a|0;a=hc[c[8744+48>>2]&127](a)|0;C=((a|0)<0)<<31>>31;return a|0}function Sc(a){a=a|0;var b=0;do if(a)if(!(c[2186]|0)){_b[c[8744+40>>2]&31](a);break}else{b=hc[c[8744+48>>2]&127](a)|0;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;_b[c[8744+40>>2]&31](a);break}while(0);return}function Tc(a,b){a=a|0;b=b|0;var c=0;if(!(Hc()|0)){c=(b|0)<0;b=ng(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Uc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Hc()|0))b=ng(a,b,c)|0;else b=0;return b|0}function Vc(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))ba();f=g+28|0;e=g;if(!(Hc()|0)){c[e+4>>2]=f;c[e+8>>2]=f;c[e>>2]=0;c[e+12>>2]=0;c[e+16>>2]=70;c[e+20>>2]=1e9;a[e+25>>0]=0;a[e+24>>0]=2;og(e,0,b,d);e=pg(e)|0}else e=0;i=g;return e|0}function Wc(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(!(Hc()|0)){c[d>>2]=b;d=Vc(a,d)|0}else d=0;i=e;return d|0}function Xc(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))ba();g=h;if((b|0)>=1){c[g+4>>2]=d;c[g+8>>2]=d;c[g>>2]=0;c[g+12>>2]=0;c[g+16>>2]=b;c[g+20>>2]=0;a[g+25>>0]=0;a[g+24>>0]=0;og(g,0,e,f);d=pg(g)|0}i=h;return d|0}function Yc(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))ba();g=f;c[g>>2]=e;a=Xc(a,b,d,g)|0;i=f;return a|0}function Zc(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))ba();f=k+16|0;h=k+44|0;g=k;if(c[2250]|0){c[g>>2]=e;c[f+4>>2]=h;c[f+8>>2]=h;c[f>>2]=0;c[f+12>>2]=0;c[f+16>>2]=210;c[f+20>>2]=0;a[f+25>>0]=0;a[f+24>>0]=0;og(f,0,d,g);e=c[2250]|0;g=c[2251]|0;f=pg(f)|0;ic[e&63](g,b,f)}i=k;return}function _c(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))ba();g=h;do if(!(Hc()|0)){if((b|0)<1|(e|0)==0){a[9064]=0;break}if(!(a[9064]|0)){a[9066]=0;a[9065]=0;f=(Hc()|0)==0;f=f?c[2254]|0:0;Yb[c[f+56>>2]&63](f,256,g)|0;f=0;do{a[9067+f>>0]=f;f=f+1|0}while((f|0)!=256);f=0;do{k=9067+f|0;m=(d[g+f>>0]|0)+(d[k>>0]|0)+(d[9066]|0)|0;a[9066]=m;m=9067+(m&255)|0;l=a[m>>0]|0;a[m>>0]=a[k>>0]|0;a[k>>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>>0]|0;f=g&255;l=(d[9066]|0)+f|0;a[9066]=l;a[k>>0]=a[9067+(l&255)>>0]|0;a[9067+(d[9066]|0)>>0]=g;a[e>>0]=a[9067+((d[9067+(d[9065]|0)>>0]|0)+f&255)>>0]|0;b=b+-1|0;if(!b)break;else e=e+1|0}}while(0);i=h;return}function $c(b,c){b=b|0;c=c|0;var e=0;if(b)if(!c)c=1;else{e=a[b>>0]|0;a:do if(!(e<<24>>24))e=0;else while(1){if((a[9328+(e&255)>>0]|0)!=(a[9328+(d[c>>0]|0)>>0]|0))break a;b=b+1|0;c=c+1|0;e=a[b>>0]|0;if(!(e<<24>>24)){e=0;break}}while(0);c=(d[9328+(e&255)>>0]|0)-(d[9328+(d[c>>0]|0)>>0]|0)|0}else c=((c|0)!=0)<<31>>31;return c|0}function ad(a){a=a|0;c[2241]=a;return 0}function bd(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,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;a:do if((f|0)==(d|0)){qg(f,1,10016,n);h=0}else{h=mg(48,0)|0;if(!h){c[d+52>>2]=7;h=c[d+236>>2]|0;if(!h){h=0;break}e=h+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;h=0;break}else{rg(h);h=0;break}}l=h+0|0;k=l+48|0;do{a[l>>0]=0;l=l+1|0}while((l|0)<(k|0));m=h+24|0;c[m>>2]=sg(d,f,g)|0;k=sg(d,d,e)|0;l=h+4|0;c[l>>2]=k;c[h>>2]=d;c[h+20>>2]=f;c[h+16>>2]=1;c[h+40>>2]=0;e=c[m>>2]|0;do if(!((e|0)==0|(k|0)==0)?(tg(k,c[(c[e+4>>2]|0)+32>>2]|0,-1,0)|0)!=7:0)if(!(a[(c[l>>2]|0)+8>>0]|0)){e=(c[m>>2]|0)+16|0;c[e>>2]=(c[e>>2]|0)+1;break a}else{qg(d,1,47416,n);break}while(0);Sc(h);h=0}while(0);i=o;return h|0}function cd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;E=i;i=i+32|0;if((i|0)>=(j|0))ba();z=E;p=E+16|0;s=E+12|0;w=E+8|0;B=b+24|0;g=c[B>>2]|0;h=c[g+4>>2]|0;c[h+4>>2]=c[g>>2];D=b+28|0;f=c[D>>2]|0;if(f>>>0<7?(30>>>(f&127)&1)==0:0){v=c[h>>2]|0;A=b+4|0;f=c[A>>2]|0;y=c[c[f+4>>2]>>2]|0;if((c[b>>2]|0)!=0?(a[h+20>>0]|0)==2:0){x=0;g=5}else t=5;do if((t|0)==5){h=b+12|0;if(!(c[h>>2]|0)){g=ug(f,2)|0;if(g){x=0;break}c[h>>2]=1;x=c[A>>2]|0;g=c[x+4>>2]|0;c[g+4>>2]=c[x>>2];g=c[(c[g+12>>2]|0)+56>>2]|0;c[b+8>>2]=d[g+41>>0]<<16|d[g+40>>0]<<24|d[g+42>>0]<<8|d[g+43>>0];g=c[B>>2]|0}if(!(a[g+8>>0]|0)){x=1;g=ug(g,0)|0}else{x=0;g=0}}while(0);l=c[(c[B>>2]|0)+4>>2]|0;u=c[l+32>>2]|0;o=c[(c[A>>2]|0)+4>>2]|0;r=c[o+32>>2]|0;o=(a[(c[o>>2]|0)+5>>0]|0)==5;f=(u|0)==(r|0)|(g|0)==0&o^1?g:8;l=c[l+44>>2]|0;h=(e|0)<0;a:do if(e){g=b+16|0;m=c[g>>2]|0;n=0;do{if(!(m>>>0<=l>>>0&(f|0)==0))break a;if((m|0)!=((((c[2514]|0)>>>0)/((c[(c[(c[B>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0)){f=vg(v,m,p,2)|0;if(!f){k=c[p>>2]|0;f=wg(b,m,c[k+4>>2]|0,0)|0;if(k)xg(k)}}else f=0;m=(c[g>>2]|0)+1|0;c[g>>2]=m;n=n+1|0}while(h|(n|0)<(e|0))}while(0);if(!f){c[b+36>>2]=l;f=c[b+16>>2]|0;c[b+32>>2]=l+1-f;if(f>>>0<=l>>>0){f=b+40|0;if(!(c[f>>2]|0)){A=(c[c[(c[B>>2]|0)+4>>2]>>2]|0)+88|0;c[b+44>>2]=c[A>>2];c[A>>2]=b;c[f>>2]=1;f=0}else f=0}else t=22}else if((f|0)==101)t=22;do if((t|0)==22){if(!l){g=c[A>>2]|0;f=c[g+4>>2]|0;c[f+4>>2]=c[g>>2];c[f+44>>2]=0;f=yg(f)|0;if((f|0)==0|(f|0)==101)l=1;else break}f=zg(c[A>>2]|0,1,(c[b+8>>2]|0)+1|0)|0;if(!f){g=c[b>>2]|0;if(g)Ag(g);if(o?(q=Bg(c[A>>2]|0,2)|0,(q|0)!=0):0){f=q;break}if((u|0)<(r|0)){g=(r|0)/(u|0)|0;g=(l+-1+g|0)/(g|0)|0;h=c[2514]|0;k=c[(c[(c[A>>2]|0)+4>>2]|0)+32>>2]|0;g=(((g|0)==(((h>>>0)/(k>>>0)|0)+1|0))<<31>>31)+g|0;b=((u|0)<0)<<31>>31;q=ow(l|0,((l|0)<0)<<31>>31|0,u|0,b|0)|0;o=C;e=c[y+60>>2]|0;n=c[y+24>>2]|0;b:do if(g>>>0<=n>>>0){f=0;while(1){if((g|0)!=(((h>>>0)/(k>>>0)|0)+1|0)){f=vg(y,g,s,0)|0;if(f)break b;h=c[s>>2]|0;f=Cg(h)|0;if(h)xg(h)}g=g+1|0;h=(f|0)==0;if(g>>>0>n>>>0|h^1)break;k=c[(c[(c[A>>2]|0)+4>>2]|0)+32>>2]|0;h=c[2514]|0}if(h)t=38}else t=38;while(0);if((t|0)==38)f=Dg(y,0,1)|0;h=c[2514]|0;l=h+r|0;m=((l|0)<0)<<31>>31;k=(m|0)<(o|0)|(m|0)==(o|0)&l>>>0<q>>>0;l=k?l:q;m=k?m:o;h=h+u|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[w>>2]=0;f=mw(h|0,k|0,u|0,b|0)|0;f=fw(f|0,C|0,1,0)|0;f=vg(v,f,w,0)|0;g=c[w>>2]|0;if(!f)f=pc[c[(c[e>>2]|0)+12>>2]&31](e,c[g+4>>2]|0,u,h,k)|0;if(g)xg(g);h=fw(h|0,k|0,u|0,b|0)|0;k=C;g=(f|0)==0}while(g&((k|0)<(m|0)|(k|0)==(m|0)&h>>>0<l>>>0));if(!g)break;f=nc[c[(c[e>>2]|0)+24>>2]&127](e,z)|0;w=c[z+4>>2]|0;if((f|0)==0&((w|0)>(o|0)|((w|0)==(o|0)?(c[z>>2]|0)>>>0>q>>>0:0)))f=Yb[c[(c[e>>2]|0)+16>>2]&63](e,q,o)|0;if(f)break;f=Eg(y,0)|0}else{c[y+24>>2]=_((u|0)/(r|0)|0,l)|0;f=Dg(y,0,0)|0}if(!f){f=Fg(c[A>>2]|0,0)|0;f=(f|0)==0?101:f}}}while(0);if(x){Gg(c[B>>2]|0,0)|0;Fg(c[B>>2]|0,0)|0}f=(f|0)==3082?7:f;c[D>>2]=f}i=E;return f|0}function dd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;if(!a)d=0;else{h=c[a+20>>2]|0;e=c[a+24>>2]|0;d=c[e+4>>2]|0;c[d+4>>2]=c[e>>2];if(c[a>>2]|0){e=e+16|0;c[e>>2]=(c[e>>2]|0)+-1}if(c[a+40>>2]|0){d=(c[d>>2]|0)+88|0;while(1){e=c[d>>2]|0;if((e|0)==(a|0))break;else d=e+44|0}c[d>>2]=c[a+44>>2]}Hg(c[a+4>>2]|0,0,0);d=c[a+28>>2]|0;d=(d|0)==101?0:d;e=c[a>>2]|0;if(e){c[e+52>>2]=d;f=c[e+236>>2]|0;do if(f){g=f+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(f);e=c[a>>2]|0;break}}while(0);Ig(e);if(c[a>>2]|0)Sc(a)}Ig(h)}return d|0}function ed(a){a=a|0;return c[a+32>>2]|0}function fd(a){a=a|0;return c[a+36>>2]|0}function gd(a){a=a|0;if((a|0)!=0?(b[a+88>>1]&256)!=0:0)a=c[a+168>>2]|0;else a=0;return a|0}function hd(a){a=a|0;if(!a)a=1;else a=(b[a+88>>1]&8)!=0;return a&1|0}function id(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(a){b=c[a>>2]|0;if(!b){Zc(21,47360,d);c[d>>2]=68910;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}else{a=Kg(b,Jg(a)|0)|0;Ig(b);b=a;break}}else b=0;while(0);i=e;return b|0}function jd(b){b=b|0;var d=0,e=0;if(!b)b=0;else{d=Lg(b)|0;c[b+76>>2]=-1;c[b+80>>2]=0;a[b+86>>0]=2;c[b+40>>2]=-1108210269;c[b+92>>2]=0;c[b+72>>2]=1;a[b+87>>0]=-1;c[b+104>>2]=0;e=b+144|0;c[e>>2]=0;c[e+4>>2]=0;b=Kg(c[b>>2]|0,d)|0}return b|0}function kd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+68|0;e=b[h>>1]|0;if(e<<16>>16>0){i=a+60|0;d=c[i>>2]|0;g=0;do{f=d+(g*40|0)|0;if(!((b[d+(g*40|0)+8>>1]&9312)==0?(c[d+(g*40|0)+24>>2]|0)==0:0)){Mg(f);d=c[i>>2]|0;e=b[h>>1]|0}b[d+(g*40|0)+8>>1]=1;g=g+1|0}while((g|0)<(e<<16>>16|0))}d=a+88|0;e=b[d>>1]|0;if((e&256)!=0?(c[a+188>>2]|0)!=0:0)b[d>>1]=e|8;return 0}function ld(a){a=a|0;var d=0;d=a+8|0;if(b[d>>1]&18){Ng(a)|0;b[d>>1]=e[d>>1]|0|16;if(!(c[a+12>>2]|0))d=0;else d=c[a+16>>2]|0}else d=Og(a,1)|0;return d|0}function md(a){a=a|0;return Og(a,1)|0}function nd(a){a=a|0;return Pg(a,1)|0}function od(a){a=a|0;return Pg(a,2)|0}function pd(a){a=a|0;return +(+Qg(a))}function qd(a){a=a|0;a=Rg(a)|0;return a|0}function rd(a){a=a|0;a=Rg(a)|0;return a|0}function sd(a){a=a|0;return Og(a,2)|0}function td(a){a=a|0;return Og(a,3)|0}function ud(a){a=a|0;return Og(a,2)|0}function vd(a){a=a|0;return d[10064+((e[a+8>>1]|0)&31)>>0]|0|0}function wd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,0,d);return}function xd(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))_b[g&31](d);if(b){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}}else Sg(b,d,e,0,g);return}function yd(a,b){a=a|0;b=+b;Ug(c[a>>2]|0,b);return}function zd(b,d,e){b=b|0;d=d|0;e=e|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,d,e,1,-1)|0;return}function Ad(b,d,e){b=b|0;d=d|0;e=e|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,d,e,2,-1)|0;return}function Bd(a,d){a=a|0;d=d|0;var e=0,f=0;a=c[a>>2]|0;e=((d|0)<0)<<31>>31;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4}else Vg(a,d,e);return}function Cd(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4}else Vg(a,d,e);return}function Dd(a){a=a|0;var d=0;a=c[a>>2]|0;d=a+8|0;if(!(b[d>>1]&9312))b[d>>1]=1;else rg(a);return}function Ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,1,d);return}function Fd(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))_b[g&31](d);if(b){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}}else Sg(b,d,e,h<<24>>24==4?2:h,g);return}function Gd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,2,d);return}function Hd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,3,d);return}function Id(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,2,d);return}function Jd(a,b){a=a|0;b=b|0;Wg(c[a>>2]|0,b)|0;return}function Kd(a,b){a=a|0;b=b|0;Xg(c[a>>2]|0,b);return}function Ld(d,e){d=d|0;e=e|0;var f=0;c[d+20>>2]=e;a[d+25>>0]=1;f=c[d>>2]|0;if(b[f+8>>1]&1){if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344;Tg(f,d,-1,1,0)|0}return}function Md(b){b=b|0;c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0;return}function Nd(d){d=d|0;var e=0,f=0;e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else{rg(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;a[(c[e+32>>2]|0)+65>>0]=1;return}function Od(f){f=f|0;var g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=i;i=i+224|0;if((i|0)>=(j|0))ba();R=W+8|0;Q=W;if(!(Yg(f)|0)){V=c[f>>2]|0;J=f+88|0;b[J>>1]=b[J>>1]&-513;N=f+40|0;O=f+76|0;P=f+128|0;U=f+80|0;z=f+168|0;A=f+8|0;B=f+20|0;D=f+32|0;E=f+4|0;F=f+84|0;T=f+44|0;G=(f|0)==0;H=f+52|0;I=f+48|0;y=0;while(1){if((c[N>>2]|0)!=-1108210269)jd(f)|0;x=c[f>>2]|0;if(a[x+65>>0]|0){S=7;break}l=c[O>>2]|0;do if((l|0)<1){if(b[J>>1]&8){c[U>>2]=17;l=1;break}if((l|0)<0){l=x+148|0;if(!(c[l>>2]|0))c[x+240>>2]=0;if((c[x+184>>2]|0)!=0?(a[x+145>>0]|0)==0:0)Zg(c[x>>2]|0,P)|0;c[l>>2]=(c[l>>2]|0)+1;l=b[J>>1]|0;if(!(l&64)){l=x+156|0;c[l>>2]=(c[l>>2]|0)+1;l=b[J>>1]|0}if(l&128){w=x+152|0;c[w>>2]=(c[w>>2]|0)+1}c[O>>2]=0;S=22}else S=22}else S=22;while(0);if((S|0)==22){S=0;do if(!(b[J>>1]&3)){w=x+160|0;c[w>>2]=(c[w>>2]|0)+1;l=ch(f)|0;c[w>>2]=(c[w>>2]|0)+-1;if((l|0)==100)l=100;else S=101}else{p=c[f>>2]|0;v=c[A>>2]|0;u=v+40|0;_g(u,8);c[B>>2]=0;if((c[U>>2]|0)==7){a[p+65>>0]=1;l=1;S=101;break}n=c[D>>2]|0;q=b[J>>1]&3;if(q<<16>>16==1){o=c[A>>2]|0;r=o+360|0;if(b[o+368>>1]&16){s=(c[o+372>>2]|0)>>>2;m=c[o+376>>2]|0;if(!s){t=m;o=n;g=0}else{l=0;o=n;do{o=(c[(c[m+(l<<2)>>2]|0)+4>>2]|0)+o|0;l=l+1|0}while((l|0)<(s|0));t=m;g=s}}else{t=0;o=n;g=0}}else{t=0;o=n;g=0;r=0}n=q<<16>>16==2;m=c[O>>2]|0;while(1){l=m+1|0;if((m|0)>=(o|0)){S=33;break}if(!n)break;if((a[(c[E>>2]|0)+(m*20|0)>>0]|0)==-99)break;else m=l}if((S|0)==33){c[O>>2]=l;c[U>>2]=0;l=101;S=101;break}c[O>>2]=l;if(c[p+240>>2]|0){c[U>>2]=9;c[R>>2]=15832;$g(T,p,10344,R);l=1;S=101;break}o=c[D>>2]|0;if((m|0)<(o|0)){l=m;w=(c[E>>2]|0)+(m*20|0)|0}else{m=m-o|0;o=c[t>>2]|0;n=c[o+4>>2]|0;if((m|0)<(n|0))n=m;else{o=m;l=0;while(1){m=o-n|0;l=l+1|0;o=c[t+(l<<2)>>2]|0;n=c[o+4>>2]|0;if((m|0)<(n|0)){n=m;break}else o=m}}l=n;w=(c[o>>2]|0)+(n*20|0)|0}if((b[J>>1]&3)==1){b[v+48>>1]=4;n=u;c[n>>2]=l;c[n+4>>2]=((l|0)<0)<<31>>31;b[v+88>>1]=2562;n=c[44856+(d[w>>0]<<2)>>2]|0;c[v+96>>2]=n;o=n;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;s=v+80|0;c[v+92>>2]=o-n&1073741823;a[v+90>>0]=1;if((a[w+1>>0]|0)==-18){l=(g<<2)+4|0;a:do if(!g)o=0;else{n=c[w+16>>2]|0;m=0;while(1){o=m+1|0;if((c[t+(m<<2)>>2]|0)==(n|0)){o=m;break a}if((o|0)<(g|0))m=o;else break}}while(0);if((o|0)==(g|0)?(ah(r,l,(g|0)!=0&1)|0)==0:0){c[(c[r+16>>2]|0)+(g<<2)>>2]=c[w+16>>2];v=r+8|0;b[v>>1]=e[v>>1]|16;c[r+12>>2]=l;v=s}else v=s}else v=s}b[v+48>>1]=4;u=c[w+4>>2]|0;t=v+40|0;c[t>>2]=u;c[t+4>>2]=((u|0)<0)<<31>>31;b[v+88>>1]=4;t=c[w+8>>2]|0;u=v+80|0;c[u>>2]=t;c[u+4>>2]=((t|0)<0)<<31>>31;b[v+128>>1]=4;u=c[w+12>>2]|0;t=v+120|0;c[t>>2]=u;c[t+4>>2]=((u|0)<0)<<31>>31;t=v+160|0;if(!(bh(t,32)|0)){b[v+168>>1]=514;u=v+176|0;g=c[u>>2]|0;b:do switch(a[w+1>>0]|0){case -6:{p=c[w+16>>2]|0;l=p+6|0;c[R>>2]=e[l>>1];Yc(32,g,44768,R)|0;if(!g)o=0;else{o=g;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;o=o-g&1073741823}c:do if(b[l>>1]|0){q=p+16|0;r=0;while(1){n=c[p+(r<<2)+20>>2]|0;if(n){n=c[n>>2]|0;if(!n){m=0;n=0}else S=61}else{n=44776;S=61}do if((S|0)==61){S=0;s=n;while(1)if(!(a[s>>0]|0))break;else s=s+1|0;m=s-n&1073741823;if((m|0)!=6)break;s=(Vv(n,11152,6)|0)==0;m=s?1:6;n=s?44784:n}while(0);if((m+o|0)>26)break;s=o+1|0;a[g+o>>0]=44;if(a[(c[q>>2]|0)+r>>0]|0){a[g+s>>0]=45;s=o+2|0}gw(g+s|0,n|0,m+1|0)|0;o=s+m|0;r=r+1|0;if((r|0)>=(e[l>>1]|0))break c}l=g+o|0;a[l>>0]=44;a[l+1>>0]=46;a[l+2>>0]=46;a[l+3>>0]=46}while(0);a[g+o>>0]=41;a[g+(o+1)>>0]=0;n=g;break}case -15:{Yc(32,g,44832,R)|0;n=g;break}case -18:{Yc(32,g,44848,R)|0;n=g;break}case -4:{c[R>>2]=c[c[w+16>>2]>>2];Yc(32,g,44792,R)|0;n=g;break}case -5:{l=c[w+16>>2]|0;n=b[l>>1]|0;c[R>>2]=c[l+24>>2];c[R+4>>2]=n;Yc(32,g,44800,R)|0;n=g;break}case -13:{m=c[w+16>>2]|0;l=c[m+4>>2]|0;n=R;c[n>>2]=c[m>>2];c[n+4>>2]=l;Yc(32,g,19920,R)|0;n=g;break}case -14:{c[R>>2]=c[w+16>>2];Yc(32,g,44808,R)|0;n=g;break}case -12:{h[k>>3]=+h[c[w+16>>2]>>3];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];Yc(32,g,19912,R)|0;n=g;break}case -8:{o=c[w+16>>2]|0;n=e[o+8>>1]|0;if(n&2){n=c[o+16>>2]|0;break b}if(n&4){m=o;l=c[m+4>>2]|0;n=R;c[n>>2]=c[m>>2];c[n+4>>2]=l;Yc(32,g,19920,R)|0;n=g;break b}if(n&8){h[k>>3]=+h[o>>3];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];Yc(32,g,19912,R)|0;n=g;break b}if(!(n&1))n=44816;else{Yc(32,g,20304,R)|0;n=g}break}case -19:{a[g>>0]=0;n=g;break}case -10:{c[R>>2]=c[(c[w+16>>2]|0)+8>>2];Yc(32,g,44824,R)|0;n=g;break}default:{o=c[w+16>>2]|0;if(!o){a[g>>0]=0;n=g}else n=o}}while(0);if((n|0)==(c[u>>2]|0)){if(!n)l=0;else{o=n;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;l=o-n&1073741823}c[v+172>>2]=l;a[v+170>>0]=1}else Tg(t,n,-1,1,0)|0;l=b[J>>1]|0;if((l&3)==1){if(bh(v+200|0,4)|0){l=1;S=101;break}b[v+208>>1]=514;c[v+212>>2]=2;l=c[v+216>>2]|0;c[R>>2]=d[w+3>>0];Yc(3,l,44760,R)|0;a[v+210>>0]=1;b[v+248>>1]=1;l=b[J>>1]|0}b[F>>1]=12-((l&3)<<2);c[B>>2]=(c[A>>2]|0)+40;c[U>>2]=0;l=100}else{l=1;S=101}}while(0);if((S|0)==101){S=0;g=x+184|0;if(((c[g>>2]|0)!=0?(a[x+145>>0]|0)==0:0)?(c[z>>2]|0)!=0:0){Zg(c[x>>2]|0,Q)|0;g=c[g>>2]|0;u=c[x+188>>2]|0;v=c[z>>2]|0;m=Q;w=P;w=$v(c[m>>2]|0,c[m+4>>2]|0,c[w>>2]|0,c[w+4>>2]|0)|0;w=ow(w|0,C|0,1e6,0)|0;mc[g&15](u,v,w,C)}if((l|0)==101){p=x+20|0;o=c[p>>2]|0;if((o|0)>0){q=x+16|0;r=x+216|0;s=x+220|0;g=0;l=0;do{n=c[q>>2]|0;m=c[n+(g<<4)+4>>2]|0;if(((m|0)!=0?(K=c[m+4>>2]|0,c[K+4>>2]=c[m>>2],K=c[(c[K>>2]|0)+208>>2]|0,(K|0)!=0):0)?(M=K+12|0,L=c[M>>2]|0,c[M>>2]=0,M=c[r>>2]|0,(M|0)!=0&(L|0)>0&(l|0)==0):0){l=lc[M&31](c[s>>2]|0,x,c[n+(g<<4)>>2]|0,L)|0;o=c[p>>2]|0}g=g+1|0}while((g|0)<(o|0))}else l=0;c[U>>2]=l;l=(l|0)==0?101:1}}c[x+52>>2]=l;if((Kg(c[f>>2]|0,c[U>>2]|0)|0)==7)c[U>>2]=7}if((b[J>>1]&256)!=0&(l|0)!=100&(l|0)!=101)l=dh(f)|0;g=c[x+56>>2]&l;if((g|0)!=17)break;o=y+1|0;if((y|0)>=50){g=17;break}m=c[O>>2]|0;if(!G?(b[J>>1]&256)!=0:0)l=c[z>>2]|0;else l=0;n=c[f>>2]|0;g=eh(n,l,-1,0,f,Q,0)|0;if((g|0)==7){g=n;S=124;break}else if(g){S=127;break}y=c[Q>>2]|0;gw(R|0,y|0,208)|0;gw(y|0,f|0,208)|0;gw(f|0,R|0,208)|0;w=y+52|0;x=c[w>>2]|0;c[w>>2]=c[H>>2];c[H>>2]=x;x=y+48|0;w=c[x>>2]|0;c[x>>2]=c[I>>2];c[I>>2]=w;w=y+168|0;x=c[w>>2]|0;c[w>>2]=c[z>>2];c[z>>2]=x;b[J>>1]=b[J>>1]&-257|b[y+88>>1]&256;fh(y,f);c[y+80>>2]=0;Jg(y)|0;jd(f)|0;if((m|0)<=-1){y=o;continue}b[J>>1]=b[J>>1]|512;y=o}if((S|0)==7){c[U>>2]=7;g=7}else if((S|0)==124){a[g+65>>0]=1;g=7;S=127}do if((S|0)==127){l=Og(c[V+236>>2]|0,1)|0;ig(V,c[T>>2]|0);if(!(a[V+65>>0]|0)){c[T>>2]=gh(V,l)|0;c[U>>2]=g;break}else{c[T>>2]=0;c[U>>2]=7;g=7;break}}while(0);g=Kg(V,g)|0}else{c[R>>2]=69408;c[R+4>>2]=10788;Zc(21,13648,R);g=21}i=W;return g|0}function Pd(a){a=a|0;return c[(c[a+4>>2]|0)+4>>2]|0}function Qd(a){a=a|0;return c[(c[a>>2]|0)+32>>2]|0}function Rd(a,d){a=a|0;d=d|0;var e=0;e=c[a+8>>2]|0;if(!(b[e+8>>1]&8192))e=hh(a,d)|0;else e=c[e+16>>2]|0;return e|0}function Sd(a,b){a=a|0;b=b|0;var d=0;d=c[(c[a+12>>2]|0)+204>>2]|0;a:do if(!d)d=0;else{a=c[a+16>>2]|0;while(1){if((c[d>>2]|0)==(a|0)?(c[d+4>>2]|0)==(b|0):0)break;d=c[d+16>>2]|0;if(!d){d=0;break a}}d=c[d+8>>2]|0}while(0);return d|0}function Td(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+12>>2]|0;do if((d|0)<0)k=14;else{j=h+204|0;g=c[j>>2]|0;a:do if(g){i=c[b+16>>2]|0;while(1){if((c[g>>2]|0)==(i|0)?(c[g+4>>2]|0)==(d|0):0)break;g=c[g+16>>2]|0;if(!g){k=8;break a}}if(g){h=c[g+12>>2]|0;if(h)_b[h&31](c[g+8>>2]|0)}else k=8}else k=8;while(0);if((k|0)==8){g=ih(c[h>>2]|0,20,0)|0;if(!g){k=14;break}h=g+0|0;i=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));c[g>>2]=c[b+16>>2];c[g+4>>2]=d;c[g+16>>2]=c[j>>2];c[j>>2]=g;h=b+25|0;if(!(a[h>>0]|0)){c[b+20>>2]=0;a[h>>0]=1}}c[g+8>>2]=e;c[g+12>>2]=f}while(0);if((k|0)==14?(f|0)!=0:0)_b[f&31](e);return}function Ud(a){a=a|0;return c[(c[a+8>>2]|0)+12>>2]|0}function Vd(a){a=a|0;if(!a)a=0;else a=e[a+84>>1]|0;return a|0}function Wd(a){a=a|0;if((a|0)!=0?(c[a+20>>2]|0)!=0:0)a=e[a+84>>1]|0;else a=0;return a|0}function Xd(a,b){a=a|0;b=b|0;var d=0;b=ld(jh(a,b)|0)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function Yd(a,b){a=a|0;b=b|0;var d=0;b=Pg(jh(a,b)|0,1)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function Zd(a,b){a=a|0;b=b|0;var d=0;b=Pg(jh(a,b)|0,2)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function _d(a,b){a=a|0;b=b|0;var d=0.0;d=+Qg(jh(a,b)|0);if(a){b=a+80|0;c[b>>2]=Kg(c[a>>2]|0,c[b>>2]|0)|0}return +d}function $d(a,b){a=a|0;b=b|0;var d=0;b=Rg(jh(a,b)|0)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function ae(a,b){a=a|0;b=b|0;var d=0,e=0;b=Rg(jh(a,b)|0)|0;d=C;if(a){e=a+80|0;c[e>>2]=Kg(c[a>>2]|0,c[e>>2]|0)|0}C=d;return b|0}function be(a,b){a=a|0;b=b|0;var d=0;b=Og(jh(a,b)|0,1)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function ce(a,d){a=a|0;d=d|0;var f=0,g=0;d=jh(a,d)|0;f=d+8|0;g=e[f>>1]|0;if(g&2048)b[f>>1]=g&59391|4096;if(a){f=a+80|0;c[f>>2]=Kg(c[a>>2]|0,c[f>>2]|0)|0}return d|0}function de(a,b){a=a|0;b=b|0;var d=0;b=Og(jh(a,b)|0,2)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function ee(a,b){a=a|0;b=b|0;var f=0;b=d[10064+((e[(jh(a,b)|0)+8>>1]|0)&31)>>0]|0;if(a){f=a+80|0;c[f>>2]=Kg(c[a>>2]|0,c[f>>2]|0)|0}return b|0}function fe(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[b>>2]|0;if(!b)f=0;else f=e[b+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Og((c[b+16>>2]|0)+(d*40|0)|0,1)|0;f=g+65|0;if(a[f>>0]|0){a[f>>0]=0;d=0}}else d=0;return d|0}function ge(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[b>>2]|0;if(!b)f=0;else f=e[b+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Og((c[b+16>>2]|0)+(d*40|0)|0,2)|0;f=g+65|0;if(a[f>>0]|0){a[f>>0]=0;d=0}}else d=0;return d|0}function he(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[b>>2]|0;if(!b)f=0;else f=e[b+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Og((c[b+16>>2]|0)+((f+d|0)*40|0)|0,1)|0;f=g+65|0;if(a[f>>0]|0){a[f>>0]=0;d=0}}else d=0;return d|0}function ie(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[b>>2]|0;if(!b)f=0;else f=e[b+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Og((c[b+16>>2]|0)+((f+d|0)*40|0)|0,2)|0;f=g+65|0;if(a[f>>0]|0){a[f>>0]=0;d=0}}else d=0;return d|0}function je(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)|0}function ke(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{_b[f&31](c);d=18}}else d=kh(a,b,c,d,f,0)|0;return d|0}function le(a,b,d){a=a|0;b=b|0;d=+d;var e=0;e=lh(a,b)|0;if(!e)Ug((c[a+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function me(a,b,c){a=a|0;b=b|0;c=c|0;return ne(a,b,c,((c|0)<0)<<31>>31)|0}function ne(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=lh(a,d)|0;do if(!g){d=d+-1|0;h=c[a+60>>2]|0;a=h+(d*40|0)|0;d=h+(d*40|0)+8|0;if(!(b[d>>1]&9312)){c[a>>2]=e;c[a+4>>2]=f;b[d>>1]=4;break}else{Vg(a,e,f);break}}while(0);return g|0}function oe(a,b){a=a|0;b=b|0;return lh(a,b)|0}function pe(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,1)|0}function qe(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{_b[f&31](c);d=18}}else d=kh(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function re(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,2)|0}function se(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,j=0;i=b[g+8>>1]|0;j=d[10064+(i&31)>>0]|0;do if((j|0)==3)i=kh(e,f,c[g+16>>2]|0,c[g+12>>2]|0,-1,a[g+10>>0]|0)|0;else if((j|0)==2)i=le(e,f,+h[g>>3])|0;else if((j|0)==4)if(!(i&16384)){i=kh(e,f,c[g+16>>2]|0,c[g+12>>2]|0,-1,0)|0;break}else{i=te(e,f,c[g>>2]|0)|0;break}else if((j|0)==1){i=g;i=ne(e,f,c[i>>2]|0,c[i+4>>2]|0)|0}else i=lh(e,f)|0;while(0);return i|0}function te(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=lh(a,b)|0;if(!e)Xg((c[a+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function ue(a){a=a|0;if(!a)a=0;else a=b[a+68>>1]|0;return a|0}function ve(a,d){a=a|0;d=d|0;if(!((a|0)==0|(d|0)<1)?(b[a+70>>1]|0)>=(d|0):0)d=c[(c[a+64>>2]|0)+(d+-1<<2)>>2]|0;else d=0;return d|0}function we(b,c){b=b|0;c=c|0;var d=0;if(!c)d=0;else{d=c;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;d=d-c&1073741823}return mh(b,c,d)|0}function xe(a,d){a=a|0;d=d|0;var e=0,f=0;if((b[a+68>>1]|0)==(b[d+68>>1]|0)){f=d+88|0;e=b[f>>1]|0;if((e&256)!=0?(c[d+188>>2]|0)!=0:0)b[f>>1]=e|8;e=a+88|0;f=b[e>>1]|0;if((f&256)!=0?(c[a+188>>2]|0)!=0:0)b[e>>1]=f|8;fh(a,d);e=0}else e=1;return e|0}function ye(a){a=a|0;if(!a)a=0;else a=c[a>>2]|0;return a|0}function ze(a){a=a|0;if(!a)a=1;else a=(e[a+88>>1]|0)>>>6&1;return a|0}function Ae(a){a=a|0;if((a|0)!=0?(c[a+76>>2]|0)>-1:0)a=(c[a+40>>2]|0)==-1108210269;else a=0;return a&1|0}function Be(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return c[a>>2]|0}function Ce(a,b,d){a=a|0;b=b|0;d=d|0;a=a+(b<<2)+108|0;b=c[a>>2]|0;if(d)c[a>>2]=0;return b|0}function De(a){a=a|0;var b=0,c=0,f=0;c=a+8|0;f=e[c>>1]|0;b=d[10064+(f&31)>>0]|0;if((f&15|0)==2){nh(a,0);b=d[10064+((e[c>>1]|0)&31)>>0]|0}return b|0}function Ee(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 n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;R=i;i=i+16|0;if((i|0)>=(j|0))ba();P=R;Q=R+4|0;c[Q>>2]=0;c[m>>2]=0;K=(l|0)!=0;L=K&1;N=ih(d,28,0)|0;do if(N){l=N+0|0;p=l+28|0;do{a[l>>0]=0;l=l+1|0}while((l|0)<(p|0));p=ih(d,536,0)|0;if(p){H=d+20|0;I=d+16|0;y=d+24|0;l=N+20|0;z=N+12|0;A=N+24|0;B=d+65|0;C=L^3;D=L|2;E=p+440|0;F=p+72|0;G=p+68|0;o=0;J=1;n=0;while(1){bw(p|0,0,536)|0;c[p>>2]=d;ig(d,o);c[Q>>2]=0;o=c[H>>2]|0;if((o|0)>0){q=c[I>>2]|0;s=0;do{r=c[q+(s<<4)+4>>2]|0;if(r)c[(c[r+4>>2]|0)+4>>2]=c[r>>2];s=s+1|0}while((s|0)!=(o|0))}x=oh(p,0,f,e)|0;if(!x)break;o=a[x+44>>0]|0;if(o&16){O=11;break}if(o&32){O=13;break}if(c[x+12>>2]|0){O=17;break}w=x+38|0;t=b[w>>1]|0;a:do if(t<<16>>16>0){s=c[x+4>>2]|0;r=t<<16>>16;o=0;while(1){q=o+1|0;if(!($c(c[s+(o*24|0)>>2]|0,g)|0)){q=o;break a}if((q|0)<(r|0))o=q;else break}}else q=0;while(0);if((q|0)==(t<<16>>16|0)){O=23;break}if(K){if((c[y>>2]&524288|0)!=0?(M=c[x+16>>2]|0,(M|0)!=0):0){u=M;o=0;do{t=c[u+20>>2]|0;if((t|0)>0){s=0;do{o=(c[u+(s<<3)+36>>2]|0)==(q|0)?10280:o;s=s+1|0}while((s|0)<(t|0))}u=c[u+4>>2]|0}while((u|0)!=0)}else o=0;s=c[x+8>>2]|0;if(s)do{r=b[s+46>>1]|0;if(r<<16>>16){v=c[s+4>>2]|0;t=r&65535;u=0;do{o=(b[v+(u<<1)>>1]|0)==(q|0)?10296:o;u=u+1|0}while((u|0)<(t|0))}s=c[s+20>>2]|0}while((s|0)!=0);if(o){O=36;break}}v=rh(p)|0;c[l>>2]=v;if(v){u=c[x+68>>2]|0;b:do if(u){t=c[H>>2]|0;if((t|0)>0){s=c[I>>2]|0;o=0;while(1){r=o+1|0;if((c[s+(o<<4)+12>>2]|0)==(u|0)){r=o;break b}if((r|0)<(t|0))o=r;else break}}else r=0}else r=-1e6;while(0);o=c[u+4>>2]|0;th(v,sh(v,4,r,L,c[u>>2]|0)|0,o,-14);o=v+4|0;s=c[o>>2]|0;t=v+32|0;if(s)a[s+(((c[t>>2]|0)+-1|0)*20|0)+3>>0]=1;uh(v,10,10120)|0;s=v+96|0;c[s>>2]=c[s>>2]|1<<r;if((c[t>>2]|0)>>>0>1){u=c[o>>2]|0;c[u+24>>2]=r;s=x+32|0;c[u+28>>2]=c[s>>2];c[(c[o>>2]|0)+32>>2]=L}else s=x+32|0;th(v,1,c[x>>2]|0,0);vh(v,C);if((c[t>>2]|0)>>>0>D>>>0){c[(c[o>>2]|0)+(D*20|0)+8>>2]=c[s>>2];c[(c[o>>2]|0)+(D*20|0)+12>>2]=r}th(v,D,(b[w>>1]|0)+1|0,-14);if((c[t>>2]|0)>>>0>6)c[(c[o>>2]|0)+128>>2]=b[w>>1];if(!(a[B>>0]|0)){c[E>>2]=1;c[F>>2]=1;c[G>>2]=1;wh(v,p)}}c[N>>2]=L;c[z>>2]=q;c[A>>2]=d;if(a[B>>0]|0){O=57;break}ne(c[l>>2]|0,1,h,k)|0;n=xh(N,h,k,Q)|0;if(!((J|0)<50&(n|0)==17)){O=57;break}o=c[Q>>2]|0;J=J+1|0;n=17}if((O|0)==11){c[P>>2]=f;ph(p,10160,P)}else if((O|0)==13){c[P>>2]=f;ph(p,10192,P)}else if((O|0)==17){c[P>>2]=f;ph(p,10232,P)}else if((O|0)==23){ig(d,0);c[P>>2]=g;c[Q>>2]=qh(d,10256,P)|0;n=1;O=62;break}else if((O|0)==36){ig(d,0);c[P>>2]=o;c[Q>>2]=qh(d,10304,P)|0;n=1;O=62;break}else if((O|0)==57)if(!n){n=1;o=p;O=58;break}else{o=p;O=61;break}o=p+4|0;if(!(c[o>>2]|0)){n=1;O=62}else{ig(d,0);c[Q>>2]=c[o>>2];c[o>>2]=0;n=1;O=62}}else{n=1;o=p;O=58}}else{n=0;o=0;O=58}while(0);do if((O|0)==58)if(a[d+65>>0]|0)if(n){n=0;O=61;break}else{n=0;O=64;break}else{c[m>>2]=N;n=0;break}while(0);if((O|0)==61){l=N+20|0;p=o;O=62}if((O|0)==62){o=c[l>>2]|0;if(!o){o=p;O=64}else{Jg(o)|0;o=p;O=64}}if((O|0)==64)ig(d,N);H=c[Q>>2]|0;c[P>>2]=H;qg(d,n,(H|0)!=0?10344:0,P);ig(d,H);yh(o);ig(d,o);H=Kg(d,n)|0;i=R;return H|0}function Fe(a){a=a|0;var b=0,d=0;if(!a)a=0;else{d=c[a+24>>2]|0;b=id(c[a+20>>2]|0)|0;ig(d,a);a=b}return a|0}function Ge(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ah(a,b,c,d,18)|0}function He(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ah(a,b,c,d,19)|0}function Ie(a){a=a|0;if((a|0)!=0?(c[a+20>>2]|0)!=0:0)a=c[a+4>>2]|0;else a=0;return a|0}function Je(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))ba();e=h;f=h+8|0;if(!a){c[e>>2]=77720;c[e+4>>2]=10788;Zc(21,13648,e);b=21}else{g=c[a+24>>2]|0;if(c[a+20>>2]|0){b=xh(a,b,d,f)|0;if(!b)b=0;else{d=c[f>>2]|0;c[e>>2]=d;qg(g,b,(d|0)!=0?10344:0,e);ig(g,d)}}else b=4;b=Kg(g,b)|0}i=h;return b|0}function Ke(a,d,e){a=a|0;d=d|0;e=e|0;c[a+284>>2]=d;c[a+288>>2]=e;a=c[a+4>>2]|0;if(a)do{e=a+88|0;b[e>>1]=b[e>>1]|8;a=c[a+52>>2]|0}while((a|0)!=0);return 0}function Le(a,b){a=a|0;b=b|0;return (Ch(a,b,10352,0)|0)==0|0}function Me(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+16|0;if((i|0)>=(j|0))ba();m=B;x=B+12|0;y=B+8|0;c[y>>2]=0;do if(Dh(e)|0){l=(f|0)==0?10360:f;z=e+52|0;c[z>>2]=0;A=e+236|0;m=c[A>>2]|0;do if(m){f=m+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{rg(m);break}}while(0);u=(g|0)==0;v=e+24|0;m=0;a:while(1){do{if(m){n=39;break a}if(!(a[l>>0]|0)){m=0;n=39;break a}c[y>>2]=0;m=eh(e,l,-1,1,0,y,x)|0}while((m|0)!=0);l=c[y>>2]|0;if(!l){l=c[x>>2]|0;m=0;continue}t=b[l+84>>1]|0;r=t&65535;s=r<<3|1;t=t<<16>>16==0;f=0;n=0;o=0;b:do{m=Od(l)|0;do if(!u){p=(m|0)==100;if(!p){if((m|0)!=101|(o|0)!=0)break b;if(!(c[v>>2]&256)){o=0;break}}if(!o){f=ih(e,s,0)|0;if(!f){f=0;n=40;break a}bw(f|0,0,s|0)|0;if(t)q=1;else{o=0;do{c[f+(o<<2)>>2]=fe(l,o)|0;o=o+1|0}while((o|0)<(r|0));q=1}}else q=o;c:do if(p){n=f+(r<<2)|0;if(!t){o=0;while(1){p=be(l,o)|0;c[f+(o+r<<2)>>2]=p;if((p|0)==0?(w=c[y>>2]|0,(ee(w,o)|0)!=5):0){m=w;n=27;break a}o=o+1|0;if((o|0)>=(r|0))break c;l=c[y>>2]|0}}}while(0);if(!(lc[g&31](h,r,n,f)|0))o=q;else{l=f;n=31;break a}}while(0);l=c[y>>2]|0}while((m|0)==100);m=Jg(l)|0;c[y>>2]=0;l=c[x>>2]|0;while(1)if(!(a[10368+(d[l>>0]|0)>>0]&1))break;else l=l+1|0;ig(e,f)}do if((n|0)==27){a[e+65>>0]=1;l=m;m=100;n=40}else if((n|0)==31){Jg(c[y>>2]|0)|0;c[y>>2]=0;c[z>>2]=4;m=c[A>>2]|0;if(m){f=m+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;f=l;m=4;break}else{rg(m);f=l;m=4;break}}else{f=l;m=4}}else if((n|0)==39){l=c[y>>2]|0;f=0;n=40}while(0);if((n|0)==40)if(l)Jg(l)|0;ig(e,f);l=Kg(e,m)|0;f=(k|0)!=0;if(!((l|0)!=0&f)){if(!f)break;c[k>>2]=0;break}f=Oe(e)|0;if(!f)f=1;else{m=f;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;f=(m-f&1073741823)+1|0}m=mg(f,((f|0)<0)<<31>>31)|0;c[k>>2]=m;if(m){gw(m|0,Oe(e)|0,f|0)|0;break}c[z>>2]=7;l=c[A>>2]|0;if(l){f=l+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;l=7;break}else{rg(l);l=7;break}}else l=7}else{c[m>>2]=101334;c[m+4>>2]=10788;Zc(21,13648,m);l=21}while(0);i=B;return l|0}function Ne(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return eh(a,b,c,1,0,d,e)|0}function Oe(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129635;c[d+4>>2]=10788;Zc(21,13648,d);d=16120;break}if(!(a[b+65>>0]|0)){d=Og(c[b+236>>2]|0,1)|0;if(!d){d=c[b+52>>2]|0;if((d|0)!=516){d=d&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344}}else d=15776}else d=15776;while(0);i=e;return d|0}function Pe(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,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))ba();s=u;t=u+8|0;r=c[b>>2]|0;c[t>>2]=0;m=(d|0)==0;if(m)g=0;else{l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;g=l-d&1073741823}p=g+300|0;o=(f|0)!=0;if(o)c[f>>2]=0;do if(!(c[b+24>>2]&4194304))if(o){c[f>>2]=Wc(25216,s)|0;g=1}else g=1;else{n=(e|0)!=0?e:41192;k=r+40|0;l=nc[c[k>>2]&127](r,d)|0;if(!l){c[s>>2]=d;c[s+4>>2]=41184;h=Wc(27824,s)|0;if(!h){g=7;break}l=nc[c[k>>2]&127](r,h)|0;Sc(h);if(!l){if(!o){g=1;break}l=Pc(p)|0;c[t>>2]=l;c[f>>2]=l;if(!l){g=1;break}c[s>>2]=d;Yc(p,l,41216,s)|0;ic[c[r+44>>2]&63](r,g+299|0,l);g=1;break}else q=l}else q=l;g=r+48|0;l=Yb[c[g>>2]&63](r,q,n)|0;if((l|0)==0&(e|0)==0){if(m)l=0;else{l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-d&1073741823}e=Pc(l+30|0)|0;if(!e){fc[c[r+52>>2]&15](r,q);g=7;break}n=e;m=n;a[m>>0]=115;a[m+1>>0]=113;a[m+2>>0]=108;a[m+3>>0]=105;n=n+4|0;a[n>>0]=116;a[n+1>>0]=101;a[n+2>>0]=51;a[n+3>>0]=95;while(1){k=l+-1|0;if((l|0)<=0)break;if((a[d+k>>0]|0)==47)break;else l=k}h=(Bc(d+l|0,41256,3)|0)==0;k=8;h=h?l+3|0:l;while(1){l=a[d+h>>0]|0;if(l<<24>>24==0|l<<24>>24==46){l=k;break}if(!(a[10368+(l&255)>>0]&2))l=k;else{a[e+k>>0]=a[9328+(l<<24>>24)>>0]|0;l=k+1|0}k=l;h=h+1|0}l=e+l|0;a[l+0>>0]=a[41264]|0;a[l+1>>0]=a[41265]|0;a[l+2>>0]=a[41266]|0;a[l+3>>0]=a[41267]|0;a[l+4>>0]=a[41268]|0;a[l+5>>0]=a[41269]|0;l=Yb[c[g>>2]&63](r,q,e)|0;g=e;h=e}else{g=0;h=n}if(!l){if(o){if(!h)l=0;else{l=h;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-h&1073741823}l=l+p|0;k=Pc(l)|0;c[t>>2]=k;c[f>>2]=k;if(k){c[s>>2]=h;c[s+4>>2]=d;Yc(l,k,41272,s)|0;ic[c[r+44>>2]&63](r,l+-1|0,k)}}fc[c[r+52>>2]&15](r,q);Sc(g);g=1;break}Sc(g);if(Yb[l&63](b,t,13776)|0){if(o){c[s>>2]=c[t>>2];c[f>>2]=Wc(41320,s)|0}Sc(c[t>>2]|0);fc[c[r+52>>2]&15](r,q);g=1;break}k=b+168|0;g=(c[k>>2]<<2)+4|0;l=ih(b,g,0)|0;if(!l)g=7;else{bw(l|0,0,g|0)|0;g=c[k>>2]|0;h=b+172|0;if((g|0)>0)gw(l|0,c[h>>2]|0,g<<2|0)|0;ig(b,c[h>>2]|0);c[h>>2]=l;g=c[k>>2]|0;c[k>>2]=g+1;c[l+(g<<2)>>2]=q;g=0}}while(0);q=Kg(b,g)|0;i=u;return q|0}function Qe(a){a=a|0;var b=0,d=0,e=0,f=0;b=Hc()|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)>>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=Tc(c[2658]|0,(f<<2)+4|0)|0;if(!b)b=7;else{c[2658]=b;d=c[2656]|0;c[b+(d<<2)>>2]=a;c[2656]=d+1;b=0}}else b=0}return b|0}function Re(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>>2]|0)==(a|0)){g=4;break}}if((g|0)==4){d=e+-1|0;c[2656]=d;c[b>>2]=c[f+(d<<2)>>2];b=1}return b|0}function Se(){if(!(Hc()|0)){Sc(c[2658]|0);c[2658]=0;c[2656]=0}return}function Te(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return eh(a,b,c,0,0,d,e)|0}function Ue(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Eh(a,b,c,0,d,e)|0}function Ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Eh(a,b,c,1,d,e)|0}function We(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,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();n=v;q=v+4|0;c[d>>2]=0;r=(f|0)!=0;if(r)c[f>>2]=0;s=(e|0)!=0;if(s)c[e>>2]=0;l=(g|0)!=0;if(l)c[g>>2]=0;m=q+4|0;c[m>>2]=0;t=q+12|0;c[t>>2]=0;u=q+16|0;c[u>>2]=0;k=q+20|0;c[k>>2]=1;o=q+8|0;c[o>>2]=20;p=q+24|0;c[p>>2]=0;h=Pc(80)|0;c[q>>2]=h;a:do if(h){c[h>>2]=0;b=Me(a,b,20,q,g)|0;c[c[q>>2]>>2]=c[k>>2];if((b&255|0)==4){Xe((c[q>>2]|0)+4|0);b=c[m>>2]|0;if(b){if(l){Sc(c[g>>2]|0);c[n>>2]=c[m>>2];c[g>>2]=Wc(10344,n)|0;b=c[m>>2]|0}Sc(b)}b=c[p>>2]|0;c[a+52>>2]=b;break}Sc(c[m>>2]|0);if(b){Xe((c[q>>2]|0)+4|0);break}h=c[k>>2]|0;b=c[q>>2]|0;do if((c[o>>2]|0)>>>0>h>>>0){b=Tc(b,h<<2)|0;if(!b){Xe((c[q>>2]|0)+4|0);c[a+52>>2]=7;b=7;break a}else{c[q>>2]=b;break}}while(0);c[d>>2]=b+4;if(r)c[f>>2]=c[u>>2];if(s){c[e>>2]=c[t>>2];b=0}else b=0}else{c[a+52>>2]=7;b=7}while(0);i=v;return b|0}function Xe(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){b=a+-4|0;e=c[b>>2]|0;d=e;if((e|0)>1){f=1;do{e=c[a+(f+-1<<2)>>2]|0;if(e)Sc(e);f=f+1|0}while((f|0)<(d|0))}Sc(b)}return}function Ye(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Gh(a,b,c,d,0)|0}function Ze(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Gh(a,b,c,d,e)|0}function _e(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;g=p+8|0;c[g>>2]=0;h=d+324|0;f=c[h>>2]|0;if((f|0)!=0?(m=c[f+4>>2]|0,(m|0)!=0):0){n=ih(d,536,0)|0;if(!n)e=7;else{bw(n|0,0,536)|0;k=n+451|0;a[k>>0]=1;c[n>>2]=d;c[n+424>>2]=1;if(((((Hh(n,e,g)|0)==0?(l=c[n+484>>2]|0,(l|0)!=0):0)?(a[d+65>>0]|0)==0:0)?(c[l+12>>2]|0)==0:0)?(a[l+44>>0]&16)==0:0){f=m+4|0;if(!(c[f>>2]|0)){o=l+4|0;c[f>>2]=c[o>>2];l=l+38|0;b[m+38>>1]=b[l>>1]|0;b[l>>1]=0;c[o>>2]=0}c[(c[h>>2]|0)+4>>2]=0;e=0}else{e=c[g>>2]|0;c[o>>2]=e;qg(d,1,(e|0)!=0?10344:0,o);ig(d,e);e=1}a[k>>0]=0;f=c[n+8>>2]|0;if(f)Jg(f)|0;gg(d,c[n+484>>2]|0);yh(n);ig(d,n)}e=Kg(d,e)|0}else{c[d+52>>2]=21;f=c[d+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);c[o>>2]=114865;c[o+4>>2]=10788;Zc(21,13648,o);e=21}i=p;return e|0}function $e(a){a=a|0;return d[10640+((d[a+69>>0]|0)+-1)>>0]|0|0}function af(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))ba();h=l;g=l+8|0;c[g>>2]=f;do if((e|0)==1){e=c[d+324>>2]|0;if(!e){c[h>>2]=115248;c[h+4>>2]=10788;Zc(21,13648,h);k=6;break}else{d=c[g>>2]|0;f=c[d>>2]|0;c[g>>2]=d+4;a[(c[e>>2]|0)+16>>0]=f;e=0;break}}else{c[h>>2]=115256;c[h+4>>2]=10788;Zc(21,13648,h);k=6}while(0);do if((k|0)==6){c[d+52>>2]=21;e=c[d+236>>2]|0;if(e){f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;e=21;break}else{rg(e);e=21;break}}else e=21}while(0);i=l;return e|0}function bf(b){b=b|0;var c=0,e=0,f=0,g=0,h=0;c=a[b>>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+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>>0]|0}if(f){h=13;break b}else e=1}else e=2;break}case 91:{do{b=b+1|0;f=a[b>>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 12:case 10:case 9:case 13:case 32:{e=1;break}case 39:case 34:case 96:{do{b=b+1|0;f=a[b>>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+1>>0]|0)==42){b=b+2|0;while(1){e=a[b>>0]|0;if(e<<24>>24==42){b=b+1|0;if((a[b>>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 59:{e=0;break}default:if(!(a[10368+(g&255)>>0]&70))e=2;else{e=1;while(1)if(!(a[10368+(d[b+e>>0]|0)>>0]&70)){g=e;break}else e=e+1|0;c:do switch(f|0){case 67:case 99:{if((g|0)==6?(Bc(b,10712,6)|0)==0:0){e=4;break c}e=2;break}case 84:case 116:{if((g|0)==7){if(!(Bc(b,10720,7)|0)){e=6;break c}}else if((g|0)==4){if(!(Bc(b,10728,4)|0)){e=5;break c}}else if((g|0)==9?(Bc(b,10736,9)|0)==0:0){e=5;break c}e=2;break}case 69:case 101:{if((g|0)==3){if(!(Bc(b,10752,3)|0)){e=7;break c}}else if((g|0)==7?(Bc(b,10760,7)|0)==0:0){e=3;break c}e=2;break}default:e=2}while(0);b=b+(g+-1)|0}}c=a[(e&255)+(10648+((c&255)<<3))>>0]|0;b=b+1|0;g=a[b>>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 cf(d){d=d|0;var e=0,f=0,g=0;e=Hc()|0;if(!e){f=mg(40,0)|0;if(f){e=f+0|0;g=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(g|0));b[f+8>>1]=1;c[f+32>>2]=0;Tg(f,d,-1,2,0)|0}e=Og(f,1)|0;if(!e)e=7;else e=(bf(e)|0)&255;Ih(f)}return e|0}function df(){return 8632}function ef(){return 10768}function ff(){return 3008009}function gf(){return 0}function hf(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))ba();d=f;e=f+8|0;if(!(c[2243]|0)){c[e>>2]=b;do switch(a|0){case 5:{if(!(c[2195]|0)){c[d>>2]=16496;hf(4,d)|0}a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[d+0>>2]=c[2195];c[d+4>>2]=c[2196];c[d+8>>2]=c[2197];c[d+12>>2]=c[2198];c[d+16>>2]=c[2199];c[d+20>>2]=c[2200];c[d+24>>2]=c[2201];c[d+28>>2]=c[2202];d=0;break}case 17:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2189]=d;d=0;break}case 20:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2190]=d;d=0;break}case 19:{if(!(c[2214]|0)){c[d>>2]=16440;hf(18,d)|0}a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;d=d+0|0;a=8848|0;e=d+52|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 16:{d=c[e>>2]|0;a=c[d>>2]|0;c[e>>2]=d+4;c[2250]=a;a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2251]=d;d=0;break}case 13:{d=c[e>>2]|0;a=c[d>>2]|0;c[e>>2]=d+4;c[2193]=a;a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2194]=d;d=0;break}case 7:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2237]=d;d=c[e>>2]|0;a=c[d>>2]|0;c[e>>2]=d+4;c[2238]=a;a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2239]=d;d=0;break}case 24:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[d>>2]=152;d=0;break}case 15:{d=1;break}case 4:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2195]=c[d+0>>2];c[2196]=c[d+4>>2];c[2197]=c[d+8>>2];c[2198]=c[d+12>>2];c[2199]=c[d+16>>2];c[2200]=c[d+20>>2];c[2201]=c[d+24>>2];c[2202]=c[d+28>>2];d=0;break}case 18:{d=c[e>>2]|0;a=c[d>>2]|0;c[e>>2]=d+4;d=8848|0;a=a+0|0;e=d+52|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 6:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2234]=d;d=c[e>>2]|0;a=c[d>>2]|0;c[e>>2]=d+4;c[2235]=a;a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2236]=d;d=0;break}case 9:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2186]=d;d=0;break}case 22:{c[e>>2]=(c[e>>2]|0)+8;c[e>>2]=(c[e>>2]|0)+8;c[2230]=0;c[2231]=0;c[2232]=0;c[2233]=0;d=0;break}case 25:{a=c[e>>2]|0;d=c[a>>2]|0;c[e>>2]=a+4;c[2242]=d;d=0;break}case 14:{d=0;break}default:d=1}while(0)}else{c[d>>2]=127883;c[d+4>>2]=10788;Zc(21,13648,d);d=21}i=f;return d|0}function jf(a){a=a|0;return c[a+12>>2]|0}function kf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[h>>2]|0;f=(b|0)>0;if(f){e=c[a+16>>2]|0;g=0;do{d=c[e+(g<<4)+4>>2]|0;if(d)c[(c[d+4>>2]|0)+4>>2]=c[d>>2];g=g+1|0}while((g|0)!=(b|0));if(f){f=a+16|0;e=0;do{d=c[(c[f>>2]|0)+(e<<4)+4>>2]|0;if(d){_b[c[8744+152>>2]&31](c[(c[(c[c[d+4>>2]>>2]|0)+204>>2]|0)+40>>2]|0);b=c[h>>2]|0}e=e+1|0}while((e|0)<(b|0))}}return 0}function lf(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))ba();h=l;c[h>>2]=e;a:do if((d|0)!=1001){e=0;while(1){if((c[10936+(e<<3)>>2]|0)==(d|0))break;e=e+1|0;if(e>>>0>=2){f=1;break a}}g=c[h>>2]|0;d=c[g>>2]|0;c[h>>2]=g+4;g=c[h>>2]|0;k=c[g>>2]|0;c[h>>2]=g+4;h=a+24|0;g=c[h>>2]|0;if((d|0)<=0)if(!d){d=g&~c[10940+(e<<3)>>2];c[h>>2]=d}else d=g;else{d=c[10940+(e<<3)>>2]|g;c[h>>2]=d}if((g|0)!=(d|0)?(f=c[a+4>>2]|0,(f|0)!=0):0)do{d=f+88|0;b[d>>1]=b[d>>1]|8;f=c[f+52>>2]|0}while((f|0)!=0);if(!k)f=0;else{c[k>>2]=(c[10940+(e<<3)>>2]&c[h>>2]|0)!=0&1;f=0}}else{g=c[h>>2]|0;d=c[g>>2]|0;c[h>>2]=g+4;g=c[h>>2]|0;e=c[g>>2]|0;c[h>>2]=g+4;g=c[h>>2]|0;f=c[g>>2]|0;c[h>>2]=g+4;f=Jh(a,d,e,f)|0}while(0);i=l;return f|0}function mf(a){a=a|0;a=a+32|0;C=c[a+4>>2]|0;return c[a>>2]|0}function nf(a){a=a|0;return c[a+80>>2]|0}function of(a){a=a|0;return c[a+84>>2]|0}function pf(a){a=a|0;return Kh(a,0)|0}function qf(a){a=a|0;return Kh(a,1)|0}function rf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+444>>2]=b;c[a+448>>2]=d;c[a+452>>2]=0;c[a+492>>2]=0;return 0}function sf(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+292>>2]=f?d:0;c[a+300>>2]=f?b:0;c[a+296>>2]=f?e:0;return}function tf(a,b){a=a|0;b=b|0;var d=0;d=(b|0)>0;c[a+444>>2]=d?74:0;c[a+448>>2]=d?a:0;c[a+452>>2]=0;c[a+492>>2]=d?b:0;return 0}function uf(a){a=a|0;c[a+240>>2]=1;return}function vf(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 Kg(a,Mh(a,b,c,d,e,f,g,h,0)|0)|0}function wf(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,n=0;do if(k){l=ih(b,12,0)|0;if(!l){_b[k&31](g);f=1;break}m=l;n=m;a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;m=m+4|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;c[l+4>>2]=k;c[l+8>>2]=g;f=Mh(b,d,e,f,g,h,i,j,l)|0;if(!(c[l>>2]|0)){_b[k&31](g);ig(b,l)}}else f=Mh(b,d,e,f,g,h,i,j,0)|0;while(0);return Kg(b,f)|0}function xf(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=Nh(a,b,-1)|0;d=Mh(a,b,c,d,e,f,g,h,0)|0;ig(a,b);return Kg(a,d)|0}function yf(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>>0]|0))break;else e=e+1|0;e=e-c&1073741823}if(!(Oh(b,c,e,d,1,0)|0))e=Mh(b,c,d,1,0,57,0,0,0)|0;else e=0;return Kg(b,e)|0}function zf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+180|0;e=c[f>>2]|0;c[a+176>>2]=b;c[f>>2]=d;return e|0}function Af(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+188|0;e=c[f>>2]|0;c[a+184>>2]=b;c[f>>2]=d;return e|0}function Bf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+192|0;e=c[f>>2]|0;c[a+196>>2]=b;c[f>>2]=d;return e|0}function Cf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+208|0;e=c[f>>2]|0;c[a+212>>2]=b;c[f>>2]=d;return e|0}function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+200|0;e=c[f>>2]|0;c[a+204>>2]=b;c[f>>2]=d;return e|0}function Ef(a,b){a=a|0;b=b|0;var d=0;if((b|0)>0)d=21;else{b=0;d=0}c[a+216>>2]=d;c[a+220>>2]=b;return 0}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+220|0;e=c[f>>2]|0;c[a+216>>2]=b;c[f>>2]=d;return e|0}function Gf(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,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;if(g)c[g>>2]=-1;if(h)c[h>>2]=-1;if(f>>>0>3)e=21;else{if((e|0)!=0?(a[e>>0]|0)!=0:0){l=Rh(d,e)|0;if((l|0)<0){c[k>>2]=e;qg(d,1,10952,k);e=1}else m=10}else{l=10;m=10}do if((m|0)==10){c[d+452>>2]=0;e=Sh(d,l,f,g,h)|0;c[d+52>>2]=e;k=c[d+236>>2]|0;if(k){l=k+8|0;if(!(b[l>>1]&9312)){b[l>>1]=1;break}else{rg(k);break}}}while(0);e=Kg(d,e)|0}i=n;return e|0}function Hf(a,b){a=a|0;b=b|0;return Gf(a,b,0,0,0)|0}function If(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))ba();g=k;do if(b){d=c[b+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){c[g>>2]=15248;Zc(21,15256,g);d=11008;break}h=b+65|0;if(!(a[h>>0]|0)){f=b+236|0;d=Og(c[f>>2]|0,2)|0;if(!d){e=c[b+52>>2]|0;if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344;qg(b,e,d,g);d=Og(c[f>>2]|0,2)|0}a[h>>0]=0}else d=10976}else d=10976;while(0);i=k;return d|0}function Jf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129704;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+56>>2]&c[b+52>>2];else b=7}else b=7;while(0);i=e;return b|0}function Kf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129713;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+52>>2]|0;else b=7}else b=7;while(0);i=e;return b|0}function Lf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=c[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Mf(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>>2]|0;if((d|0)>-1){b=c[11088+(b<<2)>>2]|0;c[e>>2]=(b|0)<(d|0)?b:d}}else a=-1;return a|0}function Nf(a,b){a=a|0;b=b|0;return Th(a,b,6,0)|0}function Of(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Th(a,b,c,d)|0}function Pf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;c[e>>2]=0;f=Hc()|0;if(!f){h=mg(40,0)|0;if(h){d=(d|0)==0?11136:d;f=h+0|0;g=f+40|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));b[h+8>>1]=1;c[h+32>>2]=0;Tg(h,d,-1,2,0)|0}d=Og(h,1)|0;if(d){f=Th(d,e,6,0)|0;if(!f){f=c[e>>2]|0;d=c[(c[f+16>>2]|0)+12>>2]|0;if(!(b[d+78>>1]&1)){a[f+62>>0]=2;a[d+77>>0]=2;f=0}else f=0}}else f=7;Ih(h);f=f&255}return f|0}function Qf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Kg(a,Uh(a,b,c&255,d,e,0)|0)|0}function Rf(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 Kg(a,Uh(a,b,c&255,d,e,f)|0)|0}function Sf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Nh(a,b,-1)|0;if(!b)b=0;else{c=Uh(a,b,c&255,d,e,0)|0;ig(a,b);b=c}return Kg(a,b)|0}function Tf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=d;c[a+228>>2]=0;c[a+232>>2]=b;return 0}function Uf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=0;c[a+228>>2]=d;c[a+232>>2]=b;return 0}function Vf(a){a=a|0;return d[a+63>>0]|0|0}function Wf(){return}function Xf(d,e,f,g,h,k,l,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();x=z;y=z+8|0;c[y>>2]=0;p=c[d+20>>2]|0;if((p|0)>0){o=c[d+16>>2]|0;r=0;do{q=c[o+(r<<4)+4>>2]|0;if(q)c[(c[q+4>>2]|0)+4>>2]=c[q>>2];r=r+1|0}while((r|0)!=(p|0))}o=Vh(d,y)|0;w=(o|0)!=0;a:do if((!w?(u=Wh(d,f,e)|0,(u|0)!=0):0)?(c[u+12>>2]|0)==0:0){do if(g){t=b[u+38>>1]|0;b:do if(t<<16>>16>0){e=c[u+4>>2]|0;p=t<<16>>16;s=0;while(1){q=e+(s*24|0)|0;r=s+1|0;if(!($c(c[q>>2]|0,g)|0)){r=s;break b}if((r|0)<(p|0))s=r;else break}}else{r=0;q=0}while(0);if((r|0)==(t<<16>>16|0)){if(a[u+44>>0]&32){e=0;t=0;u=0;q=0;s=0;r=0;break a}if(!(Xh(g)|0)){e=0;t=0;u=0;q=0;s=0;r=0;break a}v=b[u+36>>1]|0;p=v<<16>>16;if(v<<16>>16<=-1){e=0;s=0;p=1;v=0;r=11144;break}r=p;q=(c[u+4>>2]|0)+(p*24|0)|0}if(q){if((b[u+36>>1]|0)==(r|0))p=(a[u+44>>0]&8)!=0;else p=0;e=p&1;s=(a[q+20>>0]|0)!=0&1;p=a[q+23>>0]&1;v=c[q+16>>2]|0;r=c[q+12>>2]|0}else{e=0;s=0;p=1;v=0;r=11144}}else{e=0;s=0;p=1;v=0;r=11144}while(0);t=s;q=p;s=(v|0)==0?11152:v}else{e=0;t=0;u=0;q=0;s=0;r=0}while(0);if(h)c[h>>2]=r;if(k)c[k>>2]=s;if(l)c[l>>2]=t;if(m)c[m>>2]=q;if(n)c[n>>2]=e;p=c[y>>2]|0;if(!(w|(u|0)!=0)){ig(d,p);c[x>>2]=f;c[x+4>>2]=g;p=qh(d,11160,x)|0;c[y>>2]=p;o=1}c[x>>2]=p;qg(d,o,(p|0)!=0?10344:0,x);ig(d,c[y>>2]|0);w=Kg(d,o)|0;i=z;return w|0}function Yf(a){a=a|0;var b=0;if((Hc()|0)==0?(b=c[2254]|0,(b|0)!=0):0)a=(nc[c[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function Zf(a,b){a=a|0;b=b|0;c[a+56>>2]=(b|0)!=0?-1:255;return 0}function _f(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=Yh(a,b)|0;do if(b){a=c[b+4>>2]|0;c[a+4>>2]=c[b>>2];a=c[(c[a>>2]|0)+60>>2]|0;if((d|0)==7){c[e>>2]=a;b=0;break}b=c[a>>2]|0;if(!b)b=12;else b=Yb[c[b+40>>2]&63](a,d,e)|0}else b=1;while(0);return b|0}function $f(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();p=q+24|0;h=q+8|0;g=q;c[h>>2]=f;do switch(e|0){case 8:{o=c[h>>2]|0;n=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;k=c[o>>2]|0;c[h>>2]=o+4;o=mg(512,0)|0;g=(o|0)==0;if(!g){bw(o|0,0,512)|0;c[o>>2]=n}e=((n+7|0)/8|0)+1|0;m=mg(e,((e|0)<0)<<31>>31)|0;f=(m|0)==0;if(!f)bw(m|0,0,e|0)|0;l=Pc(512)|0;a:do if(!(g|f|(l|0)==0)){h=0;while(1){g=c[k+(h<<2)>>2]|0;if((g|0)==5|(g|0)==2|(g|0)==1){f=k+(h+2<<2)|0;r=c[f>>2]|0;e=r+-1|0;c[p>>2]=e;c[f>>2]=(c[k+(h+3<<2)>>2]|0)+r;f=4}else if(!g)break;else{_c(4,p);e=c[p>>2]|0;f=2}s=k+((h|1)<<2)|0;r=(c[s>>2]|0)+-1|0;c[s>>2]=r;h=((r|0)>0?0:f)+h|0;e=(e&2147483647|0)%(n|0)|0;c[p>>2]=e;e=e+1|0;f=1<<(e&7);if(!(g&1)){e=m+(e>>>3)|0;a[e>>0]=d[e>>0]&(f^255);_h(o,(c[p>>2]|0)+1|0,l);continue}e=m+(e>>>3)|0;a[e>>0]=d[e>>0]|f;if((g|0)==5)continue;if(Zh(o,(c[p>>2]|0)+1|0)|0){g=-1;break a}}k=$h(o,n+1|0)|0;g=$h(o,0)|0;g=k-n+g+(c[o>>2]|0)|0;c[p>>2]=1;if((n|0)>=1){e=1;do{k=(d[m+(e>>3)>>0]&1<<(e&7)|0)!=0&1;f=e;e=e+1|0;if((k|0)!=($h(o,f)|0)){g=f;break a}c[p>>2]=e}while((f|0)<(n|0))}}else g=-1;while(0);Sc(l);Sc(m);ai(o);break}case 11:{g=c[2514]|0;p=c[h>>2]|0;f=c[p>>2]|0;c[h>>2]=p+4;if(f)c[2514]=f;break}case 12:{c[g>>2]=0;g=c[g>>2]|0;break}case 13:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;break}case 22:{g=10;break}case 5:{gw(12672,9064,259)|0;g=0;break}case 6:{gw(9064,12672,259)|0;g=0;break}case 7:{if(!(Hc()|0)){a[9064]=0;g=0}else g=0;break}case 14:{o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;tg(c[(c[p+16>>2]|0)+4>>2]|0,0,g,0)|0;g=0;break}case 15:{o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;b[g+60>>1]=p;g=0;break}case 16:{p=c[h>>2]|0;e=c[p>>2]|0;c[h>>2]=p+4;if(!e)g=0;else{g=e;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}g=(bi(e,g)|0)!=27;g=g?124:0;break}case 24:{o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;c[g+136>>2]=p;g=0;break}case 23:{g=(c[2243]|0)==0&1;break}case 25:{n=c[h>>2]|0;g=c[n>>2]|0;c[h>>2]=n+4;n=c[h>>2]|0;o=c[n>>2]|0;c[h>>2]=n+4;a[g+144>>0]=Rh(g,o)|0;o=c[h>>2]|0;n=c[o>>2]|0;c[h>>2]=o+4;n=n&255;a[g+147>>0]=n;o=g+145|0;a[o>>0]=n;n=c[h>>2]|0;p=c[n>>2]|0;c[h>>2]=n+4;c[g+140>>2]=p;if((a[o>>0]|0)==0&(p|0)>0){Ag(g);g=0}else g=0;break}case 17:{p=c[h>>2]|0;f=c[p>>2]|0;c[h>>2]=p+4;p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;p=c[h>>2]|0;e=c[p>>2]|0;c[h>>2]=p+4;if(f)c[g>>2]=ci(f)|0;di(e);g=0;break}case 18:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2253]=g;g=0;break}case 20:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2192]=g;g=0;break}case 9:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2252]=g;if(!g)g=0;else g=hc[g&127](0)|0;break}case 10:{o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;c[3164]=p;c[3166]=g;g=0;break}default:g=0}while(0);i=q;return g|0}function ag(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>>0]|0))break;else d=d+1|0;e=(d-b&1073741823)+1|0;d=a[b+e>>0]|0;if(d<<24>>24){g=b+e|0;while(1){f=Wv(g,c)|0;e=g;while(1){b=e+1|0;if(!(d<<24>>24))break;d=a[b>>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>>0]|0))break;else e=e+1|0;g=g+(b+2+(e-d&1073741823))|0;d=a[g>>0]|0;if(!(d<<24>>24)){d=0;break}}}else d=0}else d=0;while(0);return d|0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;a=ag(a,b)|0;b=(c|0)!=0;if(a)b=(ei(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function cg(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))ba();f=g;a=ag(a,b)|0;if(!a){C=e;i=g;return d|0}else{b=(fi(a,f)|0)==0;a=f;C=b?c[a+4>>2]|0:e;i=g;return (b?c[a>>2]|0:d)|0}return 0}function dg(b,d){b=b|0;d=d|0;b=Yh(b,d)|0;if(b){b=c[c[b+4>>2]>>2]|0;if(!(a[b+15>>0]|0))b=c[b+168>>2]|0;else b=10360}else b=0;return b|0}function eg(a,d){a=a|0;d=d|0;a=Yh(a,d)|0;if(!a)a=-1;else a=b[(c[a+4>>2]|0)+22>>1]&1;return a|0}function fg(a,b){a=a|0;b=b|0;if(b){Bk(a,c[b+28>>2]|0);ig(a,c[b>>2]|0);ig(a,c[b+4>>2]|0);Ck(a,c[b+12>>2]|0);Dk(a,c[b+16>>2]|0);ig(a,b)}return}function gg(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+520>>2]|0)!=0:0))e=4;if((e|0)==4?(f=d+40|0,e=(b[f>>1]|0)+-1<<16>>16,b[f>>1]=e,e<<16>>16!=0):0)break;e=c[d+8>>2]|0;if(e){g=a+520|0;do{f=e;e=c[e+20>>2]|0;if(!(h?(c[g>>2]|0)!=0:0))Ek((c[f+24>>2]|0)+24|0,c[f>>2]|0,0)|0;Fk(a,f)}while((e|0)!=0)}e=c[d+16>>2]|0;if(e){j=(a|0)==0;k=d+68|0;l=a+520|0;do{if(!(!j?(c[l>>2]|0)!=0:0)){f=e+16|0;i=c[f>>2]|0;h=e+12|0;g=c[h>>2]|0;if(!i)Ek((c[k>>2]|0)+56|0,c[((g|0)==0?e:g)+8>>2]|0,g)|0;else c[i+12>>2]=g;h=c[h>>2]|0;if(h)c[h+16>>2]=c[f>>2]}Gk(a,c[e+28>>2]|0);Gk(a,c[e+32>>2]|0);f=e;e=c[e+4>>2]|0;ig(a,f)}while((e|0)!=0)}Hk(a,d);ig(a,c[d>>2]|0);ig(a,c[d+20>>2]|0);Ik(a,c[d+12>>2]|0,1);Jk(a,c[d+24>>2]|0);if(!((a|0)!=0?(c[a+520>>2]|0)!=0:0))Kk(0,d)|0;h=d+56|0;e=c[h>>2]|0;if(e){i=d+52|0;f=c[i>>2]|0;if((f|0)>0){g=0;do{if((g|0)!=1){ig(a,c[(c[h>>2]|0)+(g<<2)>>2]|0);f=c[i>>2]|0}g=g+1|0}while((g|0)<(f|0));e=c[h>>2]|0}ig(a,e)}ig(a,d)}while(0);return}function hg(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;_g(c[d+60>>2]|0,b[d+68>>1]|0);h=d+16|0;_g(c[h>>2]|0,e[d+84>>1]<<1);f=c[d+192>>2]|0;if(f)do{g=f;f=c[f+24>>2]|0;Lk(a,c[g>>2]|0,c[g+4>>2]|0);ig(a,g)}while((f|0)!=0);f=b[d+70>>1]|0;if(f<<16>>16>0){g=d+64|0;f=f<<16>>16;do{f=f+-1|0;ig(a,c[(c[g>>2]|0)+(f<<2)>>2]|0)}while((f|0)>0)}Lk(a,c[d+4>>2]|0,c[d+32>>2]|0);ig(a,c[h>>2]|0);ig(a,c[d+168>>2]|0);ig(a,c[d+172>>2]|0);return}function ig(a,b){a=a|0;b=b|0;var d=0;do if(b){if(a){if(c[a+520>>2]|0){Mk(a,b);break}if((c[a+276>>2]|0)>>>0<=b>>>0?(c[a+280>>2]|0)>>>0>b>>>0:0){d=a+272|0;c[b>>2]=c[d>>2];c[d>>2]=b;a=a+252|0;c[a>>2]=(c[a>>2]|0)+-1;break}}Sc(b)}while(0);return}function jg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[e+24>>2]|0;if(!h)f=0;else{f=h;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;f=f-h&1073741823}g=(((d[9328+(d[h>>0]|0)>>0]|0)+f|0)>>>0)%23|0;f=Nk(b,g,h,f)|0;if(!f){c[e+8>>2]=0;f=b+(g<<2)|0;c[e+28>>2]=c[f>>2];c[f>>2]=e}else{f=f+8|0;c[e+8>>2]=c[f>>2];c[f>>2]=e}return}function kg(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+12>>2];break}if(b){do{d=b+12|0;b=c[d>>2]|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))c[d>>2]=c[a+12>>2]}}while(0);return}function lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function mg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;b=fw(a|0,b|0,-1,-1)|0;d=C;do if(!(d>>>0>0|(d|0)==0&b>>>0>2147483390)){if(!(c[2186]|0)){b=hc[c[8744+36>>2]&127](a)|0;break}d=hc[c[8744+52>>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=$v(c[e>>2]|0,c[e+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;f=C;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;mc[a&15](e,b,0,d);c[2260]=a;c[2261]=e;break}}while(0);b=hc[c[8744+36>>2]&127](d)|0;if(b){a=hc[c[8744+48>>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 ng(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){Sc(a);e=0;break}if(!(d>>>0>0|(d|0)==0&b>>>0>2147483391)){h=hc[c[8744+48>>2]&127](a)|0;g=hc[c[8744+52>>2]&127](b)|0;if((g|0)!=(h|0)){if(!(c[2186]|0)){e=nc[c[8744+44>>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=$v(c[i>>2]|0,c[i+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;j=C;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;mc[f&15](i,e,0,d);c[2260]=f;c[2261]=i}e=nc[c[8744+44>>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;mc[d&15](e,f,0,b);c[2260]=d;c[2261]=e;e=nc[c[8744+44>>2]&127](a,g)|0}if(e){d=(hc[c[8744+48>>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=mg(b,d)|0;while(0);return e|0}function og(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+96|0;if((i|0)>=(j|0))ba();W=Y+8|0;X=Y;V=Y+16|0;if(!e){l=0;m=0;Q=0}else{l=e&2;if(!l)m=0;else{G=c[g>>2]|0;m=c[G>>2]|0;c[g>>2]=G+4}l=l&255;Q=(e&1|0)!=0}P=l<<24>>24==0;M=l<<24>>24!=0;N=m+4|0;O=m+8|0;L=b+12|0;l=0;a:while(1){e=a[f>>0]|0;if(e<<24>>24==37){e=f;f=l}else if(e<<24>>24){e=f;do{e=e+1|0;G=a[e>>0]|0}while(!(G<<24>>24==37|G<<24>>24==0));Ok(b,f,e-f|0);if(!(a[e>>0]|0))break}else break;l=e+1|0;n=a[l>>0]|0;if(!(n<<24>>24)){R=10;break}o=n<<24>>24;s=0;p=0;v=0;n=0;x=0;y=0;b:while(1){switch(o|0){case 45:{w=p;n=1;break}case 32:{w=p;v=1;break}case 35:{s=1;w=p;break}case 33:{w=1;break}case 48:{w=p;y=1;break}case 43:{w=p;x=1;break}default:{z=s;w=p;break b}}p=e+2|0;G=a[p>>0]|0;o=G<<24>>24;if(!(G<<24>>24)){l=p;z=s;break}else{e=l;l=p;p=w}}if((o|0)!=42)if((o+-48|0)>>>0<10){p=0;do{p=o+-48+(p*10|0)|0;l=l+1|0;o=a[l>>0]|0}while((o+-48|0)>>>0<10);K=n;J=p&2147483647}else{K=n;J=0}else{if(P){G=c[g>>2]|0;p=c[G>>2]|0;c[g>>2]=G+4}else p=Pk(m)|0;if((p|0)<0){n=1;p=(p|0)==-2147483648?0:0-p|0}o=l+1|0;l=o;o=a[o>>0]|0;K=n;J=p}do if((o|0)==46){p=l+1|0;n=a[p>>0]|0;if(n<<24>>24!=42){o=n<<24>>24;if((n+-48&255)<10)n=0;else{l=p;D=0;break}while(1){n=o+-48+(n*10|0)|0;l=l+2|0;G=a[l>>0]|0;o=G<<24>>24;if((G+-48&255)<10){G=p;p=l;l=G}else break}D=n&2147483647;break}if(P){G=c[g>>2]|0;p=c[G>>2]|0;c[g>>2]=G+4}else p=Pk(m)|0;l=l+2|0;o=a[l>>0]|0;if((p|0)<0)D=(p|0)==-2147483648?-1:0-p|0;else D=p}else D=-1;while(0);do if((o|0)==108){p=l+1|0;o=a[p>>0]|0;if(o<<24>>24==108){o=l+2|0;l=o;o=a[o>>0]|0;p=1;break}else{l=p;o=o<<24>>24;p=0;break}}else p=0;while(0);s=0;while(1){n=48752+(s*6|0)|0;if((o|0)==(a[n>>0]|0)){o=n;n=s;R=46;break}s=s+1|0;if((s|0)>=23){I=48752;G=0;break}}if((R|0)==46){R=0;if(!(Q|n>>>0<20))break;I=o;G=a[48755+(n*6|0)>>0]|0}c:do switch(G&255|0){case 14:{p=0;R=50;break}case 1:case 16:{R=50;break}case 13:{p=c[g>>2]|0;e=c[p>>2]|0;c[g>>2]=p+4;p=c[g>>2]|0;o=c[p>>2]|0;c[g>>2]=p+4;p=c[e+(o*72|0)+12>>2]|0;if(p){n=p;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;Ok(b,p,n-p&1073741823);Ok(b,28928,1)}n=c[e+(o*72|0)+16>>2]|0;if(!n)e=0;else{e=n;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;e=e-n&1073741823}Ok(b,n,e);v=f;o=0;e=0;p=0;break}case 4:case 3:case 2:{do if(!P){p=c[N>>2]|0;if((c[m>>2]|0)>(p|0)){c[N>>2]=p+1;q=+Qg(c[(c[O>>2]|0)+(p<<2)>>2]|0);R=92;break}else{p=(D|0)<0?6:D;q=0.0;R=94;break}}else{R=c[g>>2]|0;c[k>>2]=c[R>>2];c[k+4>>2]=c[R+4>>2];q=+h[k>>3];c[g>>2]=R+8;R=92}while(0);if((R|0)==92){R=0;p=(D|0)<0?6:D;if(q<0.0){q=-q;H=45}else R=94}if((R|0)==94){R=0;if(!(x<<24>>24))H=v<<24>>24==0?0:32;else H=43}D=G<<24>>24==4;n=((D&(p|0)>0)<<31>>31)+p|0;p=n&4095;if(!p)r=.5;else{r=.5;do{p=p+-1|0;r=r*.1}while((p|0)>0)}B=G<<24>>24==2;if(B)q=q+r;h[W>>3]=q;h[X>>3]=+h[W>>3];if(+h[W>>3]!=+h[X>>3]){v=48960;o=3;e=J;p=0}else{if(q>0.0){s=0;t=1.0;while(1){u=t*1.e+100;if(q>=u&(s|0)<351){s=s+100|0;t=u}else break}while(1){u=t*1.e+64;if(q>=u&(s|0)<351){s=s+64|0;t=u}else break}while(1){u=t*1.0e8;if(q>=u&(s|0)<351){s=s+8|0;t=u}else break}while(1){u=t*10.0;if((s|0)<351&q>=u){s=s+1|0;t=u}else break}q=q/t;if(q<1.0e-08)do{q=q*1.0e8;s=s+-8|0}while(q<1.0e-08);if(q<1.0)do{q=q*10.0;s=s+-1|0}while(q<1.0);if((s|0)>350){if(H<<24>>24==43)n=48976;else if(H<<24>>24==45)n=48968;else n=48984;f=n;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;v=n;o=f-n&1073741823;e=J;p=0;break c}}else s=0;if(!B){q=r+q;if(!(q>=10.0))F=s;else{q=q*.1;F=s+1|0}}else F=s;if(D){p=(F|0)<-4|(n|0)<(F|0);D=z<<24>>24==0&1;n=n-(p?0:F)|0;p=p?3:2}else{D=w;p=G}E=p<<24>>24==3;f=E?0:F;s=(f|0)>0;p=fw(n|0,((n|0)<0)<<31>>31|0,J|0,((J|0)<0)<<31>>31|0)|0;s=fw(p|0,C|0,(s?f:0)|0,(s?((f|0)<0)<<31>>31:0)|0)|0;p=C;if((p|0)>0|(p|0)==0&s>>>0>55){s=fw(s|0,p|0,15,0)|0;s=mg(s,C)|0;if(!s){R=124;break a}else{v=s;G=s}}else{v=V;G=0}s=((w&255)*10|0)+16|0;A=(w|z)&255|(n|0)>0;if(!(H<<24>>24))B=v;else{a[v>>0]=H;B=v+1|0}if((f|0)<0){a[B>>0]=48;e=2;p=B+1|0;x=f}else{z=~f;z=(z|0)>-1?z:-1;x=-2-z|0;z=f+z|0;o=B;while(1){if((s|0)<1)e=48;else{p=~~q;e=p+48&255;q=(q-+(p|0))*10.0;s=s+-1|0}a[o>>0]=e;if((f|0)>0){o=o+1|0;f=f+-1|0}else break}e=z+3|0;p=B+(z+2)|0}o=(A|0)==0;if(!o){a[p>>0]=46;p=B+e|0}if((x+1|0)<0){bw(p|0,48,~x|0)|0;p=p+~x|0;n=n+1+x|0}if((n|0)>0){e=p;f=n;while(1){f=f+-1|0;if((s|0)<1)x=48;else{B=~~q;x=B+48&255;q=(q-+(B|0))*10.0;s=s+-1|0}a[e>>0]=x;if((f|0)<=0)break;else e=e+1|0}p=p+n|0}d:do if(!(D<<24>>24==0|o)){o=p;while(1){p=o+-1|0;n=a[p>>0]|0;if(n<<24>>24==46)break;else if(n<<24>>24!=48){p=o;break d}a[p>>0]=0;o=p}if(!(w<<24>>24)){a[p>>0]=0;break}else{a[o>>0]=48;p=o+1|0;break}}while(0);if(E){o=p+1|0;a[p>>0]=a[48912+(d[I+4>>0]|0)>>0]|0;n=p+2|0;if((F|0)<0){a[o>>0]=45;o=0-F|0}else{a[o>>0]=43;o=F}if((o|0)>99){a[n>>0]=((o|0)/100|0)+48;f=4;e=5;n=p+3|0;o=(o|0)%100|0}else{f=3;e=4}a[n>>0]=((o|0)/10|0)+48;a[p+f>>0]=((o|0)%10|0)+48;p=p+e|0}a[p>>0]=0;e=v;o=p-e|0;if(!(K<<24>>24==0&y<<24>>24!=0&(J|0)>(o|0))){e=J;p=G;break c}n=J-o|0;if((o|0)>=0){f=J;while(1){a[v+f>>0]=a[v+(f-n)>>0]|0;if((f|0)>(n|0))f=f+-1|0;else break}}if((J|0)==(o|0)){o=J;e=J;p=G;break c}bw(v+(H<<24>>24!=0&1)|0,48,J+e-p|0)|0;o=J;e=J;p=G}break}case 5:{if(P){o=c[L>>2]|0;e=c[g>>2]|0;v=c[e>>2]|0;c[g>>2]=e+4;c[v>>2]=o;v=f;o=0;e=0;p=0}else{v=f;o=0;e=0;p=0}break}case 8:{a[V>>0]=37;v=V;o=1;e=J;p=0;break}case 9:{if(!P){e=Qk(m)|0;if(!e)p=0;else p=a[e>>0]|0}else{G=c[g>>2]|0;p=c[G>>2]|0;c[g>>2]=G+4}if((D|0)>1){n=D+-1|0;e=J-n|0;if(!((e|0)<2|K<<24>>24!=0)){Rk(b,e+-1|0,32);e=0}f=p&255;Rk(b,n,f)}else{f=p&255;e=J}a[V>>0]=f;v=V;o=1;p=0;break}case 7:case 6:{if(M)n=Qk(m)|0;else{F=c[g>>2]|0;n=c[F>>2]|0;c[g>>2]=F+4}if(!n){f=10360;p=0}else{f=n;p=G<<24>>24!=7|M?0:n}if((D|0)>-1){if((D|0)>0)n=0;else{v=f;o=0;e=J;break c}while(1){o=n+1|0;if(!(a[f+n>>0]|0)){v=f;o=n;e=J;break c}if((o|0)<(D|0))n=o;else{v=f;e=J;break}}}else{if(!f){v=0;o=0;e=J;break c}else n=f;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;v=f;o=n-f&1073741823;e=J;break c}break}case 15:case 11:case 10:{z=G<<24>>24==15?34:39;if(P){F=c[g>>2]|0;p=c[F>>2]|0;c[g>>2]=F+4}else p=Qk(m)|0;v=(p|0)==0;if(v)p=G<<24>>24==11?20304:48992;e:do if(!D){y=0;o=0}else{s=z&255;n=0;e=D;o=0;while(1){f=a[p+n>>0]|0;if(!(f<<24>>24)){y=n;break e}o=((f<<24>>24|0)==(s|0)&1)+o|0;n=n+1|0;e=e+-1|0;if(!e){y=n;break}}}while(0);w=G<<24>>24==11&(v^1);n=((w&1)<<1|1)+y+o|0;if((n|0)>70){o=mg(n,((n|0)<0)<<31>>31)|0;if(!o){R=197;break a}else{v=o;x=o}}else{v=V;x=0}if(w){a[v>>0]=z;n=1}else n=0;if((y|0)>0){s=z&255;e=0;do{o=a[p+e>>0]|0;f=n+1|0;a[v+n>>0]=o;if((o<<24>>24|0)==(s|0)){a[v+f>>0]=o;n=n+2|0}else n=f;e=e+1|0}while((e|0)!=(y|0))}if(w){a[v+n>>0]=z;n=n+1|0}a[v+n>>0]=0;o=n;e=J;p=x;break}case 12:{G=c[g>>2]|0;e=c[G>>2]|0;c[g>>2]=G+4;if((e|0)!=0?(U=c[e+4>>2]|0,(U|0)!=0):0){Ok(b,c[e>>2]|0,U);v=f;o=0;e=0;p=0}else{v=f;o=0;e=0;p=0}break}default:break a}while(0);if((R|0)==50){R=0;do if(!(a[I+2>>0]&1)){if(M){f=Pk(m)|0;s=C;B=0;break}if(!(p<<24>>24)){s=c[g>>2]|0;f=c[s>>2]|0;c[g>>2]=s+4;s=0;B=0;break}else{B=c[g>>2]|0;s=B;f=c[s>>2]|0;s=c[s+4>>2]|0;c[g>>2]=B+8;B=0;break}}else{do if(!M)if(!(p<<24>>24)){o=c[g>>2]|0;p=c[o>>2]|0;c[g>>2]=o+4;o=((p|0)<0)<<31>>31;break}else{F=c[g>>2]|0;o=F;p=c[o>>2]|0;o=c[o+4>>2]|0;c[g>>2]=F+8;break}else{p=Pk(m)|0;o=C}while(0);if((o|0)<0){f=$v(0,0,p|0,o|0)|0;s=C;B=45;break}if(!(x<<24>>24)){f=p;s=o;B=v<<24>>24==0?0:32}else{f=p;s=o;B=43}}while(0);A=(f|0)==0&(s|0)==0;if(!(y<<24>>24))x=D;else{x=J-(B<<24>>24!=0&1)|0;x=(D|0)<(x|0)?x:D}if((x|0)>=60){p=x+10|0;o=mg(p,((p|0)<0)<<31>>31)|0;if(!o){R=69;break}else{e=p;p=o;n=o}}else{e=70;p=0;n=V}y=n+(e+-1)|0;if(G<<24>>24==16){o=qw(f|0,s|0,10,0)|0;if(!(o>>>0<=3?(G=pw(f|0,s|0,10,0)|0,G=qw(G|0,C|0,10,0)|0,!((G|0)==1&(C|0)==0)):0))o=0;G=o<<1;a[n+(e+-2)>>0]=a[48896+(G|1)>>0]|0;o=n+(e+-3)|0;a[o>>0]=a[48896+G>>0]|0}else o=y;e=d[I+4>>0]|0;v=d[I+1>>0]|0;while(1){G=qw(f|0,s|0,v|0,0)|0;n=o+-1|0;a[n>>0]=a[48912+(G+e)>>0]|0;f=pw(f|0,s|0,v|0,0)|0;s=C;if((f|0)==0&(s|0)==0)break;else o=n}f=x-y+n|0;if((f|0)>0){e=o;o=n;while(1){n=e+-2|0;a[n>>0]=48;f=f+-1|0;if((f|0)<=0)break;else{e=o;o=n}}}if(B<<24>>24){n=o+-2|0;a[n>>0]=B}if((!(A|z<<24>>24==0)?(S=a[I+5>>0]|0,S<<24>>24!=0):0)?(T=48952+(S&255)|0,!(S<<24>>24==3|S<<24>>24==6)):0){f=a[T>>0]|0;o=T;do{n=n+-1|0;a[n>>0]=f;o=o+1|0;f=a[o>>0]|0}while(f<<24>>24!=0)}v=n;o=y-n|0;e=J}n=e-o|0;f=(n|0)<1;if(!(f|K<<24>>24!=0))Rk(b,n,32);Ok(b,v,o);if(!(f|K<<24>>24==0))Rk(b,n,32);if(p)Sc(p);f=l+1|0;l=v}if((R|0)==10)Ok(b,48744,1);else if((R|0)==69){a[b+25>>0]=1;c[b+16>>2]=0}else if((R|0)==124){a[b+25>>0]=1;c[b+16>>2]=0}else if((R|0)==197){a[b+25>>0]=1;c[b+16>>2]=0}i=Y;return}function pg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;f=b+8|0;d=c[f>>2]|0;do if(((d|0)!=0?(h=b+12|0,a[d+(c[h>>2]|0)>>0]=0,e=a[b+24>>0]|0,e<<24>>24!=0):0)?(g=b+4|0,(c[f>>2]|0)==(c[g>>2]|0)):0){if(e<<24>>24==1){d=(c[h>>2]|0)+1|0;d=ih(c[b>>2]|0,d,((d|0)<0)<<31>>31)|0}else d=Pc((c[h>>2]|0)+1|0)|0;c[f>>2]=d;if(!d){a[b+25>>0]=1;c[b+16>>2]=0;break}else{gw(d|0,c[g>>2]|0,(c[h>>2]|0)+1|0)|0;break}}while(0);return c[f>>2]|0}function qg(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,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=d+52|0;c[h>>2]=e;a:do if(!f){c[h>>2]=e;e=c[d+236>>2]|0;if(e){h=e+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;break}else{rg(e);break}}}else{l=d+236|0;do if(!(c[l>>2]|0)){h=ih(d,40,0)|0;if(!h){c[l>>2]=h;break a}else{e=h+0|0;k=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(k|0));b[h+8>>1]=1;c[h+32>>2]=d;c[l>>2]=h;break}}while(0);c[m>>2]=g;h=Sk(d,f,m)|0;e=c[l>>2]|0;if(e)Tg(e,h,-1,1,75)|0}while(0);i=n;return}function rg(a){a=a|0;var d=0,e=0;e=a+8|0;d=b[e>>1]|0;if(d&8192){Uk(a,c[a>>2]|0)|0;d=b[e>>1]|0}d=d&65535;do if(!(d&1024)){if(d&32){Vk(c[a>>2]|0);break}if(d&64){a=c[a>>2]|0;d=(c[a>>2]|0)+180|0;c[a+4>>2]=c[d>>2];c[d>>2]=a}}else _b[c[a+36>>2]&31](c[a+16>>2]|0);while(0);b[e>>1]=1;return}function sg(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))ba();g=k;e=Rh(b,d)|0;do if((e|0)==1){f=ih(a,536,0)|0;if(!f){qg(a,7,15776,g);e=0;break}bw(f|0,0,536)|0;c[f>>2]=b;if(!(Wk(f)|0)){ig(a,c[f+4>>2]|0);yh(f);ig(a,f);h=7;break}else{b=c[f+12>>2]|0;e=f+4|0;c[g>>2]=c[e>>2];qg(a,b,10344,g);ig(a,c[e>>2]|0);yh(f);ig(a,f);e=0;break}}else h=7;while(0);do if((h|0)==7)if((e|0)<0){c[g>>2]=d;qg(a,1,47448,g);e=0;break}else{e=c[(c[b+16>>2]|0)+(e<<4)+4>>2]|0;break}while(0);i=k;return e|0}function tg(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+4>>2]|0;c[k+4>>2]=c[a>>2];j=k+22|0;if(!(b[j>>1]&2)){if((f|0)<0)f=(c[k+32>>2]|0)-(c[k+36>>2]|0)|0;if(((d+-512|0)>>>0<65025?(d+-1&d|0)==0:0)?(c[k+32>>2]=d,h=k+80|0,i=c[h>>2]|0,(i|0)!=0):0){a=i+-4|0;c[h>>2]=a;Xk(a);c[h>>2]=0}h=k+32|0;a=Yk(c[k>>2]|0,h,f)|0;c[k+36>>2]=(c[h>>2]|0)-(f&65535);if(g)b[j>>1]=e[j>>1]|0|2}else a=8;return a|0}function ug(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=i;i=i+16|0;if((i|0)>=(j|0))ba();K=Q;J=Q+12|0;I=Q+8|0;O=c[f+4>>2]|0;F=O+4|0;c[F>>2]=c[f>>2];L=f+8|0;l=a[L>>0]|0;do if(l<<24>>24!=2?(M=(g|0)!=0,l<<24>>24!=1|M):0){N=O+22|0;l=b[N>>1]|0;if(!((l&1)!=0&M)){if(M)if((a[O+20>>0]|0)!=2&(l&64)==0)P=8;else P=7;else if(!(l&64))P=8;else P=7;a:do if((P|0)==7){h=c[O+76>>2]|0;P=12}else if(((P|0)==8?(g|0)>1:0)?(k=c[O+72>>2]|0,(k|0)!=0):0)do{l=c[k>>2]|0;if((l|0)!=(f|0)){h=l;P=12;break a}k=c[k+12>>2]|0}while((k|0)!=0);while(0);if((P|0)==12?(c[h>>2]|0)!=0:0){h=262;break}h=Zk(f,1,1)|0;if(!h){l=e[N>>1]|0;b[N>>1]=l&65527;H=O+44|0;if(!(c[H>>2]|0))b[N>>1]=l|8;B=O+12|0;r=O+32|0;s=O+36|0;t=O+17|0;u=O+18|0;v=O+80|0;w=O+24|0;x=O+26|0;y=O+28|0;z=O+30|0;A=O+21|0;C=O+20|0;D=(g|0)>1;h=0;b:while(1){c:do if(!(c[B>>2]|0)){h=_k(c[O>>2]|0)|0;if(!h){h=$k(O,1,J,0)|0;if(!h){q=c[J>>2]|0;n=c[q+56>>2]|0;l=d[n+29>>0]<<16|d[n+28>>0]<<24|d[n+30>>0]<<8|d[n+31>>0];m=c[O>>2]|0;o=c[m+24>>2]|0;if((l|0)!=0?(Vv(n+24|0,n+92|0,4)|0)==0:0)p=l;else p=o;d:do if((p|0)>0){e:do if(!(Vv(n,44680,16)|0)){if((d[n+18>>0]|0)>2)b[N>>1]=e[N>>1]|1;l=a[n+19>>0]|0;if((l&255)<=2){do if(l<<24>>24==2){if(b[N>>1]&16)break;c[I>>2]=0;h=al(m,I)|0;if(h){P=48;break e}if(c[I>>2]|0)break;if(!q){h=0;continue b}xg(c[q+68>>2]|0);h=0;continue b}while(0);if(Vv(n+21|0,47408,3)|0){h=26;P=48;break}k=d[n+17>>0]<<16|d[n+16>>0]<<8;if((k+16777215&k|0)!=0|k>>>0>65536|k>>>0<257){h=26;P=48;break}m=d[n+20>>0]|0;l=k-m|0;if((k|0)==(c[r>>2]|0)){if((p|0)>(o|0)?(c[(c[F>>2]|0)+24>>2]&65536|0)==0:0){c[K>>2]=55672;c[K+4>>2]=10788;Zc(11,13600,K);h=11;P=48;break}if(l>>>0<480){h=26;P=48;break}c[r>>2]=k;c[s>>2]=l;a[t>>0]=(d[n+53>>0]<<16|d[n+52>>0]<<24|d[n+54>>0]<<8|d[n+55>>0]|0)!=0&1;a[u>>0]=(d[n+65>>0]<<16|d[n+64>>0]<<24|d[n+66>>0]<<8|d[n+67>>0]|0)!=0&1;break d}if(q)xg(c[q+68>>2]|0);c[s>>2]=l;c[r>>2]=k;l=c[v>>2]|0;if(l){h=l+-4|0;c[v>>2]=h;Xk(h);c[v>>2]=0}h=Yk(c[O>>2]|0,r,m)|0}else{h=26;P=48}}else{h=26;P=48}while(0);if((P|0)==48){P=0;if(q)xg(c[q+68>>2]|0);c[B>>2]=0}if(!h){h=0;continue b}else{P=77;break c}}else l=c[s>>2]|0;while(0);h=((((l<<6)+-768|0)>>>0)/255|0)+65513|0;k=h&65535;b[w>>1]=k;m=((((l<<5)+-384|0)>>>0)/255|0)+65513&65535;b[x>>1]=m;b[y>>1]=l+65501;b[z>>1]=m;a[A>>0]=(k&65535)>127?127:h&255;c[B>>2]=q;c[H>>2]=p;h=0;continue b}else l=0}else l=0}else{f:do if((h|0)==0&M){if(b[N>>1]&1){h=8;P=77;break c}p=c[O>>2]|0;h=c[p+40>>2]|0;g:do if(!h){a[p+21>>0]=(a[(c[f>>2]|0)+64>>0]|0)==2&1;q=p+16|0;if((a[q>>0]|0)==1){m=p+208|0;l=c[m>>2]|0;do if(!l){h=bl(p,2)|0;h:do if((h|0)==0&D){l=p+176|0;k=p+180|0;while(1){h=bl(p,4)|0;if((h|0)!=5)break h;if(!(hc[c[l>>2]&127](c[k>>2]|0)|0)){h=5;break g}}}while(0);if(h)break g}else{do if(a[p+4>>0]|0){if(a[l+43>>0]|0)break;h=bl(p,4)|0;if(h)break g;l=c[m>>2]|0;k=l+43|0;if(!(a[k>>0]|0)){h=c[l+4>>2]|0;lc[c[(c[h>>2]|0)+56>>2]&31](h,(b[l+40>>1]|0)+3|0,1,5)|0;l=c[m>>2]|0}a[k>>0]=1}while(0);if(a[l+46>>0]|0){h=8;break g}k=l+43|0;if((a[k>>0]|0)==0?(E=c[l+4>>2]|0,E=lc[c[(c[E>>2]|0)+56>>2]&31](E,0,1,10)|0,(E|0)!=0):0){h=E;break g}h=l+44|0;a[h>>0]=1;if(!(Vv(l+52|0,c[c[l+32>>2]>>2]|0,48)|0))break;if(!(a[k>>0]|0)){k=c[l+4>>2]|0;lc[c[(c[k>>2]|0)+56>>2]&31](k,0,1,9)|0}a[h>>0]=0;h=517;break g}while(0);a[q>>0]=2;h=c[p+24>>2]|0;c[p+36>>2]=h;c[p+32>>2]=h;c[p+28>>2]=h;h=p+72|0;c[h>>2]=0;c[h+4>>2]=0}h=yg(O)|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((P|0)==77){P=0;l=(h|0)==0}if((a[C>>0]|0)==0?(G=c[B>>2]|0,(G|0)!=0):0){c[B>>2]=0;xg(c[G+68>>2]|0)}if((h&255|0)!=5){P=86;break}if(a[C>>0]|0){P=86;break}if(!(cl(O)|0)){P=86;break}}if((P|0)==86)if(!l){P=96;break}if((a[L>>0]|0)==0?(E=O+40|0,c[E>>2]=(c[E>>2]|0)+1,(a[f+9>>0]|0)!=0):0){a[f+40>>0]=1;E=O+72|0;c[f+44>>2]=c[E>>2];c[E>>2]=f+32}l=M?2:1;a[L>>0]=l;if((l&255)>(d[C>>0]|0))a[C>>0]=l;if(M){l=c[B>>2]|0;c[O+76>>2]=f;k=e[N>>1]|0;b[N>>1]=D?k|32:k&65503;k=l+56|0;E=c[k>>2]|0;if((c[H>>2]|0)!=(d[E+29>>0]<<16|d[E+28>>0]<<24|d[E+30>>0]<<8|d[E+31>>0]|0)){h=Cg(c[l+68>>2]|0)|0;if(!h){h=c[k>>2]|0;P=c[H>>2]|0;a[h+28>>0]=P>>>24;a[h+29>>0]=P>>>16;a[h+30>>0]=P>>>8;a[h+31>>0]=P;h=0;P=96}}else P=96}}}else h=8}else{h=0;P=96}while(0);if((P|0)==96)if((h|0)==0&(g|0)!=0)h=dl(c[O>>2]|0,c[(c[f>>2]|0)+496>>2]|0)|0;i=Q;return h|0}function vg(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();r=v;t=v+8|0;c[t>>2]=0;q=h&1;a:do if(!f){c[r>>2]=46865;c[r+4>>2]=10788;Zc(11,13600,r);k=11}else{a[e+23>>0]=1;h=c[e+40>>2]|0;do if(!h){p=e+204|0;h=c[p>>2]|0;h=Yb[c[8744+132>>2]&63](c[h+40>>2]|0,f,d[h+29>>0]&3)|0;if(!h){m=c[p>>2]|0;if((a[m+29>>0]|0)!=2){l=m+8|0;h=c[l>>2]|0;b:do if(!h)u=11;else{while(1){if((b[h+26>>1]|0)==0?(b[h+24>>1]&4)==0:0)break;h=c[h+36>>2]|0;if(!h){u=11;break b}}c[l>>2]=h;o=h;u=14}while(0);c:do if((u|0)==11?(c[l>>2]=0,n=c[m+4>>2]|0,(n|0)!=0):0){h=n;do{if(!(b[h+26>>1]|0)){o=h;u=14;break c}h=c[h+36>>2]|0}while((h|0)!=0)}while(0);if((u|0)==14?(k=nc[c[m+32>>2]&127](c[m+36>>2]|0,o)|0,!((k|0)==0|(k|0)==5)):0)break;k=Yb[c[8744+132>>2]&63](c[m+40>>2]|0,f,2)|0;if(!k){k=7;break}}else k=0}else k=h;m=el(c[p>>2]|0,f,k)|0;c[g>>2]=m;if(!m)k=7;else{h=m+16|0;k=(q|0)!=0;if(!((c[h>>2]|0)==0|k)){k=e+184|0;c[k>>2]=(c[k>>2]|0)+1;k=0;break a}c[h>>2]=e;do if((f|0)>=0?(s=e+152|0,(((c[2514]|0)/(c[s>>2]|0)|0)+1|0)!=(f|0)):0){if(((a[e+15>>0]|0)==0?!((c[e+24>>2]|0)>>>0<f>>>0|k):0)?(c[c[e+60>>2]>>2]|0)!=0:0){k=c[e+208>>2]|0;if(!k)k=0;else{k=gl(k,f,t)|0;if(k)break;k=c[t>>2]|0}s=e+188|0;c[s>>2]=(c[s>>2]|0)+1;k=hl(m,k)|0;if(!k){k=0;break a}else break}if((c[e+156>>2]|0)>>>0<f>>>0)k=13;else{if(k){k=c[3164]|0;if(k)jc[k&3]();if((c[e+28>>2]|0)>>>0>=f>>>0)Zh(c[e+56>>2]|0,f)|0;fl(e,f)|0;k=c[3166]|0;if(k)jc[k&3]()}bw(c[m+4>>2]|0,0,c[s>>2]|0)|0;k=0;break a}}else u=21;while(0);if((u|0)==21){c[r>>2]=46945;c[r+4>>2]=10788;Zc(11,13600,r);k=11}il(m)}}else k=h;while(0);if((c[e+120>>2]|0)==0?(c[(c[e+204>>2]|0)+12>>2]|0)==0:0)jl(e);c[g>>2]=0}while(0);i=v;return k|0}function wg(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();v=w;t=b+4|0;p=c[(c[t>>2]|0)+4>>2]|0;u=c[p>>2]|0;s=b+24|0;o=c[(c[(c[s>>2]|0)+4>>2]|0)+32>>2]|0;p=c[p+32>>2]|0;q=(o|0)<(p|0)?o:p;r=((o|0)<0)<<31>>31;m=ow(o|0,r|0,d|0,0)|0;n=C;if((o|0)==(p|0))b=0;else b=(a[u+15>>0]|0)==0?0:8;a:do if((b|0)==0&(o|0)>0){d=$v(m|0,n|0,o|0,r|0)|0;l=((p|0)<0)<<31>>31;k=(f|0)==0;h=C;b=p;while(1){c[v>>2]=0;f=mw(d|0,h|0,p|0,l|0)|0;if((f|0)!=(((c[2514]|0)>>>0)/(b>>>0)|0|0)){b=vg(u,f+1|0,v,0)|0;g=c[v>>2]|0;if(!b){b=Cg(g)|0;if(!b){x=nw(d|0,h|0,o|0,r|0)|0;f=c[g+4>>2]|0;b=nw(d|0,h|0,p|0,l|0)|0;gw(f+b|0,e+x|0,q|0)|0;a[c[g+8>>2]>>0]=0;if((d|0)==0&(h|0)==0&k){x=c[(c[(c[s>>2]|0)+4>>2]|0)+44>>2]|0;a[f+(b+28)>>0]=x>>>24;a[f+(b+29)>>0]=x>>>16;a[f+(b+30)>>0]=x>>>8;a[f+(b+31)>>0]=x;b=0}else b=0}}if(g)xg(g)}else b=0;d=fw(d|0,h|0,p|0,l|0)|0;f=C;if(!((b|0)==0&((f|0)<(n|0)|(f|0)==(n|0)&d>>>0<m>>>0)))break a;h=f;b=c[(c[(c[t>>2]|0)+4>>2]|0)+32>>2]|0}}while(0);i=w;return b|0}function xg(a){a=a|0;var d=0,e=0,f=0;d=c[a+16>>2]|0;if(!(b[a+24>>1]&64)){kl(a);a=c[d+120>>2]|0}else{f=d+120|0;e=(c[f>>2]|0)+-1|0;c[f>>2]=e;f=d+136|0;c[a+12>>2]=c[f>>2];c[f>>2]=a;a=e}if((a|0)==0?(c[(c[d+204>>2]|0)+12>>2]|0)==0:0)jl(d);return}function yg(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=d+44|0;if(!(c[i>>2]|0)){j=c[d+12>>2]|0;k=c[j+56>>2]|0;f=Cg(c[j+68>>2]|0)|0;if(!f){f=k+0|0;g=44680|0;h=f+16|0;do{a[f>>0]=a[g>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));f=d+32|0;a[k+16>>0]=(c[f>>2]|0)>>>8;a[k+17>>0]=(c[f>>2]|0)>>>16;a[k+18>>0]=1;a[k+19>>0]=1;a[k+20>>0]=(c[f>>2]|0)-(c[d+36>>2]|0);a[k+21>>0]=64;a[k+22>>0]=32;a[k+23>>0]=32;f=k+24|0;h=f+76|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(h|0));ll(j,13);f=d+22|0;b[f>>1]=e[f>>1]|0|2;f=a[d+17>>0]|0;a[k+52>>0]=0;a[k+53>>0]=0;a[k+54>>0]=0;a[k+55>>0]=f;f=a[d+18>>0]|0;a[k+64>>0]=0;a[k+65>>0]=0;a[k+66>>0]=0;a[k+67>>0]=f;c[i>>2]=1;a[k+31>>0]=1;f=0}}else f=0;return f|0}function zg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[b+4>>2]|0;c[g+4>>2]=c[b>>2];b=c[g+12>>2]|0;f=c[b+56>>2]|0;b=Cg(c[b+68>>2]|0)|0;if((b|0)==0?(i=d<<2,a[f+(i+36)>>0]=e>>>24,a[f+(i+37)>>0]=e>>>16,a[f+(i+38)>>0]=e>>>8,h=e&255,a[f+(i+39)>>0]=h,(d|0)==7):0)a[g+18>>0]=h;return b|0}function Ag(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[h>>2]|0;d=(b|0)>0;if(d){e=c[a+16>>2]|0;g=0;do{f=c[e+(g<<4)+4>>2]|0;if(f)c[(c[f+4>>2]|0)+4>>2]=c[f>>2];g=g+1|0}while((g|0)!=(b|0));if(d){g=a+16|0;f=0;do{d=c[(c[g>>2]|0)+(f<<4)+12>>2]|0;if(d){ml(d);b=c[h>>2]|0}f=f+1|0}while((f|0)<(b|0))}}b=a+24|0;c[b>>2]=c[b>>2]&-3;nl(a);ol(a);return}function Bg(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[d+4>>2]|0;k=h+22|0;g=e[k>>1]|0;b[k>>1]=(f|0)==1?g|16:g&65519;g=ug(d,0)|0;do if(!g){h=h+12|0;i=c[(c[h>>2]|0)+56>>2]|0;j=i+18|0;g=a[j>>0]|0;f=f&255;if(g<<24>>24==f<<24>>24?(a[i+19>>0]|0)==g<<24>>24:0){g=0;break}g=ug(d,2)|0;if(!g){g=Cg(c[(c[h>>2]|0)+68>>2]|0)|0;if(!g){a[j>>0]=f;a[i+19>>0]=f;g=0}}}while(0);b[k>>1]=e[k>>1]&65519;return g|0}function Cg(a){a=a|0;var b=0;b=c[a+16>>2]|0;if((c[b+148>>2]|0)>>>0>(c[b+152>>2]|0)>>>0)a=pl(a)|0;else a=ql(a)|0;return a|0}function Dg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=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;y=i;i=i+32|0;if((i|0)>=(j|0))ba();s=y+16|0;t=y;k=y+12|0;m=y+8|0;g=c[b+40>>2]|0;a:do if(!g){x=b+16|0;if((d[x>>0]|0)>=3){b:do if(!(a[b+15>>0]|0)){if(c[b+208>>2]|0){l=b+204|0;h=rl(c[l>>2]|0)|0;c[m>>2]=0;if(!h){g=vg(b,1,m,0)|0;h=c[m>>2]|0;c[h+12>>2]=0;if(h){k=h;w=9}}else{k=0;w=9}if((w|0)==9){g=sl(b,h,c[b+24>>2]|0,1)|0;if(k)xg(k)}if(g)break a;h=c[l>>2]|0;g=c[h>>2]|0;if(!g)break;while(1){tl(g);g=c[h>>2]|0;if(!g)break b}}l=b+18|0;if((a[l>>0]|0)==0?(c[b+24>>2]|0)!=0:0){g=vg(b,1,k,0)|0;k=c[k>>2]|0;if(!g){g=Cg(k)|0;if(!g){ul(k);a[l>>0]=1;g=0}}if(k)xg(k);if(g)break a}if(((e|0)!=0?(a[b+5>>0]|0)!=4:0)?(v=b+64|0,r=c[v>>2]|0,(c[r>>2]|0)!=0):0){a[b+19>>0]=1;k=a[e>>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>>0]|0}while(k<<24>>24!=0)}q=b+72|0;g=q;k=c[g>>2]|0;g=c[g+4>>2]|0;if(!(a[b+8>>0]|0))m=g;else{if((k|0)==0&(g|0)==0){k=0;g=0}else{g=fw(k|0,g|0,-1,-1)|0;k=c[b+148>>2]|0;g=mw(g|0,C|0,k|0,0)|0;g=fw(g|0,C|0,1,0)|0;k=ow(g|0,C|0,k|0,0)|0;g=C}m=q;c[m>>2]=k;c[m+4>>2]=g;m=g}g=((c[2514]|0)/(c[b+152>>2]|0)|0)+1|0;a[s>>0]=g>>>24;n=s+1|0;a[n>>0]=g>>>16;o=s+2|0;a[o>>0]=g>>>8;p=s+3|0;a[p>>0]=g;g=pc[c[(c[r>>2]|0)+12>>2]&31](r,s,4,k,m)|0;if(g)break a;g=c[v>>2]|0;m=fw(k|0,m|0,4,0)|0;k=C;g=pc[c[(c[g>>2]|0)+12>>2]&31](g,e,h,m,k)|0;if(g)break a;g=c[v>>2]|0;m=fw(m|0,k|0,h|0,((h|0)<0)<<31>>31|0)|0;k=C;a[s>>0]=h>>>24;a[n>>0]=h>>>16;a[o>>0]=h>>>8;a[p>>0]=h;g=pc[c[(c[g>>2]|0)+12>>2]&31](g,s,4,m,k)|0;if(g)break a;r=c[v>>2]|0;g=fw(m|0,k|0,4,0)|0;a[s>>0]=l>>>24;a[n>>0]=l>>>16;a[o>>0]=l>>>8;a[p>>0]=l;g=pc[c[(c[r>>2]|0)+12>>2]&31](r,s,4,g,C)|0;if(g)break a;r=c[v>>2]|0;g=fw(m|0,k|0,8,0)|0;g=pc[c[(c[r>>2]|0)+12>>2]&31](r,14808,8,g,C)|0;if(g)break a;r=h+20|0;g=q;r=fw(c[g>>2]|0,c[g+4>>2]|0,r|0,((r|0)<0)<<31>>31|0)|0;g=q;c[g>>2]=r;c[g+4>>2]=C;g=c[v>>2]|0;g=nc[c[(c[g>>2]|0)+24>>2]&127](g,t)|0;if(g)break a;r=t;p=c[r+4>>2]|0;g=q;h=c[g>>2]|0;g=c[g+4>>2]|0;if((p|0)>(g|0)|((p|0)==(g|0)?(c[r>>2]|0)>>>0>h>>>0:0)?(u=c[v>>2]|0,u=Yb[c[(c[u>>2]|0)+16>>2]&63](u,h,g)|0,(u|0)!=0):0){g=u;break a}}g=vl(b,0)|0;if(g)break a;h=b+204|0;g=wl(b,rl(c[h>>2]|0)|0)|0;if(g)break a;g=c[h>>2]|0;h=c[g>>2]|0;if(h)do{tl(h);h=c[g>>2]|0}while((h|0)!=0);h=c[b+24>>2]|0;if(h>>>0>(c[b+32>>2]|0)>>>0){g=xl(b,h-((h|0)==(((c[2514]|0)/(c[b+152>>2]|0)|0)+1|0)&1)|0)|0;if(!(g|f))w=46}else if(!f)w=46;else break;if((w|0)==46)g=Eg(b,e)|0;if(g)break a}else{g=c[b+88>>2]|0;if(g)do{c[g+16>>2]=1;g=c[g+44>>2]|0}while((g|0)!=0)}while(0);if(!(c[b+208>>2]|0)){a[x>>0]=5;g=0}else g=0}else g=0}while(0);i=y;return g|0}function Eg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;g=b+60|0;h=c[g>>2]|0;i=c[h>>2]|0;if(!((i|0)!=0?(f=Yb[c[i+40>>2]&63](h,21,e)|0,!((f|0)==0|(f|0)==12)):0))if(!(a[b+7>>0]|0)){f=c[g>>2]|0;f=nc[c[(c[f>>2]|0)+20>>2]&127](f,d[b+11>>0]|0)|0}else f=0;return f|0}function Fg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=a[b+8>>0]|0;do if(!(g<<24>>24))f=0;else{k=c[b+4>>2]|0;c[k+4>>2]=c[b>>2];if(g<<24>>24==2){h=c[k>>2]|0;i=h+40|0;g=c[i>>2]|0;do if(!g){g=h+16|0;if(((a[g>>0]|0)==2?(a[h+4>>0]|0)!=0:0)?(a[h+5>>0]|0)==1:0){a[g>>0]=1;break}f=h+100|0;c[f>>2]=(c[f>>2]|0)+1;f=yl(h,d[h+19>>0]|0,1)|0;h=f&255;if((h|0)==10|(h|0)==13){c[i>>2]=f;a[g>>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>>2]=(c[f>>2]|0)+-1;a[k+20>>0]=1;f=k+60|0;ai(c[f>>2]|0);c[f>>2]=0}zl(b);f=0}while(0);return f|0}function Gg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();h=q;a:do if((a[b+8>>0]|0)==2){p=c[b+4>>2]|0;c[p+4>>2]=c[b>>2];do if(a[p+17>>0]|0){o=c[p>>2]|0;f=p+8|0;b=c[f>>2]|0;if(b)do{n=b+72|0;a[n>>0]=d[n>>0]&251;b=c[b+8>>2]|0}while((b|0)!=0);if(!(a[p+18>>0]|0)){n=p+44|0;g=c[n>>2]|0;if(g>>>0<2)b=0;else{b=g+-2|0;b=b-((b>>>0)%(((((c[p+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;b=((b+1|0)==(((c[2514]|0)>>>0)/((c[p+32>>2]|0)>>>0)|0|0)?3:2)+b|0}if((b|0)!=(g|0)?(g|0)!=((((c[2514]|0)>>>0)/((c[p+32>>2]|0)>>>0)|0)+1|0):0){k=p+12|0;l=c[(c[k>>2]|0)+56>>2]|0;l=d[l+37>>0]<<16|d[l+36>>0]<<24|d[l+38>>0]<<8|d[l+39>>0];m=Al(p,g,l)|0;if(m>>>0>g>>>0){c[h>>2]=56396;c[h+4>>2]=10788;Zc(11,13600,h);b=11;break a}b:do if(m>>>0<g>>>0){b=c[f>>2]|0;c:do if(b){while(1){if(b)break;b=c[2]|0;if(!b)break c}b=Bl(b,0,0)|0;if(b){f=0;break b}}while(0);do{b=Cl(p,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=Cg(c[(c[k>>2]|0)+68>>2]|0)|0;l=(c[(c[k>>2]|0)+56>>2]|0)+32|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;l=(c[(c[k>>2]|0)+56>>2]|0)+36|0;a[l>>0]=0;a[l+1>>0]=0;a[l+2>>0]=0;a[l+3>>0]=0;l=c[(c[k>>2]|0)+56>>2]|0;a[l+28>>0]=m>>>24;a[l+29>>0]=m>>>16;a[l+30>>0]=m>>>8;a[l+31>>0]=m;a[p+19>>0]=1;c[n>>2]=m}if(!b)break;Dl(o)|0;break a}c[h>>2]=56391;c[h+4>>2]=10788;Zc(11,13600,h);b=11;break a}}while(0);b=c[p>>2]|0;if(a[p+19>>0]|0)c[b+24>>2]=c[p+44>>2];b=Dg(b,e,0)|0}else b=0;while(0);i=q;return b|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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();h=m;l=c[b+4>>2]|0;c[l+4>>2]=c[b>>2];a:do if(!e){e=c[l+8>>2]|0;if(e){while(1){if(e)break;e=c[2]|0;if(!e)break a}e=Bl(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)El(b,e,g)|0;if((a[b+8>>0]|0)==2){Dl(c[l>>2]|0)|0;if(!($k(l,1,h,0)|0)){e=c[h>>2]|0;g=c[e+56>>2]|0;g=d[g+29>>0]<<16|d[g+28>>0]<<24|d[g+30>>0]<<8|d[g+31>>0];if(!g)g=c[(c[l>>2]|0)+24>>2]|0;c[l+44>>2]=g;if(e)xg(c[e+68>>2]|0)}a[l+20>>0]=1;g=l+60|0;ai(c[g>>2]|0);c[g>>2]=0}zl(b);i=m;return}function Ig(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>>2]|0)==1691352191?(Fl(d)|0)==0:0){Gl(d,0);Hl(d);i=d+20|0;k=d+16|0;e=c[k>>2]|0;if((c[i>>2]|0)>0){h=0;do{g=e+(h<<4)+4|0;f=c[g>>2]|0;if((f|0)!=0?(Il(f),c[g>>2]=0,(h|0)!=1):0)c[e+(h<<4)+12>>2]=0;h=h+1|0;e=c[k>>2]|0}while((h|0)<(c[i>>2]|0))}e=c[e+28>>2]|0;if(e)ml(e);nl(d);ol(d);h=0;do{e=c[d+(h<<2)+336>>2]|0;if(e)do{g=e;e=c[e+28>>2]|0;if(g)do{Jl(d,g);f=g;g=c[g+8>>2]|0;ig(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+436>>2]|0;if(e)do{h=c[e+8>>2]|0;g=c[h+16>>2]|0;if(g)_b[g&31](c[h+8>>2]|0);g=c[h+36>>2]|0;if(g)_b[g&31](c[h+28>>2]|0);g=c[h+56>>2]|0;if(g)_b[g&31](c[h+48>>2]|0);ig(d,h);e=c[e>>2]|0}while((e|0)!=0);Kl(f);h=d+308|0;e=c[d+316>>2]|0;if(e)do{g=c[e+8>>2]|0;f=c[g+12>>2]|0;if(f)_b[f&31](c[g+8>>2]|0);ig(d,g);e=c[e>>2]|0}while((e|0)!=0);Kl(h);c[d+52>>2]=0;f=d+236|0;e=c[f>>2]|0;do if(e){g=e+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(e);e=c[f>>2]|0;break}}else e=0;while(0);Ih(e);g=d+168|0;if((c[g>>2]|0)>0){e=d+172|0;f=0;do{h=c[d>>2]|0;fc[c[h+52>>2]&15](h,c[(c[e>>2]|0)+(f<<2)>>2]|0);f=f+1|0}while((f|0)<(c[g>>2]|0))}else e=d+172|0;ig(d,c[e>>2]|0);c[j>>2]=-1254786768;ig(d,c[(c[k>>2]|0)+28>>2]|0);c[j>>2]=-1623446221;if(a[d+251>>0]|0)Sc(c[d+276>>2]|0);Sc(d)}return}function Jg(a){a=a|0;var b=0;b=c[a+40>>2]|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Lg(a)|0;else b=0;Ll(a);return b|0}function Kg(b,d){b=b|0;d=d|0;do if(b)if((a[b+65>>0]|0)!=0|(d|0)==3082){Ml(b);b=7;break}else{b=c[b+56>>2]&d;break}else b=d&255;while(0);return b|0}function Lg(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))ba();e=g;f=c[a>>2]|0;Nl(a)|0;if((c[a+76>>2]|0)>-1){dh(a)|0;d=a+44|0;ig(f,c[d>>2]|0);c[d>>2]=0;d=a+88|0;e=b[d>>1]|0;if(e&16)b[d>>1]=e|8}else{d=c[a+80>>2]|0;if((d|0)!=0?(b[a+88>>1]&8)!=0:0){h=a+44|0;k=c[h>>2]|0;c[e>>2]=k;qg(f,d,(k|0)!=0?10344:0,e);ig(f,c[h>>2]|0);c[h>>2]=0}}d=a+44|0;ig(c[a>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+20>>2]=0;d=a+136|0;c[d>>2]=0;c[d+4>>2]=0;c[a+40>>2]=649915045;i=g;return c[f+56>>2]&c[a+80>>2]|0}function Mg(a){a=a|0;var d=0;if(b[a+8>>1]&9312)rg(a);d=a+24|0;if(c[d>>2]|0){ig(c[a+32>>2]|0,c[a+20>>2]|0);c[d>>2]=0}c[a+16>>2]=0;return}function Ng(a){a=a|0;var d=0,f=0,g=0;d=a+8|0;if(b[d>>1]&16384){f=a+12|0;g=(c[a>>2]|0)+(c[f>>2]|0)|0;if(!(ah(a,(g|0)<1?1:g,1)|0)){bw((c[a+16>>2]|0)+(c[f>>2]|0)|0,0,c[a>>2]|0)|0;c[f>>2]=(c[f>>2]|0)+(c[a>>2]|0);b[d>>1]=(e[d>>1]|0)&48639;d=0}else d=7}else d=0;return d|0}function Og(d,e){d=d|0;e=e|0;var f=0;do if(d){f=b[d+8>>1]|0;if((f&514)==514?(a[d+10>>0]|0)==e<<24>>24:0){f=c[d+16>>2]|0;break}if(!(f&1))f=Ol(d,e)|0;else f=0}else f=0;while(0);return f|0}function Pg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=a+8|0;f=b[e>>1]|0;if(!(f&16))if(!(Og(a,d)|0))e=0;else{f=b[e>>1]|0;g=4}else g=4;if((g|0)==4){e=c[a+12>>2]|0;if(f&16384)e=(c[a>>2]|0)+e|0}return e|0}function Qg(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))ba();g=k;f=e[b+8>>1]|0;do if(!(f&8)){if(f&4){f=b;d=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0);break}if(!(f&18))d=0.0;else{h[g>>3]=0.0;Pl(c[b+16>>2]|0,g,c[b+12>>2]|0,a[b+10>>0]|0)|0;d=+h[g>>3]}}else d=+h[b>>3];while(0);i=k;return +d}function Rg(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))ba();g=k;f=e[b+8>>1]|0;do if(!(f&4)){if(!(f&8)){if(!(f&18)){b=0;f=0;break}f=g;c[f>>2]=0;c[f+4>>2]=0;Ql(c[b+16>>2]|0,g,c[b+12>>2]|0,a[b+10>>0]|0)|0;f=g;b=c[f+4>>2]|0;f=c[f>>2]|0;break}d=+h[b>>3];if(!(d<=-9223372036854775808.0))if(!(d>=9223372036854775808.0)){b=+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((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+4>>2]|0;f=c[f>>2]|0}while(0);C=b;i=k;return f|0}function Sg(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((Tg(c[b>>2]|0,d,e,f,g)|0)==18){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}return}function Tg(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,n=0,o=0,p=0,q=0,r=0;a:do if(!f){j=d+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;j=0;break}else{rg(d);j=0;break}}else{o=d+32|0;j=c[o>>2]|0;if(!j)r=1e9;else r=c[j+88>>2]|0;q=h<<24>>24==0;n=q?16:2;if((g|0)<0){b:do if(h<<24>>24!=1)if((r|0)<0)k=0;else{g=0;while(1){k=g+2|0;if(!((a[f+(g|1)>>0]|a[f+g>>0])<<24>>24)){k=g;break b}if((k|0)>(r|0))break;else g=k}}else{k=f;while(1)if(!(a[k>>0]|0))break;else k=k+1|0;k=k-f&1073741823;k=(k|0)>(r|0)?r+1|0:k}while(0);p=k;m=(n&65535|512)&65535}else{p=g;m=n}do if((i|0)==(-1|0)){if(!(m&512))j=p;else j=p+(h<<24>>24==1?1:2)|0;if((p|0)>(r|0)){j=18;break a}if(bh(d,(j|0)>32?j:32)|0){j=7;break a}gw(c[d+16>>2]|0,f|0,j|0)|0;n=d+8|0;j=m}else{g=(i|0)==75;l=d+8|0;if(!((b[l>>1]&9312)==0?(c[d+24>>2]|0)==0:0))Mg(d);c[d+16>>2]=f;if(!g){c[d+36>>2]=i;n=l;j=(m&65535|((i|0)==0?2048:1024))&65535;break}c[d+20>>2]=f;j=c[o>>2]|0;do if(!j)j=hc[c[8744+48>>2]&127](f)|0;else{if((c[j+276>>2]|0)>>>0<=f>>>0?(c[j+280>>2]|0)>>>0>f>>>0:0){j=e[j+248>>1]|0;break}j=hc[c[8744+48>>2]&127](f)|0}while(0);c[d+24>>2]=j;n=l;j=m}while(0);m=d+12|0;c[m>>2]=p;b[n>>1]=j;f=q?1:h;l=d+10|0;a[l>>0]=f;do if(f<<24>>24!=1&(p|0)>1){g=d+16|0;k=c[g>>2]|0;j=a[k>>0]|0;k=a[k+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(Rl(d)|0){j=7;break a}f=(c[m>>2]|0)+-2|0;c[m>>2]=f;i=c[g>>2]|0;hw(i|0,i+2|0,f|0)|0;a[(c[g>>2]|0)+(c[m>>2]|0)>>0]=0;a[(c[g>>2]|0)+((c[m>>2]|0)+1)>>0]=0;b[n>>1]=e[n>>1]|512;a[l>>0]=j}while(0);j=(p|0)>(r|0)?18:0}while(0);return j|0}function Ug(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))ba();e=g+8|0;f=g;d=a+8|0;if(!(b[d>>1]&9312))b[d>>1]=1;else rg(a);h[e>>3]=c;h[f>>3]=+h[e>>3];if(!(+h[e>>3]!=+h[f>>3])){h[a>>3]=c;b[d>>1]=8}i=g;return}function Vg(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=a+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else rg(a);c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4;return}function Wg(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=a+8|0;if(b[f>>1]&9312)rg(a);c[a+0>>2]=c[d+0>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];h=e[f>>1]|0;g=h&64511;b[f>>1]=g;if((h&18|0)!=0?(b[d+8>>1]&2048)==0:0){b[f>>1]=g|4096;f=Rl(a)|0}else f=0;return f|0}function Xg(d,e){d=d|0;e=e|0;var f=0;f=d+8|0;if(!((b[f>>1]&9312)==0?(c[d+24>>2]|0)==0:0))Mg(d);b[f>>1]=16400;c[d+12>>2]=0;c[d>>2]=(e|0)<0?0:e;a[d+10>>0]=1;c[d+16>>2]=0;return}function Yg(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=d;if(a)if(!(c[a>>2]|0)){Zc(21,47360,b);a=1}else a=0;else{Zc(21,47320,b);a=1}i=d;return a|0}function Zg(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))ba();e=f;if((c[a>>2]|0)>1?(d=c[a+72>>2]|0,(d|0)!=0):0)d=nc[d&127](a,b)|0;else{d=nc[c[a+64>>2]&127](a,e)|0;g=+h[e>>3]*864.0e5;a=+N(g)>=1.0?(g>0.0?~~+$(+M(g/4294967296.0),4294967295.0)>>>0:~~+Z((g-+(~~g>>>0))/4294967296.0)>>>0):0;c[b>>2]=~~g>>>0;c[b+4>>2]=a}i=f;return d|0}function _g(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+32>>2]|0;g=j+65|0;h=a[g>>0]|0;if(c[j+520>>2]|0){e=d;while(1){if(c[e+24>>2]|0)ig(j,c[e+20>>2]|0);e=e+40|0;if(e>>>0>=i>>>0)break a}}do{e=d+8|0;if(!(b[e>>1]&9312)){f=d+24|0;if(c[f>>2]|0){ig(j,c[d+20>>2]|0);c[f>>2]=0}}else Mg(d);b[e>>1]=128;d=d+40|0}while(d>>>0<i>>>0);a[g>>0]=h}while(0);return}function $g(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))ba();g=f;c[g>>2]=e;e=Sk(b,d,g)|0;ig(b,c[a>>2]|0);c[a>>2]=e;i=f;return}function ah(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,o=0;l=a+24|0;g=c[l>>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>>2]|0,j=a+20|0,(i|0)==(c[j>>2]|0)):0){g=Sl(c[a+32>>2]|0,i,k,((k|0)<0)<<31>>31)|0;c[j>>2]=g;c[h>>2]=g;f=0}else{g=a+32|0;if(d){d=a+20|0;ig(c[g>>2]|0,c[d>>2]|0)}else d=a+20|0;g=ih(c[g>>2]|0,k,((k|0)<0)<<31>>31)|0;c[d>>2]=g}if(!g){f=a+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else rg(a);c[a+16>>2]=0;c[l>>2]=0;f=7;break}d=c[a+32>>2]|0;do if(!d)d=hc[c[8744+48>>2]&127](g)|0;else{if((c[d+276>>2]|0)>>>0<=g>>>0?(c[d+280>>2]|0)>>>0>g>>>0:0){d=e[d+248>>1]|0;break}d=hc[c[8744+48>>2]&127](g)|0}while(0);c[l>>2]=d;o=21}else o=21;while(0);if((o|0)==21){if(((f|0)!=0?(m=c[a+16>>2]|0,(m|0)!=0):0)?(n=c[a+20>>2]|0,(m|0)!=(n|0)):0)gw(n|0,m|0,c[a+12>>2]|0)|0;d=a+8|0;f=b[d>>1]|0;if(!(f&1024))g=a+16|0;else{g=a+16|0;_b[c[a+36>>2]&31](c[g>>2]|0);f=b[d>>1]|0}c[g>>2]=c[a+20>>2];b[d>>1]=f&58367;f=0}return f|0}function bh(a,d){a=a|0;d=d|0;if((c[a+24>>2]|0)<(d|0))a=ah(a,d,0)|0;else{c[a+16>>2]=c[a+20>>2];a=a+8|0;b[a>>1]=(e[a>>1]|0)&13;a=0}return a|0}
[all...]
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp8583 MachO::source_version_command Sd = Obj->getSourceVersionCommand(Command); local
8584 PrintSourceVersionCommand(Sd);
/external/tlsdate/ca-roots/
H A Dtlsdate-ca-roots.conf3903 Sd+pZgvMPMZ4fKecHePOjlO+Bd5gD2vlGts/4+EhySnB8esHnFIbAURRPHsl18Tl
/external/webrtc/data/voice_engine/stereo_rtp_files/
H A Dtoggling_stereo_g729_pt18_pt125.rtp235 ��eI��X������'=�� ��I��X)b��/�DK� ��I��X)�����ҎO"� ��UI��X=��C�/Rx U,���I��X)���V?p���6����I��X �AW��Fs�@���EI��X�a#�#�q�J���I��Xi�af�-�T����I��Xy����c�4J�^���5I��X�&�+q�vh���I��XM��2R�n�r����I��X����.V��|���%I��Xn�g��������uI��X��a��+}������I��Xi�f�[ׄx����I��X��_��W.�����eI��X)_�"�������I��X �h; �������I��X��lGASn��€��UI��X��e H�]�̀��I��X ����oZ^ր���I��Xy�iTrǵ�J�� ��EI��Xi��l�tl:N�!��I��Xn7�'p�n�:�"���I��X�R�`\�R��#��5I��X�r�l�!nͪ�$��I��X�cs��Sd���%���I��X���e�0�)�p�&��%I��X��VQ�P ���&�'��uI��Xp�_XȀ��0�(���I��X����F�F~<:�)��I��X@�|��~W�:D�*��eI��X�b����N�+��I��X���6i���( X�},��I��XRR�7�(H�FRR�7�(H�F( b�}-��UI��XH k�6��"�DH k�6��"�D( l�}.��I��X�*�`$���P�*�`$���P( v�}/���I��X�����I>Ł����I>�( ��}0��EI��X���g���|���g���|��( ��}1��I��X�f���e0��f���e0�( ��}2���I��X�uj �c7��uj �c7�( ��}3��5I��X��gs�2v��F��gs�2v��F( ��}4��I��X�c釸C d��c釸C d�( ��}5���I��X�{��o%z��{��o%z�( ��}6��%I��X�P�[�ε`i˳P�[�ε`i�( ƀ}7��uI��X�r��rr�`�r��rr�`( Ѐ}8���I��X0v� �&B(t0v� �&B(t( ڀ}9��I��X�r���o8�r���o8( �}:��eI��X(@�P���ֺ(@�P���ֺ( �};��I��X�h�� 3��h�� 3�( �}<��I��X��]J� (���]J� (�( �}=��UI��X�ꤧ)K��ꤧ)K� �}>��I��XNN *�}?��I��X�H�H4>H�}@��I��X4�4�R\f�}A��uI��X�D�Dpz��}B��eI��X(D(D�����}C���I��X7�7���������$.8BLV`jt~������������
1202 � r�z�I��XpV�'(������ s�z�I��Xp�K�UQ�r�� t�{5I��X�/��NV,h��(� u�{�I��X=BⷥK�)��2� v�{�I��X�>�����.�<� w�|%I��X�vܜT����F� x�|uI��Xr�����\�P� y�|�I��X8R`M�5�AN�Z� z�}I��X8Sb��Anݾ�d� {�}eI��X8ta�=�rf�=�n� |�}�I��X a���1< ��x� }�~I��Xb��QT�͂� ~�~UI��XM}���9��z͌� �~�I��X!��Y~����͖� ��~�I��XE� a"��X͠� ��EI��Xa[�0�s!�ͪ� ���I��XM�eՙ��Ju�ʹ� ���I��XM�'2�Qr耗;� ���5I��X&�昦R/�� �Ȁ ����I��X!��"�ko��A�Ҁ ����I��X!Ӧ pR2�q�܀ ���%I��XE�%��rdk��� ���uI��XM3e���-���� ����I��XE?���j��M�� ���I��XE��C�n89s�� ���eI��X/���q[6y�� ����I��XeڥYҗr$;��� ���I��XE�&^r� g�"� ���UI��X%���pK42d�,� ����I��XE����z�e���6� ����I��X%��k���9@�@� ���EI��X%���,�m�zj�J� ����I��X7�fˀ\M�m�T� ����I��X%g�ș�d�?�^� ���5I��X3��5��5c�h� ����I��X32���|�|���r� ����I��X�Sd�͝z}��|� ���%I��X8�߀5�ms�Ά� ���uI��Xi���"W�;0ΐ� ����I��X�Qa8'���Κ� ���I��X�Kd��7����Τ� ���eI��X�|R�~�����ή� ����I��X�r����C*2�θ� ���I��XpcՂ�W!���€ ���UI��X��hsF����̀ ����I��X����}֗
1663 �}&Y�ҕI��X�z�~���Gv�z�~���Gv( �}&Z���I��Xp{ZmhA �p{ZmhA �( �}&[��5I��X`C�`�jM)L�`C�`�jM)L�( (�}&\�ӅI��Xp����E�p����E�( 2�}&]���I��X`�~�iK���`�~�iK���( <�}&^��%I��Xx�nj�T��\x�nj�T��\( F�}&_��uI��X���ÚMR���ÚMR( P�}&`���I��XH��|^�xCXH��|^�xCX( Z�}&a��I��X`��K����`��K����( d�}&b��eI��X`�ky�~M�~`�ky�~M�~( n�}&c�յI��XR��<�M���R��<�M���( x�}&d��I��X���eO��~����eO��~�( ��}&e��UI��X�}\�K^D�}\�K^D( ��}&f�֥I��X����36�����36�( ��}&g���I��XN�$Ⱓ����N�$Ⱓ����( ��}&h��EI��X�.H� �^1��.H� �^1�( ��}&i�וI��X�Sd������Sd�����( ��}&j���I��XxҴ��V��xҴ��V����}&k��5I��XHH��܀}&l��%I��X�F�F����}&m��I��X�D�D",6@JT^hr�&n���I��X��|�������������&0:DNXblv��������������&o��UI��X%D  *4>H�&p��I��X�DR\�&q��%I��X�+F�v���f�&r��uI��X�|v�:C:Pp�&s���I��X�!����`8�z�&t��I��X�'��G�V��&u��eI��X�2���X��o-��&v��I��X��� �@��)���&w��I��Xl�i�N� c��&x��UI��XmZ�v/> ���&y��I��Xe�Z� W�"���&z���I��X��Z�t���~��&{��EI��X����{I� ��ʀ&|��I��X%��]������Ԁ&}���I��XE����]���ހ&~��5I��X�ٙv�p��&��I��X�8��5I1��s�&����I��X� \�1q�j��&���%I��X���� ��g���&���uI��X��ٓbIt�H�&����I��X\���.UM�&���I��X�S�w�t1�5$�&���eI��X�����y.�&���I��X3b��a�1�8�&���I��X�\�o1(ÃB�&���UI��X<��Ne)1�B�L�&����I��Xf4
1705 �>(  H�}&���I��Xy�]�;Q9sy�]�;Q9s(  R�}&���I��X=�d���A�=�d���A�(  \�}&��%I��Xw���"w���"(  f�}&��uI��X <ޱ���: <ޱ���:(  p�}&���I��X'�n ��Gz�'�n ��Gz�(  z�}&��I��X �ߜ7�O|I� �ߜ7�O|I�(  ��}&��eI��X �` .T�J �` .T�J(  ��}&���I��X ��p��� ��p���(  ��}&��I��X ���VZ�P�7 ���VZ�P�7(  ��}&��UI��X�᧾(,@K��᧾(,@K�(  ��}&���I��X3#�•����E3#�•����E(  ��}&���I��XG8��to��G8��to��(  ��}&��EI��XW��:����9W��:����9(  ʀ}&���I��X_�!8p�/�_�!8p�/�(  Ԁ}&���I��X37����y{�37����y{�(  ހ}&��5I��X>6�`1��=>6�`1��=(  �}&���I��X3��o1�=Y>3��o1�=Y>(  �}&���I��Xe'��;�p�� e'��;�p�� (  �}&��%I��X7�ani2'��7�ani2'��( !�}'�uI��Xe0������se0������s!�'��I��Xep"h��F'O!�'�I��XuK�m31�L�!$�'�eI��Xesb��i!.�'��I��Xu{��=�R���!8�'�I��Xl:���-W��!B�'�UI��Xe�#�AO1A>!L�'��I��Xy�$2ݥS���!V�'��I��X8�f�l�!`�' �EI��X~Sd���k!j�'
2415 �( ���}2 ��I��X>�i����`О>�i����`О( ���}2!��eI��X>Z�B�:��Q>Z�B�:��Q( ���}2"���I��X3 lD���dY�3 lD���dY�( ���}2#��I��X(��4�KP�Y(��4�KP�Y( �€}2$��UI��XN�t���N�t���( �̀}2%���I��X�����>k�������>k��( �ր}2&���I��X���Z�����Z��( ���}2'��EI��X�ko���}�A�ko���}�A( ��}2(���I��X.�_��!˞.�_��!˞( ��}2)���I��X}�?�.B}�?�.B( ���}2*��5I��Xe.�,Z���Ne.�,Z���N( ��}2+���I��Xa�Mm _a�Mm _( ��}2,���I��X}�1�)3H}�1�)3H( ��}2-��%I��X�P%�=�:�S�P%�=�:�S( �&�}2.��uI��X�f� ������f� �����( �0�}2/���I��X�(o(�k��(o(�k�( �:�}20��I��X�:g�ĈK�6�:g�ĈK�6( �D�}21��eI��X����ށ\����ށ\( �N�}22���I��X@���"J6��@���"J6��( �X�}23��I��Xp�fN=�}a�p�fN=�}a�( �b�}24��UI��Xx{|*�Y��~x{|*�Y��~( �l�}25���I��Xx��Y[Sd�x��Y[Sd�( �v�}26���I��Xx�����x��������27��EI��X�0}бn�.�����28���I��Xz��bHz{D���29���I��Xq��,s�P�����2:��5I��X��j�������2;���I��Xc��4ŷ��E���2<���I��X}c:�XR,����2=��%I��X~�b�� m;F��ƀ2>��uI��Xe���;+z�Ѐ2?���I��X�b� ��@H��ڀ2@��I��Xe�"�;���F���2A��eI��X~��R�����2B���I��Xmc���+r{I��2C��I��X ������j�F��2D��UI��Xy�g|o+rj�q� �2E�¥I��Xeth�|8y !>��2F���I��X5�����*� �2G��EI��X~��8�2t]���*�2H�ÕI��Xe�,�"~~}Tr�4�2I���I��X�p5��Ҽ,��>�2J��5I��X; ����Pƿ~�H�2K�ąI��X~ qVy��~�R�2L���I��X}1��Z�^�\�2M��%I��X5��
3313 �>����I��XBB���6S�>����I��X'�SS(S2�>����I��X]�S<SFSP�>����I��X'�SZSdSn�>����I��X�DSxS�S��>����I��X��S�S�S�S��>����I��X7S�S�S�S�S�S��>����I��X��S�TTTT"T,T6�>����I��X�DT@TJTTT^ThTrT|T��>���uI��X�DT�T�T�T�T�T�T�T�T�T�T�T�UUUU&U0U:UDUNUXUbUlUvU�U�U�U�U�U�U�U�UЀ}>����I��X$�$�U�U�U�}>����I��X����U�VV �}>��¥I��X66VV V*V4V>VHVR�}>����I��X4D4D( V\�}>���%I��X5b�^��D�-5b�^��D�-( Vf�}>���uI��X�sH���F���sH���F��( Vp�}>����I��X��,�i�8�i���,�i�8�i�( Vz�}>���I��X�/��]��(y�/��]��(y( V��}>���eI��X0��#?���0��#?���( V��}>��ƵI��X:�Q>8QT�:l:�Q>8QT�:l( V��}>���I��X
/external/v8/test/mjsunit/asm/poppler/
H A Dpoppler.js[all...]

Completed in 1327 milliseconds