From 4380e9ef5423613d25317300b4f4a7c07ba80a37 Mon Sep 17 00:00:00 2001 From: ActionBot Date: Wed, 9 Dec 2020 08:28:55 +0000 Subject: [PATCH] Beep boop. Wasm encabulator updated. --- wasm/basque.js | 2 +- wasm/basque.wasm | Bin 1087077 -> 1087106 bytes wasm/basque.wasm.js | 18 +++++++++--------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wasm/basque.js b/wasm/basque.js index d18cae9..809251c 100644 --- a/wasm/basque.js +++ b/wasm/basque.js @@ -12,7 +12,7 @@ start:4821840,end:4848871,audio:0},{filename:"/assets/data/map_layout_3.txt",sta start:5011653,end:5269380,audio:0},{filename:"/assets/icons/basque_logo.ico",start:5269380,end:5372210,audio:0},{filename:"/assets/icons/basque_logo.png",start:5372210,end:5382853,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128@2x.png",start:5382853,end:5435241,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128.png",start:5435241,end:5455211,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64@2x.png",start:5455211,end:5475181,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_8x8@2x.png", start:5475181,end:5478088,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32.png",start:5478088,end:5482290,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_1024x1024.png",start:5482290,end:5710079,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256@2x.png",start:5710079,end:5830450,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32@2x.png",start:5830450,end:5838630,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512@2x.png",start:5838630, end:6066419,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16@2x.png",start:6066419,end:6070621,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64.png",start:6070621,end:6078801,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512.png",start:6078801,end:6199172,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256.png",start:6199172,end:6251560,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16.png",start:6251560,end:6254467,audio:0}], -remote_package_size:6254467,package_uuid:"545855eb-ebb8-4a5a-a684-3b613fce7177"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a} +remote_package_size:6254467,package_uuid:"a859d6b3-bfd2-4894-b93d-30c91d410902"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a} var ma,na,oa,pa,qa,ra; if(ia){if(ka=ha?require("path").dirname(ka)+"/":__dirname+"/",ma=function(a,b){qa||(qa=require("fs"));ra||(ra=require("path"));a=ra.normalize(a);return qa.readFileSync(a,b?null:"utf8")},oa=function(a){a=ma(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1hxM@m-U0Lw+f>$^q0b%z|i%8 z{BM$zV3MV14Biq_^paACNm%LxPiavI)VbFeEdpq9Km2&Xc-ZZpyR+U8_P8xgXJxqP zy4F?$7u|*JyNxjH4(sxr2EFe1A7;hFRbCbcsc=Gh_3H2zvMB$Q1Xofg|^L$kc zq~YBiEszn0msSozz7luCNhX7RA})$-kzgOc6hjK(qL>p)e(;7Hd`>D^?t6&_ z8B$b&Gc@R5Q3pl1AVyM2i4ksycYjU(%Eany@^K7&CRjPq8KNI2kCWht@aZRs1TlMn zXaGle-XLi~Gh~QNw!l&T+C35vM@9KPVx2*osafXVL`eR;H9}$@lRY)%?phfir@&v8*a~|KSMU?^JzG>?4u;XSzE4$5J3GsCeXl6Ur-x_5brIZ3M^!j1tf#5|rhlg=)49qaISoi>gI&%KlI>o4r-+$o z9F=g^VPVD@^eA-ze|M_USCobsCv1Z+_<;`N9{56JbsCd1aHy45_69?|AHZ_Q!4-~U z^A`n?ESEqxKR2Bnz!85G&3sJI$jg)2a%7lS3iC6F=R*hi8L`At()L!cce=OMTe;ez<=3EM=?JycWh z0{rMbB2$t}8T5!jZ&?e%uA`G>n-^+}{!*?26z$Gw@@Wcg{$8})3vQ7dBX>|Z%gqV$ z2T;X}6XeMV?gV)XToX4EUouhDGI8B^2O{IJQlRC5TU|ly1PZ zu4-ivFurex(uo^N{QiJqw4o|iv?@TMQGC#@T*ldp*=H1!;r)vRox|!^yd`UjFal6Hw^8bc~msrd$>@r?6*GjlA zyM4?(W3c;{N#+%Iv8#_w9q??L`(xFRv2d7=iB#W2SQ4prp(diE)b$!h+tSpx%ve2f zwptMjLNt}Bc0e2`S7SUF;8Jlv2{ETay)Xg(CSE?IPL~l2n$%t1h}M(pkOlEUpZa(f zbc)dsOZNsiE{--@zRR+GPJ;*v)^4;vRUPV->7VmXre%0S;0aMXu}gNOohKwhWv#Ci zn)vsdv^Nm4UD|$VI=or)^F|5!Z_{2Si0@Qsy@}W(>V_5zld7;s1Tok>jhyQnEY1xL z7TgogRmjNy#Z;p3)i<^AKzP+nZ4YuVZCDG|YblmG+wVNBAo>CR;g7rq^wtk+BXFJn z>6R9TmB()VROQ1Td7o7V@}v=MAMT@jBiiCv_>|9iLGOT1MR2h0?T_Y^Sp5|=7scua z1MuAfU)NvtgX0{Q>Qi}TfxhzDZ;`xMZvy<=7`PG$ZTxD9z6ILE@>1O!5La)|9R#uF q6CD+Qf}h%~$HFnrD)jkqlD|`-=lh^~o=qpnfTK6)=lF1izUDs;R{l%? delta 2185 zcmZuy3s6+o8Q$;Qv-iT@-Mu$F+q9UN8p!gOwO2qf8iHxmvtafVpZzi4Tq@A6;-~P`t`=9Uo z?~?7Qw`)^(PO*7@Zc79AR@ss?obz_SFbufjF#{*ib4K6_T=qN+jHhQzkncGo=sY?+ zalvzO)Vnb_1lZ?k>UEu5)gk#*;0&FK4)6TX=?p8po#C(l6m{M{nQQ&f>1oam#(D4g z>=%b(hv#ogMq|5YNI`$Imb)!>=q~Q|o9)ufTF*NLBPsN!f+^uUxQoXyzev>umv#1k zlH81voQ1upOLXDO`gTg9Qa601h0)mVT~_!$(Byr*bXEj5c&Dwe3&BROv+<0E3!ZC- zYH-0@(7Mrzo8H)CK_hU=oBZ9xWORwrB)o<$c`*r#6?BU!sc1#Fj2MFij`dVv8Wm8)Vr-2 znX%L~@Gk%tOCRDcs%8FP(dNXCh7oLf7+Pd`7&{SwQ}W%HST?X$%E2sIr4~SHy*HL?2%;;SYQU<&+VG{Hckl@EpdwKGu7`+t)o_>yV)=9$0?E6FZFn3 zRUn#V^*H5)a2yi#xylZLw`VFNaY+7grlRR+l{NE}!v-$NS)VE&GQ#d9N+s}>Tv(`l z1MCvBK2uH+j4V+{{^uySB`XVU{$WA{OWJXgNQZ-%$fMaUW;lV(!zWrn|k= zG&jloJidDpuF3u_yvKnC8F-SLZ-ut`GTnSUGhVVIiR2bTnmEmY>mtGNuv z#Mx2mHX89K32J~1Ux>1?>PJL3zce+(io?=1PA#$GD^WW^eMEzA6fI|;><57as`{pYKn8#pQ|3e*T3m9jv6qR@@h6{%Na=_*## ztM>+ComlX-x(4fH@D+8Ejd1o|b%06~FMFU4v!O~HdZG@aDL;Oq1|h7P>uyUVQP>^% z8eimMF^pT?7TsJcqn@hILBfgrr}~K!Ol0S24okR;Cg)?jmEgSG^;})a?Z>&HQv>># z$7PnHm8du_yZtpIicakrqy_tt(D*A_6-cw|M`$NG>cs~M+G*6wv7@y%j?==PqJ4~8 zq9{chMBq))hTy8ak)maR#55vRbApn_j?tR@u5vnz_LZ3TrY%iQ7^~%2X+vzt(2RUE zi-z4=4w{Q}snOR@>e9dbL*n1smuy?v1}+W^w#}7|gKcpE*i!T;*(M()>(lz;hRm9- z|2CAUc=FeJikn*YcQ!|L5mKKFXYFq`X!pZoODXJ=>au7(jdB~u4Uz4gwg*};2x6eGd9tgi1>M>FH3&|MG=q$lL z@voJ}WP%)zu@(DvuQEdXNrIu3#&|~fiz?%EDlL?eH;hEsZ&9N-W^p0S0a1C=hyX<6 zO=A<$Eccet-`vJ2>TbR7q~$^HwXLG!f4mm*9=~PW!8PH%ZNyS#_wD~z8F1&v-XAK% z#f&?~7Fs#ByT+VE>=eK0XSQLdboV#?L&?lcG+!n2_lf5AFuI!fH_h=OI3ObCnL|ZG zzPa#+-}3D_W+P~N6u2CYgW_qixf%zhr^NIJVdZi&k`Xq4Zjz{5#hq1VB3eYha&ra_ di^6g; diff --git a/wasm/basque.wasm.js b/wasm/basque.wasm.js index 6a3c75d..a9cbed5 100644 --- a/wasm/basque.wasm.js +++ b/wasm/basque.wasm.js @@ -32,37 +32,37 @@ WebAssembly = { // EMSCRIPTEN_START_ASM function instantiate(yP){function oP(zP){zP.set=(function(AP,BP){this[AP]=BP});zP.get=(function(AP){return this[AP]});return zP}var a;var b=new ArrayBuffer(16);var c=new Int32Array(b);var d=new Float32Array(b);var e=new Float64Array(b);function pP(CP){return c[CP]}function qP(CP,DP){c[CP]=DP}function rP(){return e[0]}function sP(DP){e[0]=DP}function tP(){return d[2]}function uP(DP){d[2]=DP}function vP(EP){var f=EP.a;var g=f.buffer;f.grow=xP;var h=new Int8Array(g);var i=new Int16Array(g);var j=new Int32Array(g);var k=new Uint8Array(g);var l=new Uint16Array(g);var m=new Uint32Array(g);var n=new Float32Array(g);var o=new Float64Array(g);var p=Math.imul;var q=Math.fround;var r=Math.abs;var s=Math.clz32;var t=Math.min;var u=Math.max;var v=Math.floor;var w=Math.ceil;var x=Math.trunc;var y=Math.sqrt;var z=EP.abort;var A=NaN;var B=Infinity;var C=EP.b;var D=EP.c;var E=EP.d;var F=EP.e;var G=EP.f;var H=EP.g;var I=EP.h;var J=EP.i;var K=EP.j;var L=EP.k;var M=EP.l;var N=EP.m;var O=EP.n;var P=EP.o;var Q=EP.p;var R=EP.q;var S=EP.r;var T=EP.s;var U=EP.t;var V=EP.u;var W=EP.v;var X=EP.w;var Y=EP.x;var Z=EP.y;var _=EP.z;var $=EP.A;var aa=EP.B;var ba=EP.C;var ca=EP.D;var da=EP.E;var ea=EP.F;var fa=EP.G;var ga=EP.H;var ha=EP.I;var ia=EP.J;var ja=EP.K;var ka=EP.L;var la=EP.M;var ma=EP.N;var na=EP.O;var oa=EP.P;var pa=EP.Q;var qa=EP.R;var ra=EP.S;var sa=EP.T;var ta=EP.U;var ua=EP.V;var va=EP.W;var wa=EP.X;var xa=EP.Y;var ya=EP.Z;var za=EP._;var Aa=EP.$;var Ba=EP.aa;var Ca=EP.ba;var Da=EP.ca;var Ea=EP.da;var Fa=EP.ea;var Ga=EP.fa;var Ha=EP.ga;var Ia=EP.ha;var Ja=EP.ia;var Ka=EP.ja;var La=EP.ka;var Ma=EP.la;var Na=EP.ma;var Oa=EP.na;var Pa=EP.oa;var Qa=EP.pa;var Ra=EP.qa;var Sa=EP.ra;var Ta=EP.sa;var Ua=EP.ta;var Va=EP.ua;var Wa=EP.va;var Xa=EP.wa;var Ya=EP.xa;var Za=EP.ya;var _a=EP.za;var $a=EP.Aa;var ab=EP.Ba;var bb=EP.Ca;var cb=EP.Da;var db=EP.Ea;var eb=EP.Fa;var fb=EP.Ga;var gb=EP.Ha;var hb=EP.Ia;var ib=EP.Ja;var jb=EP.Ka;var kb=EP.La;var lb=EP.Ma;var mb=EP.Na;var nb=EP.Oa;var ob=EP.Pa;var pb=EP.Qa;var qb=EP.Ra;var rb=EP.Sa;var sb=EP.Ta;var tb=EP.Ua;var ub=EP.Va;var vb=EP.Wa;var wb=EP.Xa;var xb=EP.Ya;var yb=EP.Za;var zb=EP._a;var Ab=EP.$a;var Bb=EP.ab;var Cb=EP.bb;var Db=EP.cb;var Eb=EP.db;var Fb=EP.eb;var Gb=EP.fb;var Hb=EP.gb;var Ib=EP.hb;var Jb=EP.ib;var Kb=EP.jb;var Lb=EP.kb;var Mb=EP.lb;var Nb=EP.mb;var Ob=EP.nb;var Pb=EP.ob;var Qb=EP.pb;var Rb=EP.qb;var Sb=EP.rb;var Tb=EP.sb;var Ub=EP.tb;var Vb=EP.ub;var Wb=EP.vb;var Xb=EP.wb;var Yb=EP.xb;var Zb=EP.yb;var _b=EP.zb;var $b=EP.Ab;var ac=EP.Bb;var bc=EP.Cb;var cc=EP.Db;var dc=EP.Eb;var ec=EP.Fb;var fc=EP.Gb;var gc=EP.Hb;var hc=EP.Ib;var ic=EP.Jb;var jc=EP.Kb;var kc=EP.Lb;var lc=EP.Mb;var mc=EP.Nb;var nc=EP.Ob;var oc=EP.Pb;var pc=EP.Qb;var qc=EP.Rb;var rc=EP.Sb;var sc=EP.Tb;var tc=EP.Ub;var uc=EP.Vb;var vc=EP.Wb;var wc=EP.Xb;var xc=EP.Yb;var yc=EP.Zb;var zc=EP._b;var Ac=EP.$b;var Bc=EP.ac;var Cc=EP.bc;var Dc=EP.cc;var Ec=EP.dc;var Fc=EP.ec;var Gc=EP.fc;var Hc=EP.gc;var Ic=EP.hc;var Jc=EP.ic;var Kc=EP.jc;var Lc=EP.kc;var Mc=EP.lc;var Nc=EP.mc;var Oc=EP.nc;var Pc=EP.oc;var Qc=EP.pc;var Rc=EP.qc;var Sc=EP.rc;var Tc=EP.sc;var Uc=EP.tc;var Vc=EP.uc;var Wc=EP.vc;var Xc=EP.wc;var Yc=EP.xc;var Zc=EP.yc;var _c=EP.zc;var $c=EP.Ac;var ad=EP.Bc;var bd=EP.Cc;var cd=EP.Dc;var dd=EP.Ec;var ed=EP.Fc;var fd=EP.Gc;var gd=EP.Hc;var hd=EP.Ic;var id=EP.Jc;var jd=EP.Kc;var kd=EP.Lc;var ld=EP.Mc;var md=EP.Nc;var nd=EP.Oc;var od=EP.Pc;var pd=EP.Qc;var qd=EP.Rc;var rd=EP.Sc;var sd=EP.Tc;var td=EP.Uc;var ud=EP.Vc;var vd=EP.Wc;var wd=EP.Xc;var xd=EP.Yc;var yd=EP.Zc;var zd=EP._c;var Ad=EP.$c;var Bd=EP.ad;var Cd=EP.bd;var Dd=EP.cd;var Ed=EP.dd;var Fd=EP.ed;var Gd=EP.fd;var Hd=EP.gd;var Id=EP.hd;var Jd=EP.id;var Kd=EP.jd;var Ld=EP.kd;var Md=EP.ld;var Nd=EP.md;var Od=EP.nd;var Pd=EP.od;var Qd=EP.pd;var Rd=EP.qd;var Sd=EP.rd;var Td=EP.sd;var Ud=EP.td;var Vd=EP.ud;var Wd=EP.vd;var Xd=EP.wd;var Yd=EP.xd;var Zd=EP.yd;var _d=EP.zd;var $d=EP.Ad;var ae=EP.Bd;var be=EP.Cd;var ce=EP.Dd;var de=EP.Ed;var ee=EP.Fd;var fe=EP.Gd;var ge=EP.Hd;var he=EP.Id;var ie=EP.Jd;var je=EP.Kd;var ke=EP.Ld;var le=EP.Md;var me=EP.Nd;var ne=EP.Od;var oe=268704464;var pe=0; // EMSCRIPTEN_START_FUNCS -function aI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,n=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,I=0,J=0,K=0;r=oe+ -64|0;oe=r;j[a+256>>2]=0;b=a;a:{if(l[a+216>>1]!=l[a+218>>1]){e=931;g=932;d=929;c=930;break a}e=935;g=936;d=933;c=934}j[b+604>>2]=d;j[a+600>>2]=c;j[a+596>>2]=e;j[a+592>>2]=g;uh(a);b=j[a+312>>2];if((b&255)>>>0<=7){j[a+568>>2]=j[(b<<24>>22)+201240>>2]}C=a+180|0;D=a+144|0;v=a+72|0;t=a+36|0;w=a+108|0;b=j[a+360>>2];b:{c:{d:{e:{while(1){o=j[a+356>>2];f=k[o+b|0];h[a+368|0]=f;g=h[f+199776|0];j[a+372>>2]=g;f:{if((f&254)!=64){e=j[a+364>>2];break f}e=j[a+364>>2];c=b+1|0;if((e|0)<=(c|0)){e=131;break d}g=2-p(k[c+o|0],g)|0;j[a+372>>2]=g}if((b+g|0)>(e|0)){e=131;break d}c=k[f+200032|0];d=c>>>4|0;b=j[a+16>>2]-d|0;j[a+28>>2]=b;if((b|0)<=-1){if(k[a+561|0]){e=129;break d}if(d){Ee(j[a+24>>2],0,c>>>2&60)}j[a+28>>2]=0;b=0}q=(c&15)+b|0;j[a+32>>2]=q;e=130;c=j[a+20>>2];if((c|0)<(q|0)){break d}j[a+12>>2]=0;h[a+376|0]=1;n=j[a+24>>2];d=n+(b<<2)|0;e=135;g:{h:{i:{j:{k:{l:{m:{n:{switch(f|0){case 0:case 1:case 2:case 3:case 4:case 5:b=f<<14&16384;c=b^16384;if(f>>>0<=3){i[a+296>>1]=c;i[a+294>>1]=b;i[a+292>>1]=c;i[a+290>>1]=b}if(!(f&2)){i[a+300>>1]=c;i[a+298>>1]=b}uh(a);break m;case 6:case 7:o:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break o}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;p:{q:{if((d^b+d)>16383){break q}d=c>>31;if((d+c^d)>16383){break q}if(!(b|c)){break p}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+294>>1]=H;G=a,H=De(c,b),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;uh(a);break m;case 8:case 9:r:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break r}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;s:{t:{if((d^b+d)>16383){break t}d=c>>31;if((d+c^d)>16383){break t}if(!(b|c)){break s}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+298>>1]=H;G=a,H=De(c,b),i[G+300>>1]=H}uh(a);break m;case 10:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;u:{v:{if((c+f^f)>16383){break v}f=b>>31;if((f+b^f)>16383){break v}if(!(b|c)){break u}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+294>>1]=H;G=a,H=De(b,c),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;uh(a);break m;case 11:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;w:{x:{if((c+f^f)>16383){break x}f=b>>31;if((f+b^f)>16383){break x}if(!(b|c)){break w}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+298>>1]=H;G=a,H=De(b,c),i[G+300>>1]=H}uh(a);break m;case 13:j[d>>2]=i[a+298>>1];j[d+4>>2]=i[a+300>>1];break m;case 14:b=l[a+294>>1]|l[a+296>>1]<<16;i[a+298>>1]=b;i[a+300>>1]=b>>>16;uh(a);break m;case 15:y:{c=l[d+12>>1];b=l[a+44>>1];z:{if(c>>>0>=b>>>0){break z}e=l[d+16>>1];if(e>>>0>=b>>>0){break z}f=l[d+4>>1];b=l[a+80>>1];if(f>>>0>=b>>>0){break z}n=l[d+8>>1];if(n>>>0>=b>>>0){break z}b=l[d>>1];if(b>>>0>1]){break y}}if(!k[a+561|0]){break m}e=134;break d}o=j[a+52>>2];z=c<<3;c=o+z|0;d=j[c+4>>2];B=e<<3;g=B+o|0;q=j[g+4>>2];o=j[a+88>>2];e=f<<3;s=o+e|0;f=j[s>>2];E=n<<3;o=E+o|0;u=j[o>>2];n=j[s+4>>2];s=j[o+4>>2];o=j[c>>2];c=j[g>>2];g=b+j[a+132>>2]|0;h[g|0]=k[g|0]|24;g=u-f|0;y=q-d|0;A=0-y|0;q=s-n|0;s=c-o|0;c=Ne(g,A,64)+Ne(q,s,64)|0;u=c>>31;x=Ne(g,s,64)+Ne(q,y,64)|0;y=x>>31;if((p(c+u^u,19)|0)>(y^y+x)){d=Ne(o-f|0,A,64)+Ne(d-n|0,s,64)|0;f=Ne(d,g,c);c=Ne(d,q,c);b=j[a+124>>2]+(b<<3)|0;d=e+j[a+88>>2]|0;j[b>>2]=f+j[d>>2];j[b+4>>2]=c+j[d+4>>2];break m}b=j[a+124>>2]+(b<<3)|0;c=j[a+52>>2];d=c+z|0;f=j[a+88>>2];n=f+E|0;e=e+f|0;c=c+B|0;j[b>>2]=((j[d>>2]+(j[n>>2]+j[e>>2]|0)|0)+j[c>>2]|0)/4;j[b+4>>2]=(j[c+4>>2]+(j[d+4>>2]+(j[n+4>>2]+j[e+4>>2]|0)|0)|0)/4;break m;case 16:i[a+284>>1]=j[d>>2];break m;case 17:i[a+286>>1]=j[d>>2];break m;case 18:i[a+288>>1]=j[d>>2];break m;case 19:b=C;A:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break A}}c=j[b+4>>2];j[t>>2]=j[b>>2];j[t+4>>2]=c;j[t+32>>2]=j[b+32>>2];c=j[b+28>>2];j[t+24>>2]=j[b+24>>2];j[t+28>>2]=c;c=j[b+20>>2];j[t+16>>2]=j[b+16>>2];j[t+20>>2]=c;c=j[b+12>>2];j[t+8>>2]=j[b+8>>2];j[t+12>>2]=c;i[a+344>>1]=j[d>>2];break m;case 20:b=C;B:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break B}}c=j[b+4>>2];j[v>>2]=j[b>>2];j[v+4>>2]=c;j[v+32>>2]=j[b+32>>2];c=j[b+28>>2];j[v+24>>2]=j[b+24>>2];j[v+28>>2]=c;c=j[b+20>>2];j[v+16>>2]=j[b+16>>2];j[v+20>>2]=c;c=j[b+12>>2];j[v+8>>2]=j[b+8>>2];j[v+12>>2]=c;i[a+346>>1]=j[d>>2];break m;case 21:b=C;C:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break C}}c=j[b+4>>2];j[w>>2]=j[b>>2];j[w+4>>2]=c;j[w+32>>2]=j[b+32>>2];c=j[b+28>>2];j[w+24>>2]=j[b+24>>2];j[w+28>>2]=c;c=j[b+20>>2];j[w+16>>2]=j[b+16>>2];j[w+20>>2]=c;c=j[b+12>>2];j[w+8>>2]=j[b+8>>2];j[w+12>>2]=c;i[a+348>>1]=j[d>>2];break m;case 22:b=C;D:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break D}}c=j[b+4>>2];o=j[b>>2];j[t>>2]=o;j[t+4>>2]=c;g=j[b+32>>2];j[t+32>>2]=g;e=j[b+28>>2];q=j[b+24>>2];j[t+24>>2]=q;j[t+28>>2]=e;f=j[b+20>>2];s=j[b+16>>2];j[t+16>>2]=s;j[t+20>>2]=f;n=j[b+12>>2];b=j[b+8>>2];j[t+8>>2]=b;j[t+12>>2]=n;j[v+32>>2]=g;j[v+24>>2]=q;j[v+28>>2]=e;j[v+16>>2]=s;j[v+20>>2]=f;j[v+8>>2]=b;j[v+12>>2]=n;j[v>>2]=o;j[v+4>>2]=c;j[w+32>>2]=j[t+32>>2];b=j[t+28>>2];j[w+24>>2]=j[t+24>>2];j[w+28>>2]=b;b=j[t+20>>2];j[w+16>>2]=j[t+16>>2];j[w+20>>2]=b;b=j[t+12>>2];j[w+8>>2]=j[t+8>>2];j[w+12>>2]=b;b=j[t+4>>2];j[w>>2]=j[t>>2];j[w+4>>2]=b;b=l[d>>1];i[a+348>>1]=b;i[a+346>>1]=b;i[a+344>>1]=b;break m;case 23:b=j[d>>2];if((b|0)<0){e=132;break d}j[a+304>>2]=b;break m;case 24:j[a+568>>2]=937;j[a+312>>2]=1;break m;case 25:j[a+568>>2]=938;j[a+312>>2]=0;break m;case 26:j[a+308>>2]=j[d>>2];break m;case 27:b=j[a+360>>2];c=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(c|0)){e=131;break d}e=k[b+o|0];h[a+368|0]=e;g=h[e+199776|0];j[a+372>>2]=g;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((c|0)<(b+g|0)){e=131;break d}E:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break m;case 1:d=d-1|0;break;default:break E}}if(d){continue}break}break m;case 28:c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;F:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break F}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 29:j[a+320>>2]=j[d>>2];break m;case 30:j[a+324>>2]=j[d>>2];break m;case 31:G=a,H=ye(j[d>>2],j[a+260>>2]),j[G+328>>2]=H;break m;case 32:j[d+4>>2]=j[d>>2];break m;case 35:G=d,H=nP(j[d>>2],j[d+4>>2]),j[G>>2]=H;j[d+4>>2]=pe;break m;case 36:j[d>>2]=j[a+16>>2];break m;case 37:c=d;e=j[d>>2];G:{if(!((b|0)>=(e|0)?(e|0)>=1:0)){b=0;if(!k[a+561|0]){break G}j[a+12>>2]=134;j[d>>2]=0;break m}b=j[(b-e<<2)+n>>2]}j[c>>2]=b;break m;case 38:c=j[d>>2];if(!((b|0)>=(c|0)?(c|0)>=1:0)){if(!k[a+561|0]){break m}e=134;break d}b=(b-c<<2)+n|0;d=j[b>>2];zg(b,b+4|0,(c<<2)-4|0);j[(j[a+24>>2]+(j[a+28>>2]<<2)|0)-4>>2]=d;break m;case 39:H:{b=l[d>>1];if(b>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break H}}if(!k[a+561|0]){break m}e=134;break d}f=b;d=j[a+52>>2]+(c<<3)|0;b=j[a+88>>2]+(b<<3)|0;b=(qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0)/2|0;qe[j[a+584>>2]](a,v,f,b);qe[j[a+584>>2]](a,t,c,0-b|0);break m;case 40:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=40)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;I:{if(b>>>0>=3){j[a+12>>2]=132;break I}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break I}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break I}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 41:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}b=b+j[a+60>>2]|0;c=b;d=k[b|0];b=l[a+298>>1]?-9:-1;h[c|0]=d&(l[a+300>>1]?b&239:b);break m;case 42:e=134;f=j[d+4>>2];b=j[a+420>>2]+1|0;if(f>>>0>=b>>>0){break d}c=j[a+404>>2];n=j[a+396>>2];J:{if((n|0)==(b|0)){b=c+p(f,24)|0;if((f|0)==j[b+12>>2]){break J}}o=c+p(n,24)|0;b=c;K:{if((n|0)<1){break K}while(1){if((f|0)==j[b+12>>2]){break K}b=b+24|0;if(o>>>0>b>>>0){continue}break}}if((b|0)==(o|0)){break d}}if(!k[b+16|0]){break d}e=130;f=j[a+428>>2];if((f|0)>=j[a+432>>2]){break d}if(j[d>>2]<1){break m}c=j[a+436>>2]+(f<<4)|0;j[c>>2]=j[a+352>>2];j[c+4>>2]=j[a+360>>2]+1;d=j[d>>2];j[c+12>>2]=b;j[c+8>>2]=d;j[a+428>>2]=f+1;d=j[b>>2];c=d-1|0;L:{if(c>>>0>=3){j[a+12>>2]=132;break L}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break L}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break L}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 43:e=134;d=j[d>>2];b=j[a+420>>2]+1|0;if(d>>>0>=b>>>0){break d}c=j[a+404>>2];f=j[a+396>>2];M:{if((f|0)==(b|0)){b=c+p(d,24)|0;if((d|0)==j[b+12>>2]){break M}}n=c+p(f,24)|0;b=c;N:{if((f|0)<1){break N}while(1){if((d|0)==j[b+12>>2]){break N}b=b+24|0;if(n>>>0>b>>>0){continue}break}}if((b|0)==(n|0)){break d}}if(!k[b+16|0]){break d}e=130;d=j[a+428>>2];if((d|0)>=j[a+432>>2]){break d}c=j[a+436>>2]+(d<<4)|0;j[c>>2]=j[a+352>>2];e=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=e+1;j[a+428>>2]=d+1;d=j[b>>2];c=d-1|0;O:{if(c>>>0>=3){j[a+12>>2]=132;break O}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break O}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break O}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 44:b=j[a+404>>2];e=j[a+396>>2];f=b+p(e,24)|0;c=j[d>>2];P:{if((e|0)<1){break P}while(1){if((c|0)==j[b+12>>2]){break P}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){if(e>>>0>=m[a+400>>2]){e=140;break d}j[a+396>>2]=e+1}if(c>>>0>65535){e=140;break d}d=j[a+352>>2];j[b+12>>2]=c;j[b>>2]=d;d=j[a+360>>2];j[b+20>>2]=0;i[b+16>>1]=1;j[b+4>>2]=d+1;if(c>>>0>m[a+420>>2]){j[a+420>>2]=c}f=j[a+364>>2];while(1){d=d+g|0;j[a+360>>2]=d;if((d|0)>=(f|0)){e=131;break d}c=k[d+o|0];h[a+368|0]=c;g=h[c+199776|0];j[a+372>>2]=g;if((c&254)==64){e=d+1|0;if((e|0)>=(f|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((f|0)<(d+g|0)){e=131;break d}e=137;Q:{switch(c-44|0){case 1:j[b+8>>2]=d;break m;case 0:break d;default:break Q}}if((c|0)!=137){continue}break}break d;case 34:j[a+32>>2]=0;break k;case 33:case 89:case 126:case 127:j[a+16>>2]=q;break j;case 12:j[d>>2]=i[a+294>>1];j[d+4>>2]=i[a+296>>1];break m;default:if(f>>>0>=224){R:{S:{f=l[d>>1];T:{if(f>>>0>=l[a+80>>1]){break T}b=j[d+4>>2];c=b+1|0;if(c>>>0>=j[a+380>>2]+1>>>0){break T}if(l[a+284>>1]>1]){break S}}if(!k[a+561|0]){break R}j[a+12>>2]=134;break R}q=j[a+320>>2];o=j[a+308>>2];g=0;if(c){g=qe[j[a+596>>2]](a,b)|0}b=j[a+328>>2];d=g-b|0;c=d>>31;b=j[a+324>>2]>(c^c+d)?(g|0)>-1?b:0-b|0:g;c=0-b|0;U:{if(l[a+346>>1]){break U}d=i[a+298>>1];c=d>>31;n=c^c+d;c=b>>31;g=c+b^c;s=g>>>16|0;u=p(n,s);e=u<<16|8192;y=f<<3;c=y+j[a+84>>2]|0;z=j[a+48>>2]+(l[a+284>>1]<<3)|0;A=e;x=n;n=g&65535;e=e+p(x,n)|0;e=(u>>>16|0)+(A>>>0>e>>>0)<<18|e>>>14;j[c>>2]=j[z>>2]+((b^d)>-1?e:0-e|0);d=i[a+300>>1];e=d>>31;g=e^d+e;s=p(g,s);e=s<<16|8192;x=e;e=e+p(g,n)|0;e=(s>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;j[c+4>>2]=j[z+4>>2]+((b^d)>-1?e:0-e|0);e=j[c+4>>2];d=y+j[a+88>>2]|0;j[d>>2]=j[c>>2];j[d+4>>2]=e;c=0-b|0}d=f<<3;e=d+j[a+84>>2]|0;n=j[a+48>>2]+(l[a+284>>1]<<3)|0;n=qe[j[a+576>>2]](a,j[e>>2]-j[n>>2]|0,j[e+4>>2]-j[n+4>>2]|0)|0;d=d+j[a+88>>2]|0;e=j[a+52>>2]+(l[a+284>>1]<<3)|0;g=qe[j[a+572>>2]](a,j[d>>2]-j[e>>2]|0,j[d+4>>2]-j[e+4>>2]|0)|0;b=(b^n)<0?k[a+316|0]?c:b:b;c=k[a+368|0];V:{if(c&4){d=a;if(l[a+344>>1]==l[a+346>>1]){s=b-n|0;e=s>>31;b=(q|0)<(e^e+s)?n:b}e=qe[j[a+568>>2]](d,b,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break V}d=j[(((c&3)<<2)+a|0)+264>>2];if((b|0)>=0){b=b+d|0;e=(b|0)>0?b:0;break V}b=b-d|0;e=b>>31&b}W:{if(!(c&8)){break W}if((n|0)>=0){e=(e|0)<(o|0)?o:e;break W}b=0-o|0;e=(b|0)<(e|0)?b:e}qe[j[a+584>>2]](a,v,f,e-g|0)}i[a+286>>1]=l[a+284>>1];if(k[a+368|0]&16){i[a+284>>1]=f}i[a+288>>1]=f;break m}if(f>>>0>=192){X:{Y:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Y}}if(!k[a+561|0]){break X}j[a+12>>2]=134;break X}f=j[a+308>>2];Z:{if(!(l[a+346>>1]?l[a+344>>1]:0)){d=j[a+84>>2]+(b<<3)|0;c=j[a+48>>2]+(c<<3)|0;c=qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0;break Z}c=j[a+56>>2]+(c<<3)|0;d=j[a+92>>2]+(b<<3)|0;e=j[a+220>>2];if((e|0)==j[a+224>>2]){c=ye(qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]);break Z}c=(H=a,I=ye(j[d>>2]-j[c>>2]|0,e),J=ye(j[d+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,I|0,J|0)|0)}d=j[a+328>>2];n=c-d|0;e=n>>31;d=j[a+324>>2]>(e^e+n)?(c|0)>-1?d:0-d|0:c;c=k[a+368|0];_:{if(c&4){e=qe[j[a+568>>2]](a,d,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break _}e=j[(((c&3)<<2)+a|0)+264>>2];if((d|0)>=0){e=d+e|0;e=(e|0)>0?e:0;break _}e=d-e|0;e=e>>31&e}$:{if(!(c&8)){break $}if((d|0)>=0){e=(e|0)<(f|0)?f:e;break $}c=0-f|0;e=(c|0)<(e|0)?c:e}c=j[a+88>>2]+(b<<3)|0;d=j[a+52>>2]+(l[a+284>>1]<<3)|0;J=a,I=v,H=b,K=e-(qe[j[a+572>>2]](a,j[c>>2]-j[d>>2]|0,j[c+4>>2]-j[d+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](J|0,I|0,H|0,K|0)}i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(k[a+368|0]&16)){break m}i[a+284>>1]=b;break m}if(f>>>0>=184){e=130;f=f+65353&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}b=j[a+360>>2];c=b+1|0;j[a+360>>2]=c;aa:{if(!f){break aa}j[a+360>>2]=b+3;j[d>>2]=(k[(b+o|0)+2|0]|k[c+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break aa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;break m}if(f>>>0>=176){b=1;e=130;f=f+65361&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}c=1;if(!f){break m}while(1){j[(d+(b<<2)|0)-4>>2]=k[o+(j[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}break m}b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;ba:{if(b>>>0>=3){j[a+12>>2]=132;break ba}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ba}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break ba}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 143:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=143)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ca:{if(b>>>0>=3){j[a+12>>2]=132;break ca}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ca}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ca}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 142:b=j[d+4>>2]-1|0;if(b>>>0>=3){if(!k[a+561|0]){break m}e=134;break d}c=j[d>>2];b=1<>2];if((b|0)<0){break m}j[a+340>>2]=b;break m;case 140:b=j[d+4>>2];if((b|0)>=j[d>>2]){break m}j[d>>2]=b;break m;case 139:b=j[d+4>>2];if((b|0)<=j[d>>2]){break m}j[d>>2]=b;break m;case 138:b=j[d+4>>2];c=j[d+8>>2];j[d+8>>2]=j[d>>2];j[d>>2]=b;j[d+4>>2]=c;break m;case 137:b=j[a+416>>2];c=j[a+408>>2];e=b+p(c,24)|0;da:{if((c|0)<1){break da}f=j[d>>2];while(1){if((f|0)==j[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){if(c>>>0>=m[a+412>>2]){e=141;break d}j[a+408>>2]=c+1}c=j[d>>2];if(c>>>0>255){e=141;break d}j[b+12>>2]=c;c=j[a+360>>2];j[b+4>>2]=c+1;e=j[a+352>>2];h[b+16|0]=1;j[b>>2]=e;b=j[d>>2];if(b>>>0>m[a+424>>2]){j[a+424>>2]=b&255}d=j[a+364>>2];while(1){c=c+g|0;j[a+360>>2]=c;if((c|0)>=(d|0)){e=131;break d}b=k[c+o|0];h[a+368|0]=b;g=h[b+199776|0];j[a+372>>2]=g;if((b&254)==64){e=c+1|0;if((e|0)>=(d|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((d|0)<(c+g|0)){e=131;break d}e=137;ea:{switch(b-44|0){case 1:break m;case 0:break d;default:break ea}}if((b|0)!=137){continue}break}break d;case 136:c=j[d>>2];b=0-(c&1)&35;b=c&2?k[a+281|0]?b|128:b:b;b=c&4?k[a+282|0]?b|256:b:b;if(c&32){b=k[a+608|0]?b|4096:b}j[d>>2]=b;break m;case 134:case 135:fa:{b=l[d>>1];if(b>>>0>1]){d=l[d+4>>1];if(d>>>0>1]){break fa}}if(!k[a+561|0]){break m}e=134;break d}e=j[a+84>>2]+(b<<3)|0;n=j[a+120>>2]+(d<<3)|0;c=j[e+4>>2]-j[n+4>>2]|0;n=j[e>>2]-j[n>>2]|0;e=c|n;n=e?n:16384;f=!(f&1)|!e;e=f?c:n;c=f?n:0-c|0;n=c>>31;ga:{ha:{if((n^c+n)>16383){break ha}n=e>>31;if((n+e^n)>16383){break ha}if(!(c|e)){break ga}e=e<<14;c=c<<14}n=c;c=ig(c,e)<<2;G=a,K=De(n,c),i[G+290>>1]=K;G=a,K=De(e,c),i[G+292>>1]=K}c=j[a+88>>2]+(b<<3)|0;d=j[a+124>>2]+(d<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=f|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;ia:{ja:{if((d^b+d)>16383){break ja}d=c>>31;if((d+c^d)>16383){break ja}if(!(b|c)){break ia}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,K=De(d,b),i[G+294>>1]=K;G=a,K=De(c,b),i[G+296>>1]=K}uh(a);break m;case 133:ka:{b=j[d>>2];c=b&255;if(c){if((c|0)!=255){break ka}h[a+337|0]=1;break m}h[a+337|0]=0;break m}if(!(!(b&256)|c>>>0>1])){h[a+337|0]=1}if(!(!(b&512)|!k[a+281|0])){h[a+337|0]=1}if(!(!(b&1024)|!k[a+282|0])){h[a+337|0]=1}if(!(!(b&2048)|c>>>0>=l[a+252>>1])){h[a+337|0]=0}if(!(!(b&4096)|!k[a+281|0])){h[a+337|0]=0}if(!(b&8192)|!k[a+282|0]){break m}h[a+337|0]=0;break m;case 131:case 132:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;la:{if(b>>>0>=3){j[a+12>>2]=132;break la}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break la}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break la}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 130:ma:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break ma}b=l[d>>1];if(c>>>0<=b>>>0){break ma}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]&254;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 129:na:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break na}b=l[d>>1];if(c>>>0<=b>>>0){break na}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]|1;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 128:oa:{pa:{c=j[a+304>>2];if((c|0)<=j[a+16>>2]){if((c|0)>0){break pa}break oa}if(!k[a+561|0]){break oa}j[a+12>>2]=129;break oa}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];qa:{if(b>>>0>=l[a+152>>1]){if(!k[a+561|0]){break qa}e=134;break d}b=b+j[a+168>>2]|0;h[b|0]=k[b|0]^1;c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break oa}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 125:j[a+568>>2]=939;j[a+312>>2]=3;break m;case 124:j[a+568>>2]=940;j[a+312>>2]=4;break m;case 123:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=123)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ra:{if(b>>>0>=3){j[a+12>>2]=132;break ra}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ra}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ra}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 122:j[a+568>>2]=941;j[a+312>>2]=5;break m;case 121:if(j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;sa:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break sa}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 120:if(!j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;ta:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break ta}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 119:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+201288>>2];j[a+476>>2]=d;ua:{va:{wa:{xa:{c=b&3;switch(c-1|0){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}c=d>>>10|0;break ua}c=d>>>9|0;break ua}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=942;j[a+312>>2]=7;b=a;e=e&15;c=d-1|0;ya:{if(!e){break ya}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 118:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+201272>>2];j[a+476>>2]=d;za:{Aa:{Ba:{Ca:{c=b&3;switch(c-1|0){case 2:break Aa;case 1:break Ba;case 0:break Ca;default:break za}}c=d>>>10|0;break za}c=d>>>9|0;break za}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=943;j[a+312>>2]=6;b=a;e=e&15;c=d-1|0;Da:{if(!e){break Da}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 115:case 116:case 117:e=qe[j[a+592>>2]](a)|0;c=1;d=j[d>>2];Ea:{if(!d){break Ea}while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break Ea}f=b-2|0;j[a+28>>2]=f;n=b<<2;b=j[a+24>>2];n=j[(n+b|0)-4>>2];Fa:{if(n>>>0>=m[a+380>>2]){if(!k[a+561|0]){break Fa}e=134;break d}f=j[b+(f<<2)>>2];b=f>>>4&15;Ga:{Ha:{switch(k[a+368|0]-116|0){case 0:b=b|16;break Ga;case 1:break Ha;default:break Ga}}b=b|32}if((e|0)!=(l[a+332>>1]+b|0)){break Fa}b=f&15;qe[j[a+604>>2]](a,n,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}j[a+32>>2]=j[a+28>>2];break m;case 113:case 114:tq(a,d);break m;case 112:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}c=ye(j[d+4>>2],j[a+260>>2]);j[j[a+384>>2]+(b<<2)>>2]=c;break m;case 108:case 109:case 110:case 111:b=j[((f<<2)+a|0)-168>>2];c=j[d>>2];if((c|0)>=0){b=b+c|0;j[d>>2]=(b|0)>0?b:0;break m}b=c-b|0;j[d>>2]=b>>31&b;break m;case 104:case 105:case 106:case 107:G=d,K=qe[j[a+568>>2]](a,j[d>>2],j[((f<<2)+a|0)-152>>2])|0,j[G>>2]=K;break m;case 103:j[d>>2]=j[d>>2]+63&-64;break m;case 102:j[d>>2]=j[d>>2]&-64;break m;case 101:j[d>>2]=0-j[d>>2];break m;case 100:c=j[d>>2];b=c>>31;j[d>>2]=b^b+c;break m;case 99:G=d,K=Ne(j[d>>2],j[d+4>>2],64),j[G>>2]=K;break m;case 98:b=j[d+4>>2];if(!b){e=133;break d}G=d,K=zk(j[d>>2],64,b),j[G>>2]=K;break m;case 97:j[d>>2]=j[d>>2]-j[d+4>>2];break m;case 96:j[d>>2]=j[d>>2]+j[d+4>>2];break m;case 95:b=j[d>>2];if(b>>>0>6){e=132;break d}i[a+334>>1]=b;break m;case 94:i[a+332>>1]=j[d>>2];break m;case 93:tq(a,d);break m;case 92:j[d>>2]=!j[d>>2];break m;case 91:b=d;j[b>>2]=j[b>>2]?1:j[b+4>>2]!=0;break m;case 90:if(!j[d>>2]){j[d>>2]=0;break m}j[d>>2]=j[d+4>>2]!=0;break m;case 88:if(j[d>>2]){break m}b=j[a+360>>2];e=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(e|0)){e=131;break d}c=k[b+o|0];h[a+368|0]=c;g=h[c+199776|0];j[a+372>>2]=g;if((c&254)==64){f=b+1|0;if((f|0)>=(e|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((e|0)<(b+g|0)){e=131;break d}Ia:{if((c|0)!=27){Ja:{switch(c-88|0){case 1:break Ia;case 0:break Ja;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break m}d=d-1|0;if(d){continue}break}break m;case 87:G=d,K=!(qe[j[a+568>>2]](a,j[d>>2],0)&127),j[G>>2]=K;break m;case 86:G=d,K=(qe[j[a+568>>2]](a,j[d>>2],0)&127)==64,j[G>>2]=K;break m;case 85:j[d>>2]=j[d>>2]!=j[d+4>>2];break m;case 84:j[d>>2]=j[d>>2]==j[d+4>>2];break m;case 83:j[d>>2]=j[d>>2]>=j[d+4>>2];break m;case 82:j[d>>2]=j[d>>2]>j[d+4>>2];break m;case 81:j[d>>2]=j[d>>2]<=j[d+4>>2];break m;case 80:j[d>>2]=j[d>>2]>2];break m;case 78:h[a+316|0]=0;break k;case 77:h[a+316|0]=1;break k;case 76:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 75:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 73:case 74:Ka:{La:{b=d;e=l[b>>1];if(e>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break La}}c=0;if(!k[a+561|0]){break Ka}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+52>>2]+(e<<3)|0;c=j[a+88>>2]+(c<<3)|0;G=d,K=qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}if(!(l[a+346>>1]?l[a+344>>1]:0)){b=j[a+48>>2]+(e<<3)|0;c=j[a+84>>2]+(c<<3)|0;G=d,K=qe[j[a+576>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}c=j[a+92>>2]+(c<<3)|0;e=j[a+56>>2]+(e<<3)|0;f=j[a+220>>2];if((f|0)==j[a+224>>2]){G=d,K=ye(qe[j[a+576>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]),j[G>>2]=K;break m}c=(K=a,H=ye(j[e>>2]-j[c>>2]|0,f),I=ye(j[e+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](K|0,H|0,I|0)|0)}j[b>>2]=c;break m;case 72:b=l[d>>1];if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break m}e=134;break d}c=b<<3;e=c+j[a+124>>2]|0;e=qe[j[a+572>>2]](a,j[e>>2],j[e+4>>2])|0;qe[j[a+584>>2]](a,w,b,j[d+4>>2]-e|0);if(l[a+348>>1]){break m}b=c+j[a+120>>2]|0;c=c+j[a+124>>2]|0;d=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=d;break m;case 70:case 71:b=d;c=j[b>>2];Ma:{if(c>>>0>=l[a+116>>1]){c=0;if(!k[a+561|0]){break Ma}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+120>>2]+(c<<3)|0;G=d,I=qe[j[a+576>>2]](a,j[b>>2],j[b+4>>2])|0,j[G>>2]=I;break m}c=j[a+124>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[c>>2],j[c+4>>2])|0}j[b>>2]=c;break m;case 69:b=d;d=b;c=j[b>>2];Na:{if(c>>>0>=m[a+380>>2]){b=0;if(!k[a+561|0]){break Na}e=134;break d}b=qe[j[a+596>>2]](a,c)|0}j[d>>2]=b;break m;case 68:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}qe[j[a+600>>2]](a,b,j[d+4>>2]);break m;case 67:b=d;d=b;c=j[b>>2];Oa:{if(c>>>0>=l[a+468>>1]){b=0;if(!k[a+561|0]){break Oa}e=134;break d}b=j[j[a+472>>2]+(c<<2)>>2]}j[d>>2]=b;break m;case 66:b=j[d>>2];if(b>>>0>=l[a+468>>1]){if(!k[a+561|0]){break m}e=134;break d}j[j[a+472>>2]+(b<<2)>>2]=j[d+4>>2];break m;case 65:e=130;n=(c-j[a+16>>2]|0)+1|0;b=j[a+360>>2];c=b+o|0;f=k[c+1|0];if(n>>>0<=f>>>0){break d}e=b+2|0;j[a+360>>2]=e;Pa:{if(!f){break Pa}j[a+360>>2]=b+4;j[d>>2]=(k[c+3|0]|k[e+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break Pa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;j[a+32>>2]=f+j[a+32>>2];break m;case 64:e=130;b=o+j[a+360>>2]|0;f=k[b+1|0];if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}Qa:{if(!f){break Qa}j[d>>2]=k[b+2|0];b=2;c=2;if((f|0)==1){break Qa}while(1){j[(d+(b<<2)|0)-4>>2]=k[(o+(j[a+360>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}}j[a+32>>2]=f+j[a+32>>2];break m;case 62:case 63:Ra:{Sa:{c=l[d>>1];if(c>>>0>1]){b=j[d+4>>2];if(b>>>0>2]){break Sa}}if(!k[a+561|0]){break Ra}j[a+12>>2]=134;break Ra}g=j[a+320>>2];b=qe[j[a+596>>2]](a,b)|0;if(!l[a+344>>1]){e=i[a+298>>1];d=e>>31;n=d^d+e;d=b>>31;o=d+b^d;q=o>>>16|0;s=p(n,q);f=s<<16|8192;u=c<<3;d=u+j[a+48>>2]|0;A=f;x=n;n=o&65535;f=f+p(x,n)|0;f=(s>>>16|0)+(A>>>0>f>>>0)<<18|f>>>14;j[d>>2]=(b^e)>-1?f:0-f|0;e=i[a+300>>1];f=e>>31;o=f^e+f;q=p(o,q);f=q<<16|8192;x=f;f=f+p(o,n)|0;f=(q>>>16|0)+(x>>>0>f>>>0)<<18|f>>>14;j[d+4>>2]=(b^e)>-1?f:0-f|0;f=j[d+4>>2];e=u+j[a+52>>2]|0;j[e>>2]=j[d>>2];j[e+4>>2]=f}d=j[a+52>>2]+(c<<3)|0;n=qe[j[a+572>>2]](a,j[d>>2],j[d+4>>2])|0;d=a;e=t;f=c;if(h[a+368|0]&1){q=b-n|0;o=q>>31;b=qe[j[a+568>>2]](a,(g|0)<(o^o+q)?n:b,j[a+264>>2])|0}qe[j[a+584>>2]](d,e,f,b-n|0)}i[a+286>>1]=c;i[a+284>>1]=c;break m;case 61:j[a+568>>2]=944;j[a+312>>2]=2;break m;case 60:Ta:{c=j[a+304>>2];if(!(l[a+284>>1]>1]?(c|0)<=j[a+16>>2]:0)){if(!k[a+561|0]){break Ta}j[a+12>>2]=134;break Ta}if((c|0)<1){break Ta}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];Ua:{if(b>>>0>=l[a+80>>1]){if(!k[a+561|0]){break Ua}e=134;break d}d=b;b=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(l[a+284>>1]<<3)|0;I=a,H=v,K=d,J=0-(qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](I|0,H|0,K|0,J|0);c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break Ta}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 58:case 59:Va:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Va}}if(!k[a+561|0]){break m}e=134;break d}if(!l[a+346>>1]){c=j[a+48>>2]+(c<<3)|0;n=j[c+4>>2];e=b<<3;f=e+j[a+84>>2]|0;j[f>>2]=j[c>>2];j[f+4>>2]=n;qe[j[a+588>>2]](a,v,b,j[d+4>>2]);c=e+j[a+88>>2]|0;e=e+j[a+84>>2]|0;f=j[e+4>>2];j[c>>2]=j[e>>2];j[c+4>>2]=f;c=l[a+284>>1]}e=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0;qe[j[a+584>>2]](a,v,b,j[d+4>>2]-c|0);i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(h[a+368|0]&1)){break m}i[a+284>>1]=b;break m;case 57:c=j[a+304>>2];Wa:{if((c|0)>j[a+16>>2]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}d=1;d=!l[a+344>>1]|!l[a+346>>1]?d:!l[a+348>>1];b=l[a+286>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}f=j[(d?48:56)+a>>2];e=b<<3;n=f+e|0;q=j[a+52>>2];s=q+e|0;e=0;g=0;o=l[a+288>>1];if(o>>>0>1]){Xa:{if(d){c=j[a+84>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+92>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}g=(J=a,K=ye(j[j[a+92>>2]+(o<<3)>>2]-j[n>>2]|0,c),H=ye(j[(j[a+92>>2]+(l[a+288>>1]<<3)|0)+4>>2]-j[(f+(b<<3)|0)+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](J|0,K|0,H|0)|0)}c=j[a+88>>2]+(l[a+288>>1]<<3)|0;e=qe[j[a+572>>2]](a,j[c>>2]-j[s>>2]|0,j[c+4>>2]-j[(q+(b<<3)|0)+4>>2]|0)|0;c=j[a+304>>2]}if((c|0)<1){break Wa}b=b<<3;q=b+q|0;o=b+f|0;while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;A=a;b=j[j[a+24>>2]+(b<<2)>>2];Ya:{if(b>>>0>=l[a+116>>1]){b=c;if(!k[a+561|0]){break Ya}e=134;break d}Za:{if(d){c=j[a+120>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+128>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}u=b<<3;c=(H=a,K=ye(j[u+j[a+128>>2]>>2]-j[n>>2]|0,c),J=ye(j[(u+j[a+128>>2]|0)+4>>2]-j[o+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,K|0,J|0)|0)}u=j[a+124>>2]+(b<<3)|0;u=qe[j[a+572>>2]](a,j[u>>2]-j[s>>2]|0,j[u+4>>2]-j[q+4>>2]|0)|0;x=a;f=w;b=b&65535;if(!(!g|!c)){c=Ne(c,e,g)}qe[j[a+584>>2]](x,f,b,c-u|0);b=j[a+304>>2]}c=b-1|0;j[A+304>>2]=c;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 56:_a:{c=j[a+304>>2];if((c|0)>=j[a+16>>2]){if(!k[a+561|0]){break _a}j[a+12>>2]=134;break _a}if((c|0)<1){break _a}e=i[a+300>>1];f=e>>31;c=j[d>>2];d=c>>31;f=f^e+f;o=d^c+d;g=o>>>16|0;q=p(f,g);d=q<<16|8192;A=d;x=f;f=o&65535;d=d+p(x,f)|0;d=(q>>>16|0)+(A>>>0>d>>>0)<<18|d>>>14;o=(c^e)>-1?d:0-d|0;d=i[a+298>>1];e=d>>31;x=g;g=e^d+e;q=p(x,g);e=q<<16|8192;x=e;e=e+p(f,g)|0;e=(q>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;c=(c^d)>-1?e:0-e|0;while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];$a:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break $a}e=134;break d}if(l[a+298>>1]){d=j[a+124>>2]+(b<<3)|0;j[d>>2]=c+j[d>>2];d=b+j[a+132>>2]|0;h[d|0]=k[d|0]|8}if(!l[a+300>>1]){break $a}d=j[a+124>>2]+(b<<3)|0;j[d+4>>2]=o+j[d+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}d=j[a+304>>2];j[a+304>>2]=d-1;b=j[a+28>>2];if((d|0)<2){break _a}n=j[a+24>>2];continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 54:case 55:if(m[d>>2]>=2){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}ab:{bb:{switch(l[a+348>>1]){case 0:b=l[a+116>>1];break ab;case 1:break bb;default:break m}}b=i[a+118>>1];if((b|0)<1){break m}b=l[(j[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break m}c=j[a+124>>2];b=0;e=l[r+22>>1];f=j[r+16>>2];n=j[r+12>>2];o=j[r+40>>2];while(1){cb:{if((b|0)==(e|0)?(c|0)==(o|0):0){break cb}if(l[a+298>>1]){g=c+(b<<3)|0;j[g>>2]=f+j[g>>2]}if(!l[a+300>>1]){break cb}g=c+(b<<3)|0;j[g+4>>2]=n+j[g+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m;case 52:case 53:if(l[a+348>>1]){f=i[a+118>>1]}else{f=1}b=j[d>>2]<<16;c=b>>16;if(f>>>0<=c>>>0){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}b=(b?(l[(j[a+136>>2]+(c<<1)|0)-2>>1]-l[a+140>>1]|0)+1|0:0)&65535;d=b;if(l[a+348>>1]){c=(l[j[a+136>>2]+(c<<1)>>1]-l[a+140>>1]|0)+1|0}else{c=l[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break m}d=l[r+22>>1];e=j[r+16>>2];f=j[r+12>>2];n=j[r+40>>2];while(1){o=j[a+124>>2];db:{if((o|0)==(n|0)?(b|0)==(d|0):0){break db}if(l[a+298>>1]){o=o+(b<<3)|0;j[o>>2]=e+j[o>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|8}if(!l[a+300>>1]){break db}o=j[a+124>>2]+(b<<3)|0;j[o+4>>2]=f+j[o+4>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break m;case 50:case 51:eb:{if(j[a+16>>2]>2]){if(!k[a+561|0]){break eb}j[a+12>>2]=134;break eb}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}if(j[a+304>>2]<1){break eb}c=j[r+16>>2];d=j[r+12>>2];while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;b=l[j[a+24>>2]+(b<<2)>>1];fb:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break fb}j[a+12>>2]=134;break m}if(l[a+298>>1]){e=j[a+124>>2]+(b<<3)|0;j[e>>2]=c+j[e>>2];e=b+j[a+132>>2]|0;h[e|0]=k[e|0]|8}if(!l[a+300>>1]){break fb}e=j[a+124>>2]+(b<<3)|0;j[e+4>>2]=d+j[e+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}b=j[a+304>>2];j[a+304>>2]=b-1;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 48:case 49:if(!l[a+154>>1]){break m}gb:{if(f&1){z=j[a+156>>2];j[r+24>>2]=z;u=j[a+160>>2];j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2];b=8;break gb}z=j[a+156>>2]+4|0;j[r+24>>2]=z;u=j[a+160>>2]+4|0;j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2]+4;b=16}q=b;c=l[a+152>>1];j[r+36>>2]=c;y=0;d=0;while(1){b=l[j[a+172>>2]+(y<<1)>>1]-l[a+176>>1]|0;c=c&65535;s=b>>>0>>0?b:c-1|0;hb:{if(s>>>0>>0){b=d;break hb}g=j[a+168>>2];c=d;ib:{jb:{while(1){kb:{b=c+1|0;if(q&k[c+g|0]){n=b;e=c;o=c;lb:{B=b>>>0>s>>>0;if(!B){while(1){f=n;if(q&k[f+g|0]){Wl(r+24|0,o+1|0,e,o,f);o=f}n=f+1|0;if(s>>>0>=n>>>0){g=j[a+168>>2];e=f;continue}break}if((c|0)!=(o|0)){break lb}}e=c<<3;e=j[e+u>>2]-j[e+z>>2]|0;if(!e){break ib}if(c>>>0>d>>>0){break kb}break jb}Wl(r+24|0,o+1&65535,s,o,c);if(!c){break ib}Wl(r+24|0,d,c-1|0,o,c);break ib}c=b;if(b>>>0<=s>>>0){continue}break hb}break}while(1){f=(d<<3)+u|0;j[f>>2]=e+j[f>>2];d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(B){break ib}while(1){c=(b<<3)+u|0;j[c>>2]=e+j[c>>2];b=b+1|0;if(s>>>0>=b>>>0){continue}break}}b=n}y=y+1|0;if((y|0)>=i[a+154>>1]){break m}c=l[a+152>>1];d=b;continue};case 46:case 47:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}e=a;d=t;c=b;if(f&1){f=j[a+52>>2]+(b<<3)|0;f=qe[j[a+572>>2]](a,j[f>>2],j[f+4>>2])|0;f=(qe[j[a+568>>2]](a,f,j[a+264>>2])|0)-f|0}else{f=0}qe[j[a+584>>2]](e,d,c,f);i[a+286>>1]=b;i[a+284>>1]=b;break m;case 45:break n;case 79:break d}}c=j[a+428>>2];if((c|0)<1){e=136;break d}b=c-1|0;j[a+428>>2]=b;b=j[a+436>>2]+(b<<4)|0;d=j[b+8>>2];j[b+8>>2]=d-1;h[a+376|0]=0;if((d|0)>=2){j[a+428>>2]=c;j[a+360>>2]=j[j[b+12>>2]+4>>2];break m}c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)<(b|0)){e=131;break d}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}e=j[a+12>>2];if(!e){break k}if((e|0)!=128){break e}g=j[a+408>>2];b=j[a+416>>2]}e=128;if((g|0)<1){break d}c=p(g,24)+b|0;while(1){if(!(!k[b+16|0]|k[a+368|0]!=k[b+12|0])){c=j[a+428>>2];if((c|0)>=j[a+432>>2]){e=134;break d}c=j[a+436>>2]+(c<<4)|0;j[c>>2]=j[a+352>>2];d=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=d+1;c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)>=(b|0)){break h}e=131;break d}b=b+24|0;if(c>>>0>b>>>0){continue}break}break d}j[a+16>>2]=j[a+32>>2];if(!k[a+376|0]){break i}}j[a+360>>2]=j[a+360>>2]+j[a+372>>2]}if((F|0)<=999999){F=F+1|0;break g}b=139;break b}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}b=j[a+360>>2];if((b|0)>=j[a+364>>2]){b=0;e=131;if(j[a+428>>2]>0){break d}break b}if(!k[a+488|0]){continue}break}b=0;break b}if(e){break c}b=0;break b}j[a+12>>2]=e}if(!(k[a+488|0]|j[a+352>>2]!=3)){a=j[a+4>>2];j[a+296>>2]=-1;j[a+300>>2]=-1}b=e}oe=r- -64|0;return b|0}function tm(a,b,c,d,e,f,g,n){var 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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;o=oe-15840|0;oe=o;j[o+15824>>2]=g;j[o+15828>>2]=f;A=j[a+132>>2];q=j[j[A+736>>2]+532>>2];I=j[a+48>>2];E=j[a>>2];f=o+15732|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15740|0;j[f>>2]=0;j[f+4>>2]=0;j[o+15808>>2]=0;j[o+15812>>2]=0;j[o+15800>>2]=10;j[o+15804>>2]=0;j[o+15792>>2]=20;j[o+15796>>2]=0;H=a+4|0;j[o+15788>>2]=H;j[o+15784>>2]=E;j[o+15776>>2]=0;j[o+15780>>2]=0;j[o+15768>>2]=10;j[o+15772>>2]=0;j[o+15760>>2]=20;j[o+15764>>2]=0;j[o+15756>>2]=H;j[o+15752>>2]=E;j[o+15724>>2]=0;j[o+15728>>2]=0;j[o+15720>>2]=H;Ee(o+15640|0,0,80);f=o+15572|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15564|0;j[f>>2]=10;j[f+4>>2]=0;f=o+15556|0;j[f>>2]=8;j[f+4>>2]=0;j[o+15552>>2]=H;j[o+15548>>2]=E;j[o+3940>>2]=c;j[o+3936>>2]=a;Ee(o+11692|0,0,3856);f=k[a+140|0];j[o+11696>>2]=I;h[o+11693|0]=f;J=o+15548|0;j[o+11688>>2]=J;K=o+11680|0;j[o+11684>>2]=K;j[o+11680>>2]=a;Ee(o+7824|0,0,3856);j[o+7828>>2]=I;h[o+7825|0]=f;j[o+7820>>2]=J;j[o+7816>>2]=K;j[o+7812>>2]=a;Ee(o+3956|0,0,3856);j[o+3960>>2]=I;h[o+3957|0]=f;j[o+3952>>2]=J;j[o+3948>>2]=K;j[o+3944>>2]=a;j[o+15580>>2]=j[a+36>>2];f=j[a+44>>2];j[o+15588>>2]=I;j[o+15584>>2]=f;f=j[d+4>>2];r=j[d>>2];j[o+15620>>2]=a+196;j[o+15616>>2]=g;j[o+15592>>2]=r;j[o+15596>>2]=f;j[o+15612>>2]=o+15720;j[o+15608>>2]=o+15752;j[o+15604>>2]=o+15784;h[o+15602|0]=k[a+141|0];g=j[a+184>>2];j[o+15624>>2]=g;f=j[a+188>>2];j[o+15636>>2]=6554;j[o+15628>>2]=f;h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15823|0]=0;N=1;h[o+15603|0]=1;r=g;g=g>>31;g=r+g^g;r=f;f=f>>31;f=r+f^f;j[o+15632>>2]=((f|0)<(g|0)?g:f)<<1;j[n>>2]=j[j[A+736>>2]+528>>2]<<16;j[o+64>>2]=0;s=jj(E,396,o- -64|0);a:{b:{c:{d:{e:{if(!j[o+64>>2]){j[s+4>>2]=H;j[s>>2]=E;j[s+392>>2]=s+8;N=!s;break e}if(!s){break d}N=0}j[o+64>>2]=0;D=xe(E,1,0,272,0,o- -64|0);f:{if(!j[o+64>>2]){Q=17;break f}if(j[a+4>>2]){break f}j[a+4>>2]=64}f=j[b+4>>2];j[D>>2]=j[b>>2];j[D+4>>2]=f;f=j[b+12>>2];j[D+8>>2]=j[b+8>>2];j[D+12>>2]=f;if(j[a+4>>2]){break a}L=q<<16;u=s+8|0;t=s+392|0;S=o+32|4;T=o+76|0;O=o+7812|0;F=o+15648|0;M=o+15640|0;C=o+3944|0;P=2e7;v=D;while(1){b=j[v+12>>2];q=j[v+8>>2];g:{if(b>>>0>=q>>>0){x=G?11:14;break g}f=b+1|0;j[v+12>>2]=f;x=k[b|0];b=f}if(j[a+4>>2]){break a}P=P-1|0;if(!P){b=18;break b}h:{i:{j:{k:{l:{switch(x|0){case 1:case 18:if(k[o+15724|0]){break k}sm(a,s,o+15784|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 3:case 23:if(k[o+15724|0]){break k}sm(a,s,o+15752|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 4:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;m:{n:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break m;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break m}f=f- -8192>>14;break m;default:break n}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}o:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break o}j[f>>2]=161;break o}b=g-8|0;j[t>>2]=b;p:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break o;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break o}b=b- -8192>>14;break o;default:break p}}b=j[b>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;f=j[o+15828>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o>>2]=j[F>>2];j[o+4>>2]=g;Ph(o+3936|0,C,M,o,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=b;j[o+15656>>2]=f;j[o+15672>>2]=f;j[o+15660>>2]=b;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 5:q:{q=j[t>>2];b=q-u|0;if(!b){break q}r=b>>3;b=0;while(1){g=q-u>>3;r:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break r}j[f>>2]=130;break r}s:{t:{u:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break t;case 1:break u;default:break s}}q=j[f+8>>2]<<16;break r}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break r}q=f- -8192>>14;break r}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;v:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break v}j[g>>2]=130;q=j[o+15828>>2];break v}w:{x:{y:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break x;case 1:break y;default:break w}}f=j[f+8>>2]<<16;break v}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break v}f=f- -8192>>14;break v}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);b=b+2|0;if(r>>>0<=b>>>0){break q}q=j[t>>2];continue}}j[t>>2]=u;continue;case 6:case 7:z:{f=j[t>>2];b=f-u|0;if(!b){break z}g=u-f|0;g=((b|0)>(g|0)?b:g)>>>3|0;b=(b|0)>-1?b:-1;b=p(g,(b|0)<1?b:1);r=b>>>0>1?b:1;q=(x|0)==6;b=0;while(1){A:{if(f-u>>3>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break A}j[g>>2]=130;break A}B:{C:{D:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break C;case 1:break D;default:break B}}f=j[f+8>>2]<<16;break A}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break A}f=f- -8192>>14;break A}f=j[f+8>>2]}E:{if(q&255){f=j[o+15828>>2]+f|0;j[o+15828>>2]=f;y=j[o+15824>>2];break E}y=j[o+15824>>2]+f|0;j[o+15824>>2]=y;f=j[o+15828>>2]}ch(o+3936|0,f,y);b=b+1|0;if((r|0)==(b|0)){break z}q=q^1;f=j[t>>2];continue}}j[t>>2]=u;continue;case 8:case 24:q=6;b=0;y=j[t>>2];R=y-u>>3;if(R>>>0<6){break h}while(1){f=q;q=y-u>>3;F:{if(q>>>0<=b>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break F}j[r>>2]=130;break F}G:{H:{I:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=j[g+8>>2]<<16;break F}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break F}g=g- -8192>>14;break F}g=j[g+8>>2]}y=j[o+15828>>2];r=b|1;J:{if(r>>>0>=q>>>0){w=0;r=j[s+4>>2];if(!r|j[r>>2]){break J}j[r>>2]=130;break J}K:{L:{M:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}w=j[r+8>>2]<<16;break J}r=j[r+8>>2];if((r|0)<=-1){w=0-(8192-r>>14)|0;break J}w=r- -8192>>14;break J}w=j[r+8>>2]}B=j[o+15824>>2];r=b+2|0;N:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break N}j[r>>2]=130;break N}O:{P:{Q:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}z=j[r+8>>2]<<16;break N}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break N}z=r- -8192>>14;break N}z=j[r+8>>2]}y=g+y|0;g=b+3|0;R:{if(g>>>0>=q>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break R}j[r>>2]=130;break R}S:{T:{U:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break T;case 1:break U;default:break S}}g=j[g+8>>2]<<16;break R}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break R}g=g- -8192>>14;break R}g=j[g+8>>2]}w=w+B|0;B=y+z|0;r=b+4|0;V:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break V}j[r>>2]=130;break V}W:{X:{Y:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}z=j[r+8>>2]<<16;break V}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break V}z=r- -8192>>14;break V}z=j[r+8>>2]}g=g+w|0;r=z+B|0;b=b+5|0;Z:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Z}j[q>>2]=130;break Z}_:{$:{aa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}b=j[b+8>>2]<<16;break Z}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Z}b=b- -8192>>14;break Z}b=j[b+8>>2]}b=b+g|0;Oh(o+3936|0,y,w,B,g,r,b);j[o+15824>>2]=b;j[o+15828>>2]=r;q=f+6|0;if(R>>>0>>0){b=f;break h}else{y=j[t>>2];b=f;continue}};default:if(x>>>0<=246){b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=x-139;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if(x>>>0<=250){ba:{if(b>>>0>>0){j[v+12>>2]=b+1;q=k[b|0];break ba}q=0;b=j[v>>2];if(!b|j[b>>2]){break ba}j[b>>2]=85}b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=((x<<8)+q|0)-63124;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if((x|0)!=255){ca:{if(b>>>0>>0){j[v+12>>2]=b+1;b=k[b|0];break ca}b=0;f=j[v>>2];if(!f|j[f>>2]){break ca}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=((0-(x<<8)|0)-b|0)+64148;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}da:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break da}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ea:{if(f>>>0>>0){b=f+1|0;j[v+12>>2]=b;r=k[f|0];break ea}r=0;b=j[v>>2];if(!(!b|j[b>>2])){j[b>>2]=85}b=f}fa:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;g=k[b|0];break fa}g=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ga:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ga}b=0;f=j[v>>2];if(!f|j[f>>2]){break ga}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=r<<16|y<<24|g<<8|b;b=j[t>>2];j[b+4>>2]=0;j[t>>2]=b+8;continue;case 28:ha:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break ha}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ia:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ia}b=0;f=j[v>>2];if(!f|j[f>>2]){break ia}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=(b<<16|y<<24)>>16;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue;case 30:case 31:b=j[t>>2]-u>>3;B=b&-3;b=b&2;if(B>>>0>b>>>0){x=(x|0)==31;while(1){ja:{if(x&255){r=j[t>>2]-u>>3;ka:{if(r>>>0<=b>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break ka}j[f>>2]=130;break ka}la:{ma:{na:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}y=j[f+8>>2]<<16;break ka}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break ka}y=f- -8192>>14;break ka}y=j[f+8>>2]}x=j[o+15828>>2];f=j[o+15824>>2];z=b+1|0;oa:{if(r>>>0<=z>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break oa}j[q>>2]=130;break oa}pa:{qa:{ra:{g=(z<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}g=j[g+8>>2]<<16;break oa}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break oa}g=g- -8192>>14;break oa}g=j[g+8>>2]}q=b+2|0;sa:{if(q>>>0>=r>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break sa}j[q>>2]=130;break sa}ta:{ua:{va:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ua;case 1:break va;default:break ta}}w=j[q+8>>2]<<16;break sa}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break sa}w=q- -8192>>14;break sa}w=j[q+8>>2]}y=y+x|0;w=f+w|0;q=b+3|0;wa:{if(q>>>0>=r>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break wa}j[x>>2]=130;break wa}xa:{ya:{za:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ya;case 1:break za;default:break xa}}q=j[q+8>>2]<<16;break wa}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break wa}q=q- -8192>>14;break wa}q=j[q+8>>2]}g=g+y|0;q=q+w|0;x=0;if((B-b|0)!=5){z=b;r=g;break ja}b=b+4|0;Aa:{if(b>>>0>=r>>>0){r=j[s+4>>2];b=0;if(!r|j[r>>2]){break Aa}j[r>>2]=130;r=g;break ja}Ba:{Ca:{Da:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}r=(j[b+8>>2]<<16)+g|0;break ja}b=j[b+8>>2];if((b|0)<=-1){r=g-(8192-b>>14)|0;break ja}r=(b- -8192>>14)+g|0;break ja}b=j[b+8>>2]}r=b+g|0;break ja}y=j[o+15828>>2];q=j[t>>2]-u>>3;Ea:{if(q>>>0<=b>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ea}j[f>>2]=130;break Ea}Fa:{Ga:{Ha:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}r=j[f+8>>2]<<16;break Ea}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break Ea}r=f- -8192>>14;break Ea}r=j[f+8>>2]}x=j[o+15824>>2];z=b+1|0;Ia:{if(q>>>0<=z>>>0){g=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ia}j[f>>2]=130;break Ia}Ja:{Ka:{La:{f=(z<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}g=j[f+8>>2]<<16;break Ia}f=j[f+8>>2];if((f|0)<=-1){g=0-(8192-f>>14)|0;break Ia}g=f- -8192>>14;break Ia}g=j[f+8>>2]}f=b+2|0;Ma:{if(f>>>0>=q>>>0){w=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ma}j[f>>2]=130;break Ma}Na:{Oa:{Pa:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}w=j[f+8>>2]<<16;break Ma}f=j[f+8>>2];if((f|0)<=-1){w=0-(8192-f>>14)|0;break Ma}w=f- -8192>>14;break Ma}w=j[f+8>>2]}f=r+x|0;g=g+y|0;r=b+3|0;Qa:{if(r>>>0>=q>>>0){r=0;x=j[s+4>>2];if(!x|j[x>>2]){break Qa}j[x>>2]=130;break Qa}Ra:{Sa:{Ta:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}r=j[r+8>>2]<<16;break Qa}r=j[r+8>>2];if((r|0)<=-1){r=0-(8192-r>>14)|0;break Qa}r=r- -8192>>14;break Qa}r=j[r+8>>2]}w=f+w|0;r=g+r|0;x=1;if((B-b|0)!=5){z=b;q=w;break ja}b=b+4|0;Ua:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Ua}j[q>>2]=130;break Ua}Va:{Wa:{Xa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}b=j[b+8>>2]<<16;break Ua}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Ua}b=b- -8192>>14;break Ua}b=j[b+8>>2]}q=b+w|0}Oh(o+3936|0,y,f,g,w,r,q);j[o+15824>>2]=q;j[o+15828>>2]=r;b=z+4|0;if(B>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 27:z=j[t>>2]-u>>3;w=z&-3;b=z&2;if(w>>>0>b>>>0){while(1){Ya:{if(z-b&1){q=j[t>>2]-u>>3;Za:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Za}j[g>>2]=130;break Za}_a:{$a:{ab:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}f=j[f+8>>2]<<16;break Za}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Za}f=f- -8192>>14;break Za}f=j[f+8>>2]}b=b+1|0;g=j[o+15824>>2]+f|0;break Ya}q=j[t>>2]-u>>3;g=j[o+15824>>2]}bb:{if(b>>>0>=q>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break bb}j[f>>2]=130;break bb}cb:{db:{eb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}y=j[f+8>>2]<<16;break bb}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break bb}y=f- -8192>>14;break bb}y=j[f+8>>2]}x=j[o+15828>>2];f=b+1|0;fb:{if(f>>>0>=q>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break fb}j[f>>2]=130;break fb}gb:{hb:{ib:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}r=j[f+8>>2]<<16;break fb}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break fb}r=f- -8192>>14;break fb}r=j[f+8>>2]}y=y+x|0;f=b+2|0;jb:{if(f>>>0>=q>>>0){f=0;x=j[s+4>>2];if(!x|j[x>>2]){break jb}j[x>>2]=130;break jb}kb:{lb:{mb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}f=j[f+8>>2]<<16;break jb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break jb}f=f- -8192>>14;break jb}f=j[f+8>>2]}r=r+y|0;f=f+g|0;x=q;q=b+3|0;nb:{if(x>>>0<=q>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break nb}j[x>>2]=130;break nb}ob:{pb:{qb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}q=j[q+8>>2]<<16;break nb}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break nb}q=q- -8192>>14;break nb}q=j[q+8>>2]}x=g;g=q+r|0;Oh(o+3936|0,y,x,r,f,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(w>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 26:z=j[t>>2]-u>>3;x=z&-3;b=z&2;if(x>>>0>b>>>0){while(1){rb:{if(z-b&1){q=j[t>>2]-u>>3;sb:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break sb}j[g>>2]=130;break sb}tb:{ub:{vb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}f=j[f+8>>2]<<16;break sb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break sb}f=f- -8192>>14;break sb}f=j[f+8>>2]}b=b+1|0;f=j[o+15828>>2]+f|0;break rb}q=j[t>>2]-u>>3;f=j[o+15828>>2]}wb:{if(b>>>0>=q>>>0){y=0;g=j[s+4>>2];if(!g|j[g>>2]){break wb}j[g>>2]=130;break wb}xb:{yb:{zb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}y=j[g+8>>2]<<16;break wb}g=j[g+8>>2];if((g|0)<=-1){y=0-(8192-g>>14)|0;break wb}y=g- -8192>>14;break wb}y=j[g+8>>2]}w=j[o+15824>>2];g=b+1|0;Ab:{if(g>>>0>=q>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ab}j[g>>2]=130;break Ab}Bb:{Cb:{Db:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}r=j[g+8>>2]<<16;break Ab}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ab}r=g- -8192>>14;break Ab}r=j[g+8>>2]}y=w+y|0;g=b+2|0;Eb:{if(g>>>0>=q>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break Eb}j[g>>2]=130;break Eb}Fb:{Gb:{Hb:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}w=j[g+8>>2]<<16;break Eb}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break Eb}w=g- -8192>>14;break Eb}w=j[g+8>>2]}g=f+r|0;r=w+y|0;w=q;q=b+3|0;Ib:{if(w>>>0<=q>>>0){q=0;w=j[s+4>>2];if(!w|j[w>>2]){break Ib}j[w>>2]=130;break Ib}Jb:{Kb:{Lb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break Kb;case 1:break Lb;default:break Jb}}q=j[q+8>>2]<<16;break Ib}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break Ib}q=q- -8192>>14;break Ib}q=j[q+8>>2]}w=f;f=q+r|0;Oh(o+3936|0,w,y,g,r,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(x>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 25:b=0;q=j[t>>2];z=q-u>>3;if(z>>>0>6){while(1){g=q-u>>3;Mb:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break Mb}j[f>>2]=130;break Mb}Nb:{Ob:{Pb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ob;case 1:break Pb;default:break Nb}}q=j[f+8>>2]<<16;break Mb}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break Mb}q=f- -8192>>14;break Mb}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;Qb:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Qb}j[g>>2]=130;q=j[o+15828>>2];break Qb}Rb:{Sb:{Tb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Sb;case 1:break Tb;default:break Rb}}f=j[f+8>>2]<<16;break Qb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Qb}f=f- -8192>>14;break Qb}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);f=b+2|0;if(z>>>0>b+8>>>0){q=j[t>>2];b=f;continue}break}b=f}if(b>>>0>>0){while(1){f=j[t>>2]-u>>3;Ub:{if(f>>>0<=b>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ub}j[g>>2]=130;break Ub}Vb:{Wb:{Xb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Wb;case 1:break Xb;default:break Vb}}r=j[g+8>>2]<<16;break Ub}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ub}r=g- -8192>>14;break Ub}r=j[g+8>>2]}y=j[o+15828>>2];g=b|1;Yb:{if(g>>>0>=f>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break Yb}j[q>>2]=130;break Yb}Zb:{_b:{$b:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break _b;case 1:break $b;default:break Zb}}g=j[g+8>>2]<<16;break Yb}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Yb}g=g- -8192>>14;break Yb}g=j[g+8>>2]}B=j[o+15824>>2];q=b+2|0;ac:{if(q>>>0>=f>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break ac}j[q>>2]=130;break ac}bc:{cc:{dc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}w=j[q+8>>2]<<16;break ac}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break ac}w=q- -8192>>14;break ac}w=j[q+8>>2]}r=r+y|0;q=b+3|0;ec:{if(q>>>0>=f>>>0){x=0;q=j[s+4>>2];if(!q|j[q>>2]){break ec}j[q>>2]=130;break ec}fc:{gc:{hc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}x=j[q+8>>2]<<16;break ec}q=j[q+8>>2];if((q|0)<=-1){x=0-(8192-q>>14)|0;break ec}x=q- -8192>>14;break ec}x=j[q+8>>2]}y=g+B|0;B=r+w|0;g=b+4|0;ic:{if(g>>>0>=f>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break ic}j[g>>2]=130;break ic}jc:{kc:{lc:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}w=j[g+8>>2]<<16;break ic}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break ic}w=g- -8192>>14;break ic}w=j[g+8>>2]}g=y+x|0;w=w+B|0;q=f;f=b+5|0;mc:{if(q>>>0<=f>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break mc}j[f>>2]=130;break mc}nc:{oc:{pc:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}q=j[f+8>>2]<<16;break mc}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break mc}q=f- -8192>>14;break mc}q=j[f+8>>2]}f=g+q|0;Oh(o+3936|0,r,y,B,g,w,f);j[o+15824>>2]=f;j[o+15828>>2]=w;b=b+6|0;if(z>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 22:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;qc:{rc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break qc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break qc}f=f- -8192>>14;break qc;default:break rc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}sc:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break sc}j[f>>2]=161;break sc}b=g-8|0;j[t>>2]=b;tc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break sc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break sc}b=b- -8192>>14;break sc;default:break tc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;f=j[o+15824>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o+24>>2]=j[F>>2];j[o+28>>2]=g;Ph(o+3936|0,C,M,o+24|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=f;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=f;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 21:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<3)){b=n;uc:{vc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break uc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break uc}f=f- -8192>>14;break uc;default:break vc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}wc:{xc:{yc:{if((g|0)==(u|0)){b=j[s+4>>2];if(!(!b|j[b>>2])){j[b>>2]=161}q=j[o+15824>>2];break yc}f=g-8|0;j[t>>2]=f;b=o;zc:{Ac:{switch(j[f+4>>2]-1|0){case 0:q=j[f>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break zc}q=q- -8192>>14;break zc;default:q=j[f>>2];break zc;case 1:break Ac}}q=j[f>>2]<<16}q=q+j[o+15824>>2]|0;j[b+15824>>2]=q;if((f|0)!=(u|0)){break xc}}b=0;f=j[s+4>>2];if(!f|j[f>>2]){break wc}j[f>>2]=161;q=j[o+15824>>2];break wc}b=g-16|0;j[t>>2]=b;Bc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break wc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break wc}b=b- -8192>>14;break wc;default:break Bc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+16>>2]=j[F>>2];j[o+20>>2]=f;Ph(o+3936|0,C,M,o+16|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=q;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=q;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 19:case 20:if(j[t>>2]-u>>3>>>0>1?k[o+15724|0]:0){break k}sm(a,s,o+15752|0,n,o+15823|0);if(k[j[a+132>>2]+561|0]){b=0;break c}if((x|0)==19){b=j[o+15772>>2]+j[o+15804>>2]|0;if(b>>>0>=97){b=j[o+15720>>2];if(!b|j[b>>2]){break k}j[b>>2]=18;j[t>>2]=u;continue}j[o+15728>>2]=b;i[o+15724>>1]=257;f=b+7>>>3|0;j[o+15732>>2]=f;if(!b|!f){break k}b=0;while(1){f=j[v+12>>2];Cc:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Cc}q=0;f=j[v>>2];if(!f|j[f>>2]){break Cc}j[f>>2]=85}h[(b+o|0)+15736|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}break k}Ee(T,0,3856);b=k[a+140|0];j[o+80>>2]=I;h[o+77|0]=b;j[o+72>>2]=J;j[o+68>>2]=K;j[o+64>>2]=a;b=S;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[o+32>>2]=H;b=j[o+15772>>2]+j[o+15804>>2]|0;Dc:{if(b>>>0>=97){if(j[a+4>>2]){break Dc}j[a+4>>2]=18;break Dc}j[o+40>>2]=b;i[o+36>>1]=257;f=b+7>>>3|0;j[o+44>>2]=f;if(!b|!f){break Dc}b=0;while(1){f=j[v+12>>2];Ec:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Ec}q=0;f=j[v>>2];if(!f|j[f>>2]){break Ec}j[f>>2]=85}h[(b+o|0)+48|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}}yh(o- -64|0,o+15784|0,o+15752|0,o+32|0,0,0);j[t>>2]=u;continue;case 14:Fc:{Gc:{v=j[t>>2];f=v-u>>3;switch(f-1|0){case 0:case 4:break Gc;default:break Fc}}if(k[o+15823|0]){break Fc}Hc:{Ic:{switch(j[s+12>>2]-1|0){case 1:b=j[u>>2]<<16;break Hc;case 0:b=j[u>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Hc}b=b- -8192>>14;break Hc;default:break Ic}}b=j[u>>2]}j[n>>2]=b+L}h[o+15823|0]=1;b=0;if(k[j[a+132>>2]+561|0]){break c}if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+8>>2]=j[F>>2];j[o+12>>2]=f;Ph(o+3936|0,C,M,o+8|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15603|0]=1;v=j[t>>2];f=v-u>>3}if(f>>>0<2){break c}b=18;if(e){break c}Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{if((u|0)==(v|0)){q=0;b=j[s+4>>2];if(!b){f=0;break Nc}f=0;if(j[b>>2]){break Nc}j[b>>2]=161;break Qc}Rc:{if(j[v-4>>2]!=2){q=0;b=j[s+4>>2];if(!b|j[b>>2]){break Rc}j[b>>2]=160;break Rc}v=v-8|0;j[t>>2]=v;q=j[v>>2]}if((u|0)!=(v|0)){break Pc}}f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161;break Oc}Sc:{if(j[v-4>>2]!=2){f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Sc}j[b>>2]=160;break Sc}v=v-8|0;j[t>>2]=v;f=j[v>>2]}if((u|0)!=(v|0)){break Mc}}b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161}j[o+15824>>2]=0;break Lc}e=v-8|0;j[t>>2]=e;b=o;Tc:{Uc:{switch(j[e+4>>2]-1|0){case 0:g=j[e>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Tc}g=g- -8192>>14;break Tc;default:g=j[e>>2];break Tc;case 1:break Uc}}g=j[e>>2]<<16}j[b+15824>>2]=g;if((e|0)!=(u|0)){break Kc}}b=0;e=j[s+4>>2];if(!e|j[e>>2]){break Jc}j[e>>2]=161;break Jc}b=v-16|0;j[t>>2]=b;Vc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break Jc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Jc}b=b- -8192>>14;break Jc;default:break Vc}}b=j[b>>2]}j[o+72>>2]=0;j[o+76>>2]=0;j[o+15828>>2]=b;j[o+64>>2]=0;j[o+68>>2]=0;Wc:{Xc:{e=j[A+4>>2];b=j[j[e+128>>2]+48>>2];if(!b){b=18;if(q>>>0>255){break c}g=j[A+76>>2];n=j[g+1160>>2];if(!n){break c}r=j[g+12>>2];if(!r){break c}g=0;q=l[(q<<1)+120416>>1];while(1){if((q|0)==l[n+(g<<1)>>1]){break Xc}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],q,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Wc}if((g|0)<0){break c}b=zi(j[e+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;n=j[o+15832>>2];j[o+72>>2]=n+b;tm(a,o- -64|0,c,d,1,j[o+15828>>2],j[o+15824>>2],o+3932|0);e=o- -64|4;q=j[A+4>>2];g=j[j[q+128>>2]+48>>2];Yc:{if(g){j[o+36>>2]=n;j[o+32>>2]=b;qe[j[j[g>>2]+4>>2]](j[g+4>>2],o+32|0);break Yc}b=j[q+656>>2];if(j[b+1204>>2]){break Yc}jf(j[b+1176>>2],e)}j[o+72>>2]=0;j[o+76>>2]=0;j[o+64>>2]=0;j[o+68>>2]=0;Zc:{_c:{n=j[A+4>>2];b=j[j[n+128>>2]+48>>2];if(!b){b=18;if(f>>>0>255){break c}g=j[A+76>>2];q=j[g+1160>>2];if(!q){break c}r=j[g+12>>2];if(!r){break c}g=0;f=l[(f<<1)+120416>>1];while(1){if((f|0)==l[q+(g<<1)>>1]){break _c}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],f,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Zc}if((g|0)<0){break c}b=zi(j[n+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;j[o+72>>2]=b+j[o+15832>>2];b=0;tm(a,o- -64|0,c,d,1,0,0,o+3932|0);d=j[A+4>>2];c=j[j[d+128>>2]+48>>2];if(c){d=j[o+72>>2];e=j[o+68>>2];j[o+32>>2]=e;j[o+36>>2]=d-e;qe[j[j[c>>2]+4>>2]](j[c+4>>2],o+32|0);break c}c=j[d+656>>2];if(j[c+1204>>2]){break c}jf(j[c+1176>>2],e);break c;case 10:case 29:break i;case 11:break j;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break k;case 12:break l}}if(b>>>0>=q>>>0){b=j[v>>2];if(!b|j[b>>2]){break k}j[b>>2]=85;j[t>>2]=u;continue}j[v+12>>2]=b+1;$c:{switch(k[b|0]-34|0){case 0:pk(s,o+15828|0,o+15824|0,o+3936|0,120359,0);continue;case 2:pk(s,o+15828|0,o+15824|0,o+3936|0,120383,0);continue;case 3:pk(s,o+15828|0,o+15824|0,o+3936|0,120395,1);continue;case 1:break $c;default:break k}}pk(s,o+15828|0,o+15824|0,o+3936|0,120371,0)}j[t>>2]=u;continue}if((G|0)<1){b=18;break c}f=D;G=G-1|0;b=G;if(b>>>0>=Q>>>0){j[a+4>>2]=130;b=0}v=(b<<4)+f|0;continue}b=18;if((G|0)>16){break c}g=D;G=G+1|0;f=G;if(f>>>0>=Q>>>0){j[a+4>>2]=130;f=0}v=(f<<4)+g|0;f=j[t>>2];ad:{if((f|0)==(u|0)){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=161;break ad}if(j[f-4>>2]!=2){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=160;break ad}f=f-8|0;j[t>>2]=f;q=j[f>>2]}j[v>>2]=0;j[v+4>>2]=0;j[v+8>>2]=0;j[v+12>>2]=0;if((x|0)==29){f=j[A+708>>2]+q|0;if(f>>>0>=m[A+700>>2]){break c}b=j[A+716>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}f=j[A+704>>2]+q|0;if(f>>>0>=m[A+696>>2]){break c}b=j[A+712>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}if((x|0)==24){g=j[t>>2]-u>>3;bd:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break bd}j[f>>2]=130;break bd}cd:{dd:{ed:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break dd;case 1:break ed;default:break cd}}q=j[f+8>>2]<<16;break bd}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break bd}q=f- -8192>>14;break bd}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;b=b|1;fd:{if(b>>>0>=g>>>0){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break fd}j[f>>2]=130;q=j[o+15828>>2];break fd}gd:{hd:{id:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break hd;case 1:break id;default:break gd}}b=j[b+8>>2]<<16;break fd}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break fd}b=b- -8192>>14;break fd}b=j[b+8>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;ch(o+3936|0,q,b)}j[t>>2]=u;continue}}b=64}if(j[a+4>>2]){break a}}j[a+4>>2]=b}j[o+15568>>2]=0;j[o+15572>>2]=0;j[o+15560>>2]=0;a=j[o+15548>>2];b=j[o+15576>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15576>>2]=0;j[o+15772>>2]=0;j[o+15776>>2]=0;j[o+15764>>2]=0;a=j[o+15752>>2];b=j[o+15780>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15780>>2]=0;j[o+15804>>2]=0;j[o+15808>>2]=0;j[o+15796>>2]=0;a=j[o+15784>>2];b=j[o+15812>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15812>>2]=0;if(D){qe[j[E+8>>2]](E,D)}if(!N){a=j[s>>2];if(s){qe[j[a+8>>2]](a,s)}}oe=o+15840|0}function $E(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;w=oe-16|0;oe=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=j[a+384>>2];if(c){if((j[a+212>>2]&16448)==16384){break l}d=j[a+216>>2];m:{if(!(d&4096)){break m}if(k[b+8|0]==3){m=c+1|0;e=j[b>>2];o=l[a+428>>1];q=j[a+528>>2];n=j[a+416>>2];c=k[b+9|0];n:{if(c>>>0<=7){o:{p:{switch(c-1|0){case 0:if(!e){break o}f=e+m|0;c=0-e&7;d=m+(e-1>>>3|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&1;r=(c|0)==7;c=r?0:c+1|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 1:if(!e){break o}f=e+m|0;c=m+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;while(1){f=f-1|0;h[f|0]=k[c|0]>>>d&3;r=(d|0)==6;d=r?0:d+2|0;c=r?c-1|0:c;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 3:break p;default:break o}}if(!e){break o}f=e+m|0;c=e<<2&4;d=m+(e-1>>>1|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&15;r=(c|0)==4;c=r?0:c+4|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}}h[b+11|0]=8;h[b+9|0]=8;j[b+4>>2]=e;break n}if((c|0)!=8){break m}}if(o){f=e<<2;if(e){c=e+m|0;d=f+m|0;g=0;while(1){r=d-1|0;c=c-1|0;m=k[c|0];if(m>>>0>>0){v=k[m+q|0]}else{v=255}h[r|0]=v;h[d-2|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-3|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-4|0;h[d|0]=k[n+p(k[c|0],3)|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}j[b+8>>2]=537135110;j[b+4>>2]=f;break m}g=p(e,3);if(e){c=e+m|0;d=m+g|0;f=0;while(1){c=c-1|0;h[d-1|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-2|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-3|0;h[d|0]=k[n+p(k[c|0],3)|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}j[b+8>>2]=402851842;j[b+4>>2]=g;break m}c=c+1|0;if(!(!(d&33554432)|!l[a+428>>1])){Sp(b,c,a+532|0);break m}Sp(b,c,0)}c=j[a+216>>2];q:{if((c&262272)!=262144){break q}r:{switch(k[b+8|0]-4|0){case 0:case 2:break r;default:break q}}dq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}s:{if(!(c&6291456)){break s}d=k[b+8|0];if((d&3)!=2){break s}c=j[a+384>>2]+1|0;o=d&4;q=l[a+702>>1];r=l[a+704>>1];t=32768-(q+r|0)|0;n=j[b>>2];t:{if(k[b+9|0]==8){u:{u=j[a+500>>2];if(!u){break u}g=j[a+504>>2];if(!g){break u}e=0;if(!n){break t}f=c;m=0;while(1){d=k[c|0];s=k[c+1|0];x=k[c+2|0];v:{w:{if(!((x|0)==(d|0)?(d|0)==(s|0):0)){e=e|1;d=u+(((p(q,k[d+g|0])+p(r,k[g+s|0])|0)+p(t,k[g+x|0])|0)+16384>>>15|0)|0;break w}s=j[a+492>>2];if(!s){break v}d=d+s|0}d=k[d|0]}h[f|0]=d;x:{if(!o){f=f+1|0;c=c+3|0;break x}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}e=0;if(!n){break t}f=c;m=0;while(1){g=f;d=k[c|0];u=k[c+1|0];s=k[c+2|0];if(!((s|0)==(d|0)?(d|0)==(u|0):0)){e=e|1;d=(p(r,u)+p(d,q)|0)+p(t,s)>>>15|0}h[g|0]=d;y:{if(!o){f=f+1|0;c=c+3|0;break y}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}z:{m=j[a+512>>2];if(!m){break z}y=j[a+508>>2];if(!y){break z}e=0;if(!n){break t}d=c;while(1){f=k[c+4|0]|k[c+5|0]<<8;u=(f<<24|f<<8&16711680)>>>16|0;g=k[c+1|0];f=k[c|0];s=g|f<<8;x=k[c+3|0];v=k[c+2|0];A:{if(!((s|0)!=(x|v<<8)|(s|0)!=(u|0))){u=j[a+496>>2];if(!u){break A}g=l[j[u+(x>>>j[a+484>>2]<<2)>>2]+(v<<1)>>1];f=g>>>8|0;break A}f=j[a+484>>2];g=((p(q,l[j[m+((s&255)>>>f<<2)>>2]+(s>>>7&510)>>1])+p(r,l[j[m+(x>>>f<<2)>>2]+(v<<1)>>1])|0)+p(t,l[j[m+((u&255)>>>f<<2)>>2]+(u>>>7&510)>>1])|0)+16384|0;g=l[j[((g>>>15&255)>>>f<<2)+y>>2]+(g>>>22&510)>>1];f=g>>>8|0;e=e|1}h[d+1|0]=g;h[d|0]=f;B:{if(!o){d=d+2|0;c=c+6|0;break B}h[d+2|0]=k[c+6|0];h[d+3|0]=k[c+7|0];d=d+4|0;c=c+8|0}A=A+1|0;if((n|0)!=(A|0)){continue}break}break t}e=0;if(!n){break t}g=0;d=c;while(1){f=k[d+1|0]|k[d|0]<<8;m=k[d+3|0]|k[d+2|0]<<8;u=k[d+5|0]|k[d+4|0]<<8;s=((p(f,q)+p(m,r)|0)+p(u,t)|0)+16384|0;h[c+1|0]=s>>>15;h[c|0]=s>>>23;f=(f|0)!=(m|0)|(f|0)!=(u|0);C:{if(!o){d=d+6|0;c=c+2|0;break C}h[c+2|0]=k[d+6|0];h[c+3|0]=k[d+7|0];d=d+8|0;c=c+4|0}e=e|f;g=g+1|0;if((n|0)!=(g|0)){continue}break}}c=k[b+10|0]-2|0;h[b+10|0]=c;h[b+8|0]=k[b+8|0]&253;d=p(c,k[b+9|0]);h[b+11|0]=d;c=b;d=d&255;D:{if(d>>>0>=8){d=p(n,d>>>3|0);break D}d=p(d,n)+7>>>3|0}j[c+4>>2]=d;if(!e){c=j[a+216>>2];break s}h[a+700|0]=1;c=j[a+216>>2];if((c&6291456)==4194304){Ze(a,210782);c=j[a+216>>2]}if((c&6291456)==2097152){break k}}if(!(!(c&16384)|k[a+209|0]&8)){Rp(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(!(c&128)){break a}r=j[a+212>>2]&8192;c=j[a+384>>2]+1|0;n=j[b>>2];o=j[a+484>>2];f=j[a+512>>2];e=j[a+508>>2];q=j[a+496>>2];g=j[a+504>>2];t=j[a+500>>2];m=j[a+492>>2];E:{switch(k[b+8|0]){case 0:F:{switch(k[b+9|0]-1|0){case 0:if(!n){break a}d=l[a+540>>1];m=0;e=7;while(1){f=k[c|0];if((d|0)==(f>>>e&1)){h[c|0]=f&32639>>>7-e|l[a+460>>1]<>1];g=0;e=6;while(1){d=c;o=k[c|0];f=o>>>e&3;G:{if((f|0)==(q|0)){f=l[a+460>>1]<>>6-e;break G}f=o&16191>>>6-e|k[m+(f|f<<2|f<<4|f<<6)|0]>>>6<>1];f=0;e=4;while(1){d=c;g=k[c|0];o=g>>>e&15;H:{if((o|0)==(q|0)){g=l[a+460>>1]<>>4-e;break H}g=g&3855>>>4-e|k[m+(o|o<<4)|0]>>>4<>1];while(1){d=c;f=k[c|0];o=k[a+460|0];I:{if((f|0)==(g|0)){break I}o=k[f+m|0]}h[d|0]=o;c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 15:break F;default:break a}}if(q){if(!n){break a}e=a+460|0;m=l[a+540>>1];g=0;while(1){d=e;f=c;t=k[c+1|0];r=k[c|0];if((m|0)!=(t|r<<8)){d=j[q+(t>>>o<<2)>>2]+(r<<1)|0}d=l[d>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[f|0]=d;h[f+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];e=0;while(1){if((d|0)==(k[c+1|0]|k[c|0]<<8)){f=l[a+460>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8}c=c+2|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 2:if(k[b+9|0]==8){if(!m){break e}if(!n){break a}f=0;e=l[a+534>>1];while(1){g=k[c|0];d=k[c+1|0];J:{if(!((g|0)!=(e|0)|(d|0)!=l[a+536>>1]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break J}h[c|0]=k[m+g|0];h[c+1|0]=k[d+m|0];h[c+2|0]=k[m+k[c+2|0]|0]}c=c+3|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!q){break f}if(!n){break a}e=a+458|0;u=l[a+534>>1];g=0;while(1){f=k[c+4|0];m=k[c+5|0];d=c;v=c;x=k[c+1|0];s=k[c|0];t=k[c+3|0];r=k[c+2|0];K:{if(!((u|0)!=(x|s<<8)|l[a+536>>1]!=(t|r<<8)|l[a+538>>1]!=(m|f<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=e;break K}s=l[j[q+(x>>>o<<2)>>2]+(s<<1)>>1];s=(s<<24|s<<8&16711680)>>>16|0;h[c|0]=s;h[c+1|0]=s>>>8;r=l[j[q+(t>>>o<<2)>>2]+(r<<1)>>1];r=(r<<24|r<<8&16711680)>>>16|0;h[c+2|0]=r;h[c+3|0]=r>>>8;f=j[q+(m>>>o<<2)>>2]+(f<<1)|0}f=l[f>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[v+4|0]=f;h[d+5|0]=f>>>8;c=c+6|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a;case 4:if(k[b+9|0]==8){if(g?!(!m|!t):0){break g}if(!n){break a}m=0;while(1){f=k[c+1|0];if((f|0)!=255){d=c;if(f){f=(p(l[a+460>>1],f^255)+p(f,k[c|0])|0)+128&65535;f=(f>>>8|0)+f>>>8|0}else{f=k[a+460|0]}h[d|0]=f}c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break h}if(!n){break a}m=0;while(1){d=k[c+3|0]|k[c+2|0]<<8;L:{if((d|0)==65535){break L}if(!d){d=l[a+460>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;break L}d=(p(l[a+460>>1],d^65535)+p(d,k[c+1|0]|k[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;h[c+1|0]=d>>>16;h[c|0]=d>>>24}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a;case 6:break E;default:break a}}if(k[b+9|0]==8){if(g?!(!m|!t):0){break i}if(!n){break a}m=0;while(1){d=k[c+3|0];M:{if((d|0)==255){break M}if(!d){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break M}f=d^255;e=(p(d,k[c|0])+p(f,l[a+454>>1])|0)+128|0;h[c|0]=(e>>>8&255)+e>>>8;e=(p(d,k[c+1|0])+p(f,l[a+456>>1])|0)+128|0;h[c+1|0]=(e>>>8&255)+e>>>8;d=(p(d,k[c+2|0])+p(f,l[a+458>>1])|0)+128|0;h[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break j}if(!n){break a}m=0;while(1){d=k[c+7|0]|k[c+6|0]<<8;N:{if((d|0)==65535){break N}if(!d){d=l[a+454>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;d=l[a+456>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+2|0]=d;h[c+3|0]=d>>>8;d=l[a+458>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+4|0]=d;h[c+5|0]=d>>>8;break N}f=d^65535;e=(p(d,k[c+1|0]|k[c|0]<<8)+p(f,l[a+454>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+1|0]=e>>>16;h[c|0]=e>>>24;e=(p(d,k[c+3|0]|k[c+2|0]<<8)+p(f,l[a+456>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+2|0]=e>>>24;h[c+3|0]=e>>>16;d=(p(d,k[c+5|0]|k[c+4|0]<<8)+p(f,l[a+458>>1])|0)+32768|0;d=(d>>>16|0)+d|0;h[c+4|0]=d>>>24;h[c+5|0]=d>>>16}c=c+8|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}Ye(a,210748);z()}Ye(a,210764);z()}Ye(a,210782);z()}if(!n){break a}d=0;while(1){O:{P:{t=k[c+7|0]|k[c+6|0]<<8;if(t){if((t|0)!=65535){break P}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[j[q+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[j[q+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}g=l[a+454>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[a+456>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[a+458>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}u=t^65535;g=(p(t,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(u,l[a+464>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+1|0]=g;h[c|0]=m;g=(p(t,l[j[f+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1])+p(u,l[a+466>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+3|0]=g;h[c+2|0]=m;g=(p(t,l[j[f+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1])+p(u,l[a+468>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+5|0]=g;h[c+4|0]=m}c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){Q:{R:{o=k[c+3|0];if(o){if((o|0)!=255){break R}h[c|0]=k[m+k[c|0]|0];h[c+1|0]=k[m+k[c+1|0]|0];h[c+2|0]=k[m+k[c+2|0]|0];break Q}h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break Q}q=o^255;d=(p(o,k[g+k[c|0]|0])+p(q,l[a+464>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;e=c;if(!r){d=k[t+(d&255)|0]}h[e|0]=d;d=(p(o,k[g+k[c+1|0]|0])+p(q,l[a+466>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+1|0]=d;d=(p(o,k[g+k[c+2|0]|0])+p(q,l[a+468>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+2|0]=d}c=c+4|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=0;while(1){S:{T:{g=k[c+3|0]|k[c+2|0]<<8;if(g){if((g|0)!=65535){break T}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=l[a+460>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=(p(g,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(l[a+470>>1],g^65535)|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>16|0;if(r){g=g>>>24|0}else{m=l[j[e+((m&255)>>>o<<2)>>2]+(g>>>23&510)>>1];g=m>>>8|0}h[c+1|0]=m;h[c|0]=g}c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){v=c;U:{V:{e=k[c+1|0];if(e){if((e|0)!=255){break V}d=k[m+k[c|0]|0];break U}d=k[a+460|0];break U}e=(p(l[a+470>>1],e^255)+p(e,k[g+k[c|0]|0])|0)+128&65535;o=(e>>>8|0)+e>>>8|0;d=o;if(r){break U}d=k[t+(o&255)|0]}h[v|0]=d;c=c+2|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=l[a+534>>1];e=0;while(1){if(!((d|0)!=(k[c+1|0]|k[c|0]<<8)|l[a+536>>1]!=(k[c+3|0]|k[c+2|0]<<8)|l[a+538>>1]!=(k[c+5|0]|k[c+4|0]<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=l[a+458>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+4|0]=f;h[c+5|0]=f>>>8}c=c+6|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+534>>1];while(1){if(!((d|0)!=k[c|0]|l[a+536>>1]!=k[c+1|0]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0]}c=c+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+540>>1];while(1){if((d|0)==k[c|0]){h[c|0]=k[a+460|0]}c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];m=0;e=4;while(1){f=k[c|0];if((d|0)==(f>>>e&15)){h[c|0]=f&3855>>>4-e|l[a+460>>1]<>1];m=0;e=6;while(1){f=k[c|0];if((d|0)==(f>>>e&3)){h[c|0]=f&16191>>>6-e|l[a+460>>1]<>2];W:{if((c&6299648)!=8192){break W}X:{if(!(c&128)){c=k[a+435|0];break X}if(l[a+428>>1]){break W}c=k[a+435|0];if(c&4){break W}}if((c&255)==3){break W}c=j[a+384>>2];n=j[b>>2];m=j[a+484>>2];f=j[a+496>>2];d=j[a+492>>2];g=k[b+9|0];if(!f|(g&255)!=16?!(g>>>0<9?d:0):0){break W}c=c+1|0;Y:{switch(k[b+8|0]){case 2:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+6|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+3|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 6:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 4:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 0:break Y;default:break W}}Z:{_:{$:{if(!(!n|(g&255)!=2)){g=0;e=c;while(1){o=k[e|0];q=o&48;v=k[d+(q<<2|q|q>>>2|q>>>4)|0]>>>2&48;q=o&192;v=v|k[d+(q|o>>>6|q>>>2|q>>>4)|0]&192;q=o&12;o=o&3;h[e|0]=v|k[d+(q<<2|q|q<<4|q>>>2)|0]>>>4&12|k[d+(o<<4|o|o<<6|o<<2)|0]>>>6;e=e+1|0;g=g+4|0;if(n>>>0>g>>>0){continue}break}g=k[b+9|0]}switch((g&255)-4|0){case 0:break Z;case 4:break _;case 12:break $;default:break W}}if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W}if(!n){break W}f=0;while(1){e=k[c|0];g=e&15;h[c|0]=k[d+(g<<4|g)|0]>>>4|k[d+(e&240|e>>>4)|0]&240;c=c+1|0;f=f+2|0;if(n>>>0>f>>>0){continue}break}}c=j[a+216>>2];aa:{if((c&262272)!=262272){break aa}ba:{switch(k[b+8|0]-4|0){case 0:case 2:break ba;default:break aa}}dq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ca:{if(!(c&8388608)){break ca}f=k[b+8|0];c=f&4;if(!c){break ca}da:{if(!c){break da}c=j[a+384>>2];d=j[b>>2];ea:{switch(k[b+9|0]-8|0){case 0:e=j[a+500>>2];if(!e){break da}if(!d){break ca}f=f&2?4:2;while(1){c=c+f|0;h[c|0]=k[e+k[c|0]|0];d=d-1|0;if(d){continue}break}break ca;case 8:break ea;default:break da}}e=j[a+508>>2];if(!e){break da}if(!d){break ca}g=j[a+484>>2];f=f&2?8:4;c=(f+c|0)-1|0;while(1){m=l[j[e+(k[c+1|0]>>>g<<2)>>2]+(k[c|0]<<1)>>1];m=(m<<24|m<<8&16711680)>>>16|0;h[c|0]=m;h[c+1|0]=m>>>8;c=c+f|0;d=d-1|0;if(d){continue}break}break ca}Ze(a,210916)}c=j[a+216>>2];if(!(!(c&67108864)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){e=k[c|0];h[d|0]=(p(k[c+1|0]-e|0,65535)+8388480>>>24|0)+e;d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}if(!(!(c&1024)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}fa:{ga:{ha:{if(c&64){ia:{if(k[b+9|0]!=8){break ia}c=j[a+384>>2]+1|0;f=j[b>>2];g=j[a+616>>2];e=j[a+612>>2];d=k[b+8|0];if(!(!e|(d|0)!=2)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!(!e|(d|0)!=6)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!f|!g|(d|0)!=3){break ia}d=0;while(1){h[c|0]=k[g+k[c|0]|0];c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(!j[b+4>>2]){break ha}c=j[a+216>>2]}if(!(!(c&512)|k[b+9|0]!=8|k[b+8|0]==3)){d=j[b+4>>2];if((d|0)>=1){c=(j[a+384>>2]+1|0)+d|0;d=d+c|0;while(1){f=d-2|0;c=c-1|0;e=k[c|0];h[f|0]=e;h[d-1|0]=e;d=f;if(d>>>0>c>>>0){continue}break}d=j[b+4>>2];c=j[a+216>>2]}h[b+9|0]=16;j[b+4>>2]=d<<1;h[b+11|0]=k[b+10|0]<<4}if(!(!(c&16384)|!(k[a+209|0]&8))){Rp(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&32){lG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ja:{if(!(c&524288)){break ja}d=j[a+384>>2]+1|0;c=j[b>>2];ka:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja;case 0:break ka;default:break ja}}if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=j[a+216>>2];if(!(e&8)){break fa}c=k[b+8|0];if((c|0)==3){break fa}g=k[b+9|0];la:{if(c&2){d=k[a+521|0];j[w+4>>2]=g-k[a+522|0];j[w+8>>2]=g-k[a+523|0];f=3;break la}d=k[a+524|0];f=1}m=j[a+384>>2];j[w>>2]=g-(d&255);if(c&4){j[(f<<2|w)>>2]=g-k[a+525|0];f=f+1|0}m=m+1|0;c=0;d=1;while(1){n=(c<<2)+w|0;o=j[n>>2];if(!((g|0)>(o|0)?(o|0)>=1:0)){j[n>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}if(d&1){break fa}break ga}d=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break ga}Ye(a,210821);z()}ma:{na:{switch(mP(g-2|0,31)|0){case 0:c=j[b+4>>2];if((c|0)<1){break ma}c=c+m|0;while(1){h[m|0]=k[m|0]>>>1&85;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 1:c=j[b+4>>2];if((c|0)<1){break ma}d=j[w>>2];f=15>>>d|0;f=f<<4|f;c=c+m|0;while(1){h[m|0]=f&k[m|0]>>>d;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 3:c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){h[m|0]=k[m|0]>>>j[(c<<2)+w>>2];c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+1|0;if(d>>>0>m>>>0){continue}break}break ma;case 7:break na;default:break ma}}c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){e=(k[m+1|0]|k[m|0]<<8)>>>j[(c<<2)+w>>2]|0;e=(e<<24|e<<8&16711680)>>>16|0;h[m|0]=e;h[m+1|0]=e>>>8;c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+2|0;if(d>>>0>m>>>0){continue}break}}e=j[a+216>>2]}oa:{if(!(e&4)){break oa}c=k[b+9|0];if(c>>>0>7){break oa}d=j[a+384>>2]+1|0;e=j[b>>2];pa:{qa:{switch(c-1|0){case 0:if(!e){break pa}m=d+e|0;c=0-e&7;d=d+(e-1>>>3|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&1;g=(c|0)==7;c=g?0:c+1|0;d=g?d-1|0:d;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 1:if(!e){break pa}m=d+e|0;c=d+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;f=0;while(1){m=m-1|0;h[m|0]=k[c|0]>>>d&3;g=(d|0)==6;d=g?0:d+2|0;c=g?c-1|0:c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 3:break qa;default:break pa}}if(!e){break pa}m=d+e|0;c=e<<2&4;d=d+(e-1>>>1|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&15;d=(c|0)==4?d-1|0:d;c=((c|0)!=4)<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}h[b+9|0]=8;c=k[b+10|0];h[b+11|0]=c<<3;j[b+4>>2]=p(c,e)}if(!(k[b+8|0]!=3|j[a+424>>2]<0)){hG(a,b)}c=j[a+216>>2];if(c&1){iG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&65536){jG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ra:{if(!(c&32768)){break ra}n=l[a+444>>1];d=n>>>8|0;c=j[a+384>>2]+1|0;m=j[b>>2];f=j[a+212>>2];sa:{switch(k[b+8|0]){case 0:ta:{switch(k[b+9|0]-8|0){case 0:c=c+m|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;e=e-2|0;c=c-1|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra}if(m){e=c+m|0;f=0;while(1){c=c-1|0;g=k[c|0];d=e-2|0;h[d|0]=n;h[e-1|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra;case 8:break ta;default:break ra}}g=1;e=m<<1;c=e+c|0;if(f&128){e=c+e|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];e=e-4|0;c=c-2|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra}if(m){e=c+e|0;g=0;while(1){h[e-1|0]=k[c-1|0];c=c-2|0;f=k[c|0];h[e-3|0]=n;h[e-2|0]=f;e=e-4|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra;case 2:break sa;default:break ra}}ua:{switch(k[b+9|0]-8|0){case 0:c=c+p(m,3)|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;h[e-2|0]=k[c-1|0];h[e-3|0]=k[c-2|0];e=e-4|0;c=c-3|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra}if(m){e=c+m|0;f=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];c=c-3|0;g=k[c|0];d=e-4|0;h[d|0]=n;h[e-3|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra;case 8:break ua;default:break ra}}c=c+p(m,6)|0;if(f&128){g=1;e=(m<<1)+c|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];h[e-4|0]=k[c-2|0];h[e-5|0]=k[c-3|0];h[e-6|0]=k[c-4|0];h[e-7|0]=k[c-5|0];e=e-8|0;c=c-6|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=16388;j[b+4>>2]=m<<3;break ra}if(m){e=(m<<1)+c|0;g=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];h[e-3|0]=k[c-3|0];h[e-4|0]=k[c-4|0];h[e-5|0]=k[c-5|0];c=c-6|0;f=k[c|0];h[e-7|0]=n;h[e-6|0]=f;e=e-8|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=16388;j[b+4>>2]=m<<3}va:{if(!(k[a+218|0]&2)){break va}c=j[a+384>>2]+1|0;d=j[b>>2];wa:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];o=f;f=c-2|0;h[o|0]=k[f|0];m=c-3|0;n=k[m|0];c=c-4|0;h[m|0]=k[c|0];h[f|0]=n;h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-2|0;m=k[f|0]|k[f+1|0]<<8;g=c-4|0;n=k[g|0]|k[g+1|0]<<8;h[f|0]=n;h[f+1|0]=n>>>8;f=c-6|0;n=k[f|0]|k[f+1|0]<<8;h[g|0]=n;h[g+1|0]=n>>>8;c=c-8|0;g=k[c|0]|k[c+1|0]<<8;h[f|0]=g;h[f+1|0]=g>>>8;h[c|0]=m;h[c+1|0]=m>>>8;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va;case 0:break wa;default:break va}}if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];c=c-2|0;h[f|0]=k[c|0];h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){c=c-4|0;f=mP(k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24),16);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=j[a+216>>2];if(c&16){kG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&1048576){c=j[a+192>>2];if(c){qe[c|0](a,b,j[a+384>>2]+1|0)}c=k[a+204|0];if(c){h[b+9|0]=c}c=k[a+205|0];xa:{if(!c){c=k[b+10|0];break xa}h[b+10|0]=c}c=p(k[b+9|0],c);h[b+11|0]=c;a=j[b>>2];c=c&255;ya:{if(c>>>0>=8){a=p(a,c>>>3|0);break ya}a=p(a,c)+7>>>3|0}j[b+4>>2]=a}oe=w+16|0}function Gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=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;f=oe-32|0;oe=f;o=j[a+56>>2];g=j[a+40>>2];n=k[g+9|0];d=j[a+44>>2];v=j[d+24>>2];p=0;a:{if(!v){break a}p=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];b=j[a>>2];t=j[a+28>>2];e=j[a+24>>2];q=j[g+24>>2]^-1;m=q&o;o=j[d>>2];u=j[g>>2];b:{c:{d:{e:{f:{g:{w=k[d+9|0];if(!((n|0)!=4|(w|0)!=4)){r=j[g+12>>2];if((r|0)!=j[d+12>>2]){break g}s=j[g+16>>2];if((s|0)!=j[d+16>>2]){break g}z=j[g+20>>2];if((z|0)!=j[d+20>>2]){break g}if(!v){break c}if(!t){break b}o=k[a+63|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=7;continue;default:break k}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}e=t-1|0;b=b+4|0;c=c+4|0;l:{if((a|0)>1){a=a-1|0;break l}c=c+x|0;b=b+y|0;t=e;if(e){continue h}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691;if((u|0)!=386930691){break f}if((o|0)==386930691){break e}break f}if(!((u|0)==372711428|(o|0)==372711428)){hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}d=e&7;o=(e+7|0)/8|0;m:while(1){a=o;n:{o:{switch(d-1|0){default:e=0;break n;case 0:e=7;break n;case 1:e=6;break n;case 2:e=5;break n;case 3:e=4;break n;case 4:e=3;break n;case 5:e=2;break n;case 6:break o}}e=1}while(1){p:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=7;continue;default:break p}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+4|0;q:{if((a|0)>1){a=a-1|0;break q}c=c+x|0;b=b+y|0;t=e;if(e){continue m}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691}if((u|0)!=390076419|(o|0)!=390076419){break d}}if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;r:while(1){a=p;s:{t:{switch(q-1|0){default:e=0;break s;case 0:e=7;break s;case 1:e=6;break s;case 2:e=5;break s;case 3:e=4;break s;case 4:e=3;break s;case 5:e=2;break s;case 6:break t}}e=1}while(1){u:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=7;continue;default:break u}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}e=t-1|0;c=c+3|0;b=b+3|0;v:{if((a|0)>1){a=a-1|0;break v}c=c+x|0;b=b+y|0;t=e;if(e){continue r}break b}e=0;continue}}}if(!((o|0)==390076419&v?0:!((u|0)==390076419&a))){if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;w:while(1){a=p;x:{y:{switch(q-1|0){default:e=0;break x;case 0:e=7;break x;case 1:e=6;break x;case 2:e=5;break x;case 3:e=4;break x;case 4:e=3;break x;case 5:e=2;break x;case 6:break y}}e=1}while(1){z:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break z}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}e=t-1|0;c=c+3|0;b=b+3|0;A:{if((a|0)>1){a=a-1|0;break A}c=c+x|0;b=b+y|0;t=e;if(e){continue w}break b}e=0;continue}}}B:{if(!((n|0)!=4|(w|0)!=3)){if((u|0)==372711428){break B}hh(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!t){break b}o=e&7;p=(e+7|0)/8|0;C:while(1){a=p;D:{E:{switch(o-1|0){default:e=0;break D;case 0:e=7;break D;case 1:e=6;break D;case 2:e=5;break D;case 3:e=4;break D;case 4:e=3;break D;case 5:e=2;break D;case 6:break E}}e=1}while(1){F:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break F}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}e=t-1|0;c=c+3|0;b=b+4|0;G:{if((a|0)>1){a=a-1|0;break G}c=c+x|0;b=b+y|0;t=e;if(e){continue C}break b}e=0;continue}}}if((o|0)==372711428|(n|0)!=3|(w|0)!=4){break B}hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}q=e&7;d=m>>>8|0;g=m>>>16|0;o=(e+7|0)/8|0;m=m&255;H:while(1){a=o;I:{J:{switch(q-1|0){default:e=0;break I;case 0:e=7;break I;case 1:e=6;break I;case 2:e=5;break I;case 3:e=4;break I;case 4:e=3;break I;case 5:e=2;break I;case 6:break J}}e=1}while(1){K:{switch(e|0){case 0:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=7;continue;default:break K}}if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+3|0;L:{if((a|0)>1){a=a-1|0;break L}c=c+x|0;b=b+y|0;t=e;if(e){continue H}break b}e=0;continue}}}if(!t){break b}z=e&7;o=(e+7|0)/8|0;u=n-1|0;v=w-1|0;while(1){e=o;M:{N:{switch(z-1|0){default:a=7;break M;case 0:a=6;break M;case 1:a=5;break M;case 2:a=4;break M;case 3:a=3;break M;case 4:a=2;break M;case 5:a=1;break M;case 6:break N}}a=0}while(1){O:{P:{switch(a|0){case 0:a=0;Q:{R:{switch(u|0){case 0:a=k[b|0];break Q;case 1:a=l[b>>1];break Q;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Q;case 3:break R;default:break Q}}a=j[b>>2]}S:{if((m|0)==(a&q)){break S}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];T:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break S;case 3:break T;default:break S}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break U;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break U;case 3:break V;default:break U}}a=j[b>>2]}W:{if((m|0)==(a&q)){break W}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];X:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break W;case 3:break X;default:break W}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break Y;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Y;case 3:break Z;default:break Y}}a=j[b>>2]}_:{if((m|0)==(a&q)){break _}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];$:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break _;case 3:break $;default:break _}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break aa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break aa;case 3:break ba;default:break aa}}a=j[b>>2]}ca:{if((m|0)==(a&q)){break ca}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];da:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ca;case 3:break da;default:break ca}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ea;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ea;case 3:break fa;default:break ea}}a=j[b>>2]}ga:{if((m|0)==(a&q)){break ga}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ha:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ga;case 3:break ha;default:break ga}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ia;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ia;case 3:break ja;default:break ia}}a=j[b>>2]}ka:{if((m|0)==(a&q)){break ka}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];la:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ka;case 3:break la;default:break ka}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ma;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ma;case 3:break na;default:break ma}}a=j[b>>2]}oa:{if((m|0)==(a&q)){break oa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];pa:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break oa;case 3:break pa;default:break oa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break qa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break qa;case 3:break ra;default:break qa}}a=j[b>>2]}sa:{if((m|0)==(a&q)){break sa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ta:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break sa;case 3:break ta;default:break sa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=7;continue;default:break xa}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}e=t-1|0;b=b+4|0;c=c+4|0;ya:{if((a|0)>1){a=a-1|0;break ya}c=c+x|0;b=b+y|0;t=e;if(e){continue ua}break b}e=0;continue}}}oe=f+32|0}function Sn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0;w=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}o=j[d>>2];n=j[a+4>>2];q=k[n+9|0];m=j[d+4>>2];s=j[c+16>>2];t=j[c+20>>2];r=j[a+52>>2];e=j[r+12>>2];b:{g=j[b+4>>2];c:{if(!g){break c}d:{switch(q-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];e:{if(e){d=d+e|0;e=e+f|0;break e}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 1:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];f:{if(e){d=d+e|0;e=f+(e<<1)|0;break f}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 2:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];g:{if(e){d=d+e|0;e=f+p(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 3:break d;default:break c}}while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];h:{if(e){d=d+e|0;e=f+(e<<2)|0;break h}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}}o=(t+p(m,s)|0)+p(o,q)|0;m=k[r+79|0];i:{j:{k:{t=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!t:0)){f=j[c+4>>2];a=k[f+9|0];if((m|0)==255){l:{switch(a-1|0){case 0:g=o-t|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];m:{if(a){n:{if((d|0)>=(q|0)){break n}e=t-d|0;o:{if((e|0)<1){e=0;b=a;break o}b=a-e|0;if((b|0)<1){break n}}m=d+e|0;o=q-m|0;Ge(g+m|0,e+f|0,(b|0)>(o|0)?o:b)}d=a+d|0;e=a+f|0;break m}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 1:g=o-(t<<1)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];p:{if(a){q:{if((d|0)>=(q|0)){break q}e=t-d|0;r:{if((e|0)<1){e=0;b=a;break r}b=a-e|0;if((b|0)<1){break q}}m=d+e|0;o=q-m|0;Ge((m<<1)+g|0,f+(e<<1)|0,((b|0)>(o|0)?o:b)<<1)}d=a+d|0;e=f+(a<<1)|0;break p}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 2:g=p(t,-3)+o|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];s:{if(a){t:{if((d|0)>=(q|0)){break t}e=t-d|0;u:{if((e|0)<1){e=0;b=a;break u}b=a-e|0;if((b|0)<1){break t}}m=d+e|0;o=q-m|0;Ge(p(m,3)+g|0,f+p(e,3)|0,p((b|0)>(o|0)?o:b,3))}d=a+d|0;e=f+p(a,3)|0;break s}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 3:break l;default:break b}}g=o-(t<<2)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;a=l[e+2>>1];v:{if(a){w:{if((d|0)>=(q|0)){break w}e=t-d|0;x:{if((e|0)<1){e=0;b=a;break x}b=a-e|0;if((b|0)<1){break w}}m=d+e|0;o=q-m|0;Ge((m<<2)+g|0,f+(e<<2)|0,((b|0)>(o|0)?o:b)<<2)}d=a+d|0;e=f+(a<<2)|0;break v}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}y:{switch(a-2|0){case 0:z:{u=j[f+20>>2];g=j[f+16>>2];r=j[f+12>>2];a=u|(g|r);if((a|0)!=32767){if((a|0)!=65535|((u|0)!=2016?!((r|0)==2016|(g|0)==2016):0)){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];A:{if(a){B:{if((b|0)>=(n|0)){break B}f=t-b|0;C:{if((f|0)<1){f=0;d=a;break C}d=a-f|0;if((d|0)<1){break B}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break B}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break B}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&136382497)+(m>>>1&2079292399)|0)+(s>>>1&2079292399);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break B}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&2081)+((d&63454)+(e&63454)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break A}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];D:{if(b){E:{if((a|0)>=(n|0)){break E}d=t-a|0;F:{if((d|0)<1){d=0;f=b;break F}f=b-d|0;if((f|0)<1){break E}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break E}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&132184095;u=l[d>>1];u=(u<<16|u)&132184095;u=(p(m,v-u|0)>>>5|0)+u&132184095;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break D}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}if((u|0)!=992?!((r|0)==992|(g|0)==992):0){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];G:{if(a){H:{if((b|0)>=(n|0)){break H}f=t-b|0;I:{if((f|0)<1){f=0;d=a;break I}d=a-f|0;if((d|0)<1){break H}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break H}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break H}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&69272609)+(m>>>1&2112847343)|0)+(s>>>1&2112847343);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break H}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&1057)+((d&64478)+(e&64478)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break G}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];J:{if(b){K:{if((a|0)>=(n|0)){break K}d=t-a|0;L:{if((d|0)<1){d=0;f=b;break L}f=b-d|0;if((f|0)<1){break K}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break K}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&65043487;u=l[d>>1];u=(u<<16|u)&65043487;u=(p(m,v-u|0)>>>5|0)+u&65043487;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break J}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}o=o-(t<<1)|0;G=t+j[b+8>>2]|0;x=j[b+12>>2];while(1){n=0;while(1){d=e+2|0;n=k[e|0]+n|0;b=k[e+1|0];M:{if(b){N:{if((n|0)>=(G|0)){break N}e=t-n|0;O:{if((e|0)<1){e=0;a=b;break O}a=b-e|0;if((a|0)<1){break N}}q=e+n|0;y=G-q|0;H=(a|0)>(y|0)?y:a;if((H|0)<1){break N}a=d+(e<<1)|0;e=(q<<1)+o|0;J=k[f+30|0];B=j[(J<<2)+234976>>2];I=k[f+29|0];C=j[(I<<2)+234976>>2];K=k[f+28|0];A=j[(K<<2)+234976>>2];M=j[f+24>>2];y=k[f+34|0];E=k[f+33|0];v=k[f+32|0];q=0;while(1){D=l[a>>1];F=l[e>>1];z=k[A+((F&r)>>>v|0)|0];L=(p(m,k[A+((D&r)>>>v|0)|0]-z|0)>>>8|0)+z>>>K<>>E|0)|0];z=L|(p(m,k[C+((g&D)>>>E|0)|0]-z|0)>>>8|0)+z>>>I<>>y|0)|0];D=k[B+((u&F)>>>y|0)|0];i[e>>1]=z|(p(m,L-D|0)>>>8|0)+D>>>J<>2]|0;n=j[b+12>>2];while(1){o=0;while(1){d=e+2|0;o=k[e|0]+o|0;b=k[e+1|0];P:{if(b){Q:{if((o|0)>=(s|0)){break Q}e=t-o|0;R:{if((e|0)<1){e=0;a=b;break R}a=b-e|0;if((a|0)<1){break Q}}g=e+o|0;r=s-g|0;B=(a|0)>(r|0)?r:a;if((B|0)<1){break Q}a=d+p(e,3)|0;e=p(g,3)+q|0;g=0;while(1){C=k[f+28|0];A=j[(C<<2)+234976>>2];x=j[f+12>>2];r=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);u=k[f+32|0];y=k[A+((x&r)>>>u|0)|0];F=k[f+29|0];H=j[(F<<2)+234976>>2];D=j[f+16>>2];E=k[f+33|0];v=k[H+((D&r)>>>E|0)|0];I=k[f+30|0];K=j[(I<<2)+234976>>2];J=j[f+20>>2];z=J&r;r=k[f+34|0];G=k[K+(z>>>r|0)|0];z=x;x=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);r=j[f+24>>2]|y+(p(m,k[A+((z&x)>>>u|0)|0]-y|0)>>>8|0)>>>C<>>E|0)|0]-v|0)>>>8|0)>>>F<>>r|0)|0]-G|0)>>>8|0)>>>I<>>16;h[e+1|0]=r>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((B|0)!=(g|0)){continue}break}}o=b+o|0;e=d+p(b,3)|0;break P}e=d;if(!o){break b}}if((o|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b;case 2:break y;default:break b}}g=j[f+20>>2];a=j[f+16>>2];d=j[f+12>>2];if(!((g|(a|d))!=16777215|((g|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=o-(t<<2)|0;o=t+j[b+8>>2]|0;n=j[b+12>>2];if((m|0)!=128){break k}while(1){b=0;while(1){g=e+4|0;b=l[e>>1]+b|0;a=l[e+2>>1];S:{if(a){T:{if((b|0)>=(o|0)){break T}d=t-b|0;U:{if((d|0)<1){d=0;f=a;break U}f=a-d|0;if((f|0)<1){break T}}e=b+d|0;m=o-e|0;m=(f|0)>(m|0)?m:f;if((m|0)<1){break T}f=g+(d<<2)|0;d=(e<<2)+q|0;e=0;while(1){s=j[d>>2];r=j[f>>2];j[d>>2]=((s&16711422)+(r&16711422)>>>1|0)+(s&r&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}b=a+b|0;e=g+(a<<2)|0;break S}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b}o=o-(t<<2)|0;y=t+j[b+8>>2]|0;r=j[b+12>>2];while(1){s=0;while(1){d=e+4|0;s=l[e>>1]+s|0;b=l[e+2>>1];V:{if(b){W:{if((s|0)>=(y|0)){break W}e=t-s|0;X:{if((e|0)<1){e=0;a=b;break X}a=b-e|0;if((a|0)<1){break W}}g=e+s|0;q=y-g|0;D=(a|0)>(q|0)?q:a;if((D|0)<1){break W}a=d+(e<<2)|0;e=(g<<2)+o|0;F=k[f+30|0];E=j[(F<<2)+234976>>2];H=k[f+29|0];v=j[(H<<2)+234976>>2];J=k[f+28|0];G=j[(J<<2)+234976>>2];g=k[f+34|0];n=k[f+33|0];u=k[f+32|0];q=0;while(1){A=j[f+12>>2];x=j[e>>2];B=k[G+((A&x)>>>u|0)|0];I=j[f+16>>2];C=k[v+((I&x)>>>n|0)|0];K=j[f+20>>2];x=k[E+((K&x)>>>g|0)|0];z=A;A=j[a>>2];j[e>>2]=j[f+24>>2]|B+(p(m,k[G+((z&A)>>>u|0)|0]-B|0)>>>8|0)>>>J<>>n|0)|0]-C|0)>>>8|0)>>>H<>>g|0)|0]-x|0)>>>8|0)>>>F<>2]+o|0;r=r-1|0;if(r){continue}break}break b}if((m|0)==255){Y:{switch(q-1|0){case 0:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];Z:{if(e){Ge(d+o|0,b,e);d=d+e|0;e=b+e|0;break Z}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 1:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];_:{if(e){f=e<<1;Ge((d<<1)+o|0,b,f);d=d+e|0;e=b+f|0;break _}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 2:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];$:{if(e){f=p(e,3);Ge(p(d,3)+o|0,b,f);d=d+e|0;e=b+f|0;break $}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 3:break Y;default:break b}}a=j[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];aa:{if(e){f=e<<2;Ge((d<<2)+o|0,b,f);d=d+e|0;e=b+f|0;break aa}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b}ba:{switch(q-2|0){case 0:ca:{t=j[n+20>>2];d=j[n+16>>2];f=j[n+12>>2];a=t|(d|f);if((a|0)!=32767){if((a|0)!=65535|((t|0)!=2016?!((f|0)==2016|(d|0)==2016):0)){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];da:{if(q){d=(b<<1)+o|0;ea:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&2081)+((m&63454)+(a&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ea}fa:{if(!(g&3)){f=g;a=q;break fa}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&2081)+((f&63454)+(a&63454)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&136382497)+(e>>>1&2079292399)|0)+(m>>>1&2079292399);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ea}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&2081)+((d&63454)+(a&63454)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break da}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ga:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&132184095;m=l[d>>1];m=(m<<16|m)&132184095;m=(p(q,v-m|0)>>>5|0)+m&132184095;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ga}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}if((t|0)!=992?!((f|0)==992|(d|0)==992):0){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];ha:{if(q){d=(b<<1)+o|0;ia:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&1057)+((m&64478)+(a&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ia}ja:{if(!(g&3)){f=g;a=q;break ja}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&1057)+((f&64478)+(a&64478)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&69272609)+(e>>>1&2112847343)|0)+(m>>>1&2112847343);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ia}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&1057)+((d&64478)+(a&64478)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break ha}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ka:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&65043487;m=l[d>>1];m=(m<<16|m)&65043487;m=(p(q,v-m|0)>>>5|0)+m&65043487;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ka}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=k[e|0]+b|0;u=k[e+1|0];la:{if(u){e=(b<<1)+o|0;D=k[n+30|0];G=j[(D<<2)+234976>>2];F=k[n+29|0];x=j[(F<<2)+234976>>2];H=k[n+28|0];B=j[(H<<2)+234976>>2];J=j[n+24>>2];y=k[n+34|0];E=k[n+33|0];v=k[n+32|0];q=0;g=a;while(1){C=l[g>>1];A=l[e>>1];I=k[B+((A&f)>>>v|0)|0];z=J|(p(m,k[B+((C&f)>>>v|0)|0]-I|0)>>>8|0)+I>>>H<>>E|0)|0];z=z|(p(m,k[x+((d&C)>>>E|0)|0]-I|0)>>>8|0)+I>>>F<>>y|0)|0];C=k[G+((t&A)>>>y|0)|0];i[e>>1]=z|(p(m,I-C|0)>>>8|0)+C>>>D<>2];while(1){q=0;while(1){b=e+2|0;q=k[e|0]+q|0;d=k[e+1|0];ma:{if(d){e=p(q,3)+o|0;g=0;a=b;while(1){G=k[n+28|0];x=j[(G<<2)+234976>>2];v=j[n+12>>2];f=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);t=k[n+32|0];r=k[x+((v&f)>>>t|0)|0];C=k[n+29|0];A=j[(C<<2)+234976>>2];B=j[n+16>>2];u=k[n+33|0];y=k[A+((B&f)>>>u|0)|0];F=k[n+30|0];H=j[(F<<2)+234976>>2];D=j[n+20>>2];z=D&f;f=k[n+34|0];E=k[H+(z>>>f|0)|0];z=v;v=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);f=j[n+24>>2]|r+(p(m,k[x+((z&v)>>>t|0)|0]-r|0)>>>8|0)>>>G<>>u|0)|0]-y|0)>>>8|0)>>>C<>>f|0)|0]-E|0)>>>8|0)>>>F<>>16;h[e+1|0]=f>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}q=d+q|0;e=b+p(d,3)|0;break ma}e=b;if(!q){break b}}if((q|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;s=s-1|0;if(s){continue}break}break b;case 2:break ba;default:break b}}f=j[n+20>>2];a=j[n+16>>2];d=j[n+12>>2];if(!((f|(a|d))!=16777215|((f|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=j[b+12>>2];if((m|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];na:{if(b){d=(g<<2)+o|0;e=0;f=a;while(1){n=j[d>>2];m=j[f>>2];j[d>>2]=((n&16711422)+(m&16711422)>>>1|0)+(n&m&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<2)|0;break na}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;q=q-1|0;if(q){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=l[e>>1]+b|0;d=l[e+2>>1];oa:{if(d){e=(b<<2)+o|0;C=k[n+30|0];u=j[(C<<2)+234976>>2];A=k[n+29|0];y=j[(A<<2)+234976>>2];D=k[n+28|0];E=j[(D<<2)+234976>>2];f=k[n+34|0];t=k[n+33|0];s=k[n+32|0];q=0;g=a;while(1){B=j[n+12>>2];v=j[e>>2];G=k[E+((B&v)>>>s|0)|0];F=j[n+16>>2];x=k[y+((F&v)>>>t|0)|0];H=j[n+20>>2];v=k[u+((H&v)>>>f|0)|0];z=B;B=j[g>>2];j[e>>2]=j[n+24>>2]|G+(p(m,k[E+((z&B)>>>s|0)|0]-G|0)>>>8|0)>>>D<>>t|0)|0]-x|0)>>>8|0)>>>A<>>f|0)|0]-v|0)>>>8|0)>>>C<>2]+o|0;r=r-1|0;if(r){continue}break}break b}g=0;break i}n=0;while(1){b=e+4|0;n=l[e>>1]+n|0;d=l[e+2>>1];pa:{if(d){f=(n<<2)+o|0;a=0;e=b;while(1){g=j[e>>2];t=j[f>>2];s=t&16711935;v=(p(m,(g&16711935)-s|0)>>>8|0)+s&16711935;x=g&65280;g=t&65280;j[f>>2]=v|(p(m,x-g|0)>>>8|0)+g&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}n=d+n|0;e=b+(d<<2)|0;break pa}e=b;if(!n){break b}}if((n|0)!=(w|0)){continue}o=j[c+16>>2]+o|0;q=q-1|0;if(!q){break b}n=0;continue}}while(1){d=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];qa:{if(b){ra:{if((g|0)>=(o|0)){break ra}f=t-g|0;sa:{if((f|0)<1){f=0;e=b;break sa}e=b-f|0;if((e|0)<1){break ra}}a=f+g|0;s=o-a|0;s=(e|0)>(s|0)?s:e;if((s|0)<1){break ra}e=d+(f<<2)|0;f=(a<<2)+q|0;a=0;while(1){r=j[e>>2];u=j[f>>2];y=u&16711935;v=(p(m,(r&16711935)-y|0)>>>8|0)+y&16711935;x=r&65280;r=u&65280;j[f>>2]=v|(p(m,x-r|0)>>>8|0)+r&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((s|0)!=(a|0)){continue}break}}g=b+g|0;e=d+(b<<2)|0;break qa}e=d;if(!g){break b}}if((g|0)!=(w|0)){continue}q=j[c+16>>2]+q|0;n=n-1|0;if(!n){break b}g=0;continue}}if(k[c|0]&2){jg(c)}return 0}function Qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=oe-32|0;oe=g;b=j[a+40>>2];u=k[b+9|0];d=j[a+44>>2];o=0;a:{if(!j[d+24>>2]){break a}o=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];e=j[a>>2];s=j[a+28>>2];a=j[a+24>>2];b:{c:{f=(u|0)!=4;t=k[d+9|0];if(!(f|(t|0)!=4)){if(j[b>>2]==372711428|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;d:while(1){r=f;e:{f:{switch(n-1|0){default:a=0;break e;case 0:a=7;break e;case 1:a=6;break e;case 2:a=5;break e;case 3:a=4;break e;case 4:a=3;break e;case 5:a=2;break e;case 6:break f}}a=1}while(1){g:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=7;continue;default:break g}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;h:{if((r|0)>1){r=r-1|0;break h}c=c+x|0;e=e+y|0;s=a;if(a){continue d}break b}a=0;continue}}}if(!((t|0)!=3|f)){if(j[b>>2]==372711428){break c}hh(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!s){break b}o=a&7;f=(a+7|0)/8|0;i:while(1){r=f;j:{k:{switch(o-1|0){default:a=0;break j;case 0:a=7;break j;case 1:a=6;break j;case 2:a=5;break j;case 3:a=4;break j;case 4:a=3;break j;case 5:a=2;break j;case 6:break k}}a=1}while(1){l:{switch(a|0){case 0:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break l}}a=s-1|0;h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;m:{if((r|0)>1){r=r-1|0;break m}c=c+x|0;e=e+y|0;s=a;if(a){continue i}break b}a=0;continue}}}if((u|0)!=3|(t|0)!=4|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;n:while(1){r=f;o:{p:{switch(n-1|0){default:a=0;break o;case 0:a=7;break o;case 1:a=6;break o;case 2:a=5;break o;case 3:a=4;break o;case 4:a=3;break o;case 5:a=2;break o;case 6:break p}}a=1}while(1){q:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=7;continue;default:break q}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;r:{if((r|0)>1){r=r-1|0;break r}c=c+x|0;e=e+y|0;s=a;if(a){continue n}break b}a=0;continue}}}if(!s){break b}z=a&7;A=(a+7|0)/8|0;v=u-1|0;w=t-1|0;while(1){r=A;s:{t:{switch(z-1|0){default:a=7;break s;case 0:a=6;break s;case 1:a=5;break s;case 2:a=4;break s;case 3:a=3;break s;case 4:a=2;break s;case 5:a=1;break s;case 6:break t}}a=0}while(1){u:{v:{switch(a|0){case 0:a=0;m=0;f=0;w:{x:{y:{switch(v|0){case 0:f=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;z:{A:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break z;case 3:break A;default:break z}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:a=(k[b+34|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break B}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0}m=k[a|0];a=k[f|0];f=k[n|0]}p=a&255;q=m&255;n=f;E:{F:{switch(w|0){case 0:h[c|0]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=a;h[(k[d+34|0]>>>3|0)+c|0]=m;break E;case 3:break F;default:break E}}j[c>>2]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break H;case 3:break I;default:break G}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;J:{K:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break J;case 3:break K;default:break J}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break M;case 3:break N;default:break L}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;O:{P:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break O;case 3:break P;default:break O}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;T:{U:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break T;case 3:break U;default:break T}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break W;case 3:break X;default:break V}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;Y:{Z:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break Y;case 3:break Z;default:break Y}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break $;case 3:break aa;default:break _}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;ba:{ca:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break ba;case 3:break ca;default:break ba}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break ea;case 3:break fa;default:break da}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;ga:{ha:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break ga;case 3:break ha;default:break ga}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];p=j[b+24>>2]^-1;q=p&j[a+56>>2];y=j[a+36>>2];e=j[a+20>>2];z=j[a+16>>2];d=j[a>>2];u=j[a+28>>2];f=j[a+24>>2];a:{r=j[b>>2];c=j[a+44>>2];a=j[c>>2];if((r|0)==(a|0)){a=mP(r-372645892|0,12);if(!u|(a>>>0>5|!(1<>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}a=u-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=f-1|0;break f}e=e+y|0;d=d+z|0;u=a;if(a){continue b}break a}a=0;continue}}}s=k[c+9|0];t=k[b+9|0];g:{if(!((a|0)==372711428|(r|0)==372711428|(s|0)!=4)){if((t|0)==4){break g}}if(!u){break a}A=f&7;x=(f+7|0)/8|0;v=t-1|0;w=s-1|0;while(1){r=x;h:{i:{switch(A-1|0){default:a=7;break h;case 0:a=6;break h;case 1:a=5;break h;case 2:a=4;break h;case 3:a=3;break h;case 4:a=2;break h;case 5:a=1;break h;case 6:break i}}a=0}while(1){j:{k:{switch(a|0){case 0:a=0;n=0;f=0;g=0;m=0;l:{m:{switch(v|0){case 0:a=k[d|0];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break l;case 3:break m;default:break l}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}n:{if((a&p)==(q|0)){break n}o:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break p;case 3:break q;default:break p}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}r:{if((a&p)==(q|0)){break r}s:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break t;case 3:break u;default:break t}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}v:{if((a&p)==(q|0)){break v}w:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break x;case 3:break y;default:break x}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}z:{if((a&p)==(q|0)){break z}A:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break B;case 3:break C;default:break B}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}D:{if((a&p)==(q|0)){break D}E:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break F;case 3:break G;default:break F}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}H:{if((a&p)==(q|0)){break H}I:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break J;case 3:break K;default:break J}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}L:{if((a&p)==(q|0)){break L}M:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break N;case 3:break O;default:break N}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}P:{if((a&p)==(q|0)){break P}Q:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}a=u-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=f-1|0;break V}e=e+y|0;d=d+z|0;u=a;if(a){continue R}break a}a=0;continue}}}oe=o+16|0}function Ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+40>>2];o=j[b+24>>2]^-1;q=o&j[a+56>>2];u=j[a+36>>2];i=j[a+20>>2];v=j[a+16>>2];c=j[a>>2];s=j[a+28>>2];f=j[a+24>>2];n=k[b+9|0];r=j[a+48>>2];a:{if(r){if(!s){break a}w=f&7;t=(f+7|0)/8|0;p=n-1|0;while(1){f=t;b:{c:{switch(w-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;d=0;e=0;g=0;f:{g:{h:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}a=s-1|0;c=c+n|0;i=i+1|0;if((f|0)<=1){break d}f=f-1|0;a=7;continue;default:break e}}a=0;e=0;g=0;d=0;A:{B:{C:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 2:d=(k[b+34|0]>>>3|0)+c|0;g=(k[b+33|0]>>>3|0)+c|0;e=(k[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}d=k[d|0];e=k[e|0];g=k[g|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}break a}if(!s){break a}m=f&7;r=(f+7|0)/8|0;p=n-1|0;while(1){t=r;D:{E:{switch(m-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;d=0;e=0;H:{I:{J:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}a=s-1|0;c=c+n|0;i=i+1|0;if((t|0)<=1){break F}t=t-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 2:f=(k[b+34|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;d=(k[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}f=k[f|0];d=k[d|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}}}function vr(a,b){var c=0,d=0,e=0,f=0,g=0,l=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;u=oe-32|0;oe=u;y=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c|!j[a>>2]){break a}n=-5;x=(b|0)==4?-5:0;while(1){b=1;w=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(j[c>>2]){case 0:b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;b=k[b|0];j[c+4>>2]=b;c=j[a+28>>2];if((b&15)!=8){j[c>>2]=13;j[a+24>>2]=126728;break c}if(m[c+16>>2]<(j[c+4>>2]>>>4|0)+8>>>0){j[c>>2]=13;j[a+24>>2]=126755;break c}j[c>>2]=1;n=x;case 1:b=n;e=j[a+4>>2];if(!e){break e}b=e-1|0;j[a+4>>2]=b;j[a+8>>2]=j[a+8>>2]+1;e=j[a>>2];j[a>>2]=e+1;e=k[e|0];if(((e|j[c+4>>2]<<8)>>>0)%31|0){j[c>>2]=13;j[a+24>>2]=126775;break c}if(!(e&32)){j[c>>2]=7;break b}j[c>>2]=2;n=x;break o;case 8:break i;case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 3:break n;case 2:break p;case 13:break d;case 12:break e;case 11:break f;case 10:break g;case 9:break h;default:break a}}b=j[a+4>>2]}y=n;if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=3;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=4;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=5;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=a;a=j[a+28>>2];j[b+48>>2]=j[a+8>>2];j[a>>2]=6;y=2;break a}j[c>>2]=13;j[a+24>>2]=126798;j[c+4>>2]=0;break a}d=j[c+20>>2];q=j[d+52>>2];b=j[d+48>>2];q:{if(q>>>0>>0){b=b+(q^-1)|0;break q}b=j[d+44>>2]-q|0}o=j[a+4>>2];e=j[a>>2];f=j[d+28>>2];g=j[d+32>>2];B=d+20|0;A=d+16|0;r:{while(1){s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{c=j[d>>2];if((c|0)!=2){S:{T:{switch(c|0){case 5:b=j[d+8>>2];break D;case 3:if(f>>>0<=13){break R}l=f;c=e;break K;case 1:if(f>>>0<=31){break S}l=f;c=e;break x;case 8:break A;case 7:break B;case 6:break C;case 9:break P;case 4:break Q;case 0:break T;default:break M}}U:{V:{W:{X:{Y:{if(f>>>0>2){l=f;c=e;break Y}if(!o){break X}o=o-1|0;l=f+8|0;g=k[e|0]<>2]=g&1;switch((g>>>1&3)-1|0){case 2:break U;case 1:break V;case 0:break W;default:break O}}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}e=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(!e){j[d+32>>2]=g;j[d+4>>2]=0;j[d+28>>2]=l;break H}j[e+24>>2]=131200;j[e+20>>2]=127104;i[e+16>>1]=1289;j[e>>2]=0;j[d+4>>2]=e;f=l-3|0;g=g>>>3|0;l=6;break N}f=l-3|0;g=g>>>3|0;l=3;break N}j[d>>2]=9;j[a+24>>2]=126835;j[d+28>>2]=l-3;j[d+32>>2]=g>>>3;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}if(o){break y}break w}if(!o){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b){c=q;break z}Z:{if(j[d+44>>2]!=(q|0)){c=q;break Z}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break Z}b=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(b){break z}}j[d+52>>2]=c;r=Cf(d,a,n);n=j[d+52>>2];l=j[d+48>>2];_:{if(n>>>0>>0){c=j[d+44>>2];b=l+(n^-1)|0;break _}c=j[d+44>>2];b=c-n|0}$:{if((c|0)!=(n|0)){c=n;break $}c=j[d+40>>2];if((l|0)==(c|0)){c=n;break $}b=c>>>0>>0?l+(c^-1)|0:n-c|0}if(b){break z}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;w=Cf(d,a,r);break r}if(o){break L}break J}b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){break F}break E}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}e=l-3|0;g=g>>>3>>>(e&7)|0;f=e&-8;l=1}e=c;j[d>>2]=l;continue}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,-2);break r}aa:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=6){break aa}f=l;e=c;if(o){continue}break}n=0;break J}n=0}j[d+4>>2]=g&16383;b=g&31;if(b>>>0<=29){e=g>>>5&31;if(e>>>0<30){break I}}j[d>>2]=9;j[a+24>>2]=126883;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}b=qe[j[a+32>>2]](j[a+40>>2],(b+e|0)+258|0,4)|0;j[d+12>>2]=b;if(b){break G}j[d+28>>2]=l;j[d+32>>2]=g}j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;w=Cf(d,a,-4);break r}j[d>>2]=4;b=0;j[d+8>>2]=0;f=l-14|0;g=g>>>14|0;e=c}while(1){ba:{if(f>>>0<=2){if(!o){break ba}o=o-1|0;g=k[e|0]<>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+126928>>2]<<2)>>2]=g&7;f=f-3|0;g=g>>>3|0;b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){continue}break E}break}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b>>>0<19){while(1){j[d+8>>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+126928>>2]<<2)>>2]=0;b=j[d+8>>2];if(b>>>0<19){continue}break}}j[d+16>>2]=7;c=j[d+12>>2];l=j[d+36>>2];j[u+28>>2]=0;ca:{b=qe[j[a+32>>2]](j[a+40>>2],19,4)|0;da:{if(!b){c=-4;break da}s=131456;ea:{fa:{ga:{ha:{ia:{c=pm(c,19,19,0,0,B,A,l,u+28|0,b);switch(c+5|0){case 2:break ga;case 0:break ha;default:break ia}}if(j[A>>2]){break fa}}s=131496}j[a+24>>2]=s;qe[j[a+36>>2]](j[a+40>>2],b);break ea}qe[j[a+36>>2]](j[a+40>>2],b);if(!c){break ca}if((c|0)!=-3){break da}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;c=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,c);break r}j[d>>2]=5;j[d+8>>2]=0;b=0}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(b>>>0

>>0){while(1){ja:{ka:{la:{t=j[A>>2];ma:{if(t>>>0<=f>>>0){c=f;r=e;l=o;break ma}c=f;s=e;l=o;if(!o){break la}na:{while(1){r=s+1|0;l=l-1|0;g=k[s|0]<>>0<=c>>>0){break na}s=r;if(l){continue}break}n=0;break la}n=0}e=j[B>>2]+((j[(t<<2)+127008>>2]&g)<<3)|0;t=k[e+1|0];v=j[e+4>>2];if(v>>>0>15){break ka}j[d+8>>2]=b+1;j[j[d+12>>2]+(b<<2)>>2]=v;f=c-t|0;g=g>>>t|0;b=j[d+8>>2];e=r;o=l;break ja}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}oa:{pa:{C=(v|0)==18;z=C?7:v-14|0;D=z+t|0;qa:{if(D>>>0<=c>>>0){f=c;e=r;o=l;break qa}f=c;s=r;o=l;if(!o){break pa}ra:{while(1){e=s+1|0;o=o-1|0;g=k[s|0]<>>0<=f>>>0){break ra}s=e;if(o){continue}break}n=0;break pa}n=0}f=(f-t|0)-z|0;c=g>>>t|0;g=c>>>z|0;c=(c&j[(z<<2)+127008>>2])+(C?11:3)|0;if((v|0)!=16|b?c+b>>>0<=p>>>0:0){break oa}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;j[a+24>>2]=127076;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}j[d+32>>2]=g;j[d+28>>2]=(l<<3)+c;j[a+4>>2]=0;b=j[a>>2];c=l+r|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}l=0;l=(v|0)==16?j[(j[d+12>>2]+(b<<2)|0)-4>>2]:l;while(1){j[j[d+12>>2]+(b<<2)>>2]=l;b=b+1|0;c=c-1|0;if(c){continue}break}j[d+8>>2]=b}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(p>>>0>b>>>0){continue}break}}j[d+20>>2]=0;j[u+24>>2]=9;j[u+20>>2]=6;r=j[d+36>>2];v=j[d+12>>2];j[u+28>>2]=0;sa:{ta:{ua:{b=qe[j[a+32>>2]](j[a+40>>2],288,4)|0;va:{if(!b){b=-4;break va}t=131788;wa:{xa:{ya:{za:{Aa:{z=c+257|0;s=pm(v,z,257,131536,131664,u+16|0,u+24|0,r,u+28|0,b);switch(s+4|0){case 0:break wa;case 1:break ya;case 4:break Aa;default:break za}}t=j[u+24>>2];if(t){break xa}}t=131823}j[a+24>>2]=t;s=-3;break wa}p=132104;Ba:{Ca:{Da:{Ea:{Fa:{Ga:{s=pm(v+(z<<2)|0,l+1|0,0,131856,131984,u+12|0,u+20|0,r,u+28|0,b);switch(s+5|0){case 1:break Ba;case 2:break Ca;case 0:break Da;case 5:break Ga;default:break Fa}}l=j[u+20>>2];if(l|!c){break Ea}}p=132158;break Ca}qe[j[a+36>>2]](j[a+40>>2],b);break ua}p=132133}j[a+24>>2]=p;s=-3}}qe[j[a+36>>2]](j[a+40>>2],b);b=-4;Ha:{switch(s+3|0){case 3:break ua;case 0:break Ha;default:break va}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;b=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);j[d+52>>2]=q;break ta}c=j[u+12>>2];r=j[u+16>>2];b=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(b){j[b+24>>2]=c;j[b+20>>2]=r;h[b+17|0]=l;h[b+16|0]=t;j[b>>2]=0;j[d+4>>2]=b;b=n;c=1;break sa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=-4}w=Cf(d,a,b);c=0}if(!c){break r}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=6;n=b}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;p=j[d+4>>2];b=j[d+48>>2];Ia:{if(b>>>0>q>>>0){l=b+(q^-1)|0;break Ia}l=j[d+44>>2]-q|0}b=j[p>>2];Ja:{while(1){Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{switch(b|0){case 1:t=j[p+12>>2];break cb;case 3:t=j[p+12>>2];break Na;case 5:c=j[p+12>>2];break Oa;case 9:break Ya;case 8:break Za;case 7:break _a;case 6:break $a;case 4:break ab;case 2:break bb;case 0:break db;default:break Xa}}j[p>>2]=1;t=k[p+16|0];j[p+12>>2]=t;j[p+8>>2]=j[p+20>>2]}if(f>>>0>=t>>>0){b=f;s=e;c=o;break Qa}b=f;r=e;c=o;if(c){break Ra}break Ka}v=j[p+8>>2];if(v>>>0<=f>>>0){b=f;break Sa}b=f;r=e;c=o;if(c){break Ta}break Ka}t=j[p+8>>2];if(t>>>0<=f>>>0){b=f;break Ua}b=f;r=e;c=o;if(c){break Va}break Ka}if(l){c=q;break Wa}eb:{if(j[d+44>>2]!=(q|0)){c=q;break eb}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break eb}l=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(l){break Wa}}j[d+52>>2]=c;r=Cf(d,a,n);b=j[d+52>>2];n=j[d+48>>2];fb:{if(b>>>0>>0){c=j[d+44>>2];l=n+(b^-1)|0;break fb}c=j[d+44>>2];l=c-b|0}gb:{if((b|0)!=(c|0)){c=b;break gb}c=j[d+40>>2];if((n|0)==(c|0)){c=b;break gb}l=c>>>0>>0?n+(c^-1)|0:b-c|0}if(l){break Wa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,r);break Ja}j[d+52>>2]=q;b=f>>>0>7;e=b?e-1|0:e;f=b?f-8|0:f;o=b+o|0;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);b=Cf(d,a,b);break Ja}j[p>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,1);break Ja}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break Ma}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,-2);break Ja}h[c|0]=j[p+8>>2];b=0;j[p>>2]=0;l=l-1|0;q=c+1|0;n=0;continue}hb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break hb}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=5;c=j[p+12>>2]+(j[(t<<2)+127008>>2]&g)|0;j[p+12>>2]=c;f=b-t|0;g=g>>>t|0;break Oa}ib:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break ib}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=3;t=k[p+17|0];j[p+12>>2]=t;j[p+8>>2]=j[p+24>>2];j[p+4>>2]=j[p+4>>2]+(j[(v<<2)+127008>>2]&g);f=b-v|0;g=g>>>v|0;break Na}jb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break jb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;b=j[p+8>>2]+((j[(t<<2)+127008>>2]&g)<<3)|0;e=k[b+1|0];f=f-e|0;g=g>>>e|0;e=k[b|0];kb:{if(!e){b=j[b+4>>2];j[p>>2]=6;j[p+8>>2]=b;b=6;break kb}if(e&16){j[p+8>>2]=e&15;b=j[b+4>>2];j[p>>2]=2;j[p+4>>2]=b;b=2;break kb}if(!(e&64)){j[p+12>>2]=e;j[p+8>>2]=b+(j[b+4>>2]<<3);b=1;break kb}if(!(e&32)){break Pa}j[p>>2]=7;b=7}e=s;o=c;continue}j[p>>2]=9;j[a+24>>2]=132191;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0);break Ma}b=q-c|0;c=j[d+40>>2];if(b>>>0>>0){r=j[d+44>>2]-c|0;while(1){b=b+r|0;if(c>>>0>b>>>0){continue}break}}if(j[p+4>>2]){while(1){lb:{if(l){c=q;break lb}mb:{if(j[d+44>>2]!=(q|0)){c=q;break mb}c=j[d+40>>2];l=j[d+48>>2];if((c|0)==(l|0)){c=q;break mb}l=c>>>0>>0?l+(c^-1)|0:q-c|0;if(l){break lb}}j[d+52>>2]=c;s=Cf(d,a,n);n=j[d+52>>2];r=j[d+48>>2];nb:{if(n>>>0>>0){c=j[d+44>>2];l=r+(n^-1)|0;break nb}c=j[d+44>>2];l=c-n|0}ob:{if((c|0)!=(n|0)){c=n;break ob}c=j[d+40>>2];if((r|0)==(c|0)){c=n;break ob}l=c>>>0>>0?r+(c^-1)|0:n-c|0}if(l){break lb}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,s);break Ja}h[c|0]=k[b|0];b=b+1|0;if((b|0)==j[d+44>>2]){b=j[d+40>>2]}l=l-1|0;q=c+1|0;c=j[p+4>>2]-1|0;j[p+4>>2]=c;n=0;if(c){continue}break}}b=0;j[p>>2]=0;continue}pb:{if(f>>>0>=t>>>0){b=f;s=e;c=o;break pb}b=f;r=e;c=o;if(!c){break Ka}qb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break qb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;r=j[p+8>>2];o=j[(t<<2)+127008>>2]&g;e=r+(o<<3)|0;b=k[e+1|0];f=f-b|0;g=g>>>b|0;b=k[e|0];if(b&16){j[p+8>>2]=b&15;e=j[e+4>>2];b=4;j[p>>2]=4;j[p+12>>2]=e;break La}if(!(b&64)){j[p+12>>2]=b;b=3;j[p+8>>2]=e+(j[(r+(o<<3)|0)+4>>2]<<3);break La}j[p>>2]=9;j[a+24>>2]=132219;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0)}j[d+52>>2]=q;b=Cf(d,a,-3);break Ja}e=s;o=c;continue}break}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;b=Cf(d,a,n)}if((b|0)!=1){w=Cf(d,a,b);break r}qe[j[a+36>>2]](j[a+40>>2],j[d+4>>2]);q=j[d+52>>2];b=j[d+48>>2];rb:{if(q>>>0>>0){b=b+(q^-1)|0;break rb}b=j[d+44>>2]-q|0}f=j[d+28>>2];g=j[d+32>>2];o=j[a+4>>2];e=j[a>>2];if(!j[d+24>>2]){n=0;j[d>>2]=0;continue}j[d>>2]=7;n=0}j[d+52>>2]=q;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);w=Cf(d,a,b);break r}j[d>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,1);break r}n=c;c=j[d+4>>2];c=c>>>0>o>>>0?o:c;c=b>>>0>>0?b:c;n=Ae(n,e,c);l=j[d+4>>2]-c|0;j[d+4>>2]=l;b=b-c|0;q=c+n|0;o=o-c|0;e=c+e|0;n=0;if(l){continue}j[d>>2]=j[d+24>>2]?7:0;continue}sb:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=24){break sb}f=l;e=c;if(o){continue}break}n=0;break w}n=0}e=(g^-1)>>>16|0;if((e|0)==(g&65535)){break v}j[d>>2]=9;j[a+24>>2]=126854;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}j[d+4>>2]=e;if(e){g=0;l=2;break t}g=0;l=j[d+24>>2]?7:0;break t}j[d+52>>2]=q;w=Cf(d,a,-3);break r}f=0;e=c;j[d>>2]=l;continue}break}j[d+52>>2]=q;w=Cf(d,a,n)}b=x;tb:{switch(w+3|0){case 0:b=j[a+28>>2];j[b>>2]=13;j[b+4>>2]=0;n=-3;c=j[a+28>>2];continue;case 4:break tb;case 3:break e;default:break d}}b=j[a+28>>2];c=j[b+20>>2];j[b+4>>2]=j[c+60>>2];b=j[c>>2];if((b&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];if(b){b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b}c=j[a+28>>2];if(j[c+12>>2]){j[c>>2]=12;break b}j[c>>2]=8;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=9;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=10;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=11;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=j[a+28>>2];if(j[b+4>>2]!=j[b+8>>2]){j[b>>2]=13;j[a+24>>2]=126814;j[b+4>>2]=5;break b}j[b>>2]=12;y=1;break a}y=b;break a}y=w;break a}j[c+4>>2]=5}c=j[a+28>>2];n=x;continue}}oe=u+32|0;return y}function Bz(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;var h=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;E=g^255;a:{b:{c:{d:{e:{f:{g:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break e;case 0:break g;default:break f}}h:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break h;default:break d}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;g=j[b+8>>2];D=g&3;b=(g+3|0)/4|0;z=n-g<<1;i:while(1){j:{k:{l:{m:{n:{switch(D-1|0){case 0:q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];t=k[h+30|0];w=k[h+33|0];s=j[h+16>>2];y=k[h+29|0];n=k[h+32|0];u=j[h+12>>2];o=k[h+28|0];x=b;break k;case 1:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break l;case 2:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break m;default:break n}}t=k[h+30|0];Z=j[(t<<2)+234976>>2];y=k[h+29|0];_=j[(y<<2)+234976>>2];o=k[h+28|0];$=j[(o<<2)+234976>>2];q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];w=k[h+33|0];s=j[h+16>>2];n=k[h+32|0];u=j[h+12>>2];x=b;m=0;break j}m=1;break j}m=2;break j}m=3}while(1){o:{switch(m|0){case 0:g=l[a>>1];N=w&255;J=y&255;O=n&255;F=o&255;B=v&255;I=t&255;i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>2];A=l[a>>1];G=w&255;H=((p(k[_+((A&s)>>>G|0)|0],E)>>>0)/255|0)+e>>>m<>2];G=n&255;L=H|((p(k[$+((u&A)>>>G|0)|0],E)>>>0)/255|0)+d>>>m<>2];H=r&A;A=v&255;i[a>>1]=L|((p(k[Z+(H>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){x=x-1|0;break p}a=a+z|0;C=g;if(g){continue i}break a}m=0;continue}}}c=Be(4);break a}q:{switch(c-1|0){case 0:c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];x=g&3;b=(g+3|0)/4|0;z=n-g<<2;r:while(1){s:{t:{u:{v:{w:{switch(x-1|0){case 0:q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];n=k[h+28|0];o=b;break t;case 1:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break u;case 2:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break v;default:break w}}r=k[h+30|0];aa=j[(r<<2)+234976>>2];u=k[h+29|0];ba=j[(u<<2)+234976>>2];n=k[h+28|0];ca=j[(n<<2)+234976>>2];q=k[h+34|0];s=k[h+33|0];v=k[h+32|0];o=b;m=0;break s}m=1;break s}m=2;break s}m=3}while(1){x:{switch(m|0){case 0:g=j[a>>2];w=s&255;K=u&255;t=v&255;P=n&255;y=q&255;G=r&255;j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];A=j[a>>2];C=s&255;B=((p(k[ba+((A&j[h+16>>2])>>>C|0)|0],E)>>>0)/255|0)+e>>>m<>2];C=v&255;H=j[h+24>>2]|(B|((p(k[ca+((A&j[h+12>>2])>>>C|0)|0],E)>>>0)/255|0)+d>>>m<>2];B=A&j[h+20>>2];A=q&255;j[a>>2]=H|((p(k[aa+(B>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){o=o-1|0;break y}a=a+z|0;D=g;if(g){continue r}break a}m=0;continue}};default:c=0;w=j[b+12>>2];if(!w){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<2;z:while(1){A:{B:{C:{D:{E:{switch(o-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];s=k[h+29|0];u=k[h+32|0];v=k[h+28|0];t=b;break B;case 1:s=k[h+29|0];r=k[h+33|0];v=k[h+28|0];u=k[h+32|0];oa=e>>>s<>>v<>>q<>>s<>>v<>>q<>>q<>>s<>>v<>2]=pa|(oa|j[h+24>>2]);g=g+4|0;a=1;continue;case 1:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=2;continue;case 2:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=3;continue;default:break F}}a=w-1|0;j[g>>2]=j[h+24>>2]|(e>>>s<>>v<>>q<1){t=t-1|0;break G}g=g+n|0;w=a;if(a){continue z}break a}a=0;continue}};case 3:c=0;A=j[b+12>>2];if(!A){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];x=a&3;b=(a+3|0)/4|0;D=n-a<<2;H:while(1){I:{J:{K:{L:{M:{switch(x-1|0){case 0:s=k[h+34|0];u=k[h+30|0];v=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break J;case 1:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break K;case 2:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break L;default:break M}}u=k[h+30|0];da=j[(u<<2)+234976>>2];t=k[h+29|0];ea=j[(t<<2)+234976>>2];y=k[h+28|0];C=j[(y<<2)+234976>>2];s=k[h+34|0];v=k[h+33|0];w=k[h+32|0];n=b;a=0;break I}a=1;break I}a=2;break I}a=3}while(1){N:{switch(a|0){case 0:a=j[g>>2];q=v&255;R=t&255;m=w&255;S=y&255;r=s&255;Q=u&255;j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];o=j[g>>2];C=v&255;B=(p(k[ea+((o&j[h+16>>2])>>>C|0)|0],e)>>>0)/255>>>z<>2];I=w&255;H=j[h+24>>2]|(B|(p(k[C+((o&j[h+12>>2])>>>I|0)|0],d)>>>0)/255>>>z<>2];B=o&j[h+20>>2];o=s&255;j[g>>2]=H|(p(k[da+(B>>>o|0)|0],f)>>>0)/255>>>z<1){n=n-1|0;break O}g=g+D|0;A=a;if(a){continue H}break a}a=0;continue}};case 1:break q}}c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];A=a&3;b=(a+3|0)/4|0;x=n-a<<2;P:while(1){Q:{R:{S:{T:{U:{switch(A-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break R;case 1:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break S;case 2:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break T;default:break U}}q=k[h+30|0];fa=j[(q<<2)+234976>>2];t=k[h+29|0];ga=j[(t<<2)+234976>>2];y=k[h+28|0];ha=j[(y<<2)+234976>>2];m=k[h+34|0];r=k[h+33|0];w=k[h+32|0];n=b;a=0;break Q}a=1;break Q}a=2;break Q}a=3}while(1){V:{switch(a|0){case 0:a=j[g>>2];u=r&255;o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;U=t&255;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;V=y&255;v=m&255;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;T=q&255;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=j[g>>2];C=r&255;I=k[ga+((o&j[h+16>>2])>>>C|0)|0]+e|0;B=(I>>>0<255?I:255)>>>z<>2];C=w&255;I=k[ha+((o&j[h+12>>2])>>>C|0)|0]+d|0;H=j[h+24>>2]|(B|(I>>>0<255?I:255)>>>z<>2];B=o&j[h+20>>2];o=m&255;C=k[fa+(B>>>o|0)|0]+f|0;j[g>>2]=H|(C>>>0<255?C:255)>>>z<1){n=n-1|0;break W}g=g+x|0;D=a;if(a){continue P}break a}a=0;continue}}}c=0;y=j[b+12>>2];if(!y){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<1;X:while(1){Y:{Z:{_:{$:{aa:{switch(o-1|0){case 0:m=j[h+24>>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;break Z;case 1:m=j[h+24>>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;a=0;break Y}a=1;break Y}a=2;break Y}a=3}while(1){ba:{switch(a|0){case 0:qa=e>>>u<>>t<>>r<>1]=qa;g=g+2|0;a=1;continue;case 1:i[g>>1]=qa;g=g+2|0;a=2;continue;case 2:i[g>>1]=qa;g=g+2|0;a=3;continue;default:break ba}}a=y-1|0;i[g>>1]=e>>>u<>>t<>>r<1){w=w-1|0;break ca}g=g+n|0;y=a;if(a){continue X}break a}a=0;continue}}}c=0;B=j[b+12>>2];if(!B){break a}t=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(t,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];C=a&3;b=(a+3|0)/4|0;I=t-a<<1;da:while(1){ea:{fa:{ga:{ha:{ia:{switch(C-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];z=k[h+28|0];A=b;break fa;case 1:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ga;case 2:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ha;default:break ia}}v=k[h+30|0];ia=j[(v<<2)+234976>>2];w=k[h+29|0];ja=j[(w<<2)+234976>>2];z=k[h+28|0];ka=j[(z<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];A=b;a=0;break ea}a=1;break ea}a=2;break ea}a=3}while(1){ja:{switch(a|0){case 0:a=l[g>>1];o=t&255;X=w&255;n=y&255;M=z&255;x=u&255;W=v&255;i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>2];D=l[g>>1];F=t&255;H=(p(k[ja+((D&r)>>>F|0)|0],e)>>>0)/255>>>J<>2];F=y&255;L=H|(p(k[ka+((s&D)>>>F|0)|0],d)>>>0)/255>>>J<>2];H=q&D;D=u&255;i[g>>1]=L|(p(k[ia+(H>>>D|0)|0],f)>>>0)/255>>>J<1){A=A-1|0;break ka}g=g+I|0;B=a;if(a){continue da}break a}a=0;continue}}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];I=a&3;b=(a+3|0)/4|0;J=n-a<<1;la:while(1){ma:{na:{oa:{pa:{qa:{switch(I-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];n=k[h+28|0];o=b;break na;case 1:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break oa;case 2:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break pa;default:break qa}}v=k[h+30|0];la=j[(v<<2)+234976>>2];w=k[h+29|0];ma=j[(w<<2)+234976>>2];n=k[h+28|0];na=j[(n<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];o=b;a=0;break ma}a=1;break ma}a=2;break ma}a=3}while(1){ra:{switch(a|0){case 0:a=l[g>>1];A=t&255;x=k[((a&r)>>>A|0)+ma|0]+e|0;L=w&255;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;H=n&255;D=u&255;a=k[((a&q)>>>D|0)+la|0]+f|0;Y=v&255;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>2];x=l[g>>1];G=t&255;K=k[ma+((x&r)>>>G|0)|0]+e|0;B=(K>>>0<255?K:255)>>>F<>2];G=y&255;K=k[na+((s&x)>>>G|0)|0]+d|0;M=B|(K>>>0<255?K:255)>>>F<>2];B=q&x;x=u&255;G=k[la+(B>>>x|0)|0]+f|0;i[g>>1]=M|(G>>>0<255?G:255)>>>F<1){o=o-1|0;break sa}g=g+J|0;C=a;if(a){continue la}break a}a=0;continue}}}return c|0}function Rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=j[a+36>>2];i=j[a+20>>2];s=j[a+16>>2];e=j[a>>2];p=j[a+28>>2];d=j[a+24>>2];b=j[a+40>>2];m=k[b+9|0];n=j[a+48>>2];a:{if(n){if(!p){break a}t=d&7;c=(d+7|0)/8|0;o=m-1|0;while(1){q=c;b:{c:{switch(t-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;g=0;d=0;f:{g:{h:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;g=0;d=0;i:{j:{k:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;g=0;d=0;l:{m:{n:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;g=0;d=0;o:{p:{q:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;g=0;d=0;r:{s:{t:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;g=0;d=0;u:{v:{w:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;g=0;d=0;x:{y:{z:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}f=p-1|0;h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;if((q|0)<=1){break d}q=q-1|0;a=7;continue;default:break e}}g=0;d=0;a=0;A:{B:{C:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+32|0]>>>3|0)+e|0;d=(k[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0}a=k[a|0];g=k[g|0];d=k[d|0]}h[i|0]=k[n+(d>>>3&28|g&224|(a&192)>>>6)|0];e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=f;if(f){continue}break}break a}if(!p){break a}o=d&7;q=(d+7|0)/8|0;n=m-1|0;while(1){d=q;D:{E:{switch(o-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;g=0;H:{I:{J:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;g=0;K:{L:{M:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;g=0;N:{O:{P:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;g=0;Q:{R:{S:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;g=0;T:{U:{V:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;g=0;W:{X:{Y:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;g=0;Z:{_:{$:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}c=p-1|0;h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;if((d|0)<=1){break F}d=d-1|0;a=7;continue;default:break G}}f=0;g=0;a=0;aa:{ba:{ca:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];f=k[c|0];g=k[g|0]}h[i|0]=g>>>3&28|f&224|(a&192)>>>6;e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=c;if(c){continue}break}}}function qy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;a:{w=j[a+28>>2];if(!w){break a}m=k[a+63|0];u=j[a+56>>2];y=j[a+36>>2];z=j[a+16>>2];v=j[j[j[a+40>>2]+4>>2]+4>>2];b=j[a+44>>2];g=b;d=j[a+24>>2];A=d&7;B=(d+7|0)/8|0;r=j[a>>2];a=j[a+20>>2];t=k[b+9|0];s=t-1|0;b:while(1){x=B;c:{d:{switch(A-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:d=k[r|0];f:{if((d|0)==(u|0)){break f}d=(d<<2)+v|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(s|0){case 0:c=k[a|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;i:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break f;case 3:break i;default:break f}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;m:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break j;case 3:break m;default:break j}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;q:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break n;case 3:break q;default:break n}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;u:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break r;case 3:break u;default:break r}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;y:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break v;case 3:break y;default:break v}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;C:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break z;case 3:break C;default:break z}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;G:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break D;case 3:break G;default:break D}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;K:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break H;case 3:break K;default:break H}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<1){x=x-1|0;break L}a=a+y|0;r=r+z|0;w=d;if(d){continue b}break a}d=0;continue}}}}function ml(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;l=oe-288|0;oe=l;a:{if(!a){j[l>>2]=65335;i=ve(65309,l);break a}Oe(a,0,84);b:{c:{d:{e:{if((b|0)<=33055){i=b-32776|0;if(i>>>0<=24){break e}break d}f:{switch(b-36880|0){case 0:case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;default:break f}}if((b|0)==33056|(b|0)==37152){break b}break c}if(1<>>0<=24){break k}break j}l:{switch(e-36880|0){case 0:case 16:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break i;default:break l}}if((e|0)==33056|(e|0)==37152){break h}break i}if(1<>>0<=8:0)){i=ve(65388,0);break a}if(!(1<>>0<=8:0)){i=ve(65412,0);break a}if((d|0)<=0){i=ve(65441,0);break a}if((g|0)<=0){i=ve(65483,0);break a}if((d|0)>=4194303){i=ve(65530,0);break a}if((g|0)>=4194303){i=ve(65554,0);break a}h[a+6|0]=e;h[a+7|0]=e>>>8;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;h[a|0]=0;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0;Oe(a+40|0,0,40);h[a+32|0]=0;h[a+33|0]=0;h[a+34|0]=0;h[a+35|0]=0;h[a+36|0]=0;h[a+37|0]=0;h[a+38|0]=240;h[a+39|0]=63;h[a+28|0]=1;h[a+29|0]=0;h[a+30|0]=0;h[a+31|0]=0;s=+(g|0);t=+(d|0);q=s/t;sP(+q);i=pP(1)|0;m=pP(0)|0;h[a+8|0]=m;h[a+9|0]=m>>>8;h[a+10|0]=m>>>16;h[a+11|0]=m>>>24;h[a+12|0]=i;h[a+13|0]=i>>>8;h[a+14|0]=i>>>16;h[a+15|0]=i>>>24;kC();n:{o:{p:{q:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break q}i=0;if((b|0)==(e|0)){break a}if((b^e)&61439){break q}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=141;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break n}j[l+16>>2]=9;if((ve(65690,l+16|0)|0)>=0){break n}break p}r:{if(!(b&4096)){break r}m=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((m|0)<=8){i=m+1|0;h[a+80|0]=i;h[a+81|0]=i>>>8;h[a+82|0]=i>>>16;h[a+83|0]=i>>>24;n=a+40|0;m=n+(m<<2)|0;h[m|0]=141;h[m+1|0]=0;h[m+2|0]=0;h[m+3|0]=0;i=n+(i<<2)|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break r}j[l+272>>2]=9;if((ve(65690,l+272|0)|0)<0){break p}}s:{if(b&256){break s}i=264372;t:{u:{v:{w:{x:{y:{m=b&61439;switch(m-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break t;case 0:break u;case 24:break v;case 8:break x;default:break y}}z:{switch(m-8|0){case 8:break w;case 0:break z;default:break t}}i=264376;break u}i=264380;break u}i=264384;break u}i=264388}i=j[i>>2];if(!i){break t}n=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);A:{if((n|0)<=8){m=n+1|0;h[a+80|0]=m;h[a+81|0]=m>>>8;h[a+82|0]=m>>>16;h[a+83|0]=m>>>24;u=a+40|0;n=u+(n<<2)|0;h[n|0]=i;h[n+1|0]=i>>>8;h[n+2|0]=i>>>16;h[n+3|0]=i>>>24;i=(m<<2)+u|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break A}j[l+256>>2]=9;if((ve(65690,l+256|0)|0)<0){break p}}i=b&255;if(i>>>0<=31){i=32/((b&255)>>>0)|0;b=p(i,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*+(i>>>0)));b=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((i|0)==32){break s}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()/+(i>>>5>>>0)));b=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((ve(65753,0)|0)<0){break p}}B:{C:{D:{if(c>>>0>>0){if((c|0)!=1|f>>>0<2){break C}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=142;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break D}j[l+160>>2]=9;if((ve(65690,l+160|0)|0)>=0){break D}break p}if(c>>>0<=f>>>0){break B}if(!((c|0)!=8|f>>>0>6)){c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);E:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=143;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break E}j[l+240>>2]=9;if((ve(65690,l+240|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*.75));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}b=a;n=a;F:{G:{H:{I:{J:{if(!((c|0)==6?f>>>0<=2:0)){if((f|0)!=4){break H}if((c|0)==6){break J}break H}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=144;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break I}j[l+192>>2]=9;if((ve(65690,l+192|0)|0)>=0){break I}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);K:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=145;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break K}j[l+224>>2]=9;if((ve(65690,l+224|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP();sP(+((o+o)/3));c=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=4;break H}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP()/3;break G}if((c|0)!=4|f>>>0>2){break F}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);L:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=146;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break L}j[l+208>>2]=9;if((ve(65690,l+208|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP()*.5}sP(+o);c=pP(1)|0;i=pP(0)|0;h[n+32|0]=i;h[b+33|0]=i>>>8;h[b+34|0]=i>>>16;h[b+35|0]=i>>>24;h[b+36|0]=c;h[b+37|0]=c>>>8;h[b+38|0]=c>>>16;h[b+39|0]=c>>>24;c=2}if((f|0)!=1|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);M:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=147;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break M}j[l+176>>2]=9;if((ve(65690,l+176|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*.5));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=1;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);o=+rP();sP(+(o+o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=2}b=a;n=a;N:{O:{P:{Q:{i=f>>>0<6;if(!((c|0)==2?!i:0)){if(i){break N}if((c|0)==4){break Q}break N}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=148;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break P}j[l+128>>2]=9;if((ve(65690,l+128|0)|0)>=0){break P}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);R:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=149;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break R}j[l+144>>2]=9;if((ve(65690,l+144|0)|0)<0){break p}}o=1.5;c=(p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)+1|0)/2|0;break O}o=3;c=p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)}h[n+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}S:{T:{U:{if(!((c|0)==6?(f|0)==8:0)){if((f|0)!=4|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)>8){break U}b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=150;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break S}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=151;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break T}j[l+96>>2]=9;if((ve(65690,l+96|0)|0)>=0){break T}break p}j[l+112>>2]=9;if((ve(65690,l+112|0)|0)>=0){break S}break p}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*4/3));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;b=((k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<2|2)/3|0;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;c=8;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);o=+rP();sP(+(o+o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=4}if((c|0)!=(f|0)){i=ve(65583,0);break a}V:{if((d|0)==(g|0)){break V}f=f-1|0;b=f&255;W:{if(!(b>>>0>=8|!(171>>>b&1))){i=-1;if((Oo()|0)<0){break a}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);X:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;f=j[(f<<24>>24<<2)+65904>>2];h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;c=i+(b<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break X}j[l+80>>2]=9;if((ve(65690,l+80|0)|0)<0){break a}b=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24)}if((b|0)>=7){j[l+64>>2]=7;b=ve(65690,l- -64|0);break W}h[a+76|0]=g;h[a+77|0]=g>>>8;h[a+78|0]=g>>>16;h[a+79|0]=g>>>24;h[a+72|0]=d;h[a+73|0]=d>>>8;h[a+74|0]=d>>>16;h[a+75|0]=d>>>24;b=a;f=a;Y:{if((d|0)<(g|0)){c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);sP(+(q*+rP()));c=pP(1)|0;d=pP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;q=w(q);Z:{if(r(q)<2147483648){c=~~q;break Z}c=-2147483648}c=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));break Y}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);sP(+(+rP()/(t/s)));c=pP(1)|0;d=pP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24)}c=c<<1;h[f+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;break V}b=ve(65805,0)}if((b|0)<0){break p}}_:{$:{if(e&256){break $}b=264392;aa:{ba:{ca:{da:{ea:{c=e&61439;switch(c-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break _;case 0:break aa;case 24:break ba;case 8:break da;default:break ea}}fa:{switch(c-8|0){case 8:break ca;case 0:break fa;default:break _}}b=264396;break aa}b=264400;break aa}b=264404;break aa}b=264408}b=j[b>>2];if(!b){break _}d=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);ga:{if((d|0)<=8){c=d+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;f=a+40|0;d=f+(d<<2)|0;h[d|0]=b;h[d+1|0]=b>>>8;h[d+2|0]=b>>>16;h[d+3|0]=b>>>24;b=f+(c<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break ga}j[l+48>>2]=9;if((ve(65690,l+48|0)|0)<0){break p}}b=e&255;if(b>>>0>=33){c=b>>>5|0;b=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*+(c>>>0)));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break $}if((b|0)==32){break $}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()/+(32/((e&255)>>>0)>>>0)));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24}if(!(e&4096)){break o}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=141;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break o}j[l+32>>2]=9;if((ve(65690,l+32|0)|0)>=0){break o}break p}if((ve(65845,0)|0)>=0){break o}}i=-1;break a}i=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))!=0;h[a|0]=i;h[a+1|0]=i>>>8;h[a+2|0]=i>>>16;h[a+3|0]=i>>>24;break a}i=1;h[a|0]=1;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0}oe=l+288|0;return i}function ui(a,b){var c=0,d=0,e=0,f=0,g=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;v=oe-16|0;oe=v;C=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c){break a}w=j[a+12>>2];if(!w){break a}n=j[a>>2];if(j[a+4>>2]?!n:0){break a}e=j[c>>2];if((e|0)==11){j[c>>2]=12;e=12}K=b-5|0;L=c+88|0;E=c+752|0;H=c+112|0;I=c+84|0;F=c+108|0;D=c+1328|0;f=j[c+60>>2];g=j[c+56>>2];J=j[a+4>>2];o=J;u=j[a+16>>2];B=u;b:{c:{d:while(1){e:{d=-3;q=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{switch(e|0){case 23:q=j[c+72>>2];break x;case 21:q=j[c+72>>2];break z;case 18:q=j[c+104>>2];break N;case 0:e=j[c+8>>2];if(!e){break H}if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(!(!(e&2)|(g|0)!=35615)){g=0;d=Sf(0,0,0);j[c+24>>2]=d;h[v+12|0]=31;h[v+13|0]=139;d=Sf(d,v+12|0,2);j[c>>2]=1;j[c+24>>2]=d;f=0;e=j[c>>2];continue}j[c+16>>2]=0;d=j[c+32>>2];if(d){j[d+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:e&1)){j[a+24>>2]=220870;j[c>>2]=29;e=j[c>>2];continue}if((g&15)!=8){j[a+24>>2]=220893;j[c>>2]=29;e=j[c>>2];continue}d=g>>>4|0;p=d&15;q=p+8|0;e=j[c+36>>2];if(!e){j[c+36>>2]=q;break f}if(e>>>0>=q>>>0){break f}f=f-4|0;j[a+24>>2]=220920;j[c>>2]=29;g=d;e=j[c>>2];continue;case 1:if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}j[c+16>>2]=g;if((g&255)!=8){j[a+24>>2]=220893;j[c>>2]=29;e=j[c>>2];continue}if(g&57344){j[a+24>>2]=220940;j[c>>2]=29;e=j[c>>2];continue}d=j[c+32>>2];if(d){j[d>>2]=g>>>8&1}if(g&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=2;f=0;g=0;break ea;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 12:break V;case 11:break W;case 10:break X;case 9:break Y;case 4:break $;case 3:break ca;case 2:break fa;default:break a}}if(f>>>0>31){break da}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<24;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+4>>2]=g}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;h[v+14|0]=g>>>16;h[v+15|0]=g>>>24;M=c,N=Sf(j[c+24>>2],v+12|0,4),j[M+24>>2]=N}j[c>>2]=3;f=0;g=0;break ba}if(f>>>0>15){break aa}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<8;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+12>>2]=g>>>8;j[d+8>>2]=g&255}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=4;e=0;f=0;g=0;q=j[c+16>>2];if(q&1024){break _}break p}q=j[c+16>>2];if(!(q&1024)){e=f;break p}e=g;if(f>>>0>15){break Z}}while(1){if(!o){o=0;g=e;d=y;break c}o=o-1|0;e=(k[n|0]<>>0<8;f=f+8|0;d=n+1|0;n=d;if(p){continue}break}n=d;g=e}j[c+64>>2]=g;d=j[c+32>>2];if(d){j[d+20>>2]=g}f=0;if(q&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}g=0;break o}if(f>>>0<32){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=10;g=0;f=0}if(!j[c+12>>2]){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;C=2;break a}d=vi(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11}if(K>>>0<2){break i}}ga:{ha:{if(!j[c+4>>2]){d=f;if(f>>>0>2){break ga}if(o){break ha}break j}j[c>>2]=26;g=g>>>(f&7)|0;f=f&-8;e=j[c>>2];continue}o=o-1|0;g=(k[n|0]<>2]=g&1;f=13;ia:{ja:{ka:{switch((g>>>1&3)-1|0){case 0:j[c+76>>2]=221344;j[c+84>>2]=9;j[c+88>>2]=5;j[c+80>>2]=223392;j[c>>2]=19;if((b|0)!=6){break ia}f=d-3|0;g=g>>>3|0;d=y;break c;case 1:f=16;break ja;case 2:break ka;default:break ja}}j[a+24>>2]=220985;f=29}j[c>>2]=f}f=d-3|0;g=g>>>3|0;e=j[c>>2];continue}g=g>>>(f&7)|0;f=f&-8;if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g&65535;if((d|0)!=((g^-1)>>>16|0)){j[a+24>>2]=221004;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=14;j[c+64>>2]=d;g=0;f=0;if((b|0)!=6){break T}break i}j[c>>2]=15}d=j[c+64>>2];if(d){d=d>>>0>o>>>0?o:d;e=d>>>0>u>>>0?u:d;if(!e){break i}d=Ae(w,n,e);j[c+64>>2]=j[c+64>>2]-e;w=e+d|0;u=u-e|0;n=e+n|0;o=o-e|0;e=j[c>>2];continue}j[c>>2]=11;e=j[c>>2];continue}if(f>>>0<14){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<6;f=f+8|0;n=n+1|0;if(d){continue}break}}e=g&31;j[c+96>>2]=e+257;d=g>>>5&31;j[c+100>>2]=d+1;p=(g>>>10&15)+4|0;j[c+92>>2]=p;f=f-14|0;g=g>>>14|0;if(!(d>>>0<30?e>>>0<=29:0)){j[a+24>>2]=221033;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=17;e=0;j[c+104>>2]=0;break P}e=j[c+104>>2];p=j[c+92>>2];if(e>>>0>=p>>>0){break O}}d=e;while(1){if(f>>>0<=2){if(!o){break e}o=o-1|0;g=(k[n|0]<>2]=e;i[((l[(d<<1)+220832>>1]<<1)+c|0)+112>>1]=g&7;f=f-3|0;g=g>>>3|0;d=e;if(d>>>0

>>0){continue}break}}if(e>>>0<19){while(1){i[((l[(e<<1)+220832>>1]<<1)+c|0)+112>>1]=0;e=e+1|0;if((e|0)!=19){continue}break}j[c+104>>2]=19}j[c+84>>2]=7;j[c+76>>2]=D;j[c+108>>2]=D;q=0;y=Al(0,H,19,F,I,E);if(y){j[a+24>>2]=221069;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=18;j[c+104>>2]=0;y=0}z=j[c+96>>2];t=z+j[c+100>>2]|0;if(t>>>0>q>>>0){x=-1<>2]^-1;G=j[c+76>>2];while(1){r=f;e=o;d=n;A=g&x;s=k[((A<<2)+G|0)+1|0];la:{if(s>>>0<=f>>>0){p=f;break la}while(1){if(!e){break G}s=k[d|0]<>>0>p>>>0){continue}break}}f=l[((A<<2)+G|0)+2>>1];ma:{if(f>>>0<=15){n=q+1|0;j[c+104>>2]=n;i[((q<<1)+c|0)+112>>1]=f;f=p-s|0;g=g>>>s|0;q=n;break ma}na:{oa:{pa:{switch(f-16|0){case 0:n=s+2|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}f=p-s|0;p=g>>>s|0;if(!q){j[a+24>>2]=221094;j[c>>2]=29;n=d;o=e;g=p;e=j[c>>2];continue d}f=f-2|0;g=p>>>2|0;o=(p&3)+3|0;n=l[((q<<1)+c|0)+110>>1];break na;case 1:n=s+3|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>3|0;o=(n&7)+3|0;f=(p-s|0)-3|0;break oa;default:break pa}}n=s+7|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>7|0;o=(n&127)+11|0;f=(p-s|0)-7|0}n=0}if(t>>>0>>0){j[a+24>>2]=221094;j[c>>2]=29;n=d;o=e;e=j[c>>2];continue d}while(1){i[((q<<1)+c|0)+112>>1]=n;q=q+1|0;o=o-1|0;if(o){continue}break}j[c+104>>2]=q}n=d;o=e;if(q>>>0>>0){continue}break}}if(!l[c+624>>1]){j[a+24>>2]=221120;j[c>>2]=29;e=j[c>>2];continue}j[c+84>>2]=9;j[c+76>>2]=D;j[c+108>>2]=D;y=Al(1,H,z,F,I,E);if(y){j[a+24>>2]=221157;j[c>>2]=29;e=j[c>>2];continue}j[c+88>>2]=6;j[c+80>>2]=j[c+108>>2];y=Al(2,((j[c+96>>2]<<1)+c|0)+112|0,j[c+100>>2],F,L,E);if(y){j[a+24>>2]=221185;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=19;y=0;q=0;if((b|0)==6){break h}}j[c>>2]=20}if(!(u>>>0<258|o>>>0<6)){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;wE(a,B);f=j[c+60>>2];g=j[c+56>>2];o=j[a+4>>2];n=j[a>>2];u=j[a+16>>2];w=j[a+12>>2];if(j[c>>2]!=11){break v}j[c+7108>>2]=-1;e=j[c>>2];continue}j[c+7108>>2]=0;q=f;e=o;d=n;x=j[c+76>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];qa:{if(r>>>0<=f>>>0){p=f;break qa}while(1){if(!e){break E}r=k[d|0]<>>0>p>>>0){continue}break}}f=r;n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];if(!t|t&240){break B}o=e;n=d;q=p;z=-1<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];ra:{if(p>>>0>=r+f>>>0){s=p;break ra}while(1){if(!o){break F}r=k[n|0]<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];if(q>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];j[c+7108>>2]=f;p=s-f|0;g=g>>>f|0;break A}if(!u){break i}h[w|0]=j[c+64>>2];j[c>>2]=20;u=u-1|0;w=w+1|0;e=j[c>>2];continue}if(j[c+8>>2]){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}q=B-u|0;j[a+20>>2]=q+j[a+20>>2];j[c+28>>2]=q+j[c+28>>2];sa:{if(!q){e=j[c+24>>2];break sa}p=w-q|0;e=j[c+24>>2];d=c;ta:{if(j[c+16>>2]){e=Sf(e,p,q);break ta}e=vi(e,p,q)}j[d+24>>2]=e;j[a+48>>2]=e}if(((j[c+16>>2]?g:g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0)!=(e|0)){break D}g=0;B=u;f=0}j[c>>2]=27}if(!(!j[c+8>>2]|!j[c+16>>2])){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}if(j[c+28>>2]!=(g|0)){break C}g=0;f=0}j[c>>2]=28;d=1;break c}j[c>>2]=12;break v}n=n+o|0;f=(o<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}j[a+24>>2]=221287;j[c>>2]=29;B=u;e=j[c>>2];continue}j[a+24>>2]=221308;j[c>>2]=29;e=j[c>>2];continue}f=0;n=d;o=e}j[c+64>>2]=A&65535;j[c+7108>>2]=f+r;f=p-r|0;g=g>>>r|0;if(!t){j[c>>2]=25;e=j[c>>2];continue}if(t&32){j[c>>2]=11;j[c+7108>>2]=-1;e=j[c>>2];continue}if(t&64){j[a+24>>2]=221207;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=21;q=t&15;j[c+72>>2]=q}p=n;r=o;ua:{if(!q){d=j[c+64>>2];break ua}d=p;e=f;if(e>>>0>>0){while(1){if(!o){break r}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;d=j[c+64>>2]+((-1<>2]=d;f=e-q|0;g=g>>>q|0}j[c>>2]=22;j[c+7112>>2]=d}q=f;e=o;d=n;x=j[c+80>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];va:{if(r>>>0<=f>>>0){p=f;break va}while(1){if(!e){break s}r=k[d|0]<>>0>p>>>0){continue}break}}n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];wa:{if(t&240){f=j[c+7108>>2];n=d;o=e;q=r;break wa}o=e;n=d;f=p;z=-1<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];xa:{if(f>>>0>=r+q>>>0){s=p;break xa}while(1){if(!o){break t}q=k[n|0]<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];if(f>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];f=j[c+7108>>2]+r|0;j[c+7108>>2]=f;p=s-r|0;g=g>>>r|0}j[c+7108>>2]=f+q;f=p-q|0;g=g>>>q|0;if(t&64){j[a+24>>2]=221235;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=23;q=t&15;j[c+72>>2]=q;j[c+68>>2]=A&65535}p=n;r=o;if(q){d=p;e=f;if(e>>>0>>0){while(1){if(!o){break u}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;j[c+68>>2]=j[c+68>>2]+((-1<>>q|0;f=e-q|0}j[c>>2]=24}if(!u){break i}e=j[c+68>>2];d=B-u|0;ya:{if(e>>>0>d>>>0){e=e-d|0;if(!(!j[c+7104>>2]|e>>>0<=m[c+44>>2])){j[a+24>>2]=221257;j[c>>2]=29;e=j[c>>2];continue}d=j[c+48>>2];za:{if(d>>>0>>0){e=e-d|0;q=j[c+40>>2]-e|0;break za}q=d-e|0}p=j[c+64>>2];d=e>>>0>p>>>0?p:e;e=q+j[c+52>>2]|0;break ya}p=j[c+64>>2];d=p;e=w-e|0}q=p;p=d>>>0>u>>>0?u:d;j[c+64>>2]=q-p;d=p;while(1){h[w|0]=k[e|0];w=w+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}u=u-p|0;if(j[c+64>>2]){break v}j[c>>2]=20;e=j[c>>2];continue}e=j[c>>2];continue}n=p+r|0;f=(r<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}n=p+r|0;f=(r<<3)+f|0;break e}o=0;n=d;f=p;d=y;break c}d=j[c+32>>2];if(d){j[d+16>>2]=0}f=e}j[c>>2]=5}q=j[c+16>>2];if(q&1024){e=j[c+64>>2];r=e>>>0>o>>>0?o:e;if(r){p=j[c+32>>2];Aa:{if(!p){break Aa}d=j[p+16>>2];if(!d){break Aa}e=j[p+20>>2]-e|0;q=e+d|0;d=j[p+24>>2];Ae(q,n,d>>>0>>0?d-e|0:r);q=j[c+16>>2]}if(q&512){M=c,N=Sf(j[c+24>>2],n,r),j[M+24>>2]=N}e=j[c+64>>2]-r|0;j[c+64>>2]=e;o=o-r|0;n=n+r|0}if(e){break i}}j[c>>2]=6;j[c+64>>2]=0}Ba:{if(k[c+17|0]&8){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ca:{if(!p){break Ca}d=j[p+28>>2];if(!d){break Ca}r=j[p+32>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ca}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Ba}break i}d=j[c+32>>2];if(!d){break Ba}j[d+28>>2]=0}j[c>>2]=7;j[c+64>>2]=0}Da:{if(k[c+17|0]&16){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ea:{if(!p){break Ea}d=j[p+36>>2];if(!d){break Ea}r=j[p+40>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ea}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Da}break i}d=j[c+32>>2];if(!d){break Da}j[d+36>>2]=0}j[c>>2]=8}e=j[c+16>>2];if(e&512){if(f>>>0<=15){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(l[c+24>>1]!=(g|0)){break g}g=0;f=0}d=j[c+32>>2];if(d){j[d+48>>2]=1;j[d+44>>2]=e>>>9&1}d=Sf(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11;e=j[c>>2];continue}o=0}q=y}d=q;break c}j[a+24>>2]=220965;j[c>>2]=29;e=j[c>>2];continue}j[c+20>>2]=256<>2]=d;j[a+48>>2]=d;j[c>>2]=g&8192?9:11;g=0;e=j[c>>2];continue}break}o=0;d=y}j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;Fa:{Ga:{Ha:{if(j[c+40>>2]){break Ha}if((u|0)==(B|0)){break Ga}e=j[c>>2];if(e>>>0>28){break Ga}if((b|0)!=4){break Ha}if(e>>>0>25){break Ga}}if(uE(a,w,B-u|0)){break Fa}u=j[a+16>>2];o=j[a+4>>2]}n=J-o|0;j[a+8>>2]=n+j[a+8>>2];p=B-u|0;j[a+20>>2]=p+j[a+20>>2];j[c+28>>2]=p+j[c+28>>2];if(!(!p|!j[c+8>>2])){o=j[a+12>>2]-p|0;f=j[c+24>>2];e=c;Ia:{if(j[c+16>>2]){f=Sf(f,o,p);break Ia}f=vi(f,o,p)}j[e+24>>2]=f;j[a+48>>2]=f}e=a;a=j[c>>2];j[e+44>>2]=((j[c+60>>2]+((j[c+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);C=d?d:(b|0)==4?-5:n|p?d:-5;break a}j[c>>2]=30}C=-4}oe=v+16|0;return C}function hn(a,b,c,d,e,f,g){var i=q(0),k=0,l=q(0),m=q(0),o=q(0),s=q(0),t=q(0),u=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=q(0),X=0,Y=0;v=oe-48|0;oe=v;B=j[58753];y=(B|0)==3?(b|0)<577?1:2:B;O=p(y,40)+99856|0;R=a&1;B=(a|0)/2|0;N=(b|0)/2|0;a:{b:{c:{d:{if((e|0)<=1431918168){e:{switch(e-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:case 11:break d;default:break e}}if((e|0)==825382478){break d}if((e|0)==844715353){break c}break b}if((e|0)==1431918169|(e|0)==1498831189){break c}if((e|0)!=1448433993){break b}}_h(b,e,f,g,v+44|0,v+40|0,v+36|0,v+32|0,v+28|0);f=j[v+32>>2];E=p(f,b);k=j[v+44>>2];if((b|0)>=1){F=f-a|0;f=p(y,40);G=f+99868|0;H=f+99864|0;C=f+99860|0;D=(a|0)<1;f=k;u=c;while(1){if(!D){w=j[O>>2];i=n[G>>2];o=n[H>>2];s=n[C>>2];g=0;while(1){M=f;x=j[(g<<2)+u>>2];l=q(q(q(i*q((x&255)>>>0))+q(q(s*q((x>>>16&255)>>>0))+q(o*q((x>>>8&255)>>>0))))+q(.5));f:{if(q(r(l))>2]=f}O=b&1;P=d<<1;f=k+E|0;g=c+d|0;g:{h:{i:{switch(e-842094158|0){default:if((e|0)!=1448433993){break h};case 11:d=(a+1|0)/-2|0;if((b|0)>=2){x=d+j[v+28>>2]|0;b=p(y,40);E=b+99892|0;F=b+99888|0;G=b+99884|0;H=b+99880|0;C=b+99876|0;D=b+99872|0;d=0;f=j[v+36>>2];k=j[v+40>>2];Q=(a|0)<2;while(1){if(Q){b=0}else{i=n[E>>2];o=n[F>>2];s=n[G>>2];l=n[H>>2];K=n[C>>2];L=n[D>>2];u=0;while(1){b=k;e=u<<3;J=e|4;w=j[J+c>>2];I=j[c+e>>2];e=j[e+g>>2];J=j[g+J>>2];t=q((((w&255)+(I&255)|0)+(e&255)|0)+(J&255)>>>2>>>0);z=q((((w&16711680)+(I&16711680)|0)+(e&16711680)|0)+(J&16711680)>>>18>>>0);A=q((((w&65280)+(I&65280)|0)+(e&65280)|0)+(J&65280)>>>10>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));j:{if(q(r(m))>2];u=j[c+u>>2];i=q((b&255)+(u&255)>>>1>>>0);o=q((b&16711680)+(u&16711680)>>>17>>>0);s=q((b&65280)+(u&65280)>>>9>>>0);l=q(q(q(n[H>>2]*i)+q(q(n[D>>2]*o)+q(n[C>>2]*s)))+q(.5));l:{if(q(r(l))>2]*o)+q(n[F>>2]*s))+q(n[E>>2]*i))+q(.5));m:{if(q(r(i))>2]=f;j[v+40>>2]=k}if(!O){break g}f=0;if((a|0)>=2){a=p(y,40);i=n[a+99892>>2];o=n[a+99888>>2];s=n[a+99884>>2];l=n[a+99880>>2];K=n[a+99876>>2];L=n[a+99872>>2];k=0;f=j[v+36>>2];g=j[v+40>>2];while(1){a=g;d=k<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&255)+(d&255)>>>1>>>0);z=q((b&16711680)+(d&16711680)>>>17>>>0);A=q((b&65280)+(d&65280)>>>9>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));n:{if(q(r(m))>2]=f;j[v+40>>2]=g;f=B<<1}if(!R){break g}c=j[(f<<2)+c>>2];a=j[v+40>>2];j[v+40>>2]=a+1;b=p(y,40);i=q((c&255)>>>0);o=q((c>>>16&255)>>>0);s=q((c>>>8&255)>>>0);l=q(q(q(n[b+99880>>2]*i)+q(q(n[b+99872>>2]*o)+q(n[b+99876>>2]*s)))+q(.5));p:{if(q(r(l))>2];j[v+36>>2]=a+1;i=q(q(q(q(n[b+99884>>2]*o)+q(n[b+99888>>2]*s))+q(n[b+99892>>2]*i))+q(.5));q:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+99892|0;x=b+99888|0;E=b+99884|0;F=b+99880|0;G=b+99876|0;H=b+99872|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));r:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));t:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));u:{if(q(r(i))=2){a=p(y,40);i=n[a+99892>>2];o=n[a+99888>>2];s=n[a+99884>>2];l=n[a+99880>>2];K=n[a+99876>>2];L=n[a+99872>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));v:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+99884>>2]*i)+q(n[b+99888>>2]*o))+q(n[b+99892>>2]*s))+q(.5));x:{if(q(r(l))>2]*s)+q(q(n[b+99872>>2]*i)+q(n[b+99876>>2]*o)))+q(.5));y:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+99880|0;x=b+99876|0;E=b+99872|0;F=b+99892|0;G=b+99888|0;H=b+99884|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));z:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));B:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));C:{if(q(r(i))=2){a=p(y,40);i=n[a+99880>>2];o=n[a+99876>>2];s=n[a+99872>>2];l=n[a+99892>>2];K=n[a+99888>>2];L=n[a+99884>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));D:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+99872>>2]*i)+q(n[b+99876>>2]*o))+q(n[b+99880>>2]*s))+q(.5));F:{if(q(r(l))>2]*s)+q(q(n[b+99884>>2]*i)+q(n[b+99888>>2]*o)))+q(.5));G:{if(q(r(i))(g|0)){j[v+16>>2]=k;g=ve(99976,v+16|0);break a}P=g-k|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<1){break a}e=p(y,40);y=e+99880|0;N=e+99876|0;x=e+99872|0;E=e+99892|0;F=e+99888|0;G=e+99884|0;H=e+99868|0;C=e+99864|0;D=e+99860|0;w=(a|0)<2;while(1){if(w){a=0}else{l=n[y>>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));I:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));J:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));K:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));M:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));N:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));O:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));P:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));Q:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));R:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));T:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));U:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));V:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];g=j[O>>2];i=n[E>>2];o=n[F>>2];s=n[G>>2];t=n[H>>2];z=n[C>>2];A=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));W:{if(q(r(m))>2];h[f+1|0]=a+g;M=f;a=e>>>16&255;S=e>>>8&255;e=e&255;m=q(q(q(q(s*q(a>>>0))+q(o*q(S>>>0)))+q(i*q(e>>>0)))+q(.5));X:{if(q(r(m))>>1>>>0);U=q(J+S>>>1>>>0);V=q(e+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));Y:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));_:{if(q(r(l))>2]|0;h[e+3|0]=g;a=f;l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));$:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));aa:{if(q(r(i))>2]=Y;g=ve(100030,v)}oe=v+48|0;return g}function yN(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,n=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;g=oe-96|0;oe=g;q=j[j[b+96>>2]+4>>2];f=dh(q,120128);a:{b:{if(!f){j[g+12>>2]=11;break b}A=Bh(j[b+96>>2],120288);C=dh(q,120928);n=Fe(a,0);j[g+12>>2]=n;if(n){break b}B=qe[j[f+4>>2]](a,b,c,d,e)|0;c:{if(!B){if(j[b+148>>2]!=1330926671){j[g+12>>2]=2;break b}n=0;if((c|0)<0){break a}d:{if(!(qe[j[b+508>>2]](b,1751474532,a,0)|0)){d=qe[j[f+8>>2]](a,b,c,d,e)|0;j[g+12>>2]=d;if(!d){break d}break b}d=qe[j[f+32>>2]](b,a)|0;j[g+12>>2]=d;if(d){break b}u=1}d=qe[j[b+508>>2]](b,1128678944,a,0)|0;j[g+12>>2]=d;if(!d){break c}break b}d=Fe(a,0);j[g+12>>2]=d;if(d){break b}j[g+12>>2]=0;u=1}w=j[b+100>>2];f=He(w,2980,g+12|0);if(j[g+12>>2]){break b}j[b+656>>2]=f;o=j[a+28>>2];d=Ee(f+8|0,0,2972);j[g+72>>2]=0;j[g+76>>2]=0;e=g- -64|0;j[e>>2]=0;j[e+4>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;j[g+48>>2]=0;j[g+52>>2]=0;j[f+4>>2]=o;j[f>>2]=a;r=j[a+8>>2];e=$e(a,120960,f);j[g+84>>2]=e;e:{if(e){break e}f:{g:{if(k[f+16|0]!=1){break g}e=k[f+18|0];if(e>>>0<4){break g}if(k[f+19|0]<5){break f}}j[g+84>>2]=2;break e}e=xf(a,e-4|0);j[g+84>>2]=e;if(e){break e}x=f+20|0;e=Qh(x,a,0);j[g+84>>2]=e;if(e){break e}n=f+1208|0;e=Qh(n,a,0);j[g+84>>2]=e;if(e){break e}e=Qh(g+48|0,a,1);j[g+84>>2]=e;if(e){break e}s=f+84|0;e=Qh(s,a,1);j[g+84>>2]=e;if(e){break e}e=vm(g+48|0,f+1316|0,f+1320|0);j[g+84>>2]=e;if(e){break e}j[f+1312>>2]=j[g+56>>2];e=j[f+28>>2];h:{i:{if(u){if(c>>>0>>0){break i}j[g+84>>2]=6;break e}d=0;if(e>>>0<2){break h}j[g+84>>2]=3;break e}j[d>>2]=e;d=c}if((c|0)<0){break e}v=d;d=Nr(f+1324|0,n,d,a,r,q);j[g+84>>2]=d;if(d){break e}d=Fe(a,r+j[f+1436>>2]|0);j[g+84>>2]=d;if(d){break e}d=Qh(f+1176|0,a,0);j[g+84>>2]=d;if(d){break e}j:{if(j[f+1456>>2]!=65535){d=Fe(a,r+j[f+1488>>2]|0);j[g+84>>2]=d;if(d){break e}n=0;d=Qh(g+16|0,a,0);j[g+84>>2]=d;if(d){break e}e=j[g+24>>2];k:{if(e>>>0>256){break k}j[f+1896>>2]=e;d=0;e=xe(o,572,0,e,0,g+84|0);n=j[g+84>>2];if(n){break k}n=j[g+24>>2];if(n){while(1){j[((d<<2)+f|0)+1900>>2]=e+p(d,572);d=d+1|0;if((n|0)!=(d|0)){continue}break}e=0;while(1){n=Nr(j[((e<<2)+f|0)+1900>>2],g+16|0,e,a,r,q);j[g+84>>2]=n;if(n){break k}e=e+1|0;if(e>>>0>2]){continue}break}}e=j[f+1184>>2];n=Fe(a,r+j[f+1492>>2]|0);j[g+92>>2]=n;l:{if(n){break l}d=hg(a,g+92|0);n=j[g+92>>2];if(n){break l}j[f+2944>>2]=0;h[f+2924|0]=d;n=3;m:{switch(d&255){case 3:d=qf(a,g+92|0);n=j[g+92>>2];if(n){break l}n=3;if(!d){break l}e=p(d,3)+2|0;break;case 0:break m;default:break l}}j[f+2936>>2]=e;n=_f(a,e,f+2932|0)}j[g+84>>2]=n}d=j[g+16>>2];if(d){e=j[d+28>>2];if(j[g+44>>2]){jf(d,g+44|0)}d=j[g+40>>2];if(d){qe[j[e+8>>2]](e,d)}n=j[g+84>>2]}if(!n){break j}break e}j[f+1896>>2]=0}if(!j[f+1436>>2]){j[g+84>>2]=3;break e}j[f+12>>2]=j[f+1184>>2];d=vm(s,f+1308|0,0);j[g+84>>2]=d;if(d){break e}q=j[f+12>>2];n:{if(!q){break n}o=j[a+28>>2];t=j[f+1456>>2];d=j[f+1428>>2];j[g+92>>2]=0;s=f+1152|0;o:{p:{q:{r:{if(d>>>0>=3){d=d+r|0;j[f+1156>>2]=d;d=Fe(a,d);j[g+92>>2]=d;if(d){break p}D=s,E=hg(a,g+92|0)&255,j[D>>2]=E;if(j[g+92>>2]){break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}i[d>>1]=0;s:{switch(j[s>>2]){case 0:e=1;d=_e(a,(q<<1)-2|0);j[g+92>>2]=d;if(d){break p}if(q>>>0>=2){while(1){d=af(a);i[j[f+1160>>2]+(e<<1)>>1]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}Ve(a);break r;case 1:case 2:e=1;if(q>>>0<=1){break r}while(1){d=qf(a,g+92|0);if(j[g+92>>2]){break p}t:{if(j[s>>2]==2){n=qf(a,g+92|0);if(!j[g+92>>2]){break t}break p}n=hg(a,g+92|0);if(j[g+92>>2]){break p}n=n&255}u:{if(e>>>0>=q>>>0){break u}y=(n^65535)>>>0>>0?d^65535:n;z=j[f+1160>>2];n=0;while(1){i[z+(e<<1)>>1]=d;e=e+1|0;if(n>>>0>=y>>>0){break u}d=d+1|0;n=n+1|0;if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}break r;default:break s}}j[g+92>>2]=3;break p}j[f+1156>>2]=d;v:{switch(d|0){case 0:if(q>>>0>=230){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,122496,q<<1);break r;case 1:if(q>>>0>=167){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,122960,q<<1);break r;case 2:break v;default:break q}}if(q>>>0>=88){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,123296,q<<1)}w:{if(!((t|0)!=65535?u:0)){e=j[g+92>>2];break w}e=0;j[g+16>>2]=0;x:{if(j[f+1168>>2]){break x}n=j[f+1160>>2];d=0;while(1){t=l[n+(d<<1)>>1];e=t>>>0>(e&65535)>>>0?t:e;d=d+1|0;if((q|0)!=(d|0)){continue}break}n=e&65535;t=xe(o,2,0,n+1|0,0,g+16|0);j[f+1164>>2]=t;e=j[g+16>>2];if(e){break x}if((q|0)>=1){y=j[f+1160>>2];e=q;while(1){d=e-1|0;i[t+(l[y+(d<<1)>>1]<<1)>>1]=d;z=(e|0)>1;e=d;if(z){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=n;e=0}j[g+92>>2]=e}if(e){break p}j[g+84>>2]=0;break o}j[g+92>>2]=3}d=j[f+1160>>2];if(d){qe[j[o+8>>2]](o,d)}j[f+1160>>2]=0;d=j[f+1164>>2];if(d){qe[j[o+8>>2]](o,d)}j[s+8>>2]=0;j[s+12>>2]=0;j[s>>2]=0;j[s+4>>2]=0;d=j[g+92>>2];j[g+84>>2]=d;if(d){break e}}if(j[f+1456>>2]!=65535){break n}d=j[f+1432>>2];e=j[f+12>>2];j[g+92>>2]=0;o=3;y:{z:{s=j[f+1160>>2];if(!s){break z}n=Ee(f+128|0,0,1024);A:{if(d>>>0>=2){d=d+r|0;j[f+120>>2]=d;o=Fe(a,d);j[g+92>>2]=o;if(o){break z}D=f,E=hg(a,g+92|0)&255,j[D+116>>2]=E;o=j[g+92>>2];if(o){break z}d=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}r=d&255;o=3;B:{C:{switch(j[f+116>>2]&127){case 0:j[f+124>>2]=r+1;o=_e(a,r);j[g+92>>2]=o;if(o){break z}if(d){d=j[a+32>>2];o=1;while(1){if(e>>>0>o>>>0){n=(k[d|0]<<1)+f|0;i[n+640>>1]=o;i[n+128>>1]=l[j[f+1160>>2]+(o<<1)>>1]}d=d+1|0;n=(o|0)!=(r|0);o=o+1|0;if(n){continue}break}}Ve(a);break B;case 1:break C;default:break z}}s=0;j[f+124>>2]=0;if(!d){break B}d=1;while(1){t=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}n=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}o=n&255;q=o+1|0;n=j[f+124>>2];if(o>>>0>=n>>>0){j[f+124>>2]=q;n=q}q=d+q|0;if(q>>>0>d>>>0){o=t&255;while(1){if(!(o>>>0>255|d>>>0>=e>>>0)){t=(o<<1)+f|0;i[t+640>>1]=d;i[t+128>>1]=l[j[f+1160>>2]+(d<<1)>>1]}o=o+1|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}}d=q;s=s+1|0;if((r|0)!=(s|0)){continue}break}if(n>>>0<257){break B}j[f+124>>2]=256}if(!(k[f+116|0]&128)){o=j[g+92>>2];break y}d=hg(a,g+92|0);o=j[g+92>>2];if(!d|o){break y}q=d&255;n=0;while(1){r=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}d=qf(a,g+92|0);o=j[g+92>>2];if(o){break z}r=((r&255)<<1)+f|0;i[r+128>>1]=d;D:{if(!e){break D}s=j[f+1160>>2];o=0;while(1){if((d|0)==l[s+(o<<1)>>1]){i[r+640>>1]=o;break D}o=o+1|0;if((e|0)!=(o|0)){continue}break}}n=n+1|0;if((q|0)!=(n|0)){continue}break}break A}E:{F:{switch(d|0){case 0:Ae(n,120416,512);break E;case 1:break F;default:break z}}Ae(n,123472,512)}j[f+124>>2]=0;a=j[a+28>>2];j[g+16>>2]=0;d=j[f+1168>>2];if(!d){d=0;n=f;q=a;if(e){a=0;while(1){o=l[s+(a<<1)>>1];d=o>>>0>(d&65535)>>>0?o:d;a=a+1|0;if((e|0)!=(a|0)){continue}break}d=d&65535}q=xe(q,2,0,d+1|0,0,g+16|0);j[n+1164>>2]=q;o=j[g+16>>2];if(o){break z}if((e|0)>=1){o=j[f+1160>>2];a=e;while(1){n=a-1|0;i[q+(l[o+(n<<1)>>1]<<1)>>1]=n;r=(a|0)>1;a=n;if(r){continue}break}}j[f+1172>>2]=e;j[f+1168>>2]=d}j[g+92>>2]=0;a=0;while(1){e=(a<<1)+f|0;q=e;G:{H:{n=l[e+128>>1];if(!n|d>>>0>>0){break H}n=l[j[f+1164>>2]+(n<<1)>>1];if(!n){break H}i[e+640>>1]=n;a=a+1|0;j[f+124>>2]=a;break G}i[e+640>>1]=0;i[q+128>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}}j[g+84>>2]=0;break n}j[g+84>>2]=o;break e}j[g+84>>2]=o;if(o){break e}}d=j[j[x>>2]+28>>2];e=zi(x,v,g+16|0,g+92|0);j[g+88>>2]=e;a=0;I:{if(e){break I}a=d;d=j[g+92>>2];a=He(a,d+1|0,g+88|0);if(!j[g+88>>2]){D=Ae(a,j[g+16>>2],d)+d|0,E=0,h[D|0]=E}if(j[f+48>>2]){break I}jf(j[x>>2],g+16|0)}j[f+1304>>2]=a}a=j[g+48>>2];if(a){d=j[a+28>>2];if(j[g+76>>2]){jf(a,g+76|0)}a=j[g+72>>2];if(a){qe[j[d+8>>2]](d,a)}}a=j[g+84>>2];j[g+12>>2]=a;if(a){break b}j[f+2956>>2]=A;j[f+2952>>2]=C;j[b+4>>2]=c;j[b+16>>2]=j[f+12>>2];if(!(j[f+1456>>2]!=65535|A)){j[g+12>>2]=11;break b}if(!k[f+1388|0]){j[f+1392>>2]=u?1e3:l[b+68>>1]}d=j[f+1384>>2];a=d>>31;a=a^a+d;J:{if((a|0)==65536){a=j[f+1400>>2];break J}D=f,E=De(j[f+1392>>2],a),j[D+1392>>2]=E;D=f,E=De(j[f+1372>>2],a),j[D+1372>>2]=E;D=f,E=De(j[f+1380>>2],a),j[D+1380>>2]=E;D=f,E=De(j[f+1376>>2],a),j[D+1376>>2]=E;D=f,E=De(j[f+1384>>2],a),j[D+1384>>2]=E;D=f,E=De(j[f+1396>>2],a),j[D+1396>>2]=E;a=De(j[f+1400>>2],a);j[f+1400>>2]=a}j[f+1400>>2]=a>>16;j[f+1396>>2]=j[f+1396>>2]>>16;o=j[f+1896>>2];if(o){r=f+1900|0;n=f+1372|0;q=n;while(1){o=o-1|0;a=j[r+(o<<2)>>2];K:{if(k[a+64|0]){if(!k[f+1388|0]){break K}e=1;d=j[f+1392>>2];L:{if(d>>>0<2){break L}v=j[a+68>>2];if(v>>>0<2){break L}e=d>>>0>>0?d:v}Vs(n,a+48|0,e);Us(a+72|0,n,e);D=a,E=Ne(j[a+68>>2],j[f+1392>>2],e),j[D+68>>2]=E;break K}d=j[n+4>>2];j[a+48>>2]=j[n>>2];j[a+52>>2]=d;d=j[q+12>>2];j[a+56>>2]=j[q+8>>2];j[a+60>>2]=d;d=j[f+1400>>2];j[a+72>>2]=j[f+1396>>2];j[a+76>>2]=d;j[a+68>>2]=j[f+1392>>2]}e=j[a+60>>2];d=e>>31;d=d^d+e;M:{if((d|0)==65536){e=j[a+76>>2];break M}D=a,E=De(j[a+68>>2],d),j[D+68>>2]=E;D=a,E=De(j[a+48>>2],d),j[D+48>>2]=E;D=a,E=De(j[a+56>>2],d),j[D+56>>2]=E;D=a,E=De(j[a+52>>2],d),j[D+52>>2]=E;D=a,E=De(j[a+60>>2],d),j[D+60>>2]=E;D=a,E=De(j[a+72>>2],d),j[D+72>>2]=E;e=De(j[a+76>>2],d);j[a+76>>2]=e}j[a+76>>2]=e>>16;j[a+72>>2]=j[a+72>>2]>>16;if(o){continue}break}}N:{O:{P:{Q:{R:{if(u){j[b>>2]=j[f+8>>2];a=b;if(j[f+1456>>2]!=65535){d=j[f+1168>>2]+1|0}else{d=j[f+1184>>2]}j[a+16>>2]=d;j[b+52>>2]=j[f+1408>>2]>>16;a=j[f+1412>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[f+1416>>2]+65535>>16;d=j[f+1420>>2]+65535>>16;j[b- -64>>2]=d;e=j[f+1392>>2];i[b+72>>1]=a;i[b+70>>1]=d;i[b+68>>1]=e;a=d-a|0;d=(p(e&65535,12)>>>0)/10|0;i[b+74>>1]=(a|0)>d<<16>>16?a:d;i[b+80>>1]=l[f+1358>>1];i[b+82>>1]=l[f+1362>>1];a=j[j[f+20>>2]+28>>2];c=zi(f+20|0,c,g+48|0,g+16|0);j[g+92>>2]=c;o=0;S:{if(c){break S}c=a;a=j[g+16>>2];o=He(c,a+1|0,g+92|0);if(!j[g+92>>2]){D=Ae(o,j[g+48>>2],a)+a|0,E=0,h[D|0]=E}if(j[f+48>>2]){break S}jf(j[f+20>>2],g+48|0)}j[b+20>>2]=o;if(!o){break R}d=0;a=j[f+1336>>2];T:{if((a|0)==65535){break T}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break T}d=j[j[f+1316>>2]+(a<<2)>>2];break T}c=j[f+2956>>2];if(!c){break T}d=qe[j[c+20>>2]](a)|0;o=j[b+20>>2]}a=Le(o);U:{if((a|0)<6){break U}c=a+1|0;while(1){if(k[o+6|0]!=43|(k[o+5|0]-65&255)>>>0>25|((k[o+4|0]-65&255)>>>0>25|(k[o+3|0]-65&255)>>>0>25)){break U}if((k[o+2|0]-65&255)>>>0>25|(k[o|0]-65&255)>>>0>25|(k[o+1|0]-65&255)>>>0>25){break U}a=7;if((c|0)<8){break U}while(1){e=a+o|0;h[e-7|0]=k[e|0];a=a+1|0;if((c|0)!=(a|0)){continue}break}a=(c|0)>13;c=c-7|0;if(a){continue}break}}a=j[f+1340>>2];if(a){e=0;V:{if((a|0)==65535){break V}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break V}e=j[j[f+1316>>2]+(a<<2)>>2];break V}c=j[f+2956>>2];if(!c){break V}e=qe[j[c+20>>2]](a)|0}o=e?e:o}if(!d|!o){break Q}c=k[d|0];if(!c){break Q}while(1){a=d;W:{while(1){d=c&255;e=k[o|0];if((d|0)==(e|0)){o=o+1|0;break W}n=d-32|0;if(!n|(n|0)==13){break W}X:{switch(e-32|0){case 0:case 13:o=o+1|0;if(d){continue}break Q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Q;default:break X}}break}if(e){break Q}a=gg(w,a,g+48|0);d=j[b+20>>2];n=Le(d);c=Le(a);Y:{if((n|0)<=(c|0)){break Y}e=1;if((c|0)>=1){while(1){if(k[d+(n-e|0)|0]!=k[(c-e|0)+a|0]){break P}q=(c|0)==(e|0);e=e+1|0;if(!q){continue}break}}e=n+(c^-1)|0;if((e|0)<1){break Y}while(1){c=d+e|0;n=k[c|0];q=n-32|0;if(!((1<>>0<=13:0)|(n|0)==95)){h[c+1|0]=0;if(!a){break Q}break P}c=(e|0)>1;e=e-1|0;if(c){continue}break}}if(!a){break Q}break P}d=a+1|0;c=k[a+1|0];if(c){continue}break}break Q}d=0;if(j[f+1456>>2]!=65535){break N}break O}a=j[f+1496>>2];if((a|0)==65535){break Q}Z:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break Q}a=j[j[f+1316>>2]+(a<<2)>>2];break Z}c=j[f+2956>>2];if(!c){break Q}a=qe[j[c+20>>2]](a)|0}if(!a){break Q}D=b,E=gg(w,a,g+48|0),j[D+20>>2]=E}a=gg(w,120937,g+48|0)}j[b+24>>2]=a;a=B?2065:2073;j[b+8>>2]=j[b+8>>2]|(k[f+1348|0]?a|4:a);a=j[f+1352>>2]!=0;c=j[f+1344>>2];_:{if((c|0)==65535){break _}$:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=m[f+1312>>2]){break _}c=j[j[f+1316>>2]+(c<<2)>>2];break $}d=j[f+2956>>2];if(!d){break _}c=qe[j[d+20>>2]](c)|0}if(!c){break _}if(we(c,120945)){if(we(c,120950)){break _}}a=a|2}aa:{if(a&2){break aa}c=j[b+24>>2];if(!c){break aa}if(Qe(c,120945,4)){if(Qe(c,120950,5)){break aa}}a=a|2}j[b+12>>2]=a;if(j[f+1456>>2]==65535){break O}d=0;if(!u){break N}j[b+8>>2]=j[b+8>>2]|4096;break N}j[b+8>>2]=j[b+8>>2]|512;d=1}c=j[b+36>>2];ba:{if(c){e=j[b+40>>2];a=0;while(1){ca:{da:{n=j[e+(a<<2)>>2];switch(l[n+8>>1]){case 0:break ba;case 3:break da;default:break ca}}if(l[n+10>>1]==1){break ba}}a=a+1|0;if(c>>>0>a>>>0){continue}break}}if((d^1)&u){break b}j[g+48>>2]=b;j[g+52>>2]=1970170211;j[g+56>>2]=65539;a=qg(120020,0,g+48|0,0);j[g+12>>2]=a;if((a&255)!=163?a:0){break b}j[g+12>>2]=0;if(j[b+92>>2]|(c|0)==j[b+36>>2]){break ba}j[b+92>>2]=j[j[b+40>>2]+(c<<2)>>2]}if(!j[f+124>>2]){break b}i[g+56>>1]=7;j[g+48>>2]=b;b=1094995778;a=0;ea:{fa:{switch(j[f+120>>2]){case 1:b=1094992453;a=1;break ea;case 0:break ea;default:break fa}}b=1094992451;a=2}j[g+52>>2]=b;i[g+58>>1]=a;D=g,E=qg(119980,0,g+48|0,0),j[D+12>>2]=E}n=j[g+12>>2]}oe=g+96|0;return n|0}function mL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=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;u=oe-16|0;oe=u;j[u+8>>2]=b;j[u+12>>2]=a;d=u+4^(u+8^u+12);d=(d>>>10^d^d>>20)&65535;j[u+4>>2]=d?d:29572;v=a+1140|0;j[a+1344>>2]=v;j[a+1136>>2]=a+112;j[a+64>>2]=0;s=j[a+72>>2];d=j[a+1488>>2];a:{if(!d){break a}f=j[a+1492>>2];if(!f){break a}Ee(d,0,f<<2);b=j[u+8>>2]}j[a+1140>>2]=b;x=b+c|0;j[a+1148>>2]=x;j[a+1144>>2]=b;o=j[a+28>>2];n=j[a+24>>2];if(s){qe[j[s+4>>2]](j[s>>2])}b:{c:{if((c|0)<1){break c}e=j[u+12>>2];B=n;while(1){r=b+1|0;f=j[e+1136>>2];w=0;c=0;q=0;C=0;d=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{A=k[b|0];switch(A-1|0){case 11:break i;case 30:break j;case 29:break k;case 21:break l;case 20:break m;case 14:break n;case 13:break o;case 12:break p;case 10:break q;case 9:break r;case 8:break s;case 7:break t;case 6:break u;case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 0:break d;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break g;default:break h}}d=18;break d}d=14;break d}d=9;break d}d=6;break d}d=13;break d}d=11;break d}d=5;break d}d=22;break d}d=24;break d}d=2;break d}d=1;break d}d=26;break d}d=10;break d}d=7;break d}d=12;break d}d=8;break d}g=160;if(r>>>0>x>>>0){break b}r=b+2|0;d=15;z:{switch(k[b+1|0]){case 1:d=19;break d;case 2:d=17;break d;case 6:d=3;break d;case 7:d=4;break d;case 12:d=20;q=1;break d;case 16:d=21;C=1;break d;case 17:d=23;break d;case 33:break z;case 0:break d;default:break b}}d=25;break d}if((A|0)==255){break f}}g=160;if(A>>>0<32){break b}A:{if(A>>>0<=246){c=A-139|0;break A}b=b+2|0;if(b>>>0>x>>>0){break b}if(A>>>0<=250){c=(k[r|0]|A<<8)-63124|0}else{c=64148-(k[r|0]|A<<8)|0}r=b}b=z&255;w=b?c:c<<16;z=(b|0)!=0;break e}r=b+5|0;if(x>>>0>>0){g=160;break b}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);w=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(w+32e3>>>0>64e3){c=1;d=0;z=1;break d}b=z&255;w=b?w:w<<16;z=(b|0)!=0}c=1;d=0}if(!(1<>>0>24):0)){t=0}z=q?z:c?z:z&255?0:z;B:{if(c){if(((f-e|0)-112|0)>1020){g=160;break b}j[f>>2]=w;j[e+1136>>2]=f+4;break B}C:{D:{E:{F:{if(C){g=161;c=e+112|0;if((f-c|0)<8){break b}d=f-8|0;q=j[d>>2];b=q>>16;if((b|0)>d-c>>2){break b}d=d-(b<<2)|0;t=0;y=0;G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{g=j[f-4>>2];f=g>>16;switch(f|0){case 12:case 13:break C;case 28:break H;case 27:break I;case 25:break J;case 24:break K;case 23:break L;case 22:break M;case 21:break N;case 20:break O;case 19:break P;case 14:case 15:case 16:case 17:case 18:break Q;case 3:break R;case 2:break S;case 1:break T;case 0:break U;default:break G}}g=160;if(!j[e+1400>>2]|(b|0)!=3|j[e+1404>>2]!=7){break b}j[d+4>>2]=o;j[d>>2]=n;y=2;c=d;break C}if(b){g=160;break b}j[e+1400>>2]=1;j[e+1404>>2]=0;g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+6>>>0<=m[b+4>>2]){break D}c=d;g=yf(b,6,0);if(g){break b}break C}g=160;if(!j[e+1400>>2]|b){break b}f=j[e+1404>>2];j[e+1404>>2]=f+1;if(f-1>>>0>5){break D}c=j[a+20>>2];if(k[a+68|0]){e=j[c+8>>2];g=i[c+2>>1];b=j[c+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+g|0]=(f|0)!=3?(f|0)!=6?2:1:1}i[c+2>>1]=l[c+2>>1]+1;break D}if((b|0)!=1){g=160;break b}y=1;if(!s){break E}qe[j[s+20>>2]](j[s>>2],i[j[a+20>>2]+2>>1]);break E}g=160;t=j[e+1464>>2];if(!t){break b}e=j[t>>2];y=(f+((f|0)==18)|0)-13|0;if((b|0)!=(p(e,y)|0)){break b}b=d+(y<<2)|0;w=0;q=d;while(1){f=j[q>>2];c=1;if(e>>>0>=2){while(1){f=ye(j[b>>2],j[j[t+136>>2]+(c<<2)>>2])+f|0;b=b+4|0;c=c+1|0;e=j[t>>2];if(c>>>0>>0){continue}break}}j[q>>2]=f;q=q+4|0;w=w+1|0;if((y|0)!=(w|0)){continue}break}t=0;c=d;break C}g=160;if((b|0)!=1){break b}b=j[e+1464>>2];if(!b){break b}c=j[d>>2];if((c|0)<0){break b}f=j[b>>2];c=c>>16;if(m[e+1492>>2]>>0){break b}Ae(j[e+1488>>2]+(c<<2)|0,j[b+136>>2],f<<2);break D}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]+j[d+4>>2];break F}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]-j[d+4>>2];break F}if((b|0)!=2){g=160;break b}D=d,E=ye(j[d>>2],j[d+4>>2]),j[D>>2]=E;break F}g=160;if((b|0)!=2){break b}b=j[d+4>>2];if(!b){break b}D=d,E=De(j[d>>2],b),j[D>>2]=E;break F}g=160;if(!j[e+1464>>2]|(b|0)!=2){break b}b=j[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[j[e+1488>>2]+(b<<2)>>2]=j[d>>2];break D}g=160;if(!j[e+1464>>2]|(b|0)!=1){break b}b=j[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[d>>2]=j[j[e+1488>>2]+(b<<2)>>2];break F}if((b|0)!=4){g=160;break b}y=1;if(j[d+8>>2]<=j[d+12>>2]){break E}j[d>>2]=j[d+4>>2];c=d;break C}if(b){g=160;break b}b=j[u+4>>2];j[d>>2]=((b|0)>32767)+b;b=j[u+4>>2];b=ye(b,65536-b|0);j[u+4>>2]=b?b:10355;break F}c=d;t=b;if((g|q)>=0){break C}g=160;break b}b=j[(d<<2)+133888>>2];if((b|0)>(f-e|0)-112>>2){g=161;break b}c=f-(b<<2)|0;g=160;V:{W:{X:{switch(d-1|0){case 0:c=j[a+20>>2];Y:{if(!c){break Y}d=0;b=l[c>>1];f=b<<16>>16;if((f|0)>=2){d=i[(j[c+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[c+2>>1];Z:{if((b|0)<2){break Z}r=j[c+4>>2];n=r+(d<<3)|0;r=(r+(b<<3)|0)-8|0;if(j[n>>2]!=j[r>>2]|j[n+4>>2]!=j[r+4>>2]|k[(j[c+8>>2]+b|0)-1|0]!=1){break Z}b=b-1|0;i[c+2>>1]=b}if((f|0)<1){break Y}n=d;d=(b<<16>>16)-1|0;if((n|0)==(d|0)){i[c+2>>1]=b-1;i[c>>1]=f-1;break Y}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=d}if(s){if(qe[j[s+8>>2]](j[s>>2],i[c+2>>1])|0){break b}g=qe[j[s+24>>2]](j[s>>2],j[a+20>>2],j[a+76>>2],j[j[u+12>>2]+1468>>2])|0;if(g){break b}}Xh(j[a+12>>2]);break c;case 1:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];b=j[c+4>>2];g=0;j[a+44>>2]=0;j[a+40>>2]=b;if(k[a+70|0]){break b}o=j[a+28>>2];B=j[c>>2]+j[a+24>>2]|0;n=B;break V;case 2:if(k[e+1496|0]|k[e+70|0]){break b}b=j[c+16>>2]>>16;f=j[c+12>>2]>>16;d=j[c+8>>2];r=j[c+4>>2];n=j[c>>2];q=j[e+32>>2];a=j[j[j[e+4>>2]+128>>2]+48>>2];_:{if(!j[e+1356>>2]){if(a){break _}break b}if(a){break _}c=-1;$:{if(f>>>0>255){break $}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(f<<1)>>1])|0;t=j[e+1352>>2];if(!t){break $}x=j[e+1356>>2];c=0;while(1){f=j[x+(c<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break $}}c=c+1|0;if((t|0)!=(c|0)){continue}break}c=-1}aa:{ba:{if(b>>>0>255){break ba}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(b<<1)>>1])|0;t=j[e+1352>>2];if(!t){break ba}x=j[e+1356>>2];b=0;while(1){f=j[x+(b<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break aa}}b=b+1|0;if((t|0)!=(b|0)){continue}break}}b=-1}f=c}if((b|f)<0){break b}q=q+r|0;if(k[e+69|0]){c=j[e+8>>2];r=j[j[c+156>>2]>>2];g=os(r,2);if(g){break b}a=j[r+88>>2];j[a+32>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;i[a+4>>1]=514;j[a>>2]=f;i[a+36>>1]=2;b=a;f=q-n|0;n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[b+40>>2]=n>>16;j[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;j[c+128>>2]=2;a=j[r+52>>2];j[c+72>>2]=1668246896;j[c+132>>2]=a;j[r+84>>2]=2;break c}RO(j[e+12>>2]);h[e+1496|0]=1;g=qe[j[e+1472>>2]](e,f)|0;h[e+1496|0]=0;if(g){break b}h[e+1496|0]=1;j[e+28>>2]=d;a=j[e+32>>2];c=j[e+36>>2];j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=q-n;d=j[e+40>>2];f=j[e+44>>2];g=qe[j[e+1472>>2]](e,b)|0;h[e+1496|0]=0;if(g){break b}j[e+40>>2]=d;j[e+44>>2]=f;j[e+32>>2]=a;j[e+36>>2]=c;j[e+24>>2]=0;j[e+28>>2]=0;break c;case 3:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];j[a+36>>2]=j[a+36>>2]+j[c+4>>2];j[a+40>>2]=j[c+8>>2];j[a+44>>2]=j[c+12>>2];if(k[a+70|0]){break c}o=j[c+4>>2]+j[a+28>>2]|0;n=j[c>>2]+j[a+24>>2]|0;break V;case 4:ca:{if((j[a+64>>2]&-2)!=2){break ca}b=j[a+20>>2];if(!b){break ca}e=0;f=l[b>>1];d=f<<16>>16;if((d|0)>=2){e=i[(j[b+12>>2]+(f<<1)|0)-4>>1]+1|0}f=i[b+2>>1];da:{if((f|0)<2){break da}q=j[b+4>>2];g=q+(e<<3)|0;q=(q+(f<<3)|0)-8|0;if(j[g>>2]!=j[q>>2]|j[g+4>>2]!=j[q+4>>2]|k[(j[b+8>>2]+f|0)-1|0]!=1){break da}f=f-1|0;i[b+2>>1]=f}if((d|0)<1){break ca}q=(f<<16>>16)-1|0;if((q|0)==(e|0)){i[b+2>>1]=f-1;i[b>>1]=d-1;break ca}i[(j[b+12>>2]+(d<<1)|0)-2>>1]=q}j[a+64>>2]=1;break V;case 5:g=wh(a,n,o);if(g){break b}n=j[c>>2]+n|0;break W;case 6:n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 7:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+n|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){q=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[g+q|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=j[c+8>>2]+o|0;n=f+j[c+4>>2]|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=o+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 8:g=wh(a,n,o);if(g){break b}o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;break W;case 9:o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 10:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c+4>>2]+o|0;n=j[c>>2]+n|0;q=0;w=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;w=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;e=f+j[c+12>>2]|0;n=n+j[c+8>>2]|0;f=b;if(w&255){q=j[b+8>>2];o=i[b+2>>1];d=j[b+4>>2]+(o<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;h[o+q|0]=2;q=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=e+j[c+20>>2]|0;n=n+j[c+16>>2]|0;if(q&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 11:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+o|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=f+j[c+8>>2]|0;n=j[c+4>>2]+n|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;n=n+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 12:g=wh(a,n,o);if(g){break b}o=j[c>>2]+o|0;break W;case 13:o=j[c>>2]+o|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 19:D=c,E=De(j[c>>2],j[c+4>>2]),j[D>>2]=E;c=c+4|0;z=0;break V;case 21:b=j[c>>2];if((b|0)<0){break b}d=b>>16;if(((v-e|0)-1140|0)>180|(d|0)>=j[e+1364>>2]){break b}j[v>>2]=r;d=d<<2;b=j[u+12>>2];f=d+j[b+1368>>2]|0;r=j[f>>2];j[v+16>>2]=r;q=j[b+1372>>2];ea:{if(q){x=j[d+q>>2]+r|0;break ea}d=j[b+1360>>2];r=((d|0)>0?d:0)+r|0;j[v+16>>2]=r;x=j[f+4>>2]}j[v+12>>2]=r;j[v+20>>2]=x;if(!r){break b}v=v+12|0;j[b+1344>>2]=v;break V;case 22:if((y|0)>=1){y=y-1|0;break V}if(!t){break b}c=c+4|0;t=t-1|0;break V;case 23:if(e+1140>>>0>=v>>>0){break b}v=v-12|0;x=j[v+8>>2];r=j[v>>2];j[e+1344>>2]=v;break V;case 15:if(!s){break V}qe[j[s+12>>2]](j[s>>2],1,c);break V;case 16:if(!s){break V}qe[j[s+16>>2]](j[s>>2],1,c);break V;case 17:if(!s){break V}j[c>>2]=j[c>>2]+B;qe[j[s+12>>2]](j[s>>2],0,c);break V;case 18:if(!s){break V}j[c>>2]=j[c>>2]+B;j[c+8>>2]=j[c+8>>2]+B;j[c+16>>2]=j[c+16>>2]+B;qe[j[s+16>>2]](j[s>>2],0,c);break V;case 14:case 25:break V;case 24:break X;default:break b}}o=j[c+4>>2];n=j[c>>2];j[e+1400>>2]=0;break V}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){g=yf(b,1,0);if(g){break b}}d=j[a+20>>2];if(k[a+68|0]){q=j[d+8>>2];e=i[d+2>>1];b=j[d+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[d+2>>1]=l[d+2>>1]+1}e=j[u+12>>2];j[e+1136>>2]=c;break B}y=1;c=d;break C}c=d;break C}c=d}e=j[u+12>>2];j[e+1136>>2]=(y<<2)+c}b=r;if(x>>>0>b>>>0){continue}break}}g=0}oe=u+16|0;return g|0}function mh(a,b,c,d,e){var f=0,g=0,m=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=0,z=q(0),A=0,B=q(0),C=0,D=0,E=0;f=oe-1328|0;oe=f;a:{if(!j[57840]){t=-1;if(!c){break a}ve(66565,0);break a}b:{if(!c){if((b|0)<1){break b}y=f+1076|0;c=0;while(1){C=t;d=j[57841];c:{if((d|0)>=65535){j[f>>2]=d;ve(66645,f);d=0;break c}m=j[57845];d:{if(!m){m=qe[j[57972]](80)|0;if(m){j[57976]=j[57976]+1}if(m){break d}d=0;break c}j[57845]=j[m+72>>2]}e=p(c,56)+a|0;g=j[66367];e:{if(!g){break e}d=j[e>>2];if((d|0)==1024|(d|0)==1794?(g|0)<=1:0){break e}h[f+1168|0]=0;h[f+1296|0]=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if((d&-32768)==32768){Re(f+1296|0,66677,32);d=j[e>>2];ca:{if(d>>>0>=32769){j[f+1088>>2]=d-32768;Ue(f+1104|0,16,66691,f+1088|0);break ca}h[f+1104|0]=0}d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+12>>2];j[y>>2]=j[e+20>>2];j[f+1072>>2]=r;j[f+1068>>2]=s;j[f+1060>>2]=d;j[f+1064>>2]=g;j[f+1056>>2]=f+1104;Ue(f+1168|0,128,66695,f+1056|0);d=j[e>>2]}if((d|0)<=1535){if((d|0)<=767){da:{switch(d-256|0){case 6:break X;case 5:break Y;case 4:break Z;case 3:break _;case 2:break $;case 1:break aa;case 0:break ba;default:break da}}switch(d-512|0){case 1:break R;case 0:break S;default:break j}}ea:{switch(d-768|0){case 3:break N;case 2:break O;case 1:break P;case 0:break Q;case 4:break W;default:break ea}}switch(d-1024|0){case 3:break J;case 2:break K;case 1:break L;case 0:break M;default:break i}}if((d|0)<=2047){fa:{switch(d-1536|0){case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:break i;case 85:break w;case 84:break x;case 83:break y;case 82:break z;case 81:break A;case 80:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break fa}}switch(d-1792|0){case 2:break t;case 1:break u;case 0:break v;default:break i}}if((d|0)<=4095){switch(d-2048|0){case 2:break q;case 1:break r;case 0:break s;default:break V}}ga:{switch(d-4096|0){case 3:break m;case 2:break n;case 1:break o;case 0:break p;default:break ga}}ha:{switch(d-4352|0){case 1:break k;case 0:break l;default:break ha}}switch(d+ -8192|0){case 1:break T;case 0:break U;default:break i}}Re(f+1296|0,66793,32);j[f+48>>2]=j[e+4>>2];Ue(f+1168|0,128,66802,f+48|0);break g}Re(f+1296|0,66818,32);break g}Re(f+1296|0,66838,32);break g}Re(f+1296|0,66856,32);break g}Re(f+1296|0,66884,32);break g}Re(f+1296|0,66911,32);break g}Re(f+1296|0,66939,32);break g}Re(f+1296|0,66966,32);break g}if((d|0)!=2304){break i}Re(f+1296|0,66984,32);break g}Re(f+1296|0,67004,32);break g}Re(f+1296|0,67029,32);break g}Re(f+1296|0,67053,32);t=f+1104|0;d=h[e+12|0];if(d>>>0<=16){d=j[(d<<2)+69176>>2]}else{d=67511}Re(t,d,64);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];j[f+80>>2]=j[e+20>>2];j[f+64>>2]=g;j[f+68>>2]=r;j[f+76>>2]=d;j[f+72>>2]=f+1104;Ue(f+1168|0,128,67533,f- -64|0);break g}Re(f+1296|0,67588,32);j[f+96>>2]=j[e+4>>2];Ue(f+1168|0,128,66802,f+96|0);break g}Re(f+1296|0,67603,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+136>>2]=l[e+24>>1];j[f+128>>2]=s;j[f+132>>2]=r;j[f+124>>2]=t?67709:67714;j[f+112>>2]=d;j[f+116>>2]=g;j[f+120>>2]=(u|0)==1?67692:67700;Ue(f+1168|0,128,67615,f+112|0);break g}Re(f+1296|0,67720,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+168>>2]=l[e+24>>1];j[f+160>>2]=s;j[f+164>>2]=r;j[f+156>>2]=t?67709:67714;j[f+144>>2]=d;j[f+148>>2]=g;j[f+152>>2]=(u|0)==1?67692:67700;Ue(f+1168|0,128,67615,f+144|0);break g}Re(f+1296|0,67730,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+44>>2];j[f+192>>2]=j[e+48>>2];j[f+188>>2]=r;j[f+176>>2]=d;j[f+180>>2]=g;j[f+184>>2]=e+12;Ue(f+1168|0,128,67746,f+176|0);break g}Re(f+1296|0,67803,32);d=j[e+4>>2];g=j[e+8>>2];j[f+216>>2]=e+12;j[f+208>>2]=d;j[f+212>>2]=g;Ue(f+1168|0,128,67817,f+208|0);break g}Re(f+1296|0,67855,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+28>>2];u=j[e+24>>2];t=j[e+32>>2];A=j[e+12>>2];j[f+240>>2]=j[e+20>>2];j[f+252>>2]=t;j[f+244>>2]=u;j[f+248>>2]=s;j[f+236>>2]=r;j[f+224>>2]=d;j[f+228>>2]=g;j[f+232>>2]=A;Ue(f+1168|0,128,67871,f+224|0);break g}Re(f+1296|0,67943,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+276>>2]=k[e+18|0];j[f+280>>2]=A;j[f+284>>2]=s;j[f+272>>2]=(t|0)==1?67692:67700;j[f+268>>2]=r;j[f+256>>2]=d;j[f+260>>2]=g;j[f+264>>2]=u;Ue(f+1168|0,128,67963,f+256|0);break g}Re(f+1296|0,68039,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+308>>2]=k[e+18|0];j[f+312>>2]=A;j[f+316>>2]=s;j[f+304>>2]=(t|0)==1?67692:67700;j[f+300>>2]=r;j[f+288>>2]=d;j[f+292>>2]=g;j[f+296>>2]=u;Ue(f+1168|0,128,67963,f+288|0);break g}Re(f+1296|0,68057,32);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];s=j[e+24>>2];u=j[e+12>>2];j[f+336>>2]=j[e+20>>2];j[f+340>>2]=s?68139:68132;j[f+320>>2]=g;j[f+324>>2]=r;j[f+332>>2]=d;j[f+328>>2]=u;Ue(f+1168|0,128,68072,f+320|0);break g}Re(f+1296|0,68147,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+364>>2]=i[e+16>>1];j[f+360>>2]=r;j[f+352>>2]=d;j[f+356>>2]=g;Ue(f+1168|0,128,68165,f+352|0);break g}Re(f+1296|0,68207,32);d=j[e+4>>2];g=j[e+8>>2];r=i[e+16>>1];s=k[e+12|0];j[f+384>>2]=i[e+18>>1];j[f+380>>2]=r;j[f+376>>2]=s;j[f+368>>2]=d;j[f+372>>2]=g;Ue(f+1168|0,128,68225,f+368|0);break g}Re(f+1296|0,68274,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+412>>2]=k[e+13|0];j[f+408>>2]=r;j[f+400>>2]=d;j[f+404>>2]=g;Ue(f+1168|0,128,68291,f+400|0);break g}Re(f+1296|0,68332,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+424>>2]=k[e+12|0];j[f+416>>2]=d;j[f+420>>2]=g;j[f+428>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+416|0);break g}Re(f+1296|0,68394,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+440>>2]=k[e+12|0];j[f+432>>2]=d;j[f+436>>2]=g;j[f+444>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+432|0);break g}Re(f+1296|0,68410,32);d=j[e+8>>2];j[f+448>>2]=j[e+4>>2];j[f+452>>2]=d;Ue(f+1168|0,128,68429,f+448|0);break g}Re(f+1296|0,68454,32);d=j[e+8>>2];j[f+464>>2]=j[e+4>>2];j[f+468>>2]=d;Ue(f+1168|0,128,68429,f+464|0);break g}Re(f+1296|0,68475,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+492>>2]=i[e+16>>1];j[f+488>>2]=r;j[f+480>>2]=d;j[f+484>>2]=g;Ue(f+1168|0,128,68165,f+480|0);break g}Re(f+1296|0,68500,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+504>>2]=k[e+12|0];j[f+496>>2]=d;j[f+500>>2]=g;j[f+508>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+496|0);break g}Re(f+1296|0,68525,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+520>>2]=k[e+12|0];j[f+512>>2]=d;j[f+516>>2]=g;j[f+524>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+512|0);break g}Re(f+1296|0,68548,32);d=j[e+8>>2];j[f+528>>2]=j[e+4>>2];j[f+532>>2]=d;Ue(f+1168|0,128,68429,f+528|0);break g}Re(f+1296|0,68574,32);d=j[e+8>>2];j[f+544>>2]=j[e+4>>2];j[f+548>>2]=d;Ue(f+1168|0,128,68429,f+544|0);break g}Re(f+1296|0,68602,32);d=j[e+8>>2];j[f+560>>2]=j[e+4>>2];j[f+564>>2]=d;Ue(f+1168|0,128,68429,f+560|0);break g}Re(f+1296|0,68631,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+592>>2]=j[e+16>>2];j[f+596>>2]=s;o[f+632>>3]=B;o[f+624>>3]=z;o[f+616>>3]=x;o[f+608>>3]=w;o[f+600>>3]=v;j[f+584>>2]=g;j[f+588>>2]=r;j[f+576>>2]=d;Ue(f+1168|0,128,68646,f+576|0);break g}Re(f+1296|0,68723,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+656>>2]=j[e+16>>2];j[f+660>>2]=s;o[f+696>>3]=B;o[f+688>>3]=z;o[f+680>>3]=x;o[f+672>>3]=w;o[f+664>>3]=v;j[f+648>>2]=g;j[f+652>>2]=r;j[f+640>>2]=d;Ue(f+1168|0,128,68646,f+640|0);break g}Re(f+1296|0,68736,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+720>>2]=j[e+16>>2];j[f+724>>2]=s;o[f+760>>3]=B;o[f+752>>3]=z;o[f+744>>3]=x;o[f+736>>3]=w;o[f+728>>3]=v;j[f+712>>2]=g;j[f+716>>2]=r;j[f+704>>2]=d;Ue(f+1168|0,128,68646,f+704|0);break g}Re(f+1296|0,68753,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+792>>2]=j[e+24>>2];j[f+784>>2]=u;j[f+788>>2]=s;o[f+816>>3]=x;o[f+808>>3]=w;o[f+800>>3]=v;j[f+776>>2]=g;j[f+780>>2]=r;j[f+768>>2]=d;Ue(f+1168|0,128,68771,f+768|0);break g}Re(f+1296|0,68848,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+856>>2]=j[e+24>>2];j[f+848>>2]=u;j[f+852>>2]=s;o[f+880>>3]=x;o[f+872>>3]=w;o[f+864>>3]=v;j[f+840>>2]=g;j[f+844>>2]=r;j[f+832>>2]=d;Ue(f+1168|0,128,68771,f+832|0);break g}Re(f+1296|0,68865,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+16>>2];w=n[e+24>>2];x=n[e+28>>2];z=n[e+20>>2];j[f+944>>2]=l[e+32>>1];o[f+920>>3]=z;o[f+936>>3]=x;o[f+928>>3]=w;o[f+912>>3]=v;j[f+904>>2]=g;j[f+908>>2]=r;j[f+896>>2]=d;Ue(f+1168|0,128,68882,f+896|0);break g}Re(f+1296|0,68954,32);d=j[e+4>>2];g=j[e+8>>2];j[f+968>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+960>>2]=E;j[f+964>>2]=pe;Ue(f+1168|0,128,68967,f+960|0);break g}Re(f+1296|0,69005,32);d=j[e+4>>2];g=j[e+8>>2];j[f+984>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+976>>2]=E;j[f+980>>2]=pe;Ue(f+1168|0,128,68967,f+976|0);break g}Re(f+1296|0,69018,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1e3>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+992>>2]=E;j[f+996>>2]=pe;Ue(f+1168|0,128,68967,f+992|0);break g}Re(f+1296|0,69032,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1016>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+1008>>2]=E;j[f+1012>>2]=pe;Ue(f+1168|0,128,68967,f+1008|0);break g}Re(f+1296|0,69049,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1032>>2]=k[e+12|0]?67709:67714;j[f+1024>>2]=d;j[f+1028>>2]=g;Ue(f+1168|0,128,69070,f+1024|0);break g}Re(f+1296|0,69108,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1048>>2]=k[e+12|0]?67709:67714;j[f+1040>>2]=d;j[f+1044>>2]=g;Ue(f+1168|0,128,69070,f+1040|0);break g}if(!d){break h}}if(k[f+1296|0]){break f}Re(f+1296|0,69131,32);j[f+32>>2]=j[e>>2];Ue(f+1168|0,128,69139,f+32|0);break g}Re(f+1296|0,66751,32);Re(f+1168|0,66766,128)}if(!k[f+1296|0]){break e}}j[f+20>>2]=f+1168;j[f+16>>2]=f+1296;$g(69159,f+16|0)}d=j[e+4>>2];j[m>>2]=j[e>>2];j[m+4>>2]=d;d=j[e+52>>2];j[m+48>>2]=j[e+48>>2];j[m+52>>2]=d;d=j[e+44>>2];j[m+40>>2]=j[e+40>>2];j[m+44>>2]=d;d=j[e+36>>2];j[m+32>>2]=j[e+32>>2];j[m+36>>2]=d;d=j[e+28>>2];j[m+24>>2]=j[e+24>>2];j[m+28>>2]=d;d=j[e+20>>2];j[m+16>>2]=j[e+16>>2];j[m+20>>2]=d;d=j[e+12>>2];j[m+8>>2]=j[e+8>>2];j[m+12>>2]=d;if(j[e>>2]==513){d=j[e+8>>2];e=j[d+4>>2];j[m+56>>2]=j[d>>2];j[m+60>>2]=e;j[m- -64>>2]=j[d+8>>2];j[m+8>>2]=m+56}d=j[57844];ia:{if(d){j[d+72>>2]=m;break ia}j[57843]=m}j[57844]=m;j[m+72>>2]=0;j[m+68>>2]=d;e=j[57841];j[57841]=e+1;d=1;if((e|0)>2];j[y+12>>2]=t;t=y;if(m){continue}break}j[57847]=t}j[57846]=0}t=0;y=j[57843];if(!y){break b}s=(c|0)!=2;while(1){if((b|0)<=(t|0)?a:0){break b}c=y;y=j[c+72>>2];m=j[c>>2];if(!(m>>>0>>0|e>>>0>>0)){ja:{if(!a){break ja}r=j[c+4>>2];g=p(t,56)+a|0;m=g;j[m>>2]=j[c>>2];j[m+4>>2]=r;m=j[c+52>>2];j[g+48>>2]=j[c+48>>2];j[g+52>>2]=m;m=j[c+44>>2];j[g+40>>2]=j[c+40>>2];j[g+44>>2]=m;m=j[c+36>>2];j[g+32>>2]=j[c+32>>2];j[g+36>>2]=m;m=j[c+28>>2];j[g+24>>2]=j[c+24>>2];j[g+28>>2]=m;m=j[c+20>>2];j[g+16>>2]=j[c+16>>2];j[g+20>>2]=m;m=j[c+12>>2];j[g+8>>2]=j[c+8>>2];j[g+12>>2]=m;if(j[c>>2]==513){m=j[57847];ka:{if(m){j[57847]=j[m+12>>2];break ka}m=qe[j[57972]](16)|0;if(m){j[57976]=j[57976]+1}}r=j[c+8>>2];u=j[r+4>>2];j[m>>2]=j[r>>2];j[m+4>>2]=u;j[m+8>>2]=j[r+8>>2];j[m+12>>2]=j[57846];j[57846]=m;j[g+8>>2]=m}if(s){break ja}m=j[c+68>>2];if(m){j[m+72>>2]=j[c+72>>2]}g=j[c+72>>2];if(g){j[g+68>>2]=m}if((c|0)==j[57843]){j[57843]=g}if((c|0)==j[57844]){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}t=t+1|0}if(y){continue}break}}if(!j[57839]){break a}}oe=f+1328|0;return t}function tr(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-32|0;oe=e;u=j[b+100>>2];c=1;a:{b:{c:{d:{e:{f:{if(Fe(a,0)){break f}d=$e(a,132592,b+184|0);j[e+28>>2]=d;if(d){break f}c=3;if(j[b+184>>2]!=1885562369){break f}d=j[b+188>>2];if(d-1>>>0>134217726){break f}d=xe(u,16,0,d,0,e+28|0);j[b+192>>2]=d;c=64;if(j[e+28>>2]){break f}g:{if(j[b+188>>2]){while(1){c=$e(a,132608,d);j[e+28>>2]=c;if(c){break d}d=d+16|0;f=f+1|0;c=j[b+188>>2];if(f>>>0>>0){continue}break}r=1;d=j[b+192>>2];if((c|0)==1){break g}f=c}c=0;h:{i:{while(1){n=c+1|0;if((n|0)==(f|0)){g=f-1|0;q=j[a+4>>2];d=j[b+192>>2];break i}q=c^-1;g=j[d+12>>2];o=0;r=0;while(1){c=(r<<4)+d|0;r=r+1|0;l=(r<<4)+d|0;f=j[l+12>>2];if(g>>>0>f>>>0){g=j[c+12>>2];j[e+16>>2]=j[c+8>>2];j[e+20>>2]=g;g=j[c+4>>2];j[e+8>>2]=j[c>>2];j[e+12>>2]=g;g=j[l+12>>2];j[c+8>>2]=j[l+8>>2];j[c+12>>2]=g;g=j[l+4>>2];j[c>>2]=j[l>>2];j[c+4>>2]=g;g=j[e+20>>2];j[l+8>>2]=j[e+16>>2];j[l+12>>2]=g;g=j[e+12>>2];j[l>>2]=j[e+8>>2];j[l+4>>2]=g;o=1;f=j[l+12>>2]}g=j[c+8>>2];if(g>>>0>f>>>0|m[c+12>>2]>f-g>>>0){break h}g=f;f=j[b+188>>2];if(q+f>>>0>r>>>0){continue}break}g=f-1|0;if(o){c=n;if(g>>>0>c>>>0){continue}}break}r=1;q=j[a+4>>2];d=j[b+192>>2];n=d;if((f|0)==1){break e}}l=g>>>0>1?g:1;n=(l<<4)+d|0;g=0;c=d;while(1){o=j[c+8>>2];if(!(m[c+12>>2]<=q-o>>>0?o>>>0<=q>>>0:0)){j[e+28>>2]=8;break d}c=c+16|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}r=f;break e}j[e+28>>2]=9;break d}q=j[a+4>>2];n=d;break e}j[e+4>>2]=c;break b}c=j[n+12>>2];if(c>>>0>q>>>0){j[e+28>>2]=8;break d}c=q-c|0;if(c>>>0>2]){j[n+8>>2]=c}j[e+4>>2]=0;break c}d=j[b+192>>2];if(d){qe[j[u+8>>2]](u,d)}d=0;j[b+192>>2]=0;c=j[e+28>>2];j[e+4>>2]=c;if(c){break b}r=j[b+188>>2]}n=j[b+100>>2];q=3;j:{k:{l:{if(!r){break l}c=0;while(1){if(j[(c<<4)+d>>2]==1){q=83;g=j[((c<<4)+d|0)+12>>2];f=j[a+8>>2];if(g>>>0>>0){break l}if(xf(a,g-f|0)){break l}l=j[((c<<4)+d|0)+8>>2];d=0;j[e+8>>2]=0;c=Zf(a,e+8|0);if(c>>>0<=255){break k}c=0;break j}c=c+1|0;if((r|0)!=(c|0)){continue}break}}j[e+8>>2]=q;d=0;c=0;break j}if(j[e+8>>2]){c=0;break j}f=c&4;m:{if(f){g=sf(a,e+8|0);break m}g=Zf(a,e+8|0)}if(j[e+8>>2]){c=0;break j}if(g>>>0>(l>>>0)/9>>>0){j[e+8>>2]=8;c=0;break j}j[b+280>>2]=g;c=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}n:{if(!g){break n}while(1){o=p(d,12)+c|0;o:{if(f){o=$e(a,132640,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}o=$e(a,132672,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g&3;if(!d){break n}d=xf(a,4-d|0);j[e+8>>2]=d;if(!d){break n}j[e+8>>2]=83;d=0;break j}p:{if(f){f=sf(a,e+8|0);break p}f=Zf(a,e+8|0)}d=0;if(j[e+8>>2]){break j}if(f>>>0>l+p(g,-9)>>>0){j[e+8>>2]=8;break j}d=xe(n,1,0,f+1|0,0,e+8|0);if(j[e+8>>2]){break j}l=uf(a,d,f);j[e+8>>2]=l;if(l){break j}q=0;r=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}j[b+284>>2]=r;if(g){while(1){o=p(q,12);l=o+c|0;s=j[l>>2];if(!(f>>>0>=s>>>0?(s|0)>=0:0)){j[e+8>>2]=9;break j}o=o+r|0;y=o,z=gg(n,d+s|0,e+8|0),j[y>>2]=z;if(j[e+8>>2]){break j}s=k[l+4|0];h[o+4|0]=s;l=j[l+8>>2];q:{if(s){if(!(f>>>0>=l>>>0?(l|0)>=0:0)){j[e+8>>2]=9;break j}y=o,z=gg(n,d+l|0,e+8|0),j[y+8>>2]=z;if(!j[e+8>>2]){break q}break j}j[o+8>>2]=l}q=q+1|0;if((g|0)!=(q|0)){continue}break}}j[e+8>>2]=0}if(c){qe[j[n+8>>2]](n,c)}if(d){qe[j[n+8>>2]](n,d)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}r:{s:{d=j[b+188>>2];if(!d){break s}f=j[b+192>>2];c=0;while(1){if(j[(c<<4)+f>>2]!=256){c=c+1|0;if((d|0)!=(c|0)){continue}break s}break}g=0;break r}d=rr(a,b,2);j[e+4>>2]=d;if(d){break b}d=j[b+188>>2];f=j[b+192>>2];g=1}if(!d){j[e+4>>2]=3;break b}l=j[b+100>>2];c=0;t:{u:{while(1){if(j[(c<<4)+f>>2]==4){d=83;n=j[((c<<4)+f|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break t}if(xf(a,n-o|0)){break t}f=j[((c<<4)+f|0)+8>>2];j[e+28>>2]=0;n=Zf(a,e+28|0);d=j[e+28>>2];if(d){break t}if(((n|256)&-256)==256){break u}j[e+4>>2]=3;break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}d=n&4;v:{if(n>>>0<=255){if(d){c=sf(a,e+28|0);break v}c=Zf(a,e+28|0);break v}if(d){c=qf(a,e+28|0);break v}c=Xr(a,e+28|0)}d=3;if(j[e+28>>2]){break t}j[b+288>>2]=c;d=8;if(!c){break t}w:{if(n>>>0<=255){if(c>>>0<=(f>>>0)/12>>>0){break w}break t}if(c>>>0>(f>>>0)/5>>>0){break t}}f=xe(l,16,0,c,0,e+28|0);j[b+292>>2]=f;d=64;if(j[e+28>>2]){break t}o=c>>>0>1?c:1;r=n&4?132832:132864;n=n>>>0>255;d=0;x:{y:{while(1){z:{if(!n){c=$e(a,r,f);break z}c=$e(a,132896,e+8|0);if(c){break z}i[f>>1]=k[e+8|0]-128;i[f+2>>1]=k[e+9|0]-128;i[f+4>>1]=k[e+10|0]-128;i[f+6>>1]=k[e+11|0]-128;q=k[e+12|0];i[f+10>>1]=0;i[f+8>>1]=q-128}j[e+28>>2]=c;j[f+12>>2]=0;if(c){break y}if(!((i[f+8>>1]+i[f+6>>1]|0)>-1?i[f+2>>1]>=i[f>>1]:0)){j[f>>2]=0;j[f+4>>2]=0;i[f+8>>1]=0}f=f+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}j[e+4>>2]=0;break x}d=j[b+292>>2];if(d){qe[j[l+8>>2]](l,d)}j[b+292>>2]=0;d=j[e+28>>2];j[e+4>>2]=d;if(d){break b}}f=j[b+188>>2];if(!f){j[e+4>>2]=3;break b}d=j[b+192>>2];l=j[b+100>>2];c=0;A:{B:{while(1){if(j[d+(c<<4)>>2]==8){f=83;n=j[(d+(c<<4)|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break A}if(xf(a,n-o|0)){break A}q=j[(d+(c<<4)|0)+8>>2];f=_e(a,8);j[e+8>>2]=f;if(!f){break B}break A}c=c+1|0;if((f|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}o=Cm(a);r=o&4;C:{if(r){d=Ff(a);break C}d=Cm(a)}Ve(a);if(o>>>0>255){j[e+4>>2]=3;break b}f=3;if((d|0)!=j[b+288>>2]){break A}c=0;n=xe(l,4,0,d,0,e+8|0);f=j[e+8>>2];if(f){break A}D:{if(d){while(1){s=n+(c<<2)|0;E:{if(r){f=sf(a,e+8|0);break E}f=Zf(a,e+8|0)}j[s>>2]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break}if(j[e+8>>2]){break D}}F:{if(!r){Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);break F}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0)}if(j[e+8>>2]){break D}if(d){c=0;while(1){f=j[n+(c<<2)>>2];if(!((f|0)<0|f>>>0>q>>>0)){j[(j[b+292>>2]+(c<<4)|0)+12>>2]=f+j[a+8>>2]}c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+308>>2]=o}if(n){qe[j[l+8>>2]](l,n)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}q=3;G:{f=j[b+188>>2];if(!f){break G}d=j[b+192>>2];r=j[b+100>>2];c=0;while(1){H:{if(j[d+(c<<4)>>2]==32){q=83;d=j[(d+(c<<4)|0)+12>>2];c=j[a+8>>2];if(d>>>0>>0){break G}if(xf(a,d-c|0)){break G}q=_e(a,14);j[e+8>>2]=q;if(!q){break H}break G}c=c+1|0;if((f|0)!=(c|0)){continue}break G}break}d=b;n=Cm(a);t=n&4;I:{if(t){f=af(a);o=af(a);l=af(a);s=af(a);c=af(a);break I}f=pg(a);o=pg(a);l=pg(a);s=pg(a);c=pg(a)}i[d+304>>1]=c;Ve(a);q=3;if(n>>>0>255){break G}q=8;d=f<<16;if(d>>16<0){break G}c=o<<16>>16;if((c|0)>16|(c|0)>255){break G}c=l<<16>>16;if((c|0)<0|(c|0)>s<<16>>16|s<<16>>16>255){break G}q=64;f=0;v=s<<16>>16;n=l<<16>>16;w=o<<16>>16;o=d>>16;s=p((v-n|0)+1|0,(w-o|0)+1|0);l=xe(r,8,0,s,0,e+8|0);if(j[e+8>>2]){break G}d=_e(a,s<<1);j[e+8>>2]=d;J:{K:{if(d){break K}while(1){q=n<<8;c=o;while(1){L:{if(t){d=af(a);break L}d=pg(a)}if(d<<16>>16>=0){x=(f<<3)+l|0;i[x+4>>1]=d;j[x>>2]=c+q;f=f+1|0}d=(c|0)!=(w|0);c=c+1|0;if(d){continue}break}d=(n|0)!=(v|0);n=n+1|0;if(d){continue}break}Ve(a);l=xe(r,8,s,f,l,e+8|0);if(j[e+8>>2]){break K}j[b+300>>2]=l;j[b+296>>2]=f;j[e+4>>2]=0;break J}if(l){qe[j[r+8>>2]](r,l)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}}if(!g){a=rr(a,b,256);j[e+4>>2]=a;if(a){break b}}j[b>>2]=1;j[b+4>>2]=0;a=j[b+8>>2];j[b+8>>2]=a|146;if(k[b+199|0]){j[b+8>>2]=a|150}d=0;j[e+8>>2]=0;j[b+12>>2]=0;r=1;w=j[b+100>>2];c=j[b+280>>2];M:{N:{if((c|0)<1){g=0;t=0;s=0;o=1;n=0;f=0;v=1;break N}f=j[b+284>>2];while(1){O:{a=d;g=we(j[f+p(a,12)>>2],132924);d=a+1|0;if((c|0)<=(d|0)){break O}if(g){continue}}break}d=0;q=2;P:{if(g){n=0;break P}a=f+p(a,12)|0;if(!k[a+4|0]){n=0;break P}n=0;Q:{switch(k[j[a+8>>2]]-73|0){case 0:case 6:case 32:case 38:break Q;default:break P}}j[b+12>>2]=1;n=(k[j[a+8>>2]]&223)==79?132930:132938;q=3}while(1){R:{a=d;g=we(j[f+p(a,12)>>2],132945);d=a+1|0;if((c|0)<=(d|0)){break R}if(g){continue}}break}d=0;s=0;o=1;S:{if(g){break S}a=f+p(a,12)|0;o=1;if(!k[a+4|0]){break S}o=1;if((k[j[a+8>>2]]|32)!=98){break S}j[b+12>>2]=q;s=132957;o=0}while(1){T:{a=d;l=we(j[f+p(a,12)>>2],132962);d=a+1|0;if((c|0)<=(d|0)){break T}if(l){continue}}break}d=0;g=0;U:{if(l){break U}a=f+p(a,12)|0;g=0;if(!k[a+4|0]){break U}a=j[a+8>>2];l=k[a|0];g=0;if(!l){break U}g=0;if((l|0)==78){break U}g=0;if((l|0)==110){break U}g=a}while(1){V:{a=d;r=we(j[f+p(a,12)>>2],132976);d=a+1|0;if((c|0)<=(d|0)){break V}if(r){continue}}break}t=0;l=0;q=0;c=0;W:{if(r){break W}X:{a=f+p(a,12)|0;if(!k[a+4|0]){break X}a=j[a+8>>2];d=k[a|0];if(!d|(d|0)==78){break X}c=0;if((d|0)==110){break W}l=a;q=Le(a);c=q+1|0;break W}c=0}Y:{if(o){s=0;break Y}t=Le(s);c=(t+c|0)+1|0}d=0;Z:{if(!n){f=0;break Z}f=Le(n);c=(f+c|0)+1|0}r=!n;v=!g;if(g){d=Le(g);c=(d+c|0)+1|0}if(c){break M}}c=8;q=7;l=132991}c=He(w,c,e+8|0);j[b+24>>2]=c;a=j[e+8>>2];if(a){j[e+4>>2]=a;break b}if(l){c=Ae(c,l,q);if(q){a=0;while(1){l=a+c|0;if(k[l|0]==32){h[l|0]=45}a=a+1|0;if((q|0)!=(a|0)){continue}break}}c=c+q|0}if(!o){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,s,t)+t|0}if(!r){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,n,f)+f|0}if(!v){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,g,d);if(d){a=0;while(1){g=a+c|0;if(k[g|0]==32){h[g|0]=45}a=a+1|0;if((d|0)!=(a|0)){continue}break}}c=c+d|0}a=0;h[c|0]=0;d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}_:{$:{f=j[b+280>>2];if((f|0)<1){break $}c=j[b+284>>2];while(1){aa:{d=a;g=we(j[c+p(a,12)>>2],132476);a=a+1|0;if((f|0)<=(a|0)){break aa}if(g){continue}}break}if(g){break $}a=c+p(d,12)|0;if(!k[a+4|0]){break $}y=b,z=gg(u,j[a+8>>2],e+4|0),j[y+20>>2]=z;if(!j[e+4>>2]){break _}break b}j[b+20>>2]=0}j[b+28>>2]=1;j[b+16>>2]=j[b+288>>2]+1;d=0;a=xe(u,16,0,1,0,e+4|0);j[b+32>>2]=a;if(j[e+4>>2]){break b}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;o=j[b+208>>2]+j[b+204>>2]|0;i[a>>1]=o;f=j[b+284>>2];c=a;ba:{ca:{l=j[b+280>>2];if((l|0)<1){break ca}while(1){da:{g=d;n=we(j[f+p(d,12)>>2],132488);d=d+1|0;if((l|0)<=(d|0)){break da}if(n){continue}}break}if(n){break ca}d=(j[(f+p(g,12)|0)+8>>2]+5|0)/10|0;break ba}d=(o<<16>>15)/3|0}i[c+2>>1]=d;d=0;ea:{if((l|0)>0){while(1){fa:{c=d;n=we(j[f+p(c,12)>>2],132502);d=c+1|0;if((l|0)<=(d|0)){break fa}if(n){continue}}break}d=0;g=0;if(!n){g=(p(j[(f+p(c,12)|0)+8>>2],460800)+36135|0)/72270|0;j[a+4>>2]=g}while(1){ga:{c=d;o=we(j[f+p(c,12)>>2],132513);d=c+1|0;if((l|0)<=(d|0)){break ga}if(o){continue}}break}d=0;n=0;if(!o){n=j[(f+p(c,12)|0)+8>>2]<<16>>10;j[a+12>>2]=n}while(1){ha:{c=d;r=we(j[f+p(c,12)>>2],132524);d=c+1|0;if((l|0)<=(d|0)){break ha}if(r){continue}}break}d=0;o=0;o=r?o:i[(f+p(c,12)|0)+8>>1];while(1){ia:{c=d;r=we(j[f+p(c,12)>>2],132537);d=c+1|0;if((l|0)<=(d|0)){break ia}if(r){continue}}break}d=0;d=r?d:j[(f+p(c,12)|0)+8>>2];if(!n){j[a+12>>2]=g;if(!(d&65535)){break ea}n=(p(d<<16>>16,g)|0)/72|0;j[a+12>>2]=n}if(!o){g=n;break ea}if(!(d&65535)){g=n;break ea}g=(p(n,o)|0)/(d<<16>>16)|0;break ea}g=0;j[a+12>>2]=0}j[a+8>>2]=g;ja:{ka:{if((l|0)<1){break ka}d=0;while(1){la:{a=d;c=we(j[f+p(a,12)>>2],132550);d=a+1|0;if((l|0)<=(d|0)){break la}if(c){continue}}break}if(c){break ka}c=f+p(a,12)|0;break ja}c=0}ma:{na:{if((l|0)<1){break na}d=0;while(1){oa:{a=d;g=we(j[f+p(a,12)>>2],132567);d=a+1|0;if((l|0)<=(d|0)){break oa}if(g){continue}}break}if(g){break na}d=f+p(a,12)|0;break ma}d=0}a=0;if(!c|(!d|!k[c+4|0])){break a}if(!k[d+4|0]){break a}y=b,z=gg(u,j[d+8>>2],e+4|0),j[y+176>>2]=z;if(j[e+4>>2]){break b}y=b,z=gg(u,j[c+8>>2],e+4|0),j[y+180>>2]=z;if(!j[e+4>>2]){break a}break b}j[e+4>>2]=q;break b}j[e+4>>2]=f;break b}j[e+4>>2]=d}a=3}oe=e+32|0;return a}function Mz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=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,I=0,J=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];while(1){b=j[c>>2];j[c>>2]=((p(r,k[w+((b&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];x=k[t+((a&j[n+16>>2])>>>e|0)|0]+h|0;v=(x>>>0<255?x:255)>>>s<>2])>>>f|0)|0]+g|0;v=v|(x>>>0<255?x:255)>>>u<>2])>>>d|0)|0]+i|0;j[o>>2]=v|(x>>>0<255?x:255)>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[t+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>s<>2])>>>f|0)|0],g)>>>0)/255>>>u<>2])>>>d|0)|0],i)>>>0)/255>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;o=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;o=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=o+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}q=k[n+31|0];s=j[(q<<2)+234976>>2];t=k[n+30|0];u=j[(t<<2)+234976>>2];w=k[n+29|0];x=j[(w<<2)+234976>>2];v=k[n+28|0];y=j[(v<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];m=k[n+33|0];o=k[n+32|0];while(1){c=j[b>>2];j[b>>2]=((p(r,k[x+((c&j[n+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>w<>2])>>>o|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>2])>>>d|0)|0])>>>0)/255|0)+l>>>q<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>e|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>d|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>d|0)|0],i)>>>0)/255>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){o=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;o=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}w=b-d|0;o=w>>31;q=c-e|0;u=q>>31;if((o^o+w)==(u^q+u)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];y=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(r,k[w+((c&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>f|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>e|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:q=d-b|0;f=q>>31;s=e-c|0;o=s>>31;q=f^f+q;o=o^o+s;r:{if((q|0)>=(o|0)){u=o-q|0;s=o<<1;f=s-q|0;o=1;break r}u=q-o|0;t=1;s=q<<1;f=s-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);x=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;y=e?-1:1;C=d?-1:1;u=u<<1;z=k[n+31|0];D=j[(z<<2)+234976>>2];A=k[n+30|0];E=j[(A<<2)+234976>>2];B=k[n+29|0];F=j[(B<<2)+234976>>2];G=k[n+28|0];H=j[(G<<2)+234976>>2];e=k[n+35|0];m=k[n+34|0];o=k[n+33|0];q=k[n+32|0];J=j[a+20>>2];t=0;while(1){I=(p(j[a+16>>2],c)+J|0)+(b<<2)|0;d=j[I>>2];j[I>>2]=((p(r,k[F+((d&j[n+16>>2])>>>o|0)|0])>>>0)/255|0)+h>>>B<>2])>>>q|0)|0])>>>0)/255|0)+g>>>G<>2])>>>m|0)|0])>>>0)/255|0)+i>>>A<>2])>>>e|0)|0])>>>0)/255|0)+l>>>z<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;s:{if((o|0)>=(f|0)){s=f-o|0;t=f<<1;l=t-o|0;r=0;f=1;break s}s=o-f|0;r=1;t=o<<1;l=t-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);w=e?0-r|0:r;d=(b|0)>(d|0);x=d?0-f|0:f;v=e?-1:1;y=d?-1:1;s=s<<1;C=k[n+31|0];z=j[(C<<2)+234976>>2];D=k[n+30|0];A=j[(D<<2)+234976>>2];E=k[n+29|0];B=j[(E<<2)+234976>>2];F=k[n+28|0];G=j[(F<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];H=j[a+20>>2];q=0;while(1){J=(H+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[J>>2];r=k[B+((d&j[n+16>>2])>>>m|0)|0]+h|0;I=(r>>>0<255?r:255)>>>E<>2])>>>o|0)|0]+g|0;I=I|(r>>>0<255?r:255)>>>F<>2])>>>f|0)|0]+i|0;j[J>>2]=I|(r>>>0<255?r:255)>>>D<>2])>>>e|0)|0]>>>C<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;t:{if((o|0)>=(f|0)){t=f-o|0;r=f<<1;l=r-o|0;f=1;break t}t=o-f|0;s=1;r=o<<1;l=r-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);s=e?0-s|0:s;d=(b|0)>(d|0);w=d?0-f|0:f;x=e?-1:1;v=d?-1:1;t=t<<1;y=k[n+31|0];C=j[(y<<2)+234976>>2];z=k[n+30|0];D=j[(z<<2)+234976>>2];A=k[n+29|0];E=j[(A<<2)+234976>>2];B=k[n+28|0];F=j[(B<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];G=j[a+20>>2];q=0;while(1){H=(G+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[H>>2];j[H>>2]=(p(k[E+((d&j[n+16>>2])>>>m|0)|0],h)>>>0)/255>>>A<>2])>>>o|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>z<>2])>>>e|0)|0]>>>y<>31;r=e-c|0;o=r>>31;q=f^f+q;r=o^o+r;u:{if((q|0)>=(r|0)){t=r-q|0;f=r<<1;o=f-q|0;r=1;break u}t=q-r|0;s=1;f=q<<1;o=f-r|0;q=r;r=0}m=((m|0)!=0)+q|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-s|0:s;d=(b|0)>(d|0);r=d?0-r|0:r;e=e?-1:1;s=d?-1:1;t=t<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2];h=0;while(1){j[(i+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(o|0)<0;o=(d?f:t)+o|0;b=(d?r:s)+b|0;c=(d?q:e)+c|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}}function Ou(a,b,c,d,e,f,g,m){var n=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;n=oe-96|0;oe=n;a:{b:{if((c|0)==(f|0)){if((d|0)==(g|0)){break a}c:{d:{if((c|0)<=1431918168){e:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break d;default:break e}}if((c|0)==825382478){break d}if((c|0)!=844715353){break c}break b}if((c|0)==1431918169|(c|0)==1498831189){break b}if((c|0)!=1448433993){break c}}if(b){o=b;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;o=o-1|0;if(o){continue}break}}f:{g:{switch(c-842094158|0){default:if((c|0)==825382478){break f}if((c|0)!=1448433993){break a}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break a;case 0:break f;case 11:break g}}if(b+2>>>0<3){break a}c=(m+1|0)/2|0;e=(e+1|0)/2|0;a=(a+1|0)/2|0;o=(b+1|0)/2<<1;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}if(b+2>>>0<3){break a}c=(m+1|0)/2<<1;e=(e+1|0)/2<<1;a=(a+1|0)/2<<1;o=(b+1|0)/2|0;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}D=n,E=Gg(c),j[D>>2]=E;t=ve(100069,n);break a}h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1431918168){o:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break n;default:break o}}if((c|0)==825382478){break n}if((c|0)==844715353){break m}break i}if((c|0)==1431918169|(c|0)==1498831189){break m}if((c|0)!=1448433993){break i}}p:{q:{r:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break p;case 0:case 11:break q;default:break r}}if((f|0)==1448433993){break q}if((f|0)!=825382478){break p}}if(!(!b|(d|0)==(g|0))){o=g;q=d;r=b;while(1){Ge(o,q,a);o=m+o|0;q=e+q|0;r=r-1|0;if(r){continue}break}}s:{t:{u:{v:{w:{x:{y:{switch(c-842094158|0){default:if((c|0)==825382478){break u}if((c|0)!=1448433993){break s}switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break w;case 11:break x;default:break t};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break v;case 11:break y}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break s}t=gn(a,b,d,e,g,m);break a}t=sj(a,b,d,e,g,m,1);break a}t=sj(a,b,d,e,g,m,0);break a}t=gn(a,b,d,e,g,m);break a}t=sj(a,b,d,e,g,m,0);break a}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break s}t=rj(a,b,d,e,g,m,1);break a}t=rj(a,b,d,e,g,m,0);break a}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}z:{switch(f-842094158|0){case 11:t=rj(a,b,d,e,g,m,0);break a;default:if((f|0)!=1448433993){break s}t=rj(a,b,d,e,g,m,1);break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break z}}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}if((f|0)==825382478){break h}}a=Gg(c);D=n,E=Gg(f),j[D+52>>2]=E;j[n+48>>2]=a;t=ve(100131,n+48|0);break a}if((c|0)<=844715352){switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break k;default:break l}}if((c|0)==844715353){break m}if((c|0)==1448433993){break k}if((c|0)!=1431918169){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){A:{B:{if((c|0)!=1498831189){if((c|0)==1431918169){break B}if((c|0)!=844715353){break A}if((f|0)!=1431918169){if((f|0)!=1498831189){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1431918169){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;f=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!f){while(1){q=k[d+3|0];a=k[d+1|0]|k[d+2|0]<<8;h[g+3|0]=k[d|0];h[g|0]=a;h[g+1|0]=a>>>8;h[g+2|0]=q;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1498831189){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+3|0];q=k[d|0];r=k[d+1|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}a=Gg(c);D=n,E=Gg(f),j[D+36>>2]=E;j[n+32>>2]=a;t=ve(100210,n+32|0);break a}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break j}break i}if((c|0)==1498831189){break j}if((c|0)!=1448433993){break i}break k}if((c|0)!=825382478){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){if((d|0)==(g|0)){t=ve(100285,0);break a}t=-1;if((_h(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}e=j[n+80>>2];d=j[n+92>>2];C:{if(!((c|0)!=825382478?(c|0)!=842094158:0)){u=j[n+76>>2]+((a+1|0)/-2<<1)|0;r=2;break C}u=j[n+76>>2]+((a+1|0)/-2|0)|0;r=1}if((_h(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}v=b-1|0;c=(a+1|0)/-2|0;if((b|0)>=2){A=e-a|0;g=d+e|0;e=j[n+60>>2];t=e+(c<<2)|0;w=a&-2;x=a-1|0;c=j[n+72>>2];o=e+c|0;f=j[n+68>>2];e=j[n+56>>2];q=f+e|0;s=j[n+64>>2];e=e+s|0;C=(a|0)<2;while(1){m=0;if(C){c=0}else{while(1){j[n+92>>2]=d+1;h[c|0]=k[d|0];j[n+92>>2]=d+2;c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g+1|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];j[n+88>>2]=r+j[n+88>>2];j[n+84>>2]=r+j[n+84>>2];f=j[n+68>>2]+4|0;j[n+68>>2]=f;s=j[n+64>>2]+4|0;j[n+64>>2]=s;e=e+4|0;q=q+4|0;o=o+4|0;g=g+2|0;m=m+2|0;if((m|0)<(x|0)){c=j[n+72>>2];d=j[n+92>>2];continue}break}c=w}D:{if((c|0)!=(x|0)){m=j[n+88>>2];c=j[n+84>>2];break D}c=j[n+92>>2];h[j[n+72>>2]]=k[c|0];j[n+92>>2]=c+1;d=j[n+72>>2];j[n+72>>2]=d+2;h[d+2|0]=k[c|0];j[n+72>>2]=j[n+72>>2]+2;h[f|0]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];e=e+4|0;q=q+4|0;o=o+4|0;g=g+1|0;s=j[n+64>>2]+4|0;f=j[n+68>>2]+4|0;m=r+j[n+88>>2]|0;c=r+j[n+84>>2]|0}j[n+88>>2]=m+u;j[n+84>>2]=c+u;B=A+j[n+80>>2]|0;d=B+j[n+92>>2]|0;j[n+92>>2]=d;y=t+j[n+60>>2]|0;c=y+j[n+72>>2]|0;j[n+72>>2]=c;m=t+j[n+56>>2]|0;f=m+f|0;j[n+68>>2]=f;s=m+s|0;j[n+64>>2]=s;e=e+m|0;q=m+q|0;o=o+y|0;g=g+B|0;z=z+2|0;if((v|0)>(z|0)){continue}break}o=b&-2}t=0;if((o|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{m=0;g=j[n+64>>2];o=j[n+84>>2];q=j[n+68>>2];e=j[n+88>>2];while(1){h[j[n+72>>2]]=k[d|0];c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[q|0]=k[e|0];h[g|0]=k[o|0];g=g+4|0;q=q+4|0;o=o+r|0;e=e+r|0;d=d+2|0;m=m+2|0;if((b|0)>(m|0)){continue}break}j[n+88>>2]=e;j[n+92>>2]=d;j[n+68>>2]=q;j[n+84>>2]=o;j[n+64>>2]=g;a=a&-2}if((a|0)!=(b|0)){break a}h[j[n+72>>2]]=k[d|0];j[n+92>>2]=d+1;a=j[n+72>>2];j[n+72>>2]=a+2;h[a+2|0]=k[d|0];j[n+72>>2]=j[n+72>>2]+2;a=j[n+68>>2];b=j[n+88>>2];h[a|0]=k[b|0];c=j[n+64>>2];d=j[n+84>>2];h[c|0]=k[d|0];j[n+84>>2]=d+r;j[n+88>>2]=b+r;j[n+68>>2]=a+4;j[n+64>>2]=c+4;break a}if((c|0)==1431918169){break j}if((c|0)!=844715353){break i}}E:{F:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break E;default:break F}}if((f|0)==1448433993){break E}if((f|0)!=825382478){break i}}if((d|0)==(g|0)){t=ve(100285,0);break a}t=-1;if((_h(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}r=j[n+80>>2];w=j[n+92>>2];c=j[n+88>>2];s=j[n+84>>2];d=j[n+76>>2];if((_h(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}g=(a+1|0)/2|0;G:{if(!((f|0)!=825382478?(f|0)!=842094158:0)){u=j[n+56>>2]-(g<<1)|0;f=2;break G}u=j[n+56>>2]-g|0;f=1}o=j[n+72>>2];v=b-1|0;t=0;if((b|0)<2){b=0}else{q=d+s|0;e=c+d|0;d=r+w|0;x=r-(g<<2)|0;g=j[n+60>>2];C=g-a|0;g=g+o|0;w=a&-2;A=a-1|0;B=(a|0)<2;while(1){r=0;if(B){m=0}else{while(1){h[o|0]=k[j[n+92>>2]];c=j[n+92>>2];j[n+92>>2]=c+2;c=k[c+2|0];j[n+72>>2]=o+2;h[o+1|0]=c;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g+1|0]=k[d+2|0];m=j[n+68>>2];c=j[n+88>>2];h[m|0]=k[e|0]+k[c|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;s=s+4|0;j[n+84>>2]=s;c=c+4|0;j[n+88>>2]=c;j[n+68>>2]=f+m;j[n+64>>2]=f+o;q=q+4|0;e=e+4|0;d=d+4|0;g=g+2|0;r=r+2|0;if((r|0)<(A|0)){o=j[n+72>>2];continue}break}m=w}H:{if((m|0)!=(A|0)){r=j[n+68>>2];m=j[n+64>>2];break H}c=j[n+72>>2];h[c|0]=k[j[n+92>>2]];m=j[n+92>>2];j[n+92>>2]=m+2;m=k[m+2|0];j[n+72>>2]=c+1;h[c|0]=m;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g|0]=k[d+2|0];c=j[n+68>>2];m=j[n+88>>2];h[c|0]=k[e|0]+k[m|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;q=q+4|0;e=e+4|0;d=d+4|0;g=g+1|0;r=c+f|0;c=m+4|0;s=s+4|0;m=f+o|0}j[n+68>>2]=r+u;j[n+64>>2]=m+u;r=x+j[n+80>>2]|0;j[n+92>>2]=r+j[n+92>>2];m=x+j[n+76>>2]|0;c=m+c|0;j[n+88>>2]=c;s=m+s|0;j[n+84>>2]=s;y=C+j[n+60>>2]|0;o=y+j[n+72>>2]|0;j[n+72>>2]=o;g=g+y|0;q=m+q|0;e=e+m|0;d=d+r|0;z=z+2|0;if((v|0)>(z|0)){continue}break}b=b&-2}if((b|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{q=0;d=j[n+64>>2];g=j[n+68>>2];while(1){h[o|0]=k[j[n+92>>2]];e=j[n+92>>2];j[n+92>>2]=e+2;h[o+1|0]=k[e+2|0];j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[c|0];h[d|0]=k[s|0];d=d+f|0;g=f+g|0;s=s+4|0;c=c+4|0;o=o+2|0;q=q+2|0;if((b|0)>(q|0)){continue}break}j[n+88>>2]=c;j[n+72>>2]=o;j[n+68>>2]=g;j[n+84>>2]=s;j[n+64>>2]=d;a=a&-2}if((a|0)!=(b|0)){break a}h[o|0]=k[j[n+92>>2]];h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];break a}a=Gg(c);D=n,E=Gg(f),j[D+20>>2]=E;j[n+16>>2]=a;t=ve(99669,n+16|0);break a}t=sj(a,b,d,e,g,m,1);break a}if(!b){break a}a=(a+1|0)/2<<2;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;b=b-1|0;if(b){continue}break}}oe=n+96|0;return t}function $x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;a:{o=k[a+63|0];if(!o){break a}x=j[a+28>>2];if(!x){break a}y=j[a+36>>2];z=j[a+16>>2];c=j[a+24>>2];A=c&3;B=(c+3|0)/4|0;n=j[a>>2];g=j[a+20>>2];d=j[a+40>>2];u=k[d+9|0];w=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=B;b:{c:{switch(A-1|0){default:m=3;break b;case 0:m=2;break b;case 1:m=1;break b;case 2:break c}}m=0}while(1){d:{e:{switch(m|0){case 0:m=0;e=0;f=0;c=0;f:{g:{h:{switch(w|0){case 0:c=k[n|0];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break g;case 3:break h;default:break f}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;i:{j:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;k:{l:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break k;case 3:break l;default:break k}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break n;case 3:break o;default:break m}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;p:{q:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;r:{s:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break r;case 3:break s;default:break r}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break u;case 3:break v;default:break t}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;w:{x:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;y:{z:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break y;case 3:break z;default:break y}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break B;case 3:break C;default:break A}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;D:{E:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;F:{G:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break F;case 3:break G;default:break F}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>0<=244){g=j[67128];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=j[f+268560>>2];a=b+8|0;d=j[b+8>>2];f=f+268552|0;m:{if((d|0)==(f|0)){q=268512,r=mP(-2,c)&g,j[q>>2]=r;break m}j[d+12>>2]=f;j[f+8>>2]=d}c=c<<3;j[b+4>>2]=c|3;b=b+c|0;j[b+4>>2]=j[b+4>>2]|1;break a}i=j[67130];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=j[d+268560>>2];a=j[b+8>>2];d=d+268552|0;n:{if((a|0)==(d|0)){g=mP(-2,c)&g;j[67128]=g;break n}j[a+12>>2]=d;j[d+8>>2]=a}a=b+8|0;j[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;j[e+4>>2]=f|1;j[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[b+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=c}j[67133]=e;j[67130]=f;break a}n=j[67129];if(!n){break l}a=(n&0-n)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=j[((c|b)+(a>>>b|0)<<2)+268816>>2];e=(j[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=j[c+16>>2];if(!a){a=j[c+20>>2];if(!a){break p}}d=(j[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}o=b+f|0;if(o>>>0<=b>>>0){break k}l=j[b+24>>2];d=j[b+12>>2];if((d|0)!=(b|0)){a=j[b+8>>2];j[a+12>>2]=d;j[d+8>>2]=a;break b}c=b+20|0;a=j[c>>2];if(!a){a=j[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=j[c>>2];if(a){continue}c=d+16|0;a=j[d+16>>2];if(a){continue}break}j[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=j[67129];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=j[(h<<2)+268816>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(j[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=j[c+20>>2];c=j[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=j[((c|b)+(a>>>b|0)<<2)+268816>>2]}if(!a){break q}}while(1){c=(j[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=j[a+16>>2];if(b){a=b}else{a=j[a+20>>2]}if(a){continue}break}}if(!d|j[67130]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}l=j[d+24>>2];b=j[d+12>>2];if((d|0)!=(b|0)){a=j[d+8>>2];j[a+12>>2]=b;j[b+8>>2]=a;break c}c=d+20|0;a=j[c>>2];if(!a){a=j[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=j[c>>2];if(a){continue}c=b+16|0;a=j[b+16>>2];if(a){continue}break}j[g>>2]=0;break c}b=j[67130];if(b>>>0>=f>>>0){a=j[67133];c=b-f|0;u:{if(c>>>0>=16){j[67130]=c;d=a+f|0;j[67133]=d;j[d+4>>2]=c|1;j[a+b>>2]=c;j[a+4>>2]=f|3;break u}j[67133]=0;j[67130]=0;j[a+4>>2]=b|3;b=a+b|0;j[b+4>>2]=j[b+4>>2]|1}a=a+8|0;break a}d=j[67131];if(d>>>0>f>>>0){b=d-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(j[67246]){b=j[67248]}else{j[67249]=-1;j[67250]=-1;j[67247]=4096;j[67248]=4096;j[67246]=p+12&-16^1431655768;j[67251]=0;j[67239]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=j[67238];if(i){l=j[67236];b=l+c|0;if(b>>>0<=l>>>0|b>>>0>i>>>0){break a}}if(k[268956]&4){break f}v:{w:{b=j[67134];if(b){a=268960;while(1){i=j[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=j[a+8>>2];if(a){continue}break}}b=Jh(0);if((b|0)==-1){break g}g=c;a=j[67247];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=j[67238];if(d){h=j[67236];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=Jh(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=Jh(g);if((b|0)==(j[a>>2]+j[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=j[67248];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Jh(b)|0)!=-1){g=b+g|0;b=a;break e}Jh(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}z()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}j[67239]=j[67239]|4}if(c>>>0>2147483646){break d}b=Jh(c);a=Jh(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=j[67236]+g|0;j[67236]=a;if(a>>>0>m[67237]){j[67237]=a}x:{y:{z:{e=j[67134];if(e){a=268960;while(1){c=j[a>>2];d=j[a+4>>2];if((c+d|0)==(b|0)){break z}a=j[a+8>>2];if(a){continue}break}break y}a=j[67132];if(!(a>>>0<=b>>>0?a:0)){j[67132]=b}a=0;j[67241]=g;j[67240]=b;j[67136]=-1;j[67137]=j[67246];j[67243]=0;while(1){c=a<<3;d=c+268552|0;j[c+268560>>2]=d;j[c+268564>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;j[67131]=d;c=b+c|0;j[67134]=c;j[c+4>>2]=d|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];break x}if(j[a+12>>2]&8|(b>>>0<=e>>>0|c>>>0>e>>>0)){break y}j[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;j[67134]=b;c=j[67131]+g|0;a=c-a|0;j[67131]=a;j[b+4>>2]=a|1;j[(c+e|0)+4>>2]=40;j[67135]=j[67250];break x}d=j[67132];if(d>>>0>b>>>0){j[67132]=b;d=0}c=b+g|0;a=268960;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=j[a>>2]){a=j[a+8>>2];if(a){continue}break F}break}if(!(k[a+12|0]&8)){break E}}a=268960;while(1){c=j[a>>2];if(c>>>0<=e>>>0){d=c+j[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=j[a+8>>2];continue}}j[a>>2]=b;j[a+4>>2]=j[a+4>>2]+g;l=(b+8&7?-8-b&7:0)+b|0;j[l+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-l|0)-f|0;h=f+l|0;if((b|0)==(e|0)){j[67134]=h;a=j[67131]+a|0;j[67131]=a;j[h+4>>2]=a|1;break B}if(j[67133]==(b|0)){j[67133]=h;a=j[67130]+a|0;j[67130]=a;j[h+4>>2]=a|1;j[a+h>>2]=a;break B}c=j[b+4>>2];if((c&3)==1){n=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=j[b+8>>2];d=j[b+12>>2];if((d|0)==(c|0)){q=268512,r=j[67128]&mP(-2,f),j[q>>2]=r;break G}j[c+12>>2]=d;j[d+8>>2]=c;break G}i=j[b+24>>2];g=j[b+12>>2];H:{if((g|0)!=(b|0)){c=j[b+8>>2];j[c+12>>2]=g;j[g+8>>2]=c;break H}I:{e=b+20|0;f=j[e>>2];if(f){break I}e=b+16|0;f=j[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=j[e>>2];if(f){continue}e=g+16|0;f=j[g+16>>2];if(f){continue}break}j[c>>2]=0}if(!i){break G}c=j[b+28>>2];d=(c<<2)+268816|0;J:{if(j[d>>2]==(b|0)){j[d>>2]=g;if(g){break J}q=268516,r=j[67129]&mP(-2,c),j[q>>2]=r;break G}j[i+(j[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}j[g+24>>2]=i;c=j[b+16>>2];if(c){j[g+16>>2]=c;j[c+24>>2]=g}c=j[b+20>>2];if(!c){break G}j[g+20>>2]=c;j[c+24>>2]=g}b=b+n|0;a=a+n|0}j[b+4>>2]=j[b+4>>2]&-2;j[h+4>>2]=a|1;j[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}j[h+28>>2]=e;j[h+16>>2]=0;j[h+20>>2]=0;b=(e<<2)+268816|0;c=j[67129];d=1<>2]=h;j[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[b>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=j[d+16>>2];if(b){continue}break}j[d+16>>2]=h;j[h+24>>2]=c}j[h+12>>2]=h;j[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;j[67131]=h;c=b+c|0;j[67134]=c;j[c+4>>2]=h|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;j[c+4>>2]=27;a=j[67243];j[c+16>>2]=j[67242];j[c+20>>2]=a;a=j[67241];j[c+8>>2]=j[67240];j[c+12>>2]=a;j[67242]=c+8;j[67241]=g;j[67240]=b;j[67243]=0;a=c+24|0;while(1){j[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}j[c+4>>2]=j[c+4>>2]&-2;d=c-e|0;j[e+4>>2]=d|1;j[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=e;j[b+12>>2]=e;j[e+12>>2]=a;j[e+8>>2]=b;break x}a=31;j[e+16>>2]=0;j[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}j[e+28>>2]=a;b=(a<<2)+268816|0;c=j[67129];g=1<>2]=e;j[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=j[b>>2];while(1){c=b;if((d|0)==(j[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=e;j[e+24>>2]=c}j[e+12>>2]=e;j[e+8>>2]=e;break x}a=j[c+8>>2];j[a+12>>2]=h;j[c+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=c;j[h+8>>2]=a}a=l+8|0;break a}a=j[c+8>>2];j[a+12>>2]=e;j[c+8>>2]=e;j[e+24>>2]=0;j[e+12>>2]=c;j[e+8>>2]=a}a=j[67131];if(a>>>0<=f>>>0){break d}b=a-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}j[67100]=48;a=0;break a}O:{if(!l){break O}a=j[d+28>>2];c=(a<<2)+268816|0;P:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break P}i=mP(-2,a)&i;j[67129]=i;break O}j[l+(j[l+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}j[b+24>>2]=l;a=j[d+16>>2];if(a){j[b+16>>2]=a;j[a+24>>2]=b}a=j[d+20>>2];if(!a){break O}j[b+20>>2]=a;j[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;j[d+4>>2]=a|3;a=a+d|0;j[a+4>>2]=j[a+4>>2]|1;break Q}j[d+4>>2]=f|3;j[h+4>>2]=e|1;j[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}j[h+28>>2]=a;j[h+16>>2]=0;j[h+20>>2]=0;b=(a<<2)+268816|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=j[b>>2];while(1){b=f;if((j[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=j[c+16>>2];if(f){continue}break}j[c+16>>2]=h}j[h+24>>2]=b;j[h+12>>2]=h;j[h+8>>2]=h;break Q}a=j[b+8>>2];j[a+12>>2]=h;j[b+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=b;j[h+8>>2]=a}a=d+8|0;break a}U:{if(!l){break U}a=j[b+28>>2];c=(a<<2)+268816|0;V:{if(j[c>>2]==(b|0)){j[c>>2]=d;if(d){break V}q=268516,r=mP(-2,a)&n,j[q>>2]=r;break U}j[l+(j[l+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}j[d+24>>2]=l;a=j[b+16>>2];if(a){j[d+16>>2]=a;j[a+24>>2]=d}a=j[b+20>>2];if(!a){break U}j[d+20>>2]=a;j[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;j[b+4>>2]=a|3;a=a+b|0;j[a+4>>2]=j[a+4>>2]|1;break W}j[b+4>>2]=f|3;j[o+4>>2]=e|1;j[e+o>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[a+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=a;j[d+8>>2]=c}j[67133]=o;j[67130]=e}a=b+8|0}oe=p+16|0;return a|0}function Iz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|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;q=j[a+4>>2];if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}t=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(o|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];b=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];while(1){f=l[c>>1];i[c>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>b|0)|0])>>>0)/255|0)+m>>>n<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];w=k[r+((e&z)>>>c|0)|0]+h|0;x=(w>>>0<255?w:255)>>>s<>>d|0)|0]+g|0;e=k[o+((e&y)>>>a|0)|0]+m|0;i[n>>1]=v|(x|(w>>>0<255?w:255)>>>t<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];i[n>>1]=v|((p(k[r+((e&z)>>>c|0)|0],h)>>>0)/255>>>s<>>d|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];c=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];x=f<<1;while(1){f=l[b>>1];i[b>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>c|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];x=k[t+((e&w)>>>c|0)|0]+h|0;A=(x>>>0<255?x:255)>>>r<>>d|0)|0]+g|0;e=k[s+((e&z)>>>a|0)|0]+m|0;i[n>>1]=y|(A|(x>>>0<255?x:255)>>>u<>>0<255?e:255)>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];i[n>>1]=y|((p(k[t+((e&w)>>>c|0)|0],h)>>>0)/255>>>r<>>d|0)|0],g)>>>0)/255>>>u<>>a|0)|0],m)>>>0)/255>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}v=b-d|0;n=v>>31;s=c-e|0;r=s>>31;if((n^n+v)==(r^r+s)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];d=k[q+34|0];z=j[q+20>>2];e=k[q+33|0];w=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];x=c<<1;while(1){c=l[a>>1];i[a>>1]=y|(((p(t,k[r+((c&w)>>>e|0)|0])>>>0)/255|0)+h>>>s<>>f|0)|0])>>>0)/255|0)+g>>>u<>>d|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];x=k[r+((c&z)>>>d|0)|0]+h|0;A=(x>>>0<255?x:255)>>>s<>>e|0)|0]+g|0;c=k[o+((c&y)>>>a|0)|0]+m|0;i[n>>1]=v|(A|(x>>>0<255?x:255)>>>t<>>0<255?c:255)>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];i[n>>1]=v|((p(k[r+((c&z)>>>d|0)|0],h)>>>0)/255>>>s<>>e|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+s|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;r=e-c|0;s=r>>31;n=f^f+n;r=s^r+s;r:{if((n|0)>=(r|0)){v=r-n|0;s=r<<1;f=s-n|0;r=1;break r}v=n-r|0;u=1;s=n<<1;f=s-r|0;n=r;r=0}y=((o|0)!=0)+n|0;if(!y){break a}e=(c|0)>(e|0);u=e?0-u|0:u;d=(b|0)>(d|0);r=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];e=k[q+34|0];H=j[q+20>>2];n=k[q+33|0];I=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;d=l[K>>1];i[K>>1]=G|(((p(t,k[D+((d&I)>>>n|0)|0])>>>0)/255|0)+h>>>A<>>o|0)|0])>>>0)/255|0)+g>>>B<>>e|0)|0])>>>0)/255|0)+m>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;s:{if((f|0)>=(r|0)){v=r-f|0;s=r<<1;n=s-f|0;t=0;r=1;break s}v=f-r|0;t=1;s=f<<1;n=s-r|0;f=r;r=0}u=((o|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);y=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];d=k[q+34|0];H=j[q+20>>2];e=k[q+33|0];I=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;o=l[K>>1];r=k[D+((o&I)>>>e|0)|0]+h|0;L=(r>>>0<255?r:255)>>>A<>>f|0)|0]+g|0;o=k[C+((o&H)>>>d|0)|0]+m|0;i[K>>1]=G|(L|(r>>>0<255?r:255)>>>B<>>0<255?o:255)>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;t:{if((f|0)>=(r|0)){u=r-f|0;t=1;s=r<<1;n=s-f|0;r=0;break t}u=f-r|0;s=f<<1;n=s-r|0;t=0;f=r;r=1}v=((o|0)!=0)+f|0;if(!v){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);t=d?0-t|0:t;y=e?-1:1;z=d?-1:1;u=u<<1;w=k[q+30|0];x=j[(w<<2)+234976>>2];C=k[q+29|0];A=j[(C<<2)+234976>>2];D=k[q+28|0];B=j[(D<<2)+234976>>2];F=j[q+24>>2];e=k[q+34|0];G=j[q+20>>2];f=k[q+33|0];H=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];I=j[a+16>>2];J=j[a+20>>2];a=0;while(1){E=(J+p(c,I)|0)+(b<<1)|0;d=l[E>>1];i[E>>1]=F|((p(k[A+((d&H)>>>f|0)|0],h)>>>0)/255>>>C<>>o|0)|0],g)>>>0)/255>>>D<>>e|0)|0],m)>>>0)/255>>>w<>31;r=e-c|0;n=r>>31;s=f^f+s;r=n^n+r;u:{if((s|0)>=(r|0)){u=r-s|0;t=1;f=r<<1;n=f-s|0;r=0;break u}u=s-r|0;f=s<<1;n=f-r|0;t=0;s=r;r=1}o=((o|0)!=0)+s|0;if(!o){break a}e=(c|0)>(e|0);s=e?0-r|0:r;d=(b|0)>(d|0);r=d?0-t|0:t;e=e?-1:1;d=d?-1:1;t=u<<1;g=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>2];q=j[a+20>>2];m=0;while(1){i[(q+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?r:d)+b|0;c=(a?s:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function ON(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,m=0,n=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;n=oe-48|0;oe=n;u=j[b+100>>2];d=Fe(a,0);j[n+36>>2]=d;a:{if(d){break a}j[n+24>>2]=0;j[n+28>>2]=8;j[n+16>>2]=1;j[n+20>>2]=1;j[n+40>>2]=0;m=He(u,139324,n+40|0);b:{c:{d:{d=j[n+40>>2];if(!d){j[m+139320>>2]=u;i[m+12>>1]=32767;j[m+139304>>2]=0;j[m+139308>>2]=0;j[m+139316>>2]=u;j[m+139312>>2]=0;j[m+36>>2]=n+16;v=j[a+28>>2];j[n+44>>2]=0;d=1024;t=xe(v,1,0,1024,0,n+44|0);if(j[n+44>>2]){break d}j[n>>2]=600;h[t|0]=0;r=256;e=0;w=1;e:while(1){g=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){q=Dm(a,e+t|0,g-e|0);o=q+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(o|0)){break j}x=d+t|0;f=h[x|0];if((r|0)==(f|0)){break g}s=d;while(1){k:{y=f&255;switch(y-10|0){case 0:case 3:break i;default:break k}}s=s+1|0;if((s|0)==(o|0)){break j}f=k[s+t|0];continue}}if(!q){break d}if(!d){if(g>>>0<65536){break h}j[n+44>>2]=6;break d}q=o-d|0;zg(t,d+t|0,q);e=q;o=d;continue f}r=s+t|0;h[r|0]=0;l:{m:{switch(k[x|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(s|0)){break l}z=s-d|0;d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d;if((d|0)==-1){d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d}if(d){break d}}h[r|0]=f;r=(y|0)==10?13:(y|0)==13?10:256;f=1;d=s+1|0;w=w+1|0;continue}d=g<<1;t=xe(v,1,g,d,t,n+44|0);e=g;if(!j[n+44>>2]){continue e}break d}f=1;d=d+1|0;r=256;continue}}}}e=0;if(!m){break b}break c}if(t){qe[j[v+8>>2]](v,t)}a=j[n+44>>2];j[n+40>>2]=a;e=j[m+32>>2];n:{if(a){break n}o:{p:{if(e){if(j[e+28>>2]!=8){i[e+32>>1]=l[e+4>>1]}a=j[e+64>>2];d=j[e+52>>2];if(j[m+4>>2]!=(a+d|0)){i[e+278660>>1]=1}q:{if(!(a|d)|!j[j[m+36>>2]>>2]){break q}a=i[m+12>>1];d=i[m+16>>1]-a|0;if((d|0)!=l[e+4>>1]){i[e+278660>>1]=1;i[e+4>>1]=d}if(l[e+8>>1]!=(a&65535)){i[e+278660>>1]=1;i[e+8>>1]=a}a=l[m+18>>1];d=a<<16;if((a|0)!=l[e+12>>1]){i[e+278660>>1]=1;i[e+12>>1]=a}a=l[m+20>>1];g=a<<16>>16;if((a|0)!=l[e+14>>1]){i[e+278660>>1]=1;i[e+14>>1]=a;i[e+10>>1]=0-a}a=g+(d>>16)|0;if((a|0)==l[e+6>>1]){break q}i[e+6>>1]=a}d=j[m>>2];if(d&1){break p}a=j[e+88>>2];if(!a){break c}a=xe(j[e+278664>>2],1,a,a+1|0,j[e+84>>2],n+40|0);e=j[m+32>>2];j[e+84>>2]=a;if(j[n+40>>2]){break n}h[a+j[e+88>>2]|0]=0;e=j[m+32>>2];break c}d=j[m>>2];if(!(d&1)){break o}}if(!(d&32)){j[n+40>>2]=185;e=0;break c}j[n+40>>2]=186;e=0;break c}j[n+40>>2]=3;e=0;break c}Or(e);a=j[m+32>>2];if(a){qe[j[u+8>>2]](u,a)}e=0;j[m+32>>2]=0}d=j[m+139316>>2];if(d){a=m+139304|0;g=j[a>>2];if(g){qe[j[d+8>>2]](d,g)}j[a+8>>2]=0;j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}if(m){qe[j[u+8>>2]](u,m)}d=j[n+40>>2]}j[n+36>>2]=d;r:{s:{if((d&255)!=176){if(d){break a}j[b+140>>2]=e;if((c|0)>=1){ym(b);d=6;break a}j[b>>2]=1;j[b+4>>2]=0;c=j[b+8>>2];j[b+8>>2]=c|146;if(!e){break s}g=j[e+72>>2];if(!g){break s}d=j[e+128>>2];a=j[d+12>>2];m=j[d+4>>2];f=a+(3000791075%(m>>>0)<<2)|0;d=j[f>>2];if(d){m=(a+(m<<2)|0)-4|0;t:{while(1){u:{q=j[d>>2];if(k[q|0]==83){if(!we(q,116880)){break u}}d=f-4|0;f=a>>>0>d>>>0?m:d;d=j[f>>2];if(d){continue}break t}break}a=j[e+80>>2];if(!a){break t}a=a+(j[d+4>>2]<<4)|0;if(j[a+4>>2]!=1){break t}a=j[a+12>>2];if(!a){break t}v:{w:{a=k[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break t;case 0:case 10:break v;default:break w}}switch(a-99|0){case 0:case 10:break v;default:break t}}j[b+8>>2]=c|150}if(!g){break s}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1183963782%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break s}c=(a+(c<<2)|0)-4|0;while(1){x:{g=j[d>>2];if(k[g|0]==70){if(!we(g,116888)){break x}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break s}break}a=j[e+80>>2];if(!a){break s}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2];if(!a){break s}A=b,B=gg(u,a,n+36|0),j[A+20>>2]=B;d=j[n+36>>2];if(d){break a}a=j[b+140>>2];break r}ym(b);d=2;break a}j[b+20>>2]=0;a=e}o=0;j[n>>2]=0;j[b+12>>2]=0;x=j[b+100>>2];q=1;c=a;y:{z:{if(!(!a|!j[a+72>>2])){w=0;a=0;g=2;d=j[c+128>>2];q=j[d+12>>2];o=j[d+4>>2];r=q+(78981326%(o>>>0)<<2)|0;f=j[r>>2];A:{if(!f){break A}a=(q+(o<<2)|0)-4|0;B:{while(1){d=j[f>>2];if(k[d|0]==83){if(!we(d,119285)){break B}}d=r-4|0;r=d>>>0>>0?a:d;f=j[r>>2];if(f){continue}break}a=0;break A}a=j[c+80>>2];if(!a){a=0;break A}d=a+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){a=0;break A}f=j[d+12>>2];if(!f){a=0;break A}a=0;C:{switch(k[f|0]-73|0){case 0:case 6:case 32:case 38:break C;default:break A}}j[b+12>>2]=1;a=(k[j[d+12>>2]]&223)==79?119850:119858;g=3}t=1;r=q+(4260511730%(o>>>0)<<2)|0;f=j[r>>2];D:{if(!f){break D}d=(q+(o<<2)|0)-4|0;while(1){E:{m=j[f>>2];if(k[m|0]==87){if(!we(m,119471)){break E}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break D}break}d=j[c+80>>2];if(!d){break D}d=d+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){break D}d=j[d+12>>2];if(!d|(k[d|0]|32)!=98){break D}j[b+12>>2]=g;w=119865;t=0}m=0;r=q+(41411398%(o>>>0)<<2)|0;f=j[r>>2];g=0;F:{if(!f){break F}d=(q+(o<<2)|0)-4|0;G:{while(1){g=j[f>>2];if(k[g|0]==83){if(!we(g,119271)){break G}}g=r-4|0;r=g>>>0>>0?d:g;f=j[r>>2];if(f){continue}break}g=0;break F}d=j[c+80>>2];g=0;if(!d){break F}d=d+(j[f+4>>2]<<4)|0;g=0;if(j[d+4>>2]!=1){break F}d=j[d+12>>2];g=0;if(!d){break F}f=k[d|0];g=0;if(!f){break F}g=0;if((f|0)==78){break F}g=0;if((f|0)==110){break F}g=d}r=q+(657458935%(o>>>0)<<2)|0;f=j[r>>2];H:{I:{if(!f){break I}d=(q+(o<<2)|0)-4|0;J:{while(1){K:{o=j[f>>2];if(k[o|0]==65){if(!we(o,118480)){break K}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break J}break}c=j[c+80>>2];if(!c){break J}r=0;c=c+(j[f+4>>2]<<4)|0;d=0;if(j[c+4>>2]!=1){break H}c=j[c+12>>2];if(!c){break J}f=k[c|0];if(!f|(f|0)==78){break I}d=0;if((f|0)==110){break H}m=c;r=Le(c);d=r+1|0;break H}}r=0;d=0}s=0;L:{if(t){v=0;break L}v=Le(w);d=(v+d|0)+1|0}if(a){s=Le(a);d=(s+d|0)+1|0}M:{if(!g){o=0;break M}o=Le(g);d=(o+d|0)+1|0}q=!a;c=!g;f=c;if(!d){break z}break y}g=0;v=0;w=0;t=1;a=0;s=0;f=1}c=f;d=8;r=7;m=119870}f=He(x,d,n);j[b+24>>2]=f;d=j[n>>2];if(d){j[n+36>>2]=d;break a}if(m){f=Ae(f,m,r);if(r){d=0;while(1){m=d+f|0;if(k[m|0]==32){h[m|0]=45}d=d+1|0;if((r|0)!=(d|0)){continue}break}}f=f+r|0}if(!t){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,w,v)+v|0}if(!q){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,a,s)+s|0}if(!c){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}a=Ae(f,g,o);if(o){d=0;while(1){c=a+d|0;if(k[c|0]==32){h[c|0]=45}d=d+1|0;if((o|0)!=(d|0)){continue}break}}f=a+o|0}h[f|0]=0;d=j[n>>2];j[n+36>>2]=d;if(d){break a}a=j[e+48>>2];j[b+28>>2]=1;j[b+16>>2]=a+1;c=xe(u,16,0,1,0,n+36|0);j[b+32>>2]=c;d=j[n+36>>2];if(d){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;m=j[e+44>>2]+j[e+40>>2]|0;i[c>>1]=m;g=c;N:{O:{q=j[e+72>>2];if(!q){break O}d=j[e+128>>2];a=j[d+12>>2];o=j[d+4>>2];f=a+(3825651940%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break O}o=(a+(o<<2)|0)-4|0;while(1){P:{s=j[d>>2];if(k[s|0]==65){if(!we(s,116900)){break P}}d=f-4|0;f=a>>>0>d>>>0?o:d;d=j[f>>2];if(d){continue}break O}break}a=j[e+80>>2];if(!a){break O}a=(j[(a+(j[d+4>>2]<<4)|0)+12>>2]+5|0)/10|0;break N}a=(m<<16>>15)/3|0}i[g+2>>1]=a;m=c;Q:{R:{if(!e|!q){break R}d=j[e+128>>2];g=j[d+12>>2];o=j[d+4>>2];f=g+(1780881776%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break R}o=(g+(o<<2)|0)-4|0;while(1){S:{s=j[d>>2];if(k[s|0]==80){if(!we(s,116914)){break S}}d=f-4|0;f=d>>>0>>0?o:d;d=j[f>>2];if(d){continue}break R}break}g=j[e+80>>2];if(!g){break R}g=(p(j[(g+(j[d+4>>2]<<4)|0)+12>>2],460800)+36135|0)/72270|0;break Q}g=a<<16>>10}j[m+4>>2]=g;T:{if(!e){j[c+12>>2]=g;break T}if(!q){j[c+12>>2]=g;break T}m=0;a=0;d=j[e+128>>2];o=j[d+12>>2];U:{V:{s=j[d+4>>2];f=o+(486426170%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break V}a=(o+(s<<2)|0)-4|0;W:{X:{while(1){s=j[d>>2];if(k[s|0]==80){if(!we(s,116925)){break X}}d=f-4|0;f=d>>>0>>0?a:d;d=j[f>>2];if(d){continue}break}a=0;break W}a=j[e+80>>2];if(!a){a=0;break W}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2]<<16>>10;j[c+12>>2]=a}if(q){break V}q=0;break U}d=j[e+128>>2];o=j[d+12>>2];Y:{s=j[d+4>>2];f=o+(2286220677%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break Y}m=(o+(s<<2)|0)-4|0;Z:{_:{while(1){s=j[d>>2];if(k[s|0]==82){if(!we(s,116936)){break _}}d=f-4|0;f=d>>>0>>0?m:d;d=j[f>>2];if(d){continue}break}m=0;break Z}f=j[e+80>>2];m=0;if(!f){break Z}m=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(q){break Y}q=0;break U}q=0;d=j[e+128>>2];o=j[d+12>>2];s=j[d+4>>2];f=o+(2286220678%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break U}s=(o+(s<<2)|0)-4|0;while(1){$:{r=j[d>>2];if(k[r|0]==82){if(!we(r,116949)){break $}}d=f-4|0;f=d>>>0>>0?s:d;d=j[f>>2];if(d){continue}break U}break}f=j[e+80>>2];if(!f){break U}q=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(!a){j[c+12>>2]=g;if(!(q&65535)){break T}a=(p(q<<16>>16,g)|0)/72|0;j[c+12>>2]=a}d=m<<16;if(!d){g=a;break T}if(!(q&65535)){g=a;break T}g=(p(d>>16,a)|0)/(q<<16>>16)|0}j[c+8>>2]=g;c=j[e+56>>2];g=xe(u,8,0,j[e+48>>2],0,n+36|0);j[b+144>>2]=g;d=j[n+36>>2];if(d){break a}j[b+164>>2]=0;f=j[e+48>>2];if(f){m=j[e+36>>2];d=0;while(1){a=j[(c+p(d,36)|0)+4>>2];q=g+(d<<3)|0;i[q+4>>1]=d;j[q>>2]=a;if((a|0)==(m|0)){j[b+164>>2]=d}d=d+1|0;if((f|0)!=(d|0)){continue}break}}aa:{c=j[e+72>>2];if(!c){break aa}d=j[e+128>>2];a=j[d+12>>2];g=j[d+4>>2];f=a+(3781719536%(g>>>0)<<2)|0;d=j[f>>2];ba:{if(!d){g=0;break ba}g=(a+(g<<2)|0)-4|0;ca:{da:{while(1){m=j[d>>2];if(k[m|0]==67){if(!we(m,116962)){break da}}d=f-4|0;f=a>>>0>d>>>0?g:d;d=j[f>>2];if(d){continue}break}g=0;break ca}g=j[e+80>>2]+(j[d+4>>2]<<4)|0}if(!e|!c){break aa}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1888187142%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break aa}c=(a+(c<<2)|0)-4|0;while(1){ea:{m=j[d>>2];if(k[m|0]==67){if(!we(m,116979)){break ea}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break aa}break}if(!g){break aa}a=j[e+80>>2];if(!a|j[g+4>>2]!=1){break aa}c=j[d+4>>2];if(!j[g+12>>2]|j[(a+(c<<4)|0)+4>>2]!=1){break aa}a=j[(a+(c<<4)|0)+12>>2];if(!a){break aa}A=b,B=gg(u,a,n+36|0),j[A+132>>2]=B;d=j[n+36>>2];if(d){break a}c=gg(u,j[g+12>>2],n+36|0);j[b+136>>2]=c;d=j[n+36>>2];if(d){break a}a=n;d=a;fa:{ga:{ha:{if((k[c|0]|32)!=105|(k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111){break ha}c=c+3|0;if(!we(c,116996)){break ga}if(we(c,117002)){break ha}if(!we(j[b+132>>2],117007)){break ga}}j[n>>2]=b;c=0;b=0;break fa}j[n>>2]=b;c=65539;b=1970170211}j[d+4>>2]=b;j[a+8>>2]=c;d=qg(117012,0,n,0);break a}j[n+4>>2]=1094995778;j[n+8>>2]=7;j[n>>2]=b;d=qg(117012,0,n,0);j[n+36>>2]=d;if(!j[b+36>>2]){break a}j[b+92>>2]=j[j[b+40>>2]>>2]}oe=n+48|0;return d|0}function Lz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=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;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];b=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){f=j[c>>2];j[c>>2]=j[n+24>>2]|(((p(q,k[r+((f&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>s<>2])>>>b|0)|0])>>>0)/255|0)+i>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];t=k[q+((e&j[n+16>>2])>>>c|0)|0]+h|0;u=(t>>>0<255?t:255)>>>o<>2])>>>d|0)|0]+g|0;e=k[m+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(u|(t>>>0<255?t:255)>>>r<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>o<>2])>>>d|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=b|(a|j[n+24>>2]);l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];r=k[n+29|0];s=j[(r<<2)+234976>>2];t=k[n+28|0];u=j[(t<<2)+234976>>2];c=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){l=j[b>>2];j[b>>2]=j[n+24>>2]|(((p(q,k[s+((l&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>r<>2])>>>e|0)|0])>>>0)/255|0)+g>>>t<>2])>>>c|0)|0])>>>0)/255|0)+i>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];u=k[r+((e&j[n+16>>2])>>>c|0)|0]+h|0;v=(u>>>0<255?u:255)>>>q<>2])>>>d|0)|0]+g|0;e=k[o+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>s<>>0<255?e:255)>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[r+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>q<>2])>>>d|0)|0],g)>>>0)/255>>>s<>2])>>>a|0)|0],i)>>>0)/255>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;l=u>>31;o=c-e|0;t=o>>31;if((l^l+u)==(t^o+t)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];u=c<<2;while(1){c=j[a>>2];j[a>>2]=j[n+24>>2]|(((p(q,k[r+((c&j[n+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>o<>2])>>>f|0)|0])>>>0)/255|0)+g>>>s<>2])>>>d|0)|0])>>>0)/255|0)+i>>>l<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];u=k[q+((c&j[n+16>>2])>>>d|0)|0]+h|0;v=(u>>>0<255?u:255)>>>o<>2])>>>e|0)|0]+g|0;c=k[m+((c&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>r<>>0<255?c:255)>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((c&j[n+16>>2])>>>d|0)|0],h)>>>0)/255>>>o<>2])>>>e|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:o=d-b|0;f=o>>31;r=e-c|0;l=r>>31;o=f^f+o;l=l^l+r;r:{if((o|0)>=(l|0)){r=l-o|0;s=1;t=l<<1;f=t-o|0;l=0;break r}r=o-l|0;t=o<<1;f=t-l|0;o=l;l=1}o=((m|0)!=0)+o|0;if(!o){break a}e=(c|0)>(e|0);u=e?0-l|0:l;d=(b|0)>(d|0);C=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];e=k[n+34|0];l=k[n+33|0];m=k[n+32|0];B=j[a+20>>2];s=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[F>>2];j[F>>2]=j[n+24>>2]|(((p(q,k[A+((d&j[n+16>>2])>>>l|0)|0])>>>0)/255|0)+h>>>w<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;s:{if((f|0)>=(o|0)){r=o-f|0;s=1;t=o<<1;l=t-f|0;o=0;break s}r=f-o|0;t=f<<1;l=t-o|0;f=o;o=1}u=((m|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);C=e?0-o|0:o;d=(b|0)>(d|0);s=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];B=j[a+20>>2];o=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;m=j[F>>2];q=k[A+((m&j[n+16>>2])>>>e|0)|0]+h|0;G=(q>>>0<255?q:255)>>>w<>2])>>>f|0)|0]+g|0;m=k[z+((m&j[n+20>>2])>>>d|0)|0]+i|0;j[F>>2]=j[n+24>>2]|(G|(q>>>0<255?q:255)>>>x<>>0<255?m:255)>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;t:{if((f|0)>=(o|0)){q=o-f|0;s=o<<1;l=s-f|0;o=1;break t}q=f-o|0;r=1;s=f<<1;l=s-o|0;f=o;o=0}t=((m|0)!=0)+f|0;if(!t){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);u=d?0-o|0:o;C=e?-1:1;D=d?-1:1;q=q<<1;y=k[n+30|0];v=j[(y<<2)+234976>>2];z=k[n+29|0];w=j[(z<<2)+234976>>2];A=k[n+28|0];x=j[(A<<2)+234976>>2];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];E=j[a+20>>2];o=0;while(1){B=(E+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[B>>2];j[B>>2]=j[n+24>>2]|((p(k[w+((d&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>A<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;q=e-c|0;l=q>>31;o=f^f+o;q=l^l+q;u:{if((o|0)>=(q|0)){s=q-o|0;f=q<<1;l=f-o|0;q=1;break u}s=o-q|0;r=1;f=o<<1;l=f-q|0;o=q;q=0}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-r|0:r;d=(b|0)>(d|0);q=d?0-q|0:q;e=e?-1:1;r=d?-1:1;s=s<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2];i=0;while(1){j[(t+p(j[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|j[n+24>>2]);d=(l|0)<0;l=(d?f:s)+l|0;b=(d?q:r)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}} +function aI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,n=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,I=0,J=0,K=0;r=oe+ -64|0;oe=r;j[a+256>>2]=0;b=a;a:{if(l[a+216>>1]!=l[a+218>>1]){e=931;g=932;d=929;c=930;break a}e=935;g=936;d=933;c=934}j[b+604>>2]=d;j[a+600>>2]=c;j[a+596>>2]=e;j[a+592>>2]=g;uh(a);b=j[a+312>>2];if((b&255)>>>0<=7){j[a+568>>2]=j[(b<<24>>22)+201240>>2]}C=a+180|0;D=a+144|0;v=a+72|0;t=a+36|0;w=a+108|0;b=j[a+360>>2];b:{c:{d:{e:{while(1){o=j[a+356>>2];f=k[o+b|0];h[a+368|0]=f;g=h[f+199776|0];j[a+372>>2]=g;f:{if((f&254)!=64){e=j[a+364>>2];break f}e=j[a+364>>2];c=b+1|0;if((e|0)<=(c|0)){e=131;break d}g=2-p(k[c+o|0],g)|0;j[a+372>>2]=g}if((b+g|0)>(e|0)){e=131;break d}c=k[f+200032|0];d=c>>>4|0;b=j[a+16>>2]-d|0;j[a+28>>2]=b;if((b|0)<=-1){if(k[a+561|0]){e=129;break d}if(d){Ee(j[a+24>>2],0,c>>>2&60)}j[a+28>>2]=0;b=0}q=(c&15)+b|0;j[a+32>>2]=q;e=130;c=j[a+20>>2];if((c|0)<(q|0)){break d}j[a+12>>2]=0;h[a+376|0]=1;n=j[a+24>>2];d=n+(b<<2)|0;e=135;g:{h:{i:{j:{k:{l:{m:{n:{switch(f|0){case 0:case 1:case 2:case 3:case 4:case 5:b=f<<14&16384;c=b^16384;if(f>>>0<=3){i[a+296>>1]=c;i[a+294>>1]=b;i[a+292>>1]=c;i[a+290>>1]=b}if(!(f&2)){i[a+300>>1]=c;i[a+298>>1]=b}uh(a);break m;case 6:case 7:o:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break o}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;p:{q:{if((d^b+d)>16383){break q}d=c>>31;if((d+c^d)>16383){break q}if(!(b|c)){break p}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+294>>1]=H;G=a,H=De(c,b),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;uh(a);break m;case 8:case 9:r:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break r}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;s:{t:{if((d^b+d)>16383){break t}d=c>>31;if((d+c^d)>16383){break t}if(!(b|c)){break s}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+298>>1]=H;G=a,H=De(c,b),i[G+300>>1]=H}uh(a);break m;case 10:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;u:{v:{if((c+f^f)>16383){break v}f=b>>31;if((f+b^f)>16383){break v}if(!(b|c)){break u}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+294>>1]=H;G=a,H=De(b,c),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;uh(a);break m;case 11:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;w:{x:{if((c+f^f)>16383){break x}f=b>>31;if((f+b^f)>16383){break x}if(!(b|c)){break w}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+298>>1]=H;G=a,H=De(b,c),i[G+300>>1]=H}uh(a);break m;case 13:j[d>>2]=i[a+298>>1];j[d+4>>2]=i[a+300>>1];break m;case 14:b=l[a+294>>1]|l[a+296>>1]<<16;i[a+298>>1]=b;i[a+300>>1]=b>>>16;uh(a);break m;case 15:y:{c=l[d+12>>1];b=l[a+44>>1];z:{if(c>>>0>=b>>>0){break z}e=l[d+16>>1];if(e>>>0>=b>>>0){break z}f=l[d+4>>1];b=l[a+80>>1];if(f>>>0>=b>>>0){break z}n=l[d+8>>1];if(n>>>0>=b>>>0){break z}b=l[d>>1];if(b>>>0>1]){break y}}if(!k[a+561|0]){break m}e=134;break d}o=j[a+52>>2];z=c<<3;c=o+z|0;d=j[c+4>>2];B=e<<3;g=B+o|0;q=j[g+4>>2];o=j[a+88>>2];e=f<<3;s=o+e|0;f=j[s>>2];E=n<<3;o=E+o|0;u=j[o>>2];n=j[s+4>>2];s=j[o+4>>2];o=j[c>>2];c=j[g>>2];g=b+j[a+132>>2]|0;h[g|0]=k[g|0]|24;g=u-f|0;y=q-d|0;A=0-y|0;q=s-n|0;s=c-o|0;c=Ne(g,A,64)+Ne(q,s,64)|0;u=c>>31;x=Ne(g,s,64)+Ne(q,y,64)|0;y=x>>31;if((p(c+u^u,19)|0)>(y^y+x)){d=Ne(o-f|0,A,64)+Ne(d-n|0,s,64)|0;f=Ne(d,g,c);c=Ne(d,q,c);b=j[a+124>>2]+(b<<3)|0;d=e+j[a+88>>2]|0;j[b>>2]=f+j[d>>2];j[b+4>>2]=c+j[d+4>>2];break m}b=j[a+124>>2]+(b<<3)|0;c=j[a+52>>2];d=c+z|0;f=j[a+88>>2];n=f+E|0;e=e+f|0;c=c+B|0;j[b>>2]=((j[d>>2]+(j[n>>2]+j[e>>2]|0)|0)+j[c>>2]|0)/4;j[b+4>>2]=(j[c+4>>2]+(j[d+4>>2]+(j[n+4>>2]+j[e+4>>2]|0)|0)|0)/4;break m;case 16:i[a+284>>1]=j[d>>2];break m;case 17:i[a+286>>1]=j[d>>2];break m;case 18:i[a+288>>1]=j[d>>2];break m;case 19:b=C;A:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break A}}c=j[b+4>>2];j[t>>2]=j[b>>2];j[t+4>>2]=c;j[t+32>>2]=j[b+32>>2];c=j[b+28>>2];j[t+24>>2]=j[b+24>>2];j[t+28>>2]=c;c=j[b+20>>2];j[t+16>>2]=j[b+16>>2];j[t+20>>2]=c;c=j[b+12>>2];j[t+8>>2]=j[b+8>>2];j[t+12>>2]=c;i[a+344>>1]=j[d>>2];break m;case 20:b=C;B:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break B}}c=j[b+4>>2];j[v>>2]=j[b>>2];j[v+4>>2]=c;j[v+32>>2]=j[b+32>>2];c=j[b+28>>2];j[v+24>>2]=j[b+24>>2];j[v+28>>2]=c;c=j[b+20>>2];j[v+16>>2]=j[b+16>>2];j[v+20>>2]=c;c=j[b+12>>2];j[v+8>>2]=j[b+8>>2];j[v+12>>2]=c;i[a+346>>1]=j[d>>2];break m;case 21:b=C;C:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break C}}c=j[b+4>>2];j[w>>2]=j[b>>2];j[w+4>>2]=c;j[w+32>>2]=j[b+32>>2];c=j[b+28>>2];j[w+24>>2]=j[b+24>>2];j[w+28>>2]=c;c=j[b+20>>2];j[w+16>>2]=j[b+16>>2];j[w+20>>2]=c;c=j[b+12>>2];j[w+8>>2]=j[b+8>>2];j[w+12>>2]=c;i[a+348>>1]=j[d>>2];break m;case 22:b=C;D:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break D}}c=j[b+4>>2];o=j[b>>2];j[t>>2]=o;j[t+4>>2]=c;g=j[b+32>>2];j[t+32>>2]=g;e=j[b+28>>2];q=j[b+24>>2];j[t+24>>2]=q;j[t+28>>2]=e;f=j[b+20>>2];s=j[b+16>>2];j[t+16>>2]=s;j[t+20>>2]=f;n=j[b+12>>2];b=j[b+8>>2];j[t+8>>2]=b;j[t+12>>2]=n;j[v+32>>2]=g;j[v+24>>2]=q;j[v+28>>2]=e;j[v+16>>2]=s;j[v+20>>2]=f;j[v+8>>2]=b;j[v+12>>2]=n;j[v>>2]=o;j[v+4>>2]=c;j[w+32>>2]=j[t+32>>2];b=j[t+28>>2];j[w+24>>2]=j[t+24>>2];j[w+28>>2]=b;b=j[t+20>>2];j[w+16>>2]=j[t+16>>2];j[w+20>>2]=b;b=j[t+12>>2];j[w+8>>2]=j[t+8>>2];j[w+12>>2]=b;b=j[t+4>>2];j[w>>2]=j[t>>2];j[w+4>>2]=b;b=l[d>>1];i[a+348>>1]=b;i[a+346>>1]=b;i[a+344>>1]=b;break m;case 23:b=j[d>>2];if((b|0)<0){e=132;break d}j[a+304>>2]=b;break m;case 24:j[a+568>>2]=937;j[a+312>>2]=1;break m;case 25:j[a+568>>2]=938;j[a+312>>2]=0;break m;case 26:j[a+308>>2]=j[d>>2];break m;case 27:b=j[a+360>>2];c=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(c|0)){e=131;break d}e=k[b+o|0];h[a+368|0]=e;g=h[e+199776|0];j[a+372>>2]=g;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((c|0)<(b+g|0)){e=131;break d}E:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break m;case 1:d=d-1|0;break;default:break E}}if(d){continue}break}break m;case 28:c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;F:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break F}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 29:j[a+320>>2]=j[d>>2];break m;case 30:j[a+324>>2]=j[d>>2];break m;case 31:G=a,H=ye(j[d>>2],j[a+260>>2]),j[G+328>>2]=H;break m;case 32:j[d+4>>2]=j[d>>2];break m;case 35:G=d,H=nP(j[d>>2],j[d+4>>2]),j[G>>2]=H;j[d+4>>2]=pe;break m;case 36:j[d>>2]=j[a+16>>2];break m;case 37:c=d;e=j[d>>2];G:{if(!((b|0)>=(e|0)?(e|0)>=1:0)){b=0;if(!k[a+561|0]){break G}j[a+12>>2]=134;j[d>>2]=0;break m}b=j[(b-e<<2)+n>>2]}j[c>>2]=b;break m;case 38:c=j[d>>2];if(!((b|0)>=(c|0)?(c|0)>=1:0)){if(!k[a+561|0]){break m}e=134;break d}b=(b-c<<2)+n|0;d=j[b>>2];zg(b,b+4|0,(c<<2)-4|0);j[(j[a+24>>2]+(j[a+28>>2]<<2)|0)-4>>2]=d;break m;case 39:H:{b=l[d>>1];if(b>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break H}}if(!k[a+561|0]){break m}e=134;break d}f=b;d=j[a+52>>2]+(c<<3)|0;b=j[a+88>>2]+(b<<3)|0;b=(qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0)/2|0;qe[j[a+584>>2]](a,v,f,b);qe[j[a+584>>2]](a,t,c,0-b|0);break m;case 40:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=40)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;I:{if(b>>>0>=3){j[a+12>>2]=132;break I}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break I}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break I}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 41:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}b=b+j[a+60>>2]|0;c=b;d=k[b|0];b=l[a+298>>1]?-9:-1;h[c|0]=d&(l[a+300>>1]?b&239:b);break m;case 42:e=134;f=j[d+4>>2];b=j[a+420>>2]+1|0;if(f>>>0>=b>>>0){break d}c=j[a+404>>2];n=j[a+396>>2];J:{if((n|0)==(b|0)){b=c+p(f,24)|0;if((f|0)==j[b+12>>2]){break J}}o=c+p(n,24)|0;b=c;K:{if((n|0)<1){break K}while(1){if((f|0)==j[b+12>>2]){break K}b=b+24|0;if(o>>>0>b>>>0){continue}break}}if((b|0)==(o|0)){break d}}if(!k[b+16|0]){break d}e=130;f=j[a+428>>2];if((f|0)>=j[a+432>>2]){break d}if(j[d>>2]<1){break m}c=j[a+436>>2]+(f<<4)|0;j[c>>2]=j[a+352>>2];j[c+4>>2]=j[a+360>>2]+1;d=j[d>>2];j[c+12>>2]=b;j[c+8>>2]=d;j[a+428>>2]=f+1;d=j[b>>2];c=d-1|0;L:{if(c>>>0>=3){j[a+12>>2]=132;break L}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break L}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break L}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 43:e=134;d=j[d>>2];b=j[a+420>>2]+1|0;if(d>>>0>=b>>>0){break d}c=j[a+404>>2];f=j[a+396>>2];M:{if((f|0)==(b|0)){b=c+p(d,24)|0;if((d|0)==j[b+12>>2]){break M}}n=c+p(f,24)|0;b=c;N:{if((f|0)<1){break N}while(1){if((d|0)==j[b+12>>2]){break N}b=b+24|0;if(n>>>0>b>>>0){continue}break}}if((b|0)==(n|0)){break d}}if(!k[b+16|0]){break d}e=130;d=j[a+428>>2];if((d|0)>=j[a+432>>2]){break d}c=j[a+436>>2]+(d<<4)|0;j[c>>2]=j[a+352>>2];e=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=e+1;j[a+428>>2]=d+1;d=j[b>>2];c=d-1|0;O:{if(c>>>0>=3){j[a+12>>2]=132;break O}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break O}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break O}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 44:b=j[a+404>>2];e=j[a+396>>2];f=b+p(e,24)|0;c=j[d>>2];P:{if((e|0)<1){break P}while(1){if((c|0)==j[b+12>>2]){break P}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){if(e>>>0>=m[a+400>>2]){e=140;break d}j[a+396>>2]=e+1}if(c>>>0>65535){e=140;break d}d=j[a+352>>2];j[b+12>>2]=c;j[b>>2]=d;d=j[a+360>>2];j[b+20>>2]=0;i[b+16>>1]=1;j[b+4>>2]=d+1;if(c>>>0>m[a+420>>2]){j[a+420>>2]=c}f=j[a+364>>2];while(1){d=d+g|0;j[a+360>>2]=d;if((d|0)>=(f|0)){e=131;break d}c=k[d+o|0];h[a+368|0]=c;g=h[c+199776|0];j[a+372>>2]=g;if((c&254)==64){e=d+1|0;if((e|0)>=(f|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((f|0)<(d+g|0)){e=131;break d}e=137;Q:{switch(c-44|0){case 1:j[b+8>>2]=d;break m;case 0:break d;default:break Q}}if((c|0)!=137){continue}break}break d;case 34:j[a+32>>2]=0;break k;case 33:case 89:case 126:case 127:j[a+16>>2]=q;break j;case 12:j[d>>2]=i[a+294>>1];j[d+4>>2]=i[a+296>>1];break m;default:if(f>>>0>=224){R:{S:{f=l[d>>1];T:{if(f>>>0>=l[a+80>>1]){break T}b=j[d+4>>2];c=b+1|0;if(c>>>0>=j[a+380>>2]+1>>>0){break T}if(l[a+284>>1]>1]){break S}}if(!k[a+561|0]){break R}j[a+12>>2]=134;break R}q=j[a+320>>2];o=j[a+308>>2];g=0;if(c){g=qe[j[a+596>>2]](a,b)|0}b=j[a+328>>2];d=g-b|0;c=d>>31;b=j[a+324>>2]>(c^c+d)?(g|0)>-1?b:0-b|0:g;c=0-b|0;U:{if(l[a+346>>1]){break U}d=i[a+298>>1];c=d>>31;n=c^c+d;c=b>>31;g=c+b^c;s=g>>>16|0;u=p(n,s);e=u<<16|8192;y=f<<3;c=y+j[a+84>>2]|0;z=j[a+48>>2]+(l[a+284>>1]<<3)|0;A=e;x=n;n=g&65535;e=e+p(x,n)|0;e=(u>>>16|0)+(A>>>0>e>>>0)<<18|e>>>14;j[c>>2]=j[z>>2]+((b^d)>-1?e:0-e|0);d=i[a+300>>1];e=d>>31;g=e^d+e;s=p(g,s);e=s<<16|8192;x=e;e=e+p(g,n)|0;e=(s>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;j[c+4>>2]=j[z+4>>2]+((b^d)>-1?e:0-e|0);e=j[c+4>>2];d=y+j[a+88>>2]|0;j[d>>2]=j[c>>2];j[d+4>>2]=e;c=0-b|0}d=f<<3;e=d+j[a+84>>2]|0;n=j[a+48>>2]+(l[a+284>>1]<<3)|0;n=qe[j[a+576>>2]](a,j[e>>2]-j[n>>2]|0,j[e+4>>2]-j[n+4>>2]|0)|0;d=d+j[a+88>>2]|0;e=j[a+52>>2]+(l[a+284>>1]<<3)|0;g=qe[j[a+572>>2]](a,j[d>>2]-j[e>>2]|0,j[d+4>>2]-j[e+4>>2]|0)|0;b=(b^n)<0?k[a+316|0]?c:b:b;c=k[a+368|0];V:{if(c&4){d=a;if(l[a+344>>1]==l[a+346>>1]){s=b-n|0;e=s>>31;b=(q|0)<(e^e+s)?n:b}e=qe[j[a+568>>2]](d,b,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break V}d=j[(((c&3)<<2)+a|0)+264>>2];if((b|0)>=0){b=b+d|0;e=(b|0)>0?b:0;break V}b=b-d|0;e=b>>31&b}W:{if(!(c&8)){break W}if((n|0)>=0){e=(e|0)<(o|0)?o:e;break W}b=0-o|0;e=(b|0)<(e|0)?b:e}qe[j[a+584>>2]](a,v,f,e-g|0)}i[a+286>>1]=l[a+284>>1];if(k[a+368|0]&16){i[a+284>>1]=f}i[a+288>>1]=f;break m}if(f>>>0>=192){X:{Y:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Y}}if(!k[a+561|0]){break X}j[a+12>>2]=134;break X}f=j[a+308>>2];Z:{if(!(l[a+346>>1]?l[a+344>>1]:0)){d=j[a+84>>2]+(b<<3)|0;c=j[a+48>>2]+(c<<3)|0;c=qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0;break Z}c=j[a+56>>2]+(c<<3)|0;d=j[a+92>>2]+(b<<3)|0;e=j[a+220>>2];if((e|0)==j[a+224>>2]){c=ye(qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]);break Z}c=(H=a,I=ye(j[d>>2]-j[c>>2]|0,e),J=ye(j[d+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,I|0,J|0)|0)}d=j[a+328>>2];n=c-d|0;e=n>>31;d=j[a+324>>2]>(e^e+n)?(c|0)>-1?d:0-d|0:c;c=k[a+368|0];_:{if(c&4){e=qe[j[a+568>>2]](a,d,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break _}e=j[(((c&3)<<2)+a|0)+264>>2];if((d|0)>=0){e=d+e|0;e=(e|0)>0?e:0;break _}e=d-e|0;e=e>>31&e}$:{if(!(c&8)){break $}if((d|0)>=0){e=(e|0)<(f|0)?f:e;break $}c=0-f|0;e=(c|0)<(e|0)?c:e}c=j[a+88>>2]+(b<<3)|0;d=j[a+52>>2]+(l[a+284>>1]<<3)|0;J=a,I=v,H=b,K=e-(qe[j[a+572>>2]](a,j[c>>2]-j[d>>2]|0,j[c+4>>2]-j[d+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](J|0,I|0,H|0,K|0)}i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(k[a+368|0]&16)){break m}i[a+284>>1]=b;break m}if(f>>>0>=184){e=130;f=f+65353&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}b=j[a+360>>2];c=b+1|0;j[a+360>>2]=c;aa:{if(!f){break aa}j[a+360>>2]=b+3;j[d>>2]=(k[(b+o|0)+2|0]|k[c+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break aa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;break m}if(f>>>0>=176){b=1;e=130;f=f+65361&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}c=1;if(!f){break m}while(1){j[(d+(b<<2)|0)-4>>2]=k[o+(j[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}break m}b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;ba:{if(b>>>0>=3){j[a+12>>2]=132;break ba}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ba}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break ba}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 143:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=143)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ca:{if(b>>>0>=3){j[a+12>>2]=132;break ca}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ca}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ca}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 142:b=j[d+4>>2]-1|0;if(b>>>0>=3){if(!k[a+561|0]){break m}e=134;break d}c=j[d>>2];b=1<>2];if((b|0)<0){break m}j[a+340>>2]=b;break m;case 140:b=j[d+4>>2];if((b|0)>=j[d>>2]){break m}j[d>>2]=b;break m;case 139:b=j[d+4>>2];if((b|0)<=j[d>>2]){break m}j[d>>2]=b;break m;case 138:b=j[d+4>>2];c=j[d+8>>2];j[d+8>>2]=j[d>>2];j[d>>2]=b;j[d+4>>2]=c;break m;case 137:b=j[a+416>>2];c=j[a+408>>2];e=b+p(c,24)|0;da:{if((c|0)<1){break da}f=j[d>>2];while(1){if((f|0)==j[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){if(c>>>0>=m[a+412>>2]){e=141;break d}j[a+408>>2]=c+1}c=j[d>>2];if(c>>>0>255){e=141;break d}j[b+12>>2]=c;c=j[a+360>>2];j[b+4>>2]=c+1;e=j[a+352>>2];h[b+16|0]=1;j[b>>2]=e;b=j[d>>2];if(b>>>0>m[a+424>>2]){j[a+424>>2]=b&255}d=j[a+364>>2];while(1){c=c+g|0;j[a+360>>2]=c;if((c|0)>=(d|0)){e=131;break d}b=k[c+o|0];h[a+368|0]=b;g=h[b+199776|0];j[a+372>>2]=g;if((b&254)==64){e=c+1|0;if((e|0)>=(d|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((d|0)<(c+g|0)){e=131;break d}e=137;ea:{switch(b-44|0){case 1:break m;case 0:break d;default:break ea}}if((b|0)!=137){continue}break}break d;case 136:c=j[d>>2];b=0-(c&1)&35;b=c&2?k[a+281|0]?b|128:b:b;b=c&4?k[a+282|0]?b|256:b:b;if(c&32){b=k[a+608|0]?b|4096:b}j[d>>2]=b;break m;case 134:case 135:fa:{b=l[d>>1];if(b>>>0>1]){d=l[d+4>>1];if(d>>>0>1]){break fa}}if(!k[a+561|0]){break m}e=134;break d}e=j[a+84>>2]+(b<<3)|0;n=j[a+120>>2]+(d<<3)|0;c=j[e+4>>2]-j[n+4>>2]|0;n=j[e>>2]-j[n>>2]|0;e=c|n;n=e?n:16384;f=!(f&1)|!e;e=f?c:n;c=f?n:0-c|0;n=c>>31;ga:{ha:{if((n^c+n)>16383){break ha}n=e>>31;if((n+e^n)>16383){break ha}if(!(c|e)){break ga}e=e<<14;c=c<<14}n=c;c=ig(c,e)<<2;G=a,K=De(n,c),i[G+290>>1]=K;G=a,K=De(e,c),i[G+292>>1]=K}c=j[a+88>>2]+(b<<3)|0;d=j[a+124>>2]+(d<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=f|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;ia:{ja:{if((d^b+d)>16383){break ja}d=c>>31;if((d+c^d)>16383){break ja}if(!(b|c)){break ia}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,K=De(d,b),i[G+294>>1]=K;G=a,K=De(c,b),i[G+296>>1]=K}uh(a);break m;case 133:ka:{b=j[d>>2];c=b&255;if(c){if((c|0)!=255){break ka}h[a+337|0]=1;break m}h[a+337|0]=0;break m}if(!(!(b&256)|c>>>0>1])){h[a+337|0]=1}if(!(!(b&512)|!k[a+281|0])){h[a+337|0]=1}if(!(!(b&1024)|!k[a+282|0])){h[a+337|0]=1}if(!(!(b&2048)|c>>>0>=l[a+252>>1])){h[a+337|0]=0}if(!(!(b&4096)|!k[a+281|0])){h[a+337|0]=0}if(!(b&8192)|!k[a+282|0]){break m}h[a+337|0]=0;break m;case 131:case 132:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;la:{if(b>>>0>=3){j[a+12>>2]=132;break la}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break la}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break la}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 130:ma:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break ma}b=l[d>>1];if(c>>>0<=b>>>0){break ma}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]&254;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 129:na:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break na}b=l[d>>1];if(c>>>0<=b>>>0){break na}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]|1;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 128:oa:{pa:{c=j[a+304>>2];if((c|0)<=j[a+16>>2]){if((c|0)>0){break pa}break oa}if(!k[a+561|0]){break oa}j[a+12>>2]=129;break oa}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];qa:{if(b>>>0>=l[a+152>>1]){if(!k[a+561|0]){break qa}e=134;break d}b=b+j[a+168>>2]|0;h[b|0]=k[b|0]^1;c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break oa}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 125:j[a+568>>2]=939;j[a+312>>2]=3;break m;case 124:j[a+568>>2]=940;j[a+312>>2]=4;break m;case 123:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=123)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ra:{if(b>>>0>=3){j[a+12>>2]=132;break ra}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ra}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ra}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 122:j[a+568>>2]=941;j[a+312>>2]=5;break m;case 121:if(j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;sa:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break sa}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 120:if(!j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;ta:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break ta}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 119:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+201288>>2];j[a+476>>2]=d;ua:{va:{wa:{xa:{c=b&3;switch(c-1|0){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}c=d>>>10|0;break ua}c=d>>>9|0;break ua}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=942;j[a+312>>2]=7;b=a;e=e&15;c=d-1|0;ya:{if(!e){break ya}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 118:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+201272>>2];j[a+476>>2]=d;za:{Aa:{Ba:{Ca:{c=b&3;switch(c-1|0){case 2:break Aa;case 1:break Ba;case 0:break Ca;default:break za}}c=d>>>10|0;break za}c=d>>>9|0;break za}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=943;j[a+312>>2]=6;b=a;e=e&15;c=d-1|0;Da:{if(!e){break Da}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 115:case 116:case 117:e=qe[j[a+592>>2]](a)|0;c=1;d=j[d>>2];Ea:{if(!d){break Ea}while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break Ea}f=b-2|0;j[a+28>>2]=f;n=b<<2;b=j[a+24>>2];n=j[(n+b|0)-4>>2];Fa:{if(n>>>0>=m[a+380>>2]){if(!k[a+561|0]){break Fa}e=134;break d}f=j[b+(f<<2)>>2];b=f>>>4&15;Ga:{Ha:{switch(k[a+368|0]-116|0){case 0:b=b|16;break Ga;case 1:break Ha;default:break Ga}}b=b|32}if((e|0)!=(l[a+332>>1]+b|0)){break Fa}b=f&15;qe[j[a+604>>2]](a,n,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}j[a+32>>2]=j[a+28>>2];break m;case 113:case 114:tq(a,d);break m;case 112:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}c=ye(j[d+4>>2],j[a+260>>2]);j[j[a+384>>2]+(b<<2)>>2]=c;break m;case 108:case 109:case 110:case 111:b=j[((f<<2)+a|0)-168>>2];c=j[d>>2];if((c|0)>=0){b=b+c|0;j[d>>2]=(b|0)>0?b:0;break m}b=c-b|0;j[d>>2]=b>>31&b;break m;case 104:case 105:case 106:case 107:G=d,K=qe[j[a+568>>2]](a,j[d>>2],j[((f<<2)+a|0)-152>>2])|0,j[G>>2]=K;break m;case 103:j[d>>2]=j[d>>2]+63&-64;break m;case 102:j[d>>2]=j[d>>2]&-64;break m;case 101:j[d>>2]=0-j[d>>2];break m;case 100:c=j[d>>2];b=c>>31;j[d>>2]=b^b+c;break m;case 99:G=d,K=Ne(j[d>>2],j[d+4>>2],64),j[G>>2]=K;break m;case 98:b=j[d+4>>2];if(!b){e=133;break d}G=d,K=Ak(j[d>>2],64,b),j[G>>2]=K;break m;case 97:j[d>>2]=j[d>>2]-j[d+4>>2];break m;case 96:j[d>>2]=j[d>>2]+j[d+4>>2];break m;case 95:b=j[d>>2];if(b>>>0>6){e=132;break d}i[a+334>>1]=b;break m;case 94:i[a+332>>1]=j[d>>2];break m;case 93:tq(a,d);break m;case 92:j[d>>2]=!j[d>>2];break m;case 91:b=d;j[b>>2]=j[b>>2]?1:j[b+4>>2]!=0;break m;case 90:if(!j[d>>2]){j[d>>2]=0;break m}j[d>>2]=j[d+4>>2]!=0;break m;case 88:if(j[d>>2]){break m}b=j[a+360>>2];e=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(e|0)){e=131;break d}c=k[b+o|0];h[a+368|0]=c;g=h[c+199776|0];j[a+372>>2]=g;if((c&254)==64){f=b+1|0;if((f|0)>=(e|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((e|0)<(b+g|0)){e=131;break d}Ia:{if((c|0)!=27){Ja:{switch(c-88|0){case 1:break Ia;case 0:break Ja;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break m}d=d-1|0;if(d){continue}break}break m;case 87:G=d,K=!(qe[j[a+568>>2]](a,j[d>>2],0)&127),j[G>>2]=K;break m;case 86:G=d,K=(qe[j[a+568>>2]](a,j[d>>2],0)&127)==64,j[G>>2]=K;break m;case 85:j[d>>2]=j[d>>2]!=j[d+4>>2];break m;case 84:j[d>>2]=j[d>>2]==j[d+4>>2];break m;case 83:j[d>>2]=j[d>>2]>=j[d+4>>2];break m;case 82:j[d>>2]=j[d>>2]>j[d+4>>2];break m;case 81:j[d>>2]=j[d>>2]<=j[d+4>>2];break m;case 80:j[d>>2]=j[d>>2]>2];break m;case 78:h[a+316|0]=0;break k;case 77:h[a+316|0]=1;break k;case 76:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 75:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 73:case 74:Ka:{La:{b=d;e=l[b>>1];if(e>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break La}}c=0;if(!k[a+561|0]){break Ka}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+52>>2]+(e<<3)|0;c=j[a+88>>2]+(c<<3)|0;G=d,K=qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}if(!(l[a+346>>1]?l[a+344>>1]:0)){b=j[a+48>>2]+(e<<3)|0;c=j[a+84>>2]+(c<<3)|0;G=d,K=qe[j[a+576>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}c=j[a+92>>2]+(c<<3)|0;e=j[a+56>>2]+(e<<3)|0;f=j[a+220>>2];if((f|0)==j[a+224>>2]){G=d,K=ye(qe[j[a+576>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]),j[G>>2]=K;break m}c=(K=a,H=ye(j[e>>2]-j[c>>2]|0,f),I=ye(j[e+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](K|0,H|0,I|0)|0)}j[b>>2]=c;break m;case 72:b=l[d>>1];if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break m}e=134;break d}c=b<<3;e=c+j[a+124>>2]|0;e=qe[j[a+572>>2]](a,j[e>>2],j[e+4>>2])|0;qe[j[a+584>>2]](a,w,b,j[d+4>>2]-e|0);if(l[a+348>>1]){break m}b=c+j[a+120>>2]|0;c=c+j[a+124>>2]|0;d=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=d;break m;case 70:case 71:b=d;c=j[b>>2];Ma:{if(c>>>0>=l[a+116>>1]){c=0;if(!k[a+561|0]){break Ma}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+120>>2]+(c<<3)|0;G=d,I=qe[j[a+576>>2]](a,j[b>>2],j[b+4>>2])|0,j[G>>2]=I;break m}c=j[a+124>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[c>>2],j[c+4>>2])|0}j[b>>2]=c;break m;case 69:b=d;d=b;c=j[b>>2];Na:{if(c>>>0>=m[a+380>>2]){b=0;if(!k[a+561|0]){break Na}e=134;break d}b=qe[j[a+596>>2]](a,c)|0}j[d>>2]=b;break m;case 68:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}qe[j[a+600>>2]](a,b,j[d+4>>2]);break m;case 67:b=d;d=b;c=j[b>>2];Oa:{if(c>>>0>=l[a+468>>1]){b=0;if(!k[a+561|0]){break Oa}e=134;break d}b=j[j[a+472>>2]+(c<<2)>>2]}j[d>>2]=b;break m;case 66:b=j[d>>2];if(b>>>0>=l[a+468>>1]){if(!k[a+561|0]){break m}e=134;break d}j[j[a+472>>2]+(b<<2)>>2]=j[d+4>>2];break m;case 65:e=130;n=(c-j[a+16>>2]|0)+1|0;b=j[a+360>>2];c=b+o|0;f=k[c+1|0];if(n>>>0<=f>>>0){break d}e=b+2|0;j[a+360>>2]=e;Pa:{if(!f){break Pa}j[a+360>>2]=b+4;j[d>>2]=(k[c+3|0]|k[e+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break Pa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;j[a+32>>2]=f+j[a+32>>2];break m;case 64:e=130;b=o+j[a+360>>2]|0;f=k[b+1|0];if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}Qa:{if(!f){break Qa}j[d>>2]=k[b+2|0];b=2;c=2;if((f|0)==1){break Qa}while(1){j[(d+(b<<2)|0)-4>>2]=k[(o+(j[a+360>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}}j[a+32>>2]=f+j[a+32>>2];break m;case 62:case 63:Ra:{Sa:{c=l[d>>1];if(c>>>0>1]){b=j[d+4>>2];if(b>>>0>2]){break Sa}}if(!k[a+561|0]){break Ra}j[a+12>>2]=134;break Ra}g=j[a+320>>2];b=qe[j[a+596>>2]](a,b)|0;if(!l[a+344>>1]){e=i[a+298>>1];d=e>>31;n=d^d+e;d=b>>31;o=d+b^d;q=o>>>16|0;s=p(n,q);f=s<<16|8192;u=c<<3;d=u+j[a+48>>2]|0;A=f;x=n;n=o&65535;f=f+p(x,n)|0;f=(s>>>16|0)+(A>>>0>f>>>0)<<18|f>>>14;j[d>>2]=(b^e)>-1?f:0-f|0;e=i[a+300>>1];f=e>>31;o=f^e+f;q=p(o,q);f=q<<16|8192;x=f;f=f+p(o,n)|0;f=(q>>>16|0)+(x>>>0>f>>>0)<<18|f>>>14;j[d+4>>2]=(b^e)>-1?f:0-f|0;f=j[d+4>>2];e=u+j[a+52>>2]|0;j[e>>2]=j[d>>2];j[e+4>>2]=f}d=j[a+52>>2]+(c<<3)|0;n=qe[j[a+572>>2]](a,j[d>>2],j[d+4>>2])|0;d=a;e=t;f=c;if(h[a+368|0]&1){q=b-n|0;o=q>>31;b=qe[j[a+568>>2]](a,(g|0)<(o^o+q)?n:b,j[a+264>>2])|0}qe[j[a+584>>2]](d,e,f,b-n|0)}i[a+286>>1]=c;i[a+284>>1]=c;break m;case 61:j[a+568>>2]=944;j[a+312>>2]=2;break m;case 60:Ta:{c=j[a+304>>2];if(!(l[a+284>>1]>1]?(c|0)<=j[a+16>>2]:0)){if(!k[a+561|0]){break Ta}j[a+12>>2]=134;break Ta}if((c|0)<1){break Ta}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];Ua:{if(b>>>0>=l[a+80>>1]){if(!k[a+561|0]){break Ua}e=134;break d}d=b;b=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(l[a+284>>1]<<3)|0;I=a,H=v,K=d,J=0-(qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](I|0,H|0,K|0,J|0);c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break Ta}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 58:case 59:Va:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Va}}if(!k[a+561|0]){break m}e=134;break d}if(!l[a+346>>1]){c=j[a+48>>2]+(c<<3)|0;n=j[c+4>>2];e=b<<3;f=e+j[a+84>>2]|0;j[f>>2]=j[c>>2];j[f+4>>2]=n;qe[j[a+588>>2]](a,v,b,j[d+4>>2]);c=e+j[a+88>>2]|0;e=e+j[a+84>>2]|0;f=j[e+4>>2];j[c>>2]=j[e>>2];j[c+4>>2]=f;c=l[a+284>>1]}e=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0;qe[j[a+584>>2]](a,v,b,j[d+4>>2]-c|0);i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(h[a+368|0]&1)){break m}i[a+284>>1]=b;break m;case 57:c=j[a+304>>2];Wa:{if((c|0)>j[a+16>>2]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}d=1;d=!l[a+344>>1]|!l[a+346>>1]?d:!l[a+348>>1];b=l[a+286>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}f=j[(d?48:56)+a>>2];e=b<<3;n=f+e|0;q=j[a+52>>2];s=q+e|0;e=0;g=0;o=l[a+288>>1];if(o>>>0>1]){Xa:{if(d){c=j[a+84>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+92>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}g=(J=a,K=ye(j[j[a+92>>2]+(o<<3)>>2]-j[n>>2]|0,c),H=ye(j[(j[a+92>>2]+(l[a+288>>1]<<3)|0)+4>>2]-j[(f+(b<<3)|0)+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](J|0,K|0,H|0)|0)}c=j[a+88>>2]+(l[a+288>>1]<<3)|0;e=qe[j[a+572>>2]](a,j[c>>2]-j[s>>2]|0,j[c+4>>2]-j[(q+(b<<3)|0)+4>>2]|0)|0;c=j[a+304>>2]}if((c|0)<1){break Wa}b=b<<3;q=b+q|0;o=b+f|0;while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;A=a;b=j[j[a+24>>2]+(b<<2)>>2];Ya:{if(b>>>0>=l[a+116>>1]){b=c;if(!k[a+561|0]){break Ya}e=134;break d}Za:{if(d){c=j[a+120>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+128>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}u=b<<3;c=(H=a,K=ye(j[u+j[a+128>>2]>>2]-j[n>>2]|0,c),J=ye(j[(u+j[a+128>>2]|0)+4>>2]-j[o+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,K|0,J|0)|0)}u=j[a+124>>2]+(b<<3)|0;u=qe[j[a+572>>2]](a,j[u>>2]-j[s>>2]|0,j[u+4>>2]-j[q+4>>2]|0)|0;x=a;f=w;b=b&65535;if(!(!g|!c)){c=Ne(c,e,g)}qe[j[a+584>>2]](x,f,b,c-u|0);b=j[a+304>>2]}c=b-1|0;j[A+304>>2]=c;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 56:_a:{c=j[a+304>>2];if((c|0)>=j[a+16>>2]){if(!k[a+561|0]){break _a}j[a+12>>2]=134;break _a}if((c|0)<1){break _a}e=i[a+300>>1];f=e>>31;c=j[d>>2];d=c>>31;f=f^e+f;o=d^c+d;g=o>>>16|0;q=p(f,g);d=q<<16|8192;A=d;x=f;f=o&65535;d=d+p(x,f)|0;d=(q>>>16|0)+(A>>>0>d>>>0)<<18|d>>>14;o=(c^e)>-1?d:0-d|0;d=i[a+298>>1];e=d>>31;x=g;g=e^d+e;q=p(x,g);e=q<<16|8192;x=e;e=e+p(f,g)|0;e=(q>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;c=(c^d)>-1?e:0-e|0;while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];$a:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break $a}e=134;break d}if(l[a+298>>1]){d=j[a+124>>2]+(b<<3)|0;j[d>>2]=c+j[d>>2];d=b+j[a+132>>2]|0;h[d|0]=k[d|0]|8}if(!l[a+300>>1]){break $a}d=j[a+124>>2]+(b<<3)|0;j[d+4>>2]=o+j[d+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}d=j[a+304>>2];j[a+304>>2]=d-1;b=j[a+28>>2];if((d|0)<2){break _a}n=j[a+24>>2];continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 54:case 55:if(m[d>>2]>=2){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}ab:{bb:{switch(l[a+348>>1]){case 0:b=l[a+116>>1];break ab;case 1:break bb;default:break m}}b=i[a+118>>1];if((b|0)<1){break m}b=l[(j[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break m}c=j[a+124>>2];b=0;e=l[r+22>>1];f=j[r+16>>2];n=j[r+12>>2];o=j[r+40>>2];while(1){cb:{if((b|0)==(e|0)?(c|0)==(o|0):0){break cb}if(l[a+298>>1]){g=c+(b<<3)|0;j[g>>2]=f+j[g>>2]}if(!l[a+300>>1]){break cb}g=c+(b<<3)|0;j[g+4>>2]=n+j[g+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m;case 52:case 53:if(l[a+348>>1]){f=i[a+118>>1]}else{f=1}b=j[d>>2]<<16;c=b>>16;if(f>>>0<=c>>>0){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}b=(b?(l[(j[a+136>>2]+(c<<1)|0)-2>>1]-l[a+140>>1]|0)+1|0:0)&65535;d=b;if(l[a+348>>1]){c=(l[j[a+136>>2]+(c<<1)>>1]-l[a+140>>1]|0)+1|0}else{c=l[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break m}d=l[r+22>>1];e=j[r+16>>2];f=j[r+12>>2];n=j[r+40>>2];while(1){o=j[a+124>>2];db:{if((o|0)==(n|0)?(b|0)==(d|0):0){break db}if(l[a+298>>1]){o=o+(b<<3)|0;j[o>>2]=e+j[o>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|8}if(!l[a+300>>1]){break db}o=j[a+124>>2]+(b<<3)|0;j[o+4>>2]=f+j[o+4>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break m;case 50:case 51:eb:{if(j[a+16>>2]>2]){if(!k[a+561|0]){break eb}j[a+12>>2]=134;break eb}if(Xl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}if(j[a+304>>2]<1){break eb}c=j[r+16>>2];d=j[r+12>>2];while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;b=l[j[a+24>>2]+(b<<2)>>1];fb:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break fb}j[a+12>>2]=134;break m}if(l[a+298>>1]){e=j[a+124>>2]+(b<<3)|0;j[e>>2]=c+j[e>>2];e=b+j[a+132>>2]|0;h[e|0]=k[e|0]|8}if(!l[a+300>>1]){break fb}e=j[a+124>>2]+(b<<3)|0;j[e+4>>2]=d+j[e+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}b=j[a+304>>2];j[a+304>>2]=b-1;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 48:case 49:if(!l[a+154>>1]){break m}gb:{if(f&1){z=j[a+156>>2];j[r+24>>2]=z;u=j[a+160>>2];j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2];b=8;break gb}z=j[a+156>>2]+4|0;j[r+24>>2]=z;u=j[a+160>>2]+4|0;j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2]+4;b=16}q=b;c=l[a+152>>1];j[r+36>>2]=c;y=0;d=0;while(1){b=l[j[a+172>>2]+(y<<1)>>1]-l[a+176>>1]|0;c=c&65535;s=b>>>0>>0?b:c-1|0;hb:{if(s>>>0>>0){b=d;break hb}g=j[a+168>>2];c=d;ib:{jb:{while(1){kb:{b=c+1|0;if(q&k[c+g|0]){n=b;e=c;o=c;lb:{B=b>>>0>s>>>0;if(!B){while(1){f=n;if(q&k[f+g|0]){Wl(r+24|0,o+1|0,e,o,f);o=f}n=f+1|0;if(s>>>0>=n>>>0){g=j[a+168>>2];e=f;continue}break}if((c|0)!=(o|0)){break lb}}e=c<<3;e=j[e+u>>2]-j[e+z>>2]|0;if(!e){break ib}if(c>>>0>d>>>0){break kb}break jb}Wl(r+24|0,o+1&65535,s,o,c);if(!c){break ib}Wl(r+24|0,d,c-1|0,o,c);break ib}c=b;if(b>>>0<=s>>>0){continue}break hb}break}while(1){f=(d<<3)+u|0;j[f>>2]=e+j[f>>2];d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(B){break ib}while(1){c=(b<<3)+u|0;j[c>>2]=e+j[c>>2];b=b+1|0;if(s>>>0>=b>>>0){continue}break}}b=n}y=y+1|0;if((y|0)>=i[a+154>>1]){break m}c=l[a+152>>1];d=b;continue};case 46:case 47:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}e=a;d=t;c=b;if(f&1){f=j[a+52>>2]+(b<<3)|0;f=qe[j[a+572>>2]](a,j[f>>2],j[f+4>>2])|0;f=(qe[j[a+568>>2]](a,f,j[a+264>>2])|0)-f|0}else{f=0}qe[j[a+584>>2]](e,d,c,f);i[a+286>>1]=b;i[a+284>>1]=b;break m;case 45:break n;case 79:break d}}c=j[a+428>>2];if((c|0)<1){e=136;break d}b=c-1|0;j[a+428>>2]=b;b=j[a+436>>2]+(b<<4)|0;d=j[b+8>>2];j[b+8>>2]=d-1;h[a+376|0]=0;if((d|0)>=2){j[a+428>>2]=c;j[a+360>>2]=j[j[b+12>>2]+4>>2];break m}c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)<(b|0)){e=131;break d}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}e=j[a+12>>2];if(!e){break k}if((e|0)!=128){break e}g=j[a+408>>2];b=j[a+416>>2]}e=128;if((g|0)<1){break d}c=p(g,24)+b|0;while(1){if(!(!k[b+16|0]|k[a+368|0]!=k[b+12|0])){c=j[a+428>>2];if((c|0)>=j[a+432>>2]){e=134;break d}c=j[a+436>>2]+(c<<4)|0;j[c>>2]=j[a+352>>2];d=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=d+1;c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)>=(b|0)){break h}e=131;break d}b=b+24|0;if(c>>>0>b>>>0){continue}break}break d}j[a+16>>2]=j[a+32>>2];if(!k[a+376|0]){break i}}j[a+360>>2]=j[a+360>>2]+j[a+372>>2]}if((F|0)<=999999){F=F+1|0;break g}b=139;break b}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}b=j[a+360>>2];if((b|0)>=j[a+364>>2]){b=0;e=131;if(j[a+428>>2]>0){break d}break b}if(!k[a+488|0]){continue}break}b=0;break b}if(e){break c}b=0;break b}j[a+12>>2]=e}if(!(k[a+488|0]|j[a+352>>2]!=3)){a=j[a+4>>2];j[a+296>>2]=-1;j[a+300>>2]=-1}b=e}oe=r- -64|0;return b|0}function tm(a,b,c,d,e,f,g,n){var 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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;o=oe-15840|0;oe=o;j[o+15824>>2]=g;j[o+15828>>2]=f;A=j[a+132>>2];q=j[j[A+736>>2]+532>>2];I=j[a+48>>2];E=j[a>>2];f=o+15732|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15740|0;j[f>>2]=0;j[f+4>>2]=0;j[o+15808>>2]=0;j[o+15812>>2]=0;j[o+15800>>2]=10;j[o+15804>>2]=0;j[o+15792>>2]=20;j[o+15796>>2]=0;H=a+4|0;j[o+15788>>2]=H;j[o+15784>>2]=E;j[o+15776>>2]=0;j[o+15780>>2]=0;j[o+15768>>2]=10;j[o+15772>>2]=0;j[o+15760>>2]=20;j[o+15764>>2]=0;j[o+15756>>2]=H;j[o+15752>>2]=E;j[o+15724>>2]=0;j[o+15728>>2]=0;j[o+15720>>2]=H;Ee(o+15640|0,0,80);f=o+15572|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15564|0;j[f>>2]=10;j[f+4>>2]=0;f=o+15556|0;j[f>>2]=8;j[f+4>>2]=0;j[o+15552>>2]=H;j[o+15548>>2]=E;j[o+3940>>2]=c;j[o+3936>>2]=a;Ee(o+11692|0,0,3856);f=k[a+140|0];j[o+11696>>2]=I;h[o+11693|0]=f;J=o+15548|0;j[o+11688>>2]=J;K=o+11680|0;j[o+11684>>2]=K;j[o+11680>>2]=a;Ee(o+7824|0,0,3856);j[o+7828>>2]=I;h[o+7825|0]=f;j[o+7820>>2]=J;j[o+7816>>2]=K;j[o+7812>>2]=a;Ee(o+3956|0,0,3856);j[o+3960>>2]=I;h[o+3957|0]=f;j[o+3952>>2]=J;j[o+3948>>2]=K;j[o+3944>>2]=a;j[o+15580>>2]=j[a+36>>2];f=j[a+44>>2];j[o+15588>>2]=I;j[o+15584>>2]=f;f=j[d+4>>2];r=j[d>>2];j[o+15620>>2]=a+196;j[o+15616>>2]=g;j[o+15592>>2]=r;j[o+15596>>2]=f;j[o+15612>>2]=o+15720;j[o+15608>>2]=o+15752;j[o+15604>>2]=o+15784;h[o+15602|0]=k[a+141|0];g=j[a+184>>2];j[o+15624>>2]=g;f=j[a+188>>2];j[o+15636>>2]=6554;j[o+15628>>2]=f;h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15823|0]=0;N=1;h[o+15603|0]=1;r=g;g=g>>31;g=r+g^g;r=f;f=f>>31;f=r+f^f;j[o+15632>>2]=((f|0)<(g|0)?g:f)<<1;j[n>>2]=j[j[A+736>>2]+528>>2]<<16;j[o+64>>2]=0;s=jj(E,396,o- -64|0);a:{b:{c:{d:{e:{if(!j[o+64>>2]){j[s+4>>2]=H;j[s>>2]=E;j[s+392>>2]=s+8;N=!s;break e}if(!s){break d}N=0}j[o+64>>2]=0;D=xe(E,1,0,272,0,o- -64|0);f:{if(!j[o+64>>2]){Q=17;break f}if(j[a+4>>2]){break f}j[a+4>>2]=64}f=j[b+4>>2];j[D>>2]=j[b>>2];j[D+4>>2]=f;f=j[b+12>>2];j[D+8>>2]=j[b+8>>2];j[D+12>>2]=f;if(j[a+4>>2]){break a}L=q<<16;u=s+8|0;t=s+392|0;S=o+32|4;T=o+76|0;O=o+7812|0;F=o+15648|0;M=o+15640|0;C=o+3944|0;P=2e7;v=D;while(1){b=j[v+12>>2];q=j[v+8>>2];g:{if(b>>>0>=q>>>0){x=G?11:14;break g}f=b+1|0;j[v+12>>2]=f;x=k[b|0];b=f}if(j[a+4>>2]){break a}P=P-1|0;if(!P){b=18;break b}h:{i:{j:{k:{l:{switch(x|0){case 1:case 18:if(k[o+15724|0]){break k}sm(a,s,o+15784|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 3:case 23:if(k[o+15724|0]){break k}sm(a,s,o+15752|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 4:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;m:{n:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break m;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break m}f=f- -8192>>14;break m;default:break n}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}o:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break o}j[f>>2]=161;break o}b=g-8|0;j[t>>2]=b;p:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break o;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break o}b=b- -8192>>14;break o;default:break p}}b=j[b>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;f=j[o+15828>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o>>2]=j[F>>2];j[o+4>>2]=g;Ph(o+3936|0,C,M,o,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=b;j[o+15656>>2]=f;j[o+15672>>2]=f;j[o+15660>>2]=b;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 5:q:{q=j[t>>2];b=q-u|0;if(!b){break q}r=b>>3;b=0;while(1){g=q-u>>3;r:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break r}j[f>>2]=130;break r}s:{t:{u:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break t;case 1:break u;default:break s}}q=j[f+8>>2]<<16;break r}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break r}q=f- -8192>>14;break r}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;v:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break v}j[g>>2]=130;q=j[o+15828>>2];break v}w:{x:{y:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break x;case 1:break y;default:break w}}f=j[f+8>>2]<<16;break v}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break v}f=f- -8192>>14;break v}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);b=b+2|0;if(r>>>0<=b>>>0){break q}q=j[t>>2];continue}}j[t>>2]=u;continue;case 6:case 7:z:{f=j[t>>2];b=f-u|0;if(!b){break z}g=u-f|0;g=((b|0)>(g|0)?b:g)>>>3|0;b=(b|0)>-1?b:-1;b=p(g,(b|0)<1?b:1);r=b>>>0>1?b:1;q=(x|0)==6;b=0;while(1){A:{if(f-u>>3>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break A}j[g>>2]=130;break A}B:{C:{D:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break C;case 1:break D;default:break B}}f=j[f+8>>2]<<16;break A}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break A}f=f- -8192>>14;break A}f=j[f+8>>2]}E:{if(q&255){f=j[o+15828>>2]+f|0;j[o+15828>>2]=f;y=j[o+15824>>2];break E}y=j[o+15824>>2]+f|0;j[o+15824>>2]=y;f=j[o+15828>>2]}ch(o+3936|0,f,y);b=b+1|0;if((r|0)==(b|0)){break z}q=q^1;f=j[t>>2];continue}}j[t>>2]=u;continue;case 8:case 24:q=6;b=0;y=j[t>>2];R=y-u>>3;if(R>>>0<6){break h}while(1){f=q;q=y-u>>3;F:{if(q>>>0<=b>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break F}j[r>>2]=130;break F}G:{H:{I:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=j[g+8>>2]<<16;break F}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break F}g=g- -8192>>14;break F}g=j[g+8>>2]}y=j[o+15828>>2];r=b|1;J:{if(r>>>0>=q>>>0){w=0;r=j[s+4>>2];if(!r|j[r>>2]){break J}j[r>>2]=130;break J}K:{L:{M:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}w=j[r+8>>2]<<16;break J}r=j[r+8>>2];if((r|0)<=-1){w=0-(8192-r>>14)|0;break J}w=r- -8192>>14;break J}w=j[r+8>>2]}B=j[o+15824>>2];r=b+2|0;N:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break N}j[r>>2]=130;break N}O:{P:{Q:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}z=j[r+8>>2]<<16;break N}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break N}z=r- -8192>>14;break N}z=j[r+8>>2]}y=g+y|0;g=b+3|0;R:{if(g>>>0>=q>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break R}j[r>>2]=130;break R}S:{T:{U:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break T;case 1:break U;default:break S}}g=j[g+8>>2]<<16;break R}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break R}g=g- -8192>>14;break R}g=j[g+8>>2]}w=w+B|0;B=y+z|0;r=b+4|0;V:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break V}j[r>>2]=130;break V}W:{X:{Y:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}z=j[r+8>>2]<<16;break V}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break V}z=r- -8192>>14;break V}z=j[r+8>>2]}g=g+w|0;r=z+B|0;b=b+5|0;Z:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Z}j[q>>2]=130;break Z}_:{$:{aa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}b=j[b+8>>2]<<16;break Z}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Z}b=b- -8192>>14;break Z}b=j[b+8>>2]}b=b+g|0;Oh(o+3936|0,y,w,B,g,r,b);j[o+15824>>2]=b;j[o+15828>>2]=r;q=f+6|0;if(R>>>0>>0){b=f;break h}else{y=j[t>>2];b=f;continue}};default:if(x>>>0<=246){b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=x-139;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if(x>>>0<=250){ba:{if(b>>>0>>0){j[v+12>>2]=b+1;q=k[b|0];break ba}q=0;b=j[v>>2];if(!b|j[b>>2]){break ba}j[b>>2]=85}b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=((x<<8)+q|0)-63124;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if((x|0)!=255){ca:{if(b>>>0>>0){j[v+12>>2]=b+1;b=k[b|0];break ca}b=0;f=j[v>>2];if(!f|j[f>>2]){break ca}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=((0-(x<<8)|0)-b|0)+64148;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}da:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break da}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ea:{if(f>>>0>>0){b=f+1|0;j[v+12>>2]=b;r=k[f|0];break ea}r=0;b=j[v>>2];if(!(!b|j[b>>2])){j[b>>2]=85}b=f}fa:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;g=k[b|0];break fa}g=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ga:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ga}b=0;f=j[v>>2];if(!f|j[f>>2]){break ga}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=r<<16|y<<24|g<<8|b;b=j[t>>2];j[b+4>>2]=0;j[t>>2]=b+8;continue;case 28:ha:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break ha}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ia:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ia}b=0;f=j[v>>2];if(!f|j[f>>2]){break ia}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=(b<<16|y<<24)>>16;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue;case 30:case 31:b=j[t>>2]-u>>3;B=b&-3;b=b&2;if(B>>>0>b>>>0){x=(x|0)==31;while(1){ja:{if(x&255){r=j[t>>2]-u>>3;ka:{if(r>>>0<=b>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break ka}j[f>>2]=130;break ka}la:{ma:{na:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}y=j[f+8>>2]<<16;break ka}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break ka}y=f- -8192>>14;break ka}y=j[f+8>>2]}x=j[o+15828>>2];f=j[o+15824>>2];z=b+1|0;oa:{if(r>>>0<=z>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break oa}j[q>>2]=130;break oa}pa:{qa:{ra:{g=(z<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}g=j[g+8>>2]<<16;break oa}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break oa}g=g- -8192>>14;break oa}g=j[g+8>>2]}q=b+2|0;sa:{if(q>>>0>=r>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break sa}j[q>>2]=130;break sa}ta:{ua:{va:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ua;case 1:break va;default:break ta}}w=j[q+8>>2]<<16;break sa}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break sa}w=q- -8192>>14;break sa}w=j[q+8>>2]}y=y+x|0;w=f+w|0;q=b+3|0;wa:{if(q>>>0>=r>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break wa}j[x>>2]=130;break wa}xa:{ya:{za:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ya;case 1:break za;default:break xa}}q=j[q+8>>2]<<16;break wa}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break wa}q=q- -8192>>14;break wa}q=j[q+8>>2]}g=g+y|0;q=q+w|0;x=0;if((B-b|0)!=5){z=b;r=g;break ja}b=b+4|0;Aa:{if(b>>>0>=r>>>0){r=j[s+4>>2];b=0;if(!r|j[r>>2]){break Aa}j[r>>2]=130;r=g;break ja}Ba:{Ca:{Da:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}r=(j[b+8>>2]<<16)+g|0;break ja}b=j[b+8>>2];if((b|0)<=-1){r=g-(8192-b>>14)|0;break ja}r=(b- -8192>>14)+g|0;break ja}b=j[b+8>>2]}r=b+g|0;break ja}y=j[o+15828>>2];q=j[t>>2]-u>>3;Ea:{if(q>>>0<=b>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ea}j[f>>2]=130;break Ea}Fa:{Ga:{Ha:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}r=j[f+8>>2]<<16;break Ea}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break Ea}r=f- -8192>>14;break Ea}r=j[f+8>>2]}x=j[o+15824>>2];z=b+1|0;Ia:{if(q>>>0<=z>>>0){g=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ia}j[f>>2]=130;break Ia}Ja:{Ka:{La:{f=(z<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}g=j[f+8>>2]<<16;break Ia}f=j[f+8>>2];if((f|0)<=-1){g=0-(8192-f>>14)|0;break Ia}g=f- -8192>>14;break Ia}g=j[f+8>>2]}f=b+2|0;Ma:{if(f>>>0>=q>>>0){w=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ma}j[f>>2]=130;break Ma}Na:{Oa:{Pa:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}w=j[f+8>>2]<<16;break Ma}f=j[f+8>>2];if((f|0)<=-1){w=0-(8192-f>>14)|0;break Ma}w=f- -8192>>14;break Ma}w=j[f+8>>2]}f=r+x|0;g=g+y|0;r=b+3|0;Qa:{if(r>>>0>=q>>>0){r=0;x=j[s+4>>2];if(!x|j[x>>2]){break Qa}j[x>>2]=130;break Qa}Ra:{Sa:{Ta:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}r=j[r+8>>2]<<16;break Qa}r=j[r+8>>2];if((r|0)<=-1){r=0-(8192-r>>14)|0;break Qa}r=r- -8192>>14;break Qa}r=j[r+8>>2]}w=f+w|0;r=g+r|0;x=1;if((B-b|0)!=5){z=b;q=w;break ja}b=b+4|0;Ua:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Ua}j[q>>2]=130;break Ua}Va:{Wa:{Xa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}b=j[b+8>>2]<<16;break Ua}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Ua}b=b- -8192>>14;break Ua}b=j[b+8>>2]}q=b+w|0}Oh(o+3936|0,y,f,g,w,r,q);j[o+15824>>2]=q;j[o+15828>>2]=r;b=z+4|0;if(B>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 27:z=j[t>>2]-u>>3;w=z&-3;b=z&2;if(w>>>0>b>>>0){while(1){Ya:{if(z-b&1){q=j[t>>2]-u>>3;Za:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Za}j[g>>2]=130;break Za}_a:{$a:{ab:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}f=j[f+8>>2]<<16;break Za}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Za}f=f- -8192>>14;break Za}f=j[f+8>>2]}b=b+1|0;g=j[o+15824>>2]+f|0;break Ya}q=j[t>>2]-u>>3;g=j[o+15824>>2]}bb:{if(b>>>0>=q>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break bb}j[f>>2]=130;break bb}cb:{db:{eb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}y=j[f+8>>2]<<16;break bb}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break bb}y=f- -8192>>14;break bb}y=j[f+8>>2]}x=j[o+15828>>2];f=b+1|0;fb:{if(f>>>0>=q>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break fb}j[f>>2]=130;break fb}gb:{hb:{ib:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}r=j[f+8>>2]<<16;break fb}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break fb}r=f- -8192>>14;break fb}r=j[f+8>>2]}y=y+x|0;f=b+2|0;jb:{if(f>>>0>=q>>>0){f=0;x=j[s+4>>2];if(!x|j[x>>2]){break jb}j[x>>2]=130;break jb}kb:{lb:{mb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}f=j[f+8>>2]<<16;break jb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break jb}f=f- -8192>>14;break jb}f=j[f+8>>2]}r=r+y|0;f=f+g|0;x=q;q=b+3|0;nb:{if(x>>>0<=q>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break nb}j[x>>2]=130;break nb}ob:{pb:{qb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}q=j[q+8>>2]<<16;break nb}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break nb}q=q- -8192>>14;break nb}q=j[q+8>>2]}x=g;g=q+r|0;Oh(o+3936|0,y,x,r,f,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(w>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 26:z=j[t>>2]-u>>3;x=z&-3;b=z&2;if(x>>>0>b>>>0){while(1){rb:{if(z-b&1){q=j[t>>2]-u>>3;sb:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break sb}j[g>>2]=130;break sb}tb:{ub:{vb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}f=j[f+8>>2]<<16;break sb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break sb}f=f- -8192>>14;break sb}f=j[f+8>>2]}b=b+1|0;f=j[o+15828>>2]+f|0;break rb}q=j[t>>2]-u>>3;f=j[o+15828>>2]}wb:{if(b>>>0>=q>>>0){y=0;g=j[s+4>>2];if(!g|j[g>>2]){break wb}j[g>>2]=130;break wb}xb:{yb:{zb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}y=j[g+8>>2]<<16;break wb}g=j[g+8>>2];if((g|0)<=-1){y=0-(8192-g>>14)|0;break wb}y=g- -8192>>14;break wb}y=j[g+8>>2]}w=j[o+15824>>2];g=b+1|0;Ab:{if(g>>>0>=q>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ab}j[g>>2]=130;break Ab}Bb:{Cb:{Db:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}r=j[g+8>>2]<<16;break Ab}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ab}r=g- -8192>>14;break Ab}r=j[g+8>>2]}y=w+y|0;g=b+2|0;Eb:{if(g>>>0>=q>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break Eb}j[g>>2]=130;break Eb}Fb:{Gb:{Hb:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}w=j[g+8>>2]<<16;break Eb}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break Eb}w=g- -8192>>14;break Eb}w=j[g+8>>2]}g=f+r|0;r=w+y|0;w=q;q=b+3|0;Ib:{if(w>>>0<=q>>>0){q=0;w=j[s+4>>2];if(!w|j[w>>2]){break Ib}j[w>>2]=130;break Ib}Jb:{Kb:{Lb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break Kb;case 1:break Lb;default:break Jb}}q=j[q+8>>2]<<16;break Ib}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break Ib}q=q- -8192>>14;break Ib}q=j[q+8>>2]}w=f;f=q+r|0;Oh(o+3936|0,w,y,g,r,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(x>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 25:b=0;q=j[t>>2];z=q-u>>3;if(z>>>0>6){while(1){g=q-u>>3;Mb:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break Mb}j[f>>2]=130;break Mb}Nb:{Ob:{Pb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ob;case 1:break Pb;default:break Nb}}q=j[f+8>>2]<<16;break Mb}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break Mb}q=f- -8192>>14;break Mb}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;Qb:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Qb}j[g>>2]=130;q=j[o+15828>>2];break Qb}Rb:{Sb:{Tb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Sb;case 1:break Tb;default:break Rb}}f=j[f+8>>2]<<16;break Qb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Qb}f=f- -8192>>14;break Qb}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);f=b+2|0;if(z>>>0>b+8>>>0){q=j[t>>2];b=f;continue}break}b=f}if(b>>>0>>0){while(1){f=j[t>>2]-u>>3;Ub:{if(f>>>0<=b>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ub}j[g>>2]=130;break Ub}Vb:{Wb:{Xb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Wb;case 1:break Xb;default:break Vb}}r=j[g+8>>2]<<16;break Ub}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ub}r=g- -8192>>14;break Ub}r=j[g+8>>2]}y=j[o+15828>>2];g=b|1;Yb:{if(g>>>0>=f>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break Yb}j[q>>2]=130;break Yb}Zb:{_b:{$b:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break _b;case 1:break $b;default:break Zb}}g=j[g+8>>2]<<16;break Yb}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Yb}g=g- -8192>>14;break Yb}g=j[g+8>>2]}B=j[o+15824>>2];q=b+2|0;ac:{if(q>>>0>=f>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break ac}j[q>>2]=130;break ac}bc:{cc:{dc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}w=j[q+8>>2]<<16;break ac}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break ac}w=q- -8192>>14;break ac}w=j[q+8>>2]}r=r+y|0;q=b+3|0;ec:{if(q>>>0>=f>>>0){x=0;q=j[s+4>>2];if(!q|j[q>>2]){break ec}j[q>>2]=130;break ec}fc:{gc:{hc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}x=j[q+8>>2]<<16;break ec}q=j[q+8>>2];if((q|0)<=-1){x=0-(8192-q>>14)|0;break ec}x=q- -8192>>14;break ec}x=j[q+8>>2]}y=g+B|0;B=r+w|0;g=b+4|0;ic:{if(g>>>0>=f>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break ic}j[g>>2]=130;break ic}jc:{kc:{lc:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}w=j[g+8>>2]<<16;break ic}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break ic}w=g- -8192>>14;break ic}w=j[g+8>>2]}g=y+x|0;w=w+B|0;q=f;f=b+5|0;mc:{if(q>>>0<=f>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break mc}j[f>>2]=130;break mc}nc:{oc:{pc:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}q=j[f+8>>2]<<16;break mc}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break mc}q=f- -8192>>14;break mc}q=j[f+8>>2]}f=g+q|0;Oh(o+3936|0,r,y,B,g,w,f);j[o+15824>>2]=f;j[o+15828>>2]=w;b=b+6|0;if(z>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 22:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;qc:{rc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break qc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break qc}f=f- -8192>>14;break qc;default:break rc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}sc:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break sc}j[f>>2]=161;break sc}b=g-8|0;j[t>>2]=b;tc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break sc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break sc}b=b- -8192>>14;break sc;default:break tc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;f=j[o+15824>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o+24>>2]=j[F>>2];j[o+28>>2]=g;Ph(o+3936|0,C,M,o+24|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=f;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=f;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 21:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<3)){b=n;uc:{vc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break uc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break uc}f=f- -8192>>14;break uc;default:break vc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}wc:{xc:{yc:{if((g|0)==(u|0)){b=j[s+4>>2];if(!(!b|j[b>>2])){j[b>>2]=161}q=j[o+15824>>2];break yc}f=g-8|0;j[t>>2]=f;b=o;zc:{Ac:{switch(j[f+4>>2]-1|0){case 0:q=j[f>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break zc}q=q- -8192>>14;break zc;default:q=j[f>>2];break zc;case 1:break Ac}}q=j[f>>2]<<16}q=q+j[o+15824>>2]|0;j[b+15824>>2]=q;if((f|0)!=(u|0)){break xc}}b=0;f=j[s+4>>2];if(!f|j[f>>2]){break wc}j[f>>2]=161;q=j[o+15824>>2];break wc}b=g-16|0;j[t>>2]=b;Bc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break wc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break wc}b=b- -8192>>14;break wc;default:break Bc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+16>>2]=j[F>>2];j[o+20>>2]=f;Ph(o+3936|0,C,M,o+16|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=q;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=q;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){yh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 19:case 20:if(j[t>>2]-u>>3>>>0>1?k[o+15724|0]:0){break k}sm(a,s,o+15752|0,n,o+15823|0);if(k[j[a+132>>2]+561|0]){b=0;break c}if((x|0)==19){b=j[o+15772>>2]+j[o+15804>>2]|0;if(b>>>0>=97){b=j[o+15720>>2];if(!b|j[b>>2]){break k}j[b>>2]=18;j[t>>2]=u;continue}j[o+15728>>2]=b;i[o+15724>>1]=257;f=b+7>>>3|0;j[o+15732>>2]=f;if(!b|!f){break k}b=0;while(1){f=j[v+12>>2];Cc:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Cc}q=0;f=j[v>>2];if(!f|j[f>>2]){break Cc}j[f>>2]=85}h[(b+o|0)+15736|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}break k}Ee(T,0,3856);b=k[a+140|0];j[o+80>>2]=I;h[o+77|0]=b;j[o+72>>2]=J;j[o+68>>2]=K;j[o+64>>2]=a;b=S;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[o+32>>2]=H;b=j[o+15772>>2]+j[o+15804>>2]|0;Dc:{if(b>>>0>=97){if(j[a+4>>2]){break Dc}j[a+4>>2]=18;break Dc}j[o+40>>2]=b;i[o+36>>1]=257;f=b+7>>>3|0;j[o+44>>2]=f;if(!b|!f){break Dc}b=0;while(1){f=j[v+12>>2];Ec:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Ec}q=0;f=j[v>>2];if(!f|j[f>>2]){break Ec}j[f>>2]=85}h[(b+o|0)+48|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}}yh(o- -64|0,o+15784|0,o+15752|0,o+32|0,0,0);j[t>>2]=u;continue;case 14:Fc:{Gc:{v=j[t>>2];f=v-u>>3;switch(f-1|0){case 0:case 4:break Gc;default:break Fc}}if(k[o+15823|0]){break Fc}Hc:{Ic:{switch(j[s+12>>2]-1|0){case 1:b=j[u>>2]<<16;break Hc;case 0:b=j[u>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Hc}b=b- -8192>>14;break Hc;default:break Ic}}b=j[u>>2]}j[n>>2]=b+L}h[o+15823|0]=1;b=0;if(k[j[a+132>>2]+561|0]){break c}if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+8>>2]=j[F>>2];j[o+12>>2]=f;Ph(o+3936|0,C,M,o+8|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15603|0]=1;v=j[t>>2];f=v-u>>3}if(f>>>0<2){break c}b=18;if(e){break c}Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{if((u|0)==(v|0)){q=0;b=j[s+4>>2];if(!b){f=0;break Nc}f=0;if(j[b>>2]){break Nc}j[b>>2]=161;break Qc}Rc:{if(j[v-4>>2]!=2){q=0;b=j[s+4>>2];if(!b|j[b>>2]){break Rc}j[b>>2]=160;break Rc}v=v-8|0;j[t>>2]=v;q=j[v>>2]}if((u|0)!=(v|0)){break Pc}}f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161;break Oc}Sc:{if(j[v-4>>2]!=2){f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Sc}j[b>>2]=160;break Sc}v=v-8|0;j[t>>2]=v;f=j[v>>2]}if((u|0)!=(v|0)){break Mc}}b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161}j[o+15824>>2]=0;break Lc}e=v-8|0;j[t>>2]=e;b=o;Tc:{Uc:{switch(j[e+4>>2]-1|0){case 0:g=j[e>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Tc}g=g- -8192>>14;break Tc;default:g=j[e>>2];break Tc;case 1:break Uc}}g=j[e>>2]<<16}j[b+15824>>2]=g;if((e|0)!=(u|0)){break Kc}}b=0;e=j[s+4>>2];if(!e|j[e>>2]){break Jc}j[e>>2]=161;break Jc}b=v-16|0;j[t>>2]=b;Vc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break Jc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Jc}b=b- -8192>>14;break Jc;default:break Vc}}b=j[b>>2]}j[o+72>>2]=0;j[o+76>>2]=0;j[o+15828>>2]=b;j[o+64>>2]=0;j[o+68>>2]=0;Wc:{Xc:{e=j[A+4>>2];b=j[j[e+128>>2]+48>>2];if(!b){b=18;if(q>>>0>255){break c}g=j[A+76>>2];n=j[g+1160>>2];if(!n){break c}r=j[g+12>>2];if(!r){break c}g=0;q=l[(q<<1)+120416>>1];while(1){if((q|0)==l[n+(g<<1)>>1]){break Xc}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],q,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Wc}if((g|0)<0){break c}b=zi(j[e+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;n=j[o+15832>>2];j[o+72>>2]=n+b;tm(a,o- -64|0,c,d,1,j[o+15828>>2],j[o+15824>>2],o+3932|0);e=o- -64|4;q=j[A+4>>2];g=j[j[q+128>>2]+48>>2];Yc:{if(g){j[o+36>>2]=n;j[o+32>>2]=b;qe[j[j[g>>2]+4>>2]](j[g+4>>2],o+32|0);break Yc}b=j[q+656>>2];if(j[b+1204>>2]){break Yc}jf(j[b+1176>>2],e)}j[o+72>>2]=0;j[o+76>>2]=0;j[o+64>>2]=0;j[o+68>>2]=0;Zc:{_c:{n=j[A+4>>2];b=j[j[n+128>>2]+48>>2];if(!b){b=18;if(f>>>0>255){break c}g=j[A+76>>2];q=j[g+1160>>2];if(!q){break c}r=j[g+12>>2];if(!r){break c}g=0;f=l[(f<<1)+120416>>1];while(1){if((f|0)==l[q+(g<<1)>>1]){break _c}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],f,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Zc}if((g|0)<0){break c}b=zi(j[n+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;j[o+72>>2]=b+j[o+15832>>2];b=0;tm(a,o- -64|0,c,d,1,0,0,o+3932|0);d=j[A+4>>2];c=j[j[d+128>>2]+48>>2];if(c){d=j[o+72>>2];e=j[o+68>>2];j[o+32>>2]=e;j[o+36>>2]=d-e;qe[j[j[c>>2]+4>>2]](j[c+4>>2],o+32|0);break c}c=j[d+656>>2];if(j[c+1204>>2]){break c}jf(j[c+1176>>2],e);break c;case 10:case 29:break i;case 11:break j;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break k;case 12:break l}}if(b>>>0>=q>>>0){b=j[v>>2];if(!b|j[b>>2]){break k}j[b>>2]=85;j[t>>2]=u;continue}j[v+12>>2]=b+1;$c:{switch(k[b|0]-34|0){case 0:qk(s,o+15828|0,o+15824|0,o+3936|0,120359,0);continue;case 2:qk(s,o+15828|0,o+15824|0,o+3936|0,120383,0);continue;case 3:qk(s,o+15828|0,o+15824|0,o+3936|0,120395,1);continue;case 1:break $c;default:break k}}qk(s,o+15828|0,o+15824|0,o+3936|0,120371,0)}j[t>>2]=u;continue}if((G|0)<1){b=18;break c}f=D;G=G-1|0;b=G;if(b>>>0>=Q>>>0){j[a+4>>2]=130;b=0}v=(b<<4)+f|0;continue}b=18;if((G|0)>16){break c}g=D;G=G+1|0;f=G;if(f>>>0>=Q>>>0){j[a+4>>2]=130;f=0}v=(f<<4)+g|0;f=j[t>>2];ad:{if((f|0)==(u|0)){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=161;break ad}if(j[f-4>>2]!=2){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=160;break ad}f=f-8|0;j[t>>2]=f;q=j[f>>2]}j[v>>2]=0;j[v+4>>2]=0;j[v+8>>2]=0;j[v+12>>2]=0;if((x|0)==29){f=j[A+708>>2]+q|0;if(f>>>0>=m[A+700>>2]){break c}b=j[A+716>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}f=j[A+704>>2]+q|0;if(f>>>0>=m[A+696>>2]){break c}b=j[A+712>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}if((x|0)==24){g=j[t>>2]-u>>3;bd:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break bd}j[f>>2]=130;break bd}cd:{dd:{ed:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break dd;case 1:break ed;default:break cd}}q=j[f+8>>2]<<16;break bd}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break bd}q=f- -8192>>14;break bd}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;b=b|1;fd:{if(b>>>0>=g>>>0){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break fd}j[f>>2]=130;q=j[o+15828>>2];break fd}gd:{hd:{id:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break hd;case 1:break id;default:break gd}}b=j[b+8>>2]<<16;break fd}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break fd}b=b- -8192>>14;break fd}b=j[b+8>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;ch(o+3936|0,q,b)}j[t>>2]=u;continue}}b=64}if(j[a+4>>2]){break a}}j[a+4>>2]=b}j[o+15568>>2]=0;j[o+15572>>2]=0;j[o+15560>>2]=0;a=j[o+15548>>2];b=j[o+15576>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15576>>2]=0;j[o+15772>>2]=0;j[o+15776>>2]=0;j[o+15764>>2]=0;a=j[o+15752>>2];b=j[o+15780>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15780>>2]=0;j[o+15804>>2]=0;j[o+15808>>2]=0;j[o+15796>>2]=0;a=j[o+15784>>2];b=j[o+15812>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15812>>2]=0;if(D){qe[j[E+8>>2]](E,D)}if(!N){a=j[s>>2];if(s){qe[j[a+8>>2]](a,s)}}oe=o+15840|0}function $E(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;w=oe-16|0;oe=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=j[a+384>>2];if(c){if((j[a+212>>2]&16448)==16384){break l}d=j[a+216>>2];m:{if(!(d&4096)){break m}if(k[b+8|0]==3){m=c+1|0;e=j[b>>2];o=l[a+428>>1];q=j[a+528>>2];n=j[a+416>>2];c=k[b+9|0];n:{if(c>>>0<=7){o:{p:{switch(c-1|0){case 0:if(!e){break o}f=e+m|0;c=0-e&7;d=m+(e-1>>>3|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&1;r=(c|0)==7;c=r?0:c+1|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 1:if(!e){break o}f=e+m|0;c=m+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;while(1){f=f-1|0;h[f|0]=k[c|0]>>>d&3;r=(d|0)==6;d=r?0:d+2|0;c=r?c-1|0:c;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 3:break p;default:break o}}if(!e){break o}f=e+m|0;c=e<<2&4;d=m+(e-1>>>1|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&15;r=(c|0)==4;c=r?0:c+4|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}}h[b+11|0]=8;h[b+9|0]=8;j[b+4>>2]=e;break n}if((c|0)!=8){break m}}if(o){f=e<<2;if(e){c=e+m|0;d=f+m|0;g=0;while(1){r=d-1|0;c=c-1|0;m=k[c|0];if(m>>>0>>0){v=k[m+q|0]}else{v=255}h[r|0]=v;h[d-2|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-3|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-4|0;h[d|0]=k[n+p(k[c|0],3)|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}j[b+8>>2]=537135110;j[b+4>>2]=f;break m}g=p(e,3);if(e){c=e+m|0;d=m+g|0;f=0;while(1){c=c-1|0;h[d-1|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-2|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-3|0;h[d|0]=k[n+p(k[c|0],3)|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}j[b+8>>2]=402851842;j[b+4>>2]=g;break m}c=c+1|0;if(!(!(d&33554432)|!l[a+428>>1])){Sp(b,c,a+532|0);break m}Sp(b,c,0)}c=j[a+216>>2];q:{if((c&262272)!=262144){break q}r:{switch(k[b+8|0]-4|0){case 0:case 2:break r;default:break q}}dq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}s:{if(!(c&6291456)){break s}d=k[b+8|0];if((d&3)!=2){break s}c=j[a+384>>2]+1|0;o=d&4;q=l[a+702>>1];r=l[a+704>>1];t=32768-(q+r|0)|0;n=j[b>>2];t:{if(k[b+9|0]==8){u:{u=j[a+500>>2];if(!u){break u}g=j[a+504>>2];if(!g){break u}e=0;if(!n){break t}f=c;m=0;while(1){d=k[c|0];s=k[c+1|0];x=k[c+2|0];v:{w:{if(!((x|0)==(d|0)?(d|0)==(s|0):0)){e=e|1;d=u+(((p(q,k[d+g|0])+p(r,k[g+s|0])|0)+p(t,k[g+x|0])|0)+16384>>>15|0)|0;break w}s=j[a+492>>2];if(!s){break v}d=d+s|0}d=k[d|0]}h[f|0]=d;x:{if(!o){f=f+1|0;c=c+3|0;break x}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}e=0;if(!n){break t}f=c;m=0;while(1){g=f;d=k[c|0];u=k[c+1|0];s=k[c+2|0];if(!((s|0)==(d|0)?(d|0)==(u|0):0)){e=e|1;d=(p(r,u)+p(d,q)|0)+p(t,s)>>>15|0}h[g|0]=d;y:{if(!o){f=f+1|0;c=c+3|0;break y}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}z:{m=j[a+512>>2];if(!m){break z}y=j[a+508>>2];if(!y){break z}e=0;if(!n){break t}d=c;while(1){f=k[c+4|0]|k[c+5|0]<<8;u=(f<<24|f<<8&16711680)>>>16|0;g=k[c+1|0];f=k[c|0];s=g|f<<8;x=k[c+3|0];v=k[c+2|0];A:{if(!((s|0)!=(x|v<<8)|(s|0)!=(u|0))){u=j[a+496>>2];if(!u){break A}g=l[j[u+(x>>>j[a+484>>2]<<2)>>2]+(v<<1)>>1];f=g>>>8|0;break A}f=j[a+484>>2];g=((p(q,l[j[m+((s&255)>>>f<<2)>>2]+(s>>>7&510)>>1])+p(r,l[j[m+(x>>>f<<2)>>2]+(v<<1)>>1])|0)+p(t,l[j[m+((u&255)>>>f<<2)>>2]+(u>>>7&510)>>1])|0)+16384|0;g=l[j[((g>>>15&255)>>>f<<2)+y>>2]+(g>>>22&510)>>1];f=g>>>8|0;e=e|1}h[d+1|0]=g;h[d|0]=f;B:{if(!o){d=d+2|0;c=c+6|0;break B}h[d+2|0]=k[c+6|0];h[d+3|0]=k[c+7|0];d=d+4|0;c=c+8|0}A=A+1|0;if((n|0)!=(A|0)){continue}break}break t}e=0;if(!n){break t}g=0;d=c;while(1){f=k[d+1|0]|k[d|0]<<8;m=k[d+3|0]|k[d+2|0]<<8;u=k[d+5|0]|k[d+4|0]<<8;s=((p(f,q)+p(m,r)|0)+p(u,t)|0)+16384|0;h[c+1|0]=s>>>15;h[c|0]=s>>>23;f=(f|0)!=(m|0)|(f|0)!=(u|0);C:{if(!o){d=d+6|0;c=c+2|0;break C}h[c+2|0]=k[d+6|0];h[c+3|0]=k[d+7|0];d=d+8|0;c=c+4|0}e=e|f;g=g+1|0;if((n|0)!=(g|0)){continue}break}}c=k[b+10|0]-2|0;h[b+10|0]=c;h[b+8|0]=k[b+8|0]&253;d=p(c,k[b+9|0]);h[b+11|0]=d;c=b;d=d&255;D:{if(d>>>0>=8){d=p(n,d>>>3|0);break D}d=p(d,n)+7>>>3|0}j[c+4>>2]=d;if(!e){c=j[a+216>>2];break s}h[a+700|0]=1;c=j[a+216>>2];if((c&6291456)==4194304){Ze(a,210782);c=j[a+216>>2]}if((c&6291456)==2097152){break k}}if(!(!(c&16384)|k[a+209|0]&8)){Rp(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(!(c&128)){break a}r=j[a+212>>2]&8192;c=j[a+384>>2]+1|0;n=j[b>>2];o=j[a+484>>2];f=j[a+512>>2];e=j[a+508>>2];q=j[a+496>>2];g=j[a+504>>2];t=j[a+500>>2];m=j[a+492>>2];E:{switch(k[b+8|0]){case 0:F:{switch(k[b+9|0]-1|0){case 0:if(!n){break a}d=l[a+540>>1];m=0;e=7;while(1){f=k[c|0];if((d|0)==(f>>>e&1)){h[c|0]=f&32639>>>7-e|l[a+460>>1]<>1];g=0;e=6;while(1){d=c;o=k[c|0];f=o>>>e&3;G:{if((f|0)==(q|0)){f=l[a+460>>1]<>>6-e;break G}f=o&16191>>>6-e|k[m+(f|f<<2|f<<4|f<<6)|0]>>>6<>1];f=0;e=4;while(1){d=c;g=k[c|0];o=g>>>e&15;H:{if((o|0)==(q|0)){g=l[a+460>>1]<>>4-e;break H}g=g&3855>>>4-e|k[m+(o|o<<4)|0]>>>4<>1];while(1){d=c;f=k[c|0];o=k[a+460|0];I:{if((f|0)==(g|0)){break I}o=k[f+m|0]}h[d|0]=o;c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 15:break F;default:break a}}if(q){if(!n){break a}e=a+460|0;m=l[a+540>>1];g=0;while(1){d=e;f=c;t=k[c+1|0];r=k[c|0];if((m|0)!=(t|r<<8)){d=j[q+(t>>>o<<2)>>2]+(r<<1)|0}d=l[d>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[f|0]=d;h[f+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];e=0;while(1){if((d|0)==(k[c+1|0]|k[c|0]<<8)){f=l[a+460>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8}c=c+2|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 2:if(k[b+9|0]==8){if(!m){break e}if(!n){break a}f=0;e=l[a+534>>1];while(1){g=k[c|0];d=k[c+1|0];J:{if(!((g|0)!=(e|0)|(d|0)!=l[a+536>>1]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break J}h[c|0]=k[m+g|0];h[c+1|0]=k[d+m|0];h[c+2|0]=k[m+k[c+2|0]|0]}c=c+3|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!q){break f}if(!n){break a}e=a+458|0;u=l[a+534>>1];g=0;while(1){f=k[c+4|0];m=k[c+5|0];d=c;v=c;x=k[c+1|0];s=k[c|0];t=k[c+3|0];r=k[c+2|0];K:{if(!((u|0)!=(x|s<<8)|l[a+536>>1]!=(t|r<<8)|l[a+538>>1]!=(m|f<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=e;break K}s=l[j[q+(x>>>o<<2)>>2]+(s<<1)>>1];s=(s<<24|s<<8&16711680)>>>16|0;h[c|0]=s;h[c+1|0]=s>>>8;r=l[j[q+(t>>>o<<2)>>2]+(r<<1)>>1];r=(r<<24|r<<8&16711680)>>>16|0;h[c+2|0]=r;h[c+3|0]=r>>>8;f=j[q+(m>>>o<<2)>>2]+(f<<1)|0}f=l[f>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[v+4|0]=f;h[d+5|0]=f>>>8;c=c+6|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a;case 4:if(k[b+9|0]==8){if(g?!(!m|!t):0){break g}if(!n){break a}m=0;while(1){f=k[c+1|0];if((f|0)!=255){d=c;if(f){f=(p(l[a+460>>1],f^255)+p(f,k[c|0])|0)+128&65535;f=(f>>>8|0)+f>>>8|0}else{f=k[a+460|0]}h[d|0]=f}c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break h}if(!n){break a}m=0;while(1){d=k[c+3|0]|k[c+2|0]<<8;L:{if((d|0)==65535){break L}if(!d){d=l[a+460>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;break L}d=(p(l[a+460>>1],d^65535)+p(d,k[c+1|0]|k[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;h[c+1|0]=d>>>16;h[c|0]=d>>>24}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a;case 6:break E;default:break a}}if(k[b+9|0]==8){if(g?!(!m|!t):0){break i}if(!n){break a}m=0;while(1){d=k[c+3|0];M:{if((d|0)==255){break M}if(!d){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break M}f=d^255;e=(p(d,k[c|0])+p(f,l[a+454>>1])|0)+128|0;h[c|0]=(e>>>8&255)+e>>>8;e=(p(d,k[c+1|0])+p(f,l[a+456>>1])|0)+128|0;h[c+1|0]=(e>>>8&255)+e>>>8;d=(p(d,k[c+2|0])+p(f,l[a+458>>1])|0)+128|0;h[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break j}if(!n){break a}m=0;while(1){d=k[c+7|0]|k[c+6|0]<<8;N:{if((d|0)==65535){break N}if(!d){d=l[a+454>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;d=l[a+456>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+2|0]=d;h[c+3|0]=d>>>8;d=l[a+458>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+4|0]=d;h[c+5|0]=d>>>8;break N}f=d^65535;e=(p(d,k[c+1|0]|k[c|0]<<8)+p(f,l[a+454>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+1|0]=e>>>16;h[c|0]=e>>>24;e=(p(d,k[c+3|0]|k[c+2|0]<<8)+p(f,l[a+456>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+2|0]=e>>>24;h[c+3|0]=e>>>16;d=(p(d,k[c+5|0]|k[c+4|0]<<8)+p(f,l[a+458>>1])|0)+32768|0;d=(d>>>16|0)+d|0;h[c+4|0]=d>>>24;h[c+5|0]=d>>>16}c=c+8|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}Ye(a,210748);z()}Ye(a,210764);z()}Ye(a,210782);z()}if(!n){break a}d=0;while(1){O:{P:{t=k[c+7|0]|k[c+6|0]<<8;if(t){if((t|0)!=65535){break P}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[j[q+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[j[q+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}g=l[a+454>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[a+456>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[a+458>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}u=t^65535;g=(p(t,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(u,l[a+464>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+1|0]=g;h[c|0]=m;g=(p(t,l[j[f+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1])+p(u,l[a+466>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+3|0]=g;h[c+2|0]=m;g=(p(t,l[j[f+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1])+p(u,l[a+468>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+5|0]=g;h[c+4|0]=m}c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){Q:{R:{o=k[c+3|0];if(o){if((o|0)!=255){break R}h[c|0]=k[m+k[c|0]|0];h[c+1|0]=k[m+k[c+1|0]|0];h[c+2|0]=k[m+k[c+2|0]|0];break Q}h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break Q}q=o^255;d=(p(o,k[g+k[c|0]|0])+p(q,l[a+464>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;e=c;if(!r){d=k[t+(d&255)|0]}h[e|0]=d;d=(p(o,k[g+k[c+1|0]|0])+p(q,l[a+466>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+1|0]=d;d=(p(o,k[g+k[c+2|0]|0])+p(q,l[a+468>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+2|0]=d}c=c+4|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=0;while(1){S:{T:{g=k[c+3|0]|k[c+2|0]<<8;if(g){if((g|0)!=65535){break T}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=l[a+460>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=(p(g,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(l[a+470>>1],g^65535)|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>16|0;if(r){g=g>>>24|0}else{m=l[j[e+((m&255)>>>o<<2)>>2]+(g>>>23&510)>>1];g=m>>>8|0}h[c+1|0]=m;h[c|0]=g}c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){v=c;U:{V:{e=k[c+1|0];if(e){if((e|0)!=255){break V}d=k[m+k[c|0]|0];break U}d=k[a+460|0];break U}e=(p(l[a+470>>1],e^255)+p(e,k[g+k[c|0]|0])|0)+128&65535;o=(e>>>8|0)+e>>>8|0;d=o;if(r){break U}d=k[t+(o&255)|0]}h[v|0]=d;c=c+2|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=l[a+534>>1];e=0;while(1){if(!((d|0)!=(k[c+1|0]|k[c|0]<<8)|l[a+536>>1]!=(k[c+3|0]|k[c+2|0]<<8)|l[a+538>>1]!=(k[c+5|0]|k[c+4|0]<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=l[a+458>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+4|0]=f;h[c+5|0]=f>>>8}c=c+6|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+534>>1];while(1){if(!((d|0)!=k[c|0]|l[a+536>>1]!=k[c+1|0]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0]}c=c+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+540>>1];while(1){if((d|0)==k[c|0]){h[c|0]=k[a+460|0]}c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];m=0;e=4;while(1){f=k[c|0];if((d|0)==(f>>>e&15)){h[c|0]=f&3855>>>4-e|l[a+460>>1]<>1];m=0;e=6;while(1){f=k[c|0];if((d|0)==(f>>>e&3)){h[c|0]=f&16191>>>6-e|l[a+460>>1]<>2];W:{if((c&6299648)!=8192){break W}X:{if(!(c&128)){c=k[a+435|0];break X}if(l[a+428>>1]){break W}c=k[a+435|0];if(c&4){break W}}if((c&255)==3){break W}c=j[a+384>>2];n=j[b>>2];m=j[a+484>>2];f=j[a+496>>2];d=j[a+492>>2];g=k[b+9|0];if(!f|(g&255)!=16?!(g>>>0<9?d:0):0){break W}c=c+1|0;Y:{switch(k[b+8|0]){case 2:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+6|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+3|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 6:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 4:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 0:break Y;default:break W}}Z:{_:{$:{if(!(!n|(g&255)!=2)){g=0;e=c;while(1){o=k[e|0];q=o&48;v=k[d+(q<<2|q|q>>>2|q>>>4)|0]>>>2&48;q=o&192;v=v|k[d+(q|o>>>6|q>>>2|q>>>4)|0]&192;q=o&12;o=o&3;h[e|0]=v|k[d+(q<<2|q|q<<4|q>>>2)|0]>>>4&12|k[d+(o<<4|o|o<<6|o<<2)|0]>>>6;e=e+1|0;g=g+4|0;if(n>>>0>g>>>0){continue}break}g=k[b+9|0]}switch((g&255)-4|0){case 0:break Z;case 4:break _;case 12:break $;default:break W}}if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W}if(!n){break W}f=0;while(1){e=k[c|0];g=e&15;h[c|0]=k[d+(g<<4|g)|0]>>>4|k[d+(e&240|e>>>4)|0]&240;c=c+1|0;f=f+2|0;if(n>>>0>f>>>0){continue}break}}c=j[a+216>>2];aa:{if((c&262272)!=262272){break aa}ba:{switch(k[b+8|0]-4|0){case 0:case 2:break ba;default:break aa}}dq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ca:{if(!(c&8388608)){break ca}f=k[b+8|0];c=f&4;if(!c){break ca}da:{if(!c){break da}c=j[a+384>>2];d=j[b>>2];ea:{switch(k[b+9|0]-8|0){case 0:e=j[a+500>>2];if(!e){break da}if(!d){break ca}f=f&2?4:2;while(1){c=c+f|0;h[c|0]=k[e+k[c|0]|0];d=d-1|0;if(d){continue}break}break ca;case 8:break ea;default:break da}}e=j[a+508>>2];if(!e){break da}if(!d){break ca}g=j[a+484>>2];f=f&2?8:4;c=(f+c|0)-1|0;while(1){m=l[j[e+(k[c+1|0]>>>g<<2)>>2]+(k[c|0]<<1)>>1];m=(m<<24|m<<8&16711680)>>>16|0;h[c|0]=m;h[c+1|0]=m>>>8;c=c+f|0;d=d-1|0;if(d){continue}break}break ca}Ze(a,210916)}c=j[a+216>>2];if(!(!(c&67108864)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){e=k[c|0];h[d|0]=(p(k[c+1|0]-e|0,65535)+8388480>>>24|0)+e;d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}if(!(!(c&1024)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}fa:{ga:{ha:{if(c&64){ia:{if(k[b+9|0]!=8){break ia}c=j[a+384>>2]+1|0;f=j[b>>2];g=j[a+616>>2];e=j[a+612>>2];d=k[b+8|0];if(!(!e|(d|0)!=2)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!(!e|(d|0)!=6)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!f|!g|(d|0)!=3){break ia}d=0;while(1){h[c|0]=k[g+k[c|0]|0];c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(!j[b+4>>2]){break ha}c=j[a+216>>2]}if(!(!(c&512)|k[b+9|0]!=8|k[b+8|0]==3)){d=j[b+4>>2];if((d|0)>=1){c=(j[a+384>>2]+1|0)+d|0;d=d+c|0;while(1){f=d-2|0;c=c-1|0;e=k[c|0];h[f|0]=e;h[d-1|0]=e;d=f;if(d>>>0>c>>>0){continue}break}d=j[b+4>>2];c=j[a+216>>2]}h[b+9|0]=16;j[b+4>>2]=d<<1;h[b+11|0]=k[b+10|0]<<4}if(!(!(c&16384)|!(k[a+209|0]&8))){Rp(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&32){lG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ja:{if(!(c&524288)){break ja}d=j[a+384>>2]+1|0;c=j[b>>2];ka:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja;case 0:break ka;default:break ja}}if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=j[a+216>>2];if(!(e&8)){break fa}c=k[b+8|0];if((c|0)==3){break fa}g=k[b+9|0];la:{if(c&2){d=k[a+521|0];j[w+4>>2]=g-k[a+522|0];j[w+8>>2]=g-k[a+523|0];f=3;break la}d=k[a+524|0];f=1}m=j[a+384>>2];j[w>>2]=g-(d&255);if(c&4){j[(f<<2|w)>>2]=g-k[a+525|0];f=f+1|0}m=m+1|0;c=0;d=1;while(1){n=(c<<2)+w|0;o=j[n>>2];if(!((g|0)>(o|0)?(o|0)>=1:0)){j[n>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}if(d&1){break fa}break ga}d=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break ga}Ye(a,210821);z()}ma:{na:{switch(mP(g-2|0,31)|0){case 0:c=j[b+4>>2];if((c|0)<1){break ma}c=c+m|0;while(1){h[m|0]=k[m|0]>>>1&85;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 1:c=j[b+4>>2];if((c|0)<1){break ma}d=j[w>>2];f=15>>>d|0;f=f<<4|f;c=c+m|0;while(1){h[m|0]=f&k[m|0]>>>d;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 3:c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){h[m|0]=k[m|0]>>>j[(c<<2)+w>>2];c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+1|0;if(d>>>0>m>>>0){continue}break}break ma;case 7:break na;default:break ma}}c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){e=(k[m+1|0]|k[m|0]<<8)>>>j[(c<<2)+w>>2]|0;e=(e<<24|e<<8&16711680)>>>16|0;h[m|0]=e;h[m+1|0]=e>>>8;c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+2|0;if(d>>>0>m>>>0){continue}break}}e=j[a+216>>2]}oa:{if(!(e&4)){break oa}c=k[b+9|0];if(c>>>0>7){break oa}d=j[a+384>>2]+1|0;e=j[b>>2];pa:{qa:{switch(c-1|0){case 0:if(!e){break pa}m=d+e|0;c=0-e&7;d=d+(e-1>>>3|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&1;g=(c|0)==7;c=g?0:c+1|0;d=g?d-1|0:d;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 1:if(!e){break pa}m=d+e|0;c=d+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;f=0;while(1){m=m-1|0;h[m|0]=k[c|0]>>>d&3;g=(d|0)==6;d=g?0:d+2|0;c=g?c-1|0:c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 3:break qa;default:break pa}}if(!e){break pa}m=d+e|0;c=e<<2&4;d=d+(e-1>>>1|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&15;d=(c|0)==4?d-1|0:d;c=((c|0)!=4)<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}h[b+9|0]=8;c=k[b+10|0];h[b+11|0]=c<<3;j[b+4>>2]=p(c,e)}if(!(k[b+8|0]!=3|j[a+424>>2]<0)){hG(a,b)}c=j[a+216>>2];if(c&1){iG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&65536){jG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ra:{if(!(c&32768)){break ra}n=l[a+444>>1];d=n>>>8|0;c=j[a+384>>2]+1|0;m=j[b>>2];f=j[a+212>>2];sa:{switch(k[b+8|0]){case 0:ta:{switch(k[b+9|0]-8|0){case 0:c=c+m|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;e=e-2|0;c=c-1|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra}if(m){e=c+m|0;f=0;while(1){c=c-1|0;g=k[c|0];d=e-2|0;h[d|0]=n;h[e-1|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra;case 8:break ta;default:break ra}}g=1;e=m<<1;c=e+c|0;if(f&128){e=c+e|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];e=e-4|0;c=c-2|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra}if(m){e=c+e|0;g=0;while(1){h[e-1|0]=k[c-1|0];c=c-2|0;f=k[c|0];h[e-3|0]=n;h[e-2|0]=f;e=e-4|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra;case 2:break sa;default:break ra}}ua:{switch(k[b+9|0]-8|0){case 0:c=c+p(m,3)|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;h[e-2|0]=k[c-1|0];h[e-3|0]=k[c-2|0];e=e-4|0;c=c-3|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra}if(m){e=c+m|0;f=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];c=c-3|0;g=k[c|0];d=e-4|0;h[d|0]=n;h[e-3|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra;case 8:break ua;default:break ra}}c=c+p(m,6)|0;if(f&128){g=1;e=(m<<1)+c|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];h[e-4|0]=k[c-2|0];h[e-5|0]=k[c-3|0];h[e-6|0]=k[c-4|0];h[e-7|0]=k[c-5|0];e=e-8|0;c=c-6|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=16388;j[b+4>>2]=m<<3;break ra}if(m){e=(m<<1)+c|0;g=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];h[e-3|0]=k[c-3|0];h[e-4|0]=k[c-4|0];h[e-5|0]=k[c-5|0];c=c-6|0;f=k[c|0];h[e-7|0]=n;h[e-6|0]=f;e=e-8|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=16388;j[b+4>>2]=m<<3}va:{if(!(k[a+218|0]&2)){break va}c=j[a+384>>2]+1|0;d=j[b>>2];wa:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];o=f;f=c-2|0;h[o|0]=k[f|0];m=c-3|0;n=k[m|0];c=c-4|0;h[m|0]=k[c|0];h[f|0]=n;h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-2|0;m=k[f|0]|k[f+1|0]<<8;g=c-4|0;n=k[g|0]|k[g+1|0]<<8;h[f|0]=n;h[f+1|0]=n>>>8;f=c-6|0;n=k[f|0]|k[f+1|0]<<8;h[g|0]=n;h[g+1|0]=n>>>8;c=c-8|0;g=k[c|0]|k[c+1|0]<<8;h[f|0]=g;h[f+1|0]=g>>>8;h[c|0]=m;h[c+1|0]=m>>>8;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va;case 0:break wa;default:break va}}if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];c=c-2|0;h[f|0]=k[c|0];h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){c=c-4|0;f=mP(k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24),16);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=j[a+216>>2];if(c&16){kG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&1048576){c=j[a+192>>2];if(c){qe[c|0](a,b,j[a+384>>2]+1|0)}c=k[a+204|0];if(c){h[b+9|0]=c}c=k[a+205|0];xa:{if(!c){c=k[b+10|0];break xa}h[b+10|0]=c}c=p(k[b+9|0],c);h[b+11|0]=c;a=j[b>>2];c=c&255;ya:{if(c>>>0>=8){a=p(a,c>>>3|0);break ya}a=p(a,c)+7>>>3|0}j[b+4>>2]=a}oe=w+16|0}function Gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=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;f=oe-32|0;oe=f;o=j[a+56>>2];g=j[a+40>>2];n=k[g+9|0];d=j[a+44>>2];v=j[d+24>>2];p=0;a:{if(!v){break a}p=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];b=j[a>>2];t=j[a+28>>2];e=j[a+24>>2];q=j[g+24>>2]^-1;m=q&o;o=j[d>>2];u=j[g>>2];b:{c:{d:{e:{f:{g:{w=k[d+9|0];if(!((n|0)!=4|(w|0)!=4)){r=j[g+12>>2];if((r|0)!=j[d+12>>2]){break g}s=j[g+16>>2];if((s|0)!=j[d+16>>2]){break g}z=j[g+20>>2];if((z|0)!=j[d+20>>2]){break g}if(!v){break c}if(!t){break b}o=k[a+63|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=7;continue;default:break k}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}e=t-1|0;b=b+4|0;c=c+4|0;l:{if((a|0)>1){a=a-1|0;break l}c=c+x|0;b=b+y|0;t=e;if(e){continue h}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691;if((u|0)!=386930691){break f}if((o|0)==386930691){break e}break f}if(!((u|0)==372711428|(o|0)==372711428)){hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}d=e&7;o=(e+7|0)/8|0;m:while(1){a=o;n:{o:{switch(d-1|0){default:e=0;break n;case 0:e=7;break n;case 1:e=6;break n;case 2:e=5;break n;case 3:e=4;break n;case 4:e=3;break n;case 5:e=2;break n;case 6:break o}}e=1}while(1){p:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=7;continue;default:break p}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+4|0;q:{if((a|0)>1){a=a-1|0;break q}c=c+x|0;b=b+y|0;t=e;if(e){continue m}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691}if((u|0)!=390076419|(o|0)!=390076419){break d}}if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;r:while(1){a=p;s:{t:{switch(q-1|0){default:e=0;break s;case 0:e=7;break s;case 1:e=6;break s;case 2:e=5;break s;case 3:e=4;break s;case 4:e=3;break s;case 5:e=2;break s;case 6:break t}}e=1}while(1){u:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=7;continue;default:break u}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}e=t-1|0;c=c+3|0;b=b+3|0;v:{if((a|0)>1){a=a-1|0;break v}c=c+x|0;b=b+y|0;t=e;if(e){continue r}break b}e=0;continue}}}if(!((o|0)==390076419&v?0:!((u|0)==390076419&a))){if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;w:while(1){a=p;x:{y:{switch(q-1|0){default:e=0;break x;case 0:e=7;break x;case 1:e=6;break x;case 2:e=5;break x;case 3:e=4;break x;case 4:e=3;break x;case 5:e=2;break x;case 6:break y}}e=1}while(1){z:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break z}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}e=t-1|0;c=c+3|0;b=b+3|0;A:{if((a|0)>1){a=a-1|0;break A}c=c+x|0;b=b+y|0;t=e;if(e){continue w}break b}e=0;continue}}}B:{if(!((n|0)!=4|(w|0)!=3)){if((u|0)==372711428){break B}hh(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!t){break b}o=e&7;p=(e+7|0)/8|0;C:while(1){a=p;D:{E:{switch(o-1|0){default:e=0;break D;case 0:e=7;break D;case 1:e=6;break D;case 2:e=5;break D;case 3:e=4;break D;case 4:e=3;break D;case 5:e=2;break D;case 6:break E}}e=1}while(1){F:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break F}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}e=t-1|0;c=c+3|0;b=b+4|0;G:{if((a|0)>1){a=a-1|0;break G}c=c+x|0;b=b+y|0;t=e;if(e){continue C}break b}e=0;continue}}}if((o|0)==372711428|(n|0)!=3|(w|0)!=4){break B}hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}q=e&7;d=m>>>8|0;g=m>>>16|0;o=(e+7|0)/8|0;m=m&255;H:while(1){a=o;I:{J:{switch(q-1|0){default:e=0;break I;case 0:e=7;break I;case 1:e=6;break I;case 2:e=5;break I;case 3:e=4;break I;case 4:e=3;break I;case 5:e=2;break I;case 6:break J}}e=1}while(1){K:{switch(e|0){case 0:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=7;continue;default:break K}}if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+3|0;L:{if((a|0)>1){a=a-1|0;break L}c=c+x|0;b=b+y|0;t=e;if(e){continue H}break b}e=0;continue}}}if(!t){break b}z=e&7;o=(e+7|0)/8|0;u=n-1|0;v=w-1|0;while(1){e=o;M:{N:{switch(z-1|0){default:a=7;break M;case 0:a=6;break M;case 1:a=5;break M;case 2:a=4;break M;case 3:a=3;break M;case 4:a=2;break M;case 5:a=1;break M;case 6:break N}}a=0}while(1){O:{P:{switch(a|0){case 0:a=0;Q:{R:{switch(u|0){case 0:a=k[b|0];break Q;case 1:a=l[b>>1];break Q;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Q;case 3:break R;default:break Q}}a=j[b>>2]}S:{if((m|0)==(a&q)){break S}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];T:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break S;case 3:break T;default:break S}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break U;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break U;case 3:break V;default:break U}}a=j[b>>2]}W:{if((m|0)==(a&q)){break W}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];X:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break W;case 3:break X;default:break W}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break Y;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Y;case 3:break Z;default:break Y}}a=j[b>>2]}_:{if((m|0)==(a&q)){break _}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];$:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break _;case 3:break $;default:break _}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break aa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break aa;case 3:break ba;default:break aa}}a=j[b>>2]}ca:{if((m|0)==(a&q)){break ca}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];da:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ca;case 3:break da;default:break ca}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ea;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ea;case 3:break fa;default:break ea}}a=j[b>>2]}ga:{if((m|0)==(a&q)){break ga}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ha:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ga;case 3:break ha;default:break ga}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ia;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ia;case 3:break ja;default:break ia}}a=j[b>>2]}ka:{if((m|0)==(a&q)){break ka}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];la:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ka;case 3:break la;default:break ka}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ma;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ma;case 3:break na;default:break ma}}a=j[b>>2]}oa:{if((m|0)==(a&q)){break oa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];pa:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break oa;case 3:break pa;default:break oa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break qa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break qa;case 3:break ra;default:break qa}}a=j[b>>2]}sa:{if((m|0)==(a&q)){break sa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ta:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break sa;case 3:break ta;default:break sa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=7;continue;default:break xa}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}e=t-1|0;b=b+4|0;c=c+4|0;ya:{if((a|0)>1){a=a-1|0;break ya}c=c+x|0;b=b+y|0;t=e;if(e){continue ua}break b}e=0;continue}}}oe=f+32|0}function Sn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0;w=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}o=j[d>>2];n=j[a+4>>2];q=k[n+9|0];m=j[d+4>>2];s=j[c+16>>2];t=j[c+20>>2];r=j[a+52>>2];e=j[r+12>>2];b:{g=j[b+4>>2];c:{if(!g){break c}d:{switch(q-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];e:{if(e){d=d+e|0;e=e+f|0;break e}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 1:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];f:{if(e){d=d+e|0;e=f+(e<<1)|0;break f}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 2:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];g:{if(e){d=d+e|0;e=f+p(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 3:break d;default:break c}}while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];h:{if(e){d=d+e|0;e=f+(e<<2)|0;break h}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}}o=(t+p(m,s)|0)+p(o,q)|0;m=k[r+79|0];i:{j:{k:{t=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!t:0)){f=j[c+4>>2];a=k[f+9|0];if((m|0)==255){l:{switch(a-1|0){case 0:g=o-t|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];m:{if(a){n:{if((d|0)>=(q|0)){break n}e=t-d|0;o:{if((e|0)<1){e=0;b=a;break o}b=a-e|0;if((b|0)<1){break n}}m=d+e|0;o=q-m|0;Ge(g+m|0,e+f|0,(b|0)>(o|0)?o:b)}d=a+d|0;e=a+f|0;break m}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 1:g=o-(t<<1)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];p:{if(a){q:{if((d|0)>=(q|0)){break q}e=t-d|0;r:{if((e|0)<1){e=0;b=a;break r}b=a-e|0;if((b|0)<1){break q}}m=d+e|0;o=q-m|0;Ge((m<<1)+g|0,f+(e<<1)|0,((b|0)>(o|0)?o:b)<<1)}d=a+d|0;e=f+(a<<1)|0;break p}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 2:g=p(t,-3)+o|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];s:{if(a){t:{if((d|0)>=(q|0)){break t}e=t-d|0;u:{if((e|0)<1){e=0;b=a;break u}b=a-e|0;if((b|0)<1){break t}}m=d+e|0;o=q-m|0;Ge(p(m,3)+g|0,f+p(e,3)|0,p((b|0)>(o|0)?o:b,3))}d=a+d|0;e=f+p(a,3)|0;break s}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 3:break l;default:break b}}g=o-(t<<2)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;a=l[e+2>>1];v:{if(a){w:{if((d|0)>=(q|0)){break w}e=t-d|0;x:{if((e|0)<1){e=0;b=a;break x}b=a-e|0;if((b|0)<1){break w}}m=d+e|0;o=q-m|0;Ge((m<<2)+g|0,f+(e<<2)|0,((b|0)>(o|0)?o:b)<<2)}d=a+d|0;e=f+(a<<2)|0;break v}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}y:{switch(a-2|0){case 0:z:{u=j[f+20>>2];g=j[f+16>>2];r=j[f+12>>2];a=u|(g|r);if((a|0)!=32767){if((a|0)!=65535|((u|0)!=2016?!((r|0)==2016|(g|0)==2016):0)){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];A:{if(a){B:{if((b|0)>=(n|0)){break B}f=t-b|0;C:{if((f|0)<1){f=0;d=a;break C}d=a-f|0;if((d|0)<1){break B}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break B}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break B}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&136382497)+(m>>>1&2079292399)|0)+(s>>>1&2079292399);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break B}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&2081)+((d&63454)+(e&63454)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break A}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];D:{if(b){E:{if((a|0)>=(n|0)){break E}d=t-a|0;F:{if((d|0)<1){d=0;f=b;break F}f=b-d|0;if((f|0)<1){break E}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break E}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&132184095;u=l[d>>1];u=(u<<16|u)&132184095;u=(p(m,v-u|0)>>>5|0)+u&132184095;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break D}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}if((u|0)!=992?!((r|0)==992|(g|0)==992):0){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];G:{if(a){H:{if((b|0)>=(n|0)){break H}f=t-b|0;I:{if((f|0)<1){f=0;d=a;break I}d=a-f|0;if((d|0)<1){break H}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break H}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break H}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&69272609)+(m>>>1&2112847343)|0)+(s>>>1&2112847343);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break H}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&1057)+((d&64478)+(e&64478)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break G}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];J:{if(b){K:{if((a|0)>=(n|0)){break K}d=t-a|0;L:{if((d|0)<1){d=0;f=b;break L}f=b-d|0;if((f|0)<1){break K}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break K}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&65043487;u=l[d>>1];u=(u<<16|u)&65043487;u=(p(m,v-u|0)>>>5|0)+u&65043487;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break J}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}o=o-(t<<1)|0;G=t+j[b+8>>2]|0;x=j[b+12>>2];while(1){n=0;while(1){d=e+2|0;n=k[e|0]+n|0;b=k[e+1|0];M:{if(b){N:{if((n|0)>=(G|0)){break N}e=t-n|0;O:{if((e|0)<1){e=0;a=b;break O}a=b-e|0;if((a|0)<1){break N}}q=e+n|0;y=G-q|0;H=(a|0)>(y|0)?y:a;if((H|0)<1){break N}a=d+(e<<1)|0;e=(q<<1)+o|0;J=k[f+30|0];B=j[(J<<2)+234976>>2];I=k[f+29|0];C=j[(I<<2)+234976>>2];K=k[f+28|0];A=j[(K<<2)+234976>>2];M=j[f+24>>2];y=k[f+34|0];E=k[f+33|0];v=k[f+32|0];q=0;while(1){D=l[a>>1];F=l[e>>1];z=k[A+((F&r)>>>v|0)|0];L=(p(m,k[A+((D&r)>>>v|0)|0]-z|0)>>>8|0)+z>>>K<>>E|0)|0];z=L|(p(m,k[C+((g&D)>>>E|0)|0]-z|0)>>>8|0)+z>>>I<>>y|0)|0];D=k[B+((u&F)>>>y|0)|0];i[e>>1]=z|(p(m,L-D|0)>>>8|0)+D>>>J<>2]|0;n=j[b+12>>2];while(1){o=0;while(1){d=e+2|0;o=k[e|0]+o|0;b=k[e+1|0];P:{if(b){Q:{if((o|0)>=(s|0)){break Q}e=t-o|0;R:{if((e|0)<1){e=0;a=b;break R}a=b-e|0;if((a|0)<1){break Q}}g=e+o|0;r=s-g|0;B=(a|0)>(r|0)?r:a;if((B|0)<1){break Q}a=d+p(e,3)|0;e=p(g,3)+q|0;g=0;while(1){C=k[f+28|0];A=j[(C<<2)+234976>>2];x=j[f+12>>2];r=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);u=k[f+32|0];y=k[A+((x&r)>>>u|0)|0];F=k[f+29|0];H=j[(F<<2)+234976>>2];D=j[f+16>>2];E=k[f+33|0];v=k[H+((D&r)>>>E|0)|0];I=k[f+30|0];K=j[(I<<2)+234976>>2];J=j[f+20>>2];z=J&r;r=k[f+34|0];G=k[K+(z>>>r|0)|0];z=x;x=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);r=j[f+24>>2]|y+(p(m,k[A+((z&x)>>>u|0)|0]-y|0)>>>8|0)>>>C<>>E|0)|0]-v|0)>>>8|0)>>>F<>>r|0)|0]-G|0)>>>8|0)>>>I<>>16;h[e+1|0]=r>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((B|0)!=(g|0)){continue}break}}o=b+o|0;e=d+p(b,3)|0;break P}e=d;if(!o){break b}}if((o|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b;case 2:break y;default:break b}}g=j[f+20>>2];a=j[f+16>>2];d=j[f+12>>2];if(!((g|(a|d))!=16777215|((g|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=o-(t<<2)|0;o=t+j[b+8>>2]|0;n=j[b+12>>2];if((m|0)!=128){break k}while(1){b=0;while(1){g=e+4|0;b=l[e>>1]+b|0;a=l[e+2>>1];S:{if(a){T:{if((b|0)>=(o|0)){break T}d=t-b|0;U:{if((d|0)<1){d=0;f=a;break U}f=a-d|0;if((f|0)<1){break T}}e=b+d|0;m=o-e|0;m=(f|0)>(m|0)?m:f;if((m|0)<1){break T}f=g+(d<<2)|0;d=(e<<2)+q|0;e=0;while(1){s=j[d>>2];r=j[f>>2];j[d>>2]=((s&16711422)+(r&16711422)>>>1|0)+(s&r&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}b=a+b|0;e=g+(a<<2)|0;break S}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b}o=o-(t<<2)|0;y=t+j[b+8>>2]|0;r=j[b+12>>2];while(1){s=0;while(1){d=e+4|0;s=l[e>>1]+s|0;b=l[e+2>>1];V:{if(b){W:{if((s|0)>=(y|0)){break W}e=t-s|0;X:{if((e|0)<1){e=0;a=b;break X}a=b-e|0;if((a|0)<1){break W}}g=e+s|0;q=y-g|0;D=(a|0)>(q|0)?q:a;if((D|0)<1){break W}a=d+(e<<2)|0;e=(g<<2)+o|0;F=k[f+30|0];E=j[(F<<2)+234976>>2];H=k[f+29|0];v=j[(H<<2)+234976>>2];J=k[f+28|0];G=j[(J<<2)+234976>>2];g=k[f+34|0];n=k[f+33|0];u=k[f+32|0];q=0;while(1){A=j[f+12>>2];x=j[e>>2];B=k[G+((A&x)>>>u|0)|0];I=j[f+16>>2];C=k[v+((I&x)>>>n|0)|0];K=j[f+20>>2];x=k[E+((K&x)>>>g|0)|0];z=A;A=j[a>>2];j[e>>2]=j[f+24>>2]|B+(p(m,k[G+((z&A)>>>u|0)|0]-B|0)>>>8|0)>>>J<>>n|0)|0]-C|0)>>>8|0)>>>H<>>g|0)|0]-x|0)>>>8|0)>>>F<>2]+o|0;r=r-1|0;if(r){continue}break}break b}if((m|0)==255){Y:{switch(q-1|0){case 0:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];Z:{if(e){Ge(d+o|0,b,e);d=d+e|0;e=b+e|0;break Z}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 1:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];_:{if(e){f=e<<1;Ge((d<<1)+o|0,b,f);d=d+e|0;e=b+f|0;break _}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 2:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];$:{if(e){f=p(e,3);Ge(p(d,3)+o|0,b,f);d=d+e|0;e=b+f|0;break $}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 3:break Y;default:break b}}a=j[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];aa:{if(e){f=e<<2;Ge((d<<2)+o|0,b,f);d=d+e|0;e=b+f|0;break aa}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b}ba:{switch(q-2|0){case 0:ca:{t=j[n+20>>2];d=j[n+16>>2];f=j[n+12>>2];a=t|(d|f);if((a|0)!=32767){if((a|0)!=65535|((t|0)!=2016?!((f|0)==2016|(d|0)==2016):0)){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];da:{if(q){d=(b<<1)+o|0;ea:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&2081)+((m&63454)+(a&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ea}fa:{if(!(g&3)){f=g;a=q;break fa}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&2081)+((f&63454)+(a&63454)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&136382497)+(e>>>1&2079292399)|0)+(m>>>1&2079292399);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ea}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&2081)+((d&63454)+(a&63454)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break da}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ga:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&132184095;m=l[d>>1];m=(m<<16|m)&132184095;m=(p(q,v-m|0)>>>5|0)+m&132184095;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ga}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}if((t|0)!=992?!((f|0)==992|(d|0)==992):0){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];ha:{if(q){d=(b<<1)+o|0;ia:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&1057)+((m&64478)+(a&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ia}ja:{if(!(g&3)){f=g;a=q;break ja}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&1057)+((f&64478)+(a&64478)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&69272609)+(e>>>1&2112847343)|0)+(m>>>1&2112847343);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ia}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&1057)+((d&64478)+(a&64478)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break ha}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ka:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&65043487;m=l[d>>1];m=(m<<16|m)&65043487;m=(p(q,v-m|0)>>>5|0)+m&65043487;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ka}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=k[e|0]+b|0;u=k[e+1|0];la:{if(u){e=(b<<1)+o|0;D=k[n+30|0];G=j[(D<<2)+234976>>2];F=k[n+29|0];x=j[(F<<2)+234976>>2];H=k[n+28|0];B=j[(H<<2)+234976>>2];J=j[n+24>>2];y=k[n+34|0];E=k[n+33|0];v=k[n+32|0];q=0;g=a;while(1){C=l[g>>1];A=l[e>>1];I=k[B+((A&f)>>>v|0)|0];z=J|(p(m,k[B+((C&f)>>>v|0)|0]-I|0)>>>8|0)+I>>>H<>>E|0)|0];z=z|(p(m,k[x+((d&C)>>>E|0)|0]-I|0)>>>8|0)+I>>>F<>>y|0)|0];C=k[G+((t&A)>>>y|0)|0];i[e>>1]=z|(p(m,I-C|0)>>>8|0)+C>>>D<>2];while(1){q=0;while(1){b=e+2|0;q=k[e|0]+q|0;d=k[e+1|0];ma:{if(d){e=p(q,3)+o|0;g=0;a=b;while(1){G=k[n+28|0];x=j[(G<<2)+234976>>2];v=j[n+12>>2];f=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);t=k[n+32|0];r=k[x+((v&f)>>>t|0)|0];C=k[n+29|0];A=j[(C<<2)+234976>>2];B=j[n+16>>2];u=k[n+33|0];y=k[A+((B&f)>>>u|0)|0];F=k[n+30|0];H=j[(F<<2)+234976>>2];D=j[n+20>>2];z=D&f;f=k[n+34|0];E=k[H+(z>>>f|0)|0];z=v;v=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);f=j[n+24>>2]|r+(p(m,k[x+((z&v)>>>t|0)|0]-r|0)>>>8|0)>>>G<>>u|0)|0]-y|0)>>>8|0)>>>C<>>f|0)|0]-E|0)>>>8|0)>>>F<>>16;h[e+1|0]=f>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}q=d+q|0;e=b+p(d,3)|0;break ma}e=b;if(!q){break b}}if((q|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;s=s-1|0;if(s){continue}break}break b;case 2:break ba;default:break b}}f=j[n+20>>2];a=j[n+16>>2];d=j[n+12>>2];if(!((f|(a|d))!=16777215|((f|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=j[b+12>>2];if((m|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];na:{if(b){d=(g<<2)+o|0;e=0;f=a;while(1){n=j[d>>2];m=j[f>>2];j[d>>2]=((n&16711422)+(m&16711422)>>>1|0)+(n&m&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<2)|0;break na}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;q=q-1|0;if(q){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=l[e>>1]+b|0;d=l[e+2>>1];oa:{if(d){e=(b<<2)+o|0;C=k[n+30|0];u=j[(C<<2)+234976>>2];A=k[n+29|0];y=j[(A<<2)+234976>>2];D=k[n+28|0];E=j[(D<<2)+234976>>2];f=k[n+34|0];t=k[n+33|0];s=k[n+32|0];q=0;g=a;while(1){B=j[n+12>>2];v=j[e>>2];G=k[E+((B&v)>>>s|0)|0];F=j[n+16>>2];x=k[y+((F&v)>>>t|0)|0];H=j[n+20>>2];v=k[u+((H&v)>>>f|0)|0];z=B;B=j[g>>2];j[e>>2]=j[n+24>>2]|G+(p(m,k[E+((z&B)>>>s|0)|0]-G|0)>>>8|0)>>>D<>>t|0)|0]-x|0)>>>8|0)>>>A<>>f|0)|0]-v|0)>>>8|0)>>>C<>2]+o|0;r=r-1|0;if(r){continue}break}break b}g=0;break i}n=0;while(1){b=e+4|0;n=l[e>>1]+n|0;d=l[e+2>>1];pa:{if(d){f=(n<<2)+o|0;a=0;e=b;while(1){g=j[e>>2];t=j[f>>2];s=t&16711935;v=(p(m,(g&16711935)-s|0)>>>8|0)+s&16711935;x=g&65280;g=t&65280;j[f>>2]=v|(p(m,x-g|0)>>>8|0)+g&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}n=d+n|0;e=b+(d<<2)|0;break pa}e=b;if(!n){break b}}if((n|0)!=(w|0)){continue}o=j[c+16>>2]+o|0;q=q-1|0;if(!q){break b}n=0;continue}}while(1){d=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];qa:{if(b){ra:{if((g|0)>=(o|0)){break ra}f=t-g|0;sa:{if((f|0)<1){f=0;e=b;break sa}e=b-f|0;if((e|0)<1){break ra}}a=f+g|0;s=o-a|0;s=(e|0)>(s|0)?s:e;if((s|0)<1){break ra}e=d+(f<<2)|0;f=(a<<2)+q|0;a=0;while(1){r=j[e>>2];u=j[f>>2];y=u&16711935;v=(p(m,(r&16711935)-y|0)>>>8|0)+y&16711935;x=r&65280;r=u&65280;j[f>>2]=v|(p(m,x-r|0)>>>8|0)+r&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((s|0)!=(a|0)){continue}break}}g=b+g|0;e=d+(b<<2)|0;break qa}e=d;if(!g){break b}}if((g|0)!=(w|0)){continue}q=j[c+16>>2]+q|0;n=n-1|0;if(!n){break b}g=0;continue}}if(k[c|0]&2){jg(c)}return 0}function Qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=oe-32|0;oe=g;b=j[a+40>>2];u=k[b+9|0];d=j[a+44>>2];o=0;a:{if(!j[d+24>>2]){break a}o=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];e=j[a>>2];s=j[a+28>>2];a=j[a+24>>2];b:{c:{f=(u|0)!=4;t=k[d+9|0];if(!(f|(t|0)!=4)){if(j[b>>2]==372711428|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;d:while(1){r=f;e:{f:{switch(n-1|0){default:a=0;break e;case 0:a=7;break e;case 1:a=6;break e;case 2:a=5;break e;case 3:a=4;break e;case 4:a=3;break e;case 5:a=2;break e;case 6:break f}}a=1}while(1){g:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=7;continue;default:break g}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;h:{if((r|0)>1){r=r-1|0;break h}c=c+x|0;e=e+y|0;s=a;if(a){continue d}break b}a=0;continue}}}if(!((t|0)!=3|f)){if(j[b>>2]==372711428){break c}hh(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!s){break b}o=a&7;f=(a+7|0)/8|0;i:while(1){r=f;j:{k:{switch(o-1|0){default:a=0;break j;case 0:a=7;break j;case 1:a=6;break j;case 2:a=5;break j;case 3:a=4;break j;case 4:a=3;break j;case 5:a=2;break j;case 6:break k}}a=1}while(1){l:{switch(a|0){case 0:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break l}}a=s-1|0;h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;m:{if((r|0)>1){r=r-1|0;break m}c=c+x|0;e=e+y|0;s=a;if(a){continue i}break b}a=0;continue}}}if((u|0)!=3|(t|0)!=4|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;n:while(1){r=f;o:{p:{switch(n-1|0){default:a=0;break o;case 0:a=7;break o;case 1:a=6;break o;case 2:a=5;break o;case 3:a=4;break o;case 4:a=3;break o;case 5:a=2;break o;case 6:break p}}a=1}while(1){q:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=7;continue;default:break q}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;r:{if((r|0)>1){r=r-1|0;break r}c=c+x|0;e=e+y|0;s=a;if(a){continue n}break b}a=0;continue}}}if(!s){break b}z=a&7;A=(a+7|0)/8|0;v=u-1|0;w=t-1|0;while(1){r=A;s:{t:{switch(z-1|0){default:a=7;break s;case 0:a=6;break s;case 1:a=5;break s;case 2:a=4;break s;case 3:a=3;break s;case 4:a=2;break s;case 5:a=1;break s;case 6:break t}}a=0}while(1){u:{v:{switch(a|0){case 0:a=0;m=0;f=0;w:{x:{y:{switch(v|0){case 0:f=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;z:{A:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break z;case 3:break A;default:break z}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:a=(k[b+34|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break B}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0}m=k[a|0];a=k[f|0];f=k[n|0]}p=a&255;q=m&255;n=f;E:{F:{switch(w|0){case 0:h[c|0]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=a;h[(k[d+34|0]>>>3|0)+c|0]=m;break E;case 3:break F;default:break E}}j[c>>2]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break H;case 3:break I;default:break G}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;J:{K:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break J;case 3:break K;default:break J}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break M;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break M;case 3:break N;default:break L}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;O:{P:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break O;case 3:break P;default:break O}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;T:{U:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break T;case 3:break U;default:break T}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break W;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break W;case 3:break X;default:break V}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;Y:{Z:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break Y;case 3:break Z;default:break Y}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break $;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break $;case 3:break aa;default:break _}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;ba:{ca:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break ba;case 3:break ca;default:break ba}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break ea;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break ea;case 3:break fa;default:break da}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;ga:{ha:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break ga;case 3:break ha;default:break ga}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];p=j[b+24>>2]^-1;q=p&j[a+56>>2];y=j[a+36>>2];e=j[a+20>>2];z=j[a+16>>2];d=j[a>>2];u=j[a+28>>2];f=j[a+24>>2];a:{r=j[b>>2];c=j[a+44>>2];a=j[c>>2];if((r|0)==(a|0)){a=mP(r-372645892|0,12);if(!u|(a>>>0>5|!(1<>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=3;continue;case 3:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=4;continue;case 4:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=5;continue;case 5:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=6;continue;case 6:a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}e=e+4|0;d=d+4|0;a=7;continue;default:break e}}a=j[d>>2];if((a&p)!=(q|0)){j[e>>2]=a}a=u-1|0;e=e+4|0;d=d+4|0;f:{if((f|0)>1){f=f-1|0;break f}e=e+y|0;d=d+z|0;u=a;if(a){continue b}break a}a=0;continue}}}s=k[c+9|0];t=k[b+9|0];g:{if(!((a|0)==372711428|(r|0)==372711428|(s|0)!=4)){if((t|0)==4){break g}}if(!u){break a}A=f&7;x=(f+7|0)/8|0;v=t-1|0;w=s-1|0;while(1){r=x;h:{i:{switch(A-1|0){default:a=7;break h;case 0:a=6;break h;case 1:a=5;break h;case 2:a=4;break h;case 3:a=3;break h;case 4:a=2;break h;case 5:a=1;break h;case 6:break i}}a=0}while(1){j:{k:{switch(a|0){case 0:a=0;n=0;f=0;g=0;m=0;l:{m:{switch(v|0){case 0:a=k[d|0];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break l;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break l;case 3:break m;default:break l}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}n:{if((a&p)==(q|0)){break n}o:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break n;case 3:break o;default:break n}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break p;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break p;case 3:break q;default:break p}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}r:{if((a&p)==(q|0)){break r}s:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break r;case 3:break s;default:break r}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break t;case 3:break u;default:break t}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}v:{if((a&p)==(q|0)){break v}w:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break v;case 3:break w;default:break v}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break x;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break x;case 3:break y;default:break x}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}z:{if((a&p)==(q|0)){break z}A:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break z;case 3:break A;default:break z}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break B;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break B;case 3:break C;default:break B}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}D:{if((a&p)==(q|0)){break D}E:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break D;case 3:break E;default:break D}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break F;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break F;case 3:break G;default:break F}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}H:{if((a&p)==(q|0)){break H}I:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break H;case 3:break I;default:break H}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break J;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break J;case 3:break K;default:break J}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}L:{if((a&p)==(q|0)){break L}M:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break L;case 3:break M;default:break L}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 1:a=l[d>>1];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];break N;case 2:f=k[(k[b+34|0]>>>3|0)+d|0];g=k[(k[b+33|0]>>>3|0)+d|0];m=k[(k[b+32|0]>>>3|0)+d|0];n=255;break N;case 3:break O;default:break N}}a=j[d>>2];n=k[j[(k[b+31|0]<<2)+234976>>2]+((a&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];m=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0]}P:{if((a&p)==(q|0)){break P}Q:{switch(w|0){case 0:h[e|0]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)+e|0]=m;h[(k[c+33|0]>>>3|0)+e|0]=g;h[(k[c+34|0]>>>3|0)+e|0]=f;break P;case 3:break Q;default:break P}}j[e>>2]=g>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=1;continue;case 1:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=2;continue;case 2:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=3;continue;case 3:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=4;continue;case 4:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=5;continue;case 5:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=6;continue;case 6:if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}e=e+4|0;d=d+4|0;a=7;continue;default:break U}}if((j[d>>2]&p)!=(q|0)){h[e|0]=k[j[o+12>>2]+d|0];h[e+1|0]=k[j[o+8>>2]+d|0];h[e+2|0]=k[j[o+4>>2]+d|0];h[e+3|0]=k[j[o>>2]+d|0]}a=u-1|0;e=e+4|0;d=d+4|0;V:{if((f|0)>1){f=f-1|0;break V}e=e+y|0;d=d+z|0;u=a;if(a){continue R}break a}a=0;continue}}}oe=o+16|0}function Ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+40>>2];o=j[b+24>>2]^-1;q=o&j[a+56>>2];u=j[a+36>>2];i=j[a+20>>2];v=j[a+16>>2];c=j[a>>2];s=j[a+28>>2];f=j[a+24>>2];n=k[b+9|0];r=j[a+48>>2];a:{if(r){if(!s){break a}w=f&7;t=(f+7|0)/8|0;p=n-1|0;while(1){f=t;b:{c:{switch(w-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;d=0;e=0;g=0;f:{g:{h:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break g;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break g;case 3:break h;default:break f}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;d=0;e=0;g=0;i:{j:{k:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break j;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break j;case 3:break k;default:break i}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;d=0;e=0;g=0;l:{m:{n:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break m;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break m;case 3:break n;default:break l}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;d=0;e=0;g=0;o:{p:{q:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break p;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break p;case 3:break q;default:break o}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;d=0;e=0;g=0;r:{s:{t:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break s;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break s;case 3:break t;default:break r}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;d=0;e=0;g=0;u:{v:{w:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break v;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break v;case 3:break w;default:break u}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;d=0;e=0;g=0;x:{y:{z:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+c|0;m=(k[b+32|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;break y;case 3:break z;default:break x}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}g=k[d|0];d=k[m|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(e>>>3&28|d&224|(g&192)>>>6)|0]}a=s-1|0;c=c+n|0;i=i+1|0;if((f|0)<=1){break d}f=f-1|0;a=7;continue;default:break e}}a=0;e=0;g=0;d=0;A:{B:{C:{switch(p|0){case 0:a=k[c|0];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 1:a=l[c>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break B;case 2:d=(k[b+34|0]>>>3|0)+c|0;g=(k[b+33|0]>>>3|0)+c|0;e=(k[b+32|0]>>>3|0)+c|0;break B;case 3:break C;default:break A}}a=j[c>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;e=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}d=k[d|0];e=k[e|0];g=k[g|0]}if((a&o)!=(q|0)){h[i|0]=k[r+(g>>>3&28|e&224|(d&192)>>>6)|0]}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}break a}if(!s){break a}m=f&7;r=(f+7|0)/8|0;p=n-1|0;while(1){t=r;D:{E:{switch(m-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;d=0;e=0;H:{I:{J:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break I;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break I;case 3:break J;default:break H}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;d=0;e=0;K:{L:{M:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break L;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break L;case 3:break M;default:break K}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;d=0;e=0;N:{O:{P:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break O;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break O;case 3:break P;default:break N}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;d=0;e=0;Q:{R:{S:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break R;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break R;case 3:break S;default:break Q}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;d=0;e=0;T:{U:{V:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break U;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break U;case 3:break V;default:break T}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;d=0;e=0;W:{X:{Y:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break X;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break X;case 3:break Y;default:break W}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}c=c+n|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;d=0;e=0;Z:{_:{$:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;break _;case 2:f=(k[b+34|0]>>>3|0)+c|0;g=(k[b+32|0]>>>3|0)+c|0;d=(k[b+33|0]>>>3|0)+c|0;break _;case 3:break $;default:break Z}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0}e=k[f|0];f=k[g|0];d=k[d|0]}if((a&o)!=(q|0)){h[i|0]=d>>>3&28|f&224|(e&192)>>>6}a=s-1|0;c=c+n|0;i=i+1|0;if((t|0)<=1){break F}t=t-1|0;a=7;continue;default:break G}}a=0;d=0;e=0;f=0;aa:{ba:{ca:{switch(p|0){case 0:a=k[c|0];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 1:a=l[c>>1];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break ba;case 2:f=(k[b+34|0]>>>3|0)+c|0;e=(k[b+33|0]>>>3|0)+c|0;d=(k[b+32|0]>>>3|0)+c|0;break ba;case 3:break ca;default:break aa}}a=j[c>>2];f=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}f=k[f|0];d=k[d|0];e=k[e|0]}if((a&o)!=(q|0)){h[i|0]=e>>>3&28|d&224|(f&192)>>>6}c=c+n|0;i=i+1|0;a=0;continue}break}i=i+u|0;c=c+v|0;s=a;if(a){continue}break}}}function vr(a,b){var c=0,d=0,e=0,f=0,g=0,l=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;u=oe-32|0;oe=u;y=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c|!j[a>>2]){break a}n=-5;x=(b|0)==4?-5:0;while(1){b=1;w=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(j[c>>2]){case 0:b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;b=k[b|0];j[c+4>>2]=b;c=j[a+28>>2];if((b&15)!=8){j[c>>2]=13;j[a+24>>2]=126728;break c}if(m[c+16>>2]<(j[c+4>>2]>>>4|0)+8>>>0){j[c>>2]=13;j[a+24>>2]=126755;break c}j[c>>2]=1;n=x;case 1:b=n;e=j[a+4>>2];if(!e){break e}b=e-1|0;j[a+4>>2]=b;j[a+8>>2]=j[a+8>>2]+1;e=j[a>>2];j[a>>2]=e+1;e=k[e|0];if(((e|j[c+4>>2]<<8)>>>0)%31|0){j[c>>2]=13;j[a+24>>2]=126775;break c}if(!(e&32)){j[c>>2]=7;break b}j[c>>2]=2;n=x;break o;case 8:break i;case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 3:break n;case 2:break p;case 13:break d;case 12:break e;case 11:break f;case 10:break g;case 9:break h;default:break a}}b=j[a+4>>2]}y=n;if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=3;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=4;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=5;n=x}y=n;b=j[a+4>>2];if(!b){break a}j[a+4>>2]=b-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=a;a=j[a+28>>2];j[b+48>>2]=j[a+8>>2];j[a>>2]=6;y=2;break a}j[c>>2]=13;j[a+24>>2]=126798;j[c+4>>2]=0;break a}d=j[c+20>>2];q=j[d+52>>2];b=j[d+48>>2];q:{if(q>>>0>>0){b=b+(q^-1)|0;break q}b=j[d+44>>2]-q|0}o=j[a+4>>2];e=j[a>>2];f=j[d+28>>2];g=j[d+32>>2];B=d+20|0;A=d+16|0;r:{while(1){s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{c=j[d>>2];if((c|0)!=2){S:{T:{switch(c|0){case 5:b=j[d+8>>2];break D;case 3:if(f>>>0<=13){break R}l=f;c=e;break K;case 1:if(f>>>0<=31){break S}l=f;c=e;break x;case 8:break A;case 7:break B;case 6:break C;case 9:break P;case 4:break Q;case 0:break T;default:break M}}U:{V:{W:{X:{Y:{if(f>>>0>2){l=f;c=e;break Y}if(!o){break X}o=o-1|0;l=f+8|0;g=k[e|0]<>2]=g&1;switch((g>>>1&3)-1|0){case 2:break U;case 1:break V;case 0:break W;default:break O}}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}e=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(!e){j[d+32>>2]=g;j[d+4>>2]=0;j[d+28>>2]=l;break H}j[e+24>>2]=131200;j[e+20>>2]=127104;i[e+16>>1]=1289;j[e>>2]=0;j[d+4>>2]=e;f=l-3|0;g=g>>>3|0;l=6;break N}f=l-3|0;g=g>>>3|0;l=3;break N}j[d>>2]=9;j[a+24>>2]=126835;j[d+28>>2]=l-3;j[d+32>>2]=g>>>3;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}if(o){break y}break w}if(!o){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b){c=q;break z}Z:{if(j[d+44>>2]!=(q|0)){c=q;break Z}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break Z}b=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(b){break z}}j[d+52>>2]=c;r=Cf(d,a,n);n=j[d+52>>2];l=j[d+48>>2];_:{if(n>>>0>>0){c=j[d+44>>2];b=l+(n^-1)|0;break _}c=j[d+44>>2];b=c-n|0}$:{if((c|0)!=(n|0)){c=n;break $}c=j[d+40>>2];if((l|0)==(c|0)){c=n;break $}b=c>>>0>>0?l+(c^-1)|0:n-c|0}if(b){break z}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;w=Cf(d,a,r);break r}if(o){break L}break J}b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){break F}break E}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}e=l-3|0;g=g>>>3>>>(e&7)|0;f=e&-8;l=1}e=c;j[d>>2]=l;continue}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,-2);break r}aa:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=6){break aa}f=l;e=c;if(o){continue}break}n=0;break J}n=0}j[d+4>>2]=g&16383;b=g&31;if(b>>>0<=29){e=g>>>5&31;if(e>>>0<30){break I}}j[d>>2]=9;j[a+24>>2]=126883;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}b=qe[j[a+32>>2]](j[a+40>>2],(b+e|0)+258|0,4)|0;j[d+12>>2]=b;if(b){break G}j[d+28>>2]=l;j[d+32>>2]=g}j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;w=Cf(d,a,-4);break r}j[d>>2]=4;b=0;j[d+8>>2]=0;f=l-14|0;g=g>>>14|0;e=c}while(1){ba:{if(f>>>0<=2){if(!o){break ba}o=o-1|0;g=k[e|0]<>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+126928>>2]<<2)>>2]=g&7;f=f-3|0;g=g>>>3|0;b=j[d+8>>2];if(b>>>0<(j[d+4>>2]>>>10|0)+4>>>0){continue}break E}break}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}if(b>>>0<19){while(1){j[d+8>>2]=b+1;j[j[d+12>>2]+(j[(b<<2)+126928>>2]<<2)>>2]=0;b=j[d+8>>2];if(b>>>0<19){continue}break}}j[d+16>>2]=7;c=j[d+12>>2];l=j[d+36>>2];j[u+28>>2]=0;ca:{b=qe[j[a+32>>2]](j[a+40>>2],19,4)|0;da:{if(!b){c=-4;break da}s=131456;ea:{fa:{ga:{ha:{ia:{c=pm(c,19,19,0,0,B,A,l,u+28|0,b);switch(c+5|0){case 2:break ga;case 0:break ha;default:break ia}}if(j[A>>2]){break fa}}s=131496}j[a+24>>2]=s;qe[j[a+36>>2]](j[a+40>>2],b);break ea}qe[j[a+36>>2]](j[a+40>>2],b);if(!c){break ca}if((c|0)!=-3){break da}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;c=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,c);break r}j[d>>2]=5;j[d+8>>2]=0;b=0}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(b>>>0

>>0){while(1){ja:{ka:{la:{t=j[A>>2];ma:{if(t>>>0<=f>>>0){c=f;r=e;l=o;break ma}c=f;s=e;l=o;if(!o){break la}na:{while(1){r=s+1|0;l=l-1|0;g=k[s|0]<>>0<=c>>>0){break na}s=r;if(l){continue}break}n=0;break la}n=0}e=j[B>>2]+((j[(t<<2)+127008>>2]&g)<<3)|0;t=k[e+1|0];v=j[e+4>>2];if(v>>>0>15){break ka}j[d+8>>2]=b+1;j[j[d+12>>2]+(b<<2)>>2]=v;f=c-t|0;g=g>>>t|0;b=j[d+8>>2];e=r;o=l;break ja}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}oa:{pa:{C=(v|0)==18;z=C?7:v-14|0;D=z+t|0;qa:{if(D>>>0<=c>>>0){f=c;e=r;o=l;break qa}f=c;s=r;o=l;if(!o){break pa}ra:{while(1){e=s+1|0;o=o-1|0;g=k[s|0]<>>0<=f>>>0){break ra}s=e;if(o){continue}break}n=0;break pa}n=0}f=(f-t|0)-z|0;c=g>>>t|0;g=c>>>z|0;c=(c&j[(z<<2)+127008>>2])+(C?11:3)|0;if((v|0)!=16|b?c+b>>>0<=p>>>0:0){break oa}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;j[a+24>>2]=127076;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break u}j[d+32>>2]=g;j[d+28>>2]=(l<<3)+c;j[a+4>>2]=0;b=j[a>>2];c=l+r|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break s}l=0;l=(v|0)==16?j[(j[d+12>>2]+(b<<2)|0)-4>>2]:l;while(1){j[j[d+12>>2]+(b<<2)>>2]=l;b=b+1|0;c=c-1|0;if(c){continue}break}j[d+8>>2]=b}l=j[d+4>>2];c=l&31;l=l>>>5&31;p=(c+l|0)+258|0;if(p>>>0>b>>>0){continue}break}}j[d+20>>2]=0;j[u+24>>2]=9;j[u+20>>2]=6;r=j[d+36>>2];v=j[d+12>>2];j[u+28>>2]=0;sa:{ta:{ua:{b=qe[j[a+32>>2]](j[a+40>>2],288,4)|0;va:{if(!b){b=-4;break va}t=131788;wa:{xa:{ya:{za:{Aa:{z=c+257|0;s=pm(v,z,257,131536,131664,u+16|0,u+24|0,r,u+28|0,b);switch(s+4|0){case 0:break wa;case 1:break ya;case 4:break Aa;default:break za}}t=j[u+24>>2];if(t){break xa}}t=131823}j[a+24>>2]=t;s=-3;break wa}p=132104;Ba:{Ca:{Da:{Ea:{Fa:{Ga:{s=pm(v+(z<<2)|0,l+1|0,0,131856,131984,u+12|0,u+20|0,r,u+28|0,b);switch(s+5|0){case 1:break Ba;case 2:break Ca;case 0:break Da;case 5:break Ga;default:break Fa}}l=j[u+20>>2];if(l|!c){break Ea}}p=132158;break Ca}qe[j[a+36>>2]](j[a+40>>2],b);break ua}p=132133}j[a+24>>2]=p;s=-3}}qe[j[a+36>>2]](j[a+40>>2],b);b=-4;Ha:{switch(s+3|0){case 3:break ua;case 0:break Ha;default:break va}}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=9;b=-3}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);j[d+52>>2]=q;break ta}c=j[u+12>>2];r=j[u+16>>2];b=qe[j[a+32>>2]](j[a+40>>2],1,28)|0;if(b){j[b+24>>2]=c;j[b+20>>2]=r;h[b+17|0]=l;h[b+16|0]=t;j[b>>2]=0;j[d+4>>2]=b;b=n;c=1;break sa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=-4}w=Cf(d,a,b);c=0}if(!c){break r}qe[j[a+36>>2]](j[a+40>>2],j[d+12>>2]);j[d>>2]=6;n=b}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;p=j[d+4>>2];b=j[d+48>>2];Ia:{if(b>>>0>q>>>0){l=b+(q^-1)|0;break Ia}l=j[d+44>>2]-q|0}b=j[p>>2];Ja:{while(1){Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{switch(b|0){case 1:t=j[p+12>>2];break cb;case 3:t=j[p+12>>2];break Na;case 5:c=j[p+12>>2];break Oa;case 9:break Ya;case 8:break Za;case 7:break _a;case 6:break $a;case 4:break ab;case 2:break bb;case 0:break db;default:break Xa}}j[p>>2]=1;t=k[p+16|0];j[p+12>>2]=t;j[p+8>>2]=j[p+20>>2]}if(f>>>0>=t>>>0){b=f;s=e;c=o;break Qa}b=f;r=e;c=o;if(c){break Ra}break Ka}v=j[p+8>>2];if(v>>>0<=f>>>0){b=f;break Sa}b=f;r=e;c=o;if(c){break Ta}break Ka}t=j[p+8>>2];if(t>>>0<=f>>>0){b=f;break Ua}b=f;r=e;c=o;if(c){break Va}break Ka}if(l){c=q;break Wa}eb:{if(j[d+44>>2]!=(q|0)){c=q;break eb}c=j[d+40>>2];b=j[d+48>>2];if((c|0)==(b|0)){c=q;break eb}l=b>>>0>c>>>0?b+(c^-1)|0:q-c|0;if(l){break Wa}}j[d+52>>2]=c;r=Cf(d,a,n);b=j[d+52>>2];n=j[d+48>>2];fb:{if(b>>>0>>0){c=j[d+44>>2];l=n+(b^-1)|0;break fb}c=j[d+44>>2];l=c-b|0}gb:{if((b|0)!=(c|0)){c=b;break gb}c=j[d+40>>2];if((n|0)==(c|0)){c=b;break gb}l=c>>>0>>0?n+(c^-1)|0:b-c|0}if(l){break Wa}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,r);break Ja}j[d+52>>2]=q;b=f>>>0>7;e=b?e-1|0:e;f=b?f-8|0:f;o=b+o|0;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);b=Cf(d,a,b);break Ja}j[p>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,1);break Ja}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break Ma}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;b=Cf(d,a,-2);break Ja}h[c|0]=j[p+8>>2];b=0;j[p>>2]=0;l=l-1|0;q=c+1|0;n=0;continue}hb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break hb}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=5;c=j[p+12>>2]+(j[(t<<2)+127008>>2]&g)|0;j[p+12>>2]=c;f=b-t|0;g=g>>>t|0;break Oa}ib:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break ib}r=s;if(c){continue}break}n=0;break Ka}n=0;e=s;o=c}j[p>>2]=3;t=k[p+17|0];j[p+12>>2]=t;j[p+8>>2]=j[p+24>>2];j[p+4>>2]=j[p+4>>2]+(j[(v<<2)+127008>>2]&g);f=b-v|0;g=g>>>v|0;break Na}jb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break jb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;b=j[p+8>>2]+((j[(t<<2)+127008>>2]&g)<<3)|0;e=k[b+1|0];f=f-e|0;g=g>>>e|0;e=k[b|0];kb:{if(!e){b=j[b+4>>2];j[p>>2]=6;j[p+8>>2]=b;b=6;break kb}if(e&16){j[p+8>>2]=e&15;b=j[b+4>>2];j[p>>2]=2;j[p+4>>2]=b;b=2;break kb}if(!(e&64)){j[p+12>>2]=e;j[p+8>>2]=b+(j[b+4>>2]<<3);b=1;break kb}if(!(e&32)){break Pa}j[p>>2]=7;b=7}e=s;o=c;continue}j[p>>2]=9;j[a+24>>2]=132191;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0);break Ma}b=q-c|0;c=j[d+40>>2];if(b>>>0>>0){r=j[d+44>>2]-c|0;while(1){b=b+r|0;if(c>>>0>b>>>0){continue}break}}if(j[p+4>>2]){while(1){lb:{if(l){c=q;break lb}mb:{if(j[d+44>>2]!=(q|0)){c=q;break mb}c=j[d+40>>2];l=j[d+48>>2];if((c|0)==(l|0)){c=q;break mb}l=c>>>0>>0?l+(c^-1)|0:q-c|0;if(l){break lb}}j[d+52>>2]=c;s=Cf(d,a,n);n=j[d+52>>2];r=j[d+48>>2];nb:{if(n>>>0>>0){c=j[d+44>>2];l=r+(n^-1)|0;break nb}c=j[d+44>>2];l=c-n|0}ob:{if((c|0)!=(n|0)){c=n;break ob}c=j[d+40>>2];if((r|0)==(c|0)){c=n;break ob}l=c>>>0>>0?r+(c^-1)|0:n-c|0}if(l){break lb}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=c;b=Cf(d,a,s);break Ja}h[c|0]=k[b|0];b=b+1|0;if((b|0)==j[d+44>>2]){b=j[d+40>>2]}l=l-1|0;q=c+1|0;c=j[p+4>>2]-1|0;j[p+4>>2]=c;n=0;if(c){continue}break}}b=0;j[p>>2]=0;continue}pb:{if(f>>>0>=t>>>0){b=f;s=e;c=o;break pb}b=f;r=e;c=o;if(!c){break Ka}qb:{while(1){s=r+1|0;c=c-1|0;g=k[r|0]<>>0<=b>>>0){break qb}r=s;if(c){continue}break}n=0;break Ka}n=0}f=b;r=j[p+8>>2];o=j[(t<<2)+127008>>2]&g;e=r+(o<<3)|0;b=k[e+1|0];f=f-b|0;g=g>>>b|0;b=k[e|0];if(b&16){j[p+8>>2]=b&15;e=j[e+4>>2];b=4;j[p>>2]=4;j[p+12>>2]=e;break La}if(!(b&64)){j[p+12>>2]=b;b=3;j[p+8>>2]=e+(j[(r+(o<<3)|0)+4>>2]<<3);break La}j[p>>2]=9;j[a+24>>2]=132219;j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=c;b=j[a>>2];j[a>>2]=s;j[a+8>>2]=j[a+8>>2]+(s-b|0)}j[d+52>>2]=q;b=Cf(d,a,-3);break Ja}e=s;o=c;continue}break}j[d+32>>2]=g;j[d+28>>2]=(o<<3)+f;j[a+4>>2]=0;b=j[a>>2];c=e+o|0;j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);j[d+52>>2]=q;b=Cf(d,a,n)}if((b|0)!=1){w=Cf(d,a,b);break r}qe[j[a+36>>2]](j[a+40>>2],j[d+4>>2]);q=j[d+52>>2];b=j[d+48>>2];rb:{if(q>>>0>>0){b=b+(q^-1)|0;break rb}b=j[d+44>>2]-q|0}f=j[d+28>>2];g=j[d+32>>2];o=j[a+4>>2];e=j[a>>2];if(!j[d+24>>2]){n=0;j[d>>2]=0;continue}j[d>>2]=7;n=0}j[d+52>>2]=q;b=Cf(d,a,n);q=j[d+52>>2];if((q|0)!=j[d+48>>2]){j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;c=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-c|0);w=Cf(d,a,b);break r}j[d>>2]=8}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);j[d+52>>2]=q;w=Cf(d,a,1);break r}n=c;c=j[d+4>>2];c=c>>>0>o>>>0?o:c;c=b>>>0>>0?b:c;n=Ae(n,e,c);l=j[d+4>>2]-c|0;j[d+4>>2]=l;b=b-c|0;q=c+n|0;o=o-c|0;e=c+e|0;n=0;if(l){continue}j[d>>2]=j[d+24>>2]?7:0;continue}sb:{while(1){l=f+8|0;c=e+1|0;o=o-1|0;g=k[e|0]<>>0>=24){break sb}f=l;e=c;if(o){continue}break}n=0;break w}n=0}e=(g^-1)>>>16|0;if((e|0)==(g&65535)){break v}j[d>>2]=9;j[a+24>>2]=126854;j[d+28>>2]=l;j[d+32>>2]=g;j[a+4>>2]=o;b=j[a>>2];j[a>>2]=c;j[a+8>>2]=j[a+8>>2]+(c-b|0);break u}j[d+28>>2]=f;j[d+32>>2]=g;j[a+4>>2]=0;b=j[a>>2];j[a>>2]=e;j[a+8>>2]=j[a+8>>2]+(e-b|0);break s}j[d+4>>2]=e;if(e){g=0;l=2;break t}g=0;l=j[d+24>>2]?7:0;break t}j[d+52>>2]=q;w=Cf(d,a,-3);break r}f=0;e=c;j[d>>2]=l;continue}break}j[d+52>>2]=q;w=Cf(d,a,n)}b=x;tb:{switch(w+3|0){case 0:b=j[a+28>>2];j[b>>2]=13;j[b+4>>2]=0;n=-3;c=j[a+28>>2];continue;case 4:break tb;case 3:break e;default:break d}}b=j[a+28>>2];c=j[b+20>>2];j[b+4>>2]=j[c+60>>2];b=j[c>>2];if((b&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];if(b){b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b}c=j[a+28>>2];if(j[c+12>>2]){j[c>>2]=12;break b}j[c>>2]=8;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=k[b|0]<<24;c=j[a+28>>2];j[c>>2]=9;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<16);c=j[a+28>>2];j[c>>2]=10;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+(k[b|0]<<8);c=j[a+28>>2];j[c>>2]=11;n=x}b=n;e=j[a+4>>2];if(!e){break e}j[a+4>>2]=e-1;j[a+8>>2]=j[a+8>>2]+1;b=j[a>>2];j[a>>2]=b+1;j[c+8>>2]=j[c+8>>2]+k[b|0];b=j[a+28>>2];if(j[b+4>>2]!=j[b+8>>2]){j[b>>2]=13;j[a+24>>2]=126814;j[b+4>>2]=5;break b}j[b>>2]=12;y=1;break a}y=b;break a}y=w;break a}j[c+4>>2]=5}c=j[a+28>>2];n=x;continue}}oe=u+32|0;return y}function Bz(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;var h=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;E=g^255;a:{b:{c:{d:{e:{f:{g:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break e;case 0:break g;default:break f}}h:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break h;default:break d}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;g=j[b+8>>2];D=g&3;b=(g+3|0)/4|0;z=n-g<<1;i:while(1){j:{k:{l:{m:{n:{switch(D-1|0){case 0:q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];t=k[h+30|0];w=k[h+33|0];s=j[h+16>>2];y=k[h+29|0];n=k[h+32|0];u=j[h+12>>2];o=k[h+28|0];x=b;break k;case 1:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break l;case 2:I=k[h+30|0];Z=j[(I<<2)+234976>>2];J=k[h+29|0];_=j[(J<<2)+234976>>2];F=k[h+28|0];$=j[(F<<2)+234976>>2];q=j[h+24>>2];r=j[h+20>>2];s=j[h+16>>2];u=j[h+12>>2];B=k[h+34|0];v=B;t=I;N=k[h+33|0];w=N;y=J;O=k[h+32|0];n=O;o=F;x=b;break m;default:break n}}t=k[h+30|0];Z=j[(t<<2)+234976>>2];y=k[h+29|0];_=j[(y<<2)+234976>>2];o=k[h+28|0];$=j[(o<<2)+234976>>2];q=j[h+24>>2];v=k[h+34|0];r=j[h+20>>2];w=k[h+33|0];s=j[h+16>>2];n=k[h+32|0];u=j[h+12>>2];x=b;m=0;break j}m=1;break j}m=2;break j}m=3}while(1){o:{switch(m|0){case 0:g=l[a>>1];N=w&255;J=y&255;O=n&255;F=o&255;B=v&255;I=t&255;i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>1];i[a>>1]=((p(k[((g&s)>>>N|0)+_|0],E)>>>0)/255|0)+e>>>J<>>O|0)+$|0],E)>>>0)/255|0)+d>>>F<>>B|0)+Z|0],E)>>>0)/255|0)+f>>>I<>2];A=l[a>>1];G=w&255;H=((p(k[_+((A&s)>>>G|0)|0],E)>>>0)/255|0)+e>>>m<>2];G=n&255;L=H|((p(k[$+((u&A)>>>G|0)|0],E)>>>0)/255|0)+d>>>m<>2];H=r&A;A=v&255;i[a>>1]=L|((p(k[Z+(H>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){x=x-1|0;break p}a=a+z|0;C=g;if(g){continue i}break a}m=0;continue}}}c=Be(4);break a}q:{switch(c-1|0){case 0:c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];x=g&3;b=(g+3|0)/4|0;z=n-g<<2;r:while(1){s:{t:{u:{v:{w:{switch(x-1|0){case 0:q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];n=k[h+28|0];o=b;break t;case 1:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break u;case 2:G=k[h+30|0];aa=j[(G<<2)+234976>>2];K=k[h+29|0];ba=j[(K<<2)+234976>>2];P=k[h+28|0];ca=j[(P<<2)+234976>>2];y=k[h+34|0];q=y;r=G;w=k[h+33|0];s=w;u=K;t=k[h+32|0];v=t;n=P;o=b;break v;default:break w}}r=k[h+30|0];aa=j[(r<<2)+234976>>2];u=k[h+29|0];ba=j[(u<<2)+234976>>2];n=k[h+28|0];ca=j[(n<<2)+234976>>2];q=k[h+34|0];s=k[h+33|0];v=k[h+32|0];o=b;m=0;break s}m=1;break s}m=2;break s}m=3}while(1){x:{switch(m|0){case 0:g=j[a>>2];w=s&255;K=u&255;t=v&255;P=n&255;y=q&255;G=r&255;j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];j[a>>2]=j[h+24>>2]|(((p(k[((g&j[h+16>>2])>>>w|0)+ba|0],E)>>>0)/255|0)+e>>>K<>2])>>>t|0)+ca|0],E)>>>0)/255|0)+d>>>P<>2])>>>y|0)+aa|0],E)>>>0)/255|0)+f>>>G<>2];A=j[a>>2];C=s&255;B=((p(k[ba+((A&j[h+16>>2])>>>C|0)|0],E)>>>0)/255|0)+e>>>m<>2];C=v&255;H=j[h+24>>2]|(B|((p(k[ca+((A&j[h+12>>2])>>>C|0)|0],E)>>>0)/255|0)+d>>>m<>2];B=A&j[h+20>>2];A=q&255;j[a>>2]=H|((p(k[aa+(B>>>A|0)|0],E)>>>0)/255|0)+f>>>m<1){o=o-1|0;break y}a=a+z|0;D=g;if(g){continue r}break a}m=0;continue}};default:c=0;w=j[b+12>>2];if(!w){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<2;z:while(1){A:{B:{C:{D:{E:{switch(o-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];s=k[h+29|0];u=k[h+32|0];v=k[h+28|0];t=b;break B;case 1:s=k[h+29|0];r=k[h+33|0];v=k[h+28|0];u=k[h+32|0];oa=e>>>s<>>v<>>q<>>s<>>v<>>q<>>q<>>s<>>v<>2]=pa|(oa|j[h+24>>2]);g=g+4|0;a=1;continue;case 1:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=2;continue;case 2:j[g>>2]=j[h+24>>2]|oa|pa;g=g+4|0;a=3;continue;default:break F}}a=w-1|0;j[g>>2]=j[h+24>>2]|(e>>>s<>>v<>>q<1){t=t-1|0;break G}g=g+n|0;w=a;if(a){continue z}break a}a=0;continue}};case 3:c=0;A=j[b+12>>2];if(!A){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];x=a&3;b=(a+3|0)/4|0;D=n-a<<2;H:while(1){I:{J:{K:{L:{M:{switch(x-1|0){case 0:s=k[h+34|0];u=k[h+30|0];v=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break J;case 1:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break K;case 2:Q=k[h+30|0];da=j[(Q<<2)+234976>>2];R=k[h+29|0];ea=j[(R<<2)+234976>>2];S=k[h+28|0];C=j[(S<<2)+234976>>2];r=k[h+34|0];s=r;u=Q;q=k[h+33|0];v=q;t=R;m=k[h+32|0];w=m;y=S;n=b;break L;default:break M}}u=k[h+30|0];da=j[(u<<2)+234976>>2];t=k[h+29|0];ea=j[(t<<2)+234976>>2];y=k[h+28|0];C=j[(y<<2)+234976>>2];s=k[h+34|0];v=k[h+33|0];w=k[h+32|0];n=b;a=0;break I}a=1;break I}a=2;break I}a=3}while(1){N:{switch(a|0){case 0:a=j[g>>2];q=v&255;R=t&255;m=w&255;S=y&255;r=s&255;Q=u&255;j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];j[g>>2]=j[h+24>>2]|((p(k[((a&j[h+16>>2])>>>q|0)+ea|0],e)>>>0)/255>>>R<>2])>>>m|0)+C|0],d)>>>0)/255>>>S<>2])>>>r|0)+da|0],f)>>>0)/255>>>Q<>2];o=j[g>>2];C=v&255;B=(p(k[ea+((o&j[h+16>>2])>>>C|0)|0],e)>>>0)/255>>>z<>2];I=w&255;H=j[h+24>>2]|(B|(p(k[C+((o&j[h+12>>2])>>>I|0)|0],d)>>>0)/255>>>z<>2];B=o&j[h+20>>2];o=s&255;j[g>>2]=H|(p(k[da+(B>>>o|0)|0],f)>>>0)/255>>>z<1){n=n-1|0;break O}g=g+D|0;A=a;if(a){continue H}break a}a=0;continue}};case 1:break q}}c=0;D=j[b+12>>2];if(!D){break a}n=j[a+16>>2]/4|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;a=j[b+8>>2];A=a&3;b=(a+3|0)/4|0;x=n-a<<2;P:while(1){Q:{R:{S:{T:{U:{switch(A-1|0){case 0:m=k[h+34|0];q=k[h+30|0];r=k[h+33|0];t=k[h+29|0];w=k[h+32|0];y=k[h+28|0];n=b;break R;case 1:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break S;case 2:T=k[h+30|0];fa=j[(T<<2)+234976>>2];U=k[h+29|0];ga=j[(U<<2)+234976>>2];V=k[h+28|0];ha=j[(V<<2)+234976>>2];v=k[h+34|0];m=v;q=T;u=k[h+33|0];r=u;t=U;s=k[h+32|0];w=s;y=V;n=b;break T;default:break U}}q=k[h+30|0];fa=j[(q<<2)+234976>>2];t=k[h+29|0];ga=j[(t<<2)+234976>>2];y=k[h+28|0];ha=j[(y<<2)+234976>>2];m=k[h+34|0];r=k[h+33|0];w=k[h+32|0];n=b;a=0;break Q}a=1;break Q}a=2;break Q}a=3}while(1){V:{switch(a|0){case 0:a=j[g>>2];u=r&255;o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;U=t&255;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;V=y&255;v=m&255;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;T=q&255;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=k[((a&j[h+16>>2])>>>u|0)+ga|0]+e|0;z=(o>>>0<255?o:255)>>>U<>2])>>>s|0)+ha|0]+d|0;a=k[((a&j[h+20>>2])>>>v|0)+fa|0]+f|0;j[g>>2]=j[h+24>>2]|(z|(o>>>0<255?o:255)>>>V<>>0<255?a:255)>>>T<>2];o=j[g>>2];C=r&255;I=k[ga+((o&j[h+16>>2])>>>C|0)|0]+e|0;B=(I>>>0<255?I:255)>>>z<>2];C=w&255;I=k[ha+((o&j[h+12>>2])>>>C|0)|0]+d|0;H=j[h+24>>2]|(B|(I>>>0<255?I:255)>>>z<>2];B=o&j[h+20>>2];o=m&255;C=k[fa+(B>>>o|0)|0]+f|0;j[g>>2]=H|(C>>>0<255?C:255)>>>z<1){n=n-1|0;break W}g=g+x|0;D=a;if(a){continue P}break a}a=0;continue}}}c=0;y=j[b+12>>2];if(!y){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];o=a&3;b=(a+3|0)/4|0;n=n-a<<1;X:while(1){Y:{Z:{_:{$:{aa:{switch(o-1|0){case 0:m=j[h+24>>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;break Z;case 1:m=j[h+24>>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];u=k[h+29|0];s=k[h+33|0];t=k[h+28|0];v=k[h+32|0];r=k[h+30|0];q=k[h+34|0];qa=m|(e>>>u<>>t<>>r<>2];q=k[h+34|0];r=k[h+30|0];s=k[h+33|0];u=k[h+29|0];v=k[h+32|0];t=k[h+28|0];w=b;a=0;break Y}a=1;break Y}a=2;break Y}a=3}while(1){ba:{switch(a|0){case 0:qa=e>>>u<>>t<>>r<>1]=qa;g=g+2|0;a=1;continue;case 1:i[g>>1]=qa;g=g+2|0;a=2;continue;case 2:i[g>>1]=qa;g=g+2|0;a=3;continue;default:break ba}}a=y-1|0;i[g>>1]=e>>>u<>>t<>>r<1){w=w-1|0;break ca}g=g+n|0;y=a;if(a){continue X}break a}a=0;continue}}}c=0;B=j[b+12>>2];if(!B){break a}t=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(t,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];C=a&3;b=(a+3|0)/4|0;I=t-a<<1;da:while(1){ea:{fa:{ga:{ha:{ia:{switch(C-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];z=k[h+28|0];A=b;break fa;case 1:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ga;case 2:W=k[h+30|0];ia=j[(W<<2)+234976>>2];X=k[h+29|0];ja=j[(X<<2)+234976>>2];M=k[h+28|0];ka=j[(M<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];x=k[h+34|0];u=x;v=W;o=k[h+33|0];t=o;w=X;n=k[h+32|0];y=n;z=M;A=b;break ha;default:break ia}}v=k[h+30|0];ia=j[(v<<2)+234976>>2];w=k[h+29|0];ja=j[(w<<2)+234976>>2];z=k[h+28|0];ka=j[(z<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];A=b;a=0;break ea}a=1;break ea}a=2;break ea}a=3}while(1){ja:{switch(a|0){case 0:a=l[g>>1];o=t&255;X=w&255;n=y&255;M=z&255;x=u&255;W=v&255;i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>1];i[g>>1]=(p(k[((a&r)>>>o|0)+ja|0],e)>>>0)/255>>>X<>>n|0)+ka|0],d)>>>0)/255>>>M<>>x|0)+ia|0],f)>>>0)/255>>>W<>2];D=l[g>>1];F=t&255;H=(p(k[ja+((D&r)>>>F|0)|0],e)>>>0)/255>>>J<>2];F=y&255;L=H|(p(k[ka+((s&D)>>>F|0)|0],d)>>>0)/255>>>J<>2];H=q&D;D=u&255;i[g>>1]=L|(p(k[ia+(H>>>D|0)|0],f)>>>0)/255>>>J<1){A=A-1|0;break ka}g=g+I|0;B=a;if(a){continue da}break a}a=0;continue}}}c=0;C=j[b+12>>2];if(!C){break a}n=j[a+16>>2]/2|0;g=(j[a+20>>2]+(p(n,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;a=j[b+8>>2];I=a&3;b=(a+3|0)/4|0;J=n-a<<1;la:while(1){ma:{na:{oa:{pa:{qa:{switch(I-1|0){case 0:m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];v=k[h+30|0];t=k[h+33|0];r=j[h+16>>2];w=k[h+29|0];y=k[h+32|0];s=j[h+12>>2];n=k[h+28|0];o=b;break na;case 1:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break oa;case 2:Y=k[h+30|0];la=j[(Y<<2)+234976>>2];L=k[h+29|0];ma=j[(L<<2)+234976>>2];H=k[h+28|0];na=j[(H<<2)+234976>>2];m=j[h+24>>2];q=j[h+20>>2];r=j[h+16>>2];s=j[h+12>>2];D=k[h+34|0];u=D;v=Y;A=k[h+33|0];t=A;w=L;z=k[h+32|0];y=z;n=H;o=b;break pa;default:break qa}}v=k[h+30|0];la=j[(v<<2)+234976>>2];w=k[h+29|0];ma=j[(w<<2)+234976>>2];n=k[h+28|0];na=j[(n<<2)+234976>>2];m=j[h+24>>2];u=k[h+34|0];q=j[h+20>>2];t=k[h+33|0];r=j[h+16>>2];y=k[h+32|0];s=j[h+12>>2];o=b;a=0;break ma}a=1;break ma}a=2;break ma}a=3}while(1){ra:{switch(a|0){case 0:a=l[g>>1];A=t&255;x=k[((a&r)>>>A|0)+ma|0]+e|0;L=w&255;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;H=n&255;D=u&255;a=k[((a&q)>>>D|0)+la|0]+f|0;Y=v&255;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>1];x=k[((a&r)>>>A|0)+ma|0]+e|0;B=(x>>>0<255?x:255)>>>L<>>z|0)+na|0]+d|0;a=k[((a&q)>>>D|0)+la|0]+f|0;i[g>>1]=B|(x>>>0<255?x:255)>>>H<>>0<255?a:255)>>>Y<>2];x=l[g>>1];G=t&255;K=k[ma+((x&r)>>>G|0)|0]+e|0;B=(K>>>0<255?K:255)>>>F<>2];G=y&255;K=k[na+((s&x)>>>G|0)|0]+d|0;M=B|(K>>>0<255?K:255)>>>F<>2];B=q&x;x=u&255;G=k[la+(B>>>x|0)|0]+f|0;i[g>>1]=M|(G>>>0<255?G:255)>>>F<1){o=o-1|0;break sa}g=g+J|0;C=a;if(a){continue la}break a}a=0;continue}}}return c|0}function Rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=j[a+36>>2];i=j[a+20>>2];s=j[a+16>>2];e=j[a>>2];p=j[a+28>>2];d=j[a+24>>2];b=j[a+40>>2];m=k[b+9|0];n=j[a+48>>2];a:{if(n){if(!p){break a}t=d&7;c=(d+7|0)/8|0;o=m-1|0;while(1){q=c;b:{c:{switch(t-1|0){default:a=7;break b;case 0:a=6;break b;case 1:a=5;break b;case 2:a=4;break b;case 3:a=3;break b;case 4:a=2;break b;case 5:a=1;break b;case 6:break c}}a=0}while(1){d:{e:{switch(a|0){case 0:a=0;g=0;d=0;f:{g:{h:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break g;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break g;case 3:break h;default:break f}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;g=0;d=0;i:{j:{k:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break j;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break j;case 3:break k;default:break i}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;g=0;d=0;l:{m:{n:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break m;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break m;case 3:break n;default:break l}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;g=0;d=0;o:{p:{q:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break p;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break p;case 3:break q;default:break o}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;g=0;d=0;r:{s:{t:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break s;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break s;case 3:break t;default:break r}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;g=0;d=0;u:{v:{w:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break v;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break v;case 3:break w;default:break u}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;g=0;d=0;x:{y:{z:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break y;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break y;case 3:break z;default:break x}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}d=k[a|0];a=k[f|0];g=k[g|0]}f=p-1|0;h[i|0]=k[n+(g>>>3&28|a&224|(d&192)>>>6)|0];e=e+m|0;i=i+1|0;if((q|0)<=1){break d}q=q-1|0;a=7;continue;default:break e}}g=0;d=0;a=0;A:{B:{C:{switch(o|0){case 0:d=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 1:d=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;break B;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+32|0]>>>3|0)+e|0;d=(k[b+33|0]>>>3|0)+e|0;break B;case 3:break C;default:break A}}d=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0}a=k[a|0];g=k[g|0];d=k[d|0]}h[i|0]=k[n+(d>>>3&28|g&224|(a&192)>>>6)|0];e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=f;if(f){continue}break}break a}if(!p){break a}o=d&7;q=(d+7|0)/8|0;n=m-1|0;while(1){d=q;D:{E:{switch(o-1|0){default:a=7;break D;case 0:a=6;break D;case 1:a=5;break D;case 2:a=4;break D;case 3:a=3;break D;case 4:a=2;break D;case 5:a=1;break D;case 6:break E}}a=0}while(1){F:{G:{switch(a|0){case 0:a=0;f=0;g=0;H:{I:{J:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break I;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break I;case 3:break J;default:break H}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=1;continue;case 1:a=0;f=0;g=0;K:{L:{M:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break L;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break L;case 3:break M;default:break K}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=2;continue;case 2:a=0;f=0;g=0;N:{O:{P:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break O;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break O;case 3:break P;default:break N}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=3;continue;case 3:a=0;f=0;g=0;Q:{R:{S:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break R;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break R;case 3:break S;default:break Q}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=4;continue;case 4:a=0;f=0;g=0;T:{U:{V:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break U;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break U;case 3:break V;default:break T}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=5;continue;case 5:a=0;f=0;g=0;W:{X:{Y:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break X;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break X;case 3:break Y;default:break W}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;a=6;continue;case 6:a=0;f=0;g=0;Z:{_:{$:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break _;case 2:a=(k[b+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break _;case 3:break $;default:break Z}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}g=k[a|0];a=k[c|0];f=k[f|0]}c=p-1|0;h[i|0]=f>>>3&28|a&224|(g&192)>>>6;e=e+m|0;i=i+1|0;if((d|0)<=1){break F}d=d-1|0;a=7;continue;default:break G}}f=0;g=0;a=0;aa:{ba:{ca:{switch(n|0){case 0:c=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 1:c=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;break ba;case 2:a=(k[b+34|0]>>>3|0)+e|0;g=(k[b+33|0]>>>3|0)+e|0;c=(k[b+32|0]>>>3|0)+e|0;break ba;case 3:break ca;default:break aa}}c=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;c=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];f=k[c|0];g=k[g|0]}h[i|0]=g>>>3&28|f&224|(a&192)>>>6;e=e+m|0;i=i+1|0;a=0;continue}break}i=i+r|0;e=e+s|0;p=c;if(c){continue}break}}}function qy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;a:{w=j[a+28>>2];if(!w){break a}m=k[a+63|0];u=j[a+56>>2];y=j[a+36>>2];z=j[a+16>>2];v=j[j[j[a+40>>2]+4>>2]+4>>2];b=j[a+44>>2];g=b;d=j[a+24>>2];A=d&7;B=(d+7|0)/8|0;r=j[a>>2];a=j[a+20>>2];t=k[b+9|0];s=t-1|0;b:while(1){x=B;c:{d:{switch(A-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:d=k[r|0];f:{if((d|0)==(u|0)){break f}d=(d<<2)+v|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;e=0;f=0;c=0;g:{h:{switch(s|0){case 0:c=k[a|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break g;case 3:break h;default:break g}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;i:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break f;case 3:break i;default:break f}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break k;case 3:break l;default:break k}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;m:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break j;case 3:break m;default:break j}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break o;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break o;case 3:break p;default:break o}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;q:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break n;case 3:break q;default:break n}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break s;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break s;case 3:break t;default:break s}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;u:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break r;case 3:break u;default:break r}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break w;case 3:break x;default:break w}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;y:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break v;case 3:break y;default:break v}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break A;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break A;case 3:break B;default:break A}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;C:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break z;case 3:break C;default:break z}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break E;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break E;case 3:break F;default:break E}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;G:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break D;case 3:break G;default:break D}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 1:c=l[a>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break I;case 2:e=k[(k[b+34|0]>>>3|0)+a|0];f=k[(k[b+33|0]>>>3|0)+a|0];c=k[(k[b+32|0]>>>3|0)+a|0];d=255;break I;case 3:break J;default:break I}}c=j[a>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[g+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-e|0,m)|0)/255|0)+e|0;e=n&255;o=((p(o-f|0,m)|0)/255|0)+f|0;f=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;K:{switch(s|0){case 0:h[a|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=q;h[(k[b+33|0]>>>3|0)+a|0]=o;h[(k[b+34|0]>>>3|0)+a|0]=n;break H;case 3:break K;default:break H}}j[a>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<1){x=x-1|0;break L}a=a+y|0;r=r+z|0;w=d;if(d){continue b}break a}d=0;continue}}}}function ml(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;l=oe-288|0;oe=l;a:{if(!a){j[l>>2]=65335;i=ve(65309,l);break a}Oe(a,0,84);b:{c:{d:{e:{if((b|0)<=33055){i=b-32776|0;if(i>>>0<=24){break e}break d}f:{switch(b-36880|0){case 0:case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;default:break f}}if((b|0)==33056|(b|0)==37152){break b}break c}if(1<>>0<=24){break k}break j}l:{switch(e-36880|0){case 0:case 16:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break i;default:break l}}if((e|0)==33056|(e|0)==37152){break h}break i}if(1<>>0<=8:0)){i=ve(65388,0);break a}if(!(1<>>0<=8:0)){i=ve(65412,0);break a}if((d|0)<=0){i=ve(65441,0);break a}if((g|0)<=0){i=ve(65483,0);break a}if((d|0)>=4194303){i=ve(65530,0);break a}if((g|0)>=4194303){i=ve(65554,0);break a}h[a+6|0]=e;h[a+7|0]=e>>>8;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;h[a|0]=0;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0;Oe(a+40|0,0,40);h[a+32|0]=0;h[a+33|0]=0;h[a+34|0]=0;h[a+35|0]=0;h[a+36|0]=0;h[a+37|0]=0;h[a+38|0]=240;h[a+39|0]=63;h[a+28|0]=1;h[a+29|0]=0;h[a+30|0]=0;h[a+31|0]=0;s=+(g|0);t=+(d|0);q=s/t;sP(+q);i=pP(1)|0;m=pP(0)|0;h[a+8|0]=m;h[a+9|0]=m>>>8;h[a+10|0]=m>>>16;h[a+11|0]=m>>>24;h[a+12|0]=i;h[a+13|0]=i>>>8;h[a+14|0]=i>>>16;h[a+15|0]=i>>>24;kC();n:{o:{p:{q:{if((c|0)!=(f|0)|(d|0)!=(g|0)){break q}i=0;if((b|0)==(e|0)){break a}if((b^e)&61439){break q}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=141;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break n}j[l+16>>2]=9;if((ve(65690,l+16|0)|0)>=0){break n}break p}r:{if(!(b&4096)){break r}m=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((m|0)<=8){i=m+1|0;h[a+80|0]=i;h[a+81|0]=i>>>8;h[a+82|0]=i>>>16;h[a+83|0]=i>>>24;n=a+40|0;m=n+(m<<2)|0;h[m|0]=141;h[m+1|0]=0;h[m+2|0]=0;h[m+3|0]=0;i=n+(i<<2)|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break r}j[l+272>>2]=9;if((ve(65690,l+272|0)|0)<0){break p}}s:{if(b&256){break s}i=264372;t:{u:{v:{w:{x:{y:{m=b&61439;switch(m-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break t;case 0:break u;case 24:break v;case 8:break x;default:break y}}z:{switch(m-8|0){case 8:break w;case 0:break z;default:break t}}i=264376;break u}i=264380;break u}i=264384;break u}i=264388}i=j[i>>2];if(!i){break t}n=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);A:{if((n|0)<=8){m=n+1|0;h[a+80|0]=m;h[a+81|0]=m>>>8;h[a+82|0]=m>>>16;h[a+83|0]=m>>>24;u=a+40|0;n=u+(n<<2)|0;h[n|0]=i;h[n+1|0]=i>>>8;h[n+2|0]=i>>>16;h[n+3|0]=i>>>24;i=(m<<2)+u|0;h[i|0]=0;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;break A}j[l+256>>2]=9;if((ve(65690,l+256|0)|0)<0){break p}}i=b&255;if(i>>>0<=31){i=32/((b&255)>>>0)|0;b=p(i,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*+(i>>>0)));b=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((i|0)==32){break s}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()/+(i>>>5>>>0)));b=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break s}if((ve(65753,0)|0)<0){break p}}B:{C:{D:{if(c>>>0>>0){if((c|0)!=1|f>>>0<2){break C}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=142;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break D}j[l+160>>2]=9;if((ve(65690,l+160|0)|0)>=0){break D}break p}if(c>>>0<=f>>>0){break B}if(!((c|0)!=8|f>>>0>6)){c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);E:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=143;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break E}j[l+240>>2]=9;if((ve(65690,l+240|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*.75));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}b=a;n=a;F:{G:{H:{I:{J:{if(!((c|0)==6?f>>>0<=2:0)){if((f|0)!=4){break H}if((c|0)==6){break J}break H}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=144;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break I}j[l+192>>2]=9;if((ve(65690,l+192|0)|0)>=0){break I}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);K:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=145;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break K}j[l+224>>2]=9;if((ve(65690,l+224|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP();sP(+((o+o)/3));c=pP(1)|0;i=pP(0)|0;h[a+32|0]=i;h[a+33|0]=i>>>8;h[a+34|0]=i>>>16;h[a+35|0]=i>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=4;break H}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP()/3;break G}if((c|0)!=4|f>>>0>2){break F}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);L:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=146;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break L}j[l+208>>2]=9;if((ve(65690,l+208|0)|0)<0){break p}}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);o=+rP()*.5}sP(+o);c=pP(1)|0;i=pP(0)|0;h[n+32|0]=i;h[b+33|0]=i>>>8;h[b+34|0]=i>>>16;h[b+35|0]=i>>>24;h[b+36|0]=c;h[b+37|0]=c>>>8;h[b+38|0]=c>>>16;h[b+39|0]=c>>>24;c=2}if((f|0)!=1|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);M:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=147;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break M}j[l+176>>2]=9;if((ve(65690,l+176|0)|0)<0){break p}}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*.5));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=1;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);o=+rP();sP(+(o+o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=2}b=a;n=a;N:{O:{P:{Q:{i=f>>>0<6;if(!((c|0)==2?!i:0)){if(i){break N}if((c|0)==4){break Q}break N}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=148;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break P}j[l+128>>2]=9;if((ve(65690,l+128|0)|0)>=0){break P}break p}i=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);R:{if((i|0)<=8){c=i+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;m=a+40|0;i=m+(i<<2)|0;h[i|0]=149;h[i+1|0]=0;h[i+2|0]=0;h[i+3|0]=0;c=m+(c<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break R}j[l+144>>2]=9;if((ve(65690,l+144|0)|0)<0){break p}}o=1.5;c=(p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)+1|0)/2|0;break O}o=3;c=p(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24),3)}h[n+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=6}S:{T:{U:{if(!((c|0)==6?(f|0)==8:0)){if((f|0)!=4|(c|0)!=2){break B}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)>8){break U}b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=150;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break S}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;h[c|0]=151;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=i+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break T}j[l+96>>2]=9;if((ve(65690,l+96|0)|0)>=0){break T}break p}j[l+112>>2]=9;if((ve(65690,l+112|0)|0)>=0){break S}break p}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*4/3));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;b=((k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<2|2)/3|0;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;c=8;break B}b=(k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24))<<1;h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);o=+rP();sP(+(o+o));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;c=4}if((c|0)!=(f|0)){i=ve(65583,0);break a}V:{if((d|0)==(g|0)){break V}f=f-1|0;b=f&255;W:{if(!(b>>>0>=8|!(171>>>b&1))){i=-1;if((Oo()|0)<0){break a}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);X:{if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;i=a+40|0;c=i+(c<<2)|0;f=j[(f<<24>>24<<2)+65904>>2];h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;c=i+(b<<2)|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;break X}j[l+80>>2]=9;if((ve(65690,l+80|0)|0)<0){break a}b=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24)}if((b|0)>=7){j[l+64>>2]=7;b=ve(65690,l- -64|0);break W}h[a+76|0]=g;h[a+77|0]=g>>>8;h[a+78|0]=g>>>16;h[a+79|0]=g>>>24;h[a+72|0]=d;h[a+73|0]=d>>>8;h[a+74|0]=d>>>16;h[a+75|0]=d>>>24;b=a;f=a;Y:{if((d|0)<(g|0)){c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);sP(+(q*+rP()));c=pP(1)|0;d=pP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;q=w(q);Z:{if(r(q)<2147483648){c=~~q;break Z}c=-2147483648}c=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));break Y}c=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,c|0);sP(+(+rP()/(t/s)));c=pP(1)|0;d=pP(0)|0;h[a+32|0]=d;h[a+33|0]=d>>>8;h[a+34|0]=d>>>16;h[a+35|0]=d>>>24;h[a+36|0]=c;h[a+37|0]=c>>>8;h[a+38|0]=c>>>16;h[a+39|0]=c>>>24;c=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24)}c=c<<1;h[f+28|0]=c;h[b+29|0]=c>>>8;h[b+30|0]=c>>>16;h[b+31|0]=c>>>24;break V}b=ve(65805,0)}if((b|0)<0){break p}}_:{$:{if(e&256){break $}b=264392;aa:{ba:{ca:{da:{ea:{c=e&61439;switch(c-32776|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break _;case 0:break aa;case 24:break ba;case 8:break da;default:break ea}}fa:{switch(c-8|0){case 8:break ca;case 0:break fa;default:break _}}b=264396;break aa}b=264400;break aa}b=264404;break aa}b=264408}b=j[b>>2];if(!b){break _}d=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);ga:{if((d|0)<=8){c=d+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;f=a+40|0;d=f+(d<<2)|0;h[d|0]=b;h[d+1|0]=b>>>8;h[d+2|0]=b>>>16;h[d+3|0]=b>>>24;b=f+(c<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break ga}j[l+48>>2]=9;if((ve(65690,l+48|0)|0)<0){break p}}b=e&255;if(b>>>0>=33){c=b>>>5|0;b=p(c,k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24));h[a+28|0]=b;h[a+29|0]=b>>>8;h[a+30|0]=b>>>16;h[a+31|0]=b>>>24;b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()*+(c>>>0)));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24;break $}if((b|0)==32){break $}b=k[a+36|0]|k[a+37|0]<<8|(k[a+38|0]<<16|k[a+39|0]<<24);qP(0,k[a+32|0]|k[a+33|0]<<8|(k[a+34|0]<<16|k[a+35|0]<<24));qP(1,b|0);sP(+(+rP()/+(32/((e&255)>>>0)>>>0)));b=pP(1)|0;c=pP(0)|0;h[a+32|0]=c;h[a+33|0]=c>>>8;h[a+34|0]=c>>>16;h[a+35|0]=c>>>24;h[a+36|0]=b;h[a+37|0]=b>>>8;h[a+38|0]=b>>>16;h[a+39|0]=b>>>24}if(!(e&4096)){break o}c=k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24);if((c|0)<=8){b=c+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;d=a+40|0;c=d+(c<<2)|0;h[c|0]=141;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;b=d+(b<<2)|0;h[b|0]=0;h[b+1|0]=0;h[b+2|0]=0;h[b+3|0]=0;break o}j[l+32>>2]=9;if((ve(65690,l+32|0)|0)>=0){break o}break p}if((ve(65845,0)|0)>=0){break o}}i=-1;break a}i=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))!=0;h[a|0]=i;h[a+1|0]=i>>>8;h[a+2|0]=i>>>16;h[a+3|0]=i>>>24;break a}i=1;h[a|0]=1;h[a+1|0]=0;h[a+2|0]=0;h[a+3|0]=0}oe=l+288|0;return i}function ui(a,b){var c=0,d=0,e=0,f=0,g=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;v=oe-16|0;oe=v;C=-2;a:{if(!a){break a}c=j[a+28>>2];if(!c){break a}w=j[a+12>>2];if(!w){break a}n=j[a>>2];if(j[a+4>>2]?!n:0){break a}e=j[c>>2];if((e|0)==11){j[c>>2]=12;e=12}K=b-5|0;L=c+88|0;E=c+752|0;H=c+112|0;I=c+84|0;F=c+108|0;D=c+1328|0;f=j[c+60>>2];g=j[c+56>>2];J=j[a+4>>2];o=J;u=j[a+16>>2];B=u;b:{c:{d:while(1){e:{d=-3;q=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{switch(e|0){case 23:q=j[c+72>>2];break x;case 21:q=j[c+72>>2];break z;case 18:q=j[c+104>>2];break N;case 0:e=j[c+8>>2];if(!e){break H}if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(!(!(e&2)|(g|0)!=35615)){g=0;d=Sf(0,0,0);j[c+24>>2]=d;h[v+12|0]=31;h[v+13|0]=139;d=Sf(d,v+12|0,2);j[c>>2]=1;j[c+24>>2]=d;f=0;e=j[c>>2];continue}j[c+16>>2]=0;d=j[c+32>>2];if(d){j[d+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:e&1)){j[a+24>>2]=220870;j[c>>2]=29;e=j[c>>2];continue}if((g&15)!=8){j[a+24>>2]=220893;j[c>>2]=29;e=j[c>>2];continue}d=g>>>4|0;p=d&15;q=p+8|0;e=j[c+36>>2];if(!e){j[c+36>>2]=q;break f}if(e>>>0>=q>>>0){break f}f=f-4|0;j[a+24>>2]=220920;j[c>>2]=29;g=d;e=j[c>>2];continue;case 1:if(f>>>0<16){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}j[c+16>>2]=g;if((g&255)!=8){j[a+24>>2]=220893;j[c>>2]=29;e=j[c>>2];continue}if(g&57344){j[a+24>>2]=220940;j[c>>2]=29;e=j[c>>2];continue}d=j[c+32>>2];if(d){j[d>>2]=g>>>8&1}if(g&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=2;f=0;g=0;break ea;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 12:break V;case 11:break W;case 10:break X;case 9:break Y;case 4:break $;case 3:break ca;case 2:break fa;default:break a}}if(f>>>0>31){break da}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<24;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+4>>2]=g}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;h[v+14|0]=g>>>16;h[v+15|0]=g>>>24;M=c,N=Sf(j[c+24>>2],v+12|0,4),j[M+24>>2]=N}j[c>>2]=3;f=0;g=0;break ba}if(f>>>0>15){break aa}}e=n;while(1){if(!o){o=0;n=e;d=y;break c}o=o-1|0;g=(k[e|0]<>>0<8;f=f+8|0;n=e+1|0;e=n;if(d){continue}break}}d=j[c+32>>2];if(d){j[d+12>>2]=g>>>8;j[d+8>>2]=g&255}if(k[c+17|0]&2){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}j[c>>2]=4;e=0;f=0;g=0;q=j[c+16>>2];if(q&1024){break _}break p}q=j[c+16>>2];if(!(q&1024)){e=f;break p}e=g;if(f>>>0>15){break Z}}while(1){if(!o){o=0;g=e;d=y;break c}o=o-1|0;e=(k[n|0]<>>0<8;f=f+8|0;d=n+1|0;n=d;if(p){continue}break}n=d;g=e}j[c+64>>2]=g;d=j[c+32>>2];if(d){j[d+20>>2]=g}f=0;if(q&512){h[v+12|0]=g;h[v+13|0]=g>>>8;M=c,N=Sf(j[c+24>>2],v+12|0,2),j[M+24>>2]=N}g=0;break o}if(f>>>0<32){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=10;g=0;f=0}if(!j[c+12>>2]){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;C=2;break a}d=vi(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11}if(K>>>0<2){break i}}ga:{ha:{if(!j[c+4>>2]){d=f;if(f>>>0>2){break ga}if(o){break ha}break j}j[c>>2]=26;g=g>>>(f&7)|0;f=f&-8;e=j[c>>2];continue}o=o-1|0;g=(k[n|0]<>2]=g&1;f=13;ia:{ja:{ka:{switch((g>>>1&3)-1|0){case 0:j[c+76>>2]=221344;j[c+84>>2]=9;j[c+88>>2]=5;j[c+80>>2]=223392;j[c>>2]=19;if((b|0)!=6){break ia}f=d-3|0;g=g>>>3|0;d=y;break c;case 1:f=16;break ja;case 2:break ka;default:break ja}}j[a+24>>2]=220985;f=29}j[c>>2]=f}f=d-3|0;g=g>>>3|0;e=j[c>>2];continue}g=g>>>(f&7)|0;f=f&-8;if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}d=g&65535;if((d|0)!=((g^-1)>>>16|0)){j[a+24>>2]=221004;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=14;j[c+64>>2]=d;g=0;f=0;if((b|0)!=6){break T}break i}j[c>>2]=15}d=j[c+64>>2];if(d){d=d>>>0>o>>>0?o:d;e=d>>>0>u>>>0?u:d;if(!e){break i}d=Ae(w,n,e);j[c+64>>2]=j[c+64>>2]-e;w=e+d|0;u=u-e|0;n=e+n|0;o=o-e|0;e=j[c>>2];continue}j[c>>2]=11;e=j[c>>2];continue}if(f>>>0<14){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<6;f=f+8|0;n=n+1|0;if(d){continue}break}}e=g&31;j[c+96>>2]=e+257;d=g>>>5&31;j[c+100>>2]=d+1;p=(g>>>10&15)+4|0;j[c+92>>2]=p;f=f-14|0;g=g>>>14|0;if(!(d>>>0<30?e>>>0<=29:0)){j[a+24>>2]=221033;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=17;e=0;j[c+104>>2]=0;break P}e=j[c+104>>2];p=j[c+92>>2];if(e>>>0>=p>>>0){break O}}d=e;while(1){if(f>>>0<=2){if(!o){break e}o=o-1|0;g=(k[n|0]<>2]=e;i[((l[(d<<1)+220832>>1]<<1)+c|0)+112>>1]=g&7;f=f-3|0;g=g>>>3|0;d=e;if(d>>>0

>>0){continue}break}}if(e>>>0<19){while(1){i[((l[(e<<1)+220832>>1]<<1)+c|0)+112>>1]=0;e=e+1|0;if((e|0)!=19){continue}break}j[c+104>>2]=19}j[c+84>>2]=7;j[c+76>>2]=D;j[c+108>>2]=D;q=0;y=Al(0,H,19,F,I,E);if(y){j[a+24>>2]=221069;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=18;j[c+104>>2]=0;y=0}z=j[c+96>>2];t=z+j[c+100>>2]|0;if(t>>>0>q>>>0){x=-1<>2]^-1;G=j[c+76>>2];while(1){r=f;e=o;d=n;A=g&x;s=k[((A<<2)+G|0)+1|0];la:{if(s>>>0<=f>>>0){p=f;break la}while(1){if(!e){break G}s=k[d|0]<>>0>p>>>0){continue}break}}f=l[((A<<2)+G|0)+2>>1];ma:{if(f>>>0<=15){n=q+1|0;j[c+104>>2]=n;i[((q<<1)+c|0)+112>>1]=f;f=p-s|0;g=g>>>s|0;q=n;break ma}na:{oa:{pa:{switch(f-16|0){case 0:n=s+2|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}f=p-s|0;p=g>>>s|0;if(!q){j[a+24>>2]=221094;j[c>>2]=29;n=d;o=e;g=p;e=j[c>>2];continue d}f=f-2|0;g=p>>>2|0;o=(p&3)+3|0;n=l[((q<<1)+c|0)+110>>1];break na;case 1:n=s+3|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>3|0;o=(n&7)+3|0;f=(p-s|0)-3|0;break oa;default:break pa}}n=s+7|0;if(n>>>0>p>>>0){while(1){if(!e){break q}e=e-1|0;g=(k[d|0]<>>0>p>>>0){continue}break}}n=g>>>s|0;g=n>>>7|0;o=(n&127)+11|0;f=(p-s|0)-7|0}n=0}if(t>>>0>>0){j[a+24>>2]=221094;j[c>>2]=29;n=d;o=e;e=j[c>>2];continue d}while(1){i[((q<<1)+c|0)+112>>1]=n;q=q+1|0;o=o-1|0;if(o){continue}break}j[c+104>>2]=q}n=d;o=e;if(q>>>0>>0){continue}break}}if(!l[c+624>>1]){j[a+24>>2]=221120;j[c>>2]=29;e=j[c>>2];continue}j[c+84>>2]=9;j[c+76>>2]=D;j[c+108>>2]=D;y=Al(1,H,z,F,I,E);if(y){j[a+24>>2]=221157;j[c>>2]=29;e=j[c>>2];continue}j[c+88>>2]=6;j[c+80>>2]=j[c+108>>2];y=Al(2,((j[c+96>>2]<<1)+c|0)+112|0,j[c+100>>2],F,L,E);if(y){j[a+24>>2]=221185;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=19;y=0;q=0;if((b|0)==6){break h}}j[c>>2]=20}if(!(u>>>0<258|o>>>0<6)){j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;wE(a,B);f=j[c+60>>2];g=j[c+56>>2];o=j[a+4>>2];n=j[a>>2];u=j[a+16>>2];w=j[a+12>>2];if(j[c>>2]!=11){break v}j[c+7108>>2]=-1;e=j[c>>2];continue}j[c+7108>>2]=0;q=f;e=o;d=n;x=j[c+76>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];qa:{if(r>>>0<=f>>>0){p=f;break qa}while(1){if(!e){break E}r=k[d|0]<>>0>p>>>0){continue}break}}f=r;n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];if(!t|t&240){break B}o=e;n=d;q=p;z=-1<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];ra:{if(p>>>0>=r+f>>>0){s=p;break ra}while(1){if(!o){break F}r=k[n|0]<>>f|0)+A|0;r=k[(x+(t<<2)|0)+1|0];if(q>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];j[c+7108>>2]=f;p=s-f|0;g=g>>>f|0;break A}if(!u){break i}h[w|0]=j[c+64>>2];j[c>>2]=20;u=u-1|0;w=w+1|0;e=j[c>>2];continue}if(j[c+8>>2]){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}q=B-u|0;j[a+20>>2]=q+j[a+20>>2];j[c+28>>2]=q+j[c+28>>2];sa:{if(!q){e=j[c+24>>2];break sa}p=w-q|0;e=j[c+24>>2];d=c;ta:{if(j[c+16>>2]){e=Sf(e,p,q);break ta}e=vi(e,p,q)}j[d+24>>2]=e;j[a+48>>2]=e}if(((j[c+16>>2]?g:g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0)!=(e|0)){break D}g=0;B=u;f=0}j[c>>2]=27}if(!(!j[c+8>>2]|!j[c+16>>2])){if(f>>>0<=31){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<24;f=f+8|0;n=n+1|0;if(d){continue}break}}if(j[c+28>>2]!=(g|0)){break C}g=0;f=0}j[c>>2]=28;d=1;break c}j[c>>2]=12;break v}n=n+o|0;f=(o<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}j[a+24>>2]=221287;j[c>>2]=29;B=u;e=j[c>>2];continue}j[a+24>>2]=221308;j[c>>2]=29;e=j[c>>2];continue}f=0;n=d;o=e}j[c+64>>2]=A&65535;j[c+7108>>2]=f+r;f=p-r|0;g=g>>>r|0;if(!t){j[c>>2]=25;e=j[c>>2];continue}if(t&32){j[c>>2]=11;j[c+7108>>2]=-1;e=j[c>>2];continue}if(t&64){j[a+24>>2]=221207;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=21;q=t&15;j[c+72>>2]=q}p=n;r=o;ua:{if(!q){d=j[c+64>>2];break ua}d=p;e=f;if(e>>>0>>0){while(1){if(!o){break r}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;d=j[c+64>>2]+((-1<>2]=d;f=e-q|0;g=g>>>q|0}j[c>>2]=22;j[c+7112>>2]=d}q=f;e=o;d=n;x=j[c+80>>2];z=-1<>2]^-1;s=z&g;r=k[(x+(s<<2)|0)+1|0];va:{if(r>>>0<=f>>>0){p=f;break va}while(1){if(!e){break s}r=k[d|0]<>>0>p>>>0){continue}break}}n=x+(s<<2)|0;A=l[n+2>>1];t=k[n|0];wa:{if(t&240){f=j[c+7108>>2];n=d;o=e;q=r;break wa}o=e;n=d;f=p;z=-1<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];xa:{if(f>>>0>=r+q>>>0){s=p;break xa}while(1){if(!o){break t}q=k[n|0]<>>r|0)+A|0;q=k[(x+(t<<2)|0)+1|0];if(f>>>0>>0){continue}break}}d=x+(t<<2)|0;t=k[d|0];A=l[d+2>>1];f=j[c+7108>>2]+r|0;j[c+7108>>2]=f;p=s-r|0;g=g>>>r|0}j[c+7108>>2]=f+q;f=p-q|0;g=g>>>q|0;if(t&64){j[a+24>>2]=221235;j[c>>2]=29;e=j[c>>2];continue}j[c>>2]=23;q=t&15;j[c+72>>2]=q;j[c+68>>2]=A&65535}p=n;r=o;if(q){d=p;e=f;if(e>>>0>>0){while(1){if(!o){break u}o=o-1|0;g=(k[d|0]<>>0>e>>>0){continue}break}}j[c+7108>>2]=j[c+7108>>2]+q;j[c+68>>2]=j[c+68>>2]+((-1<>>q|0;f=e-q|0}j[c>>2]=24}if(!u){break i}e=j[c+68>>2];d=B-u|0;ya:{if(e>>>0>d>>>0){e=e-d|0;if(!(!j[c+7104>>2]|e>>>0<=m[c+44>>2])){j[a+24>>2]=221257;j[c>>2]=29;e=j[c>>2];continue}d=j[c+48>>2];za:{if(d>>>0>>0){e=e-d|0;q=j[c+40>>2]-e|0;break za}q=d-e|0}p=j[c+64>>2];d=e>>>0>p>>>0?p:e;e=q+j[c+52>>2]|0;break ya}p=j[c+64>>2];d=p;e=w-e|0}q=p;p=d>>>0>u>>>0?u:d;j[c+64>>2]=q-p;d=p;while(1){h[w|0]=k[e|0];w=w+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}u=u-p|0;if(j[c+64>>2]){break v}j[c>>2]=20;e=j[c>>2];continue}e=j[c>>2];continue}n=p+r|0;f=(r<<3)+f|0;break e}n=e+d|0;f=(e<<3)+p|0;break e}n=n+o|0;f=(o<<3)+f|0;break e}n=p+r|0;f=(r<<3)+f|0;break e}o=0;n=d;f=p;d=y;break c}d=j[c+32>>2];if(d){j[d+16>>2]=0}f=e}j[c>>2]=5}q=j[c+16>>2];if(q&1024){e=j[c+64>>2];r=e>>>0>o>>>0?o:e;if(r){p=j[c+32>>2];Aa:{if(!p){break Aa}d=j[p+16>>2];if(!d){break Aa}e=j[p+20>>2]-e|0;q=e+d|0;d=j[p+24>>2];Ae(q,n,d>>>0>>0?d-e|0:r);q=j[c+16>>2]}if(q&512){M=c,N=Sf(j[c+24>>2],n,r),j[M+24>>2]=N}e=j[c+64>>2]-r|0;j[c+64>>2]=e;o=o-r|0;n=n+r|0}if(e){break i}}j[c>>2]=6;j[c+64>>2]=0}Ba:{if(k[c+17|0]&8){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ca:{if(!p){break Ca}d=j[p+28>>2];if(!d){break Ca}r=j[p+32>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ca}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Ba}break i}d=j[c+32>>2];if(!d){break Ba}j[d+28>>2]=0}j[c>>2]=7;j[c+64>>2]=0}Da:{if(k[c+17|0]&16){d=0;if(!o){break j}while(1){e=d+1|0;q=k[d+n|0];p=j[c+32>>2];Ea:{if(!p){break Ea}d=j[p+36>>2];if(!d){break Ea}r=j[p+40>>2];p=j[c+64>>2];if(r>>>0<=p>>>0){break Ea}j[c+64>>2]=p+1;h[d+p|0]=q}if(e>>>0>>0){d=e;if(q){continue}}break}if(k[c+17|0]&2){M=c,N=Sf(j[c+24>>2],n,e),j[M+24>>2]=N}n=e+n|0;o=o-e|0;if(!q){break Da}break i}d=j[c+32>>2];if(!d){break Da}j[d+36>>2]=0}j[c>>2]=8}e=j[c+16>>2];if(e&512){if(f>>>0<=15){while(1){if(!o){break e}o=o-1|0;g=(k[n|0]<>>0<8;f=f+8|0;n=n+1|0;if(d){continue}break}}if(l[c+24>>1]!=(g|0)){break g}g=0;f=0}d=j[c+32>>2];if(d){j[d+48>>2]=1;j[d+44>>2]=e>>>9&1}d=Sf(0,0,0);j[c+24>>2]=d;j[a+48>>2]=d;j[c>>2]=11;e=j[c>>2];continue}o=0}q=y}d=q;break c}j[a+24>>2]=220965;j[c>>2]=29;e=j[c>>2];continue}j[c+20>>2]=256<>2]=d;j[a+48>>2]=d;j[c>>2]=g&8192?9:11;g=0;e=j[c>>2];continue}break}o=0;d=y}j[a+16>>2]=u;j[a+12>>2]=w;j[a+4>>2]=o;j[a>>2]=n;j[c+60>>2]=f;j[c+56>>2]=g;Fa:{Ga:{Ha:{if(j[c+40>>2]){break Ha}if((u|0)==(B|0)){break Ga}e=j[c>>2];if(e>>>0>28){break Ga}if((b|0)!=4){break Ha}if(e>>>0>25){break Ga}}if(uE(a,w,B-u|0)){break Fa}u=j[a+16>>2];o=j[a+4>>2]}n=J-o|0;j[a+8>>2]=n+j[a+8>>2];p=B-u|0;j[a+20>>2]=p+j[a+20>>2];j[c+28>>2]=p+j[c+28>>2];if(!(!p|!j[c+8>>2])){o=j[a+12>>2]-p|0;f=j[c+24>>2];e=c;Ia:{if(j[c+16>>2]){f=Sf(f,o,p);break Ia}f=vi(f,o,p)}j[e+24>>2]=f;j[a+48>>2]=f}e=a;a=j[c>>2];j[e+44>>2]=((j[c+60>>2]+((j[c+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);C=d?d:(b|0)==4?-5:n|p?d:-5;break a}j[c>>2]=30}C=-4}oe=v+16|0;return C}function hn(a,b,c,d,e,f,g){var i=q(0),k=0,l=q(0),m=q(0),o=q(0),s=q(0),t=q(0),u=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0),B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=q(0),L=q(0),M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=q(0),V=q(0),W=q(0),X=0,Y=0;v=oe-48|0;oe=v;B=j[58753];y=(B|0)==3?(b|0)<577?1:2:B;O=p(y,40)+99856|0;R=a&1;B=(a|0)/2|0;N=(b|0)/2|0;a:{b:{c:{d:{if((e|0)<=1431918168){e:{switch(e-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:case 11:break d;default:break e}}if((e|0)==825382478){break d}if((e|0)==844715353){break c}break b}if((e|0)==1431918169|(e|0)==1498831189){break c}if((e|0)!=1448433993){break b}}_h(b,e,f,g,v+44|0,v+40|0,v+36|0,v+32|0,v+28|0);f=j[v+32>>2];E=p(f,b);k=j[v+44>>2];if((b|0)>=1){F=f-a|0;f=p(y,40);G=f+99868|0;H=f+99864|0;C=f+99860|0;D=(a|0)<1;f=k;u=c;while(1){if(!D){w=j[O>>2];i=n[G>>2];o=n[H>>2];s=n[C>>2];g=0;while(1){M=f;x=j[(g<<2)+u>>2];l=q(q(q(i*q((x&255)>>>0))+q(q(s*q((x>>>16&255)>>>0))+q(o*q((x>>>8&255)>>>0))))+q(.5));f:{if(q(r(l))>2]=f}O=b&1;P=d<<1;f=k+E|0;g=c+d|0;g:{h:{i:{switch(e-842094158|0){default:if((e|0)!=1448433993){break h};case 11:d=(a+1|0)/-2|0;if((b|0)>=2){x=d+j[v+28>>2]|0;b=p(y,40);E=b+99892|0;F=b+99888|0;G=b+99884|0;H=b+99880|0;C=b+99876|0;D=b+99872|0;d=0;f=j[v+36>>2];k=j[v+40>>2];Q=(a|0)<2;while(1){if(Q){b=0}else{i=n[E>>2];o=n[F>>2];s=n[G>>2];l=n[H>>2];K=n[C>>2];L=n[D>>2];u=0;while(1){b=k;e=u<<3;J=e|4;w=j[J+c>>2];I=j[c+e>>2];e=j[e+g>>2];J=j[g+J>>2];t=q((((w&255)+(I&255)|0)+(e&255)|0)+(J&255)>>>2>>>0);z=q((((w&16711680)+(I&16711680)|0)+(e&16711680)|0)+(J&16711680)>>>18>>>0);A=q((((w&65280)+(I&65280)|0)+(e&65280)|0)+(J&65280)>>>10>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));j:{if(q(r(m))>2];u=j[c+u>>2];i=q((b&255)+(u&255)>>>1>>>0);o=q((b&16711680)+(u&16711680)>>>17>>>0);s=q((b&65280)+(u&65280)>>>9>>>0);l=q(q(q(n[H>>2]*i)+q(q(n[D>>2]*o)+q(n[C>>2]*s)))+q(.5));l:{if(q(r(l))>2]*o)+q(n[F>>2]*s))+q(n[E>>2]*i))+q(.5));m:{if(q(r(i))>2]=f;j[v+40>>2]=k}if(!O){break g}f=0;if((a|0)>=2){a=p(y,40);i=n[a+99892>>2];o=n[a+99888>>2];s=n[a+99884>>2];l=n[a+99880>>2];K=n[a+99876>>2];L=n[a+99872>>2];k=0;f=j[v+36>>2];g=j[v+40>>2];while(1){a=g;d=k<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&255)+(d&255)>>>1>>>0);z=q((b&16711680)+(d&16711680)>>>17>>>0);A=q((b&65280)+(d&65280)>>>9>>>0);m=q(q(q(l*t)+q(q(L*z)+q(K*A)))+q(.5));n:{if(q(r(m))>2]=f;j[v+40>>2]=g;f=B<<1}if(!R){break g}c=j[(f<<2)+c>>2];a=j[v+40>>2];j[v+40>>2]=a+1;b=p(y,40);i=q((c&255)>>>0);o=q((c>>>16&255)>>>0);s=q((c>>>8&255)>>>0);l=q(q(q(n[b+99880>>2]*i)+q(q(n[b+99872>>2]*o)+q(n[b+99876>>2]*s)))+q(.5));p:{if(q(r(l))>2];j[v+36>>2]=a+1;i=q(q(q(q(n[b+99884>>2]*o)+q(n[b+99888>>2]*s))+q(n[b+99892>>2]*i))+q(.5));q:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+99892|0;x=b+99888|0;E=b+99884|0;F=b+99880|0;G=b+99876|0;H=b+99872|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));r:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));t:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));u:{if(q(r(i))=2){a=p(y,40);i=n[a+99892>>2];o=n[a+99888>>2];s=n[a+99884>>2];l=n[a+99880>>2];K=n[a+99876>>2];L=n[a+99872>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));v:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+99884>>2]*i)+q(n[b+99888>>2]*o))+q(n[b+99892>>2]*s))+q(.5));x:{if(q(r(l))>2]*s)+q(q(n[b+99872>>2]*i)+q(n[b+99876>>2]*o)))+q(.5));y:{if(q(r(i))=2){I=j[v+28>>2]+(d<<1)|0;b=p(y,40);u=b+99880|0;x=b+99876|0;E=b+99872|0;F=b+99892|0;G=b+99888|0;H=b+99884|0;e=0;J=(a|0)<2;while(1){if(J){b=0}else{i=n[u>>2];o=n[x>>2];s=n[E>>2];l=n[F>>2];K=n[G>>2];L=n[H>>2];k=0;while(1){b=f;d=k<<3;w=d|4;C=j[w+c>>2];D=j[c+d>>2];d=j[d+g>>2];w=j[g+w>>2];t=q((((C&16711680)+(D&16711680)|0)+(d&16711680)|0)+(w&16711680)>>>18>>>0);z=q((((C&65280)+(D&65280)|0)+(d&65280)|0)+(w&65280)>>>10>>>0);A=q((((C&255)+(D&255)|0)+(d&255)|0)+(w&255)>>>2>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));z:{if(q(r(m))>2];k=j[c+k>>2];i=q((b&16711680)+(k&16711680)>>>17>>>0);o=q((b&65280)+(k&65280)>>>9>>>0);s=q((b&255)+(k&255)>>>1>>>0);l=q(q(q(q(n[E>>2]*i)+q(n[x>>2]*o))+q(n[u>>2]*s))+q(.5));B:{if(q(r(l))>2]*s)+q(q(n[H>>2]*i)+q(n[G>>2]*o)))+q(.5));C:{if(q(r(i))=2){a=p(y,40);i=n[a+99880>>2];o=n[a+99876>>2];s=n[a+99872>>2];l=n[a+99892>>2];K=n[a+99888>>2];L=n[a+99884>>2];g=0;while(1){a=f;d=g<<3;b=j[(d|4)+c>>2];d=j[c+d>>2];t=q((b&16711680)+(d&16711680)>>>17>>>0);z=q((b&65280)+(d&65280)>>>9>>>0);A=q((b&255)+(d&255)>>>1>>>0);m=q(q(q(q(s*t)+q(o*z))+q(i*A))+q(.5));D:{if(q(r(m))>2];i=q((c>>>16&255)>>>0);o=q((c>>>8&255)>>>0);s=q((c&255)>>>0);l=q(q(q(q(n[b+99872>>2]*i)+q(n[b+99876>>2]*o))+q(n[b+99880>>2]*s))+q(.5));F:{if(q(r(l))>2]*s)+q(q(n[b+99884>>2]*i)+q(n[b+99888>>2]*o)))+q(.5));G:{if(q(r(i))(g|0)){j[v+16>>2]=k;g=ve(99976,v+16|0);break a}P=g-k|0;g=0;H:{if((e|0)!=844715353){if((e|0)==1498831189){break H}if((e|0)!=1431918169|(b|0)<1){break a}e=p(y,40);y=e+99880|0;N=e+99876|0;x=e+99872|0;E=e+99892|0;F=e+99888|0;G=e+99884|0;H=e+99868|0;C=e+99864|0;D=e+99860|0;w=(a|0)<2;while(1){if(w){a=0}else{l=n[y>>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));I:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));J:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));K:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));M:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));N:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));O:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];t=n[E>>2];z=n[F>>2];A=n[G>>2];g=j[O>>2];i=n[H>>2];o=n[C>>2];s=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));P:{if(q(r(m))>2];h[f|0]=a+g;M=f;a=e&255;S=e>>>16&255;e=e>>>8&255;m=q(q(q(i*q(a>>>0))+q(q(s*q(S>>>0))+q(o*q(e>>>0))))+q(.5));Q:{if(q(r(m))>>1>>>0);U=q(e+J>>>1>>>0);V=q(a+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));R:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));T:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));U:{if(q(r(l))>2]|0;h[a+2|0]=g;a=f;i=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));V:{if(q(r(i))>2];K=n[N>>2];L=n[x>>2];g=j[O>>2];i=n[E>>2];o=n[F>>2];s=n[G>>2];t=n[H>>2];z=n[C>>2];A=n[D>>2];k=0;while(1){e=k<<3;a=j[e+c>>2];I=a>>>16&255;J=a>>>8&255;Q=a&255;m=q(q(q(q(s*q(I>>>0))+q(o*q(J>>>0)))+q(i*q(Q>>>0)))+q(.5));W:{if(q(r(m))>2];h[f+1|0]=a+g;M=f;a=e>>>16&255;S=e>>>8&255;e=e&255;m=q(q(q(q(s*q(a>>>0))+q(o*q(S>>>0)))+q(i*q(e>>>0)))+q(.5));X:{if(q(r(m))>>1>>>0);U=q(J+S>>>1>>>0);V=q(e+Q>>>1>>>0);W=q(q(q(q(L*m)+q(K*U))+q(l*V))+q(.5));Y:{if(q(r(W))>2];i=q((a>>>16&255)>>>0);o=q((a>>>8&255)>>>0);s=q((a&255)>>>0);l=q(q(q(q(n[G>>2]*i)+q(n[F>>2]*o))+q(n[E>>2]*s))+q(.5));_:{if(q(r(l))>2]|0;h[e+3|0]=g;a=f;l=q(q(q(q(n[x>>2]*i)+q(n[N>>2]*o))+q(n[y>>2]*s))+q(.5));$:{if(q(r(l))>2]*s)+q(q(n[D>>2]*i)+q(n[C>>2]*o)))+q(.5));aa:{if(q(r(i))>2]=Y;g=ve(100030,v)}oe=v+48|0;return g}function yN(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,n=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;g=oe-96|0;oe=g;q=j[j[b+96>>2]+4>>2];f=dh(q,120128);a:{b:{if(!f){j[g+12>>2]=11;break b}A=Bh(j[b+96>>2],120288);C=dh(q,120928);n=Fe(a,0);j[g+12>>2]=n;if(n){break b}B=qe[j[f+4>>2]](a,b,c,d,e)|0;c:{if(!B){if(j[b+148>>2]!=1330926671){j[g+12>>2]=2;break b}n=0;if((c|0)<0){break a}d:{if(!(qe[j[b+508>>2]](b,1751474532,a,0)|0)){d=qe[j[f+8>>2]](a,b,c,d,e)|0;j[g+12>>2]=d;if(!d){break d}break b}d=qe[j[f+32>>2]](b,a)|0;j[g+12>>2]=d;if(d){break b}u=1}d=qe[j[b+508>>2]](b,1128678944,a,0)|0;j[g+12>>2]=d;if(!d){break c}break b}d=Fe(a,0);j[g+12>>2]=d;if(d){break b}j[g+12>>2]=0;u=1}w=j[b+100>>2];f=He(w,2980,g+12|0);if(j[g+12>>2]){break b}j[b+656>>2]=f;o=j[a+28>>2];d=Ee(f+8|0,0,2972);j[g+72>>2]=0;j[g+76>>2]=0;e=g- -64|0;j[e>>2]=0;j[e+4>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;j[g+48>>2]=0;j[g+52>>2]=0;j[f+4>>2]=o;j[f>>2]=a;r=j[a+8>>2];e=$e(a,120960,f);j[g+84>>2]=e;e:{if(e){break e}f:{g:{if(k[f+16|0]!=1){break g}e=k[f+18|0];if(e>>>0<4){break g}if(k[f+19|0]<5){break f}}j[g+84>>2]=2;break e}e=xf(a,e-4|0);j[g+84>>2]=e;if(e){break e}x=f+20|0;e=Qh(x,a,0);j[g+84>>2]=e;if(e){break e}n=f+1208|0;e=Qh(n,a,0);j[g+84>>2]=e;if(e){break e}e=Qh(g+48|0,a,1);j[g+84>>2]=e;if(e){break e}s=f+84|0;e=Qh(s,a,1);j[g+84>>2]=e;if(e){break e}e=vm(g+48|0,f+1316|0,f+1320|0);j[g+84>>2]=e;if(e){break e}j[f+1312>>2]=j[g+56>>2];e=j[f+28>>2];h:{i:{if(u){if(c>>>0>>0){break i}j[g+84>>2]=6;break e}d=0;if(e>>>0<2){break h}j[g+84>>2]=3;break e}j[d>>2]=e;d=c}if((c|0)<0){break e}v=d;d=Nr(f+1324|0,n,d,a,r,q);j[g+84>>2]=d;if(d){break e}d=Fe(a,r+j[f+1436>>2]|0);j[g+84>>2]=d;if(d){break e}d=Qh(f+1176|0,a,0);j[g+84>>2]=d;if(d){break e}j:{if(j[f+1456>>2]!=65535){d=Fe(a,r+j[f+1488>>2]|0);j[g+84>>2]=d;if(d){break e}n=0;d=Qh(g+16|0,a,0);j[g+84>>2]=d;if(d){break e}e=j[g+24>>2];k:{if(e>>>0>256){break k}j[f+1896>>2]=e;d=0;e=xe(o,572,0,e,0,g+84|0);n=j[g+84>>2];if(n){break k}n=j[g+24>>2];if(n){while(1){j[((d<<2)+f|0)+1900>>2]=e+p(d,572);d=d+1|0;if((n|0)!=(d|0)){continue}break}e=0;while(1){n=Nr(j[((e<<2)+f|0)+1900>>2],g+16|0,e,a,r,q);j[g+84>>2]=n;if(n){break k}e=e+1|0;if(e>>>0>2]){continue}break}}e=j[f+1184>>2];n=Fe(a,r+j[f+1492>>2]|0);j[g+92>>2]=n;l:{if(n){break l}d=hg(a,g+92|0);n=j[g+92>>2];if(n){break l}j[f+2944>>2]=0;h[f+2924|0]=d;n=3;m:{switch(d&255){case 3:d=qf(a,g+92|0);n=j[g+92>>2];if(n){break l}n=3;if(!d){break l}e=p(d,3)+2|0;break;case 0:break m;default:break l}}j[f+2936>>2]=e;n=_f(a,e,f+2932|0)}j[g+84>>2]=n}d=j[g+16>>2];if(d){e=j[d+28>>2];if(j[g+44>>2]){jf(d,g+44|0)}d=j[g+40>>2];if(d){qe[j[e+8>>2]](e,d)}n=j[g+84>>2]}if(!n){break j}break e}j[f+1896>>2]=0}if(!j[f+1436>>2]){j[g+84>>2]=3;break e}j[f+12>>2]=j[f+1184>>2];d=vm(s,f+1308|0,0);j[g+84>>2]=d;if(d){break e}q=j[f+12>>2];n:{if(!q){break n}o=j[a+28>>2];t=j[f+1456>>2];d=j[f+1428>>2];j[g+92>>2]=0;s=f+1152|0;o:{p:{q:{r:{if(d>>>0>=3){d=d+r|0;j[f+1156>>2]=d;d=Fe(a,d);j[g+92>>2]=d;if(d){break p}D=s,E=hg(a,g+92|0)&255,j[D>>2]=E;if(j[g+92>>2]){break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}i[d>>1]=0;s:{switch(j[s>>2]){case 0:e=1;d=_e(a,(q<<1)-2|0);j[g+92>>2]=d;if(d){break p}if(q>>>0>=2){while(1){d=af(a);i[j[f+1160>>2]+(e<<1)>>1]=d;e=e+1|0;if((q|0)!=(e|0)){continue}break}}Ve(a);break r;case 1:case 2:e=1;if(q>>>0<=1){break r}while(1){d=qf(a,g+92|0);if(j[g+92>>2]){break p}t:{if(j[s>>2]==2){n=qf(a,g+92|0);if(!j[g+92>>2]){break t}break p}n=hg(a,g+92|0);if(j[g+92>>2]){break p}n=n&255}u:{if(e>>>0>=q>>>0){break u}y=(n^65535)>>>0>>0?d^65535:n;z=j[f+1160>>2];n=0;while(1){i[z+(e<<1)>>1]=d;e=e+1|0;if(n>>>0>=y>>>0){break u}d=d+1|0;n=n+1|0;if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}break r;default:break s}}j[g+92>>2]=3;break p}j[f+1156>>2]=d;v:{switch(d|0){case 0:if(q>>>0>=230){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,122496,q<<1);break r;case 1:if(q>>>0>=167){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,122960,q<<1);break r;case 2:break v;default:break q}}if(q>>>0>=88){j[g+92>>2]=3;break p}d=xe(o,2,0,q,0,g+92|0);j[f+1160>>2]=d;if(j[g+92>>2]){break p}Ae(d,123296,q<<1)}w:{if(!((t|0)!=65535?u:0)){e=j[g+92>>2];break w}e=0;j[g+16>>2]=0;x:{if(j[f+1168>>2]){break x}n=j[f+1160>>2];d=0;while(1){t=l[n+(d<<1)>>1];e=t>>>0>(e&65535)>>>0?t:e;d=d+1|0;if((q|0)!=(d|0)){continue}break}n=e&65535;t=xe(o,2,0,n+1|0,0,g+16|0);j[f+1164>>2]=t;e=j[g+16>>2];if(e){break x}if((q|0)>=1){y=j[f+1160>>2];e=q;while(1){d=e-1|0;i[t+(l[y+(d<<1)>>1]<<1)>>1]=d;z=(e|0)>1;e=d;if(z){continue}break}}j[f+1172>>2]=q;j[f+1168>>2]=n;e=0}j[g+92>>2]=e}if(e){break p}j[g+84>>2]=0;break o}j[g+92>>2]=3}d=j[f+1160>>2];if(d){qe[j[o+8>>2]](o,d)}j[f+1160>>2]=0;d=j[f+1164>>2];if(d){qe[j[o+8>>2]](o,d)}j[s+8>>2]=0;j[s+12>>2]=0;j[s>>2]=0;j[s+4>>2]=0;d=j[g+92>>2];j[g+84>>2]=d;if(d){break e}}if(j[f+1456>>2]!=65535){break n}d=j[f+1432>>2];e=j[f+12>>2];j[g+92>>2]=0;o=3;y:{z:{s=j[f+1160>>2];if(!s){break z}n=Ee(f+128|0,0,1024);A:{if(d>>>0>=2){d=d+r|0;j[f+120>>2]=d;o=Fe(a,d);j[g+92>>2]=o;if(o){break z}D=f,E=hg(a,g+92|0)&255,j[D+116>>2]=E;o=j[g+92>>2];if(o){break z}d=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}r=d&255;o=3;B:{C:{switch(j[f+116>>2]&127){case 0:j[f+124>>2]=r+1;o=_e(a,r);j[g+92>>2]=o;if(o){break z}if(d){d=j[a+32>>2];o=1;while(1){if(e>>>0>o>>>0){n=(k[d|0]<<1)+f|0;i[n+640>>1]=o;i[n+128>>1]=l[j[f+1160>>2]+(o<<1)>>1]}d=d+1|0;n=(o|0)!=(r|0);o=o+1|0;if(n){continue}break}}Ve(a);break B;case 1:break C;default:break z}}s=0;j[f+124>>2]=0;if(!d){break B}d=1;while(1){t=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}n=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}o=n&255;q=o+1|0;n=j[f+124>>2];if(o>>>0>=n>>>0){j[f+124>>2]=q;n=q}q=d+q|0;if(q>>>0>d>>>0){o=t&255;while(1){if(!(o>>>0>255|d>>>0>=e>>>0)){t=(o<<1)+f|0;i[t+640>>1]=d;i[t+128>>1]=l[j[f+1160>>2]+(d<<1)>>1]}o=o+1|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}}d=q;s=s+1|0;if((r|0)!=(s|0)){continue}break}if(n>>>0<257){break B}j[f+124>>2]=256}if(!(k[f+116|0]&128)){o=j[g+92>>2];break y}d=hg(a,g+92|0);o=j[g+92>>2];if(!d|o){break y}q=d&255;n=0;while(1){r=hg(a,g+92|0);o=j[g+92>>2];if(o){break z}d=qf(a,g+92|0);o=j[g+92>>2];if(o){break z}r=((r&255)<<1)+f|0;i[r+128>>1]=d;D:{if(!e){break D}s=j[f+1160>>2];o=0;while(1){if((d|0)==l[s+(o<<1)>>1]){i[r+640>>1]=o;break D}o=o+1|0;if((e|0)!=(o|0)){continue}break}}n=n+1|0;if((q|0)!=(n|0)){continue}break}break A}E:{F:{switch(d|0){case 0:Ae(n,120416,512);break E;case 1:break F;default:break z}}Ae(n,123472,512)}j[f+124>>2]=0;a=j[a+28>>2];j[g+16>>2]=0;d=j[f+1168>>2];if(!d){d=0;n=f;q=a;if(e){a=0;while(1){o=l[s+(a<<1)>>1];d=o>>>0>(d&65535)>>>0?o:d;a=a+1|0;if((e|0)!=(a|0)){continue}break}d=d&65535}q=xe(q,2,0,d+1|0,0,g+16|0);j[n+1164>>2]=q;o=j[g+16>>2];if(o){break z}if((e|0)>=1){o=j[f+1160>>2];a=e;while(1){n=a-1|0;i[q+(l[o+(n<<1)>>1]<<1)>>1]=n;r=(a|0)>1;a=n;if(r){continue}break}}j[f+1172>>2]=e;j[f+1168>>2]=d}j[g+92>>2]=0;a=0;while(1){e=(a<<1)+f|0;q=e;G:{H:{n=l[e+128>>1];if(!n|d>>>0>>0){break H}n=l[j[f+1164>>2]+(n<<1)>>1];if(!n){break H}i[e+640>>1]=n;a=a+1|0;j[f+124>>2]=a;break G}i[e+640>>1]=0;i[q+128>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}}j[g+84>>2]=0;break n}j[g+84>>2]=o;break e}j[g+84>>2]=o;if(o){break e}}d=j[j[x>>2]+28>>2];e=zi(x,v,g+16|0,g+92|0);j[g+88>>2]=e;a=0;I:{if(e){break I}a=d;d=j[g+92>>2];a=He(a,d+1|0,g+88|0);if(!j[g+88>>2]){D=Ae(a,j[g+16>>2],d)+d|0,E=0,h[D|0]=E}if(j[f+48>>2]){break I}jf(j[x>>2],g+16|0)}j[f+1304>>2]=a}a=j[g+48>>2];if(a){d=j[a+28>>2];if(j[g+76>>2]){jf(a,g+76|0)}a=j[g+72>>2];if(a){qe[j[d+8>>2]](d,a)}}a=j[g+84>>2];j[g+12>>2]=a;if(a){break b}j[f+2956>>2]=A;j[f+2952>>2]=C;j[b+4>>2]=c;j[b+16>>2]=j[f+12>>2];if(!(j[f+1456>>2]!=65535|A)){j[g+12>>2]=11;break b}if(!k[f+1388|0]){j[f+1392>>2]=u?1e3:l[b+68>>1]}d=j[f+1384>>2];a=d>>31;a=a^a+d;J:{if((a|0)==65536){a=j[f+1400>>2];break J}D=f,E=De(j[f+1392>>2],a),j[D+1392>>2]=E;D=f,E=De(j[f+1372>>2],a),j[D+1372>>2]=E;D=f,E=De(j[f+1380>>2],a),j[D+1380>>2]=E;D=f,E=De(j[f+1376>>2],a),j[D+1376>>2]=E;D=f,E=De(j[f+1384>>2],a),j[D+1384>>2]=E;D=f,E=De(j[f+1396>>2],a),j[D+1396>>2]=E;a=De(j[f+1400>>2],a);j[f+1400>>2]=a}j[f+1400>>2]=a>>16;j[f+1396>>2]=j[f+1396>>2]>>16;o=j[f+1896>>2];if(o){r=f+1900|0;n=f+1372|0;q=n;while(1){o=o-1|0;a=j[r+(o<<2)>>2];K:{if(k[a+64|0]){if(!k[f+1388|0]){break K}e=1;d=j[f+1392>>2];L:{if(d>>>0<2){break L}v=j[a+68>>2];if(v>>>0<2){break L}e=d>>>0>>0?d:v}Vs(n,a+48|0,e);Us(a+72|0,n,e);D=a,E=Ne(j[a+68>>2],j[f+1392>>2],e),j[D+68>>2]=E;break K}d=j[n+4>>2];j[a+48>>2]=j[n>>2];j[a+52>>2]=d;d=j[q+12>>2];j[a+56>>2]=j[q+8>>2];j[a+60>>2]=d;d=j[f+1400>>2];j[a+72>>2]=j[f+1396>>2];j[a+76>>2]=d;j[a+68>>2]=j[f+1392>>2]}e=j[a+60>>2];d=e>>31;d=d^d+e;M:{if((d|0)==65536){e=j[a+76>>2];break M}D=a,E=De(j[a+68>>2],d),j[D+68>>2]=E;D=a,E=De(j[a+48>>2],d),j[D+48>>2]=E;D=a,E=De(j[a+56>>2],d),j[D+56>>2]=E;D=a,E=De(j[a+52>>2],d),j[D+52>>2]=E;D=a,E=De(j[a+60>>2],d),j[D+60>>2]=E;D=a,E=De(j[a+72>>2],d),j[D+72>>2]=E;e=De(j[a+76>>2],d);j[a+76>>2]=e}j[a+76>>2]=e>>16;j[a+72>>2]=j[a+72>>2]>>16;if(o){continue}break}}N:{O:{P:{Q:{R:{if(u){j[b>>2]=j[f+8>>2];a=b;if(j[f+1456>>2]!=65535){d=j[f+1168>>2]+1|0}else{d=j[f+1184>>2]}j[a+16>>2]=d;j[b+52>>2]=j[f+1408>>2]>>16;a=j[f+1412>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[f+1416>>2]+65535>>16;d=j[f+1420>>2]+65535>>16;j[b- -64>>2]=d;e=j[f+1392>>2];i[b+72>>1]=a;i[b+70>>1]=d;i[b+68>>1]=e;a=d-a|0;d=(p(e&65535,12)>>>0)/10|0;i[b+74>>1]=(a|0)>d<<16>>16?a:d;i[b+80>>1]=l[f+1358>>1];i[b+82>>1]=l[f+1362>>1];a=j[j[f+20>>2]+28>>2];c=zi(f+20|0,c,g+48|0,g+16|0);j[g+92>>2]=c;o=0;S:{if(c){break S}c=a;a=j[g+16>>2];o=He(c,a+1|0,g+92|0);if(!j[g+92>>2]){D=Ae(o,j[g+48>>2],a)+a|0,E=0,h[D|0]=E}if(j[f+48>>2]){break S}jf(j[f+20>>2],g+48|0)}j[b+20>>2]=o;if(!o){break R}d=0;a=j[f+1336>>2];T:{if((a|0)==65535){break T}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break T}d=j[j[f+1316>>2]+(a<<2)>>2];break T}c=j[f+2956>>2];if(!c){break T}d=qe[j[c+20>>2]](a)|0;o=j[b+20>>2]}a=Le(o);U:{if((a|0)<6){break U}c=a+1|0;while(1){if(k[o+6|0]!=43|(k[o+5|0]-65&255)>>>0>25|((k[o+4|0]-65&255)>>>0>25|(k[o+3|0]-65&255)>>>0>25)){break U}if((k[o+2|0]-65&255)>>>0>25|(k[o|0]-65&255)>>>0>25|(k[o+1|0]-65&255)>>>0>25){break U}a=7;if((c|0)<8){break U}while(1){e=a+o|0;h[e-7|0]=k[e|0];a=a+1|0;if((c|0)!=(a|0)){continue}break}a=(c|0)>13;c=c-7|0;if(a){continue}break}}a=j[f+1340>>2];if(a){e=0;V:{if((a|0)==65535){break V}if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break V}e=j[j[f+1316>>2]+(a<<2)>>2];break V}c=j[f+2956>>2];if(!c){break V}e=qe[j[c+20>>2]](a)|0}o=e?e:o}if(!d|!o){break Q}c=k[d|0];if(!c){break Q}while(1){a=d;W:{while(1){d=c&255;e=k[o|0];if((d|0)==(e|0)){o=o+1|0;break W}n=d-32|0;if(!n|(n|0)==13){break W}X:{switch(e-32|0){case 0:case 13:o=o+1|0;if(d){continue}break Q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Q;default:break X}}break}if(e){break Q}a=gg(w,a,g+48|0);d=j[b+20>>2];n=Le(d);c=Le(a);Y:{if((n|0)<=(c|0)){break Y}e=1;if((c|0)>=1){while(1){if(k[d+(n-e|0)|0]!=k[(c-e|0)+a|0]){break P}q=(c|0)==(e|0);e=e+1|0;if(!q){continue}break}}e=n+(c^-1)|0;if((e|0)<1){break Y}while(1){c=d+e|0;n=k[c|0];q=n-32|0;if(!((1<>>0<=13:0)|(n|0)==95)){h[c+1|0]=0;if(!a){break Q}break P}c=(e|0)>1;e=e-1|0;if(c){continue}break}}if(!a){break Q}break P}d=a+1|0;c=k[a+1|0];if(c){continue}break}break Q}d=0;if(j[f+1456>>2]!=65535){break N}break O}a=j[f+1496>>2];if((a|0)==65535){break Q}Z:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[f+1312>>2]){break Q}a=j[j[f+1316>>2]+(a<<2)>>2];break Z}c=j[f+2956>>2];if(!c){break Q}a=qe[j[c+20>>2]](a)|0}if(!a){break Q}D=b,E=gg(w,a,g+48|0),j[D+20>>2]=E}a=gg(w,120937,g+48|0)}j[b+24>>2]=a;a=B?2065:2073;j[b+8>>2]=j[b+8>>2]|(k[f+1348|0]?a|4:a);a=j[f+1352>>2]!=0;c=j[f+1344>>2];_:{if((c|0)==65535){break _}$:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=m[f+1312>>2]){break _}c=j[j[f+1316>>2]+(c<<2)>>2];break $}d=j[f+2956>>2];if(!d){break _}c=qe[j[d+20>>2]](c)|0}if(!c){break _}if(we(c,120945)){if(we(c,120950)){break _}}a=a|2}aa:{if(a&2){break aa}c=j[b+24>>2];if(!c){break aa}if(Qe(c,120945,4)){if(Qe(c,120950,5)){break aa}}a=a|2}j[b+12>>2]=a;if(j[f+1456>>2]==65535){break O}d=0;if(!u){break N}j[b+8>>2]=j[b+8>>2]|4096;break N}j[b+8>>2]=j[b+8>>2]|512;d=1}c=j[b+36>>2];ba:{if(c){e=j[b+40>>2];a=0;while(1){ca:{da:{n=j[e+(a<<2)>>2];switch(l[n+8>>1]){case 0:break ba;case 3:break da;default:break ca}}if(l[n+10>>1]==1){break ba}}a=a+1|0;if(c>>>0>a>>>0){continue}break}}if((d^1)&u){break b}j[g+48>>2]=b;j[g+52>>2]=1970170211;j[g+56>>2]=65539;a=qg(120020,0,g+48|0,0);j[g+12>>2]=a;if((a&255)!=163?a:0){break b}j[g+12>>2]=0;if(j[b+92>>2]|(c|0)==j[b+36>>2]){break ba}j[b+92>>2]=j[j[b+40>>2]+(c<<2)>>2]}if(!j[f+124>>2]){break b}i[g+56>>1]=7;j[g+48>>2]=b;b=1094995778;a=0;ea:{fa:{switch(j[f+120>>2]){case 1:b=1094992453;a=1;break ea;case 0:break ea;default:break fa}}b=1094992451;a=2}j[g+52>>2]=b;i[g+58>>1]=a;D=g,E=qg(119980,0,g+48|0,0),j[D+12>>2]=E}n=j[g+12>>2]}oe=g+96|0;return n|0}function mL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=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;u=oe-16|0;oe=u;j[u+8>>2]=b;j[u+12>>2]=a;d=u+4^(u+8^u+12);d=(d>>>10^d^d>>20)&65535;j[u+4>>2]=d?d:29572;v=a+1140|0;j[a+1344>>2]=v;j[a+1136>>2]=a+112;j[a+64>>2]=0;s=j[a+72>>2];d=j[a+1488>>2];a:{if(!d){break a}f=j[a+1492>>2];if(!f){break a}Ee(d,0,f<<2);b=j[u+8>>2]}j[a+1140>>2]=b;x=b+c|0;j[a+1148>>2]=x;j[a+1144>>2]=b;o=j[a+28>>2];n=j[a+24>>2];if(s){qe[j[s+4>>2]](j[s>>2])}b:{c:{if((c|0)<1){break c}e=j[u+12>>2];B=n;while(1){r=b+1|0;f=j[e+1136>>2];w=0;c=0;q=0;C=0;d=16;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{A=k[b|0];switch(A-1|0){case 11:break i;case 30:break j;case 29:break k;case 21:break l;case 20:break m;case 14:break n;case 13:break o;case 12:break p;case 10:break q;case 9:break r;case 8:break s;case 7:break t;case 6:break u;case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 0:break d;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break g;default:break h}}d=18;break d}d=14;break d}d=9;break d}d=6;break d}d=13;break d}d=11;break d}d=5;break d}d=22;break d}d=24;break d}d=2;break d}d=1;break d}d=26;break d}d=10;break d}d=7;break d}d=12;break d}d=8;break d}g=160;if(r>>>0>x>>>0){break b}r=b+2|0;d=15;z:{switch(k[b+1|0]){case 1:d=19;break d;case 2:d=17;break d;case 6:d=3;break d;case 7:d=4;break d;case 12:d=20;q=1;break d;case 16:d=21;C=1;break d;case 17:d=23;break d;case 33:break z;case 0:break d;default:break b}}d=25;break d}if((A|0)==255){break f}}g=160;if(A>>>0<32){break b}A:{if(A>>>0<=246){c=A-139|0;break A}b=b+2|0;if(b>>>0>x>>>0){break b}if(A>>>0<=250){c=(k[r|0]|A<<8)-63124|0}else{c=64148-(k[r|0]|A<<8)|0}r=b}b=z&255;w=b?c:c<<16;z=(b|0)!=0;break e}r=b+5|0;if(x>>>0>>0){g=160;break b}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);w=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(w+32e3>>>0>64e3){c=1;d=0;z=1;break d}b=z&255;w=b?w:w<<16;z=(b|0)!=0}c=1;d=0}if(!(1<>>0>24):0)){t=0}z=q?z:c?z:z&255?0:z;B:{if(c){if(((f-e|0)-112|0)>1020){g=160;break b}j[f>>2]=w;j[e+1136>>2]=f+4;break B}C:{D:{E:{F:{if(C){g=161;c=e+112|0;if((f-c|0)<8){break b}d=f-8|0;q=j[d>>2];b=q>>16;if((b|0)>d-c>>2){break b}d=d-(b<<2)|0;t=0;y=0;G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{g=j[f-4>>2];f=g>>16;switch(f|0){case 12:case 13:break C;case 28:break H;case 27:break I;case 25:break J;case 24:break K;case 23:break L;case 22:break M;case 21:break N;case 20:break O;case 19:break P;case 14:case 15:case 16:case 17:case 18:break Q;case 3:break R;case 2:break S;case 1:break T;case 0:break U;default:break G}}g=160;if(!j[e+1400>>2]|(b|0)!=3|j[e+1404>>2]!=7){break b}j[d+4>>2]=o;j[d>>2]=n;y=2;c=d;break C}if(b){g=160;break b}j[e+1400>>2]=1;j[e+1404>>2]=0;g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+6>>>0<=m[b+4>>2]){break D}c=d;g=yf(b,6,0);if(g){break b}break C}g=160;if(!j[e+1400>>2]|b){break b}f=j[e+1404>>2];j[e+1404>>2]=f+1;if(f-1>>>0>5){break D}c=j[a+20>>2];if(k[a+68|0]){e=j[c+8>>2];g=i[c+2>>1];b=j[c+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+g|0]=(f|0)!=3?(f|0)!=6?2:1:1}i[c+2>>1]=l[c+2>>1]+1;break D}if((b|0)!=1){g=160;break b}y=1;if(!s){break E}qe[j[s+20>>2]](j[s>>2],i[j[a+20>>2]+2>>1]);break E}g=160;t=j[e+1464>>2];if(!t){break b}e=j[t>>2];y=(f+((f|0)==18)|0)-13|0;if((b|0)!=(p(e,y)|0)){break b}b=d+(y<<2)|0;w=0;q=d;while(1){f=j[q>>2];c=1;if(e>>>0>=2){while(1){f=ye(j[b>>2],j[j[t+136>>2]+(c<<2)>>2])+f|0;b=b+4|0;c=c+1|0;e=j[t>>2];if(c>>>0>>0){continue}break}}j[q>>2]=f;q=q+4|0;w=w+1|0;if((y|0)!=(w|0)){continue}break}t=0;c=d;break C}g=160;if((b|0)!=1){break b}b=j[e+1464>>2];if(!b){break b}c=j[d>>2];if((c|0)<0){break b}f=j[b>>2];c=c>>16;if(m[e+1492>>2]>>0){break b}Ae(j[e+1488>>2]+(c<<2)|0,j[b+136>>2],f<<2);break D}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]+j[d+4>>2];break F}if((b|0)!=2){g=160;break b}j[d>>2]=j[d>>2]-j[d+4>>2];break F}if((b|0)!=2){g=160;break b}D=d,E=ye(j[d>>2],j[d+4>>2]),j[D>>2]=E;break F}g=160;if((b|0)!=2){break b}b=j[d+4>>2];if(!b){break b}D=d,E=De(j[d>>2],b),j[D>>2]=E;break F}g=160;if(!j[e+1464>>2]|(b|0)!=2){break b}b=j[d+4>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[j[e+1488>>2]+(b<<2)>>2]=j[d>>2];break D}g=160;if(!j[e+1464>>2]|(b|0)!=1){break b}b=j[d>>2];if((b|0)<0){break b}b=b>>16;if(b>>>0>=m[e+1492>>2]){break b}j[d>>2]=j[j[e+1488>>2]+(b<<2)>>2];break F}if((b|0)!=4){g=160;break b}y=1;if(j[d+8>>2]<=j[d+12>>2]){break E}j[d>>2]=j[d+4>>2];c=d;break C}if(b){g=160;break b}b=j[u+4>>2];j[d>>2]=((b|0)>32767)+b;b=j[u+4>>2];b=ye(b,65536-b|0);j[u+4>>2]=b?b:10355;break F}c=d;t=b;if((g|q)>=0){break C}g=160;break b}b=j[(d<<2)+133888>>2];if((b|0)>(f-e|0)-112>>2){g=161;break b}c=f-(b<<2)|0;g=160;V:{W:{X:{switch(d-1|0){case 0:c=j[a+20>>2];Y:{if(!c){break Y}d=0;b=l[c>>1];f=b<<16>>16;if((f|0)>=2){d=i[(j[c+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[c+2>>1];Z:{if((b|0)<2){break Z}r=j[c+4>>2];n=r+(d<<3)|0;r=(r+(b<<3)|0)-8|0;if(j[n>>2]!=j[r>>2]|j[n+4>>2]!=j[r+4>>2]|k[(j[c+8>>2]+b|0)-1|0]!=1){break Z}b=b-1|0;i[c+2>>1]=b}if((f|0)<1){break Y}n=d;d=(b<<16>>16)-1|0;if((n|0)==(d|0)){i[c+2>>1]=b-1;i[c>>1]=f-1;break Y}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=d}if(s){if(qe[j[s+8>>2]](j[s>>2],i[c+2>>1])|0){break b}g=qe[j[s+24>>2]](j[s>>2],j[a+20>>2],j[a+76>>2],j[j[u+12>>2]+1468>>2])|0;if(g){break b}}Xh(j[a+12>>2]);break c;case 1:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];b=j[c+4>>2];g=0;j[a+44>>2]=0;j[a+40>>2]=b;if(k[a+70|0]){break b}o=j[a+28>>2];B=j[c>>2]+j[a+24>>2]|0;n=B;break V;case 2:if(k[e+1496|0]|k[e+70|0]){break b}b=j[c+16>>2]>>16;f=j[c+12>>2]>>16;d=j[c+8>>2];r=j[c+4>>2];n=j[c>>2];q=j[e+32>>2];a=j[j[j[e+4>>2]+128>>2]+48>>2];_:{if(!j[e+1356>>2]){if(a){break _}break b}if(a){break _}c=-1;$:{if(f>>>0>255){break $}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(f<<1)>>1])|0;t=j[e+1352>>2];if(!t){break $}x=j[e+1356>>2];c=0;while(1){f=j[x+(c<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break $}}c=c+1|0;if((t|0)!=(c|0)){continue}break}c=-1}aa:{ba:{if(b>>>0>255){break ba}a=j[e+1348>>2];a=qe[j[a+20>>2]](l[j[a+24>>2]+(b<<1)>>1])|0;t=j[e+1352>>2];if(!t){break ba}x=j[e+1356>>2];b=0;while(1){f=j[x+(b<<2)>>2];if(!(!f|k[f|0]!=k[a|0])){if(!we(f,a)){break aa}}b=b+1|0;if((t|0)!=(b|0)){continue}break}}b=-1}f=c}if((b|f)<0){break b}q=q+r|0;if(k[e+69|0]){c=j[e+8>>2];r=j[j[c+156>>2]>>2];g=os(r,2);if(g){break b}a=j[r+88>>2];j[a+32>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;i[a+4>>1]=514;j[a>>2]=f;i[a+36>>1]=2;b=a;f=q-n|0;n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[b+40>>2]=n>>16;j[a+44>>2]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>16;j[c+128>>2]=2;a=j[r+52>>2];j[c+72>>2]=1668246896;j[c+132>>2]=a;j[r+84>>2]=2;break c}RO(j[e+12>>2]);h[e+1496|0]=1;g=qe[j[e+1472>>2]](e,f)|0;h[e+1496|0]=0;if(g){break b}h[e+1496|0]=1;j[e+28>>2]=d;a=j[e+32>>2];c=j[e+36>>2];j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=q-n;d=j[e+40>>2];f=j[e+44>>2];g=qe[j[e+1472>>2]](e,b)|0;h[e+1496|0]=0;if(g){break b}j[e+40>>2]=d;j[e+44>>2]=f;j[e+32>>2]=a;j[e+36>>2]=c;j[e+24>>2]=0;j[e+28>>2]=0;break c;case 3:j[a+64>>2]=1;j[a+32>>2]=j[a+32>>2]+j[c>>2];j[a+36>>2]=j[a+36>>2]+j[c+4>>2];j[a+40>>2]=j[c+8>>2];j[a+44>>2]=j[c+12>>2];if(k[a+70|0]){break c}o=j[c+4>>2]+j[a+28>>2]|0;n=j[c>>2]+j[a+24>>2]|0;break V;case 4:ca:{if((j[a+64>>2]&-2)!=2){break ca}b=j[a+20>>2];if(!b){break ca}e=0;f=l[b>>1];d=f<<16>>16;if((d|0)>=2){e=i[(j[b+12>>2]+(f<<1)|0)-4>>1]+1|0}f=i[b+2>>1];da:{if((f|0)<2){break da}q=j[b+4>>2];g=q+(e<<3)|0;q=(q+(f<<3)|0)-8|0;if(j[g>>2]!=j[q>>2]|j[g+4>>2]!=j[q+4>>2]|k[(j[b+8>>2]+f|0)-1|0]!=1){break da}f=f-1|0;i[b+2>>1]=f}if((d|0)<1){break ca}q=(f<<16>>16)-1|0;if((q|0)==(e|0)){i[b+2>>1]=f-1;i[b>>1]=d-1;break ca}i[(j[b+12>>2]+(d<<1)|0)-2>>1]=q}j[a+64>>2]=1;break V;case 5:g=wh(a,n,o);if(g){break b}n=j[c>>2]+n|0;break W;case 6:n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 7:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+n|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){q=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[g+q|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=j[c+8>>2]+o|0;n=f+j[c+4>>2]|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=o+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 8:g=wh(a,n,o);if(g){break b}o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;break W;case 9:o=j[c+4>>2]+o|0;n=j[c>>2]+n|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 10:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c+4>>2]+o|0;n=j[c>>2]+n|0;q=0;w=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;w=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;e=f+j[c+12>>2]|0;n=n+j[c+8>>2]|0;f=b;if(w&255){q=j[b+8>>2];o=i[b+2>>1];d=j[b+4>>2]+(o<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((e|0)>=0?e+32768&-65536:0-(32768-e&-65536)|0)>>16;h[o+q|0]=2;q=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;o=e+j[c+20>>2]|0;n=n+j[c+16>>2]|0;if(q&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 11:g=wh(a,n,o);if(g){break b}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+3>>>0>m[b+4>>2]){g=yf(b,3,0);if(g){break b}}f=j[c>>2]+o|0;e=0;q=0;d=j[a+20>>2];b=d;if(k[a+68|0]){o=j[d+8>>2];g=i[d+2>>1];b=j[d+4>>2]+(g<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((f|0)>=0?f+32768&-65536:0-(32768-f&-65536)|0)>>16;h[o+g|0]=2;q=k[a+68|0];b=j[a+20>>2]}i[d+2>>1]=l[d+2>>1]+1;o=f+j[c+8>>2]|0;n=j[c+4>>2]+n|0;f=b;if(q&255){q=j[b+8>>2];e=i[b+2>>1];d=j[b+4>>2]+(e<<3)|0;j[d>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[d+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=2;e=k[a+68|0];f=j[a+20>>2]}i[b+2>>1]=l[b+2>>1]+1;n=n+j[c+12>>2]|0;if(e&255){q=j[f+8>>2];e=i[f+2>>1];b=j[f+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[f+2>>1]=l[f+2>>1]+1;break V;case 12:g=wh(a,n,o);if(g){break b}o=j[c>>2]+o|0;break W;case 13:o=j[c>>2]+o|0;if(j[e+1400>>2]){break V}if(!j[a+64>>2]){break b}j[a+64>>2]=2;break V;case 19:D=c,E=De(j[c>>2],j[c+4>>2]),j[D>>2]=E;c=c+4|0;z=0;break V;case 21:b=j[c>>2];if((b|0)<0){break b}d=b>>16;if(((v-e|0)-1140|0)>180|(d|0)>=j[e+1364>>2]){break b}j[v>>2]=r;d=d<<2;b=j[u+12>>2];f=d+j[b+1368>>2]|0;r=j[f>>2];j[v+16>>2]=r;q=j[b+1372>>2];ea:{if(q){x=j[d+q>>2]+r|0;break ea}d=j[b+1360>>2];r=((d|0)>0?d:0)+r|0;j[v+16>>2]=r;x=j[f+4>>2]}j[v+12>>2]=r;j[v+20>>2]=x;if(!r){break b}v=v+12|0;j[b+1344>>2]=v;break V;case 22:if((y|0)>=1){y=y-1|0;break V}if(!t){break b}c=c+4|0;t=t-1|0;break V;case 23:if(e+1140>>>0>=v>>>0){break b}v=v-12|0;x=j[v+8>>2];r=j[v>>2];j[e+1344>>2]=v;break V;case 15:if(!s){break V}qe[j[s+12>>2]](j[s>>2],1,c);break V;case 16:if(!s){break V}qe[j[s+16>>2]](j[s>>2],1,c);break V;case 17:if(!s){break V}j[c>>2]=j[c>>2]+B;qe[j[s+12>>2]](j[s>>2],0,c);break V;case 18:if(!s){break V}j[c>>2]=j[c>>2]+B;j[c+8>>2]=j[c+8>>2]+B;j[c+16>>2]=j[c+16>>2]+B;qe[j[s+16>>2]](j[s>>2],0,c);break V;case 14:case 25:break V;case 24:break X;default:break b}}o=j[c+4>>2];n=j[c>>2];j[e+1400>>2]=0;break V}b=j[a+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){g=yf(b,1,0);if(g){break b}}d=j[a+20>>2];if(k[a+68|0]){q=j[d+8>>2];e=i[d+2>>1];b=j[d+4>>2]+(e<<3)|0;j[b>>2]=((n|0)>=0?n+32768&-65536:0-(32768-n&-65536)|0)>>16;j[b+4>>2]=((o|0)>=0?o+32768&-65536:0-(32768-o&-65536)|0)>>16;h[e+q|0]=1}i[d+2>>1]=l[d+2>>1]+1}e=j[u+12>>2];j[e+1136>>2]=c;break B}y=1;c=d;break C}c=d;break C}c=d}e=j[u+12>>2];j[e+1136>>2]=(y<<2)+c}b=r;if(x>>>0>b>>>0){continue}break}}g=0}oe=u+16|0;return g|0}function mh(a,b,c,d,e){var f=0,g=0,m=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=0,z=q(0),A=0,B=q(0),C=0,D=0,E=0;f=oe-1328|0;oe=f;a:{if(!j[57840]){t=-1;if(!c){break a}ve(66565,0);break a}b:{if(!c){if((b|0)<1){break b}y=f+1076|0;c=0;while(1){C=t;d=j[57841];c:{if((d|0)>=65535){j[f>>2]=d;ve(66645,f);d=0;break c}m=j[57845];d:{if(!m){m=qe[j[57972]](80)|0;if(m){j[57976]=j[57976]+1}if(m){break d}d=0;break c}j[57845]=j[m+72>>2]}e=p(c,56)+a|0;g=j[66367];e:{if(!g){break e}d=j[e>>2];if((d|0)==1024|(d|0)==1794?(g|0)<=1:0){break e}h[f+1168|0]=0;h[f+1296|0]=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if((d&-32768)==32768){Re(f+1296|0,66677,32);d=j[e>>2];ca:{if(d>>>0>=32769){j[f+1088>>2]=d-32768;Ue(f+1104|0,16,66691,f+1088|0);break ca}h[f+1104|0]=0}d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+12>>2];j[y>>2]=j[e+20>>2];j[f+1072>>2]=r;j[f+1068>>2]=s;j[f+1060>>2]=d;j[f+1064>>2]=g;j[f+1056>>2]=f+1104;Ue(f+1168|0,128,66695,f+1056|0);d=j[e>>2]}if((d|0)<=1535){if((d|0)<=767){da:{switch(d-256|0){case 6:break X;case 5:break Y;case 4:break Z;case 3:break _;case 2:break $;case 1:break aa;case 0:break ba;default:break da}}switch(d-512|0){case 1:break R;case 0:break S;default:break j}}ea:{switch(d-768|0){case 3:break N;case 2:break O;case 1:break P;case 0:break Q;case 4:break W;default:break ea}}switch(d-1024|0){case 3:break J;case 2:break K;case 1:break L;case 0:break M;default:break i}}if((d|0)<=2047){fa:{switch(d-1536|0){case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:break i;case 85:break w;case 84:break x;case 83:break y;case 82:break z;case 81:break A;case 80:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break fa}}switch(d-1792|0){case 2:break t;case 1:break u;case 0:break v;default:break i}}if((d|0)<=4095){switch(d-2048|0){case 2:break q;case 1:break r;case 0:break s;default:break V}}ga:{switch(d-4096|0){case 3:break m;case 2:break n;case 1:break o;case 0:break p;default:break ga}}ha:{switch(d-4352|0){case 1:break k;case 0:break l;default:break ha}}switch(d+ -8192|0){case 1:break T;case 0:break U;default:break i}}Re(f+1296|0,66793,32);j[f+48>>2]=j[e+4>>2];Ue(f+1168|0,128,66802,f+48|0);break g}Re(f+1296|0,66818,32);break g}Re(f+1296|0,66838,32);break g}Re(f+1296|0,66856,32);break g}Re(f+1296|0,66884,32);break g}Re(f+1296|0,66911,32);break g}Re(f+1296|0,66939,32);break g}Re(f+1296|0,66966,32);break g}if((d|0)!=2304){break i}Re(f+1296|0,66984,32);break g}Re(f+1296|0,67004,32);break g}Re(f+1296|0,67029,32);break g}Re(f+1296|0,67053,32);t=f+1104|0;d=h[e+12|0];if(d>>>0<=16){d=j[(d<<2)+69176>>2]}else{d=67511}Re(t,d,64);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];j[f+80>>2]=j[e+20>>2];j[f+64>>2]=g;j[f+68>>2]=r;j[f+76>>2]=d;j[f+72>>2]=f+1104;Ue(f+1168|0,128,67533,f- -64|0);break g}Re(f+1296|0,67588,32);j[f+96>>2]=j[e+4>>2];Ue(f+1168|0,128,66802,f+96|0);break g}Re(f+1296|0,67603,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+136>>2]=l[e+24>>1];j[f+128>>2]=s;j[f+132>>2]=r;j[f+124>>2]=t?67709:67714;j[f+112>>2]=d;j[f+116>>2]=g;j[f+120>>2]=(u|0)==1?67692:67700;Ue(f+1168|0,128,67615,f+112|0);break g}Re(f+1296|0,67720,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+20>>2];s=j[e+16>>2];u=k[e+12|0];t=k[e+13|0];j[f+168>>2]=l[e+24>>1];j[f+160>>2]=s;j[f+164>>2]=r;j[f+156>>2]=t?67709:67714;j[f+144>>2]=d;j[f+148>>2]=g;j[f+152>>2]=(u|0)==1?67692:67700;Ue(f+1168|0,128,67615,f+144|0);break g}Re(f+1296|0,67730,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+44>>2];j[f+192>>2]=j[e+48>>2];j[f+188>>2]=r;j[f+176>>2]=d;j[f+180>>2]=g;j[f+184>>2]=e+12;Ue(f+1168|0,128,67746,f+176|0);break g}Re(f+1296|0,67803,32);d=j[e+4>>2];g=j[e+8>>2];j[f+216>>2]=e+12;j[f+208>>2]=d;j[f+212>>2]=g;Ue(f+1168|0,128,67817,f+208|0);break g}Re(f+1296|0,67855,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+16>>2];s=j[e+28>>2];u=j[e+24>>2];t=j[e+32>>2];A=j[e+12>>2];j[f+240>>2]=j[e+20>>2];j[f+252>>2]=t;j[f+244>>2]=u;j[f+248>>2]=s;j[f+236>>2]=r;j[f+224>>2]=d;j[f+228>>2]=g;j[f+232>>2]=A;Ue(f+1168|0,128,67871,f+224|0);break g}Re(f+1296|0,67943,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+276>>2]=k[e+18|0];j[f+280>>2]=A;j[f+284>>2]=s;j[f+272>>2]=(t|0)==1?67692:67700;j[f+268>>2]=r;j[f+256>>2]=d;j[f+260>>2]=g;j[f+264>>2]=u;Ue(f+1168|0,128,67963,f+256|0);break g}Re(f+1296|0,68039,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+16|0];s=j[e+24>>2];u=j[e+12>>2];t=k[e+17|0];A=j[e+20>>2];j[f+308>>2]=k[e+18|0];j[f+312>>2]=A;j[f+316>>2]=s;j[f+304>>2]=(t|0)==1?67692:67700;j[f+300>>2]=r;j[f+288>>2]=d;j[f+292>>2]=g;j[f+296>>2]=u;Ue(f+1168|0,128,67963,f+288|0);break g}Re(f+1296|0,68057,32);d=j[e+16>>2];g=j[e+4>>2];r=j[e+8>>2];s=j[e+24>>2];u=j[e+12>>2];j[f+336>>2]=j[e+20>>2];j[f+340>>2]=s?68139:68132;j[f+320>>2]=g;j[f+324>>2]=r;j[f+332>>2]=d;j[f+328>>2]=u;Ue(f+1168|0,128,68072,f+320|0);break g}Re(f+1296|0,68147,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+364>>2]=i[e+16>>1];j[f+360>>2]=r;j[f+352>>2]=d;j[f+356>>2]=g;Ue(f+1168|0,128,68165,f+352|0);break g}Re(f+1296|0,68207,32);d=j[e+4>>2];g=j[e+8>>2];r=i[e+16>>1];s=k[e+12|0];j[f+384>>2]=i[e+18>>1];j[f+380>>2]=r;j[f+376>>2]=s;j[f+368>>2]=d;j[f+372>>2]=g;Ue(f+1168|0,128,68225,f+368|0);break g}Re(f+1296|0,68274,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+412>>2]=k[e+13|0];j[f+408>>2]=r;j[f+400>>2]=d;j[f+404>>2]=g;Ue(f+1168|0,128,68291,f+400|0);break g}Re(f+1296|0,68332,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+424>>2]=k[e+12|0];j[f+416>>2]=d;j[f+420>>2]=g;j[f+428>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+416|0);break g}Re(f+1296|0,68394,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+440>>2]=k[e+12|0];j[f+432>>2]=d;j[f+436>>2]=g;j[f+444>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+432|0);break g}Re(f+1296|0,68410,32);d=j[e+8>>2];j[f+448>>2]=j[e+4>>2];j[f+452>>2]=d;Ue(f+1168|0,128,68429,f+448|0);break g}Re(f+1296|0,68454,32);d=j[e+8>>2];j[f+464>>2]=j[e+4>>2];j[f+468>>2]=d;Ue(f+1168|0,128,68429,f+464|0);break g}Re(f+1296|0,68475,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+12|0];j[f+492>>2]=i[e+16>>1];j[f+488>>2]=r;j[f+480>>2]=d;j[f+484>>2]=g;Ue(f+1168|0,128,68165,f+480|0);break g}Re(f+1296|0,68500,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+504>>2]=k[e+12|0];j[f+496>>2]=d;j[f+500>>2]=g;j[f+508>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+496|0);break g}Re(f+1296|0,68525,32);d=j[e+4>>2];g=j[e+8>>2];r=k[e+13|0];j[f+520>>2]=k[e+12|0];j[f+512>>2]=d;j[f+516>>2]=g;j[f+524>>2]=(r|0)==1?67692:67700;Ue(f+1168|0,128,68350,f+512|0);break g}Re(f+1296|0,68548,32);d=j[e+8>>2];j[f+528>>2]=j[e+4>>2];j[f+532>>2]=d;Ue(f+1168|0,128,68429,f+528|0);break g}Re(f+1296|0,68574,32);d=j[e+8>>2];j[f+544>>2]=j[e+4>>2];j[f+548>>2]=d;Ue(f+1168|0,128,68429,f+544|0);break g}Re(f+1296|0,68602,32);d=j[e+8>>2];j[f+560>>2]=j[e+4>>2];j[f+564>>2]=d;Ue(f+1168|0,128,68429,f+560|0);break g}Re(f+1296|0,68631,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+592>>2]=j[e+16>>2];j[f+596>>2]=s;o[f+632>>3]=B;o[f+624>>3]=z;o[f+616>>3]=x;o[f+608>>3]=w;o[f+600>>3]=v;j[f+584>>2]=g;j[f+588>>2]=r;j[f+576>>2]=d;Ue(f+1168|0,128,68646,f+576|0);break g}Re(f+1296|0,68723,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+656>>2]=j[e+16>>2];j[f+660>>2]=s;o[f+696>>3]=B;o[f+688>>3]=z;o[f+680>>3]=x;o[f+672>>3]=w;o[f+664>>3]=v;j[f+648>>2]=g;j[f+652>>2]=r;j[f+640>>2]=d;Ue(f+1168|0,128,68646,f+640|0);break g}Re(f+1296|0,68736,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+24>>2];w=n[e+28>>2];x=n[e+32>>2];z=n[e+36>>2];B=n[e+40>>2];s=j[e+20>>2];j[f+720>>2]=j[e+16>>2];j[f+724>>2]=s;o[f+760>>3]=B;o[f+752>>3]=z;o[f+744>>3]=x;o[f+736>>3]=w;o[f+728>>3]=v;j[f+712>>2]=g;j[f+716>>2]=r;j[f+704>>2]=d;Ue(f+1168|0,128,68646,f+704|0);break g}Re(f+1296|0,68753,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+792>>2]=j[e+24>>2];j[f+784>>2]=u;j[f+788>>2]=s;o[f+816>>3]=x;o[f+808>>3]=w;o[f+800>>3]=v;j[f+776>>2]=g;j[f+780>>2]=r;j[f+768>>2]=d;Ue(f+1168|0,128,68771,f+768|0);break g}Re(f+1296|0,68848,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+28>>2];w=n[e+32>>2];x=n[e+36>>2];s=j[e+20>>2];u=j[e+16>>2];j[f+856>>2]=j[e+24>>2];j[f+848>>2]=u;j[f+852>>2]=s;o[f+880>>3]=x;o[f+872>>3]=w;o[f+864>>3]=v;j[f+840>>2]=g;j[f+844>>2]=r;j[f+832>>2]=d;Ue(f+1168|0,128,68771,f+832|0);break g}Re(f+1296|0,68865,32);d=j[e+4>>2];g=j[e+8>>2];r=j[e+12>>2];v=n[e+16>>2];w=n[e+24>>2];x=n[e+28>>2];z=n[e+20>>2];j[f+944>>2]=l[e+32>>1];o[f+920>>3]=z;o[f+936>>3]=x;o[f+928>>3]=w;o[f+912>>3]=v;j[f+904>>2]=g;j[f+908>>2]=r;j[f+896>>2]=d;Ue(f+1168|0,128,68882,f+896|0);break g}Re(f+1296|0,68954,32);d=j[e+4>>2];g=j[e+8>>2];j[f+968>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+960>>2]=E;j[f+964>>2]=pe;Ue(f+1168|0,128,68967,f+960|0);break g}Re(f+1296|0,69005,32);d=j[e+4>>2];g=j[e+8>>2];j[f+984>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+976>>2]=E;j[f+980>>2]=pe;Ue(f+1168|0,128,68967,f+976|0);break g}Re(f+1296|0,69018,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1e3>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+992>>2]=E;j[f+996>>2]=pe;Ue(f+1168|0,128,68967,f+992|0);break g}Re(f+1296|0,69032,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1016>>2]=j[e+12>>2];D=f,E=nP(d,g),j[D+1008>>2]=E;j[f+1012>>2]=pe;Ue(f+1168|0,128,68967,f+1008|0);break g}Re(f+1296|0,69049,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1032>>2]=k[e+12|0]?67709:67714;j[f+1024>>2]=d;j[f+1028>>2]=g;Ue(f+1168|0,128,69070,f+1024|0);break g}Re(f+1296|0,69108,32);d=j[e+4>>2];g=j[e+8>>2];j[f+1048>>2]=k[e+12|0]?67709:67714;j[f+1040>>2]=d;j[f+1044>>2]=g;Ue(f+1168|0,128,69070,f+1040|0);break g}if(!d){break h}}if(k[f+1296|0]){break f}Re(f+1296|0,69131,32);j[f+32>>2]=j[e>>2];Ue(f+1168|0,128,69139,f+32|0);break g}Re(f+1296|0,66751,32);Re(f+1168|0,66766,128)}if(!k[f+1296|0]){break e}}j[f+20>>2]=f+1168;j[f+16>>2]=f+1296;$g(69159,f+16|0)}d=j[e+4>>2];j[m>>2]=j[e>>2];j[m+4>>2]=d;d=j[e+52>>2];j[m+48>>2]=j[e+48>>2];j[m+52>>2]=d;d=j[e+44>>2];j[m+40>>2]=j[e+40>>2];j[m+44>>2]=d;d=j[e+36>>2];j[m+32>>2]=j[e+32>>2];j[m+36>>2]=d;d=j[e+28>>2];j[m+24>>2]=j[e+24>>2];j[m+28>>2]=d;d=j[e+20>>2];j[m+16>>2]=j[e+16>>2];j[m+20>>2]=d;d=j[e+12>>2];j[m+8>>2]=j[e+8>>2];j[m+12>>2]=d;if(j[e>>2]==513){d=j[e+8>>2];e=j[d+4>>2];j[m+56>>2]=j[d>>2];j[m+60>>2]=e;j[m- -64>>2]=j[d+8>>2];j[m+8>>2]=m+56}d=j[57844];ia:{if(d){j[d+72>>2]=m;break ia}j[57843]=m}j[57844]=m;j[m+72>>2]=0;j[m+68>>2]=d;e=j[57841];j[57841]=e+1;d=1;if((e|0)>2];j[y+12>>2]=t;t=y;if(m){continue}break}j[57847]=t}j[57846]=0}t=0;y=j[57843];if(!y){break b}s=(c|0)!=2;while(1){if((b|0)<=(t|0)?a:0){break b}c=y;y=j[c+72>>2];m=j[c>>2];if(!(m>>>0>>0|e>>>0>>0)){ja:{if(!a){break ja}r=j[c+4>>2];g=p(t,56)+a|0;m=g;j[m>>2]=j[c>>2];j[m+4>>2]=r;m=j[c+52>>2];j[g+48>>2]=j[c+48>>2];j[g+52>>2]=m;m=j[c+44>>2];j[g+40>>2]=j[c+40>>2];j[g+44>>2]=m;m=j[c+36>>2];j[g+32>>2]=j[c+32>>2];j[g+36>>2]=m;m=j[c+28>>2];j[g+24>>2]=j[c+24>>2];j[g+28>>2]=m;m=j[c+20>>2];j[g+16>>2]=j[c+16>>2];j[g+20>>2]=m;m=j[c+12>>2];j[g+8>>2]=j[c+8>>2];j[g+12>>2]=m;if(j[c>>2]==513){m=j[57847];ka:{if(m){j[57847]=j[m+12>>2];break ka}m=qe[j[57972]](16)|0;if(m){j[57976]=j[57976]+1}}r=j[c+8>>2];u=j[r+4>>2];j[m>>2]=j[r>>2];j[m+4>>2]=u;j[m+8>>2]=j[r+8>>2];j[m+12>>2]=j[57846];j[57846]=m;j[g+8>>2]=m}if(s){break ja}m=j[c+68>>2];if(m){j[m+72>>2]=j[c+72>>2]}g=j[c+72>>2];if(g){j[g+68>>2]=m}if((c|0)==j[57843]){j[57843]=g}if((c|0)==j[57844]){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}t=t+1|0}if(y){continue}break}}if(!j[57839]){break a}}oe=f+1328|0;return t}function tr(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=oe-32|0;oe=e;u=j[b+100>>2];c=1;a:{b:{c:{d:{e:{f:{if(Fe(a,0)){break f}d=$e(a,132592,b+184|0);j[e+28>>2]=d;if(d){break f}c=3;if(j[b+184>>2]!=1885562369){break f}d=j[b+188>>2];if(d-1>>>0>134217726){break f}d=xe(u,16,0,d,0,e+28|0);j[b+192>>2]=d;c=64;if(j[e+28>>2]){break f}g:{if(j[b+188>>2]){while(1){c=$e(a,132608,d);j[e+28>>2]=c;if(c){break d}d=d+16|0;f=f+1|0;c=j[b+188>>2];if(f>>>0>>0){continue}break}r=1;d=j[b+192>>2];if((c|0)==1){break g}f=c}c=0;h:{i:{while(1){n=c+1|0;if((n|0)==(f|0)){g=f-1|0;q=j[a+4>>2];d=j[b+192>>2];break i}q=c^-1;g=j[d+12>>2];o=0;r=0;while(1){c=(r<<4)+d|0;r=r+1|0;l=(r<<4)+d|0;f=j[l+12>>2];if(g>>>0>f>>>0){g=j[c+12>>2];j[e+16>>2]=j[c+8>>2];j[e+20>>2]=g;g=j[c+4>>2];j[e+8>>2]=j[c>>2];j[e+12>>2]=g;g=j[l+12>>2];j[c+8>>2]=j[l+8>>2];j[c+12>>2]=g;g=j[l+4>>2];j[c>>2]=j[l>>2];j[c+4>>2]=g;g=j[e+20>>2];j[l+8>>2]=j[e+16>>2];j[l+12>>2]=g;g=j[e+12>>2];j[l>>2]=j[e+8>>2];j[l+4>>2]=g;o=1;f=j[l+12>>2]}g=j[c+8>>2];if(g>>>0>f>>>0|m[c+12>>2]>f-g>>>0){break h}g=f;f=j[b+188>>2];if(q+f>>>0>r>>>0){continue}break}g=f-1|0;if(o){c=n;if(g>>>0>c>>>0){continue}}break}r=1;q=j[a+4>>2];d=j[b+192>>2];n=d;if((f|0)==1){break e}}l=g>>>0>1?g:1;n=(l<<4)+d|0;g=0;c=d;while(1){o=j[c+8>>2];if(!(m[c+12>>2]<=q-o>>>0?o>>>0<=q>>>0:0)){j[e+28>>2]=8;break d}c=c+16|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}r=f;break e}j[e+28>>2]=9;break d}q=j[a+4>>2];n=d;break e}j[e+4>>2]=c;break b}c=j[n+12>>2];if(c>>>0>q>>>0){j[e+28>>2]=8;break d}c=q-c|0;if(c>>>0>2]){j[n+8>>2]=c}j[e+4>>2]=0;break c}d=j[b+192>>2];if(d){qe[j[u+8>>2]](u,d)}d=0;j[b+192>>2]=0;c=j[e+28>>2];j[e+4>>2]=c;if(c){break b}r=j[b+188>>2]}n=j[b+100>>2];q=3;j:{k:{l:{if(!r){break l}c=0;while(1){if(j[(c<<4)+d>>2]==1){q=83;g=j[((c<<4)+d|0)+12>>2];f=j[a+8>>2];if(g>>>0>>0){break l}if(xf(a,g-f|0)){break l}l=j[((c<<4)+d|0)+8>>2];d=0;j[e+8>>2]=0;c=Zf(a,e+8|0);if(c>>>0<=255){break k}c=0;break j}c=c+1|0;if((r|0)!=(c|0)){continue}break}}j[e+8>>2]=q;d=0;c=0;break j}if(j[e+8>>2]){c=0;break j}f=c&4;m:{if(f){g=sf(a,e+8|0);break m}g=Zf(a,e+8|0)}if(j[e+8>>2]){c=0;break j}if(g>>>0>(l>>>0)/9>>>0){j[e+8>>2]=8;c=0;break j}j[b+280>>2]=g;c=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}n:{if(!g){break n}while(1){o=p(d,12)+c|0;o:{if(f){o=$e(a,132640,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}o=$e(a,132672,o);j[e+8>>2]=o;if(!o){break o}d=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g&3;if(!d){break n}d=xf(a,4-d|0);j[e+8>>2]=d;if(!d){break n}j[e+8>>2]=83;d=0;break j}p:{if(f){f=sf(a,e+8|0);break p}f=Zf(a,e+8|0)}d=0;if(j[e+8>>2]){break j}if(f>>>0>l+p(g,-9)>>>0){j[e+8>>2]=8;break j}d=xe(n,1,0,f+1|0,0,e+8|0);if(j[e+8>>2]){break j}l=uf(a,d,f);j[e+8>>2]=l;if(l){break j}q=0;r=xe(n,12,0,g,0,e+8|0);if(j[e+8>>2]){break j}j[b+284>>2]=r;if(g){while(1){o=p(q,12);l=o+c|0;s=j[l>>2];if(!(f>>>0>=s>>>0?(s|0)>=0:0)){j[e+8>>2]=9;break j}o=o+r|0;y=o,z=gg(n,d+s|0,e+8|0),j[y>>2]=z;if(j[e+8>>2]){break j}s=k[l+4|0];h[o+4|0]=s;l=j[l+8>>2];q:{if(s){if(!(f>>>0>=l>>>0?(l|0)>=0:0)){j[e+8>>2]=9;break j}y=o,z=gg(n,d+l|0,e+8|0),j[y+8>>2]=z;if(!j[e+8>>2]){break q}break j}j[o+8>>2]=l}q=q+1|0;if((g|0)!=(q|0)){continue}break}}j[e+8>>2]=0}if(c){qe[j[n+8>>2]](n,c)}if(d){qe[j[n+8>>2]](n,d)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}r:{s:{d=j[b+188>>2];if(!d){break s}f=j[b+192>>2];c=0;while(1){if(j[(c<<4)+f>>2]!=256){c=c+1|0;if((d|0)!=(c|0)){continue}break s}break}g=0;break r}d=rr(a,b,2);j[e+4>>2]=d;if(d){break b}d=j[b+188>>2];f=j[b+192>>2];g=1}if(!d){j[e+4>>2]=3;break b}l=j[b+100>>2];c=0;t:{u:{while(1){if(j[(c<<4)+f>>2]==4){d=83;n=j[((c<<4)+f|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break t}if(xf(a,n-o|0)){break t}f=j[((c<<4)+f|0)+8>>2];j[e+28>>2]=0;n=Zf(a,e+28|0);d=j[e+28>>2];if(d){break t}if(((n|256)&-256)==256){break u}j[e+4>>2]=3;break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}d=n&4;v:{if(n>>>0<=255){if(d){c=sf(a,e+28|0);break v}c=Zf(a,e+28|0);break v}if(d){c=qf(a,e+28|0);break v}c=Xr(a,e+28|0)}d=3;if(j[e+28>>2]){break t}j[b+288>>2]=c;d=8;if(!c){break t}w:{if(n>>>0<=255){if(c>>>0<=(f>>>0)/12>>>0){break w}break t}if(c>>>0>(f>>>0)/5>>>0){break t}}f=xe(l,16,0,c,0,e+28|0);j[b+292>>2]=f;d=64;if(j[e+28>>2]){break t}o=c>>>0>1?c:1;r=n&4?132832:132864;n=n>>>0>255;d=0;x:{y:{while(1){z:{if(!n){c=$e(a,r,f);break z}c=$e(a,132896,e+8|0);if(c){break z}i[f>>1]=k[e+8|0]-128;i[f+2>>1]=k[e+9|0]-128;i[f+4>>1]=k[e+10|0]-128;i[f+6>>1]=k[e+11|0]-128;q=k[e+12|0];i[f+10>>1]=0;i[f+8>>1]=q-128}j[e+28>>2]=c;j[f+12>>2]=0;if(c){break y}if(!((i[f+8>>1]+i[f+6>>1]|0)>-1?i[f+2>>1]>=i[f>>1]:0)){j[f>>2]=0;j[f+4>>2]=0;i[f+8>>1]=0}f=f+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}j[e+4>>2]=0;break x}d=j[b+292>>2];if(d){qe[j[l+8>>2]](l,d)}j[b+292>>2]=0;d=j[e+28>>2];j[e+4>>2]=d;if(d){break b}}f=j[b+188>>2];if(!f){j[e+4>>2]=3;break b}d=j[b+192>>2];l=j[b+100>>2];c=0;A:{B:{while(1){if(j[d+(c<<4)>>2]==8){f=83;n=j[(d+(c<<4)|0)+12>>2];o=j[a+8>>2];if(n>>>0>>0){break A}if(xf(a,n-o|0)){break A}q=j[(d+(c<<4)|0)+8>>2];f=_e(a,8);j[e+8>>2]=f;if(!f){break B}break A}c=c+1|0;if((f|0)!=(c|0)){continue}break}j[e+4>>2]=3;break b}o=Cm(a);r=o&4;C:{if(r){d=Ff(a);break C}d=Cm(a)}Ve(a);if(o>>>0>255){j[e+4>>2]=3;break b}f=3;if((d|0)!=j[b+288>>2]){break A}c=0;n=xe(l,4,0,d,0,e+8|0);f=j[e+8>>2];if(f){break A}D:{if(d){while(1){s=n+(c<<2)|0;E:{if(r){f=sf(a,e+8|0);break E}f=Zf(a,e+8|0)}j[s>>2]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break}if(j[e+8>>2]){break D}}F:{if(!r){Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);if(j[e+8>>2]){break D}Zf(a,e+8|0);break F}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0);if(j[e+8>>2]){break D}sf(a,e+8|0)}if(j[e+8>>2]){break D}if(d){c=0;while(1){f=j[n+(c<<2)>>2];if(!((f|0)<0|f>>>0>q>>>0)){j[(j[b+292>>2]+(c<<4)|0)+12>>2]=f+j[a+8>>2]}c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+308>>2]=o}if(n){qe[j[l+8>>2]](l,n)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}q=3;G:{f=j[b+188>>2];if(!f){break G}d=j[b+192>>2];r=j[b+100>>2];c=0;while(1){H:{if(j[d+(c<<4)>>2]==32){q=83;d=j[(d+(c<<4)|0)+12>>2];c=j[a+8>>2];if(d>>>0>>0){break G}if(xf(a,d-c|0)){break G}q=_e(a,14);j[e+8>>2]=q;if(!q){break H}break G}c=c+1|0;if((f|0)!=(c|0)){continue}break G}break}d=b;n=Cm(a);t=n&4;I:{if(t){f=af(a);o=af(a);l=af(a);s=af(a);c=af(a);break I}f=pg(a);o=pg(a);l=pg(a);s=pg(a);c=pg(a)}i[d+304>>1]=c;Ve(a);q=3;if(n>>>0>255){break G}q=8;d=f<<16;if(d>>16<0){break G}c=o<<16>>16;if((c|0)>16|(c|0)>255){break G}c=l<<16>>16;if((c|0)<0|(c|0)>s<<16>>16|s<<16>>16>255){break G}q=64;f=0;v=s<<16>>16;n=l<<16>>16;w=o<<16>>16;o=d>>16;s=p((v-n|0)+1|0,(w-o|0)+1|0);l=xe(r,8,0,s,0,e+8|0);if(j[e+8>>2]){break G}d=_e(a,s<<1);j[e+8>>2]=d;J:{K:{if(d){break K}while(1){q=n<<8;c=o;while(1){L:{if(t){d=af(a);break L}d=pg(a)}if(d<<16>>16>=0){x=(f<<3)+l|0;i[x+4>>1]=d;j[x>>2]=c+q;f=f+1|0}d=(c|0)!=(w|0);c=c+1|0;if(d){continue}break}d=(n|0)!=(v|0);n=n+1|0;if(d){continue}break}Ve(a);l=xe(r,8,s,f,l,e+8|0);if(j[e+8>>2]){break K}j[b+300>>2]=l;j[b+296>>2]=f;j[e+4>>2]=0;break J}if(l){qe[j[r+8>>2]](r,l)}d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}}if(!g){a=rr(a,b,256);j[e+4>>2]=a;if(a){break b}}j[b>>2]=1;j[b+4>>2]=0;a=j[b+8>>2];j[b+8>>2]=a|146;if(k[b+199|0]){j[b+8>>2]=a|150}d=0;j[e+8>>2]=0;j[b+12>>2]=0;r=1;w=j[b+100>>2];c=j[b+280>>2];M:{N:{if((c|0)<1){g=0;t=0;s=0;o=1;n=0;f=0;v=1;break N}f=j[b+284>>2];while(1){O:{a=d;g=we(j[f+p(a,12)>>2],132924);d=a+1|0;if((c|0)<=(d|0)){break O}if(g){continue}}break}d=0;q=2;P:{if(g){n=0;break P}a=f+p(a,12)|0;if(!k[a+4|0]){n=0;break P}n=0;Q:{switch(k[j[a+8>>2]]-73|0){case 0:case 6:case 32:case 38:break Q;default:break P}}j[b+12>>2]=1;n=(k[j[a+8>>2]]&223)==79?132930:132938;q=3}while(1){R:{a=d;g=we(j[f+p(a,12)>>2],132945);d=a+1|0;if((c|0)<=(d|0)){break R}if(g){continue}}break}d=0;s=0;o=1;S:{if(g){break S}a=f+p(a,12)|0;o=1;if(!k[a+4|0]){break S}o=1;if((k[j[a+8>>2]]|32)!=98){break S}j[b+12>>2]=q;s=132957;o=0}while(1){T:{a=d;l=we(j[f+p(a,12)>>2],132962);d=a+1|0;if((c|0)<=(d|0)){break T}if(l){continue}}break}d=0;g=0;U:{if(l){break U}a=f+p(a,12)|0;g=0;if(!k[a+4|0]){break U}a=j[a+8>>2];l=k[a|0];g=0;if(!l){break U}g=0;if((l|0)==78){break U}g=0;if((l|0)==110){break U}g=a}while(1){V:{a=d;r=we(j[f+p(a,12)>>2],132976);d=a+1|0;if((c|0)<=(d|0)){break V}if(r){continue}}break}t=0;l=0;q=0;c=0;W:{if(r){break W}X:{a=f+p(a,12)|0;if(!k[a+4|0]){break X}a=j[a+8>>2];d=k[a|0];if(!d|(d|0)==78){break X}c=0;if((d|0)==110){break W}l=a;q=Le(a);c=q+1|0;break W}c=0}Y:{if(o){s=0;break Y}t=Le(s);c=(t+c|0)+1|0}d=0;Z:{if(!n){f=0;break Z}f=Le(n);c=(f+c|0)+1|0}r=!n;v=!g;if(g){d=Le(g);c=(d+c|0)+1|0}if(c){break M}}c=8;q=7;l=132991}c=He(w,c,e+8|0);j[b+24>>2]=c;a=j[e+8>>2];if(a){j[e+4>>2]=a;break b}if(l){c=Ae(c,l,q);if(q){a=0;while(1){l=a+c|0;if(k[l|0]==32){h[l|0]=45}a=a+1|0;if((q|0)!=(a|0)){continue}break}}c=c+q|0}if(!o){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,s,t)+t|0}if(!r){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,n,f)+f|0}if(!v){if(j[b+24>>2]!=(c|0)){h[c|0]=32;c=c+1|0}c=Ae(c,g,d);if(d){a=0;while(1){g=a+c|0;if(k[g|0]==32){h[g|0]=45}a=a+1|0;if((d|0)!=(a|0)){continue}break}}c=c+d|0}a=0;h[c|0]=0;d=j[e+8>>2];j[e+4>>2]=d;if(d){break b}_:{$:{f=j[b+280>>2];if((f|0)<1){break $}c=j[b+284>>2];while(1){aa:{d=a;g=we(j[c+p(a,12)>>2],132476);a=a+1|0;if((f|0)<=(a|0)){break aa}if(g){continue}}break}if(g){break $}a=c+p(d,12)|0;if(!k[a+4|0]){break $}y=b,z=gg(u,j[a+8>>2],e+4|0),j[y+20>>2]=z;if(!j[e+4>>2]){break _}break b}j[b+20>>2]=0}j[b+28>>2]=1;j[b+16>>2]=j[b+288>>2]+1;d=0;a=xe(u,16,0,1,0,e+4|0);j[b+32>>2]=a;if(j[e+4>>2]){break b}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;o=j[b+208>>2]+j[b+204>>2]|0;i[a>>1]=o;f=j[b+284>>2];c=a;ba:{ca:{l=j[b+280>>2];if((l|0)<1){break ca}while(1){da:{g=d;n=we(j[f+p(d,12)>>2],132488);d=d+1|0;if((l|0)<=(d|0)){break da}if(n){continue}}break}if(n){break ca}d=(j[(f+p(g,12)|0)+8>>2]+5|0)/10|0;break ba}d=(o<<16>>15)/3|0}i[c+2>>1]=d;d=0;ea:{if((l|0)>0){while(1){fa:{c=d;n=we(j[f+p(c,12)>>2],132502);d=c+1|0;if((l|0)<=(d|0)){break fa}if(n){continue}}break}d=0;g=0;if(!n){g=(p(j[(f+p(c,12)|0)+8>>2],460800)+36135|0)/72270|0;j[a+4>>2]=g}while(1){ga:{c=d;o=we(j[f+p(c,12)>>2],132513);d=c+1|0;if((l|0)<=(d|0)){break ga}if(o){continue}}break}d=0;n=0;if(!o){n=j[(f+p(c,12)|0)+8>>2]<<16>>10;j[a+12>>2]=n}while(1){ha:{c=d;r=we(j[f+p(c,12)>>2],132524);d=c+1|0;if((l|0)<=(d|0)){break ha}if(r){continue}}break}d=0;o=0;o=r?o:i[(f+p(c,12)|0)+8>>1];while(1){ia:{c=d;r=we(j[f+p(c,12)>>2],132537);d=c+1|0;if((l|0)<=(d|0)){break ia}if(r){continue}}break}d=0;d=r?d:j[(f+p(c,12)|0)+8>>2];if(!n){j[a+12>>2]=g;if(!(d&65535)){break ea}n=(p(d<<16>>16,g)|0)/72|0;j[a+12>>2]=n}if(!o){g=n;break ea}if(!(d&65535)){g=n;break ea}g=(p(n,o)|0)/(d<<16>>16)|0;break ea}g=0;j[a+12>>2]=0}j[a+8>>2]=g;ja:{ka:{if((l|0)<1){break ka}d=0;while(1){la:{a=d;c=we(j[f+p(a,12)>>2],132550);d=a+1|0;if((l|0)<=(d|0)){break la}if(c){continue}}break}if(c){break ka}c=f+p(a,12)|0;break ja}c=0}ma:{na:{if((l|0)<1){break na}d=0;while(1){oa:{a=d;g=we(j[f+p(a,12)>>2],132567);d=a+1|0;if((l|0)<=(d|0)){break oa}if(g){continue}}break}if(g){break na}d=f+p(a,12)|0;break ma}d=0}a=0;if(!c|(!d|!k[c+4|0])){break a}if(!k[d+4|0]){break a}y=b,z=gg(u,j[d+8>>2],e+4|0),j[y+176>>2]=z;if(j[e+4>>2]){break b}y=b,z=gg(u,j[c+8>>2],e+4|0),j[y+180>>2]=z;if(!j[e+4>>2]){break a}break b}j[e+4>>2]=q;break b}j[e+4>>2]=f;break b}j[e+4>>2]=d}a=3}oe=e+32|0;return a}function Mz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=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,I=0,J=0;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];while(1){b=j[c>>2];j[c>>2]=((p(r,k[w+((b&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];x=k[t+((a&j[n+16>>2])>>>e|0)|0]+h|0;v=(x>>>0<255?x:255)>>>s<>2])>>>f|0)|0]+g|0;v=v|(x>>>0<255?x:255)>>>u<>2])>>>d|0)|0]+i|0;j[o>>2]=v|(x>>>0<255?x:255)>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;o=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;o=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}l=k[n+31|0];m=j[(l<<2)+234976>>2];q=k[n+30|0];r=j[(q<<2)+234976>>2];s=k[n+29|0];t=j[(s<<2)+234976>>2];u=k[n+28|0];w=j[(u<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[t+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>s<>2])>>>f|0)|0],g)>>>0)/255>>>u<>2])>>>d|0)|0],i)>>>0)/255>>>q<>2])>>>c|0)|0]>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;o=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;o=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=o+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}q=k[n+31|0];s=j[(q<<2)+234976>>2];t=k[n+30|0];u=j[(t<<2)+234976>>2];w=k[n+29|0];x=j[(w<<2)+234976>>2];v=k[n+28|0];y=j[(v<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];m=k[n+33|0];o=k[n+32|0];while(1){c=j[b>>2];j[b>>2]=((p(r,k[x+((c&j[n+16>>2])>>>m|0)|0])>>>0)/255|0)+h>>>w<>2])>>>o|0)|0])>>>0)/255|0)+g>>>v<>2])>>>e|0)|0])>>>0)/255|0)+i>>>t<>2])>>>d|0)|0])>>>0)/255|0)+l>>>q<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>e|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>d|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;o=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];c=k[n+35|0];d=k[n+34|0];e=k[n+33|0];l=k[n+32|0];while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>e|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>d|0)|0],i)>>>0)/255>>>r<>2])>>>c|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){o=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;o=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}w=b-d|0;o=w>>31;q=c-e|0;u=q>>31;if((o^o+w)==(u^q+u)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}o=k[n+31|0];q=j[(o<<2)+234976>>2];s=k[n+30|0];t=j[(s<<2)+234976>>2];u=k[n+29|0];w=j[(u<<2)+234976>>2];x=k[n+28|0];v=j[(x<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];y=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(r,k[w+((c&j[n+16>>2])>>>f|0)|0])>>>0)/255|0)+h>>>u<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>s<>2])>>>d|0)|0])>>>0)/255|0)+l>>>o<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];v=k[u+((a&j[n+16>>2])>>>f|0)|0]+h|0;y=(v>>>0<255?v:255)>>>t<>2])>>>l|0)|0]+g|0;y=y|(v>>>0<255?v:255)>>>w<>2])>>>e|0)|0]+i|0;j[o>>2]=y|(v>>>0<255?v:255)>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}m=k[n+31|0];q=j[(m<<2)+234976>>2];r=k[n+30|0];s=j[(r<<2)+234976>>2];t=k[n+29|0];u=j[(t<<2)+234976>>2];w=k[n+28|0];x=j[(w<<2)+234976>>2];d=k[n+35|0];e=k[n+34|0];f=k[n+33|0];l=k[n+32|0];c=c<<2;while(1){a=j[o>>2];j[o>>2]=(p(k[u+((a&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>t<>2])>>>l|0)|0],g)>>>0)/255>>>w<>2])>>>e|0)|0],i)>>>0)/255>>>r<>2])>>>d|0)|0]>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){o=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;o=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2]=a;o=b+o|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:q=d-b|0;f=q>>31;s=e-c|0;o=s>>31;q=f^f+q;o=o^o+s;r:{if((q|0)>=(o|0)){u=o-q|0;s=o<<1;f=s-q|0;o=1;break r}u=q-o|0;t=1;s=q<<1;f=s-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);x=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;y=e?-1:1;C=d?-1:1;u=u<<1;z=k[n+31|0];D=j[(z<<2)+234976>>2];A=k[n+30|0];E=j[(A<<2)+234976>>2];B=k[n+29|0];F=j[(B<<2)+234976>>2];G=k[n+28|0];H=j[(G<<2)+234976>>2];e=k[n+35|0];m=k[n+34|0];o=k[n+33|0];q=k[n+32|0];J=j[a+20>>2];t=0;while(1){I=(p(j[a+16>>2],c)+J|0)+(b<<2)|0;d=j[I>>2];j[I>>2]=((p(r,k[F+((d&j[n+16>>2])>>>o|0)|0])>>>0)/255|0)+h>>>B<>2])>>>q|0)|0])>>>0)/255|0)+g>>>G<>2])>>>m|0)|0])>>>0)/255|0)+i>>>A<>2])>>>e|0)|0])>>>0)/255|0)+l>>>z<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;s:{if((o|0)>=(f|0)){s=f-o|0;t=f<<1;l=t-o|0;r=0;f=1;break s}s=o-f|0;r=1;t=o<<1;l=t-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);w=e?0-r|0:r;d=(b|0)>(d|0);x=d?0-f|0:f;v=e?-1:1;y=d?-1:1;s=s<<1;C=k[n+31|0];z=j[(C<<2)+234976>>2];D=k[n+30|0];A=j[(D<<2)+234976>>2];E=k[n+29|0];B=j[(E<<2)+234976>>2];F=k[n+28|0];G=j[(F<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];H=j[a+20>>2];q=0;while(1){J=(H+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[J>>2];r=k[B+((d&j[n+16>>2])>>>m|0)|0]+h|0;I=(r>>>0<255?r:255)>>>E<>2])>>>o|0)|0]+g|0;I=I|(r>>>0<255?r:255)>>>F<>2])>>>f|0)|0]+i|0;j[J>>2]=I|(r>>>0<255?r:255)>>>D<>2])>>>e|0)|0]>>>C<>31;q=e-c|0;l=q>>31;o=f^f+o;f=l^l+q;t:{if((o|0)>=(f|0)){t=f-o|0;r=f<<1;l=r-o|0;f=1;break t}t=o-f|0;s=1;r=o<<1;l=r-f|0;o=f;f=0}u=((m|0)!=0)+o|0;if(!u){break a}e=(c|0)>(e|0);s=e?0-s|0:s;d=(b|0)>(d|0);w=d?0-f|0:f;x=e?-1:1;v=d?-1:1;t=t<<1;y=k[n+31|0];C=j[(y<<2)+234976>>2];z=k[n+30|0];D=j[(z<<2)+234976>>2];A=k[n+29|0];E=j[(A<<2)+234976>>2];B=k[n+28|0];F=j[(B<<2)+234976>>2];e=k[n+35|0];f=k[n+34|0];m=k[n+33|0];o=k[n+32|0];G=j[a+20>>2];q=0;while(1){H=(G+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[H>>2];j[H>>2]=(p(k[E+((d&j[n+16>>2])>>>m|0)|0],h)>>>0)/255>>>A<>2])>>>o|0)|0],g)>>>0)/255>>>B<>2])>>>f|0)|0],i)>>>0)/255>>>z<>2])>>>e|0)|0]>>>y<>31;r=e-c|0;o=r>>31;q=f^f+q;r=o^o+r;u:{if((q|0)>=(r|0)){t=r-q|0;f=r<<1;o=f-q|0;r=1;break u}t=q-r|0;s=1;f=q<<1;o=f-r|0;q=r;r=0}m=((m|0)!=0)+q|0;if(!m){break a}e=(c|0)>(e|0);q=e?0-s|0:s;d=(b|0)>(d|0);r=d?0-r|0:r;e=e?-1:1;s=d?-1:1;t=t<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>>k[n+31|0]<>2];h=0;while(1){j[(i+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(o|0)<0;o=(d?f:t)+o|0;b=(d?r:s)+b|0;c=(d?q:e)+c|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}}function Ou(a,b,c,d,e,f,g,m){var n=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;n=oe-96|0;oe=n;a:{b:{if((c|0)==(f|0)){if((d|0)==(g|0)){break a}c:{d:{if((c|0)<=1431918168){e:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break d;default:break e}}if((c|0)==825382478){break d}if((c|0)!=844715353){break c}break b}if((c|0)==1431918169|(c|0)==1498831189){break b}if((c|0)!=1448433993){break c}}if(b){o=b;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;o=o-1|0;if(o){continue}break}}f:{g:{switch(c-842094158|0){default:if((c|0)==825382478){break f}if((c|0)!=1448433993){break a}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break a;case 0:break f;case 11:break g}}if(b+2>>>0<3){break a}c=(m+1|0)/2|0;e=(e+1|0)/2|0;a=(a+1|0)/2|0;o=(b+1|0)/2<<1;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}if(b+2>>>0<3){break a}c=(m+1|0)/2<<1;e=(e+1|0)/2<<1;a=(a+1|0)/2<<1;o=(b+1|0)/2|0;while(1){Ge(g,d,a);g=c+g|0;d=d+e|0;o=o-1|0;if(o){continue}break}break a}D=n,E=Gg(c),j[D>>2]=E;t=ve(100069,n);break a}h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1431918168){o:{switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break n;default:break o}}if((c|0)==825382478){break n}if((c|0)==844715353){break m}break i}if((c|0)==1431918169|(c|0)==1498831189){break m}if((c|0)!=1448433993){break i}}p:{q:{r:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break p;case 0:case 11:break q;default:break r}}if((f|0)==1448433993){break q}if((f|0)!=825382478){break p}}if(!(!b|(d|0)==(g|0))){o=g;q=d;r=b;while(1){Ge(o,q,a);o=m+o|0;q=e+q|0;r=r-1|0;if(r){continue}break}}s:{t:{u:{v:{w:{x:{y:{switch(c-842094158|0){default:if((c|0)==825382478){break u}if((c|0)!=1448433993){break s}switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break w;case 11:break x;default:break t};case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break v;case 11:break y}}if((f|0)!=825382478){if((f|0)!=842094158){if((f|0)!=1448433993){break s}t=gn(a,b,d,e,g,m);break a}t=sj(a,b,d,e,g,m,1);break a}t=sj(a,b,d,e,g,m,0);break a}t=gn(a,b,d,e,g,m);break a}t=sj(a,b,d,e,g,m,0);break a}if((f|0)!=825382478){if((f|0)!=1448433993){if((f|0)!=842094169){break s}t=rj(a,b,d,e,g,m,1);break a}t=rj(a,b,d,e,g,m,0);break a}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}z:{switch(f-842094158|0){case 11:t=rj(a,b,d,e,g,m,0);break a;default:if((f|0)!=1448433993){break s}t=rj(a,b,d,e,g,m,1);break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break s;case 0:break z}}if(b+2>>>0<3){break a}c=(e+1|0)/2|0;d=p(b,e)+d|0;g=p(b,m)+g|0;e=(b+1|0)/2|0;b=a+2>>>0<3;a=(a+1|0)/2|0;f=(((m+1|0)/2|0)-a&2147483647)<<1;c=(c-a&2147483647)<<1;while(1){e=e-1|0;o=a;if(!b){while(1){m=l[d>>1];i[g>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;d=d+2|0;o=o-1|0;if(o){continue}break}}g=f+g|0;d=c+d|0;if(e){continue}break}break a}if((f|0)==825382478){break h}}a=Gg(c);D=n,E=Gg(f),j[D+52>>2]=E;j[n+48>>2]=a;t=ve(100131,n+48|0);break a}if((c|0)<=844715352){switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break k;default:break l}}if((c|0)==844715353){break m}if((c|0)==1448433993){break k}if((c|0)!=1431918169){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){A:{B:{if((c|0)!=1498831189){if((c|0)==1431918169){break B}if((c|0)!=844715353){break A}if((f|0)!=1431918169){if((f|0)!=1498831189){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1431918169){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+1|0];q=k[d|0];r=k[d+3|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;f=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!f){while(1){q=k[d+3|0];a=k[d+1|0]|k[d+2|0]<<8;h[g+3|0]=k[d|0];h[g|0]=a;h[g+1|0]=a>>>8;h[g+2|0]=q;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if((f|0)!=1498831189){if((f|0)!=844715353){break A}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d|0];q=k[d+3|0];r=k[d+2|0];h[g+3|0]=k[d+1|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}if(!b){break a}c=(a+1|0)/2|0;f=c<<2;m=m-f|0;e=e-f|0;a=a+2>>>0<3;while(1){b=b-1|0;o=c;if(!a){while(1){f=k[d+3|0];q=k[d|0];r=k[d+1|0];h[g+3|0]=k[d+2|0];h[g+2|0]=r;h[g+1|0]=q;h[g|0]=f;g=g+4|0;d=d+4|0;o=o-1|0;if(o){continue}break}}g=g+m|0;d=d+e|0;if(b){continue}break}break a}a=Gg(c);D=n,E=Gg(f),j[D+36>>2]=E;j[n+32>>2]=a;t=ve(100210,n+32|0);break a}if((c|0)<=1448433992){if((c|0)==844715353|(c|0)==1431918169){break j}break i}if((c|0)==1498831189){break j}if((c|0)!=1448433993){break i}break k}if((c|0)!=825382478){break i}}if(!((f|0)!=1431918169?!((f|0)==844715353|(f|0)==1498831189):0)){if((d|0)==(g|0)){t=ve(100285,0);break a}t=-1;if((_h(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}e=j[n+80>>2];d=j[n+92>>2];C:{if(!((c|0)!=825382478?(c|0)!=842094158:0)){u=j[n+76>>2]+((a+1|0)/-2<<1)|0;r=2;break C}u=j[n+76>>2]+((a+1|0)/-2|0)|0;r=1}if((_h(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}v=b-1|0;c=(a+1|0)/-2|0;if((b|0)>=2){A=e-a|0;g=d+e|0;e=j[n+60>>2];t=e+(c<<2)|0;w=a&-2;x=a-1|0;c=j[n+72>>2];o=e+c|0;f=j[n+68>>2];e=j[n+56>>2];q=f+e|0;s=j[n+64>>2];e=e+s|0;C=(a|0)<2;while(1){m=0;if(C){c=0}else{while(1){j[n+92>>2]=d+1;h[c|0]=k[d|0];j[n+92>>2]=d+2;c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g+1|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];j[n+88>>2]=r+j[n+88>>2];j[n+84>>2]=r+j[n+84>>2];f=j[n+68>>2]+4|0;j[n+68>>2]=f;s=j[n+64>>2]+4|0;j[n+64>>2]=s;e=e+4|0;q=q+4|0;o=o+4|0;g=g+2|0;m=m+2|0;if((m|0)<(x|0)){c=j[n+72>>2];d=j[n+92>>2];continue}break}c=w}D:{if((c|0)!=(x|0)){m=j[n+88>>2];c=j[n+84>>2];break D}c=j[n+92>>2];h[j[n+72>>2]]=k[c|0];j[n+92>>2]=c+1;d=j[n+72>>2];j[n+72>>2]=d+2;h[d+2|0]=k[c|0];j[n+72>>2]=j[n+72>>2]+2;h[f|0]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];h[o|0]=k[g|0];h[o+2|0]=k[g|0];h[q|0]=k[j[n+88>>2]];h[e|0]=k[j[n+84>>2]];e=e+4|0;q=q+4|0;o=o+4|0;g=g+1|0;s=j[n+64>>2]+4|0;f=j[n+68>>2]+4|0;m=r+j[n+88>>2]|0;c=r+j[n+84>>2]|0}j[n+88>>2]=m+u;j[n+84>>2]=c+u;B=A+j[n+80>>2]|0;d=B+j[n+92>>2]|0;j[n+92>>2]=d;y=t+j[n+60>>2]|0;c=y+j[n+72>>2]|0;j[n+72>>2]=c;m=t+j[n+56>>2]|0;f=m+f|0;j[n+68>>2]=f;s=m+s|0;j[n+64>>2]=s;e=e+m|0;q=m+q|0;o=o+y|0;g=g+B|0;z=z+2|0;if((v|0)>(z|0)){continue}break}o=b&-2}t=0;if((o|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{m=0;g=j[n+64>>2];o=j[n+84>>2];q=j[n+68>>2];e=j[n+88>>2];while(1){h[j[n+72>>2]]=k[d|0];c=j[n+72>>2];j[n+72>>2]=c+2;h[c+2|0]=k[d+1|0];j[n+72>>2]=j[n+72>>2]+2;h[q|0]=k[e|0];h[g|0]=k[o|0];g=g+4|0;q=q+4|0;o=o+r|0;e=e+r|0;d=d+2|0;m=m+2|0;if((b|0)>(m|0)){continue}break}j[n+88>>2]=e;j[n+92>>2]=d;j[n+68>>2]=q;j[n+84>>2]=o;j[n+64>>2]=g;a=a&-2}if((a|0)!=(b|0)){break a}h[j[n+72>>2]]=k[d|0];j[n+92>>2]=d+1;a=j[n+72>>2];j[n+72>>2]=a+2;h[a+2|0]=k[d|0];j[n+72>>2]=j[n+72>>2]+2;a=j[n+68>>2];b=j[n+88>>2];h[a|0]=k[b|0];c=j[n+64>>2];d=j[n+84>>2];h[c|0]=k[d|0];j[n+84>>2]=d+r;j[n+88>>2]=b+r;j[n+68>>2]=a+4;j[n+64>>2]=c+4;break a}if((c|0)==1431918169){break j}if((c|0)!=844715353){break i}}E:{F:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 0:case 11:break E;default:break F}}if((f|0)==1448433993){break E}if((f|0)!=825382478){break i}}if((d|0)==(g|0)){t=ve(100285,0);break a}t=-1;if((_h(b,c,d,e,n+92|0,n+88|0,n+84|0,n+80|0,n+76|0)|0)<0){break a}r=j[n+80>>2];w=j[n+92>>2];c=j[n+88>>2];s=j[n+84>>2];d=j[n+76>>2];if((_h(b,f,g,m,n+72|0,n+68|0,n- -64|0,n+60|0,n+56|0)|0)<0){break a}g=(a+1|0)/2|0;G:{if(!((f|0)!=825382478?(f|0)!=842094158:0)){u=j[n+56>>2]-(g<<1)|0;f=2;break G}u=j[n+56>>2]-g|0;f=1}o=j[n+72>>2];v=b-1|0;t=0;if((b|0)<2){b=0}else{q=d+s|0;e=c+d|0;d=r+w|0;x=r-(g<<2)|0;g=j[n+60>>2];C=g-a|0;g=g+o|0;w=a&-2;A=a-1|0;B=(a|0)<2;while(1){r=0;if(B){m=0}else{while(1){h[o|0]=k[j[n+92>>2]];c=j[n+92>>2];j[n+92>>2]=c+2;c=k[c+2|0];j[n+72>>2]=o+2;h[o+1|0]=c;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g+1|0]=k[d+2|0];m=j[n+68>>2];c=j[n+88>>2];h[m|0]=k[e|0]+k[c|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;s=s+4|0;j[n+84>>2]=s;c=c+4|0;j[n+88>>2]=c;j[n+68>>2]=f+m;j[n+64>>2]=f+o;q=q+4|0;e=e+4|0;d=d+4|0;g=g+2|0;r=r+2|0;if((r|0)<(A|0)){o=j[n+72>>2];continue}break}m=w}H:{if((m|0)!=(A|0)){r=j[n+68>>2];m=j[n+64>>2];break H}c=j[n+72>>2];h[c|0]=k[j[n+92>>2]];m=j[n+92>>2];j[n+92>>2]=m+2;m=k[m+2|0];j[n+72>>2]=c+1;h[c|0]=m;j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[d|0];h[g|0]=k[d+2|0];c=j[n+68>>2];m=j[n+88>>2];h[c|0]=k[e|0]+k[m|0]>>>1;o=j[n+64>>2];s=j[n+84>>2];h[o|0]=k[q|0]+k[s|0]>>>1;q=q+4|0;e=e+4|0;d=d+4|0;g=g+1|0;r=c+f|0;c=m+4|0;s=s+4|0;m=f+o|0}j[n+68>>2]=r+u;j[n+64>>2]=m+u;r=x+j[n+80>>2]|0;j[n+92>>2]=r+j[n+92>>2];m=x+j[n+76>>2]|0;c=m+c|0;j[n+88>>2]=c;s=m+s|0;j[n+84>>2]=s;y=C+j[n+60>>2]|0;o=y+j[n+72>>2]|0;j[n+72>>2]=o;g=g+y|0;q=m+q|0;e=e+m|0;d=d+r|0;z=z+2|0;if((v|0)>(z|0)){continue}break}b=b&-2}if((b|0)!=(v|0)){break a}b=a-1|0;if((a|0)<2){a=0}else{q=0;d=j[n+64>>2];g=j[n+68>>2];while(1){h[o|0]=k[j[n+92>>2]];e=j[n+92>>2];j[n+92>>2]=e+2;h[o+1|0]=k[e+2|0];j[n+92>>2]=j[n+92>>2]+2;h[g|0]=k[c|0];h[d|0]=k[s|0];d=d+f|0;g=f+g|0;s=s+4|0;c=c+4|0;o=o+2|0;q=q+2|0;if((b|0)>(q|0)){continue}break}j[n+88>>2]=c;j[n+72>>2]=o;j[n+68>>2]=g;j[n+84>>2]=s;j[n+64>>2]=d;a=a&-2}if((a|0)!=(b|0)){break a}h[o|0]=k[j[n+92>>2]];h[j[n+68>>2]]=k[j[n+88>>2]];h[j[n+64>>2]]=k[j[n+84>>2]];break a}a=Gg(c);D=n,E=Gg(f),j[D+20>>2]=E;j[n+16>>2]=a;t=ve(99669,n+16|0);break a}t=sj(a,b,d,e,g,m,1);break a}if(!b){break a}a=(a+1|0)/2<<2;while(1){Ge(g,d,a);g=g+m|0;d=d+e|0;b=b-1|0;if(b){continue}break}}oe=n+96|0;return t}function $x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;a:{o=k[a+63|0];if(!o){break a}x=j[a+28>>2];if(!x){break a}y=j[a+36>>2];z=j[a+16>>2];c=j[a+24>>2];A=c&3;B=(c+3|0)/4|0;n=j[a>>2];g=j[a+20>>2];d=j[a+40>>2];u=k[d+9|0];w=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=B;b:{c:{switch(A-1|0){default:m=3;break b;case 0:m=2;break b;case 1:m=1;break b;case 2:break c}}m=0}while(1){d:{e:{switch(m|0){case 0:m=0;e=0;f=0;c=0;f:{g:{h:{switch(w|0){case 0:c=k[n|0];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break g;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break g;case 3:break h;default:break f}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;i:{j:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;k:{l:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break k;case 3:break l;default:break k}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break n;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break n;case 3:break o;default:break m}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;p:{q:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;r:{s:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break r;case 3:break s;default:break r}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break u;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break u;case 3:break v;default:break t}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;w:{x:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;y:{z:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break y;case 3:break z;default:break y}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 1:c=l[n>>1];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0;break B;case 2:e=(k[d+34|0]>>>3|0)+n|0;f=(k[d+33|0]>>>3|0)+n|0;c=(k[d+32|0]>>>3|0)+n|0;break B;case 3:break C;default:break A}}c=j[n>>2];e=j[(k[d+30|0]<<2)+234976>>2]+((c&j[d+20>>2])>>>k[d+34|0]|0)|0;f=j[(k[d+29|0]<<2)+234976>>2]+((c&j[d+16>>2])>>>k[d+33|0]|0)|0;c=j[(k[d+28|0]<<2)+234976>>2]+((c&j[d+12>>2])>>>k[d+32|0]|0)|0}e=k[e|0];f=k[f|0];c=k[c|0]}q=e&255;r=f&255;s=c;e=0;f=0;c=0;D:{E:{switch(t|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:e=k[(k[b+34|0]>>>3|0)+g|0];f=k[(k[b+33|0]>>>3|0)+g|0];c=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];f=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}m=(m+o|0)-((p(m,o)>>>0)/255|0)&255;q=((p(q-(e&255)|0,o)|0)/255|0)+e|0;e=q&255;r=((p(r-(f&255)|0,o)|0)/255|0)+f|0;f=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;F:{G:{switch(t|0){case 0:h[g|0]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=s;h[(k[b+33|0]>>>3|0)+g|0]=r;h[(k[b+34|0]>>>3|0)+g|0]=q;break F;case 3:break G;default:break F}}j[g>>2]=f>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>0<=244){g=j[67128];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=j[f+268560>>2];a=b+8|0;d=j[b+8>>2];f=f+268552|0;m:{if((d|0)==(f|0)){q=268512,r=mP(-2,c)&g,j[q>>2]=r;break m}j[d+12>>2]=f;j[f+8>>2]=d}c=c<<3;j[b+4>>2]=c|3;b=b+c|0;j[b+4>>2]=j[b+4>>2]|1;break a}i=j[67130];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=j[d+268560>>2];a=j[b+8>>2];d=d+268552|0;n:{if((a|0)==(d|0)){g=mP(-2,c)&g;j[67128]=g;break n}j[a+12>>2]=d;j[d+8>>2]=a}a=b+8|0;j[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;j[e+4>>2]=f|1;j[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[b+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=c}j[67133]=e;j[67130]=f;break a}n=j[67129];if(!n){break l}a=(n&0-n)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=j[((c|b)+(a>>>b|0)<<2)+268816>>2];e=(j[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=j[c+16>>2];if(!a){a=j[c+20>>2];if(!a){break p}}d=(j[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}o=b+f|0;if(o>>>0<=b>>>0){break k}l=j[b+24>>2];d=j[b+12>>2];if((d|0)!=(b|0)){a=j[b+8>>2];j[a+12>>2]=d;j[d+8>>2]=a;break b}c=b+20|0;a=j[c>>2];if(!a){a=j[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=j[c>>2];if(a){continue}c=d+16|0;a=j[d+16>>2];if(a){continue}break}j[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=j[67129];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=j[(h<<2)+268816>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(j[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=j[c+20>>2];c=j[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=j[((c|b)+(a>>>b|0)<<2)+268816>>2]}if(!a){break q}}while(1){c=(j[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=j[a+16>>2];if(b){a=b}else{a=j[a+20>>2]}if(a){continue}break}}if(!d|j[67130]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}l=j[d+24>>2];b=j[d+12>>2];if((d|0)!=(b|0)){a=j[d+8>>2];j[a+12>>2]=b;j[b+8>>2]=a;break c}c=d+20|0;a=j[c>>2];if(!a){a=j[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=j[c>>2];if(a){continue}c=b+16|0;a=j[b+16>>2];if(a){continue}break}j[g>>2]=0;break c}b=j[67130];if(b>>>0>=f>>>0){a=j[67133];c=b-f|0;u:{if(c>>>0>=16){j[67130]=c;d=a+f|0;j[67133]=d;j[d+4>>2]=c|1;j[a+b>>2]=c;j[a+4>>2]=f|3;break u}j[67133]=0;j[67130]=0;j[a+4>>2]=b|3;b=a+b|0;j[b+4>>2]=j[b+4>>2]|1}a=a+8|0;break a}d=j[67131];if(d>>>0>f>>>0){b=d-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(j[67246]){b=j[67248]}else{j[67249]=-1;j[67250]=-1;j[67247]=4096;j[67248]=4096;j[67246]=p+12&-16^1431655768;j[67251]=0;j[67239]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=j[67238];if(i){l=j[67236];b=l+c|0;if(b>>>0<=l>>>0|b>>>0>i>>>0){break a}}if(k[268956]&4){break f}v:{w:{b=j[67134];if(b){a=268960;while(1){i=j[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=j[a+8>>2];if(a){continue}break}}b=Jh(0);if((b|0)==-1){break g}g=c;a=j[67247];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=j[67238];if(d){h=j[67236];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=Jh(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=Jh(g);if((b|0)==(j[a>>2]+j[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=j[67248];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Jh(b)|0)!=-1){g=b+g|0;b=a;break e}Jh(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}z()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}j[67239]=j[67239]|4}if(c>>>0>2147483646){break d}b=Jh(c);a=Jh(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=j[67236]+g|0;j[67236]=a;if(a>>>0>m[67237]){j[67237]=a}x:{y:{z:{e=j[67134];if(e){a=268960;while(1){c=j[a>>2];d=j[a+4>>2];if((c+d|0)==(b|0)){break z}a=j[a+8>>2];if(a){continue}break}break y}a=j[67132];if(!(a>>>0<=b>>>0?a:0)){j[67132]=b}a=0;j[67241]=g;j[67240]=b;j[67136]=-1;j[67137]=j[67246];j[67243]=0;while(1){c=a<<3;d=c+268552|0;j[c+268560>>2]=d;j[c+268564>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;j[67131]=d;c=b+c|0;j[67134]=c;j[c+4>>2]=d|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];break x}if(j[a+12>>2]&8|(b>>>0<=e>>>0|c>>>0>e>>>0)){break y}j[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;j[67134]=b;c=j[67131]+g|0;a=c-a|0;j[67131]=a;j[b+4>>2]=a|1;j[(c+e|0)+4>>2]=40;j[67135]=j[67250];break x}d=j[67132];if(d>>>0>b>>>0){j[67132]=b;d=0}c=b+g|0;a=268960;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=j[a>>2]){a=j[a+8>>2];if(a){continue}break F}break}if(!(k[a+12|0]&8)){break E}}a=268960;while(1){c=j[a>>2];if(c>>>0<=e>>>0){d=c+j[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=j[a+8>>2];continue}}j[a>>2]=b;j[a+4>>2]=j[a+4>>2]+g;l=(b+8&7?-8-b&7:0)+b|0;j[l+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-l|0)-f|0;h=f+l|0;if((b|0)==(e|0)){j[67134]=h;a=j[67131]+a|0;j[67131]=a;j[h+4>>2]=a|1;break B}if(j[67133]==(b|0)){j[67133]=h;a=j[67130]+a|0;j[67130]=a;j[h+4>>2]=a|1;j[a+h>>2]=a;break B}c=j[b+4>>2];if((c&3)==1){n=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=j[b+8>>2];d=j[b+12>>2];if((d|0)==(c|0)){q=268512,r=j[67128]&mP(-2,f),j[q>>2]=r;break G}j[c+12>>2]=d;j[d+8>>2]=c;break G}i=j[b+24>>2];g=j[b+12>>2];H:{if((g|0)!=(b|0)){c=j[b+8>>2];j[c+12>>2]=g;j[g+8>>2]=c;break H}I:{e=b+20|0;f=j[e>>2];if(f){break I}e=b+16|0;f=j[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=j[e>>2];if(f){continue}e=g+16|0;f=j[g+16>>2];if(f){continue}break}j[c>>2]=0}if(!i){break G}c=j[b+28>>2];d=(c<<2)+268816|0;J:{if(j[d>>2]==(b|0)){j[d>>2]=g;if(g){break J}q=268516,r=j[67129]&mP(-2,c),j[q>>2]=r;break G}j[i+(j[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}j[g+24>>2]=i;c=j[b+16>>2];if(c){j[g+16>>2]=c;j[c+24>>2]=g}c=j[b+20>>2];if(!c){break G}j[g+20>>2]=c;j[c+24>>2]=g}b=b+n|0;a=a+n|0}j[b+4>>2]=j[b+4>>2]&-2;j[h+4>>2]=a|1;j[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}j[h+28>>2]=e;j[h+16>>2]=0;j[h+20>>2]=0;b=(e<<2)+268816|0;c=j[67129];d=1<>2]=h;j[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[b>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=j[d+16>>2];if(b){continue}break}j[d+16>>2]=h;j[h+24>>2]=c}j[h+12>>2]=h;j[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;j[67131]=h;c=b+c|0;j[67134]=c;j[c+4>>2]=h|1;j[(a+b|0)+4>>2]=40;j[67135]=j[67250];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;j[c+4>>2]=27;a=j[67243];j[c+16>>2]=j[67242];j[c+20>>2]=a;a=j[67241];j[c+8>>2]=j[67240];j[c+12>>2]=a;j[67242]=c+8;j[67241]=g;j[67240]=b;j[67243]=0;a=c+24|0;while(1){j[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}j[c+4>>2]=j[c+4>>2]&-2;d=c-e|0;j[e+4>>2]=d|1;j[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=e;j[b+12>>2]=e;j[e+12>>2]=a;j[e+8>>2]=b;break x}a=31;j[e+16>>2]=0;j[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}j[e+28>>2]=a;b=(a<<2)+268816|0;c=j[67129];g=1<>2]=e;j[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=j[b>>2];while(1){c=b;if((d|0)==(j[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=e;j[e+24>>2]=c}j[e+12>>2]=e;j[e+8>>2]=e;break x}a=j[c+8>>2];j[a+12>>2]=h;j[c+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=c;j[h+8>>2]=a}a=l+8|0;break a}a=j[c+8>>2];j[a+12>>2]=e;j[c+8>>2]=e;j[e+24>>2]=0;j[e+12>>2]=c;j[e+8>>2]=a}a=j[67131];if(a>>>0<=f>>>0){break d}b=a-f|0;j[67131]=b;a=j[67134];c=a+f|0;j[67134]=c;j[c+4>>2]=b|1;j[a+4>>2]=f|3;a=a+8|0;break a}j[67100]=48;a=0;break a}O:{if(!l){break O}a=j[d+28>>2];c=(a<<2)+268816|0;P:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break P}i=mP(-2,a)&i;j[67129]=i;break O}j[l+(j[l+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}j[b+24>>2]=l;a=j[d+16>>2];if(a){j[b+16>>2]=a;j[a+24>>2]=b}a=j[d+20>>2];if(!a){break O}j[b+20>>2]=a;j[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;j[d+4>>2]=a|3;a=a+d|0;j[a+4>>2]=j[a+4>>2]|1;break Q}j[d+4>>2]=f|3;j[h+4>>2]=e|1;j[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+268552|0;c=j[67128];b=1<>2]}j[a+8>>2]=h;j[b+12>>2]=h;j[h+12>>2]=a;j[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}j[h+28>>2]=a;j[h+16>>2]=0;j[h+20>>2]=0;b=(a<<2)+268816|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=j[b>>2];while(1){b=f;if((j[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=j[c+16>>2];if(f){continue}break}j[c+16>>2]=h}j[h+24>>2]=b;j[h+12>>2]=h;j[h+8>>2]=h;break Q}a=j[b+8>>2];j[a+12>>2]=h;j[b+8>>2]=h;j[h+24>>2]=0;j[h+12>>2]=b;j[h+8>>2]=a}a=d+8|0;break a}U:{if(!l){break U}a=j[b+28>>2];c=(a<<2)+268816|0;V:{if(j[c>>2]==(b|0)){j[c>>2]=d;if(d){break V}q=268516,r=mP(-2,a)&n,j[q>>2]=r;break U}j[l+(j[l+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}j[d+24>>2]=l;a=j[b+16>>2];if(a){j[d+16>>2]=a;j[a+24>>2]=d}a=j[b+20>>2];if(!a){break U}j[d+20>>2]=a;j[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;j[b+4>>2]=a|3;a=a+b|0;j[a+4>>2]=j[a+4>>2]|1;break W}j[b+4>>2]=f|3;j[o+4>>2]=e|1;j[e+o>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+268552|0;d=j[67133];c=1<>2]}j[a+8>>2]=d;j[c+12>>2]=d;j[d+12>>2]=a;j[d+8>>2]=c}j[67133]=o;j[67130]=e}a=b+8|0}oe=p+16|0;return a|0}function Iz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|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;q=j[a+4>>2];if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}t=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=(o|0)!=0;c=a+(b<<1)|0;a=d-b|0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];b=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];while(1){f=l[c>>1];i[c>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>b|0)|0])>>>0)/255|0)+m>>>n<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];w=k[r+((e&z)>>>c|0)|0]+h|0;x=(w>>>0<255?w:255)>>>s<>>d|0)|0]+g|0;e=k[o+((e&y)>>>a|0)|0]+m|0;i[n>>1]=v|(x|(w>>>0<255?w:255)>>>t<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];c=k[q+33|0];z=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];while(1){e=l[n>>1];i[n>>1]=v|((p(k[r+((e&z)>>>c|0)|0],h)>>>0)/255>>>s<>>d|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[q+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<1)|0;a=(o|0)!=0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;c=b-d|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];c=k[q+34|0];z=j[q+20>>2];d=k[q+33|0];w=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];x=f<<1;while(1){f=l[b>>1];i[b>>1]=y|(((p(t,k[r+((f&w)>>>d|0)|0])>>>0)/255|0)+h>>>s<>>e|0)|0])>>>0)/255|0)+g>>>u<>>c|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];x=k[t+((e&w)>>>c|0)|0]+h|0;A=(x>>>0<255?x:255)>>>r<>>d|0)|0]+g|0;e=k[s+((e&z)>>>a|0)|0]+m|0;i[n>>1]=y|(A|(x>>>0<255?x:255)>>>u<>>0<255?e:255)>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}o=k[q+30|0];s=j[(o<<2)+234976>>2];r=k[q+29|0];t=j[(r<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];a=k[q+34|0];z=j[q+20>>2];c=k[q+33|0];w=j[q+16>>2];d=k[q+32|0];q=j[q+12>>2];f=f<<1;while(1){e=l[n>>1];i[n>>1]=y|((p(k[t+((e&w)>>>c|0)|0],h)>>>0)/255>>>r<>>d|0)|0],g)>>>0)/255>>>u<>>a|0)|0],m)>>>0)/255>>>o<>2]/k[q+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}v=b-d|0;n=v>>31;s=c-e|0;r=s>>31;if((n^n+v)==(r^r+s)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[q+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}n=k[q+30|0];o=j[(n<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];u=k[q+28|0];v=j[(u<<2)+234976>>2];y=j[q+24>>2];d=k[q+34|0];z=j[q+20>>2];e=k[q+33|0];w=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];x=c<<1;while(1){c=l[a>>1];i[a>>1]=y|(((p(t,k[r+((c&w)>>>e|0)|0])>>>0)/255|0)+h>>>s<>>f|0)|0])>>>0)/255|0)+g>>>u<>>d|0)|0])>>>0)/255|0)+m>>>n<>2]/k[q+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];x=k[r+((c&z)>>>d|0)|0]+h|0;A=(x>>>0<255?x:255)>>>s<>>e|0)|0]+g|0;c=k[o+((c&y)>>>a|0)|0]+m|0;i[n>>1]=v|(A|(x>>>0<255?x:255)>>>t<>>0<255?c:255)>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+s|0;if(!b){break a}f=k[q+30|0];o=j[(f<<2)+234976>>2];s=k[q+29|0];r=j[(s<<2)+234976>>2];t=k[q+28|0];u=j[(t<<2)+234976>>2];v=j[q+24>>2];a=k[q+34|0];y=j[q+20>>2];d=k[q+33|0];z=j[q+16>>2];e=k[q+32|0];q=j[q+12>>2];w=c<<1;while(1){c=l[n>>1];i[n>>1]=v|((p(k[r+((c&z)>>>d|0)|0],h)>>>0)/255>>>s<>>e|0)|0],g)>>>0)/255>>>t<>>a|0)|0],m)>>>0)/255>>>f<>2]/k[q+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;s=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+s|0;if(!c){break a}a=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;r=e-c|0;s=r>>31;n=f^f+n;r=s^r+s;r:{if((n|0)>=(r|0)){v=r-n|0;s=r<<1;f=s-n|0;r=1;break r}v=n-r|0;u=1;s=n<<1;f=s-r|0;n=r;r=0}y=((o|0)!=0)+n|0;if(!y){break a}e=(c|0)>(e|0);u=e?0-u|0:u;d=(b|0)>(d|0);r=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];e=k[q+34|0];H=j[q+20>>2];n=k[q+33|0];I=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;d=l[K>>1];i[K>>1]=G|(((p(t,k[D+((d&I)>>>n|0)|0])>>>0)/255|0)+h>>>A<>>o|0)|0])>>>0)/255|0)+g>>>B<>>e|0)|0])>>>0)/255|0)+m>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;s:{if((f|0)>=(r|0)){v=r-f|0;s=r<<1;n=s-f|0;t=0;r=1;break s}v=f-r|0;t=1;s=f<<1;n=s-r|0;f=r;r=0}u=((o|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);y=d?0-r|0:r;z=e?-1:1;w=d?-1:1;v=v<<1;x=k[q+30|0];C=j[(x<<2)+234976>>2];A=k[q+29|0];D=j[(A<<2)+234976>>2];B=k[q+28|0];F=j[(B<<2)+234976>>2];G=j[q+24>>2];d=k[q+34|0];H=j[q+20>>2];e=k[q+33|0];I=j[q+16>>2];f=k[q+32|0];q=j[q+12>>2];J=j[a+16>>2];E=j[a+20>>2];a=0;while(1){K=(E+p(c,J)|0)+(b<<1)|0;o=l[K>>1];r=k[D+((o&I)>>>e|0)|0]+h|0;L=(r>>>0<255?r:255)>>>A<>>f|0)|0]+g|0;o=k[C+((o&H)>>>d|0)|0]+m|0;i[K>>1]=G|(L|(r>>>0<255?r:255)>>>B<>>0<255?o:255)>>>x<>31;r=e-c|0;n=r>>31;f=f^f+s;r=n^n+r;t:{if((f|0)>=(r|0)){u=r-f|0;t=1;s=r<<1;n=s-f|0;r=0;break t}u=f-r|0;s=f<<1;n=s-r|0;t=0;f=r;r=1}v=((o|0)!=0)+f|0;if(!v){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);t=d?0-t|0:t;y=e?-1:1;z=d?-1:1;u=u<<1;w=k[q+30|0];x=j[(w<<2)+234976>>2];C=k[q+29|0];A=j[(C<<2)+234976>>2];D=k[q+28|0];B=j[(D<<2)+234976>>2];F=j[q+24>>2];e=k[q+34|0];G=j[q+20>>2];f=k[q+33|0];H=j[q+16>>2];o=k[q+32|0];q=j[q+12>>2];I=j[a+16>>2];J=j[a+20>>2];a=0;while(1){E=(J+p(c,I)|0)+(b<<1)|0;d=l[E>>1];i[E>>1]=F|((p(k[A+((d&H)>>>f|0)|0],h)>>>0)/255>>>C<>>o|0)|0],g)>>>0)/255>>>D<>>e|0)|0],m)>>>0)/255>>>w<>31;r=e-c|0;n=r>>31;s=f^f+s;r=n^n+r;u:{if((s|0)>=(r|0)){u=r-s|0;t=1;f=r<<1;n=f-s|0;r=0;break u}u=s-r|0;f=s<<1;n=f-r|0;t=0;s=r;r=1}o=((o|0)!=0)+s|0;if(!o){break a}e=(c|0)>(e|0);s=e?0-r|0:r;d=(b|0)>(d|0);r=d?0-t|0:t;e=e?-1:1;d=d?-1:1;t=u<<1;g=j[q+24>>2]|(h>>>k[q+29|0]<>>k[q+28|0]<>>k[q+30|0]<>2];q=j[a+20>>2];m=0;while(1){i[(q+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?r:d)+b|0;c=(a?s:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function ON(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,m=0,n=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;n=oe-48|0;oe=n;u=j[b+100>>2];d=Fe(a,0);j[n+36>>2]=d;a:{if(d){break a}j[n+24>>2]=0;j[n+28>>2]=8;j[n+16>>2]=1;j[n+20>>2]=1;j[n+40>>2]=0;m=He(u,139324,n+40|0);b:{c:{d:{d=j[n+40>>2];if(!d){j[m+139320>>2]=u;i[m+12>>1]=32767;j[m+139304>>2]=0;j[m+139308>>2]=0;j[m+139316>>2]=u;j[m+139312>>2]=0;j[m+36>>2]=n+16;v=j[a+28>>2];j[n+44>>2]=0;d=1024;t=xe(v,1,0,1024,0,n+44|0);if(j[n+44>>2]){break d}j[n>>2]=600;h[t|0]=0;r=256;e=0;w=1;e:while(1){g=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){q=Dm(a,e+t|0,g-e|0);o=q+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(o|0)){break j}x=d+t|0;f=h[x|0];if((r|0)==(f|0)){break g}s=d;while(1){k:{y=f&255;switch(y-10|0){case 0:case 3:break i;default:break k}}s=s+1|0;if((s|0)==(o|0)){break j}f=k[s+t|0];continue}}if(!q){break d}if(!d){if(g>>>0<65536){break h}j[n+44>>2]=6;break d}q=o-d|0;zg(t,d+t|0,q);e=q;o=d;continue f}r=s+t|0;h[r|0]=0;l:{m:{switch(k[x|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(s|0)){break l}z=s-d|0;d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d;if((d|0)==-1){d=qe[j[n>>2]](x,z,w,n,m)|0;j[n+44>>2]=d}if(d){break d}}h[r|0]=f;r=(y|0)==10?13:(y|0)==13?10:256;f=1;d=s+1|0;w=w+1|0;continue}d=g<<1;t=xe(v,1,g,d,t,n+44|0);e=g;if(!j[n+44>>2]){continue e}break d}f=1;d=d+1|0;r=256;continue}}}}e=0;if(!m){break b}break c}if(t){qe[j[v+8>>2]](v,t)}a=j[n+44>>2];j[n+40>>2]=a;e=j[m+32>>2];n:{if(a){break n}o:{p:{if(e){if(j[e+28>>2]!=8){i[e+32>>1]=l[e+4>>1]}a=j[e+64>>2];d=j[e+52>>2];if(j[m+4>>2]!=(a+d|0)){i[e+278660>>1]=1}q:{if(!(a|d)|!j[j[m+36>>2]>>2]){break q}a=i[m+12>>1];d=i[m+16>>1]-a|0;if((d|0)!=l[e+4>>1]){i[e+278660>>1]=1;i[e+4>>1]=d}if(l[e+8>>1]!=(a&65535)){i[e+278660>>1]=1;i[e+8>>1]=a}a=l[m+18>>1];d=a<<16;if((a|0)!=l[e+12>>1]){i[e+278660>>1]=1;i[e+12>>1]=a}a=l[m+20>>1];g=a<<16>>16;if((a|0)!=l[e+14>>1]){i[e+278660>>1]=1;i[e+14>>1]=a;i[e+10>>1]=0-a}a=g+(d>>16)|0;if((a|0)==l[e+6>>1]){break q}i[e+6>>1]=a}d=j[m>>2];if(d&1){break p}a=j[e+88>>2];if(!a){break c}a=xe(j[e+278664>>2],1,a,a+1|0,j[e+84>>2],n+40|0);e=j[m+32>>2];j[e+84>>2]=a;if(j[n+40>>2]){break n}h[a+j[e+88>>2]|0]=0;e=j[m+32>>2];break c}d=j[m>>2];if(!(d&1)){break o}}if(!(d&32)){j[n+40>>2]=185;e=0;break c}j[n+40>>2]=186;e=0;break c}j[n+40>>2]=3;e=0;break c}Or(e);a=j[m+32>>2];if(a){qe[j[u+8>>2]](u,a)}e=0;j[m+32>>2]=0}d=j[m+139316>>2];if(d){a=m+139304|0;g=j[a>>2];if(g){qe[j[d+8>>2]](d,g)}j[a+8>>2]=0;j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}if(m){qe[j[u+8>>2]](u,m)}d=j[n+40>>2]}j[n+36>>2]=d;r:{s:{if((d&255)!=176){if(d){break a}j[b+140>>2]=e;if((c|0)>=1){ym(b);d=6;break a}j[b>>2]=1;j[b+4>>2]=0;c=j[b+8>>2];j[b+8>>2]=c|146;if(!e){break s}g=j[e+72>>2];if(!g){break s}d=j[e+128>>2];a=j[d+12>>2];m=j[d+4>>2];f=a+(3000791075%(m>>>0)<<2)|0;d=j[f>>2];if(d){m=(a+(m<<2)|0)-4|0;t:{while(1){u:{q=j[d>>2];if(k[q|0]==83){if(!we(q,116880)){break u}}d=f-4|0;f=a>>>0>d>>>0?m:d;d=j[f>>2];if(d){continue}break t}break}a=j[e+80>>2];if(!a){break t}a=a+(j[d+4>>2]<<4)|0;if(j[a+4>>2]!=1){break t}a=j[a+12>>2];if(!a){break t}v:{w:{a=k[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break t;case 0:case 10:break v;default:break w}}switch(a-99|0){case 0:case 10:break v;default:break t}}j[b+8>>2]=c|150}if(!g){break s}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1183963782%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break s}c=(a+(c<<2)|0)-4|0;while(1){x:{g=j[d>>2];if(k[g|0]==70){if(!we(g,116888)){break x}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break s}break}a=j[e+80>>2];if(!a){break s}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2];if(!a){break s}A=b,B=gg(u,a,n+36|0),j[A+20>>2]=B;d=j[n+36>>2];if(d){break a}a=j[b+140>>2];break r}ym(b);d=2;break a}j[b+20>>2]=0;a=e}o=0;j[n>>2]=0;j[b+12>>2]=0;x=j[b+100>>2];q=1;c=a;y:{z:{if(!(!a|!j[a+72>>2])){w=0;a=0;g=2;d=j[c+128>>2];q=j[d+12>>2];o=j[d+4>>2];r=q+(78981326%(o>>>0)<<2)|0;f=j[r>>2];A:{if(!f){break A}a=(q+(o<<2)|0)-4|0;B:{while(1){d=j[f>>2];if(k[d|0]==83){if(!we(d,119285)){break B}}d=r-4|0;r=d>>>0>>0?a:d;f=j[r>>2];if(f){continue}break}a=0;break A}a=j[c+80>>2];if(!a){a=0;break A}d=a+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){a=0;break A}f=j[d+12>>2];if(!f){a=0;break A}a=0;C:{switch(k[f|0]-73|0){case 0:case 6:case 32:case 38:break C;default:break A}}j[b+12>>2]=1;a=(k[j[d+12>>2]]&223)==79?119850:119858;g=3}t=1;r=q+(4260511730%(o>>>0)<<2)|0;f=j[r>>2];D:{if(!f){break D}d=(q+(o<<2)|0)-4|0;while(1){E:{m=j[f>>2];if(k[m|0]==87){if(!we(m,119471)){break E}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break D}break}d=j[c+80>>2];if(!d){break D}d=d+(j[f+4>>2]<<4)|0;if(j[d+4>>2]!=1){break D}d=j[d+12>>2];if(!d|(k[d|0]|32)!=98){break D}j[b+12>>2]=g;w=119865;t=0}m=0;r=q+(41411398%(o>>>0)<<2)|0;f=j[r>>2];g=0;F:{if(!f){break F}d=(q+(o<<2)|0)-4|0;G:{while(1){g=j[f>>2];if(k[g|0]==83){if(!we(g,119271)){break G}}g=r-4|0;r=g>>>0>>0?d:g;f=j[r>>2];if(f){continue}break}g=0;break F}d=j[c+80>>2];g=0;if(!d){break F}d=d+(j[f+4>>2]<<4)|0;g=0;if(j[d+4>>2]!=1){break F}d=j[d+12>>2];g=0;if(!d){break F}f=k[d|0];g=0;if(!f){break F}g=0;if((f|0)==78){break F}g=0;if((f|0)==110){break F}g=d}r=q+(657458935%(o>>>0)<<2)|0;f=j[r>>2];H:{I:{if(!f){break I}d=(q+(o<<2)|0)-4|0;J:{while(1){K:{o=j[f>>2];if(k[o|0]==65){if(!we(o,118480)){break K}}f=r-4|0;r=f>>>0>>0?d:f;f=j[r>>2];if(f){continue}break J}break}c=j[c+80>>2];if(!c){break J}r=0;c=c+(j[f+4>>2]<<4)|0;d=0;if(j[c+4>>2]!=1){break H}c=j[c+12>>2];if(!c){break J}f=k[c|0];if(!f|(f|0)==78){break I}d=0;if((f|0)==110){break H}m=c;r=Le(c);d=r+1|0;break H}}r=0;d=0}s=0;L:{if(t){v=0;break L}v=Le(w);d=(v+d|0)+1|0}if(a){s=Le(a);d=(s+d|0)+1|0}M:{if(!g){o=0;break M}o=Le(g);d=(o+d|0)+1|0}q=!a;c=!g;f=c;if(!d){break z}break y}g=0;v=0;w=0;t=1;a=0;s=0;f=1}c=f;d=8;r=7;m=119870}f=He(x,d,n);j[b+24>>2]=f;d=j[n>>2];if(d){j[n+36>>2]=d;break a}if(m){f=Ae(f,m,r);if(r){d=0;while(1){m=d+f|0;if(k[m|0]==32){h[m|0]=45}d=d+1|0;if((r|0)!=(d|0)){continue}break}}f=f+r|0}if(!t){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,w,v)+v|0}if(!q){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}f=Ae(f,a,s)+s|0}if(!c){if(j[b+24>>2]!=(f|0)){h[f|0]=32;f=f+1|0}a=Ae(f,g,o);if(o){d=0;while(1){c=a+d|0;if(k[c|0]==32){h[c|0]=45}d=d+1|0;if((o|0)!=(d|0)){continue}break}}f=a+o|0}h[f|0]=0;d=j[n>>2];j[n+36>>2]=d;if(d){break a}a=j[e+48>>2];j[b+28>>2]=1;j[b+16>>2]=a+1;c=xe(u,16,0,1,0,n+36|0);j[b+32>>2]=c;d=j[n+36>>2];if(d){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;m=j[e+44>>2]+j[e+40>>2]|0;i[c>>1]=m;g=c;N:{O:{q=j[e+72>>2];if(!q){break O}d=j[e+128>>2];a=j[d+12>>2];o=j[d+4>>2];f=a+(3825651940%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break O}o=(a+(o<<2)|0)-4|0;while(1){P:{s=j[d>>2];if(k[s|0]==65){if(!we(s,116900)){break P}}d=f-4|0;f=a>>>0>d>>>0?o:d;d=j[f>>2];if(d){continue}break O}break}a=j[e+80>>2];if(!a){break O}a=(j[(a+(j[d+4>>2]<<4)|0)+12>>2]+5|0)/10|0;break N}a=(m<<16>>15)/3|0}i[g+2>>1]=a;m=c;Q:{R:{if(!e|!q){break R}d=j[e+128>>2];g=j[d+12>>2];o=j[d+4>>2];f=g+(1780881776%(o>>>0)<<2)|0;d=j[f>>2];if(!d){break R}o=(g+(o<<2)|0)-4|0;while(1){S:{s=j[d>>2];if(k[s|0]==80){if(!we(s,116914)){break S}}d=f-4|0;f=d>>>0>>0?o:d;d=j[f>>2];if(d){continue}break R}break}g=j[e+80>>2];if(!g){break R}g=(p(j[(g+(j[d+4>>2]<<4)|0)+12>>2],460800)+36135|0)/72270|0;break Q}g=a<<16>>10}j[m+4>>2]=g;T:{if(!e){j[c+12>>2]=g;break T}if(!q){j[c+12>>2]=g;break T}m=0;a=0;d=j[e+128>>2];o=j[d+12>>2];U:{V:{s=j[d+4>>2];f=o+(486426170%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break V}a=(o+(s<<2)|0)-4|0;W:{X:{while(1){s=j[d>>2];if(k[s|0]==80){if(!we(s,116925)){break X}}d=f-4|0;f=d>>>0>>0?a:d;d=j[f>>2];if(d){continue}break}a=0;break W}a=j[e+80>>2];if(!a){a=0;break W}a=j[(a+(j[d+4>>2]<<4)|0)+12>>2]<<16>>10;j[c+12>>2]=a}if(q){break V}q=0;break U}d=j[e+128>>2];o=j[d+12>>2];Y:{s=j[d+4>>2];f=o+(2286220677%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break Y}m=(o+(s<<2)|0)-4|0;Z:{_:{while(1){s=j[d>>2];if(k[s|0]==82){if(!we(s,116936)){break _}}d=f-4|0;f=d>>>0>>0?m:d;d=j[f>>2];if(d){continue}break}m=0;break Z}f=j[e+80>>2];m=0;if(!f){break Z}m=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(q){break Y}q=0;break U}q=0;d=j[e+128>>2];o=j[d+12>>2];s=j[d+4>>2];f=o+(2286220678%(s>>>0)<<2)|0;d=j[f>>2];if(!d){break U}s=(o+(s<<2)|0)-4|0;while(1){$:{r=j[d>>2];if(k[r|0]==82){if(!we(r,116949)){break $}}d=f-4|0;f=d>>>0>>0?s:d;d=j[f>>2];if(d){continue}break U}break}f=j[e+80>>2];if(!f){break U}q=j[(f+(j[d+4>>2]<<4)|0)+12>>2]}if(!a){j[c+12>>2]=g;if(!(q&65535)){break T}a=(p(q<<16>>16,g)|0)/72|0;j[c+12>>2]=a}d=m<<16;if(!d){g=a;break T}if(!(q&65535)){g=a;break T}g=(p(d>>16,a)|0)/(q<<16>>16)|0}j[c+8>>2]=g;c=j[e+56>>2];g=xe(u,8,0,j[e+48>>2],0,n+36|0);j[b+144>>2]=g;d=j[n+36>>2];if(d){break a}j[b+164>>2]=0;f=j[e+48>>2];if(f){m=j[e+36>>2];d=0;while(1){a=j[(c+p(d,36)|0)+4>>2];q=g+(d<<3)|0;i[q+4>>1]=d;j[q>>2]=a;if((a|0)==(m|0)){j[b+164>>2]=d}d=d+1|0;if((f|0)!=(d|0)){continue}break}}aa:{c=j[e+72>>2];if(!c){break aa}d=j[e+128>>2];a=j[d+12>>2];g=j[d+4>>2];f=a+(3781719536%(g>>>0)<<2)|0;d=j[f>>2];ba:{if(!d){g=0;break ba}g=(a+(g<<2)|0)-4|0;ca:{da:{while(1){m=j[d>>2];if(k[m|0]==67){if(!we(m,116962)){break da}}d=f-4|0;f=a>>>0>d>>>0?g:d;d=j[f>>2];if(d){continue}break}g=0;break ca}g=j[e+80>>2]+(j[d+4>>2]<<4)|0}if(!e|!c){break aa}}c=j[e+128>>2];a=j[c+12>>2];c=j[c+4>>2];f=a+(1888187142%(c>>>0)<<2)|0;d=j[f>>2];if(!d){break aa}c=(a+(c<<2)|0)-4|0;while(1){ea:{m=j[d>>2];if(k[m|0]==67){if(!we(m,116979)){break ea}}d=f-4|0;f=a>>>0>d>>>0?c:d;d=j[f>>2];if(d){continue}break aa}break}if(!g){break aa}a=j[e+80>>2];if(!a|j[g+4>>2]!=1){break aa}c=j[d+4>>2];if(!j[g+12>>2]|j[(a+(c<<4)|0)+4>>2]!=1){break aa}a=j[(a+(c<<4)|0)+12>>2];if(!a){break aa}A=b,B=gg(u,a,n+36|0),j[A+132>>2]=B;d=j[n+36>>2];if(d){break a}c=gg(u,j[g+12>>2],n+36|0);j[b+136>>2]=c;d=j[n+36>>2];if(d){break a}a=n;d=a;fa:{ga:{ha:{if((k[c|0]|32)!=105|(k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111){break ha}c=c+3|0;if(!we(c,116996)){break ga}if(we(c,117002)){break ha}if(!we(j[b+132>>2],117007)){break ga}}j[n>>2]=b;c=0;b=0;break fa}j[n>>2]=b;c=65539;b=1970170211}j[d+4>>2]=b;j[a+8>>2]=c;d=qg(117012,0,n,0);break a}j[n+4>>2]=1094995778;j[n+8>>2]=7;j[n>>2]=b;d=qg(117012,0,n,0);j[n+36>>2]=d;if(!j[b+36>>2]){break a}j[b+92>>2]=j[j[b+40>>2]>>2]}oe=n+48|0;return d|0}function Lz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=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;n=j[a+4>>2];if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];b=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){f=j[c>>2];j[c>>2]=j[n+24>>2]|(((p(q,k[r+((f&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>o<>2])>>>e|0)|0])>>>0)/255|0)+g>>>s<>2])>>>b|0)|0])>>>0)/255|0)+i>>>l<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];t=k[q+((e&j[n+16>>2])>>>c|0)|0]+h|0;u=(t>>>0<255?t:255)>>>o<>2])>>>d|0)|0]+g|0;e=k[m+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(u|(t>>>0<255?t:255)>>>r<>>0<255?e:255)>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>o<>2])>>>d|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]+(p(j[a+16>>2]/k[n+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=b|(a|j[n+24>>2]);l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];r=k[n+29|0];s=j[(r<<2)+234976>>2];t=k[n+28|0];u=j[(t<<2)+234976>>2];c=k[n+34|0];d=k[n+33|0];e=k[n+32|0];while(1){l=j[b>>2];j[b>>2]=j[n+24>>2]|(((p(q,k[s+((l&j[n+16>>2])>>>d|0)|0])>>>0)/255|0)+h>>>r<>2])>>>e|0)|0])>>>0)/255|0)+g>>>t<>2])>>>c|0)|0])>>>0)/255|0)+i>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];u=k[r+((e&j[n+16>>2])>>>c|0)|0]+h|0;v=(u>>>0<255?u:255)>>>q<>2])>>>d|0)|0]+g|0;e=k[o+((e&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>s<>>0<255?e:255)>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}m=k[n+30|0];o=j[(m<<2)+234976>>2];q=k[n+29|0];r=j[(q<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];a=k[n+34|0];c=k[n+33|0];d=k[n+32|0];while(1){e=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[r+((e&j[n+16>>2])>>>c|0)|0],h)>>>0)/255>>>q<>2])>>>d|0)|0],g)>>>0)/255>>>s<>2])>>>a|0)|0],i)>>>0)/255>>>m<>2]/k[n+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;l=u>>31;o=c-e|0;t=o>>31;if((l^l+u)==(t^o+t)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[n+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}l=k[n+30|0];m=j[(l<<2)+234976>>2];o=k[n+29|0];r=j[(o<<2)+234976>>2];s=k[n+28|0];t=j[(s<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];u=c<<2;while(1){c=j[a>>2];j[a>>2]=j[n+24>>2]|(((p(q,k[r+((c&j[n+16>>2])>>>e|0)|0])>>>0)/255|0)+h>>>o<>2])>>>f|0)|0])>>>0)/255|0)+g>>>s<>2])>>>d|0)|0])>>>0)/255|0)+i>>>l<>2]/k[n+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];u=k[q+((c&j[n+16>>2])>>>d|0)|0]+h|0;v=(u>>>0<255?u:255)>>>o<>2])>>>e|0)|0]+g|0;c=k[m+((c&j[n+20>>2])>>>a|0)|0]+i|0;j[l>>2]=j[n+24>>2]|(v|(u>>>0<255?u:255)>>>r<>>0<255?c:255)>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}f=k[n+30|0];m=j[(f<<2)+234976>>2];o=k[n+29|0];q=j[(o<<2)+234976>>2];r=k[n+28|0];s=j[(r<<2)+234976>>2];a=k[n+34|0];d=k[n+33|0];e=k[n+32|0];t=c<<2;while(1){c=j[l>>2];j[l>>2]=j[n+24>>2]|((p(k[q+((c&j[n+16>>2])>>>d|0)|0],h)>>>0)/255>>>o<>2])>>>e|0)|0],g)>>>0)/255>>>r<>2])>>>a|0)|0],i)>>>0)/255>>>f<>2]/k[n+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2]=d|(a|j[n+24>>2]);l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:o=d-b|0;f=o>>31;r=e-c|0;l=r>>31;o=f^f+o;l=l^l+r;r:{if((o|0)>=(l|0)){r=l-o|0;s=1;t=l<<1;f=t-o|0;l=0;break r}r=o-l|0;t=o<<1;f=t-l|0;o=l;l=1}o=((m|0)!=0)+o|0;if(!o){break a}e=(c|0)>(e|0);u=e?0-l|0:l;d=(b|0)>(d|0);C=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];e=k[n+34|0];l=k[n+33|0];m=k[n+32|0];B=j[a+20>>2];s=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[F>>2];j[F>>2]=j[n+24>>2]|(((p(q,k[A+((d&j[n+16>>2])>>>l|0)|0])>>>0)/255|0)+h>>>w<>2])>>>m|0)|0])>>>0)/255|0)+g>>>x<>2])>>>e|0)|0])>>>0)/255|0)+i>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;s:{if((f|0)>=(o|0)){r=o-f|0;s=1;t=o<<1;l=t-f|0;o=0;break s}r=f-o|0;t=f<<1;l=t-o|0;f=o;o=1}u=((m|0)!=0)+f|0;if(!u){break a}e=(c|0)>(e|0);C=e?0-o|0:o;d=(b|0)>(d|0);s=d?0-s|0:s;D=e?-1:1;y=d?-1:1;r=r<<1;v=k[n+30|0];z=j[(v<<2)+234976>>2];w=k[n+29|0];A=j[(w<<2)+234976>>2];x=k[n+28|0];E=j[(x<<2)+234976>>2];d=k[n+34|0];e=k[n+33|0];f=k[n+32|0];B=j[a+20>>2];o=0;while(1){F=(B+p(j[a+16>>2],c)|0)+(b<<2)|0;m=j[F>>2];q=k[A+((m&j[n+16>>2])>>>e|0)|0]+h|0;G=(q>>>0<255?q:255)>>>w<>2])>>>f|0)|0]+g|0;m=k[z+((m&j[n+20>>2])>>>d|0)|0]+i|0;j[F>>2]=j[n+24>>2]|(G|(q>>>0<255?q:255)>>>x<>>0<255?m:255)>>>v<>31;q=e-c|0;l=q>>31;f=f^f+o;o=l^l+q;t:{if((f|0)>=(o|0)){q=o-f|0;s=o<<1;l=s-f|0;o=1;break t}q=f-o|0;r=1;s=f<<1;l=s-o|0;f=o;o=0}t=((m|0)!=0)+f|0;if(!t){break a}e=(c|0)>(e|0);r=e?0-r|0:r;d=(b|0)>(d|0);u=d?0-o|0:o;C=e?-1:1;D=d?-1:1;q=q<<1;y=k[n+30|0];v=j[(y<<2)+234976>>2];z=k[n+29|0];w=j[(z<<2)+234976>>2];A=k[n+28|0];x=j[(A<<2)+234976>>2];e=k[n+34|0];f=k[n+33|0];m=k[n+32|0];E=j[a+20>>2];o=0;while(1){B=(E+p(j[a+16>>2],c)|0)+(b<<2)|0;d=j[B>>2];j[B>>2]=j[n+24>>2]|((p(k[w+((d&j[n+16>>2])>>>f|0)|0],h)>>>0)/255>>>z<>2])>>>m|0)|0],g)>>>0)/255>>>A<>2])>>>e|0)|0],i)>>>0)/255>>>y<>31;q=e-c|0;l=q>>31;o=f^f+o;q=l^l+q;u:{if((o|0)>=(q|0)){s=q-o|0;f=q<<1;l=f-o|0;q=1;break u}s=o-q|0;r=1;f=o<<1;l=f-q|0;o=q;q=0}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-r|0:r;d=(b|0)>(d|0);q=d?0-q|0:q;e=e?-1:1;r=d?-1:1;s=s<<1;g=h>>>k[n+29|0]<>>k[n+28|0]<>>k[n+30|0]<>2];i=0;while(1){j[(t+p(j[a+16>>2],c)|0)+(b<<2)>>2]=h|(g|j[n+24>>2]);d=(l|0)<0;l=(d?f:s)+l|0;b=(d?q:r)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}} -function Nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=j[a+28>>2];if(p){r=j[a+36>>2];s=j[a+16>>2];b=j[a+40>>2];i=b;c=j[a+24>>2];t=c&7;u=(c+7|0)/8|0;e=j[a>>2];a=j[a+20>>2];n=k[b+9|0];o=n-1|0;while(1){q=u;a:{b:{switch(t-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{switch(c|0){case 0:m=0;c=0;d=0;g=0;f=0;h=0;y:{z:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break u}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break w}break v;case 1:m=0;c=0;d=0;g=0;f=0;h=0;A:{B:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break A;case 3:break B;default:break r}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break t}break s;case 2:m=0;c=0;d=0;g=0;f=0;h=0;C:{D:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break o}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break q}break p;case 3:m=0;c=0;d=0;g=0;f=0;h=0;E:{F:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break E;case 3:break F;default:break l}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break n}break m;case 4:m=0;c=0;d=0;g=0;f=0;h=0;G:{H:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break i}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break k}break j;case 5:m=0;c=0;d=0;g=0;f=0;h=0;I:{J:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break f}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break h}break g;case 6:m=0;c=0;d=0;g=0;f=0;h=0;K:{L:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break K;case 3:break L;default:break c}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break e}break d;default:break x}}m=0;c=0;d=0;g=0;f=0;h=0;M:{N:{O:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break N;case 3:break O;default:break M}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=0;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=1;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=2;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=3;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=4;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=5;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=6;continue}m=h<<22|3145728}f=d;h=c}v=p-1|0;j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;if((q|0)>1){q=q-1|0;c=7;continue}break}a=a+r|0;e=e+s|0;p=v;if(p){continue}break}}}function FN(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,n=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;r=oe-16|0;oe=r;j[r+8>>2]=0;g=j[e+32>>2];u=j[g+278664>>2];a:{b:{c:{d:{if(Qe(a,117052,7)){break d}e:{c=k[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}j[r+12>>2]=0;d=j[g+88>>2];o=d;d=(c?-8:-7)+b|0;f=d+1|0;o=xe(u,1,o,o+f|0,j[g+84>>2],r+12|0);j[g+84>>2]=o;b=j[r+12>>2];if(!b){A=Ae(o+j[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,B=10,h[A|0]=B;j[g+88>>2]=f+j[g+88>>2];b=j[r+12>>2]}j[r+8>>2]=b;break c}o=r;f:{g:{h:{i:{j:{k:{d=j[e>>2];if(!(d&32)){l:{m:{if(Qe(a,118445,5)){break m}switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break m}}c=180;break i}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];if(!a){break k}f=k[a|0];if(!f){break k}c=119584;n=10;b=a;n:{if((f|0)!=48){break n}if((k[a+1|0]|32)!=120){f=48;b=a;break n}f=k[a+2|0];c=119552;n=16;b=a+2|0}a=f<<24>>24;if(!(k[((f&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}f=0;while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}j[g+48>>2]=f;j[e+4>>2]=f;if(!f){break h}if(f>>>0<1114112){break g}c=6;break i}o:{p:{if(Qe(a,119782,7)){break p}q:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}if(!(d&4032)){break o}c=186;break i}r:{if(Qe(a,119790,7)){break r}s:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}j[e+28>>2]=0;j[e>>2]=d&-4033;break f}q=d&64;if(j[j[e+36>>2]+4>>2]?0:!(!q|j[e+28>>2]!=-1)){break f}t:{if(Qe(a,119798,9)){break t}u:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=j[e+24>>2];if(c){qe[j[u+8>>2]](u,c)}j[e+24>>2]=0;g=e+139304|0;b=og(g,118416,a,b);j[r+8>>2]=b;if(b){break b}v:{w:{a=j[e+139312>>2];switch(a|0){case 0:break j;case 1:break v;default:break w}}c=a-1|0;a=0;b=1;while(1){d=j[g>>2];j[d+(a<<2)>>2]=j[d+(b<<2)>>2];b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}j[e+139312>>2]=c;if(!c){break j}b=0;f=j[j[g>>2]>>2];a=f;while(1){d=k[a|0];if(d){while(1){h[b+f|0]=d;b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break}c=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+f|0]=32;c=j[e+139312>>2];b=b+1|0}if(c>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((f|0)!=119537){h[b+f|0]=0}a=b+1|0;c=xe(u,1,0,a,0,r+8|0);j[e+24>>2]=c;b=j[r+8>>2];if(b){break b}Ae(c,f,a);j[e>>2]=j[e>>2]|64;break f}j[e+139312>>2]=0;break j}x:{if(Qe(a,119808,8)){break x}y:{switch(k[a+8|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}c=181;if(!q){break i}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}z:{A:{B:{C:{D:{E:{s=j[c>>2];a=j[s+4>>2];if(!a){break E}q=k[a|0];if(!q){break E}c=119584;n=10;t=(q|0)==45;d=t?a+1|0:a;b=d;a=k[a+t|0];F:{if((a|0)!=48){break F}if((k[d+1|0]|32)!=120){a=48;b=d;break F}a=k[d+2|0];c=119552;n=16;b=d+2|0}d=k[((a&248)>>>3|0)+c|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=e+28|0;a=(q|0)==45?0-f|0:f;G:{H:{if((a|0)<=-2){j[e+28>>2]=-1;break H}j[e+28>>2]=a;if((a|0)!=-1){break G}}if(m[e+139312>>2]<3){break A}a=j[s+8>>2];if(!a){break D}q=k[a|0];if(!q){break D}n=119584;d=10;s=(q|0)==45;f=s?a+1|0:a;b=f;a=k[a+s|0];I:{if((a|0)!=48){break I}if((k[f+1|0]|32)!=120){a=48;b=f;break I}a=k[f+2|0];n=119552;d=16;b=f+2|0}f=0;x=k[((a&248)>>>3|0)+n|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){f=k[a+119616|0]+p(d,f)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}a=(q|0)==45?0-f|0:f;j[e+28>>2]=a;if((a|0)<-1){break B}}if(a>>>0>1114111?(a|0)>=1:0){break j}if((a|0)>-1){break C}break A}c=e+28|0}a=0;j[c>>2]=0}b=(a>>>3&536870908)+e|0;d=j[b+40>>2];f=1<>2]=-1;i[g+278660>>1]=1;break A}j[b+40>>2]=d|f;b=j[g+52>>2];J:{if((b|0)!=j[g+48>>2]){f=j[g+56>>2];break J}f=xe(u,36,b,b- -64|0,j[g+56>>2],r+8|0);j[g+56>>2]=f;b=j[r+8>>2];if(b){break b}j[g+48>>2]=j[g+48>>2]- -64;b=j[g+52>>2];a=j[c>>2]}j[g+52>>2]=b+1;c=j[e+24>>2];b=p(b,36)+f|0;j[b+4>>2]=a;j[b>>2]=c;break z}j[e+28>>2]=-1}if(j[j[e+36>>2]+4>>2]){a=j[g+64>>2];K:{if((a|0)!=j[g+60>>2]){f=j[g+68>>2];break K}f=xe(u,36,a,a+4|0,j[g+68>>2],r+8|0);j[g+68>>2]=f;b=j[r+8>>2];if(b){break b}j[g+60>>2]=j[g+60>>2]+4;a=j[g+64>>2]}b=p(a,36)+f|0;j[b>>2]=j[e+24>>2];j[g+64>>2]=a+1;j[b+4>>2]=a;break z}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}}j[e+24>>2]=0;j[e>>2]=j[e>>2]&1073741695|128;break f}c=j[e+28>>2]==-1;s=j[g+(c?64:52)>>2]-1|0;t=j[g+(c?68:56)>>2];if(d&2048){c=j[e+8>>2];b=p(s,36)+t|0;if(c>>>0>=l[b+14>>1]){if((d|0)<0){break f}j[e>>2]=d|-2147483648;i[g+278660>>1]=1;break f}d=c;c=j[b+28>>2];b=j[b+24>>2]+p(d,c)|0;d=c<<1;L:{if(!d){c=0;break L}M:{while(1){c=f;o=k[f+a|0];f=o<<24>>24;if(!(k[(o>>>3|0)+119552|0]>>>(f&7)&1)){break M}h[b|0]=k[f+119616|0]+(k[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){h[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break L}f=j[e>>2];if(f&1073741824){break L}j[e>>2]=f|1073741824;i[g+278660>>1]=1}f=l[(p(s,36)+t|0)+12>>1];if(f){h[b|0]=k[b|0]&k[(p(f,l[j[e+32>>2]+278662>>1])&7)+119817|0]}N:{if((c|0)!=(d|0)){break N}a=k[a+d|0];if(!(k[(a>>>3|0)+119552|0]>>>(a&7)&1)){break N}a=j[e>>2];if(a&1073741824){break N}j[e>>2]=a|1073741824;i[g+278660>>1]=1}j[e+8>>2]=j[e+8>>2]+1;break f}O:{P:{if(Qe(a,119825,6)){break P}Q:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break Q;default:break P}}if(!(d&128)){break O}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}d=0;a=j[j[c>>2]+4>>2];R:{if(!a){break R}n=k[a|0];if(!n){break R}f=119584;c=10;b=a;S:{if((n|0)!=48){break S}if((k[a+1|0]|32)!=120){n=48;b=a;break S}n=k[a+2|0];f=119552;c=16;b=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+f|0]>>>(a&7)&1)){break R}while(1){d=k[a+119616|0]+p(c,d)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}i[(p(s,36)+t|0)+8>>1]=d;j[e>>2]=j[e>>2]|256;break f}T:{if(Qe(a,119832,6)){break T}U:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break U;default:break T}}if(!(d&128)){break O}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];V:{if(!a){break V}q=k[a|0];if(!q){break V}c=119584;n=10;b=a;W:{if((q|0)!=48){break W}if((k[a+1|0]|32)!=120){q=48;b=a;break W}q=k[a+2|0];c=119552;n=16;b=a+2|0}a=q<<24>>24;if(!(k[((q&248)>>>3|0)+c|0]>>>(a&7)&1)){break V}while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=p(s,36)+t|0;i[c+10>>1]=f;b=e;a=j[b>>2];if(!(a&256)){A=c,B=Ne(f&65535,72e3,p(j[g+20>>2],j[g+16>>2])),i[A+8>>1]=B;a=j[e>>2]}j[b>>2]=a|512;break f}X:{if(Qe(a,119839,3)){break X}Y:{switch(k[a+3|0]){case 0:case 9:case 10:case 13:case 32:break Y;default:break X}}if(!(d&128)){break O}d=e+139304|0;b=og(d,118416,a,b);j[r+8>>2]=b;if(b){break b}c=0;v=j[d>>2];a=j[v+4>>2];Z:{if(!a){break Z}d=k[a|0];if(!d){break Z}n=119584;q=10;b=a;_:{if((d|0)!=48){break _}if((k[a+1|0]|32)!=120){d=48;b=a;break _}d=k[a+2|0];n=119552;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break Z}while(1){f=k[a+119616|0]+p(f,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}o=p(s,36)+t|0;i[o+12>>1]=f;a=j[v+8>>2];$:{if(!a){break $}d=k[a|0];if(!d){break $}n=119584;q=10;b=a;aa:{if((d|0)!=48){break aa}if((k[a+1|0]|32)!=120){d=48;b=a;break aa}d=k[a+2|0];n=119552;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break $}while(1){c=k[a+119616|0]+p(c,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}i[o+14>>1]=c;y=p(s,36)+t|0;x=y;a=j[v+12>>2];o=0;ba:{if(!a){break ba}z=k[a|0];o=0;if(!z){break ba}q=119584;d=10;n=(z|0)==45;o=n?a+1|0:a;b=o;a=k[a+n|0];ca:{if((a|0)!=48){break ca}if((k[o+1|0]|32)!=120){a=48;b=o;break ca}a=k[o+2|0];q=119552;d=16;b=o+2|0}n=0;o=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(o>>>(a&7)&1){while(1){n=k[a+119616|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}o=(z|0)==45?0-n|0:n}i[x+16>>1]=o;a=j[v+16>>2];da:{if(!a){break da}v=k[a|0];if(!v){break da}q=119584;d=10;w=(v|0)==45;n=w?a+1|0:a;b=n;a=k[a+w|0];ea:{if((a|0)!=48){break ea}if((k[n+1|0]|32)!=120){a=48;b=n;break ea}a=k[n+2|0];q=119552;d=16;b=n+2|0}n=0;x=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){n=k[a+119616|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}w=(v|0)==45?0-n|0:n}a=0-w|0;i[y+22>>1]=a;b=c+w|0;i[y+20>>1]=b;i[y+18>>1]=w;c=f+o|0;i[e+22>>1]=c;d=i[e+18>>1];i[e+18>>1]=(d|0)>16?b:d;b=i[e+20>>1];i[e+20>>1]=(b|0)>16?a:b;a=i[e+16>>1];i[e+16>>1]=(a|0)>16?c:a;a=i[e+12>>1];b=a;a=o<<16>>16;i[e+12>>1]=(b|0)>(a|0)?o:b;b=i[e+14>>1];i[e+14>>1]=(a|0)>(b|0)?o:b;a=j[e>>2];if(!(a&512)){i[(p(s,36)+t|0)+10>>1]=f}fa:{if(!j[j[e+36>>2]>>2]){break fa}a=p(s,36)+t|0;b=Ne(l[a+10>>1],72e3,p(j[g+20>>2],j[g+16>>2]));if(l[a+8>>1]==(b&65535)){a=j[e>>2];break fa}i[a+8>>1]=b;ga:{if(j[e+28>>2]==-1){b=j[g+64>>2]-1|0;a=(g+(b>>>3&536870908)|0)+139396|0;break ga}b=j[(p(s,36)+t|0)+4>>2];a=(g+(b>>5<<2)|0)+132|0}j[a>>2]=j[a>>2]|1<>2];i[g+278660>>1]=1;a=a|4096}j[e>>2]=a|1024;break f}if(Qe(a,119843,6)){break j}ha:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break ha;default:break j}}c=183;if(!(d&1024)){break i}a=p(s,36)+t|0;c=p(l[g+278662>>1],l[a+12>>1]);b=c+7>>>3|0;j[a+28>>2]=b;ia:{if(c>>>0<=524280){a=p(b,l[a+14>>1]);if(a>>>0<65536){break ia}}c=184;break i}b=p(s,36)+t|0;i[b+32>>1]=a;A=b,B=xe(u,1,0,a,0,r+8|0),j[A+24>>2]=B;b=j[r+8>>2];if(b){break b}j[e+8>>2]=0;j[e>>2]=j[e>>2]|2048;break f}c=182;break i}eg(j[g+56>>2],j[g+52>>2],36,603);j[e>>2]=j[e>>2]&-2;break f}j[g+48>>2]=0;j[e+4>>2]=0;break h}c=3}b=c;j[o+8>>2]=b;break b}f=64;j[g+48>>2]=64}A=g,B=xe(u,36,0,f,0,r+8|0),j[A+56>>2]=B;b=j[r+8>>2];if(b){break b}j[e>>2]=j[e>>2]|32}b=j[r+8>>2]}if(b){break b}b=0;break a}if(!(k[e|0]&64)){break a}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}j[e+24>>2]=0;b=j[r+8>>2]}oe=r+16|0;return b|0}function $l(a,b,c,d){var e=0,f=0,g=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;e=oe-144|0;oe=e;j[e+140>>2]=0;u=j[a+12>>2];x=j[a>>2];a:{if(!(c>>>0<2|l[x+290>>1]>=c>>>0)){j[e+140>>2]=21;break a}j[a+20>>2]=b;r=65536;o=65536;if(!(h[a+16|0]&1)){f=j[a+4>>2];r=j[f+52>>2];o=j[f+48>>2]}y=j[j[x+128>>2]+48>>2];b:{if(y){f=qe[j[j[y>>2]>>2]](j[y+4>>2],b,e+88|0)|0;j[e+140>>2]=f;if(f){break a}p=j[e+92>>2];j[a+28>>2]=p;j[e+128>>2]=0;j[e+132>>2]=0;j[e+120>>2]=0;j[e+124>>2]=0;j[e+112>>2]=0;j[e+116>>2]=0;j[e+104>>2]=0;j[e+108>>2]=0;j[e+96>>2]=0;j[e+100>>2]=0;f=j[e+88>>2];j[e+128>>2]=0;j[e+104>>2]=0;j[e+100>>2]=p;j[e+96>>2]=f;j[e+116>>2]=0;j[e+120>>2]=0;j[a+24>>2]=e+96;p=0;break b}p=am(x,b,a+28|0)}t=j[a+28>>2];f=t;c:{d:{e:{f:{if((f|0)>=1){f=j[a+84>>2];if(!(f|j[j[x+128>>2]+48>>2])){j[e+140>>2]=8;break c}f=qe[j[x+512>>2]](a,b,f+p|0,t)|0;j[e+140>>2]=f;if(f){break c}f=qe[j[x+520>>2]](a)|0;j[e+140>>2]=f;if(f){break f}f=pq(a,b);j[e+140>>2]=f;if(d|f){break f}f=j[a+28>>2]}g:{h:{if(f){s=l[a+32>>1];if(s){break h}}j[a+36>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;c=pq(a,b);j[e+140>>2]=c;if(c|d){break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;p=j[a+52>>2];c=j[a+36>>2]-p|0;j[a+68>>2]=c;f=j[a+56>>2];j[a+76>>2]=f+c;c=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=c;j[a+196>>2]=c-j[a+180>>2];c=j[a>>2];g=j[j[c+128>>2]+48>>2];i:{if(!g){break i}d=j[j[g>>2]+8>>2];if(!d){break i}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=p;j:{if(qe[d|0](j[g+4>>2],b,0,e+48|0)|0){break j}c=i[e+48>>1];d=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=d;j[a+52>>2]=c;if(k[a+64|0]){break j}j[a+60>>2]=d;h[a+64|0]=1}c=j[a>>2]}if(k[c+672|0]){j[e+44>>2]=16843009;j[e+32>>2]=65536;j[e+36>>2]=196610;j[e+48>>2]=j[a+68>>2];j[e+52>>2]=j[a+72>>2];j[e+56>>2]=j[a+76>>2];j[e+60>>2]=j[a+80>>2];j[e+64>>2]=j[a+184>>2];j[e+68>>2]=j[a+188>>2];j[e+72>>2]=j[a+192>>2];j[e+76>>2]=j[a+196>>2];j[e+8>>2]=262148;j[e+20>>2]=e+32;j[e+16>>2]=e+44;j[e+12>>2]=e+48;b=Sl(c,b,e+8|0,4);j[e+140>>2]=b;if(b){break g}j[a+68>>2]=j[e+48>>2];j[a+72>>2]=j[e+52>>2];j[a+76>>2]=j[e+56>>2];j[a+80>>2]=j[e+60>>2];j[a+184>>2]=j[e+64>>2];j[a+188>>2]=j[e+68>>2];j[a+192>>2]=j[e+72>>2];j[a+196>>2]=j[e+76>>2]}if(!(h[a+16|0]&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I}j[e+140>>2]=0;break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;w=j[a+52>>2];d=j[a+36>>2]-w|0;j[a+68>>2]=d;f=j[a+56>>2];j[a+76>>2]=f+d;d=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=d;j[a+196>>2]=d-j[a+180>>2];p=j[j[j[a>>2]+128>>2]+48>>2];k:{if(!p){break k}d=j[j[p>>2]+8>>2];if(!d){break k}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=w;l:{if(qe[d|0](j[p+4>>2],b,0,e+48|0)|0){break l}d=i[e+48>>1];f=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=f;j[a+52>>2]=d;if(k[a+64|0]){break l}j[a+60>>2]=f;h[a+64|0]=1}s=l[a+32>>1]}if(s<<16>>16>=1){b=qe[j[x+524>>2]](a)|0;j[e+140>>2]=b;if(b){break g}qe[j[x+516>>2]](a);n=j[a+12>>2];d=n;q=i[d+58>>1];b=j[a+72>>2];c=j[d+60>>2]+(q<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];v=q+1|0;c=j[d+60>>2]+(v<<3)|0;j[c>>2]=j[a+76>>2];j[c+4>>2]=b;b=j[a+188>>2];t=q+2|0;c=j[d+60>>2]+(t<<3)|0;j[c>>2]=j[a+184>>2];j[c+4>>2]=b;b=j[a+196>>2];g=q+3|0;c=j[d+60>>2]+(g<<3)|0;j[c>>2]=j[a+192>>2];j[c+4>>2]=b;b=d- -64|0;h[q+j[b>>2]|0]=0;h[v+j[b>>2]|0]=0;h[t+j[b>>2]|0]=0;h[g+j[b>>2]|0]=0;p=q+4|0;m:{b=j[a>>2];if(!k[b+672|0]){break m}b=Sl(b,j[a+20>>2],n+56|0,p);if(!b){break m}j[e+140>>2]=b;break c}o=j[a+16>>2];if(!(o&2)){f=l[n+58>>1];i[a+132>>1]=f;i[a+134>>1]=l[n+56>>1];j[a+136>>2]=j[n+76>>2];d=j[n+60>>2];j[a+140>>2]=d;c=j[n+80>>2];j[a+144>>2]=c;j[a+148>>2]=j[n+64>>2];b=j[n+68>>2];i[a+156>>1]=0;j[a+152>>2]=b;Ae(c,d,(f<<3)+32|0);o=j[a+16>>2]}if(!(o&1)){b=j[n+60>>2];c=a;if((q|0)>=-3){p=(p<<3)+b|0;d=j[a+4>>2];f=j[d+52>>2];d=j[d+48>>2];while(1){H=b,I=ye(j[b>>2],d),j[H>>2]=I;H=b,I=ye(j[b+4>>2],f),j[H+4>>2]=I;b=b+8|0;if(p>>>0>b>>>0){continue}break}o=j[a+16>>2];b=j[n+60>>2]}d=(q<<3)+b|0;b=j[d+4>>2];j[c+68>>2]=j[d>>2];j[c+72>>2]=b;c=j[n+60>>2]+(v<<3)|0;b=j[c+4>>2];j[a+76>>2]=j[c>>2];j[a+80>>2]=b;c=j[n+60>>2]+(t<<3)|0;b=j[c+4>>2];j[a+184>>2]=j[c>>2];j[a+188>>2]=b;c=j[n+60>>2]+(g<<3)|0;b=j[c+4>>2];j[a+192>>2]=j[c>>2];j[a+196>>2]=b}if(o&2){j[e+140>>2]=0;Xh(u);break c}i[a+132>>1]=l[a+132>>1]+4;a=oq(a,0);j[e+140>>2]=a;if(a){break c}Xh(u);break c}if((s&65535)==65535){p=i[u+22>>1];z=i[u+20>>1];d=qe[j[x+528>>2]](a)|0;j[e+140>>2]=d;if(d){break g}B=j[a+168>>2];qe[j[x+516>>2]](a);if(k[x+672|0]){f=j[x+100>>2];n=j[u+84>>2];d=n+4|0;i[e+48>>1]=d;i[e+50>>1]=d;t=d<<16>>16;q=xe(f,8,0,t,0,e+140|0);n:{if(j[e+140>>2]){break n}v=xe(f,1,0,t,0,e+140|0);if(j[e+140>>2]){break n}w=xe(f,2,0,t,0,e+140|0);if(j[e+140>>2]){break n}if(n){s=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[g>>2]=j[s+8>>2];j[g+4>>2]=j[s+12>>2];h[d+v|0]=1;i[(d<<1)+w>>1]=d;s=s+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}d=q+(n<<3)|0;j[d>>2]=j[a+68>>2];j[d+4>>2]=j[a+72>>2];h[n+v|0]=1;i[(n<<1)+w>>1]=n;g=n+1|0;d=q+(g<<3)|0;j[d>>2]=j[a+76>>2];j[d+4>>2]=j[a+80>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+2|0;d=q+(g<<3)|0;j[d>>2]=j[a+184>>2];j[d+4>>2]=j[a+188>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+3|0;d=q+(g<<3)|0;j[d>>2]=j[a+192>>2];j[d+4>>2]=j[a+196>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;j[e+60>>2]=w;j[e+56>>2]=v;j[e+52>>2]=q;b=Sl(x,b,e+48|0,t);j[e+140>>2]=b;if(b){break n}if(n){b=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[b+8>>2]=i[g>>1];j[b+12>>2]=i[g+4>>1];b=b+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=q+(n<<3)|0;j[a+68>>2]=j[b>>2];j[a+72>>2]=j[b+4>>2];j[a+76>>2]=j[b+8>>2];j[a+80>>2]=j[b+12>>2];j[a+184>>2]=j[b+16>>2];j[a+188>>2]=j[b+20>>2];j[a+192>>2]=j[b+24>>2];j[a+196>>2]=j[b+28>>2]}if(q){qe[j[f+8>>2]](f,q)}if(v){qe[j[f+8>>2]](f,v)}if(w){qe[j[f+8>>2]](f,w)}if(j[e+140>>2]){break c}}b=j[a+16>>2];if(!(b&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I;b=j[a+16>>2]}if(b&1024){Xh(u);j[j[a+8>>2]+72>>2]=1668246896;break c}C=j[u+48>>2];A=j[u+84>>2];D=j[a+28>>2];E=j[a+24>>2];Xh(u);o:{if(!A){s=0;b=p;break o}F=c+1|0;w=0;while(1){c=i[u+22>>1];G=j[a+192>>2];o=j[a+196>>2];r=j[a+184>>2];n=j[a+188>>2];q=j[a+76>>2];v=j[a+80>>2];t=j[a+68>>2];g=j[a+72>>2];d=w<<5;f=C<<5;b=$l(a,j[d+(f+j[u+52>>2]|0)>>2],F,0);j[e+140>>2]=b;if(b){break c}s=d+(f+j[u+52>>2]|0)|0;if(!(k[s+5|0]&2)){j[a+192>>2]=G;j[a+196>>2]=o;j[a+184>>2]=r;j[a+188>>2]=n;j[a+76>>2]=q;j[a+80>>2]=v;j[a+68>>2]=t;j[a+72>>2]=g}g=l[u+22>>1];d=c&65535;if((g|0)!=(d|0)){f=j[a+12>>2];b=l[f+22>>1];q=b<<16>>16;t=j[f+24>>2];o=l[s+4>>1];v=o&200;if(!(!v|b>>>0<=d>>>0)){d=s+16|0;b=c;while(1){Tg(t+(b<<3)|0,d);b=b+1|0;if((q|0)!=(b|0)){continue}break}o=l[s+4>>1]}d=j[s+12>>2];r=j[s+8>>2];p:{q:{if(!(o&2)){b=r+p|0;if(b>>>0>=c>>>0){break e}d=c+d|0;if(d>>>0>=q>>>0){break e}n=b<<3;b=j[f+24>>2];f=n+b|0;b=b+(d<<3)|0;d=j[f+4>>2]-j[b+4>>2]|0;r=j[f>>2]-j[b>>2]|0;break q}if(!(d|r)){break p}if(!(!v|!(o&2048))){f=ig(j[s+16>>2],j[s+20>>2]);b=ig(j[s+28>>2],j[s+24>>2]);r=ye(r,f);d=ye(d,b)}if(h[a+16|0]&1){break q}f=j[a+4>>2];b=j[f+52>>2];f=ye(r,j[f+48>>2]);d=ye(d,b);b=k[s+4|0]&4;r=b?f+32&-64:f;d=b?d+32&-64:d}if(!(d|r)){break p}f=t+(c<<3)|0;t=q-c|0;r:{if(!t){break r}b=0;if(!r){break r}while(1){c=f+(b<<3)|0;j[c>>2]=j[c>>2]+r;b=b+1|0;if((t|0)!=(b|0)){continue}break}}if(!t){break p}b=0;if(!d){break p}while(1){c=f+(b<<3)|0;j[c+4>>2]=j[c+4>>2]+d;b=b+1|0;if((t|0)!=(b|0)){continue}break}}j[e+140>>2]=0}w=w+1|0;if((A|0)!=(w|0)){continue}break}b=g<<16>>16}j[a+168>>2]=B;j[a+28>>2]=D;j[a+24>>2]=E;if(!(l[s+4>>1]&256)|(k[a+16|0]&2|b>>>0<=p>>>0)){break c}f=j[a+12>>2];d=i[f+22>>1];b=d+4|0;s:{if(!b){d=-4;break s}if(m[f+4>>2]>=i[f+58>>1]+(b+d|0)>>>0){break s}c=yf(f,b,0);if(c){break d}d=i[f+22>>1]}b=j[a+72>>2];c=j[f+24>>2]+(d<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+8>>2]=j[a+76>>2];j[c+12>>2]=b;b=j[a+188>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+16>>2]=j[a+184>>2];j[c+20>>2]=b;b=j[a+196>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+24>>2]=j[a+192>>2];j[c+28>>2]=b;h[j[f+28>>2]+i[f+22>>1]|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+1|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+2|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+3|0]=0;b=j[a+24>>2];c=Fe(b,j[a+168>>2]);j[e+8>>2]=c;if(c){break d}d=qf(b,e+8|0);c=j[e+8>>2];if(c){break d}t:{if(d>>>0>l[j[a>>2]+286>>1]){c=22;if((d|0)>j[a+28>>2]){break d}c=0;o=j[a+160>>2];r=j[o+388>>2];if(d>>>0>r>>>0){H=o,I=xe(j[o+8>>2],1,r,d,j[o+392>>2],e+48|0),j[H+392>>2]=I;o=j[a+160>>2];c=j[e+48>>2];r=c?r:d}j[e+8>>2]=c;j[o+388>>2]=r&65535;if(!c){break t}break d}if(!d){j[e+140>>2]=0;break c}o=j[a+160>>2]}c=uf(b,j[o+392>>2],d);j[e+8>>2]=c;if(c){break d}c=j[j[a+160>>2]+392>>2];b=j[a+8>>2];j[b+140>>2]=d;j[b+136>>2]=c;c=j[a+12>>2];f=l[c+22>>1]-p|0;i[a+132>>1]=f;i[a+134>>1]=l[c+20>>1]-z;b=p<<3;j[a+136>>2]=b+j[c+40>>2];j[a+140>>2]=b+j[c+24>>2];j[a+144>>2]=b+j[c+44>>2];g=j[c+28>>2]+p|0;j[a+148>>2]=g;c=j[c+32>>2];i[a+156>>1]=p;b=1;j[a+152>>2]=c+(z<<1);d=a;if(f&65535){h[g|0]=k[g|0]&231;c=l[a+132>>1];if(c>>>0>=2){while(1){c=j[a+148>>2]+b|0;h[c|0]=k[c|0]&231;b=b+1|0;c=l[a+132>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}i[d+132>>1]=b;H=e,I=oq(a,1),j[H+140>>2]=I;break c}j[e+140>>2]=20}if((t|0)<1){break c}}qe[j[x+516>>2]](a);break c}j[e+140>>2]=21;break c}j[e+140>>2]=c}if(!y){break a}a=j[j[x+128>>2]+48>>2];qe[j[j[a>>2]+4>>2]](j[a+4>>2],e+88|0)}oe=e+144|0;return j[e+140>>2]}function ey(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;A=j[a+28>>2];if(A){B=j[a+36>>2];C=j[a+16>>2];y=j[a+24>>2];D=y&3;y=(y+3|0)/4|0;q=j[a>>2];g=j[a+20>>2];f=j[a+40>>2];w=k[f+9|0];z=w-1|0;b=j[a+44>>2];x=k[b+9|0];v=x-1|0;while(1){a=y;a:{b:{switch(D-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=j[(k[f+31|0]<<2)+234976>>2];e:{f:{g:{h:{switch(z|0){case 0:e=k[q|0];break g;case 1:e=l[q>>1];break g;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break f;case 3:break h;default:break e}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break e}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;i:{j:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;k:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break e;case 3:break k;default:break e}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];l:{m:{n:{o:{switch(z|0){case 0:e=k[q|0];break n;case 1:e=l[q>>1];break n;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break m;case 3:break o;default:break l}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break l}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;p:{q:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;r:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break l;case 3:break r;default:break l}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];s:{t:{u:{v:{switch(z|0){case 0:e=k[q|0];break u;case 1:e=l[q>>1];break u;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break t;case 3:break v;default:break s}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break s}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;w:{x:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;y:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break s;case 3:break y;default:break s}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];z:{A:{B:{C:{switch(z|0){case 0:e=k[q|0];break B;case 1:e=l[q>>1];break B;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break A;case 3:break C;default:break z}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break z}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;D:{E:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;F:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break z;case 3:break F;default:break z}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];if(!(!e|!l[b>>1])){Ee(g+8|0,0,128);B=j[c>>2];j[g+24>>2]=B;E=g,F=xe(B,40,0,e,0,g+144|0),j[E+16>>2]=F;u=j[g+144>>2];a:{if(u){break a}n=xe(B,8,0,i[b>>1],0,g+144|0);j[g+20>>2]=n;u=j[g+144>>2];if(u){break a}u=i[b+2>>1];j[g+8>>2]=u;e=i[b>>1];j[g+12>>2]=e;q=j[g+16>>2];if(e){x=e>>>0>1?e:1;t=j[b+12>>2];e=0;while(1){w=i[t+(r<<1)>>1];o=q+p(e,40)|0;j[n>>2]=o;s=w+1|0;f=s-e|0;j[n+4>>2]=f;if(f){j[o>>2]=q+p(w,40);j[o+8>>2]=n;e=o;if((f|0)!=1){while(1){j[e+48>>2]=n;w=e+40|0;j[e+4>>2]=w;j[e+40>>2]=e;e=w;f=f-1|0;if(f>>>0>1){continue}break}}j[e+4>>2]=o}n=n+8|0;e=s;r=r+1|0;if((x|0)!=(r|0)){continue}break}}b:{if(!u){j[g+32>>2]=c;j[g+28>>2]=b;break b}s=j[b+4>>2];f=0;e=q;while(1){x=(j[e+4>>2]-q|0)/40|0;n=(j[e>>2]-q|0)/40|0;if(!(h[j[b+8>>2]+f|0]&1)){j[e+12>>2]=1}r=e;o=s+(f<<3)|0;t=j[o+4>>2];u=s+(n<<3)|0;w=t-j[u+4>>2]|0;n=w>>31;v=j[o>>2];u=v-j[u>>2]|0;o=u>>31;o=o^o+u;y=n^n+w;n=(u|0)>-1?2:-2;c:{if((o|0)>(p(y,12)|0)){break c}n=4;if((y|0)<=(p(o,12)|0)){break c}n=(w|0)>-1?-1:1}o=n;h[r+20|0]=o;r=e;y=s+(x<<3)|0;x=j[y+4>>2]-t|0;n=x>>31;t=j[y>>2]-v|0;v=t>>31;v=v^t+v;y=n^n+x;n=(t|0)>-1?2:-2;d:{if((v|0)>(p(y,12)|0)){break d}n=4;if((y|0)<=(p(v,12)|0)){break d}n=(x|0)>-1?-1:1}h[r+21|0]=n;r=j[e+12>>2];e:{if(r&1){j[e+12>>2]=r|2;break e}if((o|0)!=(n|0)){break e}o=e;if((n|0)==4){if(!_m(u,w,t,x)){break e}r=j[e+12>>2]}j[o+12>>2]=r|2}e=e+40|0;f=f+1|0;n=j[g+8>>2];if(f>>>0>>0){continue}break}j[g+32>>2]=c;j[g+28>>2]=b;if(!n){break b}f=j[b+4>>2];e=j[g+16>>2];while(1){j[e+24>>2]=0;j[e+16>>2]=0;b=j[f+4>>2];j[e+28>>2]=j[f>>2];j[e+32>>2]=b;f=f+8|0;e=e+40|0;n=n-1|0;if(n){continue}break}}if(j[g+12>>2]){while(1){b=j[g+20>>2]+(A<<3)|0;f:{if(m[b+4>>2]<4){break f}b=j[b>>2];e=b;while(1){e=j[e+4>>2];if((b|0)==(e|0)){break f}q=j[e+32>>2]-j[b+32>>2]|0;r=j[e+28>>2]-j[b+28>>2]|0;if(!(q|r)){continue}break}s=b;while(1){w=s;s=j[s>>2];if((b|0)==(s|0)){break f}f=j[w+32>>2]-j[s+32>>2]|0;o=j[w+28>>2]-j[s+28>>2]|0;if(!(f|o)){continue}n=$m(r,q,o,f);if(!n){continue}break}r=w;while(1){u=n;x=f;t=o;q=r;s=0;while(1){n=j[e+32>>2];b=j[e+28>>2];while(1){r=e;e=j[e+4>>2];v=j[e+28>>2];o=v-b|0;b=j[e+32>>2];f=b-n|0;s=(e|0)==(w|0)?1:s;n=b;b=v;if(!(f|o)){continue}break}n=$m(t,x,o,f);if(!n){continue}break}if((n^u)<=-1){while(1){j[q+12>>2]=j[q+12>>2]|4;q=j[q+4>>2];if((r|0)!=(q|0)){continue}break}j[r+12>>2]=j[r+12>>2]|4}if(!s){continue}break}}A=A+1|0;if(A>>>0>2]){continue}break}}u=hr(g+36|0,a+16|0,a+28|0,B);j[g+144>>2]=u;if(u){break a}u=hr(g+76|0,a+52|0,a- -64|0,B);if(u){break a}a=j[g+32>>2];x=j[a+200>>2];w=c+416|0;B=j[a+404>>2];a=ye(j[w>>2],B);b=a+32&-64;C=!b|(a|0)==(b|0);if(!C){e=Ne(B,b,a);km(j[g+32>>2],(a|0)>(b|0)?x+((x|0)/-50|0)|0:x,e,0,0)}i[g+128>>1]=257;h[g+132|0]=(d|0)!=1;h[g+131|0]=(d|0)==2|(d|0)==4;h[g+130|0]=(d&-2)==2;u=1;s=0;while(1){b=j[g+8>>2];if(b){f=j[j[g+28>>2]+4>>2];e=j[g+16>>2];o=b;while(1){j[e+24>>2]=0;j[e+16>>2]=0;a=u&1;d=j[(a?0:4)+f>>2];j[e+32>>2]=j[(a?4:0)+f>>2];j[e+28>>2]=d;f=f+8|0;e=e+40|0;o=o-1|0;if(o){continue}break}}n=j[g+12>>2];g:{if(!n){q=0;break g}r=0;t=j[g+20>>2];while(1){h:{a=t+(r<<3)|0;if(!j[a+4>>2]){break h}a=j[a>>2];f=a;while(1){f=j[f>>2];if((a|0)==(f|0)){q=r+1|0;break g}if(j[f+28>>2]==j[a+28>>2]){continue}break}q=j[f+4>>2];e=q;while(1){o=e;while(1){e=j[e+4>>2];if((q|0)==(e|0)){break h}d=j[e+28>>2];a=j[o+28>>2];if((d|0)==(a|0)){continue}break}i:{j:{if((a|0)>j[f+28>>2]){if((a|0)>(d|0)){break j}break i}if((a|0)>=(d|0)){break i}}while(1){j[o+16>>2]=j[o+16>>2]|64;o=j[o+4>>2];if((o|0)!=(e|0)){continue}break}}f=j[e>>2];continue}}q=0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}while(1){if(b>>>0>q>>>0){d=j[g+16>>2];e=p(q,40);a=d+e|0;f=j[a+16>>2];k:{if(!(f&64)){break k}r=d+e|0;e=a;while(1){e=j[e>>2];if((a|0)==(e|0)){break k}n=j[e+32>>2];d=j[r+32>>2];if((n|0)==(d|0)){continue}break}e=a;while(1){e=j[e+4>>2];if((a|0)==(e|0)){break k}r=j[e+32>>2];if((r|0)==(d|0)){continue}break}if(!((d|0)<=(n|0)|(d|0)>=(r|0))){j[a+16>>2]=f|128;q=q+1|0;continue}if((d|0)<=(r|0)|(d|0)>=(n|0)){break k}j[a+16>>2]=f|256}q=q+1|0;continue}break}o=j[g+32>>2];n=(g+8|0)+p(s,40)|0;q=n+28|0;f=j[q>>2];if(f){e=j[n+36>>2];while(1){gr(e,o,s,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}o=j[g+32>>2]}a=j[n+60>>2];e=j[a+8>>2];b=j[a>>2];r=p(s,204);a=De(32,j[(r+o|0)+200>>2]);t=(a|0)<30?a:30;y=u&1;v=y?1:2;l:{m:{n:{if(b>>>0>=2){f=j[g+8>>2];d=0;if(!f){break l}a=j[e+12>>2];o=a>>>0>f>>>0?f:a;while(1){a=e;e=e+16|0;a=j[a+28>>2];a=a>>>0>>0?a:f;if(a>>>0>o>>>0){d=j[g+16>>2];fr(q,e);er(q,d+p(o,40)|0,a-o|0,t,v)}b=b-1|0;if(b>>>0<2){break n}f=j[g+8>>2];o=a;continue}}if((b|0)!=1){break m}}a=j[g+16>>2];b=j[g+8>>2];fr(q,j[j[n+60>>2]+8>>2]);er(q,a,b,t,v)}a=j[g+8>>2];d=0;if(!a){break l}e=j[g+16>>2];f=a;while(1){o:{if(!j[e+24>>2]){break o}b=j[e+16>>2];if(b&16){break o}j[e+16>>2]=b|16}e=e+40|0;f=f-1|0;if(f){continue}break}if(s&1){o=j[g+16>>2];q=a;while(1){b=k[o+20|0];p:{q:{if((b|0)==2|(b|0)==254){break q}b=k[o+21|0];if((b|0)==254){break q}if((b|0)!=2){break p}}b=j[o+16>>2];if(b&16){break p}d=j[o+28>>2];n=j[c+412>>2];r:{if(!n){break r}f=j[c+2488>>2];s=0-f|0;e=w;while(1){t=d-j[e+12>>2]|0;if((t|0)<(s|0)){break r}if(!((d|0)>(f+j[e+8>>2]|0)|((t|0)>j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e+24>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e+32|0;n=n-1|0;if(n){continue}break}}n=j[c+928>>2];if(!n){break p}f=j[c+2488>>2];s=0-f|0;e=((n<<5)+c|0)+932|0;while(1){t=j[e-24>>2]-d|0;if((t|0)<(s|0)){break p}if(!((d|0)<(j[e-20>>2]-f|0)|((t|0)>=j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e-4>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e-32|0;n=n-1|0;if(n){continue}break}}o=o+40|0;q=q-1|0;if(q){continue}break}}q=j[(r+j[g+32>>2]|0)+200>>2];e=j[g+16>>2];while(1){d=j[e+24>>2];if(d){b=e;f=j[e+16>>2];o=j[d+8>>2];s:{if(f&512){break s}o=j[d+12>>2]+j[d+8>>2]|0;if(f&1024){break s}f=j[e+28>>2]-j[d>>2]|0;if((f|0)<=0){o=j[d+8>>2]+ye(f,q)|0;break s}n=j[d+12>>2];o=j[d+8>>2];d=j[d+4>>2];if((d|0)<=(f|0)){o=ye(f-d|0,q)+(o+n|0)|0;break s}o=Ne(f,n,d)+o|0}j[b+36>>2]=o;j[e+16>>2]=j[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}d=j[g+8>>2]}t:{if((d|0)<1){break t}q=j[g+16>>2];s=q+p(d,40)|0;f=0;e=q;while(1){f=(j[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(s>>>0>e>>>0){continue}break}if(!f){break t}v=j[(r+j[g+32>>2]|0)+200>>2];t=j[g+24>>2];o=g+144|0;if(f>>>0>=17){o=xe(t,4,0,f,0,g+140|0);if(j[g+140>>2]){break t}}b=0;a=q;while(1){if(k[a+16|0]&16){e=(b<<2)+o|0;u:{if((b|0)<1){f=e;break u}d=j[a+28>>2];while(1){f=e-4|0;n=j[f>>2];if((d|0)>=j[n+28>>2]){f=e;break u}j[e>>2]=n;e=f;if(o>>>0>>0){continue}break}}j[f>>2]=a;b=b+1|0}a=a+40|0;if(s>>>0>a>>>0){continue}break}A=((b<<2)+o|0)-4|0;while(1){d=j[q+16>>2];v:{if(d&16){break v}a=j[q+12>>2];if(a&2){e=k[q+20|0];if(!(a&4|d&64)|((e|0)==4|(e|0)!=k[q+21|0])){break v}j[q+12>>2]=a&-3}f=j[q+28>>2];e=0;d=q;w:{x:{if(b){y:{while(1){if((f|0)>2]+28>>2]){break y}e=e+1|0;if((e|0)!=(b|0)){continue}break}e=b}if(e){break x}}a=j[o>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}e=j[((e<<2)+o|0)-4>>2];n=b;while(1){a=n;if(a){n=a-1|0;if((f|0)<=j[j[(n<<2)+o>>2]+28>>2]){continue}}break}if((a|0)==(b|0)){a=j[A>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}n=j[e+28>>2];z=j[e+36>>2];if((n|0)==(f|0)){break w}a=j[(a<<2)+o>>2];z=j[a+28>>2];if((z|0)==(f|0)){z=j[a+36>>2];break w}D=j[a+36>>2];a=j[e+36>>2];z=Ne(f-n|0,D-a|0,z-n|0)+a|0}j[d+36>>2]=z;j[q+16>>2]=j[q+16>>2]|32}q=q+40|0;if(s>>>0>q>>>0){continue}break}if((g+144|0)==(o|0)){break t}if(o){qe[j[t+8>>2]](t,o)}}A=j[g+12>>2];if(A){a=r+j[g+32>>2]|0;t=j[a+200>>2];z=j[a+204>>2];v=j[g+20>>2];while(1){a=j[v+4>>2];z:{if((a|0)<1){break z}f=j[v>>2];a=f+p(a,40)|0;o=0;e=f;q=0;while(1){b=j[e+16>>2]&32;q=b?q?q:e:q;o=(b>>>5|0)+o|0;e=e+40|0;if(a>>>0>e>>>0){continue}break}e=q;if(o>>>0<=1){if((o|0)==1){z=j[q+36>>2]-ye(j[q+28>>2],t)|0}while(1){if((f|0)!=(q|0)){E=f,F=ye(j[f+28>>2],t)+z|0,j[E+36>>2]=F}f=f+40|0;if(a>>>0>f>>>0){continue}break}break z}while(1){a=e;e=j[e+4>>2];if((q|0)==(e|0)){break z}if(k[e+16|0]&32){continue}f=e;while(1){f=j[f+4>>2];if(!(k[f+16|0]&32)){continue}break}b=j[a+28>>2];d=j[f+28>>2];A:{if((b|0)<=(d|0)){s=d-b|0;r=a;d=f;break A}s=b-d|0;r=f;b=d;d=a}d=j[d+36>>2];o=j[r+36>>2];B:{if((s|0)<1){r=65536;break B}r=De(d-o|0,s);e=j[a+4>>2]}while(1){a=j[e+28>>2]-b|0;C:{D:{if((a|0)<=0){n=ye(a,t);break D}if((a|0)>=(s|0)){n=d;a=ye(a-s|0,t);break C}n=ye(a,r)}a=o}j[e+36>>2]=a+n;e=j[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((q|0)!=(e|0)){continue}break}}v=v+8|0;A=A-1|0;if(A){continue}break}}n=j[g+8>>2];if(n){a=j[g+28>>2];b=j[a+8>>2];a=j[a+4>>2];d=y?32:64;f=0;e=j[g+16>>2];while(1){q=a+(f<<3)|0;j[(y?q:q+4|0)>>2]=j[e+36>>2];if(k[e+16|0]&16){q=b+f|0;h[q|0]=d|k[q|0];n=j[g+8>>2]}e=e+40|0;f=f+1|0;if(n>>>0>f>>>0){continue}break}}if(!C){km(j[g+32>>2],x,B,0,0)}s=1;a=u&1;u=0;if(a){continue}break}}a=j[g+24>>2];b=a;c=j[g+100>>2];if(c){qe[j[b+8>>2]](b,c)}j[g+104>>2]=0;j[g+96>>2]=0;j[g+100>>2]=0;b=j[g+88>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+88>>2]=0;b=j[g+84>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+84>>2]=0;j[g+92>>2]=0;j[g+76>>2]=0;j[g+80>>2]=0;b=j[g+60>>2];if(b){qe[j[a+8>>2]](a,b)}j[g- -64>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;b=j[g+48>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+48>>2]=0;b=j[g+44>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+44>>2]=0;j[g+52>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;b=j[g+16>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+16>>2]=0;b=j[g+20>>2];if(b){qe[j[a+8>>2]](a,b)}}oe=g+208|0;return u|0}function fy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=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;v=j[a+28>>2];if(v){n=k[a+63|0];s=j[a+56>>2];o=j[a+48>>2];x=j[a+36>>2];y=j[a+16>>2];b=j[a+40>>2];i=b;g=j[a+24>>2];z=g&7;A=(g+7|0)/8|0;e=j[a>>2];g=j[a+20>>2];t=j[a+44>>2];r=k[b+9|0];u=r-1|0;while(1){w=A;a:{b:{switch(z-1|0){default:a=7;break a;case 0:a=6;break a;case 1:a=5;break a;case 2:a=4;break a;case 3:a=3;break a;case 4:a=2;break a;case 5:a=1;break a;case 6:break b}}a=0}while(1){c:{d:{switch(a|0){case 0:a=0;c=0;d=0;m=0;e:{f:{g:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;d=0;m=0;h:{i:{j:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;d=0;m=0;k:{l:{m:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;d=0;m=0;n:{o:{p:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;d=0;m=0;q:{r:{s:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;d=0;m=0;t:{u:{v:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;d=0;m=0;w:{x:{y:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}a=v-1|0;e=e+r|0;g=g+1|0;if((w|0)<=1){break c}w=w-1|0;a=7;continue;default:break d}}a=0;d=0;m=0;c=0;z:{A:{B:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 2:c=(k[i+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];m=k[m|0]}if((a|0)!=(s|0)){q=m&255;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;m=k[a+1|0];f=d;d=k[a|0];a=k[a+2|0];a=((p(q-m|0,n)|0)/255|0)+m>>>3&28|((p(f-d|0,n)|0)/255|0)+d&-32|(((p((c&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=0;continue}break}g=g+x|0;e=e+y|0;v=a;if(a){continue}break}}}function gy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;y=j[a+28>>2];if(y){o=k[a+63|0];w=j[a+56>>2];z=j[a+36>>2];A=j[a+16>>2];d=j[a+24>>2];B=d&3;C=(d+3|0)/4|0;n=j[a>>2];e=j[a+20>>2];m=j[a+40>>2];u=k[m+9|0];x=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=C;a:{b:{switch(B-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e:{f:{switch(x|0){case 0:d=k[n|0];break e;case 1:d=l[n>>1];break e;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break e;case 3:break f;default:break e}}d=j[n>>2]}g:{if(!o|(d|0)==(w|0)){break g}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;h:{i:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break h;case 3:break i;default:break h}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;j:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break g;case 3:break j;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break k;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break k;case 3:break l;default:break k}}d=j[n>>2]}m:{if(!o|(d|0)==(w|0)){break m}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;n:{o:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break n;case 3:break o;default:break n}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;p:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break m;case 3:break p;default:break m}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break q;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break q;case 3:break r;default:break q}}d=j[n>>2]}s:{if(!o|(d|0)==(w|0)){break s}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;t:{u:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break t;case 3:break u;default:break t}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;v:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break s;case 3:break v;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break w;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break w;case 3:break x;default:break w}}d=j[n>>2]}y:{if(!o|(d|0)==(w|0)){break y}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;z:{A:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break z;case 3:break A;default:break z}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;B:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break y;case 3:break B;default:break y}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(k[h+9|0]==4){e:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break e;default:break d}}H=j[b+12>>2];if(!H){break a}m=g^255;c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];F=i&3;b=(i+3|0)/4|0;B=c-i<<2;f:while(1){g:{h:{i:{j:{k:{switch(F-1|0){case 0:q=k[h+35|0];r=k[h+31|0];s=k[h+34|0];t=k[h+30|0];u=k[h+33|0];n=k[h+29|0];v=k[h+32|0];D=k[h+28|0];i=b;break h;case 1:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break i;case 2:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break j;default:break k}}r=k[h+31|0];O=j[(r<<2)+234976>>2];t=k[h+30|0];P=j[(t<<2)+234976>>2];n=k[h+29|0];Q=j[(n<<2)+234976>>2];D=k[h+28|0];I=j[(D<<2)+234976>>2];q=k[h+35|0];s=k[h+34|0];u=k[h+33|0];v=k[h+32|0];i=b;l=0;break g}l=1;break g}l=2;break g}l=3}while(1){l:{switch(l|0){case 0:c=j[a>>2];x=u&255;N=n&255;w=v&255;C=D&255;z=s&255;M=t&255;y=q&255;G=r&255;j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];E=j[a>>2];l=u&255;A=((p(m,k[Q+((E&j[h+16>>2])>>>l|0)|0])>>>0)/255|0)+e>>>o<>2];l=v&255;A=A|((p(m,k[I+((E&j[h+12>>2])>>>l|0)|0])>>>0)/255|0)+d>>>o<>2];l=s&255;A=A|((p(m,k[P+((E&j[h+20>>2])>>>l|0)|0])>>>0)/255|0)+f>>>o<>2];l=q&255;j[a>>2]=A|((p(m,k[O+((E&j[h+24>>2])>>>l|0)|0])>>>0)/255|0)+g>>>o<1){i=i-1|0;break m}a=a+B|0;H=c;if(c){continue f}break a}l=0;continue}}}W=Be(4);break a}x=j[b+12>>2];if(!x){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];y=i&3;b=(i+3|0)/4|0;i=c-i<<2;n:while(1){o:{p:{q:{r:{s:{switch(y-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];t=k[h+33|0];u=k[h+29|0];n=k[h+32|0];v=k[h+28|0];w=b;break p;case 1:u=k[h+29|0];t=k[h+33|0];v=k[h+28|0];n=k[h+32|0];s=k[h+30|0];r=k[h+34|0];q=k[h+31|0];l=k[h+35|0];V=e>>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>2]=V;a=a+4|0;c=1;continue;case 1:j[a>>2]=V;a=a+4|0;c=2;continue;case 2:j[a>>2]=V;a=a+4|0;c=3;continue;default:break t}}c=x-1|0;j[a>>2]=e>>>u<>>v<>>s<>>q<1){w=w-1|0;break u}a=a+i|0;x=c;if(c){continue n}break a}c=0;continue}}}J=j[b+12>>2];if(!J){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];E=g&3;b=(g+3|0)/4|0;F=c-g<<2;v:while(1){w:{x:{y:{z:{A:{switch(E-1|0){case 0:t=k[h+35|0];u=k[h+31|0];n=k[h+34|0];v=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break x;case 1:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break y;case 2:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break z;default:break A}}u=k[h+31|0];R=j[(u<<2)+234976>>2];v=k[h+30|0];S=j[(v<<2)+234976>>2];x=k[h+29|0];i=j[(x<<2)+234976>>2];y=k[h+28|0];D=j[(y<<2)+234976>>2];t=k[h+35|0];n=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break w}c=1;break w}c=2;break w}c=3}while(1){B:{switch(c|0){case 0:c=j[a>>2];q=w&255;A=x&255;l=z;m=y&255;r=n&255;L=v&255;s=t&255;K=u&255;j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];C=j[a>>2];o=w&255;B=(p(k[i+((C&j[h+16>>2])>>>o|0)|0],e)>>>0)/255>>>B<>2];G=B|(p(k[D+((C&j[h+12>>2])>>>z|0)|0],d)>>>0)/255>>>o<>2];o=n&255;G=G|(p(k[S+((C&j[h+20>>2])>>>o|0)|0],f)>>>0)/255>>>B<>2];o=t&255;j[a>>2]=G|k[R+((C&j[h+24>>2])>>>o|0)|0]>>>B<1){g=g-1|0;break C}a=a+F|0;J=c;if(c){continue v}break a}c=0;continue}}}I=j[b+12>>2];if(!I){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];K=g&3;b=(g+3|0)/4|0;L=c-g<<2;D:while(1){E:{F:{G:{H:{I:{switch(K-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break F;case 1:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break G;case 2:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break H;default:break I}}q=k[h+31|0];T=j[(q<<2)+234976>>2];s=k[h+30|0];J=j[(s<<2)+234976>>2];x=k[h+29|0];H=j[(x<<2)+234976>>2];y=k[h+28|0];U=j[(y<<2)+234976>>2];l=k[h+35|0];r=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break E}c=1;break E}c=2;break E}c=3}while(1){J:{switch(c|0){case 0:v=l;i=j[a>>2];u=w&255;c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;B=x&255;n=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;o=y&255;m=n|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;F=s&255;E=q&255;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>l|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];C=j[a>>2];m=w&255;i=k[H+((C&j[h+16>>2])>>>m|0)|0]+e|0;A=(i>>>0<255?i:255)>>>A<>2];i=k[U+((C&j[h+12>>2])>>>z|0)|0]+d|0;D=A|(i>>>0<255?i:255)>>>m<>2];m=r&255;i=k[J+((C&j[h+20>>2])>>>m|0)|0]+f|0;m=D|(i>>>0<255?i:255)>>>A<>2];j[a>>2]=m|k[T+((C&j[h+24>>2])>>>l|0)|0]>>>i<1){g=g-1|0;break K}a=a+L|0;I=c;if(c){continue D}break a}c=0;continue}}}return W|0}function fp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=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=oe-192|0;oe=n;z=h;F=i&65535;o=d;p=e&65535;G=(e^i)&-2147483648;m=i>>>16&32767;a:{u=e>>>16&32767;b:{c:{if(m-1>>>0<32766?u-1>>>0<=32765:0){break c}H=e&2147483647;l=H;k=d;if(!(!k&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|k|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|k|(c|l))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((l|0)==65535|l>>>0<65535){i=b;d=!(p|o);h=d<<6;k=s(d?b:o)+32|0;b=s(d?c:p);b=h+((b|0)==32?k:b)|0;Nf(n+176|0,i,c,o,p,b-15|0);I=16-b|0;o=j[n+184>>2];p=j[n+188>>2];c=j[n+180>>2];b=j[n+176>>2]}if(e>>>0>65535){break c}d=!(z|F);e=d<<6;h=s(d?f:z)+32|0;d=s(d?g:F);d=e+((d|0)==32?h:d)|0;Nf(n+160|0,f,g,z,F,d-15|0);I=(d+I|0)-16|0;z=j[n+168>>2];F=j[n+172>>2];f=j[n+160>>2];g=j[n+164>>2]}e=F|65536;H=e;N=z;d=z;l=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=l;k=l;i=1963258675-(k+(d>>>0>4192101508)|0)|0;Ag(n+144|0,d,k,h,i);k=j[n+152>>2];Ag(n+128|0,0-k|0,0-(j[n+156>>2]+((k|0)!=0)|0)|0,h,i);h=j[n+136>>2];i=h<<1|j[n+132>>2]>>>31;h=j[n+140>>2]<<1|h>>>31;Ag(n+112|0,i,h,d,l);k=h;h=j[n+120>>2];Ag(n+96|0,i,k,0-h|0,0-(j[n+124>>2]+((h|0)!=0)|0)|0);h=j[n+104>>2];i=h<<1|j[n+100>>2]>>>31;h=j[n+108>>2]<<1|h>>>31;Ag(n+80|0,i,h,d,l);k=h;h=j[n+88>>2];Ag(n- -64|0,i,k,0-h|0,0-(j[n+92>>2]+((h|0)!=0)|0)|0);h=j[n+72>>2];i=h<<1|j[n+68>>2]>>>31;h=j[n+76>>2]<<1|h>>>31;Ag(n+48|0,i,h,d,l);k=h;h=j[n+56>>2];Ag(n+32|0,i,k,0-h|0,0-(j[n+60>>2]+((h|0)!=0)|0)|0);h=j[n+40>>2];i=h<<1|j[n+36>>2]>>>31;h=j[n+44>>2]<<1|h>>>31;Ag(n+16|0,i,h,d,l);k=h;h=j[n+24>>2];Ag(n,i,k,0-h|0,0-(j[n+28>>2]+((h|0)!=0)|0)|0);I=(u-m|0)+I|0;h=j[n+8>>2];k=j[n+12>>2]<<1|h>>>31;l=h<<1|j[n+4>>2]>>>31;h=l-1|0;l=k-(l>>>0<1)|0;k=0;C=k;i=h;q=e;e=0;r=hP(h,k,q,e);k=pe;v=k;y=l;m=0;u=d;h=hP(l,m,d,0);d=h+r|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;k=0;l=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;r=hP(y,m,q,e);e=r+d|0;l=pe+(k|l)|0;k=e;e=k>>>0>>0?l+1|0:l;q=k;l=h;r=0;h=hP(i,C,u,t);d=r+h|0;k=pe+l|0;k=d>>>0>>0?k+1|0:k;h=k;u=(l|0)==(k|0)&r>>>0>d>>>0|k>>>0>>0;l=q+u|0;k=e;A=l;e=l>>>0>>0?k+1|0:k;q=d;r=d;u=h;d=g;B=(d&131071)<<15|f>>>17;v=hP(i,C,B,0);d=pe;t=d;k=f;l=k<<15&-32768;x=0;D=hP(y,m,l,x);h=D+v|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;D=0;E=hP(i,C,l,x);x=D+E|0;l=h;k=l+pe|0;k=x>>>0>>0?k+1|0:k;w=(k|0)==(l|0)&x>>>0>>0|k>>>0>>0;k=(d|0)==(t|0)&l>>>0>>0|d>>>0>>0;h=d;d=hP(y,m,B,K)+d|0;l=k+pe|0;l=d>>>0>>0?l+1|0:l;h=d;d=w+d|0;k=l;k=d>>>0>>0?k+1|0:k;h=d;d=d+r|0;k=k+u|0;k=d>>>0>>0?k+1|0:k;r=d;v=k;h=(k|0)==(u|0)&d>>>0>>0|k>>>0>>0;d=h+A|0;k=e;k=d>>>0>>0?k+1|0:k;e=(r|0)!=0|(v|0)!=0;d=e+d|0;l=d>>>0>>0?k+1|0:k;h=d;t=0-d|0;A=0;u=hP(t,A,i,C);d=pe;x=d;e=u;q=d;A=hP(y,m,t,A);d=pe;w=d;B=0-(((h|0)!=0)+l|0)|0;t=0;l=hP(i,C,B,t);h=l+A|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;l=h+q|0;e=0+e|0;q=e;k=e;l=k>>>0>>0?l+1|0:l;e=l;l=(x|0)==(l|0)&k>>>0>>0|l>>>0>>0;k=(d|0)==(w|0)&h>>>0>>0|d>>>0>>0;h=d;d=hP(y,m,B,t)+d|0;k=k+pe|0;k=d>>>0>>0?k+1|0:k;h=d;d=l+d|0;w=d;h=d>>>0>>0?k+1|0:k;d=0-r|0;B=0-(((r|0)!=0)+v|0)|0;r=0;A=hP(B,r,i,C);x=pe;v=d;l=hP(d,0,y,m);d=l+A|0;k=pe+x|0;k=d>>>0>>0?k+1|0:k;l=d;d=k;C=hP(i,C,v,K);v=0+C|0;k=l+pe|0;k=v>>>0>>0?k+1|0:k;v=(l|0)==(k|0)&v>>>0>>0|l>>>0>k>>>0;i=(d|0)==(x|0)&l>>>0>>0|d>>>0>>0;l=d;d=hP(y,m,B,r)+l|0;k=i+pe|0;k=d>>>0>>0?k+1|0:k;i=d;d=d+v|0;l=d>>>0>>0?k+1|0:k;i=d;d=d+q|0;k=l+e|0;k=d>>>0>>0?k+1|0:k;i=d;l=d;d=k;l=(e|0)==(k|0)&l>>>0>>0|e>>>0>k>>>0;e=l+w|0;k=h;k=e>>>0>>0?k+1|0:k;l=e;e=i;v=e-2|0;h=v;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=l+e|0;k=d>>>0>>0?k+1|0:k;e=d;d=d-1|0;h=k-(e>>>0<1)|0;e=0;x=e;m=d;i=o;w=i<<2|c>>>30;B=0;q=hP(d,e,w,B);e=pe;t=e;l=e;e=c;K=(e&1073741823)<<2|b>>>30;u=0;D=h;i=0;e=hP(K,u,h,i);d=e+q|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;k=(l|0)==(t|0)&d>>>0>>0|l>>>0>>0;q=d;h=l;A=r;l=0;r=l;c=k;E=((p&1073741823)<<2|o>>>30)&-262145|262144;l=hP(A,l,E,0);d=l+d|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;p=d;e=k;h=(k|0)==(h|0)&d>>>0>>0|h>>>0>k>>>0;d=c+h|0;k=0;k=d>>>0>>0?1:k;h=hP(D,i,E,M);d=h+d|0;l=pe+k|0;l=d>>>0>>0?l+1|0:l;o=hP(m,x,E,M);h=pe;c=d;t=hP(w,B,D,i);d=t+o|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;t=d;d=k;k=(h|0)==(k|0)&o>>>0>t>>>0|h>>>0>k>>>0;o=c+d|0;k=k+l|0;l=o;h=l>>>0>>0?k+1|0:k;q=p;c=l;p=0;d=q+p|0;o=e;l=t+e|0;l=d>>>0

>>0?l+1|0:l;k=d;e=l;p=(l|0)==(o|0)&k>>>0>>0|l>>>0>>0;l=c+p|0;k=h;C=l;h=l>>>0

>>0?k+1|0:k;o=d;p=e;q=hP(K,u,A,r);e=pe;t=hP(v,0,w,B);d=t+q|0;l=pe+e|0;l=d>>>0>>0?l+1|0:l;t=d;q=(e|0)==(l|0)&q>>>0>d>>>0|e>>>0>l>>>0;e=l;y=q;k=b;L=k<<2&-4;c=0;k=hP(m,x,L,c);d=k+d|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;q=d;k=d;d=l;l=(l|0)==(e|0)&k>>>0>>0|e>>>0>l>>>0;e=y+l|0;k=0;k=e>>>0>>0?1:k;l=e;e=o+l|0;k=k+p|0;k=e>>>0>>0?k+1|0:k;t=e;l=e;e=k;p=(k|0)==(p|0)&l>>>0>>0|k>>>0

>>0;k=p+C|0;l=h;C=k;p=k>>>0

>>0?l+1|0:l;y=hP(D,i,L,c);D=pe;i=hP(E,M,v,O);h=i+y|0;k=pe+D|0;k=h>>>0>>0?k+1|0:k;E=h;l=hP(w,B,A,r);h=h+l|0;i=k;k=k+pe|0;k=h>>>0>>0?k+1|0:k;w=h;o=hP(m,x,K,u);h=h+o|0;l=k+pe|0;l=h>>>0>>0?l+1|0:l;o=h;h=l;x=0;m=(l|0)==(k|0)&o>>>0>>0|l>>>0>>0;l=(i|0)==(k|0)&w>>>0>>0|i>>>0>k>>>0;i=l+((i|0)==(D|0)&E>>>0>>0|i>>>0>>0)|0;k=0;i=m+i|0;k=i;l=h|0;i=l+t|0;k=(k|x)+e|0;k=i>>>0>>0?k+1|0:k;l=k;m=(e|0)==(k|0)&i>>>0>>0|e>>>0>k>>>0;e=m+C|0;k=p;w=e;e=e>>>0>>0?k+1|0:k;t=i;p=l;A=hP(A,r,L,c);r=pe;k=hP(K,u,v,O);i=k+A|0;l=pe+r|0;l=i>>>0>>0?l+1|0:l;m=l;l=0;k=(m|0)==(r|0)&i>>>0>>0|m>>>0>>0;i=m+q|0;k=(k|l)+d|0;k=i>>>0>>0?k+1|0:k;m=i;l=i;i=k;l=(d|0)==(k|0)&l>>>0>>0|d>>>0>k>>>0;d=k;q=l;k=o;o=0;h=o+m|0;l=d+k|0;d=h;l=d>>>0>>0?l+1|0:l;h=(i|0)==(l|0)&d>>>0>>0|i>>>0>l>>>0;d=q+h|0;l=0;l=d>>>0>>0?1:l;h=d;d=d+t|0;k=l+p|0;k=d>>>0>>0?k+1|0:k;h=d;i=k;k=(k|0)==(p|0)&d>>>0>>0|k>>>0

>>0;d=k+w|0;l=e;l=d>>>0>>0?l+1|0:l;e=l;d:{if((l|0)==131071|l>>>0<131071){y=0;m=f;x=0;k=hP(h,y,m,x);o=pe;l=b<<17;b=0;c=(k|0)!=0|(o|0)!=0;u=b-c|0;D=l-(b>>>0>>0)|0;b=0-(((k|0)!=0)+o|0)|0;r=0-k|0;v=b;c=0;w=hP(i,c,m,x);b=pe;B=b;o=0;q=hP(h,y,g,o);k=q+w|0;l=pe+b|0;l=k>>>0>>0?l+1|0:l;b=k;q=0;t=k;k=(k|0)==(v|0)&r>>>0>>0|k>>>0>v>>>0;C=u-k|0;u=D-(k>>>0>u>>>0)|0;k=hP(d,0,m,x);m=pe;y=hP(h,y,z,0);p=y+k|0;k=pe+m|0;k=p>>>0>>0?k+1|0:k;m=hP(g,o,i,c);p=m+p|0;k=pe+k|0;k=((l|0)==(B|0)&b>>>0>>0|l>>>0>>0)+(m>>>0>p>>>0?k+1|0:k)|0;b=l+p|0;p=b;b=b>>>0>>0?k+1|0:k;k=hP(h,i,H,0);m=pe;w=p;p=hP(f,g,e,0);k=p+k|0;l=pe+m|0;l=k>>>0

>>0?l+1|0:l;m=hP(d,e,g,o);p=m+k|0;l=hP(i,c,z,F);c=l+p|0;l=c;z=0;c=w+z|0;k=b+l|0;k=c>>>0>>0?k+1|0:k;b=c;z=C-b|0;F=u-((b>>>0>C>>>0)+k|0)|0;I=I-1|0;p=r-q|0;b=v-((r>>>0>>0)+t|0)|0;break d}r=i>>>1|0;l=0;o=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;w=0;m=f;B=0;b=hP(h,w,m,B);k=pe;u=k;k=(b|0)!=0|(k|0)!=0;v=0-k|0;E=o-(c>>>0>>0)|0;q=0-b|0;t=0-(((b|0)!=0)+u|0)|0;o=0;u=hP(h,w,g,o);b=pe;D=b;k=e<<31|d>>>1;r=r|d<<31;O=k|l;C=r;L=0;l=hP(r,L,m,B);c=l+u|0;k=pe+b|0;k=c>>>0>>0?k+1|0:k;b=k;l=c;x=l;y=0;k=(l|0)==(t|0)&y>>>0>q>>>0|l>>>0>t>>>0;A=v-k|0;v=E-(k>>>0>v>>>0)|0;k=hP(h,i,H,0);E=pe;M=hP(m,g,e>>>1|0,0);l=M+k|0;k=pe+E|0;E=l;l=l>>>0>>0?k+1|0:k;k=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=hP(d,e,g,o);k=k+E|0;l=pe+l|0;F=hP(r,O,z,F);k=F+k|0;r=0;F=k;k=hP(g,o,C,L);o=pe;m=hP(d,0,m,B);l=m+k|0;k=pe+o|0;k=l>>>0>>0?k+1|0:k;z=hP(h,w,z,0);l=z+l|0;k=pe+k|0;p=l;l=l>>>0>>0?k+1|0:k;z=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+p|0;l=l+z|0;l=b>>>0>>0?l+1|0:l;c=b;b=b+r|0;l=l+F|0;l=b>>>0>>0?l+1|0:l;z=A-b|0;F=v-((b>>>0>A>>>0)+l|0)|0;p=q-y|0;b=t-((q>>>0>>0)+x|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}m=I+16383|0;if((I|0)<=-16383){e:{if(m){break e}m=p;k=b<<1|m>>>31;m=m<<1;c=(g|0)==(k|0)&f>>>0>>0|g>>>0>>0;f=z;k=F<<1|f>>>31;g=f<<1|b>>>31;l=g;f=(l|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&l>>>0>N>>>0|k>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;e=f;l=d>>>0>e>>>0?l+1|0:l;d=l;if(!(l&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}o=p;l=b<<1|o>>>31;o=o<<1;c=(g|0)==(l|0)&f>>>0<=o>>>0|g>>>0>>0;f=z;l=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(l|0)==(H|0)?c:(H|0)==(l|0)&f>>>0>=N>>>0|l>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;l=d>>>0>f>>>0?l+1|0:l;e=0;d=e+f|0;k=(m<<16)+l|0;J=d|J;G=G|(d>>>0>>0?k+1|0:k)}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=J;j[a+12>>2]=G;oe=n+192|0;return}j[a>>2]=0;j[a+4>>2]=0;b=!(d|f|(e|g));j[a+8>>2]=b?0:J;j[a+12>>2]=b?2147450880:G;oe=n+192|0}function Wq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;o=oe-16|0;oe=o;c=j[a+1020>>2];e=0;a:{if((c|0)<0){break a}b:{while(1){d=j[a+4>>2];e=(c<<2)+a|0;j[a+80>>2]=p(d,i[e+958>>1]);e=i[e+956>>1];j[a+44>>2]=0;j[a+48>>2]=0;j[a+92>>2]=0;c=j[a+28>>2];j[a+40>>2]=c;i[a+86>>1]=0;j[a+88>>2]=c;n=j[a+32>>2]-32|0;j[a+36>>2]=n;j[a+76>>2]=p(d,e);j[c+8>>2]=c;i[a+84>>1]=0;c:{d:{e:{f:{g:{h:{if(i[a+128>>1]<1){break h}d=j[a+8>>2];g=j[a+140>>2];f=0;v=0;while(1){j[a+96>>2]=0;j[a+100>>2]=0;n=j[a+132>>2];f=f&65535;c=n+(f<<3)|0;e=j[a+24>>2];m=(j[c+4>>2]<>2]<>1];t=n+(r<<3)|0;g=(j[t+4>>2]<>2]<>2];f=m+f|0;d=k[f|0];if(d&4){h[a+176|0]=d>>>5;d=k[f|0]}d=d&3;j:{if((d|0)==3){break j}k:{switch(d-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((k[m+r|0]&3)==1){t=t-8|0;break l}e=(e+q|0)/2|0;n=(n+s|0)/2|0}s=n;q=e;f=f-1|0;c=c-8|0}j[a+72>>2]=q;j[a+68>>2]=s;m:{if(c>>>0>>0){while(1){d=f+1|0;m=c+8|0;n:{o:{p:{switch(k[f+1|0]&3){case 1:g=j[c+8>>2];e=c;f=d;c=m;m=j[e+12>>2];e=j[a+24>>2];d=j[a+8>>2];m=(m<>2];g=j[a+8>>2];f=(j[c+8>>2]<>2]<>>0>=t>>>0){break o}m=j[a+24>>2];f=j[a+8>>2];n=(j[c+8>>2]<>2]<>>0>t>>>0){break b}w=c+24|0;u=j[a+24>>2];x=j[a+8>>2];e=(j[c+16>>2]<>2]<>2]<>2]<>>0>=w>>>0){g=e;e=(j[c+28>>2]<>2]<>>0>>0){continue}break}}if(Qq(a,s,q)){break e}}g=j[a+140>>2];f=l[y+g>>1];q=j[a+4>>2];n=q-1|0;c=j[a+72>>2];s=n&c;r:{if(s|(c|0)>2]|(c|0)>j[a+80>>2]){break r}e=j[a+96>>2];if(!e|(l[j[a+88>>2]+12>>1]^l[e+12>>1])&8){break r}j[a+40>>2]=j[a+40>>2]-4}e=j[a+40>>2];m=j[a+88>>2];r=j[m+8>>2];s:{if(!((e|0)==(r|0)|!(k[m+12|0]&8))){d=j[a+8>>2];c=(s|0)>=(d|0);break s}d=j[a+8>>2];c=(d|0)<=((c+n&0-q)-c|0)}q=e-r|0;if((q|0)<=-1){j[a+44>>2]=99;e=1;break a}t:{if(!q){c=e;break t}j[m+16>>2]=q>>2;if(c){c=l[m+12>>1];i[m+12>>1]=(c&8?16:32)|c}j[a+88>>2]=e;c=e+32|0;j[a+40>>2]=c;j[e+8>>2]=c;j[e+16>>2]=0;j[m+28>>2]=e;i[a+84>>1]=l[a+84>>1]+1}n=j[a+36>>2];if(n>>>0<=c>>>0){break d}h[a+87|0]=0;e=j[a+96>>2];if(e){j[m+28>>2]=e}f=f+1|0;v=v+1|0;if((v|0)>1]){continue}break}v=l[a+84>>1];if(v>>>0<2){break h}q=j[a+92>>2];d=q;if(!d){break h}while(1){e=d;u:{v:{switch(v&65535){default:m=j[d+8>>2]+(j[d+16>>2]<<2)|0;break u;case 1:break v;case 0:break g}}m=0}j[e+4>>2]=m;f=j[d+16>>2];g=j[d+20>>2];w:{if(k[d+12|0]&8){e=g;g=(f+e|0)-1|0;break w}e=(g-f|0)+1|0;j[d+20>>2]=e;j[d+8>>2]=(j[d+8>>2]+(f<<2)|0)-4}w=g;f=j[a+48>>2];r=0-f|0;t=j[a+32>>2];u=t-(f<<2)|0;d=f;x:{y:{while(1){s=d;if((d|0)<1){break y}d=s-1|0;x=u+(d<<2)|0;g=j[x>>2];if((g|0)>(e|0)){continue}break}if((e|0)<=(g|0)){s=f;break x}j[x>>2]=e;if((s|0)<2){e=g;break y}d=s-2|0;while(1){s=u+(d<<2)|0;e=j[s>>2];j[s>>2]=g;s=(d|0)>0;d=d-1|0;g=e;if(s){continue}break}}n=n-4|0;j[a+36>>2]=n;if(c>>>0>=n>>>0){break d}s=f+1|0;j[a+48>>2]=s;r=f^-1;j[t+(r<<2)>>2]=e}e=w+1|0;r=t+(r<<2)|0;d=s;z:{A:{while(1){f=d;if((d|0)<1){break A}d=f-1|0;u=r+(d<<2)|0;g=j[u>>2];if((g|0)>(e|0)){continue}break}if((g|0)>(w|0)){break z}j[u>>2]=e;if((f|0)<2){e=g;break A}d=f-2|0;while(1){f=r+(d<<2)|0;e=j[f>>2];j[f>>2]=g;f=(d|0)>0;d=d-1|0;g=e;if(f){continue}break}}n=n-4|0;j[a+36>>2]=n;if(c>>>0>=n>>>0){break d}j[a+48>>2]=s+1;j[t+((s^-1)<<2)>>2]=e}v=v-1|0;d=m;continue}}j[a+92>>2]=0;if(c>>>0>>0){break f}break e}if(c>>>0>=n>>>0){break e}j[o+8>>2]=0;j[o+4>>2]=0;j[o>>2]=0;d=j[a>>2];e=j[a+76>>2]>>d;i[o+12>>1]=e;g=j[a+80>>2]>>d;i[o+14>>1]=g;while(1){d=q;c=j[d+20>>2];m=(c+j[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){i[o+14>>1]=c;g=c}if((m|0)>e<<16>>16){i[o+12>>1]=m;e=m}q=j[d+4>>2];j[d>>2]=0;f=o+8|0;c=j[o+8>>2];B:{if(!c){c=0;break B}if(j[c>>2]>0){break B}C:{while(1){m=c;c=j[c+4>>2];if(c){if(j[c>>2]<=0){continue}break C}break}c=0}f=m+4|0}j[d+4>>2]=c;j[f>>2]=d;if(q){continue}break}if(!j[a+48>>2]){j[a+44>>2]=20;e=20;break a}qe[j[a+160>>2]](a,o+14|0,o+12|0);r=i[o+14>>1];c=j[o+8>>2];if(c){d=c;while(1){j[d+24>>2]=j[d+20>>2]-r;d=j[d+4>>2];if(d){continue}break}}e=j[a+48>>2];D:{if((e|0)<1){break D}E:{if(j[j[a+32>>2]-(e<<2)>>2]!=(r|0)){n=e;break E}n=e-1|0;j[a+48>>2]=n;if((e|0)<2){break D}}d=0;while(1){if(c){q=d<<16>>16;while(1){e=j[c+24>>2]-q|0;j[c+24>>2]=e;m=j[c+4>>2];if(!e){d=j[o+8>>2];F:{if(!d){break F}if((c|0)==(d|0)){j[o+8>>2]=m;break F}while(1){e=d;d=j[d+4>>2];if(!d){break F}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=m}g=j[c>>2];G:{if(k[c+12|0]&8){e=o+4|0;d=j[o+4>>2];if(!d){d=0;break G}if((g|0)>2]){break G}H:{while(1){e=d;d=j[d+4>>2];if(d){if((g|0)>=j[d>>2]){continue}break H}break}d=0}e=e+4|0;break G}e=o;d=j[e>>2];if(!d){d=0;break G}if((g|0)>2]){break G}I:{while(1){e=d;d=j[d+4>>2];if(d){if((g|0)>=j[d>>2]){continue}break I}break}d=0}e=e+4|0}j[c+4>>2]=d;j[e>>2]=c}c=m;if(c){continue}break}}d=j[o+4>>2];c=d;J:{if(!c){break J}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break J}f=d+4|0;e=o+4|0;while(1){K:{if(j[d>>2]<=j[c>>2]){d=c;e=f;break K}j[e>>2]=c;j[f>>2]=j[c+4>>2];j[c+4>>2]=d;d=j[o+4>>2];e=o+4|0}f=d+4|0;c=j[d+4>>2];if(c){continue}break}}m=j[o>>2];c=m;L:{if(!c){m=0;break L}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}d=j[m+4>>2];if(!d){break L}f=m+4|0;e=o;c=m;while(1){M:{if(j[c>>2]<=j[d>>2]){e=f;break M}j[e>>2]=d;j[f>>2]=j[d+4>>2];j[d+4>>2]=c;e=o;m=j[e>>2];d=m}c=d;f=c+4|0;d=j[c+4>>2];if(d){continue}break}}j[a+48>>2]=n-1;v=j[j[a+32>>2]-(n<<2)>>2];u=v<<16>>16;N:{if((u|0)>r<<16>>16){q=r;while(1){s=0;f=m;O:{d=j[o+4>>2];c=d;if(!c){break O}while(1){g=j[c>>2];n=j[f>>2];w=(g|0)>(n|0);P:{Q:{e=w?g:n;g=w?n:g;n=j[a+4>>2];if((e-g|0)>(n|0)){break Q}t=0-n|0;w=t&g;if((w|0)==(g|0)){break Q}t=t&(e+n|0)-1;if((t|0)==(e|0)|((t|0)!=(n+w|0)?(t|0)>=(w|0):0)){break Q}if((l[c+12>>1]&7)==2){break P}j[c>>2]=g;j[f>>2]=e;j[c+24>>2]=1;s=s+1|0;break P}qe[j[a+164>>2]](a,q<<16>>16,g,e,c,f)}c=j[c+4>>2];if(c){f=j[f+4>>2];continue}break}f=m;c=d;if(s<<16>>16<=0){break O}while(1){if(j[c+24>>2]){j[c+24>>2]=0;qe[j[a+168>>2]](a,q<<16>>16,j[c>>2],j[f>>2],c,f)}c=j[c+4>>2];if(!c){break O}f=j[f+4>>2];continue}}qe[j[a+172>>2]](a);q=q+1|0;if((u|0)<=q<<16>>16){break N}c=d;R:{if(!c){break R}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break R}f=d+4|0;e=o+4|0;while(1){S:{if(j[d>>2]<=j[c>>2]){d=c;e=f;break S}j[e>>2]=c;j[f>>2]=j[c+4>>2];j[c+4>>2]=d;d=j[o+4>>2];e=o+4|0}f=d+4|0;c=j[d+4>>2];if(c){continue}break}}m=0;g=j[o>>2];c=g;if(!c){continue}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}f=g+4|0;e=o;m=g;c=g;d=j[c+4>>2];if(!d){continue}while(1){T:{if(j[c>>2]<=j[d>>2]){e=f;break T}j[e>>2]=d;j[f>>2]=j[d+4>>2];j[d+4>>2]=c;e=o;g=j[e>>2];d=g}c=d;f=c+4|0;d=j[c+4>>2];if(d){continue}break}m=g;continue}}d=j[o+4>>2];q=r}U:{c=d;if(!c){break U}while(1){e=j[c+4>>2];V:{if(j[c+16>>2]|!d){break V}if((c|0)==(d|0)){j[o+4>>2]=e;break V}while(1){g=d;d=j[d+4>>2];if(!d){break V}if((c|0)!=(d|0)){continue}break}j[g+4>>2]=e}if(!e){break U}d=j[o+4>>2];c=e;continue}}W:{c=m;if(!c){break W}while(1){e=j[c+4>>2];X:{if(j[c+16>>2]|!m){break X}if((c|0)==(m|0)){j[o>>2]=e;break X}while(1){d=m;m=j[d+4>>2];if(!m){break X}if((c|0)!=(m|0)){continue}break}j[d+4>>2]=e}if(!e){break W}m=j[o>>2];c=e;continue}}n=j[a+48>>2];if((n|0)>=1){d=v-r|0;c=j[o+8>>2];r=q;continue}break}r=q}if(i[o+12>>1]>16){break f}while(1){qe[j[a+172>>2]](a);r=(r<<16)+65536>>16;if((r|0)<=i[o+12>>1]){continue}break}}c=j[a+1020>>2]-1|0;break c}if(j[a+44>>2]==98){break d}e=1;break a}j[a+44>>2]=0;d=j[a+1020>>2];e=(d<<2)+a|0;m=e;g=i[e+958>>1];c=i[e+956>>1];e=(g+c|0)/2|0;if(!((c|0)<=(e|0)?(d|0)<=6:0)){j[a+44>>2]=20;j[a+1020>>2]=0;e=20;break a}c=d+1|0;d=(c<<2)+a|0;i[d+958>>1]=g;i[d+956>>1]=e;i[m+958>>1]=e-1}j[a+1020>>2]=c;if((c|0)>-1){continue}break}e=0;break a}j[a+44>>2]=20;e=1}oe=o+16|0;return e}function pH(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=oe-1520|0;oe=f;j[b>>2]=1;s=Bh(j[b+96>>2],201641);j[b+484>>2]=s;r=dh(j[j[b+96>>2]+4>>2],201658);j[b+488>>2]=r;a:{if(!r){a=11;break a}x=b,y=dh(j[j[b+96>>2]+4>>2],201664),j[x+548>>2]=y;o=j[b+488>>2];Ee(f+8|0,0,376);j[b+540>>2]=0;j[b+532>>2]=-1;j[b+536>>2]=-1;j[b+284>>2]=1;j[b+348>>2]=3932;j[b+172>>2]=4;j[b+276>>2]=2596864;j[b+280>>2]=7;d=j[b+104>>2];e=j[b+100>>2];qe[j[j[o+4>>2]>>2]](f+8|0,0,0,e);j[f+92>>2]=0;j[f+96>>2]=0;h[f+99|0]=0;h[f+100|0]=0;h[f+101|0]=0;h[f+102|0]=0;j[f+84>>2]=0;j[f+88>>2]=0;j[f+80>>2]=d;a=nq(d,201700,14);j[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=nq(d,201715,10);j[f+4>>2]=a;if(a){break d}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}n=qf(d,f+1512|0);e:{f:{g:{h:{a=j[f+1512>>2];if(!a){if((n+32767&65535)>>>0>=2){j[f+4>>2]=0;break g}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(!a){break h}}j[f+4>>2]=a;break d}j[f+4>>2]=0;if((n|0)==32769){break f}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}g=j[d+4>>2];break e}h[f+100|0]=1}i:{if(!j[d+20>>2]){a=j[d+8>>2];n=j[d>>2];h[f+101|0]=1;j[f+88>>2]=g;j[f+84>>2]=a+n;a=xf(d,g);j[f+4>>2]=a;if(a){break d}g=j[f+88>>2];break i}n=He(e,g,f+4|0);j[f+84>>2]=n;a=j[f+4>>2];if(a){break d}a=uf(d,n,g);j[f+4>>2]=a;if(a){break d}j[f+88>>2]=g}d=j[f+84>>2];j[f+12>>2]=d;j[f+8>>2]=d;j[f+16>>2]=d+g;j[f>>2]=0;break c}if(k[f+101|0]){j[f>>2]=a;break b}a=j[f+84>>2];if(a){qe[j[e+8>>2]](e,a)}d=0;j[f+84>>2]=0;a=j[f+4>>2];j[f>>2]=a;if(a){break b}g=j[f+88>>2]}a=mq(b,f+8|0,d,g);j[f>>2]=a;if(a){break b}q=j[f+24>>2];d=j[f+80>>2];j[f+4>>2]=0;j:{k:{l:{m:{if(k[f+100|0]){n=j[d+8>>2];j[f+96>>2]=0;while(1){e=qf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){j[f+4>>2]=0;break m}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}j[f+4>>2]=0;if((e|0)!=32770){break m}j[f+96>>2]=g+j[f+96>>2];a=xf(d,g);j[f+4>>2]=a;if(!a){continue}break}break k}e=j[f+84>>2];g=j[f+88>>2];d=e+g|0;a=e;while(1){n:{o:{if(k[a|0]!=101|a+9>>>0>=d>>>0|(k[a+1|0]!=101|k[a+2|0]!=120)){break o}if(k[a+3|0]!=101){break o}if(k[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}j[f>>2]=3;break b}a=a+10|0;j[f+16>>2]=a;j[f+8>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(k[e|0]==101){if(!Qe(e,201726,5)){break p}}qe[j[f+40>>2]](f+8|0);if(!j[f+20>>2]){qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];if(e>>>0>>0){continue}}break}g=j[f+88>>2];e=j[f+84>>2]}d=e+g|0;continue}break}j[f+16>>2]=j[f+84>>2]+j[f+88>>2];qe[j[f+40>>2]](f+8|0);n=j[f+16>>2];d=j[f+8>>2];a=n-d|0;g=Mh(d,10,a);e=1;q:{if(!g){break q}e=Mh(d,13,a)>>>0>>0}a=3;if(d>>>0>=n>>>0){break k}g=(e|0)!=0;while(1){r:{e=k[d|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(g&(e|0)==13)){break r}}d=d+1|0;if((n|0)!=(d|0)){continue}break k}break}g=j[f+84>>2];e=j[f+88>>2]+(g-d|0)|0;s:{if(k[f+101|0]){g=He(q,e+1|0,f+4|0);j[f+92>>2]=g;a=j[f+4>>2];if(a){break k}j[f+96>>2]=e;break s}j[f+96>>2]=e;j[f+92>>2]=g;h[f+102|0]=1;j[f+84>>2]=0;j[f+88>>2]=0}t:{if(n>>>0<=d+3>>>0){break t}u:{a=k[d|0];if(a-48>>>0<10){break u}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{a=k[d+1|0];if(a-48>>>0<10){break v}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{a=k[d+2|0];if(a-48>>>0<10){break w}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{a=k[d+3|0];if(a-48>>>0<10){break x}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}j[f+8>>2]=d;qe[j[j[o+4>>2]+24>>2]](f+8|0,g,e,f+1512|0,0)|0;a=j[f+1512>>2];j[f+96>>2]=a;h[a+j[f+92>>2]|0]=0;break l}zg(g,d,e);break l}if(!j[f+96>>2]){j[f>>2]=3;break b}a=Fe(d,n);j[f+4>>2]=a;if(a){break k}x=f,y=He(q,j[f+96>>2],f+4|0),j[x+92>>2]=y;a=j[f+4>>2];if(a){break k}j[f+96>>2]=0;a=qf(d,f+1512|0);y:{if(j[f+1512>>2]){break y}while(1){if((a+32767&65535)>>>0>1){break y}e=Zf(d,f+1512|0);if(j[f+1512>>2]){break y}j[f+4>>2]=0;if((a&65535)!=32770){break y}a=uf(d,j[f+92>>2]+j[f+96>>2]|0,e);j[f+4>>2]=a;if(a){break k}j[f+96>>2]=e+j[f+96>>2];a=qf(d,f+1512|0);if(!j[f+1512>>2]){continue}break}}j[f+4>>2]=0}qe[j[o+16>>2]](j[f+92>>2],j[f+96>>2],55665);a=3;if(m[f+96>>2]>3){break j}}j[f>>2]=a;break b}h[j[f+92>>2]]=32;h[j[f+92>>2]+1|0]=32;h[j[f+92>>2]+2|0]=32;h[j[f+92>>2]+3|0]=32;a=j[f+92>>2];j[f+12>>2]=a;j[f+8>>2]=a;d=j[f+96>>2];j[f+16>>2]=d+a;e=j[f+4>>2];j[f>>2]=e;if(e){break b}a=mq(b,f+8|0,a,d);j[f>>2]=a;if(a){break b}h[b+176|0]=k[b+176|0]&254;z:{A:{d=j[b+528>>2];if(!d){break A}a=j[d+416>>2];if(!(!a|(a|0)==j[d+4>>2])){j[d+416>>2]=0}B:{C:{if(j[d>>2]){e=j[d+4>>2];if(e){break C}}Ql(b);d=j[b+528>>2];if(!d){break A}e=j[d+4>>2];if(!e){break B}}a=0;while(1){if(k[(p(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break B}break}Ql(b);if(!j[b+528>>2]){break A}}a=j[b+540>>2];if(!a){break z}x=b,y=xe(j[b+100>>2],4,0,a,0,f),j[x+544>>2]=y;if(!j[f>>2]){break z}j[b+540>>2]=0;break b}j[b+540>>2]=0}o=j[f+160>>2];j[b+416>>2]=o;if(j[f+336>>2]){j[f+336>>2]=0;j[b+404>>2]=j[f+320>>2];j[b+392>>2]=j[f+324>>2];j[b+408>>2]=j[f+348>>2];j[b+412>>2]=j[f+352>>2]}if(!(j[j[b+128>>2]+48>>2]|j[f+228>>2])){j[f>>2]=3}e=0;j[f+228>>2]=0;j[b+396>>2]=j[f+216>>2];j[b+424>>2]=j[f+240>>2];j[b+428>>2]=j[f+244>>2];j[b+400>>2]=j[f+164>>2];j[b+420>>2]=j[f+188>>2];j[f+188>>2]=0;j[f+164>>2]=0;if(j[b+368>>2]!=1){break b}g=0;t=j[f+124>>2];if((t|0)>=1){d=0;while(1){u=d<<1;i[u+j[b+384>>2]>>1]=0;n=d<<2;j[n+j[b+388>>2]>>2]=201692;D:{if((o|0)<1){break D}v=j[n+j[f+132>>2]>>2];if(!v){break D}w=j[b+420>>2];a=0;while(1){q=j[(a<<2)+w>>2];if(!we(v,q)){i[j[b+384>>2]+u>>1]=a;j[n+j[b+388>>2]>>2]=q;if(!we(201692,q)){break D}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break D}a=a+1|0;if((o|0)!=(a|0)){continue}break}}d=d+1|0;if((t|0)!=(d|0)){continue}break}}j[b+380>>2]=g;j[b+376>>2]=e;j[b+372>>2]=j[f+104>>2]}a=j[f+156>>2];if(a){qe[a|0](f+108|0)}a=j[f+264>>2];if(a){qe[a|0](f+216|0)}a=j[f+212>>2];if(a){qe[a|0](f+164|0)}a=j[f+316>>2];if(a){qe[a|0](f+268|0)}a=j[f+372>>2];if(a){qe[a|0](f+324|0)}a=j[f+24>>2];d=a;e=j[f+92>>2];if(e){qe[j[d+8>>2]](d,e)}j[f+92>>2]=0;if(!k[f+101|0]){d=j[f+84>>2];if(d){qe[j[a+8>>2]](a,d)}j[f+84>>2]=0}qe[j[f+32>>2]](f+8|0);a=j[f>>2];if(a|(c|0)<0){break a}a=6;if((c|0)>0){break a}j[b+4>>2]=0;j[b+16>>2]=j[b+416>>2];c=j[b+8>>2];a=c|2577;j[b+8>>2]=a;if(k[b+156|0]){a=c|2581;j[b+8>>2]=a}e=j[b+528>>2];if(e){j[b+8>>2]=a|256}j[b+24>>2]=0;d=j[b+144>>2];j[b+20>>2]=d;E:{F:{if(d){a=j[b+140>>2];if(!a){break F}c=k[a|0];if(!c){a=201673;break E}while(1){G:{H:{g=c&255;c=k[d|0];if((g|0)==(c|0)){a=a+1|0;break H}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break G}I:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break F;case 0:case 13:break H;default:break I}}if(c){break F}break E}d=d+1|0}c=k[a|0];if(c){continue}break}a=201673;break E}a=j[b+364>>2];if(!a){break F}j[b+20>>2]=a}a=j[b+148>>2];a=a?a:201673}j[b+24>>2]=a;c=j[b+152>>2]!=0;j[b+12>>2]=c;a=j[b+148>>2];J:{if(!a){break J}if(we(a,201681)){if(we(a,201686)){break J}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+460>>2]>>16;a=j[b+464>>2]>>16;j[b+56>>2]=a;g=j[b+468>>2]+65535>>16;j[b+60>>2]=g;d=j[b+472>>2]+65535>>16;j[b- -64>>2]=d;c=l[b+68>>1];if(!c){i[b+68>>1]=1e3;c=1e3}i[b+76>>1]=g;i[b+72>>1]=a;i[b+70>>1]=d;a=d-a|0;c=(p(c,12)>>>0)/10|0;i[b+74>>1]=(a|0)>c<<16>>16?a:c;d=0;a=e;e=j[b+488>>2];if(!(qe[j[j[e+12>>2]>>2]](f+8|0,b,0,0,j[b+420>>2],a,0,0,974)|0)){h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[b+404>>2];j[f+1376>>2]=j[b+408>>2];j[f+1380>>2]=j[b+412>>2];j[f+1496>>2]=j[b+544>>2];j[f+1500>>2]=j[b+540>>2];if(j[b+416>>2]>=1){a=0;while(1){K:{if(jk(f+8|0,a,f+1512|0)){break K}c=j[j[j[f+12>>2]+128>>2]+48>>2];if(!c){break K}qe[j[j[c>>2]+4>>2]](j[c+4>>2],f+1512|0)}c=j[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}qe[j[j[e+12>>2]+4>>2]](f+8|0);i[b+76>>1]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>>16}i[b+78>>1]=l[b+74>>1];j[b+80>>2]=l[b+158>>1]|l[b+160>>1]<<16;if(!s){a=0;break a}d=j[r+20>>2];j[f+8>>2]=b;j[f+12>>2]=1970170211;j[f+16>>2]=65539;a=qg(j[d+12>>2],0,f+8|0,0);L:{if((a&255)!=163?a:0){break L}i[f+16>>1]=7;a=0;M:{N:{switch(j[b+368>>2]-1|0){case 1:i[f+18>>1]=0;j[f+12>>2]=1094995778;break M;case 3:i[f+18>>1]=1;j[f+12>>2]=1094992453;d=d+4|0;break M;case 0:i[f+18>>1]=2;j[f+12>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break L}}d=d+12|0;i[f+18>>1]=3;j[f+12>>2]=1818326065}b=j[d>>2];if(!b){break L}a=qg(b,0,f+8|0,0)}oe=f+1520|0;return a|0}oe=f+1520|0;return a|0}function Vr(a,b,c,d){var e=0,f=0,g=0,i=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=oe-352|0;oe=f;m=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{d:{e:{p=j[b>>2];if((j[a+8>>2]-p|0)+1>>>0>2){break e}e=j[b+4>>2];if((j[a+12>>2]-e|0)+1>>>0>2){break e}g=p;p=j[c>>2];if((g-p|0)+1>>>0>2){break e}g=e;e=j[c+4>>2];if((g-e|0)+1>>>0>2|(p-j[d>>2]|0)+1>>>0>2|(e-j[d+4>>2]|0)+1>>>0>2){break e}break d}e=j[d+4>>2];j[f+32>>2]=j[d>>2];j[f+36>>2]=e;e=j[c+4>>2];j[f+40>>2]=j[c>>2];j[f+44>>2]=e;c=j[b+4>>2];j[f+48>>2]=j[b>>2];j[f+52>>2]=c;b=j[a+12>>2];j[f+56>>2]=j[a+8>>2];j[f+60>>2]=b;w=a- -64|0;o=f+32|0;b=1;while(1){c=j[a>>2];B=f+32|0;f:{g:{if((u|0)>31){e=c;p=c;break g}g=j[o+20>>2];v=g-j[o+28>>2]|0;i=j[o+8>>2];p=j[o+16>>2];n=i-p|0;e=j[o+12>>2];l=e-g|0;g=n+1>>>0<3&l+1>>>0<3;r=j[o>>2]-i|0;q=(f+32|0)+(u<<3)|0;s=j[q+4>>2]-e|0;i=r+1>>>0<3&s+1>>>0<3;h:{i:{j:{e=p-j[o+24>>2]|0;k:{if(!(e+1>>>0>2|v+1>>>0>2)){if(g){e=c;p=c;if(i){break h}c=Gf(r,s);break k}c=Gf(n,l);if(i){break k}p=Gf(r,s);e=c;break h}c=Gf(e,v);if(!g){break i}if(!i){break j}}e=c;p=c;break h}p=Gf(r,s);e=((Df(c,p)|0)/2|0)+c|0;break h}e=Gf(n,l);if(i){p=e;break h}p=Gf(r,s)}i=Df(c,e);g=Df(e,p);l=i;i=i>>31;if((l+i^i)<=1474559){i=g>>31;if((i+g^i)<1474560){break g}}if(k[a+20|0]){j[a>>2]=c}c=j[o+24>>2];j[o+48>>2]=c;g=j[o+28>>2];j[o+52>>2]=g;i=j[o+8>>2];e=(i+j[o>>2]|0)/2|0;j[o+8>>2]=e;p=c;c=j[o+16>>2];p=(p+c|0)/2|0;j[o+40>>2]=p;c=(c+i|0)/2|0;e=(c+e|0)/2|0;j[o+16>>2]=e;c=(c+p|0)/2|0;j[o+32>>2]=c;j[o+24>>2]=(c+e|0)/2;i=j[(q|4)>>2];e=j[o+20>>2];c=(e+g|0)/2|0;j[o+44>>2]=c;g=c;c=j[o+12>>2];p=(c+e|0)/2|0;e=(g+p|0)/2|0;j[o+36>>2]=e;c=(c+i|0)/2|0;j[o+12>>2]=c;c=(c+p|0)/2|0;j[o+20>>2]=c;j[o+28>>2]=(c+e|0)/2;u=u+3|0;break f}l:{m:{n:{if(b&255){if(k[a+20|0]){of(f+336|0,j[a+60>>2],c+5898240|0);s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+84>>2];o:{if((b|0)>=0){r=j[w>>2];if(r>>>0<=b+1>>>0){j[w>>2]=b;break o}g=r-1|0;j[a+64>>2]=g;i=j[a+72>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[w>>2]}i=s+v|0;n=l+n|0;h[a+80|0]=0;j[a+84>>2]=b;p:{q:{if(!b){break q}g=j[a+72>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break q}if((j[g+4>>2]-i|0)+1>>>0<3){break p}}g=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;r:{if(q>>>0<=g>>>0){t=j[a+76>>2];break r}l=j[a+88>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+72>>2],f+24|0),j[D+72>>2]=E;m=j[f+24>>2];if(m){break n}t=xe(l,1,g,b,j[a+76>>2],f+24|0);j[a+76>>2]=t;m=j[f+24>>2];if(m){break n}j[a+68>>2]=b;b=j[a+64>>2]}g=j[a+72>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+116>>2];s:{if((b|0)>=0){r=j[a+96>>2];if(r>>>0<=b+1>>>0){j[a+96>>2]=b;break s}g=r-1|0;j[a+96>>2]=g;i=j[a+104>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}i=s-v|0;n=n-l|0;h[a+112|0]=0;j[a+116>>2]=b;t:{u:{if(!b){break u}g=j[a+104>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break u}m=0;if((j[g+4>>2]-i|0)+1>>>0<3){break t}}g=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;v:{w:{if(q>>>0<=g>>>0){t=j[a+108>>2];break w}l=j[a+120>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+104>>2],f+24|0),j[D+104>>2]=E;m=j[f+24>>2];if(m){break v}t=xe(l,1,g,b,j[a+108>>2],f+24|0);j[a+108>>2]=t;m=j[f+24>>2];if(m){break v}j[a+100>>2]=b;b=j[a+96>>2]}g=j[a+104>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;j[a+96>>2]=j[a+96>>2]+1;m=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=c;break m}j[a+4>>2]=c;b=Df(j[a>>2],c);if(!b){break l}m=Di(a,b>>>31|0,0);if(m){break a}m=Ci(a,(b^-1)>>>31|0,0);break m}m=0;b=Df(j[a>>2],c);i=b>>31;if((i^b+i)<368641){break m}i=j[o+28>>2];b=j[o+24>>2];j[a+48>>2]=0;j[a+4>>2]=c;j[a+8>>2]=b;j[a+12>>2]=i;b=Df(j[a>>2],c);x:{if(!b){break x}m=Di(a,b>>>31|0,0);if(m){break x}m=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break m}h[a+80|0]=0}if(m){break a}}q=Df(c,e);g=Df(e,p);i=(Df(c,e)|0)/2|0;b=(Df(e,p)|0)/2|0;C=De(j[a+60>>2],Bi((q|0)/2|0));r=De(j[a+60>>2],Bi((g|0)/2|0));if(k[a+40|0]){q=Gf(j[o>>2]-j[o+24>>2]|0,j[((f+32|0)+(u<<3)|0)+4>>2]-j[o+28>>2]|0)}else{q=0}s=c+i|0;v=b+e|0;y=(f+32|0)+(u<<3)|4;b=5898240;t=1;c=w;while(1){of(f+336|0,C,b+s|0);j[f+336>>2]=j[f+336>>2]+j[o+16>>2];j[f+340>>2]=j[f+340>>2]+j[o+20>>2];of(f+24|0,r,b+v|0);j[f+24>>2]=j[f+24>>2]+j[o+8>>2];j[f+28>>2]=j[f+28>>2]+j[o+12>>2];of(f+16|0,j[a+60>>2],b+p|0);n=j[f+16>>2]+j[o>>2]|0;j[f+16>>2]=n;l=j[f+20>>2]+j[y>>2]|0;j[f+20>>2]=l;y:{z:{if(!k[a+40|0]){break z}e=(j[c+8>>2]+(j[c>>2]<<3)|0)-8|0;b=j[e+4>>2];i=j[e>>2];g=b;e=i;x=b;l=Gf(n-e|0,l-b|0);b=Df(q,l);n=b>>31;if((n^b+n)<5898241){break z}z=Gf(j[o+24>>2]-e|0,j[o+28>>2]-x|0);b=Gf(j[o>>2]-j[f+16>>2]|0,j[y>>2]-j[f+20>>2]|0);j[f+8>>2]=j[f+16>>2]-e;j[f+12>>2]=j[f+20>>2]-x;n=qk(f+8|0);l=Ai(l-b|0);A=l>>31;b=Ai(z-b|0);m=b>>31;of(f,Ne(n,A^l+A,m^b+m),z);n=e+j[f>>2]|0;j[f>>2]=n;l=x+j[f+4>>2]|0;j[f+4>>2]=l;h[c+16|0]=0;b=j[c>>2];A:{B:{C:{D:{if(!b){break D}e=j[c+8>>2]+(b-1<<3)|0;if((j[e>>2]-n|0)+1>>>0>2){break D}if((j[e+4>>2]-l|0)+1>>>0<3){break C}}e=j[c+4>>2];j[f+348>>2]=0;l=b+1|0;E:{if(l>>>0<=e>>>0){e=j[c+12>>2];break E}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+4>>2];n=j[c+8>>2]+(b<<3)|0;j[n>>2]=j[f>>2];j[n+4>>2]=l;h[b+e|0]=1;e=0;h[c+16|0]=0;l=j[c>>2];b=l+1|0;j[c>>2]=b;if(b>>>0>>0){break B}}l=j[c+8>>2]+(b-1<<3)|0;if((j[l>>2]-j[f+16>>2]|0)+1>>>0>2){e=b;break B}e=b;if((j[l+4>>2]-j[f+20>>2]|0)+1>>>0<3){break A}}l=j[c+4>>2];j[f+348>>2]=0;n=e+1|0;F:{if(n>>>0<=l>>>0){n=j[c+12>>2];break F}e=j[c+24>>2];b=l;while(1){b=((b>>>1|0)+b|0)+16|0;if(n>>>0>b>>>0){continue}break}D=c,E=xe(e,8,l,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}n=xe(e,1,l,b,j[c+12>>2],f+348|0);j[c+12>>2]=n;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;e=j[c>>2]}b=j[f+20>>2];l=j[c+8>>2]+(e<<3)|0;j[l>>2]=j[f+16>>2];j[l+4>>2]=b;h[e+n|0]=1;h[c+16|0]=0;b=j[c>>2]+1|0;j[c>>2]=b}e=j[c+4>>2];j[f+348>>2]=0;l=b+3|0;G:{if(l>>>0<=e>>>0){e=j[c+12>>2];break G}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+28>>2];m=j[c+8>>2]+(b<<3)|0;j[m>>2]=j[f+24>>2];j[m+4>>2]=l;n=j[f+336>>2];l=j[f+340>>2];j[m+16>>2]=i;j[m+20>>2]=g;j[m+8>>2]=n;j[m+12>>2]=l;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;i=j[c>>2];b=i+3|0;j[c>>2]=b;H:{if(!b){break H}e=j[c+8>>2]+(i+2<<3)|0;if((j[e>>2]-j[f+16>>2]|0)+1>>>0>2){break H}if((j[e+4>>2]-j[f+20>>2]|0)+1>>>0<3){break y}}e=j[c+4>>2];j[f+348>>2]=0;i=i+4|0;I:{if(i>>>0<=e>>>0){e=j[c+12>>2];break I}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(g,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}i=j[f+20>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+16>>2];j[g+4>>2]=i;h[b+e|0]=1;h[c+16|0]=0;j[c>>2]=j[c>>2]+1;break y}e=j[c+4>>2];b=j[c>>2];j[f+8>>2]=0;i=b+3|0;J:{if(i>>>0<=e>>>0){e=j[c+12>>2];break J}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+8|0),j[D+8>>2]=E;m=j[f+8>>2];if(m){break b}e=xe(g,1,e,b,j[c+12>>2],f+8|0);j[c+12>>2]=e;m=j[f+8>>2];if(m){break b}j[c+4>>2]=b;b=j[c>>2]}i=j[f+340>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+336>>2];j[g+4>>2]=i;i=j[f+28>>2];j[g+8>>2]=j[f+24>>2];j[g+12>>2]=i;i=j[f+20>>2];j[g+16>>2]=j[f+16>>2];j[g+20>>2]=i;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;j[c>>2]=j[c>>2]+3}c=c+32|0;e=t&1;b=-5898240;t=0;if(e){continue}break}j[a>>2]=p;b=0;u=u-3|0}o=B+(u<<3)|0;if((u|0)>-1){continue}break}}b=j[d+4>>2];j[a+8>>2]=j[d>>2];j[a+12>>2]=b;m=0;break a}h[c+16|0]=0;break a}h[c+16|0]=0}oe=f+352|0;return m}function MD(a,b,c,d,e,f,g){var h=0,i=0,l=0,n=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,I=0;h=oe-8976|0;oe=h;z=d+e|0;F=0-z|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=j[b+4>>2];if(c>>>0>=m[b+104>>2]){break c}j[b+4>>2]=c+1;c=k[c|0];break b}}else{c=j[b+4>>2];if(c>>>0>2]){l=1;j[b+4>>2]=c+1;c=k[c|0]}else{l=1;c=ff(b)}continue}break}c=ff(b)}n=1;if((c|0)!=48){break a}while(1){c=q;q=c-1|0;o=o-(c>>>0<1)|0;c=j[b+4>>2];d:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break d}c=ff(b)}if((c|0)==48){continue}break}l=1}j[h+784>>2]=0;e:{f:{t=(c|0)==46;s=c-48|0;g:{h:{i:{j:{if(t|s>>>0<=9){while(1){k:{if(t&1){if(!n){q=r;o=i;n=1;break k}l=!l;break j}r=r+1|0;i=r>>>0<1?i+1|0:i;if((v|0)<=2044){y=(c|0)==48?y:r;l=(h+784|0)+(v<<2)|0;t=l;if(u){s=(p(j[l>>2],10)+c|0)-48|0}j[t>>2]=s;l=1;s=u+1|0;c=(s|0)==9;u=c?0:s;v=c+v|0;break k}if((c|0)==48){break k}j[h+8960>>2]=j[h+8960>>2]|1;y=18396}c=j[b+4>>2];l:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break l}c=ff(b)}t=(c|0)==46;s=c-48|0;if(t|s>>>0<10){continue}break}}q=n?q:r;o=n?o:i;if(!(!l|(c&-33)!=69)){n=np(b,g);c=pe;t=c;m:{if(n|(c|0)!=-2147483648){break m}if(!g){break g}n=0;t=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!l){break h}o=o+t|0;b=n+q|0;o=b>>>0>>0?o+1|0:o;q=b;break f}l=!l;if((c|0)<0){break i}}if(!j[b+104>>2]){break i}j[b+4>>2]=j[b+4>>2]-1}if(!l){break f}}j[67100]=28}r=0;i=0;kg(b,0,0);c=0;b=0;break e}b=j[h+784>>2];if(!b){Lg(h,+(f|0)*0);r=j[h>>2];i=j[h+4>>2];c=j[h+12>>2];b=j[h+8>>2];break e}if(!((q|0)!=(r|0)|(i|0)!=(o|0)|((i|0)>0?1:(i|0)>=0?r>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){$f(h+48|0,f);ni(h+32|0,b);lf(h+16|0,j[h+48>>2],j[h+52>>2],j[h+56>>2],j[h+60>>2],j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2]);r=j[h+16>>2];i=j[h+20>>2];c=j[h+28>>2];b=j[h+24>>2];break e}if((o|0)>0?1:(o|0)>=0?q>>>0>(e|0)/-2>>>0:0){j[67100]=68;$f(h+96|0,f);lf(h+80|0,j[h+96>>2],j[h+100>>2],j[h+104>>2],j[h+108>>2],-1,-1,-1,2147418111);lf(h- -64|0,j[h+80>>2],j[h+84>>2],j[h+88>>2],j[h+92>>2],-1,-1,-1,2147418111);r=j[h+64>>2];i=j[h+68>>2];c=j[h+76>>2];b=j[h+72>>2];break e}b=e-226|0;c=q>>>0>>0;b=b>>31;if((b|0)>(o|0)?1:(o|0)<=(b|0)?c:0){j[67100]=68;$f(h+144|0,f);lf(h+128|0,j[h+144>>2],j[h+148>>2],j[h+152>>2],j[h+156>>2],0,0,0,65536);lf(h+112|0,j[h+128>>2],j[h+132>>2],j[h+136>>2],j[h+140>>2],0,0,0,65536);r=j[h+112>>2];i=j[h+116>>2];c=j[h+124>>2];b=j[h+120>>2];break e}if(u){if((u|0)<=8){c=(h+784|0)+(v<<2)|0;b=j[c>>2];while(1){b=p(b,10);u=u+1|0;if((u|0)!=9){continue}break}j[c>>2]=b}v=v+1|0}n:{n=q;if((y|0)>(n|0)|(y|0)>=9|(n|0)>17){break n}if((n|0)==9){$f(h+192|0,f);ni(h+176|0,j[h+784>>2]);lf(h+160|0,j[h+192>>2],j[h+196>>2],j[h+200>>2],j[h+204>>2],j[h+176>>2],j[h+180>>2],j[h+184>>2],j[h+188>>2]);r=j[h+160>>2];i=j[h+164>>2];c=j[h+172>>2];b=j[h+168>>2];break e}if((n|0)<=8){$f(h+272|0,f);ni(h+256|0,j[h+784>>2]);lf(h+240|0,j[h+272>>2],j[h+276>>2],j[h+280>>2],j[h+284>>2],j[h+256>>2],j[h+260>>2],j[h+264>>2],j[h+268>>2]);$f(h+224|0,j[(0-n<<2)+227584>>2]);fp(h+208|0,j[h+240>>2],j[h+244>>2],j[h+248>>2],j[h+252>>2],j[h+224>>2],j[h+228>>2],j[h+232>>2],j[h+236>>2]);r=j[h+208>>2];i=j[h+212>>2];c=j[h+220>>2];b=j[h+216>>2];break e}b=(p(n,-3)+d|0)+27|0;c=j[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}$f(h+352|0,f);ni(h+336|0,c);lf(h+320|0,j[h+352>>2],j[h+356>>2],j[h+360>>2],j[h+364>>2],j[h+336>>2],j[h+340>>2],j[h+344>>2],j[h+348>>2]);$f(h+304|0,j[(n<<2)+227512>>2]);lf(h+288|0,j[h+320>>2],j[h+324>>2],j[h+328>>2],j[h+332>>2],j[h+304>>2],j[h+308>>2],j[h+312>>2],j[h+316>>2]);r=j[h+288>>2];i=j[h+292>>2];c=j[h+300>>2];b=j[h+296>>2];break e}while(1){c=v;v=c-1|0;if(!j[(h+784|0)+(v<<2)>>2]){continue}break}u=0;b=(n|0)%9|0;o:{if(!b){l=0;break o}g=(n|0)>-1?b:b+9|0;p:{if(!c){l=0;c=0;break p}q=j[(0-g<<2)+227584>>2];o=1e9/(q|0)|0;t=0;b=0;l=0;while(1){s=t;i=(h+784|0)+(b<<2)|0;r=j[i>>2];t=(r>>>0)/(q>>>0)|0;s=s+t|0;j[i>>2]=s;s=!s&(b|0)==(l|0);l=s?l+1&2047:l;n=s?n-9|0:n;t=p(o,r-p(q,t)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!t){break p}j[(h+784|0)+(c<<2)>>2]=t;c=c+1|0}n=(n-g|0)+9|0}while(1){r=(h+784|0)+(l<<2)|0;q:{while(1){if((n|0)!=36|m[r>>2]>=10384593?(n|0)>=36:0){break q}v=c+2047|0;t=0;s=c;while(1){c=s;i=v&2047;s=(h+784|0)+(i<<2)|0;b=j[s>>2];o=b>>>3|0;g=b<<29;b=g+t|0;o=b>>>0>>0?o+1|0:o;q=b;g=0;r:{if(!o&b>>>0<1000000001){break r}g=jP(b,o,1e9);q=q-hP(g,pe,1e9,0)|0}t=g;j[s>>2]=q;s=(i|0)!=(c-1&2047)?c:(i|0)==(l|0)?c:q?c:i;v=i-1|0;if((i|0)!=(l|0)){continue}break}u=u-29|0;if(!t){continue}break}l=l-1&2047;if((s|0)==(l|0)){b=(h+784|0)+((s+2046&2047)<<2)|0;c=s-1&2047;j[b>>2]=j[b>>2]|j[(h+784|0)+(c<<2)>>2]}n=n+9|0;j[(h+784|0)+(l<<2)>>2]=t;continue}break}s:{t:while(1){g=c+1&2047;o=(h+784|0)+((c-1&2047)<<2)|0;while(1){q=(n|0)>45?9:1;u:{while(1){s=l;b=0;v:{while(1){w:{l=b+s&2047;if((l|0)==(c|0)){break w}l=j[(h+784|0)+(l<<2)>>2];i=j[(b<<2)+227536>>2];if(l>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((n|0)!=36){break v}q=0;o=0;b=0;r=0;i=0;while(1){g=b+s&2047;if((g|0)==(c|0)){c=c+1&2047;j[((c<<2)+h|0)+780>>2]=0}lf(h+768|0,q,o,r,i,0,0,1342177280,1075633366);ni(h+752|0,j[(h+784|0)+(g<<2)>>2]);Wf(h+736|0,j[h+768>>2],j[h+772>>2],j[h+776>>2],j[h+780>>2],j[h+752>>2],j[h+756>>2],j[h+760>>2],j[h+764>>2]);r=j[h+744>>2];i=j[h+748>>2];q=j[h+736>>2];o=j[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}$f(h+720|0,f);lf(h+704|0,q,o,r,i,j[h+720>>2],j[h+724>>2],j[h+728>>2],j[h+732>>2]);r=j[h+712>>2];i=j[h+716>>2];q=0;o=0;n=j[h+704>>2];t=j[h+708>>2];l=u+113|0;e=l-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}u=q+u|0;l=c;if((c|0)==(s|0)){continue}break}i=1e9>>>q|0;r=-1<>2];b=(v>>>q|0)+b|0;j[t>>2]=b;b=!b&(l|0)==(s|0);l=b?l+1&2047:l;n=b?n-9|0:n;b=p(i,r&v);s=s+1&2047;if((s|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(l|0)){j[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}j[o>>2]=j[o>>2]|1;l=g;continue}break}break}Lg(h+656|0,Kg(1,225-d|0));qp(h+688|0,j[h+656>>2],j[h+660>>2],j[h+664>>2],j[h+668>>2],n,t,r,i);A=j[h+696>>2];B=j[h+700>>2];C=j[h+688>>2];D=j[h+692>>2];Lg(h+640|0,Kg(1,113-d|0));cp(h+672|0,n,t,r,i,j[h+640>>2],j[h+644>>2],j[h+648>>2],j[h+652>>2]);q=j[h+672>>2];o=j[h+676>>2];w=j[h+680>>2];x=j[h+684>>2];sl(h+624|0,n,t,r,i,q,o,w,x);Wf(h+608|0,C,D,A,B,j[h+624>>2],j[h+628>>2],j[h+632>>2],j[h+636>>2]);r=j[h+616>>2];i=j[h+620>>2];n=j[h+608>>2];t=j[h+612>>2]}b=s+4&2047;x:{if((b|0)==(c|0)){break x}b=j[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((s+5&2047)==(c|0)?!b:0){break y}Lg(h+496|0,+(f|0)*.25);Wf(h+480|0,q,o,w,x,j[h+496>>2],j[h+500>>2],j[h+504>>2],j[h+508>>2]);w=j[h+488>>2];x=j[h+492>>2];q=j[h+480>>2];o=j[h+484>>2];break y}if((b|0)!=5e8){Lg(h+592|0,+(f|0)*.75);Wf(h+576|0,q,o,w,x,j[h+592>>2],j[h+596>>2],j[h+600>>2],j[h+604>>2]);w=j[h+584>>2];x=j[h+588>>2];q=j[h+576>>2];o=j[h+580>>2];break y}E=+(f|0);if((s+5&2047)==(c|0)){Lg(h+528|0,E*.5);Wf(h+512|0,q,o,w,x,j[h+528>>2],j[h+532>>2],j[h+536>>2],j[h+540>>2]);w=j[h+520>>2];x=j[h+524>>2];q=j[h+512>>2];o=j[h+516>>2];break y}Lg(h+560|0,E*.75);Wf(h+544|0,q,o,w,x,j[h+560>>2],j[h+564>>2],j[h+568>>2],j[h+572>>2]);w=j[h+552>>2];x=j[h+556>>2];q=j[h+544>>2];o=j[h+548>>2]}if((d|0)>111){break x}cp(h+464|0,q,o,w,x,0,0,0,1073676288);if(Kh(j[h+464>>2],j[h+468>>2],j[h+472>>2],j[h+476>>2],0,0,0,0)){break x}Wf(h+448|0,q,o,w,x,0,0,0,1073676288);w=j[h+456>>2];x=j[h+460>>2];q=j[h+448>>2];o=j[h+452>>2]}Wf(h+432|0,n,t,r,i,q,o,w,x);sl(h+416|0,j[h+432>>2],j[h+436>>2],j[h+440>>2],j[h+444>>2],C,D,A,B);r=j[h+424>>2];i=j[h+428>>2];n=j[h+416>>2];t=j[h+420>>2];z:{if((-2-z|0)>=(l&2147483647)){break z}j[h+408>>2]=r;j[h+412>>2]=i&2147483647;j[h+400>>2]=n;j[h+404>>2]=t;lf(h+384|0,n,t,r,i,0,0,0,1073610752);c=gp(j[h+400>>2],j[h+404>>2],j[h+408>>2],j[h+412>>2],1081081856);b=(c|0)<0;r=b?r:j[h+392>>2];i=b?i:j[h+396>>2];n=b?n:j[h+384>>2];t=b?t:j[h+388>>2];u=((c|0)>-1)+u|0;if(G=!(g&(b|(d|0)!=(e|0))&(Kh(q,o,w,x,0,0,0,0)|0)!=0),H=0,I=(u+110|0)<=(F|0),I?G:H){break z}j[67100]=68}pp(h+368|0,n,t,r,i,u);r=j[h+368>>2];i=j[h+372>>2];c=j[h+380>>2];b=j[h+376>>2]}j[a>>2]=r;j[a+4>>2]=i;j[a+8>>2]=b;j[a+12>>2]=c;oe=h+8976|0}function NN(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,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0;l=oe-304|0;oe=l;j[l+28>>2]=0;f=j[e+32>>2];if(f){m=j[f+278664>>2]}a:{b:{if(Qe(a,117052,7)){break b}c:{o=k[a+7|0];switch(o|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!j[j[e+36>>2]+8>>2]){break a}c=j[f+278664>>2];j[l+48>>2]=0;e=c;c=j[f+88>>2];b=(o?-8:-7)+b|0;d=b+1|0;e=xe(e,1,c,d+c|0,j[f+84>>2],l+48|0);j[f+84>>2]=e;c=j[l+48>>2];if(c){break a}u=Ae(e+j[f+88>>2]|0,o?a+8|0:a+7|0,b)+b|0,v=10,h[u|0]=v;j[f+88>>2]=d+j[f+88>>2];c=j[l+48>>2];break a}g=j[e>>2];if(!(g&1)){d=j[e+139320>>2];c=176;if(Qe(a,117060,9)){break a}d:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;j[e+32>>2]=0;j[e>>2]=1;b=He(d,278692,l+28|0);c=j[l+28>>2];if(c){break a}j[e+32>>2]=b;j[b+278664>>2]=j[e+139320>>2];j[e+139320>>2]=0;j[l+48>>2]=0;j[b+278684>>2]=0;j[b+278676>>2]=80;j[b+278680>>2]=241;u=b,v=xe(d,4,0,241,0,l+48|0),j[u+278688>>2]=v;c=j[l+48>>2];j[l+28>>2]=c;if(c){break a}b=b+278676|0;f=117072;while(1){c=xm(j[f>>2],a,b,d);j[l+28>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=He(d,16,l+28|0);j[j[e+32>>2]+128>>2]=a;c=j[l+28>>2];if(c){break a}j[l+48>>2]=0;j[a+8>>2]=0;j[a>>2]=80;j[a+4>>2]=241;u=a,v=xe(d,4,0,241,0,l+48|0),j[u+12>>2]=v;c=j[l+48>>2];if(c){break a}a=j[j[e+36>>2]+12>>2];b=j[e+32>>2];j[b+36>>2]=-1;j[b+28>>2]=a;c=0;break a}e:{if(Qe(a,118400,15)){break e}f:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}o=e+139304|0;c=og(o,118416,a,b);j[l+28>>2]=c;if(c){break a}f=0;a=j[j[o>>2]+4>>2];g:{if(!a){break g}g=k[a|0];if(!g){break g}b=119584;n=10;c=a;h:{if((g|0)!=48){break h}if((k[a+1|0]|32)!=120){g=48;c=a;break h}g=k[a+2|0];b=119552;n=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=k[a+119616|0]+p(f,n)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[j[e+32>>2]+72>>2]=f;j[e+4>>2]=f;a=xe(m,16,0,f,0,l+28|0);b=j[e+32>>2];j[b+80>>2]=a;c=j[l+28>>2];if(c){j[b+72>>2]=0;break a}j[e>>2]=j[e>>2]|16;j[d>>2]=601;c=0;break a}o=l;i:{j:{if(Qe(a,118419,15)){break j}k:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=178;if(!(g&4)){break i}d=e+139304|0;c=og(d,118416,a,b);j[l+28>>2]=c;if(c){break a}f=0;b=0;q=j[d>>2];a=j[q+4>>2];l:{if(!a){break l}n=k[a|0];if(!n){break l}m=119584;d=10;c=a;m:{if((n|0)!=48){break m}if((k[a+1|0]|32)!=120){n=48;c=a;break m}n=k[a+2|0];m=119552;d=16;c=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+m|0]>>>(a&7)&1)){break l}while(1){b=k[a+119616|0]+p(b,d)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];i[o+4>>1]=b;a=j[q+8>>2];n:{if(!a){break n}d=k[a|0];if(!d){break n}b=119584;m=10;c=a;o:{if((d|0)!=48){break o}if((k[a+1|0]|32)!=120){d=48;c=a;break o}d=k[a+2|0];b=119552;m=16;c=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+b|0]>>>(a&7)&1)){break n}while(1){f=k[a+119616|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}i[o+6>>1]=f;g=0;t=o;a=j[q+12>>2];b=0;p:{if(!a){break p}n=k[a|0];b=0;if(!n){break p}m=119584;d=10;r=(n|0)==45;b=r?a+1|0:a;c=b;a=k[a+r|0];q:{if((a|0)!=48){break q}if((k[b+1|0]|32)!=120){a=48;c=b;break q}a=k[b+2|0];m=119552;d=16;c=b+2|0}b=0;r=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(r>>>(a&7)&1){while(1){b=k[a+119616|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}b=(n|0)==45?0-b|0:b}i[t+8>>1]=b;a=j[q+16>>2];r:{if(!a){break r}n=k[a|0];if(!n){break r}m=119584;d=10;g=(n|0)==45;b=g?a+1|0:a;c=b;a=k[a+g|0];s:{if((a|0)!=48){break s}if((k[b+1|0]|32)!=120){a=48;c=b;break s}a=k[b+2|0];m=119552;d=16;c=b+2|0}b=0;t=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(t>>>(a&7)&1){while(1){b=k[a+119616|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}g=(n|0)==45?0-b|0:b}c=0;i[o+14>>1]=0-g;i[o+12>>1]=f+g;i[o+10>>1]=g;j[e>>2]=j[e>>2]|8;break a}t:{u:{v:{w:{x:{y:{if(Qe(a,118435,4)){break y}z:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}g=e+139304|0;c=og(g,118416,a,b);j[l+28>>2]=c;if(c){break a}A:{B:{C:{D:{E:{F:{a=j[e+139312>>2];switch(a|0){case 0:break t;case 1:break E;default:break F}}d=a-1|0;a=0;c=1;while(1){b=j[g>>2];j[b+(a<<2)>>2]=j[b+(c<<2)>>2];c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}j[e+139312>>2]=d;if(!d){break t}c=0;b=j[j[g>>2]>>2];a=b;while(1){f=k[a|0];if(f){while(1){h[b+c|0]=f;c=c+1|0;f=k[a+1|0];a=a+1|0;if(f){continue}break}d=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+c|0]=32;d=j[e+139312>>2];c=c+1|0}if(d>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((b|0)!=119537){h[b+c|0]=0}a=j[j[e+32>>2]>>2];if(a){qe[j[m+8>>2]](m,a)}j[j[e+32>>2]>>2]=0;d=c+1|0;a=xe(m,1,0,d,0,l+28|0);j[j[e+32>>2]>>2]=a;c=j[l+28>>2];if(c){break a}Ae(a,b,d);a=j[e+32>>2];if(!a){break x}b=j[a>>2];if(!b|!k[b|0]){break x}c=j[e+36>>2];d=j[a+278664>>2];j[l+40>>2]=0;j[l+32>>2]=0;j[l+36>>2]=0;j[l+44>>2]=d;j[a+28>>2]=j[c+12>>2];c=Le(b)+1|0;if(c>>>0>255){break x}Ae(l+48|0,b,c);c=og(l+32|0,119780,l+48|0,c);if(c|j[l+40>>2]!=15){break A}switch(h[j[j[l+32>>2]+44>>2]]-67|0){case 13:case 45:break B;case 10:case 42:break C;case 0:case 32:break D;default:break A}}j[e+139312>>2]=0;break t}j[a+28>>2]=32;break A}j[a+28>>2]=16;break A}j[a+28>>2]=8}a=j[l+44>>2];if(a){b=j[l+32>>2];if(b){qe[j[a+8>>2]](a,b)}}j[l+28>>2]=c;if(c){break a}j[e>>2]=j[e>>2]|2;c=0;break a}G:{if(Qe(a,118440,4)){break G}H:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}c=177;if(!(g&2)){break i}d=e+139304|0;c=og(d,118416,a,b);j[l+28>>2]=c;if(c){break a}b=0;f=0;n=j[d>>2];a=j[n+4>>2];I:{if(!a){break I}g=k[a|0];if(!g){break I}m=119584;d=10;c=a;J:{if((g|0)!=48){break J}if((k[a+1|0]|32)!=120){g=48;c=a;break J}g=k[a+2|0];m=119552;d=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+m|0]>>>(a&7)&1)){break I}while(1){f=k[a+119616|0]+p(d,f)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];j[o+16>>2]=f;a=j[n+8>>2];K:{if(!a){break K}g=k[a|0];if(!g){break K}f=119584;m=10;c=a;L:{if((g|0)!=48){break L}if((k[a+1|0]|32)!=120){g=48;c=a;break L}g=k[a+2|0];f=119552;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+f|0]>>>(a&7)&1)){break K}while(1){b=k[a+119616|0]+p(b,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}j[o+20>>2]=b;f=0;a=j[n+12>>2];M:{if(!a){break M}g=k[a|0];if(!g){break M}b=119584;m=10;c=a;N:{if((g|0)!=48){break N}if((k[a+1|0]|32)!=120){g=48;c=a;break N}g=k[a+2|0];b=119552;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break M}while(1){f=k[a+119616|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[o+24>>2]=f;if(j[e+139312>>2]==5){a=j[n+16>>2];if(!a){break w}g=k[a|0];if(!g){break w}b=119584;m=10;n=(g|0)==45;d=n?a+1|0:a;c=d;a=k[a+n|0];O:{if((a|0)!=48){break O}if((k[d+1|0]|32)!=120){a=48;c=d;break O}a=k[d+2|0];b=119552;m=16;c=d+2|0}n=0;f=0;d=k[((a&248)>>>3|0)+b|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+119616|0]+p(f,m)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}d=(g|0)==45?0-f|0:f;i[o+278662>>1]=d;m=o+278662|0;b=d&65535;a=1;if(!b){break v}b=32-s(b)|0;a=0;c=d;f=0;while(1){f=c&1?a:f;a=a+1|0;c=(c&65534)>>>1|0;b=b-1|0;if(b&65535){continue}break}n=d&65535;a=f&65535;a=a>>>0>3?8:1<>1]=1;break u}if(Qe(a,118445,5)){break t}P:{switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break t}}c=179;if(!(g&8)){break i}a=i[f+12>>1];j[f+40>>2]=a;j[l+16>>2]=a;ck(l+48|0,l+16|0);c=Rh(j[e+32>>2],118455,l+48|0);j[l+28>>2]=c;if(c){break a}b=j[e+32>>2];a=i[b+14>>1];j[b+44>>2]=a;j[l>>2]=a;ck(l+48|0,l);c=Rh(j[e+32>>2],118467,l+48|0);if(c){break a}i[j[e+32>>2]+278660>>1]=1;j[d>>2]=602;c=-1;break i}c=6;break i}n=0;i[o+278662>>1]=0;m=o+278662|0;a=1}if((a|0)==(n|0)){break u}i[m>>1]=a<<1}j[e>>2]=j[e>>2]|4;c=0;break a}c=3}j[o+28>>2]=c}oe=l+304|0;return c|0}function Jz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}e=a+e|0;if(!e){break a}d=j[58746];a=j[58747];while(1){b=l[c>>1];i[c>>1]=((p(s,k[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(b&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;e=e-1|0;if(e){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];e=k[d+(c>>>5&63)|0]+h|0;f=(e>>>0<255?e:255)<<3&8160;e=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=f|(e>>>0<255?e:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}d=j[58746];a=j[58747];f=f<<1;while(1){c=l[b>>1];i[b>>1]=((p(s,k[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(c&31)|0])>>>0)/255|0)+m>>>3;b=b+f|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}e=j[58746];d=j[58747];f=c<<1;while(1){c=l[a>>1];i[a>>1]=((p(s,k[e+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[d+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[d+(c&31)|0])>>>0)/255|0)+m>>>3;a=a+f|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];e=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;d=l[z>>1];i[z>>1]=((p(s,k[x+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[e+(d&31)|0])>>>0)/255|0)+m>>>3;d=(f|0)<0;f=(d?r:u)+f|0;b=(d?q:w)+b|0;c=(d?o:t)+c|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];d=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;e=l[z>>1];f=k[x+(e>>>5&63)|0]+h|0;A=(f>>>0<255?f:255)<<3&8160;f=k[d+(e>>>11|0)|0]+g|0;e=k[d+(e&31)|0]+m|0;i[z>>1]=A|(f>>>0<255?f:255)<<8&63488|(e>>>0<255?e:255)>>>3;e=(n|0)<0;n=(e?r:u)+n|0;b=(e?s:w)+b|0;c=(e?q:t)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;w=j[58746];e=j[58747];x=j[a+16>>2];y=j[a+20>>2];a=0;while(1){v=(y+p(c,x)|0)+(b<<1)|0;d=l[v>>1];i[v>>1]=(p(k[w+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[e+(d&31)|0],m)>>>0)/255>>>3;d=(n|0)<0;n=(d?f:t)+n|0;b=(d?q:u)+b|0;c=(d?r:s)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<8&63488|(h<<3&4064|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function LM(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,m=0,n=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;f=oe-384|0;oe=f;j[b>>2]=1;a:{if(!j[b+136>>2]){d=dh(j[j[b+96>>2]+4>>2],124236);if(!d){a=11;break a}j[b+136>>2]=d}if(!j[b+320>>2]){A=b,B=dh(j[j[b+96>>2]+4>>2],124242),j[A+320>>2]=B}a=Fe(a,0);if(a){break a}t=j[b+100>>2];j[f+108>>2]=0;m=j[b+104>>2];a=j[b+136>>2];Ee(f+8|0,0,100);qe[j[j[a+4>>2]>>2]](f+8|0,0,0,t);j[f+80>>2]=m;q=j[m+8>>2];b:{c:{d:{d=_e(m,31);e:{if(d){break e}a=Qe(j[m+32>>2],124270,31);Ve(m);if(a){j[f+4>>2]=2;break b}s=f+84|0;r=f+112|10;while(1){g=j[m+8>>2];f:{d=j[m+4>>2]-j[m+8>>2]|0;if(d){o=266;a=f+112|0;while(1){e=d>>>0>o>>>0?o:d;d=uf(m,a,e);if(d){break e}if(e>>>0<=255){h[a+e|0]=0}d=f+112|0;e=(a+e|0)-10|0;if(e>>>0>f+112>>>0){d=k[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Qe(a,124302,9)){break g}o=10;break f}h:{d=k[a+1|0];if((d|0)!=115){break h}if(Qe(a,124312,6)){break h}o=7;break f}a=a+1|0;if((e|0)!=(a|0)){continue}break}d=e}a=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);i[f+120>>1]=k[d+8|0]|k[d+9|0]<<8;j[f+112>>2]=e;j[f+116>>2]=a;o=256;g=g+256|0;a=r;d=j[m+4>>2]-j[m+8>>2]|0;if(d){continue}break}}j[f+4>>2]=3;break b}d=Fe(m,q);if(d){break e}n=((o-(f+112|0)|0)+a|0)+g|0;a=n-q|0;d=_f(m,a,s);if(d){break e}j[f+92>>2]=n;g=j[f+84>>2];j[f+12>>2]=g;j[f+104>>2]=-1;j[f+8>>2]=g;j[f+88>>2]=a;j[f+16>>2]=a+g;qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);a=j[f+8>>2];qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);d=j[f+8>>2];o=j[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=j[f+20>>2];if(d){break e}i:{if(k[a|0]!=83){break i}if(Qe(a,124302,9)){break i}if(Qe(g,124319,5)){break c}a=rf(e);if((a|0)>=0){break d}j[f+4>>2]=3;break b}j:{if(k[a+1|0]!=115){break j}if(Qe(a,124312,6)){break j}j[f+4>>2]=2;break b}qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);g=e;d=j[f+8>>2];if(o>>>0>d>>>0){continue}break}}jf(m,s);d=Fe(m,n);if(!d){continue}break}}j[f+4>>2]=d;break b}j[f+96>>2]=a}j[f+4>>2]=0;j[f+20>>2]=0;a=j[f+84>>2];n=a+j[f+88>>2]|0;j[f+16>>2]=n;r=b+164|0;m=b+312|0;q=b+196|0;s=b+140|0;v=n-1|0;k:{l:{m:while(1){j[f+8>>2]=a;qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];d=e>>>0>>0;g=(d?e:v)-17|0;if(g>>>0>a>>>0){while(1){n:{if(k[a|0]!=37){break n}if(Qe(a,124325,17)|j[b+300>>2]<1){break n}j[f+104>>2]=j[f+104>>2]+1}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(!d){d=j[f+20>>2];break k}qe[j[f+40>>2]](f+8|0);d=j[f+20>>2];a=j[f+8>>2];if(d|n>>>0<=a>>>0){break k}if(k[e|0]!=47|n>>>0<=e+2>>>0){continue}u=e+1|0;o=a-u|0;if(o-1>>>0>20){continue}w=k[u|0];d=124352;e=126188;while(1){o:{g=d;p:{if((w|0)!=k[e|0]){break p}if((Le(e)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(k[d+u|0]!=k[d+e|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=g+36|0;e=j[g+36>>2];if(e){continue}continue m}break}q:{e=f;o=j[g+8>>2];r:{if((o|0)==11){qe[j[g+12>>2]](b,f+8|0);a=j[f+20>>2];break r}d=s;s:{t:{switch(j[g+4>>2]){case 3:d=r;break s;case 2:d=m;break s;case 5:d=q;break s;case 0:break s;default:break t}}a=j[f+104>>2];if((a|0)<0|(a|0)>=j[b+300>>2]){break q}d=j[b+304>>2]+p(a,252)|0}j[f+112>>2]=d;if(o-9>>>0<=1){a=qe[j[f+76>>2]](f+8|0,g,f+112|0,0,0)|0;break r}a=qe[j[f+72>>2]](f+8|0,g,f+112|0,0,0)|0}j[e+20>>2]=a;if(a){break l}a=j[f+8>>2];continue}break}a=160;j[f+20>>2]=160}j[f+4>>2]=a;break b}j[f+4>>2]=d;if(d|(c|0)<0){break b}a=He(t,40,f+4|0);j[b+328>>2]=a;if(j[f+4>>2]){break b}r=b;d=j[f+96>>2];u:{if(d){d=He(t,d,f+4|0);j[b+324>>2]=d;if(j[f+4>>2]){break b}a=j[f+96>>2];q=j[b+104>>2];if(Fe(q,j[f+92>>2])){break b}v:{if((a|0)<1){break v}o=a+d|0;n=1;a=f+112|0;m=a;while(1){w:{x:{if(a>>>0>=m>>>0){e=j[q+8>>2];a=j[q+4>>2]-e|0;if(!a){break b}if(uf(q,f+112|0,a>>>0<256?a:256)){break b}m=(j[q+8>>2]+(f+112|0)|0)-e|0;a=f+112|0}s=k[a|0];e=s-48|0;if(e>>>0>9){e=s-97|0;g=(e&255)>>>0<6;if(g){break w}if((s-65&255)>>>0>5){break x}e=s-55|0}g=1;break w}e=0;y:{switch(s|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break b}}a=a+1|0;continue}z:{if(n&255){h[d|0]=e<<4;break z}h[d|0]=k[d|0]+e;d=d+1|0}if(!g){break v}a=a+1|0;n=1-n|0;if(d>>>0>>0){continue}break}}d=j[b+324>>2];e=j[f+96>>2];a=j[b+328>>2];j[a+32>>2]=0;j[a+8>>2]=0;j[a+4>>2]=e;j[a>>2]=d;j[a+20>>2]=0;j[a+24>>2]=0;a=0;break u}d=j[b+104>>2];e=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=e;e=j[d+36>>2];j[a+32>>2]=j[d+32>>2];j[a+36>>2]=e;e=j[d+28>>2];j[a+24>>2]=j[d+24>>2];j[a+28>>2]=e;e=j[d+20>>2];j[a+16>>2]=j[d+16>>2];j[a+20>>2]=e;e=j[d+12>>2];j[a+8>>2]=j[d+8>>2];j[a+12>>2]=e;a=j[f+92>>2]}j[r+308>>2]=a;u=j[b+328>>2];w=j[b+136>>2];g=0;r=j[b+100>>2];t=xe(r,8,0,j[b+300>>2],0,f+112|0);j[b+316>>2]=t;A:{if(j[f+112>>2]|j[b+300>>2]<1){break A}v=0;q=0;while(1){B:{d=j[b+304>>2]+p(v,252)|0;n=j[d+240>>2];if((n|0)==-1){j[f+112>>2]=160;break B}y=j[d+4>>2];if(n>>>0>=q>>>0){a=n+4&-4;if(a>>>0<=q>>>0){j[f+112>>2]=160;break B}g=xe(r,4,q,a,g,f+112|0);q=a;if(j[f+112>>2]){break B}}a=Fe(u,j[d+244>>2]+j[b+308>>2]|0);j[f+112>>2]=a;if(a){break B}x=n+1|0;a=_e(u,p(x,j[d+248>>2]));j[f+112>>2]=a;if(a){break B}s=j[d+248>>2];z=(s-1&255)+1|0;m=j[u+32>>2];o=0;while(1){a=m;d=0;e=s;if(e&255){while(1){d=k[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}m=m+z|0}j[(o<<2)+g>>2]=d;o=o+1|0;if(n>>>0>=o>>>0){continue}break}Ve(u);a=1;e=j[g>>2];d=e;if(n){while(1){m=d;d=j[(a<<2)+g>>2];if(m>>>0>d>>>0){break B}a=a+1|0;if(n>>>0>=a>>>0){continue}break}}a=j[(n<<2)+g>>2];A=t,B=xe(r,4,0,x,0,f+112|0),j[A+4>>2]=B;if(j[f+112>>2]){break B}a=a-e|0;d=He(r,a,f+112|0);j[j[t+4>>2]>>2]=d;if(j[f+112>>2]){break B}d=Fe(u,j[g>>2]+j[b+308>>2]|0);j[f+112>>2]=d;if(d){break B}a=uf(u,j[j[t+4>>2]>>2],a);j[f+112>>2]=a;if(a){break B}C:{if(!n){break C}a=1;m=j[g>>2];d=m;while(1){e=a<<2;s=e+j[t+4>>2]|0;e=j[e+g>>2];j[s>>2]=j[s-4>>2]+(e-d|0);d=e;a=a+1|0;if(n>>>0>=a>>>0){continue}break}if((y|0)<0){break C}qe[j[w+16>>2]](j[j[t+4>>2]>>2],j[g+4>>2]-m|0,4330);a=1;if((n|0)==1){break C}e=g+4|0;while(1){m=j[j[t+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;qe[j[w+16>>2]](m,j[d>>2]-j[e>>2]|0,4330);e=d;if((a|0)!=(n|0)){continue}break}}j[t>>2]=n;t=t+8|0;v=v+1|0;if((v|0)>2]){continue}break A}break}a=j[b+316>>2];if(!a){break A}if(j[b+300>>2]>=1){e=0;while(1){d=r;m=e<<3;q=j[(m+a|0)+4>>2];if(q){a=j[q>>2];if(a){qe[j[r+8>>2]](r,a)}j[j[(m+j[b+316>>2]|0)+4>>2]>>2]=0;a=j[b+316>>2]}a=j[(a+m|0)+4>>2];if(a){qe[j[d+8>>2]](d,a)}a=j[b+316>>2];j[(m+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){qe[j[r+8>>2]](r,a)}j[b+316>>2]=0}if(g){qe[j[r+8>>2]](r,g)}j[f+4>>2]=j[f+112>>2]}if(j[f+84>>2]){jf(j[f+80>>2],f+84|0)}qe[j[f+32>>2]](f+8|0);a=j[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+16>>2]=j[b+296>>2];a=j[b+8>>2];j[b+8>>2]=a|2065;if(k[b+188|0]){j[b+8>>2]=a|2069}j[b+24>>2]=124251;d=j[b+176>>2];j[b+20>>2]=d;D:{if(d){a=j[b+172>>2];if(!a){break D}e=k[a|0];if(!e){break D}while(1){e=e&255;c=k[d|0];E:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break E}e=e-32|0;if(!(!e|(e|0)==13)){F:{switch(c-32|0){case 0:case 13:d=d+1|0;break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break D;default:break F}}if(c){break D}j[b+24>>2]=a;break D}a=a+1|0}e=k[a|0];if(e){continue}break}break D}a=j[b+140>>2];if(!a){break D}j[b+20>>2]=a}c=j[b+184>>2]!=0;j[b+12>>2]=c;a=j[b+180>>2];G:{if(!a){break G}if(we(a,124259)){if(we(a,124264)){break G}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+196>>2]>>16;a=j[b+200>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[b+204>>2]+65535>>16;c=j[b+208>>2]+65535>>16;j[b- -64>>2]=c;e=l[b+68>>1];if(!e){i[b+68>>1]=1e3;e=1e3}i[b+72>>1]=a;i[b+70>>1]=c;j[b+80>>2]=l[b+190>>1]|l[b+192>>1]<<16;d=b;a=c-a|0;b=(p(e,12)>>>0)/10|0;i[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}oe=f+384|0;return a|0}function Kz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}a=a+e|0;if(!a){break a}b=j[58747];while(1){d=l[c>>1];i[c>>1]=((p(s,k[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[b+(d&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];c=k[a+(b>>>5&31)|0]+h|0;d=(c>>>0<255?c:255)<<2&4064;c=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=d|(c>>>0<255?c:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}c=j[58747];e=f<<1;while(1){d=l[b>>1];i[b>>1]=((p(s,k[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(d&31)|0])>>>0)/255|0)+m>>>3;b=b+e|0;a=a-1|0;if(a){continue}break}break a;case 1:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}c=j[58747];d=b<<1;while(1){b=l[a>>1];i[a>>1]=((p(s,k[c+(b>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(b>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(b&31)|0])>>>0)/255|0)+m>>>3;a=a+d|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];i[y>>1]=((p(s,k[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[e+(a&31)|0])>>>0)/255|0)+m>>>3;a=(f|0)<0;f=(a?r:u)+f|0;b=(a?q:w)+b|0;c=(a?o:t)+c|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];f=k[e+(a>>>5&31)|0]+h|0;z=(f>>>0<255?f:255)<<2&4064;f=k[e+(a>>>10&31)|0]+g|0;a=k[e+(a&31)|0]+m|0;i[y>>1]=z|(f>>>0<255?f:255)<<7&64512|(a>>>0<255?a:255)>>>3;a=(n|0)<0;n=(a?r:u)+n|0;b=(a?s:w)+b|0;c=(a?q:t)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;e=j[58747];w=j[a+16>>2];x=j[a+20>>2];d=0;while(1){v=(x+p(c,w)|0)+(b<<1)|0;a=l[v>>1];i[v>>1]=(p(k[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[e+(a&31)|0],m)>>>0)/255>>>3;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?q:u)+b|0;c=(a?r:s)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<7&64512|(h<<2&2016|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=j[a+28>>2];if(v){m=k[a+63|0];w=j[a+36>>2];x=j[a+16>>2];u=j[j[j[a+40>>2]+4>>2]+4>>2];d=j[a+24>>2];y=d&3;z=(d+3|0)/4|0;r=j[a>>2];e=j[a+20>>2];b=j[a+44>>2];t=k[b+9|0];s=t-1|0;while(1){a=z;a:{b:{switch(y-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=(k[r|0]<<2)+u|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(s|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;g:{h:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break g;case 3:break h;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;k:{l:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break k;case 3:break l;default:break k}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;o:{p:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break o;case 3:break p;default:break o}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;s:{t:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break s;case 3:break t;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]=0;a:{b:{c:{if(!a){break c}i=4;j[67126]=0;o=ob(32,a|0)|0;q=C()|0;d=j[67126];j[67126]=0;b=-1;d:{if(!d){break d}c=j[67127];if(!c){break d}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;e:{f:{if((b|0)==1){break f}j[67126]=0;f=N(33,2)|0;d=j[67126];j[67126]=0;b=-1;g:{if(!d){break g}c=j[67127];if(!c){break g}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}if(!f){c=0;break c}j[e+28>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[67126]=0;j[e+60>>2]=0;d=V(34,2215,0,0,0)|0;c=j[67126];j[67126]=0;b=-1;h:{if(!c){break h}f=j[67127];if(!f){break h}b=ef(j[c>>2],g,4);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break f}j[e+56>>2]=d;if(!d){m=2222;b=0;break e}j[67126]=0;f=N(35,d|0)|0;d=j[67126];j[67126]=0;b=-1;i:{if(!d){break i}c=j[67127];if(!c){break i}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}j[e+52>>2]=f;j:{k:{if(!f){m=2284;break k}j[67126]=0;f=T(36,j[e+56>>2],37,156)|0;d=j[67126];j[67126]=0;b=-1;l:{if(!d){break l}c=j[67127];if(!c){break l}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)!=1){break j}break f}b=2;break e}c=0;g=mi(f,1,g,4);i=C()|0}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b|0){case 0:if(!j[e+28>>2]){break u}j[67126]=0;I(38,j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break v}c=j[67127];if(!c){break v}b=ef(j[d>>2],g,i);if(b){break w}break b;case 1:if(c){m=2331;break n}j[67126]=0;ya(39,j[e+56>>2],a|0,40);d=j[67126];j[67126]=0;b=-1;if(!d){break z}c=j[67127];if(!c){break z}b=ef(j[d>>2],g,i);if(b){break A}break b;default:break B}}if(!j[e+56>>2]){break r}j[67126]=0;ya(41,e+56|0,(j[e+52>>2]?e+52|0:0)|0,0);d=j[67126];j[67126]=0;b=-1;if(!d){break x}c=j[67127];if(!c){break x}b=ef(j[d>>2],g,i);if(b){break y}break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;M(42,j[e+56>>2],j[e+52>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break s}c=j[67127];if(!c){break s}b=ef(j[d>>2],g,i);if(b){break t}break b}D(c|0)}c=C()|0;if((b|0)!=1){break r}break m}D(c|0)}c=C()|0;if((b|0)==1){break m}}if(!m){break q}j[67126]=0;b=nb(43,a|0,o|0,q|0,0)|0;C()|0;d=j[67126];j[67126]=0;b=-1;C:{if(!d){break C}c=j[67127];if(!c){break C}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(j[e+60>>2]){j[67126]=0;I(44,j[e+60>>2]);d=j[67126];j[67126]=0;b=-1;D:{if(!d){break D}c=j[67127];if(!c){break D}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[e+60>>2]=0}j[67126]=0;L(45,m|0,0)|0;d=j[67126];j[67126]=0;b=-1;E:{if(!d){break E}c=j[67127];if(!c){break E}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}break q}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;d=j[67126];j[67126]=0;b=-1;F:{if(!d){break F}c=j[67127];if(!c){break F}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;I(47,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;G:{if(!d){break G}c=j[67127];if(!c){break G}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;b=j[e+56>>2];if(!(!b|k[b+436|0]>7)){h[b+437|0]=8;j[b+216>>2]=j[b+216>>2]|4}d=j[67126];j[67126]=0;b=-1;H:{if(!d){break H}c=j[67127];if(!c){break H}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[67126]=0;I(49,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;I:{if(!d){break I}c=j[67127];if(!c){break I}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;b=j[e+52>>2];if(!j[e+56>>2]|!b){f=0}else{f=j[b+8>>2]&16}d=j[67126];j[67126]=0;b=-1;J:{if(!d){break J}c=j[67127];if(!c){break J}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!f){b=-1;break o}j[67126]=0;Tp(j[e+56>>2],j[e+52>>2],e+16|0,e+20|0,e+24|0);d=j[67126];j[67126]=0;b=-1;K:{if(!d){break K}c=j[67127];if(!c){break K}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}b=0;if(j[e+36>>2]!=3){break o}f=j[e+20>>2];if((f|0)<1){b=-1;c=0;break p}c=0;l=j[e+16>>2];d=-1;while(1){L:{b=k[c+l|0];if((b|0)==255){b=d;break L}if(!b){b=c;if((d|0)<=-1){break L}}b=d;break p}d=b;c=c+1|0;if((f|0)!=(c|0)){continue}break}break o}b=0;continue}c=j[e+60>>2];break c}if((c|0)==(f|0)){break o}j[67126]=0;I(49,j[e+56>>2]);c=j[67126];j[67126]=0;b=-1;d=-1;M:{if(!c){break M}f=j[67127];if(!f){break M}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}if(j[e+36>>2]==4){j[67126]=0;I(52,j[e+56>>2]);c=j[67126];j[67126]=0;d=-1;N:{if(!c){break N}f=j[67127];if(!f){break N}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}j[67126]=0;M(53,j[e+56>>2],j[e+52>>2]);c=j[67126];j[67126]=0;d=-1;O:{if(!c){break O}f=j[67127];if(!f){break O}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;c=j[67126];j[67126]=0;d=-1;P:{if(!c){break P}f=j[67127];if(!f){break P}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;d=j[e+52>>2];if(!j[e+56>>2]|!d){f=0}else{f=k[d+29|0]}c=j[67126];j[67126]=0;d=-1;Q:{if(!c){break Q}l=j[67127];if(!l){break Q}d=ef(j[c>>2],g,i);if(!d){F(c|0,l|0);z()}D(l|0)}c=C()|0;if((d|0)==1){break m}c=0;d=0;l=0;n=0;if(f>>>0>=3){n=(f|0)==4?-16777216:0;l=16711680;c=255;d=65280}j[67126]=0;l=hd(55,0,j[e+48>>2],j[e+44>>2],p(f,j[e+40>>2])|0,c|0,d|0,l|0,n|0)|0;c=j[67126];j[67126]=0;d=-1;R:{if(!c){break R}f=j[67127];if(!f){break R}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[e+60>>2]=l;S:{T:{U:{V:{W:{X:{if(!j[e+60>>2]){j[67126]=0;m=Yc(56)|0;d=j[67126];j[67126]=0;b=-1;if(!d){break W}c=j[67127];if(!c){break W}b=ef(j[d>>2],g,i);if(b){break X}break b}d=-1;if((b|0)==-1){break S}if(j[e+36>>2]==3){break T}b=j[e+24>>2];c=k[b+6|0];f=k[b+4|0];b=k[b+2|0];l=j[j[e+60>>2]+4>>2];j[67126]=0;b=Cn(l,b,f,c);c=j[67126];j[67126]=0;f=-1;if(!c){break U}l=j[67127];if(!l){break U}f=ef(j[c>>2],g,i);if(f){break V}F(c|0,l|0);z()}D(c|0)}c=C()|0;if((b|0)==1){break m}break n}D(l|0)}c=C()|0;if((f|0)==1){break m}}j[67126]=0;T(58,j[e+60>>2],1,b|0)|0;c=j[67126];j[67126]=0;b=-1;Y:{if(!c){break Y}f=j[67127];if(!f){break Y}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;f=N(59,j[e+44>>2]<<2)|0;b=j[67126];j[67126]=0;Z:{if(!b){break Z}c=j[67127];if(!c){break Z}d=ef(j[b>>2],g,i);if(!d){F(b|0,c|0);z()}D(c|0)}c=C()|0;if((d|0)==1){break m}j[e+28>>2]=f;if(!j[e+28>>2]){m=2359;break n}b=j[e+44>>2];if((b|0)>=1){c=0;while(1){j[j[e+28>>2]+(c<<2)>>2]=j[j[e+60>>2]+20>>2]+p(j[j[e+60>>2]+16>>2],c);c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[67126]=0;M(60,j[e+56>>2],j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;_:{if(!d){break _}c=j[67127];if(!c){break _}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}d=j[j[j[e+60>>2]+4>>2]+4>>2];$:{if(!d){break $}j[67126]=0;Up(j[e+56>>2],j[e+52>>2],e+8|0,e+12|0);c=j[67126];j[67126]=0;b=-1;aa:{if(!c){break aa}f=j[67127];if(!f){break aa}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[d>>2]=256;f=j[d+4>>2];b=0;while(1){d=f+(b<<2)|0;h[d+2|0]=b;h[d+1|0]=b;h[d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break $}b=j[e+12>>2];if((b|0)<1){break $}j[d>>2]=b;m=j[e+12>>2];if((m|0)<1){break $}l=j[d+4>>2];b=0;n=j[e+8>>2];while(1){d=l+(b<<2)|0;f=n+p(b,3)|0;h[d+2|0]=k[f+2|0];h[d+1|0]=k[f+1|0];h[d|0]=k[f|0];b=b+1|0;if((m|0)!=(b|0)){continue}break}}m=0}b=2;continue}b=1;continue}}ze(g);oe=e- -64|0;return c|0}F(d|0,c|0);z()}F(c|0,f|0);z()}function ys(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,u=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;s=oe+ -64|0;oe=s;D=Gi(a,-1);C=pe;p=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){p=-138;break a}if((c|0)<0|((c|0)>(C|0)?1:(c|0)>=(C|0)?b>>>0>D>>>0:0)){break a}p=j[a+52>>2];n=p&p>>31;B=n-1|0;l=j[a+68>>2];i=l;b:{while(1){g=p;if((g|0)<=0){d=l+(B<<4|8)|0;f=j[d>>2];d=j[d+4>>2];o=B<<1;break b}o=D;p=g-1|0;d=l+(p<<4|8)|0;f=j[d>>2];D=o-f|0;d=j[d+4>>2];C=C-(d+(o>>>0>>0)|0)|0;o=C;if((c|0)<(o|0)?1:(c|0)<=(o|0)?b>>>0>>0:0){continue}break}n=g;B=p;o=B<<1}g=i+(o<<3)|0;z=j[g>>2];H=j[g+4>>2];o=j[a+60>>2]+(B<<3)|0;u=j[o>>2];n=j[a+56>>2]+(n<<3)|0;g=j[n>>2];q=j[o+4>>2];n=j[n+4>>2];c:{d:{if((u|0)!=(g|0)|(q|0)!=(n|0)){p=0;break d}i=j[a>>2];if(!i){e=-129;break c}if(j[a+8>>2]!=(g|0)|j[a+12>>2]!=(n|0)){e=-128;o=j[a+708>>2];if(!o){break c}if((qe[o|0](i,g,n,0)|0)==-1){break c}j[a+8>>2]=g;j[a+12>>2]=n;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}p=1;e=Qf(a,s+48|0,1,0);o=pe;i=o;if((i|0)<0){break c}}e:{f:{g:{h:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){f=e;break h}e=b;i=D;l=e-i|0;o=l+z|0;G=(c-((e>>>0>>0)+C|0)|0)+H|0;G=l>>>0>o>>>0?G+1|0:G;K=o;e=d+H|0;d=f;f=z;i=d+f|0;L=i;M=f>>>0>i>>>0?e+1|0:e;A=a+24|0;O=B<<2;I=-1;J=-1;while(1){l=q;i=u;e=i;d=n-(l+(e>>>0>g>>>0)|0)|0;x=g-e|0;f=d;if((d|0)>0?1:(d|0)>=0?x>>>0>=65536:0){e=u;o=q;E=+(x>>>0)+ +(f|0)*4294967296;d=K;f=z;E=E*(+(d-f>>>0)+ +(G-((d>>>0>>0)+H|0)|0)*4294967296);d=L;E=E/(+(d-f>>>0)+ +(M-((d>>>0>>0)+H|0)|0)*4294967296);i:{if(r(E)<0x8000000000000000){f=r(E)>=1?E>0?~~t(v(E*2.3283064365386963e-10),4294967295)>>>0:~~w((E- +(~~E>>>0>>>0))*2.3283064365386963e-10)>>>0:0;i=~~E>>>0;break i}f=-2147483648;i=0}d=u;i=i+d|0;f=f+q|0;f=d>>>0>i>>>0?f+1|0:f;d=i;i=d-65536|0;d=f-(d>>>0<65536)|0;f=d;x=e;l=i;e=q;i=u+65536|0;e=i>>>0<65536?e+1|0:e;d=(d|0)<(e|0)?1:(d|0)<=(e|0)?l>>>0>>0:0;i=d?x:l;l=d?o:f}d=j[a>>2];if(!d){e=-129;break c}if(j[a+8>>2]!=(i|0)|j[a+12>>2]!=(l|0)){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}}f=0;j:{k:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){break k}l:while(1){d=g;f=j[a+8>>2];f=Qf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);e=pe;d=e;if((f|0)==-128&(d|0)==-1){e=-128;break c}while(1){m:{n:{if((d|0)<-1?1:(d|0)<=-1){e=q;x=u+1|0;e=x>>>0<1?e+1|0:e;F=x;y=e;if((e|0)>(l|0)?1:(e|0)>=(l|0)?x>>>0>=i>>>0:0){break j}e=f;if(!(i|l)){break c}f=j[a>>2];if(!f){e=-129;break c}x=0;o=n;d=l-(i>>>0<65536)|0;i=i-65536|0;l=(d|0)>(q|0)?1:(d|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:F;l=l?d:y;d=g;if((i|0)==j[a+8>>2]&(l|0)==j[a+12>>2]){break n}d=j[a+708>>2];if(!d){e=-128;break c}e=-128;if((qe[d|0](f,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}d=g;break n}e=j[s+48>>2];if(j[O+j[a+64>>2]>>2]!=(k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24))){break m}e=j[s+48>>2];y=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);F=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);if((F|0)==-1&(y|0)==-1){break m}if((y|0)<(G|0)?1:(y|0)<=(G|0)?F>>>0>>0:0){p=1;x=f;I=f;J=d;u=j[a+8>>2];i=u;q=j[a+12>>2];l=q;o=n;H=y;y=K;z=F;F=G-(H+(y>>>0>>0)|0)|0;d=g;if((F|0)<0?1:(F|0)<=0?y-z>>>0<=44100:0){break n}break k}e=q;o=u+1|0;e=o>>>0<1?e+1|0:e;N=o;o=e;if((e|0)>(l|0)?1:(l|0)<=(e|0)?i>>>0<=N>>>0:0){p=1;break j}if((g|0)!=j[a+8>>2]|(n|0)!=j[a+12>>2]){p=1;g=i;n=l;L=F;M=y;break k}y=j[a>>2];if(!y){e=-129;break c}p=1;x=0;e=l-(i>>>0<65536)|0;i=i-65536|0;l=(e|0)>(q|0)?1:(e|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:N;l=l?e:o;if((g|0)==(i|0)&(n|0)==(l|0)){i=g;l=n;o=d;d=f;break n}g=j[a+708>>2];if(!g){e=-128;break c}e=-128;if((qe[g|0](y,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}o=d;d=f}g=d;n=o;if((n|0)>(q|0)?1:(q|0)<=(n|0)?g>>>0>u>>>0:0){continue l}f=x;break k}e=-128;p=1;d=g;f=j[a+8>>2];f=Qf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);o=pe;d=o;if((f|0)!=-128|(d|0)!=-1){continue}break}break}break c}if((n|0)>(q|0)?1:(n|0)>=(q|0)?g>>>0>u>>>0:0){continue}}break}if((I|0)!=-1|(J|0)!=-1){break g}}if(!p){e=f;break c}g=j[a+60>>2]+(B<<3)|0;if((u|0)!=j[g>>2]|(q|0)!=j[g+4>>2]){e=f;break c}e=f;d=j[s+48>>2];if(j[j[a+64>>2]+(B<<2)>>2]!=(k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24))){break c}j[a+80>>2]=D;j[a+84>>2]=C;d=a+480|0;o:{if(j[a+96>>2]!=(B|0)){wg(d);Yg(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break o}Qk(d);p=j[a+92>>2]}d=a+120|0;ph(d,p);Ng(d,s+48|0);D=j[a+80>>2];C=j[a+84>>2];break f}d=j[a>>2];if(!d){e=-129;break e}if(j[a+8>>2]!=(I|0)|j[a+12>>2]!=(J|0)){e=-128;f=j[a+708>>2];if(!f){break e}if((qe[f|0](d,I,J,0)|0)==-1){break e}j[a+8>>2]=I;j[a+12>>2]=J;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}j[a+80>>2]=-1;j[a+84>>2]=-1;e=Qf(a,s+32|0,-1,-1);if((pe|0)<0){break c}d=a+480|0;p:{if(j[a+96>>2]!=(B|0)){wg(d);Yg(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break p}Qk(d);p=j[a+92>>2]}u=a+120|0;ph(u,p);Ng(u,s+32|0);z=a+24|0;p=B<<3;while(1){q:{r:{e=Kp(u,s);if(e){i=e>>31;break r}d=J;i=d;f=I;g=p+j[a+60>>2]|0;e=f>>>0<=m[g>>2];g=j[g+4>>2];if((d|0)<(g|0)?1:(g|0)>=(d|0)?e:0){break r}while(1){q=d;o=f;i=f;l=d;while(1){d=j[a>>2];if(!d){e=-129;break c}f=(l|0)>0?1:(l|0)>=0?i>>>0>65536:0;g=f?i:65536;i=g-65536|0;x=i;y=(f?l:0)-(g>>>0<65536)|0;l=y;if(j[a+8>>2]!=(i|0)|(l|0)!=j[a+12>>2]){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}y=j[a+12>>2];x=j[a+8>>2]}g=-1;n=-1;s:{t:{if((q|0)<(y|0)?1:(q|0)<=(y|0)?o>>>0<=x>>>0:0){break t}while(1){j[s+40>>2]=0;j[s+44>>2]=0;j[s+32>>2]=0;j[s+36>>2]=0;e=-128;d=o;f=Qf(a,s+32|0,d-x|0,q-((d>>>0>>0)+y|0)|0);x=pe;d=x;if((f|0)==-128&(d|0)==-1){break c}if((d|0)<-1?1:(d|0)<=-1){break t}g=f;n=d;x=j[a+8>>2];y=j[a+12>>2];e=y;if((e|0)<(q|0)?1:(e|0)<=(q|0)?x>>>0>>0:0){continue}break}break s}f=g;d=n;if((g|0)==-1&(d|0)==-1){continue}}break}if(!j[s+36>>2]){g=j[a>>2];if(!g){e=-129;break c}if(j[a+8>>2]!=(f|0)|j[a+12>>2]!=(d|0)){e=-128;n=j[a+708>>2];if(!n){break c}if((qe[n|0](g,f,d,0)|0)==-1){break c}j[a+8>>2]=f;j[a+12>>2]=d;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}}e=-129;Qf(a,s+32|0,65536,0);if((pe|0)<0){break c}}u:{g=j[s+32>>2];if(j[a+92>>2]==(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){g=j[s+32>>2];g;if(!(h[j[s+32>>2]+5|0]&1)|(k[g+10|0]|k[g+11|0]<<8|(k[g+12|0]<<16|k[g+13|0]<<24))>-1){break u}}g=p+j[a+60>>2]|0;e=m[g>>2]>>0;g=j[g+4>>2];if((d|0)>(g|0)?1:(g|0)<=(d|0)?e:0){continue}break q}break}p=Xm(a,f,d);break a}if((i|0)>0?1:(i|0)>=0){break q}e=-136;break c}d=j[s+16>>2];g=j[s+20>>2];if((d|0)==-1&(g|0)==-1){mg(u,0);continue}break}e=j[a+68>>2]+(j[a+96>>2]<<4)|0;n=j[e>>2];g=g-(j[e+4>>2]+(d>>>0>>0)|0)|0;d=d-n|0;n=(g|0)>0?1:(g|0)>=0?!!d:0;d=D+(n?d:0)|0;e=C+(n?g:0)|0;e=d>>>0>>0?e+1|0:e;D=d;j[a+80>>2]=d;C=e;j[a+84>>2]=e}e=-129;if((c|0)<(C|0)?1:(c|0)<=(C|0)?b>>>0>>0:0){break c}d=Gi(a,-1)>>>0>>0;b=pe;if((b|0)<(c|0)?1:(c|0)>=(b|0)?d:0){break c}j[a+104>>2]=0;j[a+108>>2]=0;j[a+112>>2]=0;j[a+116>>2]=0;p=0;break a}j[a+80>>2]=-1;j[a+84>>2]=-1}j[a+80>>2]=-1;j[a+84>>2]=-1;wg(a+480|0);Yg(a+592|0);j[a+88>>2]=2;p=e}oe=s- -64|0;return p}function Bm(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe-320|0;oe=f;i=6;a:{if(!c|(!a|!b)){break a}b:{c:{d:{e:{e=j[b>>2];if((j[a+8>>2]-e|0)+1>>>0>2){break e}d=j[b+4>>2];if((j[a+12>>2]-d|0)+1>>>0>2|(e-j[c>>2]|0)+1>>>0>2|(d-j[c+4>>2]|0)+1>>>0>2){break e}break d}e=j[c+4>>2];j[f+32>>2]=j[c>>2];j[f+36>>2]=e;e=j[b+4>>2];j[f+40>>2]=j[b>>2];j[f+44>>2]=e;b=j[a+12>>2];j[f+48>>2]=j[a+8>>2];j[f+52>>2]=b;t=a- -64|0;m=f+32|0;b=1;while(1){e=j[a>>2];x=f+32|0;f:{g:{if((s|0)>29){p=e;break g}d=j[m+12>>2];p=d-j[m+20>>2]|0;o=(f+32|0)+(s<<3)|0;d=j[o+4>>2]-d|0;g=j[m+8>>2];l=j[m>>2]-g|0;h:{i:{j:{k:{l:{m:{g=g-j[m+16>>2]|0;if(g+1>>>0<=2){n=p+1|0;if(l+1>>>0>=3){break k}q=d+1|0;if(n>>>0>=3){break m}g=e;if(q>>>0<3){break h}break i}if(l+1>>>0>2){break j}if(d+1>>>0<3){break l}break j}if(q>>>0>2){break j}}e=Gf(g,p);g=e;break h}if(n>>>0<3){break i}}e=Gf(g,p);g=Gf(l,d);break h}e=Gf(l,d);g=e}p=g;l=Df(e,p);d=l>>31;if((d^d+l)<1966080){break g}if(k[a+20|0]){j[a>>2]=e}e=j[m+16>>2];j[m+32>>2]=e;d=j[m+20>>2];j[m+36>>2]=d;p=j[m+8>>2];l=(p+j[m>>2]|0)/2|0;j[m+8>>2]=l;e=(e+p|0)/2|0;j[m+24>>2]=e;g=d;d=j[m+12>>2];p=(g+d|0)/2|0;j[m+28>>2]=p;j[m+16>>2]=(e+l|0)/2;e=(d+j[(o|4)>>2]|0)/2|0;j[m+12>>2]=e;j[m+20>>2]=(e+p|0)/2;s=s+2|0;break f}n:{o:{p:{if(b&255){if(k[a+20|0]){of(f+304|0,j[a+60>>2],e+5898240|0);l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+84>>2];q:{if((b|0)>=0){d=j[t>>2];if(d>>>0<=b+1>>>0){j[t>>2]=b;break q}o=d-1|0;j[a+64>>2]=o;i=j[a+72>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[t>>2]}l=g+l|0;g=n+q|0;h[a+80|0]=0;j[a+84>>2]=b;r:{s:{if(!b){break s}d=j[a+72>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break s}if((j[d+4>>2]-l|0)+1>>>0<3){break r}}d=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;t:{if(q>>>0<=d>>>0){d=j[a+76>>2];break t}n=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+72>>2],f+24|0),j[B+72>>2]=C;i=j[f+24>>2];if(i){break p}d=xe(n,1,d,b,j[a+76>>2],f+24|0);j[a+76>>2]=d;i=j[f+24>>2];if(i){break p}j[a+68>>2]=b;b=j[a+64>>2]}n=j[a+72>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+116>>2];u:{if((b|0)>=0){d=j[a+96>>2];if(d>>>0<=b+1>>>0){j[a+96>>2]=b;break u}o=d-1|0;j[a+96>>2]=o;i=j[a+104>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}l=l-g|0;g=n-q|0;h[a+112|0]=0;j[a+116>>2]=b;v:{w:{if(!b){break w}d=j[a+104>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break w}i=0;if((j[d+4>>2]-l|0)+1>>>0<3){break v}}d=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;x:{y:{if(q>>>0<=d>>>0){d=j[a+108>>2];break y}n=j[a+120>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+104>>2],f+24|0),j[B+104>>2]=C;i=j[f+24>>2];if(i){break x}d=xe(n,1,d,b,j[a+108>>2],f+24|0);j[a+108>>2]=d;i=j[f+24>>2];if(i){break x}j[a+100>>2]=b;b=j[a+96>>2]}n=j[a+104>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;j[a+96>>2]=j[a+96>>2]+1;i=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=e;break o}j[a+4>>2]=e;b=Df(j[a>>2],e);if(!b){break n}i=Di(a,b>>>31|0,0);if(i){break a}i=Ci(a,(b^-1)>>>31|0,0);break o}d=Df(j[a>>2],e);b=d>>31;if((b^b+d)<491521){break n}b=j[m+20>>2];d=j[m+16>>2];i=0;j[a+48>>2]=0;j[a+4>>2]=e;j[a+8>>2]=d;j[a+12>>2]=b;b=Df(j[a>>2],e);z:{if(!b){break z}i=Di(a,b>>>31|0,0);if(i){break z}i=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break o}h[a+80|0]=0}if(i){break a}}b=Df(e,p);d=(b|0)/2|0;y=De(j[a+60>>2],Bi(d));if(k[a+40|0]){q=Gf(j[m>>2]-j[m+16>>2]|0,j[((f+32|0)+(s<<3)|0)+4>>2]-j[m+20>>2]|0)}else{q=0}z=e+d|0;A=(f+32|0)+(s<<3)|4;b=5898240;n=1;e=t;while(1){of(f+304|0,y,b+z|0);j[f+304>>2]=j[f+304>>2]+j[m+8>>2];j[f+308>>2]=j[f+308>>2]+j[m+12>>2];of(f+24|0,j[a+60>>2],b+p|0);b=j[f+24>>2]+j[m>>2]|0;j[f+24>>2]=b;i=j[A>>2];g=i+j[f+28>>2]|0;j[f+28>>2]=g;A:{B:{if(!k[a+40|0]){break B}l=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;d=j[l+4>>2];l=j[l>>2];o=d;r=b;b=l;r=Gf(r-b|0,g-d|0);u=Df(q,r);g=u>>31;if((g^g+u)<5898241){break B}g=Gf(j[m+16>>2]-b|0,j[m+20>>2]-d|0);i=Gf(j[m>>2]-j[f+24>>2]|0,i-j[f+28>>2]|0);j[f+16>>2]=j[f+24>>2]-b;j[f+20>>2]=j[f+28>>2]-d;u=qk(f+16|0);v=Ai(r-i|0);r=v>>31;w=Ai(g-i|0);i=w>>31;of(f+8|0,Ne(u,r^r+v,i^i+w),g);g=b+j[f+8>>2]|0;j[f+8>>2]=g;d=d+j[f+12>>2]|0;j[f+12>>2]=d;h[e+16|0]=0;b=j[e>>2];C:{D:{E:{F:{if(!b){break F}i=j[e+8>>2]+(b-1<<3)|0;if((j[i>>2]-g|0)+1>>>0>2){break F}if((j[i+4>>2]-d|0)+1>>>0<3){break E}}d=j[e+4>>2];j[f+316>>2]=0;i=b+1|0;G:{if(i>>>0<=d>>>0){d=j[e+12>>2];break G}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+12>>2];g=j[e+8>>2]+(b<<3)|0;j[g>>2]=j[f+8>>2];j[g+4>>2]=i;h[b+d|0]=1;d=0;h[e+16|0]=0;g=j[e>>2];b=g+1|0;j[e>>2]=b;if(b>>>0>>0){break D}}g=j[e+8>>2]+(b-1<<3)|0;if((j[g>>2]-j[f+24>>2]|0)+1>>>0>2){d=b;break D}d=b;if((j[g+4>>2]-j[f+28>>2]|0)+1>>>0<3){break C}}g=j[e+4>>2];j[f+316>>2]=0;i=d+1|0;H:{if(i>>>0<=g>>>0){g=j[e+12>>2];break H}d=j[e+24>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(d,8,g,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}g=xe(d,1,g,b,j[e+12>>2],f+316|0);j[e+12>>2]=g;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;d=j[e>>2]}i=j[f+28>>2];b=j[e+8>>2]+(d<<3)|0;j[b>>2]=j[f+24>>2];j[b+4>>2]=i;h[d+g|0]=1;h[e+16|0]=0;b=j[e>>2]+1|0;j[e>>2]=b}d=j[e+4>>2];j[f+316>>2]=0;i=b+2|0;I:{if(i>>>0<=d>>>0){d=j[e+12>>2];break I}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+304>>2];r=j[f+308>>2];g=j[e+8>>2]+(b<<3)|0;j[g+8>>2]=l;j[g+12>>2]=o;j[g>>2]=i;j[g+4>>2]=r;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;l=j[e>>2];b=l+2|0;j[e>>2]=b;J:{if(!b){break J}d=j[e+8>>2]+(l+1<<3)|0;if((j[d>>2]-j[f+24>>2]|0)+1>>>0>2){break J}if((j[d+4>>2]-j[f+28>>2]|0)+1>>>0<3){break A}}d=j[e+4>>2];j[f+316>>2]=0;g=l+3|0;K:{if(g>>>0<=d>>>0){d=j[e+12>>2];break K}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(l,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}g=j[f+28>>2];l=j[e+8>>2]+(b<<3)|0;j[l>>2]=j[f+24>>2];j[l+4>>2]=g;h[b+d|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+1;break A}d=j[e+4>>2];b=j[e>>2];j[f+16>>2]=0;g=b+2|0;L:{if(g>>>0<=d>>>0){d=j[e+12>>2];break L}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+16|0),j[B+8>>2]=C;i=j[f+16>>2];if(i){break b}d=xe(l,1,d,b,j[e+12>>2],f+16|0);j[e+12>>2]=d;i=j[f+16>>2];if(i){break b}j[e+4>>2]=b;b=j[e>>2]}o=j[f+308>>2];l=j[e+8>>2]+(b<<3)|0;g=l;j[g>>2]=j[f+304>>2];j[g+4>>2]=o;g=j[f+28>>2];j[l+8>>2]=j[f+24>>2];j[l+12>>2]=g;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+2}e=e+32|0;d=n;b=-5898240;n=0;if(d){continue}break}j[a>>2]=p;b=0;s=s-2|0}m=x+(s<<3)|0;if((s|0)>-1){continue}break}}b=j[c+4>>2];j[a+8>>2]=j[c>>2];j[a+12>>2]=b;i=0;break a}h[e+16|0]=0;break a}h[e+16|0]=0}oe=f+320|0;return i}function cI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=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;t=oe-240|0;oe=t;a:{if(!b){e=36;break a}e=j[a+4>>2];if(!e){e=35;break a}if(!(j[j[e+128>>2]+48>>2]|m[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=k[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(k[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=j[b+112>>2];if((f|0)==-1){break b}if(qe[j[j[e+532>>2]+72>>2]](e,f,c,d,j[e+104>>2],a+76|0,t)|0){break b}e=0;j[a+108>>2]=0;j[a+24>>2]=l[t+2>>1]<<6;j[a+28>>2]=l[t>>1]<<6;f=i[t+4>>1];j[a+32>>2]=f<<6;g=i[t+6>>1];j[a+36>>2]=g<<6;j[a+40>>2]=l[t+8>>1]<<6;n=i[t+10>>1];j[a+44>>2]=n<<6;r=i[t+12>>1];j[a+48>>2]=r<<6;s=l[t+14>>1];o=g;g=d&16;j[a+104>>2]=g?r:o;j[a+100>>2]=g?n:f;j[a+72>>2]=1651078259;j[a+52>>2]=s<<6;g=j[a+4>>2];if(!(h[g+8|0]&1)){break a}e=j[g+104>>2];f=Ee(t,0,208);o=0;c:{d:{if(j[j[g+128>>2]+48>>2]){break d}r=qe[j[g+508>>2]](g,1735162214,e,0)|0;o=0;if((r&255)==142){break d}if(r){break c}o=j[e+8>>2]}n=o;j[f+16>>2]=d;j[f+84>>2]=n;j[f+24>>2]=e;j[f+8>>2]=a;j[f+4>>2]=b;j[f>>2]=g}e=0;$l(f,c,0,1);c=j[f+60>>2];j[a+56>>2]=c;j[a+60>>2]=j[f+180>>2];if(!(j[a+40>>2]|!c)){z=a,A=ye(c,j[b+16>>2]),j[z+40>>2]=A}if(j[a+52>>2]){break a}c=j[a+60>>2];if(!c){break a}z=a,A=ye(c,j[b+20>>2]),j[z+52>>2]=A;break a}y=d&1;if(!(y|k[b+108|0])){e=36;break a}e=6;if(d&16384){break a}s=j[a+4>>2];v=j[s+104>>2];g=Ee(t,0,208);x=d&2;if(!x){u=d&128;e:{f:{g:{e=j[b+296>>2];h:{if((e|0)>=0){f=j[b+300>>2];if((f|0)<0){break h}if(e){break a}e=f;if(!e){break e}break a}n=j[b>>2];e=j[n+100>>2];f=e;q=j[b+124>>2];if(q){qe[j[f+8>>2]](f,q)}j[b+124>>2]=0;f=j[b+136>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+136>>2]=0;f=j[b+244>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+244>>2]=0;f=j[b+252>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+252>>2]=0;f=j[b+292>>2];if(f){j[f+440>>2]=0;q=j[f+8>>2];o=q;w=j[f+24>>2];if(w){qe[j[o+8>>2]](o,w)}j[f+20>>2]=0;j[f+24>>2]=0;o=j[f+436>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+436>>2]=0;j[f+428>>2]=0;j[f+432>>2]=0;o=j[f+392>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+388>>2]=0;j[f+392>>2]=0;j[f>>2]=0;j[f+4>>2]=0;if(f){qe[j[q+8>>2]](q,f)}}f=b+256|0;_l(f);j[b+296>>2]=-1;j[b+300>>2]=-1;z=b,A=bI(j[n+96>>2]),j[z+292>>2]=A;q=l[n+280>>1];j[b+120>>2]=q;o=l[n+282>>1];j[b+140>>2]=0;j[b+144>>2]=0;j[b+128>>2]=0;j[b+116>>2]=0;j[b+132>>2]=o;j[b+240>>2]=j[n+644>>2];o=l[n+278>>1];h[b+109|0]=0;h[b+110|0]=0;i[b+248>>1]=o;j[b+92>>2]=0;j[b+96>>2]=0;j[b+100>>2]=0;j[b+104>>2]=0;z=b,A=xe(e,24,0,q,0,g+208|0),j[z+124>>2]=A;i:{if(j[g+208>>2]){break i}z=b,A=xe(e,24,0,j[b+132>>2],0,g+208|0),j[z+136>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,j[b+240>>2],0,g+208|0),j[z+244>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,l[b+248>>1],0,g+208|0),j[z+252>>2]=A;if(j[g+208>>2]){break i}q=l[n+276>>1];j[f+28>>2]=0;j[f+32>>2]=0;j[f+20>>2]=0;j[f+24>>2]=0;j[f+12>>2]=0;j[f+16>>2]=0;j[f+4>>2]=0;j[f+8>>2]=0;j[f>>2]=e;o=q+4|0;q=o&65535;z=f,A=xe(e,8,0,q,0,g+224|0),j[z+12>>2]=A;j:{k:{if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+16>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+20>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,1,0,q,0,g+224|0),j[z+24>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,2,0,0,0,g+224|0),j[z+28>>2]=A;if(j[g+224>>2]){break k}i[f+6>>1]=0;i[f+4>>1]=o;j[g+208>>2]=0;break j}_l(f);e=j[g+224>>2];j[g+208>>2]=e;if(e){break i}}i[b+264>>1]=o;Ae(b+172|0,199700,68);e=j[j[j[n+96>>2]+4>>2]+172>>2];j[n+652>>2]=e?e:928;e=j[b+292>>2];f=j[b>>2];n=Zl(e,f,b);if(!n){j[e+480>>2]=0;j[e+484>>2]=0;j[e+476>>2]=64;j[e+16>>2]=0;j[e+428>>2]=0;j[e+564>>2]=16384;h[e+561|0]=u;j[e+216>>2]=0;j[e+220>>2]=0;h[e+488|0]=0;i[e+252>>1]=0;j[e+224>>2]=0;j[e+256>>2]=65536;j[e+260>>2]=0;q=j[f+632>>2];n=j[f+628>>2];j[e+452>>2]=0;j[e+456>>2]=0;j[e+448>>2]=n;j[e+444>>2]=q;j[e+460>>2]=0;j[e+464>>2]=0;if(!n){j[b+296>>2]=0;break g}j[e+364>>2]=n;j[e+356>>2]=q;j[e+360>>2]=0;j[e+352>>2]=1;n=qe[j[f+652>>2]](e)|0;j[b+296>>2]=n;if(!n){break g}}j[g+208>>2]=n}xq(b);e=j[g+208>>2];if(e){break a}e=j[b+296>>2]}if(e){break e}break f}j[b+116>>2]=j[e+396>>2];j[b+128>>2]=j[e+408>>2];j[b+140>>2]=j[e+420>>2];j[b+144>>2]=j[e+424>>2];f=j[e+448>>2];j[b+148>>2]=j[e+444>>2];j[b+152>>2]=f;f=j[e+456>>2];j[b+156>>2]=j[e+452>>2];j[b+160>>2]=f;f=j[e+464>>2];j[b+164>>2]=j[e+460>>2];j[b+168>>2]=f}if(j[b+300>>2]>-1){break e}if(j[b+240>>2]){f=j[b>>2];e=0;while(1){n=ye(i[j[f+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=l[b+264>>1];if(e){f=e>>>0>1?e:1;n=j[b+272>>2];q=j[b+268>>2];e=0;while(1){o=e<<3;w=o+q|0;j[w>>2]=0;j[w+4>>2]=0;o=n+o|0;j[o>>2]=0;j[o+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=l[b+248>>1];if(e){Ee(j[b+252>>2],0,(e>>>0>1?e:1)<<2)}Ae(b+172|0,199700,68);e=vq(b,u);if(e){break a}}f=j[b+292>>2];if(!f){e=153;break a}e=Zl(f,s,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=k[f+608|0]){h[f+608|0]=e;if(j[b+240>>2]){e=0;while(1){n=ye(i[j[s+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=vq(b,u);if(e){break a}}e=k[f+336|0];n=e<<1&2;if(e&2){Ae(f+284|0,199700,68)}h[f+561|0]=u;j[g+160>>2]=f;j[g+164>>2]=j[f+392>>2];d=d|n}l:{if(j[j[s+128>>2]+48>>2]){break l}e=qe[j[s+508>>2]](s,1735162214,v,0)|0;if((e&255)==142){break l}if(e){break a}r=j[v+8>>2]}j[g+84>>2]=r;e=j[j[a+156>>2]>>2];Yh(e);j[g+16>>2]=d;j[g+12>>2]=e;j[g+24>>2]=v;j[g+8>>2]=a;j[g+4>>2]=b;j[g>>2]=s;j[a+72>>2]=1869968492;j[a+124>>2]=0;j[a+128>>2]=0;e=$l(g,c,0,0);m:{if(e){break m}d=j[g+12>>2];n:{if(j[a+72>>2]==1668246896){j[a+128>>2]=j[d+48>>2];j[a+132>>2]=j[d+52>>2];break n}f=j[d+24>>2];e=a+108|0;j[e>>2]=j[d+20>>2];j[e+4>>2]=f;j[e+16>>2]=j[d+36>>2];f=j[d+32>>2];j[e+8>>2]=j[d+28>>2];j[e+12>>2]=f;j[a+124>>2]=j[a+124>>2]&-513;d=j[g+68>>2];if(!d){break n}Tf(e,0-d|0,0)}o:{if(x){break o}d=j[g+160>>2];if(k[d+337|0]){p:{switch(j[d+340>>2]){case 0:j[a+124>>2]=j[a+124>>2]|32;break o;case 4:j[a+124>>2]=j[a+124>>2]|48;break o;case 5:j[a+124>>2]=j[a+124>>2]|16;break o;case 1:break o;default:break p}}j[a+124>>2]=j[a+124>>2]|8;break o}j[a+124>>2]=j[a+124>>2]|8}n=65536;r=j[g+4>>2];d=j[g+8>>2];n=h[g+16|0]&1?n:j[r+20>>2];f=j[g>>2];q:{if(j[d+72>>2]!=1668246896){Ug(d+108|0,g+224|0);break q}e=j[g+48>>2];j[g+232>>2]=j[g+44>>2];j[g+236>>2]=e;e=j[g+40>>2];j[g+224>>2]=j[g+36>>2];j[g+228>>2]=e}j[d+56>>2]=j[g+60>>2];u=j[g+224>>2];j[d+32>>2]=u;s=j[g+236>>2];j[d+36>>2]=s;j[d+40>>2]=j[g+76>>2]-j[g+68>>2];r:{if(j[f+480>>2]|k[g+16|0]&2){break r}v=j[f+712>>2];if(!v){break r}o=j[f+704>>2]+8|0;q=j[f+716>>2];x=j[f+720>>2];e=0;r=l[r+12>>1];while(1){if((r|0)==k[e+x|0]){r=c+2|0;if(r>>>0>=q>>>0){break r}j[d+40>>2]=k[r+(o+p(e,q)|0)|0]<<6;break r}e=e+1|0;if((v|0)!=(e|0)){continue}break}}j[d+24>>2]=j[g+232>>2]-u;e=s-j[g+228>>2]|0;j[d+28>>2]=e;s:{if(!(!k[f+292|0]|!l[f+330>>1])){r=De(j[g+188>>2]-s|0,n)<<16>>16;e=0;s=j[g+188>>2];q=j[g+196>>2];if((s|0)<=(q|0)){break s}e=De(s-q|0,n)&65535;break s}r=De(e,n);e=l[f+364>>1]==65535;e=i[f+(e?220:434)>>1]-i[f+(e?222:436)>>1]|0;r=(e-(r<<16>>16)|0)/2|0}f=j[j[f+128>>2]+48>>2];t:{if(!f){break t}s=j[j[f>>2]+8>>2];if(!s){break t}j[g+216>>2]=e;j[g+212>>2]=r;j[g+208>>2]=0;e=qe[s|0](j[f+4>>2],c,1,g+208|0)|0;if(e){break m}e=j[g+216>>2];r=j[g+212>>2]}j[d+60>>2]=e;c=d;if(!(h[g+16|0]&1)){r=ye(r,n);e=ye(e,n)}j[c+52>>2]=e;j[d+48>>2]=r;j[d+44>>2]=j[d+32>>2]+(j[d+40>>2]/-2|0);e=0}if(l[b+14>>1]>23|y){break a}j[a+124>>2]=j[a+124>>2]|256}oe=t+240|0;return e|0}function XL(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=oe-32|0;oe=n;a:{b:{e=Fe(a,0);if(!e){e=$e(a,133216,b+132|0);if(!e){break b}}j[n+24>>2]=e;break a}j[b+168>>2]=j[b+168>>2]+(j[b+204>>2]<<16);j[n+24>>2]=0;c:{if(!(j[b+132>>2]!=1346785840|m[b+136>>2]>4|m[b+144>>2]<58)){if(j[b+140>>2]==3338){break c}}e=2;j[n+24>>2]=2;break a}e=Fe(a,j[b+152>>2]);j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];j[n+24>>2]=e;if(e){break a}j[b>>2]=d;e=0;if((c|0)<0){break a}e=6;if((c|0)>=(d|0)){break a}s=j[b+204>>2];e=Fe(a,j[b+152>>2]);j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];if(e){break a}e=6;if(c>>>0>=d>>>0){break a}e=xf(a,p(c,5));j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];if(e){break a}g=gO(a,n+8|0);e=j[n+8>>2];if(e){break a}j[b+240>>2]=d;j[b+244>>2]=g;e=Fe(a,g);j[n+8>>2]=e;if(e){break a}e=_e(a,d);j[n+8>>2]=e;if(e){break a}d:{e:{f:{if(d>>>0<13){break f}e=j[a+32>>2];o=e+d|0;j[b+248>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);j[b+252>>2]=k[e+5|0]|(k[e+4|0]<<8|k[e+3|0]<<16);j[b+256>>2]=k[e+8|0]|(k[e+7|0]<<8|k[e+6|0]<<16);j[b+260>>2]=k[e+11|0]|(k[e+10|0]<<8|k[e+9|0]<<16);d=0;x=o;f=e+13|0;y=f;q=k[e+12|0];g=q&4;if(g){d=q&8?2:1;v=q&3?d:d+3|0}else{v=d}d=q&32;if(x>>>0>31&(d?2:1))|0)>>>0){break f}r=q&16;g:{if(!g){break g}y=b;h:{if(q&8){f=e+15|0;g=k[e+13|0]|k[e+14|0]<<8;e=(g<<24|g<<8&16711680)>>16;break h}f=e+14|0;e=k[e+13|0]}j[y+268>>2]=e;if(q&3){break g}j[b+276>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+3|0}i:{if(!r){d=f;break i}j:{if(d){d=k[f|0]|k[f+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=f+2|0;break j}e=k[f|0];d=f+1|0}j[b+272>>2]=e}k:{if(!(q&64)){e=d;break k}e=d+1|0;if(o>>>0>>0){break e}d=k[d|0];if(d){while(1){g=e+2|0;if(g>>>0>o>>>0){break e}e=g+k[e|0]|0;if(o>>>0>>0){break e}d=d-1|0;if(d){continue}break}}j[n+8>>2]=0}if(o>>>0>>0){break f}d=k[e+1|0]|k[e|0]<<8;j[b+280>>2]=d;j[b+284>>2]=k[e+4|0]|(k[e+3|0]<<8|k[e+2|0]<<16);if(!s){break d}if(o>>>0>>0){break f}j[b+280>>2]=d|k[e+5|0]<<16;break d}j[n+8>>2]=8;break d}j[n+8>>2]=8}Ve(a);e=j[n+8>>2];j[n+24>>2]=e;if(e){break a}f=j[b+280>>2];x=j[b+284>>2];v=j[a+28>>2];j[b+428>>2]=b+424;j[b+424>>2]=0;j[b+292>>2]=x;o=b+288|0;j[o>>2]=v;e=Fe(a,x);if(e){break a}e=_e(a,f);j[n+28>>2]=e;if(e){break a}d=j[a+32>>2];j[o+148>>2]=d;l:{m:{n:{o:{if((f|0)<15){break o}j[o+8>>2]=k[d+1|0]|k[d|0]<<8;j[o+12>>2]=k[d+3|0]|k[d+2|0]<<8;j[o+16>>2]=k[d+5|0]|k[d+4|0]<<8;e=k[d+6|0]|k[d+7|0]<<8;j[o+20>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+8|0]|k[d+9|0]<<8;j[o+24>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+10|0]|k[d+11|0]<<8;j[o+28>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+12|0]|k[d+13|0]<<8;j[o+32>>2]=(e<<24|e<<8&16711680)>>16;w=k[d+14|0];j[o+36>>2]=w;y=w&4;g=d+15|0;p:{if(y){break p}if((f|0)<17){break o}e=k[d+15|0]|k[d+16|0]<<8;j[o+40>>2]=(e<<24|e<<8&16711680)>>16;g=d+17|0}s=d+f|0;if(w&128){e=8;d=g+1|0;if(s>>>0>>0){break m}r=k[g|0];q:{if(!r){g=d;break q}while(1){q=d+2|0;if(q>>>0>s>>>0){break n}g=q+k[d|0]|0;if(s>>>0>>0){break n}e=133344;f=700;d=k[d+1|0];r:{if((d|0)!=1){while(1){f=j[e+12>>2];if(!f){break r}e=e+8|0;if((d|0)!=j[e>>2]){continue}break}}e=qe[f|0](q,g,o)|0;if(e){break m}}d=g;r=r-1|0;if(r){continue}break}}j[n+28>>2]=0}f=g+3|0;if(s>>>0>>0){break o}r=k[g+2|0]|(k[g+1|0]<<8|k[g|0]<<16);if(r){q=(g+r|0)+3|0;if(q>>>0>s>>>0){break o}s:{if(r>>>0<4){break s}d=g+7|0;while(1){u=k[f+1|0]|k[f|0]<<8;if(u>>>0<4|r>>>0>>0){break s}t:{u:{v:{w:{x:{e=k[f+2|0]|k[f+3|0]<<8;switch(((e<<24|e<<8&16711680)>>>16|0)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break t}}j[n+8>>2]=0;y:{z:{g=u-4|0;if(!g){break z}e=u-5|0;if(!k[e+d|0]){g=e;if(!e){break z}}e=0;while(1){t=k[d+e|0];if(t>>>0<32|t<<24>>24<0){break z}e=e+1|0;if((g|0)!=(e|0)){continue}break}break y}j[o+84>>2]=0;j[n+28>>2]=0;break t}t=He(v,g+1|0,n+8|0);e=j[n+8>>2];if(e){j[o+84>>2]=t;break a}d=Ae(t,d,g);h[d+g|0]=0;e=j[n+8>>2];j[o+84>>2]=d;break u}if(u>>>0<36){break t}d=k[f+14|0]|k[f+15|0]<<8;j[o+44>>2]=(d<<24|d<<8&16711680)>>16;d=k[f+16|0]|k[f+17|0]<<8;j[o+48>>2]=(d<<24|d<<8&16711680)>>16;d=k[f+18|0]|k[f+19|0]<<8;j[o+52>>2]=(d<<24|d<<8&16711680)>>16;break t}j[n+8>>2]=0;A:{B:{g=u-4|0;if(!g){break B}e=u-5|0;if(!k[e+d|0]){g=e;if(!e){break B}}e=0;while(1){t=k[d+e|0];if(t>>>0<32|t<<24>>24<0){break B}e=e+1|0;if((g|0)!=(e|0)){continue}break}break A}j[o+88>>2]=0;j[n+28>>2]=0;break t}t=He(v,g+1|0,n+8|0);e=j[n+8>>2];if(e){j[o+88>>2]=t;break a}d=Ae(t,d,g);h[d+g|0]=0;e=j[n+8>>2];j[o+88>>2]=d}j[n+28>>2]=e;if(e){break a}}r=r-u|0;if(!r){break s}f=f+u|0;d=f+4|0;if(q>>>0>=d>>>0){continue}break}}f=q}e=f+1|0;if(s>>>0>>0){break o}d=k[f|0];j[o+104>>2]=d;if(s>>>0<(d<<1)+e>>>0){break o}f=0;g=xe(v,4,0,d,0,n+28|0);j[o+108>>2]=g;if(j[n+28>>2]){break l}if(d){while(1){q=k[e|0]|k[e+1|0]<<8;j[g+(f<<2)>>2]=(q<<24|q<<8&16711680)>>16;e=e+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=e+8|0;if(s>>>0>>0){break o}j[o+112>>2]=k[e|0];j[o+116>>2]=k[e+1|0];j[o+68>>2]=k[e+3|0]|k[e+2|0]<<8;j[o+56>>2]=k[e+5|0]|k[e+4|0]<<8;r=k[e+7|0]|k[e+6|0]<<8;j[o+120>>2]=r;j[o+124>>2]=(f+x|0)-j[a+32>>2];u=xe(v,16,0,r,0,n+28|0);j[o+128>>2]=u;if(j[n+28>>2]){break l}v=w&2;x=w&8;t=w&16;w=w&32;if(s>>>0>>1|(v?5:4))+(x>>>3|0)+(t>>>4)+(w>>>5)|0)+f>>>0){break o}if(!r){break l}d=0;while(1){C:{if(v){q=k[f+1|0]|k[f|0]<<8;e=f+2|0;break C}q=k[f|0];e=f+1|0}s=u+(d<<4)|0;j[s>>2]=q;D:{if(y){g=k[e|0]|k[e+1|0]<<8;q=(g<<24|g<<8&16711680)>>16;e=e+2|0;break D}q=j[o+40>>2]}j[s+4>>2]=q;e=x?e+1|0:e;E:{if(t){q=k[e+1|0]|k[e|0]<<8;e=e+2|0;break E}q=k[e|0];e=e+1|0}j[s+8>>2]=q;F:{if(w){q=k[e+1|0]<<8|k[e|0]<<16;f=e+3|0;g=2;break F}q=k[e|0]<<8;f=e+2|0;g=1}j[s+12>>2]=k[e+g|0]|q;d=d+1|0;if((r|0)!=(d|0)){continue}break}break l}j[n+28>>2]=8;break l}e=8}j[n+28>>2]=e}Ve(a);d=0;a=j[a+8>>2];j[o+148>>2]=0;j[o+144>>2]=a;e=j[n+28>>2];j[n+24>>2]=e;if(e){break a}j[b+4>>2]=c;a=j[b+408>>2];j[b+16>>2]=a+1;c=j[b+8>>2]|1;j[b+8>>2]=c;G:{H:{I:{if(!a){break I}e=j[o+128>>2];while(1){if(j[(e+(d<<4)|0)+12>>2]){break I}d=d+1|0;if((a|0)!=(d|0)){continue}break}break H}if((a|0)!=(d|0)){break G}}c=0;if(j[o+92>>2]){break G}e=3;break a}a=j[b+324>>2];e=(a^-1)&4|c|(a&1?32:16);j[b+8>>2]=e;c=j[b+380>>2];if(c){e=e|2;j[b+8>>2]=e}if(j[o+132>>2]){j[b+8>>2]=e|64}d=j[b+372>>2];j[b+20>>2]=d;if(!d){j[b+20>>2]=j[b+368>>2]}j[b+28>>2]=0;j[b+32>>2]=0;j[b+24>>2]=j[b+376>>2];d=j[o+28>>2];e=j[o+32>>2];g=j[o+24>>2];f=j[o+20>>2];q=j[b+300>>2];i[b+68>>1]=q;s=j[b+320>>2];i[b+70>>1]=s;r=j[b+312>>2];i[b+72>>1]=r;j[b+52>>2]=f;j[b+56>>2]=g;j[b+60>>2]=d;j[b+64>>2]=e;d=(s<<16>>16)-(r<<16>>16)|0;e=(p(q&65535,12)>>>0)/10|0;i[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){d=0;a=xe(j[j[b+104>>2]+28>>2],16,0,c,0,n+24|0);j[b+32>>2]=a;e=j[n+24>>2];if(e){break a}e=j[o+100>>2];while(1){f=j[e+4>>2];i[a>>1]=f;g=j[e>>2];f=f<<6;j[a+12>>2]=f;j[a+4>>2]=f;i[a+2>>1]=g;j[a+8>>2]=g<<6;e=e+36|0;a=a+16|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}j[b+28>>2]=c;a=j[b+324>>2]}J:{if(!(a&4)){e=j[o+40>>2];break J}c=j[o+120>>2];if(!c){e=0;break J}a=j[o+128>>2];e=0;while(1){d=j[a+4>>2];e=(d|0)>(e|0)?d:e;a=a+16|0;c=c-1|0;if(c){continue}break}}i[b+76>>1]=e;i[b+78>>1]=l[b+74>>1];a=l[b+68>>1];i[b+82>>1]=(a>>>0)/30;i[b+80>>1]=(a|0)/-10;j[n+8>>2]=b;j[n+12>>2]=1970170211;j[n+16>>2]=65539;e=qg(133e3,0,n+8|0,0);if(!j[b+420>>2]){break a}j[b+8>>2]=j[b+8>>2]|64}oe=n+32|0;return e|0}function Oz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(b>>>24|0,r)>>>0)/255|0)+l<<24|((p(b&255,r)>>>0)/255|0)+i|((p(b>>>16&255,r)>>>0)/255|0)+g<<16|((p(b>>>8&255,r)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){c=j[n>>2];a=(c&255)+i|0;d=(a>>>0<255?a:255)|c&-16777216;a=(c>>>16&255)+g|0;d=d|(a>>>0<255?a:255)<<16;a=(c>>>8&255)+h|0;j[n>>2]=d|(a>>>0<255?a:255)<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){a=j[n>>2];j[n>>2]=(p(a&255,i)>>>0)/255|a&-16777216|(p(a>>>16&255,g)>>>0)/255<<16|(p(a>>>8&255,h)>>>0)/255<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;n=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=l<<24|i|h<<8|g<<16;while(1){j[n>>2]=a;n=n+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}c=f<<2;while(1){d=j[b>>2];j[b>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;b=b+c|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}a=f<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}b=l<<24|i|h<<8|g<<16;a=f<<2;while(1){j[n>>2]=b;n=a+n|0;c=c-1|0;if(c){continue}break}break a}n=b-d|0;v=n>>31;q=c-e|0;o=q>>31;if((v^n+v)==(o^o+q)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[a>>2];j[a>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;a=a+c|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}a=c<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}d=l<<24|i|h<<8|g<<16;a=b<<2;while(1){j[n>>2]=d;n=a+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;o=n>>31;f=e-c|0;q=f>>31;o=o^n+o;n=q^f+q;r:{if((o|0)>=(n|0)){u=n-o|0;x=1;q=n<<1;f=q-o|0;n=0;break r}u=o-n|0;q=o<<1;f=q-n|0;o=n;n=1}s=((m|0)!=0)+o|0;if(!s){break a}e=(c|0)>(e|0);w=e?0-n|0:n;d=(b|0)>(d|0);t=d?0-x|0:x;v=e?-1:1;o=d?-1:1;n=u<<1;m=j[a+20>>2];d=0;while(1){e=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[e>>2];j[e>>2]=((p(u&255,r)>>>0)/255|0)+i|((p(u>>>24|0,r)>>>0)/255|0)+l<<24|((p(u>>>16&255,r)>>>0)/255|0)+g<<16|((p(u>>>8&255,r)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?q:n)+f|0;b=(e?t:o)+b|0;c=(e?w:v)+c|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}break a;case 1:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;s:{if((n|0)>=(o|0)){s=o-n|0;f=o<<1;l=f-n|0;o=1;break s}s=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=s<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[d>>2];s=(u&255)+i|0;r=d;d=(u>>>16&255)+g|0;s=u&-16777216|(s>>>0<255?s:255)|(d>>>0<255?d:255)<<16;d=(u>>>8&255)+h|0;j[r>>2]=s|(d>>>0<255?d:255)<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;case 3:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;t:{if((n|0)>=(o|0)){x=o-n|0;f=o<<1;l=f-n|0;o=1;break t}x=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=x<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;s=j[d>>2];j[d>>2]=(p(s&255,i)>>>0)/255|s&-16777216|(p(s>>>16&255,g)>>>0)/255<<16|(p(s>>>8&255,h)>>>0)/255<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;default:break q}}n=d-b|0;q=n>>31;f=e-c|0;o=f>>31;q=q^n+q;o=o^f+o;u:{if((q|0)>=(o|0)){s=o-q|0;f=o<<1;n=f-q|0;o=1;break u}s=q-o|0;x=1;f=q<<1;n=f-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-x|0:x;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;m=s<<1;e=l<<24|i|h<<8|g<<16;d=j[a+20>>2];i=0;while(1){j[(d+p(j[a+16>>2],c)|0)+(b<<2)>>2]=e;g=(n|0)<0;n=(g?f:m)+n|0;b=(g?v:o)+b|0;c=(g?t:q)+c|0;i=i+1|0;if((w|0)!=(i|0)){continue}break}}}function qr(a,b,c,d,e){var f=0,g=0,n=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;q=oe-48|0;oe=q;d=Fe(b,c+d|0);a:{if(d){break a}d=_e(b,e);if(d){break a}g=j[b+32>>2];r=g+e|0;if(!(!e|h[g|0]>-1)){s=j[a+16>>2];t=j[a+28>>2];j[q>>2]=0;d=8;b:{if((e|0)<1){break b}o=k[g|0];if(!(o&128)){break b}n=g+1|0;x=j[t>>2];c:{if(!(o&8)){e=n;break c}if((e|0)<2){break b}e=g+2|0;f=k[n|0];if(f){while(1){n=e+2|0;if(n>>>0>r>>>0){break b}e=n+k[e|0]|0;if(r>>>0>>0){break b}f=f-1|0;if(f){continue}break}}j[q>>2]=0}u=o&63;n=u+s|0;g=j[a+20>>2];d:{if(n>>>0<=g>>>0){f=j[a+24>>2];break d}n=n+3&-4;if(n>>>0>64){break b}f=xe(x,24,g,n,j[a+24>>2],q);j[a+24>>2]=f;d=j[q>>2];if(d){break b}j[a+20>>2]=n}if(!u){d=0;break b}f=p(s,24)+f|0;while(1){o=e+1|0;if(r>>>0>>0){d=8;break b}g=k[e|0];j[f>>2]=65536;if(g&16){o=e+3|0;if(r>>>0>>0){d=8;break b}d=k[e+1|0]|k[e+2|0]<<8;j[f>>2]=(d<<24|d<<8&16711680)>>16<<4}j[f+4>>2]=65536;e:{if(!(g&32)){d=o;break e}d=o+2|0;if(r>>>0>>0){d=8;break b}e=k[o|0]|k[o+1|0]<<8;j[f+4>>2]=(e<<24|e<<8&16711680)>>16<<4}o=0;e=0;f:{g:{switch((g&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=n;break f;case 1:break g;default:break f}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}e=h[d|0];d=n}h:{i:{switch((g>>>2&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;o=(d<<24|d<<8&16711680)>>16;d=n;break h;case 1:break i;default:break h}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}o=h[d|0];d=n}j[f+12>>2]=o;j[f+8>>2]=e;e=f;j:{if(g&64){o=d+2|0;if(r>>>0>>0){d=8;break b}d=k[d+1|0]|k[d|0]<<8;break j}o=d+1|0;if(r>>>0>>0){d=8;break b}d=k[d|0]}j[e+20>>2]=d;k:{if(g&128){e=o+3|0;if(r>>>0>>0){d=8;break b}n=2;d=k[o+1|0]<<8|k[o|0]<<16;break k}e=o+2|0;if(r>>>0>>0){d=8;break b}n=1;d=k[o|0]<<8}j[f+16>>2]=d|k[n+o|0];j[a+16>>2]=j[a+16>>2]+1;f=f+24|0;d=0;v=v+1|0;if((u|0)!=(v|0)){continue}break}}Ve(b);if(d){break a}r=j[a+16>>2]-s|0;if(!r){d=0;break a}o=0;while(1){g=i[t+22>>1];f=p(o,24);e=p(s,24);d=f+(e+j[a+24>>2]|0)|0;d=qr(a,b,c,j[d+16>>2],j[d+20>>2]);if(d){break a}n=i[t+22>>1]-g|0;e=f+(e+j[a+24>>2]|0)|0;u=j[e>>2];l:{if(!(j[e+4>>2]==65536?(u|0)==65536:0)){if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;f=0;while(1){z=d,A=ye(j[d>>2],u)+j[e+8>>2]|0,j[z>>2]=A;z=d,A=ye(j[d+4>>2],j[e+4>>2])+j[e+12>>2]|0,j[z+4>>2]=A;f=f+1|0;if((n|0)==(f|0)){break l}d=d+8|0;u=j[e>>2];continue}}if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;g=j[e+12>>2];f=j[e+8>>2];e=0;while(1){j[d>>2]=f+j[d>>2];j[d+4>>2]=g+j[d+4>>2];d=d+8|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}d=0;o=o+1|0;if((r|0)!=(o|0)){continue}break}break a}j[q+44>>2]=0;d=8;m:{if((e|0)<1){break m}o=k[g|0];if(o&128){break m}f=j[j[a+28>>2]>>2];n:{if(o&4){if((e|0)<2){break m}n=g+2|0;c=k[g+1|0];x=c>>>4|0;v=c&15;break n}if(o&2){if((e|0)<2){break m}v=k[g+1|0];c=g+2|0}else{c=g+1|0}if(!(o&1)){n=c;break n}n=c+1|0;if(r>>>0>>0){break m}x=k[c|0]}o:{g=v+x|0;c=j[a+4>>2];p:{q:{if(g>>>0>c>>>0){d=c;c=g+7&1016;s=xe(f,4,d,c,j[a+8>>2],q+44|0);j[a+8>>2]=s;d=j[q+44>>2];if(d){break m}u=a+8|0;j[a+4>>2]=c;j[a+12>>2]=(v<<2)+s;y=a+12|0;break q}s=j[a+8>>2];j[a+12>>2]=s+(v<<2);y=a+12|0;u=a+8|0;if(!g){break p}}c=0;e=0;d=0;while(1){r:{if(d&7){f=n;break r}f=n+1|0;if(r>>>0>>0){break o}e=k[n|0]}t=(d<<2)+s|0;s:{if(e&1){n=f+2|0;if(r>>>0>>0){break o}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break s}n=f+1|0;if(r>>>0>>0){break o}c=k[f|0]+c|0}j[t>>2]=c;e=e>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;t:{if(!(o&8)){e=n;break t}e=n+1|0;if(r>>>0>>0){break m}f=k[n|0];if(f){while(1){c=e+2|0;if(c>>>0>r>>>0){break m}e=c+k[e|0]|0;if(r>>>0>>0){break m}f=f-1|0;if(f){continue}break}}j[q+44>>2]=0}h[a+32|0]=0;j[q+24>>2]=0;j[q+28>>2]=0;j[q>>2]=0;j[q+4>>2]=0;c=0;n=0;while(1){g=e+1|0;if(g>>>0>r>>>0){break o}d=k[e|0];f=d&15;s=1;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{w=d>>>4|0;switch(w|0){case 0:break z;case 1:case 4:case 5:break A;case 7:break C;case 6:break D;case 3:break F;case 2:break G;default:break B}}if(f>>>0>=v>>>0){break o}d=j[j[u>>2]+(f<<2)>>2];j[q+4>>2]=c;j[q>>2]=d;d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c;break E}if(f>>>0>=x>>>0){break o}j[q>>2]=n;j[q+4>>2]=j[j[y>>2]+(f<<2)>>2];d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c}c=d;e=g;break w}f=2958;s=3;break A}f=3627;s=3;break A}s=4}o=0;d=q;e=g;while(1){H:{I:{switch(f&3){case 0:g=e+1|0;if(g>>>0>r>>>0){break o}e=k[e|0];if(e>>>0>=v>>>0){break o}n=j[j[u>>2]+(e<<2)>>2];e=g;break H;case 1:g=e+2|0;if(g>>>0>r>>>0){break o}e=k[e|0]|k[e+1|0]<<8;n=(e<<24|e<<8&16711680)>>16;e=g;break H;case 2:break I;default:break H}}g=e+1|0;if(g>>>0>r>>>0){break o}n=h[e|0]+n|0;e=g}j[d>>2]=n;J:{K:{switch(f>>>2&3){case 0:n=e+1|0;if(n>>>0>r>>>0){break o}c=k[e|0];if(c>>>0>=x>>>0){break o}c=j[j[y>>2]+(c<<2)>>2];e=n;break J;case 1:n=e+2|0;if(n>>>0>r>>>0){break o}c=k[e|0]|k[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;e=n;break J;case 2:break K;default:break J}}n=e+1|0;if(n>>>0>r>>>0){break o}c=h[e|0]+c|0;e=n}j[d+4>>2]=c;L:{if(!((s|0)!=4|o)){c=e+1|0;if(c>>>0>r>>>0){break o}f=k[e|0];s=3;e=c;break L}f=f>>>4|0}c=j[d+4>>2];g=j[d>>2];j[q+24>>2]=g;j[q+28>>2]=c;d=d+8|0;t=c;n=g;o=o+1|0;if(s>>>0>o>>>0){continue}break}c=t;switch(w|0){case 1:case 2:case 3:break w;case 4:case 5:break y;case 0:break z;default:break x}}d=j[a+28>>2];if(k[a+32|0]){n=i[d+58>>1];e=n-1|0;f=e;o=l[d+56>>1];g=o<<16>>16;c=0;M:{if((g|0)<1){break M}c=i[(j[d+68>>2]+(o<<1)|0)-2>>1]}N:{if((f|0)<=(c|0)){break N}f=j[d+60>>2];o=f+(c<<3)|0;f=f+(e<<3)|0;if(j[o>>2]!=j[f>>2]|j[o+4>>2]!=j[f+4>>2]){break N}i[d+58>>1]=n-1;e=n-2|0}if((c|0)<=(e|0)){i[d+56>>1]=g+1;i[j[d+68>>2]+(g<<1)>>1]=e}h[a+32|0]=0}Xh(d);d=j[q+44>>2];break m}f=j[a+28>>2];O:{if(!k[a+32|0]){break O}o=i[f+58>>1];d=o-1|0;s=d;w=l[f+56>>1];t=w<<16>>16;g=0;P:{if((t|0)<1){break P}g=i[(j[f+68>>2]+(w<<1)|0)-2>>1]}Q:{if((s|0)<=(g|0)){break Q}s=j[f+60>>2];w=s+(g<<3)|0;s=s+(d<<3)|0;if(j[w>>2]!=j[s>>2]|j[w+4>>2]!=j[s+4>>2]){break Q}i[f+58>>1]=o-1;d=o-2|0}if((d|0)<(g|0)){break O}i[f+56>>1]=t+1;i[j[f+68>>2]+(t<<1)>>1]=d}h[a+32|0]=1;d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2];if(!(m[f+8>>2]>=(i[f+20>>1]+i[f+56>>1]|0)+1>>>0?o>>>0<=s>>>0:0)){d=yf(f,1,1);if(d){break u}if(!k[a+32|0]){d=8;break u}f=j[a+28>>2];d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2]}if(o>>>0>s>>>0){d=yf(f,1,0);if(d){break u}d=i[f+58>>1]}o=j[q+4>>2];g=j[f+60>>2]+(d<<3)|0;j[g>>2]=j[q>>2];j[g+4>>2]=o;h[j[f- -64>>2]+d|0]=1;i[f+58>>1]=l[f+58>>1]+1;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+3>>>0>m[g+4>>2]){d=yf(g,3,0);if(d){break u}d=i[g+58>>1]}o=j[g- -64>>2];t=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=t;t=j[q+12>>2];j[f+8>>2]=j[q+8>>2];j[f+12>>2]=t;t=j[q+20>>2];j[f+16>>2]=j[q+16>>2];j[f+20>>2]=t;d=d+o|0;h[d+2|0]=1;h[d|0]=2;h[d+1|0]=2;i[g+58>>1]=l[g+58>>1]+3;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+1>>>0>m[g+4>>2]){d=yf(g,1,0);if(d){break u}d=i[g+58>>1]}o=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=o;h[j[g- -64>>2]+d|0]=1;i[g+58>>1]=l[g+58>>1]+1}d=0}j[q+44>>2]=d;if(!d){continue}break}break m}d=8}Ve(b)}oe=q+48|0;return d}function iL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;e=oe-80|0;oe=e;n=j[a+8>>2];a:{if(!n){b=6;break a}o=j[a>>2];c=j[a+4>>2];b:{if(j[c+12>>2]>1){break b}bh(c);if(j[c+12>>2]>1){break b}i=j[c+8>>2];b=j[c>>2];c:{while(1){if(b>>>0>=i>>>0){break c}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;d:{switch(l-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j[c+12>>2]=2;break b}j[c+12>>2]=3}while(1){e:{j[c+12>>2]=0;f=vh(c);if(f){break e}b=2;if(j[c+12>>2]==2){continue}break a}break}b=2;if((j[c>>2]+(f^-1)|0)!=16){break a}if(Qe(f,134013,16)){break a}b=160;f:{g:while(1){g=j[a+4>>2];h:{if(j[g+12>>2]>1){break h}bh(g);if(j[g+12>>2]>1){break h}c=j[g+8>>2];f=j[g>>2];i:{while(1){if(c>>>0<=f>>>0){break i}l=f+1|0;j[g>>2]=l;i=k[f|0];f=l;j:{switch(i-10|0){case 16:break i;case 0:case 3:break j;default:continue}}break}j[g+12>>2]=2;break h}j[g+12>>2]=3}while(1){k:{j[g+12>>2]=0;i=vh(g);if(i){break k}if(j[g+12>>2]==2){continue}break f}break}f=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){l:{m=j[(d<<2)+134032>>2];if((l|0)==k[m|0]){if(d>>>0>73){continue g}while(1){if(!Qe(m,i,f)){break l}d=d+1|0;if((d|0)==74){continue g}m=j[(d<<2)+134032>>2];if((l|0)==k[m|0]){continue}break}continue g}d=d+1|0;if((d|0)!=74){continue}continue g}break}m:{n:{o:{p:{switch(d|0){case 40:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}if(!(j[e+36>>2]&-3)){continue}b=7;break f;case 30:j[e>>2]=4;if((Qg(a,e,1)|0)!=1){break f}h[n|0]=k[e+4|0];continue;case 26:j[e+24>>2]=2;j[e+16>>2]=2;j[e+8>>2]=2;j[e>>2]=2;if((Qg(a,e,4)|0)!=4){break f}j[n+4>>2]=j[e+4>>2];j[n+8>>2]=j[e+12>>2];j[n+12>>2]=j[e+20>>2];j[n+16>>2]=j[e+28>>2];continue;case 0:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+20>>2]=j[e+4>>2];continue;case 14:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+24>>2]=j[e+4>>2];continue;case 45:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}f=j[e+36>>2];if((f|0)<=0){break n}while(1){g=j[a+4>>2];q:{if(j[g+12>>2]>1){break q}bh(g);if(j[g+12>>2]>1){break q}c=j[g+8>>2];b=j[g>>2];r:{while(1){if(b>>>0>=c>>>0){break r}l=b+1|0;j[g>>2]=l;i=k[b|0];b=l;s:{switch(i-10|0){case 16:break r;case 0:case 3:break s;default:continue}}break}j[g+12>>2]=2;break q}j[g+12>>2]=3}b=f-1|0;while(1){t:{j[g+12>>2]=0;if(vh(g)){break t}if(j[g+12>>2]==2){continue}break m}break}l=(f|0)<2;f=b;if(!l){continue}break}break n;case 20:break o;case 49:break p;default:continue}}u:while(1){c=j[a+4>>2];v:{if(j[c+12>>2]>1){break v}bh(c);if(j[c+12>>2]>1){break v}i=j[c+8>>2];b=j[c>>2];w:{while(1){if(b>>>0>=i>>>0){break w}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;x:{switch(l-10|0){case 16:break w;case 0:case 3:break x;default:continue}}break}j[c+12>>2]=2;break v}j[c+12>>2]=3}y:{while(1){j[c+12>>2]=0;i=vh(c);if(i){break y}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){z:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue u}while(1){if(!Qe(f,i,b)){break z}d=d+1|0;if((d|0)==74){continue u}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue u}d=d+1|0;if((d|0)!=74){continue}continue u}break}b=160;A:{switch(d-20|0){case 33:c=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[c+32>>2]=b;if(b){q=c,r=xe(j[a>>2],20,0,b,0,e+32|0),j[q+28>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;B:{C:while(1){g=j[a+4>>2];D:{if(j[g+12>>2]>1){break D}bh(g);if(j[g+12>>2]>1){break D}i=j[g+8>>2];b=j[g>>2];E:{while(1){if(b>>>0>=i>>>0){break E}f=b+1|0;j[g>>2]=f;l=k[b|0];b=f;F:{switch(l-10|0){case 16:break E;case 0:case 3:break F;default:continue}}break}j[g+12>>2]=2;break D}j[g+12>>2]=3}G:{while(1){j[g+12>>2]=0;i=vh(g);if(i){break G}if(j[g+12>>2]==2){continue}break}b=160;break f}b=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){H:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue C}while(1){if(!Qe(f,i,b)){break H}d=d+1|0;if((d|0)==74){continue C}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue C}d=d+1|0;if((d|0)!=74){continue}continue C}break}I:{J:{switch(d-20|0){case 36:m=m+1|0;if((m|0)>=j[c+32>>2]){break I}b=j[c+28>>2];j[e+64>>2]=2;j[e+56>>2]=2;j[e+48>>2]=2;j[e+40>>2]=2;j[e+32>>2]=3;if((Qg(a,e+32|0,5)|0)!=5){break I}b=b+p(m,20)|0;j[b>>2]=j[e+36>>2];j[b+4>>2]=j[e+44>>2];j[b+8>>2]=j[e+52>>2];j[b+12>>2]=j[e+60>>2];j[b+16>>2]=j[e+68>>2];continue;case 0:case 1:case 3:break B;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break I;default:break J}}if((d|0)==75){continue}}break}b=160;break f}j[c+32>>2]=m+1;continue;case 0:case 1:break o;case 55:continue;case 30:case 31:break A;default:break f}}g=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[g+40>>2]=b;if(b){q=g,r=xe(j[a>>2],16,0,b,0,e+32|0),j[q+36>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;K:{L:while(1){c=j[a+4>>2];M:{if(j[c+12>>2]>1){break M}bh(c);if(j[c+12>>2]>1){break M}i=j[c+8>>2];b=j[c>>2];N:{while(1){if(b>>>0>=i>>>0){break N}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;O:{switch(l-10|0){case 16:break N;case 0:case 3:break O;default:continue}}break}j[c+12>>2]=2;break M}j[c+12>>2]=3}P:{while(1){j[c+12>>2]=0;i=vh(c);if(i){break P}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){Q:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue L}while(1){if(!Qe(f,i,b)){break Q}d=d+1|0;if((d|0)==74){continue L}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue L}d=d+1|0;if((d|0)!=74){continue}continue L}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){b=160;break f}b=1<=j[g+40>>2]){break R}b=j[g+36>>2];j[e+56>>2]=3;j[e+48>>2]=3;j[e+40>>2]=5;j[e+32>>2]=5;c=Qg(a,e+32|0,4);if((c|0)<3){break R}i=b+(m<<4)|0;j[i>>2]=j[e+36>>2];j[i+4>>2]=j[e+44>>2];f=0;b=j[e+52>>2];l=i;if((d|0)!=37){f=b;b=(d|0)==34?(c|0)==4?j[e+60>>2]:0:0}j[l+12>>2]=b;j[i+8>>2]=f;continue}break}b=160;break f}b=m+1|0;j[g+40>>2]=b;eg(j[g+36>>2],b,16,718);continue}}b=0;break a}S:while(1){c=j[a+4>>2];T:{if(j[c+12>>2]>1){break T}bh(c);if(j[c+12>>2]>1){break T}i=j[c+8>>2];b=j[c>>2];U:{while(1){if(b>>>0>=i>>>0){break U}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;V:{switch(l-10|0){case 16:break U;case 0:case 3:break V;default:continue}}break}j[c+12>>2]=2;break T}j[c+12>>2]=3}while(1){W:{j[c+12>>2]=0;i=vh(c);if(i){break W}if(j[c+12>>2]==2){continue}break m}break}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){X:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue S}while(1){if(!Qe(f,i,b)){break X}d=d+1|0;if((d|0)==74){continue S}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue S}d=d+1|0;if((d|0)!=74){continue}continue S}break}b=0;switch(d-17|0){case 0:case 3:continue g;default:continue}}}break}b=160;break a}a=j[n+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+28>>2]=0;j[n+32>>2]=0;a=j[n+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+36>>2]=0;j[n+40>>2]=0;h[n|0]=0}oe=e+80|0;return b|0}function Nz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(q,b>>>8&255)>>>0)/255|0)+h<<8|((p(q,b&255)>>>0)/255|0)+i|((p(q,b>>>16&255)>>>0)/255|0)+g<<16;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];c=(a>>>8&255)+h|0;d=(c>>>0<255?c:255)<<8;c=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=d|(c>>>0<255?c:255)|(a>>>0<255?a:255)<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;while(1){j[l>>2]=a;l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}d=f<<2;while(1){c=j[b>>2];j[b>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}s=b-d|0;l=s>>31;o=c-e|0;n=o>>31;if((l^l+s)==(n^n+o)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}d=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:l=d-b|0;f=l>>31;n=e-c|0;o=n>>31;l=f^f+l;n=o^n+o;r:{if((l|0)>=(n|0)){s=n-l|0;o=n<<1;f=o-l|0;n=1;break r}s=l-n|0;r=1;o=l<<1;f=o-n|0;l=n;n=0}l=((m|0)!=0)+l|0;if(!l){break a}e=(c|0)>(e|0);m=e?0-r|0:r;d=(b|0)>(d|0);n=d?0-n|0:n;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];j[v>>2]=((p(q,e&255)>>>0)/255|0)+i|((p(q,e>>>8&255)>>>0)/255|0)+h<<8|((p(q,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?o:s)+f|0;b=(e?n:u)+b|0;c=(e?m:r)+c|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}break a;case 1:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;f=f^f+o;n=l^l+n;s:{if((f|0)>=(n|0)){s=n-f|0;q=1;o=n<<1;l=o-f|0;n=0;break s}s=f-n|0;o=f<<1;l=o-n|0;q=0;f=n;n=1}m=((m|0)!=0)+f|0;if(!m){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);q=d?0-q|0:q;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];f=(e>>>8&255)+h|0;w=(f>>>0<255?f:255)<<8;f=(e&255)+i|0;e=(e>>>16&255)+g|0;j[v>>2]=w|(f>>>0<255?f:255)|(e>>>0<255?e:255)<<16;e=(l|0)<0;l=(e?o:s)+l|0;b=(e?q:u)+b|0;c=(e?n:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;case 3:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;t:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break t}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;q=e?-1:1;s=d?-1:1;r=r<<1;u=j[a+20>>2];d=0;while(1){t=(u+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[t>>2];j[t>>2]=(p(e&255,i)>>>0)/255|(p(e>>>8&255,h)>>>0)/255<<8|(p(e>>>16&255,g)>>>0)/255<<16;e=(l|0)<0;l=(e?f:r)+l|0;b=(e?n:s)+b|0;c=(e?o:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;default:break q}}o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;u:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break u}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;e=e?-1:1;q=d?-1:1;r=r<<1;g=h<<8|i|g<<16;h=j[a+20>>2];i=0;while(1){j[(h+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(l|0)<0;l=(d?f:r)+l|0;b=(d?n:q)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function Lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=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;e=oe-800|0;oe=e;a:{if(!a){d=37;break a}g=d|3;n=b?d:g;r=n&1?0:b;b:{if(!r){b=j[a+4>>2];break b}d=35;f=j[b>>2];b=j[a+4>>2];if((f|0)!=(b|0)){break a}}c:{d:{o=j[b+656>>2];if(j[o+1456>>2]==65535){break d}f=j[o+1164>>2];if(!f){break d}if(!c){c=0;break c}d=6;if(m[o+1168>>2]>>0){break a}c=l[f+(c<<1)>>1];if(c){break c}break a}d=6;if(m[o+12>>2]<=c>>>0){break a}}j[a+164>>2]=65536;j[a+168>>2]=65536;s=n&1024?g:n;e:{f:{if(!r){break f}j[a+164>>2]=j[r+16>>2];j[a+168>>2]=j[r+20>>2];g=j[r+44>>2];if(s&8|(g|0)==-1){break f}f=j[r>>2];d=j[f+532>>2];if(!j[d+96>>2]){break f}if(qe[j[d+72>>2]](b,g,c,s,j[f+104>>2],a+76|0,e+56|0)|0){break f}j[a+108>>2]=0;j[a+24>>2]=l[e+58>>1]<<6;j[a+28>>2]=l[e+56>>1]<<6;p=i[e+60>>1];j[a+32>>2]=p<<6;n=i[e+62>>1];j[a+36>>2]=n<<6;j[a+40>>2]=l[e+64>>1]<<6;g=i[e+66>>1];j[a+44>>2]=g<<6;d=i[e+68>>1];j[a+48>>2]=d<<6;f=l[e+70>>1];o=d;d=s&16;j[a+104>>2]=d?o:n;j[a+100>>2]=d?g:p;j[a+72>>2]=1651078259;j[a+52>>2]=f<<6;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+40|0);j[a+56>>2]=l[e+40>>1];if(!(!k[b+292|0]|!l[b+330>>1])){qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+40|0);j[a+60>>2]=l[e+40>>1];break e}if(l[b+364>>1]!=65535){j[a+60>>2]=i[b+434>>1]-i[b+436>>1];break e}j[a+60>>2]=i[b+220>>1]-i[b+222>>1];break e}d=6;if(s&16384){break a}p=j[o+1896>>2];g:{if(p){d=0;h:{i:{switch(k[o+2924|0]){case 0:d=k[j[o+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(m[o+2944>>2]>c-j[o+2940>>2]>>>0){d=k[o+2948|0];break h}d=j[o+2932>>2];n=d+j[o+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){d=k[d|0];h[o+2948|0]=d;j[o+2944>>2]=g-f;j[o+2940>>2]=f;break h}f=g;d=d+3|0;if(n>>>0>d>>>0){continue}}break}d=0}f=(o+(((p>>>0>(d&255)>>>0?d:p-1|0)&255)<<2)|0)+1900|0;p=j[f>>2];n=j[p+68>>2];g=j[o+1392>>2];d=j[p+60>>2];j[e+48>>2]=j[p+56>>2];j[e+52>>2]=d;d=j[p+52>>2];j[e+40>>2]=j[p+48>>2];j[e+44>>2]=d;d=j[f>>2];u=j[d+72>>2];v=j[d+76>>2];if((g|0)==(n|0)){break g}z=a,A=Ne(j[a+164>>2],g,n),j[z+164>>2]=A;z=a,A=Ne(j[a+168>>2],g,n),j[z+168>>2]=A;x=1;break g}f=o+1380|0;d=j[f+4>>2];j[e+48>>2]=j[f>>2];j[e+52>>2]=d;f=o+1372|0;d=j[f+4>>2];j[e+40>>2]=j[f>>2];j[e+44>>2]=d;v=j[o+1400>>2];u=j[o+1396>>2]}f=0;j[a+108>>2]=0;j[a+72>>2]=1869968492;y=s&1;h[a+161|0]=y^1;w=(s>>>1^-1)&1;h[a+160|0]=w;n=j[b+656>>2];Ee(e+80|0,0,716);j[e+64>>2]=a;j[e+60>>2]=b;h[e+121|0]=1;j[e+56>>2]=j[b+100>>2];d=j[j[a+156>>2]>>2];j[e+68>>2]=d;j[e+76>>2]=d+56;j[e+72>>2]=d+20;Yh(d);j[e+124>>2]=0;j[e+128>>2]=0;d=s>>>16|0;if(!(!r|!w)){j[e+128>>2]=j[j[r+40>>2]>>2];j[e+124>>2]=j[j[a+156>>2]+36>>2]}d=d&15;j[e+96>>2]=0;j[e+100>>2]=0;j[e+88>>2]=0;j[e+92>>2]=0;j[e+80>>2]=0;j[e+84>>2]=0;j[e+132>>2]=n;g=j[n+92>>2];j[e+756>>2]=g;j[e+772>>2]=j[n+1308>>2];j:{if(j[n+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}j[e+784>>2]=d;j[e+764>>2]=f;if(s&256){h[e+617|0]=1}h[e+122|0]=0;d=j[j[b+128>>2]+48>>2];k:{if(d){d=qe[j[j[d>>2]>>2]](j[d+4>>2],c,e+16|0)|0;j[e+8>>2]=j[e+16>>2];j[e+36>>2]=j[e+20>>2];break k}d=zi(j[b+656>>2]+1176|0,c,e+8|0,e+36|0)}if(d){break a}q=j[j[e+60>>2]+656>>2];t=j[q+1896>>2];l:{if(!t){d=q+1324|0;break l}n=0;m:{n:{switch(k[q+2924|0]){case 0:n=k[j[q+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(m[q+2944>>2]>c-j[q+2940>>2]>>>0){n=k[q+2948|0];break m}d=j[q+2932>>2];p=d+j[q+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){n=k[d|0];h[q+2948|0]=n;j[q+2944>>2]=g-f;j[q+2940>>2]=f;break m}f=g;d=d+3|0;if(p>>>0>d>>>0){continue}break}}d=3;if(n>>>0>=t>>>0){break a}d=j[(q+(n<<2)|0)+1900>>2];if(!r|!j[e+124>>2]){break l}j[e+128>>2]=j[(j[r+40>>2]+(n<<2)|0)+4>>2]}g=j[d+544>>2];j[e+752>>2]=g;j[e+768>>2]=j[d+568>>2];f=e;n=0;o:{if(j[j[e+132>>2]+1368>>2]==1){break o}n=107;if(g>>>0<1240){break o}n=g>>>0<33900?1131:32768}j[f+760>>2]=n;j[e+608>>2]=j[d+528>>2];f=j[d+532>>2];j[e+792>>2]=d;j[e+612>>2]=f;g=j[e+36>>2];d=Kr(e+56|0,j[e+8>>2],g);if((d&255)==164){w=0;h[a+160|0]=0;x=1;d=Kr(e+56|0,j[e+8>>2],g)}f=j[j[b+128>>2]+48>>2];p:{if(f){j[e+20>>2]=g;j[e+16>>2]=j[e+8>>2];qe[j[j[f>>2]+4>>2]](j[f+4>>2],e+16|0);break p}f=j[b+656>>2];if(j[f+1204>>2]){break p}jf(j[f+1176>>2],e+8|0)}if(d){break a}f=0;n=0;d=j[j[b+128>>2]+48>>2];q:{if(!d){f=j[o+1200>>2];if(!f){break q}n=g;f=(j[o+1204>>2]+j[f+(c<<2)>>2]|0)-1|0}j[a+140>>2]=n;j[a+136>>2]=f}g=j[e+64>>2];if(g){f=j[e+72>>2];d=j[f+4>>2];j[g+108>>2]=j[f>>2];j[g+112>>2]=d;j[g+124>>2]=j[f+16>>2];d=j[f+12>>2];j[g+116>>2]=j[f+8>>2];j[g+120>>2]=d;d=j[j[b+128>>2]+48>>2]}r:{if(!d){break r}g=j[j[d>>2]+8>>2];if(!g){break r}j[e+20>>2]=0;j[e+16>>2]=j[e+88>>2];f=j[e+100>>2];j[e+24>>2]=j[e+96>>2];j[e+28>>2]=f;d=qe[g|0](j[d+4>>2],c,0,e+16|0)|0;j[e+88>>2]=j[e+16>>2];f=j[e+28>>2];j[e+96>>2]=j[e+24>>2];j[e+100>>2]=f;if(d){break a}}if(s&1024){j[a+32>>2]=j[e+88>>2];j[a+40>>2]=j[e+608>>2];f=j[e+48>>2];d=j[e+52>>2];c=j[e+40>>2];b=j[e+44>>2];a=j[a+156>>2];j[a+28>>2]=u;j[a+32>>2]=v;h[a+8|0]=1;j[a+20>>2]=f;j[a+24>>2]=d;j[a+12>>2]=c;j[a+16>>2]=b;break e}s:{if(l[b+250>>1]){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+8|0);d=l[e+8>>1];j[a+32>>2]=i[e+16>>1];break s}d=j[e+608>>2]}j[a+56>>2]=d;j[a+40>>2]=d;h[j[a+156>>2]+8|0]=0;t:{if(!(!k[b+292|0]|!l[b+330>>1])){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+8|0);j[a+48>>2]=i[e+16>>1];d=l[e+8>>1];j[a+52>>2]=d;f=1;break t}u:{if(l[b+364>>1]!=65535){d=i[b+434>>1]-i[b+436>>1]|0;j[a+52>>2]=d;break u}d=i[b+220>>1]-i[b+222>>1]|0;j[a+52>>2]=d}f=0}j[a+72>>2]=1869968492;j[a+60>>2]=d;t=a+108|0;j[a+124>>2]=r?l[r+14>>1]<24?260:4:4;v:{if(!(j[e+44>>2]|(j[e+40>>2]!=65536|j[e+52>>2]!=65536))){if(!j[e+48>>2]){break v}}Ah(t,e+40|0)}if(u|v){Tf(t,u,v)}c=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=c;Tg(e+8|0,e+40|0);j[a+40>>2]=j[e+8>>2]+u;j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+40|0);j[a+52>>2]=j[e+12>>2]+v;if(!(x?0:y)){d=j[a+112>>2];p=j[a+168>>2];n=j[a+164>>2];w:{if(j[e+124>>2]?w:0){break w}c=i[a+110>>1];if((c|0)<1){break w}c=c&65535;while(1){z=d,A=ye(j[d>>2],n),j[z>>2]=A;z=d,A=ye(j[d+4>>2],p),j[z+4>>2]=A;d=d+8|0;g=(c|0)>1;c=c-1|0;if(g){continue}break}}z=a,A=ye(j[a+40>>2],n),j[z+40>>2]=A;z=a,A=ye(j[a+52>>2],p),j[z+52>>2]=A}Ug(t,e+16|0);d=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-d;c=j[e+28>>2];j[a+28>>2]=c-j[e+20>>2];if(!l[b+250>>1]){j[a+32>>2]=d}j[a+36>>2]=c;if(f){j[a+44>>2]=j[a+32>>2]+(j[a+40>>2]/-2|0);break e}if(!(s&16)){break e}Fi(a+24|0,j[a+52>>2])}d=0}oe=e+800|0;return d|0}function Jj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;i=oe-48|0;oe=i;l=j[b>>2];h=j[b+16>>2];g=j[b+20>>2];m=j[a+404>>2];if(j[a+356>>2]){f=j[a+184>>2];e=j[a+340>>2];a:{if(j[a+364>>2]){d=j[a+352>>2];k=j[a+344>>2];break a}d=j[a+352>>2];k=(j[a+420>>2]-j[a+344>>2]|0)-d|0}qe[f|0](e,k,j[a+348>>2],d);d=j[a+348>>2];b:{if(!d){break b}e=j[a+352>>2];if(!e){break b}n[a+428>>2]=q(2)/q(d|0);d=j[a+364>>2];n[a+480>>2]=d?q(-1):q(1);n[a+448>>2]=(d?q(2):q(-2))/q(e|0)}j[a+356>>2]=0}if(j[a+372>>2]){c:{if(!j[a+376>>2]){qe[j[a+64>>2]](3089);break c}qe[j[a+76>>2]](3089)}j[a+372>>2]=0}if(!(!j[a+376>>2]|!j[a+380>>2])){f=j[a+140>>2];e=j[a+384>>2]+j[a+340>>2]|0;d:{if(j[a+364>>2]){d=j[a+396>>2];k=j[a+388>>2]+j[a+344>>2]|0;break d}d=j[a+396>>2];k=((j[a+420>>2]-j[a+344>>2]|0)-j[a+388>>2]|0)-d|0}qe[f|0](e,k,j[a+392>>2],d);j[a+380>>2]=0}if((g|0)!=j[a+360>>2]){if(j[a+400>>2]!=((g|0)!=0|0)){d=a;e:{if(!g){qe[j[a+68>>2]](1);e=0;break e}qe[j[a+80>>2]](1);e=1}j[d+400>>2]=e}if(g){d=j[g+76>>2];f:{if(j[d+24>>2]){qe[j[a+8>>2]](33986);qe[j[a+20>>2]](j[d+4>>2],j[d+32>>2]);qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984);break f}if(!j[d+28>>2]){break f}qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984)}qe[j[a+20>>2]](j[d+4>>2],j[d>>2])}j[a+360>>2]=g}if(g){qe[j[a+180>>2]](1,2,5126,0,0,j[b+4>>2]+32|0);d=j[g+16>>2]}else{d=0}e=d;f=-1;g:{h:{i:{j:{k:{l:{m:{switch(c-1|0){case 3:c=5;break i;case 4:c=4;break i;case 5:d=j[58753];c=(e|0)<577?1:2;n:{if((d|0)==3){break n}c=d}if(c>>>0<3){break l}c=i;b=j[58753];d=(e|0)<577?1:2;o:{if((b|0)==3){break o}d=b}j[c>>2]=d;ve(75555,i);break h;case 6:d=j[58753];c=(e|0)<577?1:2;p:{if((d|0)==3){break p}c=d}if(c>>>0<3){break k}c=i;b=j[58753];d=(e|0)<577?1:2;q:{if((b|0)==3){break q}d=b}j[c+16>>2]=d;ve(75555,i+16|0);break h;case 7:d=j[58753];c=(e|0)<577?1:2;r:{if((d|0)==3){break r}c=d}if(c>>>0<3){break j}c=i;b=j[58753];d=(e|0)<577?1:2;s:{if((b|0)==3){break s}d=b}j[c+32>>2]=d;ve(75555,i+32|0);break h;case 0:case 1:case 2:break i;case 8:break m;default:break h}}c=15;break i}c=c+6|0;break i}c=c+9|0;break i}c=c+12|0}e=go(a,0);if(!e){break h}t:{u:{v:{w:{g=go(a,c);x:{if(!g){break x}d=j[a+424>>2];if((g|0)==j[d+8>>2]?!(!d|(e|0)!=j[d+4>>2]):0){break t}y:{z:{c=j[a+260>>2];if(c){d=c;while(1){if((g|0)==j[d+8>>2]?(e|0)==j[d+4>>2]:0){break z}d=j[d+148>>2];if(d){continue}break}}d=Xe(1,152);if(d){break y}Be(0);break x}if((c|0)==(d|0)){break v}f=j[d+148>>2];if(f){j[f+144>>2]=j[d+144>>2]}e=j[d+144>>2];if(e){j[e+148>>2]=f}j[d+148>>2]=c;j[d+144>>2]=0;j[c+144>>2]=d;j[a+260>>2]=d;break u}j[d+8>>2]=g;j[d+4>>2]=e;c=qe[j[a+44>>2]]()|0;j[d>>2]=c;qe[j[a+12>>2]](c,j[e>>2]);qe[j[a+12>>2]](j[d>>2],j[g>>2]);qe[j[a+16>>2]](j[d>>2],0,75769);qe[j[a+16>>2]](j[d>>2],1,75780);qe[j[a+16>>2]](j[d>>2],2,75791);qe[j[a+16>>2]](j[d>>2],3,75799);qe[j[a+128>>2]](j[d>>2]);qe[j[a+112>>2]](j[d>>2],35714,i+44|0);if(j[i+44>>2]){break w}qe[j[a+52>>2]](j[d>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}ve(75808,0)}if(j[e+12>>2]<=0){c=j[e+20>>2];if(c){j[c+16>>2]=j[e+16>>2]}b=j[e+16>>2];if(b){j[b+20>>2]=c}if((e|0)==j[a+252>>2]){j[a+252>>2]=j[e+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[e>>2]);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}}if(!g|j[g+12>>2]>0){break h}c=j[g+20>>2];if(c){j[c+16>>2]=j[g+16>>2]}b=j[g+16>>2];if(b){j[b+20>>2]=c}if((g|0)==j[a+252>>2]){j[a+252>>2]=j[g+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[g>>2]);if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break h}o=d,p=qe[j[a+124>>2]](j[d>>2],75838)|0,j[o+12>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75851)|0,j[o+28>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75863)|0,j[o+24>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75875)|0,j[o+16>>2]=p;c=qe[j[a+124>>2]](j[d>>2],75885)|0;j[d+76>>2]=0;j[d+20>>2]=c;qe[j[a+176>>2]](j[d>>2]);c=j[d+28>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,2)}c=j[d+24>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,1)}c=j[d+16>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,0)}c=j[d+12>>2];if((c|0)!=-1){qe[j[a+172>>2]](c,1,0,d+80|0)}c=j[d+20>>2];if((c|0)!=-1){qe[j[a+168>>2]](c,q(0),q(0),q(0),q(0))}c=j[a+260>>2];A:{if(c){j[d+148>>2]=c;c=c+144|0;break A}c=a+264|0}j[c>>2]=d;j[a+260>>2]=d;c=j[a+256>>2];j[a+256>>2]=c+1;j[e+12>>2]=j[e+12>>2]+1;j[g+12>>2]=j[g+12>>2]+1;if((c|0)<8){break u}c=j[a+264>>2];f=j[c+4>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}f=j[c+8>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}qe[j[a+52>>2]](j[c>>2]);c=j[j[a+264>>2]+144>>2];j[a+264>>2]=c;if(c){c=j[c+148>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[j[a+264>>2]+148>>2]=0}j[a+256>>2]=j[a+256>>2]-1;break u}d=c}qe[j[a+176>>2]](j[d>>2]);j[a+424>>2]=d}B:{if(j[d+12>>2]==-1){break B}c=d+80|0;e=a+428|0;if(!wf(c,e,64)){break B}qe[j[a+172>>2]](j[d+12>>2],1,0,e);Ge(c,e,64)}c=j[d+20>>2];C:{if((c|0)==-1){break C}e=j[a+408>>2];if((e|0)==j[d+76>>2]){break C}qe[j[a+168>>2]](c,q(q(e>>>16&255)*q(.003921568859368563)),q(q(e>>>8&255)*q(.003921568859368563)),q(q(e&255)*q(.003921568859368563)),q(q(e>>>24|0)*q(.003921568859368563)));j[d+76>>2]=j[a+408>>2]}if(j[a+368>>2]!=(h|0)){D:{if(!h){qe[j[a+64>>2]](3042);break D}qe[j[a+76>>2]](3042);g=j[a+28>>2];c=mo(h)-1|0;if(c>>>0<=9){e=j[(c<<2)+76096>>2]}else{e=1280}c=lo(h)-1|0;if(c>>>0<=9){d=j[(c<<2)+76096>>2]}else{d=1280}c=ko(h)-1|0;if(c>>>0<=9){c=j[(c<<2)+76096>>2]}else{c=1280}f=jo(h)-1|0;if(f>>>0<=9){k=j[(f<<2)+76096>>2]}else{k=1280}qe[g|0](e,d,c,k);e=j[a+24>>2];if(!(23>>>h&1)|h>>>0>=5){c=h&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=j[(c<<2)+76136>>2]}else{c=1280}if(!(23>>>h&1)|h>>>0>=5){d=h>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=j[(d<<2)+76136>>2]}else{d=1280}qe[e|0](c,d)}j[a+368>>2]=h}f=0;qe[j[a+180>>2]](0,2,5126,0,0,j[b+4>>2]);c=(l|0)==9;if((c|0)!=(m|0)){E:{if((l|0)==9){qe[j[a+80>>2]](2);qe[j[a+80>>2]](3);break E}qe[j[a+68>>2]](2);qe[j[a+68>>2]](3)}j[a+404>>2]=c}if((l|0)!=9){break g}qe[j[a+180>>2]](2,2,5126,0,0,j[b+4>>2]- -64|0);qe[j[a+180>>2]](3,2,5126,0,0,j[b+4>>2]+96|0);break g}j[a+424>>2]=0}oe=i+48|0;return f}function Cv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;b=j[a+44>>2];B=k[b+9|0];c=j[a+40>>2];z=k[c+9|0];g=j[c+24>>2];e=j[a+28>>2];d=e-1|0;j[a+28>>2]=d;w=j[a+24>>2];E=(j[a+4>>2]<<16)/(w|0)|0;F=(j[a+8>>2]<<16)/(e|0)|0;a:{if(!e){break a}G=g^-1;H=j[a+56>>2];I=k[a+63|0];J=k[a+62|0];K=k[a+61|0];L=k[a+60|0];e=j[a+52>>2];M=e&48;N=e&2;O=e&1;P=e&256;Q=e>>>4&7;m=j[a+20>>2];C=z-1|0;y=B-1|0;while(1){if((u|0)>=65536){e=(u-((u|0)<131071?u:131071)|0)+65535|0;u=(u-(e&-65536)|0)-65536|0;D=((e>>>16|0)+D|0)+1|0}R=a;if(w){t=65536;A=-1;r=0;while(1){if((t|0)>=65536){d=(t-((t|0)<131071?t:131071)|0)+65535|0;A=((d>>>16|0)+A|0)+1|0;r=(j[a>>2]+p(j[a+12>>2],D)|0)+p(A,z)|0;t=(t-(d&-65536)|0)-65536|0}e=j[c+24>>2];b:{if(e){d=0;g=0;n=0;o=0;q=0;c:{switch(C|0){case 0:d=k[r|0];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];g=255;break b;case 3:break c;default:break b}}d=j[r>>2];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b}d=0;g=255;n=0;o=0;q=0;d:{switch(C|0){case 0:d=k[r|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];break b;case 3:break d;default:break b}}d=j[r>>2];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0]}w=w-1|0;n=n&255;o=o&255;q=q&255;e:{if(P){if((z|0)==3){d=o<>2];f:{if(x){s=0;e=0;d=0;f=0;g:{switch(y|0){case 0:f=k[m|0];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];s=255;break f;case 3:break g;default:break f}}f=j[m>>2];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f}e=0;s=255;d=0;f=0;h:{switch(y|0){case 0:f=k[m|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];break f;case 3:break h;default:break f}}f=j[m>>2];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0]}if(O){o=(p(o,K)>>>0)/255|0;q=(p(q,L)>>>0)/255|0;n=(p(n,J)>>>0)/255|0}g=g&255;v=N?(p(g,I)>>>0)/255|0:g;if(!(!M|v>>>0>254)){o=(p(o,v)>>>0)/255|0;q=(p(q,v)>>>0)/255|0;n=(p(n,v)>>>0)/255|0}s=s&255;g=e&255;e=d&255;d=f;i:{j:{switch(Q|0){case 0:s=v;g=n;e=o;d=q;break i;case 1:f=255-v|0;s=((p(f,s)>>>0)/255|0)+v|0;g=((p(f,g)>>>0)/255|0)+n|0;e=((p(e,f)>>>0)/255|0)+o|0;d=((p(d,f)>>>0)/255|0)+q|0;break i;case 2:g=g+n|0;g=g>>>0<255?g:255;e=e+o|0;e=e>>>0<255?e:255;d=d+q|0;d=d>>>0<255?d:255;break i;case 4:break j;default:break i}}g=(p(g,n)>>>0)/255|0;e=(p(e,o)>>>0)/255|0;d=(p(d,q)>>>0)/255|0}if(x){k:{switch(y|0){case 0:h[m|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break k;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break l;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2];d=j[a+28>>2]}e=d;d=e-1|0;j[R+28>>2]=d;m=j[a+32>>2]+m|0;j[a+20>>2]=m;if(!e){break a}u=u+F|0;w=j[a+24>>2];continue}}}function bF(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;b=j[a+488>>2];c=a;f=j[a+824>>2];a:{b:{c:{if(f){if(b){e=1;if(wF(s+12|0,f,b)){e=j[s+12>>2]-95e3>>>0>1e4}i[a+898>>1]=l[a+898>>1]|1;if(!e){break b}b=j[a+216>>2]|8192;break a}x=a,y=ej(f),j[x+488>>2]=y;break c}if(b){x=a,y=ej(b),j[x+824>>2]=y;break c}j[a+488>>2]=1e5;j[a+824>>2]=1e5}i[a+898>>1]=l[a+898>>1]|1}b=j[a+216>>2]&-8193}j[c+216>>2]=b;if((b&262272)==262144){i[a+428>>1]=0;j[a+216>>2]=b&-41943297;j[a+212>>2]=j[a+212>>2]&-8193}b=j[a+216>>2];if(j[a+488>>2]-95e3>>>0<=1e4){b=b&-8388609;j[a+216>>2]=b;j[a+212>>2]=j[a+212>>2]&-8193}if(b&6291456){xF(a);b=j[a+216>>2]}d:{if(b&256){if(k[a+435|0]&2){break d}j[a+208>>2]=j[a+208>>2]|2048;break d}if((b&16512)!=16512){break d}c=l[a+454>>1];if((c|0)!=l[a+456>>1]|(c|0)!=l[a+458>>1]){break d}i[a+460>>1]=c;j[a+208>>2]=j[a+208>>2]|2048}f=k[a+435|0];e:{if((f|0)==3){f=l[a+428>>1];f:{if(f){d=j[a+528>>2];c=0;while(1){e=k[c+d|0];if((e|0)!=255){if(e){c=b;break f}g=1}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(g){break f}c=b&-8388993;j[a+216>>2]=c}if((c&4352)!=4352){break e}b=j[a+416>>2]+p(k[a+452|0],3)|0;i[a+454>>1]=k[b|0];i[a+456>>1]=k[b+1|0];i[a+458>>1]=k[b+2|0];if(!f|(c&34078720)!=524288){break e}b=j[a+528>>2];c=0;while(1){d=c+b|0;h[d|0]=k[d|0]^-1;c=c+1|0;if((f|0)!=(c|0)){continue}break}c=j[a+216>>2];break e}g:{if(f&4){c=b;break g}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(l[a+428>>1]){break g}c=b&-8388993;j[a+216>>2]=c}if(f&2|(c&4352)!=4352){break e}e=l[a+540>>1];d=l[a+460>>1];h:{i:{switch(k[a+436|0]-1|0){case 0:e=p(e,255);d=p(d,255);break h;case 1:e=p(e,85);d=p(d,85);break h;case 3:break i;default:break h}}e=p(e,17);d=p(d,17)}i[a+456>>1]=d;i[a+458>>1]=d;i[a+454>>1]=d;if(c&33554432){break e}i[a+536>>1]=e;i[a+538>>1]=e;i[a+534>>1]=e}if(!(k[a+436|0]==16|(c&896)!=640)){i[a+454>>1]=p(l[a+454>>1],255)+32895>>>16;i[a+456>>1]=p(l[a+456>>1],255)+32895>>>16;i[a+458>>1]=p(l[a+458>>1],255)+32895>>>16;i[a+460>>1]=p(l[a+460>>1],255)+32895>>>16}if(!(!(c&67109888)|(c&384)!=128|k[a+436|0]!=16)){i[a+454>>1]=p(l[a+454>>1],257);i[a+456>>1]=p(l[a+456>>1],257);i[a+458>>1]=p(l[a+458>>1],257);i[a+460>>1]=p(l[a+460>>1],257)}b=l[a+456>>1]|l[a+458>>1]<<16;f=l[a+452>>1]|l[a+454>>1]<<16;i[a+462>>1]=f;i[a+464>>1]=f>>>16;i[a+466>>1]=b;i[a+468>>1]=b>>>16;i[a+470>>1]=l[a+460>>1];f=a;j:{k:{l:{if(c&8192){break l}if(c&6291456){if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}c=j[a+216>>2]}m:{if(!(c&128)){break m}if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}if(k[a+446|0]!=3){break m}if(j[a+448>>2]-95e3>>>0>1e4){break l}}b=j[a+216>>2];if(b&8388608){if(j[a+488>>2]-95e3>>>0>1e4){break l}b=j[a+216>>2]}if(!(b&128)|k[a+435|0]!=3){break j}m=l[a+428>>1];if(m){e=k[a+458|0];g=k[a+456|0];q=k[a+454|0];o=j[a+416>>2];c=0;while(1){r=j[a+528>>2]+c|0;d=k[r|0];n:{if((d|0)==255){break n}if(!d){b=o+p(c,3)|0;h[b+2|0]=e;h[b+1|0]=g;h[b|0]=q;break n}b=o+p(c,3)|0;d=(p(q,d^255)+p(d,k[b|0])|0)+128|0;h[b|0]=d+((d&65280)>>>8|0)>>>8;d=k[r|0];d=(p(g,d^255)+p(d,k[b+1|0])|0)+128|0;h[b+1|0]=((d&65280)>>>8|0)+d>>>8;n=b;d=k[r|0];b=(p(e,d^255)+p(d,k[b+2|0])|0)+128|0;h[n+2|0]=((b&65280)>>>8|0)+b>>>8}c=c+1|0;if((m|0)!=(c|0)){continue}break}b=j[a+216>>2]}b=b&-129;break k}vF(a,k[a+436|0]);b=j[a+216>>2];if(b&128){if(b&6291456){Ze(a,210632)}if(k[a+435|0]==3){r=l[a+420>>1];q=j[a+416>>2];d=1e5;c=1e5;o:{p:{q:{switch(k[a+446|0]-1|0){case 1:b=j[a+504>>2];g=l[a+458>>1];c=k[b+g|0];o=l[a+456>>1];e=k[o+b|0];m=l[a+454>>1];d=k[m+b|0];b=g;g=j[a+492>>2];b=k[b+g|0];o=k[g+o|0];g=k[g+m|0];break o;case 0:c=j[a+488>>2];break p;case 2:break q;default:break p}}c=ej(j[a+448>>2]);d=Il(j[a+448>>2],j[a+488>>2])}g=l[a+454>>1];r:{if(d-95e3>>>0>1e4){g=wi(g,d);o=wi(l[a+456>>1],d);b=wi(l[a+458>>1],d);break r}o=k[a+456|0];b=k[a+458|0]}d=l[a+454>>1];if(c-95e3>>>0>1e4){d=wi(d,c);e=wi(l[a+456>>1],c);c=wi(l[a+458>>1],c);break o}c=k[a+458|0];e=k[a+456|0]}if(r){u=c&255;v=e&255;w=d&255;c=0;while(1){s:{t:{if(l[a+428>>1]<=c>>>0){break t}m=j[a+528>>2]+c|0;e=k[m|0];if((e|0)==255){break t}if(!e){d=p(c,3)+q|0;h[d+2|0]=b;h[d+1|0]=o;h[d|0]=g;break s}t=j[a+504>>2];d=p(c,3)+q|0;e=(p(w,e^255)+p(e,k[t+k[d|0]|0])|0)+128|0;n=e+(e>>>8&255)>>>8&255;e=j[a+500>>2];h[d|0]=k[n+e|0];n=k[m|0];n=(p(v,n^255)+p(n,k[t+k[d+1|0]|0])|0)+128|0;h[d+1|0]=k[e+((n>>>8&255)+n>>>8&255)|0];n=d;m=k[m|0];d=(p(u,m^255)+p(m,k[t+k[d+2|0]|0])|0)+128|0;h[n+2|0]=k[e+((d>>>8&255)+d>>>8&255)|0];break s}d=p(c,3)+q|0;e=j[a+492>>2];h[d|0]=k[e+k[d|0]|0];h[d+1|0]=k[e+k[d+1|0]|0];h[d+2|0]=k[e+k[d+2|0]|0]}c=c+1|0;if((r|0)!=(c|0)){continue}break}}b=j[a+216>>2]&-8321;break k}u:{v:{switch(k[a+446|0]-1|0){case 1:c=ej(j[a+824>>2]);b=Il(j[a+824>>2],j[a+488>>2]);break u;case 2:c=ej(j[a+448>>2]);b=Il(j[a+448>>2],j[a+488>>2]);break u;default:Ye(a,210685);z();case 0:break v}}c=j[a+488>>2];b=1e5}d=b-95e3>>>0>1e4;e=c-95e3>>>0>1e4;if(e){x=a,y=rh(a,l[a+460>>1],c),i[x+470>>1]=y}if(d){x=a,y=rh(a,l[a+460>>1],b),i[x+460>>1]=y}f=l[a+454>>1];w:{if(!((f|0)==l[a+460>>1]?!((f|0)!=l[a+456>>1]|(f|0)!=l[a+458>>1]):0)){if(e){x=a,y=rh(a,f,c),i[x+464>>1]=y;x=a,y=rh(a,l[a+456>>1],c),i[x+466>>1]=y;x=a,y=rh(a,l[a+458>>1],c),i[x+468>>1]=y}if(!d){break w}x=a,y=rh(a,l[a+454>>1],b),i[x+454>>1]=y;x=a,y=rh(a,l[a+456>>1],b),i[x+456>>1]=y;x=a,y=rh(a,l[a+458>>1],b),i[x+458>>1]=y;break w}i[a+458>>1]=f;i[a+456>>1]=f;i[a+454>>1]=f;b=l[a+470>>1];i[a+468>>1]=b;i[a+466>>1]=b;i[a+464>>1]=b}h[a+446|0]=1;b=j[a+216>>2];break j}if(k[a+435|0]!=3|(b&6291456?b&4096:0)){break j}g=l[a+420>>1];if(g){q=j[a+416>>2];d=j[a+492>>2];e=0;while(1){c=q+p(e,3)|0;h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=b&-8193}j[f+216>>2]=b}x:{if((b&4104)!=8|k[a+435|0]!=3){break x}j[a+216>>2]=b&-9;b=l[a+420>>1];c=k[a+516|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e|0]=k[e|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+517|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e+1|0]=k[e+1|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+518|0];if(!b|(c-1&255)>>>0>6){break x}c=8-c|0;f=j[a+416>>2];a=0;while(1){d=f+p(a,3)|0;h[d+2|0]=k[d+2|0]>>>c;a=a+1|0;if((b|0)!=(a|0)){continue}break}}oe=s+16|0}function Cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=oe-10096|0;oe=g;O=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!sk(b)){c=j[b+100>>2];Ee(g+3216|4,0,2996);j[g+3216>>2]=c;j[a+1624>>2]=0;j[a+52>>2]=0;f=j[(j[j[a>>2]+8>>2]<<2)+114768>>2];o=j[f+8>>2];c=0;d=j[j[a+36>>2]>>2];a:{if(!d){break a}d=j[d+92>>2];if(!d){break a}c=qe[j[j[d+12>>2]+12>>2]](d,o)|0}d=c;b:{c:{if(c){break c}o=j[f+12>>2];if(!o){break b}d=0;c=j[j[a+36>>2]>>2];d:{if(!c){break d}c=j[c+92>>2];if(!c){break d}d=qe[j[j[c+12>>2]+12>>2]](c,o)|0}if(d){break c}f=j[f+16>>2];if(!f){break b}d=0;c=j[j[a+36>>2]>>2];e:{if(!c){break e}c=j[c+92>>2];if(!c){break e}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}if(!d){break b}}if(Wh(b,d,1)){break b}c=j[b+84>>2];if(i[c+110>>1]<1){break b}Ee(g+16|0,0,3188);d=j[a+40>>2];j[g+32>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;j[g+44>>2]=0;j[g+24>>2]=65536;j[g+28>>2]=65536;j[g+56>>2]=d;j[g+20>>2]=b;j[g+6196>>2]=0;j[g+6204>>2]=g+16;if(Ji(g+3216|0,c+108|0)){break b}j[g+12>>2]=0;if(Zh(g+3216|0,0)){break b}Ii(g+3216|0,0,0,0);c=j[g+3260>>2];if((c|0)>=1){d=j[g+3268>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+56>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}nj(g+12|0,a+56|0,m[g+56>>2]/100|0);j[a+52>>2]=j[g+12>>2];e=0;j[g+12>>2]=0;if(Zh(g+3216|0,1)){break b}Ii(g+3216|0,0,0,1);c=j[g+4728>>2];if((c|0)>=1){d=j[g+4736>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+1628>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}nj(g+12|0,a+1628|0,m[g+56>>2]/100|0);j[a+1624>>2]=j[g+12>>2]}if(j[a+52>>2]){c=j[a+56>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=c;j[a+248>>2]=(c|0)/5;if(j[a+1624>>2]){c=j[a+1628>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=c;j[a+1820>>2]=(c|0)/5;wk(g+3216|0);d=(j[j[a>>2]+12>>2]<<3)+112816|0;n=j[d>>2];if((n|0)!=759){while(1){B=d;E=n+112048|0;d=k[E|0];f:{if(!d){break f}C=0;x=0;while(1){n=d&255;E=E+1|0;if(d<<24>>24<=-1){c=n>>>0<240;f=n>>>0<224;n=(f?31:c?15:7)&n;d=E;c=f?1:c?2:3;r=c;while(1){n=k[d|0]&63|n<<6;d=d+1|0;r=r-1|0;if(r){continue}break}E=c+E|0}c=0;d=j[j[a+36>>2]>>2];g:{if(!d){break g}d=j[d+92>>2];if(!d){break g}c=qe[j[j[d+12>>2]+12>>2]](d,n)|0}h:{if(!c){break h}if(Wh(b,c,1)){break h}c=j[b+84>>2];if(i[c+110>>1]<3){break h}n=0;s=i[c+108>>1];i:{if((s|0)<1){break i}u=j[c+120>>2];D=j[c+116>>2];v=j[c+112>>2];c=-1;y=0;z=0;f=0;t=0;while(1){o=i[u+(t<<1)>>1];if((o|0)>(f|0)){d=c;r=f;e=f;j:{if(h[B+4|0]&1){while(1){q=j[((r<<3)+v|0)+4>>2];e=(d|0)<0|(q|0)>(n|0);n=e?q:n;d=e?r:d;e=(o|0)==(r|0);r=r+1|0;if(!e){continue}break j}}while(1){r=j[((e<<3)+v|0)+4>>2];q=(d|0)<0|(r|0)<(n|0);n=q?r:n;d=q?e:d;q=(e|0)!=(o|0);e=e+1|0;if(q){continue}break}}c=(c|0)==(d|0);y=c?y:f;z=c?z:o;c=d}f=o+1|0;t=t+1|0;if((s|0)!=(t|0)){continue}break}if((c|0)<0){break i}H=j[(c<<3)+v>>2];o=c;d=(k[c+D|0]&3)==1?c:-1;r=d;k:{while(1){f=(o|0)>(y|0)?o-1|0:z;q=(f<<3)+v|0;s=j[q+4>>2]-n|0;e=s>>31;s=e^e+s;if((s|0)>=6){q=j[q>>2]-H|0;e=q>>31;if((p(s,20)|0)>=(e^e+q)){break k}}o=(k[f+D|0]&3)==1;r=(r|0)<0?o?f:r:r;d=o?f:d;o=f;if((f|0)!=(c|0)){continue}break}o=c}f=c;l:{while(1){e=(f|0)<(z|0)?f+1|0:y;J=(e<<3)+v|0;s=j[J+4>>2]-n|0;q=s>>31;s=q^q+s;if((s|0)>=6){t=j[J>>2]-H|0;q=t>>31;if((p(s,20)|0)>=(q^q+t)){break l}}f=(k[e+D|0]&3)==1;d=(d|0)<0?f?e:d:d;r=f?e:r;f=e;if((e|0)!=(c|0)){continue}break}f=c}K=l[B+4>>1];m:{n:{if(!(K&8)){break n}q=j[(f<<3)+v>>2]-j[(o<<3)+v>>2]|0;e=q>>31;s=j[a+40>>2];L=(s>>>0)/25|0;if((L|0)<=(e^e+q)){break n}e=c;if(((f-o|0)+2|0)>(z-y|0)){break n}while(1){e=(e|0)>(y|0)?e-1|0:z;M=j[(e<<3)+v>>2];if((c|0)!=(e|0)?(M|0)==(H|0):0){continue}break}if((c|0)==(e|0)){break h}P=s>>>2|0;F=0;q=f;e=f;t=0;c=0;while(1){if(!F){q=e;t=(k[e+D|0]&3)==1?e:-1;c=t}e=(e|0)<(z|0)?e+1|0:y;F=0;u=(q<<3)+v|0;s=j[u+4>>2];A=n-s|0;w=A>>31;o:{if((w^w+A)>(P|0)){break o}w=(e<<3)+v|0;A=j[w+4>>2]-s|0;F=A>>31;A=F^F+A;p:{if((A|0)<=5){I=j[w>>2];w=j[u>>2];u=I-w|0;G=0-u|0;break p}F=0;I=j[w>>2];w=j[u>>2];u=I-w|0;G=u>>31;if((p(A,20)|0)>=(G^u+G)){break o}G=0-u|0}F=1;N=(k[e+D|0]&3)==1;t=(t|0)<0?N?e:t:t;c=N?e:c;if((w|0)<(I|0)^(H|0)>(M|0)|(((u|0)<0?G:u)|0)<(L|0)){break o}f=p(A,20);while(1){e=(e|0)<(z|0)?e+1|0:y;n=j[((e<<3)+v|0)+4>>2]-s|0;d=n>>31;q:{if((d^d+n)<6){break q}n=j[J>>2]-w|0;d=n>>31;if((f|0)<(d^d+n)){break q}f=(e|0)>(y|0)?e-1|0:z;break m}t=(t|0)<0?(k[e+D|0]&3)==1?e:t:t;c=e;if((o|0)!=(c|0)){continue}break}f=o;c=f;break m}if((e|0)!=(o|0)){continue}break}}q=o;t=d;c=r;s=n}r:{if((c|t)>=0){d=j[(c<<3)+v>>2]-j[(t<<3)+v>>2]|0;c=d>>31;if((c^c+d)>>>0>j[a+40>>2]>>>3>>>0){break r}}if((k[f+D|0]&3)==1?(k[q+D|0]&3)==1:0){break r}if(K&2){break h}j[(g+16|0)+(x<<2)>>2]=s;x=x+1|0;break h}n=s}j[(g+3216|0)+(C<<2)>>2]=n;C=C+1|0}d=k[E|0];if(d){continue}break}if(!(x|C)){break f}c=1;if(x>>>0>=2){while(1){o=j[(g+16|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+16|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+16|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((x|0)!=(c|0)){continue}break}}c=1;if(C>>>0>=2){while(1){o=j[(g+3216|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+3216|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+3216|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((C|0)!=(c|0)){continue}break}}c=j[a+1832>>2];j[a+1832>>2]=c+1;n=p(c,28)+a|0;c=n+1848|0;f=n+1836|0;s:{t:{if(!C){d=j[(g+16|0)+(x<<1&-4)>>2];break t}d=j[(g+3216|0)+(C<<1&-4)>>2];if(!x){break t}j[f>>2]=d;e=j[(g+16|0)+(x<<1&-4)>>2];j[c>>2]=e;if((d|0)==(e|0)){o=l[B+4>>1];break s}o=l[B+4>>1];if(o&1^(d|0)>=(e|0)){break s}r=c;c=(d+e|0)/2|0;j[r>>2]=c;j[f>>2]=c;break s}j[c>>2]=d;j[f>>2]=d;o=l[B+4>>1]}c=n+1860|0;d=o<<1&2;j[c>>2]=d;f=l[B+4>>1];if(!(f&6)){break f}e=c;c=f<<1;j[e>>2]=d|c&4|c&8}d=B+8|0;n=j[B+8>>2];if((n|0)!=759){continue}break}}d=48;e=0;while(1){u:{if(a){c=0;f=j[j[a+36>>2]>>2];v:{if(!f){break v}f=j[f+92>>2];if(!f){break v}c=qe[j[j[f+12>>2]+12>>2]](f,d)|0}n=c}w:{if(!n){break w}if(xk(b,n,g+3216|0)){break w}f=e&255;e=1;c=j[g+3216>>2];if(!f){Q=c;break w}if((c|0)==(Q|0)){break w}r=0;break u}r=1;d=d+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=r}Uh(b,O);oe=g+10096|0;return 0}function yh(a,b,c,d,e,f){var g=0,l=0,n=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;g=oe-80|0;oe=g;u=j[a>>2];a:{if(f){break a}l=j[a+4>>2];if(k[l+12|0]){break a}n=j[d>>2];j[g+68>>2]=0;j[g+72>>2]=0;j[g+60>>2]=0;j[g+64>>2]=0;j[g+52>>2]=0;j[g+56>>2]=0;j[g+48>>2]=n;yh(l,b,c,g+48|0,e,1)}b:{c:{if(k[d+4|0]){break c}c=j[c+20>>2]+j[b+20>>2]|0;if(c>>>0>=97){a=j[d>>2];if(!a|j[a>>2]){break b}j[a>>2]=18;break b}j[d+8>>2]=c;i[d+4>>1]=257;l=c+7>>>3|0;j[d+12>>2]=l;if(!c){break c}n=-1<<(0-c&7);if(l){c=0;while(1){h[(c+d|0)+16|0]=255;c=c+1|0;l=j[d+12>>2];if(c>>>0>>0){continue}break}c=l-1|0}else{c=-1}c=c+d|0;h[c+16|0]=n&k[c+16|0];if(!k[d+4|0]){break b}}j[a+20>>2]=0;j[a+24>>2]=0;j[g+72>>2]=j[d+24>>2];l=j[d+20>>2];x=g- -64|0;c=x;j[c>>2]=j[d+16>>2];j[c+4>>2]=l;c=j[d+12>>2];j[g+56>>2]=j[d+8>>2];j[g+60>>2]=c;c=j[d+4>>2];j[g+48>>2]=j[d>>2];j[g+52>>2]=c;y=j[b+20>>2];if(y>>>0>m[d+8>>2]){break b}if(k[u+205|0]){j[g+40>>2]=0;j[g+32>>2]=0;j[g+36>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;ij(a,u+244|0,g+24|0);ij(a,g+24|0,u+224|0)}d:{e:{if(y){l=x;A=128;while(1){f:{if(!(k[l|0]&A)){break f}t=j[a+16>>2];c=q;r=j[b+20>>2];g:{if(c>>>0>>0){break g}c=0;n=j[b+4>>2];if(!n|j[n>>2]){break g}j[n>>2]=130}c=j[b+28>>2]+p(j[b+8>>2],c)|0;n=j[c+8>>2];v=j[c+4>>2];s=n-v|0;h:{i:{if((s|0)!=-1310720){j:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;o=1;break j}j[g+24>>2]=4;n=(s|0)<0?n:v;s=20;o=4}j[g+40>>2]=t;j[g+28>>2]=q;n=e+n|0;j[g+32>>2]=n;if(!k[c|0]){break i}v=j[c+12>>2];j[g+24>>2]=s;j[g+36>>2]=v;break h}j[g+40>>2]=t;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=q;n=e;o=0}s=o;v=ye(n,t);j[g+36>>2]=v;r=j[b+20>>2]}w=j[a+16>>2];c=q;k:{if(r>>>0>c>>>0){break k}c=0;o=j[b+4>>2];if(!o|j[o>>2]){break k}j[o>>2]=130}l:{m:{n:{o:{c=j[b+28>>2]+p(j[b+8>>2],c)|0;t=j[c+8>>2];r=j[c+4>>2];o=t-r|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break o}j[g+16>>2]=w;j[g+8>>2]=e;t=0;j[g>>2]=0;j[g+4>>2]=q;o=e;break m}j[g>>2]=2;t=2;break n}j[g>>2]=8;r=(o|0)<0?r:t;t=8}o=j[u+188>>2];j[g+16>>2]=w;j[g+4>>2]=q;o=((o<<1)+r|0)+e|0;j[g+8>>2]=o;if(!k[c|0]){break m}w=j[c+16>>2];t=t|16;j[g>>2]=t;break l}w=ye(o,w)}j[g+12>>2]=w;p:{if((s|t)&16){break p}C=j[u+200>>2];if(!C){break f}B=j[u+216>>2];D=t&10;E=s&5;c=0;while(1){r=u+p(c,20)|0;z=r;q:{r:{if(k[r+280|0]){if(!E|(j[z+264>>2]-B|0)>(n|0)){break q}z=j[r+268>>2];if((z+B|0)<(n|0)){break q}c=j[r+276>>2]-v|0;if(k[u+204|0]){break r}c=v+32768&-65536;if(j[u+212>>2]<=(z-n|0)){n=j[r+276>>2]-65536|0;c=(c|0)<(n|0)?c:n}c=c-v|0;break r}if(!D){break q}z=j[z+264>>2];if((B+j[r+268>>2]|0)<(o|0)|(z-B|0)>(o|0)){break q}c=j[r+276>>2];s:{if(k[u+204|0]){break s}n=w+32768&-65536;c=n;if(j[u+212>>2]>(o-z|0)){break s}c=j[r+276>>2]+65536|0;c=(c|0)<(n|0)?n:c}c=c-w|0}if(s){j[g+24>>2]=s|16;j[g+36>>2]=c+v}if(!t){break p}j[g>>2]=t|16;j[g+12>>2]=c+w;break p}c=c+1|0;if((C|0)!=(c|0)){continue}break}break f}ij(a,g+24|0,g);h[l|0]=k[l|0]&(A^-1)}c=(q&7)==7;l=c?l+1|0:l;A=c?128:A>>>1&127;q=q+1|0;if((y|0)!=(q|0)){continue}break}if(f){break e}if(!y){break d}r=128;c=0;while(1){if(k[x|0]&r){q=j[a+16>>2];l=c;n=j[b+20>>2];t:{if(n>>>0>c>>>0){break t}l=0;o=j[b+4>>2];if(!o|j[o>>2]){break t}j[o>>2]=130}o=j[b+28>>2]+p(j[b+8>>2],l)|0;l=j[o+8>>2];t=j[o+4>>2];s=l-t|0;u:{v:{if((s|0)!=-1310720){w:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;break w}j[g+24>>2]=4;l=(s|0)<0?l:t;s=20}j[g+40>>2]=q;j[g+28>>2]=c;l=e+l|0;j[g+32>>2]=l;if(!k[o|0]){break v}l=j[o+12>>2];j[g+24>>2]=s;j[g+36>>2]=l;break u}j[g+40>>2]=q;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=c;l=e}F=g,G=ye(l,q),j[F+36>>2]=G;n=j[b+20>>2]}q=j[a+16>>2];l=c;x:{if(c>>>0>>0){break x}l=0;n=j[b+4>>2];if(!n|j[n>>2]){break x}j[n>>2]=130}y:{z:{A:{B:{l=j[b+28>>2]+p(j[b+8>>2],l)|0;s=j[l+8>>2];n=j[l+4>>2];o=s-n|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break B}j[g+16>>2]=q;j[g+8>>2]=e;j[g>>2]=0;j[g+4>>2]=c;n=e;break z}j[g>>2]=2;o=18;break A}j[g>>2]=8;n=(o|0)<0?n:s;o=24}s=j[u+188>>2];j[g+16>>2]=q;j[g+4>>2]=c;n=((s<<1)+n|0)+e|0;j[g+8>>2]=n;if(!k[l|0]){break z}l=j[l+16>>2];j[g>>2]=o;j[g+12>>2]=l;break y}F=g,G=ye(n,q),j[F+12>>2]=G}ij(a,g+24|0,g)}l=(c&7)==7;x=l?x+1|0:x;r=l?128:r>>>1&127;c=c+1|0;if((y|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=j[a+20>>2];if(j[(p(c,20)+a|0)+16>>2]>-1?!(!c|j[a+36>>2]>0):0){break d}j[g+36>>2]=0;j[g+28>>2]=0;j[g+32>>2]=0;j[g+24>>2]=49;c=j[a+16>>2];j[g+8>>2]=0;j[g+12>>2]=0;j[g+16>>2]=0;j[g>>2]=0;j[g+4>>2]=0;j[g+40>>2]=c;ij(a,g+24|0,g)}j[j[a+8>>2]+20>>2]=0;n=j[a+20>>2];C:{if(!n){break C}c=0;while(1){s=c+1|0;u=p(c,20);x=u+a|0;e=j[x+28>>2];v=e&12;t=v?s:c;D:{if(e&16){break D}l=a+28|0;w=l+u|0;o=j[w+12>>2];e=o&65535;r=e?65536-e|0:0;y=l+p(t,20)|0;A=j[y+12>>2];q=A&65535;l=q?65536-q|0:0;l=l>>>0>r>>>0?r:l;r=e>>>0>>0?e:q;q=0-r|0;E:{F:{if(t>>>0>>0){n=p(t+1|0,20)+a|0;if(j[n+40>>2]<((l+A|0)+32768|0)){break F}}if(!(!c|j[x+20>>2]<=((o-r|0)-32768|0))){e=l;break E}e=(l|0)>(r|0)?q:l;break E}G:{if(c){e=0;if(j[x+20>>2]>((o-r|0)-32768|0)){break G}}e=q;if((l|0)<(r|0)){break G}break E}if(k[n+28|0]&16){break E}j[g+24>>2]=t;j[g+28>>2]=l-e;Fr(j[a+8>>2],g+24|0);o=j[w+12>>2]}j[w+12>>2]=e+o;if(!v){break D}j[y+12>>2]=j[y+12>>2]+e}H:{if(!c){break H}e=j[x+36>>2];l=j[x+16>>2];if((e|0)==(l|0)){break H}n=a+28|0;q=n+p(c-1|0,20)|0;F=q,G=De(j[(n+u|0)+12>>2]-j[q+12>>2]|0,e-l|0),j[F+16>>2]=G}if(v){c=p(t,20);e=c+a|0;l=j[e+36>>2];e=j[e+16>>2];if((l|0)!=(e|0)){n=a+28|0;q=n+p(t-1|0,20)|0;F=q,G=De(j[(c+n|0)+12>>2]-j[q+12>>2]|0,l-e|0),j[F+16>>2]=G}c=s}c=c+1|0;n=j[a+20>>2];if(c>>>0>>0){continue}break}n=j[a+8>>2];e=j[n+20>>2];if(!e){break C}q=j[n+8>>2];o=j[n+28>>2];c=e;while(1){c=c-1|0;r=c;I:{if(c>>>0>>0){break I}r=0;l=j[n+4>>2];if(!l|j[l>>2]){break I}j[l>>2]=130}s=o+p(q,r)|0;l=p(j[s>>2],20)+a|0;s=j[s+4>>2];t=s+j[l+40>>2]|0;J:{if(j[l+60>>2]<(t+32768|0)){break J}j[l+40>>2]=t;if(!(k[l+28|0]&12)){break J}j[l+20>>2]=s+j[l+20>>2]}if(c){continue}break}}K:{if(f){break K}q=j[a+20>>2];if(!q){break K}c=0;while(1){e=p(c,20)+a|0;n=e;l=j[n+28>>2];if(!(l&32)){q=j[e+32>>2];L:{if(q>>>0>2]){break L}q=0;f=j[b+4>>2];if(!f|j[f>>2]){break L}j[f>>2]=130;l=j[n+28>>2]}f=j[b+28>>2]+p(j[b+8>>2],q)|0;j[f+(l&10?16:12)>>2]=j[e+40>>2];h[f|0]=1;q=j[a+20>>2]}c=c+1|0;if(q>>>0>c>>>0){continue}break}}h[a+12|0]=1;h[d+5|0]=0}oe=g+80|0}function mA(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,m=0,n=0,o=0;e=oe-288|0;oe=e;g=j[a+436>>2];f=Vg();c=j[g>>2];a:{if((f|0)!=(c|0)){j[g+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}c=j[a+436>>2];if(!j[c+4>>2]){break a}while(1){if(qe[j[c+104>>2]]()|0){continue}break}}j[g+360>>2]=0;m=5121;b:{c:{d:{e:{f:{c=j[b+4>>2];if((c|0)<=825382477){l=6408;if((c|0)<=374740995){if((c|0)==370546692){break e}if((c|0)!=372645892){break c}break e}if((c|0)==374740996|(c|0)==376840196){break e}if((c|0)==542328143){break f}break c}g:{h:{switch(c-842094158|0){case 0:case 11:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break h}}if((c|0)==1448433993){break g}if((c|0)!=825382478){break c}}l=6409;break e}if(j[b+8>>2]){break d}m=0;l=0}f=Xe(1,44);if(!f){d=Be(0);break b}j[f>>2]=0;d=j[b+4>>2];j[f+12>>2]=m;j[f+8>>2]=l;j[f+32>>2]=0;j[f+36>>2]=0;j[f+28>>2]=(d|0)==842094158|(d|0)==825382478;j[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;j[f+4>>2]=(d|0)==542328143?36197:3553;o=j[b+28>>2];i:{if(j[b+8>>2]!=1){break i}i=j[b+12>>2];c=f;j:{if(!(!d|(d&-268435456)==268435456)){h=2;if((d|0)==844715353|(d|0)==1498831189){break j}h=(d|0)==1431918169?2:1;break j}h=d&255}i=p(h,i);j[c+20>>2]=i;h=j[b+16>>2];c=p(h,i);k:{if(((d|0)==842094169|0)!=((d|0)==1448433993|0)){c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}if(((d|0)==825382478|0)==((d|0)==842094158|0)){break k}c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=Xe(1,c);j[f+16>>2]=c;if(c){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}d=Be(0);break b}h=j[a+436>>2];l:{if(!j[h+4>>2]){break l}c=qe[j[h+104>>2]]()|0;if(!c){break l}d=74205;while(1){d=k[d|0]?d:75958;i=76063;n=c-1280|0;if(n>>>0<=5){i=j[(n<<2)+76072>>2]}j[e+276>>2]=c;j[e+272>>2]=i;j[e+268>>2]=75390;j[e+264>>2]=1478;j[e+260>>2]=74206;j[e+256>>2]=d;ve(75966,e+256|0);c=qe[j[h+104>>2]]()|0;if(c){continue}break}}i=o?9729:9728;c=f+36|0;m:{if(j[f+24>>2]){qe[j[g+92>>2]](1,f+32|0);n:{h=j[a+436>>2];if(!j[h+4>>2]){break n}d=qe[j[h+104>>2]]()|0;if(!d){break n}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+244>>2]=d;j[e+240>>2]=c;j[e+236>>2]=75390;j[e+232>>2]=1482;j[e+228>>2]=74206;j[e+224>>2]=75410;ve(75966,e+224|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33986);qe[j[g+20>>2]](j[f+4>>2],j[f+32>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);qe[j[g+92>>2]](1,c);o:{h=j[a+436>>2];if(!j[h+4>>2]){break o}d=qe[j[h+104>>2]]()|0;if(!d){break o}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+212>>2]=d;j[e+208>>2]=c;j[e+204>>2]=75390;j[e+200>>2]=1494;j[e+196>>2]=74206;j[e+192>>2]=75410;ve(75966,e+192|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}d=qe[j[h+104>>2]]()|0;if(!d){break m}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+180>>2]=d;j[e+176>>2]=c;j[e+172>>2]=75390;j[e+168>>2]=1504;j[e+164>>2]=74206;j[e+160>>2]=75425;ve(75966,e+160|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}if(!j[f+28>>2]){break m}qe[j[g+92>>2]](1,c);p:{h=j[a+436>>2];if(!j[h+4>>2]){break p}d=qe[j[h+104>>2]]()|0;if(!d){break p}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+148>>2]=d;j[e+144>>2]=c;j[e+140>>2]=75390;j[e+136>>2]=1509;j[e+132>>2]=74206;j[e+128>>2]=75410;ve(75966,e+128|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,6410,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}c=qe[j[h+104>>2]]()|0;if(!c){break m}while(1){d=76063;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+76072>>2]}j[e+116>>2]=c;j[e+112>>2]=d;j[e+108>>2]=75390;j[e+104>>2]=1519;j[e+100>>2]=74206;j[e+96>>2]=75425;ve(75966,e+96|0);d=-1;c=qe[j[h+104>>2]]()|0;if(c){continue}break}break b}qe[j[g+92>>2]](1,f);q:{h=j[a+436>>2];if(!j[h+4>>2]){break q}d=qe[j[h+104>>2]]()|0;if(!d){break q}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+84>>2]=d;j[e+80>>2]=c;j[e+76>>2]=75390;j[e+72>>2]=1525;j[e+68>>2]=74206;j[e+64>>2]=75410;ve(75966,e- -64|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}j[b+76>>2]=f;qe[j[g+8>>2]](33984);qe[j[g+20>>2]](j[f+4>>2],j[f>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);r:{if(j[b+4>>2]==542328143){break r}qe[j[g+152>>2]](j[f+4>>2],0,l,j[b+12>>2],j[b+16>>2],0,l,m,0);g=j[a+436>>2];if(!j[g+4>>2]){break r}c=qe[j[g+104>>2]]()|0;if(!c){break r}while(1){d=76063;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+76072>>2]}j[e+52>>2]=c;j[e+48>>2]=d;j[e+44>>2]=75390;j[e+40>>2]=1537;j[e+36>>2]=74206;j[e+32>>2]=75425;ve(75966,e+32|0);d=-1;c=qe[j[g+104>>2]]()|0;if(c){continue}break}break b}d=0;c=0;s:{if(j[b+8>>2]!=2){break s}g=j[b+16>>2];l=j[b+12>>2];b=j[a+436>>2];c=j[b+232>>2];if(c){while(1){if((g|0)==j[c+4>>2]?(l|0)==j[c>>2]:0){break s}c=j[c+12>>2];if(c){continue}break}}c=qe[j[57972]](16)|0;if(c){j[57976]=j[57976]+1}j[c+4>>2]=g;j[c>>2]=l;qe[j[b+88>>2]](1,c+8|0);j[c+12>>2]=j[b+232>>2];j[b+232>>2]=c}j[f+40>>2]=c;a=j[a+436>>2];if(!j[a+4>>2]){break b}i=qe[j[a+104>>2]]()|0;if(!i){break b}c=74205;while(1){c=k[c|0]?c:75958;d=76063;b=i-1280|0;if(b>>>0<=5){d=j[(b<<2)+76072>>2]}j[e+20>>2]=i;j[e+16>>2]=d;j[e+12>>2]=75390;j[e+8>>2]=1548;j[e+4>>2]=74206;j[e>>2]=c;ve(75966,e);d=-1;i=qe[j[a+104>>2]]()|0;if(i){continue}break}break b}d=ve(75330,0);break b}d=ve(75301,0)}oe=e+288|0;return d|0}function Kr(a,b,c){var d=0,e=0,f=0,g=0,n=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;g=oe+ -64|0;oe=g;j[g+48>>2]=0;e=j[a+76>>2];d=j[e+2972>>2];a:{if(!d){f=j[a>>2];j[e+2976>>2]=616;d=He(f,504,g+48|0);j[j[a+76>>2]+2972>>2]=d;e=64;if(j[g+48>>2]){break a}j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;e=d+124|0;j[e>>2]=0;j[e+4>>2]=0;j[d>>2]=f;j[d+104>>2]=617;j[d+100>>2]=618;j[d+112>>2]=619;j[d+120>>2]=f;j[d+124>>2]=d+4}j[d+128>>2]=a;j[d+132>>2]=a;e=j[j[a+4>>2]+96>>2];j[g+20>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;j[g+44>>2]=b;j[g+32>>2]=0;j[g+40>>2]=b+c;j[g+36>>2]=b;j[g+12>>2]=0;j[g+16>>2]=0;b=j[a+8>>2];f=k[b+161|0];c=g;o=k[b+160|0];b:{if(o){n=(j[b+164>>2]+32|0)/64|0;j[g+8>>2]=n;b=(j[b+168>>2]+32|0)/64|0;break b}n=1024;j[g+8>>2]=1024;b=1024}j[c+20>>2]=b;c=(o|0)!=0;j[d+8>>2]=c;if(!(k[e+32|0]|!f)){j[d+8>>2]=c|2}j[d+144>>2]=j[e+36>>2];j[d+148>>2]=j[e+40>>2];j[d+152>>2]=j[e+44>>2];j[d+156>>2]=j[e+48>>2];j[d+160>>2]=j[e+52>>2];j[d+164>>2]=j[e+56>>2];j[d+168>>2]=j[e+60>>2];j[d+172>>2]=j[e- -64>>2];c=l[j[a+4>>2]+68>>1];j[d+88>>2]=c;if(f){e=36;if((b|0)<1|(n|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=De(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=j[d+132>>2]}j[g+56>>2]=0;j[g+60>>2]=0;e=0;j[g+52>>2]=0;j[d+4>>2]=0;b=j[a+736>>2];if((b|0)!=j[d+136>>2]){j[d+136>>2]=b;e=1}f=l[j[j[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=j[d+84>>2]){j[d+84>>2]=f;e=1}o=j[d+96>>2];b=j[d+92>>2];c=j[d+8>>2];h[d+140|0]=c&1;c:{d:{e:{if(!Cg(g+8|0,d+12|0,16)){x=d+142|0;c=c&2;if((c|0)!=k[d+142|0]){break e}if(e){break d}break c}e=j[g+12>>2];j[d+12>>2]=j[g+8>>2];j[d+16>>2]=e;e=j[g+20>>2];j[d+20>>2]=j[g+16>>2];j[d+24>>2]=e;j[d+28>>2]=0;j[d+32>>2]=0;e=j[g+12>>2];j[d+36>>2]=j[g+8>>2];j[d+40>>2]=e;e=j[g+20>>2];j[d+44>>2]=j[g+16>>2];j[d+48>>2]=e;e=j[g+28>>2];j[d+52>>2]=j[g+24>>2];j[d+56>>2]=e;j[d+68>>2]=0;j[d+72>>2]=65536;j[d+60>>2]=65536;j[d+64>>2]=0;x=d+142|0;c=c&2;if((c|0)==k[d+142|0]){break d}}h[x|0]=c}c=j[j[a+736>>2]+388>>2]<<16;j[d+176>>2]=c;e=j[d+88>>2];u=e?e:1e3;e=65536e3/(u|0)|0;if((c|0)<=0){c=De(4915200,e);j[d+176>>2]=c}n=d+144|0;f=(f|0)>262144?f:262144;f:{if((b|0)>=1){c=u<<16;if((De(c,f)|0)>=(b|0)){b=De(c,f)}j[d+184>>2]=0;if(!b|(e|0)<655){break f}j[d+184>>2]=(b|0)/2;break f}Gr(e,f,c,d+184|0,0,k[d+142|0],n)}b=d;c=j[j[a+736>>2]+384>>2];g:{if(c<<16>=1){a=4915200;if(j[d+176>>2]>c<<17){break g}}a=7208960}a=De(a,e);j[b+180>>2]=a;Gr(e,f,a,d+188|0,o,k[d+142|0],n);a=1;a=j[d+184>>2]?a:j[d+188>>2]!=0;o=0;h[d+192|0]=0;h[d+141|0]=a;a=j[d+132>>2];y=Ee(d+200|0,0,304);j[d+196>>2]=j[d+48>>2];B=d,C=De(j[j[a+736>>2]+372>>2],65536e3),j[B+208>>2]=C;f=j[a+736>>2];j[d+212>>2]=j[f+376>>2]<<16;j[d+216>>2]=j[f+380>>2]<<16;z=k[f+179|0];u=k[f+178|0];s=k[f+177|0];b=k[f+176|0];h:{i:{if(j[f+512>>2]==1){j:{switch(b|0){case 4:if(j[f+180>>2]<<16>-7864321|j[f+184>>2]<<16>-7864321|(j[f+188>>2]<<16<57671681|j[f+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}j[d+252>>2]=-7864321;a=ye(-7864321,j[d+196>>2]);j[d+244>>2]=49;b=j[d+196>>2];j[d+260>>2]=b;j[d+256>>2]=(a+32768&-65536)-32768;a=(j[d+188>>2]<<1)+57671681|0;j[d+232>>2]=a;a=ye(a,b);j[d+224>>2]=50;h[d+205|0]=1;j[d+240>>2]=j[d+196>>2];j[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}n=j[d+200>>2];a=p(n,20)+d|0;e=j[f+180>>2]<<16;j[a+264>>2]=e;c=j[f+184>>2]<<16;j[a+268>>2]=c;o=c-e|0;k:{if((o|0)<0){o=0;break k}j[a+272>>2]=c;h[a+280|0]=1;n=n+1|0;j[d+200>>2]=n}e=2;if(b>>>0<=2){break h}c=f+180|0;while(1){a=p(n,20)+d|0;v=a;r=e<<2;q=j[r+c>>2]<<16;j[a+264>>2]=q;r=j[c+(r|4)>>2]<<16;j[a+268>>2]=r;w=r-q|0;if((w|0)>=0){t=r;r=j[d+188>>2]<<1;j[a+268>>2]=t+r;q=q+r|0;j[v+264>>2]=q;j[a+272>>2]=q;h[a+280|0]=0;n=n+1|0;j[d+200>>2]=n;o=(o|0)<(w|0)?w:o}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(s){c=j[y>>2];b=f+236|0;e=0;while(1){a=p(c,20)+d|0;n=e<<2;q=j[n+b>>2]<<16;j[a+264>>2]=q;n=j[b+(n|4)>>2]<<16;j[a+268>>2]=n;q=n-q|0;if((q|0)>=0){j[a+272>>2]=n;h[a+280|0]=1;c=c+1|0;j[d+200>>2]=c;o=(o|0)<(q|0)?q:o}e=e+2|0;if(s>>>0>e>>>0){continue}break}}e=De(65536,j[d+196>>2]);r=j[d+200>>2];if(r){n=0;w=u>>>0<3;while(1){a=p(n,20)+d|0;s=a;q=j[a+272>>2];l:{if(k[a+280|0]){a=0;c=2147483647;m:{if(!z){break m}while(1){v=j[(f+(a<<2|4)|0)+332>>2]<<16;t=q-v|0;b=t>>31;n:{b=b^b+t;if((b|0)>=(c|0)|(b|0)>=(e|0)){break n}j[s+272>>2]=v;c=b;if(b){break n}c=0;break m}a=a+2|0;if(z>>>0>a>>>0){continue}break}}if(u>>>0<2){break l}b=j[f+280>>2]<<16;q=q-b|0;a=q>>31;a=a^a+q;if((a|0)>=(c|0)|(a|0)>=(e|0)){break l}j[s+272>>2]=b;break l}if(w){break l}v=j[d+188>>2]<<1;a=2;c=2147483647;while(1){t=v+(j[(f+(a<<2)|0)+276>>2]<<16)|0;A=q-t|0;b=A>>31;b=b^b+A;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){j[s+272>>2]=t;c=b;if(!b){break l}}a=a+2|0;if(u>>>0>a>>>0){continue}break}}n=n+1|0;if((r|0)!=(n|0)){continue}break}}o:{if((o|0)<1){break o}if(j[d+208>>2]<=(De(65536,o)|0)){break o}B=d,C=De(65536,o),j[B+208>>2]=C}a=j[d+196>>2];b=j[d+208>>2];if((a|0)<(b|0)){h[d+204|0]=1;a=Ne(39322,a,b);j[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(k[x|0]){j[d+220>>2]=0}if(!j[y>>2]){break c}c=d+196|0;a=0;while(1){b=c+p(a,20)|0;e=k[b+84|0];r=b;s=ye(j[b+76>>2],j[d+196>>2]);b=j[d+220>>2];j[r+80>>2]=(s+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(j[d+4>>2]){break q}h[d+192|0]=0;b=d+100|0;a=k[d+141|0];while(1){j[d+116>>2]=0;Yh(j[j[d+128>>2]+12>>2]);tm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(j[d+4>>2]){break q}if(!(!(a&255)|j[d+116>>2]>-1)){h[d+192|0]=1;a=0;continue}break}f=j[d+128>>2];a=j[f+20>>2];r:{if(!a){break r}c=0;b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];s:{if((b|0)<2){break s}n=j[a+4>>2];o=n+(c<<3)|0;n=(n+(b<<3)|0)-8|0;if(j[o>>2]!=j[n>>2]|j[o+4>>2]!=j[n+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break s}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break r}r=c;c=(b<<16>>16)-1|0;if((r|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break r}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}Xh(j[f+12>>2]);if(!j[d+4>>2]){break p}}e=3;break a}a=j[g+52>>2];e=0;j[d+4>>2]=0;j[j[d+128>>2]+552>>2]=a+32768>>16}oe=g- -64|0;return e}function wq(a,b,c,d,e,f,g,h,i,j){var k=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,G=q(0),H=q(0),I=q(0),J=0,K=0,L=q(0),M=q(0),N=q(0),O=q(0),P=0;C=p(a,c);K=a-1>>1;B=b+1>>1;J=+q(q(6.2831854820251465)/q(b|0));P=Mg(J);J=lg(J);a:{if((a|0)==1){break a}if((d|0)>0){while(1){m=k<<2;n[m+i>>2]=n[g+m>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}b:{if((b|0)<2){break b}r=1;while(1){l=0;o=o+C|0;k=o;if((c|0)>=1){while(1){m=k<<2;n[m+h>>2]=n[f+m>>2];k=a+k|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}v=0-a|0;if((c|0)>=(K|0)){if((b|0)<2){break b}o=(a|0)<3;A=1;while(1){s=s+C|0;v=a+v|0;if(!o){k=v-1|0;t=2;m=s;while(1){m=m+2|0;l=k+2|0;if((c|0)>=1){E=(l<<2)+j|0;D=(k<<2)+j|0;r=0;k=m;while(1){y=k<<2;u=y-4|0;z=u+f|0;x=h+u|0;u=f+y|0;n[x>>2]=q(n[D+4>>2]*n[z>>2])+q(n[E>>2]*n[u>>2]);n[h+y>>2]=q(n[D+4>>2]*n[u>>2])-q(n[E>>2]*n[z>>2]);k=a+k|0;r=r+1|0;if((r|0)!=(c|0)){continue}break}}k=l;t=t+2|0;if((t|0)<(a|0)){continue}break}}A=A+1|0;if((A|0)!=(b|0)){continue}break}break b}if((b|0)<2){break b}D=(a|0)<3;r=1;while(1){v=a+v|0;x=C+x|0;if((c|0)>=1){m=v-1|0;u=x-a|0;t=0;while(1){w=2;k=m;u=a+u|0;l=u;if(!D){while(1){s=(l<<2)+4|0;E=s+f|0;A=h+s|0;y=(k<<2)+j|0;k=k+2|0;z=(k<<2)+j|0;l=l+2|0;o=l<<2;s=o+f|0;n[A>>2]=q(n[y+4>>2]*n[E>>2])+q(n[z>>2]*n[s>>2]);n[h+o>>2]=q(n[y+4>>2]*n[s>>2])-q(n[z>>2]*n[E>>2]);w=w+2|0;if((w|0)<(a|0)){continue}break}}t=t+1|0;if((t|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}}v=p(b,C);if((c|0)<=(K|0)){if((b|0)<3){break a}w=(B|0)>2?B:2;x=0;E=(a|0)<3;r=1;while(1){s=0;x=C+x|0;u=x;v=v-C|0;t=v;if((c|0)>=1){while(1){j=2;k=t;l=u;if(!E){while(1){m=(l<<2)+4|0;F=m+h|0;o=f+m|0;m=(k<<2)+4|0;D=m+h|0;n[o>>2]=n[F>>2]+n[D>>2];A=f+m|0;l=l+2|0;y=l<<2;z=y+h|0;k=k+2|0;o=k<<2;m=o+h|0;n[A>>2]=n[z>>2]-n[m>>2];n[f+y>>2]=n[z>>2]+n[m>>2];n[f+o>>2]=n[D>>2]-n[F>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}t=a+t|0;u=a+u|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}r=r+1|0;if((w|0)!=(r|0)){continue}break}break a}if((b|0)<3){break a}z=(B|0)>2?B:2;A=0;r=(a|0)<3;x=1;while(1){s=2;A=C+A|0;u=A;v=v-C|0;t=v;if(!r){while(1){t=t+2|0;u=u+2|0;if((c|0)>=1){j=u-a|0;w=t-a|0;o=0;while(1){j=a+j|0;E=j<<2;k=E-4|0;D=k+h|0;m=f+k|0;w=a+w|0;y=w<<2;k=y-4|0;l=k+h|0;n[m>>2]=n[D>>2]+n[l>>2];F=f+k|0;m=h+E|0;k=h+y|0;n[F>>2]=n[m>>2]-n[k>>2];n[f+E>>2]=n[m>>2]+n[k>>2];n[f+y>>2]=n[l>>2]-n[D>>2];o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((z|0)!=(x|0)){continue}break}}if((d|0)>=1){k=0;while(1){j=k<<2;n[j+g>>2]=n[i+j>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}c:{if((b|0)<3){break c}r=(B|0)>2?B:2;o=0;u=1;m=p(b,d);v=m;while(1){v=v-C|0;o=o+C|0;if((c|0)>=1){k=o-a|0;l=v-a|0;j=0;while(1){k=a+k|0;t=k<<2;z=t+h|0;x=f+t|0;l=a+l|0;s=l<<2;t=s+h|0;n[x>>2]=n[z>>2]+n[t>>2];n[f+s>>2]=n[t>>2]-n[z>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}u=u+1|0;if((r|0)!=(u|0)){continue}break}if((b|0)<3){break c}M=q(P);N=q(J);t=p(b-1|0,d);D=(B|0)>2?B:2;y=(B|0)>3?B:3;G=q(1);z=(b|0)>4;A=1;u=0;while(1){I=q(q(H*N)+q(G*M));G=q(q(G*N)-q(H*M));f=0;u=d+u|0;k=u;j=t;l=d;m=m-l|0;w=m;if((l|0)>0){while(1){n[(k<<2)+i>>2]=n[(f<<2)+g>>2]+q(G*n[(l<<2)+g>>2]);n[(w<<2)+i>>2]=I*n[(j<<2)+g>>2];w=w+1|0;j=j+1|0;k=k+1|0;l=l+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}r=2;H=G;L=I;o=d;v=t;if(z){while(1){O=q(q(G*L)+q(I*H));H=q(q(G*H)-q(I*L));w=0;v=v-d|0;f=v;o=d+o|0;k=o;l=m;j=u;if((d|0)>=1){while(1){s=(j<<2)+i|0;n[s>>2]=n[s>>2]+q(H*n[(k<<2)+g>>2]);s=(l<<2)+i|0;n[s>>2]=n[s>>2]+q(O*n[(f<<2)+g>>2]);l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}L=O;r=r+1|0;if((y|0)!=(r|0)){continue}break}}H=I;A=A+1|0;if((D|0)!=(A|0)){continue}break}if((b|0)<3){break c}l=(B|0)>2?B:2;j=0;w=1;while(1){f=0;j=d+j|0;k=j;if((d|0)>=1){while(1){m=(f<<2)+i|0;n[m>>2]=n[(k<<2)+g>>2]+n[m>>2];k=k+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}w=w+1|0;if((l|0)!=(w|0)){continue}break}}F=p(a,b);d:{if((a|0)>=(c|0)){if((c|0)<1){break d}i=0;d=(a|0)<1;j=0;g=0;while(1){l=0;f=j;k=g;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=g+F|0;j=a+j|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break d}if((a|0)<1){break d}j=0;d=(c|0)<1;while(1){l=0;f=j;k=f;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+F|0;f=a+f|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}j=j+1|0;if((j|0)!=(a|0)){continue}break}}t=p(b,C);w=a<<1;if((b|0)>=3){m=(B|0)>2?B:2;i=0;o=1;d=0;r=t;while(1){j=0;r=r-C|0;f=r;d=d+C|0;k=d;i=i+w|0;l=i;if((c|0)>=1){while(1){g=(l<<2)+e|0;n[g-4>>2]=n[(k<<2)+h>>2];n[g>>2]=n[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+F|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}o=o+1|0;if((m|0)!=(o|0)){continue}break}}e:{if((a|0)==1){break e}if((c|0)<=(K|0)){if((b|0)<3){break e}u=(B|0)>2?B:2;s=0;A=0-a|0;l=(a|0)<3;b=1;x=0;while(1){m=0;t=t-C|0;d=t;x=C+x|0;r=x;s=s+w|0;o=s;A=w+A|0;v=A;if((c|0)>=1){while(1){f=2;if(!l){while(1){k=(f+o<<2)+e|0;y=(f+r<<2)+h|0;j=y-4|0;z=(d+f<<2)+h|0;i=z-4|0;n[k-4>>2]=n[j>>2]+n[i>>2];g=((a-f|0)+v<<2)+e|0;n[g-4>>2]=n[j>>2]-n[i>>2];n[k>>2]=n[y>>2]+n[z>>2];n[g>>2]=n[z>>2]-n[y>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;r=a+r|0;o=o+F|0;v=v+F|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}b=b+1|0;if((u|0)!=(b|0)){continue}break}break e}if((b|0)<3){break e}y=(B|0)>2?B:2;u=0;b=0-a|0;z=(a|0)<3;x=1;s=0;while(1){t=t-C|0;s=s+C|0;u=u+w|0;b=b+w|0;if(!z){v=a+b|0;m=2;while(1){if((c|0)>=1){f=v-m|0;k=m+u|0;l=m+s|0;j=m+t|0;o=0;while(1){r=(k<<2)+e|0;E=(l<<2)+h|0;i=E-4|0;D=(j<<2)+h|0;g=D-4|0;n[r-4>>2]=n[i>>2]+n[g>>2];d=(f<<2)+e|0;n[d-4>>2]=n[i>>2]-n[g>>2];n[r>>2]=n[E>>2]+n[D>>2];n[d>>2]=n[D>>2]-n[E>>2];j=a+j|0;l=a+l|0;k=k+F|0;f=f+F|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}m=m+2|0;if((m|0)<(a|0)){continue}break}}x=x+1|0;if((y|0)!=(x|0)){continue}break}}}function Ci(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-32|0;oe=e;a:{d=j[a+48>>2];b:{if(!d){g=Tr(a,b);break b}m=((b<<5)+a|0)- -64|0;l=p(b,-11796480)+5898240|0;o=j[a+60>>2];c:{d:{e:{f:{g:{h:{i:{j:{if((d|0)==1){break j}f=Df(j[a>>2],j[a+4>>2]);k:{if((f|0)==11796480){f=l;g=j[a>>2];break k}f=(f|0)/2|0;g=j[a>>2]+(l+f|0)|0}i=Bi(f);n=ye(j[a+56>>2],i);if((n|0)>65535){break f}if((d|0)!=2){break j}d=f>>31;if((d+f^d)<=57){break f}of(e+16|0,ye(o,j[a+56>>2]),g);j[e+16>>2]=j[e+16>>2]+j[a+8>>2];j[e+20>>2]=j[e+20>>2]+j[a+12>>2];f=Ai(f);d=f>>31;s=Ne(o,65536-n|0,d^d+f);of(e+8|0,s,g+l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;i=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=i;d=(b<<5)+a|0;n=d;if(!k[d+80|0]){break i}f=j[e+12>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break h}of(e+16|0,o,l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;l=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=l;f=(b<<5)+a|0;n=f;h[f+80|0]=0;d=j[m>>2];l:{if(!d){break l}i=j[f+72>>2]+(d-1<<3)|0;if((j[i>>2]-c|0)+1>>>0>2){break l}g=0;if((j[i+4>>2]-l|0)+1>>>0<3){break b}}c=j[f+68>>2];j[e+8>>2]=0;g=d+1|0;m:{n:{if(g>>>0<=c>>>0){c=j[((b<<5)+a|0)+76>>2];break n}l=j[((b<<5)+a|0)+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(g>>>0>d>>>0){continue}break}i=(b<<5)+a|0;g=i;u=g,v=xe(l,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break m}c=xe(l,1,c,d,j[i+76>>2],e+8|0);j[i+76>>2]=c;g=j[e+8>>2];if(g){break m}j[f+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1;g=0}h[n+80|0]=0;break b}d=j[m>>2];o:{if(!d){break o}q=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[q>>2]-f|0)+1>>>0>2){break o}if((j[q+4>>2]-i|0)+1>>>0<3){break g}}i=(b<<5)+a|0;t=i;f=j[i+68>>2];j[e+28>>2]=0;r=d+1|0;p:{if(r>>>0<=f>>>0){f=j[i+76>>2];break p}q=j[i+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(r>>>0>d>>>0){continue}break}r=(b<<5)+a|0;i=r;u=i,v=xe(q,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break e}f=xe(q,1,f,d,j[r+76>>2],e+28|0);j[r+76>>2]=f;i=j[e+28>>2];if(i){break e}j[t+68>>2]=d;d=j[m>>2]}q=j[e+12>>2];i=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[i>>2]=j[e+8>>2];j[i+4>>2]=q;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}of(e+8|0,s,g-l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;g=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=g;q:{r:{if(k[n+80|0]){f=j[e+12>>2];d=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break r}d=j[m>>2];s:{if(!d){break s}i=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break s}if((j[i+4>>2]-g|0)+1>>>0<3){break q}}g=(b<<5)+a|0;r=g;f=j[g+68>>2];j[e+28>>2]=0;i=d+1|0;t:{if(i>>>0<=f>>>0){f=j[g+76>>2];break t}g=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(i>>>0>d>>>0){continue}break}q=(b<<5)+a|0;i=q;u=i,v=xe(g,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break d}f=xe(g,1,f,d,j[q+76>>2],e+28|0);j[q+76>>2]=f;i=j[e+28>>2];if(i){break d}j[r+68>>2]=d;d=j[m>>2]}i=j[e+12>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+8>>2];j[g+4>>2]=i;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}i=0;if(c){break a}of(e+8|0,o,l+j[a+4>>2]|0);c=j[e+8>>2]+j[a+8>>2]|0;j[e+8>>2]=c;f=j[e+12>>2]+j[a+12>>2]|0;j[e+12>>2]=f;u:{v:{if(k[n+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;break v}d=j[m>>2];w:{if(!d){break w}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break w}if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=(b<<5)+a|0;o=f;c=j[f+68>>2];j[e+28>>2]=0;l=d+1|0;x:{if(l>>>0<=c>>>0){g=j[f+76>>2];break x}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break u}g=xe(f,1,c,d,j[l+76>>2],e+28|0);j[l+76>>2]=g;i=j[e+28>>2];if(i){break u}j[o+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;h[d+g|0]=1;j[m>>2]=j[m>>2]+1}i=0}h[n+80|0]=0;break a}of(e+16|0,De(j[a+60>>2],i),g);f=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=f;g=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=g;d=(b<<5)+a|0;i=d;y:{z:{if(k[d+80|0]){f=j[e+20>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+16>>2];j[d+4>>2]=f;break z}d=j[m>>2];A:{if(!d){break A}n=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[n>>2]-f|0)+1>>>0>2){break A}if((j[n+4>>2]-g|0)+1>>>0<3){break y}}g=(b<<5)+a|0;q=g;f=j[g+68>>2];j[e+8>>2]=0;o=d+1|0;B:{if(o>>>0<=f>>>0){f=j[g+76>>2];break B}n=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(o>>>0>d>>>0){continue}break}o=(b<<5)+a|0;g=o;u=g,v=xe(n,8,f,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break c}f=xe(n,1,f,d,j[o+76>>2],e+8|0);j[o+76>>2]=f;g=j[e+8>>2];if(g){break c}j[q+68>>2]=d;d=j[m>>2]}n=j[e+20>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+16>>2];j[g+4>>2]=n;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[i+80|0]=0}g=0;if(c){break b}of(e+16|0,j[a+60>>2],l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;f=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=f;C:{D:{if(k[i+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;break D}d=j[m>>2];E:{if(!d){break E}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break E}if((j[l+4>>2]-f|0)+1>>>0<3){break b}}f=(b<<5)+a|0;n=f;c=j[f+68>>2];j[e+8>>2]=0;l=d+1|0;F:{if(l>>>0<=c>>>0){c=j[f+76>>2];break F}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break C}c=xe(f,1,c,d,j[l+76>>2],e+8|0);j[l+76>>2]=c;g=j[e+8>>2];if(g){break C}j[n+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1}g=0}h[i+80|0]=0;break b}h[n+80|0]=0;break a}h[n+80|0]=0;break a}h[i+80|0]=0}oe=e+32|0;return g}oe=e+32|0;return i}function Zn(a,b,c,d,e,f,g,i,l,n,o){var q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;z=oe-16|0;oe=z;j[z+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}g:{if(!x){v=j[a+4>>2];q=k[v+8|0];break g}w=xn(a,z+4|0);y=!w;v=j[a+4>>2];q=k[v+8|0];if(w){break g}if((q&255)==8){break f}}if((q&255)!=32){break a}q=j[v+24>>2];if(!q){break a}u=ug(0,i,l+2|0,32,j[v+12>>2],j[v+16>>2],j[v+20>>2],q);if(!u){break a}j[u+12>>2]=l;xj(a,z+8|0);w=u+12|0;n=n*65536;V=n;o=o*65536;R=o;if(y){break e}switch(j[z+8>>2]){case 4:break c;case 0:break d;default:break b}}u=ug(0,i,l+2|0,8,0,0,0,0);if(!u){break a}t=1;q=j[j[a+4>>2]+4>>2];i=j[q>>2];if((i|0)>=1){while(1){w=s<<2;i=w+j[j[j[u+4>>2]+4>>2]+4>>2]|0;q=w+j[q+4>>2]|0;q=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[i|0]=q;h[i+1|0]=q>>>8;h[i+2|0]=q>>>16;h[i+3|0]=q>>>24;q=j[j[a+4>>2]+4>>2];i=j[q>>2];s=s+1|0;if((i|0)>(s|0)){continue}break}}j[j[j[u+4>>2]+4>>2]>>2]=i;j[u+12>>2]=l;xj(a,z+8|0);w=u+12|0;V=n*65536;R=o*65536}o=R;n=V;Lk(u,1,j[z+4>>2]);Dh(u,0,j[z+4>>2]);break b}j[z+8>>2]=1;break b}i=Pi(j[u+4>>2],255,255,255,0);j[z+4>>2]=i;Dh(u,0,i);Lk(u,1,j[z+4>>2])}cg(u,j[z+8>>2]);if(k[a|0]&2){Eg(a)}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(r(b)<2147483648){i=~~b;break s}i=-2147483648}if(+(i|0)==b){c=(i|0)%4|0;c=(c|0)<0?c+4|0:c;e=j[u+8>>2];y=j[u+16>>2];if(!t){break l}i=1;v=-1;l=f?-1:1;t=j[a+16>>2];d=g?0-t|0:t;switch(c|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}B=d<<16;if(r(n)<2147483648){i=~~n}else{i=-2147483648}F=i;l=p(65536-F|0,c);i=j[a+12>>2];I=j[w>>2];q=i-I<<15;C=j[a+8>>2];A=j[u+8>>2];y=C-A<<15;if(!(r(o)<2147483648)){break k}v=~~o;if(!t){break j}break i}c=d-p(j[a+8>>2],l)|0;v=1;break m}c=p(d,j[a+12>>2])+l|0;l=0-d|0;break m}c=p(j[a+8>>2],l)-d|0;d=0-l|0;break n}c=0-(p(d,j[a+12>>2])+l|0)|0;v=1}l=d;i=-1}q=j[a+20>>2];q=((f?0-i|0:i)|0)<=-1?(j[a+8>>2]+q|0)-1|0:q;q=((g?0-v|0:v)|0)<=-1?p(t,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}e=y-e|0;s=j[u+20>>2];v=0;f=(l|0)!=1;while(1){d=j[u+8>>2];t:{if(!f){Ge(s,q,d);d=j[u+8>>2];s=d+s|0;q=d+q|0;break t}if(!d){break t}d=d+s|0;while(1){h[s|0]=k[q|0];q=l+q|0;s=s+1|0;if((d|0)!=(s|0)){continue}break}s=d}s=e+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}l=f?-4:4;i=j[a+16>>2];d=g?0-i|0:i;u:{v:{switch(c|0){case 0:c=d-p(j[a+8>>2],l)|0;s=1;d=1;break u;case 1:c=p(d,j[a+12>>2])+l|0;s=1;l=0-d|0;d=-1;break u;case 2:c=p(j[a+8>>2],l)-d|0;s=-1;l=0-l|0;d=-1;break u;default:break v}}c=0-(p(d,j[a+12>>2])+l|0)|0;s=-1;l=d;d=1}q=j[a+20>>2];q=((f?0-s|0:s)|0)<=-1?((j[a+8>>2]<<2)+q|0)-4|0:q;q=((g?0-d|0:d)|0)<=-1?p(i,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}f=y-(e<<2)|0;s=j[u+20>>2];v=0;g=(l|0)!=4;while(1){d=j[u+8>>2]<<2;w:{if(!g){Ge(s,q,d);d=j[u+8>>2]<<2;s=d+s|0;q=d+q|0;break w}if(!d){break w}d=d+s|0;while(1){e=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;q=l+q|0;s=s+4|0;if((d|0)!=(s|0)){continue}break}s=d}s=f+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}v=-2147483648;if(t){break i}}S=i-1|0;T=C-1|0;W=j[u+16>>2]-(A<<2)|0;c=B-p(c,v)|0;s=j[u+20>>2];if(e){if((I|0)<1){break h}$=c+q|0;aa=l+y|0;ba=(A|0)<1;while(1){if(!ba){e=d-U|0;c=p(e,v)+aa|0;i=$-p(e,F)|0;e=0;while(1){l=i>>16;l=g?S-l|0:l;x:{if((l|0)>=(S|0)){break x}q=c>>16;q=f?T-q|0:q;if((q|0)>=(T|0)|(l|q)<0){break x}w=j[a+16>>2];q=(j[a+20>>2]+p(w,l)|0)+(q<<2)|0;l=k[q+4|0];B=k[q+3|0];C=k[q+2|0];G=k[q+1|0];D=k[q|0];J=k[q+7|0];K=k[q+6|0];x=k[q+5|0];q=(q+4|0)+((w|0)/4<<2)|0;L=k[q+3|0];M=k[q+2|0];N=k[q+1|0];O=k[q|0];q=q-4|0;H=k[q+3|0];P=k[q+2|0];Q=k[q+1|0];q=k[q|0];y:{if(!f){y=B;t=C;E=G;w=D;B=J;C=K;G=x;D=l;J=H;K=P;x=Q;l=q;H=L;P=M;Q=N;q=O;break y}y=J;t=K;E=x;w=l;J=L;K=M;x=N;l=O}z:{if(!g){L=y;M=t;N=E;O=w;X=B;Y=C;Z=G;_=D;y=J;t=K;E=x;w=l;B=H;C=P;G=Q;D=q;break z}L=J;M=K;N=x;O=l;X=H;Y=P;Z=Q;_=q}l=c&65535;q=L&255;H=(p(l,(X&255)-q|0)>>>16|0)+q|0;q=i&65535;h[s+3|0]=H+(p(q,((p(l,(B&255)-(y&255)|0)>>>16|0)+y&255)-(H&255)|0)>>>16|0);x=(p(l,(C&255)-(t&255)|0)>>>16|0)+t&255;t=M&255;t=(p(l,(Y&255)-t|0)>>>16|0)+t|0;h[s+2|0]=(p(q,x-(t&255)|0)>>>16|0)+t;t=N&255;t=(p(l,(Z&255)-t|0)>>>16|0)+t|0;h[s+1|0]=(p(q,((p(l,(G&255)-(E&255)|0)>>>16|0)+E&255)-(t&255)|0)>>>16|0)+t;x=(p(l,(D&255)-(w&255)|0)>>>16|0)+w&255;w=O&255;l=(p(l,(_&255)-w|0)>>>16|0)+w|0;h[s|0]=(p(q,x-(l&255)|0)>>>16|0)+l}s=s+4|0;i=i+v|0;c=c+F|0;e=e+1|0;if((A|0)!=(e|0)){continue}break}}s=s+W|0;U=U+1|0;if((U|0)!=(I|0)){continue}break}break h}if((I|0)<1){break h}B=c+q|0;y=l+y|0;t=0;while(1){if((A|0)>=1){c=d-t|0;q=y+p(c,v)|0;i=B-p(c,F)|0;c=0;while(1){e=q>>16;A:{if(e>>>0>=m[a+8>>2]){break A}l=i>>16;if(l>>>0>=m[a+12>>2]){break A}e=(j[a+20>>2]+p(j[a+16>>2],g?S-l|0:l)|0)+((f?T-e|0:e)<<2)|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;A=j[u+8>>2]}s=s+4|0;i=i+v|0;q=q+F|0;c=c+1|0;if((A|0)>(c|0)){continue}break}I=j[w>>2]}s=s+W|0;t=t+1|0;if((I|0)>(t|0)){continue}break}break h}i=j[u+20>>2];C=j[u+16>>2];j[z+12>>2]=0;e=i;if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}if(x){xn(a,z+12|0);x=k[z+12|0]}else{x=0}Oe(e,x,p(j[w>>2],j[u+16>>2]));s=j[w>>2];if((s|0)<1){break h}C=C-A|0;B=q+B|0;G=p(c,v);y=l+y|0;e=j[u+8>>2];A=0;while(1){if((e|0)>=1){c=d-A|0;s=y+p(c,v)|0;q=B-(G+p(c,F)|0)|0;c=0;while(1){l=s>>16;D=j[a+8>>2];B:{if(l>>>0>=D>>>0){break B}t=q>>16;E=j[a+12>>2];if(t>>>0>=E>>>0){break B}h[i|0]=k[(j[a+20>>2]+p(j[a+16>>2],g?E+(t^-1)|0:t)|0)+(f?D+(l^-1)|0:l)|0];e=j[u+8>>2]}i=i+1|0;q=q+v|0;s=s+F|0;c=c+1|0;if((e|0)>(c|0)){continue}break}s=j[w>>2]}i=i+C|0;A=A+1|0;if((A|0)<(s|0)){continue}break}}if(k[a|0]&2){jg(a)}s=u}oe=z+16|0;return s}function Px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,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;r=j[a+28>>2];if(r){t=j[a+36>>2];u=j[a+16>>2];b=j[a+44>>2];l=b;c=j[a+24>>2];v=c&7;w=(c+7|0)/8|0;g=j[a>>2];a=j[a+20>>2];p=k[b+9|0];q=p-1|0;while(1){s=w;a:{b:{switch(v-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=j[g>>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];e:{f:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break e;case 3:break f;default:break e}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];g:{h:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break g;case 3:break h;default:break g}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];i:{j:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break i;case 3:break j;default:break i}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];k:{l:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break k;case 3:break l;default:break k}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];m:{n:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break m;case 3:break n;default:break m}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];o:{p:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break o;case 3:break p;default:break o}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];q:{r:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break q;case 3:break r;default:break q}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];s:{t:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break s;case 3:break t;default:break s}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(u){o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=0;d=0;g=0;e=0;e:{f:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break e;case 3:break f;default:break e}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=1;continue;case 1:c=0;d=0;g=0;e=0;g:{h:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break g;case 3:break h;default:break g}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=2;continue;case 2:c=0;d=0;g=0;e=0;i:{j:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break i;case 3:break j;default:break i}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=u-1|0;c=i;if(o){d=k[(d&255)+o|0]}h[c|0]=d;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;d=3;continue;default:break d}}e=0;g=0;c=0;d=0;k:{l:{switch(t|0){case 0:e=k[f|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:e=l[f>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:c=k[(k[b+34|0]>>>3|0)+f|0];g=k[(k[b+33|0]>>>3|0)+f|0];e=k[(k[b+32|0]>>>3|0)+f|0];d=255;break k;case 3:break l;default:break k}}e=j[f>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=g;g=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[g+1|0];q=e;e=k[g|0];n=((p(n-m|0,d)|0)/255|0)+m>>>3&28|((p(q-e|0,d)|0)/255|0)+e&-32;e=d;d=k[g+2|0];d=n|(((p(e,c-d|0)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=0;continue}break}i=i+v|0;f=f+w|0;u=e;if(e){continue}break}}}function wG(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-160|0;oe=f;q=j[b+100>>2];e=j[b+104>>2];j[b+132>>2]=0;d=Fe(e,0);j[f+156>>2]=d;a:{b:{if(d){break b}d=$e(e,205568,f+152|0);j[f+156>>2]=d;if(d){break b}j[f+156>>2]=2;c:{if(l[f+152>>1]!=23117){break c}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;if(d){break b}d=$e(e,205600,f+144|0);j[f+156>>2]=d;if(d){break b}d=2;j[f+156>>2]=2;d:{e:{f:{g:{switch(l[f+144>>1]-17742|0){case 0:d=Fe(e,l[f+146>>1]+l[f+154>>1]|0);j[f+156>>2]=d;if(d){break b}d=_e(e,l[f+148>>1]-l[f+146>>1]|0);j[f+156>>2]=d;if(d){break b}o=pg(e);n=pg(e);h:{if(n){while(1){d=pg(e);g=((j[e+8>>2]+j[e+32>>2]|0)-j[e+36>>2]|0)+4|0;if((n&65535)==32776){break h}j[e+32>>2]=(j[e+32>>2]+p(d,12)|0)+4;n=pg(e);if(n){continue}break}}d=0;g=0}Ve(e);if(!(d?g:0)){j[f+156>>2]=3;break b}if(m[e+4>>2]>>0){j[f+156>>2]=3;break b}j[b>>2]=d;if((c|0)>=(d|0)){j[f+156>>2]=6;break b}if((c|0)<0){break b}y=b,z=He(q,172,f+156|0),j[y+132>>2]=z;if(j[f+156>>2]){break b}d=Fe(e,g+p(c,12)|0);j[f+156>>2]=d;if(d){break c}d=_e(e,12);j[f+156>>2]=d;if(d){break c}d=pg(e);j[j[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=j[e+32>>2]+8;Ve(e);d=Nl(j[b+132>>2],e);j[f+156>>2]=d;break f;case 2:break g;default:break f}}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;n=2;i:{if(d){break i}d=$e(e,205632,f+120|0);j[f+156>>2]=d;if(d){break i}j:{if(j[f+120>>2]!=17744|l[f+124>>1]!=332|(l[f+128>>1]!=224|l[f+130>>1]!=267)){break j}j[b>>2]=0;k:{l:{if(!l[f+126>>1]){break l}m:{while(1){n:{d=$e(e,205696,f+96|0);j[f+156>>2]=d;if(d){break n}if(j[f+132>>2]==j[f+104>>2]){break m}g=g+1|0;if(l[f+126>>1]>(g&65535)>>>0){continue}break l}break}break i}d=Fe(e,j[f+112>>2]);j[f+156>>2]=d;if(d){break i}d=$e(e,205728,f+80|0);j[f+156>>2]=d;if(d){break i}d=0;o=1;n=0;if(l[f+94>>1]==(0-l[f+92>>1]|0)){break i}t=j[f+112>>2];v=t+16|0;g=0;while(1){d=Fe(e,(g<<3)+v|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205760,f+40|0);j[f+156>>2]=d;if(d){break k}d=j[f+44>>2];if((d|0)>=0){break l}d=d&2147483647;j[f+44>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){break k}d=$e(e,205728,f- -64|0);j[f+156>>2]=d;if(d){break k}if(l[f+78>>1]!=(0-l[f+76>>1]|0)){w=g+16|0;o=0;d=0;s=0;while(1){d=Fe(e,(d<<3)+w|0);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,205760,f+32|0);j[f+156>>2]=d;if(d){n=2;break i}d=j[f+36>>2];if((d|0)>=0){break j}d=d&2147483647;j[f+36>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,205728,f+48|0);j[f+156>>2]=d;if(d){n=2;break i}if(l[f+62>>1]!=(0-l[f+60>>1]|0)){x=g+16|0;d=0;n=0;while(1){d=Fe(e,(d<<3)+x|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205760,f+24|0);j[f+156>>2]=d;if(d){break k}if(j[f+36>>2]<=-1){break l}if(j[f+40>>2]==8){d=Fe(e,j[f+28>>2]+t|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205776,f+8|0);j[f+156>>2]=d;if(d){break k}g=b;d=j[b>>2];if((d|0)==(c|0)){r=He(q,172,f+156|0);j[b+132>>2]=r;d=j[f+156>>2];if(d){break k}j[r>>2]=(j[f+8>>2]+j[f+112>>2]|0)-j[f+104>>2];j[r+164>>2]=j[f+12>>2];d=Nl(r,e);j[f+156>>2]=d;if(d){n=13;break i}d=j[b>>2]}j[g>>2]=d+1}n=n+1|0;d=n&65535;if(d>>>0>1]+l[f+60>>1]>>>0){continue}break}}s=s+1|0;d=s&65535;if(d>>>0>1]+l[f+76>>1]>>>0){continue}break}}o=1;d=0;n=0;u=u+1|0;g=u&65535;if(g>>>0>1]+l[f+92>>1]>>>0){continue}break}break i}d=3;j[f+156>>2]=3}o=0;n=2;break i}d=3;j[f+156>>2]=3;n=2}if(!o){break e}}e=j[b>>2];if(!e){j[f+156>>2]=3;break b}if((c|0)<(e|0)){break d}j[f+156>>2]=6;break b}switch(n|0){case 2:break b;case 0:case 13:break d;default:break a}}if(!d){break b}}d=j[b+132>>2];if(!d){break b}e=j[b+100>>2];if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}g=j[d+168>>2];if(g){qe[j[e+8>>2]](e,g)}j[d+168>>2]=0;if(d){qe[j[e+8>>2]](e,d)}j[b+132>>2]=0}e=j[f+156>>2]}j[f+96>>2]=e;o:{if((c|0)<=-1){d=0;if(!e){break o}}p:{q:{r:{if((e&255)==2){e=He(q,172,f+96|0);j[b+132>>2]=e;d=j[f+96>>2];if(d){break o}j[b>>2]=1;j[e>>2]=0;j[e+164>>2]=j[a+4>>2];a=Nl(e,a);j[f+96>>2]=a;if(a){break p}if((c|0)>=1){j[f+96>>2]=6;break p}d=0;if((c|0)>=0){break r}break o}if(e){break q}}j[b+4>>2]=c;a=j[b+8>>2];j[b+8>>2]=a|18;c=j[b+132>>2];if(l[c+100>>1]==l[c+102>>1]){j[b+8>>2]=a|22}if(k[c+86|0]){j[b+12>>2]=j[b+12>>2]|1}if(l[c+90>>1]>=800){j[b+12>>2]=j[b+12>>2]|2}d=xe(q,16,0,1,0,f+96|0);j[b+32>>2]=d;if(j[f+96>>2]){break p}j[b+28>>2]=1;i[d+2>>1]=l[c+100>>1];i[d>>1]=l[c+84>>1]+l[c+96>>1];e=l[c+74>>1]<<6;j[d+4>>2]=e;a=l[c+78>>1];g=e;e=l[c+76>>1];e=e?e:72;g=Ne(g,e,72)+32&-64;j[d+12>>2]=g;n=a?a:72;a=l[c+96>>1]<<6;s:{if((a|0)>=(g|0)){a=j[d+4>>2];break s}j[d+12>>2]=a;a=Ne(a,72,e);j[d+4>>2]=a}y=d,z=Ne(a,n,72)+32&-64,j[y+8>>2]=z;j[f+120>>2]=b;j[f+124>>2]=0;j[f+128>>2]=0;if(k[c+92|0]==77){i[f+128>>1]=1;j[f+124>>2]=1634889070}a=qg(205492,0,f+120|0,0);j[f+96>>2]=a;if(a){break p}if(j[b+36>>2]){j[b+92>>2]=j[j[b+40>>2]>>2]}a=k[c+105|0];d=k[c+104|0];if(a>>>0>>0){j[f+96>>2]=3;break p}j[b+16>>2]=(a-d|0)+2;a=j[c+8>>2];d=j[c+116>>2];if(a>>>0<=d>>>0){j[f+96>>2]=3;break p}a=a-d|0;d=He(q,a+1|0,f+96|0);j[c+168>>2]=d;if(j[f+96>>2]){break p}Ae(d,j[c+160>>2]+j[c+116>>2]|0,a);h[a+j[c+168>>2]|0]=0;d=a;a=j[c+168>>2];a=xe(q,1,d,Le(a)+1|0,a,f+96|0);j[c+168>>2]=a;if(j[f+96>>2]){break p}j[b+24>>2]=205532;j[b+20>>2]=a;c=j[b+12>>2];a=c&1;if(c&2){if(a){j[b+24>>2]=205540;d=0;break o}j[b+24>>2]=205552;d=0;break o}d=0;if(!a){break o}j[b+24>>2]=205557;break o}d=e;if(!b){break o}}a=j[b+100>>2];d=j[b+132>>2];if(d){if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}c=a;e=j[d+168>>2];if(e){qe[j[c+8>>2]](c,e)}j[d+168>>2]=0;if(d){qe[j[a+8>>2]](a,d)}j[b+132>>2]=0}c=j[b+32>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+28>>2]=0;j[b+32>>2]=0;d=j[f+96>>2]}oe=f+160|0;return d|0}function JD(a,b){var c=0,d=0,e=0,f=0,g=0,l=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=q(0),F=0;d=96085;g=oe-304|0;oe=g;e=k[96085];a:{if(!e){break a}b:{c:{while(1){d:{e=e&255;e:{if((e|0)==32|e-9>>>0<5){while(1){e=d;d=d+1|0;c=k[e+1|0];if((c|0)==32|c-9>>>0<5){continue}break}kg(a,0,0);while(1){c=j[a+4>>2];f:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break f}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}d=j[a+4>>2];if(j[a+104>>2]){d=d-1|0;j[a+4>>2]=d}l=d-j[a+8>>2]|0;c=l;l=c>>31;d=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=d+c|0;r=r+l|0;r=c>>>0>t>>>0?r+1|0:r;break e}g:{h:{i:{e=k[d|0];if((e|0)==37){c=k[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}kg(a,0,0);e=((e|0)==37)+d|0;c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if((c|0)!=k[e|0]){if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}A=0;if((c|0)>=0){break a}break b}c=t+1|0;r=c>>>0<1?r+1|0:r;t=c;break e}l=0;e=d+2|0;break g}if(!(k[d+2|0]!=36|c-48>>>0>=10)){l=ID(b,k[d+1|0]-48|0);e=d+3|0;break g}l=j[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(k[e|0]-48>>>0<10){while(1){d=(k[e|0]+p(d,10)|0)-48|0;c=k[e+1|0];e=e+1|0;if(c-48>>>0<10){continue}break}}c=e;f=k[c|0];k:{if((f|0)!=109){break k}v=0;A=(l|0)!=0;f=k[e+1|0];w=0;c=e+1|0}e=c+1|0;s=3;l:{m:{switch(f-65|0){case 39:f=c+2|0;c=k[c+1|0]==104;e=c?f:e;s=c?-2:-1;break l;case 43:f=c+2|0;c=k[c+1|0]==108;e=c?f:e;s=c?3:1;break l;case 51:case 57:s=1;break l;case 11:s=2;break l;case 41:break l;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break m;default:break b}}s=0;e=c}f=k[e|0];c=(f&47)==3;z=c?1:s;x=c?f|32:f;n:{if((x|0)==91){break n}o:{if((x|0)!=110){if((x|0)!=99){break o}d=(d|0)>1?d:1;break n}lp(l,z,t,r);break e}kg(a,0,0);while(1){c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break p}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;c=c>>31;u=f;y=r+j[a+124>>2]|0;f=t+j[a+120>>2]|0;y=f>>>0>>0?y+1|0:y;t=u+f|0;c=c+y|0;c=f>>>0>t>>>0?c+1|0:c;r=c}y=d;B=d>>31;kg(a,d,B);c=j[a+104>>2];f=j[a+4>>2];q:{if(c>>>0>f>>>0){j[a+4>>2]=f+1;break q}if((ff(a)|0)<0){break b}c=j[a+104>>2]}if(c){j[a+4>>2]=j[a+4>>2]-1}c=16;r:{s:{t:{u:{v:{w:{x:{switch(x-88|0){default:c=x-65|0;if(c>>>0>6|!(1<>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!l){break r}y=j[g+8>>2];f=j[g+12>>2];d=j[g>>2];c=j[g+4>>2];switch(z|0){case 2:break t;case 1:break u;case 0:break v;default:break r};case 3:case 11:case 27:if((x&239)==99){Ee(g+32|0,-1,257);h[g+32|0]=0;if((x|0)!=115){break s}h[g+65|0]=0;h[g+46|0]=0;i[g+42>>1]=0;i[g+44>>1]=0;break s}u=k[e+1|0];f=(u|0)==94;Ee(g+32|0,f,257);h[g+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=k[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}s=(u|0)!=94;break y}s=(u|0)!=94;h[g+78|0]=s;break z}s=(u|0)!=94;h[g+126|0]=s}c=c+1|0}e=c;while(1){c=k[e|0];B:{if((c|0)!=45){if(!c){break b}if((c|0)!=93){break B}break s}c=45;u=k[e+1|0];if(!u|(u|0)==93){break B}f=e+1|0;e=k[e-1|0];C:{if(u>>>0<=e>>>0){c=u;break C}while(1){e=e+1|0;h[e+(g+32|0)|0]=s;c=k[f|0];if(e>>>0>>0){continue}break}}e=f}h[(c+g|0)+33|0]=s;e=e+1|0;continue};case 23:c=8;break w;case 12:case 29:c=10;break w;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break r;case 0:case 24:case 32:break w;case 17:break x}}c=0}y=mp(a,c,0,-1,-1);f=pe;d=j[a+4>>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!(!l|(x|0)!=112)){j[l>>2]=y;break r}lp(l,z,y,f);break r}D=l,E=vD(d,c,y,f),n[D>>2]=E;break r}D=l,F=rl(d,c,y,f),o[D>>3]=F;break r}j[l>>2]=d;j[l+4>>2]=c;j[l+8>>2]=y;j[l+12>>2]=f;break r}x=(x|0)==99;s=x?d+1|0:31;u=(z|0)!=1;D:{if(!u){c=l;if(A){c=Te(s<<2);if(!c){break c}}j[g+296>>2]=0;j[g+300>>2]=0;d=0;while(1){w=c;E:{while(1){c=j[a+4>>2];F:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break F}c=ff(a)}if(!k[(c+g|0)+33|0]){break E}h[g+27|0]=c;c=KD(g+28|0,g+27|0,g+296|0);if((c|0)==-2){continue}if((c|0)==-1){break d}if(w){j[(d<<2)+w>>2]=j[g+28>>2];d=d+1|0}if(A^1|(d|0)!=(s|0)){continue}break}s=s<<1|1;c=Vf(w,s<<2);if(c){continue}break d}break}c=g+296|0;f=1;G:{if(!c){break G}f=!j[c>>2]}if(!f){break d}v=0;break D}if(A){d=0;c=Te(s);if(!c){break c}while(1){v=c;while(1){c=j[a+4>>2];H:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break H}c=ff(a)}if(!k[(c+g|0)+33|0]){w=0;break D}h[d+v|0]=c;d=d+1|0;if((s|0)!=(d|0)){continue}break}w=0;s=s<<1|1;c=Vf(v,s);if(c){continue}break}break b}d=0;if(l){while(1){c=j[a+4>>2];I:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break I}c=ff(a)}if(k[(c+g|0)+33|0]){h[d+l|0]=c;d=d+1|0;continue}else{w=0;v=l;break D}}}while(1){c=j[a+4>>2];J:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break J}c=ff(a)}if(k[(c+g|0)+33|0]){continue}break}v=0;w=0}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;z=c+j[a+120>>2]|0;c=j[a+124>>2]+(c>>31)|0;c=f>>>0>z>>>0?c+1|0:c;if(!(c|z)|(x?(y|0)!=(z|0)|(c|0)!=(B|0):0)){break b}K:{if(!A){break K}if(!u){j[l>>2]=w;break K}j[l>>2]=v}if(x){break r}if(w){j[(d<<2)+w>>2]=0}if(!v){v=0;break r}h[d+v|0]=0}d=j[a+4>>2]-j[a+8>>2]|0;c=d;d=c>>31;f=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=f+c|0;r=d+r|0;r=c>>>0>t>>>0?r+1|0:r;C=((l|0)!=0)+C|0}d=e+1|0;e=k[e+1|0];if(e){continue}break a}break}v=0;break b}v=0;w=0}if(!A){break a}ze(v);ze(w)}oe=g+304|0}function lz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,l=0,m=0,p=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=q(0),L=q(0),M=0,N=0,O=0,P=0;d=oe+ -64|0;oe=d;a:{b:{e=j[a+436>>2];f=j[e>>2];if(f){break b}f=j[e+4>>2];j[e>>2]=f;if(f){break b}f=tj(j[a+188>>2]);if(f){j[e>>2]=f;j[e+4>>2]=f;break b}f=j[e>>2];if(f){break b}a=-1;break a}if(b){a=1;while(1){c:{d:{e:{switch(j[b>>2]-1|0){case 0:u=b+8|0;a=1;break c;case 1:s=j[b+4>>2]?b+8|0:0;a=1;break c;case 3:i=k[b+11|0];m=k[b+10|0];e=k[b+9|0];a=k[b+8|0];vg(f,0);Dh(f,0,Pi(j[f+4>>2],a,e,m,i));a=1;break c;case 4:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];f:{if(!a){break f}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break f}vg(f,u)}a=c+e|0;if(!x){Xz(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}Uz(f,a,w,x,m,i,p,l);break d;case 5:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];g:{if(!a){break g}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break g}vg(f,u)}a=c+e|0;if(!x){Qz(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}Hz(f,a,w,x,m,i,p,l);break d;case 6:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];h:{if(!a){break h}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break h}vg(f,u)}a=c+e|0;if(!x){Vy(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}zz(f,a,w,x,m,i,p,l);break d;case 7:e=j[b+4>>2];l=j[j[b+20>>2]+76>>2];i:{if(!a){break i}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break i}vg(f,u)}A=c+e|0;w=j[b+16>>2];x=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];p=k[b+15|0];j:{if(!((a&(m&e))!=255|(p|0)!=255|(w|0)==2)){if((w|0)!=4){break j}}zj(x,0)}i=A+16|0;bi(x,e,m,a);Oi(x,p);cg(x,w);if(!(j[A+8>>2]!=j[A+24>>2]|j[A+12>>2]!=j[A+28>>2])){gh(l,A,f,i);break d}a=0;zj(f,0);vn(l,A,f,i);break c;case 8:break e;default:break c}}e=j[b+4>>2];k:{if(!a){break k}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break k}vg(f,u)}t=c+e|0;p=j[b+16>>2];l=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];i=k[b+15|0];l:{if(!((a&(m&e))!=255|(i|0)!=255|(p|0)==2)){if((p|0)!=4){break l}}zj(l,0)}bi(l,e,m,a);Oi(l,i);cg(l,p);w=j[t+48>>2];g=o[t+32>>3];p=j[b+20>>2];v=j[p+76>>2];j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=j[t+24>>2];j[d+60>>2]=j[t+28>>2];if(k[v|0]&2){Eg(v)}a=j[v+4>>2];a=Aj(j[v+20>>2],j[v+8>>2],j[v+12>>2],k[a+8|0],j[v+16>>2],j[a+12>>2],j[a+16>>2],j[a+20>>2],j[a+24>>2]);if(!a){if(!(k[v|0]&2)){break d}jg(v);break d}xj(v,d+20|0);e=d+19|0;if(v){if(e){h[e|0]=k[j[v+52>>2]+79|0]}}wn(v,d+18|0,d+17|0,d+16|0);m=j[v+4>>2];m:{if(!(k[m+8|0]!=32|(j[m>>2]&983040)!=393216)){l=0;if(j[m+24>>2]){break m}}l=1}e=j[t+8>>2];n:{if(!(j[t>>2]|((e|0)!=j[t+24>>2]|j[t+12>>2]!=j[t+28>>2]))){if(!j[t+4>>2]){break n}}l=1}o:{if(!(j[t>>2]|((e|0)!=j[v+8>>2]|j[t+12>>2]!=j[v+12>>2]))){if(!j[t+4>>2]){break o}}l=1}J=1;B=0;i=j[d+20>>2];e=0;p:{if(i&-5){break p}m=k[d+19|0];e=k[d+16|0]&(k[d+17|0]&(m&k[d+18|0]));J=(e|0)==255;if(!J){Oi(a,m);bi(a,k[d+18|0],k[d+17|0],k[d+16|0]);i=j[d+20>>2]}e=(e|0)!=255}q:{r:{if(!i){if(!j[j[v+4>>2]+24>>2]){m=1;if(k[d+19|0]==255){break r}}B=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(!B){cg(a,j[d+20>>2]);B=0;break q}cg(B,4)}m=0}s:{if(!(e|l)){cg(a,j[d+20>>2]);break s}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;l=0;e=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(e){cg(a,0);i=vn(a,t,e,d);kf(a);l=!i;a=e}cg(a,j[d+20>>2]);if(!l){break q}}ez(j[d+56>>2],j[d+60>>2],g,d+44|0,d+40|0,d+32|0,d+24|0);i=j[d+44>>2];e=j[d+40>>2];y=Zn(a,g,(i|0)/2|0,(e|0)/2|0,j[p+28>>2]!=0,w&1,w&2,i,e,o[d+32>>3],o[d+24>>3]);t:{if(!(!B|!y)){i=j[d+44>>2];e=j[d+40>>2];l=Zn(B,g,(i|0)/2|0,(e|0)/2|0,0,0,0,i,e,o[d+32>>3],o[d+24>>3]);if(l){break t}break q}l=0;if(!y){break q}}A=j[t+16>>2];x=j[t+20>>2];K=n[t+40>>2];L=n[t+44>>2];D=-o[d+24>>3];o[d+24>>3]=D;w=j[t+24>>2];e=j[t+28>>2];j[d+56>>2]=j[d+44>>2];j[d+60>>2]=j[d+40>>2];H=o[d+32>>3];g=H;if(q(r(L))z?z:g;z=E+N+I;g=F+N+I;g=g>z?z:g;g=g>G?G:g;u:{if(r(g)<2147483648){p=~~g;break u}p=-2147483648}j[e+52>>2]=p;e=d;E=H*O;g=D*C;C=+(i+A|0);z=E-g+C;F=H*P;g=F-g+C;G=g>z?z:g;g=D*M;z=E-g+C;g=F-g+C;g=g>z?z:g;g=g>G?G:g;v:{if(r(g)<2147483648){i=~~g;break v}i=-2147483648}j[e+48>>2]=i;w:{if(!(!j[d+20>>2]&(m^-1))){if(J){Oi(y,k[d+19|0]);bi(y,k[d+18|0],k[d+17|0],k[d+16|0])}gh(y,0,f,d+48|0);break w}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;cg(l,0);x:{if(gh(l,0,f,d)){break x}bi(y,0,0,0);e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;if(gh(y,0,f,d)){break x}e=j[y+4>>2];e=Aj(j[y+20>>2],j[y+8>>2],j[y+12>>2],k[e+8|0],j[y+16>>2],j[e+12>>2],j[e+16>>2],j[e+20>>2],0);if(!e){break x}cg(e,2);gh(e,0,f,d+48|0);kf(e)}kf(l)}if(!y){break q}kf(y)}if(k[v|0]&2){jg(v)}if(B){kf(B)}kf(a)}a=0}b=j[b+24>>2];if(b){continue}break}}a=0}oe=d- -64|0;return a|0}function LG(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,m=0,n=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=oe-336|0;oe=a;j[b>>2]=1;w=b+500|0;j[w>>2]=0;x=Bh(j[b+96>>2],204272);j[b+484>>2]=x;s=dh(j[j[b+96>>2]+4>>2],204289);j[b+488>>2]=s;a:{if(!s){f=11;break a}n=j[b+100>>2];Ee(a+16|0,0,304);z=b,A=He(n,12,a+12|0),j[z+492>>2]=A;b:{if(j[a+12>>2]){break b}j[b+496>>2]=12;f=j[b+104>>2];qe[j[j[s+4>>2]>>2]](a+16|0,0,0,n);h[a+100|0]=0;j[a+92>>2]=0;j[a+96>>2]=0;j[a+88>>2]=f;g=Fe(f,0);j[a+320>>2]=g;c:{d:{if(g){break d}g=_e(f,17);j[a+320>>2]=g;if(g){break d}if(Cg(j[f+32>>2],204311,17)){g=2;j[a+320>>2]=2;Ve(f);break d}Ve(f);g=Fe(f,0);j[a+320>>2]=g;if(g){break d}m=j[f+4>>2];e:{if(!j[f+20>>2]){g=j[f+8>>2];o=j[f>>2];h[a+100|0]=1;j[a+96>>2]=m;j[a+92>>2]=g+o;g=xf(f,m);j[a+320>>2]=g;if(g){break d}m=j[a+96>>2];break e}o=He(n,m,a+320|0);j[a+92>>2]=o;g=j[a+320>>2];if(g){break d}g=uf(f,o,m);j[a+320>>2]=g;if(g){break d}j[a+96>>2]=m}g=j[a+92>>2];j[a+20>>2]=g;j[a+12>>2]=0;break c}if(k[a+100|0]){j[a+12>>2]=g;break b}f=j[a+92>>2];if(f){qe[j[n+8>>2]](n,f)}g=0;j[a+92>>2]=0;f=j[a+320>>2];j[a+12>>2]=f;if(f){break b}m=j[a+96>>2]}j[a+28>>2]=0;j[a+16>>2]=g;m=g+m|0;j[a+24>>2]=m;qe[j[a+44>>2]](a+16|0);f:{f=j[a+16>>2];if(m>>>0>f>>>0){t=b+132|0;u=b+164|0;v=b+460|0;while(1){g:{h:{g=k[f|0];if(!((g|0)!=70|m>>>0<=f+25>>>0)){if(Qe(f,204329,13)){break h}qe[j[a+48>>2]](a+16|0);qe[j[a+44>>2]](a+16|0);g=j[a+16>>2];f=g;i:{if(m>>>0<=f>>>0){break i}while(1){j:{if(!(k[f|0]!=107|m>>>0<=f+5>>>0)){if(!Qe(f,204343,5)){break j}}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break i}break}qe[j[a+48>>2]](a+16|0);qe[j[a+72>>2]](a+16|0,a+320|0);g=j[a+328>>2]==3?j[a+16>>2]:g}j[a+16>>2]=g;break g}if((g|0)!=47|m>>>0<=f+2>>>0){break h}g=f+1|0;j[a+16>>2]=g;qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}n=j[a+16>>2];if(n>>>0>=m>>>0){break g}f=0;q=n-g|0;if(q-1>>>0>20){break g}while(1){k:{n=p(f,36);r=n+204352|0;o=j[r>>2];if(!o|k[g|0]!=k[o|0]){break k}if((Le(o)|0)!=(q|0)){break k}if(Cg(g,o,q)){break k}g=a;l:{if(f-15>>>0<=3){qe[j[n+204364>>2]](b,a+16|0);f=j[a+28>>2];break l}f=j[n+204360>>2];m:{n:{switch(j[n+204356>>2]-2|0){case 0:j[a+320>>2]=u;break m;case 3:j[a+320>>2]=v;break m;default:break n}}j[a+320>>2]=t}if(f-9>>>0<=1){f=qe[j[a+84>>2]](a+16|0,r,a+320|0,0,0)|0;break l}f=qe[j[a+80>>2]](a+16|0,r,a+320|0,0,0)|0}j[g+28>>2]=f;if(!f){break g}j[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break}}f=j[a+28>>2];j[a+12>>2]=f;if(f){break b}if(k[b+433|0]!=42){j[a+12>>2]=2;break b}o=j[a+160>>2];j[b+416>>2]=o;if(!j[a+228>>2]){j[a+12>>2]=3}m=0;j[a+228>>2]=0;j[b+396>>2]=j[a+216>>2];j[b+424>>2]=j[a+240>>2];j[b+428>>2]=j[a+244>>2];j[b+400>>2]=j[a+164>>2];j[b+420>>2]=j[a+188>>2];j[a+188>>2]=0;j[a+164>>2]=0;if(j[b+368>>2]!=1){break b}n=0;t=j[a+124>>2];if((t|0)>=1){g=0;while(1){u=g<<1;i[u+j[b+384>>2]>>1]=0;q=g<<2;j[q+j[b+388>>2]>>2]=204303;o:{if((o|0)<1){break o}v=j[q+j[a+132>>2]>>2];if(!v){break o}y=j[b+420>>2];f=0;while(1){r=j[(f<<2)+y>>2];if(!we(v,r)){i[u+j[b+384>>2]>>1]=f;j[q+j[b+388>>2]>>2]=r;if(!we(204303,r)){break o}n=(g|0)<(n|0)?n:g+1|0;m=(g|0)<(m|0)?g:m;break o}f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=g+1|0;if((t|0)!=(g|0)){continue}break}}j[b+380>>2]=n;j[b+376>>2]=m;j[b+372>>2]=j[a+104>>2];break b}j[a+12>>2]=f}f=j[a+156>>2];if(f){qe[f|0](a+108|0)}f=j[a+264>>2];if(f){qe[f|0](a+216|0)}f=j[a+212>>2];if(f){qe[f|0](a+164|0)}f=j[a+316>>2];if(f){qe[f|0](a+268|0)}if(!k[a+100|0]){f=j[a+32>>2];g=j[a+92>>2];if(g){qe[j[f+8>>2]](f,g)}j[a+92>>2]=0}qe[j[a+40>>2]](a+16|0);f=j[a+12>>2];if(f|(c|0)<0){break a}f=6;if((c|0)>0){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+24>>2]=204295;j[b+16>>2]=j[b+416>>2];c=j[b+144>>2];j[b+20>>2]=c;j[b+8>>2]=j[b+8>>2]|(k[b+156|0]?533:529)|2048;p:{if(c){f=j[b+140>>2];if(!f){break p}g=k[f|0];if(!g){break p}while(1){m=g&255;g=k[c|0];q:{if((m|0)==(g|0)){f=f+1|0;c=c+1|0;break q}m=m-32|0;if(!(!m|(m|0)==13)){r:{switch(g-32|0){case 0:case 13:c=c+1|0;break q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break p;default:break r}}if(g){break p}j[b+24>>2]=f;break p}f=f+1|0}g=k[f|0];if(g){continue}break}break p}c=j[b+364>>2];if(!c){break p}j[b+20>>2]=c}j[b+28>>2]=0;j[b+32>>2]=0;j[a+16>>2]=9;z=a,A=Kf(j[j[b+96>>2]+4>>2],204104),j[z+36>>2]=A;j[a+20>>2]=j[b+492>>2];j[a+24>>2]=j[b+496>>2];if(d){j[a+44>>2]=e;j[a+40>>2]=d;j[a+16>>2]=25}f=Jm(j[j[b+96>>2]+4>>2],a+16|0,0,w);if(f){break a}ds(j[j[b+500>>2]+88>>2]);c=j[b+500>>2];d=j[c+56>>2];j[b+52>>2]=j[c+52>>2];j[b+56>>2]=d;d=j[c+64>>2];j[b+60>>2]=j[c+60>>2];j[b+64>>2]=d;i[b+68>>1]=l[c+68>>1];i[b+70>>1]=l[c+70>>1];i[b+72>>1]=l[c+72>>1];i[b+74>>1]=l[c+74>>1];i[b+76>>1]=l[c+76>>1];i[b+78>>1]=l[c+78>>1];i[b+80>>1]=l[b+158>>1];i[b+82>>1]=l[b+160>>1];d=j[b+152>>2]!=0;j[b+12>>2]=d;if(k[c+12|0]&2){j[b+12>>2]=d|2}if(k[c+8|0]&32){j[b+8>>2]=j[b+8>>2]|32}if(!x){f=0;break a}c=j[s+20>>2];j[a+16>>2]=b;j[a+20>>2]=1970170211;j[a+24>>2]=65539;f=qg(j[c+12>>2],0,a+16|0,0);if((f&255)!=163?f:0){break a}i[a+24>>1]=7;f=0;s:{t:{switch(j[b+368>>2]-1|0){case 1:i[a+26>>1]=0;j[a+20>>2]=1094995778;break s;case 3:i[a+26>>1]=1;j[a+20>>2]=1094992453;c=c+4|0;break s;case 0:i[a+26>>1]=2;j[a+20>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;i[a+26>>1]=3;j[a+20>>2]=1818326065}b=j[c>>2];if(!b){break a}f=qg(b,0,a+16|0,0)}oe=a+336|0;return f|0}function rA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;g=oe-80|0;oe=g;j[g+60>>2]=0;j[g+56>>2]=0;j[g+52>>2]=0;a:{if((eh(21,g+60|0)|0)<0){break a}if((eh(17,g+56|0)|0)<0){break a}b:{if((eh(18,g+52|0)|0)<0){break b}i=Ni(a);l=!(i&2)|j[g+60>>2]!=4|j[g+56>>2]<2;c:{if(l){$h(21,4);$h(17,2);$h(18,0);if((on(a,i|2)|0)<0){break c}}f=Xe(1,440);d:{if(!f){Be(0);break d}d=Xe(1,492);if(!d){if(f){qe[j[57975]](f);j[57976]=j[57976]-1}Be(0);break d}Ae(f+104|0,231396,84);j[f+436>>2]=d;j[f+108>>2]=10;j[f+188>>2]=a;e=Vu(a);j[d>>2]=e;e:{if(!e){break e}if((tg(a,e)|0)<=-1){Fk(j[d>>2]);break e}e=74358;c=Se(74358);j[d+8>>2]=c;f:{g:{if(!c){break g}e=74410;c=Se(74410);j[d+12>>2]=c;if(!c){break g}e=74425;c=Se(74425);j[d+16>>2]=c;if(!c){break g}e=74446;c=Se(74446);j[d+20>>2]=c;if(!c){break g}e=74460;c=Se(74460);j[d+24>>2]=c;if(!c){break g}e=74484;c=Se(74484);j[d+28>>2]=c;if(!c){break g}e=74504;c=Se(74504);j[d+32>>2]=c;if(!c){break g}e=74512;c=Se(74512);j[d+36>>2]=c;if(!c){break g}e=74525;c=Se(74525);j[d+40>>2]=c;if(!c){break g}e=74541;c=Se(74541);j[d+44>>2]=c;if(!c){break g}e=74557;c=Se(74557);j[d+48>>2]=c;if(!c){break g}e=74572;c=Se(74572);j[d+52>>2]=c;if(!c){break g}e=74588;c=Se(74588);j[d+56>>2]=c;if(!c){break g}e=74603;c=Se(74603);j[d+60>>2]=c;if(!c){break g}e=74620;c=Se(74620);j[d+64>>2]=c;if(!c){break g}e=74630;c=Se(74630);j[d+68>>2]=c;if(!c){break g}e=74657;c=Se(74657);j[d+72>>2]=c;if(!c){break g}e=74670;c=Se(74670);j[d+76>>2]=c;if(!c){break g}e=74679;c=Se(74679);j[d+80>>2]=c;if(!c){break g}e=74705;c=Se(74705);j[d+84>>2]=c;if(!c){break g}e=74714;c=Se(74714);j[d+88>>2]=c;if(!c){break g}e=74732;c=Se(74732);j[d+92>>2]=c;if(!c){break g}e=74746;c=Se(74746);j[d+96>>2]=c;if(!c){break g}e=74760;c=Se(74760);j[d+100>>2]=c;if(!c){break g}e=74772;c=Se(74772);j[d+104>>2]=c;if(!c){break g}e=74783;c=Se(74783);j[d+108>>2]=c;if(!c){break g}e=74797;c=Se(74797);j[d+112>>2]=c;if(!c){break g}e=74812;c=Se(74812);j[d+116>>2]=c;if(!c){break g}e=74831;c=Se(74831);j[d+120>>2]=c;if(!c){break g}e=74845;c=Se(74845);j[d+124>>2]=c;if(!c){break g}e=74866;c=Se(74866);j[d+128>>2]=c;if(!c){break g}e=74880;c=Se(74880);j[d+132>>2]=c;if(!c){break g}e=74894;c=Se(74894);j[d+136>>2]=c;if(!c){break g}e=74907;c=Se(74907);j[d+140>>2]=c;if(!c){break g}e=74917;c=Se(74917);j[d+144>>2]=c;if(!c){break g}e=74932;c=Se(74932);j[d+148>>2]=c;if(!c){break g}e=74947;c=Se(74947);j[d+152>>2]=c;if(!c){break g}e=74960;c=Se(74960);j[d+156>>2]=c;if(!c){break g}e=74976;c=Se(74976);j[d+160>>2]=c;if(!c){break g}e=74992;c=Se(74992);j[d+164>>2]=c;if(!c){break g}e=75004;c=Se(75004);j[d+168>>2]=c;if(!c){break g}e=75016;c=Se(75016);j[d+172>>2]=c;if(!c){break g}e=75035;c=Se(75035);j[d+176>>2]=c;if(!c){break g}e=75048;c=Se(75048);j[d+180>>2]=c;if(!c){break g}e=75070;c=Se(75070);j[d+184>>2]=c;if(!c){break g}e=75081;c=Se(75081);j[d+188>>2]=c;if(!c){break g}e=75099;c=Se(75099);j[d+192>>2]=c;if(!c){break g}e=75122;c=Se(75122);j[d+196>>2]=c;if(!c){break g}e=75147;c=Se(75147);j[d+200>>2]=c;if(!c){break g}e=75168;c=Se(75168);j[d+204>>2]=c;if(!c){break g}e=75188;c=Se(75188);j[d+208>>2]=c;if(!c){break g}e=75208;c=Se(75208);j[d+212>>2]=c;if(!c){break g}e=75221;c=Se(75221);j[d+216>>2]=c;if(!c){break g}e=75237;c=Se(75237);j[d+220>>2]=c;if(!c){break g}e=75250;c=Se(75250);j[d+224>>2]=c;if(!c){break g}e=75263;c=Se(75263);j[d+228>>2]=c;if(c){break f}}m=g,n=Jg(),j[m+36>>2]=n;j[g+32>>2]=e;if((ve(74374,g+32|0)|0)>-1){break f}Fk(j[d>>2]);break e}Tu(b>>>2&1);if((Su()|0)>=1){j[f+108>>2]=j[f+108>>2]|4}if(!(eh(20,g- -64|0)|!(h[g+64|0]&1))){j[d+4>>2]=1}j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+180>>2]=j[g+64>>2];j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+184>>2]=j[g+64>>2];qe[j[d+108>>2]](36345,g+76|0);qe[j[d+96>>2]](36346,g+75|0);b=j[g+76>>2];if(k[g+75|0]){b=b+1|0;j[g+76>>2]=b}b=Xe(b,4);j[d+244>>2]=b;if(!b){io(f);Be(0);break d}j[d+240>>2]=j[g+76>>2];qe[j[d+108>>2]](36344,b);if(k[g+75|0]){j[(j[d+244>>2]+(j[g+76>>2]<<2)|0)-4>>2]=-1}qe[j[d+212>>2]](8,d+272|0);j[d+232>>2]=0;qe[j[d+108>>2]](36006,g+68|0);j[d+236>>2]=j[g+68>>2];j[f+68>>2]=191;j[f+64>>2]=192;j[f+60>>2]=193;j[f+56>>2]=194;j[f+52>>2]=195;j[f+16>>2]=196;j[f+12>>2]=197;j[f+8>>2]=198;j[f+4>>2]=199;j[f+92>>2]=200;j[f+88>>2]=201;j[f+84>>2]=202;j[f+80>>2]=203;j[f+76>>2]=204;j[f+72>>2]=205;j[f+48>>2]=206;j[f+44>>2]=207;j[f+40>>2]=208;j[f+36>>2]=209;j[f+32>>2]=210;j[f+28>>2]=210;j[f+24>>2]=211;j[f+20>>2]=211;a=j[f+112>>2];j[f+112>>2]=a+1;b=a<<2;a=f+116|0;j[b+a>>2]=842094169;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=1448433993;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=842094158;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=825382478;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=542328143;qe[j[d+8>>2]](33984);qe[j[d+132>>2]](3333,1);qe[j[d+132>>2]](3317,1);qe[j[d+80>>2]](0);qe[j[d+68>>2]](1);qe[j[d+36>>2]](q(1),q(1),q(1),q(1));j[d+488>>2]=1065353216;j[d+476>>2]=-1082130432;j[d+408>>2]=-1;j[d+412>>2]=-1;j[d+368>>2]=2147483647;d=j[f+436>>2];if(!j[d+4>>2]){break a}b=qe[j[d+104>>2]]()|0;if(!b){break a}a=74205;while(1){a=k[a|0]?a:75958;e=76063;i=b-1280|0;if(i>>>0<=5){e=j[(i<<2)+76072>>2]}j[g+20>>2]=b;j[g+16>>2]=e;j[g+12>>2]=74337;j[g+8>>2]=2107;j[g+4>>2]=74206;j[g>>2]=a;ve(75966,g);b=qe[j[d+104>>2]]()|0;if(b){continue}break}break a}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}if(!l){break b}}$h(21,j[g+60>>2]);$h(17,j[g+56>>2]);$h(18,j[g+52>>2]);on(a,i)}f=0}oe=g+80|0;return f|0}function lD(a){var b=0;b=1090;a:{if(!we(a,228420)){break a}b=1091;if(!we(a,228436)){break a}b=1092;if(!we(a,228451)){break a}b=1093;if(!we(a,228472)){break a}b=1094;if(!we(a,228485)){break a}b=1095;if(!we(a,228503)){break a}b=1096;if(!we(a,228522)){break a}b=1097;if(!we(a,228536)){break a}b=1098;if(!we(a,228549)){break a}b=1099;if(!we(a,228565)){break a}b=1100;if(!we(a,228589)){break a}b=1101;if(!we(a,228601)){break a}b=1102;if(!we(a,228621)){break a}b=1103;if(!we(a,228634)){break a}b=1104;if(!we(a,228650)){break a}b=1105;if(!we(a,228675)){break a}b=1106;if(!we(a,228683)){break a}b=1107;if(!we(a,228696)){break a}b=1108;if(!we(a,228710)){break a}b=1109;if(!we(a,228725)){break a}b=1110;if(!we(a,228737)){break a}b=1111;if(!we(a,228753)){break a}b=1112;if(!we(a,228776)){break a}b=1113;if(!we(a,228802)){break a}b=1114;if(!we(a,228819)){break a}b=1115;if(!we(a,228839)){break a}b=1116;if(!we(a,228855)){break a}b=1117;if(!we(a,228870)){break a}b=1118;if(!we(a,228881)){break a}b=1119;if(!we(a,228897)){break a}b=1120;if(!we(a,228918)){break a}b=1121;if(!we(a,228934)){break a}b=1122;if(!we(a,228956)){break a}b=1123;if(!we(a,228971)){break a}b=1124;if(!we(a,228988)){break a}b=1125;if(!we(a,229e3)){break a}b=1126;if(!we(a,229012)){break a}b=1127;if(!we(a,229026)){break a}b=1128;if(!we(a,229041)){break a}b=1129;if(!we(a,229051)){break a}b=1130;if(!we(a,229078)){break a}b=1131;if(!we(a,229091)){break a}b=1132;if(!we(a,229106)){break a}b=1133;if(!we(a,229115)){break a}b=1134;if(!we(a,229141)){break a}b=1135;if(!we(a,229150)){break a}b=1136;if(!we(a,229158)){break a}b=1137;if(!we(a,229184)){break a}b=1138;if(!we(a,229207)){break a}b=1139;if(!we(a,229219)){break a}b=1140;if(!we(a,229232)){break a}b=1141;if(!we(a,229249)){break a}b=1142;if(!we(a,229267)){break a}b=1143;if(!we(a,229286)){break a}b=1144;if(!we(a,229300)){break a}b=1145;if(!we(a,229318)){break a}b=1146;if(!we(a,229337)){break a}b=1147;if(!we(a,229358)){break a}b=1148;if(!we(a,229378)){break a}b=1149;if(!we(a,229392)){break a}b=1150;if(!we(a,229415)){break a}b=1151;if(!we(a,229426)){break a}b=1152;if(!we(a,229438)){break a}b=1153;if(!we(a,229476)){break a}b=1154;if(!we(a,229490)){break a}b=1155;if(!we(a,229505)){break a}b=1156;if(!we(a,229525)){break a}b=1157;if(!we(a,229554)){break a}b=1158;if(!we(a,229568)){break a}b=1159;if(!we(a,229587)){break a}b=1160;if(!we(a,229614)){break a}b=1161;if(!we(a,229632)){break a}b=1162;if(!we(a,229644)){break a}b=1163;if(!we(a,229664)){break a}b=1164;if(!we(a,229684)){break a}b=1165;if(!we(a,229699)){break a}b=1166;if(!we(a,229714)){break a}b=1167;if(!we(a,229735)){break a}b=1168;if(!we(a,229755)){break a}b=1169;if(!we(a,229775)){break a}b=1170;if(!we(a,229801)){break a}b=1171;if(!we(a,229808)){break a}b=1172;if(!we(a,229819)){break a}b=1173;if(!we(a,229831)){break a}b=1174;if(!we(a,229847)){break a}b=1175;if(!we(a,229859)){break a}b=1176;if(!we(a,229876)){break a}b=1177;if(!we(a,229887)){break a}b=1178;if(!we(a,229899)){break a}b=1179;if(!we(a,229911)){break a}b=1180;if(!we(a,229925)){break a}b=1181;if(!we(a,229939)){break a}b=1182;if(!we(a,229955)){break a}b=1183;if(!we(a,229968)){break a}b=1184;if(!we(a,229992)){break a}b=1185;if(!we(a,230014)){break a}b=1186;if(!we(a,230031)){break a}b=1187;if(!we(a,230041)){break a}b=1188;if(!we(a,230056)){break a}b=1189;if(!we(a,230071)){break a}b=1190;if(!we(a,230085)){break a}b=1191;if(!we(a,230107)){break a}b=1192;if(!we(a,230121)){break a}b=1193;if(!we(a,230143)){break a}b=1194;if(!we(a,230155)){break a}b=1195;if(!we(a,230175)){break a}b=1196;if(!we(a,230188)){break a}b=1197;if(!we(a,230204)){break a}b=1198;if(!we(a,230221)){break a}b=1199;if(!we(a,230237)){break a}b=1200;if(!we(a,230254)){break a}b=1201;if(!we(a,230270)){break a}b=1202;if(!we(a,230282)){break a}b=1203;if(!we(a,230295)){break a}b=1204;if(!we(a,230307)){break a}b=1205;if(!we(a,230320)){break a}b=1206;if(!we(a,230332)){break a}b=1207;if(!we(a,230345)){break a}b=1208;if(!we(a,230357)){break a}b=1209;if(!we(a,230370)){break a}b=1210;if(!we(a,230382)){break a}b=1211;if(!we(a,230395)){break a}b=1212;if(!we(a,230407)){break a}b=1213;if(!we(a,230420)){break a}b=1214;if(!we(a,230432)){break a}b=1215;if(!we(a,230445)){break a}b=1216;if(!we(a,230457)){break a}b=1217;if(!we(a,230470)){break a}b=1218;if(!we(a,230489)){break a}b=1219;if(!we(a,230508)){break a}b=1220;if(!we(a,230527)){break a}b=1221;if(!we(a,230540)){break a}b=1222;if(!we(a,230558)){break a}b=1223;if(!we(a,230575)){break a}b=1224;if(!we(a,230593)){break a}b=1225;if(!we(a,230610)){break a}b=1226;if(!we(a,230628)){break a}b=1227;if(!we(a,230645)){break a}b=1228;if(!we(a,230663)){break a}b=1229;if(!we(a,230680)){break a}b=1230;if(!we(a,230698)){break a}b=1231;if(!we(a,230720)){break a}b=1071;if(!we(a,230731)){break a}b=1072;if(!we(a,230747)){break a}b=1073;if(!we(a,230766)){break a}b=1074;if(!we(a,230779)){break a}b=1075;if(!we(a,230795)){break a}b=1076;if(!we(a,230809)){break a}b=1077;if(!we(a,230827)){break a}b=1078;if(!we(a,230843)){break a}b=1079;if(!we(a,230865)){break a}b=1080;if(!we(a,230888)){break a}b=1081;if(!we(a,230912)){break a}b=1082;if(!we(a,230937)){break a}b=1083;if(!we(a,230958)){break a}b=1084;if(!we(a,230982)){break a}b=1085;if(!we(a,231003)){break a}b=1086;if(!we(a,231022)){break a}b=1087;if(!we(a,231041)){break a}b=1088;if(!we(a,231068)){break a}b=0;if(we(a,231097)){break a}b=1089}return b}function Hj(a){var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=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;if(k[a|0]&2){ei(a,1)}d=-1;f=j[a+4>>2];l=k[f+8|0];a:{if(!j[a+20>>2]|l>>>0<8){break a}c=j[a+52>>2];b=j[c+68>>2];if(!(b&272)|b&1|(b&608|(j[f+24>>2]?b&2:0))){break a}b:{if(!(j[f+24>>2]?b&16:0)){if(!j[c+4>>2]){break a}c:{d:{e:{f:{g:{g=k[f+9|0];switch(g-1|0){case 1:case 2:break f;case 0:break g;case 3:break e;default:break a}}m=p(j[a+12>>2],3);b=2;f=(j[a+8>>2]/2|0)+1|0;break c}b=j[a+8>>2];m=(p(b,g)+((b|0)/255<<1)|0)+2|0;b=2;break d}b=j[a+8>>2];m=(((b|0)/65535|0)+b<<2)+4|0;b=4}f=j[a+12>>2]}b=p(f,m)+b|0;e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}h:{if(e){u=e;z=j[a+12>>2];if((z|0)>=1){v=j[j[a+4>>2]+24>>2]^-1;w=v&j[j[a+52>>2]+72>>2];n=(g|0)==4?65535:255;x=j[(g<<2)+86764>>2];o=j[a+8>>2];m=j[a+20>>2];y=(g|0)!=4;d=e;u=d;while(1){b=0;r=0;while(1){l=b;i:{j:{if((b|0)>=(o|0)){break j}while(1){if((w|0)!=(qe[x|0](p(g,l)+m|0)&v)){break j}l=l+1|0;if((o|0)!=(l|0)){continue}break}s=0;l=o;f=l;break i}s=0;if((l|0)>=(o|0)){f=l;break i}s=1;c=l;if((w|0)==(qe[x|0](p(g,c)+m|0)&v)){f=l;break i}k:{l:{while(1){c=c+1|0;if((o|0)==(c|0)){break l}if((w|0)!=(qe[x|0](p(c,g)+m|0)&v)){continue}break}f=c;break k}f=o}s=(c|0)<(o|0)}b=l-b|0;c=b;if((b|0)>(n|0)){while(1){m:{if(!y){i[d+2>>1]=0;i[d>>1]=n;t=4;break m}h[d|0]=255;h[d+1|0]=0;t=2}d=t+d|0;c=c-n|0;if((n|0)<(c|0)){continue}break}}t=f-l|0;q=(n|0)>(t|0)?t:n;r=(b|0)==(o|0)?1:r;n:{if(!y){i[d+2>>1]=q;i[d>>1]=c;b=4;break n}h[d+1|0]=q;h[d|0]=c;b=2}b=b+d|0;c=p(g,q);Ge(b,p(g,l)+m|0,c);d=b+c|0;b=t-q|0;if(b){l=l+q|0;while(1){c=(b|0)<(n|0)?b:n;o:{if(!y){i[d+2>>1]=c;i[d>>1]=0;t=4;break o}h[d+1|0]=c;h[d|0]=0;t=2}d=t+d|0;q=p(c,g);Ge(d,p(g,l)+m|0,q);d=d+q|0;l=c+l|0;b=b-c|0;if(b){continue}break}}u=r?u:d;b=f;if(s){continue}break}m=j[a+16>>2]+m|0;A=A+1|0;if((A|0)!=(z|0)){continue}break}}p:{if((g|0)==4){i[u>>1]=0;i[u+2>>1]=0;b=4;break p}h[u|0]=0;h[u+1|0]=0;b=2}if(!(h[a|0]&1)){f=j[a+20>>2];if(f){f=j[f-4>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(e,(b+u|0)-e|0);d=j[a+52>>2];j[d+12>>2]=b?b:e;break h}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=257;b=8192;break b}b=j[c>>2];if(!b|(l|0)!=32){break a}g=j[b+4>>2];f=j[g+16>>2];c=j[g+12>>2];l=j[g+20>>2];b=f|c|l;q:{r:{switch(k[g+9|0]-2|0){case 0:s:{if((b|0)!=32767){if((b|0)!=65535){break a}w=258;if((c|0)==2016|(f|0)==2016|(l|0)==2016){break s}break a}w=259;if((c|0)==992|(f|0)==992){break s}if((l|0)!=992){break a}}x=260;b=p(j[a+12>>2],p(j[a+8>>2],6)+8|0)+2|0;break q;case 2:break r;default:break a}}if((b|0)!=16777215){break a}x=261;w=261;b=p(j[a+12>>2],j[a+8>>2]+1|0)<<3|4}b=b+28|0;n=qe[j[57972]](b?b:1)|0;if(n){j[57976]=j[57976]+1}t:{if(n){d=k[g+9|0];h[n|0]=d;j[n+4>>2]=j[g+12>>2];j[n+8>>2]=j[g+16>>2];j[n+12>>2]=j[g+20>>2];j[n+16>>2]=j[g+24>>2];h[n+20|0]=k[g+28|0];h[n+21|0]=k[g+29|0];h[n+22|0]=k[g+30|0];h[n+23|0]=k[g+31|0];h[n+24|0]=k[g+32|0];h[n+25|0]=k[g+33|0];h[n+26|0]=k[g+34|0];h[n+27|0]=k[g+35|0];s=n+28|0;y=j[a+12>>2];if((y|0)>=1){q=j[a+4>>2];o=j[a+8>>2];l=j[a+20>>2];d=s;while(1){e=0;v=0;while(1){u:{v:{b=e;if((o|0)<=(b|0)){break v}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)==255){break v}b=b+1|0;if((o|0)!=(b|0)){continue}break}f=0;b=o;r=b;break u}f=0;if((b|0)>=(o|0)){r=b;break u}f=1;c=b;r=j[q+24>>2];m=k[q+35|0];if(((r&j[(b<<2)+l>>2])>>>m|0)!=255){r=b;break u}w:{x:{while(1){c=c+1|0;if((o|0)==(c|0)){break x}if(((r&j[(c<<2)+l>>2])>>>m|0)==255){continue}break}r=c;break w}r=o}f=(c|0)<(o|0)}t=b-e|0;c=t;if((c|0)>=256){while(1){y:{if(k[g+9|0]==4){i[d>>1]=255;i[d+2>>1]=0;e=4;break y}h[d|0]=255;h[d+1|0]=0;e=2}d=e+d|0;e=(c|0)>510;c=c-255|0;if(e){continue}break}}m=r-b|0;e=(m|0)<255?m:255;z:{if(k[g+9|0]==4){i[d+2>>1]=e;i[d>>1]=c;c=4;break z}h[d+1|0]=e;h[d|0]=c;c=2}c=c+d|0;d=(qe[x|0](c,(b<<2)+l|0,e,q,g)|0)+c|0;m=m-e|0;if(m){b=b+e|0;while(1){c=(m|0)<255?m:255;A:{if(k[g+9|0]==4){i[d+2>>1]=c;i[d>>1]=0;e=4;break A}h[d+1|0]=c;h[d|0]=0;e=2}e=e+d|0;d=(qe[x|0](e,(b<<2)+l|0,c,q,g)|0)+e|0;b=b+c|0;m=m-c|0;if(m){continue}break}}v=(o|0)==(t|0)?1:v;e=r;if(f){continue}break}d=(d&2)+d|0;e=0;while(1){B:{C:{b=e;if((o|0)<=(b|0)){break C}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)-1>>>0<254){break C}b=b+1|0;if((o|0)!=(b|0)){continue}break}r=0;b=o;f=b;break B}r=0;if((b|0)>=(o|0)){f=b;break B}r=1;c=b;f=j[q+24>>2];m=k[q+35|0];if(((f&j[(b<<2)+l>>2])>>>m|0)-1>>>0>=254){f=b;break B}D:{E:{while(1){c=c+1|0;if((o|0)==(c|0)){break E}if(((f&j[(c<<2)+l>>2])>>>m|0)-1>>>0<=253){continue}break}f=c;break D}f=o}r=(c|0)<(o|0)}c=b-e|0;e=(o|0)==(c|0);if((c|0)>=65536){while(1){i[d>>1]=65535;i[d+2>>1]=0;d=d+4|0;m=(c|0)>131070;c=c-65535|0;if(m){continue}break}}v=e&v;i[d>>1]=c;c=f-b|0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;c=c-e|0;if(c){b=b+e|0;while(1){i[d>>1]=0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;b=b+e|0;c=c-e|0;if(c){continue}break}}s=v?s:d;e=f;if(r){continue}break}l=(j[a+16>>2]&-4)+l|0;u=u+1|0;if((y|0)!=(u|0)){continue}break}d=k[g+9|0]}c=4;F:{if((d&255)==4){i[s>>1]=0;i[s+2>>1]=0;break F}h[s|0]=0;h[s+1|0]=0;c=2}if(!(h[a|0]&1)){b=j[a+20>>2];if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(n,(c+s|0)-n|0);d=j[a+52>>2];j[d+12>>2]=b?b:n;break t}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=262;b=16384}j[d+8>>2]=m;j[d+68>>2]=b|j[d+68>>2];j[a>>2]=j[a>>2]|2;d=0}return d}function dr(a,b,c){var d=0,e=q(0),f=q(0),g=q(0),h=0,i=0,k=q(0),l=q(0),m=q(0),o=0,r=q(0),s=q(0),t=q(0),u=q(0),v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=q(0),B=q(0),C=q(0),D=q(0),E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0),S=q(0),T=q(0),U=q(0),V=q(0),W=q(0),X=q(0),Y=q(0),Z=q(0),_=q(0),$=q(0),aa=q(0),ba=q(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=q(0),ia=q(0),ja=q(0),ka=q(0),la=q(0),ma=q(0),na=q(0),oa=q(0),pa=q(0),qa=q(0),ra=q(0),sa=q(0),ta=q(0),ua=q(0),va=0,wa=0,xa=0,ya=0;o=j[a+4>>2];a:{if((o|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=j[a+8>>2];a=ga;while(1){k=n[h+28>>2];i=d-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=d-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+28>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);k=n[h+20>>2];i=d-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=d-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);e=q(e-g);n[h+16>>2]=q(f*n[a+20>>2])+q(e*n[a+16>>2]);n[h+20>>2]=q(f*n[a+16>>2])-q(e*n[a+20>>2]);k=n[h+12>>2];i=d-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=d-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);e=q(e-g);n[h+8>>2]=q(f*n[a+36>>2])+q(e*n[a+32>>2]);n[h+12>>2]=q(f*n[a+32>>2])-q(e*n[a+36>>2]);k=n[h+4>>2];i=d-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;d=d-28|0;f=n[d>>2];n[d>>2]=f+n[h+4>>2];f=q(f-k);e=q(e-g);n[h>>2]=q(f*n[a+52>>2])+q(e*n[a+48>>2]);n[h+4>>2]=q(f*n[a+48>>2])-q(e*n[a+52>>2]);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((o|0)<8){break a}va=o-6|0;o=1;while(1){if((o|0)!=31){a=1<1?a:1;xa=4<>o;ya=ea>>1;ca=0;while(1){fa=(p(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){k=n[h+28>>2];i=a-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=a-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+28>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+20>>2];i=a-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=a-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);da=xa<<2;d=da+d|0;e=q(e-g);n[h+16>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+20>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+12>>2];i=a-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=a-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);d=d+da|0;e=q(e-g);n[h+8>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+12>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+4>>2];i=a-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;a=a-28|0;f=n[a>>2];n[a>>2]=f+n[h+4>>2];f=q(f-k);a=d+da|0;e=q(e-g);n[h>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+4>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);d=a+da|0;a=i;h=h-32|0;if(fa>>>0<=h>>>0){continue}break}ca=ca+1|0;if((wa|0)!=(ca|0)){continue}break}}o=o+1|0;if((va|0)!=(o|0)){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=n[d+60>>2];f=n[d+124>>2];k=n[d+24>>2];g=n[d+88>>2];r=n[d+120>>2];w=n[d+56>>2];l=q(r-w);x=n[d+28>>2];s=n[d+92>>2];y=q(x-s);t=q(l+y);I=n[d+104>>2];J=n[d+40>>2];u=q(I-J);K=n[d+108>>2];z=n[d+44>>2];v=q(K-z);L=q(q(u-v)*q(.7071067690849304));M=n[d+8>>2];N=n[d+72>>2];m=q(M-N);A=n[d+12>>2];O=n[d+76>>2];B=q(A-O);P=q(q(m+B)*q(.7071067690849304));C=q(L+P);Q=q(t+C);D=n[d+112>>2];R=n[d+48>>2];E=q(D-R);S=n[d+116>>2];T=n[d+52>>2];F=q(S-T);ha=q(q(E*q(.9238795042037964))-q(F*q(.3826834261417389)));U=n[d+16>>2];V=n[d+80>>2];W=q(U-V);X=n[d+20>>2];Y=n[d+84>>2];Z=q(X-Y);ia=q(q(W*q(.3826834261417389))+q(Z*q(.9238795042037964)));G=q(ha+ia);_=n[d+96>>2];$=n[d+32>>2];H=q(_-$);ja=n[d+100>>2];ka=n[d+36>>2];aa=q(ja-ka);la=q(q(H*q(.3826834261417389))-q(aa*q(.9238795042037964)));ma=n[d>>2];na=n[d+64>>2];oa=q(ma-na);pa=n[d+4>>2];qa=n[d+68>>2];ra=q(pa-qa);sa=q(q(oa*q(.9238795042037964))+q(ra*q(.3826834261417389)));ta=q(la+sa);ba=q(G+ta);n[d+56>>2]=Q+ba;n[d+48>>2]=Q-ba;Q=q(f-e);ba=q(g-k);ua=q(Q+ba);u=q(q(u+v)*q(.7071067690849304));v=q(q(B-m)*q(.7071067690849304));m=q(u+v);B=q(ua-m);G=q(G-ta);n[d+44>>2]=B+G;t=q(t-C);C=q(q(E*q(.3826834261417389))+q(F*q(.9238795042037964)));E=q(q(Z*q(.3826834261417389))-q(W*q(.9238795042037964)));F=q(C+E);W=q(q(H*q(.9238795042037964))+q(aa*q(.3826834261417389)));Z=q(q(ra*q(.9238795042037964))-q(oa*q(.3826834261417389)));H=q(W+Z);aa=q(F-H);n[d+40>>2]=t-aa;n[d+32>>2]=t+aa;t=q(ua+m);m=q(F+H);n[d+60>>2]=t+m;n[d+36>>2]=B-G;r=q(r+w);k=q(g+k);g=q(r-k);w=q(A+O);K=q(K+z);z=q(w-K);A=q(g+z);O=q(D+R);B=q(U+V);D=q(O-B);R=q(S+T);S=q(X+Y);T=q(R-S);F=q(q(D-T)*q(.7071067690849304));U=q(ma+na);V=q(_+$);X=q(U-V);Y=q(pa+qa);G=q(ja+ka);_=q(Y-G);$=q(q(X+_)*q(.7071067690849304));H=q(F+$);n[d+88>>2]=A+H;n[d+52>>2]=t-m;n[d+80>>2]=A-H;e=q(f+e);f=q(x+s);x=q(e-f);s=q(I+J);t=q(M+N);I=q(s-t);J=q(x-I);M=q(F-$);n[d+76>>2]=J+M;g=q(g-z);z=q(q(D+T)*q(.7071067690849304));N=q(q(_-X)*q(.7071067690849304));m=q(z-N);n[d+72>>2]=g-m;n[d+64>>2]=g+m;g=q(l-y);l=q(v-u);y=q(g+l);u=q(ha-ia);v=q(C-E);m=q(q(u-v)*q(.7071067690849304));A=q(Z-W);C=q(sa-la);D=q(q(A+C)*q(.7071067690849304));E=q(m+D);n[d+16>>2]=y-E;n[d+24>>2]=y+E;y=q(Q-ba);L=q(L-P);P=q(y-L);m=q(m-D);n[d+12>>2]=P+m;g=q(g-l);l=q(q(u+v)*q(.7071067690849304));u=q(q(A-C)*q(.7071067690849304));v=q(l-u);n[d+8>>2]=g-v;n[d>>2]=g+v;g=q(y+L);l=q(l+u);n[d+28>>2]=g+l;n[d+4>>2]=P-m;n[d+20>>2]=g-l;g=q(x+I);l=q(z+N);n[d+92>>2]=g+l;n[d+68>>2]=J-M;n[d+84>>2]=g-l;k=q(r+k);g=q(s+t);r=q(k+g);l=q(O+B);x=q(V+U);s=q(l+x);n[d+120>>2]=r+s;n[d+112>>2]=r-s;k=q(k-g);g=q(R+S);r=q(G+Y);s=q(g-r);n[d+96>>2]=k+s;n[d+104>>2]=k-s;e=q(e+f);f=q(K+w);k=q(e-f);w=q(l-x);n[d+108>>2]=k+w;n[d+100>>2]=k-w;e=q(e+f);f=q(g+r);n[d+124>>2]=e+f;n[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=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;C=oe-80|0;oe=C;g=Ji(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=Um(a,j[c+52>>2],c+56|0,0);if(g){break a}d=j[a+2980>>2]}b:{if(d&2){break b}g=Um(a,j[c+1624>>2],c+1628|0,1);if(g){break a}d=j[a+1524>>2];if((d|0)<1){break b}f=j[a+1532>>2];u=f+p(d,48)|0;q=j[c+1616>>2];while(1){d=ye(m[c+40>>2]/40|0,q);c:{if(!j[c+1832>>2]){break c}s=(d|0)<32?d:32;d=0;g=0;v=0;while(1){o=p(d,28)+c|0;e=j[o+1860>>2];d:{if(!(e&1)){break d}n=e>>>2&1;z=e&2;if(z>>>1^j[a+1536>>2]!=h[f+13|0]?!n:0){break d}A=o+1836|0;y=i[f>>1]-j[A>>2]|0;e=y>>31;y=ye(e^e+y,q);e=(y|0)<(s|0);s=e?y:s;g=e?A:g;v=e?n:v;if(!(h[f+12|0]&1)|(!y|n)){break d}e=i[f>>1];if((z|0)!=0^(e|0)>=j[A>>2]){break d}n=e;e=o+1848|0;z=n-j[e>>2]|0;o=z>>31;o=ye(o^o+z,q);if((o|0)>=(s|0)){break d}v=0;s=o;g=e}d=d+1|0;if(d>>>0>2]){continue}break}if(!g){break c}j[f+20>>2]=g;if(!(v&255)){break c}h[f+12|0]=k[f+12|0]|8}f=f+48|0;if(u>>>0>f>>>0){continue}break}}d=1;v=0;while(1){e:{z=d;f:{g:{if(d){d=j[a+2980>>2];if(!(d&8|j[c+24>>2]!=1)){Tm(C+16|0,a,C+12|0,C+8|0);e=j[a+24>>2];if((e|0)<1){break f}d=j[a+28>>2];e=d+p(e,40)|0;g=j[C+8>>2];o=j[C+12>>2];while(1){F=d,G=ye(i[d+12>>1],o)+g|0,j[F+16>>2]=G;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(k[a+2980|0]&2){break e}}y=p(v,1468)+a|0;o=j[y- -64>>2];u=j[y+56>>2];A=o+p(u,48)|0;s=0;d=o;q=0;D=(u|0)<1;if(!((D|v^-1)&1)){while(1){g=k[d+12|0];h:{if(g&4){break h}e=j[d+24>>2];f=j[d+20>>2];i:{j:{if(!e|!f){break j}if(!j[e+20>>2]){g=d;break i}n=k[e+12|0];if(n&8){j[e+20>>2]=0;h[e+12|0]=n&247;f=j[d+20>>2];break j}if(!(g&8)){g=d;break i}f=0;j[d+20>>2]=0;h[d+12|0]=g&247}if(!(!e|f)){f=j[e+20>>2];g=e;e=d;if(f){break i}break h}g=d;if(!f){break h}}f=j[f+8>>2];j[g+8>>2]=f;n=k[g+12|0]|4;h[g+12|0]=n;if(!(j[e+20>>2]|!e)){r=j[e+4>>2]-j[g+4>>2]|0;g=k[e+12|0];n=Hi(a,1,r,n,g);h[e+12|0]=g|4;j[e+8>>2]=f+n}q=q?q:d}d=d+48|0;if(A>>>0>d>>>0){continue}break}}d=o;if(!D){while(1){n=k[d+12|0];k:{if(n&4){break k}g=j[d+24>>2];if(!g){s=s+1|0;break k}if(j[g+20>>2]){e=Hi(a,v,j[d+4>>2]-j[g+4>>2]|0,k[g+12|0],n);g=j[g+8>>2];h[d+12|0]=n|4;j[d+8>>2]=e+g;break k}if(!q){f=j[d+4>>2];q=j[g+4>>2]-f|0;e=Hi(a,v,q,n,k[g+12|0]);l:{if((e|0)<=95){f=f+(q>>1)|0;w=f+32&-64;r=(e|0)<65;x=w+(r?-32:-38)|0;B=f-x|0;t=B>>31;r=w|(r?32:26);w=f-r|0;f=w>>31;f=((e|0)/-2|0)+((t^t+B)<(f^f+w)?x:r)|0;j[d+8>>2]=f;j[g+8>>2]=e+f;f=j[d+8>>2];break l}f=f+32&-64;j[d+8>>2]=f}e=n|4;h[d+12|0]=e;F=g,G=Hi(a,v,q,e,k[g+12|0])+f|0,j[F+8>>2]=G;q=d;break k}f=j[q+4>>2];t=j[q+8>>2];r=j[d+4>>2];x=j[g+4>>2]-r|0;w=k[g+12|0];e=Hi(a,v,x,n,w);m:{if(w&4){f=j[g+8>>2]-e|0;e=d;break m}t=t+(r-f|0)|0;f=t+(x>>1)|0;n:{if((e|0)<=95){r=f+32&-64;t=(e|0)<65;w=r+(t?-32:-38)|0;B=f-w|0;x=B>>31;t=r|(t?32:26);r=f-t|0;f=r>>31;f=(x^x+B)<(f^f+r)?w:t;e=(e|0)/2|0;j[d+8>>2]=f-e;f=e+f|0;break n}r=t+32|0;w=r&-64;B=e>>>1|0;E=(w+B|0)-f|0;t=E>>31;x=(r+x&-64)-e|0;r=x+(B-f|0)|0;f=r>>31;f=(t^t+E)<(f^f+r)?w:x;j[d+8>>2]=f;f=e+f|0}e=g}j[e+8>>2]=f;h[d+12|0]=n|4;h[g+12|0]=k[g+12|0]|4;if(d>>>0<=o>>>0){break k}e=j[d-40>>2];if((e|0)<=j[d+8>>2]){break k}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}o:{if(!z){break o}d=4;f=2;e=o;p:{switch(u-6|0){case 6:e=o+48|0;d=9;f=5;break;case 0:break p;default:break o}}f=o+p(f,48)|0;g=j[f+4>>2];d=o+p(d,48)|0;n=g-j[d+4>>2]+(g-j[e+4>>2])|0;g=n>>31;if((g^g+n)>7){break o}g=j[d+8>>2];e=(j[f+8>>2]<<1)-j[e+8>>2]|0;j[d+8>>2]=e;g=g-e|0;e=j[d+24>>2];if(e){j[e+8>>2]=j[e+8>>2]-g}if((u|0)==12){j[o+392>>2]=j[o+392>>2]-g;j[o+536>>2]=j[o+536>>2]-g}h[d+12|0]=k[d+12|0]|4;if(!e){break o}h[e+12|0]=k[e+12|0]|4}q:{if(D){break q}d=o;if(!(!q|(s|0)!=0)){break q}while(1){g=k[d+12|0];r:{if(g&4){break r}r=d;s:{t:{u:{e=j[d+28>>2];if(!e){break u}s=j[e+4>>2];n=j[d+4>>2];u=s-n|0;f=u>>31;if((f^f+u)>79){break u}s=j[e+8>>2]+(n-s|0)|0;break t}e=d;if(!q){e=j[d+4>>2]+32&-64;j[d+8>>2]=e;q=d;break s}while(1){s=e;e=e-48|0;u=o>>>0>e>>>0;if(k[s-36|0]&4?0:!u){continue}break}f=d;v:{while(1){n=f;f=f+48|0;if(A>>>0<=f>>>0){break v}if(!(k[n+60|0]&4)){continue}break}if(u|d>>>0>=f>>>0|d>>>0<=e>>>0){break v}e=j[s-40>>2];u=j[n+52>>2];f=j[s-44>>2];s=e;if((u|0)==(f|0)){break t}e=Ne(j[d+4>>2]-f|0,j[n+56>>2]-e|0,u-f|0)+e|0;j[d+8>>2]=e;g=k[d+12|0];break s}s=j[q+8>>2]+((j[d+4>>2]-j[q+4>>2]|0)+16&-32)|0}e=s;j[r+8>>2]=e}h[d+12|0]=g|4;w:{if(d>>>0<=o>>>0){break w}g=j[d-40>>2];if((g|0)<=(e|0)){break w}j[d+8>>2]=g;e=g}if(!(k[d+60|0]&4)|d+48>>>0>=A>>>0){break r}g=e;e=j[d+56>>2];if((g|0)<=(e|0)){break r}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}g=j[y+52>>2];d=j[y+44>>2];o=g+p(d,48)|0;x:{if(!z){if((d|0)<=0){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+20>>2]=f;i[d>>1]=l[d>>1]|8;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}break x}if((d|0)<1){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+16>>2]=f;i[d>>1]=l[d>>1]|4;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}}Sm(a,v);Rm(a,v)}v=1;d=0;if(z){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];a=d+p(c,40)|0;e=j[b+4>>2];f=j[b+8>>2];while(1){j[e>>2]=j[d+16>>2];j[e+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[f|0]=b&1?0:b&2?2:1;f=f+1|0;e=e+8|0;d=d+40|0;if(a>>>0>d>>>0){continue}break}}oe=C+80|0;return g|0}function SD(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,l=0,m=0,n=0,o=0,q=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;o=oe-560|0;oe=o;j[o+44>>2]=0;sP(+b);g=pP(1)|0;pP(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;sP(+b);g=pP(1)|0;pP(0)|0;w=227472;break a}B=1;w=227475;if(e&2048){break a}w=227478;if(e&1){break a}B=0;A=1;w=227473}b:{if((g&2146435072)==2146435072){n=B+3|0;Rf(a,32,c,n,e&-65537);Hf(a,w,B);d=f&32;Hf(a,b!=b?d?227499:227503:d?227491:227495,3);break b}x=o+16|0;c:{d:{e:{b=Hp(b,o+44|0);b=b+b;if(b!=0){g=j[o+44>>2];j[o+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}n=j[o+44>>2];q=(d|0)<0?6:d;break d}n=g-29|0;j[o+44>>2]=n;b=b*268435456;q=(d|0)<0?6:d}s=(n|0)<0?o+48|0:o+336|0;m=s;while(1){d=m;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}j[d>>2]=g;m=m+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((n|0)<1){d=n;g=m;i=s;break f}i=s;d=n;while(1){t=(d|0)<29?d:29;g=m-4|0;g:{if(i>>>0>g>>>0){break g}d=t;l=0;while(1){v=g;D=l;E=j[g>>2];u=d&31;if((d&63)>>>0>=32){l=E<>>32-u;E=E<>>0>>0?l+1|0:l;l=jP(u,l,1e9);D=v;v=hP(l,pe,1e9,0);j[D>>2]=u-v;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!l){break g}i=i-4|0;j[i>>2]=l}while(1){g=m;if(i>>>0>>0){m=g-4|0;if(!j[m>>2]){continue}}break}d=j[o+44>>2]-t|0;j[o+44>>2]=d;m=g;if((d|0)>0){continue}break}}if((d|0)<=-1){y=((q+25|0)/9|0)+1|0;t=(C|0)==102;while(1){l=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=i>>>0){i=j[i>>2]?i:i+4|0;break h}v=1e9>>>l|0;u=-1<>2];j[m>>2]=D+(d>>>l|0);d=p(v,d&u);m=m+4|0;if(m>>>0>>0){continue}break}i=j[i>>2]?i:i+4|0;if(!d){break h}j[g>>2]=d;g=g+4|0}d=j[o+44>>2]+l|0;j[o+44>>2]=d;m=t?s:i;g=g-m>>2>(y|0)?m+(y<<2)|0:g;if((d|0)<0){continue}break}}m=0;i:{if(g>>>0<=i>>>0){break i}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break i}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=(q-((C|0)==102?0:m)|0)-((C|0)==103&(q|0)!=0)|0;if((d|0)<(p(g-s>>2,9)-9|0)){l=d+9216|0;t=(l|0)/9|0;n=((t<<2)+((n|0)<0?o+48|4:o+340|0)|0)-4096|0;d=10;l=l-p(t,9)|0;if((l|0)<=7){while(1){d=p(d,10);l=l+1|0;if((l|0)!=8){continue}break}}t=j[n>>2];v=(t>>>0)/(d>>>0)|0;y=n+4|0;l=t-p(d,v)|0;j:{if(l?0:(y|0)==(g|0)){break j}u=d>>>1|0;z=l>>>0>>0?.5:(g|0)==(y|0)?(u|0)==(l|0)?1:1.5:1.5;b=v&1?9007199254740994:9007199254740992;if(!(k[w|0]!=45|A)){z=-z;b=-b}l=t-l|0;j[n>>2]=l;if(b+z==b){break j}d=d+l|0;j[n>>2]=d;if(d>>>0>=1e9){while(1){j[n>>2]=0;n=n-4|0;if(n>>>0>>0){i=i-4|0;j[i>>2]=0}d=j[n>>2]+1|0;j[n>>2]=d;if(d>>>0>999999999){continue}break}}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break j}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=n+4|0;g=d>>>0>>0?d:g}while(1){d=g;n=g>>>0<=i>>>0;if(!n){g=d-4|0;if(!j[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=q?q:1;l=(g|0)>(m|0)&(m|0)>-5;q=(l?m^-1:-1)+g|0;f=(l?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(n){break l}t=j[d-4>>2];if(!t){break l}l=10;g=0;if((t>>>0)%10|0){break l}while(1){n=g;g=g+1|0;l=p(l,10);if(!((t>>>0)%(l>>>0)|0)){continue}break}g=n^-1}n=p(d-s>>2,9);if((f&-33)==70){A=0;g=(g+n|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g;break k}A=0;g=((m+n|0)+g|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g}t=q|A;v=(t|0)!=0;D=a;l=c;u=f&-33;g=(m|0)>0?m:0;m:{if((u|0)==70){break m}g=m>>31;g=pi(g+m^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;h[g|0]=48;if((x-g|0)<2){continue}break}}y=g-2|0;h[y|0]=f;h[g-1|0]=(m|0)<0?45:43;g=x-y|0}n=(g+(v+(q+B|0)|0)|0)+1|0;Rf(D,32,l,n,e);Hf(a,w,B);Rf(a,48,c,n,e^65536);n:{o:{p:{if((u|0)==70){f=o+16|8;m=o+16|9;l=i>>>0>s>>>0?s:i;i=l;while(1){g=pi(j[i>>2],0,m);q:{if((i|0)!=(l|0)){if(o+16>>>0>=g>>>0){break q}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break q}if((g|0)!=(m|0)){break q}h[o+24|0]=48;g=f}Hf(a,g,m-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(t){Hf(a,227507,1)}if((q|0)<1|d>>>0<=i>>>0){break p}while(1){g=pi(j[i>>2],0,m);if(g>>>0>o+16>>>0){while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}}Hf(a,g,(q|0)<9?q:9);g=q-9|0;i=i+4|0;if(d>>>0<=i>>>0){break o}f=(q|0)>9;q=g;if(f){continue}break}break o}r:{if((q|0)<0){break r}s=d>>>0>i>>>0?d:i+4|0;d=o+16|8;f=o+16|9;m=i;while(1){g=pi(j[m>>2],0,f);if((f|0)==(g|0)){h[o+24|0]=48;g=d}s:{if((i|0)!=(m|0)){if(o+16>>>0>=g>>>0){break s}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break s}Hf(a,g,1);g=g+1|0;if((q|0)<1?!A:0){break s}Hf(a,227507,1)}v=g;g=f-g|0;Hf(a,v,(g|0)<(q|0)?g:q);q=q-g|0;m=m+4|0;if(s>>>0<=m>>>0){break r}if((q|0)>-1){continue}break}}Rf(a,48,q+18|0,18,0);Hf(a,y,x-y|0);break n}g=q}Rf(a,48,g+9|0,9,0)}break b}q=f&32;l=q?w+9|0:w;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(k[l|0]==45){b=-(z+(-b-z));break t}b=b+z-z}i=j[o+44>>2];g=i>>31;g=pi(g^g+i,0,x);if((x|0)==(g|0)){h[o+15|0]=48;g=o+15|0}m=B|2;i=j[o+44>>2];s=g-2|0;h[s|0]=f+15;h[g-1|0]=(i|0)<0?45:43;n=e&8;i=o+16|0;while(1){f=i;v=i;i=q;if(r(b)<2147483648){g=~~b}else{g=-2147483648}h[v|0]=i|k[g+227456|0];b=(b- +(g|0))*16;i=f+1|0;if(!((i-(o+16|0)|0)!=1|(b==0?!((d|0)>0|n):0))){h[f+1|0]=46;i=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((i-o|0)-18|0)>=(d|0)){q=((x-(o+16|0)|0)-s|0)+i|0}else{q=((d+x|0)-s|0)+2|0}d=q;n=d+m|0;Rf(g,32,f,n,e);Hf(a,l,m);Rf(a,48,c,n,e^65536);f=i-(o+16|0)|0;Hf(a,o+16|0,f);d=x-s|0;Rf(a,48,q-(d+f|0)|0,0,0);Hf(a,s,d)}Rf(a,32,c,n,e^8192);oe=o+560|0;return((c|0)>(n|0)?c:n)|0}function Rh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;m=oe-16|0;oe=m;n=j[a+278664>>2];j[m+8>>2]=0;l=j[a+128>>2];i=j[l+12>>2];g=k[b|0];if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=j[l+4>>2];d=i+((d>>>0)%(f>>>0)<<2)|0;e=j[d>>2];if(e){f=(i+(f<<2)|0)-4|0;while(1){l=j[e>>2];if(k[l|0]==(g|0)){if(!we(l,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}i=j[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}l=j[a+278680>>2];d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];g:{if(e){f=((l<<2)+i|0)-4|0;while(1){o=j[e>>2];if(k[o|0]==(g|0)){if(!we(o,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}f=0;j[m+12>>2]=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];h:{if(e){f=((l<<2)+i|0)-4|0;while(1){e=j[e>>2];if(k[e|0]==(g|0)){if(!we(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}d=j[a+278672>>2];d=xe(n,16,d,d+1|0,j[a+278668>>2],m+12|0);j[a+278668>>2]=d;e=j[m+12>>2];if(e){break e}d=d+(j[a+278672>>2]<<4)|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;g=Le(b)+1|0;f=xe(n,1,0,g,0,m+12|0);j[d>>2]=f;e=j[m+12>>2];if(e){break e}Ae(f,b,g);j[d+4>>2]=1;j[d+8>>2]=0;e=xm(j[d>>2],j[a+278672>>2]+83|0,a+278676|0,n);if(e){break e}j[a+278672>>2]=j[a+278672>>2]+1;i=j[a+278688>>2];g=k[b|0]}j[m+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=j[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+i|0;e=j[d>>2];if(e){f=((f<<2)+i|0)-4|0;g=g&255;while(1){l=j[e>>2];if((g|0)==k[l|0]){if(!we(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}e=0}d=j[a+76>>2];if((d|0)!=j[a+72>>2]){break b}if(d){break d}d=xe(n,16,0,1,0,m+8|0);j[a+80>>2]=d;if(!j[m+8>>2]){break c}break a}i:{j:{k:{l=j[a+80>>2];b=j[e+4>>2];a=l+(b<<4)|0;switch(j[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=j[a+12>>2];if(b){qe[j[n+8>>2]](n,b)}j[a+12>>2]=0;if(!c|!k[c|0]){break a}t=a,u=gg(n,c,m+8|0),j[t+12>>2]=u;break a}e=0;l:{if(!c){break l}n=k[c|0];if(!n){break l}g=119584;i=10;e=(n|0)==45;a=e?c+1|0:c;d=a;e=k[c+e|0];m:{if((e|0)!=48){break m}if((k[a+1|0]|32)!=120){e=48;d=a;break m}e=k[a+2|0];g=119552;i=16;d=a+2|0}f=0;a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(a>>>(e&7)&1){while(1){f=k[e+119616|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(n|0)==45?0-f|0:f}j[(l+(b<<4)|0)+12>>2]=e;break a}f=0;n:{if(!c){break n}e=k[c|0];if(!e){break n}g=119584;i=10;d=c;o:{if((e|0)!=48){break o}if((k[c+1|0]|32)!=120){e=48;d=c;break o}e=k[c+2|0];g=119552;i=16;d=c+2|0}a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(!(a>>>(e&7)&1)){break n}while(1){f=k[e+119616|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}j[(l+(b<<4)|0)+12>>2]=f;break a}j[m+8>>2]=e;break a}d=xe(n,16,d,d+1|0,j[a+80>>2],m+8|0);j[a+80>>2]=d;if(j[m+8>>2]){break a}}d=(j[a+72>>2]<<4)+d|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[a+72>>2]=j[a+72>>2]+1}l=j[a+80>>2];o=j[a+76>>2];q=l+(o<<4)|0;g=q;d=j[e+4>>2];p:{if(d>>>0>=83){d=(j[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+117072|0}j[g>>2]=j[d>>2];j[q+4>>2]=j[d+4>>2];j[q+8>>2]=j[d+8>>2];q:{r:{switch(j[d+4>>2]-1|0){case 0:j[q+12>>2]=0;if(!c|!k[c|0]){break q}t=q,u=gg(n,c,m+8|0),j[t+12>>2]=u;if(!j[m+8>>2]){break q}break a;case 1:e=0;s:{if(!c){break s}s=k[c|0];if(!s){break s}i=119584;r=10;e=(s|0)==45;g=e?c+1|0:c;d=g;e=k[c+e|0];t:{if((e|0)!=48){break t}if((k[g+1|0]|32)!=120){e=48;d=g;break t}e=k[g+2|0];i=119552;r=16;d=g+2|0}f=0;c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=k[e+119616|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}e=(s|0)==45?0-f|0:f}j[((o<<4)+l|0)+12>>2]=e;break q;case 2:break r;default:break q}}f=0;u:{if(!c){break u}e=k[c|0];if(!e){break u}i=119584;r=10;d=c;v:{if((e|0)!=48){break v}if((k[c+1|0]|32)!=120){e=48;d=c;break v}e=k[c+2|0];i=119552;r=16;d=c+2|0}c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(!(c>>>(e&7)&1)){break u}while(1){f=k[e+119616|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}j[((o<<4)+l|0)+12>>2]=f}w:{x:{if(Qe(b,117052,7)){break x}switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break x}}c=xm(j[q>>2],j[a+76>>2],j[a+128>>2],n);j[m+8>>2]=c;if(c){break a}}j[a+76>>2]=j[a+76>>2]+1;y:{if(Qe(b,118574,12)){break y}z:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}j[a+36>>2]=j[((o<<4)+l|0)+12>>2];break a}A:{if(Qe(b,118455,11)){break A}B:{switch(k[b+11|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break A}}j[a+40>>2]=j[((o<<4)+l|0)+12>>2];break a}C:{if(Qe(b,118467,12)){break C}D:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break C}}j[a+44>>2]=j[((o<<4)+l|0)+12>>2];break a}if(Qe(b,116880,7)){break a}E:{switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break a}}b=j[((o<<4)+l|0)+12>>2];if(!b){j[m+8>>2]=3;break a}F:{switch(k[b|0]-67|0){case 13:case 45:j[a+28>>2]=8;break a;case 10:case 42:j[a+28>>2]=16;break a;case 0:case 32:break F;default:break a}}j[a+28>>2]=32}oe=m+16|0;return j[m+8>>2]}function SL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=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;w=oe-16|0;oe=w;s=6;q=j[a+4>>2];a:{if(!q){break a}y=c?c-1|0:0;if(y>>>0>=m[q+408>>2]){break a}b:{c:{if(d&9){break c}e=j[q+380>>2];if(!e){break c}n=j[q+416>>2];v=j[q+104>>2];c=j[q+388>>2];g=l[b+12>>1];while(1){if(!(j[c+4>>2]==l[b+14>>1]?(g|0)==j[c>>2]:0)){c=c+36|0;f=f+1|0;if((e|0)!=(f|0)){continue}break c}break}f=j[c+8>>2];if(Fe(v,j[c+24>>2]+j[q+432>>2]|0)){break c}if(_e(v,p(j[c+28>>2],((f>>>1&1)+(f&1|4)|0)+(f>>>2&1)|0))){break c}d:{f=j[c+28>>2];if(!f){break d}c=j[c+8>>2];x=c&1;z=c&2;A=c&4;r=(x|4)+(z>>>1|0)+(A>>>2)|0;c=j[(y<<4)+n>>2];B=j[v+36>>2];g=j[v+32>>2];while(1){u=f+o>>>1|0;e=g+p(u,r)|0;if(B>>>0>>0){break d}e:{if(x){t=e+2|0;e=k[e+1|0]|k[e|0]<<8;break e}t=e+1|0;e=k[e|0]}if((e|0)!=(c|0)){e=c>>>0>e>>>0;o=e?u:o;f=e?f:u;if(o>>>0>>0){continue}break d}break}f:{if(z){f=k[t+1|0]|k[t|0]<<8;c=t+2|0;break f}f=k[t|0];c=t+1|0}e=k[c|0];g:{if(A){o=2;e=k[c+1|0]<<8|e<<16;break g}o=1;e=e<<8}c=k[c+o|0];Ve(v);if(!f){break c}e=c|e;g=(y<<4)+n|0;c=j[g+4>>2];o=j[q+304>>2];n=j[q+300>>2];h:{if((o|0)==(n|0)){r=c;break h}r=Ne(c,n,o);o=j[q+304>>2];c=j[g+4>>2]}j[a+56>>2]=r;c=Ne(l[b+12>>1]<<8,c,o);if(Fe(v,e+j[q+188>>2]|0)){break c}if(_e(v,f)){break c}g=j[v+36>>2];e=j[v+32>>2];n=e;if(g>>>0>>0){break d}i:{j:{k:{l:{m:{t=k[e|0];switch((t&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}f=e+2|0;if(g>>>0>>0){break d}e=h[n+1|0];u=e>>4;n=e<<28>>28;break i}f=e+3|0;if(g>>>0>>0){break d}n=h[e+2|0];u=h[e+1|0];break i}f=e+5|0;if(g>>>0>>0){break d}n=k[e+3|0]|k[e+4|0]<<8;n=(n<<24|n<<8&16711680)>>16;e=k[e+1|0]|k[e+2|0]<<8;u=(e<<24|e<<8&16711680)>>16;break i}f=e+7|0;if(g>>>0>>0){break d}n=k[e+6|0]|(k[e+5|0]<<8|k[e+4|0]<<16);u=k[e+3|0]|(k[e+2|0]<<8|k[e+1|0]<<16)}n:{o:{p:{q:{o=t>>>2&3;r=o;switch(o-1|0){case 2:break o;case 1:break p;case 0:break q;default:break n}}e=f+1|0;if(e>>>0>g>>>0){break d}f=k[f|0];r=f&15;o=f>>>4|0;f=e;break n}e=f+2|0;if(e>>>0>g>>>0){break d}r=k[f+1|0];o=k[f|0];f=e;break n}e=f+4|0;if(e>>>0>g>>>0){break d}r=k[f+3|0]|k[f+2|0]<<8;o=k[f+1|0]|k[f|0]<<8;f=e}r:{s:{t:{u:{z=t>>>4|0;switch((z&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}e=f+1|0;if(e>>>0>g>>>0){break d}c=h[f|0]<<8;f=e;break r}e=f+2|0;if(e>>>0>g>>>0){break d}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;f=e;break r}e=f+3|0;if(e>>>0>g>>>0){break d}c=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=e}if((2147483647-r|0)<(n|0)){break d}j[a+72>>2]=1651078259;j[a+76>>2]=r;j[a+80>>2]=o;h[a+94|0]=1;j[a+48>>2]=0;j[a+36>>2]=n<<6;j[a+32>>2]=u<<6;j[a+28>>2]=r<<6;e=o<<6;j[a+24>>2]=e;g=o+7>>>3|0;j[a+84>>2]=g;j[a+44>>2]=0-e>>1;j[a+40>>2]=(c>>2)+32&-64;c=j[b+32>>2];j[a+104>>2]=n+r;j[a+100>>2]=u;j[a+52>>2]=c;if(Km(a,p(g,r))){break d}c=j[a+76>>2];v:{if(!c){break v}e=j[a+80>>2];if(!e){break v}u=j[v+36>>2];r=0;g=j[a+84>>2];n=j[q+208>>2]&2;x=n?g:0-g|0;o=j[a+88>>2];n=n?o:o+p(g,c-1|0)|0;t=p(c,e);w:{switch(z>>>2|0){case 0:a=u-f<<3;q=a>>>0>t>>>0?t:a;if(!q){break v}s=128;a=0;c=0;d=n;b=e;g=q;while(1){if(!((g^q)&7)){c=k[f|0];f=f+1|0}a=c<<24>>31&s|a;b=b-1|0;x:{if(!b){h[d|0]=a;a=0;s=128;b=e;n=n+x|0;d=n;break x}s=s>>>1|0;if(s){break x}h[d|0]=a;d=d+1|0;a=0;s=128}c=c<<1;g=g-1|0;if(g){continue}break}if((s|0)==128){break v}h[d|0]=a;Ve(v);break b;case 1:if(!t){break v}r=1;d=128;b=0;o=n;q=e;s=0;g=0;a=1;while(1){c=g;y:{if(r){while(1){z:{if(!a){c=s;a=1;break z}if(f>>>0>=u>>>0){a=1;c=g;g=d;break y}a=k[f|0];s=a&15;c=a>>>4|0;f=f+1|0;a=0}g=0;if(!c){continue}break}}g=a?d:0}b=g|b;q=q-1|0;A:{if(!q){h[o|0]=b;b=0;d=128;q=e;n=n+x|0;o=n;break A}d=d>>>1|0;if(d){break A}h[o|0]=b;o=o+1|0;b=0;d=128}r=(c|0)<2;g=c-1|0;t=t-1|0;if(t){continue}break}if((d|0)==128){break v}h[o|0]=b;Ve(v);break b;case 2:break w;default:break d}}if(!t){break v}c=1;s=128;d=n;b=e;g=0;a=1;while(1){B:{if(!c|f>>>0>=u>>>0){break B}C:{while(1){a=a^1;c=f+1|0;g=k[f|0];if(g){break C}f=c;if((c|0)!=(u|0)){continue}break}g=0;f=u;break B}f=c}r=(a?s:0)|r;b=b-1|0;D:{if(!b){h[d|0]=r;r=0;s=128;b=e;n=n+x|0;d=n;break D}s=s>>>1|0;if(s){break D}h[d|0]=r;d=d+1|0;r=0;s=128}c=(g|0)<2;g=g-1|0;t=t-1|0;if(t){continue}break}if((s|0)==128){break v}h[d|0]=r}Ve(v);break b}Ve(v)}if(d&16384){break a}f=j[q+416>>2];j[a+72>>2]=1869968492;j[a+108>>2]=0;c=f+(y<<4)|0;e=j[c+8>>2];c=j[c+12>>2];g=j[q+188>>2];n=j[q+104>>2];Yh(j[a+188>>2]);j[a+176>>2]=0;s=qr(a+160|0,n,g,c,e);if(s){break a}c=j[a+188>>2];g=j[c+24>>2];e=a+108|0;j[e>>2]=j[c+20>>2];j[e+4>>2]=g;j[e+16>>2]=j[c+36>>2];g=j[c+32>>2];j[e+8>>2]=j[c+28>>2];j[e+12>>2]=g;c=j[a+124>>2]&-6;j[a+124>>2]=c|4;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=c|260}j[a+52>>2]=0;j[a+40>>2]=0;c=j[(f+(y<<4)|0)+4>>2];f=j[q+304>>2];g=j[q+300>>2];if((f|0)!=(g|0)){c=Ne(c,g,f)}E:{if(h[q+324|0]&1){j[a+52>>2]=c;g=c;c=j[a+40>>2];break E}j[a+40>>2]=c;g=j[a+52>>2]}j[a+60>>2]=g;j[a+56>>2]=c;j[a+44>>2]=0;j[a+48>>2]=0;if(!(d&1)){d=j[b+20>>2];g=j[b+16>>2];b=a;if(i[a+110>>1]>=1){c=j[a+112>>2];f=0;while(1){C=c,D=ye(j[c>>2],g),j[C>>2]=D;C=c,D=ye(j[c+4>>2],d),j[C+4>>2]=D;c=c+8|0;f=f+1|0;if((f|0)>1]){continue}break}c=j[a+40>>2]}C=b,D=ye(c,g),j[C+40>>2]=D;C=a,D=ye(j[a+52>>2],d),j[C+52>>2]=D}Ug(e,w);b=j[w>>2];j[a+24>>2]=j[w+8>>2]-b;c=j[w+12>>2];d=j[w+4>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=c-d}s=0}oe=w+16|0;return s|0}function Pl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0),o=0,s=0,t=q(0),u=0,v=0,w=0,x=0,y=0,A=q(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;f=oe-4976|0;oe=f;G=j[b+1288>>2];v=j[b+1296>>2];a:{b:{c:{o=j[b+1284>>2];d:{if((o|0)<=0){break d}while(1){j[(f+1120|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}while(1){j[(f+848|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}Ee(f+576|0,0,o<<2);while(1){j[(f+304|0)+(e<<2)>>2]=1;e=e+1|0;if((o|0)!=(e|0)){continue}break}if((o|0)>0){break c}}if(o){break a}j[f+1392>>2]=0;j[f+1396>>2]=G;if((G|0)>=1){s=G-1|0;while(1){g=h;i=g<<2;t=n[i+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));e:{if(q(r(m))>2]+n[v+1112>>2])^1)){H=H+1|0;u=h+u|0;l=g+l|0;x=p(g,h)+x|0;y=p(h,h)+y|0;w=p(g,g)+w|0;break f}B=B+1|0;k=h+k|0;E=g+E|0;C=p(g,h)+C|0;F=p(h,h)+F|0;D=p(g,g)+D|0}h=g+1|0;if((g|0)!=(s|0)){continue}break}}j[f+1444>>2]=B;j[f+1440>>2]=C;j[f+1436>>2]=F;j[f+1432>>2]=D;j[f+1428>>2]=k;j[f+1424>>2]=E;j[f+1420>>2]=H;j[f+1416>>2]=x;j[f+1412>>2]=y;j[f+1408>>2]=w;j[f+1404>>2]=u;j[f+1400>>2]=l;break b}Ee(f+32|0,255,o<<2);if((o|0)==1){break a}K=o-1|0;N=G-1|0;h=j[b>>2];while(1){i=(f+1392|0)+p(I,56)|0;I=I+1|0;s=j[(I<<2)+b>>2];j[i+4>>2]=s;j[i>>2]=h;u=0;w=0;y=0;x=0;E=0;k=0;l=0;D=0;F=0;C=0;B=0;L=0;J=(s|0)<(G|0)?s:N;if((J|0)>=(h|0)){while(1){g=h;M=g<<2;t=n[M+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));g:{if(q(r(m))>2]+n[v+1112>>2])^1)){l=l+1|0;B=h+B|0;L=g+L|0;D=p(g,h)+D|0;F=p(h,h)+F|0;C=p(g,g)+C|0;break h}u=u+1|0;E=h+E|0;k=g+k|0;w=p(g,h)+w|0;y=p(h,h)+y|0;x=p(g,g)+x|0}h=g+1|0;if((g|0)!=(J|0)){continue}break}}j[i+52>>2]=u;j[i+48>>2]=w;j[i+44>>2]=y;j[i+40>>2]=x;j[i+36>>2]=E;j[i+32>>2]=k;j[i+28>>2]=l;j[i+24>>2]=D;j[i+20>>2]=F;j[i+16>>2]=C;j[i+12>>2]=B;j[i+8>>2]=L;H=l+H|0;h=s;if((K|0)!=(I|0)){continue}break}}if(!H){g=0;break a}j[f+28>>2]=-200;j[f+24>>2]=-200;Ol(f+1392|0,o-1|0,f+28|0,f+24|0,v);e=j[f+28>>2];j[f+1120>>2]=e;j[f+848>>2]=e;h=j[f+24>>2];j[f+852>>2]=h;j[f+1124>>2]=h;if((o|0)>=3){E=v+836|0;y=2;while(1){w=y<<2;s=j[(w+b|0)+520>>2];e=s<<2;C=j[e+(f+576|0)>>2];i=C<<2;h=i+(f+32|0)|0;B=j[e+(f+304|0)>>2];i:{if(j[h>>2]==(B|0)){break i}e=b+520|0;l=B<<2;H=j[e+l>>2];F=j[e+i>>2];j[h>>2]=B;j:{I=i+(f+848|0)|0;g=j[I>>2];e=j[i+(f+1120|0)>>2];h=g;k:{if((e|0)<0){break k}h=e;if((g|0)<0){break k}h=e+g>>1}k=(h|0)==-1;u=j[l+(f+848|0)>>2];L=l+(f+1120|0)|0;g=j[L>>2];e=u;l:{if((g|0)<0){break l}e=g;if((u|0)<0){break l}e=g+u>>1}u=e;if(!(k|(u|0)==-1)){k=u-h|0;D=j[l+E>>2];g=j[i+E>>2];i=D-g|0;G=(k|0)/(i|0)|0;l=g<<2;t=n[l+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));m:{if(q(r(m))0?e:0;e=(e|0)<1023?e:1023;n:{m=t;t=n[v+1112>>2];o:{if(!(m<=q(n[c+l>>2]+t)^1)){A=q(e|0);m=q(h|0);if(A>q(n[v+1096>>2]+m)|A>2])){break o}}e=h-e|0;x=p(e,e);e=1;g=g+1|0;if((D|0)>(g|0)){l=p(i,G);e=l>>31;K=k>>31;K=(K+k^K)-(e^e+l)|0;N=(k|0)>-1?1:-1;l=0;e=h;while(1){J=g<<2;m=n[J+d>>2];A=q(q(m*q(7.314285755157471))+q(1023.5));p:{if(q(r(A))0?k:0;k=(k|0)<1023?k:1023;if(!(!k|m<=q(t+n[c+J>>2])^1)){A=q(k|0);m=q(e|0);if(A>q(n[v+1096>>2]+m)|A>2])){break o}}J=x;x=e-k|0;x=J+p(x,x)|0;l=l-(M?0:i)|0;g=g+1|0;if((D|0)!=(g|0)){continue}break}e=i}t=n[v+1096>>2];m=q(e|0);A=q(q(t*t)/m);t=n[v+1104>>2];if(A>t){break n}A=n[v+1100>>2];if(t>>0)/(e>>>0)|0)^1|t>2]=-200;j[f+16>>2]=-200;j[f+12>>2]=-200;j[f+8>>2]=-200;g=Ol((f+1392|0)+p(F,56)|0,s-F|0,f+20|0,f+16|0,v);e=Ol((f+1392|0)+p(s,56)|0,H-s|0,f+12|0,f+8|0,v);q:{if(!g){if(!e){break q}j[f+12>>2]=j[f+16>>2];j[f+8>>2]=u;break q}j[f+20>>2]=h;j[f+16>>2]=j[f+12>>2];if(e){break j}}e=j[f+20>>2];j[I>>2]=e;if(!C){j[f+1120>>2]=e}e=j[f+16>>2];j[w+(f+1120|0)>>2]=e;h=j[f+12>>2];j[w+(f+848|0)>>2]=h;g=j[f+8>>2];j[L>>2]=g;if((B|0)==1){j[f+852>>2]=g}if((e&h)<0){break i}e=s;r:{if((e|0)<1){break r}while(1){h=e-1|0;g=(f+304|0)+(h<<2)|0;if((B|0)!=j[g>>2]){break r}j[g>>2]=y;g=(e|0)>1;e=h;if(g){continue}break}}e=s+1|0;if((o|0)<=(e|0)){break i}while(1){h=(f+576|0)+(e<<2)|0;if((C|0)!=j[h>>2]){break i}j[h>>2]=y;e=e+1|0;if((o|0)!=(e|0)){continue}break}break i}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200;break i}U(1);z()}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200}y=y+1|0;if((y|0)!=(o|0)){continue}break}e=j[f+1120>>2]}g=Ef(a,o<<2);d=g;c=j[f+848>>2];a=c;s:{if((e|0)<0){break s}a=e;if((c|0)<0){break s}a=c+e>>1}j[d>>2]=a;d=g;e=j[f+852>>2];c=j[f+1124>>2];a=e;t:{if((c|0)<0){break t}a=c;if((e|0)<0){break t}a=c+e>>1}j[d+4>>2]=a;if((o|0)<3){break a}d=2;h=v+836|0;while(1){e=d<<2;a=e+b|0;s=j[a+772>>2]<<2;i=j[a+1024>>2]<<2;u=j[i+g>>2]&32767;a=(j[s+g>>2]&32767)-u|0;c=a>>31;k=c^a+c;c=j[h+i>>2];c=(p(k,j[e+h>>2]-c|0)|0)/(j[h+s>>2]-c|0)|0;s=u+((a|0)<0?0-c|0:c)|0;i=j[e+(f+848|0)>>2];c=j[e+(f+1120|0)>>2];a=i;u:{if((c|0)<0){break u}a=c;if((i|0)<0){break u}a=c+i>>1}c=s|32768;j[e+g>>2]=(a|0)<0?c:(a|0)==(s|0)?c:a;d=d+1|0;if((o|0)!=(d|0)){continue}break}}oe=f+4976|0;return g} +function Nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=j[a+28>>2];if(p){r=j[a+36>>2];s=j[a+16>>2];b=j[a+40>>2];i=b;c=j[a+24>>2];t=c&7;u=(c+7|0)/8|0;e=j[a>>2];a=j[a+20>>2];n=k[b+9|0];o=n-1|0;while(1){q=u;a:{b:{switch(t-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{switch(c|0){case 0:m=0;c=0;d=0;g=0;f=0;h=0;y:{z:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break y;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break y;case 3:break z;default:break u}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break w}break v;case 1:m=0;c=0;d=0;g=0;f=0;h=0;A:{B:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break A;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break A;case 3:break B;default:break r}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break t}break s;case 2:m=0;c=0;d=0;g=0;f=0;h=0;C:{D:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break o}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break q}break p;case 3:m=0;c=0;d=0;g=0;f=0;h=0;E:{F:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break E;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break E;case 3:break F;default:break l}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break n}break m;case 4:m=0;c=0;d=0;g=0;f=0;h=0;G:{H:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break G;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break G;case 3:break H;default:break i}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break k}break j;case 5:m=0;c=0;d=0;g=0;f=0;h=0;I:{J:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break I;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break I;case 3:break J;default:break f}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break h}break g;case 6:m=0;c=0;d=0;g=0;f=0;h=0;K:{L:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break K;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break K;case 3:break L;default:break c}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){break e}break d;default:break x}}m=0;c=0;d=0;g=0;f=0;h=0;M:{N:{O:{switch(o|0){case 0:c=k[e|0];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 1:c=l[e>>1];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0;break N;case 2:d=(k[b+34|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;g=255;c=(k[b+33|0]>>>3|0)+e|0;break N;case 3:break O;default:break M}}c=j[e>>2];d=j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0;g=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[i+35|0]|0)|0];c=j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0}c=k[c|0];d=k[d|0];h=k[f|0];if(h){m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=0;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=1;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=2;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=3;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=4;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=5;continue}m=h<<22|3145728}f=d;h=c}j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;c=6;continue}m=h<<22|3145728}f=d;h=c}v=p-1|0;j[a>>2]=(g>>>0)/85<<30|m|(f?d<<2|3:0)|(h?c<<12|3072:0);e=e+n|0;a=a+4|0;if((q|0)>1){q=q-1|0;c=7;continue}break}a=a+r|0;e=e+s|0;p=v;if(p){continue}break}}}function FN(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,n=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;r=oe-16|0;oe=r;j[r+8>>2]=0;g=j[e+32>>2];u=j[g+278664>>2];a:{b:{c:{d:{if(Qe(a,117052,7)){break d}e:{c=k[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}j[r+12>>2]=0;d=j[g+88>>2];o=d;d=(c?-8:-7)+b|0;f=d+1|0;o=xe(u,1,o,o+f|0,j[g+84>>2],r+12|0);j[g+84>>2]=o;b=j[r+12>>2];if(!b){A=Ae(o+j[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,B=10,h[A|0]=B;j[g+88>>2]=f+j[g+88>>2];b=j[r+12>>2]}j[r+8>>2]=b;break c}o=r;f:{g:{h:{i:{j:{k:{d=j[e>>2];if(!(d&32)){l:{m:{if(Qe(a,118445,5)){break m}switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break m}}c=180;break i}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];if(!a){break k}f=k[a|0];if(!f){break k}c=119584;n=10;b=a;n:{if((f|0)!=48){break n}if((k[a+1|0]|32)!=120){f=48;b=a;break n}f=k[a+2|0];c=119552;n=16;b=a+2|0}a=f<<24>>24;if(!(k[((f&248)>>>3|0)+c|0]>>>(a&7)&1)){break k}f=0;while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}j[g+48>>2]=f;j[e+4>>2]=f;if(!f){break h}if(f>>>0<1114112){break g}c=6;break i}o:{p:{if(Qe(a,119782,7)){break p}q:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}if(!(d&4032)){break o}c=186;break i}r:{if(Qe(a,119790,7)){break r}s:{switch(k[a+7|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}j[e+28>>2]=0;j[e>>2]=d&-4033;break f}q=d&64;if(j[j[e+36>>2]+4>>2]?0:!(!q|j[e+28>>2]!=-1)){break f}t:{if(Qe(a,119798,9)){break t}u:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}c=j[e+24>>2];if(c){qe[j[u+8>>2]](u,c)}j[e+24>>2]=0;g=e+139304|0;b=og(g,118416,a,b);j[r+8>>2]=b;if(b){break b}v:{w:{a=j[e+139312>>2];switch(a|0){case 0:break j;case 1:break v;default:break w}}c=a-1|0;a=0;b=1;while(1){d=j[g>>2];j[d+(a<<2)>>2]=j[d+(b<<2)>>2];b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}j[e+139312>>2]=c;if(!c){break j}b=0;f=j[j[g>>2]>>2];a=f;while(1){d=k[a|0];if(d){while(1){h[b+f|0]=d;b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break}c=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+f|0]=32;c=j[e+139312>>2];b=b+1|0}if(c>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((f|0)!=119537){h[b+f|0]=0}a=b+1|0;c=xe(u,1,0,a,0,r+8|0);j[e+24>>2]=c;b=j[r+8>>2];if(b){break b}Ae(c,f,a);j[e>>2]=j[e>>2]|64;break f}j[e+139312>>2]=0;break j}x:{if(Qe(a,119808,8)){break x}y:{switch(k[a+8|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}c=181;if(!q){break i}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}z:{A:{B:{C:{D:{E:{s=j[c>>2];a=j[s+4>>2];if(!a){break E}q=k[a|0];if(!q){break E}c=119584;n=10;t=(q|0)==45;d=t?a+1|0:a;b=d;a=k[a+t|0];F:{if((a|0)!=48){break F}if((k[d+1|0]|32)!=120){a=48;b=d;break F}a=k[d+2|0];c=119552;n=16;b=d+2|0}d=k[((a&248)>>>3|0)+c|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=e+28|0;a=(q|0)==45?0-f|0:f;G:{H:{if((a|0)<=-2){j[e+28>>2]=-1;break H}j[e+28>>2]=a;if((a|0)!=-1){break G}}if(m[e+139312>>2]<3){break A}a=j[s+8>>2];if(!a){break D}q=k[a|0];if(!q){break D}n=119584;d=10;s=(q|0)==45;f=s?a+1|0:a;b=f;a=k[a+s|0];I:{if((a|0)!=48){break I}if((k[f+1|0]|32)!=120){a=48;b=f;break I}a=k[f+2|0];n=119552;d=16;b=f+2|0}f=0;x=k[((a&248)>>>3|0)+n|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){f=k[a+119616|0]+p(d,f)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}a=(q|0)==45?0-f|0:f;j[e+28>>2]=a;if((a|0)<-1){break B}}if(a>>>0>1114111?(a|0)>=1:0){break j}if((a|0)>-1){break C}break A}c=e+28|0}a=0;j[c>>2]=0}b=(a>>>3&536870908)+e|0;d=j[b+40>>2];f=1<>2]=-1;i[g+278660>>1]=1;break A}j[b+40>>2]=d|f;b=j[g+52>>2];J:{if((b|0)!=j[g+48>>2]){f=j[g+56>>2];break J}f=xe(u,36,b,b- -64|0,j[g+56>>2],r+8|0);j[g+56>>2]=f;b=j[r+8>>2];if(b){break b}j[g+48>>2]=j[g+48>>2]- -64;b=j[g+52>>2];a=j[c>>2]}j[g+52>>2]=b+1;c=j[e+24>>2];b=p(b,36)+f|0;j[b+4>>2]=a;j[b>>2]=c;break z}j[e+28>>2]=-1}if(j[j[e+36>>2]+4>>2]){a=j[g+64>>2];K:{if((a|0)!=j[g+60>>2]){f=j[g+68>>2];break K}f=xe(u,36,a,a+4|0,j[g+68>>2],r+8|0);j[g+68>>2]=f;b=j[r+8>>2];if(b){break b}j[g+60>>2]=j[g+60>>2]+4;a=j[g+64>>2]}b=p(a,36)+f|0;j[b>>2]=j[e+24>>2];j[g+64>>2]=a+1;j[b+4>>2]=a;break z}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}}j[e+24>>2]=0;j[e>>2]=j[e>>2]&1073741695|128;break f}c=j[e+28>>2]==-1;s=j[g+(c?64:52)>>2]-1|0;t=j[g+(c?68:56)>>2];if(d&2048){c=j[e+8>>2];b=p(s,36)+t|0;if(c>>>0>=l[b+14>>1]){if((d|0)<0){break f}j[e>>2]=d|-2147483648;i[g+278660>>1]=1;break f}d=c;c=j[b+28>>2];b=j[b+24>>2]+p(d,c)|0;d=c<<1;L:{if(!d){c=0;break L}M:{while(1){c=f;o=k[f+a|0];f=o<<24>>24;if(!(k[(o>>>3|0)+119552|0]>>>(f&7)&1)){break M}h[b|0]=k[f+119616|0]+(k[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){h[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break L}f=j[e>>2];if(f&1073741824){break L}j[e>>2]=f|1073741824;i[g+278660>>1]=1}f=l[(p(s,36)+t|0)+12>>1];if(f){h[b|0]=k[b|0]&k[(p(f,l[j[e+32>>2]+278662>>1])&7)+119817|0]}N:{if((c|0)!=(d|0)){break N}a=k[a+d|0];if(!(k[(a>>>3|0)+119552|0]>>>(a&7)&1)){break N}a=j[e>>2];if(a&1073741824){break N}j[e>>2]=a|1073741824;i[g+278660>>1]=1}j[e+8>>2]=j[e+8>>2]+1;break f}O:{P:{if(Qe(a,119825,6)){break P}Q:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break Q;default:break P}}if(!(d&128)){break O}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}d=0;a=j[j[c>>2]+4>>2];R:{if(!a){break R}n=k[a|0];if(!n){break R}f=119584;c=10;b=a;S:{if((n|0)!=48){break S}if((k[a+1|0]|32)!=120){n=48;b=a;break S}n=k[a+2|0];f=119552;c=16;b=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+f|0]>>>(a&7)&1)){break R}while(1){d=k[a+119616|0]+p(c,d)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}i[(p(s,36)+t|0)+8>>1]=d;j[e>>2]=j[e>>2]|256;break f}T:{if(Qe(a,119832,6)){break T}U:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break U;default:break T}}if(!(d&128)){break O}c=e+139304|0;b=og(c,118416,a,b);j[r+8>>2]=b;if(b){break b}a=j[j[c>>2]+4>>2];V:{if(!a){break V}q=k[a|0];if(!q){break V}c=119584;n=10;b=a;W:{if((q|0)!=48){break W}if((k[a+1|0]|32)!=120){q=48;b=a;break W}q=k[a+2|0];c=119552;n=16;b=a+2|0}a=q<<24>>24;if(!(k[((q&248)>>>3|0)+c|0]>>>(a&7)&1)){break V}while(1){f=k[a+119616|0]+p(f,n)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+c|0]>>>(a&7)&1){continue}break}}c=p(s,36)+t|0;i[c+10>>1]=f;b=e;a=j[b>>2];if(!(a&256)){A=c,B=Ne(f&65535,72e3,p(j[g+20>>2],j[g+16>>2])),i[A+8>>1]=B;a=j[e>>2]}j[b>>2]=a|512;break f}X:{if(Qe(a,119839,3)){break X}Y:{switch(k[a+3|0]){case 0:case 9:case 10:case 13:case 32:break Y;default:break X}}if(!(d&128)){break O}d=e+139304|0;b=og(d,118416,a,b);j[r+8>>2]=b;if(b){break b}c=0;v=j[d>>2];a=j[v+4>>2];Z:{if(!a){break Z}d=k[a|0];if(!d){break Z}n=119584;q=10;b=a;_:{if((d|0)!=48){break _}if((k[a+1|0]|32)!=120){d=48;b=a;break _}d=k[a+2|0];n=119552;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break Z}while(1){f=k[a+119616|0]+p(f,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}o=p(s,36)+t|0;i[o+12>>1]=f;a=j[v+8>>2];$:{if(!a){break $}d=k[a|0];if(!d){break $}n=119584;q=10;b=a;aa:{if((d|0)!=48){break aa}if((k[a+1|0]|32)!=120){d=48;b=a;break aa}d=k[a+2|0];n=119552;q=16;b=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+n|0]>>>(a&7)&1)){break $}while(1){c=k[a+119616|0]+p(c,q)|0;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+n|0]>>>(a&7)&1){continue}break}}i[o+14>>1]=c;y=p(s,36)+t|0;x=y;a=j[v+12>>2];o=0;ba:{if(!a){break ba}z=k[a|0];o=0;if(!z){break ba}q=119584;d=10;n=(z|0)==45;o=n?a+1|0:a;b=o;a=k[a+n|0];ca:{if((a|0)!=48){break ca}if((k[o+1|0]|32)!=120){a=48;b=o;break ca}a=k[o+2|0];q=119552;d=16;b=o+2|0}n=0;o=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(o>>>(a&7)&1){while(1){n=k[a+119616|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}o=(z|0)==45?0-n|0:n}i[x+16>>1]=o;a=j[v+16>>2];da:{if(!a){break da}v=k[a|0];if(!v){break da}q=119584;d=10;w=(v|0)==45;n=w?a+1|0:a;b=n;a=k[a+w|0];ea:{if((a|0)!=48){break ea}if((k[n+1|0]|32)!=120){a=48;b=n;break ea}a=k[n+2|0];q=119552;d=16;b=n+2|0}n=0;x=k[((a&248)>>>3|0)+q|0];a=a<<24>>24;if(x>>>(a&7)&1){while(1){n=k[a+119616|0]+p(d,n)<<16>>16;a=h[b+1|0];b=b+1|0;if(k[((a&248)>>>3|0)+q|0]>>>(a&7)&1){continue}break}}w=(v|0)==45?0-n|0:n}a=0-w|0;i[y+22>>1]=a;b=c+w|0;i[y+20>>1]=b;i[y+18>>1]=w;c=f+o|0;i[e+22>>1]=c;d=i[e+18>>1];i[e+18>>1]=(d|0)>16?b:d;b=i[e+20>>1];i[e+20>>1]=(b|0)>16?a:b;a=i[e+16>>1];i[e+16>>1]=(a|0)>16?c:a;a=i[e+12>>1];b=a;a=o<<16>>16;i[e+12>>1]=(b|0)>(a|0)?o:b;b=i[e+14>>1];i[e+14>>1]=(a|0)>(b|0)?o:b;a=j[e>>2];if(!(a&512)){i[(p(s,36)+t|0)+10>>1]=f}fa:{if(!j[j[e+36>>2]>>2]){break fa}a=p(s,36)+t|0;b=Ne(l[a+10>>1],72e3,p(j[g+20>>2],j[g+16>>2]));if(l[a+8>>1]==(b&65535)){a=j[e>>2];break fa}i[a+8>>1]=b;ga:{if(j[e+28>>2]==-1){b=j[g+64>>2]-1|0;a=(g+(b>>>3&536870908)|0)+139396|0;break ga}b=j[(p(s,36)+t|0)+4>>2];a=(g+(b>>5<<2)|0)+132|0}j[a>>2]=j[a>>2]|1<>2];i[g+278660>>1]=1;a=a|4096}j[e>>2]=a|1024;break f}if(Qe(a,119843,6)){break j}ha:{switch(k[a+6|0]){case 0:case 9:case 10:case 13:case 32:break ha;default:break j}}c=183;if(!(d&1024)){break i}a=p(s,36)+t|0;c=p(l[g+278662>>1],l[a+12>>1]);b=c+7>>>3|0;j[a+28>>2]=b;ia:{if(c>>>0<=524280){a=p(b,l[a+14>>1]);if(a>>>0<65536){break ia}}c=184;break i}b=p(s,36)+t|0;i[b+32>>1]=a;A=b,B=xe(u,1,0,a,0,r+8|0),j[A+24>>2]=B;b=j[r+8>>2];if(b){break b}j[e+8>>2]=0;j[e>>2]=j[e>>2]|2048;break f}c=182;break i}eg(j[g+56>>2],j[g+52>>2],36,603);j[e>>2]=j[e>>2]&-2;break f}j[g+48>>2]=0;j[e+4>>2]=0;break h}c=3}b=c;j[o+8>>2]=b;break b}f=64;j[g+48>>2]=64}A=g,B=xe(u,36,0,f,0,r+8|0),j[A+56>>2]=B;b=j[r+8>>2];if(b){break b}j[e>>2]=j[e>>2]|32}b=j[r+8>>2]}if(b){break b}b=0;break a}if(!(k[e|0]&64)){break a}a=j[e+24>>2];if(a){qe[j[u+8>>2]](u,a)}j[e+24>>2]=0;b=j[r+8>>2]}oe=r+16|0;return b|0}function $l(a,b,c,d){var e=0,f=0,g=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;e=oe-144|0;oe=e;j[e+140>>2]=0;u=j[a+12>>2];x=j[a>>2];a:{if(!(c>>>0<2|l[x+290>>1]>=c>>>0)){j[e+140>>2]=21;break a}j[a+20>>2]=b;r=65536;o=65536;if(!(h[a+16|0]&1)){f=j[a+4>>2];r=j[f+52>>2];o=j[f+48>>2]}y=j[j[x+128>>2]+48>>2];b:{if(y){f=qe[j[j[y>>2]>>2]](j[y+4>>2],b,e+88|0)|0;j[e+140>>2]=f;if(f){break a}p=j[e+92>>2];j[a+28>>2]=p;j[e+128>>2]=0;j[e+132>>2]=0;j[e+120>>2]=0;j[e+124>>2]=0;j[e+112>>2]=0;j[e+116>>2]=0;j[e+104>>2]=0;j[e+108>>2]=0;j[e+96>>2]=0;j[e+100>>2]=0;f=j[e+88>>2];j[e+128>>2]=0;j[e+104>>2]=0;j[e+100>>2]=p;j[e+96>>2]=f;j[e+116>>2]=0;j[e+120>>2]=0;j[a+24>>2]=e+96;p=0;break b}p=am(x,b,a+28|0)}t=j[a+28>>2];f=t;c:{d:{e:{f:{if((f|0)>=1){f=j[a+84>>2];if(!(f|j[j[x+128>>2]+48>>2])){j[e+140>>2]=8;break c}f=qe[j[x+512>>2]](a,b,f+p|0,t)|0;j[e+140>>2]=f;if(f){break c}f=qe[j[x+520>>2]](a)|0;j[e+140>>2]=f;if(f){break f}f=pq(a,b);j[e+140>>2]=f;if(d|f){break f}f=j[a+28>>2]}g:{h:{if(f){s=l[a+32>>1];if(s){break h}}j[a+36>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;c=pq(a,b);j[e+140>>2]=c;if(c|d){break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;p=j[a+52>>2];c=j[a+36>>2]-p|0;j[a+68>>2]=c;f=j[a+56>>2];j[a+76>>2]=f+c;c=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=c;j[a+196>>2]=c-j[a+180>>2];c=j[a>>2];g=j[j[c+128>>2]+48>>2];i:{if(!g){break i}d=j[j[g>>2]+8>>2];if(!d){break i}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=p;j:{if(qe[d|0](j[g+4>>2],b,0,e+48|0)|0){break j}c=i[e+48>>1];d=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=d;j[a+52>>2]=c;if(k[a+64|0]){break j}j[a+60>>2]=d;h[a+64|0]=1}c=j[a>>2]}if(k[c+672|0]){j[e+44>>2]=16843009;j[e+32>>2]=65536;j[e+36>>2]=196610;j[e+48>>2]=j[a+68>>2];j[e+52>>2]=j[a+72>>2];j[e+56>>2]=j[a+76>>2];j[e+60>>2]=j[a+80>>2];j[e+64>>2]=j[a+184>>2];j[e+68>>2]=j[a+188>>2];j[e+72>>2]=j[a+192>>2];j[e+76>>2]=j[a+196>>2];j[e+8>>2]=262148;j[e+20>>2]=e+32;j[e+16>>2]=e+44;j[e+12>>2]=e+48;b=Sl(c,b,e+8|0,4);j[e+140>>2]=b;if(b){break g}j[a+68>>2]=j[e+48>>2];j[a+72>>2]=j[e+52>>2];j[a+76>>2]=j[e+56>>2];j[a+80>>2]=j[e+60>>2];j[a+184>>2]=j[e+64>>2];j[a+188>>2]=j[e+68>>2];j[a+192>>2]=j[e+72>>2];j[a+196>>2]=j[e+76>>2]}if(!(h[a+16|0]&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I}j[e+140>>2]=0;break g}j[a+184>>2]=0;j[a+192>>2]=0;j[a+72>>2]=0;j[a+80>>2]=0;w=j[a+52>>2];d=j[a+36>>2]-w|0;j[a+68>>2]=d;f=j[a+56>>2];j[a+76>>2]=f+d;d=j[a+176>>2]+j[a+48>>2]|0;j[a+188>>2]=d;j[a+196>>2]=d-j[a+180>>2];p=j[j[j[a>>2]+128>>2]+48>>2];k:{if(!p){break k}d=j[j[p>>2]+8>>2];if(!d){break k}j[e+60>>2]=0;j[e+56>>2]=f;j[e+52>>2]=0;j[e+48>>2]=w;l:{if(qe[d|0](j[p+4>>2],b,0,e+48|0)|0){break l}d=i[e+48>>1];f=l[e+56>>1];j[a+176>>2]=0;j[a+180>>2]=0;j[a+56>>2]=f;j[a+52>>2]=d;if(k[a+64|0]){break l}j[a+60>>2]=f;h[a+64|0]=1}s=l[a+32>>1]}if(s<<16>>16>=1){b=qe[j[x+524>>2]](a)|0;j[e+140>>2]=b;if(b){break g}qe[j[x+516>>2]](a);n=j[a+12>>2];d=n;q=i[d+58>>1];b=j[a+72>>2];c=j[d+60>>2]+(q<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];v=q+1|0;c=j[d+60>>2]+(v<<3)|0;j[c>>2]=j[a+76>>2];j[c+4>>2]=b;b=j[a+188>>2];t=q+2|0;c=j[d+60>>2]+(t<<3)|0;j[c>>2]=j[a+184>>2];j[c+4>>2]=b;b=j[a+196>>2];g=q+3|0;c=j[d+60>>2]+(g<<3)|0;j[c>>2]=j[a+192>>2];j[c+4>>2]=b;b=d- -64|0;h[q+j[b>>2]|0]=0;h[v+j[b>>2]|0]=0;h[t+j[b>>2]|0]=0;h[g+j[b>>2]|0]=0;p=q+4|0;m:{b=j[a>>2];if(!k[b+672|0]){break m}b=Sl(b,j[a+20>>2],n+56|0,p);if(!b){break m}j[e+140>>2]=b;break c}o=j[a+16>>2];if(!(o&2)){f=l[n+58>>1];i[a+132>>1]=f;i[a+134>>1]=l[n+56>>1];j[a+136>>2]=j[n+76>>2];d=j[n+60>>2];j[a+140>>2]=d;c=j[n+80>>2];j[a+144>>2]=c;j[a+148>>2]=j[n+64>>2];b=j[n+68>>2];i[a+156>>1]=0;j[a+152>>2]=b;Ae(c,d,(f<<3)+32|0);o=j[a+16>>2]}if(!(o&1)){b=j[n+60>>2];c=a;if((q|0)>=-3){p=(p<<3)+b|0;d=j[a+4>>2];f=j[d+52>>2];d=j[d+48>>2];while(1){H=b,I=ye(j[b>>2],d),j[H>>2]=I;H=b,I=ye(j[b+4>>2],f),j[H+4>>2]=I;b=b+8|0;if(p>>>0>b>>>0){continue}break}o=j[a+16>>2];b=j[n+60>>2]}d=(q<<3)+b|0;b=j[d+4>>2];j[c+68>>2]=j[d>>2];j[c+72>>2]=b;c=j[n+60>>2]+(v<<3)|0;b=j[c+4>>2];j[a+76>>2]=j[c>>2];j[a+80>>2]=b;c=j[n+60>>2]+(t<<3)|0;b=j[c+4>>2];j[a+184>>2]=j[c>>2];j[a+188>>2]=b;c=j[n+60>>2]+(g<<3)|0;b=j[c+4>>2];j[a+192>>2]=j[c>>2];j[a+196>>2]=b}if(o&2){j[e+140>>2]=0;Xh(u);break c}i[a+132>>1]=l[a+132>>1]+4;a=oq(a,0);j[e+140>>2]=a;if(a){break c}Xh(u);break c}if((s&65535)==65535){p=i[u+22>>1];z=i[u+20>>1];d=qe[j[x+528>>2]](a)|0;j[e+140>>2]=d;if(d){break g}B=j[a+168>>2];qe[j[x+516>>2]](a);if(k[x+672|0]){f=j[x+100>>2];n=j[u+84>>2];d=n+4|0;i[e+48>>1]=d;i[e+50>>1]=d;t=d<<16>>16;q=xe(f,8,0,t,0,e+140|0);n:{if(j[e+140>>2]){break n}v=xe(f,1,0,t,0,e+140|0);if(j[e+140>>2]){break n}w=xe(f,2,0,t,0,e+140|0);if(j[e+140>>2]){break n}if(n){s=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[g>>2]=j[s+8>>2];j[g+4>>2]=j[s+12>>2];h[d+v|0]=1;i[(d<<1)+w>>1]=d;s=s+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}d=q+(n<<3)|0;j[d>>2]=j[a+68>>2];j[d+4>>2]=j[a+72>>2];h[n+v|0]=1;i[(n<<1)+w>>1]=n;g=n+1|0;d=q+(g<<3)|0;j[d>>2]=j[a+76>>2];j[d+4>>2]=j[a+80>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+2|0;d=q+(g<<3)|0;j[d>>2]=j[a+184>>2];j[d+4>>2]=j[a+188>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;g=n+3|0;d=q+(g<<3)|0;j[d>>2]=j[a+192>>2];j[d+4>>2]=j[a+196>>2];h[g+v|0]=1;i[(g<<1)+w>>1]=g;j[e+60>>2]=w;j[e+56>>2]=v;j[e+52>>2]=q;b=Sl(x,b,e+48|0,t);j[e+140>>2]=b;if(b){break n}if(n){b=j[u+88>>2]+(j[u+48>>2]<<5)|0;d=0;while(1){g=q+(d<<3)|0;j[b+8>>2]=i[g>>1];j[b+12>>2]=i[g+4>>1];b=b+32|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}b=q+(n<<3)|0;j[a+68>>2]=j[b>>2];j[a+72>>2]=j[b+4>>2];j[a+76>>2]=j[b+8>>2];j[a+80>>2]=j[b+12>>2];j[a+184>>2]=j[b+16>>2];j[a+188>>2]=j[b+20>>2];j[a+192>>2]=j[b+24>>2];j[a+196>>2]=j[b+28>>2]}if(q){qe[j[f+8>>2]](f,q)}if(v){qe[j[f+8>>2]](f,v)}if(w){qe[j[f+8>>2]](f,w)}if(j[e+140>>2]){break c}}b=j[a+16>>2];if(!(b&1)){H=a,I=ye(j[a+68>>2],o),j[H+68>>2]=I;H=a,I=ye(j[a+76>>2],o),j[H+76>>2]=I;H=a,I=ye(j[a+184>>2],o),j[H+184>>2]=I;H=a,I=ye(j[a+188>>2],r),j[H+188>>2]=I;H=a,I=ye(j[a+192>>2],o),j[H+192>>2]=I;H=a,I=ye(j[a+196>>2],r),j[H+196>>2]=I;b=j[a+16>>2]}if(b&1024){Xh(u);j[j[a+8>>2]+72>>2]=1668246896;break c}C=j[u+48>>2];A=j[u+84>>2];D=j[a+28>>2];E=j[a+24>>2];Xh(u);o:{if(!A){s=0;b=p;break o}F=c+1|0;w=0;while(1){c=i[u+22>>1];G=j[a+192>>2];o=j[a+196>>2];r=j[a+184>>2];n=j[a+188>>2];q=j[a+76>>2];v=j[a+80>>2];t=j[a+68>>2];g=j[a+72>>2];d=w<<5;f=C<<5;b=$l(a,j[d+(f+j[u+52>>2]|0)>>2],F,0);j[e+140>>2]=b;if(b){break c}s=d+(f+j[u+52>>2]|0)|0;if(!(k[s+5|0]&2)){j[a+192>>2]=G;j[a+196>>2]=o;j[a+184>>2]=r;j[a+188>>2]=n;j[a+76>>2]=q;j[a+80>>2]=v;j[a+68>>2]=t;j[a+72>>2]=g}g=l[u+22>>1];d=c&65535;if((g|0)!=(d|0)){f=j[a+12>>2];b=l[f+22>>1];q=b<<16>>16;t=j[f+24>>2];o=l[s+4>>1];v=o&200;if(!(!v|b>>>0<=d>>>0)){d=s+16|0;b=c;while(1){Tg(t+(b<<3)|0,d);b=b+1|0;if((q|0)!=(b|0)){continue}break}o=l[s+4>>1]}d=j[s+12>>2];r=j[s+8>>2];p:{q:{if(!(o&2)){b=r+p|0;if(b>>>0>=c>>>0){break e}d=c+d|0;if(d>>>0>=q>>>0){break e}n=b<<3;b=j[f+24>>2];f=n+b|0;b=b+(d<<3)|0;d=j[f+4>>2]-j[b+4>>2]|0;r=j[f>>2]-j[b>>2]|0;break q}if(!(d|r)){break p}if(!(!v|!(o&2048))){f=ig(j[s+16>>2],j[s+20>>2]);b=ig(j[s+28>>2],j[s+24>>2]);r=ye(r,f);d=ye(d,b)}if(h[a+16|0]&1){break q}f=j[a+4>>2];b=j[f+52>>2];f=ye(r,j[f+48>>2]);d=ye(d,b);b=k[s+4|0]&4;r=b?f+32&-64:f;d=b?d+32&-64:d}if(!(d|r)){break p}f=t+(c<<3)|0;t=q-c|0;r:{if(!t){break r}b=0;if(!r){break r}while(1){c=f+(b<<3)|0;j[c>>2]=j[c>>2]+r;b=b+1|0;if((t|0)!=(b|0)){continue}break}}if(!t){break p}b=0;if(!d){break p}while(1){c=f+(b<<3)|0;j[c+4>>2]=j[c+4>>2]+d;b=b+1|0;if((t|0)!=(b|0)){continue}break}}j[e+140>>2]=0}w=w+1|0;if((A|0)!=(w|0)){continue}break}b=g<<16>>16}j[a+168>>2]=B;j[a+28>>2]=D;j[a+24>>2]=E;if(!(l[s+4>>1]&256)|(k[a+16|0]&2|b>>>0<=p>>>0)){break c}f=j[a+12>>2];d=i[f+22>>1];b=d+4|0;s:{if(!b){d=-4;break s}if(m[f+4>>2]>=i[f+58>>1]+(b+d|0)>>>0){break s}c=yf(f,b,0);if(c){break d}d=i[f+22>>1]}b=j[a+72>>2];c=j[f+24>>2]+(d<<3)|0;j[c>>2]=j[a+68>>2];j[c+4>>2]=b;b=j[a+80>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+8>>2]=j[a+76>>2];j[c+12>>2]=b;b=j[a+188>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+16>>2]=j[a+184>>2];j[c+20>>2]=b;b=j[a+196>>2];c=j[f+24>>2]+(i[f+22>>1]<<3)|0;j[c+24>>2]=j[a+192>>2];j[c+28>>2]=b;h[j[f+28>>2]+i[f+22>>1]|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+1|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+2|0]=0;h[(i[f+22>>1]+j[f+28>>2]|0)+3|0]=0;b=j[a+24>>2];c=Fe(b,j[a+168>>2]);j[e+8>>2]=c;if(c){break d}d=qf(b,e+8|0);c=j[e+8>>2];if(c){break d}t:{if(d>>>0>l[j[a>>2]+286>>1]){c=22;if((d|0)>j[a+28>>2]){break d}c=0;o=j[a+160>>2];r=j[o+388>>2];if(d>>>0>r>>>0){H=o,I=xe(j[o+8>>2],1,r,d,j[o+392>>2],e+48|0),j[H+392>>2]=I;o=j[a+160>>2];c=j[e+48>>2];r=c?r:d}j[e+8>>2]=c;j[o+388>>2]=r&65535;if(!c){break t}break d}if(!d){j[e+140>>2]=0;break c}o=j[a+160>>2]}c=uf(b,j[o+392>>2],d);j[e+8>>2]=c;if(c){break d}c=j[j[a+160>>2]+392>>2];b=j[a+8>>2];j[b+140>>2]=d;j[b+136>>2]=c;c=j[a+12>>2];f=l[c+22>>1]-p|0;i[a+132>>1]=f;i[a+134>>1]=l[c+20>>1]-z;b=p<<3;j[a+136>>2]=b+j[c+40>>2];j[a+140>>2]=b+j[c+24>>2];j[a+144>>2]=b+j[c+44>>2];g=j[c+28>>2]+p|0;j[a+148>>2]=g;c=j[c+32>>2];i[a+156>>1]=p;b=1;j[a+152>>2]=c+(z<<1);d=a;if(f&65535){h[g|0]=k[g|0]&231;c=l[a+132>>1];if(c>>>0>=2){while(1){c=j[a+148>>2]+b|0;h[c|0]=k[c|0]&231;b=b+1|0;c=l[a+132>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}i[d+132>>1]=b;H=e,I=oq(a,1),j[H+140>>2]=I;break c}j[e+140>>2]=20}if((t|0)<1){break c}}qe[j[x+516>>2]](a);break c}j[e+140>>2]=21;break c}j[e+140>>2]=c}if(!y){break a}a=j[j[x+128>>2]+48>>2];qe[j[j[a>>2]+4>>2]](j[a+4>>2],e+88|0)}oe=e+144|0;return j[e+140>>2]}function ey(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;A=j[a+28>>2];if(A){B=j[a+36>>2];C=j[a+16>>2];y=j[a+24>>2];D=y&3;y=(y+3|0)/4|0;q=j[a>>2];g=j[a+20>>2];f=j[a+40>>2];w=k[f+9|0];z=w-1|0;b=j[a+44>>2];x=k[b+9|0];v=x-1|0;while(1){a=y;a:{b:{switch(D-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=j[(k[f+31|0]<<2)+234976>>2];e:{f:{g:{h:{switch(z|0){case 0:e=k[q|0];break g;case 1:e=l[q>>1];break g;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break f;case 3:break h;default:break e}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break e}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;i:{j:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break i;case 3:break j;default:break i}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;k:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break e;case 3:break k;default:break e}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];l:{m:{n:{o:{switch(z|0){case 0:e=k[q|0];break n;case 1:e=l[q>>1];break n;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break m;case 3:break o;default:break l}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break l}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;p:{q:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break p;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break p;case 3:break q;default:break p}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;r:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break l;case 3:break r;default:break l}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];s:{t:{u:{v:{switch(z|0){case 0:e=k[q|0];break u;case 1:e=l[q>>1];break u;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break t;case 3:break v;default:break s}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break s}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;w:{x:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break w;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break w;case 3:break x;default:break w}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;y:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break s;case 3:break y;default:break s}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];z:{A:{B:{C:{switch(z|0){case 0:e=k[q|0];break B;case 1:e=l[q>>1];break B;case 2:n=(k[f+34|0]>>>3|0)+q|0;o=(k[f+33|0]>>>3|0)+q|0;d=255;e=(k[f+32|0]>>>3|0)+q|0;break A;case 3:break C;default:break z}}e=j[q>>2]}d=k[d+((e&j[f+24>>2])>>>k[f+35|0]|0)|0];if(!d){break z}n=j[(k[f+30|0]<<2)+234976>>2]+((e&j[f+20>>2])>>>k[f+34|0]|0)|0;o=j[(k[f+29|0]<<2)+234976>>2]+((e&j[f+16>>2])>>>k[f+33|0]|0)|0;e=j[(k[f+28|0]<<2)+234976>>2]+((e&j[f+12>>2])>>>k[f+32|0]|0)|0}s=k[n|0];t=k[o|0];e=k[e|0];m=0;n=0;o=0;r=0;D:{E:{switch(v|0){case 0:c=k[g|0];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 1:c=l[g>>1];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break D;case 2:n=k[(k[b+34|0]>>>3|0)+g|0];o=k[(k[b+33|0]>>>3|0)+g|0];r=k[(k[b+32|0]>>>3|0)+g|0];m=255;break D;case 3:break E;default:break D}}c=j[g>>2];m=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];n=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];o=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];r=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}u=(d+m|0)-((p(d,m)>>>0)/255|0)&255;s=((p(s-(n&255)|0,d)|0)/255|0)+n|0;m=s&255;t=((p(t-(o&255)|0,d)|0)/255|0)+o|0;c=t&255;e=((p(e-r|0,d)|0)/255|0)+r|0;d=e&255;F:{switch(v|0){case 0:h[g|0]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+g|0]=e;h[(k[b+33|0]>>>3|0)+g|0]=t;h[(k[b+34|0]>>>3|0)+g|0]=s;break z;case 3:break F;default:break z}}j[g>>2]=c>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];if(!(!e|!l[b>>1])){Ee(g+8|0,0,128);B=j[c>>2];j[g+24>>2]=B;E=g,F=xe(B,40,0,e,0,g+144|0),j[E+16>>2]=F;u=j[g+144>>2];a:{if(u){break a}n=xe(B,8,0,i[b>>1],0,g+144|0);j[g+20>>2]=n;u=j[g+144>>2];if(u){break a}u=i[b+2>>1];j[g+8>>2]=u;e=i[b>>1];j[g+12>>2]=e;q=j[g+16>>2];if(e){x=e>>>0>1?e:1;t=j[b+12>>2];e=0;while(1){w=i[t+(r<<1)>>1];o=q+p(e,40)|0;j[n>>2]=o;s=w+1|0;f=s-e|0;j[n+4>>2]=f;if(f){j[o>>2]=q+p(w,40);j[o+8>>2]=n;e=o;if((f|0)!=1){while(1){j[e+48>>2]=n;w=e+40|0;j[e+4>>2]=w;j[e+40>>2]=e;e=w;f=f-1|0;if(f>>>0>1){continue}break}}j[e+4>>2]=o}n=n+8|0;e=s;r=r+1|0;if((x|0)!=(r|0)){continue}break}}b:{if(!u){j[g+32>>2]=c;j[g+28>>2]=b;break b}s=j[b+4>>2];f=0;e=q;while(1){x=(j[e+4>>2]-q|0)/40|0;n=(j[e>>2]-q|0)/40|0;if(!(h[j[b+8>>2]+f|0]&1)){j[e+12>>2]=1}r=e;o=s+(f<<3)|0;t=j[o+4>>2];u=s+(n<<3)|0;w=t-j[u+4>>2]|0;n=w>>31;v=j[o>>2];u=v-j[u>>2]|0;o=u>>31;o=o^o+u;y=n^n+w;n=(u|0)>-1?2:-2;c:{if((o|0)>(p(y,12)|0)){break c}n=4;if((y|0)<=(p(o,12)|0)){break c}n=(w|0)>-1?-1:1}o=n;h[r+20|0]=o;r=e;y=s+(x<<3)|0;x=j[y+4>>2]-t|0;n=x>>31;t=j[y>>2]-v|0;v=t>>31;v=v^t+v;y=n^n+x;n=(t|0)>-1?2:-2;d:{if((v|0)>(p(y,12)|0)){break d}n=4;if((y|0)<=(p(v,12)|0)){break d}n=(x|0)>-1?-1:1}h[r+21|0]=n;r=j[e+12>>2];e:{if(r&1){j[e+12>>2]=r|2;break e}if((o|0)!=(n|0)){break e}o=e;if((n|0)==4){if(!_m(u,w,t,x)){break e}r=j[e+12>>2]}j[o+12>>2]=r|2}e=e+40|0;f=f+1|0;n=j[g+8>>2];if(f>>>0>>0){continue}break}j[g+32>>2]=c;j[g+28>>2]=b;if(!n){break b}f=j[b+4>>2];e=j[g+16>>2];while(1){j[e+24>>2]=0;j[e+16>>2]=0;b=j[f+4>>2];j[e+28>>2]=j[f>>2];j[e+32>>2]=b;f=f+8|0;e=e+40|0;n=n-1|0;if(n){continue}break}}if(j[g+12>>2]){while(1){b=j[g+20>>2]+(A<<3)|0;f:{if(m[b+4>>2]<4){break f}b=j[b>>2];e=b;while(1){e=j[e+4>>2];if((b|0)==(e|0)){break f}q=j[e+32>>2]-j[b+32>>2]|0;r=j[e+28>>2]-j[b+28>>2]|0;if(!(q|r)){continue}break}s=b;while(1){w=s;s=j[s>>2];if((b|0)==(s|0)){break f}f=j[w+32>>2]-j[s+32>>2]|0;o=j[w+28>>2]-j[s+28>>2]|0;if(!(f|o)){continue}n=$m(r,q,o,f);if(!n){continue}break}r=w;while(1){u=n;x=f;t=o;q=r;s=0;while(1){n=j[e+32>>2];b=j[e+28>>2];while(1){r=e;e=j[e+4>>2];v=j[e+28>>2];o=v-b|0;b=j[e+32>>2];f=b-n|0;s=(e|0)==(w|0)?1:s;n=b;b=v;if(!(f|o)){continue}break}n=$m(t,x,o,f);if(!n){continue}break}if((n^u)<=-1){while(1){j[q+12>>2]=j[q+12>>2]|4;q=j[q+4>>2];if((r|0)!=(q|0)){continue}break}j[r+12>>2]=j[r+12>>2]|4}if(!s){continue}break}}A=A+1|0;if(A>>>0>2]){continue}break}}u=hr(g+36|0,a+16|0,a+28|0,B);j[g+144>>2]=u;if(u){break a}u=hr(g+76|0,a+52|0,a- -64|0,B);if(u){break a}a=j[g+32>>2];x=j[a+200>>2];w=c+416|0;B=j[a+404>>2];a=ye(j[w>>2],B);b=a+32&-64;C=!b|(a|0)==(b|0);if(!C){e=Ne(B,b,a);km(j[g+32>>2],(a|0)>(b|0)?x+((x|0)/-50|0)|0:x,e,0,0)}i[g+128>>1]=257;h[g+132|0]=(d|0)!=1;h[g+131|0]=(d|0)==2|(d|0)==4;h[g+130|0]=(d&-2)==2;u=1;s=0;while(1){b=j[g+8>>2];if(b){f=j[j[g+28>>2]+4>>2];e=j[g+16>>2];o=b;while(1){j[e+24>>2]=0;j[e+16>>2]=0;a=u&1;d=j[(a?0:4)+f>>2];j[e+32>>2]=j[(a?4:0)+f>>2];j[e+28>>2]=d;f=f+8|0;e=e+40|0;o=o-1|0;if(o){continue}break}}n=j[g+12>>2];g:{if(!n){q=0;break g}r=0;t=j[g+20>>2];while(1){h:{a=t+(r<<3)|0;if(!j[a+4>>2]){break h}a=j[a>>2];f=a;while(1){f=j[f>>2];if((a|0)==(f|0)){q=r+1|0;break g}if(j[f+28>>2]==j[a+28>>2]){continue}break}q=j[f+4>>2];e=q;while(1){o=e;while(1){e=j[e+4>>2];if((q|0)==(e|0)){break h}d=j[e+28>>2];a=j[o+28>>2];if((d|0)==(a|0)){continue}break}i:{j:{if((a|0)>j[f+28>>2]){if((a|0)>(d|0)){break j}break i}if((a|0)>=(d|0)){break i}}while(1){j[o+16>>2]=j[o+16>>2]|64;o=j[o+4>>2];if((o|0)!=(e|0)){continue}break}}f=j[e>>2];continue}}q=0;r=r+1|0;if((n|0)!=(r|0)){continue}break}}while(1){if(b>>>0>q>>>0){d=j[g+16>>2];e=p(q,40);a=d+e|0;f=j[a+16>>2];k:{if(!(f&64)){break k}r=d+e|0;e=a;while(1){e=j[e>>2];if((a|0)==(e|0)){break k}n=j[e+32>>2];d=j[r+32>>2];if((n|0)==(d|0)){continue}break}e=a;while(1){e=j[e+4>>2];if((a|0)==(e|0)){break k}r=j[e+32>>2];if((r|0)==(d|0)){continue}break}if(!((d|0)<=(n|0)|(d|0)>=(r|0))){j[a+16>>2]=f|128;q=q+1|0;continue}if((d|0)<=(r|0)|(d|0)>=(n|0)){break k}j[a+16>>2]=f|256}q=q+1|0;continue}break}o=j[g+32>>2];n=(g+8|0)+p(s,40)|0;q=n+28|0;f=j[q>>2];if(f){e=j[n+36>>2];while(1){gr(e,o,s,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}o=j[g+32>>2]}a=j[n+60>>2];e=j[a+8>>2];b=j[a>>2];r=p(s,204);a=De(32,j[(r+o|0)+200>>2]);t=(a|0)<30?a:30;y=u&1;v=y?1:2;l:{m:{n:{if(b>>>0>=2){f=j[g+8>>2];d=0;if(!f){break l}a=j[e+12>>2];o=a>>>0>f>>>0?f:a;while(1){a=e;e=e+16|0;a=j[a+28>>2];a=a>>>0>>0?a:f;if(a>>>0>o>>>0){d=j[g+16>>2];fr(q,e);er(q,d+p(o,40)|0,a-o|0,t,v)}b=b-1|0;if(b>>>0<2){break n}f=j[g+8>>2];o=a;continue}}if((b|0)!=1){break m}}a=j[g+16>>2];b=j[g+8>>2];fr(q,j[j[n+60>>2]+8>>2]);er(q,a,b,t,v)}a=j[g+8>>2];d=0;if(!a){break l}e=j[g+16>>2];f=a;while(1){o:{if(!j[e+24>>2]){break o}b=j[e+16>>2];if(b&16){break o}j[e+16>>2]=b|16}e=e+40|0;f=f-1|0;if(f){continue}break}if(s&1){o=j[g+16>>2];q=a;while(1){b=k[o+20|0];p:{q:{if((b|0)==2|(b|0)==254){break q}b=k[o+21|0];if((b|0)==254){break q}if((b|0)!=2){break p}}b=j[o+16>>2];if(b&16){break p}d=j[o+28>>2];n=j[c+412>>2];r:{if(!n){break r}f=j[c+2488>>2];s=0-f|0;e=w;while(1){t=d-j[e+12>>2]|0;if((t|0)<(s|0)){break r}if(!((d|0)>(f+j[e+8>>2]|0)|((t|0)>j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e+24>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e+32|0;n=n-1|0;if(n){continue}break}}n=j[c+928>>2];if(!n){break p}f=j[c+2488>>2];s=0-f|0;e=((n<<5)+c|0)+932|0;while(1){t=j[e-24>>2]-d|0;if((t|0)<(s|0)){break p}if(!((d|0)<(j[e-20>>2]-f|0)|((t|0)>=j[c+2484>>2]?!k[c+2492|0]:0))){t=j[e-4>>2];b=b|48;j[o+16>>2]=b;j[o+36>>2]=t}e=e-32|0;n=n-1|0;if(n){continue}break}}o=o+40|0;q=q-1|0;if(q){continue}break}}q=j[(r+j[g+32>>2]|0)+200>>2];e=j[g+16>>2];while(1){d=j[e+24>>2];if(d){b=e;f=j[e+16>>2];o=j[d+8>>2];s:{if(f&512){break s}o=j[d+12>>2]+j[d+8>>2]|0;if(f&1024){break s}f=j[e+28>>2]-j[d>>2]|0;if((f|0)<=0){o=j[d+8>>2]+ye(f,q)|0;break s}n=j[d+12>>2];o=j[d+8>>2];d=j[d+4>>2];if((d|0)<=(f|0)){o=ye(f-d|0,q)+(o+n|0)|0;break s}o=Ne(f,n,d)+o|0}j[b+36>>2]=o;j[e+16>>2]=j[e+16>>2]|32}e=e+40|0;a=a-1|0;if(a){continue}break}d=j[g+8>>2]}t:{if((d|0)<1){break t}q=j[g+16>>2];s=q+p(d,40)|0;f=0;e=q;while(1){f=(j[e+16>>2]>>>4&1)+f|0;e=e+40|0;if(s>>>0>e>>>0){continue}break}if(!f){break t}v=j[(r+j[g+32>>2]|0)+200>>2];t=j[g+24>>2];o=g+144|0;if(f>>>0>=17){o=xe(t,4,0,f,0,g+140|0);if(j[g+140>>2]){break t}}b=0;a=q;while(1){if(k[a+16|0]&16){e=(b<<2)+o|0;u:{if((b|0)<1){f=e;break u}d=j[a+28>>2];while(1){f=e-4|0;n=j[f>>2];if((d|0)>=j[n+28>>2]){f=e;break u}j[e>>2]=n;e=f;if(o>>>0>>0){continue}break}}j[f>>2]=a;b=b+1|0}a=a+40|0;if(s>>>0>a>>>0){continue}break}A=((b<<2)+o|0)-4|0;while(1){d=j[q+16>>2];v:{if(d&16){break v}a=j[q+12>>2];if(a&2){e=k[q+20|0];if(!(a&4|d&64)|((e|0)==4|(e|0)!=k[q+21|0])){break v}j[q+12>>2]=a&-3}f=j[q+28>>2];e=0;d=q;w:{x:{if(b){y:{while(1){if((f|0)>2]+28>>2]){break y}e=e+1|0;if((e|0)!=(b|0)){continue}break}e=b}if(e){break x}}a=j[o>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}e=j[((e<<2)+o|0)-4>>2];n=b;while(1){a=n;if(a){n=a-1|0;if((f|0)<=j[j[(n<<2)+o>>2]+28>>2]){continue}}break}if((a|0)==(b|0)){a=j[A>>2];z=j[a+36>>2]+ye(f-j[a+28>>2]|0,v)|0;break w}n=j[e+28>>2];z=j[e+36>>2];if((n|0)==(f|0)){break w}a=j[(a<<2)+o>>2];z=j[a+28>>2];if((z|0)==(f|0)){z=j[a+36>>2];break w}D=j[a+36>>2];a=j[e+36>>2];z=Ne(f-n|0,D-a|0,z-n|0)+a|0}j[d+36>>2]=z;j[q+16>>2]=j[q+16>>2]|32}q=q+40|0;if(s>>>0>q>>>0){continue}break}if((g+144|0)==(o|0)){break t}if(o){qe[j[t+8>>2]](t,o)}}A=j[g+12>>2];if(A){a=r+j[g+32>>2]|0;t=j[a+200>>2];z=j[a+204>>2];v=j[g+20>>2];while(1){a=j[v+4>>2];z:{if((a|0)<1){break z}f=j[v>>2];a=f+p(a,40)|0;o=0;e=f;q=0;while(1){b=j[e+16>>2]&32;q=b?q?q:e:q;o=(b>>>5|0)+o|0;e=e+40|0;if(a>>>0>e>>>0){continue}break}e=q;if(o>>>0<=1){if((o|0)==1){z=j[q+36>>2]-ye(j[q+28>>2],t)|0}while(1){if((f|0)!=(q|0)){E=f,F=ye(j[f+28>>2],t)+z|0,j[E+36>>2]=F}f=f+40|0;if(a>>>0>f>>>0){continue}break}break z}while(1){a=e;e=j[e+4>>2];if((q|0)==(e|0)){break z}if(k[e+16|0]&32){continue}f=e;while(1){f=j[f+4>>2];if(!(k[f+16|0]&32)){continue}break}b=j[a+28>>2];d=j[f+28>>2];A:{if((b|0)<=(d|0)){s=d-b|0;r=a;d=f;break A}s=b-d|0;r=f;b=d;d=a}d=j[d+36>>2];o=j[r+36>>2];B:{if((s|0)<1){r=65536;break B}r=De(d-o|0,s);e=j[a+4>>2]}while(1){a=j[e+28>>2]-b|0;C:{D:{if((a|0)<=0){n=ye(a,t);break D}if((a|0)>=(s|0)){n=d;a=ye(a-s|0,t);break C}n=ye(a,r)}a=o}j[e+36>>2]=a+n;e=j[e+4>>2];if((f|0)!=(e|0)){continue}break}e=f;if((q|0)!=(e|0)){continue}break}}v=v+8|0;A=A-1|0;if(A){continue}break}}n=j[g+8>>2];if(n){a=j[g+28>>2];b=j[a+8>>2];a=j[a+4>>2];d=y?32:64;f=0;e=j[g+16>>2];while(1){q=a+(f<<3)|0;j[(y?q:q+4|0)>>2]=j[e+36>>2];if(k[e+16|0]&16){q=b+f|0;h[q|0]=d|k[q|0];n=j[g+8>>2]}e=e+40|0;f=f+1|0;if(n>>>0>f>>>0){continue}break}}if(!C){km(j[g+32>>2],x,B,0,0)}s=1;a=u&1;u=0;if(a){continue}break}}a=j[g+24>>2];b=a;c=j[g+100>>2];if(c){qe[j[b+8>>2]](b,c)}j[g+104>>2]=0;j[g+96>>2]=0;j[g+100>>2]=0;b=j[g+88>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+88>>2]=0;b=j[g+84>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+84>>2]=0;j[g+92>>2]=0;j[g+76>>2]=0;j[g+80>>2]=0;b=j[g+60>>2];if(b){qe[j[a+8>>2]](a,b)}j[g- -64>>2]=0;j[g+56>>2]=0;j[g+60>>2]=0;b=j[g+48>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+48>>2]=0;b=j[g+44>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+44>>2]=0;j[g+52>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;b=j[g+16>>2];if(b){qe[j[a+8>>2]](a,b)}j[g+16>>2]=0;b=j[g+20>>2];if(b){qe[j[a+8>>2]](a,b)}}oe=g+208|0;return u|0}function fy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=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;v=j[a+28>>2];if(v){n=k[a+63|0];s=j[a+56>>2];o=j[a+48>>2];x=j[a+36>>2];y=j[a+16>>2];b=j[a+40>>2];i=b;g=j[a+24>>2];z=g&7;A=(g+7|0)/8|0;e=j[a>>2];g=j[a+20>>2];t=j[a+44>>2];r=k[b+9|0];u=r-1|0;while(1){w=A;a:{b:{switch(z-1|0){default:a=7;break a;case 0:a=6;break a;case 1:a=5;break a;case 2:a=4;break a;case 3:a=3;break a;case 4:a=2;break a;case 5:a=1;break a;case 6:break b}}a=0}while(1){c:{d:{switch(a|0){case 0:a=0;c=0;d=0;m=0;e:{f:{g:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break f;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break f;case 3:break g;default:break e}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=1;continue;case 1:a=0;c=0;d=0;m=0;h:{i:{j:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break i;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break i;case 3:break j;default:break h}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=2;continue;case 2:a=0;c=0;d=0;m=0;k:{l:{m:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break l;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break l;case 3:break m;default:break k}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=3;continue;case 3:a=0;c=0;d=0;m=0;n:{o:{p:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break o;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break o;case 3:break p;default:break n}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=4;continue;case 4:a=0;c=0;d=0;m=0;q:{r:{s:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break r;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break r;case 3:break s;default:break q}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=5;continue;case 5:a=0;c=0;d=0;m=0;t:{u:{v:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break u;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break u;case 3:break v;default:break t}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=6;continue;case 6:a=0;c=0;d=0;m=0;w:{x:{y:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break x;case 2:c=(k[i+34|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}m=k[c|0];c=k[d|0];d=k[f|0]}if((a|0)!=(s|0)){f=d;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;d=k[a+1|0];q=c&255;c=k[a|0];a=k[a+2|0];a=((p(f-d|0,n)|0)/255|0)+d>>>3&28|((p(q-c|0,n)|0)/255|0)+c&-32|(((p((m&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}a=v-1|0;e=e+r|0;g=g+1|0;if((w|0)<=1){break c}w=w-1|0;a=7;continue;default:break d}}a=0;d=0;m=0;c=0;z:{A:{B:{switch(u|0){case 0:a=k[e|0];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 1:a=l[e>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0;break A;case 2:c=(k[i+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;d=(k[b+32|0]>>>3|0)+e|0;break A;case 3:break B;default:break z}}a=j[e>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((a&j[b+20>>2])>>>k[i+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];m=k[m|0]}if((a|0)!=(s|0)){q=m&255;a=j[j[t+4>>2]+4>>2]+(k[g|0]<<2)|0;m=k[a+1|0];f=d;d=k[a|0];a=k[a+2|0];a=((p(q-m|0,n)|0)/255|0)+m>>>3&28|((p(f-d|0,n)|0)/255|0)+d&-32|(((p((c&255)-a|0,n)|0)/255|0)+a&192)>>>6;c=g;if(o){a=k[(a&255)+o|0]}h[c|0]=a}e=e+r|0;g=g+1|0;a=0;continue}break}g=g+x|0;e=e+y|0;v=a;if(a){continue}break}}}function gy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;y=j[a+28>>2];if(y){o=k[a+63|0];w=j[a+56>>2];z=j[a+36>>2];A=j[a+16>>2];d=j[a+24>>2];B=d&3;C=(d+3|0)/4|0;n=j[a>>2];e=j[a+20>>2];m=j[a+40>>2];u=k[m+9|0];x=u-1|0;b=j[a+44>>2];v=k[b+9|0];t=v-1|0;while(1){a=C;a:{b:{switch(B-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=0;e:{f:{switch(x|0){case 0:d=k[n|0];break e;case 1:d=l[n>>1];break e;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break e;case 3:break f;default:break e}}d=j[n>>2]}g:{if(!o|(d|0)==(w|0)){break g}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;h:{i:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break h;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break h;case 3:break i;default:break h}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;j:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break g;case 3:break j;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break k;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break k;case 3:break l;default:break k}}d=j[n>>2]}m:{if(!o|(d|0)==(w|0)){break m}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;n:{o:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break n;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break n;case 3:break o;default:break n}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;p:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break m;case 3:break p;default:break m}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break q;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break q;case 3:break r;default:break q}}d=j[n>>2]}s:{if(!o|(d|0)==(w|0)){break s}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;t:{u:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break t;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break t;case 3:break u;default:break t}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;v:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break s;case 3:break v;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1];break w;case 2:d=k[n|0]|k[n+1|0]<<8|k[n+2|0]<<16;break w;case 3:break x;default:break w}}d=j[n>>2]}y:{if(!o|(d|0)==(w|0)){break y}q=k[j[(k[m+30|0]<<2)+234976>>2]+((j[m+20>>2]&d)>>>k[m+34|0]|0)|0];r=k[j[(k[m+29|0]<<2)+234976>>2]+((j[m+16>>2]&d)>>>k[m+33|0]|0)|0];s=k[j[(k[m+28|0]<<2)+234976>>2]+((j[m+12>>2]&d)>>>k[m+32|0]|0)|0];d=0;f=0;g=0;c=0;z:{A:{switch(t|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break z;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break z;case 3:break A;default:break z}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+o|0)-((p(d&255,o)>>>0)/255|0)&255;q=((p(q-f|0,o)|0)/255|0)+f|0;f=q&255;r=((p(r-g|0,o)|0)/255|0)+g|0;g=r&255;s=((p(s-c|0,o)|0)/255|0)+c|0;c=s&255;B:{switch(t|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=s;h[(k[b+33|0]>>>3|0)+e|0]=r;h[(k[b+34|0]>>>3|0)+e|0]=q;break y;case 3:break B;default:break y}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(k[h+9|0]==4){e:{switch(c-1|0){case 1:break b;case 3:break c;case 0:break e;default:break d}}H=j[b+12>>2];if(!H){break a}m=g^255;c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];F=i&3;b=(i+3|0)/4|0;B=c-i<<2;f:while(1){g:{h:{i:{j:{k:{switch(F-1|0){case 0:q=k[h+35|0];r=k[h+31|0];s=k[h+34|0];t=k[h+30|0];u=k[h+33|0];n=k[h+29|0];v=k[h+32|0];D=k[h+28|0];i=b;break h;case 1:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break i;case 2:G=k[h+31|0];O=j[(G<<2)+234976>>2];M=k[h+30|0];P=j[(M<<2)+234976>>2];N=k[h+29|0];Q=j[(N<<2)+234976>>2];C=k[h+28|0];I=j[(C<<2)+234976>>2];y=k[h+35|0];q=y;r=G;z=k[h+34|0];s=z;t=M;x=k[h+33|0];u=x;n=N;w=k[h+32|0];v=w;D=C;i=b;break j;default:break k}}r=k[h+31|0];O=j[(r<<2)+234976>>2];t=k[h+30|0];P=j[(t<<2)+234976>>2];n=k[h+29|0];Q=j[(n<<2)+234976>>2];D=k[h+28|0];I=j[(D<<2)+234976>>2];q=k[h+35|0];s=k[h+34|0];u=k[h+33|0];v=k[h+32|0];i=b;l=0;break g}l=1;break g}l=2;break g}l=3}while(1){l:{switch(l|0){case 0:c=j[a>>2];x=u&255;N=n&255;w=v&255;C=D&255;z=s&255;M=t&255;y=q&255;G=r&255;j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];j[a>>2]=((p(m,k[((c&j[h+16>>2])>>>x|0)+Q|0])>>>0)/255|0)+e>>>N<>2])>>>w|0)+I|0])>>>0)/255|0)+d>>>C<>2])>>>z|0)+P|0])>>>0)/255|0)+f>>>M<>2])>>>y|0)+O|0])>>>0)/255|0)+g>>>G<>2];E=j[a>>2];l=u&255;A=((p(m,k[Q+((E&j[h+16>>2])>>>l|0)|0])>>>0)/255|0)+e>>>o<>2];l=v&255;A=A|((p(m,k[I+((E&j[h+12>>2])>>>l|0)|0])>>>0)/255|0)+d>>>o<>2];l=s&255;A=A|((p(m,k[P+((E&j[h+20>>2])>>>l|0)|0])>>>0)/255|0)+f>>>o<>2];l=q&255;j[a>>2]=A|((p(m,k[O+((E&j[h+24>>2])>>>l|0)|0])>>>0)/255|0)+g>>>o<1){i=i-1|0;break m}a=a+B|0;H=c;if(c){continue f}break a}l=0;continue}}}W=Be(4);break a}x=j[b+12>>2];if(!x){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;i=j[b+8>>2];y=i&3;b=(i+3|0)/4|0;i=c-i<<2;n:while(1){o:{p:{q:{r:{s:{switch(y-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];t=k[h+33|0];u=k[h+29|0];n=k[h+32|0];v=k[h+28|0];w=b;break p;case 1:u=k[h+29|0];t=k[h+33|0];v=k[h+28|0];n=k[h+32|0];s=k[h+30|0];r=k[h+34|0];q=k[h+31|0];l=k[h+35|0];V=e>>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>>u<>>v<>>s<>>q<>2]=V;a=a+4|0;c=1;continue;case 1:j[a>>2]=V;a=a+4|0;c=2;continue;case 2:j[a>>2]=V;a=a+4|0;c=3;continue;default:break t}}c=x-1|0;j[a>>2]=e>>>u<>>v<>>s<>>q<1){w=w-1|0;break u}a=a+i|0;x=c;if(c){continue n}break a}c=0;continue}}}J=j[b+12>>2];if(!J){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];E=g&3;b=(g+3|0)/4|0;F=c-g<<2;v:while(1){w:{x:{y:{z:{A:{switch(E-1|0){case 0:t=k[h+35|0];u=k[h+31|0];n=k[h+34|0];v=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break x;case 1:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break y;case 2:K=k[h+31|0];R=j[(K<<2)+234976>>2];L=k[h+30|0];S=j[(L<<2)+234976>>2];A=k[h+29|0];i=j[(A<<2)+234976>>2];m=k[h+28|0];D=j[(m<<2)+234976>>2];s=k[h+35|0];t=s;u=K;r=k[h+34|0];n=r;v=L;q=k[h+33|0];w=q;x=A;l=k[h+32|0];z=l;y=m;g=b;break z;default:break A}}u=k[h+31|0];R=j[(u<<2)+234976>>2];v=k[h+30|0];S=j[(v<<2)+234976>>2];x=k[h+29|0];i=j[(x<<2)+234976>>2];y=k[h+28|0];D=j[(y<<2)+234976>>2];t=k[h+35|0];n=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break w}c=1;break w}c=2;break w}c=3}while(1){B:{switch(c|0){case 0:c=j[a>>2];q=w&255;A=x&255;l=z;m=y&255;r=n&255;L=v&255;s=t&255;K=u&255;j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];j[a>>2]=(p(k[((c&j[h+16>>2])>>>q|0)+i|0],e)>>>0)/255>>>A<>2])>>>l|0)+D|0],d)>>>0)/255>>>m<>2])>>>r|0)+S|0],f)>>>0)/255>>>L<>2])>>>s|0)+R|0]>>>K<>2];C=j[a>>2];o=w&255;B=(p(k[i+((C&j[h+16>>2])>>>o|0)|0],e)>>>0)/255>>>B<>2];G=B|(p(k[D+((C&j[h+12>>2])>>>z|0)|0],d)>>>0)/255>>>o<>2];o=n&255;G=G|(p(k[S+((C&j[h+20>>2])>>>o|0)|0],f)>>>0)/255>>>B<>2];o=t&255;j[a>>2]=G|k[R+((C&j[h+24>>2])>>>o|0)|0]>>>B<1){g=g-1|0;break C}a=a+F|0;J=c;if(c){continue v}break a}c=0;continue}}}I=j[b+12>>2];if(!I){break a}c=j[a+16>>2]/4|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;g=j[b+8>>2];K=g&3;b=(g+3|0)/4|0;L=c-g<<2;D:while(1){E:{F:{G:{H:{I:{switch(K-1|0){case 0:l=k[h+35|0];q=k[h+31|0];r=k[h+34|0];s=k[h+30|0];w=k[h+33|0];x=k[h+29|0];z=k[h+32|0];y=k[h+28|0];g=b;break F;case 1:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break G;case 2:E=k[h+31|0];T=j[(E<<2)+234976>>2];F=k[h+30|0];J=j[(F<<2)+234976>>2];B=k[h+29|0];H=j[(B<<2)+234976>>2];o=k[h+28|0];U=j[(o<<2)+234976>>2];v=k[h+35|0];l=v;q=E;n=k[h+34|0];r=n;s=F;u=k[h+33|0];w=u;x=B;t=k[h+32|0];z=t;y=o;g=b;break H;default:break I}}q=k[h+31|0];T=j[(q<<2)+234976>>2];s=k[h+30|0];J=j[(s<<2)+234976>>2];x=k[h+29|0];H=j[(x<<2)+234976>>2];y=k[h+28|0];U=j[(y<<2)+234976>>2];l=k[h+35|0];r=k[h+34|0];w=k[h+33|0];z=k[h+32|0];g=b;c=0;break E}c=1;break E}c=2;break E}c=3}while(1){J:{switch(c|0){case 0:v=l;i=j[a>>2];u=w&255;c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;B=x&255;n=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;o=y&255;m=n|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;F=s&255;E=q&255;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>l|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];c=k[((i&j[h+16>>2])>>>u|0)+H|0]+e|0;m=(c>>>0<255?c:255)>>>B<>2])>>>t|0)+U|0]+d|0;m=m|(c>>>0<255?c:255)>>>o<>2])>>>n|0)+J|0]+f|0;j[a>>2]=m|(c>>>0<255?c:255)>>>F<>2])>>>v|0)+T|0]>>>E<>2];C=j[a>>2];m=w&255;i=k[H+((C&j[h+16>>2])>>>m|0)|0]+e|0;A=(i>>>0<255?i:255)>>>A<>2];i=k[U+((C&j[h+12>>2])>>>z|0)|0]+d|0;D=A|(i>>>0<255?i:255)>>>m<>2];m=r&255;i=k[J+((C&j[h+20>>2])>>>m|0)|0]+f|0;m=D|(i>>>0<255?i:255)>>>A<>2];j[a>>2]=m|k[T+((C&j[h+24>>2])>>>l|0)|0]>>>i<1){g=g-1|0;break K}a=a+L|0;I=c;if(c){continue D}break a}c=0;continue}}}return W|0}function fp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=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=oe-192|0;oe=n;z=h;F=i&65535;o=d;p=e&65535;G=(e^i)&-2147483648;m=i>>>16&32767;a:{u=e>>>16&32767;b:{c:{if(m-1>>>0<32766?u-1>>>0<=32765:0){break c}H=e&2147483647;l=H;k=d;if(!(!k&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|k|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|k|(c|l))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((l|0)==65535|l>>>0<65535){i=b;d=!(p|o);h=d<<6;k=s(d?b:o)+32|0;b=s(d?c:p);b=h+((b|0)==32?k:b)|0;Nf(n+176|0,i,c,o,p,b-15|0);I=16-b|0;o=j[n+184>>2];p=j[n+188>>2];c=j[n+180>>2];b=j[n+176>>2]}if(e>>>0>65535){break c}d=!(z|F);e=d<<6;h=s(d?f:z)+32|0;d=s(d?g:F);d=e+((d|0)==32?h:d)|0;Nf(n+160|0,f,g,z,F,d-15|0);I=(d+I|0)-16|0;z=j[n+168>>2];F=j[n+172>>2];f=j[n+160>>2];g=j[n+164>>2]}e=F|65536;H=e;N=z;d=z;l=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=l;k=l;i=1963258675-(k+(d>>>0>4192101508)|0)|0;Ag(n+144|0,d,k,h,i);k=j[n+152>>2];Ag(n+128|0,0-k|0,0-(j[n+156>>2]+((k|0)!=0)|0)|0,h,i);h=j[n+136>>2];i=h<<1|j[n+132>>2]>>>31;h=j[n+140>>2]<<1|h>>>31;Ag(n+112|0,i,h,d,l);k=h;h=j[n+120>>2];Ag(n+96|0,i,k,0-h|0,0-(j[n+124>>2]+((h|0)!=0)|0)|0);h=j[n+104>>2];i=h<<1|j[n+100>>2]>>>31;h=j[n+108>>2]<<1|h>>>31;Ag(n+80|0,i,h,d,l);k=h;h=j[n+88>>2];Ag(n- -64|0,i,k,0-h|0,0-(j[n+92>>2]+((h|0)!=0)|0)|0);h=j[n+72>>2];i=h<<1|j[n+68>>2]>>>31;h=j[n+76>>2]<<1|h>>>31;Ag(n+48|0,i,h,d,l);k=h;h=j[n+56>>2];Ag(n+32|0,i,k,0-h|0,0-(j[n+60>>2]+((h|0)!=0)|0)|0);h=j[n+40>>2];i=h<<1|j[n+36>>2]>>>31;h=j[n+44>>2]<<1|h>>>31;Ag(n+16|0,i,h,d,l);k=h;h=j[n+24>>2];Ag(n,i,k,0-h|0,0-(j[n+28>>2]+((h|0)!=0)|0)|0);I=(u-m|0)+I|0;h=j[n+8>>2];k=j[n+12>>2]<<1|h>>>31;l=h<<1|j[n+4>>2]>>>31;h=l-1|0;l=k-(l>>>0<1)|0;k=0;C=k;i=h;q=e;e=0;r=hP(h,k,q,e);k=pe;v=k;y=l;m=0;u=d;h=hP(l,m,d,0);d=h+r|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;k=0;l=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;r=hP(y,m,q,e);e=r+d|0;l=pe+(k|l)|0;k=e;e=k>>>0>>0?l+1|0:l;q=k;l=h;r=0;h=hP(i,C,u,t);d=r+h|0;k=pe+l|0;k=d>>>0>>0?k+1|0:k;h=k;u=(l|0)==(k|0)&r>>>0>d>>>0|k>>>0>>0;l=q+u|0;k=e;A=l;e=l>>>0>>0?k+1|0:k;q=d;r=d;u=h;d=g;B=(d&131071)<<15|f>>>17;v=hP(i,C,B,0);d=pe;t=d;k=f;l=k<<15&-32768;x=0;D=hP(y,m,l,x);h=D+v|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;D=0;E=hP(i,C,l,x);x=D+E|0;l=h;k=l+pe|0;k=x>>>0>>0?k+1|0:k;w=(k|0)==(l|0)&x>>>0>>0|k>>>0>>0;k=(d|0)==(t|0)&l>>>0>>0|d>>>0>>0;h=d;d=hP(y,m,B,K)+d|0;l=k+pe|0;l=d>>>0>>0?l+1|0:l;h=d;d=w+d|0;k=l;k=d>>>0>>0?k+1|0:k;h=d;d=d+r|0;k=k+u|0;k=d>>>0>>0?k+1|0:k;r=d;v=k;h=(k|0)==(u|0)&d>>>0>>0|k>>>0>>0;d=h+A|0;k=e;k=d>>>0>>0?k+1|0:k;e=(r|0)!=0|(v|0)!=0;d=e+d|0;l=d>>>0>>0?k+1|0:k;h=d;t=0-d|0;A=0;u=hP(t,A,i,C);d=pe;x=d;e=u;q=d;A=hP(y,m,t,A);d=pe;w=d;B=0-(((h|0)!=0)+l|0)|0;t=0;l=hP(i,C,B,t);h=l+A|0;k=pe+d|0;k=h>>>0>>0?k+1|0:k;d=k;l=h+q|0;e=0+e|0;q=e;k=e;l=k>>>0>>0?l+1|0:l;e=l;l=(x|0)==(l|0)&k>>>0>>0|l>>>0>>0;k=(d|0)==(w|0)&h>>>0>>0|d>>>0>>0;h=d;d=hP(y,m,B,t)+d|0;k=k+pe|0;k=d>>>0>>0?k+1|0:k;h=d;d=l+d|0;w=d;h=d>>>0>>0?k+1|0:k;d=0-r|0;B=0-(((r|0)!=0)+v|0)|0;r=0;A=hP(B,r,i,C);x=pe;v=d;l=hP(d,0,y,m);d=l+A|0;k=pe+x|0;k=d>>>0>>0?k+1|0:k;l=d;d=k;C=hP(i,C,v,K);v=0+C|0;k=l+pe|0;k=v>>>0>>0?k+1|0:k;v=(l|0)==(k|0)&v>>>0>>0|l>>>0>k>>>0;i=(d|0)==(x|0)&l>>>0>>0|d>>>0>>0;l=d;d=hP(y,m,B,r)+l|0;k=i+pe|0;k=d>>>0>>0?k+1|0:k;i=d;d=d+v|0;l=d>>>0>>0?k+1|0:k;i=d;d=d+q|0;k=l+e|0;k=d>>>0>>0?k+1|0:k;i=d;l=d;d=k;l=(e|0)==(k|0)&l>>>0>>0|e>>>0>k>>>0;e=l+w|0;k=h;k=e>>>0>>0?k+1|0:k;l=e;e=i;v=e-2|0;h=v;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=l+e|0;k=d>>>0>>0?k+1|0:k;e=d;d=d-1|0;h=k-(e>>>0<1)|0;e=0;x=e;m=d;i=o;w=i<<2|c>>>30;B=0;q=hP(d,e,w,B);e=pe;t=e;l=e;e=c;K=(e&1073741823)<<2|b>>>30;u=0;D=h;i=0;e=hP(K,u,h,i);d=e+q|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;k=(l|0)==(t|0)&d>>>0>>0|l>>>0>>0;q=d;h=l;A=r;l=0;r=l;c=k;E=((p&1073741823)<<2|o>>>30)&-262145|262144;l=hP(A,l,E,0);d=l+d|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;p=d;e=k;h=(k|0)==(h|0)&d>>>0>>0|h>>>0>k>>>0;d=c+h|0;k=0;k=d>>>0>>0?1:k;h=hP(D,i,E,M);d=h+d|0;l=pe+k|0;l=d>>>0>>0?l+1|0:l;o=hP(m,x,E,M);h=pe;c=d;t=hP(w,B,D,i);d=t+o|0;k=pe+h|0;k=d>>>0>>0?k+1|0:k;t=d;d=k;k=(h|0)==(k|0)&o>>>0>t>>>0|h>>>0>k>>>0;o=c+d|0;k=k+l|0;l=o;h=l>>>0>>0?k+1|0:k;q=p;c=l;p=0;d=q+p|0;o=e;l=t+e|0;l=d>>>0

>>0?l+1|0:l;k=d;e=l;p=(l|0)==(o|0)&k>>>0>>0|l>>>0>>0;l=c+p|0;k=h;C=l;h=l>>>0

>>0?k+1|0:k;o=d;p=e;q=hP(K,u,A,r);e=pe;t=hP(v,0,w,B);d=t+q|0;l=pe+e|0;l=d>>>0>>0?l+1|0:l;t=d;q=(e|0)==(l|0)&q>>>0>d>>>0|e>>>0>l>>>0;e=l;y=q;k=b;L=k<<2&-4;c=0;k=hP(m,x,L,c);d=k+d|0;l=pe+l|0;l=d>>>0>>0?l+1|0:l;q=d;k=d;d=l;l=(l|0)==(e|0)&k>>>0>>0|e>>>0>l>>>0;e=y+l|0;k=0;k=e>>>0>>0?1:k;l=e;e=o+l|0;k=k+p|0;k=e>>>0>>0?k+1|0:k;t=e;l=e;e=k;p=(k|0)==(p|0)&l>>>0>>0|k>>>0

>>0;k=p+C|0;l=h;C=k;p=k>>>0

>>0?l+1|0:l;y=hP(D,i,L,c);D=pe;i=hP(E,M,v,O);h=i+y|0;k=pe+D|0;k=h>>>0>>0?k+1|0:k;E=h;l=hP(w,B,A,r);h=h+l|0;i=k;k=k+pe|0;k=h>>>0>>0?k+1|0:k;w=h;o=hP(m,x,K,u);h=h+o|0;l=k+pe|0;l=h>>>0>>0?l+1|0:l;o=h;h=l;x=0;m=(l|0)==(k|0)&o>>>0>>0|l>>>0>>0;l=(i|0)==(k|0)&w>>>0>>0|i>>>0>k>>>0;i=l+((i|0)==(D|0)&E>>>0>>0|i>>>0>>0)|0;k=0;i=m+i|0;k=i;l=h|0;i=l+t|0;k=(k|x)+e|0;k=i>>>0>>0?k+1|0:k;l=k;m=(e|0)==(k|0)&i>>>0>>0|e>>>0>k>>>0;e=m+C|0;k=p;w=e;e=e>>>0>>0?k+1|0:k;t=i;p=l;A=hP(A,r,L,c);r=pe;k=hP(K,u,v,O);i=k+A|0;l=pe+r|0;l=i>>>0>>0?l+1|0:l;m=l;l=0;k=(m|0)==(r|0)&i>>>0>>0|m>>>0>>0;i=m+q|0;k=(k|l)+d|0;k=i>>>0>>0?k+1|0:k;m=i;l=i;i=k;l=(d|0)==(k|0)&l>>>0>>0|d>>>0>k>>>0;d=k;q=l;k=o;o=0;h=o+m|0;l=d+k|0;d=h;l=d>>>0>>0?l+1|0:l;h=(i|0)==(l|0)&d>>>0>>0|i>>>0>l>>>0;d=q+h|0;l=0;l=d>>>0>>0?1:l;h=d;d=d+t|0;k=l+p|0;k=d>>>0>>0?k+1|0:k;h=d;i=k;k=(k|0)==(p|0)&d>>>0>>0|k>>>0

>>0;d=k+w|0;l=e;l=d>>>0>>0?l+1|0:l;e=l;d:{if((l|0)==131071|l>>>0<131071){y=0;m=f;x=0;k=hP(h,y,m,x);o=pe;l=b<<17;b=0;c=(k|0)!=0|(o|0)!=0;u=b-c|0;D=l-(b>>>0>>0)|0;b=0-(((k|0)!=0)+o|0)|0;r=0-k|0;v=b;c=0;w=hP(i,c,m,x);b=pe;B=b;o=0;q=hP(h,y,g,o);k=q+w|0;l=pe+b|0;l=k>>>0>>0?l+1|0:l;b=k;q=0;t=k;k=(k|0)==(v|0)&r>>>0>>0|k>>>0>v>>>0;C=u-k|0;u=D-(k>>>0>u>>>0)|0;k=hP(d,0,m,x);m=pe;y=hP(h,y,z,0);p=y+k|0;k=pe+m|0;k=p>>>0>>0?k+1|0:k;m=hP(g,o,i,c);p=m+p|0;k=pe+k|0;k=((l|0)==(B|0)&b>>>0>>0|l>>>0>>0)+(m>>>0>p>>>0?k+1|0:k)|0;b=l+p|0;p=b;b=b>>>0>>0?k+1|0:k;k=hP(h,i,H,0);m=pe;w=p;p=hP(f,g,e,0);k=p+k|0;l=pe+m|0;l=k>>>0

>>0?l+1|0:l;m=hP(d,e,g,o);p=m+k|0;l=hP(i,c,z,F);c=l+p|0;l=c;z=0;c=w+z|0;k=b+l|0;k=c>>>0>>0?k+1|0:k;b=c;z=C-b|0;F=u-((b>>>0>C>>>0)+k|0)|0;I=I-1|0;p=r-q|0;b=v-((r>>>0>>0)+t|0)|0;break d}r=i>>>1|0;l=0;o=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;w=0;m=f;B=0;b=hP(h,w,m,B);k=pe;u=k;k=(b|0)!=0|(k|0)!=0;v=0-k|0;E=o-(c>>>0>>0)|0;q=0-b|0;t=0-(((b|0)!=0)+u|0)|0;o=0;u=hP(h,w,g,o);b=pe;D=b;k=e<<31|d>>>1;r=r|d<<31;O=k|l;C=r;L=0;l=hP(r,L,m,B);c=l+u|0;k=pe+b|0;k=c>>>0>>0?k+1|0:k;b=k;l=c;x=l;y=0;k=(l|0)==(t|0)&y>>>0>q>>>0|l>>>0>t>>>0;A=v-k|0;v=E-(k>>>0>v>>>0)|0;k=hP(h,i,H,0);E=pe;M=hP(m,g,e>>>1|0,0);l=M+k|0;k=pe+E|0;E=l;l=l>>>0>>0?k+1|0:k;k=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=hP(d,e,g,o);k=k+E|0;l=pe+l|0;F=hP(r,O,z,F);k=F+k|0;r=0;F=k;k=hP(g,o,C,L);o=pe;m=hP(d,0,m,B);l=m+k|0;k=pe+o|0;k=l>>>0>>0?k+1|0:k;z=hP(h,w,z,0);l=z+l|0;k=pe+k|0;p=l;l=l>>>0>>0?k+1|0:k;z=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+p|0;l=l+z|0;l=b>>>0>>0?l+1|0:l;c=b;b=b+r|0;l=l+F|0;l=b>>>0>>0?l+1|0:l;z=A-b|0;F=v-((b>>>0>A>>>0)+l|0)|0;p=q-y|0;b=t-((q>>>0>>0)+x|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}m=I+16383|0;if((I|0)<=-16383){e:{if(m){break e}m=p;k=b<<1|m>>>31;m=m<<1;c=(g|0)==(k|0)&f>>>0>>0|g>>>0>>0;f=z;k=F<<1|f>>>31;g=f<<1|b>>>31;l=g;f=(l|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&l>>>0>N>>>0|k>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;e=f;l=d>>>0>e>>>0?l+1|0:l;d=l;if(!(l&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}o=p;l=b<<1|o>>>31;o=o<<1;c=(g|0)==(l|0)&f>>>0<=o>>>0|g>>>0>>0;f=z;l=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(l|0)==(H|0)?c:(H|0)==(l|0)&f>>>0>=N>>>0|l>>>0>H>>>0;b=f+h|0;k=i;k=b>>>0>>0?k+1|0:k;c=k;f=d+((i|0)==(k|0)&b>>>0>>0|i>>>0>k>>>0)|0;l=e&65535;l=d>>>0>f>>>0?l+1|0:l;e=0;d=e+f|0;k=(m<<16)+l|0;J=d|J;G=G|(d>>>0>>0?k+1|0:k)}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=J;j[a+12>>2]=G;oe=n+192|0;return}j[a>>2]=0;j[a+4>>2]=0;b=!(d|f|(e|g));j[a+8>>2]=b?0:J;j[a+12>>2]=b?2147450880:G;oe=n+192|0}function Wq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;o=oe-16|0;oe=o;c=j[a+1020>>2];e=0;a:{if((c|0)<0){break a}b:{while(1){d=j[a+4>>2];e=(c<<2)+a|0;j[a+80>>2]=p(d,i[e+958>>1]);e=i[e+956>>1];j[a+44>>2]=0;j[a+48>>2]=0;j[a+92>>2]=0;c=j[a+28>>2];j[a+40>>2]=c;i[a+86>>1]=0;j[a+88>>2]=c;n=j[a+32>>2]-32|0;j[a+36>>2]=n;j[a+76>>2]=p(d,e);j[c+8>>2]=c;i[a+84>>1]=0;c:{d:{e:{f:{g:{h:{if(i[a+128>>1]<1){break h}d=j[a+8>>2];g=j[a+140>>2];f=0;v=0;while(1){j[a+96>>2]=0;j[a+100>>2]=0;n=j[a+132>>2];f=f&65535;c=n+(f<<3)|0;e=j[a+24>>2];m=(j[c+4>>2]<>2]<>1];t=n+(r<<3)|0;g=(j[t+4>>2]<>2]<>2];f=m+f|0;d=k[f|0];if(d&4){h[a+176|0]=d>>>5;d=k[f|0]}d=d&3;j:{if((d|0)==3){break j}k:{switch(d-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((k[m+r|0]&3)==1){t=t-8|0;break l}e=(e+q|0)/2|0;n=(n+s|0)/2|0}s=n;q=e;f=f-1|0;c=c-8|0}j[a+72>>2]=q;j[a+68>>2]=s;m:{if(c>>>0>>0){while(1){d=f+1|0;m=c+8|0;n:{o:{p:{switch(k[f+1|0]&3){case 1:g=j[c+8>>2];e=c;f=d;c=m;m=j[e+12>>2];e=j[a+24>>2];d=j[a+8>>2];m=(m<>2];g=j[a+8>>2];f=(j[c+8>>2]<>2]<>>0>=t>>>0){break o}m=j[a+24>>2];f=j[a+8>>2];n=(j[c+8>>2]<>2]<>>0>t>>>0){break b}w=c+24|0;u=j[a+24>>2];x=j[a+8>>2];e=(j[c+16>>2]<>2]<>2]<>2]<>>0>=w>>>0){g=e;e=(j[c+28>>2]<>2]<>>0>>0){continue}break}}if(Qq(a,s,q)){break e}}g=j[a+140>>2];f=l[y+g>>1];q=j[a+4>>2];n=q-1|0;c=j[a+72>>2];s=n&c;r:{if(s|(c|0)>2]|(c|0)>j[a+80>>2]){break r}e=j[a+96>>2];if(!e|(l[j[a+88>>2]+12>>1]^l[e+12>>1])&8){break r}j[a+40>>2]=j[a+40>>2]-4}e=j[a+40>>2];m=j[a+88>>2];r=j[m+8>>2];s:{if(!((e|0)==(r|0)|!(k[m+12|0]&8))){d=j[a+8>>2];c=(s|0)>=(d|0);break s}d=j[a+8>>2];c=(d|0)<=((c+n&0-q)-c|0)}q=e-r|0;if((q|0)<=-1){j[a+44>>2]=99;e=1;break a}t:{if(!q){c=e;break t}j[m+16>>2]=q>>2;if(c){c=l[m+12>>1];i[m+12>>1]=(c&8?16:32)|c}j[a+88>>2]=e;c=e+32|0;j[a+40>>2]=c;j[e+8>>2]=c;j[e+16>>2]=0;j[m+28>>2]=e;i[a+84>>1]=l[a+84>>1]+1}n=j[a+36>>2];if(n>>>0<=c>>>0){break d}h[a+87|0]=0;e=j[a+96>>2];if(e){j[m+28>>2]=e}f=f+1|0;v=v+1|0;if((v|0)>1]){continue}break}v=l[a+84>>1];if(v>>>0<2){break h}q=j[a+92>>2];d=q;if(!d){break h}while(1){e=d;u:{v:{switch(v&65535){default:m=j[d+8>>2]+(j[d+16>>2]<<2)|0;break u;case 1:break v;case 0:break g}}m=0}j[e+4>>2]=m;f=j[d+16>>2];g=j[d+20>>2];w:{if(k[d+12|0]&8){e=g;g=(f+e|0)-1|0;break w}e=(g-f|0)+1|0;j[d+20>>2]=e;j[d+8>>2]=(j[d+8>>2]+(f<<2)|0)-4}w=g;f=j[a+48>>2];r=0-f|0;t=j[a+32>>2];u=t-(f<<2)|0;d=f;x:{y:{while(1){s=d;if((d|0)<1){break y}d=s-1|0;x=u+(d<<2)|0;g=j[x>>2];if((g|0)>(e|0)){continue}break}if((e|0)<=(g|0)){s=f;break x}j[x>>2]=e;if((s|0)<2){e=g;break y}d=s-2|0;while(1){s=u+(d<<2)|0;e=j[s>>2];j[s>>2]=g;s=(d|0)>0;d=d-1|0;g=e;if(s){continue}break}}n=n-4|0;j[a+36>>2]=n;if(c>>>0>=n>>>0){break d}s=f+1|0;j[a+48>>2]=s;r=f^-1;j[t+(r<<2)>>2]=e}e=w+1|0;r=t+(r<<2)|0;d=s;z:{A:{while(1){f=d;if((d|0)<1){break A}d=f-1|0;u=r+(d<<2)|0;g=j[u>>2];if((g|0)>(e|0)){continue}break}if((g|0)>(w|0)){break z}j[u>>2]=e;if((f|0)<2){e=g;break A}d=f-2|0;while(1){f=r+(d<<2)|0;e=j[f>>2];j[f>>2]=g;f=(d|0)>0;d=d-1|0;g=e;if(f){continue}break}}n=n-4|0;j[a+36>>2]=n;if(c>>>0>=n>>>0){break d}j[a+48>>2]=s+1;j[t+((s^-1)<<2)>>2]=e}v=v-1|0;d=m;continue}}j[a+92>>2]=0;if(c>>>0>>0){break f}break e}if(c>>>0>=n>>>0){break e}j[o+8>>2]=0;j[o+4>>2]=0;j[o>>2]=0;d=j[a>>2];e=j[a+76>>2]>>d;i[o+12>>1]=e;g=j[a+80>>2]>>d;i[o+14>>1]=g;while(1){d=q;c=j[d+20>>2];m=(c+j[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){i[o+14>>1]=c;g=c}if((m|0)>e<<16>>16){i[o+12>>1]=m;e=m}q=j[d+4>>2];j[d>>2]=0;f=o+8|0;c=j[o+8>>2];B:{if(!c){c=0;break B}if(j[c>>2]>0){break B}C:{while(1){m=c;c=j[c+4>>2];if(c){if(j[c>>2]<=0){continue}break C}break}c=0}f=m+4|0}j[d+4>>2]=c;j[f>>2]=d;if(q){continue}break}if(!j[a+48>>2]){j[a+44>>2]=20;e=20;break a}qe[j[a+160>>2]](a,o+14|0,o+12|0);r=i[o+14>>1];c=j[o+8>>2];if(c){d=c;while(1){j[d+24>>2]=j[d+20>>2]-r;d=j[d+4>>2];if(d){continue}break}}e=j[a+48>>2];D:{if((e|0)<1){break D}E:{if(j[j[a+32>>2]-(e<<2)>>2]!=(r|0)){n=e;break E}n=e-1|0;j[a+48>>2]=n;if((e|0)<2){break D}}d=0;while(1){if(c){q=d<<16>>16;while(1){e=j[c+24>>2]-q|0;j[c+24>>2]=e;m=j[c+4>>2];if(!e){d=j[o+8>>2];F:{if(!d){break F}if((c|0)==(d|0)){j[o+8>>2]=m;break F}while(1){e=d;d=j[d+4>>2];if(!d){break F}if((c|0)!=(d|0)){continue}break}j[e+4>>2]=m}g=j[c>>2];G:{if(k[c+12|0]&8){e=o+4|0;d=j[o+4>>2];if(!d){d=0;break G}if((g|0)>2]){break G}H:{while(1){e=d;d=j[d+4>>2];if(d){if((g|0)>=j[d>>2]){continue}break H}break}d=0}e=e+4|0;break G}e=o;d=j[e>>2];if(!d){d=0;break G}if((g|0)>2]){break G}I:{while(1){e=d;d=j[d+4>>2];if(d){if((g|0)>=j[d>>2]){continue}break I}break}d=0}e=e+4|0}j[c+4>>2]=d;j[e>>2]=c}c=m;if(c){continue}break}}d=j[o+4>>2];c=d;J:{if(!c){break J}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break J}f=d+4|0;e=o+4|0;while(1){K:{if(j[d>>2]<=j[c>>2]){d=c;e=f;break K}j[e>>2]=c;j[f>>2]=j[c+4>>2];j[c+4>>2]=d;d=j[o+4>>2];e=o+4|0}f=d+4|0;c=j[d+4>>2];if(c){continue}break}}m=j[o>>2];c=m;L:{if(!c){m=0;break L}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}d=j[m+4>>2];if(!d){break L}f=m+4|0;e=o;c=m;while(1){M:{if(j[c>>2]<=j[d>>2]){e=f;break M}j[e>>2]=d;j[f>>2]=j[d+4>>2];j[d+4>>2]=c;e=o;m=j[e>>2];d=m}c=d;f=c+4|0;d=j[c+4>>2];if(d){continue}break}}j[a+48>>2]=n-1;v=j[j[a+32>>2]-(n<<2)>>2];u=v<<16>>16;N:{if((u|0)>r<<16>>16){q=r;while(1){s=0;f=m;O:{d=j[o+4>>2];c=d;if(!c){break O}while(1){g=j[c>>2];n=j[f>>2];w=(g|0)>(n|0);P:{Q:{e=w?g:n;g=w?n:g;n=j[a+4>>2];if((e-g|0)>(n|0)){break Q}t=0-n|0;w=t&g;if((w|0)==(g|0)){break Q}t=t&(e+n|0)-1;if((t|0)==(e|0)|((t|0)!=(n+w|0)?(t|0)>=(w|0):0)){break Q}if((l[c+12>>1]&7)==2){break P}j[c>>2]=g;j[f>>2]=e;j[c+24>>2]=1;s=s+1|0;break P}qe[j[a+164>>2]](a,q<<16>>16,g,e,c,f)}c=j[c+4>>2];if(c){f=j[f+4>>2];continue}break}f=m;c=d;if(s<<16>>16<=0){break O}while(1){if(j[c+24>>2]){j[c+24>>2]=0;qe[j[a+168>>2]](a,q<<16>>16,j[c>>2],j[f>>2],c,f)}c=j[c+4>>2];if(!c){break O}f=j[f+4>>2];continue}}qe[j[a+172>>2]](a);q=q+1|0;if((u|0)<=q<<16>>16){break N}c=d;R:{if(!c){break R}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}c=j[d+4>>2];if(!c){break R}f=d+4|0;e=o+4|0;while(1){S:{if(j[d>>2]<=j[c>>2]){d=c;e=f;break S}j[e>>2]=c;j[f>>2]=j[c+4>>2];j[c+4>>2]=d;d=j[o+4>>2];e=o+4|0}f=d+4|0;c=j[d+4>>2];if(c){continue}break}}m=0;g=j[o>>2];c=g;if(!c){continue}while(1){e=j[c+8>>2];j[c>>2]=j[e>>2];j[c+16>>2]=j[c+16>>2]-1;j[c+8>>2]=e+(l[c+12>>1]&8?4:-4);c=j[c+4>>2];if(c){continue}break}f=g+4|0;e=o;m=g;c=g;d=j[c+4>>2];if(!d){continue}while(1){T:{if(j[c>>2]<=j[d>>2]){e=f;break T}j[e>>2]=d;j[f>>2]=j[d+4>>2];j[d+4>>2]=c;e=o;g=j[e>>2];d=g}c=d;f=c+4|0;d=j[c+4>>2];if(d){continue}break}m=g;continue}}d=j[o+4>>2];q=r}U:{c=d;if(!c){break U}while(1){e=j[c+4>>2];V:{if(j[c+16>>2]|!d){break V}if((c|0)==(d|0)){j[o+4>>2]=e;break V}while(1){g=d;d=j[d+4>>2];if(!d){break V}if((c|0)!=(d|0)){continue}break}j[g+4>>2]=e}if(!e){break U}d=j[o+4>>2];c=e;continue}}W:{c=m;if(!c){break W}while(1){e=j[c+4>>2];X:{if(j[c+16>>2]|!m){break X}if((c|0)==(m|0)){j[o>>2]=e;break X}while(1){d=m;m=j[d+4>>2];if(!m){break X}if((c|0)!=(m|0)){continue}break}j[d+4>>2]=e}if(!e){break W}m=j[o>>2];c=e;continue}}n=j[a+48>>2];if((n|0)>=1){d=v-r|0;c=j[o+8>>2];r=q;continue}break}r=q}if(i[o+12>>1]>16){break f}while(1){qe[j[a+172>>2]](a);r=(r<<16)+65536>>16;if((r|0)<=i[o+12>>1]){continue}break}}c=j[a+1020>>2]-1|0;break c}if(j[a+44>>2]==98){break d}e=1;break a}j[a+44>>2]=0;d=j[a+1020>>2];e=(d<<2)+a|0;m=e;g=i[e+958>>1];c=i[e+956>>1];e=(g+c|0)/2|0;if(!((c|0)<=(e|0)?(d|0)<=6:0)){j[a+44>>2]=20;j[a+1020>>2]=0;e=20;break a}c=d+1|0;d=(c<<2)+a|0;i[d+958>>1]=g;i[d+956>>1]=e;i[m+958>>1]=e-1}j[a+1020>>2]=c;if((c|0)>-1){continue}break}e=0;break a}j[a+44>>2]=20;e=1}oe=o+16|0;return e}function pH(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=oe-1520|0;oe=f;j[b>>2]=1;s=Bh(j[b+96>>2],201641);j[b+484>>2]=s;r=dh(j[j[b+96>>2]+4>>2],201658);j[b+488>>2]=r;a:{if(!r){a=11;break a}x=b,y=dh(j[j[b+96>>2]+4>>2],201664),j[x+548>>2]=y;o=j[b+488>>2];Ee(f+8|0,0,376);j[b+540>>2]=0;j[b+532>>2]=-1;j[b+536>>2]=-1;j[b+284>>2]=1;j[b+348>>2]=3932;j[b+172>>2]=4;j[b+276>>2]=2596864;j[b+280>>2]=7;d=j[b+104>>2];e=j[b+100>>2];qe[j[j[o+4>>2]>>2]](f+8|0,0,0,e);j[f+92>>2]=0;j[f+96>>2]=0;h[f+99|0]=0;h[f+100|0]=0;h[f+101|0]=0;h[f+102|0]=0;j[f+84>>2]=0;j[f+88>>2]=0;j[f+80>>2]=d;a=nq(d,201700,14);j[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=nq(d,201715,10);j[f+4>>2]=a;if(a){break d}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}n=qf(d,f+1512|0);e:{f:{g:{h:{a=j[f+1512>>2];if(!a){if((n+32767&65535)>>>0>=2){j[f+4>>2]=0;break g}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(!a){break h}}j[f+4>>2]=a;break d}j[f+4>>2]=0;if((n|0)==32769){break f}}a=Fe(d,0);j[f+4>>2]=a;if(a){break d}g=j[d+4>>2];break e}h[f+100|0]=1}i:{if(!j[d+20>>2]){a=j[d+8>>2];n=j[d>>2];h[f+101|0]=1;j[f+88>>2]=g;j[f+84>>2]=a+n;a=xf(d,g);j[f+4>>2]=a;if(a){break d}g=j[f+88>>2];break i}n=He(e,g,f+4|0);j[f+84>>2]=n;a=j[f+4>>2];if(a){break d}a=uf(d,n,g);j[f+4>>2]=a;if(a){break d}j[f+88>>2]=g}d=j[f+84>>2];j[f+12>>2]=d;j[f+8>>2]=d;j[f+16>>2]=d+g;j[f>>2]=0;break c}if(k[f+101|0]){j[f>>2]=a;break b}a=j[f+84>>2];if(a){qe[j[e+8>>2]](e,a)}d=0;j[f+84>>2]=0;a=j[f+4>>2];j[f>>2]=a;if(a){break b}g=j[f+88>>2]}a=mq(b,f+8|0,d,g);j[f>>2]=a;if(a){break b}q=j[f+24>>2];d=j[f+80>>2];j[f+4>>2]=0;j:{k:{l:{m:{if(k[f+100|0]){n=j[d+8>>2];j[f+96>>2]=0;while(1){e=qf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}if((e+32767&65535)>>>0>=2){j[f+4>>2]=0;break m}g=Zf(d,f+1512|0);a=j[f+1512>>2];if(a){break k}j[f+4>>2]=0;if((e|0)!=32770){break m}j[f+96>>2]=g+j[f+96>>2];a=xf(d,g);j[f+4>>2]=a;if(!a){continue}break}break k}e=j[f+84>>2];g=j[f+88>>2];d=e+g|0;a=e;while(1){n:{o:{if(k[a|0]!=101|a+9>>>0>=d>>>0|(k[a+1|0]!=101|k[a+2|0]!=120)){break o}if(k[a+3|0]!=101){break o}if(k[a+4|0]==99){break n}}a=a+1|0;if(d>>>0>a>>>0){continue}j[f>>2]=3;break b}a=a+10|0;j[f+16>>2]=a;j[f+8>>2]=e;p:{if(a>>>0>e>>>0){while(1){if(k[e|0]==101){if(!Qe(e,201726,5)){break p}}qe[j[f+40>>2]](f+8|0);if(!j[f+20>>2]){qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];if(e>>>0>>0){continue}}break}g=j[f+88>>2];e=j[f+84>>2]}d=e+g|0;continue}break}j[f+16>>2]=j[f+84>>2]+j[f+88>>2];qe[j[f+40>>2]](f+8|0);n=j[f+16>>2];d=j[f+8>>2];a=n-d|0;g=Mh(d,10,a);e=1;q:{if(!g){break q}e=Mh(d,13,a)>>>0>>0}a=3;if(d>>>0>=n>>>0){break k}g=(e|0)!=0;while(1){r:{e=k[d|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(g&(e|0)==13)){break r}}d=d+1|0;if((n|0)!=(d|0)){continue}break k}break}g=j[f+84>>2];e=j[f+88>>2]+(g-d|0)|0;s:{if(k[f+101|0]){g=He(q,e+1|0,f+4|0);j[f+92>>2]=g;a=j[f+4>>2];if(a){break k}j[f+96>>2]=e;break s}j[f+96>>2]=e;j[f+92>>2]=g;h[f+102|0]=1;j[f+84>>2]=0;j[f+88>>2]=0}t:{if(n>>>0<=d+3>>>0){break t}u:{a=k[d|0];if(a-48>>>0<10){break u}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{a=k[d+1|0];if(a-48>>>0<10){break v}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{a=k[d+2|0];if(a-48>>>0<10){break w}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{a=k[d+3|0];if(a-48>>>0<10){break x}switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}j[f+8>>2]=d;qe[j[j[o+4>>2]+24>>2]](f+8|0,g,e,f+1512|0,0)|0;a=j[f+1512>>2];j[f+96>>2]=a;h[a+j[f+92>>2]|0]=0;break l}zg(g,d,e);break l}if(!j[f+96>>2]){j[f>>2]=3;break b}a=Fe(d,n);j[f+4>>2]=a;if(a){break k}x=f,y=He(q,j[f+96>>2],f+4|0),j[x+92>>2]=y;a=j[f+4>>2];if(a){break k}j[f+96>>2]=0;a=qf(d,f+1512|0);y:{if(j[f+1512>>2]){break y}while(1){if((a+32767&65535)>>>0>1){break y}e=Zf(d,f+1512|0);if(j[f+1512>>2]){break y}j[f+4>>2]=0;if((a&65535)!=32770){break y}a=uf(d,j[f+92>>2]+j[f+96>>2]|0,e);j[f+4>>2]=a;if(a){break k}j[f+96>>2]=e+j[f+96>>2];a=qf(d,f+1512|0);if(!j[f+1512>>2]){continue}break}}j[f+4>>2]=0}qe[j[o+16>>2]](j[f+92>>2],j[f+96>>2],55665);a=3;if(m[f+96>>2]>3){break j}}j[f>>2]=a;break b}h[j[f+92>>2]]=32;h[j[f+92>>2]+1|0]=32;h[j[f+92>>2]+2|0]=32;h[j[f+92>>2]+3|0]=32;a=j[f+92>>2];j[f+12>>2]=a;j[f+8>>2]=a;d=j[f+96>>2];j[f+16>>2]=d+a;e=j[f+4>>2];j[f>>2]=e;if(e){break b}a=mq(b,f+8|0,a,d);j[f>>2]=a;if(a){break b}h[b+176|0]=k[b+176|0]&254;z:{A:{d=j[b+528>>2];if(!d){break A}a=j[d+416>>2];if(!(!a|(a|0)==j[d+4>>2])){j[d+416>>2]=0}B:{C:{if(j[d>>2]){e=j[d+4>>2];if(e){break C}}Ql(b);d=j[b+528>>2];if(!d){break A}e=j[d+4>>2];if(!e){break B}}a=0;while(1){if(k[(p(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break B}break}Ql(b);if(!j[b+528>>2]){break A}}a=j[b+540>>2];if(!a){break z}x=b,y=xe(j[b+100>>2],4,0,a,0,f),j[x+544>>2]=y;if(!j[f>>2]){break z}j[b+540>>2]=0;break b}j[b+540>>2]=0}o=j[f+160>>2];j[b+416>>2]=o;if(j[f+336>>2]){j[f+336>>2]=0;j[b+404>>2]=j[f+320>>2];j[b+392>>2]=j[f+324>>2];j[b+408>>2]=j[f+348>>2];j[b+412>>2]=j[f+352>>2]}if(!(j[j[b+128>>2]+48>>2]|j[f+228>>2])){j[f>>2]=3}e=0;j[f+228>>2]=0;j[b+396>>2]=j[f+216>>2];j[b+424>>2]=j[f+240>>2];j[b+428>>2]=j[f+244>>2];j[b+400>>2]=j[f+164>>2];j[b+420>>2]=j[f+188>>2];j[f+188>>2]=0;j[f+164>>2]=0;if(j[b+368>>2]!=1){break b}g=0;t=j[f+124>>2];if((t|0)>=1){d=0;while(1){u=d<<1;i[u+j[b+384>>2]>>1]=0;n=d<<2;j[n+j[b+388>>2]>>2]=201692;D:{if((o|0)<1){break D}v=j[n+j[f+132>>2]>>2];if(!v){break D}w=j[b+420>>2];a=0;while(1){q=j[(a<<2)+w>>2];if(!we(v,q)){i[j[b+384>>2]+u>>1]=a;j[n+j[b+388>>2]>>2]=q;if(!we(201692,q)){break D}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e;break D}a=a+1|0;if((o|0)!=(a|0)){continue}break}}d=d+1|0;if((t|0)!=(d|0)){continue}break}}j[b+380>>2]=g;j[b+376>>2]=e;j[b+372>>2]=j[f+104>>2]}a=j[f+156>>2];if(a){qe[a|0](f+108|0)}a=j[f+264>>2];if(a){qe[a|0](f+216|0)}a=j[f+212>>2];if(a){qe[a|0](f+164|0)}a=j[f+316>>2];if(a){qe[a|0](f+268|0)}a=j[f+372>>2];if(a){qe[a|0](f+324|0)}a=j[f+24>>2];d=a;e=j[f+92>>2];if(e){qe[j[d+8>>2]](d,e)}j[f+92>>2]=0;if(!k[f+101|0]){d=j[f+84>>2];if(d){qe[j[a+8>>2]](a,d)}j[f+84>>2]=0}qe[j[f+32>>2]](f+8|0);a=j[f>>2];if(a|(c|0)<0){break a}a=6;if((c|0)>0){break a}j[b+4>>2]=0;j[b+16>>2]=j[b+416>>2];c=j[b+8>>2];a=c|2577;j[b+8>>2]=a;if(k[b+156|0]){a=c|2581;j[b+8>>2]=a}e=j[b+528>>2];if(e){j[b+8>>2]=a|256}j[b+24>>2]=0;d=j[b+144>>2];j[b+20>>2]=d;E:{F:{if(d){a=j[b+140>>2];if(!a){break F}c=k[a|0];if(!c){a=201673;break E}while(1){G:{H:{g=c&255;c=k[d|0];if((g|0)==(c|0)){a=a+1|0;break H}g=g-32|0;if(!((g|0)!=13?g:0)){a=a+1|0;break G}I:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break F;case 0:case 13:break H;default:break I}}if(c){break F}break E}d=d+1|0}c=k[a|0];if(c){continue}break}a=201673;break E}a=j[b+364>>2];if(!a){break F}j[b+20>>2]=a}a=j[b+148>>2];a=a?a:201673}j[b+24>>2]=a;c=j[b+152>>2]!=0;j[b+12>>2]=c;a=j[b+148>>2];J:{if(!a){break J}if(we(a,201681)){if(we(a,201686)){break J}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+460>>2]>>16;a=j[b+464>>2]>>16;j[b+56>>2]=a;g=j[b+468>>2]+65535>>16;j[b+60>>2]=g;d=j[b+472>>2]+65535>>16;j[b- -64>>2]=d;c=l[b+68>>1];if(!c){i[b+68>>1]=1e3;c=1e3}i[b+76>>1]=g;i[b+72>>1]=a;i[b+70>>1]=d;a=d-a|0;c=(p(c,12)>>>0)/10|0;i[b+74>>1]=(a|0)>c<<16>>16?a:c;d=0;a=e;e=j[b+488>>2];if(!(qe[j[j[e+12>>2]>>2]](f+8|0,b,0,0,j[b+420>>2],a,0,0,974)|0)){h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[b+404>>2];j[f+1376>>2]=j[b+408>>2];j[f+1380>>2]=j[b+412>>2];j[f+1496>>2]=j[b+544>>2];j[f+1500>>2]=j[b+540>>2];if(j[b+416>>2]>=1){a=0;while(1){K:{if(kk(f+8|0,a,f+1512|0)){break K}c=j[j[j[f+12>>2]+128>>2]+48>>2];if(!c){break K}qe[j[j[c>>2]+4>>2]](j[c+4>>2],f+1512|0)}c=j[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}qe[j[j[e+12>>2]+4>>2]](f+8|0);i[b+76>>1]=((d|0)>=0?d+32768&-65536:0-(32768-d&-65536)|0)>>>16}i[b+78>>1]=l[b+74>>1];j[b+80>>2]=l[b+158>>1]|l[b+160>>1]<<16;if(!s){a=0;break a}d=j[r+20>>2];j[f+8>>2]=b;j[f+12>>2]=1970170211;j[f+16>>2]=65539;a=qg(j[d+12>>2],0,f+8|0,0);L:{if((a&255)!=163?a:0){break L}i[f+16>>1]=7;a=0;M:{N:{switch(j[b+368>>2]-1|0){case 1:i[f+18>>1]=0;j[f+12>>2]=1094995778;break M;case 3:i[f+18>>1]=1;j[f+12>>2]=1094992453;d=d+4|0;break M;case 0:i[f+18>>1]=2;j[f+12>>2]=1094992451;d=d+8|0;break M;case 2:break N;default:break L}}d=d+12|0;i[f+18>>1]=3;j[f+12>>2]=1818326065}b=j[d>>2];if(!b){break L}a=qg(b,0,f+8|0,0)}oe=f+1520|0;return a|0}oe=f+1520|0;return a|0}function Vr(a,b,c,d){var e=0,f=0,g=0,i=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=oe-352|0;oe=f;m=6;a:{if(!a|!b|(!c|!d)){break a}b:{c:{d:{e:{p=j[b>>2];if((j[a+8>>2]-p|0)+1>>>0>2){break e}e=j[b+4>>2];if((j[a+12>>2]-e|0)+1>>>0>2){break e}g=p;p=j[c>>2];if((g-p|0)+1>>>0>2){break e}g=e;e=j[c+4>>2];if((g-e|0)+1>>>0>2|(p-j[d>>2]|0)+1>>>0>2|(e-j[d+4>>2]|0)+1>>>0>2){break e}break d}e=j[d+4>>2];j[f+32>>2]=j[d>>2];j[f+36>>2]=e;e=j[c+4>>2];j[f+40>>2]=j[c>>2];j[f+44>>2]=e;c=j[b+4>>2];j[f+48>>2]=j[b>>2];j[f+52>>2]=c;b=j[a+12>>2];j[f+56>>2]=j[a+8>>2];j[f+60>>2]=b;w=a- -64|0;o=f+32|0;b=1;while(1){c=j[a>>2];B=f+32|0;f:{g:{if((u|0)>31){e=c;p=c;break g}g=j[o+20>>2];v=g-j[o+28>>2]|0;i=j[o+8>>2];p=j[o+16>>2];n=i-p|0;e=j[o+12>>2];l=e-g|0;g=n+1>>>0<3&l+1>>>0<3;r=j[o>>2]-i|0;q=(f+32|0)+(u<<3)|0;s=j[q+4>>2]-e|0;i=r+1>>>0<3&s+1>>>0<3;h:{i:{j:{e=p-j[o+24>>2]|0;k:{if(!(e+1>>>0>2|v+1>>>0>2)){if(g){e=c;p=c;if(i){break h}c=Gf(r,s);break k}c=Gf(n,l);if(i){break k}p=Gf(r,s);e=c;break h}c=Gf(e,v);if(!g){break i}if(!i){break j}}e=c;p=c;break h}p=Gf(r,s);e=((Df(c,p)|0)/2|0)+c|0;break h}e=Gf(n,l);if(i){p=e;break h}p=Gf(r,s)}i=Df(c,e);g=Df(e,p);l=i;i=i>>31;if((l+i^i)<=1474559){i=g>>31;if((i+g^i)<1474560){break g}}if(k[a+20|0]){j[a>>2]=c}c=j[o+24>>2];j[o+48>>2]=c;g=j[o+28>>2];j[o+52>>2]=g;i=j[o+8>>2];e=(i+j[o>>2]|0)/2|0;j[o+8>>2]=e;p=c;c=j[o+16>>2];p=(p+c|0)/2|0;j[o+40>>2]=p;c=(c+i|0)/2|0;e=(c+e|0)/2|0;j[o+16>>2]=e;c=(c+p|0)/2|0;j[o+32>>2]=c;j[o+24>>2]=(c+e|0)/2;i=j[(q|4)>>2];e=j[o+20>>2];c=(e+g|0)/2|0;j[o+44>>2]=c;g=c;c=j[o+12>>2];p=(c+e|0)/2|0;e=(g+p|0)/2|0;j[o+36>>2]=e;c=(c+i|0)/2|0;j[o+12>>2]=c;c=(c+p|0)/2|0;j[o+20>>2]=c;j[o+28>>2]=(c+e|0)/2;u=u+3|0;break f}l:{m:{n:{if(b&255){if(k[a+20|0]){of(f+336|0,j[a+60>>2],c+5898240|0);s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+84>>2];o:{if((b|0)>=0){r=j[w>>2];if(r>>>0<=b+1>>>0){j[w>>2]=b;break o}g=r-1|0;j[a+64>>2]=g;i=j[a+72>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[w>>2]}i=s+v|0;n=l+n|0;h[a+80|0]=0;j[a+84>>2]=b;p:{q:{if(!b){break q}g=j[a+72>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break q}if((j[g+4>>2]-i|0)+1>>>0<3){break p}}g=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;r:{if(q>>>0<=g>>>0){t=j[a+76>>2];break r}l=j[a+88>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+72>>2],f+24|0),j[D+72>>2]=E;m=j[f+24>>2];if(m){break n}t=xe(l,1,g,b,j[a+76>>2],f+24|0);j[a+76>>2]=t;m=j[f+24>>2];if(m){break n}j[a+68>>2]=b;b=j[a+64>>2]}g=j[a+72>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}s=j[a+12>>2];v=j[f+340>>2];n=j[a+8>>2];l=j[f+336>>2];b=j[a+116>>2];s:{if((b|0)>=0){r=j[a+96>>2];if(r>>>0<=b+1>>>0){j[a+96>>2]=b;break s}g=r-1|0;j[a+96>>2]=g;i=j[a+104>>2];q=i+(b<<3)|0;g=i+(g<<3)|0;i=j[g+4>>2];j[q>>2]=j[g>>2];j[q+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(r+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}i=s-v|0;n=n-l|0;h[a+112|0]=0;j[a+116>>2]=b;t:{u:{if(!b){break u}g=j[a+104>>2]+(b-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break u}m=0;if((j[g+4>>2]-i|0)+1>>>0<3){break t}}g=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;v:{w:{if(q>>>0<=g>>>0){t=j[a+108>>2];break w}l=j[a+120>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}D=a,E=xe(l,8,g,b,j[a+104>>2],f+24|0),j[D+104>>2]=E;m=j[f+24>>2];if(m){break v}t=xe(l,1,g,b,j[a+108>>2],f+24|0);j[a+108>>2]=t;m=j[f+24>>2];if(m){break v}j[a+100>>2]=b;b=j[a+96>>2]}g=j[a+104>>2]+(b<<3)|0;j[g>>2]=n;j[g+4>>2]=i;h[b+t|0]=1;j[a+96>>2]=j[a+96>>2]+1;m=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=c;break m}j[a+4>>2]=c;b=Df(j[a>>2],c);if(!b){break l}m=Di(a,b>>>31|0,0);if(m){break a}m=Ci(a,(b^-1)>>>31|0,0);break m}m=0;b=Df(j[a>>2],c);i=b>>31;if((i^b+i)<368641){break m}i=j[o+28>>2];b=j[o+24>>2];j[a+48>>2]=0;j[a+4>>2]=c;j[a+8>>2]=b;j[a+12>>2]=i;b=Df(j[a>>2],c);x:{if(!b){break x}m=Di(a,b>>>31|0,0);if(m){break x}m=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break m}h[a+80|0]=0}if(m){break a}}q=Df(c,e);g=Df(e,p);i=(Df(c,e)|0)/2|0;b=(Df(e,p)|0)/2|0;C=De(j[a+60>>2],Bi((q|0)/2|0));r=De(j[a+60>>2],Bi((g|0)/2|0));if(k[a+40|0]){q=Gf(j[o>>2]-j[o+24>>2]|0,j[((f+32|0)+(u<<3)|0)+4>>2]-j[o+28>>2]|0)}else{q=0}s=c+i|0;v=b+e|0;y=(f+32|0)+(u<<3)|4;b=5898240;t=1;c=w;while(1){of(f+336|0,C,b+s|0);j[f+336>>2]=j[f+336>>2]+j[o+16>>2];j[f+340>>2]=j[f+340>>2]+j[o+20>>2];of(f+24|0,r,b+v|0);j[f+24>>2]=j[f+24>>2]+j[o+8>>2];j[f+28>>2]=j[f+28>>2]+j[o+12>>2];of(f+16|0,j[a+60>>2],b+p|0);n=j[f+16>>2]+j[o>>2]|0;j[f+16>>2]=n;l=j[f+20>>2]+j[y>>2]|0;j[f+20>>2]=l;y:{z:{if(!k[a+40|0]){break z}e=(j[c+8>>2]+(j[c>>2]<<3)|0)-8|0;b=j[e+4>>2];i=j[e>>2];g=b;e=i;x=b;l=Gf(n-e|0,l-b|0);b=Df(q,l);n=b>>31;if((n^b+n)<5898241){break z}z=Gf(j[o+24>>2]-e|0,j[o+28>>2]-x|0);b=Gf(j[o>>2]-j[f+16>>2]|0,j[y>>2]-j[f+20>>2]|0);j[f+8>>2]=j[f+16>>2]-e;j[f+12>>2]=j[f+20>>2]-x;n=rk(f+8|0);l=Ai(l-b|0);A=l>>31;b=Ai(z-b|0);m=b>>31;of(f,Ne(n,A^l+A,m^b+m),z);n=e+j[f>>2]|0;j[f>>2]=n;l=x+j[f+4>>2]|0;j[f+4>>2]=l;h[c+16|0]=0;b=j[c>>2];A:{B:{C:{D:{if(!b){break D}e=j[c+8>>2]+(b-1<<3)|0;if((j[e>>2]-n|0)+1>>>0>2){break D}if((j[e+4>>2]-l|0)+1>>>0<3){break C}}e=j[c+4>>2];j[f+348>>2]=0;l=b+1|0;E:{if(l>>>0<=e>>>0){e=j[c+12>>2];break E}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+4>>2];n=j[c+8>>2]+(b<<3)|0;j[n>>2]=j[f>>2];j[n+4>>2]=l;h[b+e|0]=1;e=0;h[c+16|0]=0;l=j[c>>2];b=l+1|0;j[c>>2]=b;if(b>>>0>>0){break B}}l=j[c+8>>2]+(b-1<<3)|0;if((j[l>>2]-j[f+16>>2]|0)+1>>>0>2){e=b;break B}e=b;if((j[l+4>>2]-j[f+20>>2]|0)+1>>>0<3){break A}}l=j[c+4>>2];j[f+348>>2]=0;n=e+1|0;F:{if(n>>>0<=l>>>0){n=j[c+12>>2];break F}e=j[c+24>>2];b=l;while(1){b=((b>>>1|0)+b|0)+16|0;if(n>>>0>b>>>0){continue}break}D=c,E=xe(e,8,l,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}n=xe(e,1,l,b,j[c+12>>2],f+348|0);j[c+12>>2]=n;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;e=j[c>>2]}b=j[f+20>>2];l=j[c+8>>2]+(e<<3)|0;j[l>>2]=j[f+16>>2];j[l+4>>2]=b;h[e+n|0]=1;h[c+16|0]=0;b=j[c>>2]+1|0;j[c>>2]=b}e=j[c+4>>2];j[f+348>>2]=0;l=b+3|0;G:{if(l>>>0<=e>>>0){e=j[c+12>>2];break G}n=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(l>>>0>b>>>0){continue}break}D=c,E=xe(n,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(n,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}l=j[f+28>>2];m=j[c+8>>2]+(b<<3)|0;j[m>>2]=j[f+24>>2];j[m+4>>2]=l;n=j[f+336>>2];l=j[f+340>>2];j[m+16>>2]=i;j[m+20>>2]=g;j[m+8>>2]=n;j[m+12>>2]=l;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;i=j[c>>2];b=i+3|0;j[c>>2]=b;H:{if(!b){break H}e=j[c+8>>2]+(i+2<<3)|0;if((j[e>>2]-j[f+16>>2]|0)+1>>>0>2){break H}if((j[e+4>>2]-j[f+20>>2]|0)+1>>>0<3){break y}}e=j[c+4>>2];j[f+348>>2]=0;i=i+4|0;I:{if(i>>>0<=e>>>0){e=j[c+12>>2];break I}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+348|0),j[D+8>>2]=E;m=j[f+348>>2];if(m){break c}e=xe(g,1,e,b,j[c+12>>2],f+348|0);j[c+12>>2]=e;m=j[f+348>>2];if(m){break c}j[c+4>>2]=b;b=j[c>>2]}i=j[f+20>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+16>>2];j[g+4>>2]=i;h[b+e|0]=1;h[c+16|0]=0;j[c>>2]=j[c>>2]+1;break y}e=j[c+4>>2];b=j[c>>2];j[f+8>>2]=0;i=b+3|0;J:{if(i>>>0<=e>>>0){e=j[c+12>>2];break J}g=j[c+24>>2];b=e;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}D=c,E=xe(g,8,e,b,j[c+8>>2],f+8|0),j[D+8>>2]=E;m=j[f+8>>2];if(m){break b}e=xe(g,1,e,b,j[c+12>>2],f+8|0);j[c+12>>2]=e;m=j[f+8>>2];if(m){break b}j[c+4>>2]=b;b=j[c>>2]}i=j[f+340>>2];g=j[c+8>>2]+(b<<3)|0;j[g>>2]=j[f+336>>2];j[g+4>>2]=i;i=j[f+28>>2];j[g+8>>2]=j[f+24>>2];j[g+12>>2]=i;i=j[f+20>>2];j[g+16>>2]=j[f+16>>2];j[g+20>>2]=i;b=b+e|0;h[b+2|0]=1;h[b|0]=2;h[b+1|0]=2;h[c+16|0]=0;j[c>>2]=j[c>>2]+3}c=c+32|0;e=t&1;b=-5898240;t=0;if(e){continue}break}j[a>>2]=p;b=0;u=u-3|0}o=B+(u<<3)|0;if((u|0)>-1){continue}break}}b=j[d+4>>2];j[a+8>>2]=j[d>>2];j[a+12>>2]=b;m=0;break a}h[c+16|0]=0;break a}h[c+16|0]=0}oe=f+352|0;return m}function MD(a,b,c,d,e,f,g){var h=0,i=0,l=0,n=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,I=0;h=oe-8976|0;oe=h;z=d+e|0;F=0-z|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=j[b+4>>2];if(c>>>0>=m[b+104>>2]){break c}j[b+4>>2]=c+1;c=k[c|0];break b}}else{c=j[b+4>>2];if(c>>>0>2]){l=1;j[b+4>>2]=c+1;c=k[c|0]}else{l=1;c=ff(b)}continue}break}c=ff(b)}n=1;if((c|0)!=48){break a}while(1){c=q;q=c-1|0;o=o-(c>>>0<1)|0;c=j[b+4>>2];d:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break d}c=ff(b)}if((c|0)==48){continue}break}l=1}j[h+784>>2]=0;e:{f:{t=(c|0)==46;s=c-48|0;g:{h:{i:{j:{if(t|s>>>0<=9){while(1){k:{if(t&1){if(!n){q=r;o=i;n=1;break k}l=!l;break j}r=r+1|0;i=r>>>0<1?i+1|0:i;if((v|0)<=2044){y=(c|0)==48?y:r;l=(h+784|0)+(v<<2)|0;t=l;if(u){s=(p(j[l>>2],10)+c|0)-48|0}j[t>>2]=s;l=1;s=u+1|0;c=(s|0)==9;u=c?0:s;v=c+v|0;break k}if((c|0)==48){break k}j[h+8960>>2]=j[h+8960>>2]|1;y=18396}c=j[b+4>>2];l:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break l}c=ff(b)}t=(c|0)==46;s=c-48|0;if(t|s>>>0<10){continue}break}}q=n?q:r;o=n?o:i;if(!(!l|(c&-33)!=69)){n=np(b,g);c=pe;t=c;m:{if(n|(c|0)!=-2147483648){break m}if(!g){break g}n=0;t=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!l){break h}o=o+t|0;b=n+q|0;o=b>>>0>>0?o+1|0:o;q=b;break f}l=!l;if((c|0)<0){break i}}if(!j[b+104>>2]){break i}j[b+4>>2]=j[b+4>>2]-1}if(!l){break f}}j[67100]=28}r=0;i=0;kg(b,0,0);c=0;b=0;break e}b=j[h+784>>2];if(!b){Lg(h,+(f|0)*0);r=j[h>>2];i=j[h+4>>2];c=j[h+12>>2];b=j[h+8>>2];break e}if(!((q|0)!=(r|0)|(i|0)!=(o|0)|((i|0)>0?1:(i|0)>=0?r>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){$f(h+48|0,f);ni(h+32|0,b);lf(h+16|0,j[h+48>>2],j[h+52>>2],j[h+56>>2],j[h+60>>2],j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2]);r=j[h+16>>2];i=j[h+20>>2];c=j[h+28>>2];b=j[h+24>>2];break e}if((o|0)>0?1:(o|0)>=0?q>>>0>(e|0)/-2>>>0:0){j[67100]=68;$f(h+96|0,f);lf(h+80|0,j[h+96>>2],j[h+100>>2],j[h+104>>2],j[h+108>>2],-1,-1,-1,2147418111);lf(h- -64|0,j[h+80>>2],j[h+84>>2],j[h+88>>2],j[h+92>>2],-1,-1,-1,2147418111);r=j[h+64>>2];i=j[h+68>>2];c=j[h+76>>2];b=j[h+72>>2];break e}b=e-226|0;c=q>>>0>>0;b=b>>31;if((b|0)>(o|0)?1:(o|0)<=(b|0)?c:0){j[67100]=68;$f(h+144|0,f);lf(h+128|0,j[h+144>>2],j[h+148>>2],j[h+152>>2],j[h+156>>2],0,0,0,65536);lf(h+112|0,j[h+128>>2],j[h+132>>2],j[h+136>>2],j[h+140>>2],0,0,0,65536);r=j[h+112>>2];i=j[h+116>>2];c=j[h+124>>2];b=j[h+120>>2];break e}if(u){if((u|0)<=8){c=(h+784|0)+(v<<2)|0;b=j[c>>2];while(1){b=p(b,10);u=u+1|0;if((u|0)!=9){continue}break}j[c>>2]=b}v=v+1|0}n:{n=q;if((y|0)>(n|0)|(y|0)>=9|(n|0)>17){break n}if((n|0)==9){$f(h+192|0,f);ni(h+176|0,j[h+784>>2]);lf(h+160|0,j[h+192>>2],j[h+196>>2],j[h+200>>2],j[h+204>>2],j[h+176>>2],j[h+180>>2],j[h+184>>2],j[h+188>>2]);r=j[h+160>>2];i=j[h+164>>2];c=j[h+172>>2];b=j[h+168>>2];break e}if((n|0)<=8){$f(h+272|0,f);ni(h+256|0,j[h+784>>2]);lf(h+240|0,j[h+272>>2],j[h+276>>2],j[h+280>>2],j[h+284>>2],j[h+256>>2],j[h+260>>2],j[h+264>>2],j[h+268>>2]);$f(h+224|0,j[(0-n<<2)+227584>>2]);fp(h+208|0,j[h+240>>2],j[h+244>>2],j[h+248>>2],j[h+252>>2],j[h+224>>2],j[h+228>>2],j[h+232>>2],j[h+236>>2]);r=j[h+208>>2];i=j[h+212>>2];c=j[h+220>>2];b=j[h+216>>2];break e}b=(p(n,-3)+d|0)+27|0;c=j[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}$f(h+352|0,f);ni(h+336|0,c);lf(h+320|0,j[h+352>>2],j[h+356>>2],j[h+360>>2],j[h+364>>2],j[h+336>>2],j[h+340>>2],j[h+344>>2],j[h+348>>2]);$f(h+304|0,j[(n<<2)+227512>>2]);lf(h+288|0,j[h+320>>2],j[h+324>>2],j[h+328>>2],j[h+332>>2],j[h+304>>2],j[h+308>>2],j[h+312>>2],j[h+316>>2]);r=j[h+288>>2];i=j[h+292>>2];c=j[h+300>>2];b=j[h+296>>2];break e}while(1){c=v;v=c-1|0;if(!j[(h+784|0)+(v<<2)>>2]){continue}break}u=0;b=(n|0)%9|0;o:{if(!b){l=0;break o}g=(n|0)>-1?b:b+9|0;p:{if(!c){l=0;c=0;break p}q=j[(0-g<<2)+227584>>2];o=1e9/(q|0)|0;t=0;b=0;l=0;while(1){s=t;i=(h+784|0)+(b<<2)|0;r=j[i>>2];t=(r>>>0)/(q>>>0)|0;s=s+t|0;j[i>>2]=s;s=!s&(b|0)==(l|0);l=s?l+1&2047:l;n=s?n-9|0:n;t=p(o,r-p(q,t)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!t){break p}j[(h+784|0)+(c<<2)>>2]=t;c=c+1|0}n=(n-g|0)+9|0}while(1){r=(h+784|0)+(l<<2)|0;q:{while(1){if((n|0)!=36|m[r>>2]>=10384593?(n|0)>=36:0){break q}v=c+2047|0;t=0;s=c;while(1){c=s;i=v&2047;s=(h+784|0)+(i<<2)|0;b=j[s>>2];o=b>>>3|0;g=b<<29;b=g+t|0;o=b>>>0>>0?o+1|0:o;q=b;g=0;r:{if(!o&b>>>0<1000000001){break r}g=jP(b,o,1e9);q=q-hP(g,pe,1e9,0)|0}t=g;j[s>>2]=q;s=(i|0)!=(c-1&2047)?c:(i|0)==(l|0)?c:q?c:i;v=i-1|0;if((i|0)!=(l|0)){continue}break}u=u-29|0;if(!t){continue}break}l=l-1&2047;if((s|0)==(l|0)){b=(h+784|0)+((s+2046&2047)<<2)|0;c=s-1&2047;j[b>>2]=j[b>>2]|j[(h+784|0)+(c<<2)>>2]}n=n+9|0;j[(h+784|0)+(l<<2)>>2]=t;continue}break}s:{t:while(1){g=c+1&2047;o=(h+784|0)+((c-1&2047)<<2)|0;while(1){q=(n|0)>45?9:1;u:{while(1){s=l;b=0;v:{while(1){w:{l=b+s&2047;if((l|0)==(c|0)){break w}l=j[(h+784|0)+(l<<2)>>2];i=j[(b<<2)+227536>>2];if(l>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((n|0)!=36){break v}q=0;o=0;b=0;r=0;i=0;while(1){g=b+s&2047;if((g|0)==(c|0)){c=c+1&2047;j[((c<<2)+h|0)+780>>2]=0}lf(h+768|0,q,o,r,i,0,0,1342177280,1075633366);ni(h+752|0,j[(h+784|0)+(g<<2)>>2]);Wf(h+736|0,j[h+768>>2],j[h+772>>2],j[h+776>>2],j[h+780>>2],j[h+752>>2],j[h+756>>2],j[h+760>>2],j[h+764>>2]);r=j[h+744>>2];i=j[h+748>>2];q=j[h+736>>2];o=j[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}$f(h+720|0,f);lf(h+704|0,q,o,r,i,j[h+720>>2],j[h+724>>2],j[h+728>>2],j[h+732>>2]);r=j[h+712>>2];i=j[h+716>>2];q=0;o=0;n=j[h+704>>2];t=j[h+708>>2];l=u+113|0;e=l-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}u=q+u|0;l=c;if((c|0)==(s|0)){continue}break}i=1e9>>>q|0;r=-1<>2];b=(v>>>q|0)+b|0;j[t>>2]=b;b=!b&(l|0)==(s|0);l=b?l+1&2047:l;n=b?n-9|0:n;b=p(i,r&v);s=s+1&2047;if((s|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(l|0)){j[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}j[o>>2]=j[o>>2]|1;l=g;continue}break}break}Lg(h+656|0,Kg(1,225-d|0));qp(h+688|0,j[h+656>>2],j[h+660>>2],j[h+664>>2],j[h+668>>2],n,t,r,i);A=j[h+696>>2];B=j[h+700>>2];C=j[h+688>>2];D=j[h+692>>2];Lg(h+640|0,Kg(1,113-d|0));cp(h+672|0,n,t,r,i,j[h+640>>2],j[h+644>>2],j[h+648>>2],j[h+652>>2]);q=j[h+672>>2];o=j[h+676>>2];w=j[h+680>>2];x=j[h+684>>2];sl(h+624|0,n,t,r,i,q,o,w,x);Wf(h+608|0,C,D,A,B,j[h+624>>2],j[h+628>>2],j[h+632>>2],j[h+636>>2]);r=j[h+616>>2];i=j[h+620>>2];n=j[h+608>>2];t=j[h+612>>2]}b=s+4&2047;x:{if((b|0)==(c|0)){break x}b=j[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((s+5&2047)==(c|0)?!b:0){break y}Lg(h+496|0,+(f|0)*.25);Wf(h+480|0,q,o,w,x,j[h+496>>2],j[h+500>>2],j[h+504>>2],j[h+508>>2]);w=j[h+488>>2];x=j[h+492>>2];q=j[h+480>>2];o=j[h+484>>2];break y}if((b|0)!=5e8){Lg(h+592|0,+(f|0)*.75);Wf(h+576|0,q,o,w,x,j[h+592>>2],j[h+596>>2],j[h+600>>2],j[h+604>>2]);w=j[h+584>>2];x=j[h+588>>2];q=j[h+576>>2];o=j[h+580>>2];break y}E=+(f|0);if((s+5&2047)==(c|0)){Lg(h+528|0,E*.5);Wf(h+512|0,q,o,w,x,j[h+528>>2],j[h+532>>2],j[h+536>>2],j[h+540>>2]);w=j[h+520>>2];x=j[h+524>>2];q=j[h+512>>2];o=j[h+516>>2];break y}Lg(h+560|0,E*.75);Wf(h+544|0,q,o,w,x,j[h+560>>2],j[h+564>>2],j[h+568>>2],j[h+572>>2]);w=j[h+552>>2];x=j[h+556>>2];q=j[h+544>>2];o=j[h+548>>2]}if((d|0)>111){break x}cp(h+464|0,q,o,w,x,0,0,0,1073676288);if(Kh(j[h+464>>2],j[h+468>>2],j[h+472>>2],j[h+476>>2],0,0,0,0)){break x}Wf(h+448|0,q,o,w,x,0,0,0,1073676288);w=j[h+456>>2];x=j[h+460>>2];q=j[h+448>>2];o=j[h+452>>2]}Wf(h+432|0,n,t,r,i,q,o,w,x);sl(h+416|0,j[h+432>>2],j[h+436>>2],j[h+440>>2],j[h+444>>2],C,D,A,B);r=j[h+424>>2];i=j[h+428>>2];n=j[h+416>>2];t=j[h+420>>2];z:{if((-2-z|0)>=(l&2147483647)){break z}j[h+408>>2]=r;j[h+412>>2]=i&2147483647;j[h+400>>2]=n;j[h+404>>2]=t;lf(h+384|0,n,t,r,i,0,0,0,1073610752);c=gp(j[h+400>>2],j[h+404>>2],j[h+408>>2],j[h+412>>2],1081081856);b=(c|0)<0;r=b?r:j[h+392>>2];i=b?i:j[h+396>>2];n=b?n:j[h+384>>2];t=b?t:j[h+388>>2];u=((c|0)>-1)+u|0;if(G=!(g&(b|(d|0)!=(e|0))&(Kh(q,o,w,x,0,0,0,0)|0)!=0),H=0,I=(u+110|0)<=(F|0),I?G:H){break z}j[67100]=68}pp(h+368|0,n,t,r,i,u);r=j[h+368>>2];i=j[h+372>>2];c=j[h+380>>2];b=j[h+376>>2]}j[a>>2]=r;j[a+4>>2]=i;j[a+8>>2]=b;j[a+12>>2]=c;oe=h+8976|0}function NN(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,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0;l=oe-304|0;oe=l;j[l+28>>2]=0;f=j[e+32>>2];if(f){m=j[f+278664>>2]}a:{b:{if(Qe(a,117052,7)){break b}c:{o=k[a+7|0];switch(o|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!j[j[e+36>>2]+8>>2]){break a}c=j[f+278664>>2];j[l+48>>2]=0;e=c;c=j[f+88>>2];b=(o?-8:-7)+b|0;d=b+1|0;e=xe(e,1,c,d+c|0,j[f+84>>2],l+48|0);j[f+84>>2]=e;c=j[l+48>>2];if(c){break a}u=Ae(e+j[f+88>>2]|0,o?a+8|0:a+7|0,b)+b|0,v=10,h[u|0]=v;j[f+88>>2]=d+j[f+88>>2];c=j[l+48>>2];break a}g=j[e>>2];if(!(g&1)){d=j[e+139320>>2];c=176;if(Qe(a,117060,9)){break a}d:{switch(k[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;j[e+32>>2]=0;j[e>>2]=1;b=He(d,278692,l+28|0);c=j[l+28>>2];if(c){break a}j[e+32>>2]=b;j[b+278664>>2]=j[e+139320>>2];j[e+139320>>2]=0;j[l+48>>2]=0;j[b+278684>>2]=0;j[b+278676>>2]=80;j[b+278680>>2]=241;u=b,v=xe(d,4,0,241,0,l+48|0),j[u+278688>>2]=v;c=j[l+48>>2];j[l+28>>2]=c;if(c){break a}b=b+278676|0;f=117072;while(1){c=xm(j[f>>2],a,b,d);j[l+28>>2]=c;if(c){break a}f=f+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=He(d,16,l+28|0);j[j[e+32>>2]+128>>2]=a;c=j[l+28>>2];if(c){break a}j[l+48>>2]=0;j[a+8>>2]=0;j[a>>2]=80;j[a+4>>2]=241;u=a,v=xe(d,4,0,241,0,l+48|0),j[u+12>>2]=v;c=j[l+48>>2];if(c){break a}a=j[j[e+36>>2]+12>>2];b=j[e+32>>2];j[b+36>>2]=-1;j[b+28>>2]=a;c=0;break a}e:{if(Qe(a,118400,15)){break e}f:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}o=e+139304|0;c=og(o,118416,a,b);j[l+28>>2]=c;if(c){break a}f=0;a=j[j[o>>2]+4>>2];g:{if(!a){break g}g=k[a|0];if(!g){break g}b=119584;n=10;c=a;h:{if((g|0)!=48){break h}if((k[a+1|0]|32)!=120){g=48;c=a;break h}g=k[a+2|0];b=119552;n=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break g}while(1){f=k[a+119616|0]+p(f,n)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[j[e+32>>2]+72>>2]=f;j[e+4>>2]=f;a=xe(m,16,0,f,0,l+28|0);b=j[e+32>>2];j[b+80>>2]=a;c=j[l+28>>2];if(c){j[b+72>>2]=0;break a}j[e>>2]=j[e>>2]|16;j[d>>2]=601;c=0;break a}o=l;i:{j:{if(Qe(a,118419,15)){break j}k:{switch(k[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=178;if(!(g&4)){break i}d=e+139304|0;c=og(d,118416,a,b);j[l+28>>2]=c;if(c){break a}f=0;b=0;q=j[d>>2];a=j[q+4>>2];l:{if(!a){break l}n=k[a|0];if(!n){break l}m=119584;d=10;c=a;m:{if((n|0)!=48){break m}if((k[a+1|0]|32)!=120){n=48;c=a;break m}n=k[a+2|0];m=119552;d=16;c=a+2|0}a=n<<24>>24;if(!(k[((n&248)>>>3|0)+m|0]>>>(a&7)&1)){break l}while(1){b=k[a+119616|0]+p(b,d)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];i[o+4>>1]=b;a=j[q+8>>2];n:{if(!a){break n}d=k[a|0];if(!d){break n}b=119584;m=10;c=a;o:{if((d|0)!=48){break o}if((k[a+1|0]|32)!=120){d=48;c=a;break o}d=k[a+2|0];b=119552;m=16;c=a+2|0}a=d<<24>>24;if(!(k[((d&248)>>>3|0)+b|0]>>>(a&7)&1)){break n}while(1){f=k[a+119616|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}i[o+6>>1]=f;g=0;t=o;a=j[q+12>>2];b=0;p:{if(!a){break p}n=k[a|0];b=0;if(!n){break p}m=119584;d=10;r=(n|0)==45;b=r?a+1|0:a;c=b;a=k[a+r|0];q:{if((a|0)!=48){break q}if((k[b+1|0]|32)!=120){a=48;c=b;break q}a=k[b+2|0];m=119552;d=16;c=b+2|0}b=0;r=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(r>>>(a&7)&1){while(1){b=k[a+119616|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}b=(n|0)==45?0-b|0:b}i[t+8>>1]=b;a=j[q+16>>2];r:{if(!a){break r}n=k[a|0];if(!n){break r}m=119584;d=10;g=(n|0)==45;b=g?a+1|0:a;c=b;a=k[a+g|0];s:{if((a|0)!=48){break s}if((k[b+1|0]|32)!=120){a=48;c=b;break s}a=k[b+2|0];m=119552;d=16;c=b+2|0}b=0;t=k[((a&248)>>>3|0)+m|0];a=a<<24>>24;if(t>>>(a&7)&1){while(1){b=k[a+119616|0]+p(b,d)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}g=(n|0)==45?0-b|0:b}c=0;i[o+14>>1]=0-g;i[o+12>>1]=f+g;i[o+10>>1]=g;j[e>>2]=j[e>>2]|8;break a}t:{u:{v:{w:{x:{y:{if(Qe(a,118435,4)){break y}z:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}g=e+139304|0;c=og(g,118416,a,b);j[l+28>>2]=c;if(c){break a}A:{B:{C:{D:{E:{F:{a=j[e+139312>>2];switch(a|0){case 0:break t;case 1:break E;default:break F}}d=a-1|0;a=0;c=1;while(1){b=j[g>>2];j[b+(a<<2)>>2]=j[b+(c<<2)>>2];c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}j[e+139312>>2]=d;if(!d){break t}c=0;b=j[j[g>>2]>>2];a=b;while(1){f=k[a|0];if(f){while(1){h[b+c|0]=f;c=c+1|0;f=k[a+1|0];a=a+1|0;if(f){continue}break}d=j[e+139312>>2]}n=n+1|0;if(n>>>0>>0){h[b+c|0]=32;d=j[e+139312>>2];c=c+1|0}if(d>>>0>n>>>0){a=j[j[g>>2]+(n<<2)>>2];continue}break}if((b|0)!=119537){h[b+c|0]=0}a=j[j[e+32>>2]>>2];if(a){qe[j[m+8>>2]](m,a)}j[j[e+32>>2]>>2]=0;d=c+1|0;a=xe(m,1,0,d,0,l+28|0);j[j[e+32>>2]>>2]=a;c=j[l+28>>2];if(c){break a}Ae(a,b,d);a=j[e+32>>2];if(!a){break x}b=j[a>>2];if(!b|!k[b|0]){break x}c=j[e+36>>2];d=j[a+278664>>2];j[l+40>>2]=0;j[l+32>>2]=0;j[l+36>>2]=0;j[l+44>>2]=d;j[a+28>>2]=j[c+12>>2];c=Le(b)+1|0;if(c>>>0>255){break x}Ae(l+48|0,b,c);c=og(l+32|0,119780,l+48|0,c);if(c|j[l+40>>2]!=15){break A}switch(h[j[j[l+32>>2]+44>>2]]-67|0){case 13:case 45:break B;case 10:case 42:break C;case 0:case 32:break D;default:break A}}j[e+139312>>2]=0;break t}j[a+28>>2]=32;break A}j[a+28>>2]=16;break A}j[a+28>>2]=8}a=j[l+44>>2];if(a){b=j[l+32>>2];if(b){qe[j[a+8>>2]](a,b)}}j[l+28>>2]=c;if(c){break a}j[e>>2]=j[e>>2]|2;c=0;break a}G:{if(Qe(a,118440,4)){break G}H:{switch(k[a+4|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}c=177;if(!(g&2)){break i}d=e+139304|0;c=og(d,118416,a,b);j[l+28>>2]=c;if(c){break a}b=0;f=0;n=j[d>>2];a=j[n+4>>2];I:{if(!a){break I}g=k[a|0];if(!g){break I}m=119584;d=10;c=a;J:{if((g|0)!=48){break J}if((k[a+1|0]|32)!=120){g=48;c=a;break J}g=k[a+2|0];m=119552;d=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+m|0]>>>(a&7)&1)){break I}while(1){f=k[a+119616|0]+p(d,f)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+m|0]>>>(a&7)&1){continue}break}}o=j[e+32>>2];j[o+16>>2]=f;a=j[n+8>>2];K:{if(!a){break K}g=k[a|0];if(!g){break K}f=119584;m=10;c=a;L:{if((g|0)!=48){break L}if((k[a+1|0]|32)!=120){g=48;c=a;break L}g=k[a+2|0];f=119552;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+f|0]>>>(a&7)&1)){break K}while(1){b=k[a+119616|0]+p(b,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+f|0]>>>(a&7)&1){continue}break}}j[o+20>>2]=b;f=0;a=j[n+12>>2];M:{if(!a){break M}g=k[a|0];if(!g){break M}b=119584;m=10;c=a;N:{if((g|0)!=48){break N}if((k[a+1|0]|32)!=120){g=48;c=a;break N}g=k[a+2|0];b=119552;m=16;c=a+2|0}a=g<<24>>24;if(!(k[((g&248)>>>3|0)+b|0]>>>(a&7)&1)){break M}while(1){f=k[a+119616|0]+p(f,m)|0;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}j[o+24>>2]=f;if(j[e+139312>>2]==5){a=j[n+16>>2];if(!a){break w}g=k[a|0];if(!g){break w}b=119584;m=10;n=(g|0)==45;d=n?a+1|0:a;c=d;a=k[a+n|0];O:{if((a|0)!=48){break O}if((k[d+1|0]|32)!=120){a=48;c=d;break O}a=k[d+2|0];b=119552;m=16;c=d+2|0}n=0;f=0;d=k[((a&248)>>>3|0)+b|0];a=a<<24>>24;if(d>>>(a&7)&1){while(1){f=k[a+119616|0]+p(f,m)<<16>>16;a=h[c+1|0];c=c+1|0;if(k[((a&248)>>>3|0)+b|0]>>>(a&7)&1){continue}break}}d=(g|0)==45?0-f|0:f;i[o+278662>>1]=d;m=o+278662|0;b=d&65535;a=1;if(!b){break v}b=32-s(b)|0;a=0;c=d;f=0;while(1){f=c&1?a:f;a=a+1|0;c=(c&65534)>>>1|0;b=b-1|0;if(b&65535){continue}break}n=d&65535;a=f&65535;a=a>>>0>3?8:1<>1]=1;break u}if(Qe(a,118445,5)){break t}P:{switch(k[a+5|0]){case 0:case 9:case 10:case 13:case 32:break P;default:break t}}c=179;if(!(g&8)){break i}a=i[f+12>>1];j[f+40>>2]=a;j[l+16>>2]=a;dk(l+48|0,l+16|0);c=Rh(j[e+32>>2],118455,l+48|0);j[l+28>>2]=c;if(c){break a}b=j[e+32>>2];a=i[b+14>>1];j[b+44>>2]=a;j[l>>2]=a;dk(l+48|0,l);c=Rh(j[e+32>>2],118467,l+48|0);if(c){break a}i[j[e+32>>2]+278660>>1]=1;j[d>>2]=602;c=-1;break i}c=6;break i}n=0;i[o+278662>>1]=0;m=o+278662|0;a=1}if((a|0)==(n|0)){break u}i[m>>1]=a<<1}j[e>>2]=j[e>>2]|4;c=0;break a}c=3}j[o+28>>2]=c}oe=l+304|0;return c|0}function Jz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}e=a+e|0;if(!e){break a}d=j[58746];a=j[58747];while(1){b=l[c>>1];i[c>>1]=((p(s,k[d+(b>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(b>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(b&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;e=e-1|0;if(e){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];e=k[d+(c>>>5&63)|0]+h|0;f=(e>>>0<255?e:255)<<3&8160;e=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=f|(e>>>0<255?e:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}b=a+e|0;if(!b){break a}d=j[58746];a=j[58747];while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=n+2|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}d=j[58746];a=j[58747];f=f<<1;while(1){c=l[b>>1];i[b>>1]=((p(s,k[d+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[a+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[a+(c&31)|0])>>>0)/255|0)+m>>>3;b=b+f|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;n=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}b=a+c|0;if(!b){break a}d=j[58746];a=j[58747];e=f<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}e=j[58746];d=j[58747];f=c<<1;while(1){c=l[a>>1];i[a>>1]=((p(s,k[e+(c>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[d+(c>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[d+(c&31)|0])>>>0)/255|0)+m>>>3;a=a+f|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];f=k[d+(c>>>5&63)|0]+h|0;o=(f>>>0<255?f:255)<<3&8160;f=k[a+(c>>>11|0)|0]+g|0;c=k[a+(c&31)|0]+m|0;i[n>>1]=o|(f>>>0<255?f:255)<<8&63488|(c>>>0<255?c:255)>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(c<<1)|0}b=((o|0)!=0)+r|0;if(!b){break a}d=j[58746];a=j[58747];e=c<<1;while(1){c=l[n>>1];i[n>>1]=(p(k[d+(c>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[a+(c>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[a+(c&31)|0],m)>>>0)/255>>>3;n=e+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<8&63488|(h<<3&4064|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];e=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;d=l[z>>1];i[z>>1]=((p(s,k[x+(d>>>5&63)|0])>>>0)/255|0)+h<<3&8160|((p(s,k[e+(d>>>11|0)|0])>>>0)/255|0)+g<<8&63488|((p(s,k[e+(d&31)|0])>>>0)/255|0)+m>>>3;d=(f|0)<0;f=(d?r:u)+f|0;b=(d?q:w)+b|0;c=(d?o:t)+c|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;x=j[58746];d=j[58747];y=j[a+16>>2];v=j[a+20>>2];a=0;while(1){z=(v+p(c,y)|0)+(b<<1)|0;e=l[z>>1];f=k[x+(e>>>5&63)|0]+h|0;A=(f>>>0<255?f:255)<<3&8160;f=k[d+(e>>>11|0)|0]+g|0;e=k[d+(e&31)|0]+m|0;i[z>>1]=A|(f>>>0<255?f:255)<<8&63488|(e>>>0<255?e:255)>>>3;e=(n|0)<0;n=(e?r:u)+n|0;b=(e?s:w)+b|0;c=(e?q:t)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;w=j[58746];e=j[58747];x=j[a+16>>2];y=j[a+20>>2];a=0;while(1){v=(y+p(c,x)|0)+(b<<1)|0;d=l[v>>1];i[v>>1]=(p(k[w+(d>>>5&63)|0],h)>>>0)/255<<3&8160|(p(k[e+(d>>>11|0)|0],g)>>>0)/255<<8&63488|(p(k[e+(d&31)|0],m)>>>0)/255>>>3;d=(n|0)<0;n=(d?f:t)+n|0;b=(d?q:u)+b|0;c=(d?r:s)+c|0;a=a+1|0;if((o|0)!=(a|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<8&63488|(h<<3&4064|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function LM(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,m=0,n=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;f=oe-384|0;oe=f;j[b>>2]=1;a:{if(!j[b+136>>2]){d=dh(j[j[b+96>>2]+4>>2],124236);if(!d){a=11;break a}j[b+136>>2]=d}if(!j[b+320>>2]){A=b,B=dh(j[j[b+96>>2]+4>>2],124242),j[A+320>>2]=B}a=Fe(a,0);if(a){break a}t=j[b+100>>2];j[f+108>>2]=0;m=j[b+104>>2];a=j[b+136>>2];Ee(f+8|0,0,100);qe[j[j[a+4>>2]>>2]](f+8|0,0,0,t);j[f+80>>2]=m;q=j[m+8>>2];b:{c:{d:{d=_e(m,31);e:{if(d){break e}a=Qe(j[m+32>>2],124270,31);Ve(m);if(a){j[f+4>>2]=2;break b}s=f+84|0;r=f+112|10;while(1){g=j[m+8>>2];f:{d=j[m+4>>2]-j[m+8>>2]|0;if(d){o=266;a=f+112|0;while(1){e=d>>>0>o>>>0?o:d;d=uf(m,a,e);if(d){break e}if(e>>>0<=255){h[a+e|0]=0}d=f+112|0;e=(a+e|0)-10|0;if(e>>>0>f+112>>>0){d=k[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Qe(a,124302,9)){break g}o=10;break f}h:{d=k[a+1|0];if((d|0)!=115){break h}if(Qe(a,124312,6)){break h}o=7;break f}a=a+1|0;if((e|0)!=(a|0)){continue}break}d=e}a=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);i[f+120>>1]=k[d+8|0]|k[d+9|0]<<8;j[f+112>>2]=e;j[f+116>>2]=a;o=256;g=g+256|0;a=r;d=j[m+4>>2]-j[m+8>>2]|0;if(d){continue}break}}j[f+4>>2]=3;break b}d=Fe(m,q);if(d){break e}n=((o-(f+112|0)|0)+a|0)+g|0;a=n-q|0;d=_f(m,a,s);if(d){break e}j[f+92>>2]=n;g=j[f+84>>2];j[f+12>>2]=g;j[f+104>>2]=-1;j[f+8>>2]=g;j[f+88>>2]=a;j[f+16>>2]=a+g;qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);a=j[f+8>>2];qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);d=j[f+8>>2];o=j[f+16>>2];if(d>>>0>>0){while(1){e=a;a=d;d=j[f+20>>2];if(d){break e}i:{if(k[a|0]!=83){break i}if(Qe(a,124302,9)){break i}if(Qe(g,124319,5)){break c}a=rf(e);if((a|0)>=0){break d}j[f+4>>2]=3;break b}j:{if(k[a+1|0]!=115){break j}if(Qe(a,124312,6)){break j}j[f+4>>2]=2;break b}qe[j[f+40>>2]](f+8|0);qe[j[f+36>>2]](f+8|0);g=e;d=j[f+8>>2];if(o>>>0>d>>>0){continue}break}}jf(m,s);d=Fe(m,n);if(!d){continue}break}}j[f+4>>2]=d;break b}j[f+96>>2]=a}j[f+4>>2]=0;j[f+20>>2]=0;a=j[f+84>>2];n=a+j[f+88>>2]|0;j[f+16>>2]=n;r=b+164|0;m=b+312|0;q=b+196|0;s=b+140|0;v=n-1|0;k:{l:{m:while(1){j[f+8>>2]=a;qe[j[f+36>>2]](f+8|0);e=j[f+8>>2];d=e>>>0>>0;g=(d?e:v)-17|0;if(g>>>0>a>>>0){while(1){n:{if(k[a|0]!=37){break n}if(Qe(a,124325,17)|j[b+300>>2]<1){break n}j[f+104>>2]=j[f+104>>2]+1}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(!d){d=j[f+20>>2];break k}qe[j[f+40>>2]](f+8|0);d=j[f+20>>2];a=j[f+8>>2];if(d|n>>>0<=a>>>0){break k}if(k[e|0]!=47|n>>>0<=e+2>>>0){continue}u=e+1|0;o=a-u|0;if(o-1>>>0>20){continue}w=k[u|0];d=124352;e=126188;while(1){o:{g=d;p:{if((w|0)!=k[e|0]){break p}if((Le(e)|0)!=(o|0)){break p}d=1;if(o>>>0<=1){break o}while(1){if(k[d+u|0]!=k[d+e|0]){break p}d=d+1|0;if((o|0)!=(d|0)){continue}break}break o}d=g+36|0;e=j[g+36>>2];if(e){continue}continue m}break}q:{e=f;o=j[g+8>>2];r:{if((o|0)==11){qe[j[g+12>>2]](b,f+8|0);a=j[f+20>>2];break r}d=s;s:{t:{switch(j[g+4>>2]){case 3:d=r;break s;case 2:d=m;break s;case 5:d=q;break s;case 0:break s;default:break t}}a=j[f+104>>2];if((a|0)<0|(a|0)>=j[b+300>>2]){break q}d=j[b+304>>2]+p(a,252)|0}j[f+112>>2]=d;if(o-9>>>0<=1){a=qe[j[f+76>>2]](f+8|0,g,f+112|0,0,0)|0;break r}a=qe[j[f+72>>2]](f+8|0,g,f+112|0,0,0)|0}j[e+20>>2]=a;if(a){break l}a=j[f+8>>2];continue}break}a=160;j[f+20>>2]=160}j[f+4>>2]=a;break b}j[f+4>>2]=d;if(d|(c|0)<0){break b}a=He(t,40,f+4|0);j[b+328>>2]=a;if(j[f+4>>2]){break b}r=b;d=j[f+96>>2];u:{if(d){d=He(t,d,f+4|0);j[b+324>>2]=d;if(j[f+4>>2]){break b}a=j[f+96>>2];q=j[b+104>>2];if(Fe(q,j[f+92>>2])){break b}v:{if((a|0)<1){break v}o=a+d|0;n=1;a=f+112|0;m=a;while(1){w:{x:{if(a>>>0>=m>>>0){e=j[q+8>>2];a=j[q+4>>2]-e|0;if(!a){break b}if(uf(q,f+112|0,a>>>0<256?a:256)){break b}m=(j[q+8>>2]+(f+112|0)|0)-e|0;a=f+112|0}s=k[a|0];e=s-48|0;if(e>>>0>9){e=s-97|0;g=(e&255)>>>0<6;if(g){break w}if((s-65&255)>>>0>5){break x}e=s-55|0}g=1;break w}e=0;y:{switch(s|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break y;default:break b}}a=a+1|0;continue}z:{if(n&255){h[d|0]=e<<4;break z}h[d|0]=k[d|0]+e;d=d+1|0}if(!g){break v}a=a+1|0;n=1-n|0;if(d>>>0>>0){continue}break}}d=j[b+324>>2];e=j[f+96>>2];a=j[b+328>>2];j[a+32>>2]=0;j[a+8>>2]=0;j[a+4>>2]=e;j[a>>2]=d;j[a+20>>2]=0;j[a+24>>2]=0;a=0;break u}d=j[b+104>>2];e=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=e;e=j[d+36>>2];j[a+32>>2]=j[d+32>>2];j[a+36>>2]=e;e=j[d+28>>2];j[a+24>>2]=j[d+24>>2];j[a+28>>2]=e;e=j[d+20>>2];j[a+16>>2]=j[d+16>>2];j[a+20>>2]=e;e=j[d+12>>2];j[a+8>>2]=j[d+8>>2];j[a+12>>2]=e;a=j[f+92>>2]}j[r+308>>2]=a;u=j[b+328>>2];w=j[b+136>>2];g=0;r=j[b+100>>2];t=xe(r,8,0,j[b+300>>2],0,f+112|0);j[b+316>>2]=t;A:{if(j[f+112>>2]|j[b+300>>2]<1){break A}v=0;q=0;while(1){B:{d=j[b+304>>2]+p(v,252)|0;n=j[d+240>>2];if((n|0)==-1){j[f+112>>2]=160;break B}y=j[d+4>>2];if(n>>>0>=q>>>0){a=n+4&-4;if(a>>>0<=q>>>0){j[f+112>>2]=160;break B}g=xe(r,4,q,a,g,f+112|0);q=a;if(j[f+112>>2]){break B}}a=Fe(u,j[d+244>>2]+j[b+308>>2]|0);j[f+112>>2]=a;if(a){break B}x=n+1|0;a=_e(u,p(x,j[d+248>>2]));j[f+112>>2]=a;if(a){break B}s=j[d+248>>2];z=(s-1&255)+1|0;m=j[u+32>>2];o=0;while(1){a=m;d=0;e=s;if(e&255){while(1){d=k[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}m=m+z|0}j[(o<<2)+g>>2]=d;o=o+1|0;if(n>>>0>=o>>>0){continue}break}Ve(u);a=1;e=j[g>>2];d=e;if(n){while(1){m=d;d=j[(a<<2)+g>>2];if(m>>>0>d>>>0){break B}a=a+1|0;if(n>>>0>=a>>>0){continue}break}}a=j[(n<<2)+g>>2];A=t,B=xe(r,4,0,x,0,f+112|0),j[A+4>>2]=B;if(j[f+112>>2]){break B}a=a-e|0;d=He(r,a,f+112|0);j[j[t+4>>2]>>2]=d;if(j[f+112>>2]){break B}d=Fe(u,j[g>>2]+j[b+308>>2]|0);j[f+112>>2]=d;if(d){break B}a=uf(u,j[j[t+4>>2]>>2],a);j[f+112>>2]=a;if(a){break B}C:{if(!n){break C}a=1;m=j[g>>2];d=m;while(1){e=a<<2;s=e+j[t+4>>2]|0;e=j[e+g>>2];j[s>>2]=j[s-4>>2]+(e-d|0);d=e;a=a+1|0;if(n>>>0>=a>>>0){continue}break}if((y|0)<0){break C}qe[j[w+16>>2]](j[j[t+4>>2]>>2],j[g+4>>2]-m|0,4330);a=1;if((n|0)==1){break C}e=g+4|0;while(1){m=j[j[t+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;qe[j[w+16>>2]](m,j[d>>2]-j[e>>2]|0,4330);e=d;if((a|0)!=(n|0)){continue}break}}j[t>>2]=n;t=t+8|0;v=v+1|0;if((v|0)>2]){continue}break A}break}a=j[b+316>>2];if(!a){break A}if(j[b+300>>2]>=1){e=0;while(1){d=r;m=e<<3;q=j[(m+a|0)+4>>2];if(q){a=j[q>>2];if(a){qe[j[r+8>>2]](r,a)}j[j[(m+j[b+316>>2]|0)+4>>2]>>2]=0;a=j[b+316>>2]}a=j[(a+m|0)+4>>2];if(a){qe[j[d+8>>2]](d,a)}a=j[b+316>>2];j[(m+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){qe[j[r+8>>2]](r,a)}j[b+316>>2]=0}if(g){qe[j[r+8>>2]](r,g)}j[f+4>>2]=j[f+112>>2]}if(j[f+84>>2]){jf(j[f+80>>2],f+84|0)}qe[j[f+32>>2]](f+8|0);a=j[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+16>>2]=j[b+296>>2];a=j[b+8>>2];j[b+8>>2]=a|2065;if(k[b+188|0]){j[b+8>>2]=a|2069}j[b+24>>2]=124251;d=j[b+176>>2];j[b+20>>2]=d;D:{if(d){a=j[b+172>>2];if(!a){break D}e=k[a|0];if(!e){break D}while(1){e=e&255;c=k[d|0];E:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break E}e=e-32|0;if(!(!e|(e|0)==13)){F:{switch(c-32|0){case 0:case 13:d=d+1|0;break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break D;default:break F}}if(c){break D}j[b+24>>2]=a;break D}a=a+1|0}e=k[a|0];if(e){continue}break}break D}a=j[b+140>>2];if(!a){break D}j[b+20>>2]=a}c=j[b+184>>2]!=0;j[b+12>>2]=c;a=j[b+180>>2];G:{if(!a){break G}if(we(a,124259)){if(we(a,124264)){break G}}j[b+12>>2]=c|2}j[b+28>>2]=0;j[b+32>>2]=0;j[b+52>>2]=j[b+196>>2]>>16;a=j[b+200>>2]>>16;j[b+56>>2]=a;j[b+60>>2]=j[b+204>>2]+65535>>16;c=j[b+208>>2]+65535>>16;j[b- -64>>2]=c;e=l[b+68>>1];if(!e){i[b+68>>1]=1e3;e=1e3}i[b+72>>1]=a;i[b+70>>1]=c;j[b+80>>2]=l[b+190>>1]|l[b+192>>1]<<16;d=b;a=c-a|0;b=(p(e,12)>>>0)/10|0;i[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}oe=f+384|0;return a|0}function Kz(a,b,c,d,e,f,g,h,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;m=m|0;n=n|0;o=o|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if(f-1>>>0<=1){m=(p(m,n)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0}s=n^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;c:{if((b|0)<=(d|0)){e=d-b|0;c=a+(b<<1)|0;a=(o|0)!=0;break c}a=a+(d<<1)|0;c=o?a:a+2|0;e=b-d|0;a=(o|0)!=0}a=a+e|0;if(!a){break a}b=j[58747];while(1){d=l[c>>1];i[c>>1]=((p(s,k[b+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[b+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[b+(d&31)|0])>>>0)/255|0)+m>>>3;c=c+2|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;d:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break d}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];c=k[a+(b>>>5&31)|0]+h|0;d=(c>>>0<255?c:255)<<2&4064;c=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=d|(c>>>0<255?c:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;e:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break e}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}e=a+e|0;if(!e){break a}a=j[58747];while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=n+2|0;e=e-1|0;if(e){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;f:{if((b|0)<=(d|0)){e=(o|0)!=0;n=a+(b<<1)|0;a=d-b|0;break f}a=a+(d<<1)|0;n=o?a:a+2|0;e=(o|0)!=0;a=b-d|0}c=a+e|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);while(1){i[n>>1]=a;n=n+2|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break h}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=o?a:a+(f<<1)|0;c=c-e|0;a=(o|0)!=0}a=a+c|0;if(!a){break a}c=j[58747];e=f<<1;while(1){d=l[b>>1];i[b>>1]=((p(s,k[c+(d>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(d>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(d&31)|0])>>>0)/255|0)+m>>>3;b=b+e|0;a=a-1|0;if(a){continue}break}break a;case 1:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break i}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break j}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}e=a+c|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(b,c)<<1)|0)+(d<<1)|0;c=e-c|0;a=(o|0)!=0;break k}a=(a+(p(b,e)<<1)|0)+(d<<1)|0;n=o?a:a+(b<<1)|0;c=c-e|0;a=(o|0)!=0}c=a+c|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}u=b-d|0;n=u>>31;r=c-e|0;q=r>>31;if((n^n+u)==(q^q+r)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;a=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}c=j[58747];d=b<<1;while(1){b=l[a>>1];i[a>>1]=((p(s,k[c+(b>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[c+(b>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[c+(b&31)|0])>>>0)/255|0)+m>>>3;a=a+d|0;e=e-1|0;if(e){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];d=k[a+(b>>>5&31)|0]+h|0;f=(d>>>0<255?d:255)<<2&4064;d=k[a+(b>>>10&31)|0]+g|0;b=k[a+(b&31)|0]+m|0;i[n>>1]=f|(d>>>0<255?d:255)<<7&64512|(b>>>0<255?b:255)>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}e=((o|0)!=0)+r|0;if(!e){break a}a=j[58747];c=b<<1;while(1){b=l[n>>1];i[n>>1]=(p(k[a+(b>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[a+(b>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[a+(b&31)|0],m)>>>0)/255>>>3;n=c+n|0;e=e-1|0;if(e){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<1)|0)+(b<<1)|0;r=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<1)|0)+(d<<1)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=o?a:a+(b<<1)|0}c=((o|0)!=0)+r|0;if(!c){break a}a=g<<7&64512|(h<<2&2016|m>>>3);b=b<<1;while(1){i[n>>1]=a;n=b+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;f=n>>31;q=e-c|0;r=q>>31;n=f^f+n;q=r^q+r;r:{if((n|0)>=(q|0)){u=q-n|0;r=q<<1;f=r-n|0;q=1;break r}u=n-q|0;t=1;r=n<<1;f=r-q|0;n=q;q=0}n=((o|0)!=0)+n|0;if(!n){break a}e=(c|0)>(e|0);o=e?0-t|0:t;d=(b|0)>(d|0);q=d?0-q|0:q;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];i[y>>1]=((p(s,k[e+(a>>>5&31)|0])>>>0)/255|0)+h<<2&4064|((p(s,k[e+(a>>>10&31)|0])>>>0)/255|0)+g<<7&64512|((p(s,k[e+(a&31)|0])>>>0)/255|0)+m>>>3;a=(f|0)<0;f=(a?r:u)+f|0;b=(a?q:w)+b|0;c=(a?o:t)+c|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a;case 1:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;f=f^f+r;q=n^n+q;s:{if((f|0)>=(q|0)){u=q-f|0;s=1;r=q<<1;n=r-f|0;q=0;break s}u=f-q|0;r=f<<1;n=r-q|0;s=0;f=q;q=1}o=((o|0)!=0)+f|0;if(!o){break a}e=(c|0)>(e|0);q=e?0-q|0:q;d=(b|0)>(d|0);s=d?0-s|0:s;t=e?-1:1;w=d?-1:1;u=u<<1;e=j[58747];x=j[a+16>>2];v=j[a+20>>2];d=0;while(1){y=(v+p(c,x)|0)+(b<<1)|0;a=l[y>>1];f=k[e+(a>>>5&31)|0]+h|0;z=(f>>>0<255?f:255)<<2&4064;f=k[e+(a>>>10&31)|0]+g|0;a=k[e+(a&31)|0]+m|0;i[y>>1]=z|(f>>>0<255?f:255)<<7&64512|(a>>>0<255?a:255)>>>3;a=(n|0)<0;n=(a?r:u)+n|0;b=(a?s:w)+b|0;c=(a?q:t)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;case 3:r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;t:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break t}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;s=e?-1:1;u=d?-1:1;t=t<<1;e=j[58747];w=j[a+16>>2];x=j[a+20>>2];d=0;while(1){v=(x+p(c,w)|0)+(b<<1)|0;a=l[v>>1];i[v>>1]=(p(k[e+(a>>>5&31)|0],h)>>>0)/255<<2&4064|(p(k[e+(a>>>10&31)|0],g)>>>0)/255<<7&64512|(p(k[e+(a&31)|0],m)>>>0)/255>>>3;a=(n|0)<0;n=(a?f:t)+n|0;b=(a?q:u)+b|0;c=(a?r:s)+c|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}break a;default:break q}}r=d-b|0;f=r>>31;q=e-c|0;n=q>>31;r=f^f+r;q=n^n+q;u:{if((r|0)>=(q|0)){t=q-r|0;s=1;f=q<<1;n=f-r|0;q=0;break u}t=r-q|0;f=r<<1;n=f-q|0;s=0;r=q;q=1}o=((o|0)!=0)+r|0;if(!o){break a}e=(c|0)>(e|0);r=e?0-q|0:q;d=(b|0)>(d|0);q=d?0-s|0:s;e=e?-1:1;d=d?-1:1;s=t<<1;g=g<<7&64512|(h<<2&2016|m>>>3);h=j[a+16>>2];t=j[a+20>>2];m=0;while(1){i[(t+p(c,h)|0)+(b<<1)>>1]=g;a=(n|0)<0;n=(a?f:s)+n|0;b=(a?q:d)+b|0;c=(a?r:e)+c|0;m=m+1|0;if((o|0)!=(m|0)){continue}break}}}function ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=j[a+28>>2];if(v){m=k[a+63|0];w=j[a+36>>2];x=j[a+16>>2];u=j[j[j[a+40>>2]+4>>2]+4>>2];d=j[a+24>>2];y=d&3;z=(d+3|0)/4|0;r=j[a>>2];e=j[a+20>>2];b=j[a+44>>2];t=k[b+9|0];s=t-1|0;while(1){a=z;a:{b:{switch(y-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:d=(k[r|0]<<2)+u|0;n=k[d+2|0];o=k[d+1|0];q=k[d|0];d=0;f=0;g=0;c=0;e:{f:{switch(s|0){case 0:c=k[e|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break e;case 3:break f;default:break e}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;g:{h:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break g;case 3:break h;default:break g}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break i;case 3:break j;default:break i}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;k:{l:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break k;case 3:break l;default:break k}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break m;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break m;case 3:break n;default:break m}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;o:{p:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break o;case 3:break p;default:break o}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 1:c=l[e>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break q;case 2:f=k[(k[b+34|0]>>>3|0)+e|0];g=k[(k[b+33|0]>>>3|0)+e|0];c=k[(k[b+32|0]>>>3|0)+e|0];d=255;break q;case 3:break r;default:break q}}c=j[e>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];f=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}d=(d+m|0)-((p(d,m)>>>0)/255|0)&255;n=((p(n-f|0,m)|0)/255|0)+f|0;f=n&255;o=((p(o-g|0,m)|0)/255|0)+g|0;g=o&255;q=((p(q-c|0,m)|0)/255|0)+c|0;c=q&255;s:{t:{switch(s|0){case 0:h[e|0]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+e|0]=q;h[(k[b+33|0]>>>3|0)+e|0]=o;h[(k[b+34|0]>>>3|0)+e|0]=n;break s;case 3:break t;default:break s}}j[e>>2]=g>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2]=0;a:{b:{c:{if(!a){break c}i=4;j[67126]=0;o=ob(32,a|0)|0;q=C()|0;d=j[67126];j[67126]=0;b=-1;d:{if(!d){break d}c=j[67127];if(!c){break d}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;e:{f:{if((b|0)==1){break f}j[67126]=0;f=N(33,2)|0;d=j[67126];j[67126]=0;b=-1;g:{if(!d){break g}c=j[67127];if(!c){break g}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}if(!f){c=0;break c}j[e+28>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[67126]=0;j[e+60>>2]=0;d=V(34,2215,0,0,0)|0;c=j[67126];j[67126]=0;b=-1;h:{if(!c){break h}f=j[67127];if(!f){break h}b=ef(j[c>>2],g,4);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break f}j[e+56>>2]=d;if(!d){m=2222;b=0;break e}j[67126]=0;f=N(35,d|0)|0;d=j[67126];j[67126]=0;b=-1;i:{if(!d){break i}c=j[67127];if(!c){break i}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break f}j[e+52>>2]=f;j:{k:{if(!f){m=2284;break k}j[67126]=0;f=T(36,j[e+56>>2],37,156)|0;d=j[67126];j[67126]=0;b=-1;l:{if(!d){break l}c=j[67127];if(!c){break l}b=ef(j[d>>2],g,4);if(!b){break b}D(c|0)}c=C()|0;if((b|0)!=1){break j}break f}b=2;break e}c=0;g=mi(f,1,g,4);i=C()|0}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b|0){case 0:if(!j[e+28>>2]){break u}j[67126]=0;I(38,j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break v}c=j[67127];if(!c){break v}b=ef(j[d>>2],g,i);if(b){break w}break b;case 1:if(c){m=2331;break n}j[67126]=0;ya(39,j[e+56>>2],a|0,40);d=j[67126];j[67126]=0;b=-1;if(!d){break z}c=j[67127];if(!c){break z}b=ef(j[d>>2],g,i);if(b){break A}break b;default:break B}}if(!j[e+56>>2]){break r}j[67126]=0;ya(41,e+56|0,(j[e+52>>2]?e+52|0:0)|0,0);d=j[67126];j[67126]=0;b=-1;if(!d){break x}c=j[67127];if(!c){break x}b=ef(j[d>>2],g,i);if(b){break y}break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;M(42,j[e+56>>2],j[e+52>>2]);d=j[67126];j[67126]=0;b=-1;if(!d){break s}c=j[67127];if(!c){break s}b=ef(j[d>>2],g,i);if(b){break t}break b}D(c|0)}c=C()|0;if((b|0)!=1){break r}break m}D(c|0)}c=C()|0;if((b|0)==1){break m}}if(!m){break q}j[67126]=0;b=nb(43,a|0,o|0,q|0,0)|0;C()|0;d=j[67126];j[67126]=0;b=-1;C:{if(!d){break C}c=j[67127];if(!c){break C}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(j[e+60>>2]){j[67126]=0;I(44,j[e+60>>2]);d=j[67126];j[67126]=0;b=-1;D:{if(!d){break D}c=j[67127];if(!c){break D}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[e+60>>2]=0}j[67126]=0;L(45,m|0,0)|0;d=j[67126];j[67126]=0;b=-1;E:{if(!d){break E}c=j[67127];if(!c){break E}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}break q}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;d=j[67126];j[67126]=0;b=-1;F:{if(!d){break F}c=j[67127];if(!c){break F}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;I(47,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;G:{if(!d){break G}c=j[67127];if(!c){break G}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}j[67126]=0;b=j[e+56>>2];if(!(!b|k[b+436|0]>7)){h[b+437|0]=8;j[b+216>>2]=j[b+216>>2]|4}d=j[67126];j[67126]=0;b=-1;H:{if(!d){break H}c=j[67127];if(!c){break H}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[67126]=0;I(49,j[e+56>>2]);d=j[67126];j[67126]=0;b=-1;I:{if(!d){break I}c=j[67127];if(!c){break I}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;b=j[e+52>>2];if(!j[e+56>>2]|!b){f=0}else{f=j[b+8>>2]&16}d=j[67126];j[67126]=0;b=-1;J:{if(!d){break J}c=j[67127];if(!c){break J}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}if(!f){b=-1;break o}j[67126]=0;Tp(j[e+56>>2],j[e+52>>2],e+16|0,e+20|0,e+24|0);d=j[67126];j[67126]=0;b=-1;K:{if(!d){break K}c=j[67127];if(!c){break K}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}b=0;if(j[e+36>>2]!=3){break o}f=j[e+20>>2];if((f|0)<1){b=-1;c=0;break p}c=0;l=j[e+16>>2];d=-1;while(1){L:{b=k[c+l|0];if((b|0)==255){b=d;break L}if(!b){b=c;if((d|0)<=-1){break L}}b=d;break p}d=b;c=c+1|0;if((f|0)!=(c|0)){continue}break}break o}b=0;continue}c=j[e+60>>2];break c}if((c|0)==(f|0)){break o}j[67126]=0;I(49,j[e+56>>2]);c=j[67126];j[67126]=0;b=-1;d=-1;M:{if(!c){break M}f=j[67127];if(!f){break M}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}if(j[e+36>>2]==4){j[67126]=0;I(52,j[e+56>>2]);c=j[67126];j[67126]=0;d=-1;N:{if(!c){break N}f=j[67127];if(!f){break N}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}}j[67126]=0;M(53,j[e+56>>2],j[e+52>>2]);c=j[67126];j[67126]=0;d=-1;O:{if(!c){break O}f=j[67127];if(!f){break O}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;xa(46,j[e+56>>2],j[e+52>>2],e+48|0,e+44|0,e+40|0,e+36|0,e+32|0,0,0)|0;c=j[67126];j[67126]=0;d=-1;P:{if(!c){break P}f=j[67127];if(!f){break P}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[67126]=0;d=j[e+52>>2];if(!j[e+56>>2]|!d){f=0}else{f=k[d+29|0]}c=j[67126];j[67126]=0;d=-1;Q:{if(!c){break Q}l=j[67127];if(!l){break Q}d=ef(j[c>>2],g,i);if(!d){F(c|0,l|0);z()}D(l|0)}c=C()|0;if((d|0)==1){break m}c=0;d=0;l=0;n=0;if(f>>>0>=3){n=(f|0)==4?-16777216:0;l=16711680;c=255;d=65280}j[67126]=0;l=hd(55,0,j[e+48>>2],j[e+44>>2],p(f,j[e+40>>2])|0,c|0,d|0,l|0,n|0)|0;c=j[67126];j[67126]=0;d=-1;R:{if(!c){break R}f=j[67127];if(!f){break R}d=ef(j[c>>2],g,i);if(!d){break a}D(f|0)}c=C()|0;if((d|0)==1){break m}j[e+60>>2]=l;S:{T:{U:{V:{W:{X:{if(!j[e+60>>2]){j[67126]=0;m=Yc(56)|0;d=j[67126];j[67126]=0;b=-1;if(!d){break W}c=j[67127];if(!c){break W}b=ef(j[d>>2],g,i);if(b){break X}break b}d=-1;if((b|0)==-1){break S}if(j[e+36>>2]==3){break T}b=j[e+24>>2];c=k[b+6|0];f=k[b+4|0];b=k[b+2|0];l=j[j[e+60>>2]+4>>2];j[67126]=0;b=Cn(l,b,f,c);c=j[67126];j[67126]=0;f=-1;if(!c){break U}l=j[67127];if(!l){break U}f=ef(j[c>>2],g,i);if(f){break V}F(c|0,l|0);z()}D(c|0)}c=C()|0;if((b|0)==1){break m}break n}D(l|0)}c=C()|0;if((f|0)==1){break m}}j[67126]=0;T(58,j[e+60>>2],1,b|0)|0;c=j[67126];j[67126]=0;b=-1;Y:{if(!c){break Y}f=j[67127];if(!f){break Y}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}}j[67126]=0;f=N(59,j[e+44>>2]<<2)|0;b=j[67126];j[67126]=0;Z:{if(!b){break Z}c=j[67127];if(!c){break Z}d=ef(j[b>>2],g,i);if(!d){F(b|0,c|0);z()}D(c|0)}c=C()|0;if((d|0)==1){break m}j[e+28>>2]=f;if(!j[e+28>>2]){m=2359;break n}b=j[e+44>>2];if((b|0)>=1){c=0;while(1){j[j[e+28>>2]+(c<<2)>>2]=j[j[e+60>>2]+20>>2]+p(j[j[e+60>>2]+16>>2],c);c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[67126]=0;M(60,j[e+56>>2],j[e+28>>2]);d=j[67126];j[67126]=0;b=-1;_:{if(!d){break _}c=j[67127];if(!c){break _}b=ef(j[d>>2],g,i);if(!b){break b}D(c|0)}c=C()|0;if((b|0)==1){break m}d=j[j[j[e+60>>2]+4>>2]+4>>2];$:{if(!d){break $}j[67126]=0;Up(j[e+56>>2],j[e+52>>2],e+8|0,e+12|0);c=j[67126];j[67126]=0;b=-1;aa:{if(!c){break aa}f=j[67127];if(!f){break aa}b=ef(j[c>>2],g,i);if(!b){break a}D(f|0)}c=C()|0;if((b|0)==1){break m}if(!j[e+36>>2]){j[d>>2]=256;f=j[d+4>>2];b=0;while(1){d=f+(b<<2)|0;h[d+2|0]=b;h[d+1|0]=b;h[d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break $}b=j[e+12>>2];if((b|0)<1){break $}j[d>>2]=b;m=j[e+12>>2];if((m|0)<1){break $}l=j[d+4>>2];b=0;n=j[e+8>>2];while(1){d=l+(b<<2)|0;f=n+p(b,3)|0;h[d+2|0]=k[f+2|0];h[d+1|0]=k[f+1|0];h[d|0]=k[f|0];b=b+1|0;if((m|0)!=(b|0)){continue}break}}m=0}b=2;continue}b=1;continue}}ze(g);oe=e- -64|0;return c|0}F(d|0,c|0);z()}F(c|0,f|0);z()}function ys(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,s=0,u=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;s=oe+ -64|0;oe=s;D=Gi(a,-1);C=pe;p=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){p=-138;break a}if((c|0)<0|((c|0)>(C|0)?1:(c|0)>=(C|0)?b>>>0>D>>>0:0)){break a}p=j[a+52>>2];n=p&p>>31;B=n-1|0;l=j[a+68>>2];i=l;b:{while(1){g=p;if((g|0)<=0){d=l+(B<<4|8)|0;f=j[d>>2];d=j[d+4>>2];o=B<<1;break b}o=D;p=g-1|0;d=l+(p<<4|8)|0;f=j[d>>2];D=o-f|0;d=j[d+4>>2];C=C-(d+(o>>>0>>0)|0)|0;o=C;if((c|0)<(o|0)?1:(c|0)<=(o|0)?b>>>0>>0:0){continue}break}n=g;B=p;o=B<<1}g=i+(o<<3)|0;z=j[g>>2];H=j[g+4>>2];o=j[a+60>>2]+(B<<3)|0;u=j[o>>2];n=j[a+56>>2]+(n<<3)|0;g=j[n>>2];q=j[o+4>>2];n=j[n+4>>2];c:{d:{if((u|0)!=(g|0)|(q|0)!=(n|0)){p=0;break d}i=j[a>>2];if(!i){e=-129;break c}if(j[a+8>>2]!=(g|0)|j[a+12>>2]!=(n|0)){e=-128;o=j[a+708>>2];if(!o){break c}if((qe[o|0](i,g,n,0)|0)==-1){break c}j[a+8>>2]=g;j[a+12>>2]=n;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}p=1;e=Qf(a,s+48|0,1,0);o=pe;i=o;if((i|0)<0){break c}}e:{f:{g:{h:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){f=e;break h}e=b;i=D;l=e-i|0;o=l+z|0;G=(c-((e>>>0>>0)+C|0)|0)+H|0;G=l>>>0>o>>>0?G+1|0:G;K=o;e=d+H|0;d=f;f=z;i=d+f|0;L=i;M=f>>>0>i>>>0?e+1|0:e;A=a+24|0;O=B<<2;I=-1;J=-1;while(1){l=q;i=u;e=i;d=n-(l+(e>>>0>g>>>0)|0)|0;x=g-e|0;f=d;if((d|0)>0?1:(d|0)>=0?x>>>0>=65536:0){e=u;o=q;E=+(x>>>0)+ +(f|0)*4294967296;d=K;f=z;E=E*(+(d-f>>>0)+ +(G-((d>>>0>>0)+H|0)|0)*4294967296);d=L;E=E/(+(d-f>>>0)+ +(M-((d>>>0>>0)+H|0)|0)*4294967296);i:{if(r(E)<0x8000000000000000){f=r(E)>=1?E>0?~~t(v(E*2.3283064365386963e-10),4294967295)>>>0:~~w((E- +(~~E>>>0>>>0))*2.3283064365386963e-10)>>>0:0;i=~~E>>>0;break i}f=-2147483648;i=0}d=u;i=i+d|0;f=f+q|0;f=d>>>0>i>>>0?f+1|0:f;d=i;i=d-65536|0;d=f-(d>>>0<65536)|0;f=d;x=e;l=i;e=q;i=u+65536|0;e=i>>>0<65536?e+1|0:e;d=(d|0)<(e|0)?1:(d|0)<=(e|0)?l>>>0>>0:0;i=d?x:l;l=d?o:f}d=j[a>>2];if(!d){e=-129;break c}if(j[a+8>>2]!=(i|0)|j[a+12>>2]!=(l|0)){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}}f=0;j:{k:{if((n|0)<(q|0)?1:(n|0)<=(q|0)?g>>>0<=u>>>0:0){break k}l:while(1){d=g;f=j[a+8>>2];f=Qf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);e=pe;d=e;if((f|0)==-128&(d|0)==-1){e=-128;break c}while(1){m:{n:{if((d|0)<-1?1:(d|0)<=-1){e=q;x=u+1|0;e=x>>>0<1?e+1|0:e;F=x;y=e;if((e|0)>(l|0)?1:(e|0)>=(l|0)?x>>>0>=i>>>0:0){break j}e=f;if(!(i|l)){break c}f=j[a>>2];if(!f){e=-129;break c}x=0;o=n;d=l-(i>>>0<65536)|0;i=i-65536|0;l=(d|0)>(q|0)?1:(d|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:F;l=l?d:y;d=g;if((i|0)==j[a+8>>2]&(l|0)==j[a+12>>2]){break n}d=j[a+708>>2];if(!d){e=-128;break c}e=-128;if((qe[d|0](f,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}d=g;break n}e=j[s+48>>2];if(j[O+j[a+64>>2]>>2]!=(k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24))){break m}e=j[s+48>>2];y=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);F=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);if((F|0)==-1&(y|0)==-1){break m}if((y|0)<(G|0)?1:(y|0)<=(G|0)?F>>>0>>0:0){p=1;x=f;I=f;J=d;u=j[a+8>>2];i=u;q=j[a+12>>2];l=q;o=n;H=y;y=K;z=F;F=G-(H+(y>>>0>>0)|0)|0;d=g;if((F|0)<0?1:(F|0)<=0?y-z>>>0<=44100:0){break n}break k}e=q;o=u+1|0;e=o>>>0<1?e+1|0:e;N=o;o=e;if((e|0)>(l|0)?1:(l|0)<=(e|0)?i>>>0<=N>>>0:0){p=1;break j}if((g|0)!=j[a+8>>2]|(n|0)!=j[a+12>>2]){p=1;g=i;n=l;L=F;M=y;break k}y=j[a>>2];if(!y){e=-129;break c}p=1;x=0;e=l-(i>>>0<65536)|0;i=i-65536|0;l=(e|0)>(q|0)?1:(e|0)>=(q|0)?i>>>0>u>>>0:0;i=l?i:N;l=l?e:o;if((g|0)==(i|0)&(n|0)==(l|0)){i=g;l=n;o=d;d=f;break n}g=j[a+708>>2];if(!g){e=-128;break c}e=-128;if((qe[g|0](y,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[A+4>>2]>=0){j[A+8>>2]=0;j[A+12>>2]=0;j[A+24>>2]=0;j[A+16>>2]=0;j[A+20>>2]=0}o=d;d=f}g=d;n=o;if((n|0)>(q|0)?1:(q|0)<=(n|0)?g>>>0>u>>>0:0){continue l}f=x;break k}e=-128;p=1;d=g;f=j[a+8>>2];f=Qf(a,s+48|0,d-f|0,n-(j[a+12>>2]+(d>>>0>>0)|0)|0);o=pe;d=o;if((f|0)!=-128|(d|0)!=-1){continue}break}break}break c}if((n|0)>(q|0)?1:(n|0)>=(q|0)?g>>>0>u>>>0:0){continue}}break}if((I|0)!=-1|(J|0)!=-1){break g}}if(!p){e=f;break c}g=j[a+60>>2]+(B<<3)|0;if((u|0)!=j[g>>2]|(q|0)!=j[g+4>>2]){e=f;break c}e=f;d=j[s+48>>2];if(j[j[a+64>>2]+(B<<2)>>2]!=(k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24))){break c}j[a+80>>2]=D;j[a+84>>2]=C;d=a+480|0;o:{if(j[a+96>>2]!=(B|0)){wg(d);Yg(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break o}Rk(d);p=j[a+92>>2]}d=a+120|0;ph(d,p);Ng(d,s+48|0);D=j[a+80>>2];C=j[a+84>>2];break f}d=j[a>>2];if(!d){e=-129;break e}if(j[a+8>>2]!=(I|0)|j[a+12>>2]!=(J|0)){e=-128;f=j[a+708>>2];if(!f){break e}if((qe[f|0](d,I,J,0)|0)==-1){break e}j[a+8>>2]=I;j[a+12>>2]=J;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}j[a+80>>2]=-1;j[a+84>>2]=-1;e=Qf(a,s+32|0,-1,-1);if((pe|0)<0){break c}d=a+480|0;p:{if(j[a+96>>2]!=(B|0)){wg(d);Yg(a+592|0);j[a+96>>2]=B;p=j[j[a+64>>2]+(B<<2)>>2];j[a+92>>2]=p;j[a+88>>2]=3;break p}Rk(d);p=j[a+92>>2]}u=a+120|0;ph(u,p);Ng(u,s+32|0);z=a+24|0;p=B<<3;while(1){q:{r:{e=Kp(u,s);if(e){i=e>>31;break r}d=J;i=d;f=I;g=p+j[a+60>>2]|0;e=f>>>0<=m[g>>2];g=j[g+4>>2];if((d|0)<(g|0)?1:(g|0)>=(d|0)?e:0){break r}while(1){q=d;o=f;i=f;l=d;while(1){d=j[a>>2];if(!d){e=-129;break c}f=(l|0)>0?1:(l|0)>=0?i>>>0>65536:0;g=f?i:65536;i=g-65536|0;x=i;y=(f?l:0)-(g>>>0<65536)|0;l=y;if(j[a+8>>2]!=(i|0)|(l|0)!=j[a+12>>2]){e=-128;f=j[a+708>>2];if(!f){break c}if((qe[f|0](d,i,l,0)|0)==-1){break c}j[a+8>>2]=i;j[a+12>>2]=l;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}y=j[a+12>>2];x=j[a+8>>2]}g=-1;n=-1;s:{t:{if((q|0)<(y|0)?1:(q|0)<=(y|0)?o>>>0<=x>>>0:0){break t}while(1){j[s+40>>2]=0;j[s+44>>2]=0;j[s+32>>2]=0;j[s+36>>2]=0;e=-128;d=o;f=Qf(a,s+32|0,d-x|0,q-((d>>>0>>0)+y|0)|0);x=pe;d=x;if((f|0)==-128&(d|0)==-1){break c}if((d|0)<-1?1:(d|0)<=-1){break t}g=f;n=d;x=j[a+8>>2];y=j[a+12>>2];e=y;if((e|0)<(q|0)?1:(e|0)<=(q|0)?x>>>0>>0:0){continue}break}break s}f=g;d=n;if((g|0)==-1&(d|0)==-1){continue}}break}if(!j[s+36>>2]){g=j[a>>2];if(!g){e=-129;break c}if(j[a+8>>2]!=(f|0)|j[a+12>>2]!=(d|0)){e=-128;n=j[a+708>>2];if(!n){break c}if((qe[n|0](g,f,d,0)|0)==-1){break c}j[a+8>>2]=f;j[a+12>>2]=d;if(j[z+4>>2]>=0){j[z+8>>2]=0;j[z+12>>2]=0;j[z+24>>2]=0;j[z+16>>2]=0;j[z+20>>2]=0}}e=-129;Qf(a,s+32|0,65536,0);if((pe|0)<0){break c}}u:{g=j[s+32>>2];if(j[a+92>>2]==(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){g=j[s+32>>2];g;if(!(h[j[s+32>>2]+5|0]&1)|(k[g+10|0]|k[g+11|0]<<8|(k[g+12|0]<<16|k[g+13|0]<<24))>-1){break u}}g=p+j[a+60>>2]|0;e=m[g>>2]>>0;g=j[g+4>>2];if((d|0)>(g|0)?1:(g|0)<=(d|0)?e:0){continue}break q}break}p=Xm(a,f,d);break a}if((i|0)>0?1:(i|0)>=0){break q}e=-136;break c}d=j[s+16>>2];g=j[s+20>>2];if((d|0)==-1&(g|0)==-1){mg(u,0);continue}break}e=j[a+68>>2]+(j[a+96>>2]<<4)|0;n=j[e>>2];g=g-(j[e+4>>2]+(d>>>0>>0)|0)|0;d=d-n|0;n=(g|0)>0?1:(g|0)>=0?!!d:0;d=D+(n?d:0)|0;e=C+(n?g:0)|0;e=d>>>0>>0?e+1|0:e;D=d;j[a+80>>2]=d;C=e;j[a+84>>2]=e}e=-129;if((c|0)<(C|0)?1:(c|0)<=(C|0)?b>>>0>>0:0){break c}d=Gi(a,-1)>>>0>>0;b=pe;if((b|0)<(c|0)?1:(c|0)>=(b|0)?d:0){break c}j[a+104>>2]=0;j[a+108>>2]=0;j[a+112>>2]=0;j[a+116>>2]=0;p=0;break a}j[a+80>>2]=-1;j[a+84>>2]=-1}j[a+80>>2]=-1;j[a+84>>2]=-1;wg(a+480|0);Yg(a+592|0);j[a+88>>2]=2;p=e}oe=s- -64|0;return p}function Bm(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=oe-320|0;oe=f;i=6;a:{if(!c|(!a|!b)){break a}b:{c:{d:{e:{e=j[b>>2];if((j[a+8>>2]-e|0)+1>>>0>2){break e}d=j[b+4>>2];if((j[a+12>>2]-d|0)+1>>>0>2|(e-j[c>>2]|0)+1>>>0>2|(d-j[c+4>>2]|0)+1>>>0>2){break e}break d}e=j[c+4>>2];j[f+32>>2]=j[c>>2];j[f+36>>2]=e;e=j[b+4>>2];j[f+40>>2]=j[b>>2];j[f+44>>2]=e;b=j[a+12>>2];j[f+48>>2]=j[a+8>>2];j[f+52>>2]=b;t=a- -64|0;m=f+32|0;b=1;while(1){e=j[a>>2];x=f+32|0;f:{g:{if((s|0)>29){p=e;break g}d=j[m+12>>2];p=d-j[m+20>>2]|0;o=(f+32|0)+(s<<3)|0;d=j[o+4>>2]-d|0;g=j[m+8>>2];l=j[m>>2]-g|0;h:{i:{j:{k:{l:{m:{g=g-j[m+16>>2]|0;if(g+1>>>0<=2){n=p+1|0;if(l+1>>>0>=3){break k}q=d+1|0;if(n>>>0>=3){break m}g=e;if(q>>>0<3){break h}break i}if(l+1>>>0>2){break j}if(d+1>>>0<3){break l}break j}if(q>>>0>2){break j}}e=Gf(g,p);g=e;break h}if(n>>>0<3){break i}}e=Gf(g,p);g=Gf(l,d);break h}e=Gf(l,d);g=e}p=g;l=Df(e,p);d=l>>31;if((d^d+l)<1966080){break g}if(k[a+20|0]){j[a>>2]=e}e=j[m+16>>2];j[m+32>>2]=e;d=j[m+20>>2];j[m+36>>2]=d;p=j[m+8>>2];l=(p+j[m>>2]|0)/2|0;j[m+8>>2]=l;e=(e+p|0)/2|0;j[m+24>>2]=e;g=d;d=j[m+12>>2];p=(g+d|0)/2|0;j[m+28>>2]=p;j[m+16>>2]=(e+l|0)/2;e=(d+j[(o|4)>>2]|0)/2|0;j[m+12>>2]=e;j[m+20>>2]=(e+p|0)/2;s=s+2|0;break f}n:{o:{p:{if(b&255){if(k[a+20|0]){of(f+304|0,j[a+60>>2],e+5898240|0);l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+84>>2];q:{if((b|0)>=0){d=j[t>>2];if(d>>>0<=b+1>>>0){j[t>>2]=b;break q}o=d-1|0;j[a+64>>2]=o;i=j[a+72>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+76>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[t>>2]}l=g+l|0;g=n+q|0;h[a+80|0]=0;j[a+84>>2]=b;r:{s:{if(!b){break s}d=j[a+72>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break s}if((j[d+4>>2]-l|0)+1>>>0<3){break r}}d=j[a+68>>2];j[f+24>>2]=0;q=b+1|0;t:{if(q>>>0<=d>>>0){d=j[a+76>>2];break t}n=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+72>>2],f+24|0),j[B+72>>2]=C;i=j[f+24>>2];if(i){break p}d=xe(n,1,d,b,j[a+76>>2],f+24|0);j[a+76>>2]=d;i=j[f+24>>2];if(i){break p}j[a+68>>2]=b;b=j[a+64>>2]}n=j[a+72>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}l=j[a+12>>2];g=j[f+308>>2];n=j[a+8>>2];q=j[f+304>>2];b=j[a+116>>2];u:{if((b|0)>=0){d=j[a+96>>2];if(d>>>0<=b+1>>>0){j[a+96>>2]=b;break u}o=d-1|0;j[a+96>>2]=o;i=j[a+104>>2];r=i+(b<<3)|0;o=i+(o<<3)|0;i=j[o+4>>2];j[r>>2]=j[o>>2];j[r+4>>2]=i;b=j[a+108>>2]+b|0;h[b|0]=k[b|0]|4;b=(d+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}b=j[a+96>>2]}l=l-g|0;g=n-q|0;h[a+112|0]=0;j[a+116>>2]=b;v:{w:{if(!b){break w}d=j[a+104>>2]+(b-1<<3)|0;if((j[d>>2]-g|0)+1>>>0>2){break w}i=0;if((j[d+4>>2]-l|0)+1>>>0<3){break v}}d=j[a+100>>2];j[f+24>>2]=0;q=b+1|0;x:{y:{if(q>>>0<=d>>>0){d=j[a+108>>2];break y}n=j[a+120>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(q>>>0>b>>>0){continue}break}B=a,C=xe(n,8,d,b,j[a+104>>2],f+24|0),j[B+104>>2]=C;i=j[f+24>>2];if(i){break x}d=xe(n,1,d,b,j[a+108>>2],f+24|0);j[a+108>>2]=d;i=j[f+24>>2];if(i){break x}j[a+100>>2]=b;b=j[a+96>>2]}n=j[a+104>>2]+(b<<3)|0;j[n>>2]=g;j[n+4>>2]=l;h[b+d|0]=1;j[a+96>>2]=j[a+96>>2]+1;i=0}h[a+112|0]=0}j[a+36>>2]=0;h[a+20|0]=0;j[a+24>>2]=e;break o}j[a+4>>2]=e;b=Df(j[a>>2],e);if(!b){break n}i=Di(a,b>>>31|0,0);if(i){break a}i=Ci(a,(b^-1)>>>31|0,0);break o}d=Df(j[a>>2],e);b=d>>31;if((b^b+d)<491521){break n}b=j[m+20>>2];d=j[m+16>>2];i=0;j[a+48>>2]=0;j[a+4>>2]=e;j[a+8>>2]=d;j[a+12>>2]=b;b=Df(j[a>>2],e);z:{if(!b){break z}i=Di(a,b>>>31|0,0);if(i){break z}i=Ci(a,(b^-1)>>>31|0,0)}j[a+48>>2]=j[a+52>>2];break o}h[a+80|0]=0}if(i){break a}}b=Df(e,p);d=(b|0)/2|0;y=De(j[a+60>>2],Bi(d));if(k[a+40|0]){q=Gf(j[m>>2]-j[m+16>>2]|0,j[((f+32|0)+(s<<3)|0)+4>>2]-j[m+20>>2]|0)}else{q=0}z=e+d|0;A=(f+32|0)+(s<<3)|4;b=5898240;n=1;e=t;while(1){of(f+304|0,y,b+z|0);j[f+304>>2]=j[f+304>>2]+j[m+8>>2];j[f+308>>2]=j[f+308>>2]+j[m+12>>2];of(f+24|0,j[a+60>>2],b+p|0);b=j[f+24>>2]+j[m>>2]|0;j[f+24>>2]=b;i=j[A>>2];g=i+j[f+28>>2]|0;j[f+28>>2]=g;A:{B:{if(!k[a+40|0]){break B}l=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;d=j[l+4>>2];l=j[l>>2];o=d;r=b;b=l;r=Gf(r-b|0,g-d|0);u=Df(q,r);g=u>>31;if((g^g+u)<5898241){break B}g=Gf(j[m+16>>2]-b|0,j[m+20>>2]-d|0);i=Gf(j[m>>2]-j[f+24>>2]|0,i-j[f+28>>2]|0);j[f+16>>2]=j[f+24>>2]-b;j[f+20>>2]=j[f+28>>2]-d;u=rk(f+16|0);v=Ai(r-i|0);r=v>>31;w=Ai(g-i|0);i=w>>31;of(f+8|0,Ne(u,r^r+v,i^i+w),g);g=b+j[f+8>>2]|0;j[f+8>>2]=g;d=d+j[f+12>>2]|0;j[f+12>>2]=d;h[e+16|0]=0;b=j[e>>2];C:{D:{E:{F:{if(!b){break F}i=j[e+8>>2]+(b-1<<3)|0;if((j[i>>2]-g|0)+1>>>0>2){break F}if((j[i+4>>2]-d|0)+1>>>0<3){break E}}d=j[e+4>>2];j[f+316>>2]=0;i=b+1|0;G:{if(i>>>0<=d>>>0){d=j[e+12>>2];break G}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+12>>2];g=j[e+8>>2]+(b<<3)|0;j[g>>2]=j[f+8>>2];j[g+4>>2]=i;h[b+d|0]=1;d=0;h[e+16|0]=0;g=j[e>>2];b=g+1|0;j[e>>2]=b;if(b>>>0>>0){break D}}g=j[e+8>>2]+(b-1<<3)|0;if((j[g>>2]-j[f+24>>2]|0)+1>>>0>2){d=b;break D}d=b;if((j[g+4>>2]-j[f+28>>2]|0)+1>>>0<3){break C}}g=j[e+4>>2];j[f+316>>2]=0;i=d+1|0;H:{if(i>>>0<=g>>>0){g=j[e+12>>2];break H}d=j[e+24>>2];b=g;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(d,8,g,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}g=xe(d,1,g,b,j[e+12>>2],f+316|0);j[e+12>>2]=g;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;d=j[e>>2]}i=j[f+28>>2];b=j[e+8>>2]+(d<<3)|0;j[b>>2]=j[f+24>>2];j[b+4>>2]=i;h[d+g|0]=1;h[e+16|0]=0;b=j[e>>2]+1|0;j[e>>2]=b}d=j[e+4>>2];j[f+316>>2]=0;i=b+2|0;I:{if(i>>>0<=d>>>0){d=j[e+12>>2];break I}g=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(i>>>0>b>>>0){continue}break}B=e,C=xe(g,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(g,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}i=j[f+304>>2];r=j[f+308>>2];g=j[e+8>>2]+(b<<3)|0;j[g+8>>2]=l;j[g+12>>2]=o;j[g>>2]=i;j[g+4>>2]=r;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;l=j[e>>2];b=l+2|0;j[e>>2]=b;J:{if(!b){break J}d=j[e+8>>2]+(l+1<<3)|0;if((j[d>>2]-j[f+24>>2]|0)+1>>>0>2){break J}if((j[d+4>>2]-j[f+28>>2]|0)+1>>>0<3){break A}}d=j[e+4>>2];j[f+316>>2]=0;g=l+3|0;K:{if(g>>>0<=d>>>0){d=j[e+12>>2];break K}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+316|0),j[B+8>>2]=C;i=j[f+316>>2];if(i){break c}d=xe(l,1,d,b,j[e+12>>2],f+316|0);j[e+12>>2]=d;i=j[f+316>>2];if(i){break c}j[e+4>>2]=b;b=j[e>>2]}g=j[f+28>>2];l=j[e+8>>2]+(b<<3)|0;j[l>>2]=j[f+24>>2];j[l+4>>2]=g;h[b+d|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+1;break A}d=j[e+4>>2];b=j[e>>2];j[f+16>>2]=0;g=b+2|0;L:{if(g>>>0<=d>>>0){d=j[e+12>>2];break L}l=j[e+24>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(g>>>0>b>>>0){continue}break}B=e,C=xe(l,8,d,b,j[e+8>>2],f+16|0),j[B+8>>2]=C;i=j[f+16>>2];if(i){break b}d=xe(l,1,d,b,j[e+12>>2],f+16|0);j[e+12>>2]=d;i=j[f+16>>2];if(i){break b}j[e+4>>2]=b;b=j[e>>2]}o=j[f+308>>2];l=j[e+8>>2]+(b<<3)|0;g=l;j[g>>2]=j[f+304>>2];j[g+4>>2]=o;g=j[f+28>>2];j[l+8>>2]=j[f+24>>2];j[l+12>>2]=g;b=b+d|0;h[b|0]=0;h[b+1|0]=1;h[e+16|0]=0;j[e>>2]=j[e>>2]+2}e=e+32|0;d=n;b=-5898240;n=0;if(d){continue}break}j[a>>2]=p;b=0;s=s-2|0}m=x+(s<<3)|0;if((s|0)>-1){continue}break}}b=j[c+4>>2];j[a+8>>2]=j[c>>2];j[a+12>>2]=b;i=0;break a}h[e+16|0]=0;break a}h[e+16|0]=0}oe=f+320|0;return i}function cI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=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;t=oe-240|0;oe=t;a:{if(!b){e=36;break a}e=j[a+4>>2];if(!e){e=35;break a}if(!(j[j[e+128>>2]+48>>2]|m[e+16>>2]>c>>>0)){e=6;break a}if(d&2){d=k[e+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(k[e+9|0]&32?9:11)|d}b:{if(d&8){break b}f=j[b+112>>2];if((f|0)==-1){break b}if(qe[j[j[e+532>>2]+72>>2]](e,f,c,d,j[e+104>>2],a+76|0,t)|0){break b}e=0;j[a+108>>2]=0;j[a+24>>2]=l[t+2>>1]<<6;j[a+28>>2]=l[t>>1]<<6;f=i[t+4>>1];j[a+32>>2]=f<<6;g=i[t+6>>1];j[a+36>>2]=g<<6;j[a+40>>2]=l[t+8>>1]<<6;n=i[t+10>>1];j[a+44>>2]=n<<6;r=i[t+12>>1];j[a+48>>2]=r<<6;s=l[t+14>>1];o=g;g=d&16;j[a+104>>2]=g?r:o;j[a+100>>2]=g?n:f;j[a+72>>2]=1651078259;j[a+52>>2]=s<<6;g=j[a+4>>2];if(!(h[g+8|0]&1)){break a}e=j[g+104>>2];f=Ee(t,0,208);o=0;c:{d:{if(j[j[g+128>>2]+48>>2]){break d}r=qe[j[g+508>>2]](g,1735162214,e,0)|0;o=0;if((r&255)==142){break d}if(r){break c}o=j[e+8>>2]}n=o;j[f+16>>2]=d;j[f+84>>2]=n;j[f+24>>2]=e;j[f+8>>2]=a;j[f+4>>2]=b;j[f>>2]=g}e=0;$l(f,c,0,1);c=j[f+60>>2];j[a+56>>2]=c;j[a+60>>2]=j[f+180>>2];if(!(j[a+40>>2]|!c)){z=a,A=ye(c,j[b+16>>2]),j[z+40>>2]=A}if(j[a+52>>2]){break a}c=j[a+60>>2];if(!c){break a}z=a,A=ye(c,j[b+20>>2]),j[z+52>>2]=A;break a}y=d&1;if(!(y|k[b+108|0])){e=36;break a}e=6;if(d&16384){break a}s=j[a+4>>2];v=j[s+104>>2];g=Ee(t,0,208);x=d&2;if(!x){u=d&128;e:{f:{g:{e=j[b+296>>2];h:{if((e|0)>=0){f=j[b+300>>2];if((f|0)<0){break h}if(e){break a}e=f;if(!e){break e}break a}n=j[b>>2];e=j[n+100>>2];f=e;q=j[b+124>>2];if(q){qe[j[f+8>>2]](f,q)}j[b+124>>2]=0;f=j[b+136>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+136>>2]=0;f=j[b+244>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+244>>2]=0;f=j[b+252>>2];if(f){qe[j[e+8>>2]](e,f)}j[b+252>>2]=0;f=j[b+292>>2];if(f){j[f+440>>2]=0;q=j[f+8>>2];o=q;w=j[f+24>>2];if(w){qe[j[o+8>>2]](o,w)}j[f+20>>2]=0;j[f+24>>2]=0;o=j[f+436>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+436>>2]=0;j[f+428>>2]=0;j[f+432>>2]=0;o=j[f+392>>2];if(o){qe[j[q+8>>2]](q,o)}j[f+388>>2]=0;j[f+392>>2]=0;j[f>>2]=0;j[f+4>>2]=0;if(f){qe[j[q+8>>2]](q,f)}}f=b+256|0;_l(f);j[b+296>>2]=-1;j[b+300>>2]=-1;z=b,A=bI(j[n+96>>2]),j[z+292>>2]=A;q=l[n+280>>1];j[b+120>>2]=q;o=l[n+282>>1];j[b+140>>2]=0;j[b+144>>2]=0;j[b+128>>2]=0;j[b+116>>2]=0;j[b+132>>2]=o;j[b+240>>2]=j[n+644>>2];o=l[n+278>>1];h[b+109|0]=0;h[b+110|0]=0;i[b+248>>1]=o;j[b+92>>2]=0;j[b+96>>2]=0;j[b+100>>2]=0;j[b+104>>2]=0;z=b,A=xe(e,24,0,q,0,g+208|0),j[z+124>>2]=A;i:{if(j[g+208>>2]){break i}z=b,A=xe(e,24,0,j[b+132>>2],0,g+208|0),j[z+136>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,j[b+240>>2],0,g+208|0),j[z+244>>2]=A;if(j[g+208>>2]){break i}z=b,A=xe(e,4,0,l[b+248>>1],0,g+208|0),j[z+252>>2]=A;if(j[g+208>>2]){break i}q=l[n+276>>1];j[f+28>>2]=0;j[f+32>>2]=0;j[f+20>>2]=0;j[f+24>>2]=0;j[f+12>>2]=0;j[f+16>>2]=0;j[f+4>>2]=0;j[f+8>>2]=0;j[f>>2]=e;o=q+4|0;q=o&65535;z=f,A=xe(e,8,0,q,0,g+224|0),j[z+12>>2]=A;j:{k:{if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+16>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,8,0,q,0,g+224|0),j[z+20>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,1,0,q,0,g+224|0),j[z+24>>2]=A;if(j[g+224>>2]){break k}z=f,A=xe(e,2,0,0,0,g+224|0),j[z+28>>2]=A;if(j[g+224>>2]){break k}i[f+6>>1]=0;i[f+4>>1]=o;j[g+208>>2]=0;break j}_l(f);e=j[g+224>>2];j[g+208>>2]=e;if(e){break i}}i[b+264>>1]=o;Ae(b+172|0,199700,68);e=j[j[j[n+96>>2]+4>>2]+172>>2];j[n+652>>2]=e?e:928;e=j[b+292>>2];f=j[b>>2];n=Zl(e,f,b);if(!n){j[e+480>>2]=0;j[e+484>>2]=0;j[e+476>>2]=64;j[e+16>>2]=0;j[e+428>>2]=0;j[e+564>>2]=16384;h[e+561|0]=u;j[e+216>>2]=0;j[e+220>>2]=0;h[e+488|0]=0;i[e+252>>1]=0;j[e+224>>2]=0;j[e+256>>2]=65536;j[e+260>>2]=0;q=j[f+632>>2];n=j[f+628>>2];j[e+452>>2]=0;j[e+456>>2]=0;j[e+448>>2]=n;j[e+444>>2]=q;j[e+460>>2]=0;j[e+464>>2]=0;if(!n){j[b+296>>2]=0;break g}j[e+364>>2]=n;j[e+356>>2]=q;j[e+360>>2]=0;j[e+352>>2]=1;n=qe[j[f+652>>2]](e)|0;j[b+296>>2]=n;if(!n){break g}}j[g+208>>2]=n}xq(b);e=j[g+208>>2];if(e){break a}e=j[b+296>>2]}if(e){break e}break f}j[b+116>>2]=j[e+396>>2];j[b+128>>2]=j[e+408>>2];j[b+140>>2]=j[e+420>>2];j[b+144>>2]=j[e+424>>2];f=j[e+448>>2];j[b+148>>2]=j[e+444>>2];j[b+152>>2]=f;f=j[e+456>>2];j[b+156>>2]=j[e+452>>2];j[b+160>>2]=f;f=j[e+464>>2];j[b+164>>2]=j[e+460>>2];j[b+168>>2]=f}if(j[b+300>>2]>-1){break e}if(j[b+240>>2]){f=j[b>>2];e=0;while(1){n=ye(i[j[f+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=l[b+264>>1];if(e){f=e>>>0>1?e:1;n=j[b+272>>2];q=j[b+268>>2];e=0;while(1){o=e<<3;w=o+q|0;j[w>>2]=0;j[w+4>>2]=0;o=n+o|0;j[o>>2]=0;j[o+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=l[b+248>>1];if(e){Ee(j[b+252>>2],0,(e>>>0>1?e:1)<<2)}Ae(b+172|0,199700,68);e=vq(b,u);if(e){break a}}f=j[b+292>>2];if(!f){e=153;break a}e=Zl(f,s,b);if(e){break a}e=(d&983040)!=131072;if((e|0)!=k[f+608|0]){h[f+608|0]=e;if(j[b+240>>2]){e=0;while(1){n=ye(i[j[s+648>>2]+(e<<1)>>1],j[b+88>>2]);j[j[b+244>>2]+(e<<2)>>2]=n;e=e+1|0;if(e>>>0>2]){continue}break}}e=vq(b,u);if(e){break a}}e=k[f+336|0];n=e<<1&2;if(e&2){Ae(f+284|0,199700,68)}h[f+561|0]=u;j[g+160>>2]=f;j[g+164>>2]=j[f+392>>2];d=d|n}l:{if(j[j[s+128>>2]+48>>2]){break l}e=qe[j[s+508>>2]](s,1735162214,v,0)|0;if((e&255)==142){break l}if(e){break a}r=j[v+8>>2]}j[g+84>>2]=r;e=j[j[a+156>>2]>>2];Yh(e);j[g+16>>2]=d;j[g+12>>2]=e;j[g+24>>2]=v;j[g+8>>2]=a;j[g+4>>2]=b;j[g>>2]=s;j[a+72>>2]=1869968492;j[a+124>>2]=0;j[a+128>>2]=0;e=$l(g,c,0,0);m:{if(e){break m}d=j[g+12>>2];n:{if(j[a+72>>2]==1668246896){j[a+128>>2]=j[d+48>>2];j[a+132>>2]=j[d+52>>2];break n}f=j[d+24>>2];e=a+108|0;j[e>>2]=j[d+20>>2];j[e+4>>2]=f;j[e+16>>2]=j[d+36>>2];f=j[d+32>>2];j[e+8>>2]=j[d+28>>2];j[e+12>>2]=f;j[a+124>>2]=j[a+124>>2]&-513;d=j[g+68>>2];if(!d){break n}Tf(e,0-d|0,0)}o:{if(x){break o}d=j[g+160>>2];if(k[d+337|0]){p:{switch(j[d+340>>2]){case 0:j[a+124>>2]=j[a+124>>2]|32;break o;case 4:j[a+124>>2]=j[a+124>>2]|48;break o;case 5:j[a+124>>2]=j[a+124>>2]|16;break o;case 1:break o;default:break p}}j[a+124>>2]=j[a+124>>2]|8;break o}j[a+124>>2]=j[a+124>>2]|8}n=65536;r=j[g+4>>2];d=j[g+8>>2];n=h[g+16|0]&1?n:j[r+20>>2];f=j[g>>2];q:{if(j[d+72>>2]!=1668246896){Ug(d+108|0,g+224|0);break q}e=j[g+48>>2];j[g+232>>2]=j[g+44>>2];j[g+236>>2]=e;e=j[g+40>>2];j[g+224>>2]=j[g+36>>2];j[g+228>>2]=e}j[d+56>>2]=j[g+60>>2];u=j[g+224>>2];j[d+32>>2]=u;s=j[g+236>>2];j[d+36>>2]=s;j[d+40>>2]=j[g+76>>2]-j[g+68>>2];r:{if(j[f+480>>2]|k[g+16|0]&2){break r}v=j[f+712>>2];if(!v){break r}o=j[f+704>>2]+8|0;q=j[f+716>>2];x=j[f+720>>2];e=0;r=l[r+12>>1];while(1){if((r|0)==k[e+x|0]){r=c+2|0;if(r>>>0>=q>>>0){break r}j[d+40>>2]=k[r+(o+p(e,q)|0)|0]<<6;break r}e=e+1|0;if((v|0)!=(e|0)){continue}break}}j[d+24>>2]=j[g+232>>2]-u;e=s-j[g+228>>2]|0;j[d+28>>2]=e;s:{if(!(!k[f+292|0]|!l[f+330>>1])){r=De(j[g+188>>2]-s|0,n)<<16>>16;e=0;s=j[g+188>>2];q=j[g+196>>2];if((s|0)<=(q|0)){break s}e=De(s-q|0,n)&65535;break s}r=De(e,n);e=l[f+364>>1]==65535;e=i[f+(e?220:434)>>1]-i[f+(e?222:436)>>1]|0;r=(e-(r<<16>>16)|0)/2|0}f=j[j[f+128>>2]+48>>2];t:{if(!f){break t}s=j[j[f>>2]+8>>2];if(!s){break t}j[g+216>>2]=e;j[g+212>>2]=r;j[g+208>>2]=0;e=qe[s|0](j[f+4>>2],c,1,g+208|0)|0;if(e){break m}e=j[g+216>>2];r=j[g+212>>2]}j[d+60>>2]=e;c=d;if(!(h[g+16|0]&1)){r=ye(r,n);e=ye(e,n)}j[c+52>>2]=e;j[d+48>>2]=r;j[d+44>>2]=j[d+32>>2]+(j[d+40>>2]/-2|0);e=0}if(l[b+14>>1]>23|y){break a}j[a+124>>2]=j[a+124>>2]|256}oe=t+240|0;return e|0}function XL(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=oe-32|0;oe=n;a:{b:{e=Fe(a,0);if(!e){e=$e(a,133216,b+132|0);if(!e){break b}}j[n+24>>2]=e;break a}j[b+168>>2]=j[b+168>>2]+(j[b+204>>2]<<16);j[n+24>>2]=0;c:{if(!(j[b+132>>2]!=1346785840|m[b+136>>2]>4|m[b+144>>2]<58)){if(j[b+140>>2]==3338){break c}}e=2;j[n+24>>2]=2;break a}e=Fe(a,j[b+152>>2]);j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];j[n+24>>2]=e;if(e){break a}j[b>>2]=d;e=0;if((c|0)<0){break a}e=6;if((c|0)>=(d|0)){break a}s=j[b+204>>2];e=Fe(a,j[b+152>>2]);j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];if(e){break a}e=6;if(c>>>0>=d>>>0){break a}e=xf(a,p(c,5));j[n+8>>2]=e;if(e){break a}d=qf(a,n+8|0);e=j[n+8>>2];if(e){break a}g=gO(a,n+8|0);e=j[n+8>>2];if(e){break a}j[b+240>>2]=d;j[b+244>>2]=g;e=Fe(a,g);j[n+8>>2]=e;if(e){break a}e=_e(a,d);j[n+8>>2]=e;if(e){break a}d:{e:{f:{if(d>>>0<13){break f}e=j[a+32>>2];o=e+d|0;j[b+248>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);j[b+252>>2]=k[e+5|0]|(k[e+4|0]<<8|k[e+3|0]<<16);j[b+256>>2]=k[e+8|0]|(k[e+7|0]<<8|k[e+6|0]<<16);j[b+260>>2]=k[e+11|0]|(k[e+10|0]<<8|k[e+9|0]<<16);d=0;x=o;f=e+13|0;y=f;q=k[e+12|0];g=q&4;if(g){d=q&8?2:1;v=q&3?d:d+3|0}else{v=d}d=q&32;if(x>>>0>31&(d?2:1))|0)>>>0){break f}r=q&16;g:{if(!g){break g}y=b;h:{if(q&8){f=e+15|0;g=k[e+13|0]|k[e+14|0]<<8;e=(g<<24|g<<8&16711680)>>16;break h}f=e+14|0;e=k[e+13|0]}j[y+268>>2]=e;if(q&3){break g}j[b+276>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+3|0}i:{if(!r){d=f;break i}j:{if(d){d=k[f|0]|k[f+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=f+2|0;break j}e=k[f|0];d=f+1|0}j[b+272>>2]=e}k:{if(!(q&64)){e=d;break k}e=d+1|0;if(o>>>0>>0){break e}d=k[d|0];if(d){while(1){g=e+2|0;if(g>>>0>o>>>0){break e}e=g+k[e|0]|0;if(o>>>0>>0){break e}d=d-1|0;if(d){continue}break}}j[n+8>>2]=0}if(o>>>0>>0){break f}d=k[e+1|0]|k[e|0]<<8;j[b+280>>2]=d;j[b+284>>2]=k[e+4|0]|(k[e+3|0]<<8|k[e+2|0]<<16);if(!s){break d}if(o>>>0>>0){break f}j[b+280>>2]=d|k[e+5|0]<<16;break d}j[n+8>>2]=8;break d}j[n+8>>2]=8}Ve(a);e=j[n+8>>2];j[n+24>>2]=e;if(e){break a}f=j[b+280>>2];x=j[b+284>>2];v=j[a+28>>2];j[b+428>>2]=b+424;j[b+424>>2]=0;j[b+292>>2]=x;o=b+288|0;j[o>>2]=v;e=Fe(a,x);if(e){break a}e=_e(a,f);j[n+28>>2]=e;if(e){break a}d=j[a+32>>2];j[o+148>>2]=d;l:{m:{n:{o:{if((f|0)<15){break o}j[o+8>>2]=k[d+1|0]|k[d|0]<<8;j[o+12>>2]=k[d+3|0]|k[d+2|0]<<8;j[o+16>>2]=k[d+5|0]|k[d+4|0]<<8;e=k[d+6|0]|k[d+7|0]<<8;j[o+20>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+8|0]|k[d+9|0]<<8;j[o+24>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+10|0]|k[d+11|0]<<8;j[o+28>>2]=(e<<24|e<<8&16711680)>>16;e=k[d+12|0]|k[d+13|0]<<8;j[o+32>>2]=(e<<24|e<<8&16711680)>>16;w=k[d+14|0];j[o+36>>2]=w;y=w&4;g=d+15|0;p:{if(y){break p}if((f|0)<17){break o}e=k[d+15|0]|k[d+16|0]<<8;j[o+40>>2]=(e<<24|e<<8&16711680)>>16;g=d+17|0}s=d+f|0;if(w&128){e=8;d=g+1|0;if(s>>>0>>0){break m}r=k[g|0];q:{if(!r){g=d;break q}while(1){q=d+2|0;if(q>>>0>s>>>0){break n}g=q+k[d|0]|0;if(s>>>0>>0){break n}e=133344;f=700;d=k[d+1|0];r:{if((d|0)!=1){while(1){f=j[e+12>>2];if(!f){break r}e=e+8|0;if((d|0)!=j[e>>2]){continue}break}}e=qe[f|0](q,g,o)|0;if(e){break m}}d=g;r=r-1|0;if(r){continue}break}}j[n+28>>2]=0}f=g+3|0;if(s>>>0>>0){break o}r=k[g+2|0]|(k[g+1|0]<<8|k[g|0]<<16);if(r){q=(g+r|0)+3|0;if(q>>>0>s>>>0){break o}s:{if(r>>>0<4){break s}d=g+7|0;while(1){u=k[f+1|0]|k[f|0]<<8;if(u>>>0<4|r>>>0>>0){break s}t:{u:{v:{w:{x:{e=k[f+2|0]|k[f+3|0]<<8;switch(((e<<24|e<<8&16711680)>>>16|0)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break t}}j[n+8>>2]=0;y:{z:{g=u-4|0;if(!g){break z}e=u-5|0;if(!k[e+d|0]){g=e;if(!e){break z}}e=0;while(1){t=k[d+e|0];if(t>>>0<32|t<<24>>24<0){break z}e=e+1|0;if((g|0)!=(e|0)){continue}break}break y}j[o+84>>2]=0;j[n+28>>2]=0;break t}t=He(v,g+1|0,n+8|0);e=j[n+8>>2];if(e){j[o+84>>2]=t;break a}d=Ae(t,d,g);h[d+g|0]=0;e=j[n+8>>2];j[o+84>>2]=d;break u}if(u>>>0<36){break t}d=k[f+14|0]|k[f+15|0]<<8;j[o+44>>2]=(d<<24|d<<8&16711680)>>16;d=k[f+16|0]|k[f+17|0]<<8;j[o+48>>2]=(d<<24|d<<8&16711680)>>16;d=k[f+18|0]|k[f+19|0]<<8;j[o+52>>2]=(d<<24|d<<8&16711680)>>16;break t}j[n+8>>2]=0;A:{B:{g=u-4|0;if(!g){break B}e=u-5|0;if(!k[e+d|0]){g=e;if(!e){break B}}e=0;while(1){t=k[d+e|0];if(t>>>0<32|t<<24>>24<0){break B}e=e+1|0;if((g|0)!=(e|0)){continue}break}break A}j[o+88>>2]=0;j[n+28>>2]=0;break t}t=He(v,g+1|0,n+8|0);e=j[n+8>>2];if(e){j[o+88>>2]=t;break a}d=Ae(t,d,g);h[d+g|0]=0;e=j[n+8>>2];j[o+88>>2]=d}j[n+28>>2]=e;if(e){break a}}r=r-u|0;if(!r){break s}f=f+u|0;d=f+4|0;if(q>>>0>=d>>>0){continue}break}}f=q}e=f+1|0;if(s>>>0>>0){break o}d=k[f|0];j[o+104>>2]=d;if(s>>>0<(d<<1)+e>>>0){break o}f=0;g=xe(v,4,0,d,0,n+28|0);j[o+108>>2]=g;if(j[n+28>>2]){break l}if(d){while(1){q=k[e|0]|k[e+1|0]<<8;j[g+(f<<2)>>2]=(q<<24|q<<8&16711680)>>16;e=e+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=e+8|0;if(s>>>0>>0){break o}j[o+112>>2]=k[e|0];j[o+116>>2]=k[e+1|0];j[o+68>>2]=k[e+3|0]|k[e+2|0]<<8;j[o+56>>2]=k[e+5|0]|k[e+4|0]<<8;r=k[e+7|0]|k[e+6|0]<<8;j[o+120>>2]=r;j[o+124>>2]=(f+x|0)-j[a+32>>2];u=xe(v,16,0,r,0,n+28|0);j[o+128>>2]=u;if(j[n+28>>2]){break l}v=w&2;x=w&8;t=w&16;w=w&32;if(s>>>0>>1|(v?5:4))+(x>>>3|0)+(t>>>4)+(w>>>5)|0)+f>>>0){break o}if(!r){break l}d=0;while(1){C:{if(v){q=k[f+1|0]|k[f|0]<<8;e=f+2|0;break C}q=k[f|0];e=f+1|0}s=u+(d<<4)|0;j[s>>2]=q;D:{if(y){g=k[e|0]|k[e+1|0]<<8;q=(g<<24|g<<8&16711680)>>16;e=e+2|0;break D}q=j[o+40>>2]}j[s+4>>2]=q;e=x?e+1|0:e;E:{if(t){q=k[e+1|0]|k[e|0]<<8;e=e+2|0;break E}q=k[e|0];e=e+1|0}j[s+8>>2]=q;F:{if(w){q=k[e+1|0]<<8|k[e|0]<<16;f=e+3|0;g=2;break F}q=k[e|0]<<8;f=e+2|0;g=1}j[s+12>>2]=k[e+g|0]|q;d=d+1|0;if((r|0)!=(d|0)){continue}break}break l}j[n+28>>2]=8;break l}e=8}j[n+28>>2]=e}Ve(a);d=0;a=j[a+8>>2];j[o+148>>2]=0;j[o+144>>2]=a;e=j[n+28>>2];j[n+24>>2]=e;if(e){break a}j[b+4>>2]=c;a=j[b+408>>2];j[b+16>>2]=a+1;c=j[b+8>>2]|1;j[b+8>>2]=c;G:{H:{I:{if(!a){break I}e=j[o+128>>2];while(1){if(j[(e+(d<<4)|0)+12>>2]){break I}d=d+1|0;if((a|0)!=(d|0)){continue}break}break H}if((a|0)!=(d|0)){break G}}c=0;if(j[o+92>>2]){break G}e=3;break a}a=j[b+324>>2];e=(a^-1)&4|c|(a&1?32:16);j[b+8>>2]=e;c=j[b+380>>2];if(c){e=e|2;j[b+8>>2]=e}if(j[o+132>>2]){j[b+8>>2]=e|64}d=j[b+372>>2];j[b+20>>2]=d;if(!d){j[b+20>>2]=j[b+368>>2]}j[b+28>>2]=0;j[b+32>>2]=0;j[b+24>>2]=j[b+376>>2];d=j[o+28>>2];e=j[o+32>>2];g=j[o+24>>2];f=j[o+20>>2];q=j[b+300>>2];i[b+68>>1]=q;s=j[b+320>>2];i[b+70>>1]=s;r=j[b+312>>2];i[b+72>>1]=r;j[b+52>>2]=f;j[b+56>>2]=g;j[b+60>>2]=d;j[b+64>>2]=e;d=(s<<16>>16)-(r<<16>>16)|0;e=(p(q&65535,12)>>>0)/10|0;i[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){d=0;a=xe(j[j[b+104>>2]+28>>2],16,0,c,0,n+24|0);j[b+32>>2]=a;e=j[n+24>>2];if(e){break a}e=j[o+100>>2];while(1){f=j[e+4>>2];i[a>>1]=f;g=j[e>>2];f=f<<6;j[a+12>>2]=f;j[a+4>>2]=f;i[a+2>>1]=g;j[a+8>>2]=g<<6;e=e+36|0;a=a+16|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}j[b+28>>2]=c;a=j[b+324>>2]}J:{if(!(a&4)){e=j[o+40>>2];break J}c=j[o+120>>2];if(!c){e=0;break J}a=j[o+128>>2];e=0;while(1){d=j[a+4>>2];e=(d|0)>(e|0)?d:e;a=a+16|0;c=c-1|0;if(c){continue}break}}i[b+76>>1]=e;i[b+78>>1]=l[b+74>>1];a=l[b+68>>1];i[b+82>>1]=(a>>>0)/30;i[b+80>>1]=(a|0)/-10;j[n+8>>2]=b;j[n+12>>2]=1970170211;j[n+16>>2]=65539;e=qg(133e3,0,n+8|0,0);if(!j[b+420>>2]){break a}j[b+8>>2]=j[b+8>>2]|64}oe=n+32|0;return e|0}function Oz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}r=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(b>>>24|0,r)>>>0)/255|0)+l<<24|((p(b&255,r)>>>0)/255|0)+i|((p(b>>>16&255,r)>>>0)/255|0)+g<<16|((p(b>>>8&255,r)>>>0)/255|0)+h<<8;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break d}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){c=j[n>>2];a=(c&255)+i|0;d=(a>>>0<255?a:255)|c&-16777216;a=(c>>>16&255)+g|0;d=d|(a>>>0<255?a:255)<<16;a=(c>>>8&255)+h|0;j[n>>2]=d|(a>>>0<255?a:255)<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){l=(m|0)!=0;n=a+(b<<2)|0;a=d-b|0;break e}a=a+(d<<2)|0;n=m?a:a+4|0;l=(m|0)!=0;a=b-d|0}b=a+l|0;if(!b){break a}while(1){a=j[n>>2];j[n>>2]=(p(a&255,i)>>>0)/255|a&-16777216|(p(a>>>16&255,g)>>>0)/255<<16|(p(a>>>8&255,h)>>>0)/255<<8;n=n+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;n=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;n=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=l<<24|i|h<<8|g<<16;while(1){j[n>>2]=a;n=n+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}c=f<<2;while(1){d=j[b>>2];j[b>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;b=b+c|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}a=f<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break g}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;n=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}b=l<<24|i|h<<8|g<<16;a=f<<2;while(1){j[n>>2]=b;n=a+n|0;c=c-1|0;if(c){continue}break}break a}n=b-d|0;v=n>>31;q=c-e|0;o=q>>31;if((v^n+v)==(o^o+q)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[a>>2];j[a>>2]=((p(d>>>24|0,r)>>>0)/255|0)+l<<24|((p(d&255,r)>>>0)/255|0)+i|((p(d>>>16&255,r)>>>0)/255|0)+g<<16|((p(d>>>8&255,r)>>>0)/255|0)+h<<8;a=a+c|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}c=c<<2;while(1){d=j[n>>2];a=(d&255)+i|0;e=(a>>>0<255?a:255)|d&-16777216;a=(d>>>16&255)+g|0;e=e|(a>>>0<255?a:255)<<16;a=(d>>>8&255)+h|0;j[n>>2]=e|(a>>>0<255?a:255)<<8;n=c+n|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(c<<2)|0}b=((m|0)!=0)+q|0;if(!b){break a}a=c<<2;while(1){c=j[n>>2];j[n>>2]=(p(c&255,i)>>>0)/255|c&-16777216|(p(c>>>16&255,g)>>>0)/255<<16|(p(c>>>8&255,h)>>>0)/255<<8;n=a+n|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){n=(a+(p(c,f)<<2)|0)+(b<<2)|0;q=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;n=m?a:a+(b<<2)|0}c=((m|0)!=0)+q|0;if(!c){break a}d=l<<24|i|h<<8|g<<16;a=b<<2;while(1){j[n>>2]=d;n=a+n|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:n=d-b|0;o=n>>31;f=e-c|0;q=f>>31;o=o^n+o;n=q^f+q;r:{if((o|0)>=(n|0)){u=n-o|0;x=1;q=n<<1;f=q-o|0;n=0;break r}u=o-n|0;q=o<<1;f=q-n|0;o=n;n=1}s=((m|0)!=0)+o|0;if(!s){break a}e=(c|0)>(e|0);w=e?0-n|0:n;d=(b|0)>(d|0);t=d?0-x|0:x;v=e?-1:1;o=d?-1:1;n=u<<1;m=j[a+20>>2];d=0;while(1){e=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[e>>2];j[e>>2]=((p(u&255,r)>>>0)/255|0)+i|((p(u>>>24|0,r)>>>0)/255|0)+l<<24|((p(u>>>16&255,r)>>>0)/255|0)+g<<16|((p(u>>>8&255,r)>>>0)/255|0)+h<<8;e=(f|0)<0;f=(e?q:n)+f|0;b=(e?t:o)+b|0;c=(e?w:v)+c|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}break a;case 1:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;s:{if((n|0)>=(o|0)){s=o-n|0;f=o<<1;l=f-n|0;o=1;break s}s=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=s<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;u=j[d>>2];s=(u&255)+i|0;r=d;d=(u>>>16&255)+g|0;s=u&-16777216|(s>>>0<255?s:255)|(d>>>0<255?d:255)<<16;d=(u>>>8&255)+h|0;j[r>>2]=s|(d>>>0<255?d:255)<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;case 3:l=d-b|0;n=l>>31;f=e-c|0;o=f>>31;n=n^l+n;o=o^f+o;t:{if((n|0)>=(o|0)){x=o-n|0;f=o<<1;l=f-n|0;o=1;break t}x=n-o|0;t=1;f=n<<1;l=f-o|0;n=o;o=0}w=((m|0)!=0)+n|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-t|0:t;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;n=x<<1;m=j[a+20>>2];e=0;while(1){d=(m+p(j[a+16>>2],c)|0)+(b<<2)|0;s=j[d>>2];j[d>>2]=(p(s&255,i)>>>0)/255|s&-16777216|(p(s>>>16&255,g)>>>0)/255<<16|(p(s>>>8&255,h)>>>0)/255<<8;d=(l|0)<0;l=(d?f:n)+l|0;b=(d?v:o)+b|0;c=(d?t:q)+c|0;e=e+1|0;if((w|0)!=(e|0)){continue}break}break a;default:break q}}n=d-b|0;q=n>>31;f=e-c|0;o=f>>31;q=q^n+q;o=o^f+o;u:{if((q|0)>=(o|0)){s=o-q|0;f=o<<1;n=f-q|0;o=1;break u}s=q-o|0;x=1;f=q<<1;n=f-o|0;q=o;o=0}w=((m|0)!=0)+q|0;if(!w){break a}e=(c|0)>(e|0);t=e?0-x|0:x;d=(b|0)>(d|0);v=d?0-o|0:o;q=e?-1:1;o=d?-1:1;m=s<<1;e=l<<24|i|h<<8|g<<16;d=j[a+20>>2];i=0;while(1){j[(d+p(j[a+16>>2],c)|0)+(b<<2)>>2]=e;g=(n|0)<0;n=(g?f:m)+n|0;b=(g?v:o)+b|0;c=(g?t:q)+c|0;i=i+1|0;if((w|0)!=(i|0)){continue}break}}}function qr(a,b,c,d,e){var f=0,g=0,n=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;q=oe-48|0;oe=q;d=Fe(b,c+d|0);a:{if(d){break a}d=_e(b,e);if(d){break a}g=j[b+32>>2];r=g+e|0;if(!(!e|h[g|0]>-1)){s=j[a+16>>2];t=j[a+28>>2];j[q>>2]=0;d=8;b:{if((e|0)<1){break b}o=k[g|0];if(!(o&128)){break b}n=g+1|0;x=j[t>>2];c:{if(!(o&8)){e=n;break c}if((e|0)<2){break b}e=g+2|0;f=k[n|0];if(f){while(1){n=e+2|0;if(n>>>0>r>>>0){break b}e=n+k[e|0]|0;if(r>>>0>>0){break b}f=f-1|0;if(f){continue}break}}j[q>>2]=0}u=o&63;n=u+s|0;g=j[a+20>>2];d:{if(n>>>0<=g>>>0){f=j[a+24>>2];break d}n=n+3&-4;if(n>>>0>64){break b}f=xe(x,24,g,n,j[a+24>>2],q);j[a+24>>2]=f;d=j[q>>2];if(d){break b}j[a+20>>2]=n}if(!u){d=0;break b}f=p(s,24)+f|0;while(1){o=e+1|0;if(r>>>0>>0){d=8;break b}g=k[e|0];j[f>>2]=65536;if(g&16){o=e+3|0;if(r>>>0>>0){d=8;break b}d=k[e+1|0]|k[e+2|0]<<8;j[f>>2]=(d<<24|d<<8&16711680)>>16<<4}j[f+4>>2]=65536;e:{if(!(g&32)){d=o;break e}d=o+2|0;if(r>>>0>>0){d=8;break b}e=k[o|0]|k[o+1|0]<<8;j[f+4>>2]=(e<<24|e<<8&16711680)>>16<<4}o=0;e=0;f:{g:{switch((g&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;e=(d<<24|d<<8&16711680)>>16;d=n;break f;case 1:break g;default:break f}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}e=h[d|0];d=n}h:{i:{switch((g>>>2&3)-1|0){case 0:n=d+2|0;if(n>>>0>r>>>0){d=8;break b}d=k[d|0]|k[d+1|0]<<8;o=(d<<24|d<<8&16711680)>>16;d=n;break h;case 1:break i;default:break h}}n=d+1|0;if(n>>>0>r>>>0){d=8;break b}o=h[d|0];d=n}j[f+12>>2]=o;j[f+8>>2]=e;e=f;j:{if(g&64){o=d+2|0;if(r>>>0>>0){d=8;break b}d=k[d+1|0]|k[d|0]<<8;break j}o=d+1|0;if(r>>>0>>0){d=8;break b}d=k[d|0]}j[e+20>>2]=d;k:{if(g&128){e=o+3|0;if(r>>>0>>0){d=8;break b}n=2;d=k[o+1|0]<<8|k[o|0]<<16;break k}e=o+2|0;if(r>>>0>>0){d=8;break b}n=1;d=k[o|0]<<8}j[f+16>>2]=d|k[n+o|0];j[a+16>>2]=j[a+16>>2]+1;f=f+24|0;d=0;v=v+1|0;if((u|0)!=(v|0)){continue}break}}Ve(b);if(d){break a}r=j[a+16>>2]-s|0;if(!r){d=0;break a}o=0;while(1){g=i[t+22>>1];f=p(o,24);e=p(s,24);d=f+(e+j[a+24>>2]|0)|0;d=qr(a,b,c,j[d+16>>2],j[d+20>>2]);if(d){break a}n=i[t+22>>1]-g|0;e=f+(e+j[a+24>>2]|0)|0;u=j[e>>2];l:{if(!(j[e+4>>2]==65536?(u|0)==65536:0)){if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;f=0;while(1){z=d,A=ye(j[d>>2],u)+j[e+8>>2]|0,j[z>>2]=A;z=d,A=ye(j[d+4>>2],j[e+4>>2])+j[e+12>>2]|0,j[z+4>>2]=A;f=f+1|0;if((n|0)==(f|0)){break l}d=d+8|0;u=j[e>>2];continue}}if((n|0)<1){break l}d=j[t+24>>2]+(g<<3)|0;g=j[e+12>>2];f=j[e+8>>2];e=0;while(1){j[d>>2]=f+j[d>>2];j[d+4>>2]=g+j[d+4>>2];d=d+8|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}d=0;o=o+1|0;if((r|0)!=(o|0)){continue}break}break a}j[q+44>>2]=0;d=8;m:{if((e|0)<1){break m}o=k[g|0];if(o&128){break m}f=j[j[a+28>>2]>>2];n:{if(o&4){if((e|0)<2){break m}n=g+2|0;c=k[g+1|0];x=c>>>4|0;v=c&15;break n}if(o&2){if((e|0)<2){break m}v=k[g+1|0];c=g+2|0}else{c=g+1|0}if(!(o&1)){n=c;break n}n=c+1|0;if(r>>>0>>0){break m}x=k[c|0]}o:{g=v+x|0;c=j[a+4>>2];p:{q:{if(g>>>0>c>>>0){d=c;c=g+7&1016;s=xe(f,4,d,c,j[a+8>>2],q+44|0);j[a+8>>2]=s;d=j[q+44>>2];if(d){break m}u=a+8|0;j[a+4>>2]=c;j[a+12>>2]=(v<<2)+s;y=a+12|0;break q}s=j[a+8>>2];j[a+12>>2]=s+(v<<2);y=a+12|0;u=a+8|0;if(!g){break p}}c=0;e=0;d=0;while(1){r:{if(d&7){f=n;break r}f=n+1|0;if(r>>>0>>0){break o}e=k[n|0]}t=(d<<2)+s|0;s:{if(e&1){n=f+2|0;if(r>>>0>>0){break o}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break s}n=f+1|0;if(r>>>0>>0){break o}c=k[f|0]+c|0}j[t>>2]=c;e=e>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;t:{if(!(o&8)){e=n;break t}e=n+1|0;if(r>>>0>>0){break m}f=k[n|0];if(f){while(1){c=e+2|0;if(c>>>0>r>>>0){break m}e=c+k[e|0]|0;if(r>>>0>>0){break m}f=f-1|0;if(f){continue}break}}j[q+44>>2]=0}h[a+32|0]=0;j[q+24>>2]=0;j[q+28>>2]=0;j[q>>2]=0;j[q+4>>2]=0;c=0;n=0;while(1){g=e+1|0;if(g>>>0>r>>>0){break o}d=k[e|0];f=d&15;s=1;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{w=d>>>4|0;switch(w|0){case 0:break z;case 1:case 4:case 5:break A;case 7:break C;case 6:break D;case 3:break F;case 2:break G;default:break B}}if(f>>>0>=v>>>0){break o}d=j[j[u>>2]+(f<<2)>>2];j[q+4>>2]=c;j[q>>2]=d;d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c;break E}if(f>>>0>=x>>>0){break o}j[q>>2]=n;j[q+4>>2]=j[j[y>>2]+(f<<2)>>2];d=j[q+4>>2];c=j[q>>2];j[q+24>>2]=c;j[q+28>>2]=d;n=c}c=d;e=g;break w}f=2958;s=3;break A}f=3627;s=3;break A}s=4}o=0;d=q;e=g;while(1){H:{I:{switch(f&3){case 0:g=e+1|0;if(g>>>0>r>>>0){break o}e=k[e|0];if(e>>>0>=v>>>0){break o}n=j[j[u>>2]+(e<<2)>>2];e=g;break H;case 1:g=e+2|0;if(g>>>0>r>>>0){break o}e=k[e|0]|k[e+1|0]<<8;n=(e<<24|e<<8&16711680)>>16;e=g;break H;case 2:break I;default:break H}}g=e+1|0;if(g>>>0>r>>>0){break o}n=h[e|0]+n|0;e=g}j[d>>2]=n;J:{K:{switch(f>>>2&3){case 0:n=e+1|0;if(n>>>0>r>>>0){break o}c=k[e|0];if(c>>>0>=x>>>0){break o}c=j[j[y>>2]+(c<<2)>>2];e=n;break J;case 1:n=e+2|0;if(n>>>0>r>>>0){break o}c=k[e|0]|k[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;e=n;break J;case 2:break K;default:break J}}n=e+1|0;if(n>>>0>r>>>0){break o}c=h[e|0]+c|0;e=n}j[d+4>>2]=c;L:{if(!((s|0)!=4|o)){c=e+1|0;if(c>>>0>r>>>0){break o}f=k[e|0];s=3;e=c;break L}f=f>>>4|0}c=j[d+4>>2];g=j[d>>2];j[q+24>>2]=g;j[q+28>>2]=c;d=d+8|0;t=c;n=g;o=o+1|0;if(s>>>0>o>>>0){continue}break}c=t;switch(w|0){case 1:case 2:case 3:break w;case 4:case 5:break y;case 0:break z;default:break x}}d=j[a+28>>2];if(k[a+32|0]){n=i[d+58>>1];e=n-1|0;f=e;o=l[d+56>>1];g=o<<16>>16;c=0;M:{if((g|0)<1){break M}c=i[(j[d+68>>2]+(o<<1)|0)-2>>1]}N:{if((f|0)<=(c|0)){break N}f=j[d+60>>2];o=f+(c<<3)|0;f=f+(e<<3)|0;if(j[o>>2]!=j[f>>2]|j[o+4>>2]!=j[f+4>>2]){break N}i[d+58>>1]=n-1;e=n-2|0}if((c|0)<=(e|0)){i[d+56>>1]=g+1;i[j[d+68>>2]+(g<<1)>>1]=e}h[a+32|0]=0}Xh(d);d=j[q+44>>2];break m}f=j[a+28>>2];O:{if(!k[a+32|0]){break O}o=i[f+58>>1];d=o-1|0;s=d;w=l[f+56>>1];t=w<<16>>16;g=0;P:{if((t|0)<1){break P}g=i[(j[f+68>>2]+(w<<1)|0)-2>>1]}Q:{if((s|0)<=(g|0)){break Q}s=j[f+60>>2];w=s+(g<<3)|0;s=s+(d<<3)|0;if(j[w>>2]!=j[s>>2]|j[w+4>>2]!=j[s+4>>2]){break Q}i[f+58>>1]=o-1;d=o-2|0}if((d|0)<(g|0)){break O}i[f+56>>1]=t+1;i[j[f+68>>2]+(t<<1)>>1]=d}h[a+32|0]=1;d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2];if(!(m[f+8>>2]>=(i[f+20>>1]+i[f+56>>1]|0)+1>>>0?o>>>0<=s>>>0:0)){d=yf(f,1,1);if(d){break u}if(!k[a+32|0]){d=8;break u}f=j[a+28>>2];d=i[f+58>>1];o=(d+i[f+22>>1]|0)+1|0;s=j[f+4>>2]}if(o>>>0>s>>>0){d=yf(f,1,0);if(d){break u}d=i[f+58>>1]}o=j[q+4>>2];g=j[f+60>>2]+(d<<3)|0;j[g>>2]=j[q>>2];j[g+4>>2]=o;h[j[f- -64>>2]+d|0]=1;i[f+58>>1]=l[f+58>>1]+1;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+3>>>0>m[g+4>>2]){d=yf(g,3,0);if(d){break u}d=i[g+58>>1]}o=j[g- -64>>2];t=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=t;t=j[q+12>>2];j[f+8>>2]=j[q+8>>2];j[f+12>>2]=t;t=j[q+20>>2];j[f+16>>2]=j[q+16>>2];j[f+20>>2]=t;d=d+o|0;h[d+2|0]=1;h[d|0]=2;h[d+1|0]=2;i[g+58>>1]=l[g+58>>1]+3;break v}if(!k[a+32|0]){d=8;break u}g=j[a+28>>2];d=i[g+58>>1];if((d+i[g+22>>1]|0)+1>>>0>m[g+4>>2]){d=yf(g,1,0);if(d){break u}d=i[g+58>>1]}o=j[q+4>>2];f=j[g+60>>2]+(d<<3)|0;j[f>>2]=j[q>>2];j[f+4>>2]=o;h[j[g- -64>>2]+d|0]=1;i[g+58>>1]=l[g+58>>1]+1}d=0}j[q+44>>2]=d;if(!d){continue}break}break m}d=8}Ve(b)}oe=q+48|0;return d}function iL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;e=oe-80|0;oe=e;n=j[a+8>>2];a:{if(!n){b=6;break a}o=j[a>>2];c=j[a+4>>2];b:{if(j[c+12>>2]>1){break b}bh(c);if(j[c+12>>2]>1){break b}i=j[c+8>>2];b=j[c>>2];c:{while(1){if(b>>>0>=i>>>0){break c}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;d:{switch(l-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j[c+12>>2]=2;break b}j[c+12>>2]=3}while(1){e:{j[c+12>>2]=0;f=vh(c);if(f){break e}b=2;if(j[c+12>>2]==2){continue}break a}break}b=2;if((j[c>>2]+(f^-1)|0)!=16){break a}if(Qe(f,134013,16)){break a}b=160;f:{g:while(1){g=j[a+4>>2];h:{if(j[g+12>>2]>1){break h}bh(g);if(j[g+12>>2]>1){break h}c=j[g+8>>2];f=j[g>>2];i:{while(1){if(c>>>0<=f>>>0){break i}l=f+1|0;j[g>>2]=l;i=k[f|0];f=l;j:{switch(i-10|0){case 16:break i;case 0:case 3:break j;default:continue}}break}j[g+12>>2]=2;break h}j[g+12>>2]=3}while(1){k:{j[g+12>>2]=0;i=vh(g);if(i){break k}if(j[g+12>>2]==2){continue}break f}break}f=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){l:{m=j[(d<<2)+134032>>2];if((l|0)==k[m|0]){if(d>>>0>73){continue g}while(1){if(!Qe(m,i,f)){break l}d=d+1|0;if((d|0)==74){continue g}m=j[(d<<2)+134032>>2];if((l|0)==k[m|0]){continue}break}continue g}d=d+1|0;if((d|0)!=74){continue}continue g}break}m:{n:{o:{p:{switch(d|0){case 40:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}if(!(j[e+36>>2]&-3)){continue}b=7;break f;case 30:j[e>>2]=4;if((Qg(a,e,1)|0)!=1){break f}h[n|0]=k[e+4|0];continue;case 26:j[e+24>>2]=2;j[e+16>>2]=2;j[e+8>>2]=2;j[e>>2]=2;if((Qg(a,e,4)|0)!=4){break f}j[n+4>>2]=j[e+4>>2];j[n+8>>2]=j[e+12>>2];j[n+12>>2]=j[e+20>>2];j[n+16>>2]=j[e+28>>2];continue;case 0:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+20>>2]=j[e+4>>2];continue;case 14:j[e>>2]=2;if((Qg(a,e,1)|0)!=1){break f}j[n+24>>2]=j[e+4>>2];continue;case 45:j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}f=j[e+36>>2];if((f|0)<=0){break n}while(1){g=j[a+4>>2];q:{if(j[g+12>>2]>1){break q}bh(g);if(j[g+12>>2]>1){break q}c=j[g+8>>2];b=j[g>>2];r:{while(1){if(b>>>0>=c>>>0){break r}l=b+1|0;j[g>>2]=l;i=k[b|0];b=l;s:{switch(i-10|0){case 16:break r;case 0:case 3:break s;default:continue}}break}j[g+12>>2]=2;break q}j[g+12>>2]=3}b=f-1|0;while(1){t:{j[g+12>>2]=0;if(vh(g)){break t}if(j[g+12>>2]==2){continue}break m}break}l=(f|0)<2;f=b;if(!l){continue}break}break n;case 20:break o;case 49:break p;default:continue}}u:while(1){c=j[a+4>>2];v:{if(j[c+12>>2]>1){break v}bh(c);if(j[c+12>>2]>1){break v}i=j[c+8>>2];b=j[c>>2];w:{while(1){if(b>>>0>=i>>>0){break w}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;x:{switch(l-10|0){case 16:break w;case 0:case 3:break x;default:continue}}break}j[c+12>>2]=2;break v}j[c+12>>2]=3}y:{while(1){j[c+12>>2]=0;i=vh(c);if(i){break y}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){z:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue u}while(1){if(!Qe(f,i,b)){break z}d=d+1|0;if((d|0)==74){continue u}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue u}d=d+1|0;if((d|0)!=74){continue}continue u}break}b=160;A:{switch(d-20|0){case 33:c=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[c+32>>2]=b;if(b){q=c,r=xe(j[a>>2],20,0,b,0,e+32|0),j[q+28>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;B:{C:while(1){g=j[a+4>>2];D:{if(j[g+12>>2]>1){break D}bh(g);if(j[g+12>>2]>1){break D}i=j[g+8>>2];b=j[g>>2];E:{while(1){if(b>>>0>=i>>>0){break E}f=b+1|0;j[g>>2]=f;l=k[b|0];b=f;F:{switch(l-10|0){case 16:break E;case 0:case 3:break F;default:continue}}break}j[g+12>>2]=2;break D}j[g+12>>2]=3}G:{while(1){j[g+12>>2]=0;i=vh(g);if(i){break G}if(j[g+12>>2]==2){continue}break}b=160;break f}b=j[g>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){H:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue C}while(1){if(!Qe(f,i,b)){break H}d=d+1|0;if((d|0)==74){continue C}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue C}d=d+1|0;if((d|0)!=74){continue}continue C}break}I:{J:{switch(d-20|0){case 36:m=m+1|0;if((m|0)>=j[c+32>>2]){break I}b=j[c+28>>2];j[e+64>>2]=2;j[e+56>>2]=2;j[e+48>>2]=2;j[e+40>>2]=2;j[e+32>>2]=3;if((Qg(a,e+32|0,5)|0)!=5){break I}b=b+p(m,20)|0;j[b>>2]=j[e+36>>2];j[b+4>>2]=j[e+44>>2];j[b+8>>2]=j[e+52>>2];j[b+12>>2]=j[e+60>>2];j[b+16>>2]=j[e+68>>2];continue;case 0:case 1:case 3:break B;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break I;default:break J}}if((d|0)==75){continue}}break}b=160;break f}j[c+32>>2]=m+1;continue;case 0:case 1:break o;case 55:continue;case 30:case 31:break A;default:break f}}g=j[a+8>>2];j[e+32>>2]=3;if((Qg(a,e+32|0,1)|0)!=1){break f}b=j[e+36>>2];if((b|0)<0){b=160;break f}j[g+40>>2]=b;if(b){q=g,r=xe(j[a>>2],16,0,b,0,e+32|0),j[q+36>>2]=r;b=j[e+32>>2];if(b){break f}}m=-1;K:{L:while(1){c=j[a+4>>2];M:{if(j[c+12>>2]>1){break M}bh(c);if(j[c+12>>2]>1){break M}i=j[c+8>>2];b=j[c>>2];N:{while(1){if(b>>>0>=i>>>0){break N}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;O:{switch(l-10|0){case 16:break N;case 0:case 3:break O;default:continue}}break}j[c+12>>2]=2;break M}j[c+12>>2]=3}P:{while(1){j[c+12>>2]=0;i=vh(c);if(i){break P}if(j[c+12>>2]==2){continue}break}b=160;break f}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){Q:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue L}while(1){if(!Qe(f,i,b)){break Q}d=d+1|0;if((d|0)==74){continue L}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue L}d=d+1|0;if((d|0)!=74){continue}continue L}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){b=160;break f}b=1<=j[g+40>>2]){break R}b=j[g+36>>2];j[e+56>>2]=3;j[e+48>>2]=3;j[e+40>>2]=5;j[e+32>>2]=5;c=Qg(a,e+32|0,4);if((c|0)<3){break R}i=b+(m<<4)|0;j[i>>2]=j[e+36>>2];j[i+4>>2]=j[e+44>>2];f=0;b=j[e+52>>2];l=i;if((d|0)!=37){f=b;b=(d|0)==34?(c|0)==4?j[e+60>>2]:0:0}j[l+12>>2]=b;j[i+8>>2]=f;continue}break}b=160;break f}b=m+1|0;j[g+40>>2]=b;eg(j[g+36>>2],b,16,718);continue}}b=0;break a}S:while(1){c=j[a+4>>2];T:{if(j[c+12>>2]>1){break T}bh(c);if(j[c+12>>2]>1){break T}i=j[c+8>>2];b=j[c>>2];U:{while(1){if(b>>>0>=i>>>0){break U}f=b+1|0;j[c>>2]=f;l=k[b|0];b=f;V:{switch(l-10|0){case 16:break U;case 0:case 3:break V;default:continue}}break}j[c+12>>2]=2;break T}j[c+12>>2]=3}while(1){W:{j[c+12>>2]=0;i=vh(c);if(i){break W}if(j[c+12>>2]==2){continue}break m}break}b=j[c>>2]+(i^-1)|0;l=k[i|0];d=0;while(1){X:{f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){if(d>>>0>73){continue S}while(1){if(!Qe(f,i,b)){break X}d=d+1|0;if((d|0)==74){continue S}f=j[(d<<2)+134032>>2];if((l|0)==k[f|0]){continue}break}continue S}d=d+1|0;if((d|0)!=74){continue}continue S}break}b=0;switch(d-17|0){case 0:case 3:continue g;default:continue}}}break}b=160;break a}a=j[n+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+28>>2]=0;j[n+32>>2]=0;a=j[n+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[n+36>>2]=0;j[n+40>>2]=0;h[n|0]=0}oe=e+80|0;return b|0}function Nz(a,b,c,d,e,f,g,h,i,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;l=l|0;m=m|0;var n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(f-1>>>0<=1){i=(p(i,l)>>>0)/255|0;h=(p(h,l)>>>0)/255|0;g=(p(g,l)>>>0)/255|0}q=l^255;a:{if((c|0)==(e|0)){b:{switch(f-1|0){case 0:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;c:{if((b|0)<=(d|0)){e=(m|0)!=0;c=a+(b<<2)|0;a=d-b|0;break c}a=a+(d<<2)|0;c=m?a:a+4|0;e=(m|0)!=0;a=b-d|0}a=a+e|0;if(!a){break a}while(1){b=j[c>>2];j[c>>2]=((p(q,b>>>8&255)>>>0)/255|0)+h<<8|((p(q,b&255)>>>0)/255|0)+i|((p(q,b>>>16&255)>>>0)/255|0)+g<<16;c=c+4|0;a=a-1|0;if(a){continue}break}break a;case 1:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;d:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break d}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];c=(a>>>8&255)+h|0;d=(c>>>0<255?c:255)<<8;c=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=d|(c>>>0<255?c:255)|(a>>>0<255?a:255)<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;case 3:a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;e:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break e}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=l+4|0;b=b-1|0;if(b){continue}break}break a;default:break b}}a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;f:{if((b|0)<=(d|0)){c=d-b|0;l=a+(b<<2)|0;a=(m|0)!=0;break f}a=a+(d<<2)|0;l=m?a:a+4|0;c=b-d|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;while(1){j[l>>2]=a;l=l+4|0;c=c-1|0;if(c){continue}break}break a}if((b|0)==(d|0)){g:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];h:{if((c|0)<=(e|0)){b=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break h}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}a=a+c|0;if(!a){break a}d=f<<2;while(1){c=j[b>>2];j[b>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;b=b+d|0;a=a-1|0;if(a){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];i:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break i}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];j:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break j}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;l=m?a:a+(f<<2)|0;c=c-e|0;a=(m|0)!=0}b=a+c|0;if(!b){break a}c=f<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break g}}b=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];k:{if((c|0)<=(e|0)){l=(a+(p(b,c)<<2)|0)+(d<<2)|0;c=e-c|0;a=(m|0)!=0;break k}a=(a+(p(b,e)<<2)|0)+(d<<2)|0;l=m?a:a+(b<<2)|0;c=c-e|0;a=(m|0)!=0}c=a+c|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}s=b-d|0;l=s>>31;o=c-e|0;n=o>>31;if((l^l+s)==(n^n+o)){l:{switch(f-1|0){case 0:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];m:{if((c|0)<=(e|0)){a=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break m}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;a=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}d=c<<2;while(1){c=j[a>>2];j[a>>2]=((p(q,c>>>8&255)>>>0)/255|0)+h<<8|((p(q,c&255)>>>0)/255|0)+i|((p(q,c>>>16&255)>>>0)/255|0)+g<<16;a=a+d|0;b=b-1|0;if(b){continue}break}break a;case 1:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];n:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break n}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];d=(a>>>8&255)+h|0;e=(d>>>0<255?d:255)<<8;d=(a&255)+i|0;a=(a>>>16&255)+g|0;j[l>>2]=e|(d>>>0<255?d:255)|(a>>>0<255?a:255)<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;case 3:f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];o:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;c=f+((b|0)>(d|0)?-1:1)|0;break o}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;c=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(c<<2)|0}b=((m|0)!=0)+o|0;if(!b){break a}c=c<<2;while(1){a=j[l>>2];j[l>>2]=(p(a>>>8&255,h)>>>0)/255<<8|(p(a&255,i)>>>0)/255|(p(a>>>16&255,g)>>>0)/255<<16;l=c+l|0;b=b-1|0;if(b){continue}break}break a;default:break l}}f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];p:{if((c|0)<=(e|0)){l=(a+(p(c,f)<<2)|0)+(b<<2)|0;o=e-c|0;b=f+((b|0)>(d|0)?-1:1)|0;break p}a=(a+(p(e,f)<<2)|0)+(d<<2)|0;b=f+((b|0)<(d|0)?-1:1)|0;l=m?a:a+(b<<2)|0}c=((m|0)!=0)+o|0;if(!c){break a}a=h<<8|i|g<<16;b=b<<2;while(1){j[l>>2]=a;l=b+l|0;c=c-1|0;if(c){continue}break}break a}q:{switch(f-1|0){case 0:l=d-b|0;f=l>>31;n=e-c|0;o=n>>31;l=f^f+l;n=o^n+o;r:{if((l|0)>=(n|0)){s=n-l|0;o=n<<1;f=o-l|0;n=1;break r}s=l-n|0;r=1;o=l<<1;f=o-n|0;l=n;n=0}l=((m|0)!=0)+l|0;if(!l){break a}e=(c|0)>(e|0);m=e?0-r|0:r;d=(b|0)>(d|0);n=d?0-n|0:n;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];j[v>>2]=((p(q,e&255)>>>0)/255|0)+i|((p(q,e>>>8&255)>>>0)/255|0)+h<<8|((p(q,e>>>16&255)>>>0)/255|0)+g<<16;e=(f|0)<0;f=(e?o:s)+f|0;b=(e?n:u)+b|0;c=(e?m:r)+c|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}break a;case 1:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;f=f^f+o;n=l^l+n;s:{if((f|0)>=(n|0)){s=n-f|0;q=1;o=n<<1;l=o-f|0;n=0;break s}s=f-n|0;o=f<<1;l=o-n|0;q=0;f=n;n=1}m=((m|0)!=0)+f|0;if(!m){break a}e=(c|0)>(e|0);n=e?0-n|0:n;d=(b|0)>(d|0);q=d?0-q|0:q;r=e?-1:1;u=d?-1:1;s=s<<1;t=j[a+20>>2];d=0;while(1){v=(t+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[v>>2];f=(e>>>8&255)+h|0;w=(f>>>0<255?f:255)<<8;f=(e&255)+i|0;e=(e>>>16&255)+g|0;j[v>>2]=w|(f>>>0<255?f:255)|(e>>>0<255?e:255)<<16;e=(l|0)<0;l=(e?o:s)+l|0;b=(e?q:u)+b|0;c=(e?n:r)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;case 3:o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;t:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break t}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;q=e?-1:1;s=d?-1:1;r=r<<1;u=j[a+20>>2];d=0;while(1){t=(u+p(j[a+16>>2],c)|0)+(b<<2)|0;e=j[t>>2];j[t>>2]=(p(e&255,i)>>>0)/255|(p(e>>>8&255,h)>>>0)/255<<8|(p(e>>>16&255,g)>>>0)/255<<16;e=(l|0)<0;l=(e?f:r)+l|0;b=(e?n:s)+b|0;c=(e?o:q)+c|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}break a;default:break q}}o=d-b|0;f=o>>31;n=e-c|0;l=n>>31;o=f^f+o;n=l^l+n;u:{if((o|0)>=(n|0)){r=n-o|0;q=1;f=n<<1;l=f-o|0;n=0;break u}r=o-n|0;f=o<<1;l=f-n|0;q=0;o=n;n=1}m=((m|0)!=0)+o|0;if(!m){break a}e=(c|0)>(e|0);o=e?0-n|0:n;d=(b|0)>(d|0);n=d?0-q|0:q;e=e?-1:1;q=d?-1:1;r=r<<1;g=h<<8|i|g<<16;h=j[a+20>>2];i=0;while(1){j[(h+p(j[a+16>>2],c)|0)+(b<<2)>>2]=g;d=(l|0)<0;l=(d?f:r)+l|0;b=(d?n:q)+b|0;c=(d?o:e)+c|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}}function Lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=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;e=oe-800|0;oe=e;a:{if(!a){d=37;break a}g=d|3;n=b?d:g;r=n&1?0:b;b:{if(!r){b=j[a+4>>2];break b}d=35;f=j[b>>2];b=j[a+4>>2];if((f|0)!=(b|0)){break a}}c:{d:{o=j[b+656>>2];if(j[o+1456>>2]==65535){break d}f=j[o+1164>>2];if(!f){break d}if(!c){c=0;break c}d=6;if(m[o+1168>>2]>>0){break a}c=l[f+(c<<1)>>1];if(c){break c}break a}d=6;if(m[o+12>>2]<=c>>>0){break a}}j[a+164>>2]=65536;j[a+168>>2]=65536;s=n&1024?g:n;e:{f:{if(!r){break f}j[a+164>>2]=j[r+16>>2];j[a+168>>2]=j[r+20>>2];g=j[r+44>>2];if(s&8|(g|0)==-1){break f}f=j[r>>2];d=j[f+532>>2];if(!j[d+96>>2]){break f}if(qe[j[d+72>>2]](b,g,c,s,j[f+104>>2],a+76|0,e+56|0)|0){break f}j[a+108>>2]=0;j[a+24>>2]=l[e+58>>1]<<6;j[a+28>>2]=l[e+56>>1]<<6;p=i[e+60>>1];j[a+32>>2]=p<<6;n=i[e+62>>1];j[a+36>>2]=n<<6;j[a+40>>2]=l[e+64>>1]<<6;g=i[e+66>>1];j[a+44>>2]=g<<6;d=i[e+68>>1];j[a+48>>2]=d<<6;f=l[e+70>>1];o=d;d=s&16;j[a+104>>2]=d?o:n;j[a+100>>2]=d?g:p;j[a+72>>2]=1651078259;j[a+52>>2]=f<<6;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+40|0);j[a+56>>2]=l[e+40>>1];if(!(!k[b+292|0]|!l[b+330>>1])){qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+40|0);j[a+60>>2]=l[e+40>>1];break e}if(l[b+364>>1]!=65535){j[a+60>>2]=i[b+434>>1]-i[b+436>>1];break e}j[a+60>>2]=i[b+220>>1]-i[b+222>>1];break e}d=6;if(s&16384){break a}p=j[o+1896>>2];g:{if(p){d=0;h:{i:{switch(k[o+2924|0]){case 0:d=k[j[o+2932>>2]+c|0];break h;case 3:break i;default:break h}}if(m[o+2944>>2]>c-j[o+2940>>2]>>>0){d=k[o+2948|0];break h}d=j[o+2932>>2];n=d+j[o+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>=f>>>0){g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){d=k[d|0];h[o+2948|0]=d;j[o+2944>>2]=g-f;j[o+2940>>2]=f;break h}f=g;d=d+3|0;if(n>>>0>d>>>0){continue}}break}d=0}f=(o+(((p>>>0>(d&255)>>>0?d:p-1|0)&255)<<2)|0)+1900|0;p=j[f>>2];n=j[p+68>>2];g=j[o+1392>>2];d=j[p+60>>2];j[e+48>>2]=j[p+56>>2];j[e+52>>2]=d;d=j[p+52>>2];j[e+40>>2]=j[p+48>>2];j[e+44>>2]=d;d=j[f>>2];u=j[d+72>>2];v=j[d+76>>2];if((g|0)==(n|0)){break g}z=a,A=Ne(j[a+164>>2],g,n),j[z+164>>2]=A;z=a,A=Ne(j[a+168>>2],g,n),j[z+168>>2]=A;x=1;break g}f=o+1380|0;d=j[f+4>>2];j[e+48>>2]=j[f>>2];j[e+52>>2]=d;f=o+1372|0;d=j[f+4>>2];j[e+40>>2]=j[f>>2];j[e+44>>2]=d;v=j[o+1400>>2];u=j[o+1396>>2]}f=0;j[a+108>>2]=0;j[a+72>>2]=1869968492;y=s&1;h[a+161|0]=y^1;w=(s>>>1^-1)&1;h[a+160|0]=w;n=j[b+656>>2];Ee(e+80|0,0,716);j[e+64>>2]=a;j[e+60>>2]=b;h[e+121|0]=1;j[e+56>>2]=j[b+100>>2];d=j[j[a+156>>2]>>2];j[e+68>>2]=d;j[e+76>>2]=d+56;j[e+72>>2]=d+20;Yh(d);j[e+124>>2]=0;j[e+128>>2]=0;d=s>>>16|0;if(!(!r|!w)){j[e+128>>2]=j[j[r+40>>2]>>2];j[e+124>>2]=j[j[a+156>>2]+36>>2]}d=d&15;j[e+96>>2]=0;j[e+100>>2]=0;j[e+88>>2]=0;j[e+92>>2]=0;j[e+80>>2]=0;j[e+84>>2]=0;j[e+132>>2]=n;g=j[n+92>>2];j[e+756>>2]=g;j[e+772>>2]=j[n+1308>>2];j:{if(j[n+1368>>2]==1){break j}f=107;if(g>>>0<1240){break j}f=g>>>0<33900?1131:32768}j[e+784>>2]=d;j[e+764>>2]=f;if(s&256){h[e+617|0]=1}h[e+122|0]=0;d=j[j[b+128>>2]+48>>2];k:{if(d){d=qe[j[j[d>>2]>>2]](j[d+4>>2],c,e+16|0)|0;j[e+8>>2]=j[e+16>>2];j[e+36>>2]=j[e+20>>2];break k}d=zi(j[b+656>>2]+1176|0,c,e+8|0,e+36|0)}if(d){break a}q=j[j[e+60>>2]+656>>2];t=j[q+1896>>2];l:{if(!t){d=q+1324|0;break l}n=0;m:{n:{switch(k[q+2924|0]){case 0:n=k[j[q+2932>>2]+c|0];break m;case 3:break n;default:break m}}if(m[q+2944>>2]>c-j[q+2940>>2]>>>0){n=k[q+2948|0];break m}d=j[q+2932>>2];p=d+j[q+2936>>2]|0;f=k[d+1|0]|k[d|0]<<8;d=d+2|0;while(1){if(c>>>0>>0){break m}g=k[d+2|0]|k[d+1|0]<<8;if(g>>>0>c>>>0){n=k[d|0];h[q+2948|0]=n;j[q+2944>>2]=g-f;j[q+2940>>2]=f;break m}f=g;d=d+3|0;if(p>>>0>d>>>0){continue}break}}d=3;if(n>>>0>=t>>>0){break a}d=j[(q+(n<<2)|0)+1900>>2];if(!r|!j[e+124>>2]){break l}j[e+128>>2]=j[(j[r+40>>2]+(n<<2)|0)+4>>2]}g=j[d+544>>2];j[e+752>>2]=g;j[e+768>>2]=j[d+568>>2];f=e;n=0;o:{if(j[j[e+132>>2]+1368>>2]==1){break o}n=107;if(g>>>0<1240){break o}n=g>>>0<33900?1131:32768}j[f+760>>2]=n;j[e+608>>2]=j[d+528>>2];f=j[d+532>>2];j[e+792>>2]=d;j[e+612>>2]=f;g=j[e+36>>2];d=Kr(e+56|0,j[e+8>>2],g);if((d&255)==164){w=0;h[a+160|0]=0;x=1;d=Kr(e+56|0,j[e+8>>2],g)}f=j[j[b+128>>2]+48>>2];p:{if(f){j[e+20>>2]=g;j[e+16>>2]=j[e+8>>2];qe[j[j[f>>2]+4>>2]](j[f+4>>2],e+16|0);break p}f=j[b+656>>2];if(j[f+1204>>2]){break p}jf(j[f+1176>>2],e+8|0)}if(d){break a}f=0;n=0;d=j[j[b+128>>2]+48>>2];q:{if(!d){f=j[o+1200>>2];if(!f){break q}n=g;f=(j[o+1204>>2]+j[f+(c<<2)>>2]|0)-1|0}j[a+140>>2]=n;j[a+136>>2]=f}g=j[e+64>>2];if(g){f=j[e+72>>2];d=j[f+4>>2];j[g+108>>2]=j[f>>2];j[g+112>>2]=d;j[g+124>>2]=j[f+16>>2];d=j[f+12>>2];j[g+116>>2]=j[f+8>>2];j[g+120>>2]=d;d=j[j[b+128>>2]+48>>2]}r:{if(!d){break r}g=j[j[d>>2]+8>>2];if(!g){break r}j[e+20>>2]=0;j[e+16>>2]=j[e+88>>2];f=j[e+100>>2];j[e+24>>2]=j[e+96>>2];j[e+28>>2]=f;d=qe[g|0](j[d+4>>2],c,0,e+16|0)|0;j[e+88>>2]=j[e+16>>2];f=j[e+28>>2];j[e+96>>2]=j[e+24>>2];j[e+100>>2]=f;if(d){break a}}if(s&1024){j[a+32>>2]=j[e+88>>2];j[a+40>>2]=j[e+608>>2];f=j[e+48>>2];d=j[e+52>>2];c=j[e+40>>2];b=j[e+44>>2];a=j[a+156>>2];j[a+28>>2]=u;j[a+32>>2]=v;h[a+8|0]=1;j[a+20>>2]=f;j[a+24>>2]=d;j[a+12>>2]=c;j[a+16>>2]=b;break e}s:{if(l[b+250>>1]){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,0,c,e+16|0,e+8|0);d=l[e+8>>1];j[a+32>>2]=i[e+16>>1];break s}d=j[e+608>>2]}j[a+56>>2]=d;j[a+40>>2]=d;h[j[a+156>>2]+8|0]=0;t:{if(!(!k[b+292|0]|!l[b+330>>1])){i[e+16>>1]=0;i[e+8>>1]=0;qe[j[j[b+532>>2]+112>>2]](b,1,c,e+16|0,e+8|0);j[a+48>>2]=i[e+16>>1];d=l[e+8>>1];j[a+52>>2]=d;f=1;break t}u:{if(l[b+364>>1]!=65535){d=i[b+434>>1]-i[b+436>>1]|0;j[a+52>>2]=d;break u}d=i[b+220>>1]-i[b+222>>1]|0;j[a+52>>2]=d}f=0}j[a+72>>2]=1869968492;j[a+60>>2]=d;t=a+108|0;j[a+124>>2]=r?l[r+14>>1]<24?260:4:4;v:{if(!(j[e+44>>2]|(j[e+40>>2]!=65536|j[e+52>>2]!=65536))){if(!j[e+48>>2]){break v}}Ah(t,e+40|0)}if(u|v){Tf(t,u,v)}c=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=c;Tg(e+8|0,e+40|0);j[a+40>>2]=j[e+8>>2]+u;j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+40|0);j[a+52>>2]=j[e+12>>2]+v;if(!(x?0:y)){d=j[a+112>>2];p=j[a+168>>2];n=j[a+164>>2];w:{if(j[e+124>>2]?w:0){break w}c=i[a+110>>1];if((c|0)<1){break w}c=c&65535;while(1){z=d,A=ye(j[d>>2],n),j[z>>2]=A;z=d,A=ye(j[d+4>>2],p),j[z+4>>2]=A;d=d+8|0;g=(c|0)>1;c=c-1|0;if(g){continue}break}}z=a,A=ye(j[a+40>>2],n),j[z+40>>2]=A;z=a,A=ye(j[a+52>>2],p),j[z+52>>2]=A}Ug(t,e+16|0);d=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-d;c=j[e+28>>2];j[a+28>>2]=c-j[e+20>>2];if(!l[b+250>>1]){j[a+32>>2]=d}j[a+36>>2]=c;if(f){j[a+44>>2]=j[a+32>>2]+(j[a+40>>2]/-2|0);break e}if(!(s&16)){break e}Fi(a+24|0,j[a+52>>2])}d=0}oe=e+800|0;return d|0}function Jj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;i=oe-48|0;oe=i;l=j[b>>2];h=j[b+16>>2];g=j[b+20>>2];m=j[a+404>>2];if(j[a+356>>2]){f=j[a+184>>2];e=j[a+340>>2];a:{if(j[a+364>>2]){d=j[a+352>>2];k=j[a+344>>2];break a}d=j[a+352>>2];k=(j[a+420>>2]-j[a+344>>2]|0)-d|0}qe[f|0](e,k,j[a+348>>2],d);d=j[a+348>>2];b:{if(!d){break b}e=j[a+352>>2];if(!e){break b}n[a+428>>2]=q(2)/q(d|0);d=j[a+364>>2];n[a+480>>2]=d?q(-1):q(1);n[a+448>>2]=(d?q(2):q(-2))/q(e|0)}j[a+356>>2]=0}if(j[a+372>>2]){c:{if(!j[a+376>>2]){qe[j[a+64>>2]](3089);break c}qe[j[a+76>>2]](3089)}j[a+372>>2]=0}if(!(!j[a+376>>2]|!j[a+380>>2])){f=j[a+140>>2];e=j[a+384>>2]+j[a+340>>2]|0;d:{if(j[a+364>>2]){d=j[a+396>>2];k=j[a+388>>2]+j[a+344>>2]|0;break d}d=j[a+396>>2];k=((j[a+420>>2]-j[a+344>>2]|0)-j[a+388>>2]|0)-d|0}qe[f|0](e,k,j[a+392>>2],d);j[a+380>>2]=0}if((g|0)!=j[a+360>>2]){if(j[a+400>>2]!=((g|0)!=0|0)){d=a;e:{if(!g){qe[j[a+68>>2]](1);e=0;break e}qe[j[a+80>>2]](1);e=1}j[d+400>>2]=e}if(g){d=j[g+76>>2];f:{if(j[d+24>>2]){qe[j[a+8>>2]](33986);qe[j[a+20>>2]](j[d+4>>2],j[d+32>>2]);qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984);break f}if(!j[d+28>>2]){break f}qe[j[a+8>>2]](33985);qe[j[a+20>>2]](j[d+4>>2],j[d+36>>2]);qe[j[a+8>>2]](33984)}qe[j[a+20>>2]](j[d+4>>2],j[d>>2])}j[a+360>>2]=g}if(g){qe[j[a+180>>2]](1,2,5126,0,0,j[b+4>>2]+32|0);d=j[g+16>>2]}else{d=0}e=d;f=-1;g:{h:{i:{j:{k:{l:{m:{switch(c-1|0){case 3:c=5;break i;case 4:c=4;break i;case 5:d=j[58753];c=(e|0)<577?1:2;n:{if((d|0)==3){break n}c=d}if(c>>>0<3){break l}c=i;b=j[58753];d=(e|0)<577?1:2;o:{if((b|0)==3){break o}d=b}j[c>>2]=d;ve(75555,i);break h;case 6:d=j[58753];c=(e|0)<577?1:2;p:{if((d|0)==3){break p}c=d}if(c>>>0<3){break k}c=i;b=j[58753];d=(e|0)<577?1:2;q:{if((b|0)==3){break q}d=b}j[c+16>>2]=d;ve(75555,i+16|0);break h;case 7:d=j[58753];c=(e|0)<577?1:2;r:{if((d|0)==3){break r}c=d}if(c>>>0<3){break j}c=i;b=j[58753];d=(e|0)<577?1:2;s:{if((b|0)==3){break s}d=b}j[c+32>>2]=d;ve(75555,i+32|0);break h;case 0:case 1:case 2:break i;case 8:break m;default:break h}}c=15;break i}c=c+6|0;break i}c=c+9|0;break i}c=c+12|0}e=go(a,0);if(!e){break h}t:{u:{v:{w:{g=go(a,c);x:{if(!g){break x}d=j[a+424>>2];if((g|0)==j[d+8>>2]?!(!d|(e|0)!=j[d+4>>2]):0){break t}y:{z:{c=j[a+260>>2];if(c){d=c;while(1){if((g|0)==j[d+8>>2]?(e|0)==j[d+4>>2]:0){break z}d=j[d+148>>2];if(d){continue}break}}d=Xe(1,152);if(d){break y}Be(0);break x}if((c|0)==(d|0)){break v}f=j[d+148>>2];if(f){j[f+144>>2]=j[d+144>>2]}e=j[d+144>>2];if(e){j[e+148>>2]=f}j[d+148>>2]=c;j[d+144>>2]=0;j[c+144>>2]=d;j[a+260>>2]=d;break u}j[d+8>>2]=g;j[d+4>>2]=e;c=qe[j[a+44>>2]]()|0;j[d>>2]=c;qe[j[a+12>>2]](c,j[e>>2]);qe[j[a+12>>2]](j[d>>2],j[g>>2]);qe[j[a+16>>2]](j[d>>2],0,75769);qe[j[a+16>>2]](j[d>>2],1,75780);qe[j[a+16>>2]](j[d>>2],2,75791);qe[j[a+16>>2]](j[d>>2],3,75799);qe[j[a+128>>2]](j[d>>2]);qe[j[a+112>>2]](j[d>>2],35714,i+44|0);if(j[i+44>>2]){break w}qe[j[a+52>>2]](j[d>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}ve(75808,0)}if(j[e+12>>2]<=0){c=j[e+20>>2];if(c){j[c+16>>2]=j[e+16>>2]}b=j[e+16>>2];if(b){j[b+20>>2]=c}if((e|0)==j[a+252>>2]){j[a+252>>2]=j[e+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[e>>2]);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}}if(!g|j[g+12>>2]>0){break h}c=j[g+20>>2];if(c){j[c+16>>2]=j[g+16>>2]}b=j[g+16>>2];if(b){j[b+20>>2]=c}if((g|0)==j[a+252>>2]){j[a+252>>2]=j[g+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[g>>2]);if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break h}o=d,p=qe[j[a+124>>2]](j[d>>2],75838)|0,j[o+12>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75851)|0,j[o+28>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75863)|0,j[o+24>>2]=p;o=d,p=qe[j[a+124>>2]](j[d>>2],75875)|0,j[o+16>>2]=p;c=qe[j[a+124>>2]](j[d>>2],75885)|0;j[d+76>>2]=0;j[d+20>>2]=c;qe[j[a+176>>2]](j[d>>2]);c=j[d+28>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,2)}c=j[d+24>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,1)}c=j[d+16>>2];if((c|0)!=-1){qe[j[a+164>>2]](c,0)}c=j[d+12>>2];if((c|0)!=-1){qe[j[a+172>>2]](c,1,0,d+80|0)}c=j[d+20>>2];if((c|0)!=-1){qe[j[a+168>>2]](c,q(0),q(0),q(0),q(0))}c=j[a+260>>2];A:{if(c){j[d+148>>2]=c;c=c+144|0;break A}c=a+264|0}j[c>>2]=d;j[a+260>>2]=d;c=j[a+256>>2];j[a+256>>2]=c+1;j[e+12>>2]=j[e+12>>2]+1;j[g+12>>2]=j[g+12>>2]+1;if((c|0)<8){break u}c=j[a+264>>2];f=j[c+4>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}f=j[c+8>>2];e=j[f+12>>2];j[f+12>>2]=e-1;if((e|0)<=1){e=j[f+20>>2];if(e){j[e+16>>2]=j[f+16>>2]}c=j[f+16>>2];if(c){j[c+20>>2]=e}if((f|0)==j[a+252>>2]){j[a+252>>2]=j[f+20>>2]}j[a+248>>2]=j[a+248>>2]-1;qe[j[a+56>>2]](j[f>>2]);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=j[a+264>>2]}qe[j[a+52>>2]](j[c>>2]);c=j[j[a+264>>2]+144>>2];j[a+264>>2]=c;if(c){c=j[c+148>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[j[a+264>>2]+148>>2]=0}j[a+256>>2]=j[a+256>>2]-1;break u}d=c}qe[j[a+176>>2]](j[d>>2]);j[a+424>>2]=d}B:{if(j[d+12>>2]==-1){break B}c=d+80|0;e=a+428|0;if(!wf(c,e,64)){break B}qe[j[a+172>>2]](j[d+12>>2],1,0,e);Ge(c,e,64)}c=j[d+20>>2];C:{if((c|0)==-1){break C}e=j[a+408>>2];if((e|0)==j[d+76>>2]){break C}qe[j[a+168>>2]](c,q(q(e>>>16&255)*q(.003921568859368563)),q(q(e>>>8&255)*q(.003921568859368563)),q(q(e&255)*q(.003921568859368563)),q(q(e>>>24|0)*q(.003921568859368563)));j[d+76>>2]=j[a+408>>2]}if(j[a+368>>2]!=(h|0)){D:{if(!h){qe[j[a+64>>2]](3042);break D}qe[j[a+76>>2]](3042);g=j[a+28>>2];c=mo(h)-1|0;if(c>>>0<=9){e=j[(c<<2)+76096>>2]}else{e=1280}c=lo(h)-1|0;if(c>>>0<=9){d=j[(c<<2)+76096>>2]}else{d=1280}c=ko(h)-1|0;if(c>>>0<=9){c=j[(c<<2)+76096>>2]}else{c=1280}f=jo(h)-1|0;if(f>>>0<=9){k=j[(f<<2)+76096>>2]}else{k=1280}qe[g|0](e,d,c,k);e=j[a+24>>2];if(!(23>>>h&1)|h>>>0>=5){c=h&15}else{c=1}c=c-1|0;if(c>>>0<=2){c=j[(c<<2)+76136>>2]}else{c=1280}if(!(23>>>h&1)|h>>>0>=5){d=h>>>16&15}else{d=1}d=d-1|0;if(d>>>0<=2){d=j[(d<<2)+76136>>2]}else{d=1280}qe[e|0](c,d)}j[a+368>>2]=h}f=0;qe[j[a+180>>2]](0,2,5126,0,0,j[b+4>>2]);c=(l|0)==9;if((c|0)!=(m|0)){E:{if((l|0)==9){qe[j[a+80>>2]](2);qe[j[a+80>>2]](3);break E}qe[j[a+68>>2]](2);qe[j[a+68>>2]](3)}j[a+404>>2]=c}if((l|0)!=9){break g}qe[j[a+180>>2]](2,2,5126,0,0,j[b+4>>2]- -64|0);qe[j[a+180>>2]](3,2,5126,0,0,j[b+4>>2]+96|0);break g}j[a+424>>2]=0}oe=i+48|0;return f}function Cv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;b=j[a+44>>2];B=k[b+9|0];c=j[a+40>>2];z=k[c+9|0];g=j[c+24>>2];e=j[a+28>>2];d=e-1|0;j[a+28>>2]=d;w=j[a+24>>2];E=(j[a+4>>2]<<16)/(w|0)|0;F=(j[a+8>>2]<<16)/(e|0)|0;a:{if(!e){break a}G=g^-1;H=j[a+56>>2];I=k[a+63|0];J=k[a+62|0];K=k[a+61|0];L=k[a+60|0];e=j[a+52>>2];M=e&48;N=e&2;O=e&1;P=e&256;Q=e>>>4&7;m=j[a+20>>2];C=z-1|0;y=B-1|0;while(1){if((u|0)>=65536){e=(u-((u|0)<131071?u:131071)|0)+65535|0;u=(u-(e&-65536)|0)-65536|0;D=((e>>>16|0)+D|0)+1|0}R=a;if(w){t=65536;A=-1;r=0;while(1){if((t|0)>=65536){d=(t-((t|0)<131071?t:131071)|0)+65535|0;A=((d>>>16|0)+A|0)+1|0;r=(j[a>>2]+p(j[a+12>>2],D)|0)+p(A,z)|0;t=(t-(d&-65536)|0)-65536|0}e=j[c+24>>2];b:{if(e){d=0;g=0;n=0;o=0;q=0;c:{switch(C|0){case 0:d=k[r|0];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];g=255;break b;case 3:break c;default:break b}}d=j[r>>2];g=k[j[(k[c+31|0]<<2)+234976>>2]+((e&d)>>>k[c+35|0]|0)|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((j[c+20>>2]&d)>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b}d=0;g=255;n=0;o=0;q=0;d:{switch(C|0){case 0:d=k[r|0];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 1:d=l[r>>1];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0];break b;case 2:n=k[(k[c+34|0]>>>3|0)+r|0];o=k[(k[c+33|0]>>>3|0)+r|0];q=k[(k[c+32|0]>>>3|0)+r|0];break b;case 3:break d;default:break b}}d=j[r>>2];n=k[j[(k[c+30|0]<<2)+234976>>2]+((d&j[c+20>>2])>>>k[c+34|0]|0)|0];o=k[j[(k[c+29|0]<<2)+234976>>2]+((j[c+16>>2]&d)>>>k[c+33|0]|0)|0];q=k[j[(k[c+28|0]<<2)+234976>>2]+((j[c+12>>2]&d)>>>k[c+32|0]|0)|0]}w=w-1|0;n=n&255;o=o&255;q=q&255;e:{if(P){if((z|0)==3){d=o<>2];f:{if(x){s=0;e=0;d=0;f=0;g:{switch(y|0){case 0:f=k[m|0];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];s=255;break f;case 3:break g;default:break f}}f=j[m>>2];s=k[j[(k[b+31|0]<<2)+234976>>2]+((f&x)>>>k[b+35|0]|0)|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f}e=0;s=255;d=0;f=0;h:{switch(y|0){case 0:f=k[m|0];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 1:f=l[m>>1];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0];break f;case 2:e=k[(k[b+34|0]>>>3|0)+m|0];d=k[(k[b+33|0]>>>3|0)+m|0];f=k[(k[b+32|0]>>>3|0)+m|0];break f;case 3:break h;default:break f}}f=j[m>>2];e=k[j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0];f=k[j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0]}if(O){o=(p(o,K)>>>0)/255|0;q=(p(q,L)>>>0)/255|0;n=(p(n,J)>>>0)/255|0}g=g&255;v=N?(p(g,I)>>>0)/255|0:g;if(!(!M|v>>>0>254)){o=(p(o,v)>>>0)/255|0;q=(p(q,v)>>>0)/255|0;n=(p(n,v)>>>0)/255|0}s=s&255;g=e&255;e=d&255;d=f;i:{j:{switch(Q|0){case 0:s=v;g=n;e=o;d=q;break i;case 1:f=255-v|0;s=((p(f,s)>>>0)/255|0)+v|0;g=((p(f,g)>>>0)/255|0)+n|0;e=((p(e,f)>>>0)/255|0)+o|0;d=((p(d,f)>>>0)/255|0)+q|0;break i;case 2:g=g+n|0;g=g>>>0<255?g:255;e=e+o|0;e=e>>>0<255?e:255;d=d+q|0;d=d>>>0<255?d:255;break i;case 4:break j;default:break i}}g=(p(g,n)>>>0)/255|0;e=(p(e,o)>>>0)/255|0;d=(p(d,q)>>>0)/255|0}if(x){k:{switch(y|0){case 0:h[m|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break k;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>3|0)+m|0]=d;h[(k[b+33|0]>>>3|0)+m|0]=e;h[(k[b+34|0]>>>3|0)+m|0]=g;break e;case 3:break l;default:break e}}j[m>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2];d=j[a+28>>2]}e=d;d=e-1|0;j[R+28>>2]=d;m=j[a+32>>2]+m|0;j[a+20>>2]=m;if(!e){break a}u=u+F|0;w=j[a+24>>2];continue}}}function bF(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;b=j[a+488>>2];c=a;f=j[a+824>>2];a:{b:{c:{if(f){if(b){e=1;if(wF(s+12|0,f,b)){e=j[s+12>>2]-95e3>>>0>1e4}i[a+898>>1]=l[a+898>>1]|1;if(!e){break b}b=j[a+216>>2]|8192;break a}x=a,y=ej(f),j[x+488>>2]=y;break c}if(b){x=a,y=ej(b),j[x+824>>2]=y;break c}j[a+488>>2]=1e5;j[a+824>>2]=1e5}i[a+898>>1]=l[a+898>>1]|1}b=j[a+216>>2]&-8193}j[c+216>>2]=b;if((b&262272)==262144){i[a+428>>1]=0;j[a+216>>2]=b&-41943297;j[a+212>>2]=j[a+212>>2]&-8193}b=j[a+216>>2];if(j[a+488>>2]-95e3>>>0<=1e4){b=b&-8388609;j[a+216>>2]=b;j[a+212>>2]=j[a+212>>2]&-8193}if(b&6291456){xF(a);b=j[a+216>>2]}d:{if(b&256){if(k[a+435|0]&2){break d}j[a+208>>2]=j[a+208>>2]|2048;break d}if((b&16512)!=16512){break d}c=l[a+454>>1];if((c|0)!=l[a+456>>1]|(c|0)!=l[a+458>>1]){break d}i[a+460>>1]=c;j[a+208>>2]=j[a+208>>2]|2048}f=k[a+435|0];e:{if((f|0)==3){f=l[a+428>>1];f:{if(f){d=j[a+528>>2];c=0;while(1){e=k[c+d|0];if((e|0)!=255){if(e){c=b;break f}g=1}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(g){break f}c=b&-8388993;j[a+216>>2]=c}if((c&4352)!=4352){break e}b=j[a+416>>2]+p(k[a+452|0],3)|0;i[a+454>>1]=k[b|0];i[a+456>>1]=k[b+1|0];i[a+458>>1]=k[b+2|0];if(!f|(c&34078720)!=524288){break e}b=j[a+528>>2];c=0;while(1){d=c+b|0;h[d|0]=k[d|0]^-1;c=c+1|0;if((f|0)!=(c|0)){continue}break}c=j[a+216>>2];break e}g:{if(f&4){c=b;break g}c=b&-8388609;j[a+216>>2]=c;j[a+212>>2]=j[a+212>>2]&-8193;if(l[a+428>>1]){break g}c=b&-8388993;j[a+216>>2]=c}if(f&2|(c&4352)!=4352){break e}e=l[a+540>>1];d=l[a+460>>1];h:{i:{switch(k[a+436|0]-1|0){case 0:e=p(e,255);d=p(d,255);break h;case 1:e=p(e,85);d=p(d,85);break h;case 3:break i;default:break h}}e=p(e,17);d=p(d,17)}i[a+456>>1]=d;i[a+458>>1]=d;i[a+454>>1]=d;if(c&33554432){break e}i[a+536>>1]=e;i[a+538>>1]=e;i[a+534>>1]=e}if(!(k[a+436|0]==16|(c&896)!=640)){i[a+454>>1]=p(l[a+454>>1],255)+32895>>>16;i[a+456>>1]=p(l[a+456>>1],255)+32895>>>16;i[a+458>>1]=p(l[a+458>>1],255)+32895>>>16;i[a+460>>1]=p(l[a+460>>1],255)+32895>>>16}if(!(!(c&67109888)|(c&384)!=128|k[a+436|0]!=16)){i[a+454>>1]=p(l[a+454>>1],257);i[a+456>>1]=p(l[a+456>>1],257);i[a+458>>1]=p(l[a+458>>1],257);i[a+460>>1]=p(l[a+460>>1],257)}b=l[a+456>>1]|l[a+458>>1]<<16;f=l[a+452>>1]|l[a+454>>1]<<16;i[a+462>>1]=f;i[a+464>>1]=f>>>16;i[a+466>>1]=b;i[a+468>>1]=b>>>16;i[a+470>>1]=l[a+460>>1];f=a;j:{k:{l:{if(c&8192){break l}if(c&6291456){if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}c=j[a+216>>2]}m:{if(!(c&128)){break m}if(j[a+824>>2]-95e3>>>0>1e4|j[a+488>>2]-95e3>>>0>1e4){break l}if(k[a+446|0]!=3){break m}if(j[a+448>>2]-95e3>>>0>1e4){break l}}b=j[a+216>>2];if(b&8388608){if(j[a+488>>2]-95e3>>>0>1e4){break l}b=j[a+216>>2]}if(!(b&128)|k[a+435|0]!=3){break j}m=l[a+428>>1];if(m){e=k[a+458|0];g=k[a+456|0];q=k[a+454|0];o=j[a+416>>2];c=0;while(1){r=j[a+528>>2]+c|0;d=k[r|0];n:{if((d|0)==255){break n}if(!d){b=o+p(c,3)|0;h[b+2|0]=e;h[b+1|0]=g;h[b|0]=q;break n}b=o+p(c,3)|0;d=(p(q,d^255)+p(d,k[b|0])|0)+128|0;h[b|0]=d+((d&65280)>>>8|0)>>>8;d=k[r|0];d=(p(g,d^255)+p(d,k[b+1|0])|0)+128|0;h[b+1|0]=((d&65280)>>>8|0)+d>>>8;n=b;d=k[r|0];b=(p(e,d^255)+p(d,k[b+2|0])|0)+128|0;h[n+2|0]=((b&65280)>>>8|0)+b>>>8}c=c+1|0;if((m|0)!=(c|0)){continue}break}b=j[a+216>>2]}b=b&-129;break k}vF(a,k[a+436|0]);b=j[a+216>>2];if(b&128){if(b&6291456){Ze(a,210632)}if(k[a+435|0]==3){r=l[a+420>>1];q=j[a+416>>2];d=1e5;c=1e5;o:{p:{q:{switch(k[a+446|0]-1|0){case 1:b=j[a+504>>2];g=l[a+458>>1];c=k[b+g|0];o=l[a+456>>1];e=k[o+b|0];m=l[a+454>>1];d=k[m+b|0];b=g;g=j[a+492>>2];b=k[b+g|0];o=k[g+o|0];g=k[g+m|0];break o;case 0:c=j[a+488>>2];break p;case 2:break q;default:break p}}c=ej(j[a+448>>2]);d=Il(j[a+448>>2],j[a+488>>2])}g=l[a+454>>1];r:{if(d-95e3>>>0>1e4){g=wi(g,d);o=wi(l[a+456>>1],d);b=wi(l[a+458>>1],d);break r}o=k[a+456|0];b=k[a+458|0]}d=l[a+454>>1];if(c-95e3>>>0>1e4){d=wi(d,c);e=wi(l[a+456>>1],c);c=wi(l[a+458>>1],c);break o}c=k[a+458|0];e=k[a+456|0]}if(r){u=c&255;v=e&255;w=d&255;c=0;while(1){s:{t:{if(l[a+428>>1]<=c>>>0){break t}m=j[a+528>>2]+c|0;e=k[m|0];if((e|0)==255){break t}if(!e){d=p(c,3)+q|0;h[d+2|0]=b;h[d+1|0]=o;h[d|0]=g;break s}t=j[a+504>>2];d=p(c,3)+q|0;e=(p(w,e^255)+p(e,k[t+k[d|0]|0])|0)+128|0;n=e+(e>>>8&255)>>>8&255;e=j[a+500>>2];h[d|0]=k[n+e|0];n=k[m|0];n=(p(v,n^255)+p(n,k[t+k[d+1|0]|0])|0)+128|0;h[d+1|0]=k[e+((n>>>8&255)+n>>>8&255)|0];n=d;m=k[m|0];d=(p(u,m^255)+p(m,k[t+k[d+2|0]|0])|0)+128|0;h[n+2|0]=k[e+((d>>>8&255)+d>>>8&255)|0];break s}d=p(c,3)+q|0;e=j[a+492>>2];h[d|0]=k[e+k[d|0]|0];h[d+1|0]=k[e+k[d+1|0]|0];h[d+2|0]=k[e+k[d+2|0]|0]}c=c+1|0;if((r|0)!=(c|0)){continue}break}}b=j[a+216>>2]&-8321;break k}u:{v:{switch(k[a+446|0]-1|0){case 1:c=ej(j[a+824>>2]);b=Il(j[a+824>>2],j[a+488>>2]);break u;case 2:c=ej(j[a+448>>2]);b=Il(j[a+448>>2],j[a+488>>2]);break u;default:Ye(a,210685);z();case 0:break v}}c=j[a+488>>2];b=1e5}d=b-95e3>>>0>1e4;e=c-95e3>>>0>1e4;if(e){x=a,y=rh(a,l[a+460>>1],c),i[x+470>>1]=y}if(d){x=a,y=rh(a,l[a+460>>1],b),i[x+460>>1]=y}f=l[a+454>>1];w:{if(!((f|0)==l[a+460>>1]?!((f|0)!=l[a+456>>1]|(f|0)!=l[a+458>>1]):0)){if(e){x=a,y=rh(a,f,c),i[x+464>>1]=y;x=a,y=rh(a,l[a+456>>1],c),i[x+466>>1]=y;x=a,y=rh(a,l[a+458>>1],c),i[x+468>>1]=y}if(!d){break w}x=a,y=rh(a,l[a+454>>1],b),i[x+454>>1]=y;x=a,y=rh(a,l[a+456>>1],b),i[x+456>>1]=y;x=a,y=rh(a,l[a+458>>1],b),i[x+458>>1]=y;break w}i[a+458>>1]=f;i[a+456>>1]=f;i[a+454>>1]=f;b=l[a+470>>1];i[a+468>>1]=b;i[a+466>>1]=b;i[a+464>>1]=b}h[a+446|0]=1;b=j[a+216>>2];break j}if(k[a+435|0]!=3|(b&6291456?b&4096:0)){break j}g=l[a+420>>1];if(g){q=j[a+416>>2];d=j[a+492>>2];e=0;while(1){c=q+p(e,3)|0;h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=b&-8193}j[f+216>>2]=b}x:{if((b&4104)!=8|k[a+435|0]!=3){break x}j[a+216>>2]=b&-9;b=l[a+420>>1];c=k[a+516|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e|0]=k[e|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+517|0];if(!(!b|(c-1&255)>>>0>6)){c=8-c|0;f=j[a+416>>2];d=0;while(1){e=f+p(d,3)|0;h[e+1|0]=k[e+1|0]>>>c;d=d+1|0;if((b|0)!=(d|0)){continue}break}}c=k[a+518|0];if(!b|(c-1&255)>>>0>6){break x}c=8-c|0;f=j[a+416>>2];a=0;while(1){d=f+p(a,3)|0;h[d+2|0]=k[d+2|0]>>>c;a=a+1|0;if((b|0)!=(a|0)){continue}break}}oe=s+16|0}function Cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;g=oe-10096|0;oe=g;O=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!tk(b)){c=j[b+100>>2];Ee(g+3216|4,0,2996);j[g+3216>>2]=c;j[a+1624>>2]=0;j[a+52>>2]=0;f=j[(j[j[a>>2]+8>>2]<<2)+114768>>2];o=j[f+8>>2];c=0;d=j[j[a+36>>2]>>2];a:{if(!d){break a}d=j[d+92>>2];if(!d){break a}c=qe[j[j[d+12>>2]+12>>2]](d,o)|0}d=c;b:{c:{if(c){break c}o=j[f+12>>2];if(!o){break b}d=0;c=j[j[a+36>>2]>>2];d:{if(!c){break d}c=j[c+92>>2];if(!c){break d}d=qe[j[j[c+12>>2]+12>>2]](c,o)|0}if(d){break c}f=j[f+16>>2];if(!f){break b}d=0;c=j[j[a+36>>2]>>2];e:{if(!c){break e}c=j[c+92>>2];if(!c){break e}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}if(!d){break b}}if(Wh(b,d,1)){break b}c=j[b+84>>2];if(i[c+110>>1]<1){break b}Ee(g+16|0,0,3188);d=j[a+40>>2];j[g+32>>2]=0;j[g+36>>2]=0;j[g+40>>2]=0;j[g+44>>2]=0;j[g+24>>2]=65536;j[g+28>>2]=65536;j[g+56>>2]=d;j[g+20>>2]=b;j[g+6196>>2]=0;j[g+6204>>2]=g+16;if(Ji(g+3216|0,c+108|0)){break b}j[g+12>>2]=0;if(Zh(g+3216|0,0)){break b}Ii(g+3216|0,0,0,0);c=j[g+3260>>2];if((c|0)>=1){d=j[g+3268>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+56>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}nj(g+12|0,a+56|0,m[g+56>>2]/100|0);j[a+52>>2]=j[g+12>>2];e=0;j[g+12>>2]=0;if(Zh(g+3216|0,1)){break b}Ii(g+3216|0,0,0,1);c=j[g+4728>>2];if((c|0)>=1){d=j[g+4736>>2];f=d+p(c,48)|0;while(1){c=j[d+20>>2];if(!(!c|c>>>0<=d>>>0|(j[c+20>>2]!=(d|0)|e>>>0>15))){o=i[d+2>>1]-i[c+2>>1]|0;c=o>>31;j[(p(e,12)+a|0)+1628>>2]=c^c+o;e=e+1|0}d=d+48|0;if(f>>>0>d>>>0){continue}break}j[g+12>>2]=e}nj(g+12|0,a+1628|0,m[g+56>>2]/100|0);j[a+1624>>2]=j[g+12>>2]}if(j[a+52>>2]){c=j[a+56>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=c;j[a+248>>2]=(c|0)/5;if(j[a+1624>>2]){c=j[a+1628>>2]}else{c=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=c;j[a+1820>>2]=(c|0)/5;xk(g+3216|0);d=(j[j[a>>2]+12>>2]<<3)+112816|0;n=j[d>>2];if((n|0)!=759){while(1){B=d;E=n+112048|0;d=k[E|0];f:{if(!d){break f}C=0;x=0;while(1){n=d&255;E=E+1|0;if(d<<24>>24<=-1){c=n>>>0<240;f=n>>>0<224;n=(f?31:c?15:7)&n;d=E;c=f?1:c?2:3;r=c;while(1){n=k[d|0]&63|n<<6;d=d+1|0;r=r-1|0;if(r){continue}break}E=c+E|0}c=0;d=j[j[a+36>>2]>>2];g:{if(!d){break g}d=j[d+92>>2];if(!d){break g}c=qe[j[j[d+12>>2]+12>>2]](d,n)|0}h:{if(!c){break h}if(Wh(b,c,1)){break h}c=j[b+84>>2];if(i[c+110>>1]<3){break h}n=0;s=i[c+108>>1];i:{if((s|0)<1){break i}u=j[c+120>>2];D=j[c+116>>2];v=j[c+112>>2];c=-1;y=0;z=0;f=0;t=0;while(1){o=i[u+(t<<1)>>1];if((o|0)>(f|0)){d=c;r=f;e=f;j:{if(h[B+4|0]&1){while(1){q=j[((r<<3)+v|0)+4>>2];e=(d|0)<0|(q|0)>(n|0);n=e?q:n;d=e?r:d;e=(o|0)==(r|0);r=r+1|0;if(!e){continue}break j}}while(1){r=j[((e<<3)+v|0)+4>>2];q=(d|0)<0|(r|0)<(n|0);n=q?r:n;d=q?e:d;q=(e|0)!=(o|0);e=e+1|0;if(q){continue}break}}c=(c|0)==(d|0);y=c?y:f;z=c?z:o;c=d}f=o+1|0;t=t+1|0;if((s|0)!=(t|0)){continue}break}if((c|0)<0){break i}H=j[(c<<3)+v>>2];o=c;d=(k[c+D|0]&3)==1?c:-1;r=d;k:{while(1){f=(o|0)>(y|0)?o-1|0:z;q=(f<<3)+v|0;s=j[q+4>>2]-n|0;e=s>>31;s=e^e+s;if((s|0)>=6){q=j[q>>2]-H|0;e=q>>31;if((p(s,20)|0)>=(e^e+q)){break k}}o=(k[f+D|0]&3)==1;r=(r|0)<0?o?f:r:r;d=o?f:d;o=f;if((f|0)!=(c|0)){continue}break}o=c}f=c;l:{while(1){e=(f|0)<(z|0)?f+1|0:y;J=(e<<3)+v|0;s=j[J+4>>2]-n|0;q=s>>31;s=q^q+s;if((s|0)>=6){t=j[J>>2]-H|0;q=t>>31;if((p(s,20)|0)>=(q^q+t)){break l}}f=(k[e+D|0]&3)==1;d=(d|0)<0?f?e:d:d;r=f?e:r;f=e;if((e|0)!=(c|0)){continue}break}f=c}K=l[B+4>>1];m:{n:{if(!(K&8)){break n}q=j[(f<<3)+v>>2]-j[(o<<3)+v>>2]|0;e=q>>31;s=j[a+40>>2];L=(s>>>0)/25|0;if((L|0)<=(e^e+q)){break n}e=c;if(((f-o|0)+2|0)>(z-y|0)){break n}while(1){e=(e|0)>(y|0)?e-1|0:z;M=j[(e<<3)+v>>2];if((c|0)!=(e|0)?(M|0)==(H|0):0){continue}break}if((c|0)==(e|0)){break h}P=s>>>2|0;F=0;q=f;e=f;t=0;c=0;while(1){if(!F){q=e;t=(k[e+D|0]&3)==1?e:-1;c=t}e=(e|0)<(z|0)?e+1|0:y;F=0;u=(q<<3)+v|0;s=j[u+4>>2];A=n-s|0;w=A>>31;o:{if((w^w+A)>(P|0)){break o}w=(e<<3)+v|0;A=j[w+4>>2]-s|0;F=A>>31;A=F^F+A;p:{if((A|0)<=5){I=j[w>>2];w=j[u>>2];u=I-w|0;G=0-u|0;break p}F=0;I=j[w>>2];w=j[u>>2];u=I-w|0;G=u>>31;if((p(A,20)|0)>=(G^u+G)){break o}G=0-u|0}F=1;N=(k[e+D|0]&3)==1;t=(t|0)<0?N?e:t:t;c=N?e:c;if((w|0)<(I|0)^(H|0)>(M|0)|(((u|0)<0?G:u)|0)<(L|0)){break o}f=p(A,20);while(1){e=(e|0)<(z|0)?e+1|0:y;n=j[((e<<3)+v|0)+4>>2]-s|0;d=n>>31;q:{if((d^d+n)<6){break q}n=j[J>>2]-w|0;d=n>>31;if((f|0)<(d^d+n)){break q}f=(e|0)>(y|0)?e-1|0:z;break m}t=(t|0)<0?(k[e+D|0]&3)==1?e:t:t;c=e;if((o|0)!=(c|0)){continue}break}f=o;c=f;break m}if((e|0)!=(o|0)){continue}break}}q=o;t=d;c=r;s=n}r:{if((c|t)>=0){d=j[(c<<3)+v>>2]-j[(t<<3)+v>>2]|0;c=d>>31;if((c^c+d)>>>0>j[a+40>>2]>>>3>>>0){break r}}if((k[f+D|0]&3)==1?(k[q+D|0]&3)==1:0){break r}if(K&2){break h}j[(g+16|0)+(x<<2)>>2]=s;x=x+1|0;break h}n=s}j[(g+3216|0)+(C<<2)>>2]=n;C=C+1|0}d=k[E|0];if(d){continue}break}if(!(x|C)){break f}c=1;if(x>>>0>=2){while(1){o=j[(g+16|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+16|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+16|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((x|0)!=(c|0)){continue}break}}c=1;if(C>>>0>=2){while(1){o=j[(g+3216|0)+(c<<2)>>2];d=c;while(1){f=d-1|0;e=(g+3216|0)+(f<<2)|0;n=j[e>>2];if((n|0)>(o|0)){j[(g+3216|0)+(d<<2)>>2]=n;j[e>>2]=o;d=f;if(d){continue}}break}c=c+1|0;if((C|0)!=(c|0)){continue}break}}c=j[a+1832>>2];j[a+1832>>2]=c+1;n=p(c,28)+a|0;c=n+1848|0;f=n+1836|0;s:{t:{if(!C){d=j[(g+16|0)+(x<<1&-4)>>2];break t}d=j[(g+3216|0)+(C<<1&-4)>>2];if(!x){break t}j[f>>2]=d;e=j[(g+16|0)+(x<<1&-4)>>2];j[c>>2]=e;if((d|0)==(e|0)){o=l[B+4>>1];break s}o=l[B+4>>1];if(o&1^(d|0)>=(e|0)){break s}r=c;c=(d+e|0)/2|0;j[r>>2]=c;j[f>>2]=c;break s}j[c>>2]=d;j[f>>2]=d;o=l[B+4>>1]}c=n+1860|0;d=o<<1&2;j[c>>2]=d;f=l[B+4>>1];if(!(f&6)){break f}e=c;c=f<<1;j[e>>2]=d|c&4|c&8}d=B+8|0;n=j[B+8>>2];if((n|0)!=759){continue}break}}d=48;e=0;while(1){u:{if(a){c=0;f=j[j[a+36>>2]>>2];v:{if(!f){break v}f=j[f+92>>2];if(!f){break v}c=qe[j[j[f+12>>2]+12>>2]](f,d)|0}n=c}w:{if(!n){break w}if(yk(b,n,g+3216|0)){break w}f=e&255;e=1;c=j[g+3216>>2];if(!f){Q=c;break w}if((c|0)==(Q|0)){break w}r=0;break u}r=1;d=d+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=r}Uh(b,O);oe=g+10096|0;return 0}function yh(a,b,c,d,e,f){var g=0,l=0,n=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;g=oe-80|0;oe=g;u=j[a>>2];a:{if(f){break a}l=j[a+4>>2];if(k[l+12|0]){break a}n=j[d>>2];j[g+68>>2]=0;j[g+72>>2]=0;j[g+60>>2]=0;j[g+64>>2]=0;j[g+52>>2]=0;j[g+56>>2]=0;j[g+48>>2]=n;yh(l,b,c,g+48|0,e,1)}b:{c:{if(k[d+4|0]){break c}c=j[c+20>>2]+j[b+20>>2]|0;if(c>>>0>=97){a=j[d>>2];if(!a|j[a>>2]){break b}j[a>>2]=18;break b}j[d+8>>2]=c;i[d+4>>1]=257;l=c+7>>>3|0;j[d+12>>2]=l;if(!c){break c}n=-1<<(0-c&7);if(l){c=0;while(1){h[(c+d|0)+16|0]=255;c=c+1|0;l=j[d+12>>2];if(c>>>0>>0){continue}break}c=l-1|0}else{c=-1}c=c+d|0;h[c+16|0]=n&k[c+16|0];if(!k[d+4|0]){break b}}j[a+20>>2]=0;j[a+24>>2]=0;j[g+72>>2]=j[d+24>>2];l=j[d+20>>2];x=g- -64|0;c=x;j[c>>2]=j[d+16>>2];j[c+4>>2]=l;c=j[d+12>>2];j[g+56>>2]=j[d+8>>2];j[g+60>>2]=c;c=j[d+4>>2];j[g+48>>2]=j[d>>2];j[g+52>>2]=c;y=j[b+20>>2];if(y>>>0>m[d+8>>2]){break b}if(k[u+205|0]){j[g+40>>2]=0;j[g+32>>2]=0;j[g+36>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;ij(a,u+244|0,g+24|0);ij(a,g+24|0,u+224|0)}d:{e:{if(y){l=x;A=128;while(1){f:{if(!(k[l|0]&A)){break f}t=j[a+16>>2];c=q;r=j[b+20>>2];g:{if(c>>>0>>0){break g}c=0;n=j[b+4>>2];if(!n|j[n>>2]){break g}j[n>>2]=130}c=j[b+28>>2]+p(j[b+8>>2],c)|0;n=j[c+8>>2];v=j[c+4>>2];s=n-v|0;h:{i:{if((s|0)!=-1310720){j:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;o=1;break j}j[g+24>>2]=4;n=(s|0)<0?n:v;s=20;o=4}j[g+40>>2]=t;j[g+28>>2]=q;n=e+n|0;j[g+32>>2]=n;if(!k[c|0]){break i}v=j[c+12>>2];j[g+24>>2]=s;j[g+36>>2]=v;break h}j[g+40>>2]=t;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=q;n=e;o=0}s=o;v=ye(n,t);j[g+36>>2]=v;r=j[b+20>>2]}w=j[a+16>>2];c=q;k:{if(r>>>0>c>>>0){break k}c=0;o=j[b+4>>2];if(!o|j[o>>2]){break k}j[o>>2]=130}l:{m:{n:{o:{c=j[b+28>>2]+p(j[b+8>>2],c)|0;t=j[c+8>>2];r=j[c+4>>2];o=t-r|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break o}j[g+16>>2]=w;j[g+8>>2]=e;t=0;j[g>>2]=0;j[g+4>>2]=q;o=e;break m}j[g>>2]=2;t=2;break n}j[g>>2]=8;r=(o|0)<0?r:t;t=8}o=j[u+188>>2];j[g+16>>2]=w;j[g+4>>2]=q;o=((o<<1)+r|0)+e|0;j[g+8>>2]=o;if(!k[c|0]){break m}w=j[c+16>>2];t=t|16;j[g>>2]=t;break l}w=ye(o,w)}j[g+12>>2]=w;p:{if((s|t)&16){break p}C=j[u+200>>2];if(!C){break f}B=j[u+216>>2];D=t&10;E=s&5;c=0;while(1){r=u+p(c,20)|0;z=r;q:{r:{if(k[r+280|0]){if(!E|(j[z+264>>2]-B|0)>(n|0)){break q}z=j[r+268>>2];if((z+B|0)<(n|0)){break q}c=j[r+276>>2]-v|0;if(k[u+204|0]){break r}c=v+32768&-65536;if(j[u+212>>2]<=(z-n|0)){n=j[r+276>>2]-65536|0;c=(c|0)<(n|0)?c:n}c=c-v|0;break r}if(!D){break q}z=j[z+264>>2];if((B+j[r+268>>2]|0)<(o|0)|(z-B|0)>(o|0)){break q}c=j[r+276>>2];s:{if(k[u+204|0]){break s}n=w+32768&-65536;c=n;if(j[u+212>>2]>(o-z|0)){break s}c=j[r+276>>2]+65536|0;c=(c|0)<(n|0)?n:c}c=c-w|0}if(s){j[g+24>>2]=s|16;j[g+36>>2]=c+v}if(!t){break p}j[g>>2]=t|16;j[g+12>>2]=c+w;break p}c=c+1|0;if((C|0)!=(c|0)){continue}break}break f}ij(a,g+24|0,g);h[l|0]=k[l|0]&(A^-1)}c=(q&7)==7;l=c?l+1|0:l;A=c?128:A>>>1&127;q=q+1|0;if((y|0)!=(q|0)){continue}break}if(f){break e}if(!y){break d}r=128;c=0;while(1){if(k[x|0]&r){q=j[a+16>>2];l=c;n=j[b+20>>2];t:{if(n>>>0>c>>>0){break t}l=0;o=j[b+4>>2];if(!o|j[o>>2]){break t}j[o>>2]=130}o=j[b+28>>2]+p(j[b+8>>2],l)|0;l=j[o+8>>2];t=j[o+4>>2];s=l-t|0;u:{v:{if((s|0)!=-1310720){w:{if((s|0)==-1376256){j[g+24>>2]=1;s=17;break w}j[g+24>>2]=4;l=(s|0)<0?l:t;s=20}j[g+40>>2]=q;j[g+28>>2]=c;l=e+l|0;j[g+32>>2]=l;if(!k[o|0]){break v}l=j[o+12>>2];j[g+24>>2]=s;j[g+36>>2]=l;break u}j[g+40>>2]=q;j[g+32>>2]=e;j[g+24>>2]=0;j[g+28>>2]=c;l=e}F=g,G=ye(l,q),j[F+36>>2]=G;n=j[b+20>>2]}q=j[a+16>>2];l=c;x:{if(c>>>0>>0){break x}l=0;n=j[b+4>>2];if(!n|j[n>>2]){break x}j[n>>2]=130}y:{z:{A:{B:{l=j[b+28>>2]+p(j[b+8>>2],l)|0;s=j[l+8>>2];n=j[l+4>>2];o=s-n|0;if((o|0)!=-1310720){if((o|0)!=-1376256){break B}j[g+16>>2]=q;j[g+8>>2]=e;j[g>>2]=0;j[g+4>>2]=c;n=e;break z}j[g>>2]=2;o=18;break A}j[g>>2]=8;n=(o|0)<0?n:s;o=24}s=j[u+188>>2];j[g+16>>2]=q;j[g+4>>2]=c;n=((s<<1)+n|0)+e|0;j[g+8>>2]=n;if(!k[l|0]){break z}l=j[l+16>>2];j[g>>2]=o;j[g+12>>2]=l;break y}F=g,G=ye(n,q),j[F+12>>2]=G}ij(a,g+24|0,g)}l=(c&7)==7;x=l?x+1|0:x;r=l?128:r>>>1&127;c=c+1|0;if((y|0)!=(c|0)){continue}break}break d}if(!f){break d}}c=j[a+20>>2];if(j[(p(c,20)+a|0)+16>>2]>-1?!(!c|j[a+36>>2]>0):0){break d}j[g+36>>2]=0;j[g+28>>2]=0;j[g+32>>2]=0;j[g+24>>2]=49;c=j[a+16>>2];j[g+8>>2]=0;j[g+12>>2]=0;j[g+16>>2]=0;j[g>>2]=0;j[g+4>>2]=0;j[g+40>>2]=c;ij(a,g+24|0,g)}j[j[a+8>>2]+20>>2]=0;n=j[a+20>>2];C:{if(!n){break C}c=0;while(1){s=c+1|0;u=p(c,20);x=u+a|0;e=j[x+28>>2];v=e&12;t=v?s:c;D:{if(e&16){break D}l=a+28|0;w=l+u|0;o=j[w+12>>2];e=o&65535;r=e?65536-e|0:0;y=l+p(t,20)|0;A=j[y+12>>2];q=A&65535;l=q?65536-q|0:0;l=l>>>0>r>>>0?r:l;r=e>>>0>>0?e:q;q=0-r|0;E:{F:{if(t>>>0>>0){n=p(t+1|0,20)+a|0;if(j[n+40>>2]<((l+A|0)+32768|0)){break F}}if(!(!c|j[x+20>>2]<=((o-r|0)-32768|0))){e=l;break E}e=(l|0)>(r|0)?q:l;break E}G:{if(c){e=0;if(j[x+20>>2]>((o-r|0)-32768|0)){break G}}e=q;if((l|0)<(r|0)){break G}break E}if(k[n+28|0]&16){break E}j[g+24>>2]=t;j[g+28>>2]=l-e;Fr(j[a+8>>2],g+24|0);o=j[w+12>>2]}j[w+12>>2]=e+o;if(!v){break D}j[y+12>>2]=j[y+12>>2]+e}H:{if(!c){break H}e=j[x+36>>2];l=j[x+16>>2];if((e|0)==(l|0)){break H}n=a+28|0;q=n+p(c-1|0,20)|0;F=q,G=De(j[(n+u|0)+12>>2]-j[q+12>>2]|0,e-l|0),j[F+16>>2]=G}if(v){c=p(t,20);e=c+a|0;l=j[e+36>>2];e=j[e+16>>2];if((l|0)!=(e|0)){n=a+28|0;q=n+p(t-1|0,20)|0;F=q,G=De(j[(c+n|0)+12>>2]-j[q+12>>2]|0,l-e|0),j[F+16>>2]=G}c=s}c=c+1|0;n=j[a+20>>2];if(c>>>0>>0){continue}break}n=j[a+8>>2];e=j[n+20>>2];if(!e){break C}q=j[n+8>>2];o=j[n+28>>2];c=e;while(1){c=c-1|0;r=c;I:{if(c>>>0>>0){break I}r=0;l=j[n+4>>2];if(!l|j[l>>2]){break I}j[l>>2]=130}s=o+p(q,r)|0;l=p(j[s>>2],20)+a|0;s=j[s+4>>2];t=s+j[l+40>>2]|0;J:{if(j[l+60>>2]<(t+32768|0)){break J}j[l+40>>2]=t;if(!(k[l+28|0]&12)){break J}j[l+20>>2]=s+j[l+20>>2]}if(c){continue}break}}K:{if(f){break K}q=j[a+20>>2];if(!q){break K}c=0;while(1){e=p(c,20)+a|0;n=e;l=j[n+28>>2];if(!(l&32)){q=j[e+32>>2];L:{if(q>>>0>2]){break L}q=0;f=j[b+4>>2];if(!f|j[f>>2]){break L}j[f>>2]=130;l=j[n+28>>2]}f=j[b+28>>2]+p(j[b+8>>2],q)|0;j[f+(l&10?16:12)>>2]=j[e+40>>2];h[f|0]=1;q=j[a+20>>2]}c=c+1|0;if(q>>>0>c>>>0){continue}break}}h[a+12|0]=1;h[d+5|0]=0}oe=g+80|0}function mA(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,m=0,n=0,o=0;e=oe-288|0;oe=e;g=j[a+436>>2];f=Vg();c=j[g>>2];a:{if((f|0)!=(c|0)){j[g+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}c=j[a+436>>2];if(!j[c+4>>2]){break a}while(1){if(qe[j[c+104>>2]]()|0){continue}break}}j[g+360>>2]=0;m=5121;b:{c:{d:{e:{f:{c=j[b+4>>2];if((c|0)<=825382477){l=6408;if((c|0)<=374740995){if((c|0)==370546692){break e}if((c|0)!=372645892){break c}break e}if((c|0)==374740996|(c|0)==376840196){break e}if((c|0)==542328143){break f}break c}g:{h:{switch(c-842094158|0){case 0:case 11:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break h}}if((c|0)==1448433993){break g}if((c|0)!=825382478){break c}}l=6409;break e}if(j[b+8>>2]){break d}m=0;l=0}f=Xe(1,44);if(!f){d=Be(0);break b}j[f>>2]=0;d=j[b+4>>2];j[f+12>>2]=m;j[f+8>>2]=l;j[f+32>>2]=0;j[f+36>>2]=0;j[f+28>>2]=(d|0)==842094158|(d|0)==825382478;j[f+24>>2]=(d|0)==1448433993|(d|0)==842094169;j[f+4>>2]=(d|0)==542328143?36197:3553;o=j[b+28>>2];i:{if(j[b+8>>2]!=1){break i}i=j[b+12>>2];c=f;j:{if(!(!d|(d&-268435456)==268435456)){h=2;if((d|0)==844715353|(d|0)==1498831189){break j}h=(d|0)==1431918169?2:1;break j}h=d&255}i=p(h,i);j[c+20>>2]=i;h=j[b+16>>2];c=p(h,i);k:{if(((d|0)==842094169|0)!=((d|0)==1448433993|0)){c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0;break k}if(((d|0)==825382478|0)==((d|0)==842094158|0)){break k}c=(p((i+1|0)/2|0,(h+1|0)/2|0)<<1)+c|0}c=Xe(1,c);j[f+16>>2]=c;if(c){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}d=Be(0);break b}h=j[a+436>>2];l:{if(!j[h+4>>2]){break l}c=qe[j[h+104>>2]]()|0;if(!c){break l}d=74205;while(1){d=k[d|0]?d:75958;i=76063;n=c-1280|0;if(n>>>0<=5){i=j[(n<<2)+76072>>2]}j[e+276>>2]=c;j[e+272>>2]=i;j[e+268>>2]=75390;j[e+264>>2]=1478;j[e+260>>2]=74206;j[e+256>>2]=d;ve(75966,e+256|0);c=qe[j[h+104>>2]]()|0;if(c){continue}break}}i=o?9729:9728;c=f+36|0;m:{if(j[f+24>>2]){qe[j[g+92>>2]](1,f+32|0);n:{h=j[a+436>>2];if(!j[h+4>>2]){break n}d=qe[j[h+104>>2]]()|0;if(!d){break n}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+244>>2]=d;j[e+240>>2]=c;j[e+236>>2]=75390;j[e+232>>2]=1482;j[e+228>>2]=74206;j[e+224>>2]=75410;ve(75966,e+224|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33986);qe[j[g+20>>2]](j[f+4>>2],j[f+32>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);qe[j[g+92>>2]](1,c);o:{h=j[a+436>>2];if(!j[h+4>>2]){break o}d=qe[j[h+104>>2]]()|0;if(!d){break o}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+212>>2]=d;j[e+208>>2]=c;j[e+204>>2]=75390;j[e+200>>2]=1494;j[e+196>>2]=74206;j[e+192>>2]=75410;ve(75966,e+192|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,l,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,l,m,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}d=qe[j[h+104>>2]]()|0;if(!d){break m}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+180>>2]=d;j[e+176>>2]=c;j[e+172>>2]=75390;j[e+168>>2]=1504;j[e+164>>2]=74206;j[e+160>>2]=75425;ve(75966,e+160|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}if(!j[f+28>>2]){break m}qe[j[g+92>>2]](1,c);p:{h=j[a+436>>2];if(!j[h+4>>2]){break p}d=qe[j[h+104>>2]]()|0;if(!d){break p}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+148>>2]=d;j[e+144>>2]=c;j[e+140>>2]=75390;j[e+136>>2]=1509;j[e+132>>2]=74206;j[e+128>>2]=75410;ve(75966,e+128|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}qe[j[g+8>>2]](33985);qe[j[g+20>>2]](j[f+4>>2],j[f+36>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);qe[j[g+152>>2]](j[f+4>>2],0,6410,(j[b+12>>2]+1|0)/2|0,(j[b+16>>2]+1|0)/2|0,0,6410,5121,0);h=j[a+436>>2];if(!j[h+4>>2]){break m}c=qe[j[h+104>>2]]()|0;if(!c){break m}while(1){d=76063;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+76072>>2]}j[e+116>>2]=c;j[e+112>>2]=d;j[e+108>>2]=75390;j[e+104>>2]=1519;j[e+100>>2]=74206;j[e+96>>2]=75425;ve(75966,e+96|0);d=-1;c=qe[j[h+104>>2]]()|0;if(c){continue}break}break b}qe[j[g+92>>2]](1,f);q:{h=j[a+436>>2];if(!j[h+4>>2]){break q}d=qe[j[h+104>>2]]()|0;if(!d){break q}while(1){c=76063;a=d-1280|0;if(a>>>0<=5){c=j[(a<<2)+76072>>2]}j[e+84>>2]=d;j[e+80>>2]=c;j[e+76>>2]=75390;j[e+72>>2]=1525;j[e+68>>2]=74206;j[e+64>>2]=75410;ve(75966,e- -64|0);d=qe[j[h+104>>2]]()|0;if(d){continue}break}d=-1;break b}j[b+76>>2]=f;qe[j[g+8>>2]](33984);qe[j[g+20>>2]](j[f+4>>2],j[f>>2]);qe[j[g+156>>2]](j[f+4>>2],10241,i);qe[j[g+156>>2]](j[f+4>>2],10240,i);qe[j[g+156>>2]](j[f+4>>2],10242,33071);qe[j[g+156>>2]](j[f+4>>2],10243,33071);r:{if(j[b+4>>2]==542328143){break r}qe[j[g+152>>2]](j[f+4>>2],0,l,j[b+12>>2],j[b+16>>2],0,l,m,0);g=j[a+436>>2];if(!j[g+4>>2]){break r}c=qe[j[g+104>>2]]()|0;if(!c){break r}while(1){d=76063;a=c-1280|0;if(a>>>0<=5){d=j[(a<<2)+76072>>2]}j[e+52>>2]=c;j[e+48>>2]=d;j[e+44>>2]=75390;j[e+40>>2]=1537;j[e+36>>2]=74206;j[e+32>>2]=75425;ve(75966,e+32|0);d=-1;c=qe[j[g+104>>2]]()|0;if(c){continue}break}break b}d=0;c=0;s:{if(j[b+8>>2]!=2){break s}g=j[b+16>>2];l=j[b+12>>2];b=j[a+436>>2];c=j[b+232>>2];if(c){while(1){if((g|0)==j[c+4>>2]?(l|0)==j[c>>2]:0){break s}c=j[c+12>>2];if(c){continue}break}}c=qe[j[57972]](16)|0;if(c){j[57976]=j[57976]+1}j[c+4>>2]=g;j[c>>2]=l;qe[j[b+88>>2]](1,c+8|0);j[c+12>>2]=j[b+232>>2];j[b+232>>2]=c}j[f+40>>2]=c;a=j[a+436>>2];if(!j[a+4>>2]){break b}i=qe[j[a+104>>2]]()|0;if(!i){break b}c=74205;while(1){c=k[c|0]?c:75958;d=76063;b=i-1280|0;if(b>>>0<=5){d=j[(b<<2)+76072>>2]}j[e+20>>2]=i;j[e+16>>2]=d;j[e+12>>2]=75390;j[e+8>>2]=1548;j[e+4>>2]=74206;j[e>>2]=c;ve(75966,e);d=-1;i=qe[j[a+104>>2]]()|0;if(i){continue}break}break b}d=ve(75330,0);break b}d=ve(75301,0)}oe=e+288|0;return d|0}function Kr(a,b,c){var d=0,e=0,f=0,g=0,n=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;g=oe+ -64|0;oe=g;j[g+48>>2]=0;e=j[a+76>>2];d=j[e+2972>>2];a:{if(!d){f=j[a>>2];j[e+2976>>2]=616;d=He(f,504,g+48|0);j[j[a+76>>2]+2972>>2]=d;e=64;if(j[g+48>>2]){break a}j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;e=d+124|0;j[e>>2]=0;j[e+4>>2]=0;j[d>>2]=f;j[d+104>>2]=617;j[d+100>>2]=618;j[d+112>>2]=619;j[d+120>>2]=f;j[d+124>>2]=d+4}j[d+128>>2]=a;j[d+132>>2]=a;e=j[j[a+4>>2]+96>>2];j[g+20>>2]=0;j[g+24>>2]=0;j[g+28>>2]=0;j[g+44>>2]=b;j[g+32>>2]=0;j[g+40>>2]=b+c;j[g+36>>2]=b;j[g+12>>2]=0;j[g+16>>2]=0;b=j[a+8>>2];f=k[b+161|0];c=g;o=k[b+160|0];b:{if(o){n=(j[b+164>>2]+32|0)/64|0;j[g+8>>2]=n;b=(j[b+168>>2]+32|0)/64|0;break b}n=1024;j[g+8>>2]=1024;b=1024}j[c+20>>2]=b;c=(o|0)!=0;j[d+8>>2]=c;if(!(k[e+32|0]|!f)){j[d+8>>2]=c|2}j[d+144>>2]=j[e+36>>2];j[d+148>>2]=j[e+40>>2];j[d+152>>2]=j[e+44>>2];j[d+156>>2]=j[e+48>>2];j[d+160>>2]=j[e+52>>2];j[d+164>>2]=j[e+56>>2];j[d+168>>2]=j[e+60>>2];j[d+172>>2]=j[e- -64>>2];c=l[j[a+4>>2]+68>>1];j[d+88>>2]=c;if(f){e=36;if((b|0)<1|(n|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=De(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=j[d+132>>2]}j[g+56>>2]=0;j[g+60>>2]=0;e=0;j[g+52>>2]=0;j[d+4>>2]=0;b=j[a+736>>2];if((b|0)!=j[d+136>>2]){j[d+136>>2]=b;e=1}f=l[j[j[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=j[d+84>>2]){j[d+84>>2]=f;e=1}o=j[d+96>>2];b=j[d+92>>2];c=j[d+8>>2];h[d+140|0]=c&1;c:{d:{e:{if(!Cg(g+8|0,d+12|0,16)){x=d+142|0;c=c&2;if((c|0)!=k[d+142|0]){break e}if(e){break d}break c}e=j[g+12>>2];j[d+12>>2]=j[g+8>>2];j[d+16>>2]=e;e=j[g+20>>2];j[d+20>>2]=j[g+16>>2];j[d+24>>2]=e;j[d+28>>2]=0;j[d+32>>2]=0;e=j[g+12>>2];j[d+36>>2]=j[g+8>>2];j[d+40>>2]=e;e=j[g+20>>2];j[d+44>>2]=j[g+16>>2];j[d+48>>2]=e;e=j[g+28>>2];j[d+52>>2]=j[g+24>>2];j[d+56>>2]=e;j[d+68>>2]=0;j[d+72>>2]=65536;j[d+60>>2]=65536;j[d+64>>2]=0;x=d+142|0;c=c&2;if((c|0)==k[d+142|0]){break d}}h[x|0]=c}c=j[j[a+736>>2]+388>>2]<<16;j[d+176>>2]=c;e=j[d+88>>2];u=e?e:1e3;e=65536e3/(u|0)|0;if((c|0)<=0){c=De(4915200,e);j[d+176>>2]=c}n=d+144|0;f=(f|0)>262144?f:262144;f:{if((b|0)>=1){c=u<<16;if((De(c,f)|0)>=(b|0)){b=De(c,f)}j[d+184>>2]=0;if(!b|(e|0)<655){break f}j[d+184>>2]=(b|0)/2;break f}Gr(e,f,c,d+184|0,0,k[d+142|0],n)}b=d;c=j[j[a+736>>2]+384>>2];g:{if(c<<16>=1){a=4915200;if(j[d+176>>2]>c<<17){break g}}a=7208960}a=De(a,e);j[b+180>>2]=a;Gr(e,f,a,d+188|0,o,k[d+142|0],n);a=1;a=j[d+184>>2]?a:j[d+188>>2]!=0;o=0;h[d+192|0]=0;h[d+141|0]=a;a=j[d+132>>2];y=Ee(d+200|0,0,304);j[d+196>>2]=j[d+48>>2];B=d,C=De(j[j[a+736>>2]+372>>2],65536e3),j[B+208>>2]=C;f=j[a+736>>2];j[d+212>>2]=j[f+376>>2]<<16;j[d+216>>2]=j[f+380>>2]<<16;z=k[f+179|0];u=k[f+178|0];s=k[f+177|0];b=k[f+176|0];h:{i:{if(j[f+512>>2]==1){j:{switch(b|0){case 4:if(j[f+180>>2]<<16>-7864321|j[f+184>>2]<<16>-7864321|(j[f+188>>2]<<16<57671681|j[f+192>>2]<<16<57671681)){break i}break;case 0:break j;default:break i}}j[d+252>>2]=-7864321;a=ye(-7864321,j[d+196>>2]);j[d+244>>2]=49;b=j[d+196>>2];j[d+260>>2]=b;j[d+256>>2]=(a+32768&-65536)-32768;a=(j[d+188>>2]<<1)+57671681|0;j[d+232>>2]=a;a=ye(a,b);j[d+224>>2]=50;h[d+205|0]=1;j[d+240>>2]=j[d+196>>2];j[d+236>>2]=a+32768&-65536|32768;break c}if(!b){break h}}n=j[d+200>>2];a=p(n,20)+d|0;e=j[f+180>>2]<<16;j[a+264>>2]=e;c=j[f+184>>2]<<16;j[a+268>>2]=c;o=c-e|0;k:{if((o|0)<0){o=0;break k}j[a+272>>2]=c;h[a+280|0]=1;n=n+1|0;j[d+200>>2]=n}e=2;if(b>>>0<=2){break h}c=f+180|0;while(1){a=p(n,20)+d|0;v=a;r=e<<2;q=j[r+c>>2]<<16;j[a+264>>2]=q;r=j[c+(r|4)>>2]<<16;j[a+268>>2]=r;w=r-q|0;if((w|0)>=0){t=r;r=j[d+188>>2]<<1;j[a+268>>2]=t+r;q=q+r|0;j[v+264>>2]=q;j[a+272>>2]=q;h[a+280|0]=0;n=n+1|0;j[d+200>>2]=n;o=(o|0)<(w|0)?w:o}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(s){c=j[y>>2];b=f+236|0;e=0;while(1){a=p(c,20)+d|0;n=e<<2;q=j[n+b>>2]<<16;j[a+264>>2]=q;n=j[b+(n|4)>>2]<<16;j[a+268>>2]=n;q=n-q|0;if((q|0)>=0){j[a+272>>2]=n;h[a+280|0]=1;c=c+1|0;j[d+200>>2]=c;o=(o|0)<(q|0)?q:o}e=e+2|0;if(s>>>0>e>>>0){continue}break}}e=De(65536,j[d+196>>2]);r=j[d+200>>2];if(r){n=0;w=u>>>0<3;while(1){a=p(n,20)+d|0;s=a;q=j[a+272>>2];l:{if(k[a+280|0]){a=0;c=2147483647;m:{if(!z){break m}while(1){v=j[(f+(a<<2|4)|0)+332>>2]<<16;t=q-v|0;b=t>>31;n:{b=b^b+t;if((b|0)>=(c|0)|(b|0)>=(e|0)){break n}j[s+272>>2]=v;c=b;if(b){break n}c=0;break m}a=a+2|0;if(z>>>0>a>>>0){continue}break}}if(u>>>0<2){break l}b=j[f+280>>2]<<16;q=q-b|0;a=q>>31;a=a^a+q;if((a|0)>=(c|0)|(a|0)>=(e|0)){break l}j[s+272>>2]=b;break l}if(w){break l}v=j[d+188>>2]<<1;a=2;c=2147483647;while(1){t=v+(j[(f+(a<<2)|0)+276>>2]<<16)|0;A=q-t|0;b=A>>31;b=b^b+A;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){j[s+272>>2]=t;c=b;if(!b){break l}}a=a+2|0;if(u>>>0>a>>>0){continue}break}}n=n+1|0;if((r|0)!=(n|0)){continue}break}}o:{if((o|0)<1){break o}if(j[d+208>>2]<=(De(65536,o)|0)){break o}B=d,C=De(65536,o),j[B+208>>2]=C}a=j[d+196>>2];b=j[d+208>>2];if((a|0)<(b|0)){h[d+204|0]=1;a=Ne(39322,a,b);j[d+220>>2]=(a|0)<6555?32767:39322-a|0}if(k[x|0]){j[d+220>>2]=0}if(!j[y>>2]){break c}c=d+196|0;a=0;while(1){b=c+p(a,20)|0;e=k[b+84|0];r=b;s=ye(j[b+76>>2],j[d+196>>2]);b=j[d+220>>2];j[r+80>>2]=(s+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}p:{q:{if(j[d+4>>2]){break q}h[d+192|0]=0;b=d+100|0;a=k[d+141|0];while(1){j[d+116>>2]=0;Yh(j[j[d+128>>2]+12>>2]);tm(d,g+32|0,b,g+56|0,0,0,0,g+52|0);if(j[d+4>>2]){break q}if(!(!(a&255)|j[d+116>>2]>-1)){h[d+192|0]=1;a=0;continue}break}f=j[d+128>>2];a=j[f+20>>2];r:{if(!a){break r}c=0;b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];s:{if((b|0)<2){break s}n=j[a+4>>2];o=n+(c<<3)|0;n=(n+(b<<3)|0)-8|0;if(j[o>>2]!=j[n>>2]|j[o+4>>2]!=j[n+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break s}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break r}r=c;c=(b<<16>>16)-1|0;if((r|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break r}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}Xh(j[f+12>>2]);if(!j[d+4>>2]){break p}}e=3;break a}a=j[g+52>>2];e=0;j[d+4>>2]=0;j[j[d+128>>2]+552>>2]=a+32768>>16}oe=g- -64|0;return e}function wq(a,b,c,d,e,f,g,h,i,j){var k=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,G=q(0),H=q(0),I=q(0),J=0,K=0,L=q(0),M=q(0),N=q(0),O=q(0),P=0;C=p(a,c);K=a-1>>1;B=b+1>>1;J=+q(q(6.2831854820251465)/q(b|0));P=Mg(J);J=lg(J);a:{if((a|0)==1){break a}if((d|0)>0){while(1){m=k<<2;n[m+i>>2]=n[g+m>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}b:{if((b|0)<2){break b}r=1;while(1){l=0;o=o+C|0;k=o;if((c|0)>=1){while(1){m=k<<2;n[m+h>>2]=n[f+m>>2];k=a+k|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}v=0-a|0;if((c|0)>=(K|0)){if((b|0)<2){break b}o=(a|0)<3;A=1;while(1){s=s+C|0;v=a+v|0;if(!o){k=v-1|0;t=2;m=s;while(1){m=m+2|0;l=k+2|0;if((c|0)>=1){E=(l<<2)+j|0;D=(k<<2)+j|0;r=0;k=m;while(1){y=k<<2;u=y-4|0;z=u+f|0;x=h+u|0;u=f+y|0;n[x>>2]=q(n[D+4>>2]*n[z>>2])+q(n[E>>2]*n[u>>2]);n[h+y>>2]=q(n[D+4>>2]*n[u>>2])-q(n[E>>2]*n[z>>2]);k=a+k|0;r=r+1|0;if((r|0)!=(c|0)){continue}break}}k=l;t=t+2|0;if((t|0)<(a|0)){continue}break}}A=A+1|0;if((A|0)!=(b|0)){continue}break}break b}if((b|0)<2){break b}D=(a|0)<3;r=1;while(1){v=a+v|0;x=C+x|0;if((c|0)>=1){m=v-1|0;u=x-a|0;t=0;while(1){w=2;k=m;u=a+u|0;l=u;if(!D){while(1){s=(l<<2)+4|0;E=s+f|0;A=h+s|0;y=(k<<2)+j|0;k=k+2|0;z=(k<<2)+j|0;l=l+2|0;o=l<<2;s=o+f|0;n[A>>2]=q(n[y+4>>2]*n[E>>2])+q(n[z>>2]*n[s>>2]);n[h+o>>2]=q(n[y+4>>2]*n[s>>2])-q(n[z>>2]*n[E>>2]);w=w+2|0;if((w|0)<(a|0)){continue}break}}t=t+1|0;if((t|0)!=(c|0)){continue}break}}r=r+1|0;if((r|0)!=(b|0)){continue}break}}v=p(b,C);if((c|0)<=(K|0)){if((b|0)<3){break a}w=(B|0)>2?B:2;x=0;E=(a|0)<3;r=1;while(1){s=0;x=C+x|0;u=x;v=v-C|0;t=v;if((c|0)>=1){while(1){j=2;k=t;l=u;if(!E){while(1){m=(l<<2)+4|0;F=m+h|0;o=f+m|0;m=(k<<2)+4|0;D=m+h|0;n[o>>2]=n[F>>2]+n[D>>2];A=f+m|0;l=l+2|0;y=l<<2;z=y+h|0;k=k+2|0;o=k<<2;m=o+h|0;n[A>>2]=n[z>>2]-n[m>>2];n[f+y>>2]=n[z>>2]+n[m>>2];n[f+o>>2]=n[D>>2]-n[F>>2];j=j+2|0;if((j|0)<(a|0)){continue}break}}t=a+t|0;u=a+u|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}r=r+1|0;if((w|0)!=(r|0)){continue}break}break a}if((b|0)<3){break a}z=(B|0)>2?B:2;A=0;r=(a|0)<3;x=1;while(1){s=2;A=C+A|0;u=A;v=v-C|0;t=v;if(!r){while(1){t=t+2|0;u=u+2|0;if((c|0)>=1){j=u-a|0;w=t-a|0;o=0;while(1){j=a+j|0;E=j<<2;k=E-4|0;D=k+h|0;m=f+k|0;w=a+w|0;y=w<<2;k=y-4|0;l=k+h|0;n[m>>2]=n[D>>2]+n[l>>2];F=f+k|0;m=h+E|0;k=h+y|0;n[F>>2]=n[m>>2]-n[k>>2];n[f+E>>2]=n[m>>2]+n[k>>2];n[f+y>>2]=n[l>>2]-n[D>>2];o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=s+2|0;if((s|0)<(a|0)){continue}break}}x=x+1|0;if((z|0)!=(x|0)){continue}break}}if((d|0)>=1){k=0;while(1){j=k<<2;n[j+g>>2]=n[i+j>>2];k=k+1|0;if((k|0)!=(d|0)){continue}break}}c:{if((b|0)<3){break c}r=(B|0)>2?B:2;o=0;u=1;m=p(b,d);v=m;while(1){v=v-C|0;o=o+C|0;if((c|0)>=1){k=o-a|0;l=v-a|0;j=0;while(1){k=a+k|0;t=k<<2;z=t+h|0;x=f+t|0;l=a+l|0;s=l<<2;t=s+h|0;n[x>>2]=n[z>>2]+n[t>>2];n[f+s>>2]=n[t>>2]-n[z>>2];j=j+1|0;if((j|0)!=(c|0)){continue}break}}u=u+1|0;if((r|0)!=(u|0)){continue}break}if((b|0)<3){break c}M=q(P);N=q(J);t=p(b-1|0,d);D=(B|0)>2?B:2;y=(B|0)>3?B:3;G=q(1);z=(b|0)>4;A=1;u=0;while(1){I=q(q(H*N)+q(G*M));G=q(q(G*N)-q(H*M));f=0;u=d+u|0;k=u;j=t;l=d;m=m-l|0;w=m;if((l|0)>0){while(1){n[(k<<2)+i>>2]=n[(f<<2)+g>>2]+q(G*n[(l<<2)+g>>2]);n[(w<<2)+i>>2]=I*n[(j<<2)+g>>2];w=w+1|0;j=j+1|0;k=k+1|0;l=l+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}r=2;H=G;L=I;o=d;v=t;if(z){while(1){O=q(q(G*L)+q(I*H));H=q(q(G*H)-q(I*L));w=0;v=v-d|0;f=v;o=d+o|0;k=o;l=m;j=u;if((d|0)>=1){while(1){s=(j<<2)+i|0;n[s>>2]=n[s>>2]+q(H*n[(k<<2)+g>>2]);s=(l<<2)+i|0;n[s>>2]=n[s>>2]+q(O*n[(f<<2)+g>>2]);l=l+1|0;f=f+1|0;j=j+1|0;k=k+1|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}L=O;r=r+1|0;if((y|0)!=(r|0)){continue}break}}H=I;A=A+1|0;if((D|0)!=(A|0)){continue}break}if((b|0)<3){break c}l=(B|0)>2?B:2;j=0;w=1;while(1){f=0;j=d+j|0;k=j;if((d|0)>=1){while(1){m=(f<<2)+i|0;n[m>>2]=n[(k<<2)+g>>2]+n[m>>2];k=k+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}}w=w+1|0;if((l|0)!=(w|0)){continue}break}}F=p(a,b);d:{if((a|0)>=(c|0)){if((c|0)<1){break d}i=0;d=(a|0)<1;j=0;g=0;while(1){l=0;f=j;k=g;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+1|0;f=f+1|0;l=l+1|0;if((l|0)!=(a|0)){continue}break}}g=g+F|0;j=a+j|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break d}if((a|0)<1){break d}j=0;d=(c|0)<1;while(1){l=0;f=j;k=f;if(!d){while(1){n[(k<<2)+e>>2]=n[(f<<2)+h>>2];k=k+F|0;f=a+f|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}j=j+1|0;if((j|0)!=(a|0)){continue}break}}t=p(b,C);w=a<<1;if((b|0)>=3){m=(B|0)>2?B:2;i=0;o=1;d=0;r=t;while(1){j=0;r=r-C|0;f=r;d=d+C|0;k=d;i=i+w|0;l=i;if((c|0)>=1){while(1){g=(l<<2)+e|0;n[g-4>>2]=n[(k<<2)+h>>2];n[g>>2]=n[(f<<2)+h>>2];f=a+f|0;k=a+k|0;l=l+F|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}o=o+1|0;if((m|0)!=(o|0)){continue}break}}e:{if((a|0)==1){break e}if((c|0)<=(K|0)){if((b|0)<3){break e}u=(B|0)>2?B:2;s=0;A=0-a|0;l=(a|0)<3;b=1;x=0;while(1){m=0;t=t-C|0;d=t;x=C+x|0;r=x;s=s+w|0;o=s;A=w+A|0;v=A;if((c|0)>=1){while(1){f=2;if(!l){while(1){k=(f+o<<2)+e|0;y=(f+r<<2)+h|0;j=y-4|0;z=(d+f<<2)+h|0;i=z-4|0;n[k-4>>2]=n[j>>2]+n[i>>2];g=((a-f|0)+v<<2)+e|0;n[g-4>>2]=n[j>>2]-n[i>>2];n[k>>2]=n[y>>2]+n[z>>2];n[g>>2]=n[z>>2]-n[y>>2];f=f+2|0;if((f|0)<(a|0)){continue}break}}d=a+d|0;r=a+r|0;o=o+F|0;v=v+F|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}b=b+1|0;if((u|0)!=(b|0)){continue}break}break e}if((b|0)<3){break e}y=(B|0)>2?B:2;u=0;b=0-a|0;z=(a|0)<3;x=1;s=0;while(1){t=t-C|0;s=s+C|0;u=u+w|0;b=b+w|0;if(!z){v=a+b|0;m=2;while(1){if((c|0)>=1){f=v-m|0;k=m+u|0;l=m+s|0;j=m+t|0;o=0;while(1){r=(k<<2)+e|0;E=(l<<2)+h|0;i=E-4|0;D=(j<<2)+h|0;g=D-4|0;n[r-4>>2]=n[i>>2]+n[g>>2];d=(f<<2)+e|0;n[d-4>>2]=n[i>>2]-n[g>>2];n[r>>2]=n[E>>2]+n[D>>2];n[d>>2]=n[D>>2]-n[E>>2];j=a+j|0;l=a+l|0;k=k+F|0;f=f+F|0;o=o+1|0;if((o|0)!=(c|0)){continue}break}}m=m+2|0;if((m|0)<(a|0)){continue}break}}x=x+1|0;if((y|0)!=(x|0)){continue}break}}}function Ci(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-32|0;oe=e;a:{d=j[a+48>>2];b:{if(!d){g=Tr(a,b);break b}m=((b<<5)+a|0)- -64|0;l=p(b,-11796480)+5898240|0;o=j[a+60>>2];c:{d:{e:{f:{g:{h:{i:{j:{if((d|0)==1){break j}f=Df(j[a>>2],j[a+4>>2]);k:{if((f|0)==11796480){f=l;g=j[a>>2];break k}f=(f|0)/2|0;g=j[a>>2]+(l+f|0)|0}i=Bi(f);n=ye(j[a+56>>2],i);if((n|0)>65535){break f}if((d|0)!=2){break j}d=f>>31;if((d+f^d)<=57){break f}of(e+16|0,ye(o,j[a+56>>2]),g);j[e+16>>2]=j[e+16>>2]+j[a+8>>2];j[e+20>>2]=j[e+20>>2]+j[a+12>>2];f=Ai(f);d=f>>31;s=Ne(o,65536-n|0,d^d+f);of(e+8|0,s,g+l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;i=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=i;d=(b<<5)+a|0;n=d;if(!k[d+80|0]){break i}f=j[e+12>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break h}of(e+16|0,o,l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;l=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=l;f=(b<<5)+a|0;n=f;h[f+80|0]=0;d=j[m>>2];l:{if(!d){break l}i=j[f+72>>2]+(d-1<<3)|0;if((j[i>>2]-c|0)+1>>>0>2){break l}g=0;if((j[i+4>>2]-l|0)+1>>>0<3){break b}}c=j[f+68>>2];j[e+8>>2]=0;g=d+1|0;m:{n:{if(g>>>0<=c>>>0){c=j[((b<<5)+a|0)+76>>2];break n}l=j[((b<<5)+a|0)+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(g>>>0>d>>>0){continue}break}i=(b<<5)+a|0;g=i;u=g,v=xe(l,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break m}c=xe(l,1,c,d,j[i+76>>2],e+8|0);j[i+76>>2]=c;g=j[e+8>>2];if(g){break m}j[f+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1;g=0}h[n+80|0]=0;break b}d=j[m>>2];o:{if(!d){break o}q=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[q>>2]-f|0)+1>>>0>2){break o}if((j[q+4>>2]-i|0)+1>>>0<3){break g}}i=(b<<5)+a|0;t=i;f=j[i+68>>2];j[e+28>>2]=0;r=d+1|0;p:{if(r>>>0<=f>>>0){f=j[i+76>>2];break p}q=j[i+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(r>>>0>d>>>0){continue}break}r=(b<<5)+a|0;i=r;u=i,v=xe(q,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break e}f=xe(q,1,f,d,j[r+76>>2],e+28|0);j[r+76>>2]=f;i=j[e+28>>2];if(i){break e}j[t+68>>2]=d;d=j[m>>2]}q=j[e+12>>2];i=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[i>>2]=j[e+8>>2];j[i+4>>2]=q;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}of(e+8|0,s,g-l|0);f=j[e+8>>2]+j[e+16>>2]|0;j[e+8>>2]=f;g=j[e+12>>2]+j[e+20>>2]|0;j[e+12>>2]=g;q:{r:{if(k[n+80|0]){f=j[e+12>>2];d=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+8>>2];j[d+4>>2]=f;break r}d=j[m>>2];s:{if(!d){break s}i=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break s}if((j[i+4>>2]-g|0)+1>>>0<3){break q}}g=(b<<5)+a|0;r=g;f=j[g+68>>2];j[e+28>>2]=0;i=d+1|0;t:{if(i>>>0<=f>>>0){f=j[g+76>>2];break t}g=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(i>>>0>d>>>0){continue}break}q=(b<<5)+a|0;i=q;u=i,v=xe(g,8,f,d,j[i+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break d}f=xe(g,1,f,d,j[q+76>>2],e+28|0);j[q+76>>2]=f;i=j[e+28>>2];if(i){break d}j[r+68>>2]=d;d=j[m>>2]}i=j[e+12>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+8>>2];j[g+4>>2]=i;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[n+80|0]=0}i=0;if(c){break a}of(e+8|0,o,l+j[a+4>>2]|0);c=j[e+8>>2]+j[a+8>>2]|0;j[e+8>>2]=c;f=j[e+12>>2]+j[a+12>>2]|0;j[e+12>>2]=f;u:{v:{if(k[n+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;break v}d=j[m>>2];w:{if(!d){break w}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break w}if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=(b<<5)+a|0;o=f;c=j[f+68>>2];j[e+28>>2]=0;l=d+1|0;x:{if(l>>>0<=c>>>0){g=j[f+76>>2];break x}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+28|0),j[u+72>>2]=v;i=j[e+28>>2];if(i){break u}g=xe(f,1,c,d,j[l+76>>2],e+28|0);j[l+76>>2]=g;i=j[e+28>>2];if(i){break u}j[o+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+12>>2];j[a>>2]=j[e+8>>2];j[a+4>>2]=b;h[d+g|0]=1;j[m>>2]=j[m>>2]+1}i=0}h[n+80|0]=0;break a}of(e+16|0,De(j[a+60>>2],i),g);f=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=f;g=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=g;d=(b<<5)+a|0;i=d;y:{z:{if(k[d+80|0]){f=j[e+20>>2];d=(j[d+72>>2]+(j[m>>2]<<3)|0)-8|0;j[d>>2]=j[e+16>>2];j[d+4>>2]=f;break z}d=j[m>>2];A:{if(!d){break A}n=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[n>>2]-f|0)+1>>>0>2){break A}if((j[n+4>>2]-g|0)+1>>>0<3){break y}}g=(b<<5)+a|0;q=g;f=j[g+68>>2];j[e+8>>2]=0;o=d+1|0;B:{if(o>>>0<=f>>>0){f=j[g+76>>2];break B}n=j[g+88>>2];d=f;while(1){d=((d>>>1|0)+d|0)+16|0;if(o>>>0>d>>>0){continue}break}o=(b<<5)+a|0;g=o;u=g,v=xe(n,8,f,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break c}f=xe(n,1,f,d,j[o+76>>2],e+8|0);j[o+76>>2]=f;g=j[e+8>>2];if(g){break c}j[q+68>>2]=d;d=j[m>>2]}n=j[e+20>>2];g=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;j[g>>2]=j[e+16>>2];j[g+4>>2]=n;h[d+f|0]=1;j[m>>2]=j[m>>2]+1}h[i+80|0]=0}g=0;if(c){break b}of(e+16|0,j[a+60>>2],l+j[a+4>>2]|0);c=j[e+16>>2]+j[a+8>>2]|0;j[e+16>>2]=c;f=j[e+20>>2]+j[a+12>>2]|0;j[e+20>>2]=f;C:{D:{if(k[i+80|0]){a=(j[((b<<5)+a|0)+72>>2]+(j[m>>2]<<3)|0)-8|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;break D}d=j[m>>2];E:{if(!d){break E}l=j[((b<<5)+a|0)+72>>2]+(d-1<<3)|0;if((j[l>>2]-c|0)+1>>>0>2){break E}if((j[l+4>>2]-f|0)+1>>>0<3){break b}}f=(b<<5)+a|0;n=f;c=j[f+68>>2];j[e+8>>2]=0;l=d+1|0;F:{if(l>>>0<=c>>>0){c=j[f+76>>2];break F}f=j[f+88>>2];d=c;while(1){d=((d>>>1|0)+d|0)+16|0;if(l>>>0>d>>>0){continue}break}l=(b<<5)+a|0;g=l;u=g,v=xe(f,8,c,d,j[g+72>>2],e+8|0),j[u+72>>2]=v;g=j[e+8>>2];if(g){break C}c=xe(f,1,c,d,j[l+76>>2],e+8|0);j[l+76>>2]=c;g=j[e+8>>2];if(g){break C}j[n+68>>2]=d;d=j[m>>2]}a=j[((b<<5)+a|0)+72>>2]+(d<<3)|0;b=j[e+20>>2];j[a>>2]=j[e+16>>2];j[a+4>>2]=b;h[c+d|0]=1;j[m>>2]=j[m>>2]+1}g=0}h[i+80|0]=0;break b}h[n+80|0]=0;break a}h[n+80|0]=0;break a}h[i+80|0]=0}oe=e+32|0;return g}oe=e+32|0;return i}function Zn(a,b,c,d,e,f,g,i,l,n,o){var q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;z=oe-16|0;oe=z;j[z+4>>2]=0;a:{if(!a){break a}b:{c:{d:{e:{f:{if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}g:{if(!x){v=j[a+4>>2];q=k[v+8|0];break g}w=xn(a,z+4|0);y=!w;v=j[a+4>>2];q=k[v+8|0];if(w){break g}if((q&255)==8){break f}}if((q&255)!=32){break a}q=j[v+24>>2];if(!q){break a}u=ug(0,i,l+2|0,32,j[v+12>>2],j[v+16>>2],j[v+20>>2],q);if(!u){break a}j[u+12>>2]=l;xj(a,z+8|0);w=u+12|0;n=n*65536;V=n;o=o*65536;R=o;if(y){break e}switch(j[z+8>>2]){case 4:break c;case 0:break d;default:break b}}u=ug(0,i,l+2|0,8,0,0,0,0);if(!u){break a}t=1;q=j[j[a+4>>2]+4>>2];i=j[q>>2];if((i|0)>=1){while(1){w=s<<2;i=w+j[j[j[u+4>>2]+4>>2]+4>>2]|0;q=w+j[q+4>>2]|0;q=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[i|0]=q;h[i+1|0]=q>>>8;h[i+2|0]=q>>>16;h[i+3|0]=q>>>24;q=j[j[a+4>>2]+4>>2];i=j[q>>2];s=s+1|0;if((i|0)>(s|0)){continue}break}}j[j[j[u+4>>2]+4>>2]>>2]=i;j[u+12>>2]=l;xj(a,z+8|0);w=u+12|0;V=n*65536;R=o*65536}o=R;n=V;Mk(u,1,j[z+4>>2]);Dh(u,0,j[z+4>>2]);break b}j[z+8>>2]=1;break b}i=Pi(j[u+4>>2],255,255,255,0);j[z+4>>2]=i;Dh(u,0,i);Mk(u,1,j[z+4>>2])}cg(u,j[z+8>>2]);if(k[a|0]&2){Eg(a)}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{b=b/90;s:{if(r(b)<2147483648){i=~~b;break s}i=-2147483648}if(+(i|0)==b){c=(i|0)%4|0;c=(c|0)<0?c+4|0:c;e=j[u+8>>2];y=j[u+16>>2];if(!t){break l}i=1;v=-1;l=f?-1:1;t=j[a+16>>2];d=g?0-t|0:t;switch(c|0){case 2:break p;case 1:break q;case 0:break r;default:break o}}B=d<<16;if(r(n)<2147483648){i=~~n}else{i=-2147483648}F=i;l=p(65536-F|0,c);i=j[a+12>>2];I=j[w>>2];q=i-I<<15;C=j[a+8>>2];A=j[u+8>>2];y=C-A<<15;if(!(r(o)<2147483648)){break k}v=~~o;if(!t){break j}break i}c=d-p(j[a+8>>2],l)|0;v=1;break m}c=p(d,j[a+12>>2])+l|0;l=0-d|0;break m}c=p(j[a+8>>2],l)-d|0;d=0-l|0;break n}c=0-(p(d,j[a+12>>2])+l|0)|0;v=1}l=d;i=-1}q=j[a+20>>2];q=((f?0-i|0:i)|0)<=-1?(j[a+8>>2]+q|0)-1|0:q;q=((g?0-v|0:v)|0)<=-1?p(t,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}e=y-e|0;s=j[u+20>>2];v=0;f=(l|0)!=1;while(1){d=j[u+8>>2];t:{if(!f){Ge(s,q,d);d=j[u+8>>2];s=d+s|0;q=d+q|0;break t}if(!d){break t}d=d+s|0;while(1){h[s|0]=k[q|0];q=l+q|0;s=s+1|0;if((d|0)!=(s|0)){continue}break}s=d}s=e+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}l=f?-4:4;i=j[a+16>>2];d=g?0-i|0:i;u:{v:{switch(c|0){case 0:c=d-p(j[a+8>>2],l)|0;s=1;d=1;break u;case 1:c=p(d,j[a+12>>2])+l|0;s=1;l=0-d|0;d=-1;break u;case 2:c=p(j[a+8>>2],l)-d|0;s=-1;l=0-l|0;d=-1;break u;default:break v}}c=0-(p(d,j[a+12>>2])+l|0)|0;s=-1;l=d;d=1}q=j[a+20>>2];q=((f?0-s|0:s)|0)<=-1?((j[a+8>>2]<<2)+q|0)-4|0:q;q=((g?0-d|0:d)|0)<=-1?p(i,j[a+12>>2]-1|0)+q|0:q;if(j[w>>2]<1){break h}f=y-(e<<2)|0;s=j[u+20>>2];v=0;g=(l|0)!=4;while(1){d=j[u+8>>2]<<2;w:{if(!g){Ge(s,q,d);d=j[u+8>>2]<<2;s=d+s|0;q=d+q|0;break w}if(!d){break w}d=d+s|0;while(1){e=k[q|0]|k[q+1|0]<<8|(k[q+2|0]<<16|k[q+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;q=l+q|0;s=s+4|0;if((d|0)!=(s|0)){continue}break}s=d}s=f+s|0;q=c+q|0;v=v+1|0;if((v|0)>2]){continue}break}break h}v=-2147483648;if(t){break i}}S=i-1|0;T=C-1|0;W=j[u+16>>2]-(A<<2)|0;c=B-p(c,v)|0;s=j[u+20>>2];if(e){if((I|0)<1){break h}$=c+q|0;aa=l+y|0;ba=(A|0)<1;while(1){if(!ba){e=d-U|0;c=p(e,v)+aa|0;i=$-p(e,F)|0;e=0;while(1){l=i>>16;l=g?S-l|0:l;x:{if((l|0)>=(S|0)){break x}q=c>>16;q=f?T-q|0:q;if((q|0)>=(T|0)|(l|q)<0){break x}w=j[a+16>>2];q=(j[a+20>>2]+p(w,l)|0)+(q<<2)|0;l=k[q+4|0];B=k[q+3|0];C=k[q+2|0];G=k[q+1|0];D=k[q|0];J=k[q+7|0];K=k[q+6|0];x=k[q+5|0];q=(q+4|0)+((w|0)/4<<2)|0;L=k[q+3|0];M=k[q+2|0];N=k[q+1|0];O=k[q|0];q=q-4|0;H=k[q+3|0];P=k[q+2|0];Q=k[q+1|0];q=k[q|0];y:{if(!f){y=B;t=C;E=G;w=D;B=J;C=K;G=x;D=l;J=H;K=P;x=Q;l=q;H=L;P=M;Q=N;q=O;break y}y=J;t=K;E=x;w=l;J=L;K=M;x=N;l=O}z:{if(!g){L=y;M=t;N=E;O=w;X=B;Y=C;Z=G;_=D;y=J;t=K;E=x;w=l;B=H;C=P;G=Q;D=q;break z}L=J;M=K;N=x;O=l;X=H;Y=P;Z=Q;_=q}l=c&65535;q=L&255;H=(p(l,(X&255)-q|0)>>>16|0)+q|0;q=i&65535;h[s+3|0]=H+(p(q,((p(l,(B&255)-(y&255)|0)>>>16|0)+y&255)-(H&255)|0)>>>16|0);x=(p(l,(C&255)-(t&255)|0)>>>16|0)+t&255;t=M&255;t=(p(l,(Y&255)-t|0)>>>16|0)+t|0;h[s+2|0]=(p(q,x-(t&255)|0)>>>16|0)+t;t=N&255;t=(p(l,(Z&255)-t|0)>>>16|0)+t|0;h[s+1|0]=(p(q,((p(l,(G&255)-(E&255)|0)>>>16|0)+E&255)-(t&255)|0)>>>16|0)+t;x=(p(l,(D&255)-(w&255)|0)>>>16|0)+w&255;w=O&255;l=(p(l,(_&255)-w|0)>>>16|0)+w|0;h[s|0]=(p(q,x-(l&255)|0)>>>16|0)+l}s=s+4|0;i=i+v|0;c=c+F|0;e=e+1|0;if((A|0)!=(e|0)){continue}break}}s=s+W|0;U=U+1|0;if((U|0)!=(I|0)){continue}break}break h}if((I|0)<1){break h}B=c+q|0;y=l+y|0;t=0;while(1){if((A|0)>=1){c=d-t|0;q=y+p(c,v)|0;i=B-p(c,F)|0;c=0;while(1){e=q>>16;A:{if(e>>>0>=m[a+8>>2]){break A}l=i>>16;if(l>>>0>=m[a+12>>2]){break A}e=(j[a+20>>2]+p(j[a+16>>2],g?S-l|0:l)|0)+((f?T-e|0:e)<<2)|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);h[s|0]=e;h[s+1|0]=e>>>8;h[s+2|0]=e>>>16;h[s+3|0]=e>>>24;A=j[u+8>>2]}s=s+4|0;i=i+v|0;q=q+F|0;c=c+1|0;if((A|0)>(c|0)){continue}break}I=j[w>>2]}s=s+W|0;t=t+1|0;if((I|0)>(t|0)){continue}break}break h}i=j[u+20>>2];C=j[u+16>>2];j[z+12>>2]=0;e=i;if(a){x=j[j[a+52>>2]+68>>2]>>>8&1}else{x=0}if(x){xn(a,z+12|0);x=k[z+12|0]}else{x=0}Oe(e,x,p(j[w>>2],j[u+16>>2]));s=j[w>>2];if((s|0)<1){break h}C=C-A|0;B=q+B|0;G=p(c,v);y=l+y|0;e=j[u+8>>2];A=0;while(1){if((e|0)>=1){c=d-A|0;s=y+p(c,v)|0;q=B-(G+p(c,F)|0)|0;c=0;while(1){l=s>>16;D=j[a+8>>2];B:{if(l>>>0>=D>>>0){break B}t=q>>16;E=j[a+12>>2];if(t>>>0>=E>>>0){break B}h[i|0]=k[(j[a+20>>2]+p(j[a+16>>2],g?E+(t^-1)|0:t)|0)+(f?D+(l^-1)|0:l)|0];e=j[u+8>>2]}i=i+1|0;q=q+v|0;s=s+F|0;c=c+1|0;if((e|0)>(c|0)){continue}break}s=j[w>>2]}i=i+C|0;A=A+1|0;if((A|0)<(s|0)){continue}break}}if(k[a|0]&2){jg(a)}s=u}oe=z+16|0;return s}function Px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,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;r=j[a+28>>2];if(r){t=j[a+36>>2];u=j[a+16>>2];b=j[a+44>>2];l=b;c=j[a+24>>2];v=c&7;w=(c+7|0)/8|0;g=j[a>>2];a=j[a+20>>2];p=k[b+9|0];q=p-1|0;while(1){s=w;a:{b:{switch(v-1|0){default:c=7;break a;case 0:c=6;break a;case 1:c=5;break a;case 2:c=4;break a;case 3:c=3;break a;case 4:c=2;break a;case 5:c=1;break a;case 6:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=j[g>>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];e:{f:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break e;case 3:break f;default:break e}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];g:{h:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break g;case 3:break h;default:break g}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];i:{j:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break i;case 3:break j;default:break i}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];k:{l:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break k;case 3:break l;default:break k}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];m:{n:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break m;case 3:break n;default:break m}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];o:{p:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break o;case 3:break p;default:break o}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];q:{r:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break q;case 3:break r;default:break q}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];m=c>>>2|0;d=m&255;n=c>>>12|0;e=n&255;o=c>>>22|0;f=o&255;c=k[j[58750]+(c>>>30|0)|0];s:{t:{switch(q|0){case 0:h[a|0]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>1]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>>3|0)+a|0]=o;h[(k[b+33|0]>>>3|0)+a|0]=n;h[(k[b+34|0]>>>3|0)+a|0]=m;break s;case 3:break t;default:break s}}j[a>>2]=e>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>>k[b+31|0]<>2];if(u){o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:d=3;break a;case 0:d=2;break a;case 1:d=1;break a;case 2:break b}}d=0}while(1){c:{d:{switch(d|0){case 0:c=0;d=0;g=0;e=0;e:{f:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break e;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break e;case 3:break f;default:break e}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=1;continue;case 1:c=0;d=0;g=0;e=0;g:{h:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break g;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break g;case 3:break h;default:break g}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=2;continue;case 2:c=0;d=0;g=0;e=0;i:{j:{switch(t|0){case 0:c=k[f|0];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 1:c=l[f>>1];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0];break i;case 2:g=k[(k[b+34|0]>>>3|0)+f|0];d=k[(k[b+33|0]>>>3|0)+f|0];c=k[(k[b+32|0]>>>3|0)+f|0];e=255;break i;case 3:break j;default:break i}}c=j[f>>2];e=k[j[(k[b+31|0]<<2)+234976>>2]+((c&j[b+24>>2])>>>k[b+35|0]|0)|0];g=k[j[(k[b+30|0]<<2)+234976>>2]+((c&j[b+20>>2])>>>k[b+34|0]|0)|0];d=k[j[(k[b+29|0]<<2)+234976>>2]+((c&j[b+16>>2])>>>k[b+33|0]|0)|0];c=k[j[(k[b+28|0]<<2)+234976>>2]+((c&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=d;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[d+1|0];q=c;c=k[d|0];d=k[d+2|0];d=((p(n-m|0,e)|0)/255|0)+m>>>3&28|((p(q-c|0,e)|0)/255|0)+c&-32|(((p(g-d|0,e)|0)/255|0)+d&192)>>>6;e=u-1|0;c=i;if(o){d=k[(d&255)+o|0]}h[c|0]=d;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;d=3;continue;default:break d}}e=0;g=0;c=0;d=0;k:{l:{switch(t|0){case 0:e=k[f|0];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 1:e=l[f>>1];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0];break k;case 2:c=k[(k[b+34|0]>>>3|0)+f|0];g=k[(k[b+33|0]>>>3|0)+f|0];e=k[(k[b+32|0]>>>3|0)+f|0];d=255;break k;case 3:break l;default:break k}}e=j[f>>2];d=k[j[(k[b+31|0]<<2)+234976>>2]+((e&j[b+24>>2])>>>k[b+35|0]|0)|0];c=k[j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0];g=k[j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0];e=k[j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0]}n=g;g=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;m=k[g+1|0];q=e;e=k[g|0];n=((p(n-m|0,d)|0)/255|0)+m>>>3&28|((p(q-e|0,d)|0)/255|0)+e&-32;e=d;d=k[g+2|0];d=n|(((p(e,c-d|0)|0)/255|0)+d&192)>>>6;e=i;if(o){d=k[(d&255)+o|0]}h[e|0]=d;f=f+r|0;i=i+1|0;d=0;continue}break}i=i+v|0;f=f+w|0;u=e;if(e){continue}break}}}function wG(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-160|0;oe=f;q=j[b+100>>2];e=j[b+104>>2];j[b+132>>2]=0;d=Fe(e,0);j[f+156>>2]=d;a:{b:{if(d){break b}d=$e(e,205568,f+152|0);j[f+156>>2]=d;if(d){break b}j[f+156>>2]=2;c:{if(l[f+152>>1]!=23117){break c}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;if(d){break b}d=$e(e,205600,f+144|0);j[f+156>>2]=d;if(d){break b}d=2;j[f+156>>2]=2;d:{e:{f:{g:{switch(l[f+144>>1]-17742|0){case 0:d=Fe(e,l[f+146>>1]+l[f+154>>1]|0);j[f+156>>2]=d;if(d){break b}d=_e(e,l[f+148>>1]-l[f+146>>1]|0);j[f+156>>2]=d;if(d){break b}o=pg(e);n=pg(e);h:{if(n){while(1){d=pg(e);g=((j[e+8>>2]+j[e+32>>2]|0)-j[e+36>>2]|0)+4|0;if((n&65535)==32776){break h}j[e+32>>2]=(j[e+32>>2]+p(d,12)|0)+4;n=pg(e);if(n){continue}break}}d=0;g=0}Ve(e);if(!(d?g:0)){j[f+156>>2]=3;break b}if(m[e+4>>2]>>0){j[f+156>>2]=3;break b}j[b>>2]=d;if((c|0)>=(d|0)){j[f+156>>2]=6;break b}if((c|0)<0){break b}y=b,z=He(q,172,f+156|0),j[y+132>>2]=z;if(j[f+156>>2]){break b}d=Fe(e,g+p(c,12)|0);j[f+156>>2]=d;if(d){break c}d=_e(e,12);j[f+156>>2]=d;if(d){break c}d=pg(e);j[j[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=j[e+32>>2]+8;Ve(e);d=Nl(j[b+132>>2],e);j[f+156>>2]=d;break f;case 2:break g;default:break f}}d=Fe(e,l[f+154>>1]);j[f+156>>2]=d;n=2;i:{if(d){break i}d=$e(e,205632,f+120|0);j[f+156>>2]=d;if(d){break i}j:{if(j[f+120>>2]!=17744|l[f+124>>1]!=332|(l[f+128>>1]!=224|l[f+130>>1]!=267)){break j}j[b>>2]=0;k:{l:{if(!l[f+126>>1]){break l}m:{while(1){n:{d=$e(e,205696,f+96|0);j[f+156>>2]=d;if(d){break n}if(j[f+132>>2]==j[f+104>>2]){break m}g=g+1|0;if(l[f+126>>1]>(g&65535)>>>0){continue}break l}break}break i}d=Fe(e,j[f+112>>2]);j[f+156>>2]=d;if(d){break i}d=$e(e,205728,f+80|0);j[f+156>>2]=d;if(d){break i}d=0;o=1;n=0;if(l[f+94>>1]==(0-l[f+92>>1]|0)){break i}t=j[f+112>>2];v=t+16|0;g=0;while(1){d=Fe(e,(g<<3)+v|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205760,f+40|0);j[f+156>>2]=d;if(d){break k}d=j[f+44>>2];if((d|0)>=0){break l}d=d&2147483647;j[f+44>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){break k}d=$e(e,205728,f- -64|0);j[f+156>>2]=d;if(d){break k}if(l[f+78>>1]!=(0-l[f+76>>1]|0)){w=g+16|0;o=0;d=0;s=0;while(1){d=Fe(e,(d<<3)+w|0);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,205760,f+32|0);j[f+156>>2]=d;if(d){n=2;break i}d=j[f+36>>2];if((d|0)>=0){break j}d=d&2147483647;j[f+36>>2]=d;g=d+j[f+112>>2]|0;d=Fe(e,g);j[f+156>>2]=d;if(d){n=2;break i}d=$e(e,205728,f+48|0);j[f+156>>2]=d;if(d){n=2;break i}if(l[f+62>>1]!=(0-l[f+60>>1]|0)){x=g+16|0;d=0;n=0;while(1){d=Fe(e,(d<<3)+x|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205760,f+24|0);j[f+156>>2]=d;if(d){break k}if(j[f+36>>2]<=-1){break l}if(j[f+40>>2]==8){d=Fe(e,j[f+28>>2]+t|0);j[f+156>>2]=d;if(d){break k}d=$e(e,205776,f+8|0);j[f+156>>2]=d;if(d){break k}g=b;d=j[b>>2];if((d|0)==(c|0)){r=He(q,172,f+156|0);j[b+132>>2]=r;d=j[f+156>>2];if(d){break k}j[r>>2]=(j[f+8>>2]+j[f+112>>2]|0)-j[f+104>>2];j[r+164>>2]=j[f+12>>2];d=Nl(r,e);j[f+156>>2]=d;if(d){n=13;break i}d=j[b>>2]}j[g>>2]=d+1}n=n+1|0;d=n&65535;if(d>>>0>1]+l[f+60>>1]>>>0){continue}break}}s=s+1|0;d=s&65535;if(d>>>0>1]+l[f+76>>1]>>>0){continue}break}}o=1;d=0;n=0;u=u+1|0;g=u&65535;if(g>>>0>1]+l[f+92>>1]>>>0){continue}break}break i}d=3;j[f+156>>2]=3}o=0;n=2;break i}d=3;j[f+156>>2]=3;n=2}if(!o){break e}}e=j[b>>2];if(!e){j[f+156>>2]=3;break b}if((c|0)<(e|0)){break d}j[f+156>>2]=6;break b}switch(n|0){case 2:break b;case 0:case 13:break d;default:break a}}if(!d){break b}}d=j[b+132>>2];if(!d){break b}e=j[b+100>>2];if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}g=j[d+168>>2];if(g){qe[j[e+8>>2]](e,g)}j[d+168>>2]=0;if(d){qe[j[e+8>>2]](e,d)}j[b+132>>2]=0}e=j[f+156>>2]}j[f+96>>2]=e;o:{if((c|0)<=-1){d=0;if(!e){break o}}p:{q:{r:{if((e&255)==2){e=He(q,172,f+96|0);j[b+132>>2]=e;d=j[f+96>>2];if(d){break o}j[b>>2]=1;j[e>>2]=0;j[e+164>>2]=j[a+4>>2];a=Nl(e,a);j[f+96>>2]=a;if(a){break p}if((c|0)>=1){j[f+96>>2]=6;break p}d=0;if((c|0)>=0){break r}break o}if(e){break q}}j[b+4>>2]=c;a=j[b+8>>2];j[b+8>>2]=a|18;c=j[b+132>>2];if(l[c+100>>1]==l[c+102>>1]){j[b+8>>2]=a|22}if(k[c+86|0]){j[b+12>>2]=j[b+12>>2]|1}if(l[c+90>>1]>=800){j[b+12>>2]=j[b+12>>2]|2}d=xe(q,16,0,1,0,f+96|0);j[b+32>>2]=d;if(j[f+96>>2]){break p}j[b+28>>2]=1;i[d+2>>1]=l[c+100>>1];i[d>>1]=l[c+84>>1]+l[c+96>>1];e=l[c+74>>1]<<6;j[d+4>>2]=e;a=l[c+78>>1];g=e;e=l[c+76>>1];e=e?e:72;g=Ne(g,e,72)+32&-64;j[d+12>>2]=g;n=a?a:72;a=l[c+96>>1]<<6;s:{if((a|0)>=(g|0)){a=j[d+4>>2];break s}j[d+12>>2]=a;a=Ne(a,72,e);j[d+4>>2]=a}y=d,z=Ne(a,n,72)+32&-64,j[y+8>>2]=z;j[f+120>>2]=b;j[f+124>>2]=0;j[f+128>>2]=0;if(k[c+92|0]==77){i[f+128>>1]=1;j[f+124>>2]=1634889070}a=qg(205492,0,f+120|0,0);j[f+96>>2]=a;if(a){break p}if(j[b+36>>2]){j[b+92>>2]=j[j[b+40>>2]>>2]}a=k[c+105|0];d=k[c+104|0];if(a>>>0>>0){j[f+96>>2]=3;break p}j[b+16>>2]=(a-d|0)+2;a=j[c+8>>2];d=j[c+116>>2];if(a>>>0<=d>>>0){j[f+96>>2]=3;break p}a=a-d|0;d=He(q,a+1|0,f+96|0);j[c+168>>2]=d;if(j[f+96>>2]){break p}Ae(d,j[c+160>>2]+j[c+116>>2]|0,a);h[a+j[c+168>>2]|0]=0;d=a;a=j[c+168>>2];a=xe(q,1,d,Le(a)+1|0,a,f+96|0);j[c+168>>2]=a;if(j[f+96>>2]){break p}j[b+24>>2]=205532;j[b+20>>2]=a;c=j[b+12>>2];a=c&1;if(c&2){if(a){j[b+24>>2]=205540;d=0;break o}j[b+24>>2]=205552;d=0;break o}d=0;if(!a){break o}j[b+24>>2]=205557;break o}d=e;if(!b){break o}}a=j[b+100>>2];d=j[b+132>>2];if(d){if(j[d+160>>2]){jf(j[b+104>>2],d+160|0)}c=a;e=j[d+168>>2];if(e){qe[j[c+8>>2]](c,e)}j[d+168>>2]=0;if(d){qe[j[a+8>>2]](a,d)}j[b+132>>2]=0}c=j[b+32>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+28>>2]=0;j[b+32>>2]=0;d=j[f+96>>2]}oe=f+160|0;return d|0}function JD(a,b){var c=0,d=0,e=0,f=0,g=0,l=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=q(0),F=0;d=96085;g=oe-304|0;oe=g;e=k[96085];a:{if(!e){break a}b:{c:{while(1){d:{e=e&255;e:{if((e|0)==32|e-9>>>0<5){while(1){e=d;d=d+1|0;c=k[e+1|0];if((c|0)==32|c-9>>>0<5){continue}break}kg(a,0,0);while(1){c=j[a+4>>2];f:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break f}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}d=j[a+4>>2];if(j[a+104>>2]){d=d-1|0;j[a+4>>2]=d}l=d-j[a+8>>2]|0;c=l;l=c>>31;d=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=d+c|0;r=r+l|0;r=c>>>0>t>>>0?r+1|0:r;break e}g:{h:{i:{e=k[d|0];if((e|0)==37){c=k[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}kg(a,0,0);e=((e|0)==37)+d|0;c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if((c|0)!=k[e|0]){if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}A=0;if((c|0)>=0){break a}break b}c=t+1|0;r=c>>>0<1?r+1|0:r;t=c;break e}l=0;e=d+2|0;break g}if(!(k[d+2|0]!=36|c-48>>>0>=10)){l=ID(b,k[d+1|0]-48|0);e=d+3|0;break g}l=j[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(k[e|0]-48>>>0<10){while(1){d=(k[e|0]+p(d,10)|0)-48|0;c=k[e+1|0];e=e+1|0;if(c-48>>>0<10){continue}break}}c=e;f=k[c|0];k:{if((f|0)!=109){break k}v=0;A=(l|0)!=0;f=k[e+1|0];w=0;c=e+1|0}e=c+1|0;s=3;l:{m:{switch(f-65|0){case 39:f=c+2|0;c=k[c+1|0]==104;e=c?f:e;s=c?-2:-1;break l;case 43:f=c+2|0;c=k[c+1|0]==108;e=c?f:e;s=c?3:1;break l;case 51:case 57:s=1;break l;case 11:s=2;break l;case 41:break l;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break m;default:break b}}s=0;e=c}f=k[e|0];c=(f&47)==3;z=c?1:s;x=c?f|32:f;n:{if((x|0)==91){break n}o:{if((x|0)!=110){if((x|0)!=99){break o}d=(d|0)>1?d:1;break n}lp(l,z,t,r);break e}kg(a,0,0);while(1){c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break p}c=ff(a)}if((c|0)==32|c-9>>>0<5){continue}break}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;c=c>>31;u=f;y=r+j[a+124>>2]|0;f=t+j[a+120>>2]|0;y=f>>>0>>0?y+1|0:y;t=u+f|0;c=c+y|0;c=f>>>0>t>>>0?c+1|0:c;r=c}y=d;B=d>>31;kg(a,d,B);c=j[a+104>>2];f=j[a+4>>2];q:{if(c>>>0>f>>>0){j[a+4>>2]=f+1;break q}if((ff(a)|0)<0){break b}c=j[a+104>>2]}if(c){j[a+4>>2]=j[a+4>>2]-1}c=16;r:{s:{t:{u:{v:{w:{x:{switch(x-88|0){default:c=x-65|0;if(c>>>0>6|!(1<>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!l){break r}y=j[g+8>>2];f=j[g+12>>2];d=j[g>>2];c=j[g+4>>2];switch(z|0){case 2:break t;case 1:break u;case 0:break v;default:break r};case 3:case 11:case 27:if((x&239)==99){Ee(g+32|0,-1,257);h[g+32|0]=0;if((x|0)!=115){break s}h[g+65|0]=0;h[g+46|0]=0;i[g+42>>1]=0;i[g+44>>1]=0;break s}u=k[e+1|0];f=(u|0)==94;Ee(g+32|0,f,257);h[g+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=k[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}s=(u|0)!=94;break y}s=(u|0)!=94;h[g+78|0]=s;break z}s=(u|0)!=94;h[g+126|0]=s}c=c+1|0}e=c;while(1){c=k[e|0];B:{if((c|0)!=45){if(!c){break b}if((c|0)!=93){break B}break s}c=45;u=k[e+1|0];if(!u|(u|0)==93){break B}f=e+1|0;e=k[e-1|0];C:{if(u>>>0<=e>>>0){c=u;break C}while(1){e=e+1|0;h[e+(g+32|0)|0]=s;c=k[f|0];if(e>>>0>>0){continue}break}}e=f}h[(c+g|0)+33|0]=s;e=e+1|0;continue};case 23:c=8;break w;case 12:case 29:c=10;break w;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break r;case 0:case 24:case 32:break w;case 17:break x}}c=0}y=mp(a,c,0,-1,-1);f=pe;d=j[a+4>>2]-j[a+8>>2]|0;c=d;if(j[a+120>>2]==(0-c|0)&j[a+124>>2]==(0-((c>>31)+((c|0)!=0)|0)|0)){break b}if(!(!l|(x|0)!=112)){j[l>>2]=y;break r}lp(l,z,y,f);break r}D=l,E=vD(d,c,y,f),n[D>>2]=E;break r}D=l,F=rl(d,c,y,f),o[D>>3]=F;break r}j[l>>2]=d;j[l+4>>2]=c;j[l+8>>2]=y;j[l+12>>2]=f;break r}x=(x|0)==99;s=x?d+1|0:31;u=(z|0)!=1;D:{if(!u){c=l;if(A){c=Te(s<<2);if(!c){break c}}j[g+296>>2]=0;j[g+300>>2]=0;d=0;while(1){w=c;E:{while(1){c=j[a+4>>2];F:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break F}c=ff(a)}if(!k[(c+g|0)+33|0]){break E}h[g+27|0]=c;c=KD(g+28|0,g+27|0,g+296|0);if((c|0)==-2){continue}if((c|0)==-1){break d}if(w){j[(d<<2)+w>>2]=j[g+28>>2];d=d+1|0}if(A^1|(d|0)!=(s|0)){continue}break}s=s<<1|1;c=Vf(w,s<<2);if(c){continue}break d}break}c=g+296|0;f=1;G:{if(!c){break G}f=!j[c>>2]}if(!f){break d}v=0;break D}if(A){d=0;c=Te(s);if(!c){break c}while(1){v=c;while(1){c=j[a+4>>2];H:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break H}c=ff(a)}if(!k[(c+g|0)+33|0]){w=0;break D}h[d+v|0]=c;d=d+1|0;if((s|0)!=(d|0)){continue}break}w=0;s=s<<1|1;c=Vf(v,s);if(c){continue}break}break b}d=0;if(l){while(1){c=j[a+4>>2];I:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break I}c=ff(a)}if(k[(c+g|0)+33|0]){h[d+l|0]=c;d=d+1|0;continue}else{w=0;v=l;break D}}}while(1){c=j[a+4>>2];J:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break J}c=ff(a)}if(k[(c+g|0)+33|0]){continue}break}v=0;w=0}c=j[a+4>>2];if(j[a+104>>2]){c=c-1|0;j[a+4>>2]=c}c=c-j[a+8>>2]|0;f=c;z=c+j[a+120>>2]|0;c=j[a+124>>2]+(c>>31)|0;c=f>>>0>z>>>0?c+1|0:c;if(!(c|z)|(x?(y|0)!=(z|0)|(c|0)!=(B|0):0)){break b}K:{if(!A){break K}if(!u){j[l>>2]=w;break K}j[l>>2]=v}if(x){break r}if(w){j[(d<<2)+w>>2]=0}if(!v){v=0;break r}h[d+v|0]=0}d=j[a+4>>2]-j[a+8>>2]|0;c=d;d=c>>31;f=c;r=r+j[a+124>>2]|0;c=t+j[a+120>>2]|0;r=c>>>0>>0?r+1|0:r;t=f+c|0;r=d+r|0;r=c>>>0>t>>>0?r+1|0:r;C=((l|0)!=0)+C|0}d=e+1|0;e=k[e+1|0];if(e){continue}break a}break}v=0;break b}v=0;w=0}if(!A){break a}ze(v);ze(w)}oe=g+304|0}function lz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,l=0,m=0,p=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=q(0),L=q(0),M=0,N=0,O=0,P=0;d=oe+ -64|0;oe=d;a:{b:{e=j[a+436>>2];f=j[e>>2];if(f){break b}f=j[e+4>>2];j[e>>2]=f;if(f){break b}f=tj(j[a+188>>2]);if(f){j[e>>2]=f;j[e+4>>2]=f;break b}f=j[e>>2];if(f){break b}a=-1;break a}if(b){a=1;while(1){c:{d:{e:{switch(j[b>>2]-1|0){case 0:u=b+8|0;a=1;break c;case 1:s=j[b+4>>2]?b+8|0:0;a=1;break c;case 3:i=k[b+11|0];m=k[b+10|0];e=k[b+9|0];a=k[b+8|0];vg(f,0);Dh(f,0,Pi(j[f+4>>2],a,e,m,i));a=1;break c;case 4:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];f:{if(!a){break f}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break f}vg(f,u)}a=c+e|0;if(!x){Xz(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}Uz(f,a,w,x,m,i,p,l);break d;case 5:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];g:{if(!a){break g}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break g}vg(f,u)}a=c+e|0;if(!x){Qz(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}Hz(f,a,w,x,m,i,p,l);break d;case 6:e=j[b+4>>2];x=j[b+16>>2];w=j[b+8>>2];l=k[b+15|0];p=k[b+14|0];i=k[b+13|0];m=k[b+12|0];h:{if(!a){break h}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break h}vg(f,u)}a=c+e|0;if(!x){Vy(f,a,w,Pi(j[f+4>>2],m,i,p,l));break d}zz(f,a,w,x,m,i,p,l);break d;case 7:e=j[b+4>>2];l=j[j[b+20>>2]+76>>2];i:{if(!a){break i}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break i}vg(f,u)}A=c+e|0;w=j[b+16>>2];x=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];p=k[b+15|0];j:{if(!((a&(m&e))!=255|(p|0)!=255|(w|0)==2)){if((w|0)!=4){break j}}zj(x,0)}i=A+16|0;bi(x,e,m,a);Oi(x,p);cg(x,w);if(!(j[A+8>>2]!=j[A+24>>2]|j[A+12>>2]!=j[A+28>>2])){gh(l,A,f,i);break d}a=0;zj(f,0);vn(l,A,f,i);break c;case 8:break e;default:break c}}e=j[b+4>>2];k:{if(!a){break k}if(s){j[d+48>>2]=j[u>>2]+j[s>>2];j[d+52>>2]=j[u+4>>2]+j[s+4>>2];j[d+56>>2]=j[s+8>>2];j[d+60>>2]=j[s+12>>2];Fg(u,d+48|0,d+48|0);vg(f,d+48|0);break k}vg(f,u)}t=c+e|0;p=j[b+16>>2];l=j[j[b+20>>2]+76>>2];a=k[b+14|0];m=k[b+13|0];e=k[b+12|0];i=k[b+15|0];l:{if(!((a&(m&e))!=255|(i|0)!=255|(p|0)==2)){if((p|0)!=4){break l}}zj(l,0)}bi(l,e,m,a);Oi(l,i);cg(l,p);w=j[t+48>>2];g=o[t+32>>3];p=j[b+20>>2];v=j[p+76>>2];j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=j[t+24>>2];j[d+60>>2]=j[t+28>>2];if(k[v|0]&2){Eg(v)}a=j[v+4>>2];a=Aj(j[v+20>>2],j[v+8>>2],j[v+12>>2],k[a+8|0],j[v+16>>2],j[a+12>>2],j[a+16>>2],j[a+20>>2],j[a+24>>2]);if(!a){if(!(k[v|0]&2)){break d}jg(v);break d}xj(v,d+20|0);e=d+19|0;if(v){if(e){h[e|0]=k[j[v+52>>2]+79|0]}}wn(v,d+18|0,d+17|0,d+16|0);m=j[v+4>>2];m:{if(!(k[m+8|0]!=32|(j[m>>2]&983040)!=393216)){l=0;if(j[m+24>>2]){break m}}l=1}e=j[t+8>>2];n:{if(!(j[t>>2]|((e|0)!=j[t+24>>2]|j[t+12>>2]!=j[t+28>>2]))){if(!j[t+4>>2]){break n}}l=1}o:{if(!(j[t>>2]|((e|0)!=j[v+8>>2]|j[t+12>>2]!=j[v+12>>2]))){if(!j[t+4>>2]){break o}}l=1}J=1;B=0;i=j[d+20>>2];e=0;p:{if(i&-5){break p}m=k[d+19|0];e=k[d+16|0]&(k[d+17|0]&(m&k[d+18|0]));J=(e|0)==255;if(!J){Oi(a,m);bi(a,k[d+18|0],k[d+17|0],k[d+16|0]);i=j[d+20>>2]}e=(e|0)!=255}q:{r:{if(!i){if(!j[j[v+4>>2]+24>>2]){m=1;if(k[d+19|0]==255){break r}}B=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(!B){cg(a,j[d+20>>2]);B=0;break q}cg(B,4)}m=0}s:{if(!(e|l)){cg(a,j[d+20>>2]);break s}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;l=0;e=ug(0,j[t+24>>2],j[t+28>>2],32,16711680,65280,255,-16777216);if(e){cg(a,0);i=vn(a,t,e,d);kf(a);l=!i;a=e}cg(a,j[d+20>>2]);if(!l){break q}}ez(j[d+56>>2],j[d+60>>2],g,d+44|0,d+40|0,d+32|0,d+24|0);i=j[d+44>>2];e=j[d+40>>2];y=Zn(a,g,(i|0)/2|0,(e|0)/2|0,j[p+28>>2]!=0,w&1,w&2,i,e,o[d+32>>3],o[d+24>>3]);t:{if(!(!B|!y)){i=j[d+44>>2];e=j[d+40>>2];l=Zn(B,g,(i|0)/2|0,(e|0)/2|0,0,0,0,i,e,o[d+32>>3],o[d+24>>3]);if(l){break t}break q}l=0;if(!y){break q}}A=j[t+16>>2];x=j[t+20>>2];K=n[t+40>>2];L=n[t+44>>2];D=-o[d+24>>3];o[d+24>>3]=D;w=j[t+24>>2];e=j[t+28>>2];j[d+56>>2]=j[d+44>>2];j[d+60>>2]=j[d+40>>2];H=o[d+32>>3];g=H;if(q(r(L))z?z:g;z=E+N+I;g=F+N+I;g=g>z?z:g;g=g>G?G:g;u:{if(r(g)<2147483648){p=~~g;break u}p=-2147483648}j[e+52>>2]=p;e=d;E=H*O;g=D*C;C=+(i+A|0);z=E-g+C;F=H*P;g=F-g+C;G=g>z?z:g;g=D*M;z=E-g+C;g=F-g+C;g=g>z?z:g;g=g>G?G:g;v:{if(r(g)<2147483648){i=~~g;break v}i=-2147483648}j[e+48>>2]=i;w:{if(!(!j[d+20>>2]&(m^-1))){if(J){Oi(y,k[d+19|0]);bi(y,k[d+18|0],k[d+17|0],k[d+16|0])}gh(y,0,f,d+48|0);break w}e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;cg(l,0);x:{if(gh(l,0,f,d)){break x}bi(y,0,0,0);e=j[d+60>>2];j[d+8>>2]=j[d+56>>2];j[d+12>>2]=e;e=j[d+52>>2];j[d>>2]=j[d+48>>2];j[d+4>>2]=e;if(gh(y,0,f,d)){break x}e=j[y+4>>2];e=Aj(j[y+20>>2],j[y+8>>2],j[y+12>>2],k[e+8|0],j[y+16>>2],j[e+12>>2],j[e+16>>2],j[e+20>>2],0);if(!e){break x}cg(e,2);gh(e,0,f,d+48|0);kf(e)}kf(l)}if(!y){break q}kf(y)}if(k[v|0]&2){jg(v)}if(B){kf(B)}kf(a)}a=0}b=j[b+24>>2];if(b){continue}break}}a=0}oe=d- -64|0;return a|0}function LG(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,m=0,n=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=oe-336|0;oe=a;j[b>>2]=1;w=b+500|0;j[w>>2]=0;x=Bh(j[b+96>>2],204272);j[b+484>>2]=x;s=dh(j[j[b+96>>2]+4>>2],204289);j[b+488>>2]=s;a:{if(!s){f=11;break a}n=j[b+100>>2];Ee(a+16|0,0,304);z=b,A=He(n,12,a+12|0),j[z+492>>2]=A;b:{if(j[a+12>>2]){break b}j[b+496>>2]=12;f=j[b+104>>2];qe[j[j[s+4>>2]>>2]](a+16|0,0,0,n);h[a+100|0]=0;j[a+92>>2]=0;j[a+96>>2]=0;j[a+88>>2]=f;g=Fe(f,0);j[a+320>>2]=g;c:{d:{if(g){break d}g=_e(f,17);j[a+320>>2]=g;if(g){break d}if(Cg(j[f+32>>2],204311,17)){g=2;j[a+320>>2]=2;Ve(f);break d}Ve(f);g=Fe(f,0);j[a+320>>2]=g;if(g){break d}m=j[f+4>>2];e:{if(!j[f+20>>2]){g=j[f+8>>2];o=j[f>>2];h[a+100|0]=1;j[a+96>>2]=m;j[a+92>>2]=g+o;g=xf(f,m);j[a+320>>2]=g;if(g){break d}m=j[a+96>>2];break e}o=He(n,m,a+320|0);j[a+92>>2]=o;g=j[a+320>>2];if(g){break d}g=uf(f,o,m);j[a+320>>2]=g;if(g){break d}j[a+96>>2]=m}g=j[a+92>>2];j[a+20>>2]=g;j[a+12>>2]=0;break c}if(k[a+100|0]){j[a+12>>2]=g;break b}f=j[a+92>>2];if(f){qe[j[n+8>>2]](n,f)}g=0;j[a+92>>2]=0;f=j[a+320>>2];j[a+12>>2]=f;if(f){break b}m=j[a+96>>2]}j[a+28>>2]=0;j[a+16>>2]=g;m=g+m|0;j[a+24>>2]=m;qe[j[a+44>>2]](a+16|0);f:{f=j[a+16>>2];if(m>>>0>f>>>0){t=b+132|0;u=b+164|0;v=b+460|0;while(1){g:{h:{g=k[f|0];if(!((g|0)!=70|m>>>0<=f+25>>>0)){if(Qe(f,204329,13)){break h}qe[j[a+48>>2]](a+16|0);qe[j[a+44>>2]](a+16|0);g=j[a+16>>2];f=g;i:{if(m>>>0<=f>>>0){break i}while(1){j:{if(!(k[f|0]!=107|m>>>0<=f+5>>>0)){if(!Qe(f,204343,5)){break j}}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break i}break}qe[j[a+48>>2]](a+16|0);qe[j[a+72>>2]](a+16|0,a+320|0);g=j[a+328>>2]==3?j[a+16>>2]:g}j[a+16>>2]=g;break g}if((g|0)!=47|m>>>0<=f+2>>>0){break h}g=f+1|0;j[a+16>>2]=g;qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}n=j[a+16>>2];if(n>>>0>=m>>>0){break g}f=0;q=n-g|0;if(q-1>>>0>20){break g}while(1){k:{n=p(f,36);r=n+204352|0;o=j[r>>2];if(!o|k[g|0]!=k[o|0]){break k}if((Le(o)|0)!=(q|0)){break k}if(Cg(g,o,q)){break k}g=a;l:{if(f-15>>>0<=3){qe[j[n+204364>>2]](b,a+16|0);f=j[a+28>>2];break l}f=j[n+204360>>2];m:{n:{switch(j[n+204356>>2]-2|0){case 0:j[a+320>>2]=u;break m;case 3:j[a+320>>2]=v;break m;default:break n}}j[a+320>>2]=t}if(f-9>>>0<=1){f=qe[j[a+84>>2]](a+16|0,r,a+320|0,0,0)|0;break l}f=qe[j[a+80>>2]](a+16|0,r,a+320|0,0,0)|0}j[g+28>>2]=f;if(!f){break g}j[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}qe[j[a+48>>2]](a+16|0);f=j[a+28>>2];if(f){break f}}qe[j[a+44>>2]](a+16|0);f=j[a+16>>2];if(m>>>0>f>>>0){continue}break}}f=j[a+28>>2];j[a+12>>2]=f;if(f){break b}if(k[b+433|0]!=42){j[a+12>>2]=2;break b}o=j[a+160>>2];j[b+416>>2]=o;if(!j[a+228>>2]){j[a+12>>2]=3}m=0;j[a+228>>2]=0;j[b+396>>2]=j[a+216>>2];j[b+424>>2]=j[a+240>>2];j[b+428>>2]=j[a+244>>2];j[b+400>>2]=j[a+164>>2];j[b+420>>2]=j[a+188>>2];j[a+188>>2]=0;j[a+164>>2]=0;if(j[b+368>>2]!=1){break b}n=0;t=j[a+124>>2];if((t|0)>=1){g=0;while(1){u=g<<1;i[u+j[b+384>>2]>>1]=0;q=g<<2;j[q+j[b+388>>2]>>2]=204303;o:{if((o|0)<1){break o}v=j[q+j[a+132>>2]>>2];if(!v){break o}y=j[b+420>>2];f=0;while(1){r=j[(f<<2)+y>>2];if(!we(v,r)){i[u+j[b+384>>2]>>1]=f;j[q+j[b+388>>2]>>2]=r;if(!we(204303,r)){break o}n=(g|0)<(n|0)?n:g+1|0;m=(g|0)<(m|0)?g:m;break o}f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=g+1|0;if((t|0)!=(g|0)){continue}break}}j[b+380>>2]=n;j[b+376>>2]=m;j[b+372>>2]=j[a+104>>2];break b}j[a+12>>2]=f}f=j[a+156>>2];if(f){qe[f|0](a+108|0)}f=j[a+264>>2];if(f){qe[f|0](a+216|0)}f=j[a+212>>2];if(f){qe[f|0](a+164|0)}f=j[a+316>>2];if(f){qe[f|0](a+268|0)}if(!k[a+100|0]){f=j[a+32>>2];g=j[a+92>>2];if(g){qe[j[f+8>>2]](f,g)}j[a+92>>2]=0}qe[j[a+40>>2]](a+16|0);f=j[a+12>>2];if(f|(c|0)<0){break a}f=6;if((c|0)>0){break a}j[b+36>>2]=0;j[b+4>>2]=0;j[b+24>>2]=204295;j[b+16>>2]=j[b+416>>2];c=j[b+144>>2];j[b+20>>2]=c;j[b+8>>2]=j[b+8>>2]|(k[b+156|0]?533:529)|2048;p:{if(c){f=j[b+140>>2];if(!f){break p}g=k[f|0];if(!g){break p}while(1){m=g&255;g=k[c|0];q:{if((m|0)==(g|0)){f=f+1|0;c=c+1|0;break q}m=m-32|0;if(!(!m|(m|0)==13)){r:{switch(g-32|0){case 0:case 13:c=c+1|0;break q;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break p;default:break r}}if(g){break p}j[b+24>>2]=f;break p}f=f+1|0}g=k[f|0];if(g){continue}break}break p}c=j[b+364>>2];if(!c){break p}j[b+20>>2]=c}j[b+28>>2]=0;j[b+32>>2]=0;j[a+16>>2]=9;z=a,A=Kf(j[j[b+96>>2]+4>>2],204104),j[z+36>>2]=A;j[a+20>>2]=j[b+492>>2];j[a+24>>2]=j[b+496>>2];if(d){j[a+44>>2]=e;j[a+40>>2]=d;j[a+16>>2]=25}f=Jm(j[j[b+96>>2]+4>>2],a+16|0,0,w);if(f){break a}ds(j[j[b+500>>2]+88>>2]);c=j[b+500>>2];d=j[c+56>>2];j[b+52>>2]=j[c+52>>2];j[b+56>>2]=d;d=j[c+64>>2];j[b+60>>2]=j[c+60>>2];j[b+64>>2]=d;i[b+68>>1]=l[c+68>>1];i[b+70>>1]=l[c+70>>1];i[b+72>>1]=l[c+72>>1];i[b+74>>1]=l[c+74>>1];i[b+76>>1]=l[c+76>>1];i[b+78>>1]=l[c+78>>1];i[b+80>>1]=l[b+158>>1];i[b+82>>1]=l[b+160>>1];d=j[b+152>>2]!=0;j[b+12>>2]=d;if(k[c+12|0]&2){j[b+12>>2]=d|2}if(k[c+8|0]&32){j[b+8>>2]=j[b+8>>2]|32}if(!x){f=0;break a}c=j[s+20>>2];j[a+16>>2]=b;j[a+20>>2]=1970170211;j[a+24>>2]=65539;f=qg(j[c+12>>2],0,a+16|0,0);if((f&255)!=163?f:0){break a}i[a+24>>1]=7;f=0;s:{t:{switch(j[b+368>>2]-1|0){case 1:i[a+26>>1]=0;j[a+20>>2]=1094995778;break s;case 3:i[a+26>>1]=1;j[a+20>>2]=1094992453;c=c+4|0;break s;case 0:i[a+26>>1]=2;j[a+20>>2]=1094992451;c=c+8|0;break s;case 2:break t;default:break a}}c=c+12|0;i[a+26>>1]=3;j[a+20>>2]=1818326065}b=j[c>>2];if(!b){break a}f=qg(b,0,a+16|0,0)}oe=a+336|0;return f|0}function rA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;g=oe-80|0;oe=g;j[g+60>>2]=0;j[g+56>>2]=0;j[g+52>>2]=0;a:{if((eh(21,g+60|0)|0)<0){break a}if((eh(17,g+56|0)|0)<0){break a}b:{if((eh(18,g+52|0)|0)<0){break b}i=Ni(a);l=!(i&2)|j[g+60>>2]!=4|j[g+56>>2]<2;c:{if(l){$h(21,4);$h(17,2);$h(18,0);if((on(a,i|2)|0)<0){break c}}f=Xe(1,440);d:{if(!f){Be(0);break d}d=Xe(1,492);if(!d){if(f){qe[j[57975]](f);j[57976]=j[57976]-1}Be(0);break d}Ae(f+104|0,231396,84);j[f+436>>2]=d;j[f+108>>2]=10;j[f+188>>2]=a;e=Vu(a);j[d>>2]=e;e:{if(!e){break e}if((tg(a,e)|0)<=-1){Gk(j[d>>2]);break e}e=74358;c=Se(74358);j[d+8>>2]=c;f:{g:{if(!c){break g}e=74410;c=Se(74410);j[d+12>>2]=c;if(!c){break g}e=74425;c=Se(74425);j[d+16>>2]=c;if(!c){break g}e=74446;c=Se(74446);j[d+20>>2]=c;if(!c){break g}e=74460;c=Se(74460);j[d+24>>2]=c;if(!c){break g}e=74484;c=Se(74484);j[d+28>>2]=c;if(!c){break g}e=74504;c=Se(74504);j[d+32>>2]=c;if(!c){break g}e=74512;c=Se(74512);j[d+36>>2]=c;if(!c){break g}e=74525;c=Se(74525);j[d+40>>2]=c;if(!c){break g}e=74541;c=Se(74541);j[d+44>>2]=c;if(!c){break g}e=74557;c=Se(74557);j[d+48>>2]=c;if(!c){break g}e=74572;c=Se(74572);j[d+52>>2]=c;if(!c){break g}e=74588;c=Se(74588);j[d+56>>2]=c;if(!c){break g}e=74603;c=Se(74603);j[d+60>>2]=c;if(!c){break g}e=74620;c=Se(74620);j[d+64>>2]=c;if(!c){break g}e=74630;c=Se(74630);j[d+68>>2]=c;if(!c){break g}e=74657;c=Se(74657);j[d+72>>2]=c;if(!c){break g}e=74670;c=Se(74670);j[d+76>>2]=c;if(!c){break g}e=74679;c=Se(74679);j[d+80>>2]=c;if(!c){break g}e=74705;c=Se(74705);j[d+84>>2]=c;if(!c){break g}e=74714;c=Se(74714);j[d+88>>2]=c;if(!c){break g}e=74732;c=Se(74732);j[d+92>>2]=c;if(!c){break g}e=74746;c=Se(74746);j[d+96>>2]=c;if(!c){break g}e=74760;c=Se(74760);j[d+100>>2]=c;if(!c){break g}e=74772;c=Se(74772);j[d+104>>2]=c;if(!c){break g}e=74783;c=Se(74783);j[d+108>>2]=c;if(!c){break g}e=74797;c=Se(74797);j[d+112>>2]=c;if(!c){break g}e=74812;c=Se(74812);j[d+116>>2]=c;if(!c){break g}e=74831;c=Se(74831);j[d+120>>2]=c;if(!c){break g}e=74845;c=Se(74845);j[d+124>>2]=c;if(!c){break g}e=74866;c=Se(74866);j[d+128>>2]=c;if(!c){break g}e=74880;c=Se(74880);j[d+132>>2]=c;if(!c){break g}e=74894;c=Se(74894);j[d+136>>2]=c;if(!c){break g}e=74907;c=Se(74907);j[d+140>>2]=c;if(!c){break g}e=74917;c=Se(74917);j[d+144>>2]=c;if(!c){break g}e=74932;c=Se(74932);j[d+148>>2]=c;if(!c){break g}e=74947;c=Se(74947);j[d+152>>2]=c;if(!c){break g}e=74960;c=Se(74960);j[d+156>>2]=c;if(!c){break g}e=74976;c=Se(74976);j[d+160>>2]=c;if(!c){break g}e=74992;c=Se(74992);j[d+164>>2]=c;if(!c){break g}e=75004;c=Se(75004);j[d+168>>2]=c;if(!c){break g}e=75016;c=Se(75016);j[d+172>>2]=c;if(!c){break g}e=75035;c=Se(75035);j[d+176>>2]=c;if(!c){break g}e=75048;c=Se(75048);j[d+180>>2]=c;if(!c){break g}e=75070;c=Se(75070);j[d+184>>2]=c;if(!c){break g}e=75081;c=Se(75081);j[d+188>>2]=c;if(!c){break g}e=75099;c=Se(75099);j[d+192>>2]=c;if(!c){break g}e=75122;c=Se(75122);j[d+196>>2]=c;if(!c){break g}e=75147;c=Se(75147);j[d+200>>2]=c;if(!c){break g}e=75168;c=Se(75168);j[d+204>>2]=c;if(!c){break g}e=75188;c=Se(75188);j[d+208>>2]=c;if(!c){break g}e=75208;c=Se(75208);j[d+212>>2]=c;if(!c){break g}e=75221;c=Se(75221);j[d+216>>2]=c;if(!c){break g}e=75237;c=Se(75237);j[d+220>>2]=c;if(!c){break g}e=75250;c=Se(75250);j[d+224>>2]=c;if(!c){break g}e=75263;c=Se(75263);j[d+228>>2]=c;if(c){break f}}m=g,n=Jg(),j[m+36>>2]=n;j[g+32>>2]=e;if((ve(74374,g+32|0)|0)>-1){break f}Gk(j[d>>2]);break e}Tu(b>>>2&1);if((Su()|0)>=1){j[f+108>>2]=j[f+108>>2]|4}if(!(eh(20,g- -64|0)|!(h[g+64|0]&1))){j[d+4>>2]=1}j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+180>>2]=j[g+64>>2];j[g+64>>2]=0;qe[j[d+108>>2]](3379,g- -64|0);j[f+184>>2]=j[g+64>>2];qe[j[d+108>>2]](36345,g+76|0);qe[j[d+96>>2]](36346,g+75|0);b=j[g+76>>2];if(k[g+75|0]){b=b+1|0;j[g+76>>2]=b}b=Xe(b,4);j[d+244>>2]=b;if(!b){io(f);Be(0);break d}j[d+240>>2]=j[g+76>>2];qe[j[d+108>>2]](36344,b);if(k[g+75|0]){j[(j[d+244>>2]+(j[g+76>>2]<<2)|0)-4>>2]=-1}qe[j[d+212>>2]](8,d+272|0);j[d+232>>2]=0;qe[j[d+108>>2]](36006,g+68|0);j[d+236>>2]=j[g+68>>2];j[f+68>>2]=191;j[f+64>>2]=192;j[f+60>>2]=193;j[f+56>>2]=194;j[f+52>>2]=195;j[f+16>>2]=196;j[f+12>>2]=197;j[f+8>>2]=198;j[f+4>>2]=199;j[f+92>>2]=200;j[f+88>>2]=201;j[f+84>>2]=202;j[f+80>>2]=203;j[f+76>>2]=204;j[f+72>>2]=205;j[f+48>>2]=206;j[f+44>>2]=207;j[f+40>>2]=208;j[f+36>>2]=209;j[f+32>>2]=210;j[f+28>>2]=210;j[f+24>>2]=211;j[f+20>>2]=211;a=j[f+112>>2];j[f+112>>2]=a+1;b=a<<2;a=f+116|0;j[b+a>>2]=842094169;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=1448433993;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=842094158;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=825382478;b=j[f+112>>2];j[f+112>>2]=b+1;j[a+(b<<2)>>2]=542328143;qe[j[d+8>>2]](33984);qe[j[d+132>>2]](3333,1);qe[j[d+132>>2]](3317,1);qe[j[d+80>>2]](0);qe[j[d+68>>2]](1);qe[j[d+36>>2]](q(1),q(1),q(1),q(1));j[d+488>>2]=1065353216;j[d+476>>2]=-1082130432;j[d+408>>2]=-1;j[d+412>>2]=-1;j[d+368>>2]=2147483647;d=j[f+436>>2];if(!j[d+4>>2]){break a}b=qe[j[d+104>>2]]()|0;if(!b){break a}a=74205;while(1){a=k[a|0]?a:75958;e=76063;i=b-1280|0;if(i>>>0<=5){e=j[(i<<2)+76072>>2]}j[g+20>>2]=b;j[g+16>>2]=e;j[g+12>>2]=74337;j[g+8>>2]=2107;j[g+4>>2]=74206;j[g>>2]=a;ve(75966,g);b=qe[j[d+104>>2]]()|0;if(b){continue}break}break a}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}if(!l){break b}}$h(21,j[g+60>>2]);$h(17,j[g+56>>2]);$h(18,j[g+52>>2]);on(a,i)}f=0}oe=g+80|0;return f|0}function lD(a){var b=0;b=1090;a:{if(!we(a,228420)){break a}b=1091;if(!we(a,228436)){break a}b=1092;if(!we(a,228451)){break a}b=1093;if(!we(a,228472)){break a}b=1094;if(!we(a,228485)){break a}b=1095;if(!we(a,228503)){break a}b=1096;if(!we(a,228522)){break a}b=1097;if(!we(a,228536)){break a}b=1098;if(!we(a,228549)){break a}b=1099;if(!we(a,228565)){break a}b=1100;if(!we(a,228589)){break a}b=1101;if(!we(a,228601)){break a}b=1102;if(!we(a,228621)){break a}b=1103;if(!we(a,228634)){break a}b=1104;if(!we(a,228650)){break a}b=1105;if(!we(a,228675)){break a}b=1106;if(!we(a,228683)){break a}b=1107;if(!we(a,228696)){break a}b=1108;if(!we(a,228710)){break a}b=1109;if(!we(a,228725)){break a}b=1110;if(!we(a,228737)){break a}b=1111;if(!we(a,228753)){break a}b=1112;if(!we(a,228776)){break a}b=1113;if(!we(a,228802)){break a}b=1114;if(!we(a,228819)){break a}b=1115;if(!we(a,228839)){break a}b=1116;if(!we(a,228855)){break a}b=1117;if(!we(a,228870)){break a}b=1118;if(!we(a,228881)){break a}b=1119;if(!we(a,228897)){break a}b=1120;if(!we(a,228918)){break a}b=1121;if(!we(a,228934)){break a}b=1122;if(!we(a,228956)){break a}b=1123;if(!we(a,228971)){break a}b=1124;if(!we(a,228988)){break a}b=1125;if(!we(a,229e3)){break a}b=1126;if(!we(a,229012)){break a}b=1127;if(!we(a,229026)){break a}b=1128;if(!we(a,229041)){break a}b=1129;if(!we(a,229051)){break a}b=1130;if(!we(a,229078)){break a}b=1131;if(!we(a,229091)){break a}b=1132;if(!we(a,229106)){break a}b=1133;if(!we(a,229115)){break a}b=1134;if(!we(a,229141)){break a}b=1135;if(!we(a,229150)){break a}b=1136;if(!we(a,229158)){break a}b=1137;if(!we(a,229184)){break a}b=1138;if(!we(a,229207)){break a}b=1139;if(!we(a,229219)){break a}b=1140;if(!we(a,229232)){break a}b=1141;if(!we(a,229249)){break a}b=1142;if(!we(a,229267)){break a}b=1143;if(!we(a,229286)){break a}b=1144;if(!we(a,229300)){break a}b=1145;if(!we(a,229318)){break a}b=1146;if(!we(a,229337)){break a}b=1147;if(!we(a,229358)){break a}b=1148;if(!we(a,229378)){break a}b=1149;if(!we(a,229392)){break a}b=1150;if(!we(a,229415)){break a}b=1151;if(!we(a,229426)){break a}b=1152;if(!we(a,229438)){break a}b=1153;if(!we(a,229476)){break a}b=1154;if(!we(a,229490)){break a}b=1155;if(!we(a,229505)){break a}b=1156;if(!we(a,229525)){break a}b=1157;if(!we(a,229554)){break a}b=1158;if(!we(a,229568)){break a}b=1159;if(!we(a,229587)){break a}b=1160;if(!we(a,229614)){break a}b=1161;if(!we(a,229632)){break a}b=1162;if(!we(a,229644)){break a}b=1163;if(!we(a,229664)){break a}b=1164;if(!we(a,229684)){break a}b=1165;if(!we(a,229699)){break a}b=1166;if(!we(a,229714)){break a}b=1167;if(!we(a,229735)){break a}b=1168;if(!we(a,229755)){break a}b=1169;if(!we(a,229775)){break a}b=1170;if(!we(a,229801)){break a}b=1171;if(!we(a,229808)){break a}b=1172;if(!we(a,229819)){break a}b=1173;if(!we(a,229831)){break a}b=1174;if(!we(a,229847)){break a}b=1175;if(!we(a,229859)){break a}b=1176;if(!we(a,229876)){break a}b=1177;if(!we(a,229887)){break a}b=1178;if(!we(a,229899)){break a}b=1179;if(!we(a,229911)){break a}b=1180;if(!we(a,229925)){break a}b=1181;if(!we(a,229939)){break a}b=1182;if(!we(a,229955)){break a}b=1183;if(!we(a,229968)){break a}b=1184;if(!we(a,229992)){break a}b=1185;if(!we(a,230014)){break a}b=1186;if(!we(a,230031)){break a}b=1187;if(!we(a,230041)){break a}b=1188;if(!we(a,230056)){break a}b=1189;if(!we(a,230071)){break a}b=1190;if(!we(a,230085)){break a}b=1191;if(!we(a,230107)){break a}b=1192;if(!we(a,230121)){break a}b=1193;if(!we(a,230143)){break a}b=1194;if(!we(a,230155)){break a}b=1195;if(!we(a,230175)){break a}b=1196;if(!we(a,230188)){break a}b=1197;if(!we(a,230204)){break a}b=1198;if(!we(a,230221)){break a}b=1199;if(!we(a,230237)){break a}b=1200;if(!we(a,230254)){break a}b=1201;if(!we(a,230270)){break a}b=1202;if(!we(a,230282)){break a}b=1203;if(!we(a,230295)){break a}b=1204;if(!we(a,230307)){break a}b=1205;if(!we(a,230320)){break a}b=1206;if(!we(a,230332)){break a}b=1207;if(!we(a,230345)){break a}b=1208;if(!we(a,230357)){break a}b=1209;if(!we(a,230370)){break a}b=1210;if(!we(a,230382)){break a}b=1211;if(!we(a,230395)){break a}b=1212;if(!we(a,230407)){break a}b=1213;if(!we(a,230420)){break a}b=1214;if(!we(a,230432)){break a}b=1215;if(!we(a,230445)){break a}b=1216;if(!we(a,230457)){break a}b=1217;if(!we(a,230470)){break a}b=1218;if(!we(a,230489)){break a}b=1219;if(!we(a,230508)){break a}b=1220;if(!we(a,230527)){break a}b=1221;if(!we(a,230540)){break a}b=1222;if(!we(a,230558)){break a}b=1223;if(!we(a,230575)){break a}b=1224;if(!we(a,230593)){break a}b=1225;if(!we(a,230610)){break a}b=1226;if(!we(a,230628)){break a}b=1227;if(!we(a,230645)){break a}b=1228;if(!we(a,230663)){break a}b=1229;if(!we(a,230680)){break a}b=1230;if(!we(a,230698)){break a}b=1231;if(!we(a,230720)){break a}b=1071;if(!we(a,230731)){break a}b=1072;if(!we(a,230747)){break a}b=1073;if(!we(a,230766)){break a}b=1074;if(!we(a,230779)){break a}b=1075;if(!we(a,230795)){break a}b=1076;if(!we(a,230809)){break a}b=1077;if(!we(a,230827)){break a}b=1078;if(!we(a,230843)){break a}b=1079;if(!we(a,230865)){break a}b=1080;if(!we(a,230888)){break a}b=1081;if(!we(a,230912)){break a}b=1082;if(!we(a,230937)){break a}b=1083;if(!we(a,230958)){break a}b=1084;if(!we(a,230982)){break a}b=1085;if(!we(a,231003)){break a}b=1086;if(!we(a,231022)){break a}b=1087;if(!we(a,231041)){break a}b=1088;if(!we(a,231068)){break a}b=0;if(we(a,231097)){break a}b=1089}return b}function Hj(a){var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=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;if(k[a|0]&2){ei(a,1)}d=-1;f=j[a+4>>2];l=k[f+8|0];a:{if(!j[a+20>>2]|l>>>0<8){break a}c=j[a+52>>2];b=j[c+68>>2];if(!(b&272)|b&1|(b&608|(j[f+24>>2]?b&2:0))){break a}b:{if(!(j[f+24>>2]?b&16:0)){if(!j[c+4>>2]){break a}c:{d:{e:{f:{g:{g=k[f+9|0];switch(g-1|0){case 1:case 2:break f;case 0:break g;case 3:break e;default:break a}}m=p(j[a+12>>2],3);b=2;f=(j[a+8>>2]/2|0)+1|0;break c}b=j[a+8>>2];m=(p(b,g)+((b|0)/255<<1)|0)+2|0;b=2;break d}b=j[a+8>>2];m=(((b|0)/65535|0)+b<<2)+4|0;b=4}f=j[a+12>>2]}b=p(f,m)+b|0;e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}h:{if(e){u=e;z=j[a+12>>2];if((z|0)>=1){v=j[j[a+4>>2]+24>>2]^-1;w=v&j[j[a+52>>2]+72>>2];n=(g|0)==4?65535:255;x=j[(g<<2)+86764>>2];o=j[a+8>>2];m=j[a+20>>2];y=(g|0)!=4;d=e;u=d;while(1){b=0;r=0;while(1){l=b;i:{j:{if((b|0)>=(o|0)){break j}while(1){if((w|0)!=(qe[x|0](p(g,l)+m|0)&v)){break j}l=l+1|0;if((o|0)!=(l|0)){continue}break}s=0;l=o;f=l;break i}s=0;if((l|0)>=(o|0)){f=l;break i}s=1;c=l;if((w|0)==(qe[x|0](p(g,c)+m|0)&v)){f=l;break i}k:{l:{while(1){c=c+1|0;if((o|0)==(c|0)){break l}if((w|0)!=(qe[x|0](p(c,g)+m|0)&v)){continue}break}f=c;break k}f=o}s=(c|0)<(o|0)}b=l-b|0;c=b;if((b|0)>(n|0)){while(1){m:{if(!y){i[d+2>>1]=0;i[d>>1]=n;t=4;break m}h[d|0]=255;h[d+1|0]=0;t=2}d=t+d|0;c=c-n|0;if((n|0)<(c|0)){continue}break}}t=f-l|0;q=(n|0)>(t|0)?t:n;r=(b|0)==(o|0)?1:r;n:{if(!y){i[d+2>>1]=q;i[d>>1]=c;b=4;break n}h[d+1|0]=q;h[d|0]=c;b=2}b=b+d|0;c=p(g,q);Ge(b,p(g,l)+m|0,c);d=b+c|0;b=t-q|0;if(b){l=l+q|0;while(1){c=(b|0)<(n|0)?b:n;o:{if(!y){i[d+2>>1]=c;i[d>>1]=0;t=4;break o}h[d+1|0]=c;h[d|0]=0;t=2}d=t+d|0;q=p(c,g);Ge(d,p(g,l)+m|0,q);d=d+q|0;l=c+l|0;b=b-c|0;if(b){continue}break}}u=r?u:d;b=f;if(s){continue}break}m=j[a+16>>2]+m|0;A=A+1|0;if((A|0)!=(z|0)){continue}break}}p:{if((g|0)==4){i[u>>1]=0;i[u+2>>1]=0;b=4;break p}h[u|0]=0;h[u+1|0]=0;b=2}if(!(h[a|0]&1)){f=j[a+20>>2];if(f){f=j[f-4>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(e,(b+u|0)-e|0);d=j[a+52>>2];j[d+12>>2]=b?b:e;break h}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=257;b=8192;break b}b=j[c>>2];if(!b|(l|0)!=32){break a}g=j[b+4>>2];f=j[g+16>>2];c=j[g+12>>2];l=j[g+20>>2];b=f|c|l;q:{r:{switch(k[g+9|0]-2|0){case 0:s:{if((b|0)!=32767){if((b|0)!=65535){break a}w=258;if((c|0)==2016|(f|0)==2016|(l|0)==2016){break s}break a}w=259;if((c|0)==992|(f|0)==992){break s}if((l|0)!=992){break a}}x=260;b=p(j[a+12>>2],p(j[a+8>>2],6)+8|0)+2|0;break q;case 2:break r;default:break a}}if((b|0)!=16777215){break a}x=261;w=261;b=p(j[a+12>>2],j[a+8>>2]+1|0)<<3|4}b=b+28|0;n=qe[j[57972]](b?b:1)|0;if(n){j[57976]=j[57976]+1}t:{if(n){d=k[g+9|0];h[n|0]=d;j[n+4>>2]=j[g+12>>2];j[n+8>>2]=j[g+16>>2];j[n+12>>2]=j[g+20>>2];j[n+16>>2]=j[g+24>>2];h[n+20|0]=k[g+28|0];h[n+21|0]=k[g+29|0];h[n+22|0]=k[g+30|0];h[n+23|0]=k[g+31|0];h[n+24|0]=k[g+32|0];h[n+25|0]=k[g+33|0];h[n+26|0]=k[g+34|0];h[n+27|0]=k[g+35|0];s=n+28|0;y=j[a+12>>2];if((y|0)>=1){q=j[a+4>>2];o=j[a+8>>2];l=j[a+20>>2];d=s;while(1){e=0;v=0;while(1){u:{v:{b=e;if((o|0)<=(b|0)){break v}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)==255){break v}b=b+1|0;if((o|0)!=(b|0)){continue}break}f=0;b=o;r=b;break u}f=0;if((b|0)>=(o|0)){r=b;break u}f=1;c=b;r=j[q+24>>2];m=k[q+35|0];if(((r&j[(b<<2)+l>>2])>>>m|0)!=255){r=b;break u}w:{x:{while(1){c=c+1|0;if((o|0)==(c|0)){break x}if(((r&j[(c<<2)+l>>2])>>>m|0)==255){continue}break}r=c;break w}r=o}f=(c|0)<(o|0)}t=b-e|0;c=t;if((c|0)>=256){while(1){y:{if(k[g+9|0]==4){i[d>>1]=255;i[d+2>>1]=0;e=4;break y}h[d|0]=255;h[d+1|0]=0;e=2}d=e+d|0;e=(c|0)>510;c=c-255|0;if(e){continue}break}}m=r-b|0;e=(m|0)<255?m:255;z:{if(k[g+9|0]==4){i[d+2>>1]=e;i[d>>1]=c;c=4;break z}h[d+1|0]=e;h[d|0]=c;c=2}c=c+d|0;d=(qe[x|0](c,(b<<2)+l|0,e,q,g)|0)+c|0;m=m-e|0;if(m){b=b+e|0;while(1){c=(m|0)<255?m:255;A:{if(k[g+9|0]==4){i[d+2>>1]=c;i[d>>1]=0;e=4;break A}h[d+1|0]=c;h[d|0]=0;e=2}e=e+d|0;d=(qe[x|0](e,(b<<2)+l|0,c,q,g)|0)+e|0;b=b+c|0;m=m-c|0;if(m){continue}break}}v=(o|0)==(t|0)?1:v;e=r;if(f){continue}break}d=(d&2)+d|0;e=0;while(1){B:{C:{b=e;if((o|0)<=(b|0)){break C}f=k[q+35|0];c=j[q+24>>2];while(1){if(((c&j[(b<<2)+l>>2])>>>f|0)-1>>>0<254){break C}b=b+1|0;if((o|0)!=(b|0)){continue}break}r=0;b=o;f=b;break B}r=0;if((b|0)>=(o|0)){f=b;break B}r=1;c=b;f=j[q+24>>2];m=k[q+35|0];if(((f&j[(b<<2)+l>>2])>>>m|0)-1>>>0>=254){f=b;break B}D:{E:{while(1){c=c+1|0;if((o|0)==(c|0)){break E}if(((f&j[(c<<2)+l>>2])>>>m|0)-1>>>0<=253){continue}break}f=c;break D}f=o}r=(c|0)<(o|0)}c=b-e|0;e=(o|0)==(c|0);if((c|0)>=65536){while(1){i[d>>1]=65535;i[d+2>>1]=0;d=d+4|0;m=(c|0)>131070;c=c-65535|0;if(m){continue}break}}v=e&v;i[d>>1]=c;c=f-b|0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;c=c-e|0;if(c){b=b+e|0;while(1){i[d>>1]=0;e=(c|0)<65535?c:65535;i[d+2>>1]=e;d=d+4|0;d=(qe[w|0](d,(b<<2)+l|0,e,q,g)|0)+d|0;b=b+e|0;c=c-e|0;if(c){continue}break}}s=v?s:d;e=f;if(r){continue}break}l=(j[a+16>>2]&-4)+l|0;u=u+1|0;if((y|0)!=(u|0)){continue}break}d=k[g+9|0]}c=4;F:{if((d&255)==4){i[s>>1]=0;i[s+2>>1]=0;break F}h[s|0]=0;h[s+1|0]=0;c=2}if(!(h[a|0]&1)){b=j[a+20>>2];if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+20>>2]=0;j[a>>2]=j[a>>2]&-9}b=mf(n,(c+s|0)-n|0);d=j[a+52>>2];j[d+12>>2]=b?b:n;break t}if((Be(0)|0)<0){break a}d=j[a+52>>2]}m=262;b=16384}j[d+8>>2]=m;j[d+68>>2]=b|j[d+68>>2];j[a>>2]=j[a>>2]|2;d=0}return d}function dr(a,b,c){var d=0,e=q(0),f=q(0),g=q(0),h=0,i=0,k=q(0),l=q(0),m=q(0),o=0,r=q(0),s=q(0),t=q(0),u=q(0),v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=q(0),B=q(0),C=q(0),D=q(0),E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0),S=q(0),T=q(0),U=q(0),V=q(0),W=q(0),X=q(0),Y=q(0),Z=q(0),_=q(0),$=q(0),aa=q(0),ba=q(0),ca=0,da=0,ea=0,fa=0,ga=0,ha=q(0),ia=q(0),ja=q(0),ka=q(0),la=q(0),ma=q(0),na=q(0),oa=q(0),pa=q(0),qa=q(0),ra=q(0),sa=q(0),ta=q(0),ua=q(0),va=0,wa=0,xa=0,ya=0;o=j[a+4>>2];a:{if((o|0)<7){break a}d=(c<<2)+b|0;h=((c<<1&-4)+b|0)-32|0;ga=j[a+8>>2];a=ga;while(1){k=n[h+28>>2];i=d-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=d-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+28>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);k=n[h+20>>2];i=d-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=d-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);e=q(e-g);n[h+16>>2]=q(f*n[a+20>>2])+q(e*n[a+16>>2]);n[h+20>>2]=q(f*n[a+16>>2])-q(e*n[a+20>>2]);k=n[h+12>>2];i=d-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=d-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);e=q(e-g);n[h+8>>2]=q(f*n[a+36>>2])+q(e*n[a+32>>2]);n[h+12>>2]=q(f*n[a+32>>2])-q(e*n[a+36>>2]);k=n[h+4>>2];i=d-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;d=d-28|0;f=n[d>>2];n[d>>2]=f+n[h+4>>2];f=q(f-k);e=q(e-g);n[h>>2]=q(f*n[a+52>>2])+q(e*n[a+48>>2]);n[h+4>>2]=q(f*n[a+48>>2])-q(e*n[a+52>>2]);a=a- -64|0;d=i;h=h-32|0;if(h>>>0>=b>>>0){continue}break}if((o|0)<8){break a}va=o-6|0;o=1;while(1){if((o|0)!=31){a=1<1?a:1;xa=4<>o;ya=ea>>1;ca=0;while(1){fa=(p(ca,ea)<<2)+b|0;a=fa+(ea<<2)|0;h=((ya<<2)+fa|0)-32|0;d=ga;while(1){k=n[h+28>>2];i=a-8|0;e=n[i>>2];g=n[h+24>>2];n[i>>2]=e+g;i=a-4|0;f=n[i>>2];n[i>>2]=f+n[h+28>>2];f=q(f-k);e=q(e-g);n[h+24>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+28>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+20>>2];i=a-16|0;e=n[i>>2];g=n[h+16>>2];n[i>>2]=e+g;i=a-12|0;f=n[i>>2];n[i>>2]=f+n[h+20>>2];f=q(f-k);da=xa<<2;d=da+d|0;e=q(e-g);n[h+16>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+20>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+12>>2];i=a-24|0;e=n[i>>2];g=n[h+8>>2];n[i>>2]=e+g;i=a-20|0;f=n[i>>2];n[i>>2]=f+n[h+12>>2];f=q(f-k);d=d+da|0;e=q(e-g);n[h+8>>2]=q(f*n[d+4>>2])+q(e*n[d>>2]);n[h+12>>2]=q(f*n[d>>2])-q(e*n[d+4>>2]);k=n[h+4>>2];i=a-32|0;e=n[i>>2];g=n[h>>2];n[i>>2]=e+g;a=a-28|0;f=n[a>>2];n[a>>2]=f+n[h+4>>2];f=q(f-k);a=d+da|0;e=q(e-g);n[h>>2]=q(f*n[a+4>>2])+q(e*n[a>>2]);n[h+4>>2]=q(f*n[a>>2])-q(e*n[a+4>>2]);d=a+da|0;a=i;h=h-32|0;if(fa>>>0<=h>>>0){continue}break}ca=ca+1|0;if((wa|0)!=(ca|0)){continue}break}}o=o+1|0;if((va|0)!=(o|0)){continue}break}}a=0;if((c|0)>0){while(1){d=(a<<2)+b|0;e=n[d+60>>2];f=n[d+124>>2];k=n[d+24>>2];g=n[d+88>>2];r=n[d+120>>2];w=n[d+56>>2];l=q(r-w);x=n[d+28>>2];s=n[d+92>>2];y=q(x-s);t=q(l+y);I=n[d+104>>2];J=n[d+40>>2];u=q(I-J);K=n[d+108>>2];z=n[d+44>>2];v=q(K-z);L=q(q(u-v)*q(.7071067690849304));M=n[d+8>>2];N=n[d+72>>2];m=q(M-N);A=n[d+12>>2];O=n[d+76>>2];B=q(A-O);P=q(q(m+B)*q(.7071067690849304));C=q(L+P);Q=q(t+C);D=n[d+112>>2];R=n[d+48>>2];E=q(D-R);S=n[d+116>>2];T=n[d+52>>2];F=q(S-T);ha=q(q(E*q(.9238795042037964))-q(F*q(.3826834261417389)));U=n[d+16>>2];V=n[d+80>>2];W=q(U-V);X=n[d+20>>2];Y=n[d+84>>2];Z=q(X-Y);ia=q(q(W*q(.3826834261417389))+q(Z*q(.9238795042037964)));G=q(ha+ia);_=n[d+96>>2];$=n[d+32>>2];H=q(_-$);ja=n[d+100>>2];ka=n[d+36>>2];aa=q(ja-ka);la=q(q(H*q(.3826834261417389))-q(aa*q(.9238795042037964)));ma=n[d>>2];na=n[d+64>>2];oa=q(ma-na);pa=n[d+4>>2];qa=n[d+68>>2];ra=q(pa-qa);sa=q(q(oa*q(.9238795042037964))+q(ra*q(.3826834261417389)));ta=q(la+sa);ba=q(G+ta);n[d+56>>2]=Q+ba;n[d+48>>2]=Q-ba;Q=q(f-e);ba=q(g-k);ua=q(Q+ba);u=q(q(u+v)*q(.7071067690849304));v=q(q(B-m)*q(.7071067690849304));m=q(u+v);B=q(ua-m);G=q(G-ta);n[d+44>>2]=B+G;t=q(t-C);C=q(q(E*q(.3826834261417389))+q(F*q(.9238795042037964)));E=q(q(Z*q(.3826834261417389))-q(W*q(.9238795042037964)));F=q(C+E);W=q(q(H*q(.9238795042037964))+q(aa*q(.3826834261417389)));Z=q(q(ra*q(.9238795042037964))-q(oa*q(.3826834261417389)));H=q(W+Z);aa=q(F-H);n[d+40>>2]=t-aa;n[d+32>>2]=t+aa;t=q(ua+m);m=q(F+H);n[d+60>>2]=t+m;n[d+36>>2]=B-G;r=q(r+w);k=q(g+k);g=q(r-k);w=q(A+O);K=q(K+z);z=q(w-K);A=q(g+z);O=q(D+R);B=q(U+V);D=q(O-B);R=q(S+T);S=q(X+Y);T=q(R-S);F=q(q(D-T)*q(.7071067690849304));U=q(ma+na);V=q(_+$);X=q(U-V);Y=q(pa+qa);G=q(ja+ka);_=q(Y-G);$=q(q(X+_)*q(.7071067690849304));H=q(F+$);n[d+88>>2]=A+H;n[d+52>>2]=t-m;n[d+80>>2]=A-H;e=q(f+e);f=q(x+s);x=q(e-f);s=q(I+J);t=q(M+N);I=q(s-t);J=q(x-I);M=q(F-$);n[d+76>>2]=J+M;g=q(g-z);z=q(q(D+T)*q(.7071067690849304));N=q(q(_-X)*q(.7071067690849304));m=q(z-N);n[d+72>>2]=g-m;n[d+64>>2]=g+m;g=q(l-y);l=q(v-u);y=q(g+l);u=q(ha-ia);v=q(C-E);m=q(q(u-v)*q(.7071067690849304));A=q(Z-W);C=q(sa-la);D=q(q(A+C)*q(.7071067690849304));E=q(m+D);n[d+16>>2]=y-E;n[d+24>>2]=y+E;y=q(Q-ba);L=q(L-P);P=q(y-L);m=q(m-D);n[d+12>>2]=P+m;g=q(g-l);l=q(q(u+v)*q(.7071067690849304));u=q(q(A-C)*q(.7071067690849304));v=q(l-u);n[d+8>>2]=g-v;n[d>>2]=g+v;g=q(y+L);l=q(l+u);n[d+28>>2]=g+l;n[d+4>>2]=P-m;n[d+20>>2]=g-l;g=q(x+I);l=q(z+N);n[d+92>>2]=g+l;n[d+68>>2]=J-M;n[d+84>>2]=g-l;k=q(r+k);g=q(s+t);r=q(k+g);l=q(O+B);x=q(V+U);s=q(l+x);n[d+120>>2]=r+s;n[d+112>>2]=r-s;k=q(k-g);g=q(R+S);r=q(G+Y);s=q(g-r);n[d+96>>2]=k+s;n[d+104>>2]=k-s;e=q(e+f);f=q(K+w);k=q(e-f);w=q(l-x);n[d+108>>2]=k+w;n[d+100>>2]=k-w;e=q(e+f);f=q(g+r);n[d+124>>2]=e+f;n[d+116>>2]=e-f;a=a+32|0;if((c|0)>(a|0)){continue}break}}}function zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,n=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;C=oe-80|0;oe=C;g=Ji(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=Um(a,j[c+52>>2],c+56|0,0);if(g){break a}d=j[a+2980>>2]}b:{if(d&2){break b}g=Um(a,j[c+1624>>2],c+1628|0,1);if(g){break a}d=j[a+1524>>2];if((d|0)<1){break b}f=j[a+1532>>2];u=f+p(d,48)|0;q=j[c+1616>>2];while(1){d=ye(m[c+40>>2]/40|0,q);c:{if(!j[c+1832>>2]){break c}s=(d|0)<32?d:32;d=0;g=0;v=0;while(1){o=p(d,28)+c|0;e=j[o+1860>>2];d:{if(!(e&1)){break d}n=e>>>2&1;z=e&2;if(z>>>1^j[a+1536>>2]!=h[f+13|0]?!n:0){break d}A=o+1836|0;y=i[f>>1]-j[A>>2]|0;e=y>>31;y=ye(e^e+y,q);e=(y|0)<(s|0);s=e?y:s;g=e?A:g;v=e?n:v;if(!(h[f+12|0]&1)|(!y|n)){break d}e=i[f>>1];if((z|0)!=0^(e|0)>=j[A>>2]){break d}n=e;e=o+1848|0;z=n-j[e>>2]|0;o=z>>31;o=ye(o^o+z,q);if((o|0)>=(s|0)){break d}v=0;s=o;g=e}d=d+1|0;if(d>>>0>2]){continue}break}if(!g){break c}j[f+20>>2]=g;if(!(v&255)){break c}h[f+12|0]=k[f+12|0]|8}f=f+48|0;if(u>>>0>f>>>0){continue}break}}d=1;v=0;while(1){e:{z=d;f:{g:{if(d){d=j[a+2980>>2];if(!(d&8|j[c+24>>2]!=1)){Tm(C+16|0,a,C+12|0,C+8|0);e=j[a+24>>2];if((e|0)<1){break f}d=j[a+28>>2];e=d+p(e,40)|0;g=j[C+8>>2];o=j[C+12>>2];while(1){F=d,G=ye(i[d+12>>1],o)+g|0,j[F+16>>2]=G;d=d+40|0;if(e>>>0>d>>>0){continue}break}break f}if(!(d&1)){break g}break f}if(k[a+2980|0]&2){break e}}y=p(v,1468)+a|0;o=j[y- -64>>2];u=j[y+56>>2];A=o+p(u,48)|0;s=0;d=o;q=0;D=(u|0)<1;if(!((D|v^-1)&1)){while(1){g=k[d+12|0];h:{if(g&4){break h}e=j[d+24>>2];f=j[d+20>>2];i:{j:{if(!e|!f){break j}if(!j[e+20>>2]){g=d;break i}n=k[e+12|0];if(n&8){j[e+20>>2]=0;h[e+12|0]=n&247;f=j[d+20>>2];break j}if(!(g&8)){g=d;break i}f=0;j[d+20>>2]=0;h[d+12|0]=g&247}if(!(!e|f)){f=j[e+20>>2];g=e;e=d;if(f){break i}break h}g=d;if(!f){break h}}f=j[f+8>>2];j[g+8>>2]=f;n=k[g+12|0]|4;h[g+12|0]=n;if(!(j[e+20>>2]|!e)){r=j[e+4>>2]-j[g+4>>2]|0;g=k[e+12|0];n=Hi(a,1,r,n,g);h[e+12|0]=g|4;j[e+8>>2]=f+n}q=q?q:d}d=d+48|0;if(A>>>0>d>>>0){continue}break}}d=o;if(!D){while(1){n=k[d+12|0];k:{if(n&4){break k}g=j[d+24>>2];if(!g){s=s+1|0;break k}if(j[g+20>>2]){e=Hi(a,v,j[d+4>>2]-j[g+4>>2]|0,k[g+12|0],n);g=j[g+8>>2];h[d+12|0]=n|4;j[d+8>>2]=e+g;break k}if(!q){f=j[d+4>>2];q=j[g+4>>2]-f|0;e=Hi(a,v,q,n,k[g+12|0]);l:{if((e|0)<=95){f=f+(q>>1)|0;w=f+32&-64;r=(e|0)<65;x=w+(r?-32:-38)|0;B=f-x|0;t=B>>31;r=w|(r?32:26);w=f-r|0;f=w>>31;f=((e|0)/-2|0)+((t^t+B)<(f^f+w)?x:r)|0;j[d+8>>2]=f;j[g+8>>2]=e+f;f=j[d+8>>2];break l}f=f+32&-64;j[d+8>>2]=f}e=n|4;h[d+12|0]=e;F=g,G=Hi(a,v,q,e,k[g+12|0])+f|0,j[F+8>>2]=G;q=d;break k}f=j[q+4>>2];t=j[q+8>>2];r=j[d+4>>2];x=j[g+4>>2]-r|0;w=k[g+12|0];e=Hi(a,v,x,n,w);m:{if(w&4){f=j[g+8>>2]-e|0;e=d;break m}t=t+(r-f|0)|0;f=t+(x>>1)|0;n:{if((e|0)<=95){r=f+32&-64;t=(e|0)<65;w=r+(t?-32:-38)|0;B=f-w|0;x=B>>31;t=r|(t?32:26);r=f-t|0;f=r>>31;f=(x^x+B)<(f^f+r)?w:t;e=(e|0)/2|0;j[d+8>>2]=f-e;f=e+f|0;break n}r=t+32|0;w=r&-64;B=e>>>1|0;E=(w+B|0)-f|0;t=E>>31;x=(r+x&-64)-e|0;r=x+(B-f|0)|0;f=r>>31;f=(t^t+E)<(f^f+r)?w:x;j[d+8>>2]=f;f=e+f|0}e=g}j[e+8>>2]=f;h[d+12|0]=n|4;h[g+12|0]=k[g+12|0]|4;if(d>>>0<=o>>>0){break k}e=j[d-40>>2];if((e|0)<=j[d+8>>2]){break k}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}o:{if(!z){break o}d=4;f=2;e=o;p:{switch(u-6|0){case 6:e=o+48|0;d=9;f=5;break;case 0:break p;default:break o}}f=o+p(f,48)|0;g=j[f+4>>2];d=o+p(d,48)|0;n=g-j[d+4>>2]+(g-j[e+4>>2])|0;g=n>>31;if((g^g+n)>7){break o}g=j[d+8>>2];e=(j[f+8>>2]<<1)-j[e+8>>2]|0;j[d+8>>2]=e;g=g-e|0;e=j[d+24>>2];if(e){j[e+8>>2]=j[e+8>>2]-g}if((u|0)==12){j[o+392>>2]=j[o+392>>2]-g;j[o+536>>2]=j[o+536>>2]-g}h[d+12|0]=k[d+12|0]|4;if(!e){break o}h[e+12|0]=k[e+12|0]|4}q:{if(D){break q}d=o;if(!(!q|(s|0)!=0)){break q}while(1){g=k[d+12|0];r:{if(g&4){break r}r=d;s:{t:{u:{e=j[d+28>>2];if(!e){break u}s=j[e+4>>2];n=j[d+4>>2];u=s-n|0;f=u>>31;if((f^f+u)>79){break u}s=j[e+8>>2]+(n-s|0)|0;break t}e=d;if(!q){e=j[d+4>>2]+32&-64;j[d+8>>2]=e;q=d;break s}while(1){s=e;e=e-48|0;u=o>>>0>e>>>0;if(k[s-36|0]&4?0:!u){continue}break}f=d;v:{while(1){n=f;f=f+48|0;if(A>>>0<=f>>>0){break v}if(!(k[n+60|0]&4)){continue}break}if(u|d>>>0>=f>>>0|d>>>0<=e>>>0){break v}e=j[s-40>>2];u=j[n+52>>2];f=j[s-44>>2];s=e;if((u|0)==(f|0)){break t}e=Ne(j[d+4>>2]-f|0,j[n+56>>2]-e|0,u-f|0)+e|0;j[d+8>>2]=e;g=k[d+12|0];break s}s=j[q+8>>2]+((j[d+4>>2]-j[q+4>>2]|0)+16&-32)|0}e=s;j[r+8>>2]=e}h[d+12|0]=g|4;w:{if(d>>>0<=o>>>0){break w}g=j[d-40>>2];if((g|0)<=(e|0)){break w}j[d+8>>2]=g;e=g}if(!(k[d+60|0]&4)|d+48>>>0>=A>>>0){break r}g=e;e=j[d+56>>2];if((g|0)<=(e|0)){break r}j[d+8>>2]=e}d=d+48|0;if(A>>>0>d>>>0){continue}break}}g=j[y+52>>2];d=j[y+44>>2];o=g+p(d,48)|0;x:{if(!z){if((d|0)<=0){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+20>>2]=f;i[d>>1]=l[d>>1]|8;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}break x}if((d|0)<1){break x}while(1){d=j[g+12>>2];if(d){e=g+40|0;f=j[d+8>>2];q=j[g+44>>2];while(1){d=j[e>>2];j[d+16>>2]=f;i[d>>1]=l[d>>1]|4;e=d+32|0;if((d|0)!=(q|0)){continue}break}}g=g+48|0;if(o>>>0>g>>>0){continue}break}}Sm(a,v);Rm(a,v)}v=1;d=0;if(z){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];a=d+p(c,40)|0;e=j[b+4>>2];f=j[b+8>>2];while(1){j[e>>2]=j[d+16>>2];j[e+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[f|0]=b&1?0:b&2?2:1;f=f+1|0;e=e+8|0;d=d+40|0;if(a>>>0>d>>>0){continue}break}}oe=C+80|0;return g|0}function SD(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,l=0,m=0,n=0,o=0,q=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;o=oe-560|0;oe=o;j[o+44>>2]=0;sP(+b);g=pP(1)|0;pP(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;sP(+b);g=pP(1)|0;pP(0)|0;w=227472;break a}B=1;w=227475;if(e&2048){break a}w=227478;if(e&1){break a}B=0;A=1;w=227473}b:{if((g&2146435072)==2146435072){n=B+3|0;Rf(a,32,c,n,e&-65537);Hf(a,w,B);d=f&32;Hf(a,b!=b?d?227499:227503:d?227491:227495,3);break b}x=o+16|0;c:{d:{e:{b=Hp(b,o+44|0);b=b+b;if(b!=0){g=j[o+44>>2];j[o+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}n=j[o+44>>2];q=(d|0)<0?6:d;break d}n=g-29|0;j[o+44>>2]=n;b=b*268435456;q=(d|0)<0?6:d}s=(n|0)<0?o+48|0:o+336|0;m=s;while(1){d=m;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}j[d>>2]=g;m=m+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((n|0)<1){d=n;g=m;i=s;break f}i=s;d=n;while(1){t=(d|0)<29?d:29;g=m-4|0;g:{if(i>>>0>g>>>0){break g}d=t;l=0;while(1){v=g;D=l;E=j[g>>2];u=d&31;if((d&63)>>>0>=32){l=E<>>32-u;E=E<>>0>>0?l+1|0:l;l=jP(u,l,1e9);D=v;v=hP(l,pe,1e9,0);j[D>>2]=u-v;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!l){break g}i=i-4|0;j[i>>2]=l}while(1){g=m;if(i>>>0>>0){m=g-4|0;if(!j[m>>2]){continue}}break}d=j[o+44>>2]-t|0;j[o+44>>2]=d;m=g;if((d|0)>0){continue}break}}if((d|0)<=-1){y=((q+25|0)/9|0)+1|0;t=(C|0)==102;while(1){l=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=i>>>0){i=j[i>>2]?i:i+4|0;break h}v=1e9>>>l|0;u=-1<>2];j[m>>2]=D+(d>>>l|0);d=p(v,d&u);m=m+4|0;if(m>>>0>>0){continue}break}i=j[i>>2]?i:i+4|0;if(!d){break h}j[g>>2]=d;g=g+4|0}d=j[o+44>>2]+l|0;j[o+44>>2]=d;m=t?s:i;g=g-m>>2>(y|0)?m+(y<<2)|0:g;if((d|0)<0){continue}break}}m=0;i:{if(g>>>0<=i>>>0){break i}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break i}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=(q-((C|0)==102?0:m)|0)-((C|0)==103&(q|0)!=0)|0;if((d|0)<(p(g-s>>2,9)-9|0)){l=d+9216|0;t=(l|0)/9|0;n=((t<<2)+((n|0)<0?o+48|4:o+340|0)|0)-4096|0;d=10;l=l-p(t,9)|0;if((l|0)<=7){while(1){d=p(d,10);l=l+1|0;if((l|0)!=8){continue}break}}t=j[n>>2];v=(t>>>0)/(d>>>0)|0;y=n+4|0;l=t-p(d,v)|0;j:{if(l?0:(y|0)==(g|0)){break j}u=d>>>1|0;z=l>>>0>>0?.5:(g|0)==(y|0)?(u|0)==(l|0)?1:1.5:1.5;b=v&1?9007199254740994:9007199254740992;if(!(k[w|0]!=45|A)){z=-z;b=-b}l=t-l|0;j[n>>2]=l;if(b+z==b){break j}d=d+l|0;j[n>>2]=d;if(d>>>0>=1e9){while(1){j[n>>2]=0;n=n-4|0;if(n>>>0>>0){i=i-4|0;j[i>>2]=0}d=j[n>>2]+1|0;j[n>>2]=d;if(d>>>0>999999999){continue}break}}m=p(s-i>>2,9);d=10;l=j[i>>2];if(l>>>0<10){break j}while(1){m=m+1|0;d=p(d,10);if(l>>>0>=d>>>0){continue}break}}d=n+4|0;g=d>>>0>>0?d:g}while(1){d=g;n=g>>>0<=i>>>0;if(!n){g=d-4|0;if(!j[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=q?q:1;l=(g|0)>(m|0)&(m|0)>-5;q=(l?m^-1:-1)+g|0;f=(l?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(n){break l}t=j[d-4>>2];if(!t){break l}l=10;g=0;if((t>>>0)%10|0){break l}while(1){n=g;g=g+1|0;l=p(l,10);if(!((t>>>0)%(l>>>0)|0)){continue}break}g=n^-1}n=p(d-s>>2,9);if((f&-33)==70){A=0;g=(g+n|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g;break k}A=0;g=((m+n|0)+g|0)-9|0;g=(g|0)>0?g:0;q=(g|0)>(q|0)?q:g}t=q|A;v=(t|0)!=0;D=a;l=c;u=f&-33;g=(m|0)>0?m:0;m:{if((u|0)==70){break m}g=m>>31;g=pi(g+m^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;h[g|0]=48;if((x-g|0)<2){continue}break}}y=g-2|0;h[y|0]=f;h[g-1|0]=(m|0)<0?45:43;g=x-y|0}n=(g+(v+(q+B|0)|0)|0)+1|0;Rf(D,32,l,n,e);Hf(a,w,B);Rf(a,48,c,n,e^65536);n:{o:{p:{if((u|0)==70){f=o+16|8;m=o+16|9;l=i>>>0>s>>>0?s:i;i=l;while(1){g=pi(j[i>>2],0,m);q:{if((i|0)!=(l|0)){if(o+16>>>0>=g>>>0){break q}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break q}if((g|0)!=(m|0)){break q}h[o+24|0]=48;g=f}Hf(a,g,m-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}if(t){Hf(a,227507,1)}if((q|0)<1|d>>>0<=i>>>0){break p}while(1){g=pi(j[i>>2],0,m);if(g>>>0>o+16>>>0){while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}}Hf(a,g,(q|0)<9?q:9);g=q-9|0;i=i+4|0;if(d>>>0<=i>>>0){break o}f=(q|0)>9;q=g;if(f){continue}break}break o}r:{if((q|0)<0){break r}s=d>>>0>i>>>0?d:i+4|0;d=o+16|8;f=o+16|9;m=i;while(1){g=pi(j[m>>2],0,f);if((f|0)==(g|0)){h[o+24|0]=48;g=d}s:{if((i|0)!=(m|0)){if(o+16>>>0>=g>>>0){break s}while(1){g=g-1|0;h[g|0]=48;if(o+16>>>0>>0){continue}break}break s}Hf(a,g,1);g=g+1|0;if((q|0)<1?!A:0){break s}Hf(a,227507,1)}v=g;g=f-g|0;Hf(a,v,(g|0)<(q|0)?g:q);q=q-g|0;m=m+4|0;if(s>>>0<=m>>>0){break r}if((q|0)>-1){continue}break}}Rf(a,48,q+18|0,18,0);Hf(a,y,x-y|0);break n}g=q}Rf(a,48,g+9|0,9,0)}break b}q=f&32;l=q?w+9|0:w;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(k[l|0]==45){b=-(z+(-b-z));break t}b=b+z-z}i=j[o+44>>2];g=i>>31;g=pi(g^g+i,0,x);if((x|0)==(g|0)){h[o+15|0]=48;g=o+15|0}m=B|2;i=j[o+44>>2];s=g-2|0;h[s|0]=f+15;h[g-1|0]=(i|0)<0?45:43;n=e&8;i=o+16|0;while(1){f=i;v=i;i=q;if(r(b)<2147483648){g=~~b}else{g=-2147483648}h[v|0]=i|k[g+227456|0];b=(b- +(g|0))*16;i=f+1|0;if(!((i-(o+16|0)|0)!=1|(b==0?!((d|0)>0|n):0))){h[f+1|0]=46;i=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((i-o|0)-18|0)>=(d|0)){q=((x-(o+16|0)|0)-s|0)+i|0}else{q=((d+x|0)-s|0)+2|0}d=q;n=d+m|0;Rf(g,32,f,n,e);Hf(a,l,m);Rf(a,48,c,n,e^65536);f=i-(o+16|0)|0;Hf(a,o+16|0,f);d=x-s|0;Rf(a,48,q-(d+f|0)|0,0,0);Hf(a,s,d)}Rf(a,32,c,n,e^8192);oe=o+560|0;return((c|0)>(n|0)?c:n)|0}function Rh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;m=oe-16|0;oe=m;n=j[a+278664>>2];j[m+8>>2]=0;l=j[a+128>>2];i=j[l+12>>2];g=k[b|0];if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}a:{b:{c:{d:{e:{f:{d=f;f=j[l+4>>2];d=i+((d>>>0)%(f>>>0)<<2)|0;e=j[d>>2];if(e){f=(i+(f<<2)|0)-4|0;while(1){l=j[e>>2];if(k[l|0]==(g|0)){if(!we(l,b)){break f}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}i=j[a+278688>>2];f=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}l=j[a+278680>>2];d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];g:{if(e){f=((l<<2)+i|0)-4|0;while(1){o=j[e>>2];if(k[o|0]==(g|0)){if(!we(o,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}f=0;j[m+12>>2]=0;if(g){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=((f>>>0)%(l>>>0)<<2)+i|0;e=j[d>>2];h:{if(e){f=((l<<2)+i|0)-4|0;while(1){e=j[e>>2];if(k[e|0]==(g|0)){if(!we(e,b)){break h}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}d=j[a+278672>>2];d=xe(n,16,d,d+1|0,j[a+278668>>2],m+12|0);j[a+278668>>2]=d;e=j[m+12>>2];if(e){break e}d=d+(j[a+278672>>2]<<4)|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;g=Le(b)+1|0;f=xe(n,1,0,g,0,m+12|0);j[d>>2]=f;e=j[m+12>>2];if(e){break e}Ae(f,b,g);j[d+4>>2]=1;j[d+8>>2]=0;e=xm(j[d>>2],j[a+278672>>2]+83|0,a+278676|0,n);if(e){break e}j[a+278672>>2]=j[a+278672>>2]+1;i=j[a+278688>>2];g=k[b|0]}j[m+8>>2]=0;f=0;if(g&255){e=g;d=b;while(1){f=p(f,31)+(e<<24>>24)|0;e=k[d+1|0];d=d+1|0;if(e){continue}break}}d=f;f=j[a+278680>>2];d=((d>>>0)%(f>>>0)<<2)+i|0;e=j[d>>2];if(e){f=((f<<2)+i|0)-4|0;g=g&255;while(1){l=j[e>>2];if((g|0)==k[l|0]){if(!we(l,b)){break g}}d=d-4|0;d=d>>>0>>0?f:d;e=j[d>>2];if(e){continue}break}}e=0}d=j[a+76>>2];if((d|0)!=j[a+72>>2]){break b}if(d){break d}d=xe(n,16,0,1,0,m+8|0);j[a+80>>2]=d;if(!j[m+8>>2]){break c}break a}i:{j:{k:{l=j[a+80>>2];b=j[e+4>>2];a=l+(b<<4)|0;switch(j[a+4>>2]-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}b=j[a+12>>2];if(b){qe[j[n+8>>2]](n,b)}j[a+12>>2]=0;if(!c|!k[c|0]){break a}t=a,u=gg(n,c,m+8|0),j[t+12>>2]=u;break a}e=0;l:{if(!c){break l}n=k[c|0];if(!n){break l}g=119584;i=10;e=(n|0)==45;a=e?c+1|0:c;d=a;e=k[c+e|0];m:{if((e|0)!=48){break m}if((k[a+1|0]|32)!=120){e=48;d=a;break m}e=k[a+2|0];g=119552;i=16;d=a+2|0}f=0;a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(a>>>(e&7)&1){while(1){f=k[e+119616|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}e=(n|0)==45?0-f|0:f}j[(l+(b<<4)|0)+12>>2]=e;break a}f=0;n:{if(!c){break n}e=k[c|0];if(!e){break n}g=119584;i=10;d=c;o:{if((e|0)!=48){break o}if((k[c+1|0]|32)!=120){e=48;d=c;break o}e=k[c+2|0];g=119552;i=16;d=c+2|0}a=k[((e&248)>>>3|0)+g|0];e=e<<24>>24;if(!(a>>>(e&7)&1)){break n}while(1){f=k[e+119616|0]+p(f,i)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+g|0]>>>(e&7)&1){continue}break}}j[(l+(b<<4)|0)+12>>2]=f;break a}j[m+8>>2]=e;break a}d=xe(n,16,d,d+1|0,j[a+80>>2],m+8|0);j[a+80>>2]=d;if(j[m+8>>2]){break a}}d=(j[a+72>>2]<<4)+d|0;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[a+72>>2]=j[a+72>>2]+1}l=j[a+80>>2];o=j[a+76>>2];q=l+(o<<4)|0;g=q;d=j[e+4>>2];p:{if(d>>>0>=83){d=(j[a+278668>>2]+(d<<4)|0)-1328|0;break p}d=(d<<4)+117072|0}j[g>>2]=j[d>>2];j[q+4>>2]=j[d+4>>2];j[q+8>>2]=j[d+8>>2];q:{r:{switch(j[d+4>>2]-1|0){case 0:j[q+12>>2]=0;if(!c|!k[c|0]){break q}t=q,u=gg(n,c,m+8|0),j[t+12>>2]=u;if(!j[m+8>>2]){break q}break a;case 1:e=0;s:{if(!c){break s}s=k[c|0];if(!s){break s}i=119584;r=10;e=(s|0)==45;g=e?c+1|0:c;d=g;e=k[c+e|0];t:{if((e|0)!=48){break t}if((k[g+1|0]|32)!=120){e=48;d=g;break t}e=k[g+2|0];i=119552;r=16;d=g+2|0}f=0;c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(c>>>(e&7)&1){while(1){f=k[e+119616|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}e=(s|0)==45?0-f|0:f}j[((o<<4)+l|0)+12>>2]=e;break q;case 2:break r;default:break q}}f=0;u:{if(!c){break u}e=k[c|0];if(!e){break u}i=119584;r=10;d=c;v:{if((e|0)!=48){break v}if((k[c+1|0]|32)!=120){e=48;d=c;break v}e=k[c+2|0];i=119552;r=16;d=c+2|0}c=k[((e&248)>>>3|0)+i|0];e=e<<24>>24;if(!(c>>>(e&7)&1)){break u}while(1){f=k[e+119616|0]+p(f,r)|0;e=h[d+1|0];d=d+1|0;if(k[((e&248)>>>3|0)+i|0]>>>(e&7)&1){continue}break}}j[((o<<4)+l|0)+12>>2]=f}w:{x:{if(Qe(b,117052,7)){break x}switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break x}}c=xm(j[q>>2],j[a+76>>2],j[a+128>>2],n);j[m+8>>2]=c;if(c){break a}}j[a+76>>2]=j[a+76>>2]+1;y:{if(Qe(b,118574,12)){break y}z:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}j[a+36>>2]=j[((o<<4)+l|0)+12>>2];break a}A:{if(Qe(b,118455,11)){break A}B:{switch(k[b+11|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break A}}j[a+40>>2]=j[((o<<4)+l|0)+12>>2];break a}C:{if(Qe(b,118467,12)){break C}D:{switch(k[b+12|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break C}}j[a+44>>2]=j[((o<<4)+l|0)+12>>2];break a}if(Qe(b,116880,7)){break a}E:{switch(k[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break a}}b=j[((o<<4)+l|0)+12>>2];if(!b){j[m+8>>2]=3;break a}F:{switch(k[b|0]-67|0){case 13:case 45:j[a+28>>2]=8;break a;case 10:case 42:j[a+28>>2]=16;break a;case 0:case 32:break F;default:break a}}j[a+28>>2]=32}oe=m+16|0;return j[m+8>>2]}function SL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,n=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;w=oe-16|0;oe=w;s=6;q=j[a+4>>2];a:{if(!q){break a}y=c?c-1|0:0;if(y>>>0>=m[q+408>>2]){break a}b:{c:{if(d&9){break c}e=j[q+380>>2];if(!e){break c}n=j[q+416>>2];v=j[q+104>>2];c=j[q+388>>2];g=l[b+12>>1];while(1){if(!(j[c+4>>2]==l[b+14>>1]?(g|0)==j[c>>2]:0)){c=c+36|0;f=f+1|0;if((e|0)!=(f|0)){continue}break c}break}f=j[c+8>>2];if(Fe(v,j[c+24>>2]+j[q+432>>2]|0)){break c}if(_e(v,p(j[c+28>>2],((f>>>1&1)+(f&1|4)|0)+(f>>>2&1)|0))){break c}d:{f=j[c+28>>2];if(!f){break d}c=j[c+8>>2];x=c&1;z=c&2;A=c&4;r=(x|4)+(z>>>1|0)+(A>>>2)|0;c=j[(y<<4)+n>>2];B=j[v+36>>2];g=j[v+32>>2];while(1){u=f+o>>>1|0;e=g+p(u,r)|0;if(B>>>0>>0){break d}e:{if(x){t=e+2|0;e=k[e+1|0]|k[e|0]<<8;break e}t=e+1|0;e=k[e|0]}if((e|0)!=(c|0)){e=c>>>0>e>>>0;o=e?u:o;f=e?f:u;if(o>>>0>>0){continue}break d}break}f:{if(z){f=k[t+1|0]|k[t|0]<<8;c=t+2|0;break f}f=k[t|0];c=t+1|0}e=k[c|0];g:{if(A){o=2;e=k[c+1|0]<<8|e<<16;break g}o=1;e=e<<8}c=k[c+o|0];Ve(v);if(!f){break c}e=c|e;g=(y<<4)+n|0;c=j[g+4>>2];o=j[q+304>>2];n=j[q+300>>2];h:{if((o|0)==(n|0)){r=c;break h}r=Ne(c,n,o);o=j[q+304>>2];c=j[g+4>>2]}j[a+56>>2]=r;c=Ne(l[b+12>>1]<<8,c,o);if(Fe(v,e+j[q+188>>2]|0)){break c}if(_e(v,f)){break c}g=j[v+36>>2];e=j[v+32>>2];n=e;if(g>>>0>>0){break d}i:{j:{k:{l:{m:{t=k[e|0];switch((t&3)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}f=e+2|0;if(g>>>0>>0){break d}e=h[n+1|0];u=e>>4;n=e<<28>>28;break i}f=e+3|0;if(g>>>0>>0){break d}n=h[e+2|0];u=h[e+1|0];break i}f=e+5|0;if(g>>>0>>0){break d}n=k[e+3|0]|k[e+4|0]<<8;n=(n<<24|n<<8&16711680)>>16;e=k[e+1|0]|k[e+2|0]<<8;u=(e<<24|e<<8&16711680)>>16;break i}f=e+7|0;if(g>>>0>>0){break d}n=k[e+6|0]|(k[e+5|0]<<8|k[e+4|0]<<16);u=k[e+3|0]|(k[e+2|0]<<8|k[e+1|0]<<16)}n:{o:{p:{q:{o=t>>>2&3;r=o;switch(o-1|0){case 2:break o;case 1:break p;case 0:break q;default:break n}}e=f+1|0;if(e>>>0>g>>>0){break d}f=k[f|0];r=f&15;o=f>>>4|0;f=e;break n}e=f+2|0;if(e>>>0>g>>>0){break d}r=k[f+1|0];o=k[f|0];f=e;break n}e=f+4|0;if(e>>>0>g>>>0){break d}r=k[f+3|0]|k[f+2|0]<<8;o=k[f+1|0]|k[f|0]<<8;f=e}r:{s:{t:{u:{z=t>>>4|0;switch((z&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}e=f+1|0;if(e>>>0>g>>>0){break d}c=h[f|0]<<8;f=e;break r}e=f+2|0;if(e>>>0>g>>>0){break d}c=k[f|0]|k[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;f=e;break r}e=f+3|0;if(e>>>0>g>>>0){break d}c=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=e}if((2147483647-r|0)<(n|0)){break d}j[a+72>>2]=1651078259;j[a+76>>2]=r;j[a+80>>2]=o;h[a+94|0]=1;j[a+48>>2]=0;j[a+36>>2]=n<<6;j[a+32>>2]=u<<6;j[a+28>>2]=r<<6;e=o<<6;j[a+24>>2]=e;g=o+7>>>3|0;j[a+84>>2]=g;j[a+44>>2]=0-e>>1;j[a+40>>2]=(c>>2)+32&-64;c=j[b+32>>2];j[a+104>>2]=n+r;j[a+100>>2]=u;j[a+52>>2]=c;if(Km(a,p(g,r))){break d}c=j[a+76>>2];v:{if(!c){break v}e=j[a+80>>2];if(!e){break v}u=j[v+36>>2];r=0;g=j[a+84>>2];n=j[q+208>>2]&2;x=n?g:0-g|0;o=j[a+88>>2];n=n?o:o+p(g,c-1|0)|0;t=p(c,e);w:{switch(z>>>2|0){case 0:a=u-f<<3;q=a>>>0>t>>>0?t:a;if(!q){break v}s=128;a=0;c=0;d=n;b=e;g=q;while(1){if(!((g^q)&7)){c=k[f|0];f=f+1|0}a=c<<24>>31&s|a;b=b-1|0;x:{if(!b){h[d|0]=a;a=0;s=128;b=e;n=n+x|0;d=n;break x}s=s>>>1|0;if(s){break x}h[d|0]=a;d=d+1|0;a=0;s=128}c=c<<1;g=g-1|0;if(g){continue}break}if((s|0)==128){break v}h[d|0]=a;Ve(v);break b;case 1:if(!t){break v}r=1;d=128;b=0;o=n;q=e;s=0;g=0;a=1;while(1){c=g;y:{if(r){while(1){z:{if(!a){c=s;a=1;break z}if(f>>>0>=u>>>0){a=1;c=g;g=d;break y}a=k[f|0];s=a&15;c=a>>>4|0;f=f+1|0;a=0}g=0;if(!c){continue}break}}g=a?d:0}b=g|b;q=q-1|0;A:{if(!q){h[o|0]=b;b=0;d=128;q=e;n=n+x|0;o=n;break A}d=d>>>1|0;if(d){break A}h[o|0]=b;o=o+1|0;b=0;d=128}r=(c|0)<2;g=c-1|0;t=t-1|0;if(t){continue}break}if((d|0)==128){break v}h[o|0]=b;Ve(v);break b;case 2:break w;default:break d}}if(!t){break v}c=1;s=128;d=n;b=e;g=0;a=1;while(1){B:{if(!c|f>>>0>=u>>>0){break B}C:{while(1){a=a^1;c=f+1|0;g=k[f|0];if(g){break C}f=c;if((c|0)!=(u|0)){continue}break}g=0;f=u;break B}f=c}r=(a?s:0)|r;b=b-1|0;D:{if(!b){h[d|0]=r;r=0;s=128;b=e;n=n+x|0;d=n;break D}s=s>>>1|0;if(s){break D}h[d|0]=r;d=d+1|0;r=0;s=128}c=(g|0)<2;g=g-1|0;t=t-1|0;if(t){continue}break}if((s|0)==128){break v}h[d|0]=r}Ve(v);break b}Ve(v)}if(d&16384){break a}f=j[q+416>>2];j[a+72>>2]=1869968492;j[a+108>>2]=0;c=f+(y<<4)|0;e=j[c+8>>2];c=j[c+12>>2];g=j[q+188>>2];n=j[q+104>>2];Yh(j[a+188>>2]);j[a+176>>2]=0;s=qr(a+160|0,n,g,c,e);if(s){break a}c=j[a+188>>2];g=j[c+24>>2];e=a+108|0;j[e>>2]=j[c+20>>2];j[e+4>>2]=g;j[e+16>>2]=j[c+36>>2];g=j[c+32>>2];j[e+8>>2]=j[c+28>>2];j[e+12>>2]=g;c=j[a+124>>2]&-6;j[a+124>>2]=c|4;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=c|260}j[a+52>>2]=0;j[a+40>>2]=0;c=j[(f+(y<<4)|0)+4>>2];f=j[q+304>>2];g=j[q+300>>2];if((f|0)!=(g|0)){c=Ne(c,g,f)}E:{if(h[q+324|0]&1){j[a+52>>2]=c;g=c;c=j[a+40>>2];break E}j[a+40>>2]=c;g=j[a+52>>2]}j[a+60>>2]=g;j[a+56>>2]=c;j[a+44>>2]=0;j[a+48>>2]=0;if(!(d&1)){d=j[b+20>>2];g=j[b+16>>2];b=a;if(i[a+110>>1]>=1){c=j[a+112>>2];f=0;while(1){C=c,D=ye(j[c>>2],g),j[C>>2]=D;C=c,D=ye(j[c+4>>2],d),j[C+4>>2]=D;c=c+8|0;f=f+1|0;if((f|0)>1]){continue}break}c=j[a+40>>2]}C=b,D=ye(c,g),j[C+40>>2]=D;C=a,D=ye(j[a+52>>2],d),j[C+52>>2]=D}Ug(e,w);b=j[w>>2];j[a+24>>2]=j[w+8>>2]-b;c=j[w+12>>2];d=j[w+4>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=c-d}s=0}oe=w+16|0;return s|0}function Pl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0),o=0,s=0,t=q(0),u=0,v=0,w=0,x=0,y=0,A=q(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;f=oe-4976|0;oe=f;G=j[b+1288>>2];v=j[b+1296>>2];a:{b:{c:{o=j[b+1284>>2];d:{if((o|0)<=0){break d}while(1){j[(f+1120|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}while(1){j[(f+848|0)+(e<<2)>>2]=-200;e=e+1|0;if((o|0)!=(e|0)){continue}break}e=0;if((o|0)<=0){break d}Ee(f+576|0,0,o<<2);while(1){j[(f+304|0)+(e<<2)>>2]=1;e=e+1|0;if((o|0)!=(e|0)){continue}break}if((o|0)>0){break c}}if(o){break a}j[f+1392>>2]=0;j[f+1396>>2]=G;if((G|0)>=1){s=G-1|0;while(1){g=h;i=g<<2;t=n[i+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));e:{if(q(r(m))>2]+n[v+1112>>2])^1)){H=H+1|0;u=h+u|0;l=g+l|0;x=p(g,h)+x|0;y=p(h,h)+y|0;w=p(g,g)+w|0;break f}B=B+1|0;k=h+k|0;E=g+E|0;C=p(g,h)+C|0;F=p(h,h)+F|0;D=p(g,g)+D|0}h=g+1|0;if((g|0)!=(s|0)){continue}break}}j[f+1444>>2]=B;j[f+1440>>2]=C;j[f+1436>>2]=F;j[f+1432>>2]=D;j[f+1428>>2]=k;j[f+1424>>2]=E;j[f+1420>>2]=H;j[f+1416>>2]=x;j[f+1412>>2]=y;j[f+1408>>2]=w;j[f+1404>>2]=u;j[f+1400>>2]=l;break b}Ee(f+32|0,255,o<<2);if((o|0)==1){break a}K=o-1|0;N=G-1|0;h=j[b>>2];while(1){i=(f+1392|0)+p(I,56)|0;I=I+1|0;s=j[(I<<2)+b>>2];j[i+4>>2]=s;j[i>>2]=h;u=0;w=0;y=0;x=0;E=0;k=0;l=0;D=0;F=0;C=0;B=0;L=0;J=(s|0)<(G|0)?s:N;if((J|0)>=(h|0)){while(1){g=h;M=g<<2;t=n[M+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));g:{if(q(r(m))>2]+n[v+1112>>2])^1)){l=l+1|0;B=h+B|0;L=g+L|0;D=p(g,h)+D|0;F=p(h,h)+F|0;C=p(g,g)+C|0;break h}u=u+1|0;E=h+E|0;k=g+k|0;w=p(g,h)+w|0;y=p(h,h)+y|0;x=p(g,g)+x|0}h=g+1|0;if((g|0)!=(J|0)){continue}break}}j[i+52>>2]=u;j[i+48>>2]=w;j[i+44>>2]=y;j[i+40>>2]=x;j[i+36>>2]=E;j[i+32>>2]=k;j[i+28>>2]=l;j[i+24>>2]=D;j[i+20>>2]=F;j[i+16>>2]=C;j[i+12>>2]=B;j[i+8>>2]=L;H=l+H|0;h=s;if((K|0)!=(I|0)){continue}break}}if(!H){g=0;break a}j[f+28>>2]=-200;j[f+24>>2]=-200;Ol(f+1392|0,o-1|0,f+28|0,f+24|0,v);e=j[f+28>>2];j[f+1120>>2]=e;j[f+848>>2]=e;h=j[f+24>>2];j[f+852>>2]=h;j[f+1124>>2]=h;if((o|0)>=3){E=v+836|0;y=2;while(1){w=y<<2;s=j[(w+b|0)+520>>2];e=s<<2;C=j[e+(f+576|0)>>2];i=C<<2;h=i+(f+32|0)|0;B=j[e+(f+304|0)>>2];i:{if(j[h>>2]==(B|0)){break i}e=b+520|0;l=B<<2;H=j[e+l>>2];F=j[e+i>>2];j[h>>2]=B;j:{I=i+(f+848|0)|0;g=j[I>>2];e=j[i+(f+1120|0)>>2];h=g;k:{if((e|0)<0){break k}h=e;if((g|0)<0){break k}h=e+g>>1}k=(h|0)==-1;u=j[l+(f+848|0)>>2];L=l+(f+1120|0)|0;g=j[L>>2];e=u;l:{if((g|0)<0){break l}e=g;if((u|0)<0){break l}e=g+u>>1}u=e;if(!(k|(u|0)==-1)){k=u-h|0;D=j[l+E>>2];g=j[i+E>>2];i=D-g|0;G=(k|0)/(i|0)|0;l=g<<2;t=n[l+d>>2];m=q(q(t*q(7.314285755157471))+q(1023.5));m:{if(q(r(m))0?e:0;e=(e|0)<1023?e:1023;n:{m=t;t=n[v+1112>>2];o:{if(!(m<=q(n[c+l>>2]+t)^1)){A=q(e|0);m=q(h|0);if(A>q(n[v+1096>>2]+m)|A>2])){break o}}e=h-e|0;x=p(e,e);e=1;g=g+1|0;if((D|0)>(g|0)){l=p(i,G);e=l>>31;K=k>>31;K=(K+k^K)-(e^e+l)|0;N=(k|0)>-1?1:-1;l=0;e=h;while(1){J=g<<2;m=n[J+d>>2];A=q(q(m*q(7.314285755157471))+q(1023.5));p:{if(q(r(A))0?k:0;k=(k|0)<1023?k:1023;if(!(!k|m<=q(t+n[c+J>>2])^1)){A=q(k|0);m=q(e|0);if(A>q(n[v+1096>>2]+m)|A>2])){break o}}J=x;x=e-k|0;x=J+p(x,x)|0;l=l-(M?0:i)|0;g=g+1|0;if((D|0)!=(g|0)){continue}break}e=i}t=n[v+1096>>2];m=q(e|0);A=q(q(t*t)/m);t=n[v+1104>>2];if(A>t){break n}A=n[v+1100>>2];if(t>>0)/(e>>>0)|0)^1|t>2]=-200;j[f+16>>2]=-200;j[f+12>>2]=-200;j[f+8>>2]=-200;g=Ol((f+1392|0)+p(F,56)|0,s-F|0,f+20|0,f+16|0,v);e=Ol((f+1392|0)+p(s,56)|0,H-s|0,f+12|0,f+8|0,v);q:{if(!g){if(!e){break q}j[f+12>>2]=j[f+16>>2];j[f+8>>2]=u;break q}j[f+20>>2]=h;j[f+16>>2]=j[f+12>>2];if(e){break j}}e=j[f+20>>2];j[I>>2]=e;if(!C){j[f+1120>>2]=e}e=j[f+16>>2];j[w+(f+1120|0)>>2]=e;h=j[f+12>>2];j[w+(f+848|0)>>2]=h;g=j[f+8>>2];j[L>>2]=g;if((B|0)==1){j[f+852>>2]=g}if((e&h)<0){break i}e=s;r:{if((e|0)<1){break r}while(1){h=e-1|0;g=(f+304|0)+(h<<2)|0;if((B|0)!=j[g>>2]){break r}j[g>>2]=y;g=(e|0)>1;e=h;if(g){continue}break}}e=s+1|0;if((o|0)<=(e|0)){break i}while(1){h=(f+576|0)+(e<<2)|0;if((C|0)!=j[h>>2]){break i}j[h>>2]=y;e=e+1|0;if((o|0)!=(e|0)){continue}break}break i}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200;break i}U(1);z()}j[w+(f+848|0)>>2]=-200;j[w+(f+1120|0)>>2]=-200}y=y+1|0;if((y|0)!=(o|0)){continue}break}e=j[f+1120>>2]}g=Ef(a,o<<2);d=g;c=j[f+848>>2];a=c;s:{if((e|0)<0){break s}a=e;if((c|0)<0){break s}a=c+e>>1}j[d>>2]=a;d=g;e=j[f+852>>2];c=j[f+1124>>2];a=e;t:{if((c|0)<0){break t}a=c;if((e|0)<0){break t}a=c+e>>1}j[d+4>>2]=a;if((o|0)<3){break a}d=2;h=v+836|0;while(1){e=d<<2;a=e+b|0;s=j[a+772>>2]<<2;i=j[a+1024>>2]<<2;u=j[i+g>>2]&32767;a=(j[s+g>>2]&32767)-u|0;c=a>>31;k=c^a+c;c=j[h+i>>2];c=(p(k,j[e+h>>2]-c|0)|0)/(j[h+s>>2]-c|0)|0;s=u+((a|0)<0?0-c|0:c)|0;i=j[e+(f+848|0)>>2];c=j[e+(f+1120|0)>>2];a=i;u:{if((c|0)<0){break u}a=c;if((i|0)<0){break u}a=c+i>>1}c=s|32768;j[e+g>>2]=(a|0)<0?c:(a|0)==(s|0)?c:a;d=d+1|0;if((o|0)!=(d|0)){continue}break}}oe=f+4976|0;return g} -function Py(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=j[c+4>>2];s=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}f=k[n+9|0];h=j[d>>2];q=j[d+4>>2];u=j[c+16>>2];t=j[c+20>>2];d=j[j[a+52>>2]+12>>2]+28|0;o=j[b+4>>2];b:{c:{if(!o){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=k[d|0]+e|0;d=k[d+1|0];d:{if(d){e=d+e|0;d=g+(d<<1)|0;break d}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}e=(d&2)+d|0;m=0;while(1){g=l[e>>1];r=l[e+2>>1];d=((r<<2)+e|0)+4|0;e=d;m=r+(g+m|0)|0;if((s|0)>(m|0)){continue}break}o=o-1|0;if(o){continue}break c}}o=o<<1;while(1){e=0;while(1){g=d+4|0;e=l[d>>1]+e|0;d=l[d+2>>1];e:{if(d){e=d+e|0;d=g+(d<<2)|0;break e}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}o=o-1|0;if(o){continue}break}}g=(t+p(q,u)|0)+p(f,h)|0;m=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!m:0)){f:{g:{a=j[c+4>>2];switch(k[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(j[a+20>>2]!=2016?!(j[a+16>>2]==2016|j[a+12>>2]==2016):0)){g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];h:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break h}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;i:{if(!e){break i}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&132184095;a=(p((a&132184095)-r|0,a>>>5&31)>>>5|0)+r&132184095;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];j:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break j}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;k:{if(!e){break k}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&65043487;a=(p((a&65043487)-r|0,a>>>5&31)>>>5|0)+r&65043487;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<2)|0;o=m+j[b+8>>2]|0;n=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];l:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=o-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break l}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;m:{if(!e){break m}d=m-b|0;h=(d|0)>0;a=h?m:b;q=o-a|0;d=e-(h?d:0)|0;q=(d|0)>(q|0)?q:d;if((q|0)>=1){u=(a<<2)+g|0;t=f+(a-b<<2)|0;d=0;while(1){h=d<<2;r=h+u|0;w=j[r>>2];a=w&16711935;v=r;h=j[h+t>>2];r=h>>>24|0;x=a+(p(r,(h&16711935)-a|0)>>>8|0)&16711935;a=w&65280;j[v>>2]=x|(p((h&65280)-a|0,r)>>>8|0)+a&65280|-16777216;d=d+1|0;if((q|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}n:{switch(f-2|0){case 0:if(!(j[n+20>>2]!=2016?!(j[n+16>>2]==2016|j[n+12>>2]==2016):0)){o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];o:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break o}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&132184095;n=(p((n&132184095)-f|0,n>>>5&31)>>>5|0)+f&132184095;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];p:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break p}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&65043487;n=(p((n&65043487)-f|0,n>>>5&31)>>>5|0)+f&65043487;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b;case 2:break n;default:break b}}m=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];q:{if(b){d=b<<2;Ge((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break q}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<2)+g|0;o=0;while(1){n=j[e>>2];f=n>>>24|0;h=j[d>>2];q=h&65280;r=(p(f,(n&65280)-q|0)>>>8|0)+q&65280;v=n&16711935;n=h&16711935;j[d>>2]=r|(p(f,v-n|0)>>>8|0)+n&16711935|-16777216;d=d+4|0;e=e+4|0;o=o+1|0;if((a|0)!=(o|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;m=m-1|0;if(m){continue}break}}if(k[c|0]&2){jg(c)}return 0}function ep(a,b,c){var d=0,e=0,f=0,g=0,o=0,s=0,t=0,u=0,v=0,x=0,y=q(0),z=0;v=oe-32|0;oe=v;e=(b>>>0)%257|0;d=p(e,84)+a|0;u=d+56|0;j[a+52>>2]=u;if(l[d+136>>1]!=(b|0)){j[u>>2]=0;j[d+60>>2]=0;g=j[d+76>>2];if(g){ze(g);j[d+76>>2]=0}e=p(e,84)+a|0;g=j[e+100>>2];if(g){ze(g);j[e+100>>2]=0}i[d+136>>1]=0;u=j[a+52>>2]}d=0;a:{if((j[u>>2]&c)==(c|0)){break a}g=j[a>>2];if(!g){d=32;break a}d=j[u+4>>2];if(!d){d=0;b:{if(!g){break b}e=j[g+92>>2];if(!e){break b}d=qe[j[j[e+12>>2]+12>>2]](e,b)|0}j[u+4>>2]=d}d=Wh(g,d,j[a+21688>>2]);if(d){break a}e=j[g+84>>2];c:{if(!(c&16)){break c}s=j[u>>2];if(s&16){break c}d=(j[e+36>>2]&-64)/64|0;o=j[e+32>>2];z=(o+j[e+24>>2]|0)+63|0;d:{if(h[g+8|0]&1){x=j[a+8>>2]-d|0;f=j[e+28>>2];break d}f=i[j[g+32>>2]+(j[a+21684>>2]<<4)>>1]}t=j[e+40>>2];j[u+68>>2]=d;g=(z&-64)/64|0;j[u+60>>2]=g;j[u+56>>2]=(o&-64)/64;j[u+72>>2]=x;j[u+64>>2]=d+((f+63&-64)/-64|0);j[u+76>>2]=(t+63&-64)/64;d=j[a+24>>2];if(!(!(d&1)|h[a+20|0]&1)){g=j[a+36>>2]+g|0;j[u+60>>2]=g}if(!(!(d&2)|k[a+20|0]&2)){f=u;y=q(w(n[a+40>>2]));e:{if(q(r(y))>2]=d+g}j[u>>2]=s|16}z=c&1;f:{if(!(c&2)|k[u|0]&2?!(h[u|0]&1?0:z):0){break f}j[v+28>>2]=0;if(!(!(k[a+24|0]&2)|k[a+20|0]&2)){g=e+108|0;j[v+8>>2]=65536;f=j[a+4>>2];y=n[a+40>>2];j[v+16>>2]=0;j[v+20>>2]=65536;c=v;y=q(y*q(65536));g:{if(q(r(y))>2]=(d|0)/(f|0);Ah(g,v+8|0)}h:{if(!(j[e+72>>2]==1651078259|j[a+28>>2]<1)){Hs(e,v+28|0);d=fO(j[65573],v+8|0);if(d){break a}eO(j[v+8>>2],j[a+28>>2]<<6);_N(v+28|0,j[v+8>>2]);cO(j[v+8>>2]);d=Gs(v+28|0,z<<1);if(d){oj(j[v+28>>2]);break a}e=j[v+28>>2]+28|0;break h}d=js(e,z<<1);if(d){break a}e=e+76|0}c=j[e+4>>2];g=z?u+8|0:u+32|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;c=j[e+20>>2];j[g+16>>2]=j[e+16>>2];j[g+20>>2]=c;c=j[e+12>>2];j[g+8>>2]=j[e+8>>2];j[g+12>>2]=c;c=3;i:{j:{k:{switch(k[e+18|0]-1|0){case 2:c=2;break j;case 0:break j;case 3:break k;default:break i}}c=1}j[g+8>>2]=j[g+8>>2]<>2];d=c&1;if(!(!d|h[a+20|0]&1)){f=j[a+36>>2];j[g+8>>2]=f+j[g+8>>2];j[g+4>>2]=f+j[g+4>>2]}if(!(!(c&2)|k[a+20|0]&2)){c=g;o=c;y=q(w(n[a+40>>2]));l:{if(q(r(y))>2]=f+j[c+8>>2];j[g+4>>2]=f+j[g+4>>2]}f=j[g>>2];m:{if(!f){break m}c=Te(p(f,j[g+8>>2]));j[g+12>>2]=c;if(!c){d=64;break a}o=c;c=j[g+8>>2];Ee(o,0,p(f,c));if(!j[e>>2]){break m}x=0;while(1){c=p(c,x);f=j[e+8>>2];d=p(f,x);n:{if(z){c=c+j[g+12>>2]|0;d=d+j[e+12>>2]|0;o:{switch(k[e+18|0]-1|0){case 0:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c+7|0]=f&1;h[c|0]=f>>>7;h[c+6|0]=f>>>1&1;h[c+5|0]=f>>>2&1;h[c+4|0]=f>>>3&1;h[c+3|0]=f>>>4&1;h[c+2|0]=f>>>5&1;h[c+1|0]=f>>>6&1;c=c+8|0;d=d+1|0;o=o+8|0;if(o>>>0>2]){continue}break}break n;case 2:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+3|0]=f>>>1&1;h[c+2|0]=f>>>3&1;h[c+1|0]=f>>>5&1;c=c+4|0;d=d+1|0;o=o+4|0;if(o>>>0>2]){continue}break}break n;case 3:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+1|0]=f>>>3&1;c=c+2|0;d=d+1|0;s=s+2|0;if(s>>>0>2]){continue}break}break n;default:break o}}s=0;if(!j[e+4>>2]){break n}while(1){h[c|0]=k[d|0]>>>7;c=c+1|0;d=d+1|0;s=s+1|0;if(s>>>0>2]){continue}break}break n}p:{switch(k[e+18|0]-1|0){case 0:if(!j[e+4>>2]){break n}s=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;o=0;while(1){d=h[s|0];h[c|0]=d>>>7;h[c+7|0]=0-(d&1);h[c+6|0]=d<<30>>24>>>7;h[c+5|0]=d<<29>>24>>>7;h[c+4|0]=d<<28>>24>>>7;h[c+3|0]=d<<27>>24>>>7;h[c+2|0]=d<<26>>24>>>7;h[c+1|0]=d<<25>>24>>>7;s=s+1|0;c=c+8|0;o=o+8|0;if(o>>>0>2]){continue}break}break n;case 2:if(!j[e+4>>2]){break n}s=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;d=0;while(1){f=c;o=k[s|0];t=o>>>6&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f|0]=t;f=c;t=o>>>4&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+1|0]=t;f=c;t=o>>>2&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+2|0]=t;f=c;o=o&2;if(o){o=((o<<8>>>0)/3|0)-1|0}else{o=0}h[f+3|0]=o;s=s+1|0;c=c+4|0;d=d+4|0;if(d>>>0>2]){continue}break}break n;case 3:if(!j[e+4>>2]){break n}d=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;o=0;while(1){f=c;t=k[d|0];s=t>>>4|0;if(s){s=((s<<8>>>0)/15|0)-1|0}else{s=0}h[f|0]=s;f=c;t=t&15;s=0;q:{if(!t){break q}s=((t<<8>>>0)/15|0)-1|0}h[f+1|0]=s;d=d+1|0;c=c+2|0;o=o+2|0;if(o>>>0>2]){continue}break}break n;default:break p}}Ae(c+j[g+12>>2]|0,d+j[e+12>>2]|0,f)}x=x+1|0;if(x>>>0>2]){c=j[g+8>>2];continue}break}d=j[a+24>>2]&1}r:{if(!d|h[a+20|0]&1){break r}x=j[g>>2]-1|0;if((x|0)<0){break r}s=j[a+36>>2];while(1){if((s|0)>=1){e=j[g+12>>2]+p(j[g+8>>2],x)|0;o=1;while(1){d=j[g+4>>2];c=d-1|0;if((c|0)>=1){while(1){s:{if(z){f=c+e|0;h[f|0]=k[f|0]|k[(d+e|0)-2|0];break s}f=c+e|0;d=k[(d+e|0)-2|0]+k[f|0]|0;h[f|0]=d>>>0<255?d:255}d=c;c=c-1|0;if((c|0)>0){continue}break}s=j[a+36>>2]}c=(o|0)<(s|0);o=o+1|0;if(c){continue}break}}x=x-1|0;if((x|0)>=0){continue}break}}j[u>>2]=j[u>>2]|(z?1:2);a=j[v+28>>2];if(!a){break f}oj(a)}i[u+80>>1]=b;d=0}oe=v+32|0;return d}function _x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=j[a+28>>2];if(u){n=k[a+63|0];o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:c=3;break a;case 0:c=2;break a;case 1:c=1;break a;case 2:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=0;d=0;e=0;e:{f:{g:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=u-1|0;e=i;if(o){c=k[(c&255)+o|0]}h[e|0]=c;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}d=0;e=0;c=0;n:{o:{p:{switch(t|0){case 0:d=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 1:d=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 2:c=(k[b+34|0]>>>3|0)+f|0;e=(k[b+33|0]>>>3|0)+f|0;d=(k[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];e=k[e|0]}z=e&255;e=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[e+1|0];q=d&255;d=k[e|0];m=c;c=k[e+2|0];c=((p(z-g|0,n)|0)/255|0)+g>>>3&28|((p(q-d|0,n)|0)/255|0)+d&-32|(((p(m-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=0;continue}break}i=i+v|0;f=f+w|0;u=d;if(d){continue}break}}}function xH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=q(0),u=0,v=q(0),w=0,x=0,y=0,z=q(0),A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=q(0),J=0,K=q(0),L=0,M=0;m=j[a+36>>2];d=j[a+64>>2];e=j[d+104>>2];i=j[d+4>>2];w=j[i+28>>2];B=j[a+104>>2];F=oe;d=j[i+4>>2]<<2;C=F-(d+15&-16)|0;c=C;oe=c;G=Ef(a,d);y=Ef(a,j[i+4>>2]<<2);H=Ef(a,j[i+4>>2]<<2);z=n[B+4>>2];d=j[i+4>>2];x=c-((d<<2)+15&-16)|0;D=x;oe=x;A=j[a+28>>2];s=j[((A<<2)+w|0)+544>>2];c=j[e+56>>2];f=j[B+8>>2];j[a+40>>2]=A;k=A?104:0;o=c+p(f,52)|0;a:{if((d|0)<=0){f=(m|0)/2|0;d=f<<2;break a}g=m-1|0;r=e+4|0;f=(m|0)/2|0;d=f<<2;I=q(+q(q(q(((uP(q(q(4)/q(m|0))),pP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345);u=(m|0)<3;while(1){c=h<<2;b=j[c+j[a>>2]>>2];L=c+y|0,M=Ef(a,d),j[L>>2]=M;l=c+G|0;L=l,M=Ef(a,d),j[L>>2]=M;dH(b,r,w,j[a+24>>2],j[a+28>>2],j[a+32>>2]);CK(j[j[((j[a+28>>2]<<2)+e|0)+12>>2]>>2],b,j[l>>2]);zI((p(j[a+28>>2],12)+e|0)+20|0,b);t=q(+q(q(q(q((j[b>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+I)+.345);n[b>>2]=t;l=c+x|0;n[l>>2]=t;c=1;if(!u){while(1){v=n[b+(c<<2)>>2];K=q(v*v);E=c+1|0;v=n[b+(E<<2)>>2];v=q(+q(q(q(q(q(((uP(q(K+q(v*v))),pP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))*q(.5))+I)+.345);n[b+(E<<1&-4)>>2]=v;t=t(c|0)){continue}break}n[l>>2]=t}if(!(t>q(0)^1)){j[l>>2]=0;t=q(0)}z=t>z?t:z;h=h+1|0;if((h|0)>2]){continue}break}}l=k+o|0;k=Ef(a,d);o=Ef(a,d);c=j[i+4>>2];if((c|0)>=1){u=0;while(1){g=u<<2;r=j[g+G>>2];E=j[(g+s|0)+4>>2];b=j[g+j[a>>2]>>2];j[a+40>>2]=A;d=g+H|0;c=Ef(a,60);j[d>>2]=c;j[c+56>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;h=b+(f<<2)|0;c=0;if((m|0)>=2){while(1){J=c<<2;n[h+J>>2]=+q(q(q((j[r+J>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345;c=c+1|0;if((f|0)!=(c|0)){continue}break}}nK(l,h,k);aK(l,b,o,z,n[g+x>>2]);hm(l,k,o,1,b,r,h);c=((E<<2)+s|0)+1028|0;g=j[c>>2]<<2;if(j[(g+w|0)+800>>2]!=1){oe=F;return-1}g=Pl(a,j[g+j[e+48>>2]>>2],h,b);j[j[d>>2]+28>>2]=g;if(!(!j[j[j[a+64>>2]+104>>2]+80>>2]|!j[j[d>>2]+28>>2])){hm(l,k,o,2,b,r,h);g=Pl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]+56>>2]=g;hm(l,k,o,0,b,r,h);b=Pl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],9362);j[j[d>>2]+4>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],18724);j[j[d>>2]+8>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],28086);j[j[d>>2]+12>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],37449);j[j[d>>2]+16>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],46811);j[j[d>>2]+20>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],56173);j[j[d>>2]+24>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],9362);j[j[d>>2]+32>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],18724);j[j[d>>2]+36>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],28086);j[j[d>>2]+40>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],37449);j[j[d>>2]+44>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],46811);j[j[d>>2]+48>>2]=b;b=j[j[e+48>>2]+(j[c>>2]<<2)>>2];c=j[d>>2];c=ng(a,b,j[c+28>>2],j[c+56>>2],56173);j[j[d>>2]+52>>2]=c}c=j[i+4>>2];u=u+1|0;if((c|0)>(u|0)){continue}break}}n[B+4>>2]=z;d=(c<<2)+15&-16;m=D-d|0;c=m;oe=c;o=c-d|0;oe=o;d=j[j[j[a+64>>2]+104>>2]+80>>2]?0:7;x=w+2868|0;while(1){f=d<<2;h=j[(f+B|0)+12>>2];df(h,0,1);df(h,A,j[e+44>>2]);if(j[a+28>>2]){df(h,j[a+24>>2],1);df(h,j[a+32>>2],1)}b=0;c=j[i+4>>2];if((c|0)>=1){while(1){c=b<<2;L=c+C|0,M=zG(h,a,j[j[e+48>>2]+(j[((j[(c+s|0)+4>>2]<<2)+s|0)+1028>>2]<<2)>>2],j[f+j[c+H>>2]>>2],j[c+y>>2]),j[L>>2]=M;b=b+1|0;c=j[i+4>>2];if((b|0)<(c|0)){continue}break}}EJ(d,x,l,s,G,y,C,j[(f+(p(j[a+28>>2],60)+w|0)|0)+3240>>2],c);b=0;if(j[s>>2]>=1){while(1){r=j[((b<<2)+s|0)+1092>>2];k=0;c=0;f=j[i+4>>2];if((f|0)>=1){while(1){g=c<<2;if(j[(g+s|0)+4>>2]==(b|0)){f=k<<2;j[f+o>>2]=j[g+C>>2]!=0;j[f+m>>2]=j[g+y>>2];k=k+1|0;f=j[i+4>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}g=r<<2;r=(g+w|0)+1312|0;k=qe[j[j[(j[r>>2]<<2)+3824>>2]+20>>2]](a,j[g+j[e+52>>2]>>2],m,o,k)|0;f=0;c=0;u=j[i+4>>2];if((u|0)>=1){while(1){D=c<<2;if(j[(D+s|0)+4>>2]==(b|0)){j[m+(f<<2)>>2]=j[y+D>>2];f=f+1|0}c=c+1|0;if((u|0)!=(c|0)){continue}break}}qe[j[j[(j[r>>2]<<2)+3824>>2]+24>>2]](h,a,j[g+j[e+52>>2]>>2],m,o,f,k,b)|0;b=b+1|0;if((b|0)>2]){continue}break}}c=(j[j[j[a+64>>2]+104>>2]+80>>2]?14:7)>>>0>d>>>0;d=d+1|0;if(c){continue}break}oe=F;return 0}function pJ(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,i=0,n=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;f=oe+ -64|0;oe=f;u=j[b+532>>2];a:{if(!u){u=dh(j[j[b+96>>2]+4>>2],197892);if(!u){g=11;break a}j[b+532>>2]=u;j[b+508>>2]=j[u>>2]}B=b,C=Bh(j[b+96>>2],198052),j[B+536>>2]=C;z=j[a+28>>2];j[b+140>>2]=0;j[b+132>>2]=0;j[b+136>>2]=0;e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(g){break a}A=b+132|0;while(1){b:{c:{d:{e:{f:{g:{if((d|0)!=2001684038){h:{if((d|0)<=1953658212){if((d|0)==65536|(d|0)==131072){break h}g=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}g=2;if((d|0)!=1954115633){break a}}j[A>>2]=1953784678;if((d|0)!=1953784678){break f}g=$e(a,198080,A);j[f+8>>2]=g;if(g){break a}d=j[b+140>>2];if(d){break g}g=8;break a}g=Fe(a,e);j[f+8>>2]=g;if(g){break a}s=j[a+28>>2];j[f+60>>2]=0;g=$e(a,198096,f+16|0);j[f+60>>2]=g;if(g){break a}g=8;d=j[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=j[f+24>>2];if((d|0)!=j[a+4>>2]){break a}e=l[f+28>>1];if(!e|d>>>0<=p(e,20)+44>>>0){break a}d=e<<4|12;e=j[f+32>>2];if(d>>>0>=e>>>0|e&3){break a}d=j[f+44>>2];i:{if(!j[f+40>>2]){if(!(d|j[f+48>>2])){break i}break a}if(!d){break i}if(!j[f+48>>2]){break a}}if(j[f+56>>2]?!j[f+52>>2]:0){break a}v=0;o=He(s,e,f+60|0);if(j[f+60>>2]){r=0;g=0;break b}r=He(s,40,f+60|0);g=0;if(j[f+60>>2]){break b}d=l[f+28>>1];e=d;if(e){while(1){g=g+1|0;e=e>>>1|0;if(e){continue}break}}h[o|0]=k[f+23|0];h[o+1|0]=l[f+22>>1];h[o+2|0]=j[f+20>>2]>>>8;h[o+3|0]=j[f+20>>2];h[o+4|0]=k[f+29|0];e=k[f+28|0];t=g-1|0;q=16<>>8;h[o+9|0]=t;h[o+8|0]=t>>>8;h[o+7|0]=q;h[o+6|0]=q>>>8;h[o+5|0]=e;g=xe(s,24,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}v=xe(s,4,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}d=_e(a,p(l[f+28>>1],20));j[f+60>>2]=d;if(d){break b}d=0;n=0;if(l[f+28>>1]){while(1){e=p(n,24)+g|0;B=e,C=Ff(a),j[B>>2]=C;B=e,C=Ff(a),j[B+4>>2]=C;B=e,C=Ff(a),j[B+8>>2]=C;B=e,C=Ff(a),j[B+12>>2]=C;B=e,C=Ff(a),j[B+16>>2]=C;i=d;d=j[e>>2];if(i>>>0>=d>>>0){Ve(a);break c}j[(n<<2)+v>>2]=e;n=n+1|0;if(n>>>0>1]){continue}break}}Ve(a);eg(v,l[f+28>>1],4,811);w=l[f+28>>1];n=w<<4|12;e=p(w,20)+44|0;if(w){d=0;t=j[f+32>>2];q=j[f+24>>2];while(1){x=j[(d<<2)+v>>2];if(j[x+4>>2]!=(e|0)){break c}y=j[x+8>>2];if(q>>>0>>0|q-y>>>0>>0){break c}i=j[x+12>>2];if(i>>>0>>0|i>>>0>t>>>0|t-i>>>0>>0){break c}j[x+20>>2]=n;n=(i+3&-4)+n|0;e=(y+3&-4)+e|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}d=j[f+40>>2];if(d){if((d|0)!=(e|0)){break c}e=j[f+44>>2]+e|0;if(e>>>0>m[f+24>>2]){break c}}q=j[f+52>>2];if(!q){d=j[f+24>>2];break d}if((q|0)!=(e+3&-4)){break c}d=j[f+24>>2];e=q+j[f+56>>2]|0;if(d>>>0>=e>>>0){break d}break c}g=10;if(d>>>0>j[a+4>>2]>>>5>>>0){break a}B=b,C=xe(z,4,0,d,0,f+8|0),j[B+144>>2]=C;g=j[f+8>>2];if(g){break a}g=_e(a,j[b+140>>2]<<2);j[f+8>>2]=g;if(g){break a}if(j[b+140>>2]>=1){g=0;while(1){d=Ff(a);j[j[b+144>>2]+(g<<2)>>2]=d;g=g+1|0;if((g|0)>2]){continue}break}}Ve(a);g=j[f+8>>2];if(!g){break e}break a}j[b+136>>2]=65536;j[b+140>>2]=1;a=He(z,4,f+8|0);j[b+144>>2]=a;g=j[f+8>>2];if(g){break a}j[a>>2]=e}g=6;c=(c|0)>0?c:0;if((c|0)>=j[b+140>>2]){break a}a=j[b+104>>2];g=Fe(a,j[j[b+144>>2]+(c<<2)>>2]);if(g){break a}g=qe[j[u+88>>2]](b,a)|0;if(g){break a}j[b+4>>2]=c;j[b>>2]=j[b+140>>2];g=0;break a}if((d|0)!=(e|0)|j[f+32>>2]!=(n|0)){break c}if(w){n=o+12|0;d=0;while(1){i=p(d,24)+g|0;h[n|0]=k[i+3|0];h[n+1|0]=l[i+2>>1];h[n+2|0]=j[i>>2]>>>8;h[n+3|0]=j[i>>2];h[n+4|0]=k[i+19|0];h[n+5|0]=l[i+18>>1];h[n+6|0]=j[i+16>>2]>>>8;h[n+7|0]=j[i+16>>2];h[n+8|0]=k[i+23|0];h[n+9|0]=l[i+22>>1];h[n+10|0]=j[i+20>>2]>>>8;h[n+11|0]=j[i+20>>2];h[n+12|0]=k[i+15|0];h[n+13|0]=l[i+14>>1];h[n+14|0]=j[i+12>>2]>>>8;h[n+15|0]=j[i+12>>2];e=Fe(a,j[i+4>>2]);j[f+60>>2]=e;if(e){break b}e=_e(a,j[i+8>>2]);j[f+60>>2]=e;if(e){break b}q=j[i+8>>2];e=j[i+12>>2];j:{if((q|0)==(e|0)){Ae(j[i+20>>2]+o|0,j[a+32>>2],q);break j}j[f+12>>2]=e;e=qM(s,j[i+20>>2]+o|0,f+12|0,j[a+32>>2],j[i+8>>2]);j[f+60>>2]=e;if(e){break b}if(j[f+12>>2]!=j[i+12>>2]){break c}}Ve(a);t=j[i+12>>2];q=j[i+20>>2];e=t+q|0;if(e&3){Ee(e+o|0,0,((t^-1)-q&3)+1|0)}n=n+16|0;d=d+1|0;if(d>>>0>1]){continue}break}n=j[f+32>>2]}j[r+32>>2]=0;j[r+8>>2]=0;j[r+4>>2]=n;j[r>>2]=o;j[r+20>>2]=0;j[r+24>>2]=0;a=j[a+28>>2];j[r+24>>2]=812;j[r+28>>2]=a;tk(j[b+104>>2],j[b+8>>2]>>>10&1);j[b+104>>2]=r;j[b+8>>2]=j[b+8>>2]&-1025;break b}j[f+60>>2]=8}if(g){qe[j[s+8>>2]](s,g)}if(v){qe[j[s+8>>2]](s,v)}k:{if(!j[f+60>>2]){j[f+8>>2]=0;break k}if(o){qe[j[s+8>>2]](s,o)}l:{if(!r){break l}a=j[r+24>>2];if(!a){break l}qe[a|0](r)}if(r){qe[j[s+8>>2]](s,r)}g=j[f+60>>2];j[f+8>>2]=g;if(g){break a}}a=j[b+104>>2];e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(!g){continue}break}}oe=f- -64|0;return g|0}function ul(a,b,c,d,e,f,g){var 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,B=0;l=oe-80|0;oe=l;j[l+76>>2]=b;B=l+55|0;y=l+56|0;b=0;a:{b:while(1){c:{if((v|0)<0){break c}if((2147483647-v|0)<(b|0)){j[67100]=61;v=-1;break c}v=b+v|0}d:{e:{f:{q=j[l+76>>2];b=q;m=k[b|0];if(m){while(1){g:{m=m&255;h:{if(!m){m=b;break h}if((m|0)!=37){break g}m=b;while(1){if(k[b+1|0]!=37){break h}n=b+2|0;j[l+76>>2]=n;m=m+1|0;r=k[b+2|0];b=n;if((r|0)==37){continue}break}}b=m-q|0;if(a){Hf(a,q,b)}if(b){continue b}m=l;b=j[l+76>>2];i:{if(!(k[b+2|0]!=36|h[j[l+76>>2]+1|0]-48>>>0>=10)){x=h[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}j[m+76>>2]=b;s=0;w=h[b|0];n=w-32|0;j:{if(n>>>0>31){m=b;break j}m=b;n=1<>2]=m;s=n|s;w=h[b+1|0];n=w-32|0;if(n>>>0>=32){break j}b=m;n=1<>>0>=10){break m}b=j[l+76>>2];if(k[b+2|0]!=36){break m}j[((h[b+1|0]<<2)+e|0)-192>>2]=10;t=j[((h[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;t=0;if(a){b=j[c>>2];j[c>>2]=b+4;t=j[b>>2]}b=j[l+76>>2]+1|0}j[n+76>>2]=b;if((t|0)>-1){break k}t=0-t|0;s=s|8192;break k}t=tp(l+76|0);if((t|0)<0){break f}b=j[l+76>>2]}r=-1;n:{if(k[b|0]!=46){break n}if(k[b+1|0]==42){o:{if(h[b+2|0]-48>>>0>=10){break o}b=j[l+76>>2];if(k[b+3|0]!=36){break o}j[((h[b+2|0]<<2)+e|0)-192>>2]=10;r=j[((h[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;j[l+76>>2]=b;break n}if(z){break f}if(a){b=j[c>>2];j[c>>2]=b+4;r=j[b>>2]}else{r=0}b=j[l+76>>2]+2|0;j[l+76>>2]=b;break n}j[l+76>>2]=b+1;r=tp(l+76|0);b=j[l+76>>2]}m=0;while(1){A=m;u=-1;if(h[b|0]-65>>>0>57){break a}w=b+1|0;j[l+76>>2]=w;m=h[b|0];b=w;m=k[(m+p(A,58)|0)+226927|0];if(m-1>>>0<8){continue}break}p:{q:{if((m|0)!=19){if(!m){break a}if((x|0)>=0){j[(x<<2)+e>>2]=m;b=(x<<3)+d|0;m=j[b+4>>2];j[l+64>>2]=j[b>>2];j[l+68>>2]=m;break q}if(!a){break d}sp(l- -64|0,m,c,g);w=j[l+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}n=s&-65537;m=s&8192?n:s;u=0;x=226968;s=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=h[w-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=j[l+64>>2];q=j[l+68>>2];x=226968;break z}b=0;I:{switch(A&255){case 0:j[j[l+64>>2]>>2]=v;continue b;case 1:j[j[l+64>>2]>>2]=v;continue b;case 2:m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b;case 3:i[j[l+64>>2]>>1]=v;continue b;case 4:h[j[l+64>>2]]=v;continue b;case 6:j[j[l+64>>2]>>2]=v;continue b;case 7:break I;default:continue b}}m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b}r=r>>>0>8?r:8;m=m|8;b=120}q=UD(j[l+64>>2],j[l+68>>2],y,b&32);if(!(m&8)|!(j[l+64>>2]|j[l+68>>2])){break y}x=(b>>>4|0)+226968|0;u=2;break y}q=TD(j[l+64>>2],j[l+68>>2],y);if(!(m&8)){break y}b=y-q|0;r=(b|0)<(r|0)?r:b+1|0;break y}n=j[l+68>>2];q=n;b=j[l+64>>2];if((n|0)<-1?1:(n|0)<=-1){q=0-(q+((b|0)!=0)|0)|0;b=0-b|0;j[l+64>>2]=b;j[l+68>>2]=q;u=1;x=226968;break z}if(m&2048){u=1;x=226969;break z}u=m&1;x=u?226970:226968}q=pi(b,q,y)}m=(r|0)>-1?m&-65537:m;b=j[l+64>>2];n=j[l+68>>2];if(!(!!(b|n)|r)){r=0;q=y;break e}b=!(b|n)+(y-q|0)|0;r=(b|0)<(r|0)?r:b;break e}b=j[l+64>>2];q=b?b:226978;b=Mh(q,0,r);s=b?b:r+q|0;m=n;r=b?b-q|0:r;break e}n=j[l+64>>2];if(r){break u}b=0;Rf(a,32,t,0,m);break t}j[l+12>>2]=0;j[l+8>>2]=j[l+64>>2];j[l+64>>2]=l+8;r=-1;n=l+8|0}b=0;J:{while(1){q=j[n>>2];if(!q){break J}q=vp(l+4|0,q);s=(q|0)<0;if(!(s|q>>>0>r-b>>>0)){n=n+4|0;b=b+q|0;if(r>>>0>b>>>0){continue}break J}break}u=-1;if(s){break a}}Rf(a,32,t,b,m);if(!b){b=0;break t}w=0;n=j[l+64>>2];while(1){q=j[n>>2];if(!q){break t}q=vp(l+4|0,q);w=q+w|0;if((w|0)>(b|0)){break t}Hf(a,l+4|0,q);n=n+4|0;if(b>>>0>w>>>0){continue}break}}Rf(a,32,t,b,m^8192);b=(b|0)<(t|0)?t:b;continue b}b=qe[f|0](a,o[l+64>>3],t,r,m,b)|0;continue b}h[l+55|0]=j[l+64>>2];r=1;q=B;m=n;break e}n=b+1|0;j[l+76>>2]=n;m=k[b+1|0];b=n;continue}}u=v;if(a){break a}if(!z){break d}b=1;while(1){a=j[(b<<2)+e>>2];if(a){sp((b<<3)+d|0,a,c,g);u=1;b=b+1|0;if((b|0)!=10){continue}break a}break}u=1;if(b>>>0>=10){break a}while(1){if(j[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}u=-1;break a}s=s-q|0;r=(r|0)<(s|0)?s:r;n=r+u|0;b=(n|0)>(t|0)?n:t;Rf(a,32,b,n,m);Hf(a,x,u);Rf(a,48,b,n,m^65536);Rf(a,48,r,s,0);Hf(a,q,s);Rf(a,32,b,n,m^8192);continue}break}u=0}oe=l+80|0;return u}function nJ(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-32|0;oe=n;q=1;if((d|0)>=1){c=0;while(1){m=j[(c<<3)+e>>2]-1768386662|0;g=1;a:{if(!m){break a}if((m|0)==13){o=1}g=f}f=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}b:{if(j[j[b+128>>2]+48>>2]){break b}f=0;c=l[b+152>>1];c:{if(!c){break c}f=j[b+156>>2];d=f+(c<<4)|0;c=f;while(1){if(j[c+12>>2]?j[c>>2]==1735162214:0){break b}c=c+16|0;if(d>>>0>c>>>0){continue}break}while(1){if(j[f+12>>2]?j[f>>2]==1128678944:0){break c}f=f+16|0;if(d>>>0>f>>>0){continue}break}f=0}q=(f|0)!=0}m=j[b+532>>2];f=1;e=qe[j[b+508>>2]](b,1935829368,a,0)|0;c=(e|0)!=0&q;d:{e:{f:{if(c){break f}q=j[m+68>>2];if(!q){break f}d=0;q=qe[q|0](b,a)|0;f=(q|0)!=0;if(!e){break f}if(!q){break e}}d=f;f=qe[j[m+24>>2]](b,a)|0;if(f){break d}}if(!l[b+178>>1]){f=8;break d}s=n,t=qe[j[m+36>>2]](b,a)|0,j[s+28>>2]=t;qe[j[m+32>>2]](b,a)|0;qe[j[m+48>>2]](b,a)|0;q=qe[j[m+44>>2]](b,a)|0;g:{if(!d){d=c;break g}h:{i:{f=qe[j[m+28>>2]](b,a,0)|0;if(!f){f=qe[j[m+92>>2]](b,a,0)|0;if((f&255)!=142){break i}f=147;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}if((f&255)!=142){break d}d=0;if(j[b+148>>2]==1953658213){break h}f=143;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}d=c;if(f){break d}}j:{k:{f=qe[j[m+28>>2]](b,a,1)|0;if(f){break k}f=qe[j[m+92>>2]](b,a,1)|0;j[n+28>>2]=f;if(f){break k}h[b+292|0]=1;break j}if((f&255)!=142){break d}}if(!(qe[j[m+40>>2]](b,a)|0)){break g}i[b+364>>1]=65535}c=j[m+96>>2];l:{if(!c){break l}f=qe[c|0](b,a)|0;if(!f){break l}if((f&255)!=142){break d}}f=qe[j[m+64>>2]](b,a)|0;if(f){if((f&255)!=142){break d}j[b+548>>2]=0}qe[j[m+60>>2]](b,a)|0;qe[j[m+56>>2]](b,a)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=l[b+264>>1];c=b+24|0;e=b+20|0;a=n;m:{n:{if(!(!(h[b+429|0]&1)|l[b+364>>1]==65535)){o:{if(!(g&255)){f=Pg(b,16,e);j[n+28>>2]=f;if(f){break d}if(j[e>>2]){break o}}f=Pg(b,1,e);j[n+28>>2]=f;if(f){break d}}if(!(o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}}if(j[c>>2]){break m}f=Pg(b,2,c);break n}f=Pg(b,21,e);if(f){break d}f=j[e>>2];if(!(f|g&255)){f=Pg(b,16,e);if(f){break d}f=j[e>>2]}if(!f){f=Pg(b,1,e);if(f){break d}}f=Pg(b,22,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2];if(!(g|o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2]}if(g){break m}f=Pg(b,2,c)}j[a+28>>2]=f;if(f){break d}}a=j[b+8>>2];a=((j[b+732>>2]&-2)==2?a|16384:a)|d;g=a|24;g=q?g:j[b+468>>2]==196608?g:a|536;a=j[b+480>>2]?g|4:g;a=k[b+292|0]?a|32:a;o=j[b+752>>2]?a|64:a;a=l[b+152>>1];p:{if(!a){break p}e=j[b+156>>2];a=e+(a<<4)|0;g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1735162214)){g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1719034226)){q:{while(1){if(j[e+12>>2]?j[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}e=0}o=e?o|256:o;break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}}j[b+8>>2]=o;a=b;r:{if(!(!d|l[b+364>>1]==65535)){c=l[b+428>>1];c=c>>>4&2|(c&513)!=0;break r}c=l[b+204>>1];c=c>>>1&1|c<<1&2}j[a+12>>2]=c;mJ(b);d=j[b+36>>2];if((d|0)>=1){e=j[b+40>>2];f=0;while(1){c=j[e+(f<<2)>>2];a=i[c+10>>1];o=198208;g=0;s:{t:{switch(l[c+8>>1]){case 0:g=j[49557];break s;case 1:if(a){break s}g=j[49560];break s;case 3:o=a&65535;if(o>>>0>=11|!(1151>>>o&1)){break s}o=j[(a<<2)+199288>>2];break;case 2:break t;default:break s}}g=j[o+8>>2]}j[c+4>>2]=g;f=f+1|0;if((d|0)!=(f|0)){continue}break}}a=j[b+736>>2];u:{if(!a){c=j[b+8>>2];break u}d=j[j[b+104>>2]+28>>2];e=l[b+178>>1];c=l[b+366>>1];v:{if(!(!e|l[b+364>>1]==65535)){break v}e=1;c=1}g=xe(d,16,0,a,0,n+28|0);j[b+32>>2]=g;f=j[n+28>>2];if(f){break d}f=qe[j[m+108>>2]](b,0,n)|0;j[n+28>>2]=f;if(f){break d}o=a>>>0>1?a:1;q=e>>>1|0;r=c<<16>>16;d=0;while(1){w:{c=(d<<4)+g|0;i[c>>1]=j[n+20>>2]>>>6;f=l[n>>1];j[c+8>>2]=f<<6;i[c+2>>1]=(q+p(f,r)|0)/(e|0);f=l[n+2>>1]<<6;j[c+4>>2]=f;j[c+12>>2]=f;d=d+1|0;if((o|0)==(d|0)){break w}g=j[b+32>>2];f=qe[j[m+108>>2]](b,d,n)|0;j[n+28>>2]=f;if(!f){continue}break d}break}j[b+28>>2]=a;c=j[b+8>>2]|2;j[b+8>>2]=c}if(!(c&3)){c=c|1;j[b+8>>2]=c}f=0;if(!(c&1)){break d}i[b+68>>1]=l[b+178>>1];j[b+52>>2]=i[b+196>>1];j[b+56>>2]=i[b+198>>1];j[b+60>>2]=i[b+200>>1];j[b- -64>>2]=i[b+202>>1];a=l[b+220>>1];i[b+70>>1]=a;c=l[b+222>>1];i[b+72>>1]=c;i[b+74>>1]=l[b+224>>1]+(a-c|0);x:{if(a|c|l[b+364>>1]==65535){break x}a=l[b+434>>1];c=l[b+436>>1];if(a|c){i[b+72>>1]=c;i[b+70>>1]=a;i[b+74>>1]=l[b+438>>1]+(a-c|0);break x}a=l[b+440>>1];i[b+70>>1]=a;c=a;a=l[b+442>>1];i[b+74>>1]=c+a;i[b+72>>1]=0-a}i[b+76>>1]=l[b+226>>1];i[b+78>>1]=l[(k[b+292|0]?306:74)+b>>1];a=i[b+478>>1];i[b+82>>1]=a;i[b+80>>1]=l[b+476>>1]+((a|0)/-2|0)}oe=n+32|0;return f|0}function lf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=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;m=oe-96|0;oe=m;q=c;w=(g&131071)<<15|f>>>17;k=i&65535;u=k;l=h;D=l<<15|g>>>17;o=(e^i)&-2147483648;p=e&65535;y=p;n=d;z=p;p=0;E=(k&131071)<<15|l>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){k=0;if(F-1>>>0<32766){break b}}r=e&2147483647;x=r;k=d;if(!(!k&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;o=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;o=i|32768;b=f;c=g;break a}if(!(b|k|(x^2147418112|c))){if(!(d|f|(g|r))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|k;e=c|x;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|k|(c|x))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((x|0)==65535|x>>>0<65535){h=b;i=c;d=!(n|y);e=d<<6;k=s(d?b:n)+32|0;b=s(d?c:y);b=e+((b|0)==32?k:b)|0;Nf(m+80|0,h,i,n,y,b-15|0);n=j[m+88>>2];q=j[m+84>>2];z=j[m+92>>2];v=16-b|0;b=j[m+80>>2]}k=v;if(r>>>0>65535){break b}c=!(l|u);d=c<<6;e=s(c?f:l)+32|0;c=s(c?g:u);c=d+((c|0)==32?e:c)|0;i=c;Nf(m- -64|0,f,g,l,u,c-15|0);e=j[m+76>>2];c=e;h=j[m+72>>2];d=h;d=d<<15;e=j[m+68>>2];D=e>>>17|d;d=0;f=j[m+64>>2];w=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;k=(v-i|0)+16|0}v=k;d=w;c=b;u=0;r=hP(d,0,b,u);b=pe;G=b;e=f;B=e<<15&-32768;l=q;g=hP(B,0,l,0);f=g+r|0;e=pe+b|0;e=f>>>0>>0?e+1|0:e;h=f;k=f;i=0;g=hP(c,u,B,C);f=i+g|0;b=k;k=k+pe|0;k=f>>>0>>0?k+1|0:k;w=f;g=k;J=(b|0)==(k|0)&f>>>0>>0|b>>>0>k>>>0;N=hP(d,t,l,H);K=pe;q=n;f=hP(B,C,n,0);b=f+N|0;k=pe+K|0;O=b;n=hP(D,0,c,u);i=b+n|0;b=b>>>0>>0?k+1|0:k;f=b+pe|0;x=i;f=i>>>0>>0?f+1|0:f;y=f;k=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+x|0;k=f+k|0;r=h;k=h>>>0>>0?k+1|0:k;n=k;e=h;h=k;Q=hP(d,t,q,P);G=pe;f=B;I=z|65536;B=p;i=hP(f,C,I,p);f=i+Q|0;k=pe+G|0;k=f>>>0>>0?k+1|0:k;R=f;C=hP(D,S,l,H);i=f+C|0;p=k;f=k+pe|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=hP(c,u,E,0);c=L+i|0;u=f;k=f+pe|0;C=c;c=c>>>0>>0?k+1|0:k;z=J;i=0;f=i+e|0;k=h+C|0;J=f;h=f;e=z+f|0;z=f>>>0>>0?k+1|0:k;f=z;f=e>>>0>>0?f+1|0:f;h=e;i=f;v=(v+(F+M|0)|0)-16383|0;f=hP(q,P,D,S);e=pe;t=hP(d,t,I,B);d=t+f|0;k=pe+e|0;k=d>>>0>>0?k+1|0:k;t=d;f=(e|0)==(k|0)&f>>>0>d>>>0|e>>>0>k>>>0;e=k;F=f;f=hP(E,T,l,H);d=f+d|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;f=d;d=k;l=(k|0)==(e|0)&f>>>0>>0|e>>>0>k>>>0;k=F+l|0;e=0;e=k>>>0>>0?1:e;t=f;l=d;F=k;f=(b|0)==(y|0)&x>>>0>>0|b>>>0>y>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;k=0;k=b>>>0>>0?1:k;f=b;b=t+f|0;k=d+k|0;k=b>>>0>>0?k+1|0:k;H=b;d=k;k=(k|0)==(l|0)&b>>>0>>0|k>>>0>>0;b=F+k|0;f=e;f=b>>>0>>0?f+1|0:f;e=hP(E,T,I,B);b=e+b|0;k=pe+f|0;t=b;e=b>>>0>>0?k+1|0:k;l=hP(E,T,q,P);f=pe;q=hP(D,S,I,B);b=q+l|0;k=pe+f|0;k=b>>>0>>0?k+1|0:k;q=b;b=k;k=(f|0)==(k|0)&l>>>0>q>>>0|f>>>0>k>>>0;l=b+t|0;e=e+k|0;e=l>>>0>>0?e+1|0:e;t=l;l=0;b=l+H|0;k=d+q|0;k=b>>>0>>0?k+1|0:k;f=k;l=(d|0)==(k|0)&b>>>0>>0|d>>>0>k>>>0;d=t+l|0;k=e;D=d;d=d>>>0>>0?k+1|0:k;q=b;l=f;f=(p|0)==(u|0)&R>>>0>L>>>0|p>>>0>u>>>0;e=f+((p|0)==(G|0)&Q>>>0>R>>>0|p>>>0>>0)|0;f=e;e=f+((c|0)==(u|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+l|0;e=b>>>0>>0?e+1|0:e;p=b;c=b;b=e;e=(e|0)==(l|0)&c>>>0>>0|e>>>0>>0;c=e+D|0;k=d;k=c>>>0>>0?k+1|0:k;d=c;l=d;e=(n|0)==(z|0)&r>>>0>J>>>0|n>>>0>z>>>0;d=e+((n|0)==(y|0)&r>>>0>>0|n>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;n=d;d=d+p|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0

>>0|b>>>0>e>>>0;b=l+c|0;k=b>>>0>>0?k+1|0:k;c=k;c:{if(k&65536){v=v+1|0;break c}n=g>>>31|0;k=c<<1|b>>>31;b=b<<1|e>>>31;c=k;k=e<<1|d>>>31;d=d<<1|i>>>31;e=k;p=w;k=g<<1|p>>>31;w=p<<1;g=k;k=i<<1|h>>>31;h=h<<1|n;i=k}if((v|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((v|0)<=0){f=1-v|0;if(f>>>0>=128){b=0;c=0;break a}k=v+127|0;Nf(m+48|0,w,g,h,i,k);Nf(m+32|0,d,e,b,c,k);oi(m+16|0,w,g,h,i,f);oi(m,d,e,b,c,f);w=(j[m+48>>2]|j[m+56>>2])!=0|(j[m+52>>2]|j[m+60>>2])!=0|(j[m+32>>2]|j[m+16>>2]);g=j[m+36>>2]|j[m+20>>2];h=j[m+40>>2]|j[m+24>>2];i=j[m+44>>2]|j[m+28>>2];d=j[m>>2];e=j[m+4>>2];c=j[m+12>>2];b=j[m+8>>2];break d}c=c&65535|v<<16}A=b|A;o=c|o;if(!(!h&(i|0)==-2147483648?!(g|w):(i|0)>-1)){k=e;b=d+1|0;k=b>>>0<1?k+1|0:k;f=b;c=k;f=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=f+A|0;e=o;A=d;o=d>>>0>>0?e+1|0:e;break a}if(h|w|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;k=e;k=b>>>0>>0?k+1|0:k;f=b;c=k;e=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=e+A|0;k=o;A=d;o=d>>>0>>0?k+1|0:k}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=A;j[a+12>>2]=o;oe=m+96|0}function QM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=161;g=a;if(m[a+404>>2]>=a+40>>>0){i=j[g+412>>2];h[i+64|0]=1;f=j[g+20>>2];o=i;a:{b:{c:{b=j[g+16>>2];c=k[b|0];d:{if((c|0)==30){f=Jf(b,f,0,l+12|0);c=j[l+12>>2];break d}e:{f:{switch(c-28|0){case 0:a=0;if(f>>>0>>0){break c}a=k[b+2|0]|k[b+1|0]<<8;break c;case 1:a=0;if(f>>>0>>0){break c}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}if(c>>>0<=246){a=c-139|0;break c}e=b+2|0;if(c>>>0<=250){a=0;if(e>>>0>f>>>0){break c}a=(k[b+1|0]|c<<8)-63124|0;break c}a=0;if(e>>>0>f>>>0){break c}a=64148-(k[b+1|0]|c<<8)|0}if((a|0)<32768){break c}d=a;b=5;g:{if((a|0)<1e5){break g}b=6;if((a|0)<=999999){break g}b=7;if((a|0)<1e7){break g}b=8;if((a|0)<1e8){break g}b=(a|0)<1e9?9:10}c=b-5|0;f=j[(c<<2)+122448>>2];if(((d|0)/(f|0)|0)>=32768){c=b-4|0;f=De(a,j[(c<<2)+122448>>2]);break d}f=De(a,f)}j[i+48>>2]=f;f=0-c|0;j[l+12>>2]=f;if(c+9>>>0<10){break b}j[i+48>>2]=65536;j[i+52>>2]=0;j[i+72>>2]=0;j[i+76>>2]=0;j[i+56>>2]=0;j[i+60>>2]=65536;a=1;break a}j[i+48>>2]=a<<16;f=0;j[l+12>>2]=0;c=0}b=j[g+24>>2];e=j[g+20>>2];a=k[e|0];h:{if((a|0)==30){c=Jf(e,b,f,0);b=j[g+24>>2];f=j[l+12>>2];break h}i:{j:{switch(a-28|0){case 0:d=0;if(e+3>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break i;case 1:d=0;if(e+5>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break i;default:break j}}d=a-139|0;if(a>>>0<=246){break i}n=e+2|0;if(a>>>0<=250){d=0;if(b>>>0>>0){break i}d=(k[e+1|0]|a<<8)-63124|0;break i}d=0;if(b>>>0>>0){break i}d=64148-(k[e+1|0]|a<<8)|0}a=d;a=c?p(j[(f<<2)+122448>>2],a):a;c=2147483647;if((a|0)>32767){break h}c=(a|0)<-32767?-2147483647:a<<16}j[i+56>>2]=c;c=j[g+28>>2];e=k[b|0];k:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+28>>2];f=j[l+12>>2];break k}l:{m:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break l;case 1:d=0;if(b+5>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break l;default:break m}}d=e-139|0;if(e>>>0<=246){break l}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break l}d=(k[b+1|0]|e<<8)-63124|0;break l}d=0;if(a>>>0>c>>>0){break l}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break k}b=(a|0)<-32767?-2147483647:a<<16}j[i+52>>2]=b;b=j[g+32>>2];e=k[c|0];n:{if((e|0)==30){c=Jf(c,b,f,0);b=j[g+32>>2];f=j[l+12>>2];break n}o:{p:{switch(e-28|0){case 0:d=0;if(c+3>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break o;case 1:d=0;if(c+5>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break o;default:break p}}d=e-139|0;if(e>>>0<=246){break o}a=c+2|0;if(e>>>0<=250){d=0;if(a>>>0>b>>>0){break o}d=(k[c+1|0]|e<<8)-63124|0;break o}d=0;if(a>>>0>b>>>0){break o}d=64148-(k[c+1|0]|e<<8)|0}a=d;c=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break n}c=(a|0)<-32767?-2147483647:a<<16}j[i+60>>2]=c;c=j[g+36>>2];e=k[b|0];q:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+36>>2];f=j[l+12>>2];break q}r:{s:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break r;case 1:d=0;if(b+5>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break r;default:break s}}d=e-139|0;if(e>>>0<=246){break r}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break r}d=(k[b+1|0]|e<<8)-63124|0;break r}d=0;if(a>>>0>c>>>0){break r}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break q}b=(a|0)<-32767?-2147483647:a<<16}j[i+72>>2]=b;b=j[g+40>>2];g=k[c|0];t:{if((g|0)==30){b=Jf(c,b,f,0);f=j[l+12>>2];break t}u:{v:{switch(g-28|0){case 0:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break u;case 1:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break u;default:break v}}a=g-139|0;if(g>>>0<=246){break u}e=c+2|0;if(g>>>0<=250){a=0;if(b>>>0>>0){break u}a=(k[c+1|0]|g<<8)-63124|0;break u}a=0;if(b>>>0>>0){break u}a=64148-(k[c+1|0]|g<<8)|0}b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break t}b=(a|0)<-32767?-2147483647:a<<16}j[i+76>>2]=b;a=j[(f<<2)+122448>>2]}j[o+68>>2]=a;f=0}oe=l+16|0;return f|0}function yI(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;c=oe-18160|0;oe=c;a:{if(!a){a=6;break a}a=20;g=j[b+4>>2];if(!g){break a}f=i[g+2>>1];if(!f){a=0;break a}d=i[g>>1];if((d|0)<1){a=0;break a}e=j[g+12>>2];if(!e|!j[g+4>>2]|(f|0)!=(i[(e+(d<<1)|0)-2>>1]+1|0)){break a}k=j[b>>2];h=j[b+8>>2];f=h&2;b:{if(!f){if(!k){a=6;break a}d=j[k+4>>2];if(!d){a=0;break a}a=0;e=j[k>>2];if(!e){break a}a=6;if(!j[k+12>>2]){break a}a=19;if(!(h&1)){break a}j[c+17576>>2]=e;j[c+17572>>2]=d;j[c+17564>>2]=0;j[c+17568>>2]=0;break b}a=19;if(!(h&1)){break a}if(h&4){a=j[b+44>>2];e=c+17572|0;j[e>>2]=j[b+40>>2];j[e+4>>2]=a;a=j[b+36>>2];j[c+17564>>2]=j[b+32>>2];j[c+17568>>2]=a;break b}a=c+17572|0;j[a>>2]=32767;j[a+4>>2]=32767;j[c+17564>>2]=-32768;j[c+17568>>2]=-32768}j[c+17800>>2]=16384;j[c+16588>>2]=0;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+16584>>2]=0;j[c+16572>>2]=0;j[c+16576>>2]=0;j[c+17804>>2]=c;j[c+17796>>2]=c;a=j[g+12>>2];e=c+17528|0;j[e>>2]=j[g+8>>2];j[e+4>>2]=a;j[c+17536>>2]=j[g+16>>2];a=j[g+4>>2];j[c+17520>>2]=j[g>>2];j[c+17524>>2]=a;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+17784>>2]=0;j[c+17788>>2]=128;j[c+17772>>2]=0;c:{if(f){a=j[b+12>>2];j[c+17780>>2]=j[b+28>>2];break c}a=j[k+20>>2];b=c+17556|0;j[b>>2]=j[k+16>>2];j[b+4>>2]=a;a=j[k+12>>2];b=c+17548|0;j[b>>2]=j[k+8>>2];j[b+4>>2]=a;a=j[k+4>>2];j[c+17540>>2]=j[k>>2];j[c+17544>>2]=a;j[c+17780>>2]=c+16384;a=904}j[c+17776>>2]=a;e=0;d=i[c+17522>>1];d:{if((d|0)<=0){j[c+16548>>2]=0;j[c+16552>>2]=0;d=0;f=0;b=0;break d}a=j[c+17524>>2];b=j[a+4>>2];f=j[a>>2];e:{if((d|0)==1){e=b;d=f;break e}g=(d<<3)+a|0;h=a+8|0;e=b;d=f;while(1){a=j[a+12>>2];b=(a|0)>(b|0)?a:b;e=(a|0)<(e|0)?a:e;a=j[h>>2];f=(a|0)>(f|0)?a:f;d=(a|0)<(d|0)?a:d;a=h;h=a+8|0;if(g>>>0>h>>>0){continue}break}}d=d>>6;j[c+16548>>2]=d;f=f+63>>6;j[c+16552>>2]=f;e=e>>6;b=b+63>>6}a=0;l=j[c+17564>>2];if((l|0)>=(f|0)){break a}k=j[c+17572>>2];if((k|0)<=(d|0)){break a}g=j[c+17568>>2];if((g|0)>=(b|0)){break a}h=j[c+17576>>2];if((h|0)<=(e|0)){break a}if((d|0)<(l|0)){j[c+16548>>2]=l;d=l}if((e|0)<(g|0)){j[c+16556>>2]=g;e=g}if((f|0)>(k|0)){j[c+16552>>2]=k;f=k}if((b|0)>(h|0)){j[c+16560>>2]=h;b=h}a=b-e|0;j[c+16568>>2]=a;j[c+17828>>2]=(a|0)/128;j[c+16564>>2]=f-d;if(!j[c+17828>>2]){j[c+17828>>2]=1}if(j[c+17828>>2]>=39){j[c+17828>>2]=39}j[c+17824>>2]=e;j[c+17816>>2]=b;a=0;j[c+17832>>2]=0;j[c+17792>>2]=0;if(j[c+17832>>2]>=j[c+17828>>2]){break a}g=c+17580|0;a=128;while(1){j[c+17820>>2]=j[c+17824>>2]+a;if(!(j[c+17820>>2]<=j[c+17816>>2]?j[c+17832>>2]!=(j[c+17828>>2]-1|0):0)){j[c+17820>>2]=j[c+17816>>2]}j[c+17840>>2]=j[c+17824>>2];j[c+17844>>2]=j[c+17820>>2];j[c+17836>>2]=c+17840;if(m[c+17836>>2]>=c+17840>>>0){while(1){e=j[c+17796>>2];j[c+17804>>2]=e;d=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2]|0;j[c+17808>>2]=d;b=d<<2;a=(b|0)%16|0;a=((a|0)>0?16-a|0:0)+b|0;b=a+e|0;j[c+16584>>2]=b;f:{g:{f=a;a=j[c+17800>>2];a=a-((a|0)%16|0)|0;if((f|0)>=(a|0)){break g}a=(a+e|0)-b|0;j[c+16588>>2]=a>>4;if((a|0)<32){break g}h:{if((d|0)<1){break h}j[e>>2]=0;a=1;if((d|0)==1){break h}while(1){j[j[c+17804>>2]+(a<<2)>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=1;j[c+16580>>2]=1;j[c+16592>>2]=0;j[c+16556>>2]=j[j[c+17836>>2]>>2];j[c+16560>>2]=j[j[c+17836>>2]+4>>2];j[c+16568>>2]=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2];b=wI(c+16384|0);if((b|0)==64){break g}if(b){break a}i:{if(!j[c+16592>>2]){break i}d=0;j[c+17772>>2]=0;if(j[c+17808>>2]<1){break i}while(1){f=0;b=0;a=j[j[c+17804>>2]+(d<<2)>>2];j:{if(!a){break j}while(1){k:{if(!b){break k}e=j[a>>2];if((e|0)<=(f|0)){break k}dm(c+16384|0,f,d,b<<9,e-f|0)}b=j[a+4>>2]+b|0;h=b<<9;f=h-j[a+8>>2]|0;l:{if(!f){break l}e=j[a>>2];if((e|0)<0){break l}dm(c+16384|0,e,d,f,1)}f=j[a>>2]+1|0;a=j[a+12>>2];if(a){continue}break}if(!b){break j}dm(c+16384|0,f,d,h,j[c+16564>>2]-f|0)}d=d+1|0;if((d|0)>2]){continue}break}b=j[c+17776>>2];if(!b){break i}a=j[c+17772>>2];if((a|0)<1){break i}qe[b|0](j[c+17784>>2],a,g,j[c+17780>>2])}j[c+17836>>2]=j[c+17836>>2]-8;break f}a=1;e=j[j[c+17836>>2]+4>>2];d=j[j[c+17836>>2]>>2];b=e-d>>1;if(!b){break a}if(j[c+17788>>2]<=(d-e|0)){j[c+17792>>2]=j[c+17792>>2]+1}j[j[c+17836>>2]+8>>2]=d;a=b+d|0;j[j[c+17836>>2]+12>>2]=a;j[j[c+17836>>2]>>2]=a;j[j[c+17836>>2]+4>>2]=e;j[c+17836>>2]=j[c+17836>>2]+8}if(m[c+17836>>2]>=c+17840>>>0){continue}break}}j[c+17832>>2]=j[c+17832>>2]+1;j[c+17824>>2]=j[c+17820>>2];if(j[c+17832>>2]>2]){a=j[c+17788>>2];continue}break}a=0;if(j[c+17792>>2]<9){break a}b=j[c+17788>>2];if((b|0)<17){break a}j[c+17788>>2]=b>>>1}oe=c+18160|0;return a|0}function Kk(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-112|0;oe=g;a:{if(!a){j[g>>2]=97712;ve(97686,g);break a}if(!b){j[g+16>>2]=97876;ve(97686,g+16|0);break a}b:{c=j[b+4>>2];if(!c){break b}n=j[c>>2];c:{if((n|0)<1){c=0;break c}f=j[c+4>>2];c=0;while(1){d=f+(c<<2)|0;if(k[d|0]!=255|k[d+1|0]!=255|k[d+2|0]!=255){break c}c=c+1|0;if((n|0)>(c|0)){continue}break}}if((c|0)!=(n|0)){break b}ve(97883,0);break a}d=j[a+12>>2];f=j[a+8>>2];c=Dj(k[b+8|0],j[b+12>>2],j[b+16>>2],j[b+20>>2],j[b+24>>2]);if(!c){ve(97619,0);break a}e=Bj(f,d,c);if(!e){e=0;break a}f=j[b+4>>2];d:{if(!f){break d}c=j[j[e+4>>2]+4>>2];if(!c){break d}Ge(j[c+4>>2],j[f+4>>2],j[f>>2]<<2);j[j[j[e+4>>2]+4>>2]>>2]=j[j[b+4>>2]>>2]}c=j[a+52>>2];r=k[c+79|0];q=k[c+78|0];p=k[c+77|0];n=k[c+76|0];f=-1;j[c+76>>2]=-1;t=j[c+68>>2];j[c+68>>2]=0;vf(c);j[g+80>>2]=0;j[g+84>>2]=0;j[g+88>>2]=j[a+8>>2];j[g+92>>2]=j[a+12>>2];c=j[a+52>>2];e:{f:{g:{if(j[c>>2]!=(e|0)){break g}d=j[j[e+4>>2]+4>>2];if(j[c+80>>2]!=j[d+8>>2]?d:0){break g}d=j[j[a+4>>2]+4>>2];if(!d|j[c+84>>2]==j[d+8>>2]){break f}}if((Cj(a,e)|0)<0){break e}c=j[a+52>>2]}f=qe[j[c+8>>2]](a,g+80|0,e,g+80|0)|0}c=j[e+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t&-28945;c=j[a+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t;vf(c);if((f|0)<=-1){kf(e);e=0;break a}h:{if(!(t&256)){break h}i:{j:{k:{l:{m:{d=j[a+4>>2];n=j[d+4>>2];f=1;n:{if(!n){break n}f=j[b+4>>2];o:{if(!f){break o}c=j[n>>2];if((c|0)>j[f>>2]){break o}if(!wf(j[n+4>>2],j[f+4>>2],c<<2)){break m}d=j[a+4>>2]}f=!j[b+24>>2]}c=0;j[g+96>>2]=0;d=Dj(k[d+8|0],j[d+12>>2],j[d+16>>2],j[d+20>>2],j[d+24>>2]);if(!d){break k}c=Bj(1,1,d);d=j[j[a+4>>2]+4>>2];if(!d){break i}if(c){break l}break j}c=j[j[e+4>>2]+4>>2];f=j[j[a+52>>2]+72>>2];if(!(!c|f>>>0>2])){j[g+64>>2]=97720;ve(97686,g- -64|0);break h}d=j[e+52>>2];j[d+72>>2]=f;f=j[d+68>>2];c=f|256;j[d+68>>2]=c;if((c|0)==(f|0)){break h}vf(d);break h}if((Mk(j[c+4>>2],d)|0)<0){break i}vf(j[c+52>>2]);break i}ve(97619,0);if(!j[j[a+4>>2]+4>>2]){break i}}c=0;ve(97640,0)}Dh(c,0,j[j[a+52>>2]+72>>2]);d=j[c+52>>2];j[d+68>>2]=j[d+68>>2]&-257;d=Kk(c,b);Ge(g+96|0,j[d+20>>2],k[j[d+4>>2]+9|0]);kf(c);kf(d);c=j[j[e+4>>2]+4>>2];d=j[g+96>>2];p:{if(!(!c|d>>>0>2])){j[g+48>>2]=97720;ve(97686,g+48|0);break p}n=j[e+52>>2];j[n+72>>2]=d;d=j[n+68>>2];c=d|256;j[n+68>>2]=c;if((c|0)==(d|0)){break p}vf(n)}if(!(h[j[e+52>>2]+69|0]&1)){break h}s=j[e+4>>2];if(!j[s+24>>2]){break h}c=j[e+28>>2];q:{if(c){break q}c=0;if(!(k[e|0]&2)){break q}ei(e,1);j[e>>2]=j[e>>2]|2;s=j[e+4>>2];c=j[e+28>>2]}c=c+1|0;j[e+28>>2]=c;r:{s:{t:{switch(k[s+9|0]-2|0){case 0:u=l[s+24>>1]^-1;c=j[j[e+52>>2]+72>>2];if(f){f=j[e+12>>2];if(!f){break s}n=j[e+8>>2];p=j[e+20>>2];o=j[e+16>>2]/2<<1;r=c&u;q=r&65535;while(1){f=f-1|0;c=p;d=n;if(d){while(1){d=d-1|0;if((q|0)==(l[c>>1]&u)){i[c>>1]=r}c=c+2|0;if(d){continue}break}}p=o+p|0;if(f){continue}break}break s}o=j[e+12>>2];if(!o){break s}r=c&u;n=j[e+8>>2];f=j[e+20>>2];q=j[e+16>>2]/2<<1;p=c&65535;while(1){o=o-1|0;c=f;d=n;if(d){while(1){d=d-1|0;if((p|0)==l[c>>1]){i[c>>1]=r}c=c+2|0;if(d){continue}break}}f=f+q|0;if(o){continue}break}break s;case 2:break t;default:break r}}q=j[s+24>>2]^-1;p=j[j[e+52>>2]+72>>2];if(f){o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((n|0)==(q&j[c>>2])){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}break s}o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((p|0)==j[c>>2]){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}}c=j[e+28>>2]}u:{if(!c){break u}j[e+28>>2]=c-1;if((c|0)>1){break u}c=j[e>>2];if(!(c&2)){break u}j[e>>2]=c&-3;Hj(e);s=j[e+4>>2]}c=j[s+4>>2];v:{if(!(!c|j[c>>2])){j[g+32>>2]=97720;ve(97686,g+32|0);break v}d=j[e+52>>2];c=j[d+68>>2];f=c&-257;j[d+68>>2]=f;if((c|0)==(f|0)){break v}vf(d)}d=j[e+52>>2];c=j[d+68>>2];f=c&-113|16;j[d+68>>2]=f;if((c|0)==(f|0)){break h}vf(d)}j[g+96>>2]=0;j[g+100>>2]=0;j[g+104>>2]=j[e+8>>2];j[g+108>>2]=j[e+12>>2];Fg(a+36|0,g+96|0,e+36|0);w:{if(t&2?0:!(j[b+24>>2]?j[j[a+4>>2]+24>>2]:0)){break w}c=j[e+52>>2];a=j[c+68>>2];b=a&-113|16;j[c+68>>2]=b;if((a|0)==(b|0)){break w}vf(c)}if(!(t&4096)){break a}c=j[e+52>>2];a=j[c+68>>2];b=a|4096;j[c+68>>2]=b;if((a|0)==(b|0)){break a}vf(c)}oe=g+112|0;return e}function ND(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-432|0;oe=g;h=j[b+4>>2];a:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break a}i=ff(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=j[b+4>>2];if(h>>>0>=m[b+104>>2]){break d}j[b+4>>2]=h+1;i=k[h|0];break c}}else{h=j[b+4>>2];if(h>>>0>2]){z=1;j[b+4>>2]=h+1;i=k[h|0]}else{z=1;i=ff(b)}continue}break}i=ff(b)}y=1;if((i|0)!=48){break b}while(1){h=u;u=h-1|0;v=v-(h>>>0<1)|0;h=j[b+4>>2];e:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break e}i=ff(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=p;v=l;break g}i=(i|0)>57?A-87|0:B;i:{if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){r=i+(r<<4)|0;break i}if((l|0)<0?1:(l|0)<=0?p>>>0<=28:0){$f(g+48|0,i);lf(g+32|0,w,x,q,h,0,0,0,1073414144);w=j[g+32>>2];x=j[g+36>>2];q=j[g+40>>2];h=j[g+44>>2];lf(g+16|0,w,x,q,h,j[g+48>>2],j[g+52>>2],j[g+56>>2],j[g+60>>2]);Wf(g,n,o,s,t,j[g+16>>2],j[g+20>>2],j[g+24>>2],j[g+28>>2]);s=j[g+8>>2];t=j[g+12>>2];n=j[g>>2];o=j[g+4>>2];break i}if(!i|E){break i}lf(g+80|0,w,x,q,h,0,0,0,1073610752);Wf(g- -64|0,n,o,s,t,j[g+80>>2],j[g+84>>2],j[g+88>>2],j[g+92>>2]);s=j[g+72>>2];t=j[g+76>>2];E=1;n=j[g+64>>2];o=j[g+68>>2]}p=p+1|0;l=p>>>0<1?l+1|0:l;z=1}i=j[b+4>>2];if(i>>>0>2]){j[b+4>>2]=i+1;i=k[i|0]}else{i=ff(b)}continue}break}j:{k:{l:{if(!z){if(!j[b+104>>2]){if(f){break k}break l}c=j[b+4>>2];j[b+4>>2]=c-1;if(!f){break l}j[b+4>>2]=c-2;if(!y){break k}j[b+4>>2]=c-3;break k}if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){q=p;h=l;while(1){r=r<<4;q=q+1|0;h=q>>>0<1?h+1|0:h;if((q|0)!=8|h){continue}break}}m:{if((i&-33)==80){q=np(b,f);i=pe;h=i;if(q|(h|0)!=-2147483648){break m}if(f){q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1;break m}n=0;o=0;kg(b,0,0);c=0;b=0;break j}q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!r){Lg(g+112|0,+(e|0)*0);n=j[g+112>>2];o=j[g+116>>2];c=j[g+120>>2];b=j[g+124>>2];break j}f=y?u:p;b=(y?v:l)<<2|f>>>30;f=q+(f<<2)|0;l=b+h|0;b=f;p=b-32|0;l=(b>>>0>>0?l+1|0:l)-(b>>>0<32)|0;b=l;if((b|0)>0?1:(b|0)>=0?p>>>0>0-d>>>0:0){j[67100]=68;$f(g+160|0,e);lf(g+144|0,j[g+160>>2],j[g+164>>2],j[g+168>>2],j[g+172>>2],-1,-1,-1,2147418111);lf(g+128|0,j[g+144>>2],j[g+148>>2],j[g+152>>2],j[g+156>>2],-1,-1,-1,2147418111);n=j[g+128>>2];o=j[g+132>>2];c=j[g+136>>2];b=j[g+140>>2];break j}b=d-226|0;f=p>>>0>=b>>>0;b=b>>31;if((b|0)<(l|0)?1:(l|0)>=(b|0)?f:0){if((r|0)>-1){while(1){Wf(g+416|0,n,o,s,t,0,0,0,-1073807360);h=gp(n,o,s,t,1073610752);f=(h|0)<0;b=f;Wf(g+400|0,n,o,s,t,b?n:j[g+416>>2],b?o:j[g+420>>2],b?s:j[g+424>>2],b?t:j[g+428>>2]);b=p;p=b-1|0;l=l-(b>>>0<1)|0;s=j[g+408>>2];t=j[g+412>>2];n=j[g+400>>2];o=j[g+404>>2];r=r<<1|(h|0)>-1;if((r|0)>-1){continue}break}}b=d;h=(p-b|0)+32|0;l=l-((b>>31)+(b>>>0>p>>>0)|0)|0;b=h;l=b>>>0<32?l+1|0:l;c=((l|0)<0?1:(l|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){$f(g+384|0,e);u=j[g+392>>2];v=j[g+396>>2];w=j[g+384>>2];x=j[g+388>>2];d=0;b=0;break n}Lg(g+352|0,Kg(1,144-c|0));$f(g+336|0,e);w=j[g+336>>2];x=j[g+340>>2];u=j[g+344>>2];v=j[g+348>>2];qp(g+368|0,j[g+352>>2],j[g+356>>2],j[g+360>>2],j[g+364>>2],w,x,u,v);C=j[g+376>>2];D=j[g+380>>2];d=j[g+372>>2];b=j[g+368>>2]}c=!(r&1)&((Kh(n,o,s,t,0,0,0,0)|0)!=0&(c|0)<32);ni(g+320|0,c+r|0);lf(g+304|0,w,x,u,v,j[g+320>>2],j[g+324>>2],j[g+328>>2],j[g+332>>2]);Wf(g+272|0,j[g+304>>2],j[g+308>>2],j[g+312>>2],j[g+316>>2],b,d,C,D);lf(g+288|0,c?0:n,c?0:o,c?0:s,c?0:t,w,x,u,v);Wf(g+256|0,j[g+288>>2],j[g+292>>2],j[g+296>>2],j[g+300>>2],j[g+272>>2],j[g+276>>2],j[g+280>>2],j[g+284>>2]);sl(g+240|0,j[g+256>>2],j[g+260>>2],j[g+264>>2],j[g+268>>2],b,d,C,D);e=j[g+240>>2];d=j[g+244>>2];c=j[g+248>>2];b=j[g+252>>2];if(!Kh(e,d,c,b,0,0,0,0)){j[67100]=68}pp(g+224|0,e,d,c,b,p);n=j[g+224>>2];o=j[g+228>>2];c=j[g+232>>2];b=j[g+236>>2];break j}j[67100]=68;$f(g+208|0,e);lf(g+192|0,j[g+208>>2],j[g+212>>2],j[g+216>>2],j[g+220>>2],0,0,0,65536);lf(g+176|0,j[g+192>>2],j[g+196>>2],j[g+200>>2],j[g+204>>2],0,0,0,65536);n=j[g+176>>2];o=j[g+180>>2];c=j[g+184>>2];b=j[g+188>>2];break j}kg(b,0,0)}Lg(g+96|0,+(e|0)*0);n=j[g+96>>2];o=j[g+100>>2];c=j[g+104>>2];b=j[g+108>>2]}j[a>>2]=n;j[a+4>>2]=o;j[a+8>>2]=c;j[a+12>>2]=b;oe=g+432|0}function mI(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=oe-80|0;oe=g;i=dh(j[j[b+96>>2]+4>>2],200336);a:{if(!i){f=11;break a}f=Fe(a,0);if(f){break a}f=qe[j[i+4>>2]](a,b,c,d,e)|0;if(f){break a}n=j[b+104>>2];a=j[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}j[b+8>>2]=j[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=qe[j[i+8>>2]](n,b,c,d,e)|0;if(f){break a}b:{c:{a=j[b+20>>2];if(a){if(Xf(a,200640)){break c}if(Xf(a,200660)){break c}if(Xf(a,200680)){break c}if(Xf(a,200700)){break c}if(Xf(a,200720)){break c}if(Xf(a,200740)){break c}if(Xf(a,200760)){break c}if(Xf(a,200780)){break c}if(Xf(a,200800)){break c}}t=Ee(g,0,68);a=0;d=l[b+152>>1];if(d){while(1){e=1;i=0;c=j[b+156>>2];s=r<<4;f=j[c+s>>2];d:{if((f|0)!=1668707360){e:{if((f|0)!=1886545264){if((f|0)!=1718642541){break d}i=1;break e}i=2}e=a}f=0;a=0;while(1){c=c+s|0;u=p(f,24)+(i<<3)|0;if(j[c+12>>2]==j[u+200836>>2]){f:{if(a){break f}d=j[b+508>>2];if(!d){a=0;break f}a=0;if(qe[d|0](b,j[c>>2],j[b+104>>2],0)|0){break f}c=j[b+104>>2];d=j[(j[b+156>>2]+s|0)+12>>2];if(_e(c,d)){break f}if(d>>>0>3){while(1){a=Ff(c)+a|0;d=d-4|0;if(d>>>0>3){continue}break}}o=3;if(d){while(1){v=a;a=j[c+32>>2];if(a>>>0>2]){j[c+32>>2]=a+1;a=h[a|0]}else{a=0}a=v+((a<<24>>24&255)<<(o<<3))|0;o=o-1|0;d=d-1|0;if(d){continue}break}}Ve(c)}c=(f<<2)+t|0;d=j[c>>2];if(j[u+200832>>2]==(a|0)){d=d+1|0;j[c>>2]=d}if((d|0)==3){break c}}f=f+1|0;if((f|0)!=17){c=j[b+156>>2];continue}break}d=l[b+152>>1];a=e}r=r+1|0;if(r>>>0<(d&65535)>>>0){continue}break}}a=a&255;while(1){c=(q<<2)+t|0;f=j[c>>2];if(!(q-5>>>0>11|a)){f=f+1|0;j[c>>2]=f}if((f|0)==3){break c}q=q+1|0;if((q|0)!=17){continue}break}break b}j[b+8>>2]=j[b+8>>2]|8192}o=j[n+28>>2];a=qe[j[b+508>>2]](b,1751412088,n,g+76|0)|0;j[g>>2]=a;g:{if(a){break g}a=j[g+76>>2];if(a>>>0<=7){break g}i=b+704|0;f=_f(n,a,i);j[g>>2]=f;if(f){break a}h:{i:{j:{c=j[i>>2];k:{if(k[c|0]<<8|k[c+1|0]){break k}d=k[c+3|0]|k[c+2|0]<<8;if(d>>>0>255){break k}a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=a>>>0>4294901759?a&65535:a;if(e-4>>>0<65534){break j}}j[g>>2]=3;break i}q=j[g+76>>2];f=0;o=xe(o,1,0,d,0,g);j[b+720>>2]=o;if(j[g>>2]){break i}l:{if(!d){break l}a=e+(c+8|0)|0;i=c+q|0;if(a>>>0>i>>>0){break l}h[o|0]=k[c+8|0];f=1;c=a+e|0;if(i>>>0>>0|d>>>0<2){break l}while(1){h[j[b+720>>2]+f|0]=k[a|0];f=f+1|0;a=c;c=e+a|0;if(i>>>0>>0){break l}if(d>>>0>f>>>0){continue}break}}j[b+712>>2]=f;a=j[g+76>>2];j[b+716>>2]=e;j[b+708>>2]=a;break h}jf(n,i);j[b+708>>2]=0}f=j[g>>2];if(f){break a}}f=0;m:{if(!(h[b+8|0]&1)){break m}n:{if(!j[j[b+128>>2]+48>>2]){f=qe[j[b+508>>2]](b,1735162214,n,b+668|0)|0;o:{if((f&255)==142){j[b+668>>2]=0;break o}if(f){break n}}f=144;if(qe[j[b+508>>2]](b,1819239265,n,g)|0){break n}e=b;c=j[g>>2];a=c;p:{if(l[b+210>>1]){f=8;if(c>>>0>262143){break n}d=2;break p}f=8;if(c>>>0>131071){break n}d=1}a=a>>>d|0;j[e+696>>2]=a;e=j[b+16>>2];q:{if(e>>>0>>0){break q}o=e+1|0;if((o|0)==(a|0)){break q}a=j[b+156>>2];i=l[b+152>>1];c=a+(i<<4)|0;f=2147483647;e=j[n+8>>2];if(i){while(1){i=j[a+8>>2]-e|0;f=(i|0)>0?(f|0)>(i|0)?i:f:f;a=a+16|0;if(c>>>0>a>>>0){continue}break}}if((a|0)==(c|0)){f=j[n+4>>2]-e|0}c=o<>>0>>0){c=j[g>>2];break q}j[b+696>>2]=j[b+16>>2]+1;j[g>>2]=c}f=_f(n,c,b+700|0);if(f){break n}}f=zq(b,n);if(f){break n}r:{if(qe[j[b+508>>2]](b,1718642541,n,g)|0){j[b+628>>2]=0;j[b+632>>2]=0;break r}a=j[g>>2];j[b+628>>2]=a;f=_f(n,a,b+632|0);if(f){break n}}if(qe[j[b+508>>2]](b,1886545264,n,g)|0){j[b+636>>2]=0;j[b+640>>2]=0;f=0;break n}a=j[g>>2];j[b+636>>2]=a;f=_f(n,a,b+640|0)}if(j[j[b+128>>2]+48>>2]|!j[b+28>>2]|(!j[b+700>>2]|!j[b+696>>2])){break m}e=0;d=1;i=0;c=0;s:{t:while(1){a=c;while(1){am(b,a,g+76|0);if(j[g+76>>2]){if(!(d&1)){break m}e=1;d=0;i=a;c=a+1|0;if(c>>>0>2]){continue t}break s}a=a+1|0;if(a>>>0>2]){continue}break}break}a=i;if(!(e&1)){break m}}if(a){if(GO(b,a,g)|k[g|0]!=46|((k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24))!=1953459758|(k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24))!=6710628)){break m}}j[b+8>>2]=j[b+8>>2]&-2}j[b+528>>2]=923;j[b+524>>2]=924;j[b+520>>2]=925;j[b+512>>2]=926;j[b+516>>2]=927}oe=g+80|0;return f|0}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,n=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+433|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+436|0;break i;case 1:a=a+440|0;break i;case 2:a=a+444|0;break i;case 3:break j;default:break h}}a=a+448|0}e=j[a>>2]}j[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+460|0;break l;case 1:a=a+464|0;break l;case 2:a=a+468|0;break l;case 3:break m;default:break k}}a=a+472|0}e=j[a>>2]}j[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+432|0];break b;case 4:a=j[a+364>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+416>>2];break c;case 7:if(m[a+416>>2]<=c>>>0){break e}a=j[j[a+420>>2]+(c<<2)>>2];c=Le(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,a,b)+c|0,n=0,h[g|0]=n;break f;case 8:if(m[a+416>>2]<=c>>>0){break e}e=j[j[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+424>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 9:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+368>>2];break c;case 10:if(j[a+368>>2]!=1|m[a+372>>2]<=c>>>0){break e}c=j[j[a+388>>2]+(c<<2)>>2];a=Le(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,c,a)+a|0,n=0,h[g|0]=n;break f;case 11:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+404>>2];break c;case 12:if(m[a+404>>2]<=c>>>0){break e}e=j[j[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+408>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 13:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+176|0];break b;case 16:if(k[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+177|0];break b;case 19:if(k[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+178|0];break b;case 21:if(k[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+179|0];break b;case 23:if(k[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+292|0];break b;case 27:if(k[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+293|0];break b;case 29:if(k[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+164>>1];break a;case 36:a=j[a+132>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 37:a=j[a+136>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 38:a=j[a+140>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 39:a=j[a+144>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=j[a+148>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+152>>2]}return b|0}return 1}return 2}function Cq(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0;t=oe-16|0;oe=t;o=6;e=j[a+32>>2];a:{if(!e){break a}f=j[a+40>>2];g=j[a+36>>2]+j[a+28>>2]|0;n=g;while(1){r=k[n+1|0]|k[n|0]<<8;if(!((k[n+3|0]|k[n+2|0]<<8)>>>0>=b>>>0?r>>>0<=b>>>0:0)){n=n+8|0;e=e-1|0;if(e){continue}break a}break}o=8;e=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>f-g>>>0){break a}g=e+g|0;e=g+8|0;if(e>>>0>f>>>0){o=6;break a}s=k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24);q=k[g+2|0]|k[g+3|0]<<8;o=6;b:{c:{d:{e:{f:{g:{g=k[g|0]|k[g+1|0]<<8;switch(((g<<24|g<<8&16711680)>>>16|0)-1|0){case 2:break e;case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;default:break a}}e=e+(b-r<<2)|0;if(f>>>0>>0){break a}b=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((b|0)!=(e|0)){break b}break a}if(f>>>0>>0|f>>>0>>0){break a}n=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];if(f>>>0>>0){break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;e=n<<8&16711680|n<<24|(n>>>8&65280|n>>>24);b=p(e,b-r|0);e=b+e|0;break b}e=e+(b-r<<1)|0;if(f>>>0>>0){break a}b=k[e+1|0]|k[e|0]<<8;e=k[e+3|0]|k[e+2|0]<<8;if((b|0)!=(e|0)){break b}break a}n=e+4|0;if(f>>>0>>0|f>>>0>>0){break a}g=(f-n>>2)-1|0;e=n-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){break a}if(!f){break a}e=0;while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){e=k[n+7|0]|k[n+6|0]<<8;b=k[n+3|0]|k[n+2|0]<<8;break b}n=n+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}if(f>>>0>>0|f>>>0>>0){break a}o=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];n=e+8|0;if(f>>>0>>0){o=6;break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;n=n+4|0;g=f-n>>1;e=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){o=6;break a}if(!f){o=6;break a}g=o<<8&16711680|o<<24|(o>>>8&65280|o>>>24);e=0;h:{while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){break h}n=n+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}o=6;break a}b=p(e,g);e=g+b|0}o=6;if(b>>>0>e>>>0){break a}f=s<<8&16711680|s<<24|(s>>>8&65280|s>>>24);if(m[a+24>>2]>>0){break a}r=j[a+4>>2];o=Fe(r,j[a+20>>2]+(b+f|0)|0);if(o){break a}g=e-b|0;o=_f(r,g,t+12|0);if(o){break a}f=j[t+12>>2];e=f;q=(q<<8&16711680|q<<24)>>>16|0;i:{j:{if(q>>>0>18){break j}b=1<>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];i[b+8>>1]=k[f+4|0];if((g|0)<8){break i}i[b+10>>1]=h[f+5|0];i[b+12>>1]=h[f+6|0];o=k[f+7|0];e=f+8|0;break k}o=6;if((g|0)<5){break i}b=j[a+12>>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];e=k[f+4|0];o=0;i[b+10>>1]=0;i[b+12>>1]=0;i[b+8>>1]=e;e=f+5|0}i[b+14>>1]=o;h[a+16|0]=1}s=f+g|0;o=7;n=817;l:{m:{n:{o:{p:{q:{switch(q-1|0){case 16:case 17:case 18:break i;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break q;default:break l}}f=j[a+12>>2];b=l[f>>1];g=l[f+2>>1];f=p(b,g+7>>>3|0);if(f>>>0<=p(b,g)+7>>>3>>>0){break p}if((f|0)==(s-e|0)){break m}}n=818;break m}o=0;e=e+1|0;if(s>>>0>>0){break i}}n=819}r:{if(k[a+17|0]){break r}if(!k[a+16|0]){o=6;break i}g=j[a+12>>2];b=l[g+2>>1];f=j[a+8>>2];q=l[g>>1];j[f>>2]=q;j[f+4>>2]=b;o=3;g=f;s:{t:{u:{switch(k[a+18|0]-1|0){case 0:h[f+18|0]=1;b=b+7>>>3|0;o=2;break s;case 1:h[f+18|0]=3;b=b+3>>>2|0;o=4;break s;case 3:h[f+18|0]=4;b=b+1>>>1|0;o=16;break s;case 7:h[f+18|0]=2;break t;case 31:break u;default:break i}}h[f+18|0]=7;b=b<<2}o=256}i[g+16>>1]=o;j[f+8>>2]=b;b=p(b,q);if(!b){break r}o=Km(j[j[a>>2]+84>>2],b);if(o){break i}h[a+17|0]=1}o=qe[n|0](a,e,s,c,d)|0;break i}o=8}jf(r,t+12|0)}oe=t+16|0;return o}function us(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=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;y=oe-16|0;oe=y;m=p(b,1468)+a|0;f=m;e=j[m+44>>2];n=j[m+52>>2];d=Zh(a,b);a:{if(d){break a}if((e|0)>=1){g=p(e,48)+n|0;while(1){d=j[n+40>>2];e=l[d>>1];o=k[n|0];h[n|0]=o&254;q=j[n+44>>2];b:{if((q|0)==(d|0)){break b}c=e&3;while(1){e=c;d=j[d+32>>2];c=l[d>>1]&3;if(!((e|c)&65535)){break b}if((d|0)!=(q|0)){continue}break}h[n|0]=o|1}n=n+48|0;if(g>>>0>n>>>0){continue}break}}s=j[j[a+2988>>2]+40>>2]/256|0;c=j[f+44>>2];e=j[m+52>>2];t=p(b,1468)+a|0;n=j[t+68>>2];z=(b?12:4)+a|0;v=De(192,j[z>>2]);if((c|0)>=1){q=p(c,48)+e|0;c=e;while(1){if((n|0)==h[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(n|0)!=(0-h[d+1|0]|0)){break c}g=i[d+2>>1]-i[c+2>>1]|0;if((g|0)<0){break c}f=i[d+6>>1];o=i[c+6>>1];w=(f|0)<(o|0)?f:o;f=i[d+4>>1];o=i[c+4>>1];f=w-((f|0)>(o|0)?f:o)|0;if((f|0)<(s|0)){break c}o=g<<3;r=j[c+32>>2];if(!((o|0)>=(p(r,9)|0)|((f|0)<=j[c+36>>2]?(o|0)>=(p(r,7)|0):0))){j[c+36>>2]=f;j[c+32>>2]=g;j[c+20>>2]=d}r=j[d+32>>2];if((o|0)>=(p(r,9)|0)|((f|0)<=j[d+36>>2]?(o|0)>=(p(r,7)|0):0)){break c}j[d+36>>2]=f;j[d+32>>2]=g;j[d+20>>2]=c}d=d+48|0;if(q>>>0>d>>>0){continue}break}}c=c+48|0;if(q>>>0>c>>>0){continue}break}c=e;while(1){o=j[c+20>>2];d:{if(!o|j[o+20>>2]!=(c|0)){break d}s=i[o+2>>1];r=i[c+2>>1];if((s|0)<=(r|0)){break d}u=j[c+32>>2];if((u|0)>=(v|0)){break d}A=u<<2;d=e;while(1){e:{f:{if((c|0)==(d|0)){break f}f=i[d+2>>1];if((f|0)>(r|0)){break f}n=j[d+20>>2];if(!n|j[n+20>>2]!=(d|0)){break f}g=i[n+2>>1];if((g|0)<(s|0)|((g|0)==(s|0)?(f|0)==(r|0):0)){break f}f=j[d+32>>2];if((f|0)<=(u|0)|(f|0)>=(A|0)){break f}g=e;if(j[c+36>>2]<(p(j[d+36>>2],3)|0)){break e}while(1){f=o;x=j[g+20>>2];g:{if((x|0)!=(d|0)){f=c;if((n|0)!=(x|0)){break g}}j[g+24>>2]=f;j[g+20>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}d=d+48|0;if(q>>>0>d>>>0){continue}break d}break}j[o+20>>2]=0;j[c+20>>2]=0}c=c+48|0;if(q>>>0>c>>>0){continue}break}while(1){c=j[e+20>>2];h:{if(!c){break h}f=j[c+28>>2];j[c+28>>2]=f+1;if(j[c+20>>2]==(e|0)){break h}j[e+20>>2]=0;d=j[c+32>>2];if(!(j[e+32>>2]>=d<<2?(d|0)>=(v|0):0)){j[e+24>>2]=j[c+20>>2];break h}j[c+28>>2]=f}e=e+48|0;if(q>>>0>e>>>0){continue}break}}A=j[a>>2];m=j[m+52>>2];c=j[a+2988>>2];j[t+56>>2]=0;x=t+44|0;e=j[x>>2];c=c+p(b,1572)|0;s=j[z>>2];i:{if((ye(j[c+248>>2],s)|0)>=17){g=De(16,s);break i}g=j[c+248>>2]}if((e|0)>=1){z=p(e,48)+m|0;D=(p(b,1468)+a|0)- -64|0;while(1){j:{k:{B=j[t+56>>2];l:{if((B|0)<=0){v=k[m+1|0];break l}v=k[m+1|0];r=j[D>>2];e=0;f=65535;n=0;while(1){d=p(n,48);o=d+r|0;m:{if(k[o+13|0]!=(v|0)){break m}q=i[m+2>>1]-i[o>>1]|0;c=q>>31;q=c^c+q;if((q|0)>=(g|0)|(f|0)<=(q|0)){break m}C=j[m+20>>2];if(C){c=0;w=j[(d+r|0)+40>>2];d=w;while(1){n:{u=j[d+20>>2];if(u){c=i[C+2>>1];u=i[u+2>>1];c=(c|0)>(u|0)?c-u|0:u-c|0;if((g|0)<=(c|0)){break n}}d=j[d+16>>2];if((w|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break m}}f=q;e=o}n=n+1|0;if((B|0)!=(n|0)){continue}break}if(e){break k}}d=qs(x,i[m+2>>1],v<<24>>24,A,y+12|0);if(d){break a}e=j[y+12>>2];j[e+44>>2]=m;j[e+40>>2]=m;j[e>>2]=0;j[e+4>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=0;j[e+28>>2]=0;j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=0;j[e+12>>2]=0;h[e+13|0]=k[m+1|0];c=i[m+2>>1];i[e>>1]=c;c=ye(c,s);j[e+8>>2]=c;j[e+4>>2]=c;j[m+16>>2]=m;break j}j[m+16>>2]=j[e+40>>2];j[j[e+44>>2]+16>>2]=m;j[e+44>>2]=m}m=m+48|0;if(z>>>0>m>>>0){continue}break}}c=j[t+56>>2];if((c|0)>=1){e=j[(p(b,1468)+a|0)- -64>>2];o=e+p(c,48)|0;c=e;while(1){a=j[c+40>>2];d=a;if(d){while(1){j[d+12>>2]=c;d=j[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(o>>>0>c>>>0){continue}break}while(1){b=e+28|0;c=e+24|0;v=j[e+40>>2];d=v;n=0;f=0;while(1){s=h[d|0]&1;r=s^1;g=j[d+24>>2];a=0;o:{if(!g){break o}a=j[g+12>>2]!=(e|0)}p:{if(j[d+20>>2]?0:!a){break p}q=j[(a?d+24|0:d+20|0)>>2];g=j[(a?b:c)>>2];q:{if(g){t=i[e>>1]-i[g>>1]|0;m=t>>31;w=m^m+t;m=i[d+2>>1];t=i[q+2>>1];if((w|0)<=(((m|0)>(t|0)?m-t|0:t-m|0)|0)){break q}}g=j[q+12>>2]}if(a){j[b>>2]=g;h[g+12|0]=k[g+12|0]|2;break p}j[c>>2]=g}n=n+s|0;f=f+r|0;d=j[d+16>>2];if((v|0)!=(d|0)){continue}break}h[e+12|0]=(n|0)!=0&f>>>0<=n>>>0;if(!(!j[e+28>>2]|!j[c>>2])){j[b>>2]=0}e=e+48|0;if(o>>>0>e>>>0){continue}break}}d=0}oe=y+16|0;return d}function Fz(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;var h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;a:{b:{switch(c-1|0){case 0:q=j[b+12>>2];if(!q){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];s=b&3;c=(b+3|0)/4|0;h=j[58746];n=j[58747];o=g-b<<1;c:while(1){b=c;d:{e:{switch(s-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=q-1|0;r=l[a>>1];i[a>>1]=((p(m,k[h+(r>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(r>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(r&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+o|0;q=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<3&2016|d<<8&63488|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;q=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+q|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;q=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;m:while(1){c=q;n:{o:{switch(r-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=g-1|0;h=l[a>>1];i[a>>1]=(p(k[n+(h>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(h>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((c|0)>1){c=c-1|0;break q}a=a+s|0;g=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}q=j[b+12>>2];if(!q){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;g=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;r:while(1){c=g;s:{t:{switch(r-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=q-1|0;h=l[a>>1];o=k[n+(h>>>5&63)|0]+e|0;t=(o>>>0<255?o:255)<<3&4064;o=k[m+(h>>>11|0)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=t|(o>>>0<255?o:255)<<8&63488|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((c|0)>1){c=c-1|0;break v}a=a+s|0;q=b;if(b){continue r}break a}b=0;continue}}}return 0}function Gz(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;var h=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;o=(b+3|0)/4|0;h=j[58747];n=g-b<<1;c:while(1){b=o;d:{e:{switch(r-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=c-1|0;q=l[a>>1];i[a>>1]=((p(m,k[h+(q>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(q>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(q&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+n|0;c=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<2&992|d<<7&31744|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;o=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+o|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;m:while(1){g=o;n:{o:{switch(q-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=c-1|0;h=l[a>>1];i[a>>1]=(p(k[m+(h>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(h>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((g|0)>1){g=g-1|0;break q}a=a+r|0;c=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;r:while(1){g=o;s:{t:{switch(q-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=c-1|0;h=l[a>>1];n=k[m+(h>>>5&31)|0]+e|0;s=(n>>>0<255?n:255)<<2&2016;n=k[m+(h>>>10&31)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=s|(n>>>0<255?n:255)<<7&64512|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((g|0)>1){g=g-1|0;break v}a=a+r|0;c=b;if(b){continue r}break a}b=0;continue}}}return 0}function Fp(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=oe-560|0;oe=h;g=c;c=(c-3|0)/24|0;x=(c|0)>0?c:0;m=g+p(x,-24)|0;q=j[(e<<2)+223792>>2];k=d-1|0;if((q+k|0)>=0){g=d+q|0;c=x-k|0;while(1){o[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+j[(c<<2)+223808>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}t=m-24|0;g=0;i=(q|0)>0?q:0;n=(d|0)<1;while(1){a:{if(n){f=0;break a}l=g+k|0;c=0;f=0;while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(l-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}C=47-m|0;y=48-m|0;D=m-25|0;g=q;b:{while(1){f=o[(g<<3)+h>>3];c=0;i=g;l=(g|0)<1;if(!l){while(1){n=(h+480|0)+(c<<2)|0;s=f;f=f*5.960464477539063e-8;c:{if(r(f)<2147483648){k=~~f;break c}k=-2147483648}f=+(k|0);s=s+f*-16777216;d:{if(r(s)<2147483648){k=~~s;break d}k=-2147483648}j[n>>2]=k;i=i-1|0;f=o[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Kg(f,t);f=f+v(f*.125)*-8;e:{if(r(f)<2147483648){n=~~f;break e}n=-2147483648}f=f- +(n|0);f:{g:{h:{z=(t|0)<1;i:{if(!z){i=(g<<2)+h|0;k=j[i+476>>2];c=k>>y;w=i;i=k-(c<>2]=i;n=c+n|0;k=i>>C;break i}if(t){break h}k=j[((g<<2)+h|0)+476>>2]>>23}if((k|0)<1){break f}break g}k=2;if(!(f>=.5^1)){break g}k=0;break f}c=0;i=0;if(!l){while(1){w=(h+480|0)+(c<<2)|0;A=j[w>>2];l=16777215;j:{k:{if(i){break k}l=16777216;if(A){break k}i=0;break j}j[w>>2]=l-A;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(z){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&4194303}n=n+1|0;if((k|0)!=2){break f}f=1-f;k=2;if(!i){break f}f=f-Kg(1,t)}if(f==0){i=0;n:{c=g;if((q|0)>=(c|0)){break n}while(1){c=c-1|0;i=j[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(q|0)){continue}break}if(!i){break n}m=t;while(1){m=m-24|0;g=g-1|0;if(!j[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!j[(h+480|0)+(q-i<<2)>>2]){continue}break}i=g+i|0;while(1){k=d+g|0;g=g+1|0;o[(h+320|0)+(k<<3)>>3]=j[(x+g<<2)+223808>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Kg(f,24-m|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;s=f;f=f*5.960464477539063e-8;p:{if(r(f)<2147483648){c=~~f;break p}c=-2147483648}f=s+ +(c|0)*-16777216;q:{if(r(f)<2147483648){a=~~f;break q}a=-2147483648}j[d>>2]=a;g=g+1|0;break o}if(r(f)<2147483648){c=~~f}else{c=-2147483648}m=t}j[(h+480|0)+(g<<2)>>2]=c}f=Kg(1,m);r:{if((g|0)<=-1){break r}c=g;while(1){o[(c<<3)+h>>3]=f*+j[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}l=0;if((g|0)<0){break r}a=(q|0)>0?q:0;i=g;while(1){d=a>>>0>>0?a:l;m=g-i|0;c=0;f=0;while(1){f=f+o[(c<<3)+226576>>3]*o[(c+i<<3)+h>>3];t=(c|0)!=(d|0);c=c+1|0;if(t){continue}break}o[(h+160|0)+(m<<3)>>3]=f;i=i-1|0;c=(g|0)!=(l|0);l=l+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;B=o[d>>3];f=B+f;o[(h+160|0)+(c<<3)>>3]=s+(B-f);o[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;u=o[d>>3];f=u+f;o[(h+160|0)+(c<<3)>>3]=s+(u-f);o[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}u=0;if((g|0)<=1){break v}while(1){u=u+o[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=o[h+160>>3];if(k){break t}o[b>>3]=f;f=o[h+168>>3];o[b+16>>3]=u;o[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+o[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;f=o[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}o[b+8>>3]=k?-f:f;break s}o[b>>3]=-f;f=o[h+168>>3];o[b+16>>3]=-u;o[b+8>>3]=-f}oe=h+560|0;return n&7}function SB(a){var b=0,c=q(0),d=0,e=0,f=q(0),g=q(0),h=q(0),m=q(0),o=0,s=0,t=0,u=0,v=q(0),w=0,x=0,z=0,A=0,B=q(0),C=q(0),D=0,E=0,F=q(0),G=0;d=oe-576|0;oe=d;b=j[a>>2];a:{if(b-1792>>>0>2){break a}e=j[66369];if((e|0)<1){break a}E=j[a+8>>2];o=j[a+12>>2];w=j[66370];while(1){u=p(t,8232)+w|0;if(j[u>>2]!=(E|0)|j[u+4>>2]!=(o|0)){t=t+1|0;if((e|0)!=(t|0)){continue}break a}break}B=n[a+28>>2];C=n[a+24>>2];b:{switch(b-1792|0){case 1:b=p(t,8232)+w|0;i[b+8216>>1]=l[b+8216>>1]-1;E=b+8216|0;c:{if(j[b+8228>>2]){j[b+8228>>2]=0;Fo(b+16|0,d- -64|0);d:{e:{if(k[265472]){f:{g:{h:{a=j[66369];if(a){if((a|0)<=0){break d}break h}b=ve(69244,0);break g}while(1){a=j[66370]+p(s,8232)|0;e=j[a+8220>>2];b=p(e,516);o=mf(j[a+8224>>2],b+516|0);i:{if(!o){e=Be(0);break i}x=a+8220|0;j[a+8224>>2]=o;o=b+o|0;Ge(o,d- -64|0,512);a=5381;b=0;while(1){D=o+(b<<3)|0;c=n[D>>2];j:{if(c=q(0)){z=~~c>>>0;break j}z=0}z=p(z+p(a,33)|0,33);c=n[D+4>>2];k:{if(c=q(0)){a=~~c>>>0;break k}a=0}a=a+z|0;b=b+1|0;if((b|0)!=64){continue}break}j[o+512>>2]=a;j[x>>2]=j[x>>2]+1}b=-1;if((e|0)<=-1){break g}a=j[66369];s=s+1|0;if((a|0)>(s|0)){continue}break}break f}a=j[66369];e=b}if((a|0)<1){break e}s=j[66370];b=0;while(1){j[(s+p(b,8232)|0)+8228>>2]=0;b=b+1|0;if((b|0)!=(a|0)){continue}break}break e}a=p(t,8232)+w|0;e=j[a+8220>>2];b=p(e,516);s=mf(j[a+8224>>2],b+516|0);if(!s){e=Be(0);break e}o=a+8220|0;j[a+8224>>2]=s;z=b+s|0;Ge(z,d- -64|0,512);a=5381;b=0;while(1){D=z+(b<<3)|0;c=n[D>>2];l:{if(c=q(0)){x=~~c>>>0;break l}x=0}x=p(x+p(a,33)|0,33);c=n[D+4>>2];m:{if(c=q(0)){a=~~c>>>0;break m}a=0}a=a+x|0;b=b+1|0;if((b|0)!=64){continue}break}j[(s+p(e,516)|0)+512>>2]=a;j[o>>2]=j[o>>2]+1}if((e|0)<0){break d}a=j[(j[(p(t,8232)+w|0)+8224>>2]+p(e,516)|0)+512>>2];j[d+8>>2]=2049;b=j[u>>2];e=j[u+4>>2];j[d+24>>2]=a;j[d+28>>2]=0;j[d+16>>2]=b;j[d+20>>2]=e;gf(d+8|0);break c}j[d+8>>2]=2049;a=j[u>>2];b=j[u+4>>2];j[d+24>>2]=-1;j[d+28>>2]=-1;j[d+16>>2]=a;j[d+20>>2]=b;gf(d+8|0);break c}a=0;Oe(d- -64|0,0,512);Fo(b+16|0,d- -64|0);if(j[b+8220>>2]<=0){break c}o=b+8220|0;s=(p(t,8232)+w|0)+8224|0;F=q(1e4);b=-1;while(1){g=q(.185407355427742);h=q(-.185407355427742);e=j[s>>2]+p(a,516)|0;m=Qj(d- -64|0,e,q(-.185407355427742));c=Qj(d- -64|0,e,q(.185407355427742));A=.7853981633974483;G=-.7853981633974483;while(1){n:{if(!(c>m^1)){A=+g;v=q(A*.38196601100000005+G*.618033989);f=Qj(d- -64|0,e,v);g=h;c=m;break n}v=g;f=c;G=+h;c=q(G*.38196601100000005+A*.618033989);g=c;c=Qj(d- -64|0,e,c)}m=f;h=v;if(r(G-A)>.03490658503988659){continue}break}c=c>f?f:c;e=c>2]){continue}break}if((b|0)<0){break c}a=j[(j[s>>2]+p(b,516)|0)+512>>2];j[d+64>>2]=2048;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;b=p(t,8232)+w|0;n[d+96>>2]=n[b+8>>2];c=n[b+12>>2];n[d+92>>2]=F;j[d+80>>2]=a;j[d+84>>2]=0;n[d+100>>2]=c;j[d+88>>2]=l[E>>1]+1;gf(d- -64|0)}b=l[E>>1];if(!b){break a}a=p(t,8232)+w|0;c=q(b+1|0);g=q(b>>>0);n[a+8>>2]=q(q(n[a+8>>2]*c)-C)/g;n[a+12>>2]=q(q(n[a+12>>2]*c)-B)/g;break a;case 2:c=n[a+36>>2];g=n[a+32>>2];a=p(t,8232)+w|0;e=a;b=j[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;f=n[a+8>>2];n[b+8>>2]=f;h=n[a+12>>2];n[b+12>>2]=h;f=q(f-n[b>>2]);m=q(f*f);f=q(h-n[b+4>>2]);n[a+16>>2]=n[a+16>>2]+q(y(+q(m+q(f*f))));j[e+20>>2]=j[e+20>>2]+1}h=n[a+12>>2];b=l[a+8216>>1];f=q(b>>>0);n[a+12>>2]=h+q(c/f);m=n[a+8>>2];n[a+8>>2]=m+q(g/f);if(b>>>0<2){break a}f=q(q(C-g)-m);h=q(q(B-c)-h);c=q(y(+q(q(f*f)+q(h*h))));m=q(C-n[a+8>>2]);v=q(B-n[a+12>>2]);g=q(y(+q(q(m*m)+q(v*v))));f=q(f/c);v=q(v/g);h=q(h/c);m=q(m/g);A=Xn(+q(q(f*v)-q(h*m)),+q(q(f*m)+q(h*v)));j[d+64>>2]=2050;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;n[d+88>>2]=n[a+8>>2];f=n[a+12>>2];b=c==q(0);n[d+84>>2]=b?q(0):q(g-c);n[d+80>>2]=b?q(0):q(A);n[d+92>>2]=f;i[d+96>>1]=l[a+8216>>1];gf(d- -64|0);break a;case 0:break b;default:break a}}a=p(t,8232)+w|0;j[a+16>>2]=0;j[a+20>>2]=1;n[a+28>>2]=B;n[a+24>>2]=C;b=l[a+8216>>1]+1|0;i[a+8216>>1]=b;b=b&65535;c=q(b-1|0);g=q(b>>>0);n[a+8>>2]=q(C+q(n[a+8>>2]*c))/g;n[a+12>>2]=q(B+q(n[a+12>>2]*c))/g}oe=d+576|0}function Jm(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-192|0;oe=e;j[e+4>>2]=0;j[e>>2]=0;l=6;a:{if(!b|!d&(c|0)>-1){break a}q=k[b|0]&2?j[b+16>>2]!=0:q;l=mj(a,b,e+4|0);j[e+8>>2]=l;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(l){break j}t=j[a>>2];k:{n=j[b>>2];if(!(n&8)){break k}o=j[b+20>>2];if(!o){break k}l:{if(h[j[o>>2]]&1){a=e;g=a;l=o;r=a+4|0;a=q;p=c;if(n&16){f=j[b+28>>2];b=j[b+24>>2]}else{b=0}a=is(l,r,a,p,b,f,e);j[g+8>>2]=a;if(a){break l}break d}j[e+8>>2]=32}a=j[e+4>>2];if(!a){break c}b=j[a+28>>2];m:{if(!a){break m}c=j[a+24>>2];if(!c){break m}qe[c|0](a)}if(q){break c}if(a){qe[j[b+8>>2]](b,a)}break c}l=11;j[e+8>>2]=11;o=j[a+16>>2];if((o|0)<1){o=0;f=j[e+4>>2];break e}r=((o<<2)+a|0)+20|0;f=a+20|0;while(1){o=j[f>>2];if(h[j[o>>2]]&1){l=0;g=0;if(k[b|0]&16){l=j[b+24>>2];g=j[b+28>>2]}l=is(o,e+4|0,q,c,l,g,e);j[e+8>>2]=l;if(!l){break d}g=l&255;if(!(we(j[j[j[f>>2]>>2]+8>>2],116443)|(g|0)!=142)){g=j[e+4>>2];if(Fe(g,0)){break j}l=hs(a,g,c,d);j[e+8>>2]=l;if(!l){break i}g=l&255}if((g|0)!=2){break j}g=o}f=f+4|0;if(r>>>0>f>>>0){continue}break}o=g}g=l&255;switch(g-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}l=0;if(!g){break a}a=j[g+28>>2];n:{if(!g){break n}b=j[g+24>>2];if(!b){break n}qe[b|0](g)}if(q){break a}if(g){qe[j[a+8>>2]](a,g)}break a}if((g|0)==2){break f}}f=j[e+4>>2];break e}o:{p:{f=j[e+4>>2];l=OO(a,f,c,d);if((l&255)==2){l=Hm(a,f,0,c,d)}g=l&255;q:{if(!(((g|0)!=2?(g|0)!=85:0)|!(k[b|0]&4))){m=j[a>>2];g=0;j[e+12>>2]=0;tO(a,f,j[b+12>>2],e+144|0,e+96|0,e+48|0);p=2;l=0;while(1){r:{r=l;l=l>>>0<=8?j[(l<<3)+116500>>2]-3>>>0<2:0;s:{if(l?g&255:0){break s}s=r<<2;if(j[s+(e+48|0)>>2]){break s}j[e+16>>2]=4;p=e;n=j[s+(e+144|0)>>2];if(!n){n=j[b+12>>2]}j[p+28>>2]=n;p=mj(a,e+16|0,e+12|0);g=(p&255)==81?l?1:g:g;if(p){break s}n=j[e+12>>2];p=Hm(a,n,j[s+(e+96|0)>>2],c,d);if(n){s=j[n+28>>2];t:{if(!n){break t}u=j[n+24>>2];if(!u){break t}qe[u|0](n)}if(n){qe[j[s+8>>2]](s,n)}}if(!p){p=0;break r}g=l?1:g}l=r+1|0;if((l|0)!=9){continue}}break}a=j[e+144>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+144>>2]=0}a=j[e+148>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+148>>2]=0}a=j[e+152>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+152>>2]=0}a=j[e+156>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+156>>2]=0}a=j[e+160>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+160>>2]=0}a=j[e+164>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+164>>2]=0}a=j[e+168>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+168>>2]=0}a=j[e+172>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+172>>2]=0}a=j[e+176>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}}if(p){break o}j[e+8>>2]=0;break q}j[e+8>>2]=l;if(l){break p}}if(!f){break b}a=j[f+28>>2];u:{if(!f){break u}b=j[f+24>>2];if(!b){break u}qe[b|0](f)}if(q){break b}if(f){qe[j[a+8>>2]](a,f)}break b}if((l&255)!=2){break e}}j[e+8>>2]=2}if(!f){break c}a=j[f+28>>2];v:{if(!f){break v}b=j[f+24>>2];if(!b){break v}qe[b|0](f)}if(q){break c}if(f){qe[j[a+8>>2]](a,f)}break c}a=He(t,12,e+8|0);w:{if(!j[e+8>>2]){f=j[e>>2];j[a+8>>2]=f;zm(j[f+96>>2]+16|0,a);if((c|0)>=0){a=ls(f,0);j[e+8>>2]=a;if(a){break w}a=gs(f,e+144|0);j[e+8>>2]=a;if(a){break w}j[f+88>>2]=j[e+144>>2]}b=j[f+8>>2];x:{if(!(b&1)){break x}a=i[f+74>>1];if((a|0)<=-1){a=0-a|0;i[f+74>>1]=a}if(b&32){break x}i[f+78>>1]=a}y:{if(!(b&2)){break y}c=j[f+28>>2];if((c|0)<1){break y}o=j[f+32>>2];a=0;while(1){b=o+(a<<4)|0;g=i[b>>1];if((g|0)<=-1){i[b>>1]=0-g}g=j[b+8>>2];if((g|0)<=-1){j[b+8>>2]=0-(g<<16)>>16}g=j[b+12>>2];if((g|0)<=-1){j[b+12>>2]=0-g}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=j[f+128>>2];j[a+56>>2]=1;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=65536;j[a>>2]=65536;j[a+4>>2]=0;if(d){j[d>>2]=f;break b}b=j[f+96>>2];if(!b){break b}j[a+56>>2]=0;a=j[b+8>>2];d=b+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[a+8>>2]](a,c)}Vh(a,f,b);break b}if(!a){break c}f=j[e>>2];if(!f){break b}}a=j[f+96>>2];if(!a){break b}c=j[f+128>>2];b=j[c+56>>2];j[c+56>>2]=b-1;if((b|0)>1){break b}b=j[a+8>>2];d=a+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[b+8>>2]](b,c)}Vh(b,f,a);break b}a=j[e>>2];if(!a){break b}Vh(t,a,o)}l=j[e+8>>2]}oe=e+192|0;return l}function HA(a,b){a=a|0;b=b|0;var c=0,d=0,e=q(0),f=q(0),g=0,h=0,i=q(0),l=0,m=q(0),o=0;g=oe-16|0;oe=g;a:{b:{c:{d:{e:{f:{g:{h:{d=j[b>>2];switch(d-1024|0){case 1:case 2:break f;case 0:break g;default:break h}}if(d-1792>>>0<3){break e}if((d|0)!=512){break a}d=Gk(j[b+8>>2]);if((d|0)!=j[a+188>>2]){break a}c=j[a+4>>2];if(c){qe[c|0](a,b)}i:{switch(k[b+12|0]-1|0){case 5:c=j[a+316>>2];if(c){$k(a,0)}if(j[a+196>>2]){GA(a);break b}b=j[a+8>>2];j:{if(b){qe[b|0](a,g+12|0,g+8|0)|0;break j}Wg(j[a+188>>2],g+12|0,g+8|0)}if(j[a+316>>2]){j[a+232>>2]=0;j[a+236>>2]=0;j[a+240>>2]=j[g+12>>2];j[a+244>>2]=j[g+8>>2];break b}j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[g+12>>2];j[a+228>>2]=j[g+8>>2];d=a+216|0;if(j[a+400>>2]){if(!wf(d,a+360|0,16)){break c}}b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c;case 1:j[a+192>>2]=1;break a;case 0:if(Ni(d)&64){break a}j[a+192>>2]=0;break a;case 6:j[a+192>>2]=1;break a;case 7:case 8:break i;default:break a}}if(Ni(d)&8){break a}j[a+192>>2]=0;break a}if((Gk(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?296:288)+a>>2];i=n[(c?300:292)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));k:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));l:{if(q(r(e))>2]=h;c=b;e=q(q(l|0)/q(f*n[a+304>>2]));m:{if(q(r(e))>2]=d;c=b;e=q(q(h|0)/q(i*n[a+308>>2]));n:{if(q(r(e))>2]=d;d=b;c=j[b+28>>2];o:{p:{if((c|0)>=1){f=q(q(c|0)/q(f*n[a+304>>2]));q:{if(q(r(f))1?c:1;break p}if((c|0)>-1){break o}f=q(q(c|0)/q(f*n[a+304>>2]));r:{if(q(r(f))>2]=c}d=j[b+32>>2];if((d|0)>=1){f=q(q(d|0)/q(i*n[a+308>>2]));s:{if(q(r(f))>2]=(a|0)>1?a:1;break a}if((d|0)>-1){break a}f=q(q(d|0)/q(i*n[a+308>>2]));t:{if(q(r(f))>2]=(a|0)<-1?a:-1;break a}if((Gk(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?300:292)+a>>2];i=n[(c?296:288)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));u:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));v:{if(q(r(e))>2]=h;c=b;i=q(q(l|0)/q(i*n[a+304>>2]));w:{if(q(r(i))>2]=d;f=q(q(h|0)/q(f*n[a+308>>2]));if(q(r(f))>2]=~~f;break a}j[b+24>>2]=-2147483648;break a}d=j[a+316>>2];c=j[(d?204:196)+a>>2];if(!c){break a}h=j[(d?232:216)+a>>2];l=j[(d?236:220)+a>>2];f=n[(d?300:292)+a>>2];i=n[(d?296:288)+a>>2];d=j[(d?208:200)+a>>2];j[g+12>>2]=1;j[g+8>>2]=1;_k(a,g+12|0,g+8|0);e=q(n[b+24>>2]*q(j[g+12>>2]-1|0));n[b+24>>2]=e;m=q(n[b+28>>2]*q(j[g+8>>2]-1|0));n[b+28>>2]=m;e=q(e-q(n[a+304>>2]*q(h|0)));n[b+24>>2]=e;m=q(m-q(n[a+308>>2]*q(l|0)));n[b+28>>2]=m;i=q(e/q(i*n[a+304>>2]));n[b+24>>2]=i;e=n[a+308>>2];n[b+24>>2]=(c|0)>=2?q(i/q(c-1|0)):q(.5);n[b+28>>2]=(d|0)>=2?q(q(m/q(f*e))/q(d-1|0)):q(.5);break a}h=j[a+344>>2];j[(h?h+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=1;j[b+4>>2]=0;Ge(b+8|0,d,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;break c}Ge(a+360|0,d,16);j[a+400>>2]=1}if(j[a+336>>2]){break b}b=j[a+340>>2];if(!b){break b}qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;b=a+420|0;while(1){d=b;b=j[b+8>>2];if(b){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!c){break a}$k(a,c)}oe=g+16|0;return 0}function uJ(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,m=0,n=0,o=0;m=oe-16|0;oe=m;i=j[a+16>>2];e=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);d=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!d){e=0;break a}o=i+13|0;b:{while(1){e=d+g>>>1|0;l=o+p(e,11)|0;h=l-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}e=0;break a}c=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[l|0]|k[l+1|0]<<8|(k[l+2|0]<<16|k[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(d|e)){e=0;break a}d:{if(!e){e=j[a+28>>2];d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);j[m+12>>2]=0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=h+1|0;e:{if(c>>>0<=e>>>0){e=j[a+32>>2];break e}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}if(h){f=d+4|0;d=0;while(1){j[(d<<2)+e>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+5|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}j[(h<<2)+e>>2]=0;break a}if(!d){g=e+i|0;c=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=1;f:{if(!c){break f}f=g+7|0;d=0;e=c;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;g:{if(d>>>0<=e>>>0){e=j[a+32>>2];break g}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(c){while(1){f=k[g+6|0]|(k[g+5|0]<<8|k[g+4|0]<<16);a=g+4|0;g=k[g+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}g=a;c=c-1|0;if(c){continue}break}}j[d>>2]=0;break a}d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;h:{i:{j:{k:{l:{c=e+i|0;e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(h){f=c+7|0;g=0;e=h;while(1){g=(k[f|0]+g|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}if(n){break j}if(h){break l}d=1;break k}if(n){break i}d=1;break k}f=c+7|0;d=0;g=h;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;g=g-1|0;if(g){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;m:{if(d>>>0<=e>>>0){e=j[a+32>>2];break m}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(h){while(1){f=k[c+6|0]|(k[c+5|0]<<8|k[c+4|0]<<16);a=c+4|0;g=k[c+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}c=a;h=h-1|0;if(h){continue}break}}j[d>>2]=0;break a}if(g){break h}}e=j[a+28>>2];j[m+12>>2]=0;c=n+1|0;n:{if(c>>>0<=e>>>0){e=j[a+32>>2];break n}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}f=0;while(1){j[(f<<2)+e>>2]=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+5|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}j[(n<<2)+e>>2]=0;break a}e=j[a+28>>2];j[m+12>>2]=0;g=(g+n|0)+1|0;o:{if(g>>>0<=e>>>0){e=j[a+32>>2];break o}j[a+36>>2]=b;e=xe(b,4,e,g,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=g}o=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=c+4|0;g=k[a+1|0]<<8|k[a|0]<<16|k[a+2|0];b=d+5|0;i=a+4|0;c=k[a+3|0];f=0;a=1;l=1;while(1){p:{d=0;if(c+g>>>0>>0){while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(h>>>0>>0){break p}g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];i=i+4|0;continue}if(g>>>0>o>>>0){j[(f<<2)+e>>2]=o;f=f+1|0}l=l+1|0;if(n>>>0>>0){break p}o=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);b=b+5|0;continue}break}q:{if(l>>>0<=n>>>0){j[(f<<2)+e>>2]=o;f=f+1|0;if(l>>>0>=n>>>0){break q}while(1){j[(f<<2)+e>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);f=f+1|0;b=b+5|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break q}if(a>>>0>h>>>0){break q}d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=h>>>0){break q}while(1){g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;b=(c|0)!=(d|0);d=d+1|0;if(b){continue}break}i=i+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}j[(f<<2)+e>>2]=0;break a}e=0}oe=m+16|0;return e|0}function Mt(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=q(0),l=0,m=0,o=q(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=oe-80|0;oe=g;a:{if(!k[242924]){c=j[58890];a=c+15|0;if((a|0)>j[58895]){a=(a|0)>j[58896]}else{a=0}j[58891]=a;b=j[58889];a=b+17|0;if((a|0)j[58902]?(a|0)>j[58901]:0)){j[58894]=0;break a}j[58894]=1;break a}j[58893]=1;j[58894]=1;j[58891]=1;j[58892]=1}a=j[58887];if((a|0)>2];b:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break b}j[58886]=1;break b}c:{switch(j[g+44>>2]-101|0){case 12:j[58886]=1;break b;case 0:if(k[242924]){h[242924]=0;break b}h[242924]=1;break b;case 7:break c;default:break b}}if(!k[242924]){break b}E=235644,F=we(j[58911],1164)?1164:1435,j[E>>2]=F;ol();break b}if(!k[242924]){break b}i=n[57791];o=q(q(j[g+44>>2])/i);d=j[58911];d:{if(!we(d,1164)){i=q(q(j[g+48>>2])/i);break d}o=q(o+q(j[58889]-j[58887]|0));i=q(q(q(j[g+48>>2])/i)+q(j[58890]-j[58888]|0))}i=q(i*q(.0625));e:{if(q(r(i))=j[58907]))){b=j[j[j[58909]+(a<<2)>>2]+(c<<2)>>2];if((b|0)>-1){break g}}b=-1}h:{switch(k[g+40|0]-1|0){case 0:if(we(d,1435)){break b}d=j[58908];b=j[58906];e=j[d+(a<<2)>>2];i:{if((b|0)>(a|0)){break i}j[d+(b<<2)>>2]=0;a=b;e=0}b=e;e=d;d=a<<2;a=e+d|0;if(!((c|0)<1|b)){Ee(j[d+j[58909]>>2],255,c<<2)}f=j[d+j[58909]>>2];j[f+(c<<2)>>2]=j[65533];b=j[a>>2];d=c+1|0;j:{if((b|0)>(d|0)){d=b;break j}if((b|0)<=(c|0)){while(1){j[f+(b<<2)>>2]=j[65533];e=j[a>>2];b=e+1|0;j[a>>2]=b;if((c|0)>(e|0)){continue}break}}j[f+(d<<2)>>2]=10;j[a>>2]=d}if(j[58907]<(d|0)){j[58907]=d}if(!jv()){break b}j[g>>2]=j[65532];$g(1462,g);break b;case 2:break h;default:break b}}j[65533]=b;j[g+16>>2]=b;$g(1484,g+16|0)}if(Io(g+24|0)){continue}break}}d=0;b=0;k:{if(we(j[58911],1435)){break k}a=j[58889];d=(a+8|0)/16|0;x=d-1|0;c=j[58890];f=(c+28|0)/16|0;y=f+1|0;z=d+1|0;A=f-1|0;v=(c|0)<-43?0:c+43>>>0<31?0:f;f=j[58909];e=j[(v<<2)+f>>2];t=(a|0)<-23?0:a+23>>>0<31?0:d;l=j[e+(t<<2)>>2];if((l|0)<0){d=0;l=0;break k}b=(c|0)>=4?j[j[f+(A<<2)>>2]+(t<<2)>>2]:b;m=(a|0)>=-23?j[e+(z<<2)>>2]:m;d=0;d=(c|0)>=-43?j[j[f+(y<<2)>>2]+(t<<2)>>2]:d;if((a|0)<24){break k}s=j[e+(x<<2)>>2]}u=p(l,24)+235536|0;e=u;f=j[e+156>>2];w=f;a=j[e+148>>2];c=a;l:{if((b|0)<0){break l}w=f;c=a;if(j[60719]<(b|0)){break l}c=p(b,24)+235536|0;w=j[c+156>>2];c=j[c+148>>2]}B=c;e=j[e+160>>2];l=e;c=j[u+152>>2];b=c;m:{if((m|0)<0){break m}l=e;b=c;if(j[60719]<(m|0)){break m}b=p(m,24)+235536|0;l=j[b+160>>2];b=j[b+152>>2]}u=b;m=f;b=a;n:{if((d|0)<0){break n}b=a;if(j[60719]<(d|0)){break n}b=p(d,24)+235536|0;m=j[b+156>>2];b=j[b+148>>2]}C=b;d=e;b=c;o:{if((s|0)<0){break o}b=c;if(j[60719]<(s|0)){break o}b=p(s,24)+235536|0;d=j[b+160>>2];b=j[b+152>>2]}_n();if(!we(j[58911],1435)){ow(j[58904],j[58887],j[58888],j[58903])}s=sg();if((s|0)<=19){bg(20-s|0);sg()}if(k[265572]){j[58895]=0;j[58896]=0;if((a|0)>=1){j[58895]=(v<<4)+a;D=1}if((w|0)>=1){j[((D<<2)+235536|0)+44>>2]=(A<<4)+B}if(j[58891]){j[58888]=j[58888]-1;j[58890]=j[58890]-3}j[58903]=0}if(k[265569]){a=j[58907]<<4;j[58898]=a;j[58897]=a;if((c|0)<1){a=0}else{j[58897]=((t<<4)-c|0)+16;a=1}if((l|0)>=1){j[((a<<2)+235536|0)+52>>2]=((z<<4)+16|0)-u}if(j[58892]){j[58887]=j[58887]+1;j[58889]=j[58889]+3}j[58903]=1}if(k[265571]){a=j[58906]<<4;j[58900]=a;j[58899]=a;if((f|0)<1){a=0}else{j[58899]=((v<<4)-f|0)+16;a=1}if((C|0)>=1){j[((a<<2)+235536|0)+60>>2]=((y<<4)+16|0)-m}if(j[58893]){j[58888]=j[58888]+1;j[58890]=j[58890]+3}j[58903]=2}if(k[265570]){j[58901]=0;j[58902]=0;if((e|0)<1){a=0}else{j[58901]=e+(t<<4);a=1}if((b|0)>=1){j[((a<<2)+235536|0)+68>>2]=(x<<4)+d}if(j[58894]){j[58887]=j[58887]-1;j[58889]=j[58889]-3}j[58903]=3}no(j[58882]);CA(j[58882]);oe=g+80|0}function CF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;p=oe-32|0;oe=p;n=j[b>>2];a:{if(n>>>0>1e5){g=1;break a}f=j[b+4>>2];if((f|0)<0){g=1;break a}if((f|0)>(1e5-n|0)){g=1;break a}l=j[b+8>>2];if(l>>>0>1e5){g=1;break a}e=j[b+12>>2];if((e|0)<0){g=1;break a}if((e|0)>(1e5-l|0)){g=1;break a}o=j[b+16>>2];if(o>>>0>1e5){g=1;break a}m=j[b+20>>2];if((m|0)<0){g=1;break a}if((m|0)>(1e5-o|0)){g=1;break a}i=j[b+24>>2];if(i>>>0>1e5){g=1;break a}d=j[b+28>>2];if((d|0)<0){g=1;break a}if((d|0)>(1e5-i|0)){g=1;break a}q=f-m|0;l=l-o|0;f=0;b:{if(!l){break b}f=0;if(!q){break b}g=2;c=v(+(l|0)*+(q|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}f=~~c;if(r(c)<2147483648){break b}f=-2147483648}s=n-o|0;t=e-m|0;c:{if(!s|!t){break c}g=2;c=v(+(s|0)*+(t|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break c}h=-2147483648}u=d-m|0;e=0;d:{if(!l){break d}e=0;if(!u){break d}g=2;c=v(+(l|0)*+(u|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break d}e=-2147483648}m=i-o|0;e:{if(!t|!m){break e}g=2;c=v(+(t|0)*+(m|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){k=~~c;break e}k=-2147483648}k=e-k|0;if(!k){g=1;break a}l=f-h|0;h=!d|!l;i=0;f:{if(h){break f}g=1;c=v(+(d|0)*+(l|0)/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}i=~~c;if(r(c)<2147483648){break f}i=-2147483648}if((i|0)<=(d|0)){g=1;break a}f=0;e=0;g:{if(!q){break g}e=0;if(!m){break g}g=2;c=v(+(q|0)*+(m|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break g}e=-2147483648}h:{if(!s|!u){break h}g=2;c=v(+(s|0)*+(u|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break h}f=-2147483648}f=e-f|0;if(!f){g=1;break a}k=0;i:{if(h){break i}g=1;c=v(+(d|0)*+(l|0)/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}k=~~c;if(r(c)<2147483648){break i}k=-2147483648}if((k|0)<=(d|0)){g=1;break a}w=+(i|0);x=v(1e10/w+.5);j:{if(r(x)<2147483648){f=~~x;break j}f=-2147483648}y=v(1e10/+(d|0)+.5);k:{if(r(y)<2147483648){e=~~y;break k}e=-2147483648}z=+(k|0);c=v(1e10/z+.5);l:{if(r(c)<2147483648){d=~~c;break l}d=-2147483648}if(!i){g=1;break a}g=1;i=((y<=2147483647?y>=-2147483648?e:0:0)-(x<=2147483647?x>=-2147483648?f:0:0)|0)-(c<=2147483647?c>=-2147483648?d:0:0)|0;if((i|0)<1){break a}h=0;e=a;f=0;m:{if(!n){break m}c=v(+(n|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}f=~~c;if(r(c)<2147483648){break m}f=-2147483648}j[e>>2]=f;d=j[b+4>>2];n:{if(!d){break n}c=v(+(d|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break n}h=-2147483648}j[a+4>>2]=h;f=a;e=1e5-(j[b>>2]+j[b+4>>2]|0)|0;d=0;o:{if(!e){break o}c=v(+(e|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break o}d=-2147483648}j[f+8>>2]=d;if(!k){break a}h=0;f=a;e=j[b+8>>2];d=0;p:{if(!e){break p}c=v(+(e|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break p}d=-2147483648}j[f+12>>2]=d;d=j[b+12>>2];q:{if(!d){break q}c=v(+(d|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break q}h=-2147483648}j[a+16>>2]=h;h=0;f=a;e=1e5-(j[b+8>>2]+j[b+12>>2]|0)|0;d=0;r:{if(!e){break r}c=v(+(e|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break r}d=-2147483648}j[f+20>>2]=d;d=j[b+16>>2];s:{if(!d){break s}c=v(+(i|0)*+(d|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break s}h=-2147483648}j[a+24>>2]=h;h=0;f=a;e=j[b+20>>2];d=0;t:{if(!e){break t}c=v(+(i|0)*+(e|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break t}d=-2147483648}j[f+28>>2]=d;d=1e5-(j[b+16>>2]+j[b+20>>2]|0)|0;u:{if(!d){break u}c=v(+(i|0)*+(d|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break u}h=-2147483648}j[a+32>>2]=h;if(BF(p,a)){break a}g=!hk(b,p,5)}oe=p+32|0;return g}function $O(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-6992|0;oe=c;f=j[j[a+4>>2]>>2];Ee(c- -64|4,0,2996);j[c+16>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+56>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+64>>2]=f;j[c+8>>2]=c- -64;b=j[b+4>>2];f=j[b+88>>2];a:{if(!f){f=36;break a}j[c+6936>>2]=b;g=j[f+16>>2];j[c+6948>>2]=0;j[c+6940>>2]=g;f=j[f+20>>2];j[c+6960>>2]=0;j[c+6956>>2]=e>>>16&15;j[c+6952>>2]=0;j[c+6944>>2]=f;j[c>>2]=b;g=j[b+116>>2];j[c+4>>2]=g;if(!g){f=uk(b,c|4,a);if(f){break a}g=j[c+4>>2];j[b+116>>2]=g;j[b+120>>2]=561}j[c+6976>>2]=0;f=6;if(m[g+4>>2]<=d>>>0){break a}f=(k[j[g+8>>2]+d|0]&127)<<2;o=f+g|0;b=j[o+16>>2];b:{if(b){break b}a=j[j[g>>2]+100>>2];i=j[f+114864>>2];n=j[(j[i+4>>2]<<2)+114736>>2];b=He(a,j[n+4>>2],c+6976|0);f=j[c+6976>>2];if(f){break a}j[b+36>>2]=g;j[b>>2]=i;c:{f=j[n+8>>2];if(!f){break c}f=qe[f|0](b,j[g>>2])|0;j[c+6976>>2]=f;if(!f){break c}f=j[n+16>>2];if(f){qe[f|0](b)}if(b){qe[j[a+8>>2]](a,b)}f=j[c+6976>>2];if(f){break a}b=0;break b}j[o+16>>2]=b}a=j[j[b>>2]+4>>2];j[c+12>>2]=b;a=j[(a<<2)+114736>>2];f=j[a+12>>2];d:{if(f){qe[f|0](b,c+6936|0);break d}f=j[c+6940>>2];j[b+4>>2]=j[c+6936>>2];j[b+8>>2]=f;j[b+28>>2]=j[c+6960>>2];f=c+6952|0;g=j[f+4>>2];j[b+20>>2]=j[f>>2];j[b+24>>2]=g;f=c+6944|0;g=j[f+4>>2];j[b+12>>2]=j[f>>2];j[b+16>>2]=g}a=j[a+20>>2];if(a){f=qe[a|0](j[c+8>>2],b)|0;if(f){break a}}f=j[c>>2];b=j[f+84>>2];g=j[b+156>>2];o=j[g>>2];a=j[c+8>>2];n=j[c+12>>2];f=Wh(f,d,e&-10246|10241);if(f){break a}e=k[g+8|0];h[c+16|0]=e;e:{if(!e){break e}e=j[g+24>>2];i=j[g+20>>2];j[c+28>>2]=i;j[c+32>>2]=e;f=j[g+16>>2];q=j[g+12>>2];j[c+20>>2]=q;j[c+24>>2]=f;s=j[g+28>>2];g=j[g+32>>2];r=c+6984|0;j[r>>2]=i;j[r+4>>2]=e;j[c+6976>>2]=q;j[c+6980>>2]=f;j[c+36>>2]=s;j[c+40>>2]=g;if(Ws(c+6976|0)){break e}Tg(c+36|0,c+6976|0)}f=7;f:{if(j[b+72>>2]!=1869968492){break f}if(k[c+16|0]){Tf(b+108|0,j[c+36>>2],j[c+40>>2])}j[c+44>>2]=j[a+8>>2];j[c+48>>2]=j[a+16>>2];u=c,v=ye(j[b+40>>2],j[a+4>>2])+j[a+8>>2]|0,j[u+52>>2]=v;j[c+56>>2]=j[a+16>>2];f=0;if(!l[b+110>>1]){break f}e=j[j[(j[j[n>>2]+4>>2]<<2)+114736>>2]+24>>2];if(e){qe[e|0](a,o+20|0,n)|0}if(j[c+6956>>2]!=1){e=j[a+56>>2];if(!(k[a+2980|0]&4|(e|0)<2)){a=j[a- -64>>2];e=(a+p(e,48)|0)-48|0;g=j[e+8>>2];e=j[e+4>>2];s=j[a+8>>2];i=j[a+4>>2];a=s-i|0;r=(i|0)<24?a-8|0:a;a=r+32&-64;j[c+44>>2]=a;q=j[c+52>>2]-e|0;e=g+q|0;t=(q|0)<24?e+8|0:e;e=t+32&-64;j[c+52>>2]=e;if(!((i|0)<1|(a|0)<(s|0))){a=a+ -64|0;j[c+44>>2]=a}if(!((q|0)<1|(e|0)>(g|0))){e=e- -64|0;j[c+52>>2]=e}j[b+148>>2]=e-t;j[b+144>>2]=a-r;break f}a=j[c+44>>2];e=a+32&-64;j[c+44>>2]=e;g=j[c+52>>2];i=g+32&-64;j[c+52>>2]=i;j[b+148>>2]=i-g;j[b+144>>2]=e-a;break f}e=j[c+44>>2];g=(e+j[a+2992>>2]|0)+32&-64;j[c+44>>2]=g;i=j[a+2996>>2];a=j[c+52>>2];i=(i+a|0)+32&-64;j[c+52>>2]=i;j[b+144>>2]=g-e;j[b+148>>2]=i-a}a=j[b+44>>2]-j[b+32>>2]|0;j[c+6968>>2]=a;e=j[b+48>>2]-j[b+36>>2]|0;j[c+6972>>2]=e;u=c,v=ye(a,j[n+8>>2]),j[u+6968>>2]=v;u=c,v=ye(e,j[n+12>>2]),j[u+6972>>2]=v;if(k[c+16|0]){a=c+20|0;Ah(o+20|0,a);Tg(c+6968|0,a)}a=j[c+44>>2];if(a){Tf(o+20|0,0-a|0,0)}Ug(o+20|0,c+6976|0);a=j[c+6976>>2]&-64;j[c+6976>>2]=a;e=j[c+6988>>2]+63&-64;j[c+6988>>2]=e;g=j[c+6984>>2]+63&-64;j[c+6984>>2]=g;o=j[c+6980>>2]&-64;j[c+6980>>2]=o;j[b+36>>2]=e;j[b+32>>2]=a;j[b+28>>2]=e-o;j[b+24>>2]=g-a;j[b+44>>2]=a+j[c+6968>>2]&-64;j[b+48>>2]=e+j[c+6972>>2]&-64;g:{h:{if(j[c+6956>>2]==1){break h}if(!(k[j[b+4>>2]+8|0]&4)){a=j[c+4>>2];if(!k[n+32|0]|(m[a+4>>2]<=d>>>0|h[j[a+8>>2]+d|0]>-1)){break h}}a=ye(j[b+40>>2],j[n+8>>2]);j[b+144>>2]=0;j[b+148>>2]=0;j[b+40>>2]=a;break g}if(!j[b+40>>2]){break g}j[b+40>>2]=j[c+52>>2]-j[c+44>>2]}a=ye(j[b+52>>2],j[n+12>>2]);j[b+72>>2]=1869968492;j[b+52>>2]=a+32&-64;j[b+40>>2]=j[b+40>>2]+32&-64}j[c+8>>2]=0;j[c>>2]=0;j[c+4>>2]=0;wk(c- -64|0);oe=c+6992|0;return f|0}function Cz(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;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}h=g^255;i=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(i,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;n=(b+3|0)/4|0;o=i-b<<2;c:while(1){l=n;d:{e:{switch(m-1|0){default:i=0;break d;case 0:i=3;break d;case 1:i=2;break d;case 2:break e}}i=1}while(1){f:{switch(i|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=3;continue;default:break f}}b=c-1|0;i=j[a>>2];j[a>>2]=((p(h,i>>>24|0)>>>0)/255|0)+g<<24|((p(h,i&255)>>>0)/255|0)+f|((p(h,i>>>16&255)>>>0)/255|0)+d<<16|((p(h,i>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;g:{if((l|0)>1){l=l-1|0;break g}a=a+o|0;c=b;if(b){continue c}break a}i=0;continue}};default:i=j[b+12>>2];if(!i){break a}l=e<<8|d<<16|f|g<<24;c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];g=b&3;d=(b+3|0)/4|0;f=c-b<<2;h:while(1){e=d;i:{j:{switch(g-1|0){default:c=0;break i;case 0:c=3;break i;case 1:c=2;break i;case 2:break j}}c=1}while(1){k:{switch(c|0){case 0:j[a>>2]=l;a=a+4|0;c=1;continue;case 1:j[a>>2]=l;a=a+4|0;c=2;continue;case 2:j[a>>2]=l;a=a+4|0;c=3;continue;default:break k}}b=i-1|0;j[a>>2]=l;a=a+4|0;l:{if((e|0)>1){e=e-1|0;break l}a=a+f|0;i=b;if(b){continue h}break a}c=0;continue}};case 3:l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;g=(b+3|0)/4|0;n=c-b<<2;m:while(1){i=g;n:{o:{switch(o-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=1;continue;case 1:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=2;continue;case 2:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=3;continue;default:break p}}b=l-1|0;c=j[a>>2];j[a>>2]=c&-16777216|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16|(p(c>>>8&255,e)>>>0)/255<<8;a=a+4|0;q:{if((i|0)>1){i=i-1|0;break q}a=a+n|0;l=b;if(b){continue m}break a}c=0;continue}};case 1:break b}}g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;l=(b+3|0)/4|0;n=c-b<<2;r:while(1){i=l;s:{t:{switch(o-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=1;continue;case 1:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=2;continue;case 2:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=3;continue;default:break u}}b=g-1|0;m=j[a>>2];c=(m&255)+f|0;h=(c>>>0<255?c:255)|m&-16777216;c=(m>>>16&255)+d|0;h=h|(c>>>0<255?c:255)<<16;c=(m>>>8&255)+e|0;j[a>>2]=h|(c>>>0<255?c:255)<<8;a=a+4|0;v:{if((i|0)>1){i=i-1|0;break v}a=a+n|0;g=b;if(b){continue r}break a}c=0;continue}}}return 0}function Mm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=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;u=oe-80|0;oe=u;g=Ji(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=us(a,0);if(g){break a}ts(a,c,0);d=j[a+2980>>2]}if(!(d&2)){g=us(a,1);if(g){break a}ts(a,c,1)}q=1;while(1){b:{d=j[a+2980>>2];c:{d:{if(q){if(d&1){break c}if(d&8|j[c+24>>2]!=1){break d}Tm(u+16|0,a,u+12|0,u+8|0);o=j[a+24>>2];if((o|0)<1){break c}d=j[a+28>>2];o=d+p(o,40)|0;e=j[u+8>>2];m=j[u+12>>2];while(1){B=d,C=ye(i[d+12>>1],m)+e|0,j[B+16>>2]=C;d=d+40|0;if(o>>>0>d>>>0){continue}break}break c}if(d&2){break b}}x=p(r,1468)+a|0;A=x- -64|0;o=j[A>>2];t=j[x+56>>2];v=o+p(t,48)|0;m=0;d=o;y=(t|0)<1;if(!y){while(1){g=k[d+12|0];e:{if(g&4){break e}e=j[d+24>>2];f=j[d+20>>2];f:{if(f){n=d;break f}if(!e){break e}f=j[e+20>>2];if(!f){break e}g=k[e+12|0];n=e;e=d}f=j[f+8>>2];h[n+12|0]=g|4;j[n+8>>2]=f;if(!(j[e+20>>2]|!e)){B=e,C=vk(a,r,j[e+4>>2]-j[n+4>>2]|0)+f|0,j[B+8>>2]=C;h[e+12|0]=k[e+12|0]|4}m=m?m:d}n=0;d=d+48|0;if(v>>>0>d>>>0){continue}break}d=o;e=m;s=0;f=0;m=0;while(1){z=k[d+12|0];g:{if(z&4){break g}g=j[d+24>>2];if(!g){m=m+1|0;break g}h:{if(!(f&255)){break h}w=s- -64|0;if((w|0)<=j[g+8>>2]?(w|0)<=j[d+8>>2]:0){break h}m=m+1|0;break g}if(j[g+20>>2]){w=vk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;j[d+8>>2]=g+w;break g}if(d>>>0>g>>>0){f=vk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;s=f+g|0;j[d+8>>2]=s;f=1;break g}i:{if(!((e|0)!=0|r)){n=ss(a,d,g,0,0);break i}ss(a,d,g,n,r)}h[d+12|0]=k[d+12|0]|4;h[g+12|0]=k[g+12|0]|4;s=j[g+8>>2];f=1;e=d}d=d+48|0;if(v>>>0>d>>>0){continue}break}}j:{if(!q){break j}g=4;e=2;d=o;k:{switch(t-6|0){case 6:d=o+48|0;g=9;e=5;break;case 0:break k;default:break j}}if(j[d+24>>2]!=(d+48|0)){break j}n=o+p(e,48)|0;if(j[n+24>>2]!=(n+48|0)){break j}e=j[n+4>>2];g=p(g,48);f=g+o|0;s=e-j[f+4>>2]+(e-j[d+4>>2])|0;e=s>>31;if((e^e+s)>7){break j}e=j[f+24>>2];if((e|0)!=(g+(o+48|0)|0)){break j}g=j[f+8>>2];d=(j[n+8>>2]<<1)-j[d+8>>2]|0;j[f+8>>2]=d;d=g-d|0;if(e){j[e+8>>2]=j[e+8>>2]-d}if((t|0)==12){j[o+392>>2]=j[o+392>>2]-d;j[o+536>>2]=j[o+536>>2]-d}h[f+12|0]=k[f+12|0]|4;if(!e){break j}h[e+12|0]=k[e+12|0]|4}l:{if(!m){break l}d=o;if(y){break l}while(1){f=k[d+12|0];m:{if(f&4){break m}e=j[d+28>>2];if(!e){break m}n=j[e+4>>2];e=j[e+8>>2];h[d+12|0]=f|4;j[d+8>>2]=(e+j[d+4>>2]|0)-n;m=m-1|0}d=d+48|0;if(v>>>0>d>>>0){continue}break}if(y){break l}f=o;if(!m){break l}while(1){d=f;n:{if(k[d+12|0]&4){break n}while(1){e=d;d=d-48|0;g=o>>>0>d>>>0;if(k[e-36|0]&4?0:!g){continue}break}m=f;o:{p:{while(1){n=m;m=n+48|0;if(v>>>0<=m>>>0){break p}if(!(k[n+60|0]&4)){continue}break}if(d>>>0>=o>>>0){break o}j[f+8>>2]=(j[f+4>>2]+j[n+56>>2]|0)-j[n+52>>2];break n}if(g){break n}j[f+8>>2]=(j[f+4>>2]+j[e-40>>2]|0)-j[e-44>>2];break n}m=l[m>>1];d=l[d>>1];if((m|0)==(d|0)){j[f+8>>2]=j[e-40>>2];break n}d=d<<16>>16;e=j[e-40>>2];B=f,C=Ne(i[f>>1]-d|0,j[n+56>>2]-e|0,(m<<16>>16)-d|0)+e|0,j[B+8>>2]=C}f=f+48|0;if(v>>>0>f>>>0){continue}break}}d=j[x+56>>2];o=j[A>>2];e=0;e=q|r?(j[a+2984>>2]&(q?1:2))!=0:e;if((d|0)>=1){v=p(d,48)+o|0;g=q?4:8;while(1){d=j[o+40>>2];f=d;q:{if(e){while(1){m=f+40|0;t=j[f+44>>2];while(1){n=j[m>>2];j[n+(q?16:20)>>2]=j[o+8>>2];i[n>>1]=g|l[n>>1];m=n+32|0;if((n|0)!=(t|0)){continue}break}f=j[f+16>>2];if((d|0)!=(f|0)){continue}break q}}t=j[o+8>>2]-j[o+4>>2]|0;n=d;while(1){m=n+40|0;s=j[n+44>>2];while(1){f=j[m>>2];m=f+(q?16:20)|0;j[m>>2]=t+j[m>>2];i[f>>1]=g|l[f>>1];m=f+32|0;if((f|0)!=(s|0)){continue}break}n=j[n+16>>2];if((d|0)!=(n|0)){continue}break}}o=o+48|0;if(v>>>0>o>>>0){continue}break}}Sm(a,r);Rm(a,r)}r=1;d=q;q=0;if(d){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];c=d+p(c,40)|0;m=j[b+4>>2];a=j[b+8>>2];while(1){j[m>>2]=j[d+16>>2];j[m+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[a|0]=b&1?0:b&2?2:1;a=a+1|0;m=m+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}oe=u+80|0;return g|0}function Dr(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;j[a+12>>2]=b;j[a+8>>2]=c;j[a+4>>2]=b;r=a+16|0;j[a+404>>2]=r;u=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}d=k[b|0];c:{d:{if(!(d>>>0<27|(d|0)==31)){e=j[a+404>>2];m=4;if((e-r|0)>380){break c}j[a+404>>2]=e+4;j[e>>2]=b;e:{switch(d-28|0){case 2:while(1){b=b+1|0;m=7;if(c>>>0<=b>>>0){break c}d=k[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=d>>>0>246?b+1|0:b;break d}g=j[a+404>>2];j[g>>2]=b;if((d|0)==12){b=b+1|0;m=8;if(c>>>0<=b>>>0){break c}d=k[b|0]|256}q=120992;e=4;f=j[a+408>>2]|d;f:{if((f|0)!=4096){while(1){e=j[q+28>>2];if(!e){break f}d=q;q=d+28|0;if((f|0)!=j[d+32>>2]){continue}break}}o=j[q+8>>2];d=j[a+412>>2];g=g-r|0;if(!g){m=12;if((e|0)!=6){break c}}o=d+o|0;g:{h:{i:{switch(e-1|0){case 0:case 3:case 4:g=j[a+20>>2];e=j[a+16>>2];f=k[e|0];if((f|0)==30){d=Jf(e,g,0,0)>>16;break g}j:{switch(f-28|0){case 0:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g;case 1:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break g;default:break j}}d=f-139|0;if(f>>>0<=246){break g}l=e+2|0;if(f>>>0<=250){d=0;if(g>>>0>>0){break g}d=(k[e+1|0]|f<<8)-63124|0;break g}d=0;if(g>>>0>>0){break g}d=64148-(k[e+1|0]|f<<8)|0;break g;case 1:f=j[a+20>>2];d=j[a+16>>2];e=k[d|0];if((e|0)==30){d=Jf(d,f,0,0);break g}k:{l:{m:{switch(e-28|0){case 0:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break k;case 1:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break l;default:break m}}if(e>>>0<=246){g=e-139|0;break h}l=d+2|0;if(e>>>0<=250){g=0;if(f>>>0>>0){break h}e=(k[d+1|0]|e<<8)-63124|0;break k}g=0;if(f>>>0>>0){break h}e=64148-(k[d+1|0]|e<<8)|0}d=2147483647;if((e|0)>32767){break g}}d=(e|0)<-32767?-2147483647:e<<16;break g;case 2:l=j[a+20>>2];f=j[a+16>>2];g=k[f|0];if((g|0)==30){d=Jf(f,l,3,0);break g}n:{o:{switch(g-28|0){case 0:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break n;case 1:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n;default:break o}}e=g-139|0;if(g>>>0<=246){break n}e=f+2|0;if(g>>>0<=250){d=0;if(e>>>0>l>>>0){break g}e=(k[f+1|0]|g<<8)-63124|0;break n}d=0;if(e>>>0>l>>>0){break g}e=64148-(k[f+1|0]|g<<8)|0}f=p(e,1e3);d=2147483647;if((f|0)>32767){break g}d=(f|0)<-32767?-2147483647:p(e,65536e3);break g;case 5:m=d+j[q+24>>2]|0;d=j[q+20>>2];e=g>>2;s=d>>>0>>0?d:e;h[m|0]=s;if(!s){break f}e=0;d=r;while(1){g=j[d+4>>2];m=e;f=j[d>>2];l=k[f|0];p:{if((l|0)==30){n=Jf(f,g,0,0)>>16;break p}q:{switch(l-28|0){case 0:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8;n=(f<<24|f<<8&16711680)>>16;break p;case 1:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break p;default:break q}}n=l-139|0;if(l>>>0<=246){break p}e=f+2|0;if(l>>>0<=250){n=0;if(e>>>0>g>>>0){break p}n=(k[f+1|0]|l<<8)-63124|0;break p}n=0;if(e>>>0>g>>>0){break p}n=64148-(k[f+1|0]|l<<8)|0}e=m+n|0;r:{s:{t:{u:{v:{f=k[q+12|0];switch(f-1|0){case 3:break t;case 1:break u;case 0:break v;default:break s}}h[o|0]=e;f=k[q+12|0];break r}i[o>>1]=e;f=2;break r}j[o>>2]=e;f=4;break r}j[o>>2]=e}d=d+4|0;o=f+o|0;s=s-1|0;if(s){continue}break}break f;default:break i}}t=qe[j[q+16>>2]](a)|0;m=7;if(t){break c}t=0;break f}d=g<<16}w:{switch(k[q+12|0]-1|0){case 0:h[o|0]=d;break f;case 1:i[o>>1]=d;break f;default:break w}}j[o>>2]=d}j[a+404>>2]=r}b=b+1|0;m=0}d=mP(m,30);if(!d){continue}break}if(d-1>>>0<3){break a}}u=t}return u}function MC(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;f=oe-112|0;oe=f;o=j[a+16>>2];a:{if(!_i(16)){ve(64538,0);a=0;break a}g=1;b:{while(1){if(!j[(g<<2)+264288>>2]){break b}g=g+1|0;if((g|0)!=16){continue}break}ve(64895,0);a=0;break a}Ge(262232,a,24);c:{if(j[a>>2]){break c}b=Mf(65091);if(b){b=rf(b);j[65558]=b;if(b){break c}}j[65558]=22050}if(!l[a+4>>1]){d=Mf(65111);d:{e:{if(!d){break e}if(!cf(d,65203)){b=8;break d}if(!cf(d,65206)){b=32776;break d}b=16;if(!cf(d,65209)){break d}if(!cf(d,65216)){break e}if(!cf(d,65223)){b=4112;break d}if(!cf(d,65230)){b=36880;break d}if(!cf(d,65237)){break d}if(!cf(d,65244)){break e}if(!cf(d,65251)){break d}b=32784;if(!cf(d,65255)){break d}b=32800;if(!cf(d,65259)){break d}if(!cf(d,65266)){b=36896;break d}if(!cf(d,65273)){break d}if(!cf(d,65280)){break d}b=33056;if(!cf(d,65284)){break d}if(!cf(d,65291)){b=37152;break d}if(!cf(d,65298)){break d}if(!cf(d,65305)){break d}}b=32784}i[131118]=b}f:{g:{h:{b=k[a+6|0];if(b>>>0>8){break h}i:{if(1<>1]){a=l[131120];break j}a=Mf(65185);if(a){a=rf(a);i[131120]=a;if(a&65535){break j}}d=p(j[65558]/1e3|0,46);b=1;while(1){a=b;b=a<<1;if((a|0)<(d|0)){continue}break}i[131120]=a}b=l[131118];h[262239]=((b|0)==8)<<7;j[65561]=p(k[262238],p(b>>>3&31,a&65535));e=Mf(64923);k:{if(j[66060]){l:{if(!e){break l}if(!cf(e,64840)){break l}ve(64592,0);a=0;break a}a=j[66072];if(!a|j[a+68>>2]){break k}break f}if(!e){e=0;b=0;break g}a=j[66068];b=0;m:{if(!a){break m}while(1){n:{if(!j[a>>2]){break n}if(cf(j[a+4>>2],e)){break n}b=j[a>>2];break m}a=j[a+16>>2];if(a){continue}break}b=0}break g}a=j[66073];if(j[a+68>>2]?0:a){break f}a=j[66074];if(j[a+68>>2]?0:a){break f}a=j[66075];if(j[a+68>>2]?0:a){break f}a=j[66076];if(j[a+68>>2]?0:a){break f}a=j[66077];if(j[a+68>>2]?0:a){break f}a=j[66078];if(j[a+68>>2]?0:a){break f}a=j[66079];if(j[a+68>>2]?0:a){break f}a=j[66080];if(j[a+68>>2]?0:a){break f}a=j[66081];if(j[a+68>>2]?0:a){break f}a=j[66082];if(j[a+68>>2]?0:a){break f}a=j[66083];if(j[a+68>>2]?0:a){break f}a=j[66084];if(j[a+68>>2]?0:a){break f}a=j[66085];if(j[a+68>>2]?0:a){break f}e=0;a=j[66086];if(j[a+68>>2]?0:a){break f}a=j[66087];if(!a){b=0;break g}b=0;if(!j[a+68>>2]){break f}break g}ve(65147,0);a=0;break a}if(!(b|(j[66062]|!e))){ve(64971,0);a=0;break a}c=Xe(1,104);if(!c){Be(0);a=0;break a}j[c>>2]=g+1;a=j[65559];j[c+4>>2]=j[65558];j[c+8>>2]=a;a=j[65561];j[c+12>>2]=j[65560];j[c+16>>2]=a;a=j[65563];j[c+20>>2]=j[65562];j[c+24>>2]=a;j[c+100>>2]=b;j[c+68>>2]=0;j[c+56>>2]=0;a=c- -64|0;a;j[a>>2]=1;j[c+60>>2]=1;o:{if(j[66058]){break o}a=Ki();j[c+80>>2]=a;if(a){break o}Af(c);ve(64987,0);a=0;break a}p:{if((qe[j[66042]](c,b,e,0)|0)<=-1){break p}a=j[c+4>>2];if((a|0)!=j[65558]){j[65558]=a}m=l[131118];d=1;q:{if((m|0)!=l[c+8>>1]){break q}d=0}e=k[262238];a=k[c+10|0];if((e|0)!=(a|0)){h[262238]=a;e=a}b=l[131120];a=l[c+12>>1];n=1;r:{if((b|0)!=(a|0)){break r}b=a;n=d}a=n;h[262239]=((m|0)==8)<<7;j[65561]=p(p(m>>>3&31,e),b);b=j[65563];j[c+44>>2]=j[65562];j[c+48>>2]=b;b=j[65561];j[c+36>>2]=j[65560];j[c+40>>2]=b;b=j[65559];j[c+28>>2]=j[65558];j[c+32>>2]=b;if(a){b=ll(l[131118],k[262238],j[65558],l[c+8>>1],k[c+10|0],j[c+4>>2]);j[c+52>>2]=b;if(!b){break p}}if(!j[c+20>>2]){b=Wo(8192,j[65561]<<1);j[c+92>>2]=b;if(!b){Af(c);ve(65014,0);a=0;break a}j[c+44>>2]=138;j[c+48>>2]=c}d=j[c+16>>2];a=a?j[c+40>>2]:0;a=a>>>0>>0?d:a;j[c+76>>2]=a;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+72>>2]=a;if(!a){Af(c);Be(0);a=0;break a}j[(g<<2)+264288>>2]=c;s:{if(j[66057]){break s}j[f+4>>2]=j[c>>2];j[f>>2]=80;Ue(f+16|0,64,65049,f);a=Wy(f+16|0,!o<<16,c);j[c+84>>2]=a;if(a){break s}Af(c);ve(65062,0);a=0;break a}a=j[c>>2];break a}Af(c);a=0;break a}ve(64945,0);a=0}oe=f+112|0;return a}function dA(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,i=0,l=0,o=0,p=0,r=0,s=0;i=oe-32|0;oe=i;f=j[a+436>>2];e=j[a+316>>2];l=0;a:{if(!e){break a}l=j[e+4>>2];l=(l|0)==372645892|(l|0)==370546692}e=j[f+336>>2];g=j[((e<<2)+f|0)+272>>2];o=Vg();h=j[f>>2];b:{c:{if((o|0)!=(h|0)){j[f+424>>2]=0;if((tg(j[a+188>>2],h)|0)<0){break c}}h=j[a+436>>2];if(j[h+4>>2]){while(1){if(qe[j[h+104>>2]]()|0){continue}break}}h=j[a+316>>2];j[f+364>>2]=h;if(!h){kn(j[a+188>>2],f+416|0,f+420|0)}qe[j[f+220>>2]](34962,g);e=(e<<2)+f|0;d:{if(m[e+304>>2]>>0){qe[j[f+224>>2]](34962,d,c,35040);j[e+304>>2]=d;break d}qe[j[f+228>>2]](34962,0,d,c)}h=0;d=j[f+336>>2]+1|0;j[f+336>>2]=d>>>0>7?0:d;if(b){p=f+340|0;r=f+384|0;while(1){e:{f:{g:{switch(j[b>>2]-1|0){case 2:j[f+408>>2]=k[(l?8:10)+b|0]|(k[b+9|0]<<8|k[(l?10:8)+b|0]<<16)|k[b+11|0]<<24;break e;case 0:d=b+8|0;if(!wf(p,d,16)){break e}Ge(p,d,16);j[f+356>>2]=1;break e;case 1:d=j[b+4>>2];if((d|0)!=j[f+376>>2]){j[f+372>>2]=1;j[f+376>>2]=d}d=b+8|0;if(!wf(r,d,16)){break e}Ge(r,d,16);j[f+380>>2]=1;break e;case 3:g=k[(l?8:10)+b|0];d=k[b+9|0];e=k[(l?10:8)+b|0];o=k[b+11|0];s=g|(d<<8|e<<16)|o<<24;if((s|0)!=j[f+412>>2]){qe[j[f+36>>2]](q(q(e>>>0)*q(.003921568859368563)),q(q(d>>>0)*q(.003921568859368563)),q(q(g>>>0)*q(.003921568859368563)),q(q(o>>>0)*q(.003921568859368563)));j[f+412>>2]=s}if(j[f+376>>2]){qe[j[f+64>>2]](3089);j[f+372>>2]=1}qe[j[f+32>>2]](16384);break e;case 4:if(Jj(f,b,1)){break e}qe[j[f+72>>2]](0,0,j[b+8>>2]);break e;case 5:d=j[b+4>>2];e=j[b+8>>2];if(Jj(f,b,1)){break e}if(e>>>0<=2){d=e-1|0;break f}g=c+d|0;d=e-1|0;if(n[g>>2]!=n[g+(d<<3)>>2]|n[g+4>>2]!=n[(g+(e<<3)|0)-4>>2]){break f}qe[j[f+72>>2]](2,0,d);break e;case 6:g=j[b+8>>2];if(Jj(f,b,1)){break e}e=0;d=0;if(!g){break e}while(1){qe[j[f+72>>2]](5,e,4);e=e+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break e;case 7:case 8:break g;default:break e}}g=j[b+20>>2];o=j[a+436>>2];h:{i:{j:{k:{l:{d=j[a+316>>2];if(d){e=2;d=j[d+4>>2];g=j[g+4>>2];if((d|0)==(g|0)){break i}m:{n:{o:{p:{q:{if((g|0)<=825382477){if((g|0)<=374740995){if((g|0)==370546692){break o}if((g|0)!=372645892){break q}if((d|0)!=374740996?(d|0)!=376840196:0){break i}e=3;break i}if((g|0)==374740996){break n}if((g|0)==376840196){break p}if((g|0)!=542328143){break q}e=9;break i}e=6;r:{switch(g-842094158|0){case 11:break i;case 0:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break q;default:break r}}if((g|0)==825382478){break l}if((g|0)==1448433993){break i}}d=ve(75893,0);break h}if((d|0)!=370546692?(d|0)!=372645892:0){break i}e=3;break i}if((d|0)==372645892){break j}if((d|0)!=376840196?(d|0)!=374740996:0){break i}e=3;break i}if((d|0)!=370546692){if((d|0)!=372645892){if((d|0)!=376840196){break i}break j}e=4;break i}e=3;break i}e=7;break i}s:{t:{u:{d=j[g+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}e=3;if((d|0)==372645892){break i}break k}if((d|0)==374740996){break j}if((d|0)==376840196){break u}if((d|0)!=542328143){break k}e=9;break i}v:{switch(d-842094158|0){default:if((d|0)==825382478){break l}if((d|0)!=1448433993){break k}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;case 0:break s;case 11:break v}}e=6;break i}e=2;break i}e=4;break i}e=7;break i}e=8;break i}d=ve(75893,0);break h}e=5}d=Jj(o,b,e)}if(d){break e}qe[j[f+72>>2]](5,0,4);break e}qe[j[f+72>>2]](3,0,e);qe[j[f+72>>2]](0,d,1)}b=j[b+24>>2];if(b){continue}break}}a=j[a+436>>2];if(!j[a+4>>2]){break b}e=qe[j[a+104>>2]]()|0;if(!e){break b}b=74205;while(1){b=k[b|0]?b:75958;c=76063;d=e-1280|0;if(d>>>0<=5){c=j[(d<<2)+76072>>2]}j[i+20>>2]=e;j[i+16>>2]=c;j[i+12>>2]=75533;j[i+8>>2]=1338;j[i+4>>2]=74206;j[i>>2]=b;ve(75966,i);e=qe[j[a+104>>2]]()|0;if(e){continue}break}}h=-1}oe=i+32|0;return h|0}function lr(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,l=0,m=0,n=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;g=oe-48|0;oe=g;Nh(a,g+32|0);f=j[g+40>>2];a:{if(!f){m=3;break a}l=j[g+32>>2];j[g+28>>2]=l;o=j[g+36>>2];b:{c:{d:{q=j[b+8>>2];if((q|0)==7){n=j[a+8>>2];j[a+8>>2]=o-1;s=1;e=j[a>>2];j[a>>2]=l+1;Nh(a,g);j[a+8>>2]=n;j[a>>2]=e;m=3;if(j[g+8>>2]==3){break d}q=7;break b}m=3;if((f|0)==3){break c}s=1;break b}if(!d){break a}j[g+28>>2]=l+1;o=o-1|0;q=8;t=1;break b}if(!d){break a}t=1;j[g+28>>2]=l+1;o=o-1|0;s=d}v=p(d,3);w=d<<1;x=d<<2;y=q-1|0;z=f-2|0;while(1){n=j[(t<<2)+c>>2];e=j[b+16>>2];Pf(g+28|0,o);n=e+n|0;m=3;e:{f:{g:{h:{i:{j:{k:{l:{switch(y|0){case 0:e=j[g+28>>2];f=e;m:{if(k[e|0]!=116|e+3>>>0>=o>>>0|(k[e+1|0]!=114|k[e+2|0]!=117)){break m}if(k[f+3|0]!=101){break m}m=1;j[g+28>>2]=e+5;break k}m=0;n:{if(k[e|0]!=102|e+4>>>0>=o>>>0|(k[e+1|0]!=97|k[e+2|0]!=108)){break n}if(k[f+3|0]!=115){break n}e=k[e+4|0]==101?e+6|0:e}j[g+28>>2]=e;break k;case 2:m=xh(g+28|0,o,0);break k;case 3:m=xh(g+28|0,o,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}l=j[g+28>>2];j[g>>2]=l;f=Rg(g,o,10);m=0;e=j[g>>2];if((l|0)==(e|0)){break k}if(!(k[e|0]!=35|e>>>0>=o>>>0)){l=e+1|0;j[g>>2]=l;f=Rg(g,o,f);e=j[g>>2];if((l|0)==(e|0)){break k}}j[g+28>>2]=e;m=f}o:{switch(k[b+20|0]-1|0){case 0:h[n|0]=m;break e;case 1:i[n>>1]=m;break e;default:break o}}j[n>>2]=m;break e}f=j[g+28>>2];if(f>>>0>=o>>>0){break e}e=o-f|0;l=j[a+16>>2];p:{q:{switch(z|0){case 2:j[g+28>>2]=f+1;e=e-1|0;break p;case 0:break q;default:break a}}j[g+28>>2]=f+1;e=e-2|0}f=j[n>>2];if(f){if(f){qe[j[l+8>>2]](l,f)}j[n>>2]=0}f=He(l,e+1|0,g+24|0);m=j[g+24>>2];if(m){break a}l=e;e=Ae(f,j[g+28>>2],e);h[l+e|0]=0;j[n>>2]=e;break e}e=j[g+28>>2];j[g+44>>2]=e;if(e>>>0>=o>>>0){break g}q=k[e|0];f=93;r:{s:{if((q|0)==91){break s}f=0;l=0;if((q|0)!=123){break r}f=125}e=e+1|0;j[g+44>>2]=e;l=1}m=0;if(e>>>0>=o>>>0){break g}while(1){t:{Pf(g+44|0,o);e=j[g+44>>2];if(o>>>0<=e>>>0){q=e;break t}if(k[e|0]==(f|0)){q=e+1|0;break t}if((m|0)==4){j[g+28>>2]=e;break f}B=(m<<2)+g|0,C=xh(g+44|0,o,0),j[B>>2]=C;q=j[g+44>>2];if((q|0)==(e|0)){break g}m=m+1|0;if(l&o>>>0>q>>>0){continue}}break}j[g+28>>2]=q;if((m|0)>3){break f}m=3;break a}q=j[a+16>>2];r=xe(q,4,0,x,0,g+24|0);m=j[g+24>>2];if(m){break a}f=0;while(1){e=j[g+28>>2];j[g>>2]=e;u:{if(e>>>0>=o>>>0){m=0;break u}n=k[e|0];u=93;v:{w:{if((n|0)==91){break w}if((n|0)!=123){u=0;l=1;break v}u=125}e=e+1|0;j[g>>2]=e;l=0}m=0;if(e>>>0>=o>>>0){break u}A=r+(p(d,f)<<2)|0;while(1){Pf(g,o);n=j[g>>2];if(n>>>0>=o>>>0){e=n;break u}if(k[n|0]==(u|0)){e=n+1|0;break u}if(!(!r|(d|0)>(m|0))){e=n;break u}B=r?(m<<2)+A|0:g+44|0,C=xh(g,o,0),j[B>>2]=C;e=j[g>>2];if((n|0)==(e|0)){m=-1;e=n;break u}m=m+1|0;if(l){break u}if(e>>>0>>0){continue}break}}j[g+28>>2]=e;if((m|0)<0){m=3;break a}if(d>>>0>m>>>0){m=3;break a}Pf(g+28|0,o);f=f+1|0;if((f|0)!=4){continue}break}m=0;if(d){while(1){f=m<<2;e=j[f+c>>2];n=e;l=j[f+r>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n>>2]=f;n=e;l=j[r+(d+m<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+4>>2]=f;l=j[r+(m+w<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+8>>2]=f;f=j[r+(m+v<<2)>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[e+12>>2]=n;m=m+1|0;if((m|0)!=(d|0)){continue}break}}if(r){qe[j[q+8>>2]](q,r)}break e}j[g+28>>2]=e;m=3;break a}e=n;l=j[g>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e>>2]=f;l=j[g+4>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+4>>2]=f;l=j[g+8>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+8>>2]=f;f=j[g+12>>2];e=f+32768&-65536;if((f|0)<0){e=0-(32768-f&-65536)|0}j[n+12>>2]=e}t=t+1|0;s=s-1|0;if(s){continue}break}m=0}oe=g+48|0;return m|0}function Dn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=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;a:{if(!b){break a}f=j[a+24>>2];e=j[a+20>>2];if((f|0)!=-1?(f|0)<(e|0):0){break a}l=j[a+104>>2];w=j[a+4>>2];s=j[w+28>>2];t=j[s+3656>>2];c=j[a+40>>2];j[a+36>>2]=c;u=j[b+28>>2];j[a+44>>2]=-1;j[a+40>>2]=u;d=j[a+68>>2];h=d;g=j[a+64>>2];b:{c:{if((g|0)==-1&(d|0)==-1){d=j[b+56>>2];g=j[b+60>>2];break c}d=g+1|0;h=d>>>0<1?h+1|0:h;k=d;d=j[b+56>>2];g=j[b+60>>2];if((k|0)==(d|0)&(g|0)==(h|0)){break b}}j[a+56>>2]=-1;j[a+60>>2]=-1;j[l+128>>2]=-1;j[l+132>>2]=-1;k=d;h=g}j[a+64>>2]=k;j[a+68>>2]=h;d:{if(!j[b>>2]){h=f;break d}i=j[(u<<2)+s>>2];m=j[s>>2];g=j[s+4>>2];e=j[b+88>>2];k=e;d=e+j[a+72>>2]|0;e=j[a+76>>2]+(e>>31)|0;j[a+72>>2]=d;j[a+76>>2]=d>>>0>>0?e+1|0:e;d=j[b+92>>2];k=d;e=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;j[a+80>>2]=e;j[a+84>>2]=e>>>0>>0?d+1|0:d;e=j[b+96>>2];k=e;d=e+j[a+88>>2]|0;e=j[a+92>>2]+(e>>31)|0;j[a+88>>2]=d;j[a+92>>2]=d>>>0>>0?e+1|0:e;e=j[b+100>>2];k=e;d=e+j[a+96>>2]|0;e=j[a+100>>2]+(e>>31)|0;j[a+96>>2]=d;j[a+100>>2]=d>>>0>>0?e+1|0:e;p=t+1|0;d=g>>p;e=j[a+48>>2];h=e?d:0;g=e?0:d;k=a;u=d;if(j[w+4>>2]>=1){x=i>>p;y=(d|0)/2|0;e=m>>p;f=(e|0)/2|0;z=y+f|0;A=(e|0)<1;C=0-f<<2;D=(e|0)/-2<<2;while(1){o=j[a+40>>2];e:{if(c){if(o){c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if((d|0)<1){break e}i=j[(j[l+8>>2]-t<<2)+28272>>2];o=(g<<2)+p|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+((c^-1)+d<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if(A){break e}i=j[(j[l+4>>2]-t<<2)+28272>>2];o=D+(((g<<2)+p|0)+(y<<2)|0)|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+(e+(c^-1)<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}i=j[(j[l+4>>2]-t<<2)+28272>>2];c=v<<2;p=j[c+j[a+8>>2]>>2];m=p+(g<<2)|0;f=j[c+j[b>>2]>>2];f:{if(o){o=((y<<2)+f|0)+C|0;c=0;if((e|0)<=0){break f}while(1){r=c<<2;B=r+m|0;n[B>>2]=q(n[B>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[o+r>>2]*n[i+r>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(A){break e}while(1){o=c<<2;r=o+m|0;n[r>>2]=q(n[r>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[f+o>>2]*n[i+o>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(z|0)){break e}while(1){i=c<<2;n[i+m>>2]=n[i+o>>2];c=c+1|0;if((z|0)!=(c|0)){continue}break}}if((x|0)>=1){f=(x<<2)+f|0;p=(h<<2)+p|0;c=0;while(1){i=c<<2;n[i+p>>2]=n[f+i>>2];c=c+1|0;if((x|0)!=(c|0)){continue}break}}v=v+1|0;if((v|0)>2]){c=j[a+36>>2];continue}break}f=j[a+24>>2];e=j[a+48>>2]}j[k+48>>2]=e?0:u;d=a;g:{if((f|0)==-1){j[a+24>>2]=h;e=h;break g}j[a+24>>2]=g;h=g;e=g+((j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)>>t)|0}j[d+20>>2]=e}d=l;u=d;c=0;g=j[d+128>>2];l=j[d+132>>2];f=0;h:{if((g|0)==-1&(l|0)==-1){break h}k=g;c=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=c;f=k+c|0;c=(c>>31)+l|0;c=f>>>0>>0?c+1|0:c}j[u+128>>2]=f;l=c;j[d+132>>2]=c;c=j[a+60>>2];d=c;g=j[a+56>>2];i:{if((g|0)==-1&(c|0)==-1){c=j[b+48>>2];d=j[b+52>>2];if((c|0)==-1&(d|0)==-1){break i}j[a+56>>2]=c;j[a+60>>2]=d;if((d|0)>(l|0)?1:(d|0)>=(l|0)?c>>>0>=f>>>0:0){break i}c=f-c|0;c=(c|0)>0?c:0;if(j[b+44>>2]){h=e-h<>2]=e-(((c|0)>(h|0)?h:c)>>t);break i}h=(c>>>t|0)+h|0;j[a+24>>2]=(e|0)<(h|0)?e:h;break i}k=g;l=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=l;f=k+g|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;j[a+56>>2]=f;j[a+60>>2]=d;c=j[b+48>>2];g=j[b+52>>2];if((c|0)==-1&(g|0)==-1|(c|0)==(f|0)&(d|0)==(g|0)){break i}j:{if((d|0)<(g|0)?1:(d|0)<=(g|0)?c>>>0>=f>>>0:0){break j}f=f-c|0;if(!f|!j[b+44>>2]){break j}h=e-h<(h|0)?h:f;j[a+20>>2]=e-(((h|0)>0?h:0)>>>t|0)}j[a+56>>2]=c;j[a+60>>2]=g}if(!j[b+44>>2]){break a}j[a+32>>2]=1}}function cB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=q(0),s=0,t=0;a=oe+ -64|0;oe=a;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(j[b>>2]-1536|0){case 6:c=j[67069];if(!c){break a}b=j[b+8>>2];break g;case 2:c=j[67069];if(!c){break a}d=j[b+8>>2];break i;case 0:c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){m=k[b+12|0];f=j[j[c+20>>2]+(m<<2)>>2];e=i[b+16>>1];o=j[c+12>>2];k:{if((o|0)>=1){g=j[c+16>>2];b=0;while(1){l=b<<5;d=l+g|0;l:{if(j[d>>2]!=2){break l}l=g+l|0;if((m|0)!=j[l+4>>2]){break l}n=j[l+8>>2];l=j[l+12>>2];if((n|0)<(l|0)){if((e|0)<(n|0)|(e|0)>(l|0)){break l}break k}if((e|0)>(n|0)){break l}if((e|0)>=(l|0)){break k}}b=b+1|0;if((o|0)!=(b|0)){continue}break}}d=0}if(!f){break e}m:{g=j[f+16>>2];n:{if(!(!d|(g|0)!=j[d+16>>2])){l=j[d+20>>2];b=j[f+20>>2];if((g|0)!=2){break m}if((b|0)!=(l|0)){break n}break c}b=j[f+20>>2];if((g|0)!=2){break f}}if((We(1616,-1)|0)!=1){break e}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0);break e}if((b|0)!=(l|0)){break f}break d}c=j[c+32>>2];if(c){continue}break}break a;case 3:case 4:break j;case 5:break h;default:break a}}c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){f=j[c+12>>2];if((f|0)<1){break a}d=k[b+13|0];g=k[b+12|0];e=j[c+16>>2];b=0;while(1){m=e+(b<<5)|0;if(!(j[m>>2]!=1|(g|0)!=j[m+4>>2])){b=e+(b<<5)|0;if(j[b+16>>2]==2){d=j[(d?b+28|0:b+24|0)>>2];b=j[b+20>>2];if((We(1616,-1)|0)!=1){break a}j[a+8>>2]=1616;c=j[j[c>>2]>>2];i[a+24>>1]=d;h[a+20|0]=b;j[a+16>>2]=c;gf(a+8|0);break a}vo(c,j[b+20>>2],d);break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}c=j[c+32>>2];if(c){continue}break}break a}while(1){if((d|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}f=k[b+13|0];g=k[b+12|0];if(j[c+12>>2]>=1){l=f^k[g+j[c+24>>2]|0];b=0;while(1){e=j[c+16>>2]+(b<<5)|0;o:{if(j[e>>2]!=3|(g|0)!=j[e+4>>2]){break o}n=j[e+8>>2];if(!(n&l)){break o}d=j[e+20>>2];m=j[e+16>>2];if(f&n){if((m|0)==2){e=j[e+28>>2];if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;m=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=d;j[a+16>>2]=m;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1617;if((d|0)==5){s=c,t=sg(),j[s+28>>2]=t;if(j[j[c>>2]+68>>2]){break o}}if((We(1617,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=1;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((m|0)==2){if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;e=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1618;if((d|0)==5){m=sg();e=j[c>>2];if(!(j[e+72>>2]|((j[c+28>>2]-m|0)+250|0)<1)){j[e+68>>2]=1;break o}j[e+68>>2]=0}if((We(1618,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0)}b=b+1|0;if((b|0)>2]){continue}break}}h[g+j[c+24>>2]|0]=f;break a}if(!wo(j[b+8>>2])){break a}j[a+8>>2]=1619;j[a+16>>2]=j[b+8>>2];gf(a+8|0);break a}while(1){if((b|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}j[a+16>>2]=b;j[a+8>>2]=1620;gf(a+8|0);aB();break a}if((b|0)==-1){break e}j[a+8>>2]=1618;if((b|0)==5){g=sg();f=j[c>>2];if(!(j[f+72>>2]|((j[c+28>>2]-g|0)+250|0)<1)){j[f+68>>2]=1;break e}j[f+68>>2]=0}if((We(1618,-1)|0)!=1){break e}f=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}if(!d){break b}if(j[d+16>>2]==2){break c}b=j[d+20>>2]}l=b;f=j[d+12>>2];b=j[d+8>>2];g=((f-b|0)/2|0)+b|0;vo(c,l,(b|0)>(f|0)?(g|0)>=(e|0):(e|0)>=(g|0));break b}b=j[d+8>>2];f=j[d+24>>2];g=j[d+28>>2];l=j[d+12>>2];if(!((g|0)==(l|0)?(b|0)==(f|0):0)){p=q(q(q(e-b|0)/q(l-b|0))*q(g-f|0));p:{if(q(r(p))>2];if((We(1616,-1)|0)!=1){break b}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}j[j[c+20>>2]+(m<<2)>>2]=d}oe=a- -64|0;return 1}function zx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;n=j[a+36>>2];c=j[a+20>>2];o=j[a+16>>2];b=j[a>>2];m=j[a+28>>2];f=j[a+24>>2];i=j[a+40>>2];e=k[i+9|0];a:{l=j[a+44>>2];if(!j[l+24>>2]){if(!m){break a}d=k[l+9|0];l=f&7;i=(f+7|0)/8|0;b:while(1){f=i;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=m-1|0;g=k[b+2|0];p=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=p;h[c|0]=g;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+n|0;b=b+o|0;m=a;if(a){continue b}break a}a=0;continue}}}if(j[i+24>>2]){if(!m){break a}g=f&7;i=(f+7|0)/8|0;g:while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(g-1|0){case 0:e=k[l+35|0];f=i;break i;case 1:d=k[l+35|0];e=d;f=i;break j;case 2:d=k[l+35|0];e=d;f=i;break k;case 3:d=k[l+35|0];e=d;f=i;break l;case 4:d=k[l+35|0];e=d;f=i;break m;case 5:d=k[l+35|0];e=d;f=i;break n;case 6:d=k[l+35|0];e=d;f=i;break o;default:break p}}e=k[l+35|0];f=i;a=0;break h}a=1;break h}a=2;break h}a=3;break h}a=4;break h}a=5;break h}a=6;break h}a=7}while(1){q:{switch(a|0){case 0:d=e;j[c>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<1){f=f-1|0;break r}c=c+n|0;b=b+o|0;m=a;if(a){continue g}break a}a=0;continue}}}if(!m){break a}d=k[a+63|0]<>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=7;continue;default:break v}}a=m-1|0;j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;w:{if((f|0)>1){f=f-1|0;break w}c=c+n|0;b=b+o|0;m=a;if(a){continue s}break a}a=0;continue}}}}function kl(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=q(0),o=0,r=0;a:{if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((c|0)<=33055){m:{switch(c-32776|0){case 8:break j;case 0:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;case 24:break g;default:break m}}switch(c-8|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break h;default:break d}}n:{switch(c-36880|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;case 16:break f;case 0:break i;default:break n}}if((c|0)==33056){break e}if((c|0)!=37152){break c}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){l=3.4028234663852886e+38;d=d-1|0;c=j[a>>2];i=+(qP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),tP());c=j[b>>2];i=i+ +q(q(m*(qP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),tP()))*q(.0078125));o:{if(i>3.4028234663852886e+38){break o}l=i;if(i<-3.4028234663852886e+38^1){break o}l=-3.4028234663852886e+38}b=b+4|0;c=(uP(q(l)),pP(2));j[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=h[a|0]+((p(h[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>-128?c:-128;h[a|0]=(c|0)<127?c:127;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){h[a|0]=k[(k[a|0]+((p(k[b|0]-128|0,e)|0)/128&255^128)|0)+65936|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((k[a|0]|k[a+1|0]<<8)<<16>>16)+((p((k[b|0]|k[b+1|0]<<8)<<16>>16,e)|0)/128<<16>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=k[b|0]|k[b+1|0]<<8;f=(p((c<<24|c<<8&16711680)>>16,e)|0)/128<<16>>16;c=k[a|0]|k[a+1|0]<<8;c=f+((c<<24|c<<8&16711680)>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b|0]|k[b+1|0]<<8,e)|0)/128&65535)+(k[a|0]|k[a+1|0]<<8)|0;c=c>>>0<65535?c:65535;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];g=j[b>>2];f=iP(hP(g,g>>31,c,o),pe,128);g=e+f|0;e=pe+(e>>31)|0;e=g>>>0>>0?e+1|0:e;f=g;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;j[a>>2]=e?f:2147483647;a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=j[b>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);r=iP(hP(e,e>>31,c,o),pe,128);g=f+r|0;e=pe+(f>>31)|0;f=g;e=f>>>0>>0?e+1|0:e;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;e=e?f:2147483647;j[a>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){d=d-1|0;l=3.4028234663852886e+38;i=+n[a>>2]+ +q(q(n[b>>2]*m)*q(.0078125));p:{if(i>3.4028234663852886e+38){break p}l=i;if(i<-3.4028234663852886e+38^1){break p}l=-3.4028234663852886e+38}b=b+4|0;n[a>>2]=l;a=a+4|0;if(d){continue}break}break a}if((c|0)==4112){break b}}ve(66448,0);break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b+1|0]|k[b|0]<<8,e)|0)/128&65535)+(k[a+1|0]|k[a|0]<<8)|0;c=c>>>0<65535?c:65535;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}}}function Ji(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=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;r=oe-16|0;oe=r;j[r+12>>2]=0;j[a+1524>>2]=0;j[a+1512>>2]=0;j[a+56>>2]=0;j[a+44>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;d=j[a>>2];n=j[a+16>>2];s=j[a+8>>2];u=j[a+12>>2];o=j[a+4>>2];f=i[b>>1];a:{b:{if(f>>>0<=8){if(j[a+40>>2]){break b}j[a+32>>2]=8;j[a+40>>2]=a+3e3;break b}c=j[a+32>>2];if(c>>>0>=f>>>0){break b}g=a;m=d;e=c;f=f+3&-4;q=f;c=j[a+40>>2];if((c|0)==(a+3e3|0)){j[a+40>>2]=0;c=0}A=g,B=xe(m,4,e,q,c,r+12|0),j[A+40>>2]=B;if(j[r+12>>2]){break a}j[a+32>>2]=f}c=i[b+2>>1];g=c+2|0;c:{if(g>>>0<=96){if(j[a+28>>2]){break c}j[a+20>>2]=96;j[a+28>>2]=a+3032;break c}e=g;g=j[a+20>>2];if(e>>>0<=g>>>0){break c}m=a;e=c+11&-8;f=e;c=j[a+28>>2];if((c|0)==(a+3032|0)){j[a+28>>2]=0;c=0}A=m,B=xe(d,40,g,f,c,r+12|0),j[A+28>>2]=B;if(j[r+12>>2]){break a}j[a+20>>2]=e;c=i[b+2>>1]}j[a+24>>2]=c;c=i[b>>1];j[a+1536>>2]=-1;j[a+68>>2]=2;j[a+36>>2]=c;if((wO(b)|0)==1){j[a+1536>>2]=1;j[a+68>>2]=-2}j[a+12>>2]=u;j[a+4>>2]=o;j[a+2992>>2]=0;j[a+2996>>2]=0;j[a+16>>2]=n;j[a+8>>2]=s;v=j[a+24>>2];if(!v){break a}g=j[a+28>>2];w=g+p(v,40)|0;d=j[b+12>>2];if((v|0)>=1){f=j[b+4>>2];m=j[b+8>>2];c=g;q=c+p(i[d>>1],40)|0;d=q;while(1){i[c+2>>1]=1028;e=j[f>>2];i[c+12>>1]=e;i[c+14>>1]=j[f+4>>2];e=ye(e,o)+s|0;j[c+4>>2]=e;j[c+16>>2]=e;e=ye(j[f+4>>2],u)+n|0;j[c+8>>2]=e;j[c+20>>2]=e;e=k[m|0];j[c+36>>2]=d;e=e&3;i[c>>1]=e?((e|0)==2)<<1:1;j[d+32>>2]=c;d:{if((c|0)!=(q|0)){d=c;break d}t=t+1|0;if((t|0)>=i[b>>1]){d=c;q=c;break d}d=p(i[j[b+12>>2]+(t<<1)>>1],40)+g|0;q=d}m=m+1|0;f=f+8|0;c=c+40|0;if(w>>>0>c>>>0){continue}break}d=j[b+12>>2]}b=j[a+36>>2];m=b<<2;o=j[a+40>>2];if((b|0)>=1){e=m+o|0;c=0;while(1){j[o>>2]=p(c<<16>>16,40)+g;c=l[d>>1]+1|0;d=d+2|0;o=o+4|0;if(e>>>0>o>>>0){continue}break}o=j[a+40>>2]}if((b|0)>0){y=m+o|0;x=p(l[j[j[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;z=(x<<1)-1|0;while(1){e=j[o>>2];c=e;while(1){e:{m=c;a=i[c+12>>1];c=j[c+36>>2];if((e|0)==(c|0)){q=l[m+14>>1];break e}q=i[m+14>>1];n=q-i[c+14>>1]|0;b=n>>31;f=a-i[c+12>>1]|0;d=f>>31;if(((b^b+n)+(d^d+f)|0)<(z|0)){continue}}break}j[m+24>>2]=0;j[m+28>>2]=0;c=0;d=m;s=d;f=0;while(1){e=a<<16;a=q<<16;d=j[d+32>>2];q=i[d+14>>1];f=(q-(a>>16)|0)+f|0;b=f>>31;a=i[d+12>>1];c=(a-(e>>16)|0)+c|0;n=c>>31;e=b^b+f;n=n^c+n;f:{if(e+n>>>0>>0){i[d>>1]=l[d>>1]|16;break f}u=0-c|0;b=(d-s|0)/40|0;j[s+24>>2]=b;j[d+28>>2]=0-b;g:{if((c|0)<=(f|0)){t=2;c=f;b=n;if((u|0)<=(c|0)){break g}t=255;c=u;b=e;break g}t=1;b=e;if((f|0)>=(u|0)){break g}c=0-f|0;t=254;b=n}b=(p(b,14)|0)<(c|0)?t:4;h[s+3|0]=b;c=j[s+32>>2];if((d|0)!=(c|0)){while(1){h[c+3|0]=b;h[c+2|0]=b;c=j[c+32>>2];if((d|0)!=(c|0)){continue}break}}h[d+2|0]=b;b=(m-d|0)/40|0;j[d+24>>2]=b;c=0;j[m+28>>2]=0-b;s=d;f=0}if((d|0)!=(m|0)){continue}break}o=o+4|0;if(y>>>0>o>>>0){continue}break}}if((v|0)<=0){break a}c=g;while(1){d=l[c>>1];h:{if(d&16|k[c+2|0]!=4|k[c+3|0]!=4){break h}m=j[c+24>>2];a=p(m,40)+c|0;b=i[c+12>>1];f=i[a+12>>1]-b|0;q=b;e=j[c+28>>2];b=p(e,40)+c|0;if((f^q-i[b+12>>1])<0){break h}n=i[c+14>>1];if((n-i[b+14>>1]^i[a+14>>1]-n)<0){break h}i[c>>1]=d|16;d=b;b=(p(m-e|0,40)|0)/40|0;j[d+24>>2]=b;j[a+28>>2]=0-b}c=c+40|0;if(w>>>0>c>>>0){continue}break}if((v|0)<=0){break a}while(1){c=l[g>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=k[g+3|0];b=k[g+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=i[g+12>>1];d=j[g+28>>2];a=p(d,40)+g|0;m=i[g+14>>1];e=j[g+24>>2];b=p(e,40)+g|0;if(!_m(c-i[a+12>>1]|0,m-i[a+14>>1]|0,i[b+12>>1]-c|0,i[b+14>>1]-m|0)){break i}c=a;a=(p(e-d|0,40)|0)/40|0;j[c+24>>2]=a;j[b+28>>2]=0-a;c=l[g>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}i[g>>1]=c|16}g=g+40|0;if(w>>>0>g>>>0){continue}break}}oe=r+16|0;return j[r+12>>2]}function Dz(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;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:l=j[b+12>>2];if(!l){break a}h=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];n=b&3;c=(b+3|0)/4|0;i=g-b<<2;c:while(1){g=c;d:{e:{switch(n-1|0){default:b=0;break d;case 0:b=3;break d;case 1:b=2;break d;case 2:break e}}b=1}while(1){f:{switch(b|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=3;continue;default:break f}}b=l-1|0;m=j[a>>2];j[a>>2]=((p(h,m>>>8&255)>>>0)/255|0)+e<<8|((p(h,m&255)>>>0)/255|0)+f|((p(h,m>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;g:{if((g|0)>1){g=g-1|0;break g}a=a+i|0;l=b;if(b){continue c}break a}b=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<8|d<<16|f;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;l=f-d<<2;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:j[a>>2]=e;a=a+4|0;d=1;continue;case 1:j[a>>2]=e;a=a+4|0;d=2;continue;case 2:j[a>>2]=e;a=a+4|0;d=3;continue;default:break k}}d=c-1|0;j[a>>2]=e;a=a+4|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+l|0;c=d;if(c){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;l=(b+3|0)/4|0;n=c-b<<2;m:while(1){b=l;n:{o:{switch(m-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=3;continue;default:break p}}c=g-1|0;h=j[a>>2];j[a>>2]=(p(h>>>8&255,e)>>>0)/255<<8|(p(h&255,f)>>>0)/255|(p(h>>>16&255,d)>>>0)/255<<16;a=a+4|0;q:{if((b|0)>1){b=b-1|0;break q}a=a+n|0;g=c;if(c){continue m}break a}c=0;continue}};case 1:break b}}l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;g=(b+3|0)/4|0;n=c-b<<2;r:while(1){b=g;s:{t:{switch(m-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=3;continue;default:break u}}c=l-1|0;h=j[a>>2];i=(h>>>8&255)+e|0;o=(i>>>0<255?i:255)<<8;i=(h&255)+f|0;h=(h>>>16&255)+d|0;j[a>>2]=o|(i>>>0<255?i:255)|(h>>>0<255?h:255)<<16;a=a+4|0;v:{if((b|0)>1){b=b-1|0;break v}a=a+n|0;l=c;if(c){continue r}break a}c=0;continue}}}return 0}function Yx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-32|0;oe=o;c=Xe(1,72);a:{if(!c){c=0;Be(0);break a}j[c+32>>2]=128;j[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=_g(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}e=j[c>>2];_g(e);_g(e);a=_g(e);l:{d=_g(e);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){ve(3429,0);break b}a=qe[j[57972]](d?d:1)|0;if(a){j[57976]=j[57976]+1}if(!a){ve(3457,0);break b}g=j[c>>2];if(!(qe[j[g+8>>2]](g,a,d,1)|0)){j[o>>2]=d;ve(3471,o);break b}if(l[a>>1]!=1){q=3508;break c}j[c+8>>2]=j[a+4>>2];u=1;q=3533;s=1;o:{p:{d=l[a+14>>1];switch(d-8|0){case 0:break o;case 8:break p;default:break c}}s=2;d=32784}i[c+12>>1]=d;d=l[a+2>>1];i[c+16>>1]=4096;h[c+14|0]=d;j[c+20>>2]=p(d&255,s)<<12;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break m}a=j[c>>2];n=qe[j[a+4>>2]](a,0,0,1)|0;j[c+40>>2]=n;a=pe;j[c+44>>2]=a;n=d+n|0;j[c+48>>2]=n;j[c+52>>2]=d>>>0>n>>>0?a+1|0:a;v=1;a=j[c>>2];qe[j[a+4>>2]](a,d,0,1)|0;break m}g=qe[j[57972]](d?d:1)|0;if(g){j[57976]=j[57976]+1}if(!g){ve(3457,0);break b}a=j[c>>2];if(!(qe[j[a+8>>2]](a,g,d,1)|0)){break f}if(j[g+28>>2]){q=g+36|0;a=0;while(1){d=q+p(a,24)|0;q:{if(j[d+4>>2]){break q}s=j[d+12>>2];r=j[d+8>>2];n=j[d+20>>2];f=mf(j[c+68>>2],p(j[c+64>>2],20)+20|0);if(!f){ve(3457,0);break q}t=j[c+64>>2];d=f+p(t,20)|0;j[d+16>>2]=n;j[d+12>>2]=n;j[d+8>>2]=s;j[d+4>>2]=r;j[c+64>>2]=t+1;j[c+68>>2]=f}a=a+1|0;if(a>>>0>2]){continue}break}}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break m}qe[j[e+4>>2]](e,d,0,1)|0}a=_g(e);d=_g(e);if(d){continue}break}if(u){break l}}ve(3372,0);break b}if(v){break g}ve(3400,0);break b}f=j[c>>2];Wi(f);if((_g(f)|0)!=1179011393){break d}w=c+8|0;r:{while(1){s:{e=_g(f);a=Wi(f);x=qe[j[f+4>>2]](f,0,0,1)|0;g=pe;if(!a){break s}t:{if((e|0)!=1296912195){if((e|0)!=1145983827){break t}e=Wi(f);Wi(f);t=(qe[j[f+4>>2]](f,0,0,1)|0)+e|0;r=pe;j[c+40>>2]=t;j[c+44>>2]=e>>>0>t>>>0?r+1|0:r;n=1;break t}q=1;u=yo(f);v=Wi(f);s=yo(f);qe[j[f+8>>2]](f,o+22|0,10,1)|0;d=0;e=h[o+22|0];if((e|0)<0){break t}if((e&255)>>>0<64){d=1;break t}d=67108864;if((e|0)!=64){break t}d=8e8;e=k[o+23|0];if(e>>>0>28){break t}d=(k[o+25|0]<<15|k[o+24|0]<<23|k[o+26|0]<<7|k[o+27|0]>>>1)>>>29-e|0}if(n?q:0){break r}e=a;r=a+x|0;a=g;if((qe[j[f+4>>2]](f,r,e>>>0>r>>>0?a+1|0:a,0)|0)!=-1|(pe|0)!=-1){continue}}break}if(!n){ve(3591,0);break b}if(q){break r}ve(3621,0);break b}g=j[c+44>>2];n=s&65535;f=p(p(u&65535,v),n>>>3|0);e=f+j[c+40>>2]|0;j[c+48>>2]=e;j[c+52>>2]=e>>>0>>0?g+1|0:g;Oe(w,0,24);j[c+8>>2]=d;a=32776;u:{switch(n-8|0){case 8:break i;case 0:break h;default:break u}}ve(3651,0);break b}ve(3352,0);break b}a=36880}i[c+16>>1]=4096;h[c+14|0]=u;i[c+12>>1]=a}a=j[c+20>>2];a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+56>>2]=a;if(a){break e}a=j[c+68>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}a=j[c+60>>2];if(a){Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[o+16>>2]=d;ve(3471,o+16|0);break b}a=ll(l[c+12>>1],k[c+14|0],j[c+8>>2],l[131082],k[262166],j[65540]);j[c+60>>2]=a;if(!a){a=j[c+68>>2];v:{if(!a){break v}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[c+60>>2];if(!a){break v}Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[c+4>>2]=b;break a}ve(3557,0);break b}ve(q,0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0}oe=o+32|0;return c|0}function Bg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;c=1;sP(+b);e=pP(1)|0;d=pP(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}sP(+a);j=pP(1)|0;t=pP(0)|0;p=j;if((j|0)==1072693248?!t:0){break c}d:{j=p&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(t|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((p|0)>-1){break h}q=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;q=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(p|0)<0){break e}return y(a)}c=r(a);if(!((j?(p&1073741823)!=1072693248:0)|t)){c=(g|0)<0?1/c:c;if((p|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((p|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?B:0}return(g|0)>0?B:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;sP(+(c+k));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;sP(+a);e=pP(1)|0;pP(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;s=o[g+226800>>3];sP(+c);pP(1)|0;qP(0,pP(0)|0);qP(1,e|0);k=+rP();i=o[g+226768>>3];n=k-i;u=1/(i+k);c=n*u;sP(+c);d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();w=a;v=a*a;x=n;qP(0,0);qP(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+rP();k=u*(x-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);sP(+(v+3+i));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();n=w*a;c=k*a+c*(i-(a+ -3-v));sP(+(n+c));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a*.9617967009544373;k=o[g+226784>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);sP(+(s+(i+k)+c));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a-c-s-i}qP(0,0);qP(1,l|0);s=+rP();c=a*s;a=(k-i)*b+(b-s)*a;b=c+a;sP(+b);f=pP(1)|0;d=pP(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;qP(0,0);qP(1,e&-1048576>>l-1023);c=c- +rP();sP(+(a+c));d=pP(1)|0;pP(0)|0}qP(0,0);qP(1,d|0);b=+rP();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;sP(+a);d=pP(1)|0;e=pP(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=Kg(a,f);break n}qP(0,e|0);qP(1,d|0);a=+rP()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function EJ(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=0,u=q(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=q(0),V=q(0),W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;m=oe;W=m;s=j[c+4>>2];x=16;a:{if(!j[s+500>>2]){break a}x=j[s+508>>2]}H=j[c>>2];k=2;a=a<<2;J=j[(a+(p(j[s>>2],60)+b|0)|0)+132>>2];a=a+b|0;y=j[a+252>>2];l=j[a+312>>2];L=i<<2;a=L+15&-16;z=m-a|0;b=z;oe=b;A=b-a|0;b=A;oe=b;C=b-a|0;b=C;oe=b;B=b-a|0;b=B;oe=b;M=b-a|0;oe=M;N=p(x,L);a=N+15&-16;b=M-a|0;oe=b;j[z>>2]=b;D=b-a|0;s=D;oe=s;j[A>>2]=s;s=s-a|0;oe=s;j[C>>2]=s;m=s-a|0;oe=m;j[B>>2]=m;b:{if((i|0)<2){break b}a=x<<2;j[z+4>>2]=a+b;j[A+4>>2]=a+D;j[C+4>>2]=a+s;j[B+4>>2]=a+m;if((i|0)==2){break b}while(1){s=j[B>>2];m=j[C>>2];D=j[A>>2];a=k<<2;b=p(k,x)<<2;j[a+z>>2]=b+j[z>>2];j[a+A>>2]=b+D;j[a+C>>2]=b+m;j[a+B>>2]=b+s;k=k+1|0;if((k|0)!=(i|0)){continue}break}}c:{if((H|0)<=0){a=j[d+1156>>2];break c}X=o[(l<<3)+((H|0)>1e3?4272:4192)>>3];Y=o[(y<<3)+4192>>3];Z=j[B>>2];_=(i|0)<1;s=H;m=0;while(1){D=Ae(M,g,L);Ee(Z,0,N);a=H-m|0;y=(a|0)<(x|0)?a:x;K=(s|0)>(x|0)?x:s;if(!_){G=J-m|0;l=0;while(1){v=m<<2;a=l<<2;E=v+j[a+f>>2]|0;d:{e:{f:{if(j[a+D>>2]){k=0;b=j[a+C>>2];g:{if((y|0)<=0){break g}while(1){t=k<<2;n[t+b>>2]=n[(j[t+E>>2]<<2)+4352>>2];k=k+1|0;if((K|0)!=(k|0)){continue}break}if((y|0)<1){break g}t=a+e|0;w=v+j[t>>2]|0;F=j[a+B>>2];k=0;while(1){v=k<<2;j[v+F>>2]=q((k|0)<(G|0)?Y:X)>q(q(r(n[v+w>>2]))/n[b+v>>2])^1;k=k+1|0;if((y|0)!=(k|0)){continue}break}if((y|0)>0){break f}}v=j[a+A>>2];a=j[a+z>>2];break e}if((y|0)<1){break d}k=j[a+B>>2];v=j[a+A>>2];t=j[a+z>>2];w=j[a+C>>2];b=0;while(1){a=b<<2;j[a+w>>2]=786163455;j[a+t>>2]=0;j[a+v>>2]=0;j[a+k>>2]=0;j[a+E>>2]=0;b=b+1|0;if((K|0)!=(b|0)){continue}break}break d}v=j[a+A>>2];a=j[a+z>>2];F=j[t>>2];k=0;while(1){t=k<<2;w=t+a|0;I=F+(k+m<<2)|0;u=n[I>>2];u=q(u*u);n[w>>2]=u;n[v+t>>2]=u;if(!(n[I>>2]>2]=-n[w>>2]}t=b+t|0;u=n[t>>2];n[t>>2]=u*u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Eq(c,J,a,v,b,0,m,y,E)}l=l+1|0;if((l|0)!=(i|0)){continue}break}}a=j[d+1156>>2];if((a|0)>=1){$=J-m|0;aa=h-m|0;F=0;while(1){k=(F<<2)+d|0;b=j[k+2184>>2]<<2;l=j[b+f>>2];k=j[k+1160>>2]<<2;w=j[k+f>>2];I=j[b+B>>2];O=j[k+B>>2];ba=j[b+C>>2];P=j[k+C>>2];Q=j[b+A>>2];E=j[k+A>>2];v=j[b+z>>2];t=j[k+z>>2];k=k+D|0;if(!(j[b+D>>2]?0:!j[k>>2])){a=m<<2;R=a+w|0;j[b+D>>2]=1;j[k>>2]=1;if((y|0)>=1){S=a+l|0;k=0;while(1){h:{if((k|0)>=(aa|0)){break h}i:{a=k<<2;b=a+O|0;if(!j[b>>2]){l=a+I|0;if(!j[l>>2]){break i}}l=a+t|0;n[l>>2]=q(r(n[l>>2]))+q(r(n[a+v>>2]));l=a+E|0;n[l>>2]=n[l>>2]+n[a+Q>>2];j[a+I>>2]=1;j[b>>2]=1;w=a+R|0;l=j[w>>2];T=l>>31;G=a+S|0;b=j[G>>2];a=b>>31;j:{if((T^l+T)>(a^a+b)){a=(l|0)>0?l-b|0:b-l|0;j[G>>2]=a;b=j[w>>2];l=0-b|0;break j}j[G>>2]=(b|0)>0?l-b|0:b-l|0;j[w>>2]=b;a=j[G>>2];l=0-b|0}if(((b|0)<0?l:b)<<1>(a|0)){break h}j[G>>2]=0-a;j[w>>2]=0-j[w>>2];break h}k:{if((k|0)<($|0)){b=a+t|0;u=q(n[a+v>>2]+n[b>>2]);n[b>>2]=u;n[a+E>>2]=r(u);break k}b=a+t|0;U=n[b>>2];V=n[a+v>>2];u=q(q(r(U))+q(r(V)));n[a+E>>2]=u;if(!(q(U+V)>2]=-u;break k}n[b>>2]=u}j[a+Q>>2]=0;j[a+v>>2]=0;j[l>>2]=1;j[a+S>>2]=0}a=k<<2;b=a+ba|0;a=a+P|0;u=q(n[a>>2]+n[b>>2]);n[b>>2]=u;n[a>>2]=u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Eq(c,J,t,E,P,O,m,y,R);a=j[d+1156>>2]}F=F+1|0;if((F|0)<(a|0)){continue}break}}s=s-x|0;m=m+x|0;if((H|0)>(m|0)){continue}break}}k=0;if((a|0)>0){while(1){b=(k<<2)+d|0;c=(j[b+1160>>2]<<2)+g|0;if(!(j[(j[b+2184>>2]<<2)+g>>2]?0:!j[c>>2])){j[c>>2]=1;j[(j[b+2184>>2]<<2)+g>>2]=1;a=j[d+1156>>2]}k=k+1|0;if((k|0)<(a|0)){continue}break}}oe=W}function Ur(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;d=oe-32|0;oe=d;a:{b:{switch(j[a+44>>2]){case 1:j[a>>2]=b;j[a+4>>2]=b+11796480;e=Tr(a,0);break a;case 2:g=j[a+60>>2];of(d+8|0,g,b+5898240|0);of(d+16|0,g,b);f=j[d+16>>2]+(j[d+8>>2]+j[a+8>>2]|0)|0;j[d+16>>2]=f;e=j[d+20>>2]+(j[d+12>>2]+j[a+12>>2]|0)|0;j[d+20>>2]=e;c:{d:{e:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break e}c=j[a+64>>2];f:{if(!c){break f}i=j[a+72>>2]+(c-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break f}if((j[i+4>>2]-e|0)+1>>>0<3){break d}}f=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;g:{if(e>>>0<=f>>>0){f=j[a+76>>2];break g}i=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(i,8,f,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}f=xe(i,1,f,c,j[a+76>>2],d+28|0);j[a+76>>2]=f;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}i=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=i;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+8|0,g,b-5898240|0);of(d+16|0,g,b);b=j[d+16>>2]+(j[a+8>>2]+j[d+8>>2]|0)|0;j[d+16>>2]=b;f=j[d+20>>2]+(j[a+12>>2]+j[d+12>>2]|0)|0;j[d+20>>2]=f;h:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break h}c=j[a+64>>2];i:{if(!c){break i}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break i}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;j:{if(e>>>0<=b>>>0){b=j[a+76>>2];break j}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}b=xe(f,1,b,c,j[a+76>>2],d+28|0);j[a+76>>2]=b;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0;break a;case 0:break b;default:break a}}i=j[a+60>>2];of(d+16|0,i,b+5898240|0);f=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=f;e=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=e;k:{l:{m:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break m}c=j[a+64>>2];n:{if(!c){break n}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-f|0)+1>>>0>2){break n}if((j[g+4>>2]-e|0)+1>>>0<3){break l}}f=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;o:{if(e>>>0<=f>>>0){f=j[a+76>>2];break o}g=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(g,8,f,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}f=xe(g,1,f,c,j[a+76>>2],d+8|0);j[a+76>>2]=f;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}g=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=g;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+16|0,i,b-5898240|0);b=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=b;f=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=f;p:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break p}c=j[a+64>>2];q:{if(!c){break q}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break q}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;r:{if(e>>>0<=b>>>0){b=j[a+76>>2];break r}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}b=xe(f,1,b,c,j[a+76>>2],d+8|0);j[a+76>>2]=b;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0}oe=d+32|0;return e}function Kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-16|0;oe=e;t=j[a+36>>2];b=j[a+20>>2];u=j[a+16>>2];c=j[a>>2];n=j[a+28>>2];p=j[a+24>>2];d=j[a+40>>2];r=k[d+9|0];f=j[a+44>>2];s=k[f+9|0];a:{if(!((r|0)!=4|(s|0)!=4|(j[d>>2]==372711428|j[f>>2]==372711428))){hh(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!n){break a}q=p&7;p=(p+7|0)/8|0;b:while(1){g=p;c:{d:{switch(q-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}a=n-1|0;h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=g-1|0;break f}b=b+t|0;c=c+u|0;n=a;if(a){continue b}break a}a=0;continue}}}if(!n){break a}v=s-1|0;while(1){n=n-1|0;q=p;if(p){while(1){a=0;g=0;m=0;o=0;g:{h:{switch(r-1|0){case 0:a=k[c|0];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 1:a=l[c>>1];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 2:m=k[(k[d+34|0]>>>3|0)+c|0];g=k[(k[d+33|0]>>>3|0)+c|0];a=k[(k[d+32|0]>>>3|0)+c|0];o=255;break g;case 3:break h;default:break g}}a=j[c>>2];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0]}i:{j:{switch(v|0){case 0:h[b|0]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>1]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>>3|0)+b|0]=a;h[(k[f+33|0]>>>3|0)+b|0]=g;h[(k[f+34|0]>>>3|0)+b|0]=m;break i;case 3:break j;default:break i}}j[b>>2]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>2];g=j[a+104>>2];s=j[g+28>>2];j[o+4>>2]=0;e=6;a:{if(!r|!k[a+672|0]){break a}e=0;if(m[r+32>>2]<=b>>>0){break a}a=j[r+36>>2];f=b+1|0;if(j[a+(b<<2)>>2]==j[a+(f<<2)>>2]){break a}a=0;u=xe(s,8,0,d,0,o+12|0);b:{if(j[o+12>>2]){break b}a=xe(s,1,0,d,0,o+12|0);if(j[o+12>>2]){break b}e=b<<2;b=Fe(g,j[e+j[r+36>>2]>>2]);j[o+12>>2]=b;if(b){break b}b=j[r+36>>2];b=_e(g,j[b+(f<<2)>>2]-j[b+e>>2]|0);j[o+12>>2]=b;if(b){break b}e=j[g>>2];b=j[g+32>>2];z=xe(s,4,0,j[r>>2],0,o+12|0);c:{if(j[o+12>>2]){break c}D=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}E=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}n=af(g);A=af(g)+(b-e|0)|0;if(n&32768){f=j[g+32>>2];b=j[g>>2];j[g+32>>2]=b+A;J=Ul(g,o+4|0);e=j[g+32>>2];f=f-b|0;b=j[g>>2];j[g+32>>2]=f+b;A=e-b|0}F=n&4095;if(!F){break c}G=j[o+4>>2];while(1){K=af(g);d:{e:{f:{g:{f=af(g);h:{if(f&32768){b=0;if(!j[r>>2]){break h}while(1){M=(b<<2)+z|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}break h}b=f&4095;if(b>>>0>=m[r+24>>2]){break g}e=b;b=j[r>>2];Ae(z,j[r+28>>2]+(p(e,b)<<2)|0,b<<2)}i:{if(!(f&16384)){break i}b=0;if(!j[r>>2]){break i}while(1){M=(b<<2)+D|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;e=j[r>>2];if(b>>>0>>0){continue}break}b=0;if(!e){break i}while(1){M=(b<<2)+E|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}}t=qq(r,f,z,D,E);if(!t){break d}H=j[g>>2];L=j[g+32>>2];j:{if(f&8192){j[g+32>>2]=A+H;x=Ul(g,o+8|0);f=j[o+8>>2];b=x;break j}j[o+8>>2]=G;f=G;x=q;b=J}e=f?f:d;B=Tl(g,e);C=Tl(g,e);if(!B|(!b|!C)){break e}k:{if((b|0)!=-1){b=0;if(d){break k}break f}b=0;if(!d){break e}while(1){q=b<<1;f=ye(i[q+B>>1],t);n=b<<3;e=n+j[c+4>>2]|0;j[e>>2]=f+j[e>>2];f=ye(i[q+C>>1],t);e=n+j[c+4>>2]|0;j[e+4>>2]=f+j[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){e=b<<3;q=e+u|0;n=e+j[c+4>>2]|0;e=j[n+4>>2];j[q>>2]=j[n>>2];j[q+4>>2]=e;h[a+b|0]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break f}j[o+12>>2]=8;break c}b=0;if(f){while(1){v=b<<1;e=l[v+x>>1];if(e>>>0>>0){h[a+e|0]=1;n=ye(i[B+v>>1],t);q=e<<3;e=q+j[c+4>>2]|0;j[e>>2]=n+j[e>>2];n=ye(i[C+v>>1],t);e=q+j[c+4>>2]|0;j[e+4>>2]=n+j[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(!l[c>>1]){break e}y=j[c+4>>2];t=0;e=0;while(1){q=e;b=e;w=i[j[c+12>>2]+(t<<1)>>1];l:{if(b>>>0>w>>>0){break l}while(1){m:{e=b+1|0;if(k[a+b|0]){break m}b=e;if(w>>>0>=b>>>0){continue}break l}break}n=b;f=b;n:{o:{p:{if(e>>>0<=w>>>0){while(1){if(k[a+e|0]){Rl(f+1|0,n,f,e,u,y);f=e}n=e;e=e+1|0;if(w>>>0>=e>>>0){continue}break}if((b|0)!=(f|0)){break p}}f=b<<3;n=f+y|0;f=f+u|0;v=j[n+4>>2]-j[f+4>>2]|0;f=j[n>>2]-j[f>>2]|0;if(!(v|f)){break l}if((b|0)>(q|0)){break o}break n}Rl(f+1|0,w,f,b,u,y);if(!b){break l}Rl(q,b-1|0,f,b,u,y);break l}while(1){n=y+(q<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];q=q+1|0;if((q|0)!=(b|0)){continue}break}}if((b|0)>=(w|0)){break l}while(1){b=b+1|0;n=y+(b<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];if((b|0)!=(w|0)){continue}break}}t=t+1|0;if((t|0)>1]){continue}break}}q=-1;if((x|0)!=-1){if(x){qe[j[s+8>>2]](s,x)}q=0}b=s;if(B){qe[j[b+8>>2]](b,B)}if(C){qe[j[s+8>>2]](s,C)}j[g+32>>2]=j[g>>2]+(L-H|0)}A=A+K|0;I=I+1|0;if((I|0)!=(F|0)){continue}break}}b=s;if(z){qe[j[b+8>>2]](b,z)}if(D){qe[j[b+8>>2]](b,D)}if(E){qe[j[s+8>>2]](s,E)}Ve(g)}if(u){qe[j[s+8>>2]](s,u)}if(a){qe[j[s+8>>2]](s,a)}e=j[o+12>>2]}oe=o+16|0;return e}function pm(a,b,c,d,e,f,g,i,l,m){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;n=oe-192|0;oe=n;j[n+144>>2]=0;j[n+148>>2]=0;j[n+152>>2]=0;j[n+156>>2]=0;j[n+160>>2]=0;j[n+164>>2]=0;j[n+168>>2]=0;j[n+172>>2]=0;j[n+176>>2]=0;j[n+180>>2]=0;j[n+184>>2]=0;j[n+188>>2]=0;j[n+128>>2]=0;j[n+132>>2]=0;j[n+136>>2]=0;j[n+140>>2]=0;t=n+128|4;o=b;p=a;while(1){s=(n+128|0)+(j[p>>2]<<2)|0;j[s>>2]=j[s>>2]+1;p=p+4|0;o=o-1|0;if(o){continue}break}a:{if(j[n+128>>2]==(b|0)){j[f>>2]=0;j[g>>2]=0;break a}p=j[g>>2];q=1;o=g;b:{c:{d:{e:{f:{g:{s=j[n+132>>2];if(s){break g}q=2;if(j[n+136>>2]){break g}q=3;if(j[n+140>>2]){break g}q=4;if(j[n+144>>2]){break g}q=5;if(j[n+148>>2]){break g}q=6;if(j[n+152>>2]){break g}q=7;if(j[n+156>>2]){break g}q=8;if(j[n+160>>2]){break g}q=9;if(j[n+164>>2]){break g}q=10;if(j[n+168>>2]){break g}q=11;if(j[n+172>>2]){break g}q=12;if(j[n+176>>2]){break g}q=13;if(j[n+180>>2]){break g}q=14;if(j[n+184>>2]){break g}if(j[n+188>>2]){q=15;p=p>>>0>15?p:15;C=1;r=15;break e}q=16;p=p>>>0>16?p:16;break f}p=p>>>0>>0?q:p;if(!j[n+188>>2]){break f}r=15;u=p>>>0<15?p:15;j[g>>2]=u;o=1<>2]){break d}r=13;if(j[n+180>>2]){break d}r=12;if(j[n+176>>2]){break d}r=11;if(j[n+172>>2]){break d}r=10;if(j[n+168>>2]){break d}r=9;if(j[n+164>>2]){break d}r=8;if(j[n+160>>2]){break d}r=7;if(j[n+156>>2]){break d}r=6;if(j[n+152>>2]){break d}r=5;if(j[n+148>>2]){break d}r=4;if(j[n+144>>2]){break d}r=3;if(j[n+140>>2]){break d}r=2;if(j[n+136>>2]){break d}C=!s;r=(s|0)!=0}u=p>>>0>r>>>0?r:p;j[o>>2]=u;o=1<>>0>r>>>0?r:p;j[g>>2]=u;C=1;o=1<>>0>=r>>>0){break b}}p=q;while(1){g=o-j[(n+128|0)+(p<<2)>>2]|0;if((g|0)<0){D=-3;break a}C=1;o=g<<1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}D=-3;g=(n+128|0)+(r<<2)|0;E=o-j[g>>2]|0;if((E|0)<0){break a}j[g>>2]=o;j[n+4>>2]=0;o=r-1|0;if(o){p=n|8;while(1){v=j[t>>2]+v|0;j[p>>2]=v;p=p+4|0;t=t+4|0;o=o-1|0;if(o){continue}break}}g=b>>>0>1?b:1;p=0;while(1){b=j[a>>2];if(b){o=(b<<2)+n|0;b=j[o>>2];j[o>>2]=b+1;j[(b<<2)+m>>2]=p}a=a+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}j[n+64>>2]=0;a=j[(r<<2)+n>>2];j[n>>2]=0;if(q>>>0<=r>>>0){t=0-u|0;G=(a<<2)+m|0;v=0;a=0;b=0;p=-1;while(1){F=(n+128|0)+(q<<2)|0;y=j[F>>2];if(y){H=1<>>0<=y>>>0){break i}o=g;a=r-t|0;A=a>>>0>u>>>0?u:a;if(o>>>0>=A>>>0){break i}o=g+1|0;if(A>>>0<=o>>>0){break i}a=u>>>0>>0?u:z;v=p-y|0;p=F;while(1){v=v<<1;B=j[p+4>>2];if(v>>>0<=B>>>0){break i}p=p+4|0;v=v-B|0;o=o+1|0;if(A>>>0>o>>>0){continue}break}o=a}v=1<>2];A=v+a|0;if(A>>>0>1440){break a}p=s+1|0;B=p<<2;a=(a<<3)+i|0;j[B+(n- -64|0)>>2]=a;j[l>>2]=A;j:{if(p){j[n+B>>2]=b;w=j[(n- -64|0)+(s<<2)>>2];x=b>>>x|0;s=w+(x<<3)|0;h[s+1|0]=u;h[s|0]=o;w=(a-w>>3)-x|0;j[s+4>>2]=w;break j}j[f>>2]=a}z=z-u|0;x=t;s=p;o=t+u|0;if((q|0)>(o|0)){continue}break}}s=192;k:{if(m>>>0>=G>>>0){break k}w=j[m>>2];if(w>>>0>>0){s=w>>>0<256?0:96;m=m+4|0;break k}m=m+4|0;o=w-c<<2;s=k[o+e|0]+80|0;w=j[d+o>>2]}o=b>>>t|0;if(v>>>0>o>>>0){z=1<>2]=w;h[x+1|0]=g;h[x|0]=s;o=o+z|0;if(v>>>0>o>>>0){continue}break}}o=H;if(o&b){while(1){b=b^o;o=o>>>1|0;if(b&o){continue}break}}y=y-1|0;b=b^o;if(j[(p<<2)+n>>2]!=(b&(-1<>2]!=((-1<>2];u=j[a+40>>2];q=j[a+36>>2];h[f+47|0]=0;h[f+48|0]=0;h[f+49|0]=0;h[f+50|0]=0;h[f+51|0]=0;h[f+52|0]=0;h[f+53|0]=0;h[f+54|0]=0;j[f+40>>2]=0;j[f+44>>2]=0;j[f+32>>2]=0;j[f+36>>2]=0;j[f+16>>2]=0;j[f+24>>2]=0;j[f+28>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;c=p(b,1468)+a|0;w=c;j[c+44>>2]=0;g=j[c+68>>2];e=j[a+28>>2];m=j[a+24>>2];c=e+p(m,40)|0;a:{if(!b){if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+12>>1];j[e+28>>2]=i[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+14>>1];j[e+28>>2]=i[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((q|0)<1){break b}z=(q<<2)+u|0;r=p(b,1468)+a|0;x=r+72|0;c=g>>31;t=c+g^c;g=t;while(1){c:{s=j[u>>2];e=j[s+36>>2];if((e|0)==(s|0)){break c}c=h[e+3|0];m=c>>31;m=m^c+m;d:{if((m|0)!=(t|0)){break d}c=h[s+3|0];q=c>>31;if((q^c+q)!=(t|0)){break d}if((m|0)==(t|0)){while(1){if((e|0)==(s|0)){break d}e=j[e+36>>2];c=h[e+3|0];m=c>>31;if((m^c+m)==(t|0)){continue}break}}s=j[e+32>>2]}c=0;o=-32e3;n=32e3;e=s;m=0;while(1){q=1;e:{if(!c){break e}c=j[e+24>>2];o=(c|0)>(o|0)?c:o;n=(c|0)<(n|0)?c:n;if(!((e|0)==(s|0)|h[e+3|0]!=(g|0))){q=0;break e}j[d+44>>2]=e;i[d+2>>1]=n+o>>>1;c=j[d+40>>2];if((l[e>>1]|l[c>>1])&3){h[d|0]=k[d|0]|1}n=j[c+28>>2];c=j[e+28>>2];o=(c|0)<(n|0)?n:c;i[d+6>>1]=o;n=(c|0)>(n|0)?n:c;i[d+4>>1]=n;i[d+8>>1]=o-n;d=0}if((e|0)==(s|0)){c=m;m=1;if(c){break c}}v=1;f:{if(!q){break f}q=h[e+3|0];c=q>>31;v=0;if((c^c+q)!=(t|0)){break f}j[f+60>>2]=0;d=j[w+44>>2];g:{if((d|0)<=17){if(j[r+52>>2]){break g}j[r+52>>2]=x;j[r+48>>2]=18;break g}o=j[r+48>>2];if((o|0)>(d|0)){break g}if((o|0)>44739241){n=64;break b}c=(o+(o>>2)|0)+4|0;g=(o|0)<-16?44739242:(c|0)>44739242?44739242:c;c=j[r+52>>2];h:{if((c|0)==(x|0)){c=xe(y,48,0,g,0,f+60|0);j[r+52>>2]=c;n=j[f+60>>2];if(n){break b}Ae(c,x,864);break h}A=r,B=xe(y,48,o,g,c,f+60|0),j[A+52>>2]=B;n=j[f+60>>2];if(n){break b}}j[r+48>>2]=g;d=j[w+44>>2]}c=j[r+52>>2];j[w+44>>2]=d+1;d=c+p(d,48)|0;h[d|0]=0;g=j[f+28>>2];c=j[f+24>>2];h[d+1|0]=c;h[d+2|0]=c>>>8;h[d+3|0]=c>>>16;h[d+4|0]=c>>>24;h[d+5|0]=g;h[d+6|0]=g>>>8;h[d+7|0]=g>>>16;h[d+8|0]=g>>>24;g=j[f+36>>2];c=j[f+32>>2];h[d+9|0]=c;h[d+10|0]=c>>>8;h[d+11|0]=c>>>16;h[d+12|0]=c>>>24;h[d+13|0]=g;h[d+14|0]=g>>>8;h[d+15|0]=g>>>16;h[d+16|0]=g>>>24;g=j[f+44>>2];c=j[f+40>>2];h[d+17|0]=c;h[d+18|0]=c>>>8;h[d+19|0]=c>>>16;h[d+20|0]=c>>>24;h[d+21|0]=g;h[d+22|0]=g>>>8;h[d+23|0]=g>>>16;h[d+24|0]=g>>>24;g=k[f+51|0]|k[f+52|0]<<8|(k[f+53|0]<<16|k[f+54|0]<<24);c=k[f+47|0]|k[f+48|0]<<8|(k[f+49|0]<<16|k[f+50|0]<<24);h[d+24|0]=c;h[d+25|0]=c>>>8;h[d+26|0]=c>>>16;h[d+27|0]=c>>>24;h[d+28|0]=g;h[d+29|0]=g>>>8;h[d+30|0]=g>>>16;h[d+31|0]=g>>>24;j[d+32>>2]=32e3;c=j[f+12>>2];j[d+36>>2]=j[f+8>>2];j[d+40>>2]=c;j[d+44>>2]=j[f+16>>2];h[d+1|0]=q;n=j[e+24>>2];j[d+44>>2]=e;j[d+40>>2]=e;o=n;g=q;v=1}c=v;e=j[e+32>>2];continue}}u=u+4|0;if(z>>>0>u>>>0){continue}break}n=0;c=j[w+44>>2];if((c|0)<1){break b}e=j[(p(b,1468)+a|0)+52>>2];b=e+p(c,48)|0;while(1){a=j[e+40>>2];g=j[j[a+36>>2]+28>>2];m=j[a+28>>2];a=j[e+44>>2];c=j[a+28>>2];i:{if((m|0)<(c|0)){if((g|0)<(m|0)){i[e+8>>1]=l[e+8>>1]+(m-g>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)<=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(a-c>>>1|0);break i}if((g|0)>(m|0)){i[e+8>>1]=l[e+8>>1]+(g-m>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)>=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(c-a>>>1|0)}e=e+48|0;if(b>>>0>e>>>0){continue}break}}oe=f- -64|0;return n}function UG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=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;d=oe-16|0;oe=d;n=j[b+16>>2];p=j[b+8>>2];q=j[a+488>>2];a:{b:{e=qe[j[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(j[b+12>>2]|!e){break a}l=b+260|0;o=b+156|0;m=b+208|0;if(!j[b+152>>2]){f=e+6|0;c=qe[j[j[q>>2]>>2]](m,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](o,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](l,4,n)|0;j[d+12>>2]=c;if(c){break b}}qe[j[b+28>>2]](b);c:{c=j[b>>2];if(p>>>0<=c>>>0){j[b+152>>2]=0;break c}w=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=p>>>0){break f}g:{switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break g;default:break f}}h:{switch(k[c|0]-100|0){case 0:if(!g|k[c+1|0]!=101|k[c+2|0]!=102){break f}break e;case 1:break h;default:break f}}if(k[c+1|0]!=110){break f}if(k[c+2|0]==100){break e}}qe[j[b+32>>2]](b);i=j[b>>2];if(i>>>0>=p>>>0){c=3;j[d+12>>2]=3;break b}if(j[b+12>>2]){break a}i:{if(k[c|0]!=47){break i}if(c+2>>>0>=p>>>0){j[d+12>>2]=3;break d}r=j[j[a+128>>2]+48>>2];f=j[b+8>>2];qe[j[b+28>>2]](b);j:{e=j[b>>2];k:{if(e>>>0>=f>>>0|k[e|0]-48>>>0>9){break k}e=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((e|0)<0){break k}t=f;u=j[b>>2];f=u+1|0;if((e|0)<(t-f|0)){break j}}if(r){break a}j[b+12>>2]=3;break a}j[b>>2]=(e+u|0)+1;if(j[b+12>>2]){break a}if(j[b+152>>2]){break i}c=c+1|0;i=i-c|0;r=qe[j[b+200>>2]](o,g,c,i+1|0)|0;j[d+12>>2]=r;if(r){break d}t=i;i=g<<2;h[t+j[i+j[b+180>>2]>>2]|0]=0;if(k[c|0]==46){c=we(201692,j[i+j[b+180>>2]>>2]);v=c?v:1;s=c?s:g}l:{m:{if((g|0)>=(w|0)){break m}c=j[a+172>>2];if((c|0)<0){break m}if(c>>>0>=e>>>0){j[d+12>>2]=3;c=j[d+12>>2];break b}c=He(n,e,d+12|0);if(j[d+12>>2]){break d}c=Ae(c,f,e);qe[j[q+16>>2]](c,e,4330);f=j[a+172>>2];x=d,y=qe[j[b+252>>2]](m,g,f+c|0,e-f|0)|0,j[x+12>>2]=y;if(c){qe[j[n+8>>2]](n,c)}c=j[d+12>>2];break l}c=qe[j[b+252>>2]](m,g,f,e)|0;j[d+12>>2]=c}if(c){break d}g=g+1|0}qe[j[b+28>>2]](b);c=j[b>>2];if(p>>>0>c>>>0){continue}}break}j[b+152>>2]=g;if(!(v&255)){break c}a=j[j[b+180>>2]>>2];if(!we(201692,a)){break a}c=qe[j[b+304>>2]](l,0,a,j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}a=s<<2;c=qe[j[b+304>>2]](l,2,j[a+j[b+180>>2]>>2],j[a+j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,3,j[a+j[b+232>>2]>>2],j[a+j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,s,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,s,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,j[j[b+284>>2]+8>>2],j[j[b+288>>2]+8>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,j[j[b+284>>2]+12>>2],j[j[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=j[d+12>>2];break b}h[d+8|0]=k[204e3];j[d+4>>2]=k[203996]|k[203997]<<8|(k[203998]<<16|k[203999]<<24);c=qe[j[b+304>>2]](l,0,j[j[b+180>>2]>>2],j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,201692,8)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,d+4|0,5)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,g,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,g,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;if(c){break b}j[b+152>>2]=j[b+152>>2]+1;break a}j[b+12>>2]=c}oe=d+16|0}function mq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=oe-16|0;oe=f;j[b+12>>2]=0;j[b>>2]=c;i=c+d|0;j[b+8>>2]=i;qe[j[b+28>>2]](b);c=j[b>>2];a:{b:{if(i>>>0<=c>>>0){break b}m=a+132|0;o=a+164|0;p=a+168|0;q=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=k[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(i|0)){break h}if(d>>>0>=i>>>0){break d}switch(k[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(i|0)){break m}if(d>>>0>=i>>>0){break d}switch(k[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Qe(c,201732,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){qe[j[b+32>>2]](b);e=1;n=c;if(!j[b+12>>2]){break c}break b}g=c+6>>>0>=i>>>0;if(!(g|(d|0)!=82)){if(!e|k[c+1|0]!=68){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);n:{c=j[b>>2];o:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break o}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break o}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break n}}c=3;if(e){break a}break f}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g)){if(!e|k[c+1|0]!=124){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);p:{c=j[b>>2];q:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break q}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break q}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=i>>>0){break d}g=c+1|0;j[b>>2]=g;qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=0;c=j[b>>2];if(c>>>0>=i>>>0){break c}l=c-g|0;if(l-1>>>0>20){break c}r=k[g|0];c=201760;h=203464;while(1){d=c;r:{if(k[h|0]!=(r|0)){break r}if((Le(h)|0)!=(l|0)){break r}if(Cg(g,h,l)){break r}c=j[b+372>>2];if(!(j[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(we(h,203452)){break c}}h=j[a+528>>2];c=0;s:{if(!h){break s}c=j[h>>2]?h:0}g=b;l=j[d+8>>2];t:{if((l|0)==11){qe[j[d+12>>2]](a,b);c=j[b+12>>2];break t}u:{v:{w:{x:{y:{z:{A:{switch(j[d+4>>2]-2|0){case 1:j[f+12>>2]=m;if(c){break z}e=f+12|0;break v;case 2:j[f+12>>2]=p;e=f+12|0;if(!c){break v}e=c+212|0;break y;case 3:j[f+12>>2]=q;e=f+12|0;if(!c){break v}e=c+284|0;break y;case 4:j[f+12>>2]=b;e=f+12|0;break v;case 5:j[f+12>>2]=a;e=f+12|0;break v;case 6:j[f+12>>2]=h;e=f+12|0;c=0;break x;case 0:break w;default:break A}}j[f+12>>2]=m;e=f+12|0;break v}e=c+144|0}h=j[e>>2];c=j[c>>2]}if(h){break u}break g}j[f+12>>2]=o;e=f+12|0}c=0}if(l-9>>>0<=1){c=qe[j[b+68>>2]](b,d,e,c,0)|0;break t}c=qe[j[b+64>>2]](b,d,e,c,0)|0}j[g+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;h=j[d+36>>2];if(h){continue}break}break c}if(!Qe(c,201726,5)){break b}break d}e=0;j[b+12>>2]=0;break c}j[b+12>>2]=3;break a}B:{d=c+14|0;if((d|0)==(i|0)){break B}if(d>>>0>=i>>>0){break d}switch(k[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break B;default:break d}}if(Qe(c,201742,13)){break d}d=j[b+372>>2];if(d&1){j[b+372>>2]=d|2}j[b>>2]=c+13;break c}qe[j[b+32>>2]](b);e=0;if(j[b+12>>2]){break b}}qe[j[b+28>>2]](b);c=j[b>>2];if(i>>>0>c>>>0){continue}break}}c=j[b+12>>2]}oe=f+16|0;return c}function Al(a,b,c,d,e,f){var g=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;m=oe+ -64|0;j[m+48>>2]=0;j[m+52>>2]=0;j[m+56>>2]=0;j[m+60>>2]=0;j[m+32>>2]=0;j[m+36>>2]=0;j[m+40>>2]=0;j[m+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){o=(m+32|0)+(l[(p<<1)+b>>1]<<1)|0;i[o>>1]=l[o>>1]+1;p=p+1|0;if((p|0)!=(c|0)){continue}break}p=j[e>>2];q=15;v=l[m+62>>1];if(v){break d}break e}p=j[e>>2]}q=14;v=0;if(l[m+60>>1]){break d}q=13;if(l[m+58>>1]){break d}q=12;if(l[m+56>>1]){break d}q=11;if(l[m+54>>1]){break d}q=10;if(l[m+52>>1]){break d}q=9;if(l[m+50>>1]){break d}q=8;if(l[m+48>>1]){break d}q=7;if(l[m+46>>1]){break d}q=6;if(l[m+44>>1]){break d}q=5;if(l[m+42>>1]){break d}q=4;if(l[m+40>>1]){break d}q=3;if(l[m+38>>1]){break d}q=2;if(l[m+36>>1]){break d}if(!l[m+34>>1]){a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;j[e>>2]=1;break b}r=(p|0)!=0;q=1;p=1;break c}r=p>>>0>q>>>0?q:p;g=1;p=1;while(1){if(l[(m+32|0)+(p<<1)>>1]){break c}p=p+1|0;if((q|0)!=(p|0)){continue}break}p=q}o=-1;t=l[m+34>>1];if(t>>>0>2){break a}u=l[m+36>>1];n=4-(u+(t<<1)|0)|0;if((n|0)<0){break a}w=l[m+38>>1];n=(n<<1)-w|0;if((n|0)<0){break a}x=l[m+40>>1];n=(n<<1)-x|0;if((n|0)<0){break a}z=l[m+42>>1];n=(n<<1)-z|0;if((n|0)<0){break a}A=l[m+44>>1];n=(n<<1)-A|0;if((n|0)<0){break a}D=l[m+46>>1];n=(n<<1)-D|0;if((n|0)<0){break a}E=l[m+48>>1];n=(n<<1)-E|0;if((n|0)<0){break a}B=l[m+50>>1];n=(n<<1)-B|0;if((n|0)<0){break a}G=l[m+52>>1];n=(n<<1)-G|0;if((n|0)<0){break a}H=l[m+54>>1];n=(n<<1)-H|0;if((n|0)<0){break a}s=l[m+56>>1];n=(n<<1)-s|0;if((n|0)<0){break a}C=l[m+58>>1];n=(n<<1)-C|0;if((n|0)<0){break a}F=l[m+60>>1];n=(n<<1)-F|0;if((n|0)<0){break a}n=(n<<1)-v|0;if((n|0)<0|(!a|g?n:0)){break a}o=0;i[m+2>>1]=0;i[m+4>>1]=t;g=t+u|0;i[m+6>>1]=g;g=g+w|0;i[m+8>>1]=g;g=g+x|0;i[m+10>>1]=g;g=g+z|0;i[m+12>>1]=g;g=g+A|0;i[m+14>>1]=g;g=g+D|0;i[m+16>>1]=g;g=g+E|0;i[m+18>>1]=g;g=g+B|0;i[m+20>>1]=g;g=g+G|0;i[m+22>>1]=g;g=g+H|0;i[m+24>>1]=g;g=g+s|0;i[m+26>>1]=g;g=g+C|0;i[m+28>>1]=g;i[m+30>>1]=g+F;if(c){while(1){g=l[(o<<1)+b>>1];if(g){g=(g<<1)+m|0;n=l[g>>1];i[g>>1]=n+1;i[(n<<1)+f>>1]=o}o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=p>>>0>r>>>0?p:r;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:o=1;if(s>>>0>9){break a}t=256;z=223070;C=223006;E=1;break f;case 0:break f;default:break g}}D=(a|0)==2;t=-1;z=223712;C=223648;if((a|0)!=2){break f}o=1;if(s>>>0>9){break a}}u=1<>2];x=0;g=s;r=0;n=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=l[a+C>>1];a=k[a+z|0]}H=r>>>y|0;o=-1<>1]=g;h[B+1|0]=A;h[B|0]=a;if(c){continue}break}o=1<>>1|0;if(a&r){continue}break}c=(m+32|0)+(p<<1)|0;g=l[c>>1]-1|0;i[c>>1]=g;r=a?a+(a-1&r)|0:0;x=x+1|0;if(!(g&65535)){if((p|0)==(q|0)){break h}p=l[(l[(x<<1)+f>>1]<<1)+b>>1]}a=r&G;if((a|0)==(n|0)|p>>>0<=s>>>0){continue}break}y=y?y:s;g=p-y|0;v=1<>>0>>0){c=q-y|0;o=p;j:{while(1){o=v-l[(m+32|0)+(o<<1)>>1]|0;if((o|0)<1){break j}v=o<<1;g=g+1|0;o=y+g|0;if(q>>>0>o>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=j[d>>2];o=c+(a<<2)|0;h[o+1|0]=s;h[o|0]=g;w=(F<<2)+w|0;i[o+2>>1]=w-c>>>2;n=a;continue}break}if(r){a=(r<<2)+w|0;i[a+2>>1]=0;h[a+1|0]=A;h[a|0]=64}j[d>>2]=j[d>>2]+(u<<2);j[e>>2]=s}o=0}return o}function Wf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;l=oe-112|0;oe=l;m=h;p=i&2147483647;n=c-(b>>>0<1)|0;k=b-1|0;r=(k|0)==-1&(n|0)==-1;t=d;q=(c|0)==(n|0)&b>>>0>k>>>0|c>>>0>n>>>0;o=d+q|0;n=e&2147483647;k=n;k=o>>>0>>0?k+1|0:k;q=o-1|0;a:{b:{k=k-(o>>>0<1)|0;if(!((q|0)==-1&(k|0)==2147418111?r:k>>>0>2147418111)){k=f;o=g-(k>>>0<1)|0;k=k-1|0;r=(k|0)!=-1|(o|0)!=-1;q=(g|0)==(o|0)&f>>>0>k>>>0|g>>>0>o>>>0;o=q+m|0;k=p;k=o>>>0>>0?k+1|0:k;q=o;o=o-1|0;k=k-(q>>>0<1)|0;if((o|0)==-1&(k|0)==2147418111?r:(k|0)==2147418111&(o|0)!=-1|k>>>0<2147418111){break b}}if(!(!t&(n|0)==2147418112?!(b|c):n>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){i=i|32768;break a}if(!(b|t|(n^2147418112|c))){k=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:k;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|m|(p^2147418112|g))){break a}if(!(b|t|(c|n))){if(f|m|(g|p)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|p)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(t|0)&(n|0)==(p|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(n|0)==(p|0)&m>>>0>t>>>0|n>>>0

>>0;k=r;o=k?f:b;p=k?g:c;m=k?i:e;t=m;n=k?h:d;k=m&65535;i=r?e:i;e=i;h=r?d:h;q=i>>>16&32767;m=m>>>16&32767;if(!m){d=!(k|n);i=d<<6;m=s(d?o:n)+32|0;d=s(d?p:k);d=i+((d|0)==32?m:d)|0;Nf(l+96|0,o,p,n,k,d-15|0);n=j[l+104>>2];o=j[l+96>>2];p=j[l+100>>2];m=16-d|0;k=j[l+108>>2]}f=r?b:f;g=r?c:g;i=e&65535;if(!q){b=!(h|i);c=b<<6;d=s(b?f:h)+32|0;b=s(b?g:i);b=c+((b|0)==32?d:b)|0;Nf(l+80|0,f,g,h,i,b-15|0);q=16-b|0;h=j[l+88>>2];i=j[l+92>>2];g=j[l+84>>2];f=j[l+80>>2]}b=h;c=i<<3|b>>>29;h=b<<3|g>>>29;i=c|524288;b=n;d=k<<3|b>>>29;n=b<<3|p>>>29;u=d;r=e^t;b=f;k=g<<3|b>>>29;b=b<<3;c=k;d=m-q|0;e=b;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;k=0;e=1;break c}Nf(l- -64|0,b,c,h,i,128-d|0);oi(l+48|0,b,c,h,i,d);h=j[l+56>>2];i=j[l+60>>2];k=j[l+52>>2];e=j[l+48>>2]|((j[l+64>>2]|j[l+72>>2])!=0|(j[l+68>>2]|j[l+76>>2])!=0)}f=k;d=n;q=u|524288;b=o;k=p<<3|b>>>29;c=b<<3;d:{if((r|0)<-1?1:(r|0)<=-1){p=e;b=c-e|0;n=h;o=d-h|0;e=(f|0)==(k|0)&c>>>0>>0|f>>>0>k>>>0;h=o-e|0;c=k-((c>>>0

>>0)+f|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>o>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=s(d?b:h)+32|0;b=s(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Nf(l+32|0,f,c,h,i,b);m=m-b|0;h=j[l+40>>2];i=j[l+44>>2];b=j[l+32>>2];c=j[l+36>>2];break d}b=c;g=b+e|0;c=f+k|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+q|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;m=m+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}k=0;p=t&-2147483648;if((m|0)>=32767){h=k;i=p|2147418112;f=0;g=0;break a}e=0;e:{if((m|0)>0){e=m;break e}Nf(l+16|0,b,c,h,i,m+127|0);oi(l,b,c,h,i,1-m|0);b=j[l>>2]|((j[l+16>>2]|j[l+24>>2])!=0|(j[l+20>>2]|j[l+28>>2])!=0);c=j[l+4>>2];h=j[l+8>>2];i=j[l+12>>2]}t=(c&7)<<29|b>>>3;g=t;m=b&7;b=g+(m>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|k;b=b+d|0;k=p|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?k+1|0:k;f:{if((m|0)==4){k=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?k+1|0:k;break f}if(!m){break a}}}j[a>>2]=f;j[a+4>>2]=g;j[a+8>>2]=h;j[a+12>>2]=i;oe=l+112|0}function zG(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=oe-336|0;oe=k;a:{b:{if(d){q=j[c+1296>>2];t=j[j[j[b+64>>2]+4>>2]+28>>2];v=j[t+2848>>2];l=j[c+1284>>2];if((l|0)>=1){while(1){h=(g<<2)+d|0;i=j[h>>2];f=i&32767;c:{d:{switch(j[q+832>>2]-1|0){case 0:f=f>>>2|0;break c;case 1:f=f>>>3|0;break c;case 2:f=(f>>>0)/12|0;break c;case 3:break d;default:break c}}f=f>>>4|0}j[h>>2]=i&32768|f;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=j[d>>2];j[k+64>>2]=f;g=j[d+4>>2];j[k+68>>2]=g;if((l|0)>=3){r=q+836|0;i=2;while(1){g=i<<2;f=g+c|0;m=j[f+772>>2]<<2;n=m+d|0;x=j[f+1024>>2]<<2;z=x+d|0;u=j[z>>2]&32767;f=(j[n>>2]&32767)-u|0;h=f>>31;w=d+g|0;o=j[w>>2];y=h^f+h;h=j[r+x>>2];h=(p(y,j[g+r>>2]-h|0)|0)/(j[r+m>>2]-h|0)|0;f=u+((f|0)<0?0-h|0:h)|0;e:{if(!((o|0)!=(f|0)?!(o&32768):0)){j[w>>2]=f|32768;j[g+(k- -64|0)>>2]=0;break e}h=j[c+1292>>2]-f|0;h=(f|0)>(h|0)?h:f;m=g+(k- -64|0)|0;f=o-f|0;f:{if((f|0)<=-1){g=h+(f^-1)|0;if((f|0)<(0-h|0)){break f}g=f<<1^-1;break f}g=f+h|0;if((f|0)>=(h|0)){break f}g=f<<1}j[m>>2]=g;j[z>>2]=u;j[n>>2]=j[n>>2]&32767}i=i+1|0;if((l|0)!=(i|0)){continue}break}g=j[k+68>>2];f=j[k+64>>2]}u=1;df(a,1,1);j[c+1308>>2]=j[c+1308>>2]+1;h=j[c+1292>>2]-1|0;j[c+1304>>2]=j[c+1304>>2]+((h?32-s(h)|0:0)<<1);h=f;f=j[c+1292>>2]-1|0;df(a,h,f?32-s(f)|0:0);f=j[c+1292>>2]-1|0;df(a,g,f?32-s(f)|0:0);if(j[q>>2]>=1){o=0;l=2;while(1){m=j[((o<<2)+q|0)+4>>2];x=(m<<2)+q|0;h=j[x+128>>2];r=j[x+192>>2];j[k+56>>2]=0;j[k+60>>2]=0;j[k+48>>2]=0;j[k+52>>2]=0;j[k+40>>2]=0;j[k+44>>2]=0;j[k+32>>2]=0;j[k+36>>2]=0;if(r){g=1<>2]=0;j[k+28>>2]=0;j[k+16>>2]=0;j[k+20>>2]=0;j[k+8>>2]=0;j[k+12>>2]=0;j[k>>2]=0;j[k+4>>2]=0;z=(r|0)==31;if(!z){n=(g|0)>1?g:1;f=0;while(1){w=f<<2;y=j[(w+((m<<5)+q|0)|0)+320>>2];i=1;g:{if((y|0)<0){break g}i=j[j[(t+(y<<2)|0)+1824>>2]+4>>2]}j[k+w>>2]=i;f=f+1|0;if((n|0)!=(f|0)){continue}break}}h:{if((h|0)<1){n=0;break h}w=(g|0)>1?g:1;i=0;f=0;n=0;while(1){g=f;i:{if(z){break i}y=j[(k- -64|0)+(i+l<<2)>>2];f=0;while(1){if(j[(f<<2)+k>>2]>(y|0)){j[(k+32|0)+(i<<2)>>2]=f;break i}f=f+1|0;if((w|0)!=(f|0)){continue}break}}f=g+r|0;n=j[(k+32|0)+(i<<2)>>2]<>2],56)|0,n,a)+j[c+1300>>2]|0,j[A+1300>>2]=B}f=0;if((h|0)>=1){while(1){g=j[(((m<<5)+q|0)+(j[(k+32|0)+(f<<2)>>2]<<2)|0)+320>>2];j:{if((g|0)<0){break j}i=j[(k- -64|0)+(f+l<<2)>>2];g=v+p(g,56)|0;if((i|0)>=j[g+4>>2]){break j}A=c,B=yj(g,i,a)+j[c+1304>>2]|0,j[A+1304>>2]=B}f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=h+l|0;o=o+1|0;if((o|0)>2]){continue}break}}g=p(j[q+832>>2],j[d>>2]);r=j[t+(j[b+28>>2]<<2)>>2]/2|0;f=0;if(j[c+1284>>2]<=1){a=0;break b}a=0;while(1){l=j[((u<<2)+c|0)+260>>2]<<2;h=j[l+d>>2];if(h>>>0<=32767){h=p(h,j[q+832>>2]);i=h-g|0;a=j[(l+q|0)+836>>2];l=a-f|0;n=(i|0)/(l|0)|0;o=(a|0)<(r|0)?a:r;if((o|0)>(f|0)){j[(f<<2)+e>>2]=g}f=f+1|0;if((o|0)>(f|0)){v=p(l,n);t=v>>31;m=i>>31;t=(m+i^m)-(t^t+v)|0;v=(i|0)>-1?1:-1;i=0;while(1){i=i+t|0;m=(i|0)<(l|0);g=(g+n|0)+(m?0:v)|0;j[(f<<2)+e>>2]=g;i=i-(m?0:l)|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=h;f=a}u=u+1|0;if((u|0)>2]){continue}break}break b}df(a,0,1);Ee(e,0,j[b+36>>2]/2<<2);break a}f=1;if((j[b+36>>2]/2|0)<=(a|0)){break a}while(1){j[(a<<2)+e>>2]=g;a=a+1|0;if((a|0)<(j[b+36>>2]/2|0)){continue}break}}oe=k+336|0;return f}function Wr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=oe-32|0;oe=f;d=6;a:{if(!a|!b){break a}c=j[b>>2]-j[a+8>>2]|0;j[f+8>>2]=c;g=j[b+4>>2]-j[a+12>>2]|0;j[f+12>>2]=g;b:{c:{if(c|g){q=qk(f+8|0);o=Gf(j[f+8>>2],j[f+12>>2]);c=o+5898240|0;of(f+8|0,j[a+60>>2],c);d:{if(k[a+20|0]){of(f+16|0,j[a+60>>2],c);i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+84>>2];e:{if((c|0)<0){break e}g=j[a+64>>2];if(g>>>0<=c+1>>>0){j[a+64>>2]=c;break e}l=g-1|0;j[a+64>>2]=l;m=j[a+72>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+76>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+76>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i+n|0;n=e+d|0;c=j[a+64>>2];j[a+84>>2]=c;h[a+80|0]=0;f:{g:{if(!c){break g}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break g}if((j[g+4>>2]-i|0)+1>>>0<3){break f}}g=j[a+68>>2];j[f+28>>2]=0;d=c+1|0;h:{if(d>>>0<=g>>>0){e=j[a+76>>2];break h}e=j[a+88>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+72>>2],f+28|0),j[r+72>>2]=s;d=j[f+28>>2];if(d){break c}e=xe(e,1,g,c,j[a+76>>2],f+28|0);j[a+76>>2]=e;d=j[f+28>>2];if(d){break c}j[a+68>>2]=c;c=j[a+64>>2]}d=j[a+72>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+116>>2];i:{if((c|0)<0){break i}g=j[a+96>>2];if(g>>>0<=c+1>>>0){j[a+96>>2]=c;break i}l=g-1|0;j[a+96>>2]=l;m=j[a+104>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+108>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+108>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i-n|0;n=e-d|0;c=j[a+96>>2];j[a+116>>2]=c;h[a+112|0]=0;j:{k:{if(!c){break k}g=j[a+104>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break k}d=0;if((j[g+4>>2]-i|0)+1>>>0<3){break j}}g=j[a+100>>2];j[f+28>>2]=0;d=c+1|0;l:{m:{if(d>>>0<=g>>>0){e=j[a+108>>2];break m}e=j[a+120>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+104>>2],f+28|0),j[r+104>>2]=s;d=j[f+28>>2];if(d){break l}e=xe(e,1,g,c,j[a+108>>2],f+28|0);j[a+108>>2]=e;d=j[f+28>>2];if(d){break l}j[a+100>>2]=c;c=j[a+96>>2]}d=j[a+104>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;j[a+96>>2]=j[a+96>>2]+1;d=0}h[a+112|0]=0}j[a+36>>2]=q;h[a+20|0]=0;j[a+24>>2]=o;if(!d){break d}break a}j[a+4>>2]=o;c=Df(j[a>>2],o);if(!c){break d}d=Di(a,c>>>31|0,q);if(d){break a}d=Ci(a,(c^-1)>>>31|0,q);if(d){break a}}e=a- -64|0;c=j[f+12>>2];d=j[f+8>>2];i=1;while(1){n=i;g=j[b+4>>2]+c|0;m=j[b>>2]+d|0;n:{o:{if(k[e+16|0]){c=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;j[c>>2]=m;j[c+4>>2]=g;break o}l=j[e>>2];p:{if(!l){break p}i=j[e+8>>2]+(l-1<<3)|0;if((j[i>>2]-m|0)+1>>>0>2){break p}if((j[i+4>>2]-g|0)+1>>>0<3){break n}}i=j[e+4>>2];j[f+16>>2]=0;d=l+1|0;q:{if(d>>>0<=i>>>0){i=j[e+12>>2];break q}l=j[e+24>>2];c=i;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=e,s=xe(l,8,i,c,j[e+8>>2],f+16|0),j[r+8>>2]=s;d=j[f+16>>2];if(d){break b}i=xe(l,1,i,c,j[e+12>>2],f+16|0);j[e+12>>2]=i;d=j[f+16>>2];if(d){break b}j[e+4>>2]=c;l=j[e>>2]}c=j[e+8>>2]+(l<<3)|0;j[c>>2]=m;j[c+4>>2]=g;h[i+l|0]=1;j[e>>2]=j[e>>2]+1}h[e+16|0]=1;c=j[f+12>>2];d=j[f+8>>2]}c=0-c|0;j[f+12>>2]=c;d=0-d|0;j[f+8>>2]=d;e=e+32|0;i=n-1|0;if(n){continue}break}j[a>>2]=o;c=j[b+4>>2];b=j[b>>2];j[a+16>>2]=q;j[a+8>>2]=b;j[a+12>>2]=c}d=0;break a}h[a+80|0]=0;break a}h[e+16|0]=1}oe=f+32|0;return d}function vF(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,w=0;if(!(j[a+496>>2]?0:!j[a+492>>2])){Ze(a,209521);Wp(a)}a:{if((b|0)<=8){b=j[a+488>>2];b:{if((b|0)<1){b=1e5;break b}d=j[a+824>>2];c:{if(!d){break c}c=v(1e15/+(d|0)/+(b|0)+.5);d=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(d){break c}if(c>=-2147483648){break b}}b=0}e=qh(a,256);j[a+492>>2]=e;d:{if(b-95e3>>>0<10001){b=0;while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break d}l=+(b|0)*1e-5;b=0;while(1){g=b+e|0;e:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break e}d=0;break e}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}if(!(j[a+216>>2]&6291584)){break a}b=j[a+824>>2];e=qh(a,256);j[a+504>>2]=e;c=v(1e10/+(b|0)+.5);f=c>=-2147483648;b=0;if(r(c)<2147483648){d=~~c}else{d=-2147483648}d=c<=2147483647?f?d:0:0;f:{if(d-95e3>>>0<10001){while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break f}}l=+(d|0)*1e-5;while(1){g=b+e|0;g:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break g}d=0;break g}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}b=j[a+488>>2];h:{if((b|0)>=1){c=v(1e10/+(b|0)+.5);d=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}b=c<=2147483647?d?b:0:0;break h}b=j[a+824>>2]}d=qh(a,256);j[a+500>>2]=d;if(b-95e3>>>0<10001){b=0;while(1){h[b+d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break a}l=+(b|0)*1e-5;b=0;while(1){g=b+d|0;i:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break i}a=0;break i}a=b}h[g|0]=a;b=b+1|0;if((b|0)!=256){continue}break}break a}b=a;g=b;j:{if(k[b+435|0]&2){d=k[a+518|0];e=k[a+517|0];f=k[a+516|0];e=e>>>0>f>>>0?e:f;d=d>>>0>e>>>0?d:e;break j}d=k[a+519|0]}b=(d-1&255)>>>0<15?16-d|0:0;e=j[a+216>>2]&67109888;b=e?(b&255)>>>0<5?5:b:b;d=((b&255)>>>0<8?b:8)&255;j[g+484>>2]=d;b=j[a+488>>2];k:{l:{if(e){if((b|0)<1){c=1}else{c=v(+j[a+824>>2]*1e-5*+(b|0)+.5);e=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}c=c<=2147483647?e?+(b|0)*1e-5:0:0}n=8-d|0;e=1<>2]=f;m=e>>>0>1?e:1;g=16-d|0;b=0;while(1){u=(b<<2)+f|0,w=qh(a,512),j[u>>2]=w;b=b+1|0;if((m|0)!=(b|0)){continue}break}o=255>>>d|0;s=-1<=0){g=~~l>>>0;break m}g=0}g=(p(g,s)+32768>>>0)/65535|0;if(g>>>0>=b>>>0){while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=q;t=(b|0)!=(g|0);b=b+1|0;if(t){continue}break}b=g+1|0}m=m+1|0;if((m|0)!=255){continue}break}break l}e=a+496|0;n:{if((b|0)<1){b=1e5;break n}f=j[a+824>>2];o:{if(!f){break o}c=v(1e15/+(f|0)/+(b|0)+.5);f=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(f){break o}if(c>=-2147483648){break n}}b=0}Hl(a,e,d,b);break k}e=e<<8;if(e>>>0<=b>>>0){break k}while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(!(j[a+216>>2]&6291584)){break a}c=v(1e10/+j[a+824>>2]+.5);m=c>=-2147483648;b=a;g=b;n=b+512|0;e=d;if(r(c)<2147483648){f=~~c}else{f=-2147483648}Hl(g,n,e,c<=2147483647?m?f:0:0);g=a;e=b+508|0;f=j[b+488>>2];p:{if((f|0)>=1){c=v(1e10/+(f|0)+.5);f=c>=-2147483648;if(r(c)<2147483648){a=~~c}else{a=-2147483648}a=c<=2147483647?f?a:0:0;break p}a=j[a+824>>2]}Hl(g,e,d,a)}}function sr(a,b,c,d,e){var f=0,g=0,i=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,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;k=oe-1088|0;oe=k;C=j[j[b+16>>2]>>2];v=j[b>>2];P=j[v+12>>2];D=j[v+8>>2];f=j[v>>2];m=j[v+4>>2];Ee(k+512|0,0,512);l=Ee(k,0,512);y=(m-f|0)/(D|0)|0;g=j[b+8>>2];if((g|0)>=1){Q=(y|0)<1;E=l+1072|0;while(1){if(!Q){r=0;L=(d|0)<1;R=L|(w|0)!=0;S=1<>2];g=j[f+(r<<2)>>2];i=1;if((C|0)>=2){while(1){g=p(g,P);m=i+r|0;if((m|0)<(y|0)){g=j[f+(m<<2)>>2]+g|0}i=i+1|0;if((C|0)!=(i|0)){continue}break}}f=j[b+16>>2];if(j[f+4>>2]>(g|0)){V=b,W=yj(f,g,a)+j[b+36>>2]|0,j[V+36>>2]=W}k=k+1|0;if((k|0)!=(d|0)){continue}break}}a:{if((C|0)<1){break a}I=0;if((r|0)>=(y|0)){break a}while(1){if(!L){T=j[v>>2]+p(r,D)|0;F=0;while(1){f=F<<2;M=f+e|0;i=j[M>>2];N=r<<2;k=j[i+N>>2];if(!w){m=(k<<2)+l|0;j[m>>2]=j[m>>2]+D}k=k<<2;b:{if(!(j[(k+v|0)+24>>2]&S)){break b}s=j[j[k+j[b+20>>2]>>2]+(w<<2)>>2];if(!s){break b}J=j[s>>2];O=(D|0)/(J|0)|0;c:{if((O|0)<1){z=0;break c}U=j[c+f>>2]+(T<<2)|0;G=0;k=J;z=0;while(1){u=j[s+48>>2];x=j[s+52>>2];g=j[s+44>>2];K=l+1080|0;f=K;j[f>>2]=0;j[f+4>>2]=0;j[E>>2]=0;j[E+4>>2]=0;j[l+1064>>2]=0;j[l+1068>>2]=0;j[l+1056>>2]=0;j[l+1060>>2]=0;n=g>>1;t=(p(G,J)<<2)+U|0;d:{e:{f:{if((x|0)!=1){if((k|0)>=1){break f}o=0;break d}if((k|0)>=1){break e}o=0;break d}A=g-1|0;H=(x>>1)-u|0;f=0;m=k;o=0;while(1){m=m-1|0;B=m<<2;q=(H+j[B+t>>2]|0)/(x|0)|0;g:{if((q|0)<(n|0)){i=(n-q<<1)-1|0;break g}i=q-n<<1}j[B+(l+1056|0)>>2]=u+p(q,x);o=p(g,o)+((i|0)<0?0:(g|0)>(i|0)?i:A)|0;f=f+1|0;if((f|0)!=(k|0)){continue}break}break d}Ae(l+1056|0,t,k<<2);q=g-1|0;i=0;f=k;o=0;while(1){o=p(g,o);f=f-1|0;m=j[(f<<2)+t>>2]-u|0;h:{if((m|0)<(n|0)){m=(n-m<<1)-1|0;break h}m=m-n<<1}o=o+((m|0)<0?0:(g|0)>(m|0)?m:q)|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}}H=j[j[s+12>>2]+8>>2];i:{if(h[H+o|0]>0){break i}q=l+1048|0;f=q;j[f>>2]=0;j[f+4>>2]=0;A=l+1040|0;f=A;j[f>>2]=0;j[f+4>>2]=0;j[l+1032>>2]=0;j[l+1036>>2]=0;j[l+1024>>2]=0;j[l+1028>>2]=0;B=j[s+4>>2];if((B|0)<1){break i}u=u+p(g-1|0,x)|0;f=-1;m=0;while(1){j:{if(h[m+H|0]<1){break j}i=0;g=0;if((k|0)>=1){while(1){n=i;i=g<<2;i=j[i+(l+1024|0)>>2]-j[i+t>>2]|0;i=n+p(i,i)|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((f|0)<=(i|0)?(f|0)!=-1:0){break j}f=j[q+4>>2];j[K>>2]=j[q>>2];j[K+4>>2]=f;f=j[A+4>>2];j[E>>2]=j[A>>2];j[E+4>>2]=f;f=j[l+1036>>2];j[l+1064>>2]=j[l+1032>>2];j[l+1068>>2]=f;f=j[l+1028>>2];j[l+1056>>2]=j[l+1024>>2];j[l+1060>>2]=f;o=m;f=i}i=0;g=l+1024|0;n=j[l+1024>>2];if((u|0)<=(n|0)){while(1){j[g>>2]=0;i=i+1|0;g=(l+1024|0)+(i<<2)|0;n=j[g>>2];if((u|0)<=(n|0)){continue}break}}if((n|0)>=0){n=n+x|0;j[g>>2]=n}j[g>>2]=0-n;m=m+1|0;if((B|0)!=(m|0)){continue}break}}k:{if((k|0)<1){break k}g=0;if((o|0)<0){break k}while(1){j[t>>2]=j[t>>2]-j[(l+1056|0)+(g<<2)>>2];t=t+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}z=yj(s,o,a)+z|0;G=G+1|0;if((O|0)!=(G|0)){k=j[s>>2];continue}break}i=j[M>>2]}j[b+32>>2]=j[b+32>>2]+z;k=(l+512|0)+(j[i+N>>2]<<2)|0;j[k>>2]=j[k>>2]+z}F=F+1|0;if((F|0)!=(d|0)){continue}break}}r=r+1|0;I=I+1|0;if((I|0)>=(C|0)){break a}if((r|0)<(y|0)){continue}break}}if((r|0)<(y|0)){continue}break}g=j[b+8>>2]}w=w+1|0;if((w|0)<(g|0)){continue}break}}oe=l+1088|0}function GN(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,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-160|0;oe=n;a:{b:{if(Qe(a,119744,13)){break b}c:{switch(k[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=j[e+32>>2];d:{e:{if(!c|!j[c+72>>2]){break e}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(1895527114%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break e}b=(m+(a<<2)|0)-4|0;while(1){f:{a=j[f>>2];if(k[a|0]==70){if(!we(a,118455)){break f}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break e}break}if(j[c+80>>2]){break d}}a=i[c+12>>1];j[c+40>>2]=a;j[n+16>>2]=a;ck(n+32|0,n+16|0);f=Rh(j[e+32>>2],118455,n+32|0);if(f){break a}c=j[e+32>>2];i[c+278660>>1]=1}g:{h:{if(!j[c+72>>2]){break h}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(908209322%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break h}b=(m+(a<<2)|0)-4|0;while(1){i:{a=j[f>>2];if(k[a|0]==70){if(!we(a,118467)){break i}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break h}break}if(j[c+80>>2]){break g}}a=i[c+14>>1];j[c+44>>2]=a;j[n>>2]=a;ck(n+32|0,n);f=Rh(j[e+32>>2],118467,n+32|0);if(f){break a}i[j[e+32>>2]+278660>>1]=1}j[e>>2]=j[e>>2]&-17;j[d>>2]=602;f=0;break a}j:{if(Qe(a,119758,21)){break j}switch(k[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(Qe(a,117052,7)){break k}f=a+7|0;l:{switch(k[a+7|0]){case 9:case 10:case 13:case 32:h[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Rh(j[e+32>>2],a,f);break a}o=j[e+32>>2];f=a;m:{while(1){n:{c=-1;o:{p:{d=k[f|0];switch(d|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((d|0)==32){break n}}f=f+1|0;continue}break}h[f|0]=0;c=d}q:{if(!a){break q}q=k[a|0];if(!q){break q}r=j[o+278688>>2];g=q;d=a;while(1){l=p(l,31)+(g<<24>>24)|0;g=k[d+1|0];d=d+1|0;if(g){continue}break}d=l;l=j[o+278680>>2];d=((d>>>0)%(l>>>0)<<2)+r|0;g=j[d>>2];if(!g){break q}t=((l<<2)+r|0)-4|0;while(1){r:{l=j[g>>2];if(k[l|0]==(q|0)){if(!we(l,a)){break r}}d=d-4|0;d=d>>>0>>0?t:d;g=j[d>>2];if(g){continue}break q}break}d=j[g+4>>2];if(d>>>0>=83){s=(j[o+278668>>2]+(d<<4)|0)-1328|0;break q}s=(d<<4)+117072|0}if((c|0)!=-1){h[f|0]=c;m=c}if(!(j[s+4>>2]!=1?s:0)){if(m&255){h[f|0]=0;f=f+1|0}d=a+b|0;while(1){b=k[f|0];if(!((b|0)!=9?(b|0)!=32:0)){f=f+1|0;continue}break}b=(b|0)==34?f+1|0:f;s:{if(b>>>0>=d>>>0){break s}while(1){t:{u:{d=d-1|0;switch(k[d|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}h[d|0]=0;if(b>>>0>>0){continue}break s}break}h[d|0]=0}f=Rh(j[e+32>>2],a,b);break a}m=e+139304|0;f=og(m,118416,a,b);if(f){break a}d=j[e+139304>>2];c=j[d>>2];a=0;v:{w:{x:{b=j[e+139312>>2];switch(b|0){case 0:break v;case 1:break w;default:break x}}j[d>>2]=j[d+4>>2];f=1;l=b-1|0;if((l|0)!=1){g=1;while(1){b=j[m>>2];g=g+1|0;j[b+(f<<2)>>2]=j[b+(g<<2)>>2];f=f+1|0;if((l|0)!=(f|0)){continue}break}}j[e+139312>>2]=l;if(!l){break v}g=0;b=j[j[m>>2]>>2];f=b;while(1){d=k[f|0];if(d){while(1){h[b+g|0]=d;g=g+1|0;d=k[f+1|0];f=f+1|0;if(d){continue}break}l=j[e+139312>>2]}a=a+1|0;if(l>>>0>a>>>0){h[b+g|0]=32;l=j[e+139312>>2];g=g+1|0}if(a>>>0>>0){f=j[j[m>>2]+(a<<2)>>2];continue}break}a=119537;if((b|0)==119537){break v}h[b+g|0]=0;a=b;break v}j[e+139312>>2]=0}f=Rh(j[e+32>>2],c,a)}oe=n+160|0;return f|0}function fn(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-32|0;oe=e;a:{b:{if(!c){break b}d=j[c+4>>2];f=j[c>>2];j[e+20>>2]=f;j[e+8>>2]=0;j[e+12>>2]=0;j[e+24>>2]=d;j[e+16>>2]=f;f=Ce(e+8|0,8);g=e,i=Ce(e+8|0,8),h[g+2|0]=i;g=e,i=Ce(e+8|0,8),h[g+3|0]=i;g=e,i=Ce(e+8|0,8),h[g+4|0]=i;g=e,i=Ce(e+8|0,8),h[g+5|0]=i;g=e,i=Ce(e+8|0,8),h[g+6|0]=i;g=e,i=Ce(e+8|0,8),h[g+7|0]=i;d=-132;if(Cg(e+2|0,3685,6)){break a}d=-133;c:{d:{switch(f-1|0){case 0:if(j[a+8>>2]|!j[c+8>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=Ce(e+8|0,32);j[a>>2]=c;d=-134;if(c){break a}g=a,i=Ce(e+8|0,8),j[g+4>>2]=i;g=a,i=Ce(e+8|0,32),j[g+8>>2]=i;g=a,i=Ce(e+8|0,32),j[g+12>>2]=i;g=a,i=Ce(e+8|0,32),j[g+16>>2]=i;g=a,i=Ce(e+8|0,32),j[g+20>>2]=i;g=b,i=1<>2]=i;c=1<>2]=c;if(j[a+8>>2]<1|j[a+4>>2]<1|(c|0)>8192){break c}b=j[b>>2];if((b|0)<64|(b|0)>(c|0)){break c}d=0;if((Ce(e+8|0,1)|0)!=1){break c}break a;case 2:if(j[b+12>>2]|!j[a+8>>2]){break a}d=Ce(e+8|0,32);e:{if((d|0)<0|(j[e+24>>2]-8|0)<(d|0)){break e}c=bf(d+1|0,1);j[b+12>>2]=c;if(d){while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=Ce(e+8|0,32);if((a|0)<0|(a|0)>j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)>>2){break e}j[b+8>>2]=a;c=a+1|0;g=b,i=bf(c,4),j[g>>2]=i;g=b,i=bf(c,4),j[g+4>>2]=i;if((a|0)>=1){a=0;while(1){d=Ce(e+8|0,32);if((d|0)<0|(j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)|0)<(d|0)){break e}c=a<<2;j[c+j[b+4>>2]>>2]=d;f=bf(d+1|0,1);j[c+j[b>>2]>>2]=f;if(d){c=j[c+j[b>>2]>>2];while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Mi(b);break b;case 4:break d;default:break a}}if(!j[a+8>>2]|!j[b+12>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=0;if(j[b+24>>2]>0){break a}d=Ce(e+8|0,8);j[b+24>>2]=d+1;if((d|0)<0){break c}while(1){d=uv(e+8|0);j[(b+(c<<2)|0)+1824>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=0;d=Ce(e+8|0,6);if((d|0)<0){break c}while(1){if(Ce(e+8|0,16)){break c}f=(c|0)==(d|0);c=c+1|0;if(!f){continue}break}d=Ce(e+8|0,6);j[b+16>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+800>>2]=d;if(d>>>0>1){break c}d=qe[j[j[(d<<2)+3816>>2]+4>>2]](a,e+8|0)|0;j[f+1056>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+20>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+1312>>2]=d;if(d>>>0>2){break c}d=qe[j[j[(d<<2)+3824>>2]+4>>2]](a,e+8|0)|0;j[f+1568>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+12>>2]=d+1;c=0;if((d|0)<0){break c}while(1){d=b+(c<<2)|0;f=Ce(e+8|0,16);j[d+288>>2]=f;if(f){break c}f=d;d=qe[j[j[959]+4>>2]](a,e+8|0)|0;j[f+544>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=Ce(e+8|0,6);j[b+8>>2]=c+1;d=0;if((c|0)<0){break c}while(1){c=b+(d<<2)|0;g=c,i=bf(1,16),j[g+32>>2]=i;f=Ce(e+8|0,1);j[j[c+32>>2]>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+4>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+8>>2]=f;f=Ce(e+8|0,8);c=j[c+32>>2];j[c+12>>2]=f;if(j[c+4>>2]>0|j[c+8>>2]>0|((f|0)<0|(f|0)>=j[b+12>>2])){break c}d=d+1|0;if((d|0)>2]){continue}break}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Li(a)}d=-133}oe=e+32|0;return d}function mp(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=j[a+4>>2];g:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break g}f=ff(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}r=(f|0)==45?-1:0;f=j[a+4>>2];if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break h}f=ff(a)}j:{if(!(b&-17|(f|0)!=48)){f=j[a+4>>2];k:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break k}f=ff(a)}if((f&-33)==88){b=16;f=j[a+4>>2];l:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break l}f=ff(a)}if(k[f+227617|0]<16){break e}if(!j[a+104>>2]){d=0;e=0;if(c){break a}break b}b=j[a+4>>2];j[a+4>>2]=b-1;if(!c){break b}j[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>k[f+227617|0]){break j}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}d=0;e=0;kg(a,0,0);j[67100]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=p(b,10)+c|0;c=j[a+4>>2];m:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break m}f=ff(a)}c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=hP(g,0,10,0);b=pe;while(1){f=c+i|0;l=f>>>0>>0?b+1|0:b;g=f;i=(l|0)==429496729&f>>>0>=2576980378|l>>>0>429496729;b=j[a+4>>2];n:{if(b>>>0>2]){j[a+4>>2]=b+1;f=k[b|0];break n}f=ff(a)}c=f-48|0;if(i|c>>>0>9){break f}i=hP(g,l,10,0);b=pe;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}j[67100]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=k[f+227617|0];if(c>>>0>>0){while(1){i=p(b,i)+c|0;g=i>>>0<=119304646;c=j[a+4>>2];o:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break o}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){n=hP(g,l,i,0);o=pe;c=c&255;if((o|0)==-1&(c^-1)>>>0>>0){break d}l=o;f=c+n|0;l=f>>>0>>0?l+1|0:l;g=f;o=b;c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break p}f=ff(a)}c=k[f+227617|0];if(o>>>0<=c>>>0){break d}Ag(q,i,0,g,l);if(!(j[q+8>>2]|j[q+12>>2])){continue}break}break d}o=h[(p(b,23)>>>5&7)+227873|0];c=k[f+227617|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=j[a+4>>2];q:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break q}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}i=o;n=i&31;if((i&63)>>>0>=32){o=0;n=-1>>>n|0}else{o=-1>>>n|0;n=(1<>>n}if(!o&g>>>0>n>>>0|b>>>0<=c>>>0){break d}while(1){s=c&255;c=i;f=c&31;if((c&63)>>>0>=32){l=g<>>32-f|l<>2];r:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break r}f=ff(a)}if((l|0)==(o|0)&g>>>0>n>>>0|l>>>0>o>>>0){break d}c=k[f+227617|0];if(c>>>0>>0){continue}break}}if(k[f+227617|0]>=b>>>0){break c}while(1){f=j[a+4>>2];s:{if(f>>>0>2]){j[a+4>>2]=f+1;c=k[f|0];break s}c=ff(a)}if(k[c+227617|0]>>0){continue}break}j[67100]=68;r=d&1?0:r;g=d;l=e}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}t:{if((e|0)==(l|0)&d>>>0>g>>>0|e>>>0>l>>>0){break t}if(!(r|d&1)){j[67100]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(l|0)&d>>>0>=g>>>0|e>>>0>l>>>0){break t}j[67100]=68;break a}a=r;b=a^g;d=b-a|0;c=a>>31;e=(c^l)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;kg(a,0,0)}oe=q+16|0;pe=e;return d}function Ph(a,b,c,d,e){var f=0,g=0,h=0,i=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;i=oe-48|0;oe=i;f=j[a+11748>>2]==2;h=f?a+11760|0:a+11776|0;o=j[h+4>>2];s=1;l=j[h>>2];m=j[c>>2];g=j[c+4>>2];a:{if(!((l|0)!=(m|0)|(g|0)!=(o|0))){d=0;break a}k=j[d>>2];f=f?a+11752|0:a+11768|0;p=j[f+4>>2];q=j[f>>2];r=(l-q|0)+16>>5;l=j[d+4>>2];d=(l-g|0)+16>>5;t=(o-p|0)+16>>5;o=(k-m|0)+16>>5;r=ye(r,d)-ye(t,o)|0;if(!r){d=0;break a}n=De(ye((m-q|0)+16>>5,d)-ye((g-p|0)+16>>5,o)|0,r);d=j[f>>2];d=ye(n,j[h>>2]-d|0)+d|0;o=j[f+4>>2];m=ye(n,j[h+4>>2]-o|0);n=j[f>>2];p=j[h>>2];if((n|0)==(p|0)){q=d-n|0;g=q>>31;d=j[a+11700>>2]>(g^g+q)?n:d}n=m+o|0;f=j[f+4>>2];o=j[h+4>>2];if((f|0)==(o|0)){m=n-f|0;g=m>>31;n=j[a+11700>>2]>(g^g+m)?f:n}g=j[c>>2];if((g|0)==(k|0)){m=d-k|0;f=m>>31;d=j[a+11700>>2]>(f^f+m)?k:d}k=j[c+4>>2];if((k|0)==(l|0)){m=n-l|0;f=m>>31;n=j[a+11700>>2]>(f^f+m)?l:n}g=((g+p|0)/-2|0)+d|0;f=g>>31;f=f^f+g;g=j[a+11696>>2];if((f|0)>(g|0)){break a}k=((k+o|0)/-2|0)+n|0;f=k>>31;if((g|0)<(f^f+k)){break a}f=h;j[f>>2]=d;j[f+4>>2]=n;s=0}k=j[a+11732>>2];f=k;h=j[a+11728>>2];j[i+8>>2]=h;j[i+12>>2]=f;b:{c:{switch(j[a+11748>>2]-2|0){case 0:k=h;j[i+40>>2]=2;d:{if(e){l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(a+3876|0,l);break d}l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(b,l)}o=ye(j[j[a>>2]+60>>2],g);m=ye(j[j[a>>2]+68>>2],l);p=j[a+11656>>2];g=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],l)|0)+j[a+11660>>2]|0;j[i+20>>2]=g;l=p+(m+o|0)|0;j[i+16>>2]=l;if((f|0)==(g|0)?(k|0)==(l|0):0){break b}h=j[a+4>>2];qe[j[h+4>>2]](h,i+8|0);h=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=h;break b;case 2:break c;default:break b}}j[i+40>>2]=4;h=j[a+11764>>2];f=ye(j[a+11644>>2],j[a+11760>>2]);k=ye(j[a+11648>>2],h);h=Sg(b,h);f=f+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],f)+ye(j[j[a>>2]+68>>2],h)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;f=ye(j[j[a>>2]- -64>>2],f)+ye(j[j[a>>2]+72>>2],h)|0;h=a+11660|0;j[i+20>>2]=f+j[h>>2];f=j[a+11772>>2];k=ye(j[a+11644>>2],j[a+11768>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+24>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+28>>2]=v;f=j[a+11780>>2];k=ye(j[a+11644>>2],j[a+11776>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+32>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+36>>2]=v;h=j[a+4>>2];qe[j[h+12>>2]](h,i+8|0);h=j[i+36>>2];j[a+11728>>2]=j[i+32>>2];j[a+11732>>2]=h}e:{if(s^1?!e:0){break e}f:{if(e){b=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],b)|0;b=Sg(a+3876|0,b);break f}e=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],e)|0;b=Sg(b,e)}u=i,v=(ye(j[j[a>>2]+60>>2],g)+ye(j[j[a>>2]+68>>2],b)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;b=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],b)|0)+j[a+11660>>2]|0;j[i+20>>2]=b;if((b|0)==j[a+11732>>2]?j[i+16>>2]==j[a+11728>>2]:0){break e}j[i+40>>2]=2;b=j[a+11732>>2];j[i+8>>2]=j[a+11728>>2];j[i+12>>2]=b;b=j[a+4>>2];qe[j[b+4>>2]](b,i+8|0);b=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=b}if(!s){j[c>>2]=d;j[c+4>>2]=n}oe=i+48|0}function Zm(a,b,c,d,e,f,g,h,i,l,m,n,o){var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;p=oe-112|0;oe=p;j[p+104>>2]=h;j[p+108>>2]=i;j[p+88>>2]=-1;j[p+92>>2]=-1;w=j[a+456>>2];a:{b:{c:{z=!m|!n;if(z){break c}q=n;t=m;while(1){if(j[t>>2]!=(l|0)){t=t+4|0;q=q-1|0;if(q){continue}break c}break}if((l|0)!=(w|0)){s=f;r=g;while(1){j[p+100>>2]=w;s=Ak(a,s,r,m,n,p+100|0,p+104|0);r=pe;if(j[p+100>>2]!=(w|0)){continue}break}}e=o+1|0;j[a+52>>2]=e;d=j[a+56>>2];if(d){ze(d)}d=j[a+64>>2];if(d){ze(d)}d=j[a+60>>2];if(d){ze(d)}d=j[a+52>>2];C=a,D=Te((d<<3)+8|0),j[C+56>>2]=D;C=a,D=Vf(j[a+72>>2],d<<5),j[C+72>>2]=D;C=a,D=Vf(j[a+76>>2],j[a+52>>2]<<4),j[C+76>>2]=D;d=j[a+52>>2];C=a,D=Te(d<<2),j[C+64>>2]=D;C=a,D=Te(d<<3),j[C+60>>2]=D;d=Te(d<<4);j[a+68>>2]=d;a=j[a+56>>2];e=a+(e<<3)|0;j[e>>2]=f;j[e+4>>2]=g;a=a+(o<<3)|0;j[a>>2]=b;j[a+4>>2]=c;b=d+(o<<4|8)|0;a=j[p+104>>2];d=a;c=!!a;a=j[p+108>>2];c=(a|0)>0?1:(a|0)>=0?c:0;j[b>>2]=c?d:0;j[b+4>>2]=c?a:0;break b}j[p+68>>2]=0;j[p+64>>2]=0;b=f;c=g;d:{if((c|0)>(e|0)?1:(e|0)<=(c|0)?d>>>0>>0:0){A=a+24|0;u=f;y=g;while(1){r=e;q=u;s=d;t=y-(e+(q>>>0>>0)|0)|0;if((t|0)>0?1:(t|0)>=0?q-d>>>0>=65536:0){s=e+y|0;r=u;q=r+d|0;s=iP(q,q>>>0>>0?s+1|0:s,2);r=pe}t=0;v=j[a>>2];if(!v){q=-129;break d}if(j[a+8>>2]!=(s|0)|j[a+12>>2]!=(r|0)){q=-128;x=j[a+708>>2];if(!x){break d}if((qe[x|0](v,s,r,0)|0)==-1){break d}j[a+8>>2]=s;j[a+12>>2]=r;if(j[A+4>>2]>=0){q=A;j[q+8>>2]=0;j[q+12>>2]=0;j[q+24>>2]=0;j[q+16>>2]=0;j[q+20>>2]=0}}x=Qf(a,p+72|0,-1,-1);q=pe;v=q;if((x|0)==-128&(q|0)==-1){q=-128;break d}e:{f:{if((v|0)<0){break f}q=j[p+72>>2];B=k[q+14|0]|k[q+15|0]<<8|(k[q+16|0]<<16|k[q+17|0]<<24);q=n;t=m;if(z){break f}while(1){if((B|0)!=j[t>>2]){t=t+4|0;q=q-1|0;if(q){continue}break f}break}d=j[a+8>>2];e=j[a+12>>2];s=u;r=y;break e}u=(v|0)>-1;b=u?x:b;c=u?v:c;u=s;y=r}if((e|0)<(r|0)?1:(e|0)<=(r|0)?d>>>0>>0:0){continue}break}}s=b;r=c;while(1){j[p+12>>2]=w;s=Ak(a,s,r,m,n,p+12|0,p+88|0);r=pe;if(j[p+12>>2]!=(w|0)){continue}break}t=0;d=j[a>>2];if(!d){q=-129;break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){q=-128;e=j[a+708>>2];if(!e){break d}if((qe[e|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}q=Ck(a,p+32|0,p+16|0,p+68|0,p- -64|0,0);if(q){break d}n=j[a+8>>2];r=j[a+12>>2];s=j[a+456>>2];d=cn(a,p+32|0);m=pe;e=o+1|0;q=Zm(a,b,c,j[a+8>>2],j[a+12>>2],f,g,h,i,l,j[p+68>>2],j[p+64>>2],e);if(q){break d}f=j[p+68>>2];if(f){ze(f)}f=e<<3;g=f+j[a+56>>2]|0;j[g>>2]=b;j[g+4>>2]=c;j[j[a+64>>2]+(e<<2)>>2]=s;b=f+j[a+60>>2]|0;j[b>>2]=n;j[b+4>>2]=r;f=j[p+36>>2];b=j[a+72>>2]+(e<<5)|0;j[b>>2]=j[p+32>>2];j[b+4>>2]=f;c=j[p+60>>2];j[b+24>>2]=j[p+56>>2];j[b+28>>2]=c;c=j[p+52>>2];j[b+16>>2]=j[p+48>>2];j[b+20>>2]=c;c=j[p+44>>2];j[b+8>>2]=j[p+40>>2];j[b+12>>2]=c;b=j[a+76>>2]+(e<<4)|0;e=j[p+20>>2];j[b>>2]=j[p+16>>2];j[b+4>>2]=e;c=j[p+28>>2];j[b+8>>2]=j[p+24>>2];j[b+12>>2]=c;e=j[p+92>>2];a=j[a+68>>2];b=o<<4;c=a+(b|8)|0;j[c>>2]=j[p+88>>2];j[c+4>>2]=e;a=a+b|0;j[a+16>>2]=d;j[a+20>>2]=m;c=j[a+24>>2];b=j[a+28>>2]-((d>>>0>c>>>0)+m|0)|0;c=c-d|0;d=c;c=(b|0)>0?1:(b|0)>=0?!!c:0;j[a+24>>2]=c?d:0;j[a+28>>2]=c?b:0;t=1}if(!t){break a}}q=0}oe=p+112|0;return q}function ze(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}d=a-8|0;b=j[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=j[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=j[d+8>>2];b=b>>>3|0;c=j[d+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&mP(-2,b),j[i>>2]=k;break b}j[e+12>>2]=c;j[c+8>>2]=e;break b}h=j[d+24>>2];b=j[d+12>>2];c:{if((d|0)!=(b|0)){c=j[d+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break c}d:{e=d+20|0;c=j[e>>2];if(c){break d}e=d+16|0;c=j[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break b}e=j[d+28>>2];c=(e<<2)+268816|0;e:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break e}i=268516,k=j[67129]&mP(-2,e),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}j[b+24>>2]=h;c=j[d+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[d+20>>2];if(!c){break b}j[b+20>>2]=c;j[c+24>>2]=b;break b}b=j[f+4>>2];if((b&3)!=3){break b}j[67130]=a;j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=j[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(j[67134]==(f|0)){j[67134]=d;a=j[67131]+a|0;j[67131]=a;j[d+4>>2]=a|1;if(j[67133]!=(d|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=d;a=j[67130]+a|0;j[67130]=a;j[d+4>>2]=a|1;j[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=j[f+8>>2];b=b>>>3|0;e=j[f+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&mP(-2,b),j[i>>2]=k;break g}j[c+12>>2]=e;j[e+8>>2]=c;break g}h=j[f+24>>2];b=j[f+12>>2];h:{if((f|0)!=(b|0)){c=j[f+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break h}i:{e=f+20|0;c=j[e>>2];if(c){break i}e=f+16|0;c=j[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break g}e=j[f+28>>2];c=(e<<2)+268816|0;j:{if(j[c>>2]==(f|0)){j[c>>2]=b;if(b){break j}i=268516,k=j[67129]&mP(-2,e),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}j[b+24>>2]=h;c=j[f+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[f+20>>2];if(!c){break g}j[b+20>>2]=c;j[c+24>>2]=b}j[d+4>>2]=a|1;j[a+d>>2]=a;if(j[67133]!=(d|0)){break f}j[67130]=a;return}j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+268552|0;c=j[67128];a=1<>2]}j[b+8>>2]=d;j[a+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=a;return}e=31;j[d+16>>2]=0;j[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}j[d+28>>2]=e;g=(e<<2)+268816|0;l:{m:{c=j[67129];b=1<>2]=d;j[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[g>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=d;j[d+24>>2]=c}j[d+12>>2]=d;j[d+8>>2]=d;break l}a=j[c+8>>2];j[a+12>>2]=d;j[c+8>>2]=d;j[d+24>>2]=0;j[d+12>>2]=c;j[d+8>>2]=a}a=j[67136]-1|0;j[67136]=a;if(a){break a}d=268968;while(1){a=j[d>>2];d=a+8|0;if(a){continue}break}j[67136]=-1}}function aO(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;g=oe;q=g;j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;f=j[b+4>>2];if((f|0)>=1){i=j[b+8>>2];while(1){e=(h[c+i|0]>0)+e|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[a+8>>2]=e;j[a+4>>2]=f;j[a>>2]=j[b>>2];if(e){p=xO(j[b+8>>2],f,e);l=e<<2;o=g-(l+15&-16)|0;i=o;oe=i;if(p){g=0;while(1){c=g<<2;f=c+p|0;d=j[f>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d>>>4&252645135|d<<4&-252645136;d=d>>>2&858993459|d<<2&-858993460;j[f>>2]=d>>>1&1431655765|d<<1&-1431655766;j[c+o>>2]=f;g=g+1|0;if((g|0)!=(e|0)){continue}break}eg(o,e,4,82);n=i-(l+15&-16)|0;oe=n;g=Te(l);j[a+20>>2]=g;d=e>>>0>1?e:1;c=0;while(1){j[n+(j[o+(c<<2)>>2]-p|0)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}i=e>>>0>1?e:1;c=0;while(1){d=c<<2;j[g+(j[d+n>>2]<<2)>>2]=j[d+p>>2];c=c+1|0;if((i|0)!=(c|0)){continue}break}ze(p);t=a,u=hO(b,e,n),j[t+16>>2]=u;l=Te(l);j[a+24>>2]=l;f=0;e=0;g=j[b+4>>2];i=(g|0)<1;if(!i){d=j[b+8>>2];c=0;while(1){if(h[c+d|0]>=1){j[l+(j[n+(e<<2)>>2]<<2)>>2]=c;e=e+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=Te(e);j[a+40>>2]=0;j[a+28>>2]=d;a:{if(i){break a}e=j[b+8>>2];d=0;c=0;while(1){i=h[c+e|0];b:{if((i|0)<1){break b}h[j[a+28>>2]+j[n+(f<<2)>>2]|0]=i;f=f+1|0;e=j[b+8>>2];d=h[e+c|0];i=j[a+40>>2];if((d|0)<=(i|0)){d=i;break b}j[a+40>>2]=d}c=c+1|0;if((c|0)>2]){continue}break}if((f|0)!=1){break a}f=1;if((d|0)!=1){break a}j[a+36>>2]=1;b=a;a=bf(2,4);j[b+32>>2]=a;j[a>>2]=1;j[a+4>>2]=1;oe=q;return 0}g=0;b=j[a+8>>2];b=b?32-s(b)|0:0;b=b>>>0<9?5:b-4|0;k=(b|0)<8?b:8;j[a+36>>2]=k;n=1<>2]=r;if((f|0)>=1){o=j[a+28>>2];d=0;while(1){l=d+o|0;e=h[l|0];if(!((k|0)<(e|0)|(k-e|0)==31)){b=j[j[a+20>>2]+(d<<2)>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=b>>>4&252645135|b<<4&-252645136;b=b>>>2&858993459|b<<2&-858993460;i=b>>>1&1431655765|b<<1&-1431655766;b=d+1|0;c=0;while(1){j[r+((i|c<>2]=b;c=c+1|0;e=h[l|0];if((c|0)<1<1?n:1;n=32-k|0;o=-2<<31-k;d=0;b=0;while(1){k=b<>>8&65280|k>>>24);c=c>>>4&252645135|c<<4&-252645136;c=c>>>2&858993459|c<<2&-858993460;l=r+((c>>>1&357913941|c<<1&715827882)<<2)|0;if(!j[l>>2]){c=d+1|0;i=((c|0)<(f|0)?f:c)-1|0;c=d;while(1){c:{d=c;c=c+1|0;if((f|0)<=(c|0)){d=i;break c}if(k>>>0>=m[j[a+20>>2]+(c<<2)>>2]){continue}}break}d:{if((f|0)<=(g|0)){break d}c=j[a+20>>2];while(1){if(k>>>0<(o&j[c+(g<<2)>>2])>>>0){break d}g=g+1|0;if((g|0)!=(f|0)){continue}break}g=f}c=f-g|0;j[l>>2]=(d>>>0<32767?d:32767)<<15|(c>>>0<32767?c:32767)|-2147483648}b=b+1|0;if((p|0)!=(b|0)){continue}break}oe=q;return 0}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;d=-1}oe=q;return d}function Wm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=oe-48|0;oe=m;g=ys(a,b,c);a:{if((g|0)<0){break a}d=j[a+88>>2];if((d|0)<=3){g=-129;if((d|0)!=3){break a}d=a+480|0;e=j[a+72>>2];b:{if(j[a+4>>2]){g=-137;if(!di(d,e+(j[a+96>>2]<<5)|0)){break b}break a}g=-137;if(di(d,e)){break a}}Rk(a+480|0,a+592|0);j[a+104>>2]=0;j[a+108>>2]=0;j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0}i=a+592|0;n=a+480|0;h=a+120|0;d=0;while(1){c:{e=Kp(h,m+16|0);if((e|0)>=1){e=fm(j[a+72>>2]+(j[a+96>>2]<<5)|0,m+16|0);if((e|0)<=-1){mg(h,0);continue}d:{if(!d){f=j[a+80>>2];d=j[a+84>>2];break d}d=d+e>>2;g=d;f=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d}g=j[j[a+72>>2]+28>>2];l=-1;e:{if(!g){break e}l=j[g+4>>2]}l=l+e>>2;g=l;f=g+f|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;if((c|0)<(d|0)?1:(c|0)<=(d|0)?b>>>0<=f>>>0:0){break c}mg(h,0);TI(i,m+16|0);Dn(n,i);d=j[m+32>>2];l=j[m+36>>2];if((l|0)<0){d=e;continue}q=j[a+68>>2];o=j[a+96>>2];g=q+(o<<4)|0;f=j[g>>2];l=l-(j[g+4>>2]+(d>>>0>>0)|0)|0;d=d-f|0;p=d;d=(l|0)>0?1:(l|0)>=0?!!d:0;f=d?p:0;l=d?l:0;d=l;j[a+80>>2]=f;j[a+84>>2]=d;g=0;if((o|0)<1){d=e;continue}while(1){r=q+(g<<4|8)|0;s=j[r>>2];f=s+f|0;d=j[r+4>>2]+d|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;g=g+1|0;if((o|0)!=(g|0)){continue}break}d=e;continue}f:{switch(e+3|0){case 0:case 3:break f;default:break c}}Qf(a,m,-1,-1);if((pe|0)<0){break c}g:{h:{if(k[j[m>>2]+5|0]&2){wg(n);Yg(i);j[a+88>>2]=2;break h}if(j[a+88>>2]>2){break g}}e=j[m>>2];e=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);f=j[a+52>>2];i:{if((f|0)<1){g=0;break i}l=j[a+64>>2];g=0;while(1){if((e|0)==j[(g<<2)+l>>2]){break i}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((f|0)==(g|0)){continue}j[a+88>>2]=3;j[a+96>>2]=g;d=j[m>>2];j[a+92>>2]=k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24);ph(h,e);d=0;e=j[a+88>>2];if((e|0)>3){break g}if((e|0)!=3){g=-129;break a}e=j[a+72>>2];j:{if(j[a+4>>2]){if(!di(n,e+(j[a+96>>2]<<5)|0)){break j}g=-137;break a}if(!di(n,e)){break j}g=-137;break a}Rk(n,i);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}Ng(h,m);continue}break}j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;g=0;e=j[a+84>>2];d=e;r=j[j[j[a+72>>2]+28>>2]+3656>>2];l=r;i=l;h=i&31;f=j[a+80>>2];p=f;if((i&63)>>>0>=32){i=-1<>>32-h|-1<(h|0)?1:(h|0)<=(e|0)?p>>>0>=s>>>0:0){break a}while(1){e=b;h=e-f|0;i=Qi(n,0);p=i;t=i;f=c-((f>>>0>e>>>0)+d|0)|0;d=l;e=d&31;if((d&63)>>>0>=32){d=f>>31;e=f>>e}else{d=f>>e;e=((1<>>e}q=e;e=d;f=p>>31;i=((d|0)<(f|0)?1:(d|0)<=(f|0)?q>>>0>>0:0)?q:i;d=i+j[n+24>>2]|0;if(!((d|0)>j[n+20>>2]?i:0)){j[n+24>>2]=d}d=i<>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0

>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;h=i>>31;k:{if((e|0)<(h|0)?1:(h|0)>=(e|0)?i>>>0>=q>>>0:0){break k}if((rs(a)|0)>=1){f=j[a+80>>2];d=j[a+84>>2];break k}f=Gi(a,-1);e=pe;d=e;j[a+80>>2]=f;j[a+84>>2]=d}if((d|0)<(o|0)?1:(d|0)<=(o|0)?f>>>0>>0:0){continue}break}}oe=m+48|0;return g}function ao(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 m=0;m=h^255;a:{b:{c:{d:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];i[d>>1]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;i[m>>1]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];i[d>>1]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];j[d>>2]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;j[m>>2]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];j[d>>2]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]=0;j[q+24>>2]=0;j[q+20>>2]=0;j[q+16>>2]=0;j[q+12>>2]=0;i=-1;a:{if((_h(b,c,d,e,q+28|0,q+24|0,q+20|0,q+16|0,q+12|0)|0)<0){break a}b:{c:{d:{e:{f:{k=j[58753];switch(k|0){case 0:break b;case 2:break d;case 1:break e;case 3:break f;default:break c}}if((b|0)>576){break d}}k=1;break b}k=2;break b}k=1;if((ve(99823,0)|0)<0){break a}}i=j[q+12>>2];l=j[q+16>>2];m=j[q+20>>2];n=j[q+24>>2];o=j[q+28>>2];g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)<=1431918168){u:{switch(c-842094158|0){case 0:break r;case 11:break t;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break h;default:break u}}if((c|0)==825382478){break r}if((c|0)==844715353){break s}break h}if((c|0)==1431918169|(c|0)==1498831189){break s}if((c|0)!=1448433993){break h}}v:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break q}if((f|0)!=370546692){break v}break i}if((f|0)!=371595268){if((f|0)==372645892){break i}if((f|0)!=373694468){break v}}Ht(a,b,o,n,m,l,i,g,h,k);i=0;break a}w:{if((f|0)<=376840195){if((f|0)==374740996){break w}if((f|0)!=375789572){break v}break j}if((f|0)==376840196){break w}if((f|0)==377888772){break j}if((f|0)!=386930691){break v}It(a,b,o,n,m,l,i,g,h,k);i=0;break a}Et(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((c|0)==1431918169){break s}if((c|0)!=844715353){break h}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break p}if((f|0)!=370546692){break g}break k}if((f|0)!=371595268){if((f|0)==372645892){break k}if((f|0)!=373694468){break g}}Bt(a,b,o,n,m,l,i,g,h,k);i=0;break a}x:{if((f|0)<=376840195){if((f|0)==374740996){break x}if((f|0)!=375789572){break g}break l}if((f|0)==376840196){break x}if((f|0)==377888772){break l}if((f|0)!=386930691){break g}Ct(a,b,o,n,m,l,i,g,h,k);i=0;break a}xt(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break o}if((f|0)!=370546692){break g}break m}if((f|0)!=371595268){if((f|0)==372645892){break m}if((f|0)!=373694468){break g}}ut(a,b,o,n,m,l,i,g,h,k);i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break g}break n}if((f|0)==376840196){break y}if((f|0)==377888772){break n}if((f|0)!=386930691){break g}vt(a,b,o,n,m,l,i,g,h,k);i=0;break a}rt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Jt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Dt(a,b,o,n,m,l,i,g,h,k);i=0;break a}wt(a,b,o,n,m,l,i,g,h,k);i=0;break a}tt(a,b,o,n,m,l,i,g,h,k);i=0;break a}st(a,b,o,n,m,l,i,g,h,k);i=0;break a}zt(a,b,o,n,m,l,i,g,h,k);i=0;break a}yt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Gt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Ft(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)!=372645892){break g}i=ve(99642,0);break a}l=a<<2;i=p(l,b);k=qe[j[57972]](i?i:1)|0;if(k){j[57976]=j[57976]+1}if(!k){i=Be(0);break a}i=jn(a,b,c,d,e,372645892,k,l);if((i|0)>-1){i=fh(a,b,372645892,k,l,f,g,h)}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}}oe=q+32|0;return i}function Yy(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,m=0,n=0,o=0,q=0,r=0,s=0;Oe(b,k[262239],c);qe[j[57813]](j[65569],b,c);r=sg();if(j[65565]>=1){a=j[65566];q=128;while(1){h=p(i,60);d=h+a|0;a:{if(j[d+8>>2]){break a}e=j[d+28>>2];b:{if(!(!e|e>>>0>=r>>>0)){j[d+36>>2]=0;j[d+20>>2]=0;j[d+4>>2]=0;j[d+28>>2]=0;d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;break b}g=j[d+36>>2];if(!g){break b}a=j[d+48>>2];e=r-j[d+52>>2]|0;if(a>>>0<=e>>>0){Gj(i,j[d+44>>2]);d=j[65566];a=h+d|0;if(j[a+36>>2]==1){j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;a=j[65570];if(a){qe[a|0](i);d=j[65566]}a=d+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}d=j[65566]}j[e+56>>2]=0}j[(d+h|0)+36>>2]=0;break b}d=j[d+40>>2];if((g|0)==1){Gj(i,(p(d,a-e|0)>>>0)/(a>>>0)|0);break b}Gj(i,(p(d,e)>>>0)/(a>>>0)|0)}a=j[65566];d=j[(h+a|0)+4>>2];if((d|0)<1){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)>(e|0)?e:d;a=a+h|0;q=(p(j[a+16>>2],k[j[a>>2]+12|0])|0)/128|0;d=j[a+12>>2];a=j[a+56>>2];d:{if(!a){break d}e=qe[j[57972]](f?f:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break d}Ge(e,d,f);while(1){d=j[a>>2];if(d){qe[d|0](i,e,f,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}d=e}kl(b+g|0,d,l[131118],f,q);a=j[65566];if(j[(h+a|0)+12>>2]!=(d|0)){if(d){qe[j[57975]](d);j[57976]=j[57976]-1}a=j[65566];d=j[(h+a|0)+12>>2]}e=a+h|0;j[e+12>>2]=d+f;d=j[e+4>>2]-f|0;j[e+4>>2]=d;g=f+g|0;if(!d){if(j[e+20>>2]){d=0;break c}d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];f=j[a+4>>2];if(f){qe[f|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;a=j[65566];d=j[(h+a|0)+4>>2]}if((c|0)<=(g|0)){break c}if((d|0)>0){continue}break}}e=a+h|0;s=e+20|0;f=j[e+20>>2];o=!f;e:{if(!f|(c|0)<=(g|0)){break e}d=j[e>>2];e=j[d+4>>2];n=j[d+8>>2];while(1){d=c-g|0;m=(d|0)>(n|0)?n:d;a=j[(a+h|0)+56>>2];f:{if(!a){break f}d=qe[j[57972]](m?m:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break f}Ge(d,e,m);while(1){e=j[a>>2];if(e){qe[e|0](i,d,m,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}e=d}kl(b+g|0,e,l[131118],m,q);a=j[65566];if(j[j[h+a>>2]+4>>2]!=(e|0)){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}a=j[65566]}d=a+h|0;e=d;s=d+20|0;f=j[d+20>>2];if((f|0)>=1){f=f-1|0;j[e+20>>2]=f}n=j[d>>2];e=j[n+4>>2];j[d+12>>2]=m+e;o=d;n=j[n+8>>2];d=n-m|0;j[o+4>>2]=d;o=!f;g=g+m|0;if((g|0)>=(c|0)){break e}if(f){continue}break}}if(d|o){break a}d=a+h|0;e=d;if((f|0)>=1){j[s>>2]=f-1}o=d;d=j[d>>2];j[o+12>>2]=j[d+4>>2];j[e+4>>2]=j[d+8>>2]}i=i+1|0;if((i|0)>2];if(d){qe[d|0](-2,b,c,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}}a=j[65568];if(a){qe[a|0](j[65567],b,c)}}function dp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=a+b|0;a:{b:{c=j[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=j[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=j[67133]){if(c>>>0<=255){e=c>>>3|0;c=j[a+8>>2];d=j[a+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&mP(-2,e),j[i>>2]=k;break b}j[c+12>>2]=d;j[d+8>>2]=c;break b}h=j[a+24>>2];c=j[a+12>>2];c:{if((c|0)!=(a|0)){d=j[a+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break c}d:{d=a+20|0;e=j[d>>2];if(e){break d}d=a+16|0;e=j[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break b}d=j[a+28>>2];e=(d<<2)+268816|0;e:{if(j[e>>2]==(a|0)){j[e>>2]=c;if(c){break e}i=268516,k=j[67129]&mP(-2,d),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}j[c+24>>2]=h;d=j[a+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[a+20>>2];if(!d){break b}j[c+20>>2]=d;j[d+24>>2]=c;break b}c=j[f+4>>2];if((c&3)!=3){break b}j[67130]=b;j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[f>>2]=b;return}c=j[f+4>>2];f:{if(!(c&2)){if(j[67134]==(f|0)){j[67134]=a;b=j[67131]+b|0;j[67131]=b;j[a+4>>2]=b|1;if(j[67133]!=(a|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=a;b=j[67130]+b|0;j[67130]=b;j[a+4>>2]=b|1;j[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=j[f+8>>2];d=j[f+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&mP(-2,e),j[i>>2]=k;break g}j[c+12>>2]=d;j[d+8>>2]=c;break g}h=j[f+24>>2];c=j[f+12>>2];h:{if((f|0)!=(c|0)){d=j[f+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break h}i:{d=f+20|0;e=j[d>>2];if(e){break i}d=f+16|0;e=j[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break g}d=j[f+28>>2];e=(d<<2)+268816|0;j:{if(j[e>>2]==(f|0)){j[e>>2]=c;if(c){break j}i=268516,k=j[67129]&mP(-2,d),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}j[c+24>>2]=h;d=j[f+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[f+20>>2];if(!d){break g}j[c+20>>2]=d;j[d+24>>2]=c}j[a+4>>2]=b|1;j[a+b>>2]=b;if(j[67133]!=(a|0)){break f}j[67130]=b;return}j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+268552|0;d=j[67128];c=1<>2]}j[b+8>>2]=a;j[c+12>>2]=a;j[a+12>>2]=b;j[a+8>>2]=c;return}d=31;j[a+16>>2]=0;j[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}j[a+28>>2]=d;c=(d<<2)+268816|0;l:{e=j[67129];g=1<>2]=a;j[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=j[c>>2];while(1){e=c;if((j[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=j[g+16>>2];if(c){continue}break}j[g+16>>2]=a;j[a+24>>2]=e}j[a+12>>2]=a;j[a+8>>2]=a;return}b=j[e+8>>2];j[b+12>>2]=a;j[e+8>>2]=a;j[a+24>>2]=0;j[a+12>>2]=e;j[a+8>>2]=b}}function Wh(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0;e=35;a:{if(!a|!j[a+88>>2]){break a}d=j[a+84>>2];if(!d){break a}e=j[d+156>>2];b:{if(!(!e|!(h[e+4|0]&1))){e=j[j[d+4>>2]+100>>2];f=j[d+88>>2];if(f){qe[j[e+8>>2]](e,f)}j[d+88>>2]=0;e=j[d+156>>2];j[e+4>>2]=j[e+4>>2]&-2;break b}j[d+88>>2]=0}j[d+24>>2]=0;j[d+28>>2]=0;j[d+72>>2]=0;j[d+76>>2]=0;j[d+100>>2]=0;j[d+104>>2]=0;h[d+94|0]=0;j[d+32>>2]=0;j[d+36>>2]=0;j[d+40>>2]=0;j[d+44>>2]=0;j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=0;j[d+60>>2]=0;j[d+80>>2]=0;j[d+84>>2]=0;j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;j[d+124>>2]=0;j[d+128>>2]=0;j[d+132>>2]=0;j[d+136>>2]=0;j[d+140>>2]=0;j[d+144>>2]=0;j[d+148>>2]=0;j[d+152>>2]=0;e=j[a+96>>2];c:{d:{c=c&1024?c|2049:c;i=c&1?c&-15|10:c;if(i&32770){break d}f=j[j[e+4>>2]+160>>2];if(!f){break d}m=j[j[e>>2]>>2];if((m&768)!=256){break d}c=j[a+8>>2];if(c&8192){break d}e:{if(i&2048){break e}n=j[a+128>>2];g=j[n>>2];if(!j[n+8>>2]){if(g){break e}break d}if(g){break d}}if(!(i&32|(i&983040)==65536|(k[j[a+128>>2]+52|0]|!(m&1024)))){if(!(c&8)|!j[a+696>>2]|(l[a+286>>1]|j[a+628>>2])){break d}if(j[a+636>>2]){break d}}f:{if(!(c&2)|i&8){break f}if(qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i|16384)|0){break f}c=0;if(j[d+72>>2]==1651078259){break c}}e=j[a+128>>2];g=j[e+24>>2];j[e+24>>2]=0;c=qe[j[j[j[f>>2]+20>>2]+12>>2]](f,d,j[a+88>>2],b,i)|0;j[e+24>>2]=g;break c}e=qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i)|0;if(e){break a}c=0;if(j[d+72>>2]!=1869968492){break c}e=yO(d+108|0);if(e){break a}if(i&2){break c}b=d;g:{if(i&16){j[d+32>>2]=j[d+32>>2]&-64;e=j[d+44>>2];f=e&-64;j[d+44>>2]=f;g=j[d+48>>2];m=g&-64;j[d+48>>2]=m;j[d+36>>2]=j[d+36>>2]+63&-64;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=((g+j[d+28>>2]|0)+63&-64)-m|0;break g}j[d+44>>2]=j[d+44>>2]&-64;j[d+48>>2]=j[d+48>>2]&-64;e=j[d+32>>2];f=e&-64;j[d+32>>2]=f;g=j[d+36>>2];m=g+63&-64;j[d+36>>2]=m;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=m-(g-j[d+28>>2]&-64)|0}j[b+28>>2]=e;j[d+40>>2]=j[d+40>>2]+32&-64;j[d+52>>2]=j[d+52>>2]+32&-64}b=d;h:{if(i&16){f=0;e=j[d+52>>2];break h}f=j[d+40>>2];e=0}j[b+64>>2]=f;j[d+68>>2]=e;if(!(!(h[a+8|0]&1)|i&8192)){b=j[a+88>>2];o=d,p=Ne(j[d+56>>2],j[b+16>>2],64),j[o+56>>2]=p;o=d,p=Ne(j[d+60>>2],j[b+20>>2],64),j[o+60>>2]=p}b=c;i:{if(i&2048){break i}g=j[a+128>>2];f=j[g+24>>2];b=c;if(!f){break i}j:{k:{a=j[j[j[d+4>>2]+96>>2]+4>>2];e=j[a+156>>2];l:{if(!e){b=j[d+72>>2];break l}b=j[d+72>>2];if((b|0)==j[e+16>>2]){break k}}a=j[a+148>>2];if(a){while(1){e=j[a+8>>2];if(j[e+16>>2]==(b|0)){break k}a=j[a+4>>2];if(a){continue}break}}m:{if((b|0)!=1869968492){break m}if(f&1){Ah(d+108|0,g);f=j[g+24>>2]}if(!(f&2)){break m}Tf(d+108|0,j[g+16>>2],j[g+20>>2])}break j}c=qe[j[j[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}Tg(d- -64|0,g);b=c}e=b;if(e){break a}e=0;a=j[d+72>>2];if(!(i&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=i>>>16&15;e=js(d,a?a:i>>>11&2)}return e}function PM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(m[a+404>>2]>=a+32>>>0){d=j[a+20>>2];h=j[a+412>>2];g=h;c=j[a+16>>2];e=k[c|0];a:{if((e|0)==30){c=Jf(c,d,0,0);break a}b:{c:{d:{e:{switch(e-28|0){case 0:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break c;case 1:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(e>>>0<=246){b=e-139|0;break b}f=c+2|0;if(e>>>0<=250){if(d>>>0>>0){break b}b=(k[c+1|0]|e<<8)-63124|0;break c}if(d>>>0>>0){break b}b=64148-(k[c+1|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break a}}c=(b|0)<-32767?-2147483647:b<<16;break a}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[g+84>>2]=b;f=j[a+24>>2];e=h;c=j[a+20>>2];d=k[c|0];f:{if((d|0)==30){c=Jf(c,f,0,0);break f}g:{h:{i:{j:{switch(d-28|0){case 0:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break h;case 1:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(d>>>0<=246){b=d-139|0;break g}g=c+2|0;if(d>>>0<=250){b=0;if(f>>>0>>0){break g}b=(k[c+1|0]|d<<8)-63124|0;break h}b=0;if(f>>>0>>0){break g}b=64148-(k[c+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[e+88>>2]=b;f=j[a+28>>2];b=j[a+24>>2];d=k[b|0];k:{if((d|0)==30){c=Jf(b,f,0,0);break k}l:{m:{n:{switch(d-28|0){case 0:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break l;case 1:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(d<<16)-9109504|0;if(d>>>0<=246){break k}g=b+2|0;if(d>>>0<=250){c=0;if(f>>>0>>0){break k}b=(k[b+1|0]|d<<8)-63124|0;break l}c=0;if(f>>>0>>0){break k}b=64148-(k[b+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}b=c;d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[e+92>>2]=d;e=j[a+32>>2];b=j[a+28>>2];c=k[b|0];o:{if((c|0)==30){a=Jf(b,e,0,0);break o}p:{q:{r:{switch(c-28|0){case 0:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8;b=(a<<24|a<<8&16711680)>>16;break p;case 1:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}a=(c<<16)-9109504|0;if(c>>>0<=246){break o}d=b+2|0;if(c>>>0<=250){a=0;if(d>>>0>e>>>0){break o}b=(k[b+1|0]|c<<8)-63124|0;break p}a=0;if(d>>>0>e>>>0){break o}b=64148-(k[b+1|0]|c<<8)|0}a=2147483647;if((b|0)>32767){break o}}a=(b|0)<-32767?-2147483647:b<<16}b=a;c=b+32768&-65536;if((b|0)<0){c=0-(32768-b&-65536)|0}j[h+96>>2]=c;a=0}else{a=161}return a|0}function lN(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;b=oe-160|0;oe=b;a:{if(!$i(48)){if(j[57790]){b:{if(kv(b+136|0)){i=b,k=Jg(),j[i+112>>2]=k;$g(1503,b+112|0);c=j[b+144>>2];a=j[b+140>>2];break b}a=j[b+140>>2];if(j[58880]){j[57789]=a;c=j[b+144>>2];j[57788]=c;break b}g=+(a|0)*.8;c:{if(r(g)<2147483648){d=~~g;break c}d=-2147483648}j[57789]=d;c=j[b+144>>2];g=+(c|0)*.8;d:{if(r(g)<2147483648){d=~~g;break d}d=-2147483648}j[57788]=d}j[b+100>>2]=c;j[b+96>>2]=a;$g(1584,b+96|0)}Yo(1612,1645);a=ev(j[57789],j[57788]);j[58883]=a;if(!a){break a}a=al(a,-1,4);j[58882]=a;if(!a){break a}if(j[58880]){pn(j[58883],1);a=j[58882]}DA(a);j[b+88>>2]=0;j[b+92>>2]=1073741824;j[b+80>>2]=1647;$g(1654,b+80|0);fi(j[58882],0,0,0,0);if((Yq(3)&3)!=3){i=b,k=Jg(),j[i+64>>2]=k;ji(1686,b- -64|0)}if(!QD()){a=wD();j[60723]=-754974721;j[60724]=-1274410486;j[60721]=a;j[b+136>>2]=0;c=0;while(1){j[b+32>>2]=c;ek(b+136|0,4,1729,b+32|0);j[b+28>>2]=j[60723];i=242904,k=Zj(j[60721],b+136|0,b+28|0),j[i>>2]=k;Yj(j[60721],2);j[b+24>>2]=j[60724];i=242900,k=Zj(j[60721],b+136|0,b+24|0),j[i>>2]=k;Yj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];e=j[a+4>>2];f=p(c,60);h=f+242928|0;d=h;j[d>>2]=j[a>>2];j[d+4>>2]=e;j[f+242984>>2]=j[a+56>>2];e=j[a+52>>2];d=f+242976|0;j[d>>2]=j[a+48>>2];j[d+4>>2]=e;e=j[a+44>>2];d=f+242968|0;j[d>>2]=j[a+40>>2];j[d+4>>2]=e;e=j[a+36>>2];d=f+242960|0;j[d>>2]=j[a+32>>2];j[d+4>>2]=e;e=j[a+28>>2];d=f+242952|0;j[d>>2]=j[a+24>>2];j[d+4>>2]=e;e=j[a+20>>2];d=f+242944|0;j[d>>2]=j[a+16>>2];j[d+4>>2]=e;d=j[a+12>>2];f=f+242936|0;j[f>>2]=j[a+8>>2];j[f+4>>2]=d;i=(c<<2)+260928|0,k=Yk(j[58882],h),j[i>>2]=k;c=c+1|0;if((c|0)!=300){continue}break}j[b+16>>2]=-1;ek(b+136|0,4,1729,b+16|0);j[b+12>>2]=j[60723];i=242904,k=Zj(j[60721],b+136|0,b+12|0),j[i>>2]=k;Yj(j[60721],2);j[b+8>>2]=j[60724];i=242900,k=Zj(j[60721],b+136|0,b+8|0),j[i>>2]=k;Yj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];c=j[a+4>>2];j[65217]=j[a>>2];j[65218]=c;c=j[a+12>>2];j[65219]=j[a+8>>2];j[65220]=c;c=j[a+20>>2];j[65221]=j[a+16>>2];j[65222]=c;c=j[a+28>>2];j[65223]=j[a+24>>2];j[65224]=c;c=j[a+36>>2];j[65225]=j[a+32>>2];j[65226]=c;c=j[a+44>>2];j[65227]=j[a+40>>2];j[65228]=c;c=j[a+52>>2];j[65229]=j[a+48>>2];j[65230]=c;j[65231]=j[a+56>>2];i=262124,k=Yk(j[58882],260868),j[i>>2]=k;kf(j[60726]);kf(j[60725]);j[65532]=0;j[65533]=-1;j[58915]=1771;j[58911]=1435;j[58910]=1748;j[58916]=0;j[58912]=0;ol();Jo();j[58889]=0;j[58890]=0;j[58887]=0;j[58888]=0;j[58903]=2;i=235616,k=Qp(j[58882],1293),j[i>>2]=k;i=235620,k=Qp(j[58882],1321),j[i>>2]=k;Zx();_n();j[58886]=0;tc(1,0,1);break a}i=b,k=Jg(),j[i+48>>2]=k;ji(1734,b+48|0);U(1);z()}i=b,k=Jg(),j[i+128>>2]=k;ji(1802,b+128|0)}oe=b+160|0}function ur(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=oe-16|0;oe=q;e=j[a+72>>2];r=j[a+64>>2];n=j[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(j[a>>2]){case 0:if(Fe(j[a+164>>2],2)){break f}if((Dm(j[a+164>>2],q+12|0,1)|0)!=1){break f}f=k[q+12|0];j[a+44>>2]=f&128;g=f&31;j[a+40>>2]=g;d=1<>2]=d-256;if(g>>>0>16){break f}j[a+52>>2]=9;j[a+56>>2]=f>>>7;j[a+60>>2]=g>>>0>9?256:d-255|0;e=0;f=om(a);if(f>>>0>255){break f}if(b){h[b|0]=f}if(c>>>0<2){break e}g=1;j[a>>2]=1;n=f;r=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}d=0;break b}d=1;n=f;r=f;break a}d=1}while(1){h:{if(!d){p=om(a);d=g;if((p|0)<0){break b}i:{j:{k:{while(1){if((p|0)!=256){break k}if(!j[a+44>>2]){break j}h[a+32|0]=1;r=0;j[a+56>>2]=0;n=0;p=om(a);if((p|0)>=0){continue}break}d=g;break b}f=p;if(f>>>0<256){break i}}f=p;d=f-256|0;e=j[a+56>>2];if(d>>>0>=e>>>0){if(d>>>0>e>>>0){break h}d=j[a+92>>2];e=j[a+96>>2];l:{if(d>>>0>>0){e=j[a+88>>2];break l}f=((e>>>1|0)+e|0)+4|0;s=j[a+168>>2];m:{n:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}o=0;j[a+88>>2]=0;d=f>>>0<65536?f:65536;e=0;break m}if((e|0)==65536){break h}}e=xe(s,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+e|0]=n;f=r;if(f>>>0<256){break i}}s=a+100|0;d=j[a+76>>2];while(1){if(!d){break h}d=j[a+92>>2];e=j[a+96>>2];o:{if(d>>>0>>0){e=j[a+88>>2];break o}d=((e>>>1|0)+e|0)+4|0;t=j[a+168>>2];o=j[a+88>>2];p:{if((s|0)!=(o|0)){if(d>>>0<=65536){break p}d=65536;if((e|0)==65536){break h}break p}o=0;j[a+88>>2]=0;d=d>>>0<65536?d:65536;e=0}e=xe(t,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}f=f-256|0;o=k[f+j[a+80>>2]|0];j[a+92>>2]=d+1;h[d+e|0]=o;d=j[a+76>>2];f=l[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=j[a+92>>2];n=j[a+96>>2];q:{if(d>>>0>>0){n=j[a+88>>2];break q}e=((n>>>1|0)+n|0)+4|0;s=j[a+168>>2];r:{s:{t:{u:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(e>>>0>65536){break u}d=e;break t}o=0;j[a+88>>2]=0;d=e>>>0<65536?e:65536;n=0;break t}if((n|0)==65536){break s}}n=xe(s,1,n,d,o,q+12|0);j[a+88>>2]=n;if(!j[q+12>>2]){break r}}n=f;break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+n|0]=f;j[a>>2]=2;n=f;e=p;p=g;d=1;continue}v:{while(1){g=j[a+92>>2];if(!g){break v}g=g-1|0;j[a+92>>2]=g;if(b){h[b+p|0]=k[g+j[a+88>>2]|0]}p=p+1|0;if((p|0)!=(c|0)){continue}break}d=c;break a}d=j[a+56>>2];if(d>>>0>2]){g=j[a+84>>2];if(g>>>0<=d>>>0){f=g?g+(g>>>2|0)|0:512;o=xe(j[a+168>>2],3,g,f,j[a+76>>2],q+12|0);j[a+76>>2]=o;d=p;if(j[q+12>>2]){break b}d=o+(f<<1)|0;j[a+80>>2]=d;zg(d,o+(g<<1)|0,g);j[a+84>>2]=f;d=j[a+56>>2]}i[j[a+76>>2]+(d<<1)>>1]=r;h[j[a+80>>2]+d|0]=n;j[a+56>>2]=j[a+56>>2]+1}j[a>>2]=1;r=e;g=p;d=0;continue}break}e=p;d=g}j[a>>2]=3}j[a+72>>2]=e;j[a+68>>2]=n;j[a+64>>2]=r;oe=q+16|0;return d}function ho(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=oe-32|0;oe=o;g=j[b+76>>2];m=j[a+436>>2];i=Vg();f=j[m>>2];a:{if((i|0)!=(f|0)){j[m+424>>2]=0;if((tg(j[a+188>>2],f)|0)<0){break a}}f=j[a+436>>2];if(!j[f+4>>2]){break a}while(1){if(qe[j[f+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[m+360>>2]=0;qe[j[m+20>>2]](j[g+4>>2],j[g>>2]);i=m;q=j[g+4>>2];r=j[c>>2];k=j[c+4>>2];s=j[c+8>>2];t=j[c+12>>2];u=j[g+8>>2];v=j[g+12>>2];h=d;n=e;f=j[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){l=2;if((f|0)==844715353|(f|0)==1498831189){break c}l=(f|0)==1431918169?2:1;break c}l=f&255}Zz(i,q,r,k,s,t,u,v,h,n,l);d:{e:{f:{g:{if(j[g+24>>2]){f=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?32:36)>>2]);k=(e+1|0)/2|0;i=p(e,f)+d|0;d=j[c+8>>2];if(d+2>>>0<3){break e}f=j[c+12>>2];if(f+2>>>0<3){break e}e=0;s=j[g+4>>2];t=j[c>>2]/2|0;u=j[c+4>>2]/2|0;n=(d+1|0)/2|0;q=n;l=(f+1|0)/2|0;r=l;v=j[g+8>>2];w=j[g+12>>2];if((k|0)!=(n|0)){d=p(n,l);e=qe[j[57972]](d?d:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break g}d=0;if((f|0)>0){f=e;h=i;while(1){Ge(f,h,n);h=h+k|0;f=f+n|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=e}else{d=i}qe[j[m+160>>2]](s,0,t,u,q,r,v,w,d);if(!e){break e}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break e}if(!j[g+28>>2]){break d}b=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+36>>2]);k=j[c+8>>2];if(k+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;i=(h+1|0)/2|0;f=p(b,e)+d|0;g=j[g+4>>2];k=(k+1|0)/2|0;d=k<<1;q=(e+1|0)/2<<1;h:{if((d|0)==(q|0)){e=0;break h}b=p(d,i);e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break f}b=0;if((h|0)>0){c=e;while(1){Ge(c,f,d);f=f+q|0;c=c+d|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}f=e}qe[j[m+160>>2]](g,0,l,n,k,i,6410,5121,f);if(!e){break d}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break d}Be(0);break e}Be(0);break d}d=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?36:32)>>2]);b=j[c+8>>2];if(b+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;e=(h+1|0)/2|0;f=i+p(k,(d+1|0)/2|0)|0;q=j[g+12>>2];r=j[g+8>>2];g=j[g+4>>2];i:{b=(b+1|0)/2|0;j:{if((b|0)==(k|0)){d=0;break j}c=p(b,e);c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}d=c;if(!c){break i}i=0;if((h|0)>0){while(1){Ge(c,f,b);f=f+k|0;c=b+c|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=d}qe[j[m+160>>2]](g,0,l,n,b,e,r,q,f);if(!d){break d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}break d}Be(0)}h=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}f=qe[j[a+104>>2]]()|0;if(!f){break b}while(1){c=76063;b=f-1280|0;if(b>>>0<=5){c=j[(b<<2)+76072>>2]}j[o+20>>2]=f;j[o+16>>2]=c;j[o+12>>2]=75458;j[o+8>>2]=1662;j[o+4>>2]=74206;j[o>>2]=75440;ve(75966,o);f=qe[j[a+104>>2]]()|0;if(f){continue}break}h=-1}oe=o+32|0;return h|0}function xs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0,n=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;o=oe-416|0;oe=o;y=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!sk(b)){Qm(a,b);c=(j[j[a>>2]+12>>2]<<3)+112816|0;d=j[c>>2];if((d|0)!=759){z=a+1616|0;A=a+44|0;while(1){q=c;f=d+112048|0;c=k[f|0];a:{if(!c){break a}v=k[q+4|0]&2?A:z;t=0;m=0;w=1;while(1){d=c&255;f=f+1|0;if(c<<24>>24<=-1){c=d>>>0<240;e=d>>>0<224;d=(e?31:c?15:7)&d;n=e?1:c?2:3;e=n;c=f;while(1){d=k[c|0]&63|d<<6;c=c+1|0;e=e-1|0;if(e){continue}break}f=f+n|0}b:{if((d|0)!=124){c=0;e=j[j[a+36>>2]>>2];c:{if(!e){break c}e=j[e+92>>2];if(!e){break c}c=qe[j[j[e+12>>2]+12>>2]](e,d)|0}if(!c){break b}if(Wh(b,c,1)){break b}d=j[b+84>>2];if(i[d+110>>1]<1){break b}c=0;x=i[d+108>>1];d:{if((x|0)<1){d=0;break d}B=j[d+120>>2];s=j[d+112>>2];e=-1;u=0;d=0;while(1){n=i[(u<<1)+B>>1];e:{if((n|0)<=(c|0)){break e}r=l[q+4>>1];g=r&1;if(r&2){if(g){while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break}break e}if(g){while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)!=(n|0);c=c+1|0;if(g){continue}break}}c=n+1|0;u=u+1|0;if((x|0)!=(u|0)){continue}break}}if(w){j[(o+208|0)+(t<<2)>>2]=d;t=t+1|0;break b}j[(m<<2)+o>>2]=d;m=m+1|0}w=0}c=k[f|0];if(c){continue}break}if(!(m|t)){break a}f=1;if(t>>>0>=2){while(1){e=j[(o+208|0)+(f<<2)>>2];c=f;while(1){d=c-1|0;n=(o+208|0)+(d<<2)|0;s=j[n>>2];if((s|0)>(e|0)){j[(o+208|0)+(c<<2)>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((t|0)!=(f|0)){continue}break}}f=1;if(m>>>0>=2){while(1){e=j[(f<<2)+o>>2];c=f;while(1){d=c-1|0;n=(d<<2)+o|0;s=j[n>>2];if((s|0)>(e|0)){j[(c<<2)+o>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((m|0)!=(f|0)){continue}break}}c=j[v+216>>2];j[v+216>>2]=c+1;c=p(c,28)+v|0;f=c;f:{g:{if(!(!m|!t)){d=j[(o+208|0)+(t<<1&-4)>>2];j[c+220>>2]=d;e=j[(m<<1&-4)+o>>2];j[f+232>>2]=e;if((d|0)==(e|0)){break g}m=l[q+4>>1];if(m&1^(d|0)<=(e|0)){break f}n=f;f=(d+e|0)/2|0;j[n+232>>2]=f;j[c+220>>2]=f;break f}d=f;f=j[((m?m:t)<<1&-4)+(m?o:o+208|0)>>2];j[d+232>>2]=f;j[c+220>>2]=f}m=l[q+4>>1]}j[c+244>>2]=m<<1&2}c=q+8|0;d=j[q+8>>2];if((d|0)!=759){continue}break}}c=48;f=0;m=0;while(1){h:{if(a){d=0;q=j[j[a+36>>2]>>2];i:{if(!q){break i}q=j[q+92>>2];if(!q){break i}d=qe[j[j[q+12>>2]+12>>2]](q,c)|0}}j:{if(!d){break j}if(xk(b,d,o+208|0)){break j}e=m&255;m=1;q=j[o+208>>2];if(!e){f=q;break j}if((f|0)==(q|0)){break j}e=0;break h}e=1;c=c+1|0;if((c|0)!=58){continue}}break}h[a+32|0]=e}Uh(b,y);oe=o+416|0;return 0}function $k(a,b){var c=0,d=0,e=0;if(!(k[a+108|0]&8?!(!a|!j[a+68>>2]):0)){Be(4);return}if(j[a+316>>2]==(b|0)){return}c=j[a+340>>2];if(c){qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}a:{if(b){if(j[b>>2]!=268306){ve(73666,0);break a}if(j[b+36>>2]!=(a|0)){ve(73766,0);return}if(j[b+8>>2]!=2){ve(73809,0);return}c=j[b+40>>2];b=c?c:b}else{b=0}if(!(!b|j[a+316>>2])){c=j[a+220>>2];j[a+232>>2]=j[a+216>>2];j[a+236>>2]=c;c=j[a+252>>2];j[a+264>>2]=j[a+248>>2];j[a+268>>2]=c;j[a+284>>2]=j[a+280>>2];c=j[a+292>>2];j[a+296>>2]=j[a+288>>2];j[a+300>>2]=c;c=j[a+200>>2];j[a+204>>2]=j[a+196>>2];j[a+208>>2]=c;c=j[a+228>>2];j[a+240>>2]=j[a+224>>2];j[a+244>>2]=c;c=j[a+260>>2];j[a+272>>2]=j[a+256>>2];j[a+276>>2]=c}j[a+316>>2]=b;if((qe[j[a+68>>2]](a,b)|0)<=-1){break a}b:{if(b){j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[b+12>>2];j[a+228>>2]=j[b+16>>2];Oe(a+248|0,0,16);j[a+288>>2]=1065353216;j[a+292>>2]=1065353216;d=b+16|0;c=b+12|0;break b}b=j[a+236>>2];j[a+216>>2]=j[a+232>>2];j[a+220>>2]=b;b=j[a+268>>2];j[a+248>>2]=j[a+264>>2];j[a+252>>2]=b;b=j[a+300>>2];j[a+288>>2]=j[a+296>>2];j[a+292>>2]=b;b=j[a+244>>2];j[a+224>>2]=j[a+240>>2];j[a+228>>2]=b;b=j[a+276>>2];j[a+256>>2]=j[a+272>>2];j[a+260>>2]=b;d=a+208|0;e=j[a+284>>2];c=a+204|0}b=a+340|0;c=j[c>>2];j[a+200>>2]=j[d>>2];j[a+196>>2]=c;j[a+280>>2]=e;c:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break c}}d:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break d}c=Xe(1,28);if(c){break d}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=1;j[c+4>>2]=0;d=a+216|0;Ge(c+8|0,d,16);if((qe[j[a+20>>2]](a,c)|0)<=-1){j[c>>2]=0;break a}Ge(a+360|0,d,16);j[a+400>>2]=1}e:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break e}}f:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break f}c=Xe(1,28);if(c){break f}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=2;j[c+4>>2]=j[a+280>>2];d=c+8|0;c=a+248|0;Ge(d,c,16);Ge(a+376|0,c,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}g:{if(j[a+336>>2]){break g}b=j[b>>2];if(!b){break g}c=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=c;c=j[c+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}}function wE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=j[a+12>>2]-1|0;d=j[a+16>>2];w=f+(d-b|0)|0;n=j[a+28>>2];o=j[n+48>>2];r=j[n+40>>2];x=o+r|0;q=j[n+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;s=(d+f|0)-257|0;m=j[a>>2]-1|0;t=(m+j[a+4>>2]|0)-5|0;u=j[n+80>>2];v=j[n+76>>2];g=j[n+60>>2];b=j[n+56>>2];A=j[n+44>>2];while(1){if(g>>>0<=14){b=((k[m+1|0]<>>d|0;i=l[e+2>>1];a:{b:{c:{c=k[e|0];if(!c){break c}B=n;d:{e:{f:{while(1){e=c&255;if(c&16){i=i&65535;e=e&15;g:{if(!e){d=m;break g}h:{if(e>>>0<=g>>>0){c=g;d=m;break h}c=g+8|0;b=(k[m+1|0]<>>e|0}c=b;if(g>>>0<=14){c=((k[d+1|0]<>>b|0;e=l[m+2>>1];c=k[m|0];if(c&16){break f}while(1){if(!(c&64)){c=(((-1<>>m|0;e=l[c+2>>1];c=k[c|0];if(!(c&16)){continue}break f}break}i=220782;m=d;break e}if(!(e&64)){e=(((-1<>>d|0;i=l[e+2>>1];c=k[e|0];if(!c){break c}continue}break}i=220804;d=11;if(e&32){break d}break e}p=e&65535;c=c&15;i:{if(c>>>0<=g>>>0){e=g;m=d;break i}b=(k[d+1|0]<>>0<=e>>>0){break i}b=(k[d+2|0]<>>c|0;j:{p=d+p|0;d=f-w|0;if(p>>>0>d>>>0){d=p-d|0;if(!(!j[n+7104>>2]|d>>>0<=A>>>0)){i=220752;break e}k:{l:{if(!o){c=(r-d|0)+q|0;break l}if(d>>>0>o>>>0){c=(x-d|0)+q|0;d=d-o|0;e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=q;e=o;i=i-d|0;if(e>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-o|0;break k}c=(o-d|0)+q|0}e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-d|0}if(i>>>0>=3){while(1){h[f+1|0]=k[c+1|0];h[f+2|0]=k[c+2|0];h[f+3|0]=k[c+3|0];f=f+3|0;c=c+3|0;i=i-3|0;if(i>>>0>2){continue}break}}if(!i){break b}h[f+1|0]=k[c+1|0];if((i|0)!=1){break j}f=f+1|0;break b}d=f-p|0;while(1){e=d;c=f;h[c+1|0]=k[d+1|0];h[c+2|0]=k[d+2|0];h[c+3|0]=k[d+3|0];f=c+3|0;d=d+3|0;i=i-3|0;if(i>>>0>2){continue}break}if(!i){break b}h[c+4|0]=k[e+4|0];if((i|0)==1){f=c+4|0;break b}h[c+5|0]=k[e+5|0];f=c+5|0;break b}h[f+2|0]=k[c+2|0];f=f+2|0;break b}j[a+24>>2]=i;d=29}j[B>>2]=d;break a}h[f+1|0]=i;f=f+1|0}if(f>>>0>=s>>>0){break a}if(m>>>0>>0){continue}}break}j[a+12>>2]=f+1;j[a+16>>2]=(s-f|0)+257;d=m-(g>>>3|0)|0;j[a>>2]=d+1;j[a+4>>2]=(t-d|0)+5;a=g&7;j[n+60>>2]=a;j[n+56>>2]=(-1<>2]=0;n=g?a+1548|0:a+516|0;j[n>>2]=0;if(b>>>0>=2){while(1){s=h&1;a:{if(!s){k=c+2|0;g=c;h=m;a=n;break a}g=c+2|0;k=c;h=q;a=p}l=a;a=l+4|0;r=i[k>>1];o=i[g>>1]-r|0;b:{c:{if(!h){break c}g=(l+(h<<5)|0)+4|0;d:{while(1){k=j[a>>2];if((k|0)>(r|0)){break d}if((k|0)==(r|0)){g=j[a+4>>2];if((o|0)<=-1){if((g|0)<=(o|0)){break b}j[a+4>>2]=o;break b}if((g|0)>=(o|0)){break b}j[a+4>>2]=o;break b}a=a+32|0;h=h-1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h-1|0;k=(h<<5)+a|0;l=j[k+4>>2];j[g>>2]=j[k>>2];j[g+4>>2]=l;l=j[k+28>>2];j[g+24>>2]=j[k+24>>2];j[g+28>>2]=l;l=j[k+20>>2];j[g+16>>2]=j[k+16>>2];j[g+20>>2]=l;l=j[k+12>>2];j[g+8>>2]=j[k+8>>2];j[g+12>>2]=l;if(h){continue}break}}j[a+4>>2]=o;j[a>>2]=r;if(s){q=q+1|0;break b}m=m+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;if(d>>>0>=2){b=n+4|0;while(1){o=i[e+2>>1];l=i[e>>1]-o|0;k=b;e:{f:{if(!m){break f}k=((m<<5)+n|0)+4|0;a=b;h=m;while(1){c=j[a>>2];if((c|0)<=(o|0)){if((c|0)==(o|0)){c=j[a+4>>2];if((l|0)<=-1){if((c|0)<=(l|0)){break e}j[a+4>>2]=l;break e}if((c|0)>=(l|0)){break e}j[a+4>>2]=l;break e}a=a+32|0;h=h-1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h-1|0;g=(h<<5)+a|0;k=j[g+4>>2];j[c>>2]=j[g>>2];j[c+4>>2]=k;k=j[g+28>>2];j[c+24>>2]=j[g+24>>2];j[c+28>>2]=k;k=j[g+20>>2];j[c+16>>2]=j[g+16>>2];j[c+20>>2]=k;k=j[g+12>>2];j[c+8>>2]=j[g+8>>2];j[c+12>>2]=k;if(h){continue}break}k=a}j[k+4>>2]=l;j[k>>2]=o;m=m+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;g:{if(!q){break g}h=p+4|0;a=q;while(1){h:{i:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break h;case 0:break g;default:break i}}g=j[h>>2];k=j[h+32>>2]-g|0;b=j[h+4>>2];if((k|0)>=(b|0)){k=b;break h}j[h+4>>2]=k}j[h+12>>2]=g;j[h+8>>2]=g+k;h=h+32|0;a=a-1|0;continue}}j:{if(!m){break j}h=n+4|0;a=m;while(1){k:{l:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break k;case 0:break j;default:break l}}g=j[h>>2];k=g-j[h+32>>2]|0;b=j[h+4>>2];if((k|0)<=(b|0)){k=b;break k}j[h+4>>2]=k}j[h+8>>2]=g;j[h+12>>2]=g+k;h=h+32|0;a=a-1|0;continue}}c=f<<1;if(q){h=p+4|0;j[p+16>>2]=j[p+16>>2]-f;a=j[p+12>>2];k=q-1|0;m:{if(!k){g=h;break m}while(1){b=h;d=j[h+44>>2];e=d-a|0;n:{if((e|0)<(c|0)){g=((e|0)/2|0)+a|0;a=g;break n}g=d-f|0;a=a+f|0}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}if(m){h=n+4|0;j[n+16>>2]=j[n+16>>2]-f;a=j[n+12>>2];k=m-1|0;o:{if(!k){g=h;break o}while(1){b=h;d=j[h+44>>2];e=d-a|0;p:{if((e|0)>=(c|0)){g=d-f|0;a=a+f|0;break p}g=((e|0)/2|0)+a|0;a=g}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}}function iH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0;e=oe-1552|0;oe=e;k=j[a+4>>2];f=j[j[k+488>>2]+12>>2];a:{if(!(j[j[k+128>>2]+48>>2]|m[k+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(b){j[a+172>>2]=j[b+16>>2];d=j[b+20>>2];break b}j[a+172>>2]=65536;d=65536}j[a+108>>2]=0;j[a+72>>2]=1869968492;j[a+176>>2]=d;p=g&3;d=qe[j[f>>2]](e+48|0,k,b,a,j[k+420>>2],j[k+528>>2],!p,g>>>16&15,974)|0;if(d){break a}n=g&1024;h[e+117|0]=n>>>10;j[e+1412>>2]=j[k+404>>2];j[e+1416>>2]=j[k+408>>2];j[e+1420>>2]=j[k+412>>2];j[e+1536>>2]=j[k+544>>2];j[e+1540>>2]=j[k+540>>2];d=jk(e+48|0,c,e+24|0);if(!d){c=e+1432|0;d=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=d;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;d=j[e+1444>>2];o=j[e+1440>>2];qe[j[f+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;c:{if(n){c=j[a+156>>2];b=a;g=j[e+80>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+32>>2]=f>>16;g=j[e+88>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+40>>2]=f>>16;b=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=b;b=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=b;j[c+32>>2]=d;j[c+28>>2]=o;h[c+8|0]=1;break c}c=a;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+40>>2]=n>>16;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;q=g&16;d:{if(q){c=j[k+472>>2]-j[k+464>>2]>>16;j[a+52>>2]=c;break d}f=j[e+92>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+52>>2]=n>>16;c=j[e+92>>2];f=c+32768&-65536;if((c|0)<0){f=0-(32768-c&-65536)|0}c=f>>16}j[a+72>>2]=1869968492;j[a+60>>2]=c;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;e:{if(!(j[e+36>>2]|(j[e+32>>2]!=65536|j[e+44>>2]!=65536))){if(!j[e+40>>2]){break e}}Ah(c,e+32|0)}if(d|o){Tf(c,o,d)}b=j[a+40>>2];j[e+4>>2]=0;j[e>>2]=b;Tg(e,e+32|0);j[a+40>>2]=o+j[e>>2];j[e>>2]=0;j[e+4>>2]=j[a+52>>2];Tg(e,e+32|0);j[a+52>>2]=d+j[e+4>>2];if(!(g&1)){g=j[a+176>>2];o=j[a+172>>2];d=j[e+64>>2];b=j[d+4>>2];f:{if(j[e+120>>2]?!p:0){break f}d=i[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){r=b,s=ye(j[b>>2],o),j[r>>2]=s;r=b,s=ye(j[b+4>>2],g),j[r+4>>2]=s;b=b+8|0;f=(d|0)>1;d=d-1|0;if(f){continue}break}}r=a,s=ye(j[a+40>>2],o),j[r+40>>2]=s;r=a,s=ye(j[a+52>>2],g),j[r+52>>2]=s}Ug(c,e+8|0);b=j[e+8>>2];j[a+24>>2]=j[e+16>>2]-b;c=j[e+12>>2];d=j[e+20>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=d-c;if(!q){break c}Fi(a+24|0,j[a+52>>2])}j[a+136>>2]=j[e+24>>2];j[a+140>>2]=j[e+28>>2];d=0;b=j[j[k+128>>2]+48>>2];if(!b){break a}qe[j[j[b>>2]+4>>2]](j[b+4>>2],e+24|0);j[a+136>>2]=0;j[a+140>>2]=0;break a}qe[j[f+4>>2]](e+48|0)}oe=e+1552|0;return d|0}function Xg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-80|0;oe=c;d=j[67085];a:{if(!d){ve(99429,0);h=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);h=-1;break a}if(b){h=0;if(j[a+116>>2]){break a}}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if(!b){break b}e=j[d+60>>2];if(!e|(a|0)==(e|0)){break b}f=j[67085];if(!f){ve(99429,0);break b}if(j[e>>2]!=(f+316|0)){ve(98129,0);break b}if(!j[f+100>>2]|k[e+48|0]&64){break b}Xg(e,0);f=j[67085];g=j[f+100>>2];if(!g){break b}qe[g|0](f,e)}c:{if((j[a+48>>2]^j[a+52>>2])&4097?0:(j[d+60>>2]==(a|0)|0)==(b|0)){break c}e=j[j[67085]+308>>2];if(e){while(1){d:{e:{if((a|0)!=(e|0)){if((j[e+48>>2]&69)!=5){break d}f=Ch(e);if((f|0)>=0){f=j[j[67085]+304>>2]+p(f,72)|0}else{f=0}if((f|0)==(d|0)){break e}break d}if(!b){break d}}Oe(c+8|0,0,20);if(hv(e,c+8|0)){break d}b=0;b=j[e+24>>2]==j[c+12>>2]?j[e+28>>2]==j[c+16>>2]:b;f:{if((j[a+48>>2]&4097)!=4097){if((gv(d,c+8|0)|0)>=0){break f}h=-1;break a}g=j[d+28>>2];f=c- -64|0;j[f>>2]=j[d+24>>2];j[f+4>>2]=g;j[c+72>>2]=j[d+32>>2];f=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=f;f=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=f;j[c+48>>2]=j[d+52>>2];f=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=f;if(!wf(c+56|0,c+32|0,20)){break f}g=j[67085];f=j[g+32>>2];if(f){h=-1;if((qe[f|0](g,d,c+56|0)|0)<=-1){break a}g=j[c+60>>2];f=d+36|0;j[f>>2]=j[c+56>>2];j[f+4>>2]=g;j[d+52>>2]=j[c+72>>2];f=c- -64|0;g=j[f+4>>2];j[d+44>>2]=j[f>>2];j[d+48>>2]=g;break f}if((ve(99554,0)|0)>=0){break f}h=-1;break a}f=j[67085];g=j[f+116>>2];if(g){qe[g|0](f,e,d,1)}j[d+60>>2]=e;g:{if(!b){zf(e,5,j[c+12>>2],j[c+16>>2]);break g}j[e+112>>2]=0;zf(e,6,j[e+24>>2],j[e+28>>2])}if(j[67024]==(e|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}el(e,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2];break c}e=j[e+152>>2];if(e){continue}break}}e=j[d+28>>2];b=c- -64|0;j[b>>2]=j[d+24>>2];j[b+4>>2]=e;j[c+72>>2]=j[d+32>>2];b=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=b;b=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=b;j[c+48>>2]=j[d+52>>2];b=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=b;h:{if(!wf(c+56|0,c+32|0,20)){break h}b=j[67085];e=j[b+32>>2];if(!e){ve(99554,0);break h}if((qe[e|0](b,d,c+56|0)|0)<0){break h}e=j[c+60>>2];b=d+36|0;j[b>>2]=j[c+56>>2];j[b+4>>2]=e;j[d+52>>2]=j[c+72>>2];b=c- -64|0;e=j[b+4>>2];j[d+44>>2]=j[b>>2];j[d+48>>2]=e}b=j[67085];e=j[b+116>>2];if(e){qe[e|0](b,a,d,0)}j[d+60>>2]=0;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);if(j[67024]==(a|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}el(a,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2]}h=0}f=h;oe=c+80|0;return f}function gH(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,r=0,s=0,t=0,u=0;e=oe-32|0;oe=e;o=j[b+28>>2];j[e+4>>2]=2;d=He(o,44,e+4|0);a:{if(j[e+4>>2]){break a}c=_e(b,j[b+4>>2]);j[e+4>>2]=c;if(c){break a}c=j[a+472>>2];j[d+12>>2]=j[a+468>>2];j[d+16>>2]=c;c=j[a+464>>2];j[d+4>>2]=j[a+460>>2];j[d+8>>2]=c;j[d+20>>2]=j[a+472>>2];j[d+24>>2]=j[a+464>>2];h=j[a+488>>2];c=j[h+24>>2];b:{if(c){f=qe[j[c>>2]](e+8|0,j[b+28>>2],j[b+32>>2],j[b+36>>2])|0;j[e+4>>2]=f;if(!f){j[e+24>>2]=a+132;j[e+20>>2]=975;j[e+16>>2]=d;t=e,u=qe[j[j[h+24>>2]+8>>2]](e+8|0)|0,j[t+4>>2]=u;qe[j[j[h+24>>2]+4>>2]](e+8|0);f=j[e+4>>2]}if((f&255)==2){c=j[b+4>>2];if(c>>>0<7){break b}g=j[b+32>>2];if(k[g+1|0]>3|(c|0)!=(k[g+2|0]|k[g+3|0]<<8|(k[g+4|0]<<16|k[g+5|0]<<24))){break b}f=0;j[e+28>>2]=0;r=j[b+28>>2];c:{d:{h=j[b+36>>2];if(h>>>0>>0){j[e+28>>2]=2;break d}c=(g+99|0)+(k[g+99|0]|k[g+100|0]<<8)|0;if(h>>>0>>0|(k[c+18|0]|k[c+19|0]<<8)>>>0<18){break c}c=k[c+32|0]|k[c+33|0]<<8|(k[c+34|0]<<16|k[c+35|0]<<24);if(!c){break c}q=c+g|0;m=q+2|0;if(h>>>0>>0){j[e+28>>2]=2;break d}c=k[q|0]|k[q+1|0]<<8;j[d+40>>2]=c;if(h>>>0<(c<<2)+m>>>0){j[e+28>>2]=2;break d}if(!c){break c}f=xe(r,16,0,c,0,e+28|0);j[d+36>>2]=f;if(j[e+28>>2]){break d}p=j[d+40>>2];s=j[a+92>>2];g=j[a+36>>2];e:{if((g|0)<1){break e}h=j[a+40>>2];while(1){c=j[h+(n<<2)>>2];if(l[c+8>>1]!=7){n=n+1|0;if((g|0)!=(n|0)){continue}break e}break}c=Uh(a,c);j[e+28>>2]=c;if(c){break d}}c=p<<2;if((c|0)>=1){g=q+(c|2)|0;while(1){h=k[m|0];n=0;c=a;f:{if(!c){break f}p=j[c+92>>2];if(!p){break f}n=qe[j[j[p+12>>2]+12>>2]](p,h)|0}j[f>>2]=n;h=k[m+1|0];n=0;g:{if(!c){break g}c=j[a+92>>2];if(!c){break g}n=qe[j[j[c+12>>2]+12>>2]](c,h)|0}j[f+4>>2]=n;c=(k[m+2|0]|k[m+3|0]<<8)<<16>>16;j[f+12>>2]=0;j[f+8>>2]=c;f=f+16|0;m=m+4|0;if(g>>>0>m>>>0){continue}break}}h:{if(s){f=Uh(a,s);j[e+28>>2]=f;break h}f=j[e+28>>2]}if(f){break d}eg(j[d+36>>2],j[d+40>>2],16,976);if(j[e+28>>2]){break d}f=0;break c}c=j[d+36>>2];if(c){qe[j[r+8>>2]](r,c)}j[d+36>>2]=0;j[d+40>>2]=0;f=j[e+28>>2]}j[e+4>>2]=f}if(f){break b}}c=j[d+8>>2];j[a+460>>2]=j[d+4>>2];j[a+464>>2]=c;c=j[d+16>>2];j[a+468>>2]=j[d+12>>2];j[a+472>>2]=c;j[a+52>>2]=j[d+4>>2]>>16;j[a+56>>2]=j[d+8>>2]>>16;j[a+60>>2]=j[d+12>>2]+65535>>16;j[a- -64>>2]=j[d+16>>2]+65535>>16;i[a+70>>1]=j[d+20>>2]+32768>>>16;i[a+72>>1]=j[d+24>>2]+32768>>>16;if(!j[d+40>>2]){break b}j[a+492>>2]=d;j[a+8>>2]=j[a+8>>2]|64;d=0}Ve(b)}if(d){a=j[d+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+36>>2]=0;j[d+40>>2]=0;a=j[d+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+28>>2]=0;j[d+32>>2]=0;if(d){qe[j[o+8>>2]](o,d)}}oe=e+32|0;return j[e+4>>2]}function Vl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;e=oe-48|0;oe=e;k=j[a+100>>2];i=j[a+104>>2];j[e+40>>2]=0;a:{b:{if(j[a+676>>2]){break b}c=qe[j[a+508>>2]](a,1735811442,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}c=qe[j[a+508>>2]](a,1719034226,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}r=j[i+8>>2];c=$e(i,200496,e+24|0);j[e+40>>2]=c;if(c){break a}c:{d:{if(j[e+24>>2]!=65536|l[e+34>>1]!=20){break d}c=l[e+32>>1];if(c>>>0>16382){break d}d=l[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=l[e+36>>1];if(g>>>0>32511){break d}if(m[e+44>>2]>=l[e+28>>1]+(p(d,g)+p(c,20)|0)>>>0){break c}}j[e+40>>2]=8;break a}c=He(k,40,e+40|0);j[a+676>>2]=c;if(j[e+40>>2]){break a}d=c;c=l[e+36>>1];c=((c<<3)+p(l[e+32>>1],(c<<2)+29|0)|0)+20|0;j[d+12>>2]=c;g=He(k,c,e+40|0);if(j[e+40>>2]){break a}j[j[a+676>>2]+8>>2]=g;f=l[e+32>>1];j[g+4>>2]=-1;j[g>>2]=f;n=l[e+36>>1];o=g+20|0;q=o+p(f,24)|0;j[g+16>>2]=q;j[g+12>>2]=o;j[g+8>>2]=n;d=(n<<3)+q|0;if(n){c=0;s=f<<2;while(1){j[(c<<3)+q>>2]=d;d=d+s|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}if(f){c=0;while(1){j[p(c,24)+o>>2]=d;d=d+5|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=Fe(i,l[e+28>>1]+r|0);j[e+40>>2]=c;if(c){break a}if(l[e+32>>1]){d=j[g+12>>2];c=0;while(1){f=$e(i,200544,e);j[e+40>>2]=f;if(f){break a}f=j[e>>2];j[d+16>>2]=f;j[d+4>>2]=j[e+4>>2];j[d+8>>2]=j[e+8>>2];j[d+12>>2]=j[e+12>>2];j[d+20>>2]=l[e+18>>1];h[j[d>>2]]=f>>>24;h[j[d>>2]+1|0]=l[d+18>>1];h[j[d>>2]+2|0]=j[d+16>>2]>>>8;h[j[d>>2]+3|0]=j[d+16>>2];h[j[d>>2]+4|0]=0;d=d+24|0;c=c+1|0;f=l[e+32>>1];if(c>>>0>>0){continue}break}d=(f<<2)+4|0}else{d=4}if(!l[e+36>>1]){break b}c=j[g+16>>2];d=_e(i,d);j[e+40>>2]=d;if(d){break a}g=0;while(1){t=c,u=af(i),j[t+4>>2]=u;af(i);if(l[e+32>>1]){d=0;while(1){f=Ff(i);j[j[c>>2]+(d<<2)>>2]=f;d=d+1|0;if(d>>>0>1]){continue}break}}Ve(i);g=g+1|0;if(g>>>0>=l[e+36>>1]){break b}d=_e(i,(l[e+32>>1]<<2)+4|0);j[e+40>>2]=d;c=c+8|0;if(!d){continue}break}break a}if(!b){break a}i=He(k,j[j[a+676>>2]+12>>2],e+40|0);if(j[e+40>>2]){break a}a=j[a+676>>2];g=Ae(i,j[a+8>>2],j[a+12>>2]);i=g+20|0;j[g+12>>2]=i;k=j[g>>2];d=p(k,24)+i|0;j[g+16>>2]=d;f=j[g+8>>2];a=d+(f<<3)|0;if(f){c=0;n=k<<2;while(1){j[d+(c<<3)>>2]=a;a=a+n|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(k){d=0;while(1){j[i>>2]=a;c=i;n=c;e:{f:{g:{f=j[c+16>>2];if((f|0)<=2003072103){if((f|0)==1869640570){break g}if((f|0)!=1936486004){break e}c=200601;break f}c=200576;if((f|0)==2003265652){break f}if((f|0)!=2003072104){break e}c=200583;break f}c=200589}j[n>>2]=c}i=i+24|0;a=a+5|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}j[b>>2]=g}oe=e+48|0;return j[e+40>>2]}function Yk(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}if(!b){ve(73615,0);break a}f=1;c=f;if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}e=j[b+4>>2];f=j[e+24>>2]?c:d;c=j[e+4>>2];if(c){f=j[c>>2]<1?f:1}b:{c:{c=j[e+24>>2];if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}d:{if(!(c|!d)){e:{c=j[e>>2];if((c|0)!=370546692){if((c|0)!=374740996){i=j[a+112>>2];break d}c=0;i=j[a+112>>2];if((i|0)<=0){break c}break e}c=0;i=j[a+112>>2];if((i|0)<=0){break c}while(1){d=372645892;if(j[((c<<2)+a|0)+116>>2]==372645892){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}while(1){d=376840196;if(j[((c<<2)+a|0)+116>>2]==376840196){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}i=j[a+112>>2];if((i|0)<1){break c}d=j[e>>2];c=0;while(1){if(j[((c<<2)+a|0)+116>>2]!=(d|0)){c=c+1|0;if((i|0)>(c|0)){continue}break d}break}if(d){break b}}e=j[a+116>>2];if((i|0)<1){d=e;break b}c=0;d=e;while(1){if(!((d&-268435456)!=268435456?d:0)){l=d>>>24&15;f:{if(l-4>>>0<=2){m=0;l=(d>>>20&15)-3|0;if(l>>>0>=6){break f}m=j[(l<<2)+73984>>2];break f}m=0;if(l-7>>>0>4){break f}l=(d>>>20&15)-2|0;if(l>>>0>=5){break f}m=j[(l<<2)+74008>>2]}if((f|0)==(m|0)){break b}}c=c+1|0;if((i|0)<=(c|0)){d=e;break b}else{d=j[((c<<2)+a|0)+116>>2];continue}}}d=j[a+116>>2]}c=Zk(a,d,0,j[b+8>>2],j[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=j[b+4>>2];e=j[a>>2]!=(d|0);a=j[a+24>>2];if(b){f=j[j[b+52>>2]+68>>2]>>>8&1}else{f=0}if(!(e|(f?a:0))){if(!(k[b|0]&2)){break i}Eg(b);gi(c,0,j[b+20>>2],j[b+16>>2]);jg(b);break h}a=Pk(d);if(!a){break g}e=Kk(b,a);Nk(a);if(!e){break g}gi(c,0,j[e+20>>2],j[e+16>>2]);kf(e);break h}gi(c,0,j[b+20>>2],j[b+16>>2])}wn(b,g+15|0,g+14|0,g+13|0);d=k[g+13|0];l=k[g+14|0];f=k[g+15|0];e=(d&(l&f))!=255;a=c;while(1){j:{if(j[a>>2]!=268306){ve(73666,0);break j}h[a+34|0]=d;h[a+33|0]=l;h[a+32|0]=f;j[a+20>>2]=e|j[a+20>>2]&-2;a=j[a+40>>2];if(a){continue}}break}a=g+12|0;if(b){if(a){h[a|0]=k[j[b+52>>2]+79|0]}}d=k[g+12|0];e=((d|0)!=255)<<1;a=c;while(1){k:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);break k}h[a+35|0]=d;j[a+20>>2]=e|j[a+20>>2]&-3;a=j[a+40>>2];if(a){continue}}break}if(b){a=j[j[b+52>>2]+68>>2]>>>8&1}else{a=0}if(a){a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}j[a+24>>2]=1;a=j[a+40>>2];if(a){continue}break}break a}xj(b,g+8|0);f=j[g+8>>2];e=f>>>0>4;a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}d=j[a+36>>2];l:{if((f|0)!=3?!e:0){break l}b=j[d+12>>2];if(b){if(qe[b|0](d,f)|0){break l}}Be(4);break a}j[a+24>>2]=f;a=j[a+40>>2];if(a){continue}break}break a}jh(c);c=0}oe=g+16|0;return c}function Dh(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=oe-16|0;oe=w;a:{if(!a){x=ve(86610,0);break a}if(k[j[a+4>>2]+8|0]<=7){x=ve(86642,0);break a}b:{if(b){d=w;if(Fg(b,a+36|0,d)){break b}break a}if(j[a+44>>2]<1|j[a+48>>2]<1){break a}d=a+36|0}b=j[a+20>>2];if(!b){x=ve(86685,0);break a}t=j[a+16>>2];a=k[j[a+4>>2]+9|0];e=(b+p(t,j[d+4>>2])|0)+p(a,j[d>>2])|0;c:{switch(a-1|0){case 0:f=j[d+12>>2];if(!f){break a}a=c<<8|c;v=a<<16|a;r=j[d+8>>2];n=r-2|0;u=r-1|0;s=(r|0)<4;while(1){b=r;l=e;d:{if(s){break d}g=u;m=g;d=e;a=d;l=a;e:{switch((a&3)-1|0){case 0:h[e|0]=c;d=e+1|0;g=n;case 1:h[d|0]=c;m=g-1|0;a=d+1|0;case 2:h[a|0]=c;l=a+1|0;b=m;break;default:break e}}a=b>>>2|0;if(!a){break d}q=a+3>>>2|0;o=l;d=l;m=d;g=d;f:{g:{switch((a&3)-1|0){default:a=0;break f;case 0:a=3;break f;case 1:a=2;break f;case 2:break g}}a=1}while(1){h:{switch(a|0){case 0:j[o>>2]=v;d=o+4|0;a=1;continue;case 1:j[d>>2]=v;m=d+4|0;a=2;continue;case 2:j[m>>2]=v;g=m+4|0;a=3;continue;default:break h}}j[g>>2]=v;q=q-1|0;if(!q){break d}o=g+4|0;a=0;continue}}f=f-1|0;d=b&3;i:{if(!d){break i}a=(b&-4)+l|0;j:{switch(d-1|0){case 2:h[a|0]=c;a=a+1|0;case 1:h[a|0]=c;a=a+1|0;break;case 0:break j;default:break i}}h[a|0]=c}e=e+t|0;if(f){continue}break}break a;case 3:m=j[d+12>>2];if(!m){break a}n=j[d+8>>2];u=n&3;o=n+3>>>2|0;while(1){m=m-1|0;k:{if(!n){break k}d=o;f=e;b=e;l=e;g=e;l:{m:{switch(u-1|0){default:a=0;break l;case 0:a=3;break l;case 1:a=2;break l;case 2:break m}}a=1}while(1){n:{switch(a|0){case 0:j[f>>2]=c;b=f+4|0;a=1;continue;case 1:j[b>>2]=c;l=b+4|0;a=2;continue;case 2:j[l>>2]=c;g=l+4|0;a=3;continue;default:break n}}j[g>>2]=c;d=d-1|0;if(!d){break k}f=g+4|0;a=0;continue}}e=e+t|0;if(m){continue}break}break a;case 2:f=j[d+12>>2];if(!f){break a}g=c>>>16|0;l=c>>>8|0;d=j[d+8>>2];while(1){f=f-1|0;a=e;b=d;if(d){while(1){h[a+2|0]=g;h[a+1|0]=l;h[a|0]=c;a=a+3|0;b=b-1|0;if(b){continue}break}}e=e+t|0;if(f){continue}break}break a;case 1:break c;default:break a}}f=j[d+12>>2];if(!f){break a}s=c<<16|c;n=j[d+8>>2];u=n-1|0;r=(n|0)<2;while(1){b=n;l=e;o:{if(r){break o}if(e&2){i[e>>1]=c;l=e+2|0;b=u}a=b>>>1|0;if(!a){break o}q=a+3>>>2|0;o=l;d=l;m=d;g=d;p:{q:{switch((a&3)-1|0){default:a=0;break p;case 0:a=3;break p;case 1:a=2;break p;case 2:break q}}a=1}while(1){r:{switch(a|0){case 0:j[o>>2]=s;d=o+4|0;a=1;continue;case 1:j[d>>2]=s;m=d+4|0;a=2;continue;case 2:j[m>>2]=s;g=m+4|0;a=3;continue;default:break r}}j[g>>2]=s;q=q-1|0;if(!q){break o}o=g+4|0;a=0;continue}}f=f-1|0;if(b&1){i[((b<<1)+l|0)-2>>1]=c}e=e+t|0;if(f){continue}break}}oe=w+16|0;return x}function Np(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{c:{n=k[a+443|0];if(n){d=j[a+348>>2];f=j[a+404>>2];if((f|0)!=((n>>>0>=8?p(n>>>3|0,d):p(d,n)+7>>>3|0)|0)?f:0){break c}if(!d){break b}m=j[a+384>>2];o=k[a+433|0];r=p(d,n);g=r&7;d:{if(!g){f=0;q=0;break d}f=((n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)+b|0)-1|0;s=k[f|0];q=255<>>g|0}m=m+1|0;e:{f:{g:{if(!k[a+432|0]|o>>>0>5){break g}e=j[a+216>>2];if(!(e&2)){break g}h:{i:{switch(c|0){case 0:g=o&1;break h;case 1:break i;default:break g}}g=1;if(!(o&1)){break g}}g=g<<3-(o+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(n>>>0<=7){g=(n|0)==1?0:(n|0)==2?1:2;r=8/(n>>>0)|0;j:{if(e&65536){a=(p(g,12)+(o<<1&508)|0)+212160|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+212016|0;break j}a=(p(g,12)+(o<<1&508)|0)+212196|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+212088|0}a=j[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){o=k[m|0]&a|k[b|0]&(a^-1)}else{o=k[m|0]}h[c|0]=o}a=mP(a,24);m=m+1|0;b=b+1|0;c=d>>>0>r>>>0;d=d-r|0;if(c){continue}break}break f}if(n&7){break a}q=n>>>3|0;g=p(q,g);e=p(d,q)-g|0;f=q;if(c){a=q<<(6-o>>>1);f=a>>>0>e>>>0?e:a}a=g+m|0;d=b+g|0;c=q<<(7-o>>>1);k:{switch(f-1|0){case 2:h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 0:h[d|0]=k[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 1:while(1){h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break}h[d|0]=k[a|0];return;default:break k}}l:{if(d&1|f>>>0>15){break l}b=a|c;if((b|f)&1){break l}if(!((b|d|f)&3)){b=c-f>>>2<<2;while(1){m=f;while(1){j[d>>2]=j[a>>2];d=d+4|0;a=a+4|0;m=m-4|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){m=f;while(1){i[d>>1]=l[a>>1];d=d+2|0;a=a+2|0;m=m-2|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}Ae(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;Ae(d,a,f);if(c>>>0>>0){continue}break}break e}Ae(b,m,n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)}if(!f){break e}h[f|0]=k[f|0]&(q^-1)|q&s}return}Ye(a,211923);z()}Ye(a,211948);z()}Ye(a,211984);z()}Ye(a,212232);z()}function yn(a,b,c,d){var e=0,f=0,g=0,m=0,n=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;q=oe-32|0;oe=q;o=j[c+4>>2];a:{if(j[j[a+4>>2]>>2]!=j[o>>2]){m=ve(97452,0);break a}v=k[o+9|0];b:{if(b){o=j[b>>2];c:{if((o|0)<0){break c}g=j[b+4>>2];if((g|0)<0|j[a+8>>2]<(o+j[b+8>>2]|0)){break c}if(j[a+12>>2]>=(g+j[b+12>>2]|0)){break b}}m=ve(97489,0);break a}j[q+16>>2]=0;j[q+20>>2]=0;j[q+24>>2]=j[a+8>>2];j[q+28>>2]=j[a+12>>2];b=q+16|0}d:{if(d){o=j[d>>2];e:{if((o|0)<0){break e}g=j[d+4>>2];if((g|0)<0|j[c+8>>2]<(o+j[d+8>>2]|0)){break e}if(j[c+12>>2]>=(g+j[d+12>>2]|0)){break d}}m=ve(97519,0);break a}j[q>>2]=0;j[q+4>>2]=0;j[q+8>>2]=j[c+8>>2];j[q+12>>2]=j[c+12>>2];d=q}f:{w=j[c>>2]&2;if(!w){break f}if((Eg(c)|0)>-1){break f}m=ve(97554,0);break a}g:{x=j[a>>2]&2;if(!x){break g}if((Eg(a)|0)>-1){break g}if(w){jg(c)}m=ve(97589,0);break a}o=j[d+12>>2];z=(j[b+12>>2]<<16)/(o|0)|0;if((o|0)>=1){u=j[d+4>>2];A=o+u|0;y=j[b+4>>2];o=0;B=v-1|0;s=65536;while(1){g=p(j[d>>2],v);r=j[c+20>>2]+p(j[c+16>>2],u)|0;if((s|0)>=65536){e=(s-((s|0)<131071?s:131071)|0)+65535|0;m=(e>>>16|0)+y|0;o=(j[a+20>>2]+p(m,j[a+16>>2])|0)+p(j[b>>2],v)|0;y=m+1|0;s=(s-(e&-65536)|0)-65536|0}m=g+r|0;h:{i:{switch(B|0){case 0:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>16|0)+g|0;g=f+1|0;f=k[f|0]}h[m|0]=f;e=e+r|0;m=m+1|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 1:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>15&131070)+g|0;g=f+2|0;f=l[f>>1]}i[m>>1]=f;e=e+r|0;m=m+2|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 2:n=j[d+8>>2];if((n|0)<1){break h}C=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;t=0;g=0;r=o;while(1){if((e|0)>=65536){g=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(g&-65536)|0)-65536|0;g=p(g>>>16|0,3)+r|0;r=g+3|0;f=k[g+2|0];t=k[g+1|0];g=k[g|0]}h[m+2|0]=f;h[m+1|0]=t;h[m|0]=g;e=e+C|0;m=m+3|0;D=(n|0)>1;n=n-1|0;if(D){continue}break}break h;case 3:break i;default:break h}}n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>14&262140)+g|0;g=f+4|0;f=j[f>>2]}j[m>>2]=f;e=e+r|0;m=m+4|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}}s=s+z|0;u=u+1|0;if((A|0)>(u|0)){continue}break}}if(w){jg(c)}m=0;if(!x){break a}jg(a)}oe=q+32|0;return m}function Qq(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(j[a+100>>2]){case 0:f=j[a+72>>2];if((f|0)<(c|0)){j:{if(j[a+92>>2]){e=j[a+40>>2];break j}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;i[d+12>>1]=k[a+176|0]|((n|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(j[a+92>>2]){e=j[a+40>>2];break k}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;e=k[a+176|0];i[d+12>>1]=(n|0)>(f&g-1)?e:e|16;if(!j[a+96>>2]){j[a+96>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=j[a+72>>2];if((d|0)<=(c|0)){break e}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2]-1&d;o=j[a+8>>2];l:{if(!g){d=f;break l}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;d=k[a+176|0];i[e+12>>1]=(n|0)<(o|0)?d:d|16;if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=2;h[a+87|0]=0;d=j[a+72>>2];break d}d=j[a+72>>2];if((d|0)>=(c|0)){break d}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2];n=((n+d|0)-1&0-n)-d|0;o=j[a+8>>2];m:{if(!g){d=f;break m}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;i[e+12>>1]=k[a+176|0]|((n|0)<(o|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=1;h[a+87|0]=0;d=j[a+72>>2]}f=1;if(Oq(a,j[a+68>>2],d,b,c,j[a+76>>2],j[a+80>>2])){break b}break c}e=k[a+86|0];d=Oq(a,j[a+68>>2],0-d|0,b,0-c|0,0-j[a+80>>2]|0,0-j[a+76>>2]|0);if(!(k[a+86|0]|!e)){e=j[a+88>>2];j[e+20>>2]=0-j[e+20>>2]}f=1;if(d){break b}}j[a+72>>2]=c;j[a+68>>2]=b;f=0}return f}j[a+44>>2]=98;return 1}function Xm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-416|0;oe=e;d=-131;f=j[a+88>>2];a:{if((f|0)<2){break a}if(!j[a+4>>2]){d=-138;break a}if((c|0)<0){break a}g=j[a+20>>2];if((c|0)>(g|0)?1:(c|0)>=(g|0)?b>>>0>m[a+16>>2]:0){break a}b:{if((f|0)<3){break b}f=j[a+56>>2];d=j[a+96>>2];g=f+(d<<3)|0;h=m[g>>2]<=b>>>0;g=j[g+4>>2];if((c|0)>(g|0)?1:(g|0)<=(c|0)?h:0){d=f+(d<<3)|0;h=b>>>0>2];d=j[d+12>>2];if((c|0)<(d|0)?1:(c|0)<=(d|0)?h:0){break b}}wg(a+480|0);Yg(a+592|0);j[a+88>>2]=2}j[a+80>>2]=-1;j[a+84>>2]=-1;f=a+120|0;ph(f,j[a+92>>2]);g=a+480|0;Qk(g);c:{d:{d=j[a>>2];if(!d){break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){h=j[a+708>>2];if(!h){break d}if((qe[h|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}Yp(e+56|0,j[a+92>>2]);n=a+592|0;GE(e+56|0);b=0;while(1){e:{if(j[a+88>>2]<3){break e}if((mg(e+56|0,e+8|0)|0)<1){break e}c=j[a+72>>2]+(j[a+96>>2]<<5)|0;if(j[c+28>>2]){c=fm(c,e+8|0);f:{if((c|0)<=-1){mg(f,0);b=0;break f}g:{if(!(o|!p)){mg(f,0);break g}if(!b){break g}l=(b+c>>2)+l|0}b=c}c=j[e+24>>2];d=j[e+28>>2];if((c|0)==-1&(d|0)==-1){continue}h=j[a+68>>2];f=j[a+96>>2];b=h+(f<<4)|0;g=j[b>>2];i=c-g|0;c=d-(j[b+4>>2]+(c>>>0>>0)|0)|0;d=(c|0)>0?1:(c|0)>=0?!!i:0;b=d?i:0;c=d?c:0;if((f|0)>=1){d=0;while(1){i=h+(d<<4|8)|0;g=b+j[i>>2]|0;c=j[i+4>>2]+c|0;c=b>>>0>g>>>0?c+1|0:c;b=g;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=l;f=b-d|0;c=c-((d>>31)+(b>>>0>>0)|0)|0;l=(c|0)>0?1:(c|0)>=0?!!f:0;b=l?f:0;c=l?c:0;break c}mg(f,0)}if(b){b=-1;c=-1;break c}q=Qf(a,e+40|0,-1,-1);b=pe;h=b;if((b|0)<-1?1:(b|0)<=-1){b=Gi(a,-1);c=pe;break c}h:{if(j[a+88>>2]>=3){b=j[e+40>>2];if(!(!(k[j[e+40>>2]+5|0]&2)|j[a+92>>2]==(k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24)))){wg(g);Yg(n);j[a+88>>2]=2;gk(e+56|0)}if(j[a+88>>2]>2){break h}}b=j[e+40>>2];c=k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24);b=0;d=0;i=j[a+52>>2];i:{if((i|0)<1){break i}r=j[a+64>>2];while(1){if(j[(d<<2)+r>>2]==(c|0)){break i}d=d+1|0;if((i|0)>(d|0)){continue}break}}if((d|0)==(i|0)){continue}j[a+92>>2]=c;j[a+96>>2]=d;ph(f,c);ph(e+56|0,c);j[a+88>>2]=3;b=j[a+60>>2]+(d<<3)|0;c=m[b>>2]>=q>>>0;b=j[b+4>>2];o=(b|0)>(h|0)?1:(b|0)>=(h|0)?c:0}Ng(f,e+40|0);Ng(e+56|0,e+40|0);b=0;p=k[j[e+40>>2]+5|0]&4;continue}}j[a+80>>2]=-1;j[a+84>>2]=-1;gk(e+56|0);wg(g);Yg(a+592|0);j[a+88>>2]=2;d=-137;break a}j[a+80>>2]=b;j[a+84>>2]=c;gk(e+56|0);j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;d=0}oe=e+416|0;return d}function BK(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,k=0,l=0,m=0,n=0;h=oe-96|0;oe=h;j[h+80>>2]=0;j[h+84>>2]=0;j[h+72>>2]=0;j[h+76>>2]=0;g=h- -64|0;j[g>>2]=0;j[g+4>>2]=0;j[h+56>>2]=0;j[h+60>>2]=0;j[h+48>>2]=0;j[h+52>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;g=xe(a,8,0,c+10|0,0,h+92|0);j[b+20>>2]=g;k=j[h+92>>2];if(!k){a:{if(!c){break a}while(1){k=qe[d|0](f,m)|0;b:{if(!k){break b}i=0;c:{d:{if(!we(192192,k)){break d}i=1;if(!we(192198,k)){break d}i=2;if(!we(192204,k)){break d}i=3;if(!we(192213,k)){break d}i=4;if(!we(192220,k)){break d}i=5;if(!we(192227,k)){break d}i=6;if(!we(192230,k)){break d}i=7;if(!we(192245,k)){break d}i=8;if(!we(192251,k)){break d}if(we(192264,k)){break c}i=9}l=i<<2;i=l+(h+48|0)|0;if(j[i>>2]){break c}j[i>>2]=1;j[h+l>>2]=m}i=$q(k);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}l=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}l=1;break f}l=2;break f}l=3;break f}if((i|0)!=713){break e}l=4;break f}l=5;break f}l=6;break f}l=7;break f}l=8;break f}l=9}j[n+(l<<2)>>2]=2}j[g+4>>2]=m;j[g>>2]=i;g=g+8|0}if(!e){break b}qe[e|0](f,k)}m=m+1|0;if((m|0)!=(c|0)){continue}break}if(j[h+48>>2]!=1){break a}j[g>>2]=916;j[g+4>>2]=j[h>>2];g=g+8|0}if(j[h+52>>2]==1){j[g>>2]=937;j[g+4>>2]=j[h+4>>2];g=g+8|0}if(j[h+56>>2]==1){j[g>>2]=8725;j[g+4>>2]=j[h+8>>2];g=g+8|0}if(j[h+60>>2]==1){j[g>>2]=173;j[g+4>>2]=j[h+12>>2];g=g+8|0}if(j[h+64>>2]==1){j[g>>2]=713;j[g+4>>2]=j[h+16>>2];g=g+8|0}if(j[h+68>>2]==1){j[g>>2]=956;j[g+4>>2]=j[h+20>>2];g=g+8|0}if(j[h+72>>2]==1){j[g>>2]=8729;j[g+4>>2]=j[h+24>>2];g=g+8|0}if(j[h+76>>2]==1){j[g>>2]=160;j[g+4>>2]=j[h+28>>2];g=g+8|0}if(j[h+80>>2]==1){j[g>>2]=538;j[g+4>>2]=j[h+32>>2];g=g+8|0}if(j[h+84>>2]==1){j[g>>2]=539;j[g+4>>2]=j[h+36>>2];g=g+8|0}k=j[b+20>>2];e=g-k|0;d=e>>3;r:{if(!e){if(k){qe[j[a+8>>2]](a,k)}j[b+20>>2]=0;a=j[h+92>>2];k=a?a:163;break r}if(d>>>0>>1>>>0){k=xe(a,8,c,d,k,h+92|0);j[b+20>>2]=k;j[h+92>>2]=0}eg(k,d,8,783);k=j[h+92>>2]}j[b+16>>2]=d}oe=h+96|0;return k|0}function Sp(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a>>2];e=k[a+8|0];a:{if(!e){m=c?l[c+8>>1]:0;d=k[a+9|0];if(d>>>0<=7){b:{c:{switch(d-1|0){case 0:m=p(m&1,255);if(!f){break b}g=b+f|0;d=0-f&7;e=(f-1>>>3|0)+b|0;while(1){g=g-1|0;h[g|0]=k[e|0]>>>d&1?-1:0;i=(d|0)==7;d=i?0:d+1|0;e=i?e-1|0:e;n=n+1|0;if((n|0)!=(f|0)){continue}break}break b;case 1:m=p(m&3,85);if(!f){break b}n=b+f|0;d=(f-1>>>2|0)+b|0;e=((f<<1)+6^-1)&6;while(1){n=n-1|0;i=k[d|0]>>>e&3;h[n|0]=i<<2|i|i<<4|i<<6;i=(e|0)==6;e=i?0:e+2|0;d=i?d-1|0:d;g=g+1|0;if((g|0)!=(f|0)){continue}break}break b;case 3:break c;default:break b}}m=p(m&15,17);if(!f){break b}g=b+f|0;d=f<<2&4;e=(f-1>>>1|0)+b|0;while(1){g=g-1|0;i=k[e|0]>>>d&15;h[g|0]=i<<4|i;e=(d|0)==4?e-1|0:e;d=((d|0)!=4)<<2;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+11|0]=8;h[a+9|0]=8;j[a+4>>2]=f;d=8}if(!c){break a}d:{e:{switch(d-8|0){case 0:if(!f){break d}d=b+f|0;e=(f<<1)+b|0;b=m&255;g=0;while(1){d=d-1|0;h[e-1|0]=(b|0)!=k[d|0]?-1:0;e=e-2|0;h[e|0]=k[d|0];g=g+1|0;if((g|0)!=(f|0)){continue}break}break d;case 8:break e;default:break d}}if(!f){break d}g=m>>>8|0;c=j[a+4>>2];e=c+b|0;d=(c<<1)+b|0;n=0;m=m&255;while(1){c=e-1|0;i=d-1|0;e=e-2|0;f:{if((g|0)==k[e|0]){b=0;if((m|0)==k[c|0]){break f}}b=255}h[i|0]=b;h[d-2|0]=b;h[d-3|0]=k[c|0];d=d-4|0;h[d|0]=k[e|0];n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=2;h[a+8|0]=4;b=k[a+9|0]<<1;h[a+11|0]=b;b=b&254;if(b>>>0>=8){j[a+4>>2]=p(b>>>3|0,f);return}j[a+4>>2]=p(b,f)+7>>>3;return}if(!c|(e|0)!=2){break a}g:{h:{switch(k[a+9|0]-8|0){case 0:if(!f){break g}d=(f<<2)+b|0;e=j[a+4>>2]+b|0;n=l[c+2>>1]&255;i=l[c+4>>1]&255;o=l[c+6>>1]&255;while(1){c=e-1|0;q=d-1|0;b=e-3|0;i:{if(!((n|0)!=k[b|0]|(i|0)!=k[e-2|0])){m=0;if((o|0)==k[c|0]){break i}}m=255}h[q|0]=m;h[d-2|0]=k[c|0];h[d-3|0]=k[e-2|0];d=d-4|0;h[d|0]=k[b|0];e=b;g=g+1|0;if((g|0)!=(f|0)){continue}break}break g;case 8:break h;default:break g}}if(!f){break g}g=l[c+6>>1];i=g>>>8|0;o=l[c+4>>1];q=o>>>8|0;c=l[c+2>>1];r=c>>>8|0;d=(f<<3)+b|0;e=j[a+4>>2]+b|0;s=c&255;while(1){m=e-1|0;t=d-1|0;b=e-6|0;j:{k:{if(k[b|0]!=(r|0)|k[e-5|0]!=(s|0)|(k[e-4|0]!=(q|0)|k[e-3|0]!=(o&255))){break k}if((i|0)!=k[e-2|0]){break k}c=0;if(k[m|0]==(g&255)){break j}}c=255}h[t|0]=c;h[d-2|0]=c;h[d-3|0]=k[m|0];h[d-4|0]=k[e-2|0];h[d-5|0]=k[e-3|0];h[d-6|0]=k[e-4|0];h[d-7|0]=k[e-5|0];d=d-8|0;h[d|0]=k[b|0];e=b;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=4;h[a+8|0]=6;b=k[a+9|0]<<2;h[a+11|0]=b;b=b&252;l:{if(b>>>0>=8){b=p(b>>>3|0,f);break l}b=p(b,f)+7>>>3|0}j[a+4>>2]=b}}function RK(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,k=q(0),l=q(0),m=0,o=0,p=q(0),r=q(0),s=q(0),t=q(0),u=q(0),v=0,w=0,x=0;i=j[a>>2];x=i>>2;v=i>>1;e=v<<2;m=e+b|0;d=m-28|0;w=c+e|0;e=i&-4;i=w+e|0;f=i;h=e+j[a+8>>2]|0;e=h;while(1){o=f-16|0;n[o>>2]=q(n[e+12>>2]*q(-n[d+8>>2]))-q(n[d>>2]*n[e+8>>2]);n[f-12>>2]=q(n[d>>2]*n[e+12>>2])-q(n[d+8>>2]*n[e+8>>2]);n[f-8>>2]=q(n[e+4>>2]*q(-n[d+24>>2]))-q(n[d+16>>2]*n[e>>2]);n[f-4>>2]=q(n[d+16>>2]*n[e+4>>2])-q(n[d+24>>2]*n[e>>2]);e=e+16|0;f=o;d=d-32|0;if(d>>>0>=b>>>0){continue}break}d=m-32|0;e=i;while(1){f=h-4|0;o=h-8|0;n[e>>2]=q(n[d+16>>2]*n[f>>2])+q(n[d+24>>2]*n[o>>2]);n[e+4>>2]=q(n[d+16>>2]*n[o>>2])-q(n[d+24>>2]*n[f>>2]);f=h-12|0;h=h-16|0;n[e+8>>2]=q(n[d>>2]*n[f>>2])+q(n[d+8>>2]*n[h>>2]);n[e+12>>2]=q(n[d>>2]*n[h>>2])-q(n[d+8>>2]*n[f>>2]);e=e+16|0;d=d-32|0;if(d>>>0>=b>>>0){continue}break}dr(a,w,v);o=j[a+8>>2];b=j[a>>2];d=o+(b<<2)|0;e=j[a+12>>2];b=(b<<1&-4)+c|0;h=b;f=c;while(1){a=b+(j[e>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+4>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d>>2];g=q(g-k);k=n[d+4>>2];u=q(q(s*t)+q(g*k));n[f>>2]=l+u;n[h-8>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+4>>2]=l+g;n[h-4>>2]=g-l;a=b+(j[e+8>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+12>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d+8>>2];g=q(g-k);k=n[d+12>>2];u=q(q(s*t)+q(g*k));n[f+8>>2]=l+u;a=h-16|0;n[a>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+12>>2]=l+g;n[h-12>>2]=g-l;e=e+16|0;d=d+16|0;f=f+16|0;h=a;if(f>>>0>>0){continue}break}d=o+(v<<2)|0;f=i;h=f;e=c;while(1){n[f-4>>2]=q(n[e>>2]*n[d+4>>2])-q(n[e+4>>2]*n[d>>2]);n[h>>2]=-q(q(n[e>>2]*n[d>>2])+q(n[e+4>>2]*n[d+4>>2]));n[f-8>>2]=q(n[e+8>>2]*n[d+12>>2])-q(n[e+12>>2]*n[d+8>>2]);n[h+4>>2]=-q(q(n[e+8>>2]*n[d+8>>2])+q(n[e+12>>2]*n[d+12>>2]));n[f-12>>2]=q(n[e+16>>2]*n[d+20>>2])-q(n[e+20>>2]*n[d+16>>2]);n[h+8>>2]=-q(q(n[e+16>>2]*n[d+16>>2])+q(n[e+20>>2]*n[d+20>>2]));f=f-16|0;n[f>>2]=q(n[e+24>>2]*n[d+28>>2])-q(n[e+28>>2]*n[d+24>>2]);n[h+12>>2]=-q(q(n[e+24>>2]*n[d+24>>2])+q(n[e+28>>2]*n[d+28>>2]));d=d+32|0;h=h+16|0;e=e+32|0;if(f>>>0>e>>>0){continue}break}f=(x<<2)+c|0;d=f;e=i;while(1){g=n[e-4>>2];n[f-4>>2]=g;n[d>>2]=-g;g=n[e-8>>2];n[f-8>>2]=g;n[d+4>>2]=-g;g=n[e-12>>2];n[f-12>>2]=g;n[d+8>>2]=-g;f=f-16|0;e=e-16|0;g=n[e>>2];n[f>>2]=g;n[d+12>>2]=-g;d=d+16|0;if(e>>>0>d>>>0){continue}break}d=i;while(1){a=i-16|0;n[a>>2]=n[d+12>>2];n[i-12>>2]=n[d+8>>2];n[i-8>>2]=n[d+4>>2];n[i-4>>2]=n[d>>2];d=d+16|0;i=a;if(a>>>0>w>>>0){continue}break}}function uk(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=He(j[a+100>>2],j[a+16>>2]+216|0,l+8|0);d=j[l+8>>2];if(!d){j[f>>2]=a;d=j[a+16>>2];j[f+212>>2]=c;c=f+216|0;j[f+8>>2]=c;j[f+4>>2]=d;o=j[a+92>>2];g=Ee(c,127,d);a:{if(sk(a)){break a}d=113632;while(1){c=j[j[(j[d+8>>2]<<2)+114768>>2]+4>>2];b:{if(!c|j[d+16>>2]!=10){break b}d=j[c>>2];if(!d){break b}while(1){e=c;c=0;c:{if(!a){break c}i=j[a+92>>2];if(!i){break c}c=qe[j[j[i+12>>2]+12>>2]](i,d)|0}j[l+12>>2]=c;d:{if(!c|m[f+4>>2]<=c>>>0){break d}c=c+g|0;if(k[c|0]!=127){break d}h[c|0]=n}d=bs(a,d,l+12|0);while(1){c=j[l+12>>2];if(!(!c|m[e+4>>2]>>0)){e:{if(c>>>0>=m[f+4>>2]){break e}c=c+g|0;if(k[c|0]!=127){break e}h[c|0]=n}d=bs(a,d,l+12|0);continue}break}c=e+8|0;d=j[e+8>>2];if(d){continue}break}}n=n+1|0;d=j[(n<<2)+114864>>2];if((n|0)!=49){continue}break}d=0;c=a;f:{if(!c){break f}e=j[c+92>>2];if(!e){break f}d=qe[j[j[e+12>>2]+12>>2]](e,48)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;g:{if(!c){break g}e=j[c+92>>2];if(!e){break g}d=qe[j[j[e+12>>2]+12>>2]](e,49)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;h:{if(!c){break h}e=j[c+92>>2];if(!e){break h}d=qe[j[j[e+12>>2]+12>>2]](e,50)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;i:{if(!c){break i}e=j[c+92>>2];if(!e){break i}d=qe[j[j[e+12>>2]+12>>2]](e,51)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;j:{if(!c){break j}e=j[c+92>>2];if(!e){break j}d=qe[j[j[e+12>>2]+12>>2]](e,52)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;k:{if(!c){break k}e=j[c+92>>2];if(!e){break k}d=qe[j[j[e+12>>2]+12>>2]](e,53)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;l:{if(!c){break l}e=j[c+92>>2];if(!e){break l}d=qe[j[j[e+12>>2]+12>>2]](e,54)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;m:{if(!c){break m}e=j[c+92>>2];if(!e){break m}d=qe[j[j[e+12>>2]+12>>2]](e,55)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;n:{if(!c){break n}e=j[c+92>>2];if(!e){break n}d=qe[j[j[e+12>>2]+12>>2]](e,56)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;o:{if(!c){break o}c=j[a+92>>2];if(!c){break o}d=qe[j[j[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=m[f+4>>2]){break a}c=d+g|0;h[c|0]=k[c|0]|128}e=j[f+212>>2];p:{if(j[e+12>>2]==127){break p}n=j[f+4>>2];if((n|0)<1){break p}d=0;while(1){c=d+g|0;i=k[c|0];if((i&127)==127){i=i&128;h[c|0]=i;h[c|0]=i|k[e+12|0]}d=d+1|0;if((n|0)>(d|0)){continue}break}}Uh(a,o);j[f+12>>2]=0;d=0}j[b>>2]=f;oe=l+16|0;return d}function wN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;a:{if(!a){break a}i=j[a+100>>2];b=j[a+532>>2];if(b){qe[j[b+12>>2]](a)}c=j[a+656>>2];if(!c){break a}f=j[c+4>>2];b=j[c+84>>2];if(b){d=j[b+28>>2];e=c+112|0;if(j[e>>2]){jf(b,e)}b=j[c+108>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+108>>2]=0;j[c+112>>2]=0;j[c+100>>2]=0;j[c+104>>2]=0;j[c+92>>2]=0;j[c+96>>2]=0;j[c+84>>2]=0;j[c+88>>2]=0}b=j[c+1208>>2];if(b){d=j[b+28>>2];e=c+1236|0;if(j[e>>2]){jf(b,e)}b=j[c+1232>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1208|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+20>>2];if(b){d=j[b+28>>2];e=c+48|0;if(j[e>>2]){jf(b,e)}b=j[c+44>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+44>>2]=0;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0}b=j[c+1176>>2];if(b){d=j[b+28>>2];e=c+1204|0;if(j[e>>2]){jf(b,e)}b=j[c+1200>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1176|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+1896>>2];if(b){while(1){d=j[((g<<2)+c|0)+1900>>2];if(d){b=j[d+536>>2];if(b){e=j[b+28>>2];k=d+564|0;if(j[k>>2]){jf(b,k)}b=j[d+560>>2];if(b){qe[j[e+8>>2]](e,b)}b=d;j[b+560>>2]=0;j[b+564>>2]=0;j[b+552>>2]=0;j[b+556>>2]=0;j[b+544>>2]=0;j[b+548>>2]=0;j[b+536>>2]=0;j[b+540>>2]=0}b=j[d+568>>2];if(b){qe[j[f+8>>2]](f,b)}j[d+568>>2]=0;b=j[c+1896>>2]}g=g+1|0;if(g>>>0>>0){continue}break}b=j[c+1900>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1900>>2]=0}j[c+116>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;b=j[j[c>>2]+28>>2];d=b;g=c+1164|0;e=j[g>>2];if(e){qe[j[d+8>>2]](d,e)}j[g>>2]=0;j[g+4>>2]=0;d=c+1160|0;g=j[d>>2];if(g){qe[j[b+8>>2]](b,g)}j[c+1152>>2]=0;j[c+1156>>2]=0;j[d>>2]=0;b=c+1860|0;d=j[b>>2];if(d){g=j[d+28>>2];e=c+1888|0;if(j[e>>2]){jf(d,e)}d=j[c+1884>>2];if(d){qe[j[g+8>>2]](g,d)}j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=c+1892|0;d=j[b>>2];if(d){qe[j[f+8>>2]](f,d)}j[b>>2]=0;b=c+2932|0;if(j[b>>2]){jf(j[c>>2],b)}h[c+2924|0]=0;j[c+2928>>2]=0;j[c+2936>>2]=0;b=j[c+2960>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2960>>2]=0;b=j[c+1304>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1304>>2]=0;b=j[c+1308>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1308>>2]=0;b=j[c+1316>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1316>>2]=0;b=j[c+1320>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1320>>2]=0;b=j[c+2976>>2];if(b){qe[b|0](j[c+2972>>2]);b=j[c+2972>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2972>>2]=0}b=j[a+656>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+656>>2]=0}}function _n(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;a=oe-144|0;oe=a;b=j[58911];if(!we(b,1164)){e=j[58890]-j[58888]|0;l=j[58889]-j[58887]|0}j[a+20>>2]=e;j[a+16>>2]=l;ti(b,a+24|0);if(j[a+88>>2]>j[58912]){ti(j[58911],a+24|0);j[58912]=j[a+88>>2];ol()}if(!j[58916]){ti(j[58915],a+24|0);j[58916]=j[a+88>>2]}ti(j[58915],a+24|0);if(j[a+88>>2]>j[58916]){ti(j[58915],a+24|0);j[58916]=j[a+88>>2];$g(1192,0);Jo()}fi(j[58882],0,0,0,0);a:{if(!j[58914]){break a}q=a+36|0;r=a+32|0;b=44;d=l;while(1){if(j[58906]==(i|0)){break a}c=b;b:{c:{d:{f=j[58913]+o|0;n=h[f|0];b=n;switch(b-32|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((n|0)!=10){if((n|0)!=95){break c}fi(j[58882],255,255,255,40);if(k[242924]){j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=16;j[a+36>>2]=16;c=j[58884]+d|0;j[a+128>>2]=c+2;b=j[58885];j[a+136>>2]=10;j[a+140>>2]=9;b=b+e|0;j[a+132>>2]=b+2;j[a+116>>2]=b;j[a+112>>2]=c;j[a+120>>2]=16;j[a+124>>2]=16;po(j[58882]);oo(j[58882],a+112|0);Ui(j[58882],j[65531],a+24|0,a+128|0)}fi(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=-1;g=g+1|0;b=k[j[58913]+o|0];break b}j[j[58908]+(i<<2)>>2]=g;e=e+16|0;j[a+20>>2]=e;j[a+16>>2]=l;g=0;i=i+1|0;if((i|0)==j[58906]){d=l;b=c;break b}b=k[f|0];d=l;break b}e:{f:{b=c;c=c&255;switch(c|0){case 0:case 10:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break b;default:break f}}c=c-32|0;if(!c|(c|0)==12){break e}break b}g:{h:{i:{j:{b=k[f+1|0];switch(b|0){case 0:case 10:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break i;default:break j}}b=b-32|0;if(!b|(b|0)==12){break h}}j[a+24>>2]=0;b=2;k:{l:{m:{c=k[f+2|0];switch(c|0){case 0:case 10:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break l;default:break m}}c=c-32|0;if(!c|(c|0)==12){break k}}b=3}Ae(a+24|0,f,b);b=rf(a+24|0);break g}b=n-48|0}c=p(b,24)+235536|0;f=j[c+144>>2];c=j[c+140>>2];j[a+28>>2]=e;j[a+24>>2]=d;j[a+128>>2]=c;j[a+132>>2]=f;j[a+136>>2]=16;j[a+140>>2]=16;j[a+112>>2]=j[58884]+d;c=j[58885];j[a+120>>2]=16;j[a+124>>2]=16;j[a+116>>2]=c+e;ro(j[58905],r,q);Ui(j[58882],j[58905],a+128|0,a+112|0);fi(j[58882],255,255,255,40);c=j[a+20>>2];j[a+8>>2]=j[a+16>>2];j[a+12>>2]=c;MA(a+8|0,b);fi(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=b;g=g+1|0;b=n}o=o+1|0;if(o>>>0>2]);if(c){break a}g=j[a+96>>2];f=j[a+116>>2];i=g-f|0;if((i|0)>=1){d=j[a+68>>2];e=j[a+64>>2];j[l+12>>2]=0;c=e+i|0;b:{if(c>>>0<=d>>>0){d=j[a+76>>2];break b}e=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(c>>>0>b>>>0){continue}break}n=a,o=xe(e,8,d,b,j[a+72>>2],l+12|0),j[n+72>>2]=o;c=j[l+12>>2];if(c){break a}d=xe(e,1,d,b,j[a+76>>2],l+12|0);j[a+76>>2]=d;c=j[l+12>>2];if(c){break a}j[a+68>>2]=b;f=j[a+116>>2];g=j[a+96>>2];e=j[a+64>>2]}c=j[a+104>>2];b=(c+(g<<3)|0)-8|0;if(b>>>0>=c+(f<<3)>>>0){c=j[a+72>>2]+(e<<3)|0;e=d+e|0;d=j[a+108>>2]+g|0;while(1){f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;d=d-1|0;h[e|0]=k[d|0]&243;e=e+1|0;c=c+8|0;b=b-8|0;f=j[a+116>>2];if(b>>>0>=j[a+104>>2]+(f<<3)>>>0){continue}break}e=j[a+64>>2]}j[a+96>>2]=f;h[a+112|0]=0;h[a+80|0]=0;j[a+64>>2]=e+i}b=j[a+32>>2];j[a+8>>2]=j[a+28>>2];j[a+12>>2]=b;c=Ur(a,j[a+24>>2]+11796480|0);if(c){break a}d=j[a+64>>2];b=j[a+84>>2];c:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break c}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;c=0;h[a+80|0]=0;break a}if(!(j[a+12>>2]==j[a+32>>2]?j[a+8>>2]==j[a+28>>2]:0)){c=Wr(a,a+28|0);if(c){break a}}b=j[a+24>>2];j[a+4>>2]=b;b=Df(j[a>>2],b);if(b){c=Di(a,b>>>31|0,j[a+36>>2]);if(c){break a}c=Ci(a,(b^-1)>>>31|0,j[a+36>>2]);if(c){break a}}d=j[a+64>>2];b=j[a+84>>2];d:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break d}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;h[a+80|0]=0;f=j[a+96>>2];e=j[a+116>>2];e:{if(f>>>0<=e+1>>>0){j[a+96>>2]=e;break e}g=f-1|0;j[a+96>>2]=g;b=j[a+104>>2];d=e<<3;c=b+d|0;i=g<<3;b=i+b|0;m=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=m;b=d;d=j[a+104>>2];b=(b+d|0)+8|0;c=(d+i|0)-8|0;if(b>>>0>>0){while(1){d=j[b>>2];i=j[b+4>>2];m=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=m;j[c>>2]=d;j[c+4>>2]=i;b=b+8|0;c=c-8|0;if(b>>>0>>0){continue}break}}d=j[a+108>>2];b=(d+e|0)+1|0;c=(d+g|0)-1|0;if(b>>>0>>0){while(1){d=k[b|0];h[b|0]=k[c|0];h[c|0]=d;b=b+1|0;c=c-1|0;if(b>>>0>>0){continue}break}d=j[a+108>>2]}b=d+e|0;h[b|0]=k[b|0]|4;b=(f+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+116>>2]=-1;c=0;h[a+112|0]=0}oe=l+16|0;return c}function Tz(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;var h=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;r=oe-16|0;oe=r;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<1)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<1)|0;a=g?a:a+2|0}b=c+e|0;if(!b){break a}while(1){i[a>>1]=f;a=a+2|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(d<<1)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;a=g?a:a+(h<<1)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}n=b-d|0;h=n>>31;m=c-e|0;l=m>>31;if((h^h+n)==(l^l+m)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(b<<1)|0;m=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<1)|0}b=((g|0)!=0)+m|0;if(!b){break a}c=c<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}h=j[a+4>>2];Bn(f,h,r+15|0,r+14|0,r+13|0,r+12|0);e:{h=j[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;f:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break f}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;g:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break g}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;h:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break h}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}oe=r+16|0}function AG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+488>>2];l=j[b+16>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);c=3;a=j[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=k[a|0];c:{if(a-48>>>0<=9){a=qe[j[b+36>>2]](b)|0;j[b+144>>2]=a;if(j[b+12>>2]){break a}if((a|0)<0){break b}a=j[b>>2];break c}if((a|0)!=60){break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);d=j[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=k[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}j[b>>2]=d;j[b+144>>2]=i;a=d;break c}i=i+1|0}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}m=b+200|0;c=qe[j[j[f>>2]>>2]](m,j[b+144>>2],l)|0;if(c){break b}n=b+148|0;c=qe[j[j[f>>2]>>2]](n,j[b+144>>2],l)|0;if(c){break b}i=b+252|0;c=qe[j[j[f>>2]>>2]](i,4,l)|0;if(c){break b}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0<=a>>>0){j[b+144>>2]=0;c=3;break b}l=0;f=0;d=0;while(1){e:{c=k[a|0];f:{if(!((c|0)!=101|a+3>>>0>=e>>>0)){if(k[a+1|0]!=110|k[a+2|0]!=100){break f}switch(k[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}if((c|0)==62){break e}}qe[j[b+32>>2]](b);c=3;g=j[b>>2];if(g>>>0>=e>>>0){break b}if(j[b+12>>2]){break a}if(k[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=qe[j[b+192>>2]](n,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;h[c+j[g+j[b+172>>2]>>2]|0]=0;if(k[a|0]==46){a=we(204303,j[g+j[b+172>>2]>>2]);l=a?l:1;f=a?f:d}qe[j[b+28>>2]](b);a=j[b>>2];qe[j[b+36>>2]](b)|0;c=3;o=j[b>>2];if(o>>>0>=e>>>0){break b}c=a;a=o-a|0;c=qe[j[b+244>>2]](m,d,c,a+1|0)|0;if(c){break b}h[a+j[g+j[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=j[b+144>>2]){break e}}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}}break}j[b+144>>2]=d;if(!(l&255)){c=3;break b}a=j[j[b+172>>2]>>2];if(!we(204303,a)){break a}c=qe[j[b+296>>2]](i,0,a,j[j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,1,j[j[b+224>>2]>>2],j[j[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=qe[j[b+296>>2]](i,2,j[a+j[b+172>>2]>>2],j[a+j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,3,j[a+j[b+224>>2]>>2],j[a+j[b+228>>2]>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,f,j[j[b+276>>2]>>2],j[j[b+280>>2]>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,f,j[j[b+276>>2]+4>>2],j[j[b+280>>2]+4>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,0,j[j[b+276>>2]+8>>2],j[j[b+280>>2]+8>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,0,j[j[b+276>>2]+12>>2],j[j[b+280>>2]+12>>2])|0;if(!c){break a}}j[b+12>>2]=c}}function wt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+110880|0;r=b-1|0;if(r){D=a-1|0;E=m+110882|0;F=m+110890|0;G=m+110888|0;H=m+110886|0;I=m+110884|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+110928|0]<<3&2016|k[(z+x>>6)+110928|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+110928|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+110928|0]<<3&2016|k[(w+z>>6)+110928|0]<<8&63488|k[(w+x>>6)+110928|0]>>>3;o=o+2|0;n=n+2|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(o+b>>6)+110928|0]<<8&63488|k[(n+b>>6)+110928|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(b+o>>6)+110928|0]<<8&63488|k[(b+n>>6)+110928|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];j=i[a+110886>>1];u=i[a+110884>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(r+f>>6)+110928|0]<<8&63488|k[(o+f>>6)+110928|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(f+r>>6)+110928|0]<<8&63488|k[(f+o>>6)+110928|0]>>>3;s=s+2|0;q=q+2|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+110882>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+110886>>1])|0)+p(d,i[a+110888>>1])>>6)+110928|0]<<3&2016|k[(b+p(d,i[a+110884>>1])>>6)+110928|0]<<8&63488|k[(b+p(c,i[a+110890>>1])>>6)+110928|0]>>>3}}function Jt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+110880|0;r=b-1|0;if(r){D=a-1|0;E=m+110882|0;F=m+110890|0;G=m+110888|0;H=m+110886|0;I=m+110884|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+110928|0]<<3&2016|k[(z+x>>6)+110928|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+110928|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+110928|0]<<3&2016|k[(w+z>>6)+110928|0]<<8&63488|k[(w+x>>6)+110928|0]>>>3;o=o+1|0;n=n+1|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(o+b>>6)+110928|0]<<8&63488|k[(n+b>>6)+110928|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(b+o>>6)+110928|0]<<8&63488|k[(b+n>>6)+110928|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];j=i[a+110886>>1];u=i[a+110884>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(r+f>>6)+110928|0]<<8&63488|k[(o+f>>6)+110928|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(f+r>>6)+110928|0]<<8&63488|k[(f+o>>6)+110928|0]>>>3;s=s+1|0;q=q+1|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+110882>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+110886>>1])|0)+p(d,i[a+110888>>1])>>6)+110928|0]<<3&2016|k[(b+p(d,i[a+110884>>1])>>6)+110928|0]<<8&63488|k[(b+p(c,i[a+110890>>1])>>6)+110928|0]>>>3}}function Nq(a,b,c,d,e,f){var g=q(0),h=0,i=q(0),k=0,l=q(0),m=q(0),o=0,p=q(0),r=q(0),s=q(0),t=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0);h=(a<<2)+15&-16;t=oe-h|0;v=t-h|0;w=v-h|0;x=w-h|0;y=x-h|0;l=q(1);p=q(u(q(n[c>>2]+e),q(1)));i=q(q(p*p)*q(.5));g=q(i+q(0));n[t>>2]=g;n[v>>2]=g;j[w>>2]=0;m=q(q(p*i)+q(0));n[x>>2]=m;j[y>>2]=0;k=1;if((a|0)>1){p=g;while(1){h=k<<2;i=q(u(q(n[h+c>>2]+e),q(1)));r=q(i*i);p=q(p+r);n[h+t>>2]=p;s=q(l*r);g=q(g+s);n[h+v>>2]=g;z=q(z+q(l*s));n[h+w>>2]=z;m=q(m+q(i*r));n[h+x>>2]=m;A=q(A+q(i*s));n[h+y>>2]=A;l=q(l+q(1));k=k+1|0;if((k|0)!=(a|0)){continue}break}}g=q(1);l=q(0);k=j[b>>2];a:{if((k|0)>-1){p=q(0);i=q(0);break a}while(1){c=k<<2&262140;h=k>>16<<2;m=q(n[c+w>>2]+n[w-h>>2]);i=q(n[c+x>>2]+n[x-h>>2]);g=q(n[c+v>>2]-n[v-h>>2]);r=q(n[c+y>>2]-n[y-h>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-h>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];if((k|0)<=-1){continue}break}}c=k&65535;if((c|0)<(a|0)){while(1){c=c<<2;h=k>>16<<2;m=q(n[c+w>>2]-n[h+w>>2]);i=q(n[c+x>>2]-n[h+x>>2]);g=q(n[c+v>>2]-n[h+v>>2]);r=q(n[c+y>>2]-n[h+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]-n[h+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];c=k&65535;if((c|0)<(a|0)){continue}break}}if((a|0)>(o|0)){while(1){n[(o<<2)+d>>2]=q(u(q(q(p+q(i*l))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}b:{if((f|0)<1){break b}h=f>>>1|0;k=h-f|0;c:{if((k|0)>-1){l=q(0);o=0;break c}o=f-h|0;b=0;l=q(0);c=h;while(1){c=c<<2;k=k<<2;m=q(n[c+w>>2]+n[w-k>>2]);i=q(n[c+x>>2]+n[x-k>>2]);g=q(n[c+v>>2]-n[v-k>>2]);r=q(n[c+y>>2]-n[y-k>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-k>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(b<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));b=b+1|0;c=h+b|0;k=c-f|0;if((b|0)!=(o|0)){continue}break}}k=h+o|0;if((k|0)<(a|0)){while(1){b=k<<2;c=k-f<<2;m=q(n[b+w>>2]-n[c+w>>2]);i=q(n[b+x>>2]-n[c+x>>2]);g=q(n[b+v>>2]-n[c+v>>2]);r=q(n[b+y>>2]-n[c+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[b+t>>2]-n[c+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(o<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));o=o+1|0;k=h+o|0;if((k|0)<(a|0)){continue}break}}if((a|0)<=(o|0)){break b}while(1){m=q(q(q(p+q(i*l))/g)-e);b=(o<<2)+d|0;if(!(m>2]^1)){n[b>>2]=m}l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}}function Ep(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=oe-48|0;oe=g;sP(+a);d=pP(1)|0;f=pP(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;o[b>>3]=a;sP(+a);d=pP(1)|0;pP(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(r(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;o[b>>3]=a;f=e;sP(+a);e=pP(1)|0;pP(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;o[b>>3]=a}o[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;o[b>>3]=a;o[b+8>>3]=a;d=0;break a}qP(0,f|0);qP(1,e&1048575|1096810496);a=+rP();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(r(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);o[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}o[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(o[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=Fp(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=o[g>>3];if((e|0)<-1?1:(e|0)<=-1){o[b>>3]=-a;o[b+8>>3]=-o[g+8>>3];d=0-d|0;break a}o[b>>3]=a;o[b+8>>3]=o[g+8>>3]}oe=g+48|0;return d}function vt(a,b,c,d,e,f,g,j,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){D=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+110928|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+110928|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+110928|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+110928|0];h[n+4|0]=k[(u+y>>6)+110928|0];h[n+3|0]=k[(u+B>>6)+110928|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+110928|0];h[b+1|0]=k[(u+y>>6)+110928|0];h[b|0]=k[(u+B>>6)+110928|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+110928|0];h[b+4|0]=k[(v+y>>6)+110928|0];h[b+3|0]=k[(v+B>>6)+110928|0];r=r+2|0;q=q+2|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+110928|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+110928|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+110928|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+110928|0];h[b+1|0]=k[(n+q>>6)+110928|0];h[b|0]=k[(n+o>>6)+110928|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];j=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+110928|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+110928|0];s=p(s,w);h[n|0]=k[(s+f>>6)+110928|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+110928|0];h[n+4|0]=k[(f+r>>6)+110928|0];h[n+3|0]=k[(f+s>>6)+110928|0];o=o+2|0;t=t+2|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+110890>>1])>>6)+110928|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0];h[n+1|0]=k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]}}function Ts(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;o=oe-16|0;oe=o;j[o+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(k[b+18|0]-1>>>0<=6){q=j[a>>2];h[c+18|0]=2;g=j[c>>2];f=j[b>>2];j[c>>2]=f;j[c+4>>2]=j[b+4>>2];l=j[c+8>>2];e=j[b+4>>2];if((e|0)>=1){hP(e,0,f,0);if(pe){break a}}n=c;m=0-e|0;a=e;e=p(a,f);d=l>>31;d=p(g,d+l^d);if(e>>>0>d>>>0){s=c,t=Qr(q,d,e,j[c+12>>2],o+12|0),j[s+12>>2]=t;d=j[o+12>>2];if(d){break a}l=j[c+8>>2]}j[n+8>>2]=(l|0)<0?m:a;break b}j[o+12>>2]=6}l=j[b+12>>2];e=j[b+8>>2];if((e|0)<=-1){l=p(1-j[b>>2]|0,e)+l|0}n=j[c+12>>2];g=j[c+8>>2];if((g|0)<=-1){n=p(1-j[c>>2]|0,g)+n|0}c:{d:{switch(k[b+18|0]-1|0){case 0:i[c+16>>1]=2;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>3|0;if(f){while(1){a=k[e|0];h[d+7|0]=a&1;h[d|0]=a>>>7;h[d+6|0]=a>>>1&1;h[d+5|0]=a>>>2&1;h[d+4|0]=a>>>3&1;h[d+3|0]=a>>>4&1;h[d+2|0]=a>>>5&1;h[d+1|0]=a>>>6&1;e=e+1|0;d=d+8|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&7;if(f){a=k[e|0];while(1){h[d|0]=(a&128)>>>7;d=d+1|0;a=a<<1;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 1:case 4:case 5:a=j[b+4>>2];i[c+16>>1]=256;d=j[b>>2];if(!d){break c}while(1){n=Ae(n,l,a)+j[c+8>>2]|0;l=j[b+8>>2]+l|0;d=d-1|0;if(d){continue}break}break c;case 2:i[c+16>>1]=4;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>2|0;if(f){while(1){a=k[e|0];h[d+3|0]=a&3;h[d|0]=a>>>6;h[d+2|0]=a>>>2&3;h[d+1|0]=a>>>4&3;d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&3;if(f){a=k[e|0];while(1){h[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 3:i[c+16>>1]=16;g=j[b>>2];if(!g){break c}while(1){d=n;a=l;m=j[b+4>>2];e=m>>>1|0;if(e){while(1){m=k[a|0];h[d+1|0]=m&15;h[d|0]=m>>>4;d=d+2|0;a=a+1|0;e=e-1|0;if(e){continue}break}m=j[b+4>>2]}if(m&1){h[d|0]=k[a|0]>>>4}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 6:break d;default:break c}}i[c+16>>1]=256;q=j[b>>2];if(!q){break c}while(1){a=n;d=l;f=j[b+4>>2];if(f){while(1){e=a;g=k[d+3|0];m=0;e:{if(!g){break e}m=k[d+1|0];r=p(p(m,m),46871);m=k[d|0];r=r+p(p(m,m),4732)|0;m=k[d+2|0];m=g-((r+p(p(m,m),13933)>>>16>>>0)/(g>>>0)|0)|0}h[e|0]=m;a=a+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}g=j[c+8>>2];e=j[b+8>>2]}n=n+g|0;l=l+e|0;q=q-1|0;if(q){continue}break}}d=j[o+12>>2]}oe=o+16|0;return d}function It(a,b,c,d,e,f,g,j,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){D=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+110928|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+110928|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+110928|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+110928|0];h[n+4|0]=k[(u+y>>6)+110928|0];h[n+3|0]=k[(u+B>>6)+110928|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+110928|0];h[b+1|0]=k[(u+y>>6)+110928|0];h[b|0]=k[(u+B>>6)+110928|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+110928|0];h[b+4|0]=k[(v+y>>6)+110928|0];h[b+3|0]=k[(v+B>>6)+110928|0];r=r+1|0;q=q+1|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+110928|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+110928|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+110928|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+110928|0];h[b+1|0]=k[(n+q>>6)+110928|0];h[b|0]=k[(n+o>>6)+110928|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];j=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+110928|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+110928|0];s=p(s,w);h[n|0]=k[(s+f>>6)+110928|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+110928|0];h[n+4|0]=k[(f+r>>6)+110928|0];h[n+3|0]=k[(f+s>>6)+110928|0];o=o+1|0;t=t+1|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+110890>>1])>>6)+110928|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0];h[n+1|0]=k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]}}function Hm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;r=j[a>>2];c=vO(b,c,f+24|0,f+20|0);a:{if(c){break a}c=1;b:{if(!Zr(a,b,j[f+24>>2],j[f+20>>2],1347375956,1,f+16|0,f+12|0)){s=j[f+12>>2];v=j[f+16>>2];j[f+28>>2]=1;c:{if(d+1>>>0>1){break c}c=10;if((s|0)<1){break c}t=j[a>>2];d=0;while(1){c=Fe(b,j[(d<<2)+v>>2]);j[f+28>>2]=c;if(c){break c}m=sf(b,f+28|0);c=j[f+28>>2];if(c){break c}c=9;if((m|0)<0){break c}l=n;n=(m+l|0)+6|0;if(n>>>0>>0){break c}d=d+1|0;if((s|0)!=(d|0)){continue}break}c=10;q=n+2|0;if(q>>>0<6){break c}i=He(t,q,f+28|0);c=j[f+28>>2];if(c){break c}h[i+2|0]=0;h[i+3|0]=0;h[i+4|0]=0;h[i+5|0]=0;h[i|0]=128;h[i+1|0]=1;c=1;l=6;d:{e:{f:{g:{if((s|0)<1){o=2;break g}o=2;while(1){d=Fe(b,j[(u<<2)+v>>2]);j[f+28>>2]=d;if(d){break e}d=sf(b,f+28|0);if(j[f+28>>2]|(d|0)<0){break e}m=qf(b,f+28|0);if(j[f+28>>2]){break e}j[f+28>>2]=10;m=m>>>8|0;if(m){p=d-2|0;p=d>>>0

>>0?0:p;h:{if((c|0)==(m|0)){d=l;l=g+p|0;break h}d=o+3|0;if(d>>>0>q>>>0){break f}c=i+o|0;h[c|0]=g;h[c+2|0]=g>>>16;h[c+1|0]=g>>>8;h[d+i|0]=g>>>24;if((m|0)==5){break g}d=l+6|0;if(q>>>0>>0){break f}g=i+l|0;h[g|0]=128;o=l+2|0;c=i+o|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;h[g+1|0]=m;c=m;l=p}g=l;if(d>>>0>n>>>0){break f}l=d+p|0;if(n>>>0>>0){break f}d=uf(b,d+i|0,p);j[f+28>>2]=d;if(d){break e}}u=u+1|0;if((u|0)!=(s|0)){continue}break}}j[f+28>>2]=10;c=l+2|0;if(c>>>0>q>>>0){break e}b=i+l|0;h[b|0]=128;h[b+1|0]=3;d=o+3|0;if(d>>>0>q>>>0){break f}b=i+o|0;h[b|0]=g;h[b+2|0]=g>>>16;h[b+1|0]=g>>>8;h[d+i|0]=g>>>24;c=Gm(a,i,c,0,116437,e);break c}if(!j[f+28>>2]){break d}}j[f+28>>2]=1}if(i){qe[j[t+8>>2]](t,i)}c=j[f+28>>2]}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=1;break b}c=Zr(a,b,j[f+24>>2],j[f+20>>2],1936092788,0,f+16|0,f+12|0);if(c){break a}c=1;g=j[f+12>>2];d=(d|0)%(g|0)|0;d=(d|0)==-1?0:d;i:{if((d|0)>=(g|0)){break i}l=j[a>>2];n=j[j[f+16>>2]+(d<<2)>>2];c=Fe(b,n);j[f+28>>2]=c;if(c){break i}g=sf(b,f+28|0);c=j[f+28>>2];if(c){break i}c=1;if((g|0)==-1){break i}c=hs(a,b,d,e);j[f+28>>2]=c;if(!c){c=0;break i}if(Fe(b,n+4|0)){c=j[f+28>>2];break i}d=He(l,g,f+28|0);c=j[f+28>>2];if(c){break i}c=uf(b,d,g);j[f+28>>2]=c;if(c){break i}c=Gm(a,d,g,0,(g|0)>=5?(k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24))==1330926671?116479:116443:116443,e)}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=j[f+12>>2]}c=0}oe=f+32|0;return c}function st(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<16|k[(A+u>>6)+110928|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<16|k[(y+A>>6)+110928|0]<<8|k[(y+u>>6)+110928|0]|-16777216;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(s+b>>6)+110928|0]<<8|k[(o+b>>6)+110928|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+s>>6)+110928|0]<<8|k[(b+o>>6)+110928|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(q+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+q>>6)+110928|0]|-16777216;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<16|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]|-16777216}}function Ft(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<16|k[(A+u>>6)+110928|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<16|k[(y+A>>6)+110928|0]<<8|k[(y+u>>6)+110928|0]|-16777216;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(s+b>>6)+110928|0]<<8|k[(o+b>>6)+110928|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+s>>6)+110928|0]<<8|k[(b+o>>6)+110928|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(q+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+q>>6)+110928|0]|-16777216;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<16|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]|-16777216}}function rt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<16|k[(A+y>>6)+110928|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<16|k[(x+A>>6)+110928|0]<<8|k[(x+y>>6)+110928|0]|-16777216;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|k[(r+b>>6)+110928|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|k[(b+r>>6)+110928|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(o+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+o>>6)+110928|0]|-16777216;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<16;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]|-16777216}}function Et(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<16|k[(A+y>>6)+110928|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<16|k[(x+A>>6)+110928|0]<<8|k[(x+y>>6)+110928|0]|-16777216;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|k[(r+b>>6)+110928|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|k[(b+r>>6)+110928|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(o+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+o>>6)+110928|0]|-16777216;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<16;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]|-16777216}}function ut(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<24|k[(A+u>>6)+110928|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<24|k[(y+A>>6)+110928|0]<<16|k[(y+u>>6)+110928|0]<<8|255;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(s+b>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+s>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(q+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+q>>6)+110928|0]<<8|255;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<24|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]<<8|255}}function Ht(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<24|k[(A+u>>6)+110928|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<24|k[(y+A>>6)+110928|0]<<16|k[(y+u>>6)+110928|0]<<8|255;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(s+b>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+s>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(q+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+q>>6)+110928|0]<<8|255;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<24|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]<<8|255}}function tt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<24|k[(A+y>>6)+110928|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<24|k[(x+A>>6)+110928|0]<<16|k[(x+y>>6)+110928|0]<<8|255;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(o+b>>6)+110928|0]<<16|k[(r+b>>6)+110928|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+o>>6)+110928|0]<<16|k[(b+r>>6)+110928|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(o+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+o>>6)+110928|0]<<8|255;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<24;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<8|255}}function Gt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<24|k[(A+y>>6)+110928|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<24|k[(x+A>>6)+110928|0]<<16|k[(x+y>>6)+110928|0]<<8|255;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(o+b>>6)+110928|0]<<16|k[(r+b>>6)+110928|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+o>>6)+110928|0]<<16|k[(b+r>>6)+110928|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(o+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+o>>6)+110928|0]<<8|255;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<24;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<8|255}}function gD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-32|0;oe=g;j[g+28>>2]=b;a:{if(!j[65572]){ve(63202,0);break a}if(!b){ve(63357,0);break a}b:{if((sD(a,b,g+24|0,g+20|0)|0)>=0){e=j[g+24>>2];if(e){break b}}ve(63379,0);break a}e=ug(0,e,j[g+20>>2],32,16711680,65280,255,-16777216);if(!e){break a}i=j[e+16>>2]/4|0;d=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:d;o=j[e+12>>2];n=j[e+20>>2];b=Le(b);j[g+16>>2]=b;q=k[c+2|0]|(k[c+1|0]<<8|k[c|0]<<16);Dh(e,0,q);if(b){i=n+(p(i,o)<<2)|0;o=d^1;d=0;c=1;while(1){b=$o(g+28|0,g+16|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(ep(a,b,18)){d=0;ve(63337,0);kf(e);break a}l=j[a+52>>2];b=j[l+36>>2];j[g+24>>2]=b;c:{if(j[a+28>>2]>0){break c}f=b;b=j[l+60>>2]-j[l+56>>2]|0;if((f|0)<=(b|0)){break c}j[g+24>>2]=b}d:{if(o|!d){break d}b=j[l+4>>2];if(!b){break d}cs(j[a>>2],d,b,g+8|0);m=(j[g+8>>2]>>6)+m|0}if(c){b=j[l+56>>2];m=m-(b>>31&b)|0}c=j[l+32>>2];if(c){f=0;while(1){b=j[l+72>>2]+f|0;e:{if((b|0)<0|(b|0)>=j[e+12>>2]){break e}b=((j[e+20>>2]+(m<<2)|0)+((p(b,j[e+16>>2])|0)/4<<2)|0)+(j[l+56>>2]<<2)|0;if(i>>>0<=b>>>0){break e}d=j[g+24>>2];if((d|0)<1){break e}c=j[l+44>>2]+p(j[l+40>>2],f)|0;while(1){f:{j[b>>2]=j[b>>2]|q|k[c|0]<<24;b=b+4|0;if(i>>>0<=b>>>0){break f}c=c+1|0;n=(d|0)>1;d=d-1|0;if(n){continue}}break}c=j[l+32>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}m=j[l+76>>2]+m|0;m=!(h[a+24|0]&1)|h[a+20|0]&1?m:j[a+36>>2]+m|0;d=j[l+4>>2];c=0}if(j[g+16>>2]){continue}break}}b=j[a+24>>2];g:{if(!(b&4)){break g}d=j[e+20>>2];f=j[e+16>>2];o=d+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;c=j[a+8>>2]+(j[a+44>>2]^-1)|0;d=(c|0)>0?d+p(c,f)|0:d;if(o>>>0<=d>>>0){break g}c=j[a+28>>2];i=j[a+48>>2]+((c|0)>0?c<<1:0)|0;if((i|0)<1){break g}n=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=n;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}b=(f|0)/4|0;if((i|0)>=2){i=i-1|0;d=(b<<2)+d|0;if(o>>>0>d>>>0){continue}}break}b=j[a+24>>2]}h:{if(!(b&8)){break h}c=j[e+20>>2];f=j[e+16>>2];n=c+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;b=j[a+4>>2];d=(b|0)>1?c+p((b|0)/2|0,f)|0:c;if(n>>>0<=d>>>0){break h}b=j[a+48>>2];a=j[a+28>>2];i=b+((a|0)>0?a<<1:0)|0;if((i|0)<1){break h}a=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=a;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}if((i|0)<2){break h}i=i-1|0;d=((f|0)/4<<2)+d|0;if(n>>>0>d>>>0){continue}break}}d=e}oe=g+32|0;return d}function Ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;m=j[a+36>>2];c=j[a+20>>2];n=j[a+16>>2];b=j[a>>2];i=j[a+28>>2];f=j[a+24>>2];e=k[j[a+40>>2]+9|0];a:{g=j[a+44>>2];if(!j[g+24>>2]){if(!i){break a}d=k[g+9|0];o=f&7;g=(f+7|0)/8|0;b:while(1){f=g;c:{d:{switch(o-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=i-1|0;l=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=l;h[c+1|0]=l>>>8;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+m|0;b=b+n|0;i=a;if(a){continue b}break a}a=0;continue}}}if(!i){break a}d=k[a+63|0]<>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=7;continue;default:break j}}a=i-1|0;j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=f-1|0;break k}c=c+m|0;b=b+n|0;i=a;if(a){continue g}break a}a=0;continue}}}}function Ws(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;f=6;a:{if(!a){break a}i=j[a+12>>2];g=j[a>>2];e=g;b:{if(!e){break b}e=g;if((i|0)==65536){break b}b=(g|0)<0?-1:1;e=(i|0)<0?0-b|0:b;c=g>>31;c=c+g^c;b=i>>31;b=b+i^b;c:{if(c+(b>>>8|0)>>>0<=8190){b=p(b,c)+32768>>>16|0;break c}d=c&65535;b=p(d,b>>>16|0)+p(b,c>>>16|0)+(p(d,b&65535)+32768>>>16)|0}e=(e|0)<0?0-b|0:b}h=j[a+8>>2];c=j[a+4>>2];b=c;d:{if(!c){break d}b=c;if((h|0)==65536){break d}b=(c|0)<0?-1:1;k=(h|0)<0?0-b|0:b;d=c>>31;d=d+c^d;b=h>>31;b=b+h^b;e:{if(d+(b>>>8|0)>>>0<=8190){b=p(b,d)+32768>>>16|0;break e}l=d&65535;b=p(l,b>>>16|0)+p(b,d>>>16|0)+(p(l,b&65535)+32768>>>16)|0}b=(k|0)<0?0-b|0:b}k=e-b|0;if(!k){break a}n=(c|0)<0?-1:1;b=c>>31;e=b+c^b;b=k>>31;c=b+k^b;l=c>>>17^65535;f:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break f}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break f}m=s(d);e=32-m|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=m-(c>>>0>m>>>0?0:c)|0;b=b<<1|c>>>0<=m>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+4>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;n=(h|0)<0?-1:1;b=h>>31;e=b+h^b;g:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break g}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break g}h=s(d);e=32-h|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=h-(c>>>0>h>>>0?0:c)|0;b=b<<1|c>>>0<=h>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+8>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;h=(i|0)<0?-1:1;b=i>>31;e=b+i^b;h:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break h}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break h}i=s(d);e=32-i|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=i-(c>>>0>i>>>0?0:c)|0;b=b<<1|c>>>0<=i>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a>>2]=(((k|0)<0?0-h|0:h)|0)<0?0-b|0:b;i=(g|0)<0?-1:1;b=g>>31;g=b+g^b;i:{if(g>>>0<=l>>>0){b=((g<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break i}b=2147483647;e=c>>>1|0;f=e+(g<<16)|0;g=(g>>>16|0)+(f>>>0>>0)|0;if(g>>>0>=c>>>0){break i}h=s(g);e=32-h|0;g=f>>>e|g<>>0)/(c>>>0)|0;d=g-p(b,c)|0;f=f<>>31;d=g-(c>>>0>g>>>0?0:c)|0;b=b<<1|c>>>0<=g>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}f=0;j[a+12>>2]=(((k|0)<0?0-i|0:i)|0)<0?0-b|0:b}return f}function Sz(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;var h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<2)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<2)|0;a=g?a:a+4|0}b=c+e|0;if(!b){break a}while(1){j[a>>2]=f;a=a+4|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(d<<2)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;a=g?a:a+(h<<2)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}m=b-d|0;h=m>>31;l=c-e|0;i=l>>31;if((h^h+m)==(i^i+l)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(b<<2)|0;l=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<2)|0}b=((g|0)!=0)+l|0;if(!b){break a}c=c<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}l=j[a+4>>2];Bn(f,l,q+15|0,q+14|0,q+13|0,q+12|0);if(j[l+12>>2]==16711680){i=e-c|0;h=i>>31;i=h^h+i;m=d-b|0;h=m>>31;h=h^h+m;if(!j[l+24>>2]){e:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break e}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}f:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break f}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}l=d-b|0;h=l>>31;m=e-c|0;i=m>>31;h=h^h+l;i=i^i+m;g:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break g}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}oe=q+16|0}function kI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=oe-16|0;oe=s;g=j[a+12>>2];p=j[a+204>>2];b=j[a+200>>2];q=i[a+32>>1];a:{if(q){if(m[g+8>>2]>1]+(i[g+20>>1]+q|0)>>>0){d=yf(g,0,q);if(d){break a}}d=20;if((q|0)>4094){break a}}d=20;e=q<<1;if((e+b|0)+2>>>0>p>>>0){break a}c=j[g+68>>2];f=k[b|0];n=k[b+1|0]|f<<8;if((q|0)>=1){i[c>>1]=n}if(f<<24>>16<0){break a}f=c+e|0;while(1){e=c+2|0;if(e>>>0>>0){c=k[b+2|0]|k[b+3|0]<<8;o=c<<24|c<<8&16711680;i[e>>1]=o>>>16;l=n<<16;c=e;e=o>>16;n=e;b=b+2|0;if((e|0)>l>>16){continue}break a}break}f=j[g+4>>2];e=i[g+58>>1];if((q|0)<1){n=0}else{c=i[c>>1];if((c|0)<-1){break a}n=c+1|0}c=n+4|0;if(f>>>0>1]|0)>>>0){d=yf(g,c,0);if(d){break a}}c=j[a+8>>2];j[c+136>>2]=0;j[c+140>>2]=0;e=b+4|0;if(e>>>0>p>>>0){d=20;break a}d=22;b=k[b+3|0]|k[b+2|0]<<8;if((b|0)>(p-e|0)){break a}if(!(k[a+16|0]&2)){c=j[a+160>>2];d=j[c+388>>2];b:{if(d>>>0>=b>>>0){j[c+388>>2]=d&65535;break b}t=c,u=xe(j[c+8>>2],1,d,b,j[c+392>>2],s+12|0),j[t+392>>2]=u;c=j[a+160>>2];f=d;d=j[s+12>>2];j[c+388>>2]=(d?f:b)&65535;if(d){break a}}d=j[a+8>>2];j[d+140>>2]=b;c=j[c+392>>2];j[d+136>>2]=c;Ae(c,e,b)}b=b+e|0;c:{d:{if((n|0)>=1){d=j[g- -64>>2];f=n+d|0;while(1){c=b+1|0;if(c>>>0>p>>>0){d=20;break a}r=k[b|0];h[d|0]=r;e=d+1|0;o=f;e:{if(!(r&8)){b=c;c=e;break e}b=b+2|0;if(p>>>0>>0){d=20;break a}l=k[c|0];if(f>>>0>>0){d=20;break a}c=e;if(!l){break e}Ee(e,r,l);c=((l-1&255)+d|0)+2|0}d=c;if(o>>>0>d>>>0){continue}break}if(b>>>0<=p>>>0){break d}d=20;break a}d=20;if(b>>>0<=p>>>0){break c}break a}if((n|0)<1){break c}c=j[g+60>>2];r=c+(n<<3)|0;d=j[g+64>>2];o=0;while(1){l=k[d|0];f:{if(l&2){e=b+1|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0];f=l&16?b:0-b|0;b=e;break f}f=0;if(l&16){break f}e=b+2|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}o=f+o|0;j[c>>2]=o;h[d|0]=l&237;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}if((n|0)<1){break c}c=j[g+60>>2];r=c+(n<<3)|0;d=j[g+64>>2];o=0;while(1){l=k[d|0];g:{if(l&4){e=b+1|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0];f=l&32?b:0-b|0;b=e;break g}f=0;if(l&32){break g}e=b+2|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}o=f+o|0;j[c+4>>2]=o;h[d|0]=l&1;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}}i[g+56>>1]=q;i[g+58>>1]=n;j[a+200>>2]=b;d=0}oe=s+16|0;return d|0}function fj(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=j[b+136>>2];a:{if(!f|!(j[b+232>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(j[b+128>>2]>=1){Ke(a,j[f+4>>2]);if(j[b+128>>2]>1){while(1){Ke(a,j[(j[b+136>>2]+p(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+136>>2]}Ke(g,f);j[b+128>>2]=0;j[b+136>>2]=0;break a}e=p(d,28);Ke(a,j[(e+f|0)+4>>2]);j[(e+j[b+136>>2]|0)+4>>2]=0}e=j[b+232>>2];if(e&c&8192){j[b+8>>2]=j[b+8>>2]&-17;Ke(a,j[b+156>>2]);i[b+22>>1]=0;j[b+156>>2]=0;e=j[b+232>>2]}if(c&e&256){Ke(a,j[b+256>>2]);Ke(a,j[b+260>>2]);j[b+256>>2]=0;j[b+260>>2]=0;j[b+8>>2]=j[b+8>>2]&-16385;e=j[b+232>>2]}if(c&e&128){Ke(a,j[b+208>>2]);Ke(a,j[b+220>>2]);j[b+220>>2]=0;j[b+208>>2]=0;e=j[b+224>>2];if(e){f=a;if(k[b+229|0]){Ke(a,j[e>>2]);if(k[b+229|0]>=2){e=1;while(1){Ke(a,j[j[b+224>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Ke(f,e);j[b+224>>2]=0}j[b+8>>2]=j[b+8>>2]&-1025;e=j[b+232>>2]}if(c&e&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=j[b+8>>2]&-4097}f=j[b+244>>2];b:{if(!f|!(j[b+232>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(j[b+248>>2]>=1){Ke(a,j[f>>2]);Ke(a,j[j[b+244>>2]+8>>2]);if(j[b+248>>2]>1){while(1){f=e<<4;Ke(a,j[f+j[b+244>>2]>>2]);Ke(a,j[(f+j[b+244>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+244>>2]}Ke(g,f);j[b+244>>2]=0;j[b+248>>2]=0;j[b+8>>2]=j[b+8>>2]&-8193;break b}e=d<<4;Ke(a,j[e+f>>2]);Ke(a,j[(e+j[b+244>>2]|0)+8>>2]);e=e+j[b+244>>2]|0;j[e+8>>2]=0;j[e>>2]=0}f=j[b+236>>2];c:{if(!f|!(j[b+232>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(j[b+240>>2]>=1){Ke(a,j[f+8>>2]);if(j[b+240>>2]>1){while(1){Ke(a,j[(j[b+236>>2]+p(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+236>>2]}Ke(g,f);j[b+236>>2]=0;j[b+240>>2]=0;break c}e=p(d,20);Ke(a,j[(e+f|0)+8>>2]);j[(e+j[b+236>>2]|0)+8>>2]=0}e=j[b+232>>2];if(e&c&8){Ke(a,j[b+204>>2]);j[b+204>>2]=0;j[b+8>>2]=j[b+8>>2]&-65;e=j[b+232>>2]}if(c&e&4096){Ke(a,j[b+16>>2]);j[b+16>>2]=0;i[b+20>>1]=0;j[b+8>>2]=j[b+8>>2]&-9;e=j[b+232>>2]}if(c&e&64){f=j[b+264>>2];if(f){g=a;if(j[b+4>>2]){Ke(a,j[f>>2]);if(m[b+4>>2]>=2){e=1;while(1){Ke(a,j[j[b+264>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=j[b+264>>2]}Ke(g,f);j[b+264>>2]=0;e=j[b+232>>2]}j[b+8>>2]=j[b+8>>2]&-32769}j[b+232>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function Tm(a,b,c,d){var e=0,f=0,g=0,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,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=oe-272|0;oe=x;t=j[b+4>>2];e=j[b+8>>2];j[a+52>>2]=-2147483648;j[a+56>>2]=0;j[a+48>>2]=e;j[a+44>>2]=t;A=j[b+52>>2];h=j[b+28>>2];f=j[b+24>>2];y=j[b+44>>2];j[c>>2]=t;j[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}n=i[h+12>>1];r=n;while(1){k=i[(h+p(g,40)|0)+12>>1];r=(k|0)>(r|0)?k:r;n=(k|0)<(n|0)?k:n;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((n|0)>=(r|0)){break a}C=a,D=ye(n,t)+e|0,j[C>>2]=D;h=ye(r,t)+e|0;j[a+4>>2]=h;e=h&-32;j[a+24>>2]=e;m=j[a>>2];l=m&-32;j[a+16>>2]=l;j[a+8>>2]=m&-64;u=e+32|0;j[a+28>>2]=u;k=l+32|0;j[a+20>>2]=k;j[a+12>>2]=h+63&-64;if((h|0)<(k|0)){j[a+20>>2]=h;k=h}if((e|0)<(m|0)){j[a+24>>2]=m;e=m}g=h-m|0;j[a+32>>2]=g;f=a;if((g|0)>=65){k=e-k|0}else{j[a+24>>2]=h;j[a+20>>2]=m;k=g}j[f+36>>2]=k;e=u-l|0;j[a+40>>2]=e;l=(g|0)<129?(g|0)<97?4:8:16;f=g-l|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=g+l|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}f=(p(g,3)|0)/4|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=(p(g,5)|0)/4|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}b:{if((e|0)<(k|0)){break b}B=r-n|0;while(1){f=(g-k|0)+m|0;c:{d:{if((g|0)<=(k|0)){e=j[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=j[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}u=De(k-g|0,B)+t|0;v=ye(n,u);z=Ee(x,0,260);o=j[a+24>>2];g=f;l=f-e|0;f=j[a+16>>2];q=(o|0)>(f+l|0)?o-l|0:f;o=j[a+8>>2];f=q-o|0;e:{if((f|0)<0){break e}w=q;q=j[a+28>>2];s=j[a+20>>2];l=(q|0)<(l+s|0)?q-l|0:s;if((w|0)>(l|0)){break e}l=l-o|0;if((l|0)>64){break e}q=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0;m=e-v|0;o=e-o|0;if((y|0)>=1){v=(m-o|0)+f|0;h=0;while(1){e=p(h,48)+A|0;s=i[e+6>>1]-i[e+4>>1]|0;g=ye(i[e+2>>1],u)+v|0;e=f;while(1){w=(e<<2)+z|0;j[w>>2]=j[w>>2]+p(s,j[((g&63)<<2)+116064>>2]);g=g+1|0;w=(e|0)<(l|0);e=e+1|0;if(w){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}q=p(q,10);h=j[a+52>>2];while(1){g=f;s=f-o|0;v=s+q|0;e=j[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(v|0)>=j[a+56>>2]?(e|0)<=(h|0):0)){j[a+56>>2]=v;j[a+52>>2]=e;j[a+44>>2]=u;j[a+48>>2]=m+s;h=e}f=g+1|0;if((g|0)<(l|0)){continue}break}}if(j[a+40>>2]<=(k|0)){break b}k=k+1|0;g=j[a+32>>2];h=j[a+4>>2];m=j[a>>2];continue}}e=j[a+48>>2];a=j[a+44>>2];k=a-t|0;C=b,D=ye(n,k)+e|0,j[C+2992>>2]=D;C=b,D=ye(r,k)+e|0,j[C+2996>>2]=D;j[c>>2]=a;j[d>>2]=e}oe=x+272|0}function Cj(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-1040|0;oe=n;g=j[a+52>>2];if(k[a|0]&2){ei(a,1)}if(g){d=j[g>>2];a:{if(!d){break a}c=j[d+56>>2];j[d+56>>2]=c-1;if((c|0)>1){break a}kf(d)}j[g>>2]=0;j[g+80>>2]=0;j[g+84>>2]=0;d=g- -64|0;c=j[d>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[d>>2]=0}j[g+4>>2]=0;d=g+4|0;c=j[b+4>>2];b:{c:{d:{e:{f:{q=j[a+4>>2];e=j[q>>2];g:{if(!(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2)){h:{f=j[c>>2];if((f&-268435456)!=268435456?f:0){break h}e=-1;if((f>>>24&15)-1>>>0>2){break h}f=An(j[q+4>>2],j[c+4>>2],d);j[g- -64>>2]=f;if(j[g+4>>2]?0:!f){break b}if(k[q+8|0]==k[c+8|0]){break e}j[d>>2]=0;break e}d=j[a+52>>2];t=k[d+79|0];u=k[d+78|0];v=k[d+77|0];w=k[d+76|0];d=k[c+9|0];f=(d|0)==3?4:d;s=j[q+4>>2];d=p(f,j[s>>2]);d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}i:{if(d){e=0;if(j[s>>2]>0){break i}j[g- -64>>2]=d;break e}Be(0);j[g- -64>>2]=0;e=-1;break b}while(1){m=j[s+4>>2]+(e<<2)|0;o=(p(k[m+3|0],t)>>>0)/255|0;l=(p(k[m+2|0],u)>>>0)/255|0;r=(p(k[m+1|0],v)>>>0)/255|0;m=(p(k[m|0],w)>>>0)/255|0;j:{k:{switch(k[c+9|0]-1|0){case 0:h[d+p(e,f)|0]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)|0]=m;h[o+(k[c+33|0]>>>3|0)|0]=r;h[o+(k[c+34|0]>>>3|0)|0]=l;break j;case 3:break k;default:break j}}j[d+p(e,f)>>2]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]){continue}break}j[g- -64>>2]=d;break g}e=j[c>>2];if(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2){break f}r=j[c+4>>2];j[n+1024>>2]=256;e=0;while(1){f=(e<<2)+n|0;h[f+3|0]=255;l=e&224;h[f|0]=l>>>6|l|l>>>3;l=e&3;l=l<<2|l;h[f+2|0]=l<<4|l;l=f;f=e<<3&224;h[l+1|0]=f>>>6|f|f>>>3;e=e+1|0;if((e|0)!=256){continue}break}j[n+1028>>2]=n;e=An(n+1024|0,r,d);j[g- -64>>2]=e;if(!e){e=-1;if(!j[g+4>>2]){break b}}j[d>>2]=0}j[g>>2]=b;if(b){break d}break c}if((c|0)!=(q|0)){break e}j[d>>2]=1}j[g>>2]=b}j[b+56>>2]=j[b+56>>2]+1}b=g;d=j[c+4>>2];if(d){f=j[d+8>>2]}else{f=0}j[b+80>>2]=f;b=j[q+4>>2];if(b){b=j[b+8>>2]}else{b=0}j[g+84>>2]=b;e=Bv(a)}oe=n+1040|0;return e}function Fh(a,b,c,d,e){var f=0,g=q(0),i=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,x=0;l=oe+ -64|0;oe=l;a:{b:{c:{if(!j[67044]|!a|(c|(b|0)==-1)){break c}if(!(h[268212]&1)){break c}zo(-1,-1,0,0,q(q(d|0)/q(j[a+24>>2])),q(q(e|0)/q(j[a+28>>2])));break b}x=(b|0)==-1;if((b|0)!=-1){break b}if(!j[67043]){break a}}d:{if(!j[67036]|x){break d}j[l>>2]=0;j[l+60>>2]=0;Wg(a,l,l+60|0);f=j[l>>2]/2|0;j[l>>2]=f;i=j[l+60>>2]/2|0;j[l+60>>2]=i;if(!((d|0)!=(f|0)|(e|0)!=(i|0))){j[67030]=e;j[67029]=d;break a}p=a?a:j[67024];if(!p){break d}o=j[67018];if(o){qe[o|0](p,f,i);break d}o=j[67023];if(!Gh(p,f,i,(o|0)!=-1)){break d}Fh(p,o,0,f,i)}e:{f:{g:{if(c){if(j[67035]){g=n[67038];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);h:{if(r(m)<2147483648){i=~~m;break h}i=-2147483648}n[67039]=s-q(i|0);g=n[67038];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);i:{if(r(m)<2147483648){f=~~m;break i}f=-2147483648}n[67040]=s-q(f|0);break f}g=n[67037];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);j:{if(r(m)<2147483648){i=~~m;break j}i=-2147483648}n[67039]=s-q(i|0);g=n[67037];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);k:{if(r(m)<2147483648){f=~~m;break k}f=-2147483648}n[67040]=s-q(f|0);break f}f=e-j[67030]|0;i=d-j[67029]|0;break e}f=e;i=d}e=j[67030]+f|0;d=j[67029]+i|0}if(!(f|i)){break a}if(!j[67034]){j[67034]=1;i=0;f=0}o=f;f=!j[67033]&x;p=f?0:o;o=f?0:i;i=j[67035];l:{if(!i){j[67025]=d;f=e;break l}j[67025]=o+j[67025];f=p+j[67026]|0}j[67026]=f;if(!(!a|k[a+49|0]&64)){j[l>>2]=0;j[l+60>>2]=0;Wg(j[67024],l,l+60|0);f=j[l+60>>2];i=f-1|0;t=j[67025];u=j[l>>2];a=(t|0)<(u|0);t=a?t:u-1|0;u=(t|0)<0;if(!(a?!u:0)){j[67025]=u?0:t}a=f;f=j[67026];a=(a|0)>(f|0);f=a?f:i;i=(f|0)<0;if(!(a?!i:0)){j[67026]=i?0:f}i=j[67035]}j[67027]=o+j[67027];j[67028]=p+j[67028];m:{if(i|!j[67051]){break m}a=j[67016];if(!a){break m}f=j[67050];if(!f){break m}qe[a|0](f)}if((We(1024,-1)|0)==1){j[l>>2]=1024;a=0;f=j[67024];if(f){a=j[f+4>>2]}j[67045]=x;j[l+12>>2]=b;j[l+8>>2]=a;j[l+32>>2]=p;j[l+28>>2]=o;j[l+16>>2]=j[67033];a=j[67026];j[l+20>>2]=j[67025];j[l+24>>2]=a;gf(l)}n:{if(c){j[67029]=j[67025];e=j[67026];break n}j[67029]=d}j[67030]=e}oe=l- -64|0}function AA(a,b){var c=0,d=0,e=q(0),f=0,g=q(0),i=q(0),l=0,m=q(0),o=q(0),p=0,s=0,t=0,u=0,v=0,w=0,x=q(0);c=oe-16|0;p=c;oe=c;t=c+ -64|0;oe=t;w=a+340|0;while(1){c=(d<<3)+b|0;o=n[c+4>>2];d=d+1|0;f=(d<<3)+b|0;g=n[f+4>>2];e=n[c>>2];m=n[f>>2];a:{if(e==m){c=(s<<4)+t|0;i=e;e=n[a+288>>2];n[c>>2]=i*e;i=n[a+292>>2];n[c+8>>2]=e;l=c;e=i;m=g>o?o:g;b:{if(q(r(m))>2]=e*q(f|0);e=g>2]=i*q((l-f|0)+1|0);s=s+1|0;break a}if(g==o){c=(s<<4)+t|0;l=c;i=n[a+288>>2];x=i;g=e>2]=x*q(f|0);g=n[a+292>>2];n[c+12>>2]=g;l=c;e=e>m?e:m;e:{if(q(r(e))>2]=i*q((u-f|0)+1|0);n[c+4>>2]=o*g;s=s+1|0;break a}i=e;e=n[a+288>>2];n[p>>2]=i*e;i=n[a+292>>2];n[p+8>>2]=m*e;n[p+12>>2]=g*i;n[p+4>>2]=o*i;f=-1;f:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break f}g:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break g}c=Xe(1,28);if(c){break g}Be(0);break f}l=j[a+344>>2];j[(l?l+24|0:w)>>2]=c;j[a+344>>2]=c;if(!c){break f}j[c>>2]=6;j[c+4>>2]=0;j[c+8>>2]=0;h[c+12|0]=k[a+324|0];h[c+13|0]=k[a+325|0];h[c+14|0]=k[a+326|0];h[c+15|0]=k[a+327|0];f=j[a+328>>2];j[c+20>>2]=0;j[c+16>>2]=f;f=qe[j[a+32>>2]](a,c,p,2)|0;if((f|0)>-1){break f}j[c>>2]=0}v=f+v|0}if((d|0)!=4){continue}break}c=-1;h:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break h}i:{d=j[a+348>>2];if(d){j[a+348>>2]=j[d+24>>2];j[d+24>>2]=0;break i}d=Xe(1,28);if(d){break i}Be(0);break h}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=d;j[a+344>>2]=d;if(!d){break h}j[d>>2]=7;j[d+4>>2]=0;j[d+8>>2]=0;h[d+12|0]=k[a+324|0];h[d+13|0]=k[a+325|0];h[d+14|0]=k[a+326|0];h[d+15|0]=k[a+327|0];b=j[a+328>>2];j[d+20>>2]=0;j[d+16>>2]=b;c=qe[j[a+36>>2]](a,d,t,s)|0;if((c|0)>-1){break h}j[d>>2]=0}j:{if(j[a+336>>2]|(c+v|0)<0){break j}b=j[a+340>>2];if(!b){break j}d=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=d;d=j[d+8>>2];if(d){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=p+16|0}function oq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0;e=j[j[a+8>>2]+140>>2];if((e|0)>=1){Ae(j[a+136>>2],j[a+140>>2],l[a+132>>1]<<3)}Ae(j[a+160>>2]+284|0,j[a+4>>2]+172|0,68);a:{if(b){c=j[a+160>>2];j[c+220>>2]=65536;j[c+224>>2]=65536;Ae(j[a+144>>2],j[a+140>>2],l[a+132>>1]<<3);break a}c=j[a+160>>2];d=j[a+4>>2];j[c+220>>2]=j[d+48>>2];j[c+224>>2]=j[d+52>>2]}c=j[a+140>>2];d=l[a+132>>1];n=d-4|0;f=c+(n<<3)|0;j[f>>2]=j[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;j[g>>2]=j[g>>2]+32&-64;g=d-2|0;m=(g<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;d=d-1|0;m=(d<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;b:{if((e|0)>=1){d=j[j[a+12>>2]- -64>>2];c=j[a+160>>2];h[c+560|0]=b;j[c+464>>2]=e;j[c+460>>2]=j[c+392>>2];b=j[a+128>>2];j[c+144>>2]=j[a+124>>2];j[c+148>>2]=b;b=j[a+136>>2];j[c+152>>2]=j[a+132>>2];j[c+156>>2]=b;b=j[a+144>>2];j[c+160>>2]=j[a+140>>2];j[c+164>>2]=b;b=j[a+152>>2];j[c+168>>2]=j[a+148>>2];j[c+172>>2]=b;j[c+176>>2]=j[a+156>>2];b=j[a+160>>2];j[b+360>>2]=0;j[b+352>>2]=3;c=j[b+148>>2];j[b+36>>2]=j[b+144>>2];j[b+40>>2]=c;j[b+364>>2]=j[b+464>>2];c=j[b+156>>2];j[b+44>>2]=j[b+152>>2];j[b+48>>2]=c;c=j[b+164>>2];j[b+52>>2]=j[b+160>>2];j[b+56>>2]=c;c=j[b+172>>2];j[b+60>>2]=j[b+168>>2];j[b+64>>2]=c;j[b+68>>2]=j[b+176>>2];j[b+356>>2]=j[b+460>>2];c=j[b+148>>2];j[b+72>>2]=j[b+144>>2];j[b+76>>2]=c;c=j[b+156>>2];j[b+80>>2]=j[b+152>>2];j[b+84>>2]=c;c=j[b+164>>2];j[b+88>>2]=j[b+160>>2];j[b+92>>2]=c;c=j[b+172>>2];j[b+96>>2]=j[b+168>>2];j[b+100>>2]=c;j[b+104>>2]=j[b+176>>2];j[b+140>>2]=j[b+176>>2];c=j[b+172>>2];j[b+132>>2]=j[b+168>>2];j[b+136>>2]=c;c=j[b+164>>2];j[b+124>>2]=j[b+160>>2];j[b+128>>2]=c;c=j[b+156>>2];j[b+116>>2]=j[b+152>>2];j[b+120>>2]=c;c=j[b+148>>2];j[b+108>>2]=j[b+144>>2];j[b+112>>2]=c;i[b+348>>1]=1;j[b+344>>2]=65537;i[b+294>>1]=16384;i[b+296>>1]=0;i[b+298>>1]=16384;i[b+300>>1]=0;j[b+312>>2]=1;i[b+290>>1]=16384;i[b+292>>1]=0;j[b+304>>2]=1;j[b+428>>2]=0;j[b+16>>2]=0;c=qe[j[j[b>>2]+652>>2]](b)|0;b=j[a+160>>2];if(k[b+561|0]?c:0){break b}h[d|0]=k[d|0]|k[b+340|0]<<5|4;b=l[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;n=b-4|0;c=j[a+140>>2]}b=(n<<3)+c|0;e=j[b+4>>2];j[a+68>>2]=j[b>>2];j[a+72>>2]=e;b=(f<<3)+c|0;e=j[b+4>>2];j[a+76>>2]=j[b>>2];j[a+80>>2]=e;b=(g<<3)+c|0;e=j[b+4>>2];j[a+184>>2]=j[b>>2];j[a+188>>2]=e;b=(d<<3)+c|0;c=j[b+4>>2];j[a+192>>2]=j[b>>2];j[a+196>>2]=c;c=0}return c}function Ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{if(!a){break b}c=j[a>>2];if(!c){break b}e=j[b>>2];m=k[e+5|0];g=j[b+12>>2];n=j[b+8>>2];i=k[e+26|0];o=k[e+18|0]|k[e+19|0]<<8|(k[e+20|0]<<16|k[e+21|0]<<24);h=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);p=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);q=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);l=k[e+4|0];d=j[a+36>>2];b=j[a+12>>2];if(b){f=j[a+8>>2]-b|0;j[a+8>>2]=f;if(f){zg(c,b+c|0,f)}j[a+12>>2]=0}if(d){b=a;c=j[a+28>>2]-d|0;if(c){f=j[a+16>>2];zg(f,f+(d<<2)|0,c<<2);c=j[a+20>>2];zg(c,c+(d<<3)|0,j[a+28>>2]-d<<3);c=j[a+28>>2]-d|0}else{c=0}j[b+28>>2]=c;j[a+36>>2]=0;j[a+32>>2]=j[a+32>>2]-d}if((h|0)!=j[a+336>>2]|l){break b}if(tF(a,i+1|0)){break b}f=m&1;h=j[a+340>>2];c:{if((h|0)==(o|0)){break c}c=j[a+32>>2];l=j[a+28>>2];if((c|0)<(l|0)){d=j[a+8>>2];r=j[a+16>>2];b=c;while(1){d=d-k[(b<<2)+r|0]|0;b=b+1|0;if((l|0)>(b|0)){continue}break}j[a+8>>2]=d}j[a+28>>2]=c;if((h|0)==-1){break c}b=c+1|0;j[a+28>>2]=b;j[j[a+16>>2]+(c<<2)>>2]=1024;j[a+32>>2]=b}b=m&2;d=0;d:{if(!f){break d}c=j[a+28>>2];if(j[(j[a+16>>2]+(c<<2)|0)-4>>2]!=1024?(c|0)>=1:0){break d}b=0;if(!i){break d}while(1){d=b+1|0;b=k[(b+e|0)+27|0];g=g-b|0;n=b+n|0;if((b|0)!=255){b=0;break d}b=d;if((i|0)!=(b|0)){continue}break}b=0;d=i}if(g){c=j[a+8>>2];f=j[a+4>>2];e:{if((c|0)<(f-g|0)){f=j[a>>2];break e}if((f|0)>(2147483647-g|0)){break a}c=g+f|0;c=(c|0)<2147482623?c+1024|0:c;f=Vf(j[a>>2],c);if(!f){break a}j[a>>2]=f;j[a+4>>2]=c;c=j[a+8>>2]}Ae(c+f|0,n,g);j[a+8>>2]=j[a+8>>2]+g}n=m&4;f:{if((d|0)>=(i|0)){break f}m=j[a+20>>2];f=j[a+16>>2];c=j[a+28>>2];h=f+(c<<2)|0;g=k[(d+e|0)+27|0];j[h>>2]=g;l=m+(c<<3)|0;j[l>>2]=-1;j[l+4>>2]=-1;if(b){j[h>>2]=g|256}b=c+1|0;j[a+28>>2]=b;g:{if((g|0)==255){c=-1;break g}j[a+32>>2]=b}d=d+1|0;if((i|0)!=(d|0)){while(1){h=k[(d+e|0)+27|0];j[f+(b<<2)>>2]=h;g=m+(b<<3)|0;j[g>>2]=-1;j[g+4>>2]=-1;g=b+1|0;j[a+28>>2]=g;if((h|0)!=255){j[a+32>>2]=g;c=b}b=g;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((c|0)==-1){break f}b=j[a+20>>2]+(c<<3)|0;j[b>>2]=p;j[b+4>>2]=q}h:{if(!n){break h}j[a+328>>2]=1;b=j[a+28>>2];if((b|0)<1){break h}b=(j[a+16>>2]+(b<<2)|0)-4|0;j[b>>2]=j[b>>2]|512}j[a+340>>2]=o+1}return}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}function Lq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;i=j[a+16>>2];n=k[i+6|0]<<8|k[i+7|0]&254;if(!n){return 0}v=n+2|0;t=i+14|0;l=j[b>>2]+((c|0)!=0)|0;w=n>>>1|0;d=w;a:{b:{while(1){c:{e=d+h|0;g=(e&-2)+t|0;o=k[g|0]<<8|k[g+1|0];e=e>>>1|0;f=e;g=g+v|0;s=k[g|0]<<8|k[g+1|0];if(s>>>0<=l>>>0){if(l>>>0<=o>>>0){break c}h=e+1|0}else{d=f}if(d>>>0>h>>>0){continue}break b}break}d=g+n|0;y=k[d|0]<<8|k[d+1|0];r=y;f=d+n|0;x=k[f|0]<<8|k[f+1|0];h=x;d:{e:{f:{g:{h:{i:{if((o|0)!=65535){break i}r=y;h=x;if((s|0)!=65535|w-1>>>0>e>>>0){break i}if(!x){break h}d=j[a>>2];d=(f+x|0)+2>>>0>j[d+500>>2]+j[d+504>>2]>>>0;h=d?0:x;r=d?1:y}if(!(k[a+20|0]&2)){break f}m=e+1|0;g=(h|0)==65535?m:e;break g}if(!(k[a+20|0]&2)){o=65535;break d}m=e+1|0;h=0;g=e}j:{k:{l:{if(e){q=e-1|0;z=q<<1;d=z+t|0;u=k[d|0]<<8|k[d+1|0];m:{if(u>>>0>>0){d=e;i=o;q=s;break m}r=(i+p(n,3)|0)+16|0;C=t+v|0;n:{while(1){o:{i=u;d=q;A=z+C|0;B=A+n|0;f=B+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:d;if(!d){break o}q=d-1|0;z=q<<1;u=z+t|0;u=k[u|0]<<8|k[u+1|0];if(u>>>0>=l>>>0){continue}break n}break}d=0;f=r}r=k[B+1|0]|k[B|0]<<8;q=k[A+1|0]|k[A|0]<<8}if((g|0)==(m|0)){break l}e=d;o=i;s=q;break j}e=0;i=0;if((g|0)==(m|0)){break k}break j}if((e|0)==(d|0)){o=i;s=q;i=e;break k}r=y;h=x;i=e}p:{q:{if(m>>>0>>0){d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>>0){g=i;break p}g=i;break q}e=m-1|0;d=0;break a}r:{while(1){s:{s=e;o=d;q=(d+v|0)+n|0;f=q+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:m;m=m+1|0;if((w|0)==(m|0)){break s}d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>=e>>>0){continue}break r}break}m=w}r=k[q+1|0]|k[q|0]<<8;o=k[o+1|0]|k[o|0]<<8}e=m-1|0;d=0;if((g|0)==(i|0)){break a}}if((e|0)==(g|0)){e=g;break e}e=(g<<1)+t|0;o=k[e|0]<<8|k[e+1|0];e=e+v|0;s=k[e|0]<<8|k[e+1|0];e=e+n|0;r=k[e|0]<<8|k[e+1|0];f=e+n|0;h=k[f|0]<<8|k[f+1|0];e=g;break e}d=0;if((h|0)==65535){break a}}if(!h){break d}d=((l-s<<1)+h|0)+f|0;d=k[d|0]<<8|k[d+1|0];if(!d){break b}d=d+r&65535;break a}d=l+r&65535;break a}d=0}if(!c){return d}t:{if(l>>>0>o>>>0){f=0;e=e+1|0;if((w|0)==(e|0)){break t}}if(Dq(a,e)){if(!d){return 0}j[b>>2]=l;return d}j[a+24>>2]=l;u:{if(d){j[a+28>>2]=d;f=d;break u}j[a+24>>2]=l;Kq(a);f=j[a+28>>2];if(!f){return 0}l=j[a+24>>2]}j[b>>2]=l}return f}function sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0;e=oe-48|0;oe=e;j[e+12>>2]=0;h[a+672|0]=0;r=j[a+100>>2];a:{b:{f=j[a+676>>2];if(!f){f=Vl(a,0);j[e+12>>2]=f;if(f){break a}f=j[a+676>>2]}q=j[f+8>>2];g=j[q>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(j[(d<<2)+c>>2]+65536>>>0<131073){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}j[e+12>>2]=6;break a}if(!j[f+36>>2]){g=j[a+104>>2];i=j[g+28>>2];d=qe[j[a+508>>2]](a,1735811442,g,e+40|0)|0;j[e+44>>2]=d;c:{if(d){break c}k=j[g+8>>2];d=$e(g,200448,e+16|0);j[e+44>>2]=d;if(d){break c}j[f+24>>2]=l[e+22>>1];n=l[e+28>>1];j[f+32>>2]=n;d=8;if(j[e+16>>2]!=65536|l[e+20>>1]!=l[j[f+8>>2]>>1]){break c}o=j[e+32>>2];s=f,t=xe(i,4,0,n+1|0,0,e+44|0),j[s+36>>2]=t;d=j[e+44>>2];if(d){break c}n=k+o|0;d=j[f+32>>2];d:{if(h[e+30|0]&1){d=_e(g,(d<<2)+4|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=Ff(g);j[j[f+36>>2]+(d<<2)>>2]=n+o;d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}break d}d=_e(g,(d<<1)+2|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=af(g);j[j[f+36>>2]+(d<<2)>>2]=n+(o<<1);d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}}Ve(g);d=j[f+24>>2];if(d){s=f,t=xe(i,4,0,p(d,l[e+20>>1]),0,e+44|0),j[s+28>>2]=t;d=j[e+44>>2];if(d){break c}d=Fe(g,k+j[e+24>>2]|0);j[e+44>>2]=d;if(d){break c}d=_e(g,p(j[f+24>>2],l[e+20>>1])<<1);j[e+44>>2]=d;if(d){break c}k=j[f+24>>2];if(k){n=0;i=l[e+20>>1];while(1){d=0;e:{if(!(i&65535)){i=0;break e}while(1){k=af(g);i=l[e+20>>1];j[j[f+28>>2]+(p(n,i)+d<<2)>>2]=k<<16>>16<<2;d=d+1|0;if(i>>>0>d>>>0){continue}break}k=j[f+24>>2]}n=n+1|0;if(n>>>0>>0){continue}break}}Ve(g)}d=j[e+44>>2]}j[e+12>>2]=d;if(d){break a}}f:{g:{h:{g=j[f+4>>2];if(g){k=0;if(b){break h}d=0;break g}g=xe(r,4,0,j[q>>2],0,e+12|0);j[f+4>>2]=g;if(j[e+12>>2]){break a}i=j[q>>2];k=1;break f}d=0;while(1){i=d<<2;if(j[i+g>>2]!=j[c+i>>2]){k=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}i=j[q>>2];if(i>>>0<=d>>>0){break f}while(1){if(!j[(d<<2)+g>>2]){d=d+1|0;if(i>>>0>d>>>0){continue}break f}break}k=2}j[f>>2]=i;Ae(g,c,b<<2);h[a+672|0]=1;b=j[a+648>>2];if(!b){break a}i:{switch(k-1|0){case 1:if(b){qe[j[r+8>>2]](r,b)}j[a+648>>2]=0;s=e,t=zq(a,j[a+104>>2]),j[s+12>>2]=t;break a;case 0:break i;default:break a}}s=e,t=rq(a,j[a+104>>2]),j[s+12>>2]=t}oe=e+48|0;return j[e+12>>2]}function By(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;y=j[a+56>>2];g=k[a+63|0];z=j[a+36>>2];A=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];B=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!B){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=q>>>7&1;a:{if((b|0)==(y|0)){break a}b=(b<<2)+A|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break a;case 3:break d;default:break a}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2];p=j[a+40>>2];o=f-((p<<2)+15&-16)|0;oe=o;if((p|0)>=1){f=0;while(1){j[(f<<2)+o>>2]=-971228160;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a:{if((k|0)<1){break a}i=j[a+4>>2];s=n[i+8>>2];e=q(n[i+4>>2]+e);e=e>2];f=0;while(1){h=f<<2;n[h+c>>2]=e+n[g+h>>2];f=f+1|0;if((k|0)!=(f|0)){continue}break}if((k|0)<1){break a}s=q(n[i+496>>2]-d);y=j[a+8>>2];u=k-1|0;t=j[a+20>>2];h=0;while(1){f=h;h=f<<2;g=j[h+t>>2];e=n[b+h>>2];h=f+1|0;b:{if((k|0)<=(h|0)|(g|0)!=j[t+(h<<2)>>2]){break b}while(1){c:{f=h;d=n[(f<<2)+b>>2];e=d>e?d:e;h=f+1|0;if((k|0)==(h|0)){break c}if((g|0)==j[t+(h<<2)>>2]){continue}break b}break}f=u;h=k}l=f<<2;d:{if(n[l+c>>2]>j[a+32>>2];f=(f|0)<16?f:16;i=j[(((f|0)>0?f:0)<<2)+y>>2];w=(+q(s+e)+ -30)*.10000000149011612;e:{if(r(w)<2147483648){g=~~w;break e}g=-2147483648}f=(g|0)>0?g:0;m=j[i+(((f|0)<7?f:7)<<2)>>2];d=n[m+4>>2];f:{if(q(r(d))>2];g:{if(q(r(d))>2];d=q(q(q(q(d+q(-16))*q(v|0))+q(j[l+t>>2]-j[a+28>>2]|0))-q(v>>1));h:{if(q(r(d))>2]);l=(f<<2)+o|0;if(d>n[l>>2]^1){break i}n[l>>2]=d}g=g+1|0;if((i|0)<=(g|0)){break d}f=f+v|0;if((p|0)>(f|0)){continue}break}}if((h|0)<(k|0)){continue}break}}b=j[a+36>>2];UJ(o,b,p);g=0;j:{i=j[a>>2];if((i|0)<2){break j}m=j[a+20>>2];l=j[m>>2];k=j[a+28>>2];f=l-(k+(b>>1)|0)|0;u=j[a+4>>2];h=1;while(1){e=n[u+32>>2];d=n[(f<<2)+o>>2];e=d>e?e:d;b=(j[m+(h<<2)>>2]+l>>1)-k|0;if((b|0)>(f|0)){while(1){f=f+1|0;d=n[(f<<2)+o>>2];e=e==q(-9999)?d:d>q(-9999)?d(f|0)){continue}break}f=b}k:{if((g|0)>=(i|0)){break k}h=f+k|0;if((h|0)<(l|0)){break k}while(1){b=(g<<2)+c|0;if(!(n[b>>2]>2]=e}g=g+1|0;if((i|0)==(g|0)){g=i;break k}if((h|0)>=j[m+(g<<2)>>2]){continue}break}}h=g+1|0;if((i|0)<=(h|0)){break j}l=j[m+(g<<2)>>2];continue}}if((g|0)<(i|0)){d=n[((j[a+40>>2]<<2)+o|0)-4>>2];while(1){a=(g<<2)+c|0;if(!(d>n[a>>2]^1)){n[a>>2]=d}g=g+1|0;if((i|0)!=(g|0)){continue}break}}oe=x}function nA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-32|0;oe=n;l=j[b+76>>2];o=j[a+436>>2];m=Vg();b=j[o>>2];a:{if((m|0)!=(b|0)){j[o+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[o+360>>2]=0;qe[j[o+20>>2]](j[l+4>>2],j[l+32>>2]);r=j[c+4>>2]/2|0;s=j[c>>2]/2|0;b=j[c+12>>2];q=(b+1|0)/2|0;k=j[c+8>>2];m=(k+1|0)/2|0;c:{if(k+2>>>0<3|b+2>>>0<3){break c}t=j[l+12>>2];u=j[l+8>>2];w=j[l+4>>2];d:{e:{if((i|0)==(m|0)){k=0;break e}k=p(m,q);k=qe[j[57972]](k?k:1)|0;if(k){j[57976]=j[57976]+1}if(!k){break d}if((b|0)>0){b=k;while(1){Ge(b,h,m);h=h+i|0;b=b+m|0;v=v+1|0;if((q|0)!=(v|0)){continue}break}}h=k}qe[j[o+160>>2]](w,0,s,r,m,q,u,t,h);if(!k){break c}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}break c}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l+36>>2]);q=j[c+4>>2]/2|0;r=j[c>>2]/2|0;b=j[c+12>>2];m=(b+1|0)/2|0;h=j[c+8>>2];i=(h+1|0)/2|0;f:{if(h+2>>>0<3|b+2>>>0<3){break f}s=j[l+12>>2];t=j[l+8>>2];u=j[l+4>>2];g:{h:{if((g|0)==(i|0)){h=0;break h}h=p(i,m);h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){break g}k=0;if((b|0)>0){b=h;while(1){Ge(b,f,i);f=f+g|0;b=b+i|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}f=h}qe[j[o+160>>2]](u,0,r,q,i,m,t,s,f);if(!h){break f}if(h){qe[j[57975]](h);j[57976]=j[57976]-1}break f}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l>>2]);g=j[c+8>>2];i:{if(!g){break i}h=j[c+12>>2];if(!h){break i}i=j[l+12>>2];k=j[l+8>>2];m=j[c+4>>2];q=j[c>>2];l=j[l+4>>2];j:{k:{if((e|0)==(g|0)){f=0;break k}b=p(g,h);b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}f=b;if(!b){break j}c=0;if((h|0)>0){while(1){Ge(b,d,g);d=d+e|0;b=b+g|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}d=f}qe[j[o+160>>2]](l,0,q,m,g,h,k,i,d);if(!f){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break i}Be(0)}k=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}b=qe[j[a+104>>2]]()|0;if(!b){break b}while(1){c=76063;d=b-1280|0;if(d>>>0<=5){c=j[(d<<2)+76072>>2]}j[n+20>>2]=b;j[n+16>>2]=c;j[n+12>>2]=75478;j[n+8>>2]=1714;j[n+4>>2]=74206;j[n>>2]=75440;ve(75966,n);b=qe[j[a+104>>2]]()|0;if(b){continue}break}k=-1}oe=n+32|0;return k|0}function Tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>16&224|f>>>11&28|f>>>6&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>16&224|d>>>11&28|d>>>6&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function Sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>22&224|f>>>15&28|f>>>8&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>22&224|d>>>15&28|d>>>8&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function SK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-16|0;oe=f;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}n=j[a>>2];q=(b|0)!=0;b=(p(q,36)+a|0)+16|0;g=b;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}i=e>>16;d=j[c+4>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=hj(g,i,e>>16,n,f);if(d){break b}d=b;e=j[c+8>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}i=g>>16;e=j[c+12>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}d=hj(d,i,g>>16,n,f+4|0);if(d){break b}d=j[c+16>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}e=e>>16;c=j[c+20>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}d=hj(b,e,d>>16,n,f+8|0);if(d){break b}g=j[f+8>>2];i=j[f+4>>2];l=j[f>>2];o=p(q,36)+a|0;s=o;e=j[o+40>>2];c:{if(e){r=g>>3;t=i>>3;u=l>>3;v=128>>>(g&7)|0;w=128>>>(i&7)|0;x=128>>>(l&7)|0;c=j[o+48>>2];d=e;while(1){b=j[c>>2];if((k[j[c+8>>2]+u|0]&x?l>>>0>>0:0)|(k[j[c+8>>2]+t|0]&w?b>>>0>i>>>0:0)|(k[r+j[c+8>>2]|0]&v?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}r=e+1|0;b=j[o+44>>2];d:{if(r>>>0<=b>>>0){c=j[(p(q,36)+a|0)+48>>2];break d}j[f+12>>2]=0;c=b;b=e+8&-8;d=p(q,36)+a|0;c=xe(n,16,c,b,j[d+48>>2],f+12|0);j[d+48>>2]=c;d=j[f+12>>2];if(d){break b}j[o+44>>2]=b}b=0;c=(e<<4)+c|0;j[c+12>>2]=0;j[c>>2]=0;j[s+40>>2]=r}if((l|0)>=0){if(b>>>0<=l>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=l+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=l+1}b=j[c+8>>2]+(l>>>3|0)|0;h[b|0]=k[b|0]|128>>>(l&7)}if((i|0)>=0){if(m[c>>2]<=i>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=i+1}b=j[c+8>>2]+(i>>>3|0)|0;h[b|0]=k[b|0]|128>>>(i&7)}if((g|0)<0){break a}if(m[c>>2]<=g>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=g+1}a=j[c+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);break a}j[a+4>>2]=d}oe=f+16|0}function bm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c>>8;f=j[a+228>>2];i=f>>8;d=(q|0)<(i|0);a:{if(j[a+176>>2]<=((d?q:i)|0)){break a}o=j[a+172>>2];if((o|0)>((d?i:q)|0)){break a}s=c&255;e=j[a+220>>2];h=j[a+224>>2];d=h-f|0;if((i|0)==(q|0)){kk(a,i,e,d,b,s);break a}k=c-h|0;r=b-e|0;if(!r){g=(k>>>23^-1)&256;d=g-d|0;f=d+j[a+192>>2]|0;j[a+192>>2]=f;n=e<<1&510;h=j[a+188>>2]+p(n,d)|0;j[a+188>>2]=h;s=(k|0)>-1?1:-1;k=s+i|0;l=k-o|0;d=j[a+168>>2];i=e>>8;d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;if(!(j[a+160>>2]==(l|0)?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;o=j[a+184>>2];e=o>>>0>l>>>0?j[a+180>>2]<=(d|0):e;j[a+196>>2]=e;if((k|0)!=(q|0)){r=(g<<1)-256|0;t=p(r,n);while(1){f=f+r|0;j[a+192>>2]=f;h=h+t|0;j[a+188>>2]=h;u=d;d=j[a+168>>2];d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;v=l;k=k+s|0;l=k-j[a+172>>2]|0;if(!((v|0)==(l|0)?(u|0)==(d|0):0)){if(!e){Og(a);o=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;e=l>>>0>>0?(d|0)>=j[a+180>>2]:e;j[a+196>>2]=e;if((k|0)!=(q|0)){continue}break}}d=g+(c|-256)|0;j[a+192>>2]=d+f;j[a+188>>2]=p(d,n)+h;break a}f=a;h=i;g=e;n=d;b:{if((k|0)>-1){l=256;d=256-d|0;o=1;break b}k=0-k|0;o=-1}u=h;v=e;d=p(d,r);e=(d|0)/(k|0)|0;h=d-p(e,k)|0;e=(v+e|0)+(h>>31)|0;kk(f,u,g,n,e,l);d=j[a+168>>2];g=e>>8;d=((d|0)<(g|0)?d:g)-j[a+164>>2]|0;g=(d|0)>-1?d:-1;i=i+o|0;f=i-j[a+172>>2]|0;if(!((f|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=f;j[a+156>>2]=g}j[a+196>>2]=f>>>0>2]?(g|0)>=j[a+180>>2]:1;c:{if((i|0)==(q|0)){f=256-l|0;break c}f=r<<8;d=(f|0)/(k|0)|0;f=f-p(d,k)|0;g=f>>31;r=(g&k)+f|0;t=d+g|0;f=256-l|0;g=h-((h|0)<0?0:k)|0;while(1){h=e;d=g+r|0;e=e+t+((d^-1)>>>31)|0;kk(a,i,h,f,e,l);g=j[a+168>>2];n=e>>8;g=((g|0)<(n|0)?g:n)-j[a+164>>2]|0;n=(g|0)>-1?g:-1;i=i+o|0;h=i-j[a+172>>2]|0;if(!((h|0)==j[a+160>>2]?(n|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=h;j[a+156>>2]=n}g=d-((d|0)<0?0:k)|0;j[a+196>>2]=h>>>0>2]?(n|0)>=j[a+180>>2]:1;if((i|0)!=(q|0)){continue}break}}kk(a,q,e,f,b,s)}j[a+224>>2]=c;j[a+220>>2]=b;j[a+228>>2]=c&-256}function Zl(a,b,c){var d=0,e=0,f=0,g=0,k=0,m=0,n=0;f=oe-16|0;oe=f;j[a+4>>2]=c;j[a>>2]=b;if(c){j[a+396>>2]=j[c+116>>2];j[a+400>>2]=j[c+120>>2];j[a+408>>2]=j[c+128>>2];j[a+412>>2]=j[c+132>>2];j[a+404>>2]=j[c+124>>2];j[a+416>>2]=j[c+136>>2];d=j[c+108>>2];j[a+276>>2]=j[c+104>>2];j[a+280>>2]=d;d=j[c+100>>2];j[a+268>>2]=j[c+96>>2];j[a+272>>2]=d;d=j[c+92>>2];j[a+260>>2]=j[c+88>>2];j[a+264>>2]=d;d=j[c+84>>2];j[a+252>>2]=j[c+80>>2];j[a+256>>2]=d;d=j[c+76>>2];j[a+244>>2]=j[c+72>>2];j[a+248>>2]=d;d=j[c+48>>2];j[a+216>>2]=j[c+44>>2];j[a+220>>2]=d;d=j[c+56>>2];j[a+224>>2]=j[c+52>>2];j[a+228>>2]=d;d=j[c+64>>2];j[a+232>>2]=j[c+60>>2];j[a+236>>2]=d;j[a+240>>2]=j[c+68>>2];j[a+420>>2]=j[c+140>>2];j[a+424>>2]=j[c+144>>2];d=j[c+152>>2];j[a+444>>2]=j[c+148>>2];j[a+448>>2]=d;d=j[c+160>>2];j[a+452>>2]=j[c+156>>2];j[a+456>>2]=d;d=j[c+168>>2];j[a+460>>2]=j[c+164>>2];j[a+464>>2]=d;Ae(a+284|0,c+172|0,68);j[a+380>>2]=j[c+240>>2];j[a+384>>2]=j[c+244>>2];i[a+468>>1]=l[c+248>>1];j[a+472>>2]=j[c+252>>2];d=j[c+260>>2];j[a+180>>2]=j[c+256>>2];j[a+184>>2]=d;d=j[c+268>>2];j[a+188>>2]=j[c+264>>2];j[a+192>>2]=d;d=j[c+276>>2];j[a+196>>2]=j[c+272>>2];j[a+200>>2]=d;d=j[c+284>>2];j[a+204>>2]=j[c+280>>2];j[a+208>>2]=d;j[a+212>>2]=j[c+288>>2];Ee(a+36|0,0,108)}e=j[a+8>>2];a:{b:{c:{c=l[b+284>>1]+32|0;d=j[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}m=a,n=xe(e,1,d<<2,c<<2,j[a+24>>2],f+8|0),j[m+24>>2]=n;e=j[f+8>>2];if(e){break c}e=j[a+8>>2]}j[a+20>>2]=c;c=l[b+286>>1];b=j[a+388>>2];if(c>>>0<=b>>>0){c=b;break b}m=a,n=xe(e,1,b,c,j[a+392>>2],f+12|0),j[m+392>>2]=n;e=j[f+12>>2];if(!e){break b}j[a+388>>2]=b&65535;break a}j[a+20>>2]=d;break a}e=0;j[a+152>>2]=0;j[a+388>>2]=c&65535;b=j[a+148>>2];c=j[a+144>>2];j[a+72>>2]=c;j[a+76>>2]=b;j[a+108>>2]=c;j[a+112>>2]=b;j[a+36>>2]=c;j[a+40>>2]=b;d=j[a+164>>2];b=d;c=j[a+160>>2];j[a+88>>2]=c;j[a+92>>2]=d;g=j[a+172>>2];d=g;k=j[a+168>>2];j[a+96>>2]=k;j[a+100>>2]=d;g=j[a+176>>2];j[a+104>>2]=g;j[a+124>>2]=c;j[a+128>>2]=b;j[a+132>>2]=k;j[a+136>>2]=d;j[a+140>>2]=g;j[a+52>>2]=c;j[a+56>>2]=b;j[a+60>>2]=k;j[a+64>>2]=d;j[a+68>>2]=g;b=j[a+156>>2];c=j[a+152>>2];j[a+80>>2]=c;j[a+84>>2]=b;j[a+116>>2]=c;j[a+120>>2]=b;j[a+44>>2]=c;j[a+48>>2]=b;h[a+488|0]=0}oe=f+16|0;return e}function Cy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;g=k[a+63|0];y=j[a+36>>2];z=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];A=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!A){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=((q&128)>>>5|0)+z|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;c:{d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break c;case 3:break d;default:break c}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2]==268306?a:0)){ve(73666,0);g=-1;break a}if(!c){j[f>>2]=73708;g=ve(73682,f);break a}if(!d){j[f+16>>2]=73715;g=ve(73682,f+16|0);break a}b:{if(b){i=j[b+8>>2];break b}j[f+24>>2]=0;j[f+28>>2]=0;i=j[a+12>>2];j[f+32>>2]=i;j[f+36>>2]=j[a+16>>2];b=f+24|0}if(!i){break a}l=j[b+12>>2];if(!l){break a}h=j[a+40>>2];e=j[a+44>>2];if(e){g=-1;if((uA(e,b,c,d)|0)<0){break a}j[f+48>>2]=0;j[f+52>>2]=0;c=j[a+12>>2];j[f+56>>2]=c;e=j[a+16>>2];j[f+60>>2]=e;c:{if(j[a+8>>2]==1){g=0;j[f+44>>2]=0;j[f+40>>2]=0;if((Mj(h,f+48|0,f+44|0,f+40|0)|0)<0){break c}Wk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],j[f+44>>2],j[f+40>>2]);Lj(h);break a}g=0;b=j[h+4>>2];d:{if(!(!b|(b&-268435456)==268435456)){d=2;if((b|0)==844715353|(b|0)==1498831189){break d}d=(b|0)==1431918169?2:1;break d}d=b&255}c=p(d,c)+3&-4;b=p(c,e);if(!b){break a}b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Wk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],b,c);gi(h,f+48|0,b,c);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}if(h){e:{if(j[a+8>>2]==1){j[f+48>>2]=0;j[f+44>>2]=0;if((Mj(h,b,f+48|0,f+44|0)|0)<0){break e}fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],j[f+48>>2],j[f+44>>2]);Lj(h);break a}e=j[h+4>>2];f:{if(!(!e|(e&-268435456)==268435456)){k=2;if((e|0)==844715353|(e|0)==1498831189){break f}k=(e|0)==1431918169?2:1;break f}k=e&255}i=p(k,i)+3&-4;e=p(i,l);if(!e){break a}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}if(e){fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],e,i);gi(h,b,e,i);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}g:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break g}h=j[e+340>>2];if(!h){break g}g=e+420|0;i=qe[j[e+48>>2]](e,h,j[e+408>>2],j[e+412>>2])|0;while(1){h=g;g=j[h+8>>2];if(g){continue}break}j[h+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;g=j[e+344>>2];if(g){j[g+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break g}g=-1;break a}g=qe[j[e+52>>2]](e,a,b,c,d)|0}oe=f- -64|0;return g}function uA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0;a:{b:{c:{d:{f=j[a>>2];e:{if((f|0)<=1431918168){f:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break d;case 11:break e;default:break f}}if((f|0)==825382478){break d}if((f|0)!=844715353){break b}break c}if((f|0)==1431918169|(f|0)==1498831189){break c}if((f|0)!=1448433993){break b}}g:{e=j[b+4>>2];h=j[b>>2];if(e|h){break g}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break g}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break g}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}o=(j[b+8>>2]+1|0)/2|0;e=j[a+16>>2]+p(h,j[a+12>>2])+(p(j[b+4>>2]/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0))|0;h=(d+1|0)/2|0;f=p(d,i)+c|0;g=0;while(1){Ge(e,f,o);f=f+h|0;m=j[a+8>>2];i=(m+1|0)/2|0;e=i+e|0;g=g+1|0;k=j[b+12>>2];n=(k+1|0)/2|0;if((g|0)<(n|0)){continue}break}if((k|0)<1){break b}f=(j[b+8>>2]+1|0)/2|0;e=j[a+12>>2];e=(j[a+16>>2]+p(e,m)|0)+p(i,(e+1|0)/2|0)+(p(i,j[b+4>>2]/2|0)+(j[b>>2]/2|0))|0;c=(p(d,k)+c|0)+p(h,n)|0;d=0;while(1){Ge(e,c,f);c=c+h|0;e=((j[a+8>>2]+1|0)/2|0)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}h:{e=j[b+4>>2];h=j[b>>2];if(e|h){break h}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break h}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break h}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}f=(j[b+8>>2]+1|0)/2<<1;e=(j[a+16>>2]+p(h,j[a+12>>2])|0)+(p((j[b+4>>2]+1|0)/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0)<<1)|0;c=p(d,i)+c|0;g=(d+1|0)/2<<1;d=0;while(1){Ge(e,c,f);c=c+g|0;e=((j[a+8>>2]+1|0)/2<<1)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}if(j[b+12>>2]<1){break b}g=(j[b+8>>2]+1|0)/2<<2;e=(j[a+28>>2]+p(j[b+4>>2],l[a+20>>1])|0)+(j[b>>2]<<1)|0;f=0;while(1){Ge(e,c,g);c=c+d|0;e=l[a+20>>1]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}Ge(j[a+16>>2],c,p(f,g)+(p((f+1|0)/2|0,(g+1|0)/2|0)<<1)|0);return 0}function Vi(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=oe-144|0;oe=d;a:{if(!a){j[d>>2]=72202;c=ve(72176,d);break a}b:{c=xg(a,44);if(c){i=1;f=c-a|0;c=f+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(c){break b}Be(0)}j[d+16>>2]=a;c=ve(72216,d+16|0);break a}Ge(c,a,f);h[c+f|0]=0;k=1;e=0;c:{if(!Me(c,72244)){break c}if(!Me(c,72252)){i=0;e=1;break c}k=(Me(c,72259)|0)!=0;e=1}n=e;IA(d+88|0,c);e=j[d+100>>2];f=d- -64|0;j[f>>2]=j[d+96>>2];j[f+4>>2]=e;e=j[d+92>>2];j[d+56>>2]=j[d+88>>2];j[d+60>>2]=e;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=j[f+4>>2];j[d+80>>2]=j[f>>2];j[d+84>>2]=c;c=j[d+60>>2];j[d+72>>2]=j[d+56>>2];j[d+76>>2]=c;d:{c=xg(a,44);e:{if(!c){break e}l=c+1|0;f=xg(l,44);if(!f){break e}e=f-c|0;c=e;f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){break d}Be(0)}j[d+32>>2]=a;ve(72266,d+32|0);c=-1;break a}Ge(f,l,e);c=-1;h[(f+e|0)-1|0]=0;f:{e=xg(a,44);g:{if(!e){break g}e=xg(e+1|0,44);if(!e){break g}e=Uf(e+1|0);if(e){break f}}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}j[d+48>>2]=a;ve(72294,d+48|0);break a}h:{i:{j:{k:{l:{a=j[67062];if(a){while(1){if(!wf(d+72|0,a,16)){break l}a=j[a+28>>2];if(a){continue}break}}a=qe[j[57972]](32)|0;if(a){j[57976]=j[57976]+1}if(a){break k}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);break a}if(m[a+24>>2]<=b>>>0){c=j[a+16>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+16>>2]=f;c=j[a+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+24>>2]=b;j[a+20>>2]=e;c=j[67069];if(!c){g=1;break h}while(1){if(!wf(j[c>>2]+12|0,a,16)){hB(c,j[a+16>>2],j[a+20>>2]);j[d+88>>2]=1621;j[d+96>>2]=j[j[c>>2]>>2];gf(d+88|0)}c=j[c+32>>2];if(c){continue}break}g=1;break j}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}g=1;break h}c=j[d+76>>2];j[a>>2]=j[d+72>>2];j[a+4>>2]=c;c=j[d+84>>2];j[a+8>>2]=j[d+80>>2];j[a+12>>2]=c;j[a+28>>2]=0;j[a+20>>2]=e;j[a+16>>2]=f;j[a+24>>2]=b;c=j[67062];if(!c){break i}while(1){b=c;c=j[c+28>>2];if(c){continue}break}j[b+28>>2]=a;g=0}if(a){break h}c=-1;break a}j[67062]=a}c=0;if(g){break a}if(!n){j[67070]=a;c=1;break a}if(!i){j[67071]=a;c=1;break a}c=1;if(k){break a}j[67072]=a}oe=d+144|0;return c}function op(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-48|0;oe=f;a:{if(c>>>0<=2){c=c<<2;i=j[c+227596>>2];o=j[c+227584>>2];while(1){c=j[b+4>>2];b:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break b}c=ff(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break c}c=ff(b)}e:{f:{while(1){if(h[e+227516|0]==(c|32)){g:{if(e>>>0>6){break g}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break g}c=ff(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){j[b+4>>2]=j[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}xD(f,q(q(g|0)*q(B)));g=j[f+8>>2];i=j[f+12>>2];l=j[f>>2];n=j[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(h[e+227525|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break k}c=ff(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=j[b+4>>2];n:{if(e>>>0>2]){j[b+4>>2]=e+1;e=k[e|0];break n}e=ff(b)}if((e&-33)==88){ND(f+16|0,b,o,i,g,d);g=j[f+24>>2];i=j[f+28>>2];l=j[f+16>>2];n=j[f+20>>2];break a}if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}MD(f+32|0,b,c,o,i,g,d);g=j[f+40>>2];i=j[f+44>>2];l=j[f+32>>2];n=j[f+36>>2];break a;case 3:break i;default:break l}}if(j[b+104>>2]){j[b+4>>2]=j[b+4>>2]-1}break h}o:{c=j[b+4>>2];p:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break p}c=ff(b)}if((c|0)==40){e=1;break o}g=0;i=2147450880;if(!j[b+104>>2]){break a}j[b+4>>2]=j[b+4>>2]-1;break a}while(1){q:{c=j[b+4>>2];r:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break r}c=ff(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;i=2147450880;if((c|0)==41){break a}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){j[b+4>>2]=j[b+4>>2]-1}if(e){continue}break}break a}}j[67100]=28;kg(b,0,0)}g=0;i=0}j[a>>2]=l;j[a+4>>2]=n;j[a+8>>2]=g;j[a+12>>2]=i;oe=f+48|0}function Nj(a,b,c,d,e,f,g){var i=0,l=0,m=0,o=0,p=0,s=0,t=q(0),u=0,v=0;s=oe+ -64|0;oe=s;m=dl(a,b);a:{if(!m){break a}b:{c:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){d:{e:{i=j[67024];if(!i){i=j[66371];if(!i){break e}}l=k[268228];if(e){if(l&1){break b}o=j[i+28>>2];t=q(q(o|0)*g);f:{if(q(r(t))0?l:0;u=(l|0)<(o|0)?l:o-1|0;v=i;p=j[i+24>>2];t=q(q(p|0)*f);g:{if(q(r(t))0?o:0;Oj(v,-1,0,(l|0)<(p|0)?l:p-1|0,u);hl(i,-1,1,1);break d}if(((a|0)!=j[67058]|(b|0)!=j[67059]|l^-1)&1|((c|0)!=j[67060]|(d|0)!=j[67061])){break c}hl(i,-1,0,1);break c}if(!e){break c}}if(k[268228]){break b}j[67058]=a;j[67059]=b;h[268228]=1;j[67060]=c;j[67061]=d;break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}break b}if(!k[268228]|((a|0)!=j[67058]|(b|0)!=j[67059])|((c|0)!=j[67060]|(d|0)!=j[67061])){break b}h[268228]=0}l=j[m+12>>2];i=0;h:{if((l|0)<1){break h}o=j[m+20>>2];i=0;i:{while(1){p=j[o+(i<<2)>>2];if((c|0)==j[p>>2]&(d|0)==j[p+4>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}i=0;break h}i=(i|0)<(l|0)?p:0}if(e){if(i){break a}j:{k:{l:{if(j[m+16>>2]!=(l|0)){i=j[m+20>>2];break l}e=mf(j[m+20>>2],(l<<2)+4|0);if(!e){break k}j[m+20>>2]=e;e=qe[j[57972]](24)|0;if(e){j[57976]=j[57976]+1}l=j[m+16>>2];o=l<<2;j[o+j[m+20>>2]>>2]=e;i=j[m+20>>2];if(!j[o+i>>2]){break k}j[m+16>>2]=l+1;l=j[m+12>>2]}j[m+12>>2]=l+1;e=j[(l<<2)+i>>2];n[e+16>>2]=1;n[e+12>>2]=g;n[e+8>>2]=f;j[e>>2]=c;j[e+4>>2]=d;break j}if((Be(0)|0)<0){break a}}if((We(1792,-1)|0)!=1){break a}n[s+48>>2]=1;e=s;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=g;n[e+32>>2]=f;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1792;gf(e+8|0);break a}if(!i){break a}if((We(1793,-1)|0)==1){e=s;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1793;n[e+32>>2]=n[i+8>>2];f=n[i+12>>2];n[e+48>>2]=1;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=f;gf(e+8|0)}a=j[m+12>>2];if((a|0)<1){break a}b=j[m+20>>2];i=0;while(1){e=b+(i<<2)|0;l=j[e>>2];if(j[l>>2]!=(c|0)|j[l+4>>2]!=(d|0)){i=i+1|0;if((a|0)!=(i|0)){continue}break a}break}a=a-1|0;j[m+12>>2]=a;a=a<<2;j[e>>2]=j[a+b>>2];j[a+j[m+20>>2]>>2]=l}oe=s- -64|0}function YG(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;m=j[a+528>>2];a:{if(!m){a=6;break a}i=j[a+100>>2];n=j[m+4>>2];j[f+24>>2]=n;d=j[m>>2];j[f+28>>2]=d;if(n){a=0;while(1){c=p(a,12);e=c+(f+24|0)|0;j[e+8>>2]=j[((a<<2)+m|0)+8>>2];c=c+m|0;l=j[c+92>>2];j[e+12>>2]=j[l>>2];j[e+16>>2]=j[(l+(k[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((n|0)!=(a|0)){continue}break}}e=0;j[f+20>>2]=0;i=He(i,p(n,24)+20|0,f+20|0);a=j[f+20>>2];if(a){break a}j[i+16>>2]=0;j[i+8>>2]=-1;j[i+4>>2]=d;j[i>>2]=n;l=i+20|0;j[i+12>>2]=l;if(n){while(1){a=p(e,24)+l|0;c=(f+24|0)+p(e,12)|0;d=j[c+8>>2];j[a>>2]=d;h=j[c+12>>2]<<16;j[a+4>>2]=h;c=j[c+16>>2];j[a+16>>2]=-1;j[a+20>>2]=-1;c=c<<16;j[a+12>>2]=c;j[a+8>>2]=(c+h|0)/2;g=2003265652;b:{c:{if(!we(d,201616)){break c}g=2003072104;if(!we(d,201623)){break c}if(we(d,201629)){break b}g=1869640570}j[a+16>>2]=g}e=e+1|0;if((n|0)!=(e|0)){continue}break}}d:{e=j[m+4>>2];if(j[m>>2]!=1<>2];e:{f:{switch(e-1|0){case 0:e=j[a+4>>2];j[f>>2]=e;break e;case 1:d=j[a+12>>2];e=d+j[a+4>>2]|0;j[f>>2]=e;j[f+4>>2]=d+j[a+8>>2];break e;case 2:h=j[a+12>>2];d=j[a+20>>2];c=j[a+28>>2];e=j[a+4>>2]+(h+(d+c|0)|0)|0;j[f>>2]=e;c=c+j[a+24>>2]|0;j[f+4>>2]=j[a+8>>2]+(c+h|0);j[f+8>>2]=j[a+16>>2]+(c+d|0);break e;default:break f}}r=j[a+12>>2];q=j[a+20>>2];d=j[a+28>>2];g=j[a+52>>2];c=j[a+44>>2];h=c+j[a+36>>2]|0;o=j[a+60>>2];e=j[a+4>>2]+(r+(q+(d+(g+(h+o|0)|0)|0)|0)|0)|0;j[f>>2]=e;s=j[a+24>>2];t=j[a+40>>2];r=r+(c+d|0)|0;c=o+j[a+56>>2]|0;j[f+4>>2]=j[a+8>>2]+(s+(t+(r+c|0)|0)|0);o=(d+q|0)+s|0;d=j[a+48>>2]+(c+g|0)|0;j[f+8>>2]=j[a+16>>2]+(o+d|0);j[f+12>>2]=j[a+32>>2]+(d+(h+t|0)|0)}if(!n){break d}d=0;while(1){c=p(d,12)+m|0;h=j[c+96>>2];g:{if(j[h>>2]<(e|0)){a=1;o=k[c+88|0];if(o>>>0>1){while(1){g=a<<2;q=j[g+h>>2];if((q|0)>=(e|0)){c=j[c+92>>2];l=g-4|0;a=j[c+l>>2];c=j[c+g>>2];g=e;e=j[h+l>>2];a=p(De(g-e|0,q-e|0),c-a|0)+(a<<16)|0;l=j[i+12>>2];break g}a=a+1|0;if((o|0)!=(a|0)){continue}break}}a=j[(j[c+92>>2]+(o<<2)|0)-4>>2]<<16;break g}a=j[j[c+92>>2]>>2]<<16}j[(p(d,24)+l|0)+8>>2]=a;d=d+1|0;if((n|0)==(d|0)){break d}e=j[(d<<2)+f>>2];continue}}j[b>>2]=i;a=j[f+20>>2]}oe=f+80|0;return a|0}function Jo(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a=oe-288|0;oe=a;vs(a+16|0,j[58915]);c=j[a+20>>2];b=j[a+16>>2];j[58917]=b;j[58918]=c;m=c;if(c){i=b;while(1){Ee(a+16|0,0,257);a:{if(k[e+i|0]!=58){break a}j[a+12>>2]=0;b=e;while(1){c=k[b+i|0];if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=k[i+c|0];if((e|0)!=58){while(1){h[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=k[i+c|0];if((e|0)!=58){continue}break}}h[(a+12|0)+d|0]=0;g=rf(a+12|0);if((g|0)>j[60719]){j[60719]=g}d=0;f=0;e=b+3|0;b=k[i+e|0];if((b|0)!=10){while(1){b:{c:{d:{c=b<<24>>24;switch(c-123|0){case 0:case 2:break b;case 1:break c;default:break d}}if((c|0)==32){break b}}h[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=k[i+e|0];if((b|0)!=10){continue}break}}h[(a+16|0)+f|0]=0;h[a+8|0]=0;j[a>>2]=0;j[a+4>>2]=0;c=1;b=k[a+16|0];e:{if((b|0)==44){l=0;break e}while(1){h[a+d|0]=b;d=d+1|0;b=k[d+(a+16|0)|0];if((b|0)!=44){continue}break}l=k[a|0];if((l|0)!=42){break e}b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);l=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a>>2]=l;j[a+4>>2]=b;c=16}g=p(g,24)+235536|0;n=g,o=p(rf(a),c),j[n+140>>2]=o;b=0;c=d+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}l=k[a|0]}b=1;c=g;if((l&255)==42){b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);j[a>>2]=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a+4>>2]=b;b=16}n=c,o=p(b,rf(a)),j[n+144>>2]=o;c=0;b=d+2|0;d=k[b+(a+16|0)|0];if((d|0)!=44){while(1){h[a+c|0]=d;c=c+1|0;b=b+1|0;d=k[b+(a+16|0)|0];if((d|0)!=44){continue}break}}n=g,o=rf(a),j[n+148>>2]=o;d=0;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}}n=g,o=rf(a),j[n+152>>2]=o;d=0;c=b+2|0;b=k[c+(a+16|0)|0];if((b|0)!=44){while(1){h[a+d|0]=b;d=d+1|0;c=c+1|0;b=k[c+(a+16|0)|0];if((b|0)!=44){continue}break}}n=g,o=rf(a),j[n+156>>2]=o;b=0;d=c+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){while(1){h[a+b|0]=c;b=b+1|0;d=d+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){continue}break}}n=g,o=rf(a),j[n+160>>2]=o}else{b=b-1|0;continue}break}}e=e+1|0;if(m>>>0>e>>>0){continue}break}}oe=a+288|0}function gr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(k[a+16|0]&8)){e=p(c,204)+b|0;r=j[e+200>>2];g=j[e+204>>2]+ye(j[a>>2],r)|0;f=ye(j[a+4>>2],r);a:{b:{c:{d:{e:{switch(c|0){case 1:if(k[d+121|0]){break d}break b;case 0:if(!k[d+120|0]){break b}n=k[d+122|0]!=0;break;default:break e}}j[a+12>>2]=f;i=a+12|0;break c}s=k[d+123|0];j[a+12>>2]=f;t=j[a>>2];v=k[b+2492|0];n=2;e=j[b+412>>2];f:{g:{if(!e){break g}l=j[a+4>>2]+t|0;h=b+416|0;o=j[b+2488>>2];m=0-o|0;while(1){q=l-j[h+12>>2]|0;if((q|0)<(m|0)){break g}if((l|0)<=(o+j[h+8>>2]|0)){if(!v){e=0;if((q|0)>j[b+2484>>2]){break f}}u=j[h+16>>2];n=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}i=j[b+928>>2];h:{if(!i){l=0;break h}l=0;o=j[b+2488>>2];m=0-o|0;h=((i<<5)+b|0)+932|0;while(1){q=j[h-24>>2]-t|0;if((m|0)>(q|0)){break h}if((j[h-20>>2]-o|0)>(t|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(j[b+2484>>2]<=(q|0)?!v:0){break h}l=j[h-16>>2];e=n}i=a+12|0;n=(s|0)!=0;i:{switch(e-1|0){case 1:j[a+8>>2]=l;if(!s){break a}j[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:j[a+8>>2]=l;j[a+12>>2]=u-l;break a;case 0:break i;default:break c}}j[a+8>>2]=u-f;if(!s){break a}b=(f|0)<64?64:f+32&-64;j[a+12>>2]=b;j[a+8>>2]=u-b;break a}e=j[a+20>>2];if(e){if(!(k[e+16|0]&8)){gr(e,b,c,d)}g=((j[e+8>>2]-(f>>1)|0)+(j[e+12>>2]>>1)|0)+ye((j[a>>2]-(j[e>>2]+(j[e+4>>2]>>1)|0)|0)+(j[a+4>>2]>>1)|0,r)|0}j[a+12>>2]=f;h=a;e=f;j:{if(!k[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;m=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(m^e+m)>(g^c+g)?d:b;e=f;break j}b=j[(p(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;j[h+12>>2]=e;c=g+32|0;e=((c+e&-64)-g|0)-e|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;j[a+8>>2]=c;if(!n){break a}e=(b|0)<64?64:b+32&-64;j[i>>2]=e;d=e>>1;j[a+12>>2]=e;j[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}j[a+12>>2]=f;j[a+8>>2]=g}j[a+16>>2]=j[a+16>>2]|8}}function az(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;a:{b:{if(_i(16)){break b}if(($i(16)|0)>=0){break b}a=-1;break a}b=j[65557];if(b){if(!(l[131118]!=32784|k[262238]!=2)){j[65557]=b+1;break a}while(1){Wn();if(j[65557]){continue}break}}j[d+28>>2]=0;j[d+24>>2]=74;i[d+16>>1]=2048;h[d+14|0]=2;i[d+12>>1]=32784;j[d+8>>2]=44100;a=MC(d+8|0);j[65564]=a;if(!a){a=-1;break a}No();a=-1;if((vC()|0)<=-1){Po(j[65564]);break a}j[65565]=8;a=qe[j[57972]](480)|0;if(a){j[57976]=j[57976]+1}b=a;j[65566]=a;e=j[65565];if((e|0)>=1){while(1){a=b+p(c,60)|0;j[a>>2]=0;j[a+4>>2]=0;j[a+44>>2]=128;j[a+16>>2]=128;j[a+20>>2]=0;j[a+36>>2]=0;j[a+40>>2]=128;j[a+56>>2]=0;j[a+24>>2]=-1;j[a+28>>2]=0;j[a+8>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}Lo(128);f=262216,g=(Mf(3137)|0)!=0,j[f>>2]=g;a=mf(j[65556],(j[65555]<<2)+4|0);c:{if(!a){c=j[65555];a=j[65556];break c}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=3289}a=mf(a,(c<<2)+4|0);d:{if(!a){c=j[65555];a=j[65556];break d}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=3294}a=mf(a,(c<<2)+4|0);if(a){j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3299}e:{if(j[57816]==3){b=1;if(j[57818]){break e}}b=j[57795]==3&j[57797]!=0}f:{if(!b){break f}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break f}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3303}g:{if(j[57816]==4){b=1;if(j[57818]){break g}}b=j[57795]==4&j[57797]!=0}h:{if(!b){break h}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break h}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3307}i:{if(j[57816]==5){b=1;if(j[57818]){break i}}b=j[57795]==5&j[57797]!=0}j:{if(!b){break j}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break j}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3311}k:{if(j[57816]==6){b=1;if(j[57818]){break k}}b=j[57795]==6&j[57797]!=0}l:{if(!b){break l}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break l}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3315}m:{if(j[57816]==8){b=1;if(j[57818]){break m}}b=j[57795]==8&j[57797]!=0}n:{if(!b){break n}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break n}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3319}a=0;j[65557]=1;IC(j[65564])}oe=d+32|0;return a}function Cr(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;h=j[a+4>>2];q=j[h+328>>2];j[f+28>>2]=0;s=j[h+136>>2];r=j[h+100>>2];l=j[j[h+128>>2]+48>>2];a:{b:{if(l){c=qe[j[j[l>>2]>>2]](j[l+4>>2],b,f+8|0)|0;j[f+28>>2]=c;if(c){break a}d=j[h+288>>2];if(d&255){c=j[f+8>>2];n=d;while(1){o=k[c|0]|o<<8;c=c+1|0;n=n-1|0;if(n&255){continue}break}}c=j[f+12>>2];c:{if(!c){break c}e=c-d|0;g=He(r,e,f+28|0);if(j[f+28>>2]){break c}Ae(g,j[f+8>>2]+j[h+288>>2]|0,e)}qe[j[j[l>>2]+4>>2]](j[l+4>>2],f+8|0);c=j[f+28>>2];if(!c){break b}break a}d=j[h+292>>2]+j[h+288>>2]|0;c=Fe(q,(j[h+284>>2]+j[h+308>>2]|0)+p(d,b)|0);if(c){break a}c=_e(q,d<<1);j[f+28>>2]=c;if(c){break a}d=j[q+32>>2];i=j[h+288>>2];if(i&255){g=i-1&255;c=d;e=i;while(1){o=k[c|0]|o<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}d=(d+g|0)+1|0}g=0;e=j[h+292>>2];if(e&255){t=e-1&255;c=d;g=e;while(1){n=k[c|0]|n<<8;c=c+1|0;g=g-1|0;if(g&255){continue}break}c=((d+t|0)+i|0)+1|0;g=0;while(1){g=k[c|0]|g<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}}Ve(q);c=9;if(m[h+300>>2]<=o>>>0){break a}e=g-n|0;if(!e){c=0;break a}g=He(r,e,f+28|0);c=j[f+28>>2];if(c){break a}c=Yr(q,j[h+308>>2]+n|0,g,e);j[f+28>>2]=c;if(c){break a}}d=j[h+316>>2]+(o<<3)|0;j[a+1364>>2]=j[d>>2];d=j[d+4>>2];j[a+1372>>2]=0;j[a+1368>>2]=d;i=j[h+304>>2]+p(o,252)|0;d=j[i+220>>2];j[a+1376>>2]=j[i+216>>2];j[a+1380>>2]=d;d=j[i+228>>2];c=a+1384|0;j[c>>2]=j[i+224>>2];j[c+4>>2]=d;d=j[i+236>>2];j[a+1392>>2]=j[i+232>>2];j[a+1396>>2]=d;d=j[i+4>>2];j[a+1360>>2]=d;if((d|0)>=0){qe[j[s+16>>2]](g,e,4330)}d=(d|0)>-1?d:0;u=f,v=qe[j[a+1484>>2]](a,d+g|0,e-d|0)|0,j[u+28>>2]=v;d=r;if(g){qe[j[d+8>>2]](d,g)}c=j[f+28>>2];if(c|!l){break a}if(!j[j[l>>2]+8>>2]){c=0;break a}e=j[a+32>>2];d=e+32768&-65536;if((e|0)<0){d=0-(32768-e&-65536)|0}j[f+12>>2]=0;j[f+8>>2]=d>>16;d=f;c=j[a+40>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+16>>2]=e>>16;c=j[a+44>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+20>>2]=e>>16;c=qe[j[j[l>>2]+8>>2]](j[l+4>>2],b,0,f+8|0)|0;j[a+32>>2]=j[f+8>>2]<<16;j[a+40>>2]=j[f+16>>2]<<16;j[a+44>>2]=j[f+20>>2]<<16}oe=f+32|0;return c|0}function AO(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=oe-48|0;oe=d;a:{if(!a){f=20;break a}if(!b){f=6;break a}if(i[a>>1]<1){break a}l=j[b+20>>2];m=j[b+16>>2];b:{while(1){p=i[j[a+12>>2]+(q<<1)>>1];if((p|0)<0){f=20;break a}h=j[a+4>>2];e=h+(r<<3)|0;n=j[e+4>>2];g=(j[e>>2]<>2]=g;s=(n<>2]=s;o=h+(p<<3)|0;h=j[o>>2];v=j[o+4>>2];f=j[d+36>>2];j[d+40>>2]=j[d+32>>2];j[d+44>>2]=f;t=j[a+8>>2];n=t+r|0;u=k[n|0]&3;c:{if((u|0)==3){break c}f=20;d:{switch(u-1|0){case 1:break a;case 0:break c;default:break d}}f=(v<>2]=f;j[d+32>>2]=h;o=o-8|0;break e}j[d+36>>2]=(f+s|0)/2;j[d+32>>2]=(h+g|0)/2}n=n-1|0;e=e-8|0}g=qe[j[b>>2]](d+32|0,c)|0;if(g){break b}f:{g:{if(e>>>0>>0){while(1){h=n+1|0;f=e+8|0;h:{i:{j:{switch(k[n+1|0]&3){case 1:j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break h;case 0:j[d+40>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>>0>>0){while(1){e=k[h+1|0];n=(j[f+8>>2]<>2]=n;g=(j[f+12>>2]<>2]=g;h=h+1|0;f=f+8|0;k:{e=e&3;l:{if(e){if((e|0)!=1){h=7;g=0;break i}g=qe[j[b+8>>2]](d+40|0,d+24|0,c)|0;if(g){break l}e=f;n=h;break h}j[d+16>>2]=(n+j[d+40>>2]|0)/2;j[d+20>>2]=(g+j[d+44>>2]|0)/2;g=qe[j[b+8>>2]](d+40|0,d+16|0,c)|0;if(!g){break k}}h=10;break i}e=j[d+28>>2];j[d+40>>2]=j[d+24>>2];j[d+44>>2]=e;if(f>>>0>>0){continue}break}}g=qe[j[b+8>>2]](d+40|0,d+32|0,c)|0;break g;default:break j}}h=7;g=0;if((k[n+2|0]&3)!=2|e+16>>>0>o>>>0){break i}j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]=(j[e+16>>2]<>2]=(j[e+20>>2]<>>0<=o>>>0){j[d+8>>2]=(j[e+24>>2]<>2]=(j[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(g){h=10;break i}n=n+3|0;e=f;break h}g=qe[j[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!h){break f}f=20;if((h|0)==7){break a}break b}if(e>>>0>>0){continue}break}}g=qe[j[b+4>>2]](d+32|0,c)|0}if(g){break b}r=p+1|0}q=q+1|0;if((q|0)>1]){continue}break}g=0}f=g}oe=d+48|0;return f|0}function Zk(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}b=b?b:j[a+116>>2];o=b&255;m=!b|(b&-268435456)==268435456;if(!(o|!m)){ve(73484,0);break a}if(!(!m|(b>>>24&15)-1>>>0>2)){ve(73507,0);break a}if(!((e|0)>0?(d|0)>=1:0)){ve(73545,0);break a}f=j[a+184>>2];g=j[a+180>>2];b:{if(!(!f|(e|0)<=(f|0)?!((d|0)>(g|0)?g:0):0)){j[l+4>>2]=f;j[l>>2]=g;ve(73575,l);break b}h=Xe(1,88);if(!h){h=0;Be(0);break a}j[h+32>>2]=-1;j[h+16>>2]=e;j[h+12>>2]=d;j[h+8>>2]=c;j[h+4>>2]=b;j[h>>2]=268306;f=0;g=dg(73901);c:{if(!g){break c}if(!Me(g,73926)){break c}if(!Me(g,73934)){f=1;break c}if(!Me(g,73941)){f=2;break c}f=rf(g)}j[h+36>>2]=a;j[h+28>>2]=f;g=j[a+312>>2];j[h+84>>2]=g;if(g){j[g+80>>2]=h}j[a+312>>2]=h;n=j[a+112>>2];d:{e:{f:{g:{if(n){h:{while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break h}break}if((qe[j[a+16>>2]](a,h)|0)<=-1){break d}break a}if(m){break g}i=0;while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break f}break}f=b;break e}if(!m){break f}}f=b>>>24&15;i:{if(f-4>>>0<=2){f=(b>>>20&15)-3|0;g=0;if(f>>>0>=6){break i}g=j[(f<<2)+73984>>2];break i}g=0;if(f-7>>>0>4){break i}f=b>>>20&15;if(f>>>0<=6){g=1;if(1<>2];if(!((f&-268435456)!=268435456?f:0)){k=f>>>24&15;j:{if(k-4>>>0<=2){q=0;k=(f>>>20&15)-3|0;if(k>>>0>=6){break j}q=j[(k<<2)+73984>>2];break j}q=0;if(k-7>>>0>4){break j}k=(f>>>20&15)-2|0;if(k>>>0>=5){break j}q=j[(k<<2)+74008>>2]}if((g|0)==(q|0)){break e}}i=i+1|0;if((n|0)!=(i|0)){continue}break}}f=j[a+116>>2]}f=Zk(a,f,c,d,e);j[h+40>>2]=f;if(!f){break d}g=j[h+84>>2];j[f+84>>2]=g;if(g){j[g+80>>2]=f}g=j[f+80>>2];j[h+80>>2]=g;if(g){j[g+84>>2]=h}j[f+80>>2]=h;j[h+84>>2]=f;j[a+312>>2]=h;a=j[h+4>>2];if(!(!a|(a&-268435456)==268435456)){a=vA(b,d,e);j[h+44>>2]=a;if(!a){break d}break a}if((c|0)!=1){break a}k:{if(m){break k}o=2;if((b|0)==844715353|(b|0)==1498831189){break k}o=(b|0)==1431918169?2:1}a=p(d,o)+3&-4;j[h+52>>2]=a;a=Xe(1,p(a,e));j[h+48>>2]=a;if(a){break a}}jh(h)}h=0}oe=l+16|0;return h}function XI(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;var n=0,o=0,q=0,r=0;n=oe-48|0;oe=n;o=2;a:{b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:e=j[a+104>>2];d:{if(!(qe[j[a+508>>2]](a,1128416340,e,n+44|0)|0)){break d}if(!(qe[j[a+508>>2]](a,1161970772,e,n+44|0)|0)){break d}o=qe[j[a+508>>2]](a,1650745716,e,n+44|0)|0;if(o){break a}}j[n+4>>2]=e;j[n>>2]=a;o=j[a+84>>2];i[n+16>>1]=0;j[n+12>>2]=g;j[n+8>>2]=o+76;j[n+20>>2]=j[e+8>>2];j[n+24>>2]=j[n+44>>2];g=j[a+724>>2];j[n+36>>2]=g;e=j[a+728>>2];j[n+40>>2]=e+g;o=3;b=p(b,48);if(e>>>0>>0){break a}b=b+g|0;g=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+28>>2]=q;g=k[b+16|0]|k[b+17|0]<<8|(k[b+18|0]<<16|k[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+32>>2]=g;h[n+18|0]=k[b+54|0];if(e>>>0>>0|g>>>0>e-q>>>3>>>0){break a}o=Cq(n,c,0,0);if(o){break a}if(!(d&1048576)){break b}o=0;break a;case 2:break c;default:break a}}i[g>>1]=0;i[g+2>>1]=0;b=j[a+724>>2]+(b<<2)|0;b=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);o=qe[j[a+508>>2]](a,1935829368,e,n)|0;if(o){break a}d=j[e+8>>2];if(m[a+16>>2]>>0){o=6;break a}f=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);g=f+d|0;q=g+4|0;d=0;while(1){b=j[n>>2];if(b>>>0<=f>>>0){o=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){o=3;break a}o=Fe(e,c+q|0);if(o){break a}o=_e(e,8);if(o){break a}b=Ff(e);c=Ff(e);Ve(e);if((b|0)==(c|0)){o=6;break a}if(b>>>0>c>>>0){o=3;break a}r=c-b|0;if(r>>>0<8){o=3;break a}o=3;if(c>>>0>j[n>>2]-f>>>0){break a}o=Fe(e,b+g|0);if(o){break a}o=_e(e,r);if(o){break a}af(e);af(e);b=Ff(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){o=7;if((b|0)!=1953064550){break e}}o=2}Ve(e);break a}if((d|0)==4){o=3;Ve(e);break a}c=af(e);Ve(e);d=d+1|0;if(m[a+16>>2]>=c>>>0){continue}break}o=6;break a}o=0;if(k[f+18|0]!=7){break a}b=j[j[a+84>>2]>>2];if(n){j[n>>2]=0;j[n+4>>2]=0;j[n+16>>2]=0;j[n+20>>2]=0;j[n+8>>2]=0;j[n+12>>2]=0}o=Ts(b,f,n);if(o){Ym(b,n);break a}h[f+18|0]=k[n+18|0];j[f+8>>2]=j[n+8>>2];i[f+16>>1]=l[n+16>>1];ms(j[a+84>>2],j[n+12>>2]);a=j[j[a+84>>2]+156>>2];j[a+4>>2]=j[a+4>>2]|1}oe=n+48|0;return o|0}function Lu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=oe-848|0;oe=c;j[c+556>>2]=0;g=j[a+992>>2];b=-1;a:{if(!g){break a}j[c+560>>2]=12324;b=j[a+328>>2];j[c+568>>2]=12323;j[c+564>>2]=b;b=j[a+332>>2];j[c+576>>2]=12322;j[c+572>>2]=b;j[c+580>>2]=j[a+336>>2];d=j[a+340>>2];b=6;b:{if(!d){break b}j[c+588>>2]=d;j[c+584>>2]=12321;b=8}d=j[a+348>>2];if(d){j[(c+560|0)+(b<<2)>>2]=12320;b=b|1;j[(c+560|0)+(b<<2)>>2]=d;b=b+1|0}f=b<<2;d=f+(c+560|0)|0;j[d>>2]=12325;j[d+4>>2]=j[a+344>>2];d=b+2|0;e=j[a+352>>2];if(e){j[(c+560|0)+(d<<2)>>2]=12326;j[(c+f|0)+572>>2]=e;d=b+4|0}e=j[a+380>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12338;j[b+4>>2]=e;d=d+2|0}e=j[a+384>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12337;j[b+4>>2]=e;d=d+2|0}j[(c+560|0)+(d<<2)>>2]=12352;e=d+1|0;c:{if(j[a+404>>2]==4){b=j[a+392>>2];d:{if((b|0)>=3){if(qj(a,100479)){j[(c+560|0)+(e<<2)>>2]=64;break d}b=j[a+392>>2]}e=(c+560|0)+(e<<2)|0;if((b|0)>=2){j[e>>2]=4;break d}j[e>>2]=1}qe[j[j[a+992>>2]+112>>2]](12448)|0;break c}j[(c+560|0)+(e<<2)>>2]=8;qe[j[g+112>>2]](12450)|0}b=d+2|0;e=c+560|0;f=j[a+992>>2];if(j[f+20>>2]){j[(c+560|0)+(b<<2)>>2]=12339;j[((d<<2)+c|0)+572>>2]=j[f+20>>2];b=d+4|0}j[(b<<2)+e>>2]=12344;e:{if(!(qe[j[f+60>>2]](j[f+8>>2],c+560|0,c+32|0,128,c+556|0)|0)){break e}b=j[c+556>>2];if(!b){break e}f:{if((b|0)<1){break f}f=-1;while(1){b=j[a+992>>2];g:{if(j[b+32>>2]){qe[j[b+100>>2]](j[b+8>>2],j[(c+32|0)+(h<<2)>>2],12334,c+28|0)|0;if(j[j[a+992>>2]+32>>2]!=j[c+28>>2]){break g}}l=(c+32|0)+(h<<2)|0;d=0;b=0;while(1){e=b;b=b<<2;i=j[b+(c+560|0)>>2];if((i|0)!=12344){h:{if(i-12321>>>0>5){break h}g=(c+560|0)+(b|4)|0;if(j[g>>2]==-1){break h}b=j[a+992>>2];qe[j[b+100>>2]](j[b+8>>2],j[l>>2],i,c+816|0)|0;d=(j[c+816>>2]+d|0)-j[g>>2]|0}b=e+2|0;if(e>>>0<61){continue}}break}if(!((d|0)>=(f|0)?(f|0)!=-1:0)){j[j[a+992>>2]+12>>2]=j[l>>2];f=d}if(!d){break f}}h=h+1|0;if((h|0)>2]){continue}break}}b=0;break a}d=101268;b=c;e=qe[j[j[a+992>>2]+116>>2]]()|0;a=e-12288|0;if(a>>>0<=14){d=j[(a<<2)+101272>>2]}if(!k[d|0]){j[c+16>>2]=e;Ue(c+816|0,32,100323,c+16|0);d=c+816|0}j[b+8>>2]=d;j[c+4>>2]=100377;j[c>>2]=100502;b=ve(100328,c)}oe=c+848|0;return b}function $N(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;d=20;a:{if(!b){break a}if(!a){d=6;break a}d=0;j[a+64>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;if(i[b>>1]<1){break a}b:{while(1){o=i[j[b+12>>2]+(p<<1)>>1];c:{d:{if(q>>>0>=o>>>0){break d}g=j[b+4>>2];m=o<<3;n=g+m|0;e=g+(q<<3)|0;d=j[e+4>>2];f=j[e>>2];l=d;j[c+32>>2]=f;j[c+36>>2]=d;g=g+m|0;m=j[g+4>>2];r=j[g>>2];j[c+40>>2]=f;j[c+44>>2]=d;s=j[b+8>>2];g=s+q|0;t=k[g|0]&3;e:{if((t|0)==3){break e}d=20;f:{switch(t-1|0){case 1:break a;case 0:break e;default:break f}}g:{if((k[o+s|0]&3)==1){j[c+36>>2]=m;j[c+32>>2]=r;n=n-8|0;break g}j[c+36>>2]=(l+m|0)/2;j[c+32>>2]=(f+r|0)/2}g=g-1|0;e=e-8|0}h[a+20|0]=1;d=j[c+32>>2];l=j[c+36>>2];f=l;h[a+21|0]=0;j[a+8>>2]=d;j[a+12>>2]=f;l=j[a+48>>2];m=(l|0)!=0;h:{if(l){break h}}j[a+28>>2]=d;j[a+32>>2]=f;h[a+40|0]=m;j[a>>2]=0;i:{if(e>>>0>=n>>>0){break i}while(1){l=g+1|0;d=e+8|0;j:{k:{l:{m:{switch(k[g+1|0]&3){case 1:j[c+24>>2]=j[e+8>>2];j[c+28>>2]=j[e+12>>2];e=d;g=l;d=Wr(a,c+24|0);if(d){break a}break j;case 0:j[c+40>>2]=j[e+8>>2];j[c+44>>2]=j[e+12>>2];if(d>>>0>>0){while(1){f=k[l+1|0];m=j[d+12>>2];g=m;e=j[d+8>>2];j[c+24>>2]=e;j[c+28>>2]=g;l=l+1|0;d=d+8|0;n:{f=f&3;o:{if(f){if((f|0)!=1){l=5;f=0;break k}f=Bm(a,c+40|0,c+24|0);if(f){break o}e=d;g=l;break j}j[c+16>>2]=(e+j[c+40>>2]|0)/2;j[c+20>>2]=(g+j[c+44>>2]|0)/2;f=Bm(a,c+40|0,c+16|0);if(!f){break n}}l=6;break k}e=j[c+28>>2];j[c+40>>2]=j[c+24>>2];j[c+44>>2]=e;if(d>>>0>>0){continue}break}}f=Bm(a,c+40|0,c+32|0);break l;default:break m}}l=5;f=0;if((k[g+2|0]&3)!=2|e+16>>>0>n>>>0){break k}d=j[e+12>>2];j[c+24>>2]=j[e+8>>2];j[c+28>>2]=d;d=j[e+20>>2];j[c+16>>2]=j[e+16>>2];j[c+20>>2]=d;e=e+24|0;if(n>>>0>=e>>>0){d=j[e+4>>2];j[c+8>>2]=j[e>>2];j[c+12>>2]=d;f=Vr(a,c+24|0,c+16|0,c+8|0);if(f){l=6;break k}g=g+3|0;break j}f=Vr(a,c+24|0,c+16|0,c+32|0)}if(f){break b}break i}d=20;switch(l|0){case 5:break a;case 0:case 4:break c;default:break b}}if(e>>>0>>0){continue}break}}if(k[a+20|0]){break d}f=bO(a);if(f){break b}}q=o+1|0}p=p+1|0;if((p|0)>1]){continue}break}f=0}d=f}oe=c+48|0;return d}function vn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=oe-32|0;oe=h;a:{if(!(c?a:0)){d=ve(97833,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){d=ve(97793,0);break a}q=j[(b?b+12|0:a+12|0)>>2];u=j[(d?d+12|0:c+12|0)>>2];e=j[(d?d+8|0:c+8|0)>>2];i=j[(b?b+8|0:a+8|0)>>2];if(!((q|0)!=(u|0)|(e|0)!=(i|0))){d=gh(a,b,c,d);break a}g=+(q|0);m=+(u|0);l=+(i|0);s=+(e|0);b:{if(!d){f=+(u-1|0);k=+(e-1|0);break b}n=+j[d+4>>2];f=m+n+ -1;o=+j[d>>2];k=s+o+ -1}t=m/g;s=s/l;c:{if(!b){m=+(q-1|0);l=+(i-1|0);break c}e=j[b>>2];i=(e|0)<0;p=+(e|0);w=o-s*p;m=g;b=j[b+4>>2];g=+(b|0);m=m+g+ -1;l=l+p+ -1;q=j[a+8>>2];p=+(q|0);if(!(l>=p^1)){k=k-s*(l-p+1);l=+(q-1|0)}o=i?w:o;y=+(((e|0)>0?e:0)|0);n=(b|0)<0?n-t*g:n;z=+(((b|0)>0?b:0)|0);b=j[a+12>>2];g=+(b|0);if(g<=m^1){break c}f=f-t*(m-g+1);m=+(b-1|0)}x=+j[c+36>>2];p=k-x;w=+j[c+40>>2];k=0;g=o-x;d:{if(g<0^1){k=g;break d}y=y-g/s}b=j[c+44>>2];g=+(b|0);if(!(g<=p^1)){l=l-(p-g+1)/s;p=+(b-1|0)}o=f-w;g=0;f=n-w;e:{if(f<0^1){g=f;break e}z=z-f/t}b=j[c+48>>2];f=+(b|0);if(!(f<=o^1)){m=m-(o-f+1)/t;o=+(b-1|0)}b=h;f=y+.5;n=v(f);f:{if(r(n)<2147483648){e=~~n;break f}e=-2147483648}j[b+16>>2]=e;b=h;n=z+.5;t=v(n);g:{if(r(t)<2147483648){e=~~t;break g}e=-2147483648}j[b+20>>2]=e;e=h;l=v(l+1+.5);h:{if(r(l)<2147483648){b=~~l;break h}b=-2147483648}f=v(f);i:{if(r(f)<2147483648){i=~~f;break i}i=-2147483648}q=b-i|0;j[e+24>>2]=q;e=h;f=v(m+1+.5);j:{if(r(f)<2147483648){b=~~f;break j}b=-2147483648}f=v(n);k:{if(r(f)<2147483648){i=~~f;break k}i=-2147483648}u=b-i|0;j[e+28>>2]=u;b=h;k=k+x;f=v(k+.5);l:{if(r(f)<2147483648){e=~~f;break l}e=-2147483648}j[b>>2]=e;b=h;g=g+w;f=v(g+.5);m:{if(r(f)<2147483648){e=~~f;break m}e=-2147483648}j[b+4>>2]=e;e=h;k=v(p+x-k+1.5);n:{if(r(k)<2147483648){b=~~k;break n}b=-2147483648}j[e+8>>2]=b;i=h;k=v(o+w-g+1.5);o:{if(r(k)<2147483648){e=~~k;break o}e=-2147483648}j[i+12>>2]=e;if((b|0)<=-1){j[h+8>>2]=0;b=0}if((e|0)<=-1){j[h+12>>2]=0;e=0}if(d){i=j[h+4>>2];j[d>>2]=j[h>>2];j[d+4>>2]=i;i=j[h+12>>2];j[d+8>>2]=j[h+8>>2];j[d+12>>2]=i}d=0;if(!b|!e|((q|0)<1|(u|0)<1)){break a}d=sv(a,h+16|0,c,h)}oe=h+32|0;return d}function Dj(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=287310080;a:{b:{c:{d:{e:{f:{g:{switch(a-1|0){case 3:return 304088064;case 7:if(!b){return 318769153}if((b|0)!=224|(c|0)!=28|(d|0)!=3){break b}f=336660481;if(e){break b}break a;case 11:f=353504258;if(!b){break a}if((b|0)!=3840|(c|0)!=240|(e|(d|0)!=15)){break b}break a;case 14:if(b){break f}return 353570562;case 0:break a;case 31:break d;case 23:break e;case 15:break g;default:break b}}if(b){break f}return 353701890}a=(c|0)==992;g=a&(b|0)==31744&(d|0)==31;if(g){f=353570562;if(!e){break a}}a=a&(b|0)==31&(d|0)==31744;if(a){f=357764866;if(!e){break a}}if(!((b|0)!=3840|(c|0)!=240|(d|0)!=15)){f=355602434;if((e|0)==61440){break a}}if(!((b|0)!=61440|(c|0)!=3840|(d|0)!=240)){f=356651010;if((e|0)==15){break a}}if(!((b|0)!=15|(c|0)!=240|(d|0)!=3840)){f=359796738;if((e|0)==61440){break a}}if(!((b|0)!=240|(c|0)!=3840|(d|0)!=61440)){f=360845314;if((e|0)==15){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((b|0)!=63488|(c|0)!=1984|(d|0)!=62)){f=356782082;if((e|0)==1){break a}}f=359862274;if(a&(e|0)==32768){break a}if(!((b|0)!=62|(c|0)!=1984|(d|0)!=63488)){f=360976386;if((e|0)==1){break a}}f=353701890;if(!((b|0)!=63488|(c|0)!=2016|(d|0)!=31)){if(!e){break a}}if(!((b|0)!=31|(c|0)!=2016|(d|0)!=63488)){f=357896194;if(!e){break a}}if((b|0)!=63|(c|0)!=1984|(d|0)!=63488){break b}f=353701890;if(e){break b}break a}f=390076419;if(!b|(b|0)==16711680){break a}if((b|0)!=255){break c}return 386930691}if(b){break c}return 370546692}a=(b|0)==16711680&(c|0)==65280&(d|0)==255;if(a){f=370546692;if(!e){break a}}g=(b|0)==-16777216&(c|0)==16711680&(d|0)==65280;if(g){f=371595268;if(!e){break a}}h=(b|0)==255&(c|0)==65280&(d|0)==16711680;if(h){f=374740996;if(!e){break a}}i=(b|0)==65280&(c|0)==16711680&(d|0)==-16777216;if(i){f=375789572;if(!e){break a}}f=372645892;if(a&(e|0)==-16777216){break a}f=373694468;if(g&(e|0)==255){break a}f=376840196;if((e|0)==-16777216&h){break a}f=377888772;if((e|0)==255&i){break a}if((b|0)!=1072693248|(c|0)!=1047552|(d|0)!=1023){break b}f=372711428;if((e|0)==-1073741824){break a}}f=0}return f}function ly(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+56>>2];l=j[a+36>>2];b=j[a+20>>2];m=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+48>>2];if(f){if(!g){break a}n=e&7;i=(e+7|0)/8|0;b:while(1){e=i;c:{d:{switch(n-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}a=g-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+l|0;c=c+m|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;i=(e+7|0)/8|0;g:while(1){e=i;h:{i:{switch(f-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}a=g-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+l|0;c=c+m|0;g=a;if(a){continue g}break a}a=0;continue}}}}function vH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=oe-16|0;oe=f;j[f+4>>2]=0;u=j[a+100>>2];g=u;q=j[a+676>>2];a:{if(!q){d=Vl(a,0);j[f+4>>2]=d;if(d){break a}q=j[a+676>>2]}t=j[q+8>>2];d=j[t>>2];s=xe(g,4,0,d,0,f+4|0);if(j[f+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=j[t+12>>2];while(1){b:{d=o<<2;m=j[d+c>>2];p=j[b+12>>2];if((m|0)<=(p|0)){g=j[b+4>>2];if((g|0)<=(m|0)){break b}}j[f+4>>2]=6;break a}r=d+s|0;n=j[b+8>>2];c:{if((n|0)>(m|0)){d=0-De(m-n|0,g-n|0)|0;break c}d=0;if((n|0)==(p|0)){break c}d=De(m-n|0,p-n|0)}j[r>>2]=d;b=b+24|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}c=j[t>>2];if(c>>>0>e>>>0){b=e+1|0;Ee((e<<2)+s|0,0,(b>>>0>>0?c:b)-e<<2)}d:{if(k[q+16|0]){break d}e=j[a+104>>2];m=j[e+28>>2];n=j[a+676>>2];j[f+12>>2]=0;h[n+16|0]=1;b=qe[j[a+508>>2]](a,1635148146,e,f+8|0)|0;j[f+12>>2]=b;if(b){break d}b=_e(e,j[f+8>>2]);j[f+12>>2]=b;if(b){break d}b=Ff(e);o=Ff(e);e:{if((b|0)!=65536|(o|0)!=j[j[n+8>>2]>>2]){break e}b=xe(m,8,0,o,0,f+12|0);j[n+20>>2]=b;if(j[f+12>>2]|(o|0)<1){break e}c=0;while(1){f:{d=af(e);i[b>>1]=d;v=b,w=xe(m,8,0,d,0,f+12|0),j[v+4>>2]=w;if(j[f+12>>2]){break f}p=0;if(l[b>>1]){while(1){d=af(e);g=p<<3;j[g+j[b+4>>2]>>2]=d<<16>>16<<2;d=af(e);j[(g+j[b+4>>2]|0)+4>>2]=d<<16>>16<<2;p=p+1|0;if(p>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((o|0)!=(c|0)){continue}break e}break}g:{if(!c){b=j[n+20>>2];break g}b=j[n+20>>2];while(1){d=c-1|0;g=d<<3;b=j[(g+b|0)+4>>2];if(b){qe[j[m+8>>2]](m,b)}b=j[n+20>>2];j[(g+b|0)+4>>2]=0;g=(c|0)>1;c=d;if(g){continue}break}}if(b){qe[j[m+8>>2]](m,b)}j[n+20>>2]=0}Ve(e)}r=j[t>>2];c=j[q+20>>2];h:{if(!c){break h}e=0;if(!r){r=0;break h}while(1){m=l[c>>1];i:{if(m>>>0<2){break i}g=(e<<2)+s|0;n=j[g>>2];q=j[c+4>>2];b=1;while(1){d=b<<3;o=d+q|0;p=j[o>>2];if((n|0)<(p|0)){m=g;g=d-8|0;d=g+q|0;b=j[d>>2];v=m,w=Ne(n-b|0,j[o+4>>2]-j[d+4>>2]|0,p-b|0)+j[(g+j[c+4>>2]|0)+4>>2]|0,j[v>>2]=w;r=j[t>>2];break i}b=b+1|0;if(m>>>0>b>>>0){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}v=f,w=sq(a,r,s),j[v+4>>2]=w}if(s){qe[j[u+8>>2]](u,s)}oe=f+16|0;return j[f+4>>2]}function rs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=oe-48|0;oe=e;h=a+120|0;g=a+592|0;f=a+480|0;a:{while(1){b:{c:{d:{e:{b=j[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}c=j[a+72>>2];f:{if(j[a+4>>2]){if(!di(f,c+(j[a+96>>2]<<5)|0)){break f}break b}if(di(f,c)){break b}}Rk(f,g);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}l=j[j[j[a+72>>2]+28>>2]+3656>>2];i=-3;b=mg(h,e);if((b|0)==-1){break a}while(1){if((b|0)>=1){c=j[e+16>>2];d=j[e+20>>2];if(!aJ(g,e)){i=-129;if(Qi(f,0)){break a}Dn(f,g);b=Qi(f,0);o[a+112>>3]=o[a+112>>3]+ +(b<>3]=o[a+104>>3]+ +(j[e+4>>2]<<3);i=1;if(j[e+12>>2]|(c|0)==-1&(d|0)==-1){break a}g:{if(!j[a+4>>2]){h=0;break g}h=j[a+96>>2];if((h|0)<1){break g}b=c;g=j[a+68>>2]+(h<<4)|0;m=j[g>>2];c=b-m|0;d=d-(j[g+4>>2]+(b>>>0>>0)|0)|0}b=(d|0)>0?1:(d|0)>=0?!!c:0;g=b?c:0;f=Qi(f,0)<>31)+(g>>>0>>0)|0)|0;if((h|0)>=1){g=j[a+68>>2];b=0;while(1){l=g+(b<<4|8)|0;f=c+j[l>>2]|0;d=j[l+4>>2]+d|0;d=c>>>0>f>>>0?d+1|0:d;c=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}}j[a+80>>2]=c;j[a+84>>2]=d;break a}b=mg(h,e);if((b|0)!=-1){continue}break a}break}b=j[a+88>>2]}h:{i:{j:{if((b|0)>=2){k:{l:{while(1){i=-2;Qf(a,e+32|0,-1,-1);if((pe|0)<0){break a}o[a+104>>3]=o[a+104>>3]+ +(j[e+36>>2]<<3);b=j[a+88>>2];if((b|0)!=4){break k}c=j[e+32>>2];if(j[a+92>>2]==(k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))){break l}if(!(k[j[e+32>>2]+5|0]&2)){continue}break}wg(f);Yg(g);j[a+88>>2]=2;if(j[a+4>>2]){break j}Li(j[a+72>>2]);Mi(j[a+76>>2])}b=j[a+88>>2];if((b|0)==4){break h}}if((b|0)>2){break h}}if(!j[a+4>>2]){break i}}c=j[e+32>>2];c=k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24);d=j[a+52>>2];m:{if((d|0)<1){b=0;break m}i=j[a+64>>2];b=0;while(1){if((c|0)==j[(b<<2)+i>>2]){break m}b=b+1|0;if((d|0)>(b|0)){continue}break}}if((b|0)==(d|0)){continue}j[a+96>>2]=b;j[a+92>>2]=c;ph(h,c);j[a+88>>2]=3;break h}i=Ck(a,j[a+72>>2],j[a+76>>2],0,0,e+32|0);if(i){break a}j[a+92>>2]=j[a+456>>2];j[a+96>>2]=j[a+96>>2]+1}Ng(h,e+32|0);continue}break}i=-137}oe=e+48|0;return i}function pk(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe+ -64|0;oe=h;g=j[b>>2];j[h>>2]=g;j[h+4>>2]=j[c>>2];p=k[e+9|0];q=p?10:9;m=a+8|0;while(1){r=(n<<2)+h|0;j[r+8>>2]=g;if(k[e+n|0]){a:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){o=0;l=j[a+4>>2];if(!l|j[l>>2]){break a}j[l>>2]=130;g=j[r+8>>2];break a}b:{c:{d:{l=(i<<3)+a|0;switch(j[l+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}o=j[l+8>>2]<<16;break a}l=j[l+8>>2];if((l|0)<=-1){o=0-(8192-l>>14)|0;break a}o=l- -8192>>14;break a}o=j[l+8>>2]}j[r+8>>2]=g+o;i=i+1|0}n=n+1|0;if((q|0)!=(n|0)){g=j[(n<<2)+h>>2];continue}break}if(!p){j[h+44>>2]=j[c>>2]}q=h;e:{f:{if(f){e=j[h+44>>2]-j[c>>2]|0;f=e>>31;f=f^e+f;e=j[h+40>>2]-j[b>>2]|0;g=e>>31;e=g^e+g;g:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;g=j[a+4>>2];if(!g|j[g>>2]){break g}j[g>>2]=130;break g}h:{i:{j:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=j[g+8>>2]<<16;break g}g=j[g+8>>2];if((g|0)<=-1){i=0-(8192-g>>14)|0;break g}i=g- -8192>>14;break g}i=j[g+8>>2]}if((e|0)>(f|0)){g=j[h+40>>2]+i|0;j[h+48>>2]=g;break f}g=j[b>>2];j[h+48>>2]=g;e=j[h+44>>2]+i|0;break e}f=h;k:{if(k[e+10|0]){p=j[h+40>>2];l:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){g=0;l=j[a+4>>2];if(!l|j[l>>2]){break l}j[l>>2]=130;break l}m:{n:{o:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break n;case 1:break o;default:break m}}g=j[g+8>>2]<<16;break l}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break l}g=g- -8192>>14;break l}g=j[g+8>>2]}i=i+1|0;g=g+p|0;break k}g=j[b>>2]}j[f+48>>2]=g;if(!k[e+11|0]){break f}e=j[h+44>>2];p:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;f=j[a+4>>2];if(!f|j[f>>2]){break p}j[f>>2]=130;g=j[h+48>>2];break p}q:{r:{s:{f=(i<<3)+a|0;switch(j[f+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=j[f+8>>2]<<16;break p}f=j[f+8>>2];if((f|0)<=-1){i=0-(8192-f>>14)|0;break p}i=f- -8192>>14;break p}i=j[f+8>>2]}e=e+i|0;break e}e=j[c>>2]}j[q+52>>2]=e;Oh(d,j[h+8>>2],j[h+12>>2],j[h+16>>2],j[h+20>>2],j[h+24>>2],j[h+28>>2]);Oh(d,j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2],g,e);j[a+392>>2]=m;j[b>>2]=g;j[c>>2]=e;oe=h- -64|0}function km(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,i=0,k=0,l=0,m=0,n=0,o=0,q=0;a:{if(j[a+204>>2]==(d|0)?j[a+200>>2]==(b|0):0){break a}j[a+200>>2]=b;j[a+204>>2]=d;d=j[a+4>>2];if(!d){break a}i=ye(j[a+8>>2],b);j[a+12>>2]=i;j[a+16>>2]=i+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){k=ye(j[d>>2],b);l=j[a+12>>2];g=k-l|0;i=g>>31;i=(i^i+g)<128?l:k;j[d+4>>2]=i;j[d+8>>2]=i+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(j[a+408>>2]==(e|0)?j[a+404>>2]==(c|0):0){break b}j[a+404>>2]=c;j[a+408>>2]=e;b=j[a+208>>2];c:{if(!b){break c}d=ye(j[a+212>>2],c);j[a+216>>2]=d;j[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){i=ye(j[d>>2],c);k=j[a+216>>2];l=i-k|0;b=l>>31;b=(b^b+l)<128?k:i;j[d+4>>2]=b;j[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}h[a+2492|0]=(c|0)<=34359737?(p(c,125)|0)>2]<<3:0;d=j[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((ye(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;j[a+2484>>2]=d;i=a+1960|0;k=a+928|0;l=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=k;break e;case 2:d=l;break e;case 0:break e;default:break f}}d=i}g=j[d>>2];if(g){d=d+4|0;while(1){o=d,q=ye(j[d+8>>2],c)+e|0,j[o+28>>2]=q;o=d,q=ye(j[d+12>>2],c)+e|0,j[o+24>>2]=q;o=d,q=ye(j[d>>2],c)+e|0,j[o+16>>2]=q;o=d,q=ye(j[d+4>>2],c),j[o+20>>2]=q;j[d+16>>2]=j[d+16>>2]+32&-64;d=d+32|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((f|0)!=4){continue}break}g=j[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){e=j[l>>2];g:{if(!e){break g}d=b;while(1){m=j[f>>2]-j[d>>2]|0;n=m>>31;if((ye(n^n+m,c)|0)<=63){j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2];break g}d=d+32|0;e=e-1|0;if(e){continue}break}}f=f+32|0;g=g-1|0;if(g){continue}break}}g=j[k>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){e=j[i>>2];h:{if(!e){break h}d=b;while(1){k=j[f>>2]-j[d>>2]|0;a=k>>31;if((ye(a^a+k,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function on(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{g=b&2;if(!g){break b}c=j[67085];if(j[c+180>>2]){break b}j[f+32>>2]=j[c>>2];c=ve(98291,f+32|0);break a}d=j[a+48>>2];qn(a);c=j[a+108>>2];if(c){j[c>>2]=j[c>>2]&-5;kf(c);j[a+108>>2]=0;j[a+112>>2]=0}c=j[67085];e=j[c+144>>2];if(e){qe[e|0](c,a);c=j[67085]}h=d&2048;c:{if(h){break c}d=j[c+132>>2];if(!d){break c}qe[d|0](c,a)}d:{e:{if((g|0)!=(j[a+48>>2]&2)){c=j[67085];if(g){f:{if(!c){e=ve(99429,0);break f}g:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f+16>>2]=j[c>>2];e=ve(98744,f+16|0);break f}e=qe[d|0](c,0)|0;c=j[67085];if(e){break g}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break f}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}if(!c){ve(99429,0);d=1;break d}d=1;e=j[c+432>>2];if((e|0)<1){break d}j[c+432>>2]=e-1;if((e|0)!=1){break d}e=j[c+176>>2];if(!e){break d}qe[e|0](c);break d}d=1;if(!g){break d}c=j[67085];h:{if(!c){ve(99429,0);break h}d=j[c+432>>2];if((d|0)<1){break h}j[c+432>>2]=d-1;if((d|0)!=1){break h}d=j[c+176>>2];if(!d){break h}qe[d|0](c)}c=j[67085];i:{if(!c){e=ve(99429,0);break i}j:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f>>2]=j[c>>2];e=ve(98744,f);break i}e=qe[d|0](c,0)|0;c=j[67085];if(e){break j}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break i}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}j[c+432>>2]=d+1;d=0}c=j[a+48>>2]&268435456;if((c|0)!=(b&268435456)){ve(98583,0);c=-1;break a}if(!(!g|!c)){ve(98509,0);c=-1;break a}j[a+120>>2]=0;c=b&269459570|8;j[a+52>>2]=c;j[a+48>>2]=c;k:{if(h){break k}e=j[67085];g=j[e+36>>2];if(!g){break k}c=-1;if((qe[g|0](e,a)|0)>-1){break k}if(d){break a}b=j[67085];l:{if(!b){ve(99429,0);break l}d=j[b+432>>2];if((d|0)<1){break l}j[b+432>>2]=d-1;if((d|0)!=1){break l}d=j[b+176>>2];if(!d){break l}qe[d|0](b)}j[a+48>>2]=j[a+48>>2]&-3;break a}if(h){j[a+48>>2]=j[a+48>>2]|2048}c=j[67085];d=j[c+44>>2];if(!(!d|!j[a+8>>2])){qe[d|0](c,a);c=j[67085]}d=j[c+48>>2];m:{if(!d){break m}e=j[a+12>>2];if(!e){break m}qe[d|0](c,a,e)}if(j[a+132>>2]){qe[j[j[67085]+284>>2]](a,1)|0}rn(a,b&-2049|h);c=0}oe=f+48|0;return c}function Um(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;e=Zh(a,d);a:{if(e){break a}Ii(a,b,c,d);f=j[a+2988>>2];o=j[a>>2];b=p(d,1468)+a|0;n=b;j[b+56>>2]=0;q=b+44|0;c=j[q>>2];b=j[b+52>>2];m=j[(d?12:4)+a>>2];if(!d){g=De(64,j[a+12>>2])}f=ye(j[(f+p(d,1572)|0)+248>>2],m);t=De((f|0)<16?f:16,m);if((c|0)>=1){u=p(c,48)+b|0;w=p(g,3);v=(p(d,1468)+a|0)- -64|0;while(1){c=i[b+8>>1];b:{if((c|0)<(g|0)|(j[b+24>>2]?(w|0)>c<<1:0)){break b}c:{r=j[n+56>>2];d:{if((r|0)<=0){f=i[b+2>>1];break d}f=i[b+2>>1];y=j[v>>2];e=0;while(1){c=p(e,48)+y|0;x=f-i[c>>1]|0;l=x>>31;if(k[c+13|0]==k[b+1|0]?(t|0)>(l^l+x):0){break c}e=e+1|0;if((r|0)!=(e|0)){continue}break}}e=qs(q,f,h[b+1|0],o,s+12|0);if(e){break a}c=j[s+12>>2];j[c+44>>2]=b;j[c+40>>2]=b;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;h[c+13|0]=k[b+1|0];f=i[b+2>>1];i[c>>1]=f;f=ye(f,m);j[c+8>>2]=f;j[c+4>>2]=f;j[b+16>>2]=b;break b}j[b+16>>2]=j[c+40>>2];j[j[c+44>>2]+16>>2]=b;j[c+44>>2]=b}b=b+48|0;if(u>>>0>b>>>0){continue}break}}b=j[n+56>>2];if((b|0)>=1){g=j[(p(d,1468)+a|0)- -64>>2];q=g+p(b,48)|0;b=g;while(1){a=j[b+40>>2];e=a;if(a){while(1){j[e+12>>2]=b;e=j[e+16>>2];if((a|0)!=(e|0)){continue}break}}b=b+48|0;if(q>>>0>b>>>0){continue}break}while(1){m=g+28|0;d=g+24|0;t=j[g+40>>2];e=t;c=0;n=0;while(1){u=h[e|0]&1;w=u^1;e:{f:{g:{h:{f=j[e+24>>2];if(f){a=j[f+12>>2];l=(a|0)!=0&(a|0)!=(g|0);b=j[e+20>>2];if(!b){break h}if(!(l|j[b+12>>2]!=0)){break e}o=0;a=d;if(l){break g}break f}b=j[e+20>>2];if(!b){break e}o=0;a=d;if(j[b+12>>2]){break f}break e}if(!l){break e}}o=1;b=f;a=m}a=j[a>>2];i:{if(a){v=i[e+2>>1]-i[b+2>>1]|0;f=v>>31;r=i[g>>1]-i[a>>1]|0;l=r>>31;if((f^f+v)>=(l^l+r)){break i}}a=j[b+12>>2]}if(o){j[m>>2]=a;h[a+12|0]=k[a+12|0]|2;break e}j[d>>2]=a}c=c+u|0;n=n+w|0;e=j[e+16>>2];if((t|0)!=(e|0)){continue}break}h[g+12|0]=(c|0)!=0&c>>>0>=n>>>0;if(!(!j[g+28>>2]|!j[d>>2])){j[m>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}e=0}oe=s+16|0;return e}function Pq(a,b,c,d,e,f,g){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j[a+180>>2]=f;t=a+180|0;j[a+52>>2]=t;n=j[a+72>>2];j[a+204>>2]=j[a+68>>2];j[a+208>>2]=n;j[a+200>>2]=c;j[a+196>>2]=b;j[a+192>>2]=e;j[a+188>>2]=d;j[a+184>>2]=g;g=t;while(1){p=j[g+12>>2];s=j[g+20>>2];b=(p|0)<(s|0);n=j[g+4>>2];e=j[g+28>>2];o=(n|0)<(e|0);a:{if(!(((b?s:p)|0)<=((o?e:n)|0)?((b?p:s)|0)>=((o?n:e)|0):0)){b=j[g+24>>2];j[g+48>>2]=b;j[g+52>>2]=e;c=(e+s|0)+1>>1;j[g+44>>2]=c;d=p+1|0;e=d+n>>1;j[g+12>>2]=e;o=j[g+8>>2]+1|0;p=o+f>>1;j[g+8>>2]=p;r=b;b=j[g+16>>2];q=(r+b|0)+1>>1;j[g+40>>2]=q;r=c;c=(d+s>>1)+1|0;d=r+c>>1;j[g+36>>2]=d;c=c+e>>1;j[g+20>>2]=c;b=(b+o>>1)+1|0;e=b+p>>1;j[g+16>>2]=e;b=b+q>>1;j[g+32>>2]=b;j[g+28>>2]=(c+d|0)+1>>1;j[g+24>>2]=(b+e|0)+1>>1;j[a+52>>2]=g+24;break a}if((e|0)==(n|0)){j[a+52>>2]=g-24;break a}u=o?2:1;c=j[a+100>>2];if((u|0)!=(c|0)){b=j[a+4>>2];d=o?e&b-1:((b+e|0)-1&0-b)-e|0;r=j[a+8>>2];if(c){b=j[a+40>>2];q=j[a+88>>2];c=b-j[q+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}b:{if(!c){c=b;break b}j[q+16>>2]=c>>2;if((d|0)>=(r|0)){c=l[q+12>>1];i[q+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[q+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}c:{if(j[a+92>>2]){c=j[a+40>>2];break c}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;d:{if(!o){i[b+12>>1]=c|8;if((d|0)<(r|0)){break d}i[b+12>>1]=c|40;break d}if((d|0)<(r|0)){break d}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=u}b=j[a+80>>2];c=j[a+76>>2];if(!o){if(!lk(a,3,800,c,b)){break a}return 1}j[g+28>>2]=0-e;j[g+20>>2]=0-s;j[g+12>>2]=0-p;j[g+4>>2]=0-n;d=k[a+86|0];b=lk(a,3,800,0-b|0,0-c|0);if(!(k[a+86|0]|!d)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[g+4>>2]=0-j[g+4>>2];if(!b){break a}return 1}g=j[a+52>>2];if(t>>>0<=g>>>0){f=j[g>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=f;return 0}function rH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=q(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=j[a+64>>2];s=j[d+104>>2];l=j[d+4>>2];t=j[l+28>>2];u=j[t+(j[a+28>>2]<<2)>>2];j[a+36>>2]=u;w=oe;e=j[l+4>>2];d=(e<<2)+15&-16;h=w-d|0;c=h;oe=c;r=c-d|0;c=r;oe=c;f=c-d|0;c=f;oe=c;v=c-d|0;oe=v;if((e|0)>=1){g=b+1028|0;i=b+4|0;m=u<<1&2147483646;d=0;while(1){e=d<<2;c=j[g+(j[e+i>>2]<<2)>>2]<<2;c=qe[j[j[(j[(c+t|0)+800>>2]<<2)+3816>>2]+20>>2]](a,j[c+j[s+48>>2]>>2])|0;j[e+v>>2]=c;j[e+f>>2]=(c|0)!=0;Ee(j[e+j[a>>2]>>2],0,m);d=d+1|0;e=j[l+4>>2];if((d|0)<(e|0)){continue}break}}d=j[b+1156>>2];if((d|0)>=1){i=b+2184|0;m=b+1160|0;c=0;while(1){k=c<<2;g=j[k+i>>2];k=f+(j[m+k>>2]<<2)|0;if(!(j[f+(g<<2)>>2]?0:!j[k>>2])){j[k>>2]=1;j[f+(g<<2)>>2]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(j[b>>2]>=1){m=b+1092|0;k=b+4|0;d=0;while(1){c=0;g=0;if((e|0)>=1){while(1){i=c<<2;if(j[i+k>>2]==(d|0)){e=g<<2;j[e+r>>2]=j[f+i>>2]!=0;j[e+h>>2]=j[i+j[a>>2]>>2];g=g+1|0;e=j[l+4>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[m+(d<<2)>>2]<<2;qe[j[j[(j[(e+t|0)+1312>>2]<<2)+3824>>2]+28>>2]](a,j[e+j[s+52>>2]>>2],h,r,g)|0;d=d+1|0;if((d|0)>2]){e=j[l+4>>2];continue}break}d=j[b+1156>>2]}if((d|0)>=1){r=(u|0)/2|0;i=b+2184|0;m=b+1160|0;g=j[a>>2];while(1){e=d;d=d-1|0;if((u|0)>=2){c=d<<2;k=j[g+(j[c+i>>2]<<2)>>2];x=j[g+(j[c+m>>2]<<2)>>2];c=0;while(1){h=c<<2;f=h+k|0;p=n[f>>2];h=h+x|0;o=n[h>>2];a:{if(!(o>q(0)^1)){if(!(p>q(0)^1)){n[f>>2]=o-p;break a}n[f>>2]=o;n[h>>2]=o+p;break a}if(!(p>q(0)^1)){n[f>>2]=o+p;break a}n[f>>2]=o;n[h>>2]=o-p}c=c+1|0;if((r|0)!=(c|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(j[l+4>>2]<1){break b}d=b+1028|0;e=b+4|0;c=0;while(1){b=c<<2;f=j[d+(j[b+e>>2]<<2)>>2]<<2;qe[j[j[(j[(f+t|0)+800>>2]<<2)+3816>>2]+24>>2]](a,j[f+j[s+48>>2]>>2],j[b+v>>2],j[b+j[a>>2]>>2])|0;c=c+1|0;b=j[l+4>>2];if((c|0)<(b|0)){continue}break}if((b|0)<1){break b}c=0;while(1){b=j[j[a>>2]+(c<<2)>>2];RK(j[j[((j[a+28>>2]<<2)+s|0)+12>>2]>>2],b,b);c=c+1|0;if((c|0)>2]){continue}break}}oe=w;return 0}function Gg(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((a|0)<=370546691){if((a|0)<=355602433){if((a|0)<=318769152){if((a|0)<=303039487){b=96088;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 96114}if((a|0)==303039488){break w}if((a|0)!=304088064){break b}return 96166}if((a|0)<=353504257){if((a|0)==318769153){break v}if((a|0)!=336660481){break b}return 96215}if((a|0)==353504258){break u}if((a|0)==353570562){break t}if((a|0)!=353701890){break b}return 96507}if((a|0)<=357896193){if((a|0)<=356651009){if((a|0)==355602434){break s}if((a|0)!=355667970){break b}return 96407}if((a|0)==356651010){break r}if((a|0)==356782082){break p}if((a|0)!=357764866){break b}return 96284}if((a|0)<=359862273){if((a|0)==357896194){break n}if((a|0)!=359796738){break b}return 96357}if((a|0)==359862274){break o}if((a|0)==360845314){break q}if((a|0)!=360976386){break b}return 96482}if((a|0)<=386930690){if((a|0)<=373694467){if((a|0)<=372645891){if((a|0)==370546692){break k}if((a|0)!=371595268){break b}return 96620}if((a|0)==372645892){break i}if((a|0)!=372711428){break b}return 96793}if((a|0)<=375789571){if((a|0)==373694468){break h}if((a|0)!=374740996){break b}return 96645}if((a|0)==375789572){break j}if((a|0)==376840196){break g}if((a|0)!=377888772){break b}return 96768}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==386930691){break m}if((a|0)==390076419){break l}if((a|0)!=825382478){break b}return 96947}switch(a-842094158|0){case 0:break c;case 11:break f;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break d}if((a|0)!=1431918169){break b}return 96905}if((a|0)==1448433993){break e}if((a|0)!=1498831189){break b}return 96884}return 96140}return 96192}return 96238}return 96261}return 96307}return 96332}return 96382}return 96432}return 96457}return 96530}return 96553}return 96575}return 96597}return 96668}return 96693}return 96718}return 96743}return 96821}return 96842}return 96863}return 96926}b=96968}return b}function Bq(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-16|0;oe=c;d=j[a+104>>2];b=qe[j[a+508>>2]](a,1886352244,d,c+4|0)|0;a:{if(b){break a}f=j[d+8>>2];p=j[c+4>>2];e=j[a+468>>2];b=xf(d,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=163840){b=3;if((e|0)!=131072){break b}e=j[d+28>>2];k=qf(d,c+8|0);b=j[c+8>>2];if(b){break b}b=3;if(k>>>0>l[a+264>>1]){break b}r=xe(e,2,0,k,0,c+8|0);if(j[c+8>>2]){break c}b=_e(d,k<<1);j[c+8>>2]=b;if(b){break c}if(!k){break f}b=0;while(1){u=r+(b<<1)|0,v=af(d),i[u>>1]=v;b=b+1|0;if((k|0)!=(b|0)){continue}break}Ve(d);b=0;while(1){n=l[r+(g<<1)>>1];q=n-257|0;b=n>>>0>257?(q|0)>(b&65535)?q:b:b;g=g+1|0;if((k|0)!=(g|0)){continue}break}break d}k=j[d+28>>2];e=qf(d,c+12|0);b=j[c+12>>2];if(b){break b}b=3;if(e>>>0>258|e>>>0>l[a+264>>1]){break b}g=xe(k,1,0,e,0,c+12|0);g:{if(j[c+12>>2]){break g}b=uf(d,g,e);j[c+12>>2]=b;if(b){break g}if(!e){break e}b=0;while(1){if(e>>>0>=h[b+g|0]+b>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}j[c+12>>2]=3}if(g){qe[j[k+8>>2]](k,g)}b=j[c+12>>2];break b}Ve(d);b=0;break d}j[a+620>>2]=g;i[a+616>>1]=e;b=0;break b}n=0;q=b&65535;g=xe(e,4,0,q,0,c+8|0);if(j[c+8>>2]){break c}h:{i:{if(!q){break i}p=f+p|0;while(1){if(p>>>0<=m[d+8>>2]){d=n&65535;f=b&65535;if(d>>>0>=f>>>0){break i}while(1){n=xe(e,1,0,1,0,c+8|0);j[(d<<2)+g>>2]=n;if(j[c+8>>2]){break h}h[n|0]=0;d=d+1|0;if((f|0)!=(d&65535)){continue}break}break i}f=hg(d,c+8|0);if(j[c+8>>2]){break h}s=(n<<2)+g|0;t=s;o=e;f=f&255;if(!(m[d+8>>2]<=p-f>>>0?p>>>0>=f>>>0:0)){f=p-j[d+8>>2]|0;f=(f|0)>0?f:0}o=xe(o,1,0,f+1|0,0,c+8|0);j[t>>2]=o;if(j[c+8>>2]){break h}o=uf(d,o,f);j[c+8>>2]=o;if(o){break h}h[j[s>>2]+f|0]=0;n=n+1|0;if((q|0)!=(n|0)){continue}break}}j[a+624>>2]=g;j[a+620>>2]=r;i[a+618>>1]=b;i[a+616>>1]=k;b=0;break b}d=((b&65535)>>>0>1?b:1)&65535;b=0;while(1){k=(b<<2)+g|0;f=j[k>>2];if(f){qe[j[e+8>>2]](e,f)}j[k>>2]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(g){qe[j[e+8>>2]](e,g)}if(r){qe[j[e+8>>2]](e,r)}b=j[c+8>>2]}h[a+612|0]=1}oe=c+16|0;return b}function zn(a,b,c,d,e){var f=0,g=0,h=0,i=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,x=0;o=oe-80|0;oe=o;a:{if(!a){j[o>>2]=97402;ve(97352,o);break a}if(!b){j[o+16>>2]=97407;ve(97352,o+16|0);break a}if(!c){j[o+32>>2]=97410;ve(97352,o+32|0);break a}if(!d){j[o+48>>2]=97413;ve(97352,o+48|0);break a}if(!e){j[o+64>>2]=97416;ve(97352,o- -64|0);break a}h=j[a+8>>2];if((h|0)<1){break a}s=j[a+12>>2];if((s|0)<1){break a}m=j[a>>2];t=h+m|0;i=j[d>>2];g=j[b>>2];k=j[e>>2];n=j[a+4>>2];r=s+n|0;a=(k|0)>=(r|0);f=j[c>>2];b:{c:{if(a|(r|0)<=(f|0)|((g|0)<(m|0)|(i|0)>=(t|0))){break c}if((i|0)<(m|0)|(g|0)>=(t|0)|(f|0)<(n|0)){break c}if((k|0)>=(n|0)){break b}}if(a&(f|0)>=(r|0)){break a}w=(k|0)<(n|0);a=(f|0)<(n|0);if(w&a){break a}x=(i|0)<(m|0);h=(g|0)<(m|0);if(x&h){break a}q=(g|0)<(t|0);u=(i|0)<(t|0);if(!(q|u)){break a}s=t-1|0;if((f|0)==(k|0)){if(!(q?!h:0)){j[b>>2]=h?m:s}if((i|0)<(m|0)){j[d>>2]=m;break b}if(u){break b}j[d>>2]=s;break b}v=r-1|0;if((g|0)==(i|0)){if(!((f|0)<(r|0)?!a:0)){j[c>>2]=a?n:v}if((k|0)<(n|0)){j[e>>2]=n;break b}if((k|0)<(r|0)){break b}j[e>>2]=v;break b}a=a?2:(f|0)>=(r|0);l=h?a|4:q?a:a|8;a=w?2:(k|0)>=(r|0);q=x?a|4:u?a:a|8;if(l|q){u=!l;a=0;h=0;while(1){if(l&q){l=0;break a}d:{e:{if(!u){f:{g:{if(l&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break g}h:{if(l&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break h}if(l&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break h}if(!(l&8)){break h}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}f=2;if((h|0)<(n|0)){break f}}f=(h|0)>=(r|0)}if((a|0)<(m|0)){l=f|4;break e}l=(a|0)<(t|0)?f:f|8;break e}i:{j:{if(q&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break j}k:{if(q&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break k}if(q&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break k}if(!(q&8)){break k}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}i=2;if((h|0)<(n|0)){break i}}i=(h|0)>=(r|0)}q=(a|0)<(m|0)?i|4:(a|0)<(t|0)?i:i|8;l=0;i=a;k=h;break d}f=h;g=a}u=!l;if(l|q){continue}break}}j[b>>2]=g;j[c>>2]=f;j[d>>2]=i;j[e>>2]=k}l=1}oe=o+80|0;return l}function RE(a,b,c){var d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,s=0;d=oe-1280|0;oe=d;a:{b:{c:{d:{e:{e=j[a+208>>2];if(e&1){if(e&6){Ie(a,c);Je(a,211051);break a}if(c>>>0<=8){Ie(a,c);Je(a,211210);break a}e=l[a+898>>1];if(e&32768){Ie(a,c);break a}g=211192;if(e&4){break c}n=a+824|0;f=c>>>0<81?c:81;pf(a,d+1184|0,f);tf(a,d+1184|0,f);c=c-f|0;j[d+1276>>2]=c;h=f-1>>>0<79?f:80;e=0;f:{while(1){if(!k[(d+1184|0)+e|0]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}e=h}g=211289;if(e-1>>>0>78){break c}g=211266;q=e+1|0;if(f>>>0<=q>>>0|k[(d+1184|0)+q|0]){break c}g:{if(!El(a,1766015824)){j[d+12>>2]=132;c=e+2|0;j[a+228>>2]=f-c;j[a+224>>2]=c+(d+1184|0);g=0;Dl(a,d+16|0,d+1276|0,d+1040|0,d+12|0,0);if(!j[d+12>>2]){c=1;e=a;h=n;o=d+1184|0;f=j[d+1040>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);r=f;if(f>>>0<=131){If(e,h,o,r,208351);e=0}else{e=1}if(!e){break d}if(!AF(a,n,d+1184|0,f,d+1040|0,k[a+435|0])){break d}h=k[d+1171|0];o=k[d+1170|0];r=k[d+1169|0];s=k[d+1168|0];g=j[a+788>>2];h:{if(g){if(f>>>0<=m[a+792>>2]){break h}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=ag(a,f);if(!g){g=211242;break d}j[a+792>>2]=f;j[a+788>>2]=g}e=Ae(g,d+1040|0,132);h=p(h|(r<<16|s<<24|o<<8),12);j[d+12>>2]=h;g=0;o=e+132|0;Dl(a,d+16|0,d+1276|0,o,d+12|0,0);if(!j[d+12>>2]){if(!zF(a,n,d+1184|0,f,e)){break d}j[d+12>>2]=(f-h|0)-132;Dl(a,d+16|0,d+1276|0,h+o|0,d+12|0,1);h=j[d+1276>>2];if(!h){break g}g=211220;if(!(k[a+214|0]&16)){break d}g=211256;if(j[d+12>>2]){break d}yi(a,211220);break e}g=j[a+248>>2];break d}g=j[a+248>>2];c=1;break d}g=j[a+248>>2];break c}g=211256;if(!j[d+12>>2]){break e}break d}hf(a,211072);z()}Ie(a,h);yF(a,n,e,j[a+272>>2]);i:{if(b){c=0;fj(a,b,16,0);n=ag(a,q);j[b+116>>2]=n;if(!n){break i}Ae(n,d+1184|0,q);j[b+120>>2]=e;j[b+124>>2]=f;j[a+788>>2]=0;j[b+232>>2]=j[b+232>>2]|16;j[b+8>>2]=j[b+8>>2]|4096;sh(a,b)}j[a+220>>2]=0;break a}i[a+898>>1]=l[a+898>>1]|32768;sh(a,b);g=211242}j[a+220>>2]=0;if(!c){break b}c=j[d+1276>>2]}Ie(a,c)}i[a+898>>1]=l[a+898>>1]|32768;sh(a,b);if(!g){break a}Je(a,g)}oe=d+1280|0}function lF(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;a:{b:{c:{d:{if(!a){break d}if(!(k[a+212|0]&64)){Bl(a)}f=j[a+368>>2];j[e>>2]=f;h[e+8|0]=k[a+435|0];h[e+9|0]=k[a+436|0];h[e+10|0]=k[a+439|0];c=k[a+438|0];h[e+11|0]=c;c=c>>>0>=8?p(f,c>>>3|0):p(c,f)+7>>>3|0;j[e+4>>2]=c;e:{if(!k[a+432|0]|!(k[a+216|0]&2)){break e}d=j[a+372>>2];f:{switch(k[a+433|0]){case 0:if(!(d&7)){break e}oh(a);break d;case 1:if(m[a+348>>2]>4?!(d&7):0){break e}oh(a);break d;case 2:if((d&7)==4){break e}oh(a);break d;case 3:if(m[a+348>>2]>2?!(d&3):0){break e}oh(a);break d;case 4:if((d&3)==2){break e}oh(a);break d;case 5:if(m[a+348>>2]>1?!(d&1):0){break e}oh(a);break d;default:break f}}if(d&1){break e}oh(a);break d}if(!(k[a+208|0]&4)){break c}d=c+1|0;Mp(a,j[a+384>>2],d);c=j[a+384>>2];f=k[c|0];if(f){if(f>>>0>4){break b}CE(a,e,c+1|0,j[a+380>>2]+1|0,f);d=j[e+4>>2]+1|0;c=j[a+384>>2]}Ae(j[a+380>>2],c,d);g:{if(!(k[a+708|0]&4)|k[a+712|0]!=64){break g}d=k[e+8|0];if(!(d&2)){break g}c=j[a+384>>2]+1|0;i=j[e>>2];h:{switch(k[e+9|0]-8|0){case 0:f=3;i:{switch(d-2|0){case 4:f=4;break;case 0:break i;default:break g}}if(!i){break g}d=0;while(1){g=k[c+1|0];h[c|0]=g+k[c|0];h[c+2|0]=g+k[c+2|0];c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break g;case 8:break h;default:break g}}f=6;j:{switch(d-2|0){case 4:f=8;break;case 0:break j;default:break g}}if(!i){break g}d=0;while(1){g=k[c+3|0]|k[c+2|0]<<8;l=g+(k[c+5|0]|k[c+4|0]<<8)|0;h[c+5|0]=l;g=g+(k[c+1|0]|k[c|0]<<8)|0;h[c+1|0]=g;h[c+4|0]=l>>>8;h[c|0]=g>>>8;c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j[a+216>>2]){$E(a,e)}c=k[e+11|0];d=k[a+443|0];k:{if(!d){h[a+443|0]=c;if(c>>>0<=k[a+442|0]){break k}Ye(a,210496);z()}if((c|0)!=(d|0)){break a}}l:{m:{if(!k[a+432|0]){break m}c=j[a+216>>2];if(!(c&2)){break m}d=k[a+433|0];if(d>>>0<=5){DE(e,j[a+384>>2]+1|0,d,c)}if(!b){break l}Np(a,b,0);break l}if(b){Np(a,b,-1)}}oh(a);b=j[a+544>>2];if(!b){break d}qe[b|0](a,j[a+372>>2],k[a+433|0])}oe=e+16|0;return}Ye(a,210437);z()}Ye(a,210470);z()}Ye(a,210520);z()}function cp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=oe-128|0;oe=k;a:{b:{c:{if(!Kh(f,g,h,i,0,0,0,0)){break c}m=rD(f,g,h,i);s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(m){break b}}lf(k+16|0,b,c,d,e,f,g,h,i);e=j[k+16>>2];d=j[k+20>>2];c=j[k+24>>2];b=j[k+28>>2];fp(k,e,d,c,b,e,d,c,b);d=j[k+8>>2];e=j[k+12>>2];h=j[k>>2];i=j[k+4>>2];break a}m=o<<16;p=d;r=m|e&65535;n=r;q=h;r=i>>>16&32767;l=i&65535|r<<16;if((Kh(b,c,p,n,f,g,h,l)|0)<=0){if(Kh(b,c,p,n,f,g,q,l)){h=b;i=c;break a}lf(k+112|0,b,c,d,e,0,0,0,0);d=j[k+120>>2];e=j[k+124>>2];h=j[k+112>>2];i=j[k+116>>2];break a}if(o){i=c;h=b}else{lf(k+96|0,b,c,p,n,0,0,0,1081540608);h=j[k+108>>2];n=h;p=j[k+104>>2];o=(h>>>16|0)-120|0;i=j[k+100>>2];h=j[k+96>>2]}if(!r){lf(k+80|0,f,g,q,l,0,0,0,1081540608);f=j[k+92>>2];l=f;q=j[k+88>>2];r=(l>>>16|0)-120|0;g=j[k+84>>2];f=j[k+80>>2]}t=l&65535|65536;n=n&65535|65536;if((o|0)>(r|0)){while(1){l=p;m=q;u=l-m|0;m=n-((l>>>0>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;m=m-(l>>>0>u>>>0)|0;l=u-l|0;d:{if((m|0)>0?1:(m|0)>=0){n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(!(h|l|(i|m))){lf(k+32|0,b,c,d,e,0,0,0,0);d=j[k+40>>2];e=j[k+44>>2];h=j[k+32>>2];i=j[k+36>>2];break a}m=m<<1|l>>>31;p=l<<1|i>>>31;break d}m=n<<1|p>>>31;p=p<<1|i>>>31}n=m;m=i<<1|h>>>31;h=h<<1;i=m;o=o-1|0;if((r|0)<(o|0)){continue}break}o=r}m=p;r=m-q|0;l=n-((m>>>0>>0)+t|0)|0;m=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(m>>>0>r>>>0)|0;q=r-m|0;e:{if((l|0)<0){q=p;l=n;break e}p=h;h=h-f|0;i=i-((f>>>0>p>>>0)+g|0)|0;if(h|q|(i|l)){break e}lf(k+48|0,b,c,d,e,0,0,0,0);d=j[k+56>>2];e=j[k+60>>2];h=j[k+48>>2];i=j[k+52>>2];break a}if((l|0)==65535|l>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;n=i<<1|h>>>31;h=h<<1;i=n;c=b;b=q;l=l<<1|b>>>31;q=c|b<<1;if(l>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){lf(k- -64|0,h,i,q,l&65535|(b|o+120)<<16,0,0,0,1065811968);d=j[k+72>>2];e=j[k+76>>2];h=j[k+64>>2];i=j[k+68>>2];break a}d=q;e=l&65535|(b|o)<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=d;j[a+12>>2]=e;oe=k+128|0}function CK(a,b,c){var d=0,e=q(0),f=0,g=0,h=q(0),i=0,k=0,l=0,m=0,o=q(0),p=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=0;i=oe;A=i;r=j[a>>2];t=r>>1;d=t<<2;k=(d+b|0)+(r&-4)|0;s=i-((r<<2)+15&-16)|0;p=d+s|0;l=r>>3;oe=s;d=d+j[a+8>>2]|0;a:{if((r|0)<8){i=d;break a}g=k+4|0;while(1){i=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]+n[g+8>>2]);u=d-4|0;h=q(n[i>>2]+n[g>>2]);i=d-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[i>>2]);n[p+(m|4)>>2]=q(e*n[i>>2])-q(h*n[u>>2]);g=g+16|0;d=i;f=f+2|0;if((l|0)>(f|0)){continue}break}}g=b+4|0;l=t-l|0;b:{if((l|0)<=(f|0)){d=i;break b}while(1){d=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]-n[g+8>>2]);u=i-4|0;h=q(n[d>>2]-n[g>>2]);d=i-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[d>>2]);n[p+(m|4)>>2]=q(e*n[d>>2])-q(h*n[u>>2]);g=g+16|0;i=d;f=f+2|0;if((l|0)>(f|0)){continue}break}}if((f|0)<(t|0)){k=(r<<2)+b|0;while(1){b=k-8|0;i=f<<2;k=k-16|0;e=q(q(-n[k>>2])-n[g+8>>2]);l=d-4|0;h=q(q(-n[b>>2])-n[g>>2]);d=d-8|0;n[i+p>>2]=q(e*n[l>>2])+q(h*n[d>>2]);n[p+(i|4)>>2]=q(e*n[d>>2])-q(h*n[l>>2]);g=g+16|0;f=f+2|0;if((t|0)>(f|0)){continue}break}}l=r>>2;dr(a,p,t);p=j[a+8>>2];b=j[a>>2];f=p+(b<<2)|0;g=j[a+12>>2];i=(b<<1&-4)+s|0;k=i;b=s;while(1){d=i+(j[g>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+4>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f>>2];e=q(e-h);h=n[f+4>>2];z=q(q(x*y)+q(e*h));n[b>>2]=o+z;n[k-8>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+4>>2]=o+e;n[k-4>>2]=e-o;d=i+(j[g+8>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+12>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f+8>>2];e=q(e-h);h=n[f+12>>2];z=q(q(x*y)+q(e*h));n[b+8>>2]=o+z;d=k-16|0;n[d>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+12>>2]=o+e;n[k-12>>2]=e-o;g=g+16|0;f=f+16|0;b=b+16|0;k=d;if(b>>>0>>0){continue}break}if((r|0)>=4){d=(l|0)>1?l:1;b=t<<2;f=b+p|0;b=b+c|0;g=0;while(1){e=n[s>>2];h=n[s+4>>2];n[(g<<2)+c>>2]=n[a+16>>2]*q(q(e*n[f>>2])+q(h*n[f+4>>2]));b=b-4|0;n[b>>2]=n[a+16>>2]*q(q(e*n[f+4>>2])-q(h*n[f>>2]));f=f+8|0;s=s+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}oe=A}function Vx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;n=j[a+36>>2]>>2;o=j[a+16>>2]>>2;l=j[a+28>>2];b=j[a+24>>2];a:{h=k[a+63|0];if((h|0)==128){if(!l){break a}h=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];b:while(1){b=m;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=3;break c;case 1:d=2;break c;case 2:break d}}d=1}while(1){e:{switch(d|0){case 0:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=l-1|0;g=j[a>>2];e=j[c>>2];j[a>>2]=((g&16711422)+(e&16711422)>>>1|0)+(e&g&65793)|-16777216;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=b-1|0;break f}a=(n<<2)+a|0;c=(o<<2)+c|0;l=d;if(d){continue b}break a}d=0;continue}}}if(!l){break a}g=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];g:while(1){d=m;h:{i:{switch(g-1|0){default:b=0;break h;case 0:b=3;break h;case 1:b=2;break h;case 2:break i}}b=1}while(1){j:{switch(b|0){case 0:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=l-1|0;e=j[a>>2];f=e&65280;i=j[c>>2];e=e&16711935;j[a>>2]=f+(p(h,(i&65280)-f|0)>>>8|0)&65280|(p(h,(i&16711935)-e|0)>>>8|0)+e&16711935|-16777216;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=d-1|0;break k}a=(n<<2)+a|0;c=(o<<2)+c|0;l=b;if(b){continue g}break a}b=0;continue}}}}function FM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0;e=oe-1552|0;oe=e;f=6;g=j[a+4>>2];a:{if(m[g+16>>2]<=c>>>0){break a}k=j[g+136>>2];j[a+164>>2]=j[b+16>>2];j[a+168>>2]=j[b+20>>2];j[a+108>>2]=0;j[a+72>>2]=1869968492;d=d&1024?d|3:d;p=d&3;f=qe[j[j[k+12>>2]>>2]](e+48|0,g,b,a,0,0,!p,d>>>16&15,658)|0;if(f){break a}n=d&1024;h[e+117|0]=n>>>10;f=Cr(e+48|0,c);if(f){break a}c=e+1432|0;f=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=f;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;f=j[e+1444>>2];o=j[e+1440>>2];qe[j[j[k+12>>2]+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;b:{if(n){c=j[a+156>>2];b=a;d=j[e+80>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[b+32>>2]=g>>16;b=j[e+88>>2];d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[a+40>>2]=d>>16;a=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=a;a=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=a;j[c+32>>2]=f;j[c+28>>2]=o;h[c+8|0]=1;break b}c=a;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+40>>2]=n>>16;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;c=j[g+200>>2];g=j[g+208>>2];j[a+72>>2]=1869968492;c=g-c>>16;j[a+60>>2]=c;j[a+52>>2]=c;if(l[b+14>>1]<=23){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;Ah(c,e+32|0);Tf(c,o,f);b=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=b;Tg(e+8|0,e+32|0);j[a+40>>2]=o+j[e+8>>2];j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+32|0);j[a+52>>2]=f+j[e+12>>2];if(!(d&1)){g=j[a+168>>2];o=j[a+164>>2];b=j[e+64>>2];f=j[b+4>>2];c:{if(j[e+120>>2]?!p:0){break c}b=i[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){q=f,r=ye(j[f>>2],o),j[q>>2]=r;q=f,r=ye(j[f+4>>2],g),j[q+4>>2]=r;f=f+8|0;k=(b|0)>1;b=b-1|0;if(k){continue}break}}q=a,r=ye(j[a+40>>2],o),j[q+40>>2]=r;q=a,r=ye(j[a+52>>2],g),j[q+52>>2]=r}Ug(c,e+16|0);b=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-b;c=j[e+20>>2];f=j[e+28>>2];j[a+36>>2]=f;j[a+32>>2]=b;j[a+28>>2]=f-c;if(!(d&16)){break b}Fi(a+24|0,j[a+52>>2])}f=0}oe=e+1552|0;return f|0}function rq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=oe-16|0;oe=e;g=j[b+28>>2];a:{b:{h=j[a+676>>2];if(!h|!j[a+648>>2]){break b}c=qe[j[a+508>>2]](a,1668702578,b,e+8|0)|0;j[e+12>>2]=c;if(c){break b}c=_e(b,j[e+8>>2]);j[e+12>>2]=c;if(c){break b}c=j[b>>2];d=j[b+32>>2];c:{if((Ff(b)|0)!=65536){j[e+12>>2]=0;break c}q=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}r=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}s=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}f=af(b);o=af(b);v=f&4095;if(!v){break c}o=o+(d-c|0)|0;while(1){x=af(b);d:{e:{f:{g:{h:{d=af(b);if(d&32768){c=0;i:{if(!j[h>>2]){break i}while(1){A=(c<<2)+q|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!f){break i}while(1){A=(c<<2)+r|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}c=0;if(!f){break i}while(1){A=(c<<2)+s|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;if(c>>>0>2]){continue}break}}u=qq(h,d,q,r,s);if(!(d&8192)|!u){break d}c=j[b+32>>2];d=j[b>>2];j[b+32>>2]=d+o;f=Ul(b,e+4|0);y=c-d|0;d=b;n=j[e+4>>2];c=n;if(!c){c=j[a+644>>2]}d=Tl(d,c);if(!f|!d){break g}if((f|0)==-1){break h}if(!n){break f}k=j[a+648>>2];c=0;while(1){p=k;k=c<<1;t=l[k+f>>1]<<1;p=l[p+t>>1];z=ye(i[d+k>>1],u);k=j[a+648>>2];i[t+k>>1]=p+z;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(j[h>>2]&2147483647)){break d}while(1){af(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!j[a+644>>2]){break e}n=j[a+648>>2];c=0;while(1){k=c<<1;t=l[k+n>>1];p=ye(i[d+k>>1],u);n=j[a+648>>2];i[k+n>>1]=t+p;c=c+1|0;if(c>>>0>2]){continue}break}}if((f|0)==-1){break e}}if(f){qe[j[g+8>>2]](g,f)}}if(d){qe[j[g+8>>2]](g,d)}j[b+32>>2]=j[b>>2]+y}o=o+x|0;w=w+1|0;if((w|0)!=(v|0)){continue}break}}Ve(b);break a}j[e+12>>2]=0}if(q){qe[j[g+8>>2]](g,q)}if(r){qe[j[g+8>>2]](g,r)}if(s){qe[j[g+8>>2]](g,s)}oe=e+16|0;return j[e+12>>2]}function mJ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;b=oe-224|0;oe=b;f=Te(40);j[f>>2]=0;c=j[a+504>>2];h=j[a+500>>2];j[b+216>>2]=h;a:{b:{if(!j[b+216>>2]){break b}m=c+h|0;if(m>>>0>2]+4>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;if(k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8){break b}j[b+216>>2]=j[b+216>>2]+2;j[b+220>>2]=k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8;if(!j[b+220>>2]){break b}g=4;while(1){if(j[b+216>>2]+8>>>0>m>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+2;i[b+208>>1]=d|c<<8;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+4;j[b+200>>2]=a;j[b+204>>2]=0;i[b+210>>1]=d|c<<8;c=k[j[b+216>>2]-1|0]|(k[j[b+216>>2]-3|0]<<16|k[j[b+216>>2]-4|0]<<24|k[j[b+216>>2]-2|0]<<8);if(!(!c|c>>>0>j[a+504>>2]-2>>>0)){j[b+196>>2]=c+h;j[b+192>>2]=k[j[b+196>>2]+1|0]|k[j[b+196>>2]]<<8;j[b+188>>2]=198160;c:{if(!j[j[b+188>>2]>>2]){break c}d:{while(1){e:{j[b+184>>2]=j[j[b+188>>2]>>2];if(j[j[b+184>>2]+40>>2]==j[b+192>>2]){j[b+4>>2]=0;j[67126]=0;j[b+164>>2]=j[b+196>>2];j[b+168>>2]=m;j[b+172>>2]=0;j[b+176>>2]=0;c=j[67126];j[67126]=0;d=-1;if(!c){break d}e=j[67127];if(!e){break d}d=ef(j[c>>2],f,g);if(d){break e}break a}j[b+188>>2]=j[b+188>>2]+4;if(j[j[b+188>>2]>>2]){continue}break c}break}D(e|0)}c=C()|0;if((d|0)!=1){j[b+180>>2]=l[a+264>>1];f=mi(b+8|0,1,f,g);g=C()|0;c=0}while(1){if(!c){c=j[j[b+184>>2]+44>>2];j[67126]=0;n=L(c|0,j[b+196>>2],b+8|0)|0;c=j[67126];j[67126]=0;d=-1;f:{if(!c){break f}e=j[67127];if(!e){break f}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}j[b+4>>2]=n}if(j[b+176>>2]){break c}j[67126]=0;n=V(816,j[b+184>>2],j[b+196>>2],b+200|0,b|0)|0;c=j[67126];j[67126]=0;d=-1;g:{if(!c){break g}e=j[67127];if(!e){break g}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}break}if(n){break c}j[j[b>>2]+20>>2]=j[b+4>>2]}}j[b+220>>2]=j[b+220>>2]-1;if(j[b+220>>2]){continue}break}}ze(f);oe=b+224|0;return}F(c|0,e|0);z()}function WG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}b:{l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];c:{if((l|0)==91){j[b>>2]=d+1;c=256;break c}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+96>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c=j[i+12>>2];if(c){break b}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break b}o=b+100|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break b}if((n|0)>=1){c=0;while(1){qe[j[b+144>>2]](o,c,201692,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f=k[c|0];d=c+3|0;if(!((f|0)!=100|e>>>0<=d>>>0)){if(k[c+1|0]!=101|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break d;default:break e}}if((f|0)!=93){break e}d=c+1|0;break d}f:{g:{if(!(f-48>>>0>9?!p:0)){if(p){d=c;f=g;break g}f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);d=j[b>>2];if((d|0)!=(c|0)){break g}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}break f}if(!((g|0)>=(n|0)|d+2>>>0>=e>>>0|k[d|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+144>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+124>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break f}if((l|0)!=91){break f}j[b+12>>2]=2;break a}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}h:{if(d+17>>>0>=e>>>0){break h}if(Qe(d,203938,16)){break h}j[a+368>>2]=2;break a}i:{if(d+15>>>0>=e>>>0){break i}if(Qe(d,203955,14)){break i}j[a+368>>2]=4;break a}j:{if(d+18>>>0>=e>>>0){break j}if(Qe(d,203970,17)){break j}j[a+368>>2]=3;break a}j[b+12>>2]=162;break a}j[b+12>>2]=c}oe=i+16|0}function AF(a,b,c,d,e,f){var g=0,i=0;i=oe-208|0;oe=i;g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{b:{if((g|0)!=(d|0)){If(a,b,c,g,208361);break b}if(!(!(d&3)|k[e+8|0]<4)){If(a,b,c,d,208391);break b}g=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(!(p(g,12)+132>>>0<=d>>>0?g>>>0<=357913930:0)){If(a,b,c,g,208406);break b}d=k[e+64|0]|k[e+65|0]<<8|(k[e+66|0]<<16|k[e+67|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>=65535){If(a,b,c,d,208426);break b}if(d>>>0>=4){If(a,0,c,d,208451)}d=k[e+36|0]|k[e+37|0]<<8|(k[e+38|0]<<16|k[e+39|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1633907568){If(a,b,c,d,208480);break b}if(Cg(e+68|0,208498,12)){If(a,0,c,0,208510)}c:{d:{d=k[e+16|0]|k[e+17|0]<<8|(k[e+18|0]<<16|k[e+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1196573017){if((d|0)!=1380401696){break d}if(f&2){break c}If(a,b,c,1380401696,208536);break b}if(!(f&2)){break c}If(a,b,c,1196573017,208583);break b}If(a,b,c,d,208625);break b}e:{f:{g:{h:{d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);i:{if((d|0)<=1852662635){if((d|0)==1633842036){break h}if((d|0)==1818848875){break g}if((d|0)!=1835955314){break i}break e}if((d|0)<=1935896177){if((d|0)==1852662636){break f}if((d|0)!=1886549106){break i}break e}if((d|0)==1935896178|(d|0)==1936744803){break e}}If(a,0,c,d,208775);break e}If(a,b,c,1633842036,208657);break b}If(a,b,c,1818848875,208695);break b}d=Yf(i,196,0,209650);f=Yf(i,196,Yf(i,d+79|0,d,c),209660);d=f+i|0;h[d|0]=39;h[d+1|0]=110;h[d+2|0]=109;h[d+3|0]=99;h[d+4|0]=108;h[d+5|0]=39;h[d+6|0]=58;h[d+7|0]=32;Yf(i,196,f+8|0,208735);Of(a,i,1)}d=k[e+20|0]|k[e+21|0]<<8|(k[e+22|0]<<16|k[e+23|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=1;if((d|0)==1281450528|(d|0)==1482250784){break a}If(a,b,c,d,208806)}f=0}oe=i+208|0;return f}function Or(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){e=j[a+278664>>2];d=e;c=j[a>>2];if(c){qe[j[d+8>>2]](d,c)}j[a>>2]=0;c=j[a+128>>2];if(c){b=j[c+12>>2];d=e;g=j[c+4>>2];if(g){while(1){h=j[b>>2];if(h){qe[j[e+8>>2]](e,h)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}b=j[c+12>>2]}if(b){qe[j[d+8>>2]](d,b)}j[c+12>>2]=0;d=j[a+128>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+128>>2]=0}d=j[a+84>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+84>>2]=0;f=j[a+72>>2];if(f){b=0;while(1){d=b<<4;c=d+j[a+80>>2]|0;if(j[c+4>>2]==1){c=j[c+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[(d+j[a+80>>2]|0)+12>>2]=0;f=j[a+72>>2]}b=b+1|0;if(f>>>0>b>>>0){continue}break}}d=j[a+80>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+80>>2]=0;if(j[a+52>>2]){b=j[a+56>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}if(j[a+64>>2]){b=j[a+68>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}d=e;c=j[a+56>>2];if(c){qe[j[d+8>>2]](d,c)}f=0;j[a+56>>2]=0;c=j[a+68>>2];if(c){qe[j[d+8>>2]](d,c)}j[a+68>>2]=0;b=j[a+104>>2];if(j[a+112>>2]){while(1){c=e;g=j[b>>2];if(g){qe[j[c+8>>2]](c,g)}j[b>>2]=0;c=j[b+24>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+104>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+104>>2]=0;b=j[a+278688>>2];c=j[a+278680>>2];if(c){while(1){g=j[b>>2];if(g){qe[j[e+8>>2]](e,g)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}b=j[a+278688>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+278688>>2]=0;b=j[a+278668>>2];if(j[a+278672>>2]){while(1){c=j[b>>2];if(c){qe[j[e+8>>2]](e,c)}j[b>>2]=0;if(j[b+4>>2]==1){c=j[b+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+12>>2]=0}b=b+16|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+278668>>2]}if(b){qe[j[d+8>>2]](d,b)}j[a+278668>>2]=0}}function LD(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,m=0;a:{b:{c:{if(!j[65572]){ve(63202,0);if(!a){break c}break a}if(!a){ve(63226,0);return 0}d=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;if((b|0)<-1?1:(b|0)<=-1){ve(63252,0);break a}e=Te(21692);if(!e){ve(63273,0);break a}b=Ee(e,0,21692);j[b+21648>>2]=1;j[b+21644>>2]=a;c=Te(40);if(!c){ve(63273,0);break b}j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+20>>2]=117;j[c+12>>2]=a;j[c+8>>2]=d;k=c,m=(qe[j[a>>2]](a)|0)-d|0,j[k+4>>2]=m;j[b+21668>>2]=c;j[b+21652>>2]=2;if(Jm(j[65573],b+21652|0,0,b)){ve(63287,0);break b}c=j[b>>2];f=j[c+36>>2];d:{if((f|0)<1){break d}g=j[c+40>>2];a=0;e:{f:{while(1){g:{h:{i:{d=j[(a<<2)+g>>2];switch(l[d+8>>1]){case 0:break f;case 2:break h;case 3:break i;default:break g}}if(l[d+10>>1]>=2){break g}break e}if(l[d+10>>1]==1){break e}}a=a+1|0;if((f|0)>(a|0)){continue}break}d=0}if(!d){break d}}Uh(c,d)}a=j[b>>2];j:{if(h[c+8|0]&1){if(JO(a)){ve(63311,0);break b}a=j[j[c+88>>2]+20>>2];k=b,m=(ye(i[c+70>>1],a)+63&-64)/64|0,j[k+8>>2]=m;d=(ye(i[c+72>>1],a)+63&-64)/64|0;j[b+12>>2]=d;j[b+4>>2]=(j[b+8>>2]-d|0)+1;k=b,m=(ye(i[c+74>>1],a)+63&-64)/64|0,j[k+16>>2]=m;k=b,m=(ye(i[c+80>>1],a)&-64)/64|0,j[k+44>>2]=m;a=(ye(i[c+82>>1],a)&-64)/64|0;j[b+48>>2]=a;d=b+48|0;break j}a=j[a+28>>2];a=(a|0)>10?10:a-1|0;j[b+21684>>2]=a;a=a<<4;d=a+j[c+32>>2]|0;if(IO(c,i[d+2>>1],i[d>>1])){ve(63311,0);break b}a=i[a+j[c+32>>2]>>1];j[b+12>>2]=0;j[b+8>>2]=a;j[b+4>>2]=a;j[b+16>>2]=(a+63&-64)/64;j[b+44>>2]=((l[c+80>>1]&65472)<<16>>16)/64<<16>>16;a=((l[c+82>>1]&65472)<<16>>16)/64<<16>>16;j[b+48>>2]=a;d=b+48|0}if((a|0)<=0){j[d>>2]=1}d=j[b>>2];a=j[d+12>>2]>>>1&1;j[b+20>>2]=a;if(h[d+12|0]&1){a=a|2;j[b+20>>2]=a}j[b+28>>2]=0;j[b+32>>2]=1;j[b+24>>2]=a;a=l[j[c+88>>2]+14>>1];n[b+40>>2]=q(j[b+4>>2])*q(.2070000022649765);j[b+36>>2]=(a>>>0)/10}return e}ip(b);return 0}qe[j[a+16>>2]](a)|0;return 0}function yA(a,b,c,d){var e=0,f=q(0),g=q(0),h=q(0),i=0,k=0,l=q(0),m=q(0),o=0;e=oe-48|0;oe=e;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);k=-1;break a}if(!(j[b>>2]==268306?b:0)){ve(73666,0);k=-1;break a}if(j[b+36>>2]!=(a|0)){k=ve(73766,0);break a}if(j[a+192>>2]){break a}j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=j[b+12>>2];j[e+44>>2]=j[b+16>>2];if(c){if(!Fg(c,e+32|0,e+32|0)){break a}}Oe(e,0,16);b:{if(j[a>>2]!=268305){ve(73421,0);c=j[e+12>>2];i=j[e+8>>2];break b}c=e;g=n[a+288>>2];h=q(q(j[a+216>>2])/g);c:{if(q(r(h))>2]=i;c=e;h=n[a+292>>2];f=q(q(j[a+220>>2])/h);d:{if(q(r(f))>2]=i;c=e;g=q(q(j[a+224>>2])/g);e:{if(q(r(g))>2]=i;o=e;g=q(q(j[a+228>>2])/h);f:{if(q(r(g))>2]=c}g=q(c|0);h=q(i|0);if(d){f=n[d+8>>2];if((c|0)<1|f<=q(0)|(i|0)<1){break a}l=n[d+12>>2];if(l<=q(0)){break a}m=f;f=n[d>>2];m=q(m+f);if((h>2];f=q(l+h);if((g>2];j[e+24>>2]=j[d+8>>2];j[e+28>>2]=c;c=j[d+4>>2];j[e+16>>2]=j[d>>2];j[e+20>>2]=c;h=n[e+24>>2];l=n[e+16>>2];g=n[e+28>>2];f=n[e+20>>2]}else{f=q(0)}c=j[b+40>>2];m=n[a+288>>2];n[e+16>>2]=m*l;l=n[a+292>>2];n[e+24>>2]=m*h;n[e+28>>2]=l*g;n[e+20>>2]=l*f;b=c?c:b;j[b+72>>2]=j[a+352>>2];c=wA(a,b);if(!c){k=-1;break a}k=qe[j[a+40>>2]](a,c,b,e+32|0,e+16|0)|0;if((k|0)<=-1){j[c>>2]=0;break a}k=0;if(j[a+336>>2]){break a}c=j[a+340>>2];if(!c){break a}b=a+420|0;k=qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[c+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=e+48|0;return k}function og(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;f=oe-48|0;oe=f;j[a+8>>2]=0;l=j[a+4>>2];if(l){j[j[a>>2]>>2]=119537;j[j[a>>2]+4>>2]=119537;j[j[a>>2]+8>>2]=119537;j[j[a>>2]+12>>2]=119537;j[j[a>>2]+16>>2]=119537}a:{if(!d){break a}i=k[c|0];if(!i){break a}m=6;if(!b){break a}e=k[b|0];if(!e){break a}j[f+24>>2]=0;j[f+28>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;j[f>>2]=0;j[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=k[b+1|0];break c}g=k[b+1|0];if(g){break c}n=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}l=c+d|0;while(1){e=c;while(1){f:{if(k[((i&248)>>>3|0)+f|0]>>>(i&7)&1){g=e;break f}i=k[e+1|0];g=e+1|0;e=g;if(i){continue}}break}e=a;b=j[a+8>>2];g:{if((b|0)!=j[a+4>>2]){d=b;break g}j[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){m=64;break a}i=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;o=a,p=xe(j[a+12>>2],4,i,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b;d=j[a+8>>2]}j[e+8>>2]=d+1;j[j[a>>2]+(d<<2)>>2]=c>>>0>>0?c:119537;e=k[g|0];h:{i:{if(n){d=0;b=g;if(!(e&255)){i=0;c=g;break h}while(1){j:{if(!(k[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){i=e;c=b;break j}i=0;h[b|0]=0;e=k[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){i=0;c=g;d=0;break h}h[g|0]=0;c=g+1|0;i=k[g+1|0]}d=!(i&255)}if(i&255?c>>>0>>0:0){continue}break}l=j[a+4>>2];b=j[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}j[f+44>>2]=0;if(b+1>>>0<=l>>>0){break k}m=64;if((l|0)==536870911){break a}b=((l>>>1|0)+l|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;o=a,p=xe(j[a+12>>2],4,l,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b}l:{if(!d){i=j[a+8>>2];break l}b=j[a+8>>2];i=b+1|0;j[a+8>>2]=i;j[j[a>>2]+(b<<2)>>2]=119537}m=0;j[j[a>>2]+(i<<2)>>2]=0;break a}m=((e&248)>>>3|0)+f|0;h[m|0]=k[m|0]|1<<(e&7)}b=b+1|0;e=g;continue}}oe=f+48|0;return m}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0;o=j[a+88>>2];j[c>>2]=0;a:{b:{if(k[a+780|0]){d=j[a+776>>2];e=j[a+760>>2];break b}j[a+760>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0;j[a+772>>2]=0;j[a+776>>2]=0;j[a+780>>2]=0;i=8;d=l[a+152>>1];if(!d){break a}e=j[a+156>>2];d=e+(d<<4)|0;n=j[a+104>>2];while(1){c:{if(j[e>>2]==1111770656){f=j[e+12>>2];if(f){break c}}e=e+16|0;if(d>>>0>e>>>0){continue}break a}break}if(Fe(n,j[e+8>>2])|f>>>0<8){break a}g=a+760|0;if(_f(n,f,g)){break a}e=j[a+760>>2];j[a+764>>2]=f+e;d:{e:{if((k[e+1|0]|k[e|0]<<8)!=1){break e}d=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<8|f>>>0>>0){break e}d=k[e+3|0]|k[e+2|0]<<8;if(d>>>0>i-8>>>2>>>0){break e}j[a+772>>2]=f-i;q=e+i|0;j[a+768>>2]=q;j[a+776>>2]=d;f=e+8|0;m=f+(d<<2)|0;if(d){i=d;while(1){m=p(k[f+3|0]|k[f+2|0]<<8,10)+m|0;f=f+4|0;i=i-1|0;if(i){continue}break}}if(m>>>0<=q>>>0){break d}}jf(n,g);j[g+16>>2]=0;j[g+20>>2]=0;j[g+8>>2]=0;j[g+12>>2]=0;j[g>>2]=0;j[g+4>>2]=0;return 8}h[a+780|0]=1}i=6;if(!b|!o){break a}n=Le(b);if(!n|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=l[o+14>>1];while(1){m=k[e+3|0]|k[e+2|0]<<8;if((g|0)==(k[e+1|0]|k[e|0]<<8)){if(!m){break a}while(1){f:{o=k[f+5|0];if(!(o&16)){break f}e=j[a+772>>2];d=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}q=e-g|0;if(q>>>0<=n>>>0){break f}d=k[f+6|0]|k[f+7|0]<<8|(k[f+8|0]<<16|k[f+9|0]<<24);r=g;g=j[a+768>>2];if(Qe(b,r+g|0,q)){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(o&15){case 0:case 1:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!Mh(d,0,e)){break f}j[c+4>>2]=d;j[c>>2]=1;return 0;case 2:j[c+4>>2]=d;j[c>>2]=2;return 0;case 3:break g;default:break f}}j[c+4>>2]=d;j[c>>2]=3;return 0}f=f+10|0;m=m-1|0;if(m){continue}break}break a}e=e+4|0;f=p(m,10)+f|0;d=d-1|0;if(d){continue}break}}return i|0}function Qm(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-10096|0;oe=c;e=j[b+100>>2];Ee(c+3216|4,0,2996);j[c+3216>>2]=e;j[a+1624>>2]=0;j[a+52>>2]=0;d=j[(j[j[a>>2]+8>>2]<<2)+114768>>2];g=j[d+8>>2];e=0;f=j[j[a+36>>2]>>2];a:{if(!f){break a}f=j[f+92>>2];if(!f){break a}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=j[d+12>>2];if(!g){break b}e=0;f=j[j[a+36>>2]>>2];d:{if(!f){break d}f=j[f+92>>2];if(!f){break d}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=j[d+16>>2];if(!f){break b}e=0;d=j[j[a+36>>2]>>2];e:{if(!d){break e}d=j[d+92>>2];if(!d){break e}e=qe[j[j[d+12>>2]+12>>2]](d,f)|0}if(!e){break b}}if(Wh(b,e,1)){break b}e=j[b+84>>2];if(i[e+110>>1]<1){break b}Ee(c+16|0,0,3188);d=j[a+40>>2];j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+24>>2]=65536;j[c+28>>2]=65536;j[c+56>>2]=d;j[c+20>>2]=b;j[c+6196>>2]=0;j[c+6204>>2]=c+16;if(Ji(c+3216|0,e+108|0)){break b}j[c+12>>2]=0;if(Zh(c+3216|0,0)){break b}e=0;Ii(c+3216|0,0,0,0);d=j[c+3260>>2];if((d|0)>=1){b=j[c+3268>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+56>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}nj(c+12|0,a+56|0,m[c+56>>2]/100|0);j[a+52>>2]=j[c+12>>2];e=0;j[c+12>>2]=0;if(Zh(c+3216|0,1)){break b}Ii(c+3216|0,0,0,1);d=j[c+4728>>2];if((d|0)>=1){b=j[c+4736>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+1628>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}nj(c+12|0,a+1628|0,m[c+56>>2]/100|0);j[a+1624>>2]=j[c+12>>2]}if(j[a+52>>2]){b=j[a+56>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=b;j[a+248>>2]=(b|0)/5;if(j[a+1624>>2]){b=j[a+1628>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=b;j[a+1820>>2]=(b|0)/5;wk(c+3216|0);oe=c+10096|0}function GA(a){var b=0,c=0,d=0,e=q(0),f=0,g=0,h=q(0),i=q(0),l=q(0);b=oe-32|0;oe=b;j[b+28>>2]=1;j[b+24>>2]=1;a:{if(!j[a+196>>2]|!j[a+200>>2]){break a}if((_k(a,b+28|0,b+24|0)|0)<0){break a}d=dg(73946);b:{if(!d){break b}if(k[d|0]!=49){if(Me(d,73975)){break b}}c=1}e=q(j[b+24>>2]);h=q(j[b+28>>2]);i=q(j[a+200>>2]);l=q(j[a+196>>2]);c:{if(j[a>>2]!=268305){ve(73421,0);break c}j[a+288>>2]=1065353216;j[a+292>>2]=1065353216}e=q(h/e);h=q(l/i);d:{if(j[a+212>>2]){g=b;e:{if(!(e>2];d=j[b+28>>2]/(c|0)|0;break e}c=j[a+196>>2];d=j[b+24>>2]/j[a+200>>2]|0}e=q(d|0);f=w(+q(e*q(c|0)));f:{if(r(f)<2147483648){c=~~f;break f}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;g=b;f=w(+q(e*q(j[a+200>>2])));g:{if(r(f)<2147483648){c=~~f;break g}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}if(!(r(+q(h-e))<1e-4^1)){d=j[a+196>>2];c=j[b+28>>2];kh(a,0);e=q(q(c|0)/q(d|0));break d}if(!(e>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));h:{if(r(f)<2147483648){c=~~f;break h}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;kh(a,b+8|0);break d}c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));i:{if(r(f)<2147483648){c=~~f;break i}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}if(c){c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));j:{if(r(f)<2147483648){c=~~f;break j}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}c=j[a+200>>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));k:{if(r(f)<2147483648){c=~~f;break k}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;kh(a,b+8|0)}if(j[a>>2]!=268305){ve(73421,0);break a}n[a+288>>2]=e;n[a+292>>2]=e}oe=b+32|0}function ll(a,b,c,d,e,f){var g=0,l=0,m=0,n=0,s=0;a:{g=Xe(1,264);b:{if(g){j[g+236>>2]=4096;j[g+216>>2]=f;h[g+214|0]=e;i[g+212>>1]=d;j[g+204>>2]=c;h[g+202|0]=b;i[g+200>>1]=a;j[g+172>>2]=1;m=b>>>0>>0?b:e;h[g+232|0]=m;o[g+224>>3]=+(f|0)/+(c|0);j[g+208>>2]=p(d>>>3&31,e);j[g+196>>2]=p(a>>>3&31,b);s=g;l=0;c:{if((c|0)==(f|0)){break c}l=512;if((c|0)<=(f|0)){break c}n=w(+q(q(c<<9)/q(f|0)));if(r(n)<2147483648){l=~~n;break c}l=-2147483648}l=p(l,m);j[s+240>>2]=l;l=Xe(l?l:1,4);j[g+244>>2]=l;if(!l){break a}l=p(j[g+196>>2],j[g+240>>2]/k[g+232|0]|0);j[g+180>>2]=l;d:{if((l|0)<1){break d}l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}j[g+176>>2]=l;if(l){break d}break a}e:{f:{if((c|0)==(f|0)){j[g>>2]=0;if((ml(g+84|0,a,b,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}if((ml(g,a,b,c,33056,m,c)|0)<=-1){a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}if(!j[g+252>>2]){a=Xe(j[g+240>>2],4);j[g+248>>2]=a;if(!a){break a}if((Oo()|0)<=-1){a=j[g+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[g+248>>2]=0;a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}j[g+260>>2]=152;j[g+256>>2]=153;j[g+252>>2]=154}if((ml(g+84|0,33056,m,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}a=Wo(4096,8192);j[g+168>>2]=a;if(a){break b}a=j[g+260>>2];if(a){qe[a|0](g);a=j[g+168>>2]}else{a=0}nh(a)}a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}}g=0}return g}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}Be(0);return 0}function tn(){var a=0,b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;if(j[67085]){vj()}bn();a=-1;a:{if(($i(16384)|0)<0){break a}Ge(266004,69312,2048);if((PB()|0)<0){break a}b:{b=Mf(97959);c:{if(b){d:{if(Uk(j[58754],b,Le(b))){break d}if(!(qe[j[58756]]()|0)){break d}a=qe[j[58757]](0)|0;if(a){break c}}j[d>>2]=b;a=ve(97975,d);break a}if(!(qe[j[58756]]()|0)){break b}a=qe[j[58757]](0)|0;if(!a){break b}}j[67085]=a;b=j[58754];j[a+692>>2]=0;j[a+320>>2]=1;j[a>>2]=b;j[a+336>>2]=2;j[a+340>>2]=0;j[a+328>>2]=3;j[a+332>>2]=3;j[a+360>>2]=0;j[a+364>>2]=0;j[a+352>>2]=0;j[a+356>>2]=1;j[a+344>>2]=16;j[a+348>>2]=0;j[a+368>>2]=0;j[a+372>>2]=0;j[a+376>>2]=0;j[a+380>>2]=0;j[a+428>>2]=1;j[a+432>>2]=0;j[a+384>>2]=0;j[a+388>>2]=-1;b=j[a+208>>2];e:{if(b){qe[b|0](a,a+404|0,a+392|0,a+396|0);a=j[67085];break e}j[a+404>>2]=4;j[a+392>>2]=2;j[a+396>>2]=0}j[a+424>>2]=0;j[a+400>>2]=0;j[a+416>>2]=0;j[a+420>>2]=0;j[a+408>>2]=0;j[a+412>>2]=1;a=j[67079];j[67079]=a+1;j[j[67085]+704>>2]=a+1;a=j[67079];j[67079]=a+1;b=j[67085];j[b+708>>2]=a+1;a=-1;if((qe[j[b+4>>2]](b)|0)<=-1){vj();break a}a=j[67085];if(!j[a+300>>2]){vj();a=ve(98018,0);break a}f:{if(j[a+136>>2]){if(j[a+292>>2]){break f}a=dg(99272);if(a){if(!Me(a,99290)){break f}}a=dg(99299);if(!a|k[a|0]==48){break f}if(!Me(a,99328)){break f}a=j[67085]}j[a+144>>2]=452;j[a+140>>2]=453;j[a+136>>2]=454}g:{h:{if(yg(98060,0)){break h}a=j[67085];if(!a){break g}if(j[a+296>>2]){break h}j[a+296>>2]=1;b=j[a+236>>2];if(!b){break h}qe[b|0](a)}b=j[67085];if(!b){break g}c=j[b+252>>2];if(!c){break g}a=0;if(qe[c|0](b)|0){break a}}We(771,1);We(770,1);a=0;b=j[67085];if(!b){break a}c=j[b+308>>2];i:{if(!c){break i}j:{while(1){if(!(k[c+49|0]&2)){c=j[c+152>>2];if(c){continue}break j}break}e=j[b+256>>2];if(!e){break i}qe[e|0](b,c);b=j[67085]}if(!b){break a}}c=j[b+240>>2];if(!c){break a}qe[c|0](b);break a}a=ve(97992,0)}oe=d+16|0;return a}function yG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-16|0;oe=f;m=j[b+16>>2];n=j[b+8>>2];qe[j[b+28>>2]](b);a:{b:{c:{d:{d=j[b>>2];if(d>>>0>>0){j[b>>2]=d+1;if(k[d|0]==91){break d}}e=3;j[f+12>>2]=3;break c}qe[j[b+28>>2]](b);e:{c=j[b>>2];f:{if(n>>>0<=c>>>0){break f}while(1){g:{h:{i:{d=k[c|0];if((d|0)!=60){if((d|0)!=93){break i}j[b>>2]=c+1;break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=j[b>>2];d=(e+(c^-1)|0)/2|0;if(e-c>>>0<=2){break f}i=xe(m,1,r,d,i,f+12|0);e=j[f+12>>2];if(e){break c}j[b>>2]=c;p=1;qe[j[b+44>>2]](b,i,d,f+8|0,1)|0;g=j[f+8>>2];break h}if(d-48>>>0>9){d=r;break h}if(p){break f}j:{g=qe[j[b+36>>2]](b)|0;if((g|0)<=-1){break j}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}d=j[b>>2];i=d+1|0;if(n-d>>>0>>0){break j}j[b>>2]=(d+g|0)+1;p=0;break g}e=3;j[f+12>>2]=3;p=0;break c}if(!i){break e}r=d}if(g&1){d=g-1|0;g=k[d+i|0]?g:d}d=0;if(!g){break f}while(1){k:{l:{m:{switch(l|0){case 0:l=0;if((o|0)<12){break l}e=j[a+492>>2];q=(k[e+4|0]<<4)+k[e+5|0]|0;c=q<<4|12;j[a+496>>2]=c;if((c|0)>(n-j[b>>2]|0)){break f}u=a,v=xe(m,1,12,c,e,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c};case 1:l=1;c=j[a+496>>2];if((o|0)<(c|0)){break l}l=j[a+492>>2];if(q>>>0>=1){s=l+24|0;e=0;while(1){t=c;c=(e<<4)+s|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=t+((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+3&-4)|0;j[a+496>>2]=c;e=e+1|0;if((q|0)!=(e|0)){continue}break}}u=a,v=xe(m,1,q<<4|12,c+1|0,l,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c}break;case 2:break m;default:break k}}l=2;if(j[a+496>>2]<=(o|0)){break f}}h[j[a+492>>2]+o|0]=k[d+i|0];o=o+1|0}d=d+1|0;if((g|0)!=(d|0)){continue}break}qe[j[b+28>>2]](b);c=j[b>>2];if(n>>>0>c>>>0){continue}break}}e=3;j[f+12>>2]=3;break c}e=3;j[f+12>>2]=3;i=0}j[b+12>>2]=e}if(!p){break a}if(i){qe[j[m+8>>2]](m,i)}}oe=f+16|0}function im(a,b,c,d,e){var f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j[a+180>>2]=d;q=a+180|0;j[a+52>>2]=q;g=j[a+72>>2];j[a+196>>2]=j[a+68>>2];j[a+200>>2]=g;j[a+192>>2]=c;j[a+188>>2]=b;j[a+184>>2]=e;e=q;while(1){n=j[e+4>>2];f=j[e+20>>2];b=(n|0)<(f|0);a:{o=j[e+12>>2];if(!((o|0)<=((b?f:n)|0)?(o|0)>=((b?n:f)|0):0)){b=j[e+16>>2];j[e+32>>2]=b;j[e+36>>2]=f;c=(f+o|0)/2|0;j[e+28>>2]=c;g=(n+o|0)/2|0;j[e+12>>2]=g;f=j[e+8>>2];o=(f+d|0)/2|0;j[e+8>>2]=o;b=(b+f|0)/2|0;j[e+24>>2]=b;j[e+20>>2]=(c+g|0)/2;j[e+16>>2]=(b+o|0)/2;j[a+52>>2]=e+16;break a}if((f|0)==(n|0)){j[a+52>>2]=e-16;break a}s=(f|0)<(n|0)?1:2;c=j[a+100>>2];if((s|0)!=(c|0)){b=j[a+4>>2];t=(f|0)>=(n|0);g=((b+f|0)-1&0-b)-f|0;b:{if(!t){break b}g=f&b-1}r=j[a+8>>2];if(c){b=j[a+40>>2];p=j[a+88>>2];c=b-j[p+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}c:{if(!c){c=b;break c}j[p+16>>2]=c>>2;if((g|0)>=(r|0)){c=l[p+12>>1];i[p+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[p+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}d:{if(j[a+92>>2]){c=j[a+40>>2];break d}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;e:{if(!t){i[b+12>>1]=c|8;if((g|0)<(r|0)){break e}i[b+12>>1]=c|40;break e}if((g|0)<(r|0)){break e}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=s}b=j[a+80>>2];c=j[a+76>>2];if((f|0)<(n|0)){if(!lk(a,2,799,c,b)){break a}return 1}j[e+20>>2]=0-f;j[e+12>>2]=0-o;j[e+4>>2]=0-n;g=k[a+86|0];b=lk(a,2,799,0-b|0,0-c|0);if(!(k[a+86|0]|!g)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[e+4>>2]=0-j[e+4>>2];if(!b){break a}return 1}e=j[a+52>>2];if(q>>>0<=e>>>0){d=j[e>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=d;return 0}function Aq(a,b,c,d,e,f,g){var h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=0,z=q(0),A=q(0),B=q(0),C=0,D=0,E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0);v=p(a,b);D=v<<1;if((b|0)>=1){y=a<<1;k=p(v,3);m=v;h=D;while(1){t=(m<<2)+c|0;w=(k<<2)+c|0;l=q(n[t>>2]+n[w>>2]);o=i<<2;r=o+c|0;u=(h<<2)+c|0;j=q(n[r>>2]+n[u>>2]);n[(i<<4)+d>>2]=l+j;i=a+i|0;n[((i<<4)+d|0)-4>>2]=j-l;o=(o+y<<2)+d|0;n[o-4>>2]=n[r>>2]-n[u>>2];n[o>>2]=n[w>>2]-n[t>>2];h=a+h|0;k=a+k|0;m=a+m|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){C=a<<1;s=0;u=0;while(1){i=u<<2;k=C+i|0;m=2;h=u;while(1){o=h+2|0;E=n[(o<<2)+c>>2];t=m<<2;y=t-8|0;F=n[y+e>>2];w=o+v|0;r=(w<<2)+c|0;G=n[r-4>>2];t=t-4|0;H=n[t+e>>2];I=n[r>>2];J=q(q(F*G)+q(H*I));K=n[g+y>>2];w=v+w|0;r=(w+v<<2)+c|0;L=n[r-4>>2];M=n[g+t>>2];N=n[r>>2];O=q(q(K*L)+q(M*N));P=q(J+O);z=n[f+y>>2];r=(w<<2)+c|0;A=n[r-4>>2];l=n[f+t>>2];j=n[r>>2];B=q(q(z*A)+q(l*j));x=n[((h<<2)+c|0)+4>>2];Q=q(B+x);n[(i<<2|4)+d>>2]=P+Q;i=i+2|0;R=q(q(z*j)-q(A*l));z=q(E+R);l=q(q(F*I)-q(G*H));j=q(q(K*N)-q(L*M));A=q(l+j);n[(i<<2)+d>>2]=z+A;B=q(x-B);x=q(l-j);n[((k<<2)+d|0)-12>>2]=B-x;k=k-2|0;l=q(O-J);j=q(E-R);n[(k<<2)+d>>2]=l-j;h=(i+C<<2)+d|0;n[h>>2]=j+l;n[h-4>>2]=x+B;h=(k+C<<2)+d|0;n[h>>2]=A-z;n[h-4>>2]=Q-P;h=o;m=m+2|0;if((m|0)<(a|0)){continue}break}u=a+u|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<1){break a}u=a<<1;o=a<<2;i=(a+v|0)-1|0;m=D+i|0;s=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;x=n[(i<<2)+c>>2];l=n[(m<<2)+c>>2];j=q(q(x-l)*q(.7071067690849304));n[g-4>>2]=n[e>>2]+j;f=(k+u<<2)+d|0;n[f-4>>2]=n[e>>2]-j;j=q(q(x+l)*q(-.7071067690849304));e=(i+v<<2)+c|0;n[g>>2]=j-n[e>>2];n[f>>2]=j+n[e>>2];h=a+h|0;k=k+o|0;m=a+m|0;i=a+i|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}}function Ck(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0;l=oe-48|0;oe=l;a:{b:{if(f){break b}h=-128;f=Qf(a,l+32|0,65536,0);i=pe;g=i;if((f|0)==-128&(g|0)==-1){break a}f=l+32|0;if((g|0)>0?1:(g|0)>=0){break b}h=-132;break a}Ju(b);j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[a+88>>2]=2;c:{d:{if(!(k[j[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=j[f>>2];m=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);e:{h=j[d>>2];g=j[e>>2];if(!h|!g){break e}while(1){if((m|0)!=j[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=j[d>>2];if(f){ze(f)}j[d>>2]=0;j[e>>2]=0;d=-133;break c}g=j[f>>2];m=k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24);h=j[e>>2]+1|0;j[e>>2]=h;g=j[d>>2];f:{if(g){g=Vf(g,h<<2);j[d>>2]=g;h=j[e>>2];break f}g=Te(4);j[d>>2]=g}j[((h<<2)+g|0)-4>>2]=m}g:{if(j[a+88>>2]>2){break g}g=j[f>>2];ph(i,k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24));Ng(i,f);if((mg(i,l)|0)<1){break g}if(!ou(l)){break g}j[a+88>>2]=3;if(!fn(b,c,l)){break g}d=-133;break c}g=Qf(a,f,65536,0);h=pe;m=h;if((g|0)==-128&(h|0)==-1){d=-128;break c}if((m|0)<0){d=-132;break c}h:{if(j[a+88>>2]!=3){break h}g=j[f>>2];if(j[a+456>>2]!=(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){break h}Ng(i,f);break d}if(k[j[f>>2]+5|0]&2){continue}break}}d=-132;if(j[a+88>>2]!=3){break c}m=a+120|0;e=0;g=0;while(1){d=-133;i:{switch(mg(m,l)+1|0){default:d=fn(b,c,l);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break i;case 0:break c}}h=0;if((e|0)>1){break a}Qf(a,f,65536,0);if((pe|0)<0){break c}while(1){i=j[f>>2];if(j[a+456>>2]!=(k[i+14|0]|k[i+15|0]<<8|(k[i+16|0]<<16|k[i+17|0]<<24))){j:{if(!(k[j[f>>2]+5|0]&2)){i=g;break j}i=1;if(g){break c}}g=i;Qf(a,f,65536,0);i=pe;if((i|0)>0?1:(i|0)>=0){continue}break c}break}Ng(m,f);if((e|0)<2){continue}break}break a}Li(b);Mi(c);j[a+88>>2]=2;h=d}oe=l+48|0;return h}function Mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;i=j[a+36>>2];b=j[a+20>>2];l=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+44>>2];if(j[f+24>>2]){if(!g){break a}d=k[a+63|0]>>>k[f+31|0]<>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}a=g-1|0;j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+i|0;c=c+l|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}a=j[a+40>>2];d=j[a+16>>2]|j[a+12>>2]|j[a+20>>2];h=e&7;f=(e+7|0)/8|0;g:while(1){e=f;h:{i:{switch(h-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}a=g-1|0;j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+i|0;c=c+l|0;g=a;if(a){continue g}break a}a=0;continue}}}}function BG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];b:{if((l|0)==91){j[b>>2]=d+1;c=256;break b}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+88>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c:{c=j[i+12>>2];if(c){break c}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break c}o=b+92|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break c}if((n|0)>=1){c=0;while(1){qe[j[b+136>>2]](o,c,204303,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f=k[c|0];d=c+3|0;if(!((f|0)!=100|e>>>0<=d>>>0)){if(k[c+1|0]!=101|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break d;default:break e}}if((f|0)!=93){break e}d=c+1|0;break d}f:{if(!(f-48>>>0>9?!p:0)){f=g;if(!p){f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);c=j[b>>2]}d=c;if(!((g|0)>=(n|0)|c+2>>>0>=e>>>0|k[c|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+136>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+116>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break f}if((l|0)!=91){break f}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j[b+12>>2]=c;break a}g:{if(d+17>>>0>=e>>>0){break g}if(Qe(d,205270,16)){break g}j[a+368>>2]=2;break a}h:{if(d+15>>>0>=e>>>0){break h}if(Qe(d,205287,14)){break h}j[a+368>>2]=4;break a}i:{if(d+18>>>0>=e>>>0){break i}if(Qe(d,205302,17)){break i}j[a+368>>2]=3;break a}j[b+12>>2]=162}oe=i+16|0}function xh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;e=j[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=k[e|0];switch(f-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){f=0;break a}q=(f|0)==45;f=k[e|0]}d:{if((f&255)==46){d=e;break d}j[g+8>>2]=e;f=Rg(g+8|0,b,10);e:{d=j[g+8>>2];if((d|0)!=(e|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;j[g+8>>2]=i;f=Rg(g+8|0,b,f);d=j[g+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}o=(f|0)>32767;i=o?f:f<<16}f:{if(!(k[d|0]!=46|b>>>0<=d>>>0)){l=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(f<<24>>24<0|f-48>>>0>9){break f}h:{if((e|0)>214748363|(l|0)>214748363){break h}e=h[f+133760|0]+p(e,10)|0;if(!((c|0)<1|i)){c=c-1|0;break h}l=p(l,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;l=1}i:{j:{k:{l:{n=d+1|0;if(!((k[d|0]|32)!=101|n>>>0>=b>>>0)){j[g+12>>2]=n;m=Rg(g+12|0,b,10);m:{d=j[g+12>>2];if((n|0)!=(d|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,b,m);d=j[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(n|0)){break a}if((m|0)>1e3){break l}b=m;m=(m|0)<-1e3;c=(m?0:b)+c|0}j[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(o){break i}if(m){break a}if((c|0)<=0){break k}while(1){if((i|0)>214748363){break i}n:{if((e|0)>=214748364){if((l|0)==1){break i}l=(l|0)/10|0;break n}e=p(e,10)}i=p(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}j[a>>2]=d;b=2147483647;if(e|i){break i}break a}if((c|0)>=0){break j}while(1){a=i;i=(i|0)/10|0;o:{if((l|0)<=214748363){l=p(l,10);break o}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break j}continue}break}break a}if(!e){b=i;break i}b=De(e,l)+i|0}f=q?0-b|0:b}oe=g+16|0;return f}function uv(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;d=bf(1,40);j[d+36>>2]=1;a:{b:{if((Ce(a,24)|0)!=5653314){break b}g=d,i=Ce(a,16),j[g>>2]=i;b=Ce(a,24);j[d+4>>2]=b;if((b|0)==-1){break b}b=j[d>>2];c=b?32-s(b)|0:0;b=j[d+4>>2];if((c+(b?32-s(b)|0:0)|0)>24){break b}c:{d:{e:{switch(Ce(a,1)|0){case 0:b=Ce(a,1);if(p(b?1:5,j[d+4>>2])+7>>3>(j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)){break b}c=j[d+4>>2];g=d,i=Te(c),j[g+8>>2]=i;if(!b){break d}b=0;if((c|0)<=0){break c}while(1){c=0;f:{if(!Ce(a,1)){break f}c=Ce(a,5);if((c|0)==-1){break b}c=c+1|0}h[j[d+8>>2]+b|0]=c;b=b+1|0;if((b|0)>2]){continue}break}break c;case 1:break e;default:break b}}b=Ce(a,5);f=b+1|0;if(f>>>0>>0){break b}e=j[d+4>>2];g=d,i=Te(e),j[g+8>>2]=i;if((e|0)<1){break c}b=0;while(1){c=e-b|0;c=Ce(a,c?32-s(c)|0:0);if((c|0)==-1|(f|0)>32){break b}e=j[d+4>>2];if((c|0)>(e-b|0)){break b}if((c|0)>=1){if(c-1>>f-1>1){break b}c=b+c|0;while(1){h[j[d+8>>2]+b|0]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}e=j[d+4>>2];b=c}f=f+1|0;if((b|0)<(e|0)){continue}break}break c}b=0;if((c|0)<=0){break c}while(1){c=Ce(a,5);if((c|0)==-1){break b}h[j[d+8>>2]+b|0]=c+1;b=b+1|0;if((b|0)>2]){continue}break}}b=Ce(a,4);j[d+12>>2]=b;g:{switch(b|0){case 0:break a;case 1:case 2:break g;default:break b}}g=d,i=Ce(a,32),j[g+16>>2]=i;g=d,i=Ce(a,32),j[g+20>>2]=i;g=d,i=Ce(a,4)+1|0,j[g+24>>2]=i;b=Ce(a,1);j[d+28>>2]=b;if((b|0)==-1){break b}c=0;h:{i:{switch(j[d+12>>2]-1|0){case 0:if(!j[d>>2]){break h}c=qO(d);break h;case 1:break i;default:break h}}c=p(j[d>>2],j[d+4>>2])}if((j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)>2],c)+7>>3){break b}e=Te(c<<2);j[d+32>>2]=e;if((c|0)>=1){b=0;while(1){f=Ce(a,j[d+24>>2]);e=j[d+32>>2];j[e+(b<<2)>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!c|j[((c<<2)+e|0)-4>>2]!=-1){break a}}rk(d);d=0}return d}function $n(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 i=0,l=0;i=j[a+4>>2];if(k[i+9|0]==4){a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];l=b;b=h^255;c=k[i+29|0];d=k[i+33|0];f=((p(b,k[j[(c<<2)+234976>>2]+((a&j[i+16>>2])>>>d|0)|0])>>>0)/255|0)+f>>>c<>2]+((a&j[i+12>>2])>>>d|0)|0])>>>0)/255|0)+e>>>c<>2]+((a&j[i+20>>2])>>>d|0)|0])>>>0)/255|0)+g>>>c<>2];a=k[i+35|0];j[l>>2]=d|((p(b,k[j[(c<<2)+234976>>2]+(e>>>a|0)|0])>>>0)/255|0)+h>>>c<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[i+33|0];b=h+k[j[(d<<2)+234976>>2]+((a&j[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0<255?d:255)>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0<255?d:255)>>>b<>2];a=k[i+35|0];j[h>>2]=c|k[j[(b<<2)+234976>>2]+(d>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[i+29|0];c=k[i+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&j[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=k[i+35|0];j[d>>2]=c|k[j[(b<<2)+234976>>2]+(e>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f>>>k[i+29|0]<>>k[i+28|0]<>>k[i+30|0]<>>k[i+31|0]<>2];g=j[a>>2];n=p(e,g);a:{b:{c:{d:{e:{f:{c=k[a+11|0];switch(c-1|0){case 3:break d;case 1:break e;case 0:break f;default:break c}}l=7;q=g-1|0;f=q&7;g:{if(d&65536){i=-1;c=n-1&7;break g}o=7;f=f^7;l=0;i=1;c=0-n&7}if(!g){break b}d=(n-1>>>3|0)+b|0;b=(q>>>3|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&1;e=0;while(1){h[d|0]=k[d|0]&32639>>>7-c|s<>>0>2]){continue}break}break b}l=6;f=(g<<1)+6&6;h:{if(d&65536){i=-2;c=(n<<1)+6&6;break h}o=6;f=f^6;i=2;l=0;c=((n<<1)+6^-1)&6}if(!g){break b}d=(n-1>>>2|0)+b|0;b=(g-1>>>2|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&3;e=0;while(1){h[d|0]=k[d|0]&16191>>>6-c|s<>>0>2]){continue}break}break b}l=4;f=g<<2&4;i:{if(d&65536){f=f^4;i=-4;c=(n<<2^-1)&4;break i}o=4;l=0;i=4;c=n<<2&4}if(!g){break b}d=(n-1>>>1|0)+b|0;b=(g-1>>>1|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&15;e=0;while(1){h[d|0]=k[d|0]&3855>>>4-c|s<>>0>2]){continue}break}break b}if(!g){break a}e=(e|0)>1?e:1;f=c>>>3|0;l=0-f|0;i=p(f,g-1|0)+b|0;d=p(f,n-1|0)+b|0;while(1){Ae(t+8|0,i,f);c=0;while(1){d=Ae(d,t+8|0,f)+l|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}i=i+l|0;o=o+1|0;if(o>>>0>2]){continue}break}}c=k[a+11|0]}j[a>>2]=n;b=c&255;j:{if(b>>>0>=8){b=p(b>>>3|0,n);break j}b=p(b,n)+7>>>3|0}j[a+4>>2]=b}oe=t+16|0}function eh(a,b){var c=0,d=0,e=0,f=0;c=oe-80|0;oe=c;a:{if(!b){j[c>>2]=98932;a=ve(98171,c);break a}j[b>>2]=0;d=j[67085];if(!d){a=ve(99429,0);break a}e=3410;b:{c:{switch(a|0){case 1:e=3411;break b;case 3:e=3413;break b;case 5:j[b>>2]=j[d+356>>2];a=0;break a;case 6:e=3414;break b;case 7:e=3415;break b;case 8:case 9:case 10:case 11:case 12:a=0;j[b>>2]=0;break a;case 13:e=32936;break b;case 14:e=32937;break b;case 24:e=33531;break b;case 4:j[c+76>>2]=0;j[c+72>>2]=0;j[c+68>>2]=0;j[c+64>>2]=0;a=-1;if((eh(0,c+76|0)|0)<0){break a}if((eh(1,c+72|0)|0)<0){break a}if((eh(2,c+68|0)|0)<0){break a}if((eh(3,c- -64|0)|0)<0){break a}j[b>>2]=j[c+64>>2]+(j[c+68>>2]+(j[c+72>>2]+j[c+76>>2]|0)|0);a=0;break a;case 15:a=0;j[b>>2]=j[d+388>>2]!=0;break a;case 16:j[b>>2]=j[d+428>>2];a=0;break a;case 17:j[b>>2]=j[d+392>>2];a=0;break a;case 18:j[b>>2]=j[d+396>>2];a=0;break a;case 19:j[b>>2]=j[d+404>>2]==4;a=0;break a;case 20:j[b>>2]=j[d+400>>2];a=0;break a;case 21:j[b>>2]=j[d+404>>2];a=0;break a;case 22:j[b>>2]=j[d+408>>2];a=0;break a;case 23:j[b>>2]=j[d+420>>2];a=0;break a;case 26:j[b>>2]=j[d+424>>2];a=0;break a;default:a=ve(98907,0);break a;case 0:break b;case 2:break c}}e=3412}d:{f=j[d+172>>2];if(f){if(j[d+432>>2]){break d}ve(98799,0);a=-1;break a}j[c+16>>2]=j[d>>2];ve(98744,c+16|0);a=-1;break a}a=-1;d=qe[f|0](d,98828)|0;if(!d){break a}qe[d|0](e,b);b=j[67085];if(!b){ve(99429,0);break a}e:{d=j[b+172>>2];if(d){if(j[b+432>>2]){break e}ve(98799,0);break a}j[c+32>>2]=j[b>>2];ve(98744,c+32|0);break a}b=qe[d|0](b,98938)|0;if(!b){break a}f:{g:{h:{a=qe[b|0]()|0;switch(a-1280|0){case 1:break f;case 0:break g;default:break h}}if(!a){break a}j[c+48>>2]=a;a=ve(99010,c+48|0);break a}a=ve(98949,0);break a}a=ve(98979,0)}oe=c+80|0;return a}function vm(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-16|0;oe=f;j[f+8>>2]=0;n=j[j[a>>2]+28>>2];j[b>>2]=0;a:{b:{if(j[a+24>>2]){break b}j[f+12>>2]=0;c:{d=j[a+8>>2];if(d){o=k[a+12|0];l=j[a>>2];m=j[l+28>>2];d=d+1|0;s=a,t=xe(m,4,0,d,0,f+12|0),j[s+24>>2]=t;if(j[f+12>>2]){break c}e=Fe(l,j[a+4>>2]+3|0);j[f+12>>2]=e;if(e){break c}g=p(d,o);d=_e(l,g);j[f+12>>2]=d;if(d){break c}e=j[l+32>>2];i=g+e|0;d=j[a+24>>2];d:{e:{switch(o-1|0){case 2:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);d=d+4|0;e=e+3|0;if(i>>>0>e>>>0){continue}break}break d;case 1:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+1|0]|k[e|0]<<8;d=d+4|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}break d;case 0:if((g|0)<=0){break d}while(1){j[d>>2]=k[e|0];d=d+4|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}break d;default:break e}}if((g|0)<=0){break d}while(1){g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);j[d>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}Ve(l);if(j[f+12>>2]){break c}}j[f+8>>2]=0;break b}d=m;m=j[a+24>>2];if(m){qe[j[d+8>>2]](d,m)}j[a+24>>2]=0;d=j[f+12>>2];j[f+8>>2]=d;if(d){break a}}d=j[a+8>>2];if(!d){break a}g=0;l=xe(n,4,0,d+1|0,0,f+8|0);if(j[f+8>>2]){break a}if(c){g=He(n,j[a+8>>2]+j[a+20>>2]|0,f+8|0);if(j[f+8>>2]){break a}}o=j[a+28>>2];j[l>>2]=c?g:o;q=j[a+8>>2];if(q){n=0;d=0;e=1;while(1){m=d;i=e<<2;r=j[i+j[a+24>>2]>>2]-1|0;if(r>>>0>=d>>>0){d=j[a+20>>2];d=d>>>0>>0?d:r}f:{if(!c){j[i+l>>2]=d+o;break f}i=i+l|0;r=(d+g|0)+n|0;j[i>>2]=r;if((d|0)==(m|0)){break f}q=j[i-4>>2];Ae(q,m+o|0,r-q|0);h[j[i>>2]]=0;j[i>>2]=j[i>>2]+1;n=n+1|0;q=j[a+8>>2]}e=e+1|0;if(q>>>0>=e>>>0){continue}break}}j[b>>2]=l;if(!c){break a}j[c>>2]=g}oe=f+16|0;return j[f+8>>2]}function Jf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(d){j[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}a=a+1|0;if(b>>>0>a>>>0){break c}e=0;break a}e=4-g|0;i=k[a|0];h=i>>>g&15;if((h|0)==14){r=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){q=q+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}n=n+1|0;i=p(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){l=(f|0)<214748364&(o|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}m=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=m;break d}if(!(f|h)){q=q-1|0;f=0;e=m;continue e}e=m;if(!l){continue}break}o=o+1|0;f=p(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){m=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}l=(i&255)>>>e&15;if(l>>>0<=9){s=l+p(g,10)|0;l=(g|0)>1e3;g=l?g:s;m=l?1:m;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(m){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+q|0)+e|0;if(d){a=a+n|0;b=n+o|0;if((b|0)<=5){if((f|0)>=32768){e=De(f,10);j[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=p(j[(e<<2)+122448>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}j[d>>2]=a;e=f<<16;break a}b=b<<2;c=j[b+122428>>2];if(((f|0)/(c|0)|0)>=32768){e=De(f,j[b+122432>>2]);j[d>>2]=a-4;break a}e=De(f,c);j[d>>2]=a-5;break a}e=2147483647;b=a+n|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=o-a|0}else{f=(f|0)/j[122448-(b<<2)>>2]|0;a=n+o|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=j[(a<<2)+122448>>2];if(((b|0)/(a|0)|0)>32767){break a}e=De(b,a);break a}a=p(b,j[122448-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return r?0-e|0:e}function NM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+28>>>0){g=j[a+412>>2];b=j[a+20>>2];d=j[a+16>>2];e=k[d|0];a:{if((e|0)==30){c=Jf(d,b,0,0)>>16;b=j[a+20>>2];break a}b:{switch(e-28|0){case 0:if(d+3>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8;c=(c<<24|c<<8&16711680)>>16;break a;case 1:if(d+5>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a;default:break b}}if(e>>>0<=246){c=e-139|0;break a}f=d+2|0;if(e>>>0<=250){if(b>>>0>>0){break a}c=(k[d+1|0]|e<<8)-63124|0;break a}if(b>>>0>>0){break a}c=64148-(k[d+1|0]|e<<8)|0}j[g+132>>2]=c;c=j[a+24>>2];e=k[b|0];c:{if((e|0)==30){d=Jf(b,c,0,0)>>16;c=j[a+24>>2];break c}d:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8;d=(b<<24|b<<8&16711680)>>16;break c;case 1:d=0;if(b+5>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c;default:break d}}if(e>>>0<=246){d=e-139|0;break c}f=b+2|0;if(e>>>0<=250){d=0;if(c>>>0>>0){break c}d=(k[b+1|0]|e<<8)-63124|0;break c}d=0;if(c>>>0>>0){break c}d=64148-(k[b+1|0]|e<<8)|0}j[g+136>>2]=d;d=j[a+28>>2];b=k[c|0];e:{if((b|0)==30){a=Jf(c,d,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}e=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>>0){break e}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>>0){break e}a=64148-(k[c+1|0]|b<<8)|0}j[g+140>>2]=a;a=0}else{a=161}return a|0}function BF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=j[b>>2];k=j[b+8>>2]+(g+j[b+4>>2]|0)|0;if(!k){return 1}h=a;d=0;a:{b:{if(!g){break b}e=1;c=v(+(g|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break b}d=-2147483648}j[h>>2]=d;d=j[b+4>>2];c:{if(!d){break c}e=1;c=v(+(d|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break c}f=-2147483648}j[a+4>>2]=f;i=j[b+12>>2];g=j[b+20>>2]+(i+j[b+16>>2]|0)|0;if(!g){return 1}l=j[b+4>>2];m=j[b>>2];f=0;h=a;d=0;d:{if(!i){break d}e=1;c=v(+(i|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break d}d=-2147483648}j[h+8>>2]=d;d=j[b+16>>2];e:{if(!d){break e}e=1;c=v(+(d|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break e}f=-2147483648}j[a+12>>2]=f;d=j[b+24>>2];f=j[b+32>>2]+(d+j[b+28>>2]|0)|0;if(!f){return 1}n=j[b+16>>2];o=j[b+12>>2];i=0;h=a;e=0;f:{if(!d){break f}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break f}e=-2147483648}j[h+16>>2]=e;d=j[b+28>>2];g:{if(!d){break g}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){i=~~c;break g}i=-2147483648}j[a+20>>2]=i;e=1;g=f+(g+k|0)|0;if(!g){break a}f=j[b+28>>2];h=a;b=j[b+24>>2]+(m+o|0)|0;d=0;h:{if(!b){break h}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break h}d=-2147483648}j[h+24>>2]=d;b=f+(l+n|0)|0;if(!b){j[a+28>>2]=0;return 0}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){b=~~c}else{b=-2147483648}j[a+28>>2]=b;e=0}return e}function tD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;g=j[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=j[67248]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|3;j[f+4>>2]=j[f+4>>2]|1;dp(b,c);break b}c=0;if(j[67134]==(f|0)){d=d+j[67131]|0;if(d>>>0<=b>>>0){break a}j[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;j[c+4>>2]=b|1;j[67131]=b;j[67134]=c;break b}if(j[67133]==(f|0)){d=d+j[67130]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|1;d=a+d|0;j[d>>2]=c;j[d+4>>2]=j[d+4>>2]&-2;break c}j[a+4>>2]=d|g&1|2;b=a+d|0;j[b+4>>2]=j[b+4>>2]|1;c=0;b=0}j[67133]=b;j[67130]=c;break b}e=j[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}k=h-b|0;d:{if(e>>>0<=255){c=j[f+8>>2];e=e>>>3|0;d=j[f+12>>2];if((d|0)==(c|0)){m=268512,n=j[67128]&mP(-2,e),j[m>>2]=n;break d}j[c+12>>2]=d;j[d+8>>2]=c;break d}i=j[f+24>>2];d=j[f+12>>2];e:{if((f|0)!=(d|0)){c=j[f+8>>2];j[c+12>>2]=d;j[d+8>>2]=c;break e}f:{c=f+20|0;e=j[c>>2];if(e){break f}c=f+16|0;e=j[c>>2];if(e){break f}d=0;break e}while(1){l=c;d=e;c=d+20|0;e=j[c>>2];if(e){continue}c=d+16|0;e=j[d+16>>2];if(e){continue}break}j[l>>2]=0}if(!i){break d}c=j[f+28>>2];e=(c<<2)+268816|0;g:{if(j[e>>2]==(f|0)){j[e>>2]=d;if(d){break g}m=268516,n=j[67129]&mP(-2,c),j[m>>2]=n;break d}j[i+(j[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}j[d+24>>2]=i;c=j[f+16>>2];if(c){j[d+16>>2]=c;j[c+24>>2]=d}c=j[f+20>>2];if(!c){break d}j[d+20>>2]=c;j[c+24>>2]=d}if(k>>>0<=15){j[a+4>>2]=g&1|h|2;b=a+h|0;j[b+4>>2]=j[b+4>>2]|1;break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=k|3;c=a+h|0;j[c+4>>2]=j[c+4>>2]|1;dp(b,k)}c=a}return c}function oF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{if(!(!a|!b)){_E(a,b);d=Fl(a);c=j[a+376>>2];if((c|0)!=1229209940){while(1){e=j[a+208>>2];if(e&4){j[a+208>>2]=e|8}c:{d:{if((c|0)!=1229278788){if((c|0)!=1229472850){break d}YE(a,b,d);break c}WE(a,d);break c}e=_p(a,c);if(e){Cl(a,b,d,e);if((c|0)!=1347179589){break c}j[a+208>>2]=j[a+208>>2]|2;break c}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break o}if((c|0)!=1649100612){break e}OE(a,b,d);break c}if((c|0)==1665684045){break n}if((c|0)!=1732332865){break e}VE(a,b,d);break c}if((c|0)<=1767135347){if((c|0)==1749635924){break m}if((c|0)!=1766015824){break e}RE(a,b,d);break c}if((c|0)==1767135348){break f}if((c|0)==1866876531){break l}if((c|0)!=1883455820){break e}KE(a,b,d);break c}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break j}if((c|0)!=1933723988){break e}UE(a,b,d);break c}if((c|0)==1933787468){break k}if((c|0)!=1934642260){break e}QE(a,b,d);break c}if((c|0)<=1950960964){if((c|0)==1934772034){break i}if((c|0)!=1950701684){break e}HE(a,b,d);break c}if((c|0)==1950960965){break h}if((c|0)==1951551059){break g}if((c|0)!=2052348020){break e}FE(a,b,d);break c}XE(a,b,d);break c}TE(a,b,d);break c}NE(a,b,d);break c}LE(a,b,d);break c}JE(a,b,d);break c}ME(a,b,d);break c}SE(a,b,d);break c}IE(a,b,d);break c}PE(a,b,d);break c}EE(a,b,d);break c}Cl(a,b,d,0)}d=Fl(a);c=j[a+376>>2];if((c|0)!=1229209940){continue}break}}c=j[a+208>>2];if(!(c&1)){break b}if(k[a+435|0]==3?!(c&2):0){break a}e=a;if(c&8){Je(a,210300);c=j[a+208>>2]}j[e+208>>2]=c|4;c=a;e=_p(a,1229209940);if(e){Cl(a,b,d,e);d=0}j[c+408>>2]=d}return}hf(a,210250);z()}hf(a,210275);z()}function bB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=oe-32|0;oe=e;c=Xe(1,824);a:{if(!c){c=0;Be(0);break a}j[c+800>>2]=0;j[c+804>>2]=0;j[c+792>>2]=-1;j[c+796>>2]=-1;j[c+784>>2]=-1;j[c+768>>2]=-1;j[c+12>>2]=128;j[c>>2]=a;d=c+808|0;j[d>>2]=0;j[d+4>>2]=0;Oe(e+16|0,0,16);j[e+28>>2]=62;g=j[e+28>>2];j[e+8>>2]=j[e+24>>2];j[e+12>>2]=g;j[e+20>>2]=63;j[e+16>>2]=64;g=j[e+20>>2];j[e>>2]=j[e+16>>2];j[e+4>>2]=g;b:{o=c+16|0;c:{if((Lt(a,o,e)|0)<=-1){ve(2841,0);break c}if((qo(c)|0)>-1){break b}pj(o);a=j[c+772>>2];if(a){Ih(a)}a=j[c+776>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break c}a=j[c>>2];qe[j[a+16>>2]](a)|0}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}g=c+800|0;m=c+792|0;d:{e:{i=HO(o);if(j[i+8>>2]<1){break e}while(1){n=Uf(j[j[i>>2]+(k<<2)>>2]);a=xg(n,61);f:{if(!a){l=Le(n)+n|0;break f}h[a|0]=0;l=a+1|0}a=m;g:{h:{if(!Me(n,2872)){break h}if(!Me(n,2882)){f=1;a=d;break h}if(Me(n,2893)){break g}f=0;a=g}p=a,q=kp(l,0,-1,-1),j[p>>2]=q;j[a+4>>2]=pe}if(n){qe[j[57975]](n);j[57976]=j[57976]-1}k=k+1|0;if((k|0)>2]){continue}break}if(!f){break e}l=j[m>>2];f=l+j[d>>2]|0;d=j[d+4>>2]+j[m+4>>2]|0;a=g;j[a>>2]=f;j[a+4>>2]=f>>>0>>0?d+1|0:d;break d}f=j[g>>2];l=j[m>>2];a=j[g+4>>2]-(j[m+4>>2]+(f>>>0>>0)|0)|0;j[d>>2]=f-l;j[d+4>>2]=a}l=Gi(o,-1);a=j[m>>2];i=j[m+4>>2];d=j[g>>2];k=j[g+4>>2];f=pe;if(!((((k|0)<0?1:(k|0)<=0?d>>>0<1:0)?(i|0)<-1?1:(i|0)<=-1:0)|((f|0)<(k|0)?1:(f|0)<=(k|0)?d>>>0>l>>>0:0)|(!(!(d|k)|((i|0)<(k|0)?1:(i|0)<=(k|0)?a>>>0>>0:0))|((f|0)<(i|0)?1:(f|0)<=(i|0)?a>>>0>=l>>>0:0)))){if((i|0)<-1?1:(i|0)<=-1){j[m>>2]=0;j[m+4>>2]=0}if(!(d|k)){j[g>>2]=l;j[g+4>>2]=f}j[c+784>>2]=1}j[c+4>>2]=b}oe=e+32|0;return c|0}function nw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=j[b+28>>2];if(!d){return 1}e=1;a:{if(j[d+8>>2]<1){break a}c=j[d>>2];if((c|0)<64|(c|0)>j[d+4>>2]){break a}c=j[d+3656>>2];g=Ee(a,0,112);a=bf(1,136);j[g+4>>2]=b;j[g+104>>2]=a;e=j[d+8>>2]-1|0;j[a+44>>2]=e?32-s(e)|0:0;e=bf(1,4);j[a+12>>2]=e;f=bf(1,4);j[a+16>>2]=f;h=e;e=bf(1,20);j[h>>2]=e;i=f,k=bf(1,20),j[i>>2]=k;ir(e,j[d>>2]>>c);ir(j[j[a+16>>2]>>2],j[d+4>>2]>>c);c=j[d>>2];j[a+4>>2]=(c?32-s(c)|0:0)-7;c=j[d+4>>2];j[a+8>>2]=(c?32-s(c)|0:0)-7;b:{if(j[d+2848>>2]){break b}i=d,k=bf(j[d+24>>2],56),j[i+2848>>2]=k;c=j[d+24>>2];if((c|0)<1){break b}h=j[d+1824>>2];c:{if(!h){break c}e=d+1824|0;f=0;while(1){if(aO(j[d+2848>>2]+p(f,56)|0,h)){c=j[d+24>>2];break c}rk(j[e>>2]);j[e>>2]=0;c=j[d+24>>2];f=f+1|0;if((c|0)<=(f|0)){break b}e=((f<<2)+d|0)+1824|0;h=j[e>>2];if(h){continue}break}}if((c|0)>=1){a=0;while(1){b=((a<<2)+d|0)+1824|0;e=j[b>>2];if(e){rk(e);j[b>>2]=0;c=j[d+24>>2]}a=a+1|0;if((c|0)>(a|0)){continue}break}}wg(g);return-1}e=j[d+4>>2];j[g+16>>2]=e;b=j[b+4>>2];c=b<<2;i=g,k=Te(c),j[i+8>>2]=k;i=g,k=Te(c),j[i+12>>2]=k;if((b|0)>=1){c=0;while(1){f=bf(e,4);j[j[g+8>>2]+(c<<2)>>2]=f;c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[g+36>>2]=0;j[g+40>>2]=0;b=j[d+4>>2]/2|0;j[g+20>>2]=b;j[g+48>>2]=b;i=a,k=bf(j[d+16>>2],4),j[i+48>>2]=k;i=a,k=bf(j[d+20>>2],4),j[i+52>>2]=k;c=0;if(j[d+16>>2]>0){while(1){b=c<<2;e=b+d|0;e=qe[j[j[(j[e+800>>2]<<2)+3816>>2]+8>>2]](g,j[e+1056>>2])|0;j[b+j[a+48>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}e=0;if(j[d+20>>2]<=0){break a}c=0;while(1){b=c<<2;f=b+d|0;f=qe[j[j[(j[f+1312>>2]<<2)+3824>>2]+8>>2]](g,j[f+1568>>2])|0;j[b+j[a+52>>2]>>2]=f;c=c+1|0;if((c|0)>2]){continue}break}}return e}function cm(a,b,c,d,e){var f=0,g=0,l=0,m=0,n=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;f=oe-80|0;oe=f;a:{if(j[b+72>>2]!=j[a+16>>2]){j[f+76>>2]=6;break a}if((c|0)!=(e|0)){j[f+76>>2]=19;break a}u=b+108|0;b:{if(!d){e=0;d=0;break b}e=j[d+4>>2];d=j[d>>2]}v=j[a+8>>2];Ug(u,f+56|0);r=d+j[f+56>>2]|0;m=r&-64;j[f+56>>2]=m;s=(d+j[f+64>>2]|0)+63&-64;j[f+64>>2]=s;n=j[f+60>>2]+e&-64;j[f+60>>2]=n;t=(j[f+68>>2]+e|0)+63|0;l=t&-64;j[f+68>>2]=l;x=l-n|0;l=x>>>6|0;w=(c|0)==4?p(l,3):l;z=s-m|0;s=z>>>6|0;g=p(s,3);o=(c|0)==3;y=o?g:s;if((w|y)&268402688){j[f+76>>2]=98;break a}if(h[j[b+156>>2]+4|0]&1){q=j[b+88>>2];if(q){qe[j[v+8>>2]](v,q)}j[b+88>>2]=0;q=j[b+156>>2];j[q+4>>2]=j[q+4>>2]&-2}g=o?g+3&536870908:s;A=b,B=He(v,p(g,w),f+76|0),j[A+88>>2]=B;if(j[f+76>>2]){break a}o=j[b+156>>2];j[o+4>>2]=j[o+4>>2]|1;j[b+104>>2]=t>>6;j[b+100>>2]=r>>6;j[b+72>>2]=1651078259;h[b+94|0]=2;i[b+92>>1]=256;j[b+80>>2]=y;j[b+84>>2]=g;j[b+76>>2]=w;n=e-n|0;m=d-m|0;t=n|m;if(t){Tf(u,m,n)}j[f+16>>2]=1;j[f+12>>2]=u;j[f+8>>2]=b+76;o=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0;j[f+76>>2]=o;c:{if(!o){d:{if((c|0)==3){if(!x){break d}r=j[b+88>>2];e=l;while(1){if(z){a=r+y|0;d=s;while(1){d=d-1|0;q=k[r+d|0];h[a-1|0]=q;h[a-2|0]=q;a=a-3|0;h[a|0]=q;if(d){continue}break}}r=g+r|0;e=e-1|0;if(e){continue}break}}if(!(!x|(c|0)!=4)){d=j[b+88>>2];a=d+p(g,w-l|0)|0;while(1){c=Ae(Ae(Ae(d,a,g)+g|0,a,g)+g|0,a,g);a=a+g|0;d=c+g|0;l=l-1|0;if(l){continue}break}}j[f+76>>2]=0;if(t){Tf(u,0-m|0,0-n|0)}if(o){break c}break a}j[f+76>>2]=0;if(!t){break a}Tf(u,0-m|0,0-n|0);break a}if(!t){break c}Tf(u,0-m|0,0-n|0)}a=j[b+88>>2];if(a){qe[j[v+8>>2]](v,a)}j[b+88>>2]=0;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2}oe=f+80|0;return j[f+76>>2]}function SI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=oe-48|0;oe=d;k=j[b+28>>2];j[d+20>>2]=j[b+8>>2];r=d,s=sf(b,d+4|0),j[r+8>>2]=s;c=j[d+4>>2];a:{if(c){break a}c=$e(b,199040,d+8|0);j[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(j[d+8>>2]==1330926671){e=l[d+12>>1];break b}e=j[d+20>>2];c=Fe(b,e+12|0);j[d+44>>2]=c;if(c){break a}c=2;if(!l[d+12>>1]){break a}m=e+28|0;e=0;while(1){c:{c=$e(b,199072,d+24|0);j[d+44>>2]=c;if(c){break c}c=j[b+4>>2];f=j[d+32>>2];d:{if(c>>>0>>0){break d}h=j[d+36>>2];n=h>>>0<=c-f>>>0;c=j[d+24>>2];if((c|0)!=1752003704?!(n|(c|0)==1986884728):0){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}o=1;break d}if((c|0)!=1651008868?(c|0)!=1751474532:0){break d}if(h>>>0<54){c=142;break a}c=Fe(b,f+12|0);j[d+44>>2]=c;if(c){break a}sf(b,d+44|0);c=j[d+44>>2];if(c){break a}c=Fe(b,(g<<4)+m|0);j[d+44>>2]=c;p=1;if(!c){break d}break a}q=1}g=g+1|0;if(g>>>0>1]){continue}}break}i[d+12>>1]=e;c=2;if(!(e&65535)){break a}if(!p){c=142;if(!o|!q){break a}}j[d+4>>2]=0;c=j[d+8>>2]}j[a+148>>2]=c;i[a+152>>1]=e;r=a,s=xe(k,16,0,e&65535,0,d+4|0),j[r+156>>2]=s;c=j[d+4>>2];if(c){break a}c=Fe(b,j[d+20>>2]+12|0);j[d+4>>2]=c;if(c){break a}c=_e(b,l[a+152>>1]<<4);j[d+4>>2]=c;if(c){break a}if(l[d+12>>1]){c=j[a+156>>2];a=0;while(1){r=c,s=Ff(b),j[r>>2]=s;r=c,s=Ff(b),j[r+4>>2]=s;r=c,s=Ff(b),j[r+8>>2]=s;e=Ff(b);j[c+12>>2]=e;f=j[b+4>>2];g=j[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=j[c>>2];if((f|0)!=1752003704?(f|0)!=1986884728:0){break f}j[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}Ve(b);c=j[d+4>>2]}oe=d+48|0;return c|0}function ve(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;c=oe-1056|0;oe=c;a:{if(!a){break a}j[65586]=1;Re(262348,a,128);j[c+1052>>2]=b;j[65619]=0;d=k[a|0];b:{if(!d){break b}while(1){b=a+1|0;c:{if((d|0)!=37){a=b;break c}while(1){d=b;b=d+1|0;g=k[d|0];if((g|0)==46|(g-48&255)>>>0<10){continue}break}a=b;d:{e:{f:{g:{h:{i:{j:{k:{g=g<<24>>24;switch(g-88|0){case 24:break g;case 14:break h;case 0:case 11:case 12:case 17:case 23:case 29:case 32:break i;case 20:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 15:case 16:case 18:case 19:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break d;case 27:break f;default:break k}}if(g){break e}a=d;break d}a=d+2|0;l:{m:{d=h[d+1|0];switch(d-88|0){case 0:case 12:case 17:case 29:case 32:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break d;default:break m}}if(!d){break e}break d}b=j[c+1052>>2];j[c+1052>>2]=b+4;b=j[b>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=b;break d}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2]+7&-8;j[c+1052>>2]=a+8;i=o[a>>3];f=e+1|0;j[65619]=f;o[(e<<7)+262480>>3]=i;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];Re((e<<7)+262480|0,a?a:64099,128);f=j[65619]+1|0;j[65619]=f}a=b}e=f;if((e|0)>4){break b}}d=k[a|0];if(d){continue}break}}if(ZC()>>>0>2){break a}l=c,m=Zo(c+16|0),j[l>>2]=m;XC(c)}oe=c+1056|0;return-1}function ZJ(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(m[b+160>>2]>>0){Pe(b,8)}e=k[a+3|0]|k[a+2|0]<<8;if(m[b+160>>2]>>0){if(j[b+164>>2]){Pe(b,8)}e=j[b+160>>2]-a|0}if(e>>>0<=15){Pe(b,8)}c=k[a+7|0];d=c|k[a+6|0]<<8;if(!(!(c&1)|m[b+164>>2]<2)){Pe(b,8)}f=d&65534;if((f<<2)+16>>>0>e>>>0){Pe(b,8)}h=d>>>1|0;a:{if(m[b+164>>2]<2){break a}i=k[a+12|0];d=k[a+11|0]|k[a+10|0]<<8;c=k[a+9|0];l=c|k[a+8|0]<<8;g=c;c=k[a+13|0];if((g|c)&1){Pe(b,8)}g=1<>>1|0;if(!((g|0)!=(d|0)|d>>>0>h>>>0|(l&65534)>>>0>>0)){if((d+((c|i<<8)>>>1|0)|0)==(h|0)){break a}}Pe(b,8)}n=a+14|0;b:{if(m[b+164>>2]<2){break b}c=(f+n|0)-2|0;if((k[c|0]<<8|k[c+1|0])==65535){break b}Pe(b,8)}if(!h){return 0}o=(a+f|0)+16|0;p=f+o|0;g=f+p|0;s=f+g|0;u=a+e|0;t=h-1|0;d=0;c=0;while(1){a=c;e=d;v=k[g|0]<<8;f=k[g+1|0];l=k[p|0];i=k[p+1|0];c=k[o+1|0]|k[o|0]<<8;d=k[n+1|0]|k[n|0]<<8;if(c>>>0>d>>>0){Pe(b,8)}f=f|v;c:{if(!q|c>>>0>e>>>0){break c}if(j[b+164>>2]){Pe(b,8);break c}if(!(d>>>0>=e>>>0?a>>>0<=c>>>0:0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+g|0;e:{f:{if(j[b+164>>2]){if(a>>>0>>0|((d-c<<1)+a|0)+2>>>0>u>>>0){break f}break e}if((d|0)==65535?!((q|0)!=(t|0)|(c|0)!=65535):0){break e}if(a>>>0>>0){break f}if(m[b+160>>2]>=((d-c<<1)+a|0)+2>>>0){break e}}Pe(b,8)}if(!j[b+164>>2]|c>>>0>=d>>>0){break d}l=i|l<<8;e=c;while(1){i=k[a+1|0]|k[a|0]<<8;if(!(!i|m[b+172>>2]>(l+i&65535)>>>0)){Pe(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((q|0)!=(t|0)|m[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}Pe(b,8)}g=g+2|0;p=p+2|0;n=n+2|0;o=o+2|0;q=q+1|0;if((q|0)!=(h|0)){continue}break}return r|0}function vA(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0;a:{b:{if((a|0)<=1431918168){c:{switch(a-842094158|0){case 0:case 11:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break c}}if((a|0)==825382478){break a}if((a|0)!=844715353){break b}break a}if((a|0)==1431918169|(a|0)==1448433993|(a|0)==1498831189){break a}}ve(74108,0);return 0}d=Xe(1,48);if(!d){Be(0);return 0}j[d+12>>2]=c;j[d+8>>2]=b;j[d+4>>2]=0;j[d>>2]=a;f=(b+1|0)/2|0;g=(c+1|0)/2|0;h=p(f,g);k=p(b,c);d:{e:{f:{g:{if((a|0)<=1431918168){h:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:break f;case 11:break g;default:break h}}if((a|0)==825382478){break f}if((a|0)!=844715353){break d}break e}if((a|0)==1431918169|(a|0)==1498831189){break e}if((a|0)!=1448433993){break d}}e=(h<<1)+k|0;break d}e=(h<<1)+k|0;break d}e=p(c,f)<<2}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}j[d+16>>2]=e;if(!e){kf(j[d+40>>2]);kf(j[d+44>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Be(0);return 0}i:{j:{k:{l:{if((a|0)<=1431918168){m:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break k;case 11:break l;default:break m}}if((a|0)==825382478){break k}if((a|0)!=844715353){break j}break i}if((a|0)==1431918169|(a|0)==1498831189){break i}if((a|0)!=1448433993){break j}}j[d+28>>2]=e;i[d+20>>1]=b;a=b&65535;b=e+p(a,c)|0;j[d+32>>2]=b;a=a+1>>>1|0;i[d+24>>1]=a;i[d+22>>1]=a;j[d+36>>2]=b+p(a,g);return d}j[d+28>>2]=e;i[d+20>>1]=b;i[d+22>>1]=b+1&65534;j[d+32>>2]=e+p(b&65535,c)}return d}j[d+28>>2]=e;i[d+20>>1]=f<<2;return d}function hr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=oe-16|0;oe=i;g=j[b>>2];e=g<<1;x=a,y=xe(d,4,0,e,0,i+12|0),j[x+12>>2]=y;a:{if(j[i+12>>2]){break a}x=a,y=xe(d,28,0,g,0,i+12|0),j[x+8>>2]=y;if(j[i+12>>2]){break a}x=a,y=xe(d,16,0,e|1,0,i+12|0),j[x+24>>2]=y;if(j[i+12>>2]){break a}j[a>>2]=g;j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+16>>2]=j[a+12>>2]+(g<<2);if(g){d=j[a+8>>2];b=j[b+8>>2];f=g;while(1){j[d>>2]=j[b>>2];j[d+4>>2]=j[b+4>>2];j[d+16>>2]=j[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;if(f){continue}break}}e=0;b:{if(!c){break b}l=j[c>>2];m=j[c+8>>2];j[a+32>>2]=c;if(!l){break b}while(1){s=j[m>>2];if(s){o=j[m+8>>2];b=0;n=0;t=0;while(1){if(!b){t=k[o|0];o=o+1|0;b=128}c:{if(!(b&t)|g>>>0<=n>>>0){break c}h=j[a+8>>2]+p(n,28)|0;c=j[h+16>>2];if(c&4){break c}j[h+16>>2]=c|4;c=j[a+16>>2];j[h+20>>2]=0;d:{if(!e){break d}u=j[h>>2];w=u+j[h+4>>2]|0;f=e;d=c;while(1){q=j[d>>2];v=j[q>>2];if(!((v|0)>(w|0)|(j[q+4>>2]+v|0)<(u|0))){j[h+20>>2]=q;break d}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;j[a+4>>2]=d;j[c+(e<<2)>>2]=h;e=d}b=b>>1;n=n+1|0;if((s|0)!=(n|0)){continue}break}}m=m+16|0;l=l-1|0;if(l){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=j[a+8>>2]+p(r,28)|0;b=j[f+16>>2];e:{if(b&4){break e}j[f+16>>2]=b|4;c=j[a+16>>2];j[f+20>>2]=0;f:{if(!e){break f}m=j[f>>2];n=m+j[f+4>>2]|0;b=e;d=c;while(1){h=j[d>>2];l=j[h>>2];if(!((l|0)>(n|0)|(m|0)>(l+j[h+4>>2]|0))){j[f+20>>2]=h;break f}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;j[a+4>>2]=b;j[c+(e<<2)>>2]=f;e=b}r=r+1|0;if((r|0)!=(g|0)){continue}break}}oe=i+16|0;return j[i+12>>2]}function px(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=Hh(j[a+60>>2],b,c);a:{if(b){break a}b:{if(!j[a+36>>2]){j[d>>2]=1;break b}b=j[a>>2];r=qe[j[b+4>>2]](b,0,0,1)|0;f=pe;o=j[a+48>>2];i=j[a+52>>2];t=j[a+64>>2];c:{if((t|0)>=1){u=j[a+68>>2];b=0;while(1){e=p(b,20);c=e+u|0;d:{if(!j[c>>2]){break d}d=f;n=j[a+40>>2];g=p(k[a+14|0],l[a+12>>1]>>>3&31);v=e+u|0;q=p(g,j[v+4>>2]);s=n+q|0;e=j[a+44>>2];h=s>>>0>>0?e+1|0:e;q=h;if((d|0)<(h|0)?1:(h|0)>=(d|0)?s>>>0>r>>>0:0){break d}d=p(g,j[v+8>>2]+1|0);g=d+n|0;e=d>>>0>g>>>0?e+1|0:e;d=g;if((e|0)>(f|0)?1:(e|0)>=(f|0)?d>>>0>r>>>0:0){break c}}b=b+1|0;if((t|0)>(b|0)){continue}break}}c=0;d=o;e=i}n=j[a+20>>2];g=n;e:{h=j[a>>2];b=r;o=d-b|0;f=e-(f+(b>>>0>d>>>0)|0)|0;b=g>>31;b=qe[j[h+8>>2]](h,j[a+56>>2],1,((b|0)>(f|0)?1:(f|0)<=(b|0)?g>>>0>o>>>0:0)?o:g)|0;if((b|0)<1){break e}if((ii(j[a+60>>2],j[a+56>>2],b)|0)>=0){break e}return-1}f:{if(!c){break f}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)>>>0>>0;b=pe;if((b|0)<(e|0)?1:(e|0)>=(b|0)?d:0){break f}g:{h:{i:{b=j[c+16>>2];switch(b|0){case 1:break g;case 0:break h;default:break i}}j[c+16>>2]=b-1}a=j[a>>2];qe[j[a+4>>2]](a,s,q,0)|0;break b}j[c>>2]=0}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)|0;c=pe;b=j[a+52>>2];if((b|0)>(c|0)?1:(c|0)<=(b|0)?d>>>0>2]:0){break b}i=j[a+36>>2];if((i|0)==1){j[a+36>>2]=0;Ko(j[a+60>>2]);break b}b=-1;e=j[a+64>>2];if((e|0)>=1){d=j[a+68>>2];c=0;while(1){f=d+p(c,20)|0;j[f>>2]=1;j[f+16>>2]=j[f+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=(i|0)>0?i-1|0:-1;c=j[a>>2];qe[j[c+4>>2]](c,j[a+40>>2],j[a+44>>2],0)|0;if(pe>>31<0){break a}}b=0}return b|0}function jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,y)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Wv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,z)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,A)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function nE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-1056|0;oe=i;d=i+1048|0;j[d>>2]=0;j[d+4>>2]=0;d=i+1040|0;j[d>>2]=0;j[d+4>>2]=0;j[i+1032>>2]=0;j[i+1036>>2]=0;j[i+1024>>2]=0;j[i+1028>>2]=0;a:{b:{c:{d:{c=k[b|0];e:{if(!c){l=-1;d=1;break e}while(1){if(!k[a+f|0]){break b}d=c&255;f=f+1|0;j[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;j[c>>2]=j[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}m=1;c=1;while(1){g=k[(c+l|0)+b|0];h=k[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(m|0)){e=e+m|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){m=d-l|0;e=d;c=1;break f}l=e;e=e+1|0;m=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=m;break c}d=0;h=1;c=1;while(1){o=k[(c+g|0)+b|0];n=k[b+e|0];g:{if((o|0)==(n|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(n>>>0>o>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=m;e=h}c=d;d=g+1>>>0>l+1>>>0;h=d?e:c;n=d?g:l;o=n+1|0;h:{if(Cg(b,h+b|0,o)){d=(n^-1)+f|0;h=(d>>>0>>0?n:d)+1|0;p=f-h|0;m=0;break h}p=f-h|0;m=p}r=f-1|0;q=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=Mh(a,0,q);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+q|0}e=k[d+r|0];c=f;j:{k:{if(!(j[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-j[(e<<2)+i>>2]|0;if(c){c=m?g?c>>>0>>0?p:c:c:c;break k}l:{c=o;e=c>>>0>g>>>0?c:g;l=k[e+b|0];if(l){while(1){if(k[d+e|0]!=(l&255)){break l}e=e+1|0;l=k[e+b|0];if(l){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(k[c+b|0]==k[d+c|0]){continue}break}c=h;g=m;break j}c=e-n|0}g=0}d=d+c|0;continue}}d=0}oe=i+1056|0;return d}function Mj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=oe-16|0;oe=h;a:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);f=-1;break a}if(j[a+8>>2]!=1){f=ve(73721,0);break a}if(!b){b=h;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+12>>2];j[b+12>>2]=j[a+16>>2]}f=j[a+44>>2];if(f){e=j[a+36>>2];b:{if(j[a+72>>2]!=j[e+352>>2]){break b}g=j[e+340>>2];if(!g){break b}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;f=-1;if((i|0)<0){break a}f=j[a+44>>2]}f=tA(f,b,c,d);break a}if(j[a+40>>2]){f=j[b+4>>2];j[a+56>>2]=j[b>>2];j[a+60>>2]=f;g=j[b+12>>2];f=a- -64|0;j[f>>2]=j[b+8>>2];j[f+4>>2]=g;e=j[b>>2];f=j[a+52>>2];g=j[a+48>>2]+p(f,j[b+4>>2])|0;a=j[a+4>>2];c:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break c}b=(a|0)==1431918169?2:1;break c}b=a&255}j[c>>2]=g+p(b,e);j[d>>2]=f;f=0;break a}d:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break d}g=j[e+340>>2];if(!g){break d}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break d}f=-1;break a}f=qe[j[e+60>>2]](e,a,b,c,d)|0}oe=h+16|0;return f}function fN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,n=0;l=oe-16|0;oe=l;d=j[a+656>>2];j[l+12>>2]=0;a:{if(!d){break a}f=j[d+2960>>2];c=0;b:{if(f){break b}f=He(j[a+100>>2],32,l+12|0);c=j[l+12>>2];if(c){break a}a=0;n=f;c=j[d+1324>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break c}g=j[j[d+1316>>2]+(e<<2)>>2];break c}e=j[d+2956>>2];g=0;if(!e){break c}g=qe[j[e+20>>2]](c)|0}j[n>>2]=g;e=j[d+1328>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break d}a=j[j[d+1316>>2]+(c<<2)>>2];break d}c=j[d+2956>>2];if(!c){break d}a=qe[j[c+20>>2]](e)|0}j[f+4>>2]=a;a=0;n=f;c=j[d+1336>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break e}g=j[j[d+1316>>2]+(e<<2)>>2];break e}e=j[d+2956>>2];g=0;if(!e){break e}g=qe[j[e+20>>2]](c)|0}j[n+8>>2]=g;e=j[d+1340>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break f}a=j[j[d+1316>>2]+(c<<2)>>2];break f}c=j[d+2956>>2];if(!c){break f}a=qe[j[c+20>>2]](e)|0}j[f+12>>2]=a;c=0;e=j[d+1344>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e-391|0;if(a>>>0>=m[d+1312>>2]){break g}c=j[j[d+1316>>2]+(a<<2)>>2];break g}a=j[d+2956>>2];if(!a){break g}c=qe[j[a+20>>2]](e)|0}j[f+16>>2]=c;j[f+20>>2]=j[d+1352>>2];h[f+24|0]=k[d+1348|0];i[f+26>>1]=j[d+1356>>2];i[f+28>>1]=j[d+1360>>2];j[d+2960>>2]=f;c=j[l+12>>2]}a=j[f+4>>2];j[b>>2]=j[f>>2];j[b+4>>2]=a;a=j[f+28>>2];j[b+24>>2]=j[f+24>>2];j[b+28>>2]=a;a=j[f+20>>2];j[b+16>>2]=j[f+16>>2];j[b+20>>2]=a;a=j[f+12>>2];j[b+8>>2]=j[f+8>>2];j[b+12>>2]=a}oe=l+16|0;return c|0}function wg(a){var b=0,c=0,d=0,e=0,f=0;if(a){f=j[a+4>>2];b=0;a:{if(!f){break a}b=j[f+28>>2]}c=j[a+104>>2];if(c){d=j[c>>2];if(d){lL(d);ze(j[c>>2])}d=j[c+12>>2];if(d){lm(j[d>>2]);ze(j[j[c+12>>2]>>2]);ze(j[c+12>>2])}d=j[c+16>>2];if(d){lm(j[d>>2]);ze(j[j[c+16>>2]>>2]);ze(j[c+16>>2])}e=j[c+48>>2];if(e){b:{if(!b){break b}d=1;if(j[b+16>>2]<1){break b}qe[j[j[(j[b+800>>2]<<2)+3816>>2]+16>>2]](j[e>>2]);if(j[b+16>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+800>>2]<<2)+3816>>2]+16>>2]](j[e+j[c+48>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+48>>2]}ze(e)}e=j[c+52>>2];if(e){c:{if(!b){break c}d=1;if(j[b+20>>2]<1){break c}qe[j[j[(j[b+1312>>2]<<2)+3824>>2]+16>>2]](j[e>>2]);if(j[b+20>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+1312>>2]<<2)+3824>>2]+16>>2]](j[e+j[c+52>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+52>>2]}ze(e)}e=j[c+56>>2];if(e){d:{if(!b){break d}d=1;if(j[b+28>>2]<1){break d}Xq(e);if(j[b+28>>2]>=2){while(1){Xq(j[c+56>>2]+p(d,52)|0);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+56>>2]}ze(e)}b=j[c+60>>2];if(b){Sh(b)}j[c+80>>2]=0;j[c+84>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;j[c+112>>2]=0;j[c+116>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0;j[c+96>>2]=0;j[c+100>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;uq(c+20|0);uq(c+32|0)}d=j[a+8>>2];e:{if(!d){break e}f:{if(!f){break f}e=j[f+4>>2];if((e|0)<1){break f}b=0;while(1){d=j[(b<<2)+d>>2];if(d){ze(d);e=j[f+4>>2]}b=b+1|0;if((e|0)>(b|0)){d=j[a+8>>2];continue}break}d=j[a+8>>2]}ze(d);b=j[a+12>>2];if(!b){break e}ze(b)}if(c){b=j[c+64>>2];if(b){ze(b)}b=j[c+68>>2];if(b){ze(b)}b=j[c+72>>2];if(b){ze(b)}ze(c)}Ee(a,0,112)}}function tJ(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,n=0,o=0,p=0,q=0;d=a+10|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+6|0]|k[a+7|0]<<8|(k[a+8|0]<<16|k[a+9|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+2|0]|k[a+3|0]<<8|(k[a+4|0]<<16|k[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h-10>>>0)/11>>>0>=n>>>0?!(h>>>0<10|j[b+160>>2]-a>>>0>>0):0)){Pe(b,8)}if(n){o=a+4|0;c=1;while(1){p=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){Pe(b,8)}if(c>>>0>p>>>0){Pe(b,8)}a:{if(!e){break a}a=e+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);l=i+k[a+3|0]|0;if(l>>>0>=1114112){Pe(b,8)}if(e>>>0>i>>>0){Pe(b,8)}a=a+4|0;e=l+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break d}if(!c){break c}}e=0;g=0;while(1){i=k[a+3|0];l=k[a+4|0];f=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);if(f>>>0>=1114112){Pe(b,8)}if(e>>>0>f>>>0){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(l|i<<8)>>>0)){Pe(b,16)}a=a+5|0;e=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+11|0;c=p+1|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}}return 0}function kk(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=e>>8;if((d|0)==(f|0)){c=b-j[a+172>>2]|0;b=j[a+168>>2];b=((b|0)<(s|0)?b:s)-j[a+164>>2]|0;d=(b|0)>-1?b:-1;if(!((c|0)==j[a+160>>2]?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=c;j[a+156>>2]=d}j[a+196>>2]=c>>>0>2]?(d|0)>=j[a+180>>2]:1;return}v=e&255;i=c&255;r=c>>8;if((r|0)==(s|0)){b=f-d|0;j[a+192>>2]=b+j[a+192>>2];j[a+188>>2]=j[a+188>>2]+p(b,i+v|0);return}l=f-d|0;g=a;k=e-c|0;a:{if((k|0)>-1){w=256;u=1;c=256-i|0;break a}k=0-k|0;u=-1;c=i}e=p(c,l);c=(e|0)/(k|0)|0;n=e-p(c,k)|0;h=c+(n>>31)|0;l=h+j[a+192>>2]|0;j[g+192>>2]=l;o=j[a+188>>2]+p(h,i|w)|0;j[a+188>>2]=o;c=j[a+168>>2];e=r+u|0;c=((c|0)<(e|0)?c:e)-j[a+164>>2]|0;g=(c|0)>-1?c:-1;i=b-j[a+172>>2]|0;if(!((i|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;r=j[a+184>>2];c=r>>>0>i>>>0?j[a+180>>2]<=(g|0):c;j[a+196>>2]=c;d=d+h|0;if((e|0)!=(s|0)){q=(f+h|0)-d<<8;h=(q|0)/(k|0)|0;q=q-p(h,k)|0;t=q>>31;q=(t&k)+q|0;t=h+t|0;h=n-((n|0)<0?0:k)|0;while(1){h=h+q|0;n=((h^-1)>>>31|0)+t|0;l=n+l|0;j[a+192>>2]=l;o=(n<<8)+o|0;j[a+188>>2]=o;x=g;g=j[a+168>>2];e=e+u|0;g=((e|0)>(g|0)?g:e)-j[a+164>>2]|0;g=(g|0)>-1?g:-1;y=i;i=b-j[a+172>>2]|0;if(!((y|0)==(i|0)?(x|0)==(g|0):0)){if(!c){Og(a);r=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;h=h-((h|0)<0?0:k)|0;d=d+n|0;c=i>>>0>>0?(g|0)>=j[a+180>>2]:c;j[a+196>>2]=c;if((e|0)!=(s|0)){continue}break}}b=f-d|0;j[a+192>>2]=b+l;j[a+188>>2]=p(b,(v|256)-w|0)+o}function Bl(a){var b=0,c=0,d=0,e=0;bF(a);a:{if(k[a+432|0]){b=j[a+352>>2];c=j[a+216>>2];j[a+356>>2]=c&2?b:b+7>>>3|0;e=j[a+348>>2];b=k[a+433|0];d=k[b+212385|0];j[a+368>>2]=((e+d|0)+(k[b+212378|0]^-1)>>>0)/(d>>>0);break a}j[a+356>>2]=j[a+352>>2];e=j[a+348>>2];j[a+368>>2]=e;c=j[a+216>>2]}d=k[a+438|0];d=c&4?k[a+436|0]<8?8:d:d;b=d&255;b:{if(c&4096){c:{d:{switch(k[a+435|0]){case 3:b=l[a+428>>1]?32:24;break c;case 0:b=(((d&255)>>>0>8?d:8)&255)<<(l[a+428>>1]!=0);break c;case 2:break d;default:break c}}if(!l[a+428>>1]){break c}b=((d&255)<<2>>>0)/3|0}if(!(c&512)){break b}b=b<<(k[a+436|0]<16);break b}if(!(c&512)){break b}j[a+216>>2]=c&-513}c=j[a+216>>2];d=c&32768;e:{if(!d){break e}f:{switch(k[a+435|0]){case 0:b=(b|0)<9?16:32;break e;case 2:case 3:break f;default:break e}}b=(b|0)>32?64:32}g:{if(!(c&16384)){break g}h:{if(!(d|c>>>12&l[a+428>>1]!=0)){d=k[a+435|0];if((d|0)!=4){break h}}b=(b|0)<17?32:64;break g}if((b|0)<=8){b=(d|0)==6?32:24;break g}b=(d|0)==6?64:48}if(c&1048576){c=p(k[a+205|0],k[a+204|0]);b=(b|0)<(c|0)?c:b}h[a+443|0]=0;h[a+442|0]=b;c=e+7&-8;c=((b+7>>3)+((b|0)>7?p(c,b>>>3|0):p(b,c)>>>3|0)|0)+49|0;if(c>>>0>m[a+784>>2]){Ke(a,j[a+728>>2]);Ke(a,j[a+804>>2]);b=a;i:{if(k[a+432|0]){d=fk(a,c);break i}d=qh(a,c)}j[b+728>>2]=d;b=qh(a,c);j[a+804>>2]=b;j[a+784>>2]=c;b=b+32|0;j[a+380>>2]=(b^-1|-16)+b;b=j[a+728>>2]+32|0;j[a+384>>2]=(b^-1|-16)+b}j:{b=j[a+364>>2];if((b|0)!=-1){Ee(j[a+380>>2],0,b+1|0);b=j[a+788>>2];if(b){j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,b)}if(El(a,1229209940)){break j}j[a+212>>2]=j[a+212>>2]|64;return}Ye(a,212392);z()}Ye(a,j[a+248>>2]);z()}function jy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+56>>2];d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function yw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,i)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+i|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(l,f)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+f|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Qv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Ow(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(l,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Kv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(i,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=i+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];w=(j[a+4>>2]<<16)/(n|0)|0;x=(j[a+8>>2]<<16)/(b|0)|0;if(b){y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;B=(b&48)!=0&(o|0)!=255;C=b&1;r=o^255;b=b&112;D=b-16|0;E=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;u=((c>>>16|0)+u|0)+1|0}if(n){s=-1;d=65536;v=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;v=(j[a>>2]+p(j[a+12>>2],u)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[v>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(C){g=(p(g,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;i=(p(i,A)>>>0)/255|0}if(B){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;t=e>>>24|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(D|0){default:if(!E){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:t=((p(r,t)>>>0)/255|0)+o|0;l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l|t<<24;b=b+4|0;d=d+w|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+x|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function Sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];v=(j[a+4>>2]<<16)/(m|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;A=(c&48)!=0&(n|0)!=255;B=c&1;q=n^255;c=c&112;C=c-16|0;D=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(m){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(B){h=(p(h,y)>>>0)/255|0;g=(p(g,z)>>>0)/255|0;b=(p(b,x)>>>0)/255|0}if(A){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;s=e>>>24|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:s=((p(q,s)>>>0)/255|0)+n|0;i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i|s<<24;c=c+4|0;d=d+v|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+w|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function gG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;k=oe-272|0;oe=k;h=j[a+28>>2];d=bf(1,1120);a=Ce(b,5);j[d>>2]=a;a:{b:{c:{d:{if((a|0)<1){break d}f=d+4|0;e=-1;while(1){a=Ce(b,4);j[f+(c<<2)>>2]=a;if((a|0)<0){break c}e=(a|0)>(e|0)?a:e;c=c+1|0;if((c|0)>2]){continue}break}if((e|0)<0){break d}l=d+320|0;f=d+256|0;m=d+192|0;n=d+128|0;c=0;while(1){a=c<<2;o=a+n|0,p=Ce(b,3)+1|0,j[o>>2]=p;i=a+m|0;g=Ce(b,2);j[i>>2]=g;if((g|0)<0){break c}e:{if(!g){a=j[a+f>>2];break e}g=a+f|0;a=Ce(b,8);j[g>>2]=a}if((a|0)<0|j[h+24>>2]<=(a|0)){break c}a=0;if(j[i>>2]!=31){while(1){g=Ce(b,8);j[(l+(c<<5)|0)+(a<<2)>>2]=g-1;if((g|0)<0|(g|0)>j[h+24>>2]){break c}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(c|0)!=(e|0);c=c+1|0;if(a){continue}break}}o=d,p=Ce(b,2)+1|0,j[o+832>>2]=p;h=Ce(b,4);if((h|0)<0){break c}e=j[d>>2];f:{if((e|0)<=0){f=1<>2]<<2)>>2]+c|0;if((c|0)>63){break c}if((a|0)<(c|0)){while(1){e=Ce(b,h);j[(g+(a<<2)|0)+8>>2]=e;if((e|0)<0|(e|0)>=(f|0)){break c}a=a+1|0;if((c|0)!=(a|0)){continue}break}e=j[d>>2];a=c}i=i+1|0;if((i|0)<(e|0)){continue}break}}j[d+840>>2]=f;a=0;j[d+836>>2]=0;b=c+2|0;if((c|0)<=-2){eg(k,b,4,109);break a}e=d+836|0;h=(b|0)>1?b:1;while(1){f=a<<2;j[f+k>>2]=e+f;a=a+1|0;if((h|0)!=(a|0)){continue}break}eg(k,b,4,109);if((c|0)<0){break a}b=(b|0)>2?b:2;e=j[j[k>>2]>>2];a=1;while(1){c=e;e=j[j[(a<<2)+k>>2]>>2];if((c|0)!=(e|0)){a=a+1|0;if((b|0)!=(a|0)){continue}break a}break}if(!d){break b}}ze(d)}d=0}oe=k+272|0;return d|0}function Bv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=oe-16|0;oe=g;c=j[a+52>>2];f=j[c>>2];d=j[f+4>>2];a:{if(k[d+8|0]<=7){vf(c);a=ve(96032,0);break a}if(k[a|0]&2){ei(a,1);d=j[f+4>>2]}j[c+8>>2]=449;j[c+56>>2]=j[a+4>>2];b=j[a+16>>2];j[c+60>>2]=d;j[c+28>>2]=b;j[c+48>>2]=j[f+16>>2];b:{if(!(k[c+69|0]&16)){break b}if(Hj(a)){break b}a=0;break a}c:{if(!(!j[c+4>>2]|j[c+68>>2]&-4097)){b=450;break c}b=j[a+4>>2];if(!(k[j[f+4>>2]+28|0]<9?k[b+28|0]<=8:0)){vf(c);a=ve(96032,0);break a}d:{e:{if(k[b+8|0]>7){break e}d=j[b>>2];if(((d&-268435456)!=268435456?d:0)|(d>>>24&15)-1>>>0>2){break e}b=Dy(a);break d}f:{if(k[b+9|0]!=1){break f}b=j[b>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break f}b=sy(a);break d}if(k[c+68|0]&16){b=hy(a);break d}b=Ux(a)}if(b){break c}d=j[c+68>>2];i=j[j[f+4>>2]>>2];l=j[j[a+4>>2]>>2];g:{if(j[58615]!=-1){break g}b=Mf(96063);j[58615]=0;if(b){j[g>>2]=234460;Zy(b,g);break g}if(Tn()){j[58615]=j[58615]|1}if(Ty()){j[58615]=j[58615]|2}if(Ry()){j[58615]=j[58615]|4}if(Qy()){j[58615]=j[58615]|8}if(!Uy()){break g}j[58615]=j[58615]|16}b=j[57984];if(b){h=d&883;d=0;m=j[58615];while(1){e=p(d,20);if(!(j[e+231920>>2]!=(l|0)|j[e+231924>>2]!=(i|0)|(j[e+231928>>2]&h)!=(h|0))){e=j[e+231932>>2];if((e&m)==(e|0)){break c}}d=d+1|0;b=j[p(d,20)+231936>>2];if(b){continue}break}}b=j[j[f+4>>2]>>2];a=j[j[a+4>>2]>>2];if(!(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0<3|((b>>>24&15)-1>>>0<3|((b&-268435456)!=268435456?b:0)))){j[c+12>>2]=451;a=0;break a}j[c+12>>2]=0;vf(c);a=ve(96032,0);break a}j[c+12>>2]=b;a=0}oe=g+16|0;return a}function kh(a,b){var c=0,d=0,e=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}a:{b:{if(b){c=a;e=v(+q(n[a+288>>2]*q(j[b>>2])));c:{if(r(e)<2147483648){d=~~e;break c}d=-2147483648}j[c+216>>2]=d;c=a;e=v(+q(n[a+292>>2]*q(j[b+4>>2])));d:{if(r(e)<2147483648){d=~~e;break d}d=-2147483648}j[c+220>>2]=d;c=a;e=w(+q(n[a+288>>2]*q(j[b+8>>2])));e:{if(r(e)<2147483648){d=~~e;break e}d=-2147483648}j[c+224>>2]=d;e=w(+q(n[a+292>>2]*q(j[b+12>>2])));if(!(r(e)<2147483648)){break b}j[a+228>>2]=~~e;break a}j[a+216>>2]=0;j[a+220>>2]=0;b=a+228|0;c=a+224|0;d=j[a+316>>2];if(d){if(j[d>>2]!=268306){ve(73666,0);return}j[c>>2]=j[d+12>>2];j[b>>2]=j[d+16>>2];break a}d=j[a+8>>2];f:{if(d){b=qe[d|0](a,c,b)|0;break f}d=j[a+188>>2];if(d){Wg(d,c,b);break a}b=ve(73438,0)}if((b|0)>=0){break a}return}j[a+228>>2]=-2147483648}g:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break g}}h:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break h}b=Xe(1,28);if(b){break h}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=1;j[b+4>>2]=0;c=a+216|0;Ge(b+8|0,c,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;return}Ge(a+360|0,c,16);j[a+400>>2]=1}i:{if(j[a+336>>2]){break i}c=j[a+340>>2];if(!c){break i}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function Zo(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,p=0,q=0;e=oe-112|0;oe=e;h[a|0]=0;if(j[65586]){d=1023;b=k[262348];a:{if(!b){c=a;break a}q=e+110|0;n=1;p=e+80|1;g=262348;c=a;while(1){b:{c:{d:{e:{f:{g:{if((b&255)==37){h[e+80|0]=37;m=g+1|0;i=k[g+1|0];if((i|0)==46){b=p;break g}b=p;if((i-48&255)>>>0<=9){break g}l=g;break f}h[c|0]=b;d=d-1|0;c=c+1|0;g=g+1|0;break b}while(1){l=m;if(b>>>0>=q>>>0){break e}h[b|0]=i;m=l+1|0;b=b+1|0;i=k[l+1|0];if((i|0)==46|(i-48&255)>>>0<10){continue}break}}if((i|0)!=108){break d}h[b|0]=108;m=h[l+2|0];h[b+2|0]=0;h[b+1|0]=m;g=l+3|0;h:{switch(m-88|0){case 0:case 12:case 17:case 29:case 32:break h;default:break c}}j[e>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e);if((b|0)<1){break c}d=d-b|0;c=b+c|0;break b}l=g+29|0}h[b+1|0]=0;h[b|0]=i;g=l+2|0;i:{switch((i<<24>>24)-37|0){case 0:h[c|0]=37;d=d-1|0;c=c+1|0;break b;case 51:case 62:case 63:case 68:case 74:case 80:case 83:j[e+16>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e+16|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 65:o[e+32>>3]=o[(f<<7)+262480>>3];f=f+1|0;b=Ue(c,d,e+80|0,e+32|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 75:j[e+48>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e+48|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 78:break i;default:break b}}j[e+64>>2]=(f<<7)+262480;f=f+1|0;b=Ue(c,d,e+80|0,e- -64|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b}b=k[g|0];if((b|0)!=0&n){continue}break a}if((d|0)<1){break a}n=(d|0)>0;b=k[g|0];if(b){continue}break}}h[((d|0)<0?(c+d|0)-1|0:c)|0]=0}oe=e+112|0;return a}function yf(a,b,c){var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;d=oe-16|0;oe=d;g=j[a>>2];j[d+12>>2]=0;a:{b:{b=i[a+58>>1]+(i[a+22>>1]+b|0)|0;e=j[a+4>>2];h=b>>>0<=e>>>0;if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}m=a,n=xe(g,8,e,b,j[a+24>>2],d+12|0),j[m+24>>2]=n;if(j[d+12>>2]){break b}m=a,n=xe(g,1,e,b,j[a+28>>2],d+12|0),j[m+28>>2]=n;if(j[d+12>>2]){break b}if(k[a+16|0]){f=xe(g,8,e<<1,b<<1,j[a+40>>2],d+12|0);j[a+40>>2]=f;if(j[d+12>>2]){break b}l=b<<3;e=e<<3;zg(l+f|0,e+f|0,e);j[a+44>>2]=j[a+40>>2]+l}j[a+4>>2]=b}b=i[a+20>>1];c=i[a+56>>1]+(c+b|0)|0;e=j[a+8>>2];c:{d:{if(c>>>0>e>>>0){b=c+3&-4;f=10;if(b>>>0>32767){break a}c=xe(g,2,e,b,j[a+32>>2],d+12|0);j[a+32>>2]=c;if(j[d+12>>2]){break b}j[a+8>>2]=b;b=i[a+20>>1];break d}if(h){break c}c=j[a+32>>2]}j[a+68>>2]=(b<<1)+c;c=i[a+22>>1];b=c<<3;j[a+60>>2]=b+j[a+24>>2];j[a- -64>>2]=c+j[a+28>>2];if(!k[a+16|0]){break c}j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}if(j[d+12>>2]){break b}f=0;break a}b=j[a>>2];c=b;g=j[a+24>>2];if(g){qe[j[c+8>>2]](c,g)}j[a+24>>2]=0;c=j[a+28>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+28>>2]=0;c=j[a+32>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0;c=j[a+40>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+40>>2]=0;c=j[a+52>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+20>>2]=0;j[a+88>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;f=j[d+12>>2]}oe=d+16|0;return f}function pv(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,l=0,m=0;h=oe-96|0;oe=h;g=Ik(b,99334);a:{if(!g){b:{a=dg(99299);c:{if(!a|(k[a|0]&254)==48){break c}if(!Me(a,99357)){break c}if(!Me(a,99328)){break c}if(!Me(a,99290)){break c}while(1){d:{so(f,h+8|0);if(!Me(j[h+8>>2],a)){break d}f=f+1|0;if((f|0)<2){continue}break c}break}f=al(b,f,0);if(f){break b}}a=0;while(1){so(a,h+8|0);if(cf(j[h+8>>2],99290)){f=al(b,a,0);if(f){break b}}a=a+1|0;if((a|0)<2){continue}break}a=ve(99362,0);break a}g=Xe(1,20);if(!g){Xk(f);a=Be(0);break a}uj(b,99334,g);j[g>>2]=f}a=j[g+4>>2];if(a){jh(a);j[g+4>>2]=0}a=j[g+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=0;j[g+8>>2]=0;a=-1;if((EA(j[g>>2],h+8|0)|0)<=-1){break a}i=j[h+20>>2];j[c>>2]=i;m=j[h+16>>2];e:{if(!m){a=i;break e}a=i;while(1){f:{if((a&-268435456)!=268435456?a:0){break f}l=a>>>24&15;g:{if(l-4>>>0<=2){l=a>>>20&15;if(l>>>0>8|!(1<>>0>4){break g}l=a>>>20&15;if(l>>>0>6){break g}if(1<>2]=a;break e}f=f+1|0;if((m|0)==(f|0)){a=i}else{a=j[((f<<2)+h|0)+20>>2];continue}break}}i=Zk(j[g>>2],a,1,j[b+24>>2],j[b+28>>2]);j[g+4>>2]=i;a=-1;if(!i){break a}i=g;a=j[c>>2];h:{if(!(!a|(a&-268435456)==268435456)){f=2;if((a|0)==844715353|(a|0)==1498831189){break h}f=(a|0)==1431918169?2:1;break h}f=a&255}j[i+16>>2]=f;a=p(j[b+24>>2],f)+3&-4;j[g+12>>2]=a;a=p(a,j[b+28>>2]);a=a?a:1;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[g+8>>2]=a;if(!a){a=Be(0);break a}j[d>>2]=a;j[e>>2]=j[g+12>>2];kh(j[g>>2],0);a=0}oe=h+96|0;return a|0}function io(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe+ -64|0;oe=e;c=j[a+436>>2];if(c){d=Vg();b=j[c>>2];a:{if((d|0)!=(b|0)){j[c+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b=j[c+252>>2];if(b){while(1){qe[j[c+56>>2]](j[b>>2]);d=j[b+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}b=j[c+260>>2];if(b){while(1){qe[j[c+52>>2]](j[b>>2]);d=j[b+148>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}if(j[c>>2]){f=j[c+232>>2];if(f){while(1){b=f+8|0;f=j[f+12>>2];qe[j[c+200>>2]](1,b);g=j[a+436>>2];b:{if(!j[g+4>>2]){break b}b=74205;d=qe[j[g+104>>2]]()|0;if(!d){break b}while(1){b=k[b|0]?b:75958;h=76063;i=d-1280|0;if(i>>>0<=5){h=j[(i<<2)+76072>>2]}j[e+52>>2]=d;j[e+48>>2]=h;j[e+44>>2]=75279;j[e+40>>2]=1377;j[e+36>>2]=74206;j[e+32>>2]=b;ve(75966,e+32|0);d=qe[j[g+104>>2]]()|0;if(d){continue}break}}b=j[c+232>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c+232>>2]=f;if(f){continue}break}}qe[j[c+216>>2]](8,c+272|0);f=j[a+436>>2];c:{if(!j[f+4>>2]){break c}d=qe[j[f+104>>2]]()|0;if(!d){break c}b=74205;while(1){b=k[b|0]?b:75958;h=76063;g=d-1280|0;if(g>>>0<=5){h=j[(g<<2)+76072>>2]}j[e+20>>2]=d;j[e+16>>2]=h;j[e+12>>2]=75279;j[e+8>>2]=1383;j[e+4>>2]=74206;j[e>>2]=b;ve(75966,e);d=qe[j[f+104>>2]]()|0;if(d){continue}break}}Fk(j[c>>2])}b=j[c+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}oe=e- -64|0}function VG(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,n=0,o=0,p=0,q=0,r=0;e=oe-16|0;oe=e;g=j[b+16>>2];o=j[a+488>>2];qe[j[b+28>>2]](b);c=j[b>>2];a:{if(!(c>>>0>=m[b+8>>2]|k[c|0]!=91)){qe[j[b+32>>2]](b);qe[j[b+28>>2]](b);a=j[b>>2];if(k[a|0]==93?a>>>0>2]:0){break a}j[b+12>>2]=3;break a}p=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}h=b+316|0;qe[j[b+28>>2]](b);b:{if(!j[b+312>>2]){c=qe[j[j[o>>2]>>2]](h,p,g)|0;j[e+12>>2]=c;if(c){break b}}c=j[b>>2];c:{if(m[b+8>>2]<=c+4>>>0){break c}while(1){if(Qe(c,203988,3)){break c}qe[j[b+32>>2]](b);f=qe[j[b+36>>2]](b)|0;i=j[j[a+128>>2]+48>>2];c=j[b+8>>2];qe[j[b+28>>2]](b);d:{d=j[b>>2];e:{if(d>>>0>=c>>>0|k[d|0]-48>>>0>9){break e}d=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((d|0)<0){break e}l=c;c=j[b>>2];n=c+1|0;if((d|0)<(l-n|0)){break d}}if(i){break a}j[b+12>>2]=3;break a}j[b>>2]=(c+d|0)+1;if(j[b+12>>2]){break a}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);c=j[b>>2];f:{if(m[b+8>>2]<=c+4>>>0){break f}if(Qe(c,203992,3)){break f}qe[j[b+32>>2]](b);qe[j[b+28>>2]](b)}if(!j[b+312>>2]){c=j[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;j[e+12>>2]=3;break b}i=He(g,d,e+12|0);c=j[e+12>>2];if(c){break b}c=Ae(i,n,d);qe[j[o+16>>2]](c,d,4330);l=f;f=j[a+172>>2];q=e,r=qe[j[b+360>>2]](h,l,f+c|0,d-f|0)|0,j[q+12>>2]=r;if(c){qe[j[g+8>>2]](g,c)}c=j[e+12>>2];break g}c=qe[j[b+360>>2]](h,f,n,d)|0;j[e+12>>2]=c}if(c){break b}}c=j[b>>2];if(m[b+8>>2]>c+4>>>0){continue}break}}if(j[b+312>>2]){break a}j[b+312>>2]=p;break a}j[b+12>>2]=c}oe=e+16|0}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}e=(p(e,g)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;l=(p(i,l)>>>0)/255|0;break a;case 0:e=((p(e,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;l=((p(l,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=e+g|0;e=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=i+l|0;l=c>>>0<255?c:255}j[b>>2]=m<<8|l|e<<16;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function eA(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,k=0,l=0,m=0,n=0,o=0,q=0;m=oe-32|0;k=m;oe=k;h=j[b+8>>2];f=j[a+316>>2];i=376840196;a:{if(!f){break a}i=j[f+4>>2]}l=!i|(i&-268435456)==268435456;b:{if(!l){f=2;if((i|0)==844715353|(i|0)==1498831189){break b}f=(i|0)==1431918169?2:1;break b}f=i&255}n=p(f,h);h=p(n,j[b+12>>2]);c:{if(!h){break c}f=j[a+436>>2];h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){g=Be(0);break c}_k(a,k+28|0,k+24|0);o=j[f+136>>2];q=j[b>>2];d:{if(j[a+316>>2]){f=j[b+12>>2];g=j[b+4>>2];break d}f=j[b+12>>2];g=(j[k+24>>2]-j[b+4>>2]|0)-f|0}qe[o|0](q,g,j[b+8>>2],f,6408,5121,h);e:{f=j[a+436>>2];if(!j[f+4>>2]){break e}g=qe[j[f+104>>2]]()|0;if(!g){break e}while(1){a=76063;b=g-1280|0;if(b>>>0<=5){a=j[(b<<2)+76072>>2]}j[k+20>>2]=g;j[k+16>>2]=a;j[k+12>>2]=75935;j[k+8>>2]=1829;j[k+4>>2]=74206;j[k>>2]=75920;ve(75966,k);g=qe[j[f+104>>2]]()|0;if(g){continue}break}g=-1;break c}f:{if(j[a+316>>2]){break f}a=j[b+8>>2];f=j[b+12>>2];g:{if(!l){g=2;if((i|0)==844715353|(i|0)==1498831189){break g}g=(i|0)==1431918169?2:1;break g}g=i&255}l=p(g,a);h:{if(l>>>0<=127){m=m-(l+15&-16)|0;oe=m;a=f;break h}m=qe[j[57972]](l?l:1)|0;if(m){j[57976]=j[57976]+1}a=j[b+12>>2]}if(a+1>>>0>=3){g=h+p(f-1|0,n)|0;o=0-n|0;f=(a|0)/2|0;a=h;while(1){Ge(m,a,l);Ge(a,g,l);Ge(g,m,l);g=g+o|0;a=a+n|0;f=f-1|0;if(f){continue}break}}if(l>>>0<128){break f}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}g=fh(j[b+8>>2],j[b+12>>2],i,h,n,c,d,e);if(h){qe[j[57975]](h);j[57976]=j[57976]-1}}oe=k+32|0;return g|0}function bx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}e=(p(b,e)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;i=(p(g,i)>>>0)/255|0;break a;case 0:e=((p(e,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;i=((p(i,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+e|0;e=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=g+i|0;i=b>>>0<255?b:255}j[c>>2]=l<<8|i|e<<16;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function vK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-17408|0;oe=c;a:{if(!a){a=96;break a}d=j[b+4>>2];if(!d){a=20;break a}a=i[d+2>>1];b:{if(!a){break b}e=i[d>>1];if((e|0)<1){break b}f=j[d+12>>2];if(!f){a=20;break a}if(!j[d+4>>2]){a=20;break a}if((a|0)!=(i[((e<<1)+f|0)-2>>1]+1|0)){a=20;break a}a=19;if(k[b+8|0]&3){break a}b=j[b>>2];if(!b){a=20;break a}if(!j[b+4>>2]){break b}a=0;if(!j[b>>2]){break a}a=20;if(!j[b+12>>2]){break a}a=j[d+16>>2];j[c+16528>>2]=a;f=j[d+12>>2];e=c+16520|0;j[e>>2]=j[d+8>>2];j[e+4>>2]=f;e=j[d+4>>2];j[c+16512>>2]=j[d>>2];j[c+16516>>2]=e;e=j[b+12>>2];d=c+16496|0;j[d>>2]=j[b+8>>2];j[d+4>>2]=e;e=j[b+20>>2];d=c+16504|0;j[d>>2]=j[b+16>>2];j[d+4>>2]=e;d=j[b+4>>2];j[c+16488>>2]=j[b>>2];j[c+16492>>2]=d;j[c+16416>>2]=c+16384;b=a&256;j[c+16404>>2]=b?30:2;j[c+16400>>2]=b?256:32;b=b?12:6;j[c+16384>>2]=b;d=b-6|0;j[c+16408>>2]=d;j[c+16396>>2]=d;b=1<>2]=b;j[c+16392>>2]=b>>>1;j[c+16412>>2]=c;c:{if(a&8){h[c+16560|0]=2;break c}b=a>>>2&4;h[c+16560|0]=b;if(a&32){break c}h[c+16560|0]=b|1}i[c+17342>>1]=l[c+16488>>1]-1;j[c+17404>>2]=0;j[c+16556>>2]=791;j[c+16552>>2]=792;j[c+16548>>2]=793;j[c+16544>>2]=794;i[c+17340>>1]=0;i[c+16440>>1]=j[c+16492>>2];j[c+16444>>2]=j[c+16500>>2];h[c+16561|0]=(a>>>9^-1)&1;a=Wq(c+16384|0,0);if(a){break a}if(!k[c+16561|0]|k[c+16560|0]==2){break b}j[c+17404>>2]=0;j[c+16556>>2]=795;j[c+16552>>2]=796;j[c+16548>>2]=797;j[c+16544>>2]=798;i[c+17340>>1]=0;i[c+17342>>1]=l[c+16492>>1]-1;a=Wq(c+16384|0,1);if(a){break a}}a=0}oe=c+17408|0;return a|0}function Sf(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=j[((k[b|0]^a&255)<<2)+212560>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=j[b>>2]^a;a=j[b+4>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+8>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+12>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+16>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+20>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+24>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+28>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=j[b>>2]^a;a=j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=j[((k[b|0]^a&255)<<2)+212560>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function ar(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i=oe-16|0;oe=i;d=j[a+12>>2];if(d){j[(j[a+20>>2]+(d<<4)|0)-4>>2]=b}l=j[a+24>>2];a:{if((l|0)<2){break a}p=l;while(1){s=p;f=p-2|0;r=j[a+32>>2];p=p-1|0;b=r+(p<<4)|0;n=j[b>>2];d=j[b+8>>2];while(1){b:{e=(f<<4)+r|0;b=j[e+8>>2];c:{e=j[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){o=d;break e}o=(g-8>>>3|0)+1|0;e=o+b|0;o=d+o|0;q=d;while(1){if(k[b|0]&k[q|0]){break d}b=b+1|0;q=q+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=e}if(!g|!(k[b|0]&k[o|0]&-256>>g)){break c}}d=f>>>0>p>>>0;b=d?p:f;e=d?f:p;if(b>>>0>=e>>>0|e>>>0>=l>>>0){break b}f=(e<<4)+r|0;l=j[f>>2];f:{if(!l){break f}n=(b<<4)+r|0;b=j[n>>2];g:{if(l>>>0<=b>>>0){g=l+7>>>3|0;break g}d=j[n+4>>2];j[i>>2]=0;g=l+7>>>3|0;d=d+7>>>3|0;if(g>>>0>d>>>0){o=d;d=g+7&1073741816;t=n,u=xe(c,1,o,d,j[n+8>>2],i),j[t+8>>2]=u;o=j[i>>2];if(o){break a}j[n+4>>2]=d<<3}while(1){if(m[n>>2]>b>>>0){d=j[n+8>>2]+(b>>>3|0)|0;h[d|0]=k[d|0]&-129>>(b&7)}b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(!g){break f}q=j[f+8>>2];b=j[n+8>>2];while(1){h[b|0]=k[q|0]|k[b|0];q=q+1|0;b=b+1|0;g=g-1|0;if(g){continue}break}}j[f>>2]=0;j[f+12>>2]=0;d=a;b=j[d+24>>2];e=b+(e^-1)|0;if((e|0)>=1){b=j[f+12>>2];j[i+8>>2]=j[f+8>>2];j[i+12>>2]=b;b=j[f+4>>2];j[i>>2]=j[f>>2];j[i+4>>2]=b;b=e<<4;e=zg(f,f+16|0,b)+b|0;b=j[i+12>>2];j[e+8>>2]=j[i+8>>2];j[e+12>>2]=b;b=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=b;b=j[a+24>>2]}l=b-1|0;j[d+24>>2]=l;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((s|0)>2){continue}break}o=0}oe=i+16|0;return o}function vi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=k[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=k[a|0]+d|0;h=g+k[a+1|0]|0;i=h+k[a+2|0]|0;j=i+k[a+3|0]|0;l=j+k[a+4|0]|0;m=l+k[a+5|0]|0;n=m+k[a+6|0]|0;o=n+k[a+7|0]|0;p=o+k[a+8|0]|0;q=p+k[a+9|0]|0;r=q+k[a+10|0]|0;s=r+k[a+11|0]|0;t=s+k[a+12|0]|0;u=t+k[a+13|0]|0;v=u+k[a+14|0]|0;d=v+k[a+15|0]|0;e=d+(v+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break a}if(c>>>0<16){break c}}while(1){a=k[b|0]+d|0;f=a+k[b+1|0]|0;g=f+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;d=t+k[b+15|0]|0;e=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break b}}while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function Tr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;n=j[a+60>>2];d=Df(j[a>>2],j[a+4>>2]);e=(j[a>>2]+p(b,-11796480)|0)+5898240|0;of(c+32|0,n,e);j[c+32>>2]=j[c+32>>2]+j[a+8>>2];j[c+36>>2]=j[c+36>>2]+j[a+12>>2];i=(d|0)==11796480?p(b,23592960)-11796480|0:d;a:{if(!i){break a}q=(i|0)>-1?5898240:-5898240;g=(b<<5)+a|0;r=g;l=g- -64|0;while(1){b:{d=(i|0)>-5898240?i:-5898240;m=(d|0)<5898240?d:5898240;o=m+e|0;of(c+24|0,n,o);j[c+24>>2]=j[c+24>>2]+j[a+8>>2];j[c+28>>2]=j[c+28>>2]+j[a+12>>2];d=m>>31;d=(d+m^d)>>>1|0;d=Ne(n,Ai(d)<<2,p(Bi(d),3)+196608|0);of(c+16|0,d,e+q|0);j[c+16>>2]=j[c+16>>2]+j[c+32>>2];j[c+20>>2]=j[c+20>>2]+j[c+36>>2];of(c+8|0,d,o-q|0);j[c+8>>2]=j[c+8>>2]+j[c+24>>2];j[c+12>>2]=j[c+12>>2]+j[c+28>>2];d=j[g+68>>2];e=j[l>>2];j[c+44>>2]=0;f=e+3|0;c:{if(f>>>0<=d>>>0){k=j[g+76>>2];break c}k=j[g+88>>2];e=d;while(1){e=((e>>>1|0)+e|0)+16|0;if(f>>>0>e>>>0){continue}break}s=g,t=xe(k,8,d,e,j[g+72>>2],c+44|0),j[s+72>>2]=t;f=j[c+44>>2];if(f){break b}k=xe(k,1,d,e,j[g+76>>2],c+44|0);j[g+76>>2]=k;f=j[c+44>>2];if(f){break b}j[g+68>>2]=e;e=j[l>>2]}f=j[c+20>>2];d=j[g+72>>2]+(e<<3)|0;j[d>>2]=j[c+16>>2];j[d+4>>2]=f;f=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=f;f=j[c+28>>2];j[d+16>>2]=j[c+24>>2];j[d+20>>2]=f;e=e+k|0;h[e+2|0]=1;h[e|0]=2;h[e+1|0]=2;j[l>>2]=j[l>>2]+3;f=0;h[r+80|0]=0;e=j[c+28>>2];j[c+32>>2]=j[c+24>>2];j[c+36>>2]=e;e=o;i=i-m|0;if(i){continue}break a}break}h[r+80|0]=0}h[((b<<5)+a|0)+80|0]=0;oe=c+48|0;return f}function HB(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;g=oe+ -64|0;oe=g;f=j[67033];a:{b:{if(!(!j[67044]|((b|0)==-1|(d|0)!=1))){l=(c|0)==1;h[268212]=l;if(!a){break b}Nj(-1,-1,0,0,l,q(q(j[67025])/q(j[a+24>>2])),q(q(j[67026])/q(j[a+28>>2])));break b}if((b|0)!=-1){break b}if(!j[67043]){break a}}c:{d:{switch(c|0){case 0:e=mP(-2,d-1|0)&f;p=1026;l=(a|0)!=0;break c;case 1:break d;default:break a}}o=1;e=f|1<(d|0)){break f}Oe(m+(e<<4)|0,0,16);if((d|0)==(e|0)){break f}while(1){e=e+1|0;Oe(j[67047]+(e<<4)|0,0,16);if((d|0)!=(e|0)){continue}break}}j[67046]=i}n=j[67047];f=1;if(!n){break e}g:{if(!o){e=k[(n+(d<<4)|0)+12|0];break g}r=n+(d<<4)|0;s=n+(d<<4)|0;e=s;t=sg();o=0;h:{i:{if((j[67041]+(j[e+8>>2]-t|0)|0)<1){break i}f=j[67025]-j[r>>2]|0;i=f>>31;if(j[67042]<(i^f+i)){break i}m=n+(d<<4)|0;i=j[67026]-j[m+4>>2]|0;f=i>>31;if(j[67042]<(f^f+i)){break i}o=k[m+12|0];break h}h[s+12|0]=0}j[e+8>>2]=t;j[r>>2]=j[67025];f=n+(d<<4)|0;j[f+4>>2]=j[67026];e=255;if((o|0)==255){break g}e=o+1|0;h[f+12|0]=e}f=e&255}if((We(p,-1)|0)==1){j[g+8>>2]=p;i=j[67024];if(i){u=j[i+4>>2]}h[g+25|0]=c;j[g+20>>2]=b;j[g+16>>2]=u;h[g+24|0]=d;b=j[67026];j[g+28>>2]=j[67025];j[g+32>>2]=b;h[g+26|0]=(f|0)<255?f:255;gf(g+8|0)}if(l^1|c){break a}Gh(a,j[67025],j[67026],1)}oe=g- -64|0}function aF(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a+216>>2];a:{if(!(e&4096)){break a}d=l[a+428>>1];c=k[b+25|0];if((c|0)==3){h[b+24|0]=8;i[b+22>>1]=0;h[b+25|0]=d?6:2;if(j[a+416>>2]){break a}Ye(a,210715);z()}if(!(!(e&33554432)|!d)){h[b+25|0]=c|4}if(k[b+24|0]<=7){h[b+24|0]=8}i[b+22>>1]=0}if(e&128){d=l[a+456>>1]|l[a+458>>1]<<16;c=l[a+452>>1]|l[a+454>>1]<<16;i[b+170>>1]=c;i[b+172>>1]=c>>>16;i[b+174>>1]=d;i[b+176>>1]=d>>>16;i[b+178>>1]=l[a+460>>1]}j[b+40>>2]=j[a+824>>2];f=k[b+24|0];if(!(!(e&67109888)|(f|0)!=16)){h[b+24|0]=8;f=8}if(e&16384){h[b+25|0]=k[b+25|0]|2}if(e&6291456){h[b+25|0]=k[b+25|0]&253}b:{c:{d:{e:{if(!(e&64)){break e}f:{switch(k[b+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!j[a+612>>2]){break e}if((f&255)==8){break d}}if(!(e&512)){break b}if((f&255)==8){break c}break b}h[b+25|0]=3;f=8;if(!(e&512)){break b}}f=8;if(k[b+25|0]==3){break b}f=16;h[b+24|0]=16}if(!(!(e&4)|(f&255)>>>0>7)){h[b+24|0]=8;f=8}g=b;c=k[b+25|0];d=3;g:{if(!((c|0)==3|!(c&2))){break g}d=1}h[g+29|0]=d;if(e&262144){i[b+22>>1]=0;c=c&251;h[b+25|0]=c}if(c&4){d=d+1|0;h[b+29|0]=d}h:{if(!(e&32768)){break h}i:{switch(c|0){case 0:case 2:break i;default:break h}}d=d+1|0;h[b+29|0]=d;if(!(e&16777216)){break h}h[b+25|0]=c|4}j:{if(!(e&1048576)){c=d;break j}c=k[a+204|0];if(c>>>0>(f&255)>>>0){h[b+24|0]=c;f=c}c=k[a+205|0];if(d>>>0>=c>>>0){c=d;break j}h[b+29|0]=c}c=p(c,f);h[b+30|0]=c;d=j[b>>2];c=c&255;k:{if(c>>>0>=8){d=p(d,c>>>3|0);break k}d=p(c,d)+7>>>3|0}j[b+12>>2]=d;j[a+404>>2]=d}function zf(a,b,c,d){var e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=j[a+48>>2];if(e&4){break a}j[a+48>>2]=e&-77|4;mn(a);break b;case 1:e=j[a+48>>2];if(!(e&4)){break a}j[a+48>>2]=e&-13|8;ln(a);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(h[a+48|0]&1)){j[a+56>>2]=c;j[a+60>>2]=d}if(j[a+20>>2]==(d|0)?j[a+16>>2]==(c|0):0){break a}j[a+20>>2]=d;j[a+16>>2]=c;break b;case 4:if(!(h[a+48|0]&1)){j[a+68>>2]=d;j[a- -64>>2]=c}if(j[a+28>>2]==(d|0)?j[a+24>>2]==(c|0):0){break a}j[a+28>>2]=d;j[a+24>>2]=c;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);break b;case 6:e=j[a+48>>2];if(e&64){break a}j[a+48>>2]=e&-193|64;ln(a);break b;case 7:e=j[a+48>>2];if(e&128){break a}j[a+48>>2]=e&-193|128;break b;case 8:e=j[a+48>>2];if(!(e&192)){break a}j[a+48>>2]=e&-193;mn(a);break b;case 9:e=j[a+48>>2];if(e&1024){break a}j[a+48>>2]=e|1024;e=j[67085];g=j[e+148>>2];if(g){qe[g|0](e,a)}break b;case 10:e=j[a+48>>2];if(!(e&1024)){break a}j[a+48>>2]=e&-1025;break b;case 11:e=j[a+48>>2];if(e&512){break a}j[a+48>>2]=e|512;Yu(a);break b;case 12:break c;default:break b}}e=j[a+48>>2];if(!(e&512)){break a}j[a+48>>2]=e&-513;Xu(a)}if((We(512,-1)|0)==1){j[f+28>>2]=d;j[f+24>>2]=c;j[f+8>>2]=512;h[f+20|0]=b;j[f+16>>2]=j[a+4>>2];c=178;d:{e:{f:{switch(b-3|0){case 1:c=179;break e;case 3:break e;case 0:break f;default:break d}}c=180}WB(c,f+8|0)}gf(f+8|0)}if(j[a+152>>2]|(j[a+148>>2]|(b|0)!=14)){break a}h[268216]=0;jl(256)}oe=f- -64|0}function QE(a,b,c){var d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ze(a,211301);Ie(a,c);break a}e:{f:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);break a}d=c+1|0;g=j[a+788>>2];g:{if(g){if(d>>>0<=m[a+792>>2]){break g}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=ag(a,d);if(!g){break f}j[a+792>>2]=d;j[a+788>>2]=g}pf(a,g,c);tf(a,g,c);if(Ie(a,0)){break a}e=c+g|0;h[e|0]=0;d=g;while(1){f=d;d=d+1|0;if(k[f|0]){continue}break}if(e-2>>>0>>0){Ze(a,211334);break a}e=k[f+1|0];h[l+4|0]=e;d=f+2|0;f=(g-d|0)+c|0;n=(e|0)==8?6:10;c=(f>>>0)/(n>>>0)|0;if((f|0)!=(p(c,n)|0)){Ze(a,211355);break a}if(c>>>0>=429496730){Ze(a,211381);break a}j[l+12>>2]=c;o=fg(a,p(c,10));j[l+8>>2]=o;if(!o){break e}if(f>>>0>=n>>>0){n=c>>>0>1?c:1;c=0;q=(e|0)!=8;while(1){f=p(c,10)+o|0;h:{if(!q){i[f>>1]=k[d|0];i[f+2>>1]=k[d+1|0];i[f+4>>1]=k[d+2|0];e=k[d+3|0];d=d+4|0;break h}e=k[d|0]|k[d+1|0]<<8;i[f>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+2|0]|k[d+3|0]<<8;i[f+2>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+4|0]|k[d+5|0]<<8;i[f+4>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+6|0]|k[d+7|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;d=d+8|0}i[f+6>>1]=e;e=f;f=k[d|0]|k[d+1|0]<<8;i[e+8>>1]=(f<<24|f<<8&16711680)>>>16;d=d+2|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}j[l>>2]=g;NF(a,b,l);Ke(a,j[l+8>>2]);break a}hf(a,211072);z()}Ie(a,c);Je(a,211242);break a}Ze(a,211401)}oe=l+16|0}function pI(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,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=j[c>>2]<<2;j[d+232>>2]=g;f=j[c+4>>2]<<2;j[d+236>>2]=f;j[d+240>>2]=j[b>>2]<<2;b=j[b+4>>2]<<2;j[d+244>>2]=b;j[d+248>>2]=j[a>>2]<<2;c=j[a+4>>2];j[d+256>>2]=j[d+220>>2];a=j[d+224>>2];j[d+260>>2]=a;c=c<<2;j[d+252>>2]=c;a:{b:{e=(b|0)<(f|0)?b:f;e=(c|0)<(e|0)?c:e;if(j[d+176>>2]<=((a|0)<(e|0)?a:e)>>8){break b}b=(b|0)>(f|0)?b:f;b=(b|0)<(c|0)?c:b;if(j[d+172>>2]>((a|0)>(b|0)?a:b)>>8){break b}b=0;break a}b=1}c:while(1){if(!b){t=d+232|0;while(1){b=l;e=(b<<3)+t|0;m=j[e+28>>2];f=j[e+4>>2];i=m-f|0;a=i>>31;l=b+3|0;r=j[(l<<3)+t>>2];g=j[e>>2];k=r-g|0;c=k>>31;h=a^a+i;a=c^c+k;c=(h|0)<(a|0);d:{n=(c?p(h,3)>>>3|0:h)+(c?a:p(a,3)>>>3|0)|0;if(n>>>0>=32768){a=j[e+12>>2];c=j[e+8>>2];break d}c=j[e+8>>2];h=c-g|0;a=j[e+12>>2];s=a-f|0;q=p(i,h)-p(k,s)|0;o=q>>31;u=p(n,42);if((u|0)<(o^o+q)){break d}o=j[e+16>>2]-g|0;n=j[e+20>>2]-f|0;v=p(o,i)-p(n,k)|0;q=v>>31;if((q^q+v)>(u|0)|(p(s-i|0,s)+p(h-k|0,h)|0)>0|(p(n,n-i|0)+p(o,o-k|0)|0)>=1){break d}l=b;b=1;continue c}j[e+48>>2]=r;j[e+52>>2]=m;b=(c+g|0)/2|0;j[e+8>>2]=b;f=(a+f|0)/2|0;j[e+12>>2]=f;g=j[e+16>>2];i=(g+r|0)/2|0;j[e+40>>2]=i;k=j[e+20>>2];m=(k+m|0)/2|0;j[e+44>>2]=m;h=b;b=(c+g|0)/2|0;c=(h+b|0)/2|0;j[e+16>>2]=c;b=(b+i|0)/2|0;j[e+32>>2]=b;a=(a+k|0)/2|0;f=(a+f|0)/2|0;j[e+20>>2]=f;a=(a+m|0)/2|0;j[e+36>>2]=a;j[e+24>>2]=(b+c|0)/2;j[e+28>>2]=(a+f|0)/2;continue}}bm(d,g,f);e:{if(l){l=l-3|0;break e}return 0}b=0;continue}}function pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function _v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,q)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+q|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+q|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,q)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+q|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+q|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Hv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,o)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+o|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function EE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}d=c+1|0;e=j[a+788>>2];f:{if(e){if(d>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,d);if(!e){break e}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=211289;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=211256;if(d+5>>>0>c>>>0){break g}g=211740;i:{j:{i=d+e|0;l=k[i+1|0];switch(l|0){case 0:break i;case 1:break j;default:break g}}if(k[i+2|0]){break g}}i=d+3|0;d=i;k:{if(d>>>0>=c>>>0){break k}d=i;while(1){if(!k[d+e|0]){break k}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}n=d+1|0;d=n;l:{if(d>>>0>=c>>>0){break l}d=n;while(1){if(!k[d+e|0]){break l}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}o=(l|0)!=0;d=d+1|0;m:{if(!(o|d>>>0>c>>>0)){j[f+28>>2]=c-d;break m}g=211256;if(o^1|c>>>0<=d>>>0){break g}j[f+28>>2]=-1;if((Pp(a,c,d,f+28|0)|0)==1){e=j[a+788>>2];break m}g=j[a+248>>2];if(g){break g}}h[(d+j[f+28>>2]|0)+e|0]=0;j[f+24>>2]=e+n;j[f+20>>2]=e+i;j[f+4>>2]=e;j[f>>2]=l?2:1;j[f+12>>2]=0;j[f+8>>2]=d+e;j[f+16>>2]=j[f+28>>2];g=211720;if(!Ll(a,b,f)){break a}}Je(a,g);break a}hf(a,211072);z()}yi(a,212476);Ie(a,c);Je(a,211242)}oe=f+32|0}function Ux(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=j[a+52>>2];e=j[j[f>>2]+4>>2];g=k[e+8|0];a:{if(g>>>0<8){break a}c=j[a+4>>2];a=j[f+68>>2]&-28673;if((a|0)!=256){if(a){break a}if((g|0)==8){b:{if(k[c+9|0]!=4){break b}a=j[c+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|j[c+16>>2]!=65280){break b}b=302;if(j[c+20>>2]!=255){break b}break a}if(j[c+16>>2]!=1047552){break b}b=303;if(j[c+20>>2]==1023){break a}}return 304}if(j[e+24>>2]){f=j[c+24>>2]?4:2}else{f=1}g=j[(k[c+9|0]<<2)+86908>>2];h=j[g+12>>2];c:{if(!h){a=0;break c}a=0;while(1){b=g+p(a,40)|0;d=j[b>>2];d:{if(d?(d|0)!=j[c+12>>2]:0){break d}d=j[b+4>>2];if(d?(d|0)!=j[c+16>>2]:0){break d}d=j[b+8>>2];if(d?(d|0)!=j[c+20>>2]:0){break d}d=j[b+16>>2];if(d?(d|0)!=j[e+12>>2]:0){break d}d=j[b+20>>2];if(d?(d|0)!=j[e+16>>2]:0){break d}d=j[b+24>>2];if(k[e+9|0]!=(h|0)|(d?(d|0)!=j[e+20>>2]:0)|(f|0)!=(f&j[b+36>>2])){break d}if((j[b+28>>2]&(Tn()|0)!=0)==j[b+28>>2]){break c}}a=a+1|0;h=j[(g+p(a,40)|0)+12>>2];if(h){continue}break}}b=j[(g+p(a,40)|0)+32>>2];if((b|0)!=305){break a}b=306;if(j[c>>2]==372711428){break a}b=307;if(j[e>>2]==372711428){break a}e:{if(k[c+9|0]!=4|k[e+9|0]!=4|(j[c+12>>2]!=j[e+12>>2]|j[c+16>>2]!=j[e+16>>2])){break e}if(j[c+20>>2]!=j[e+20>>2]){break e}b=308;if((f|0)!=4){break a}return j[c+24>>2]==j[e+24>>2]?309:310}return(f|0)==4?310:305}if(k[c+9|0]==2){b=311;if(j[f+4>>2]){break a}}b=312;if(k[e+9|0]==1){break a}if(j[c+24>>2]){b=313;if(j[e+24>>2]){break a}}b=314}return b}function iM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,l=0,n=0,o=0;f=j[b>>2];if(!f){return 35}d=6;a:{if(m[f+16>>2]<=c>>>0){break a}e=j[f+104>>2];l=j[f+292>>2];n=c?c-1|0:0;g=l+(n<<4)|0;o=i[g+8>>1]+i[g+6>>1]|0;j[a+76>>2]=o;b=i[g>>1];c=i[g+2>>1];h[a+94|0]=1;i[a+92>>1]=1;c=c-b|0;j[a+80>>2]=c;d=3;b=a;b:{c:{switch((1<<(j[f+308>>2]&3))-1|0){case 0:c=c+7>>>3|0;break b;case 1:c=c+15>>>3&536870910;break b;case 3:c=c+31>>>3&536870908;break b;case 7:break c;default:break a}}c=c+63>>>3&536870904}j[b+84>>2]=c;b=p(c,o);d=Km(a,b);if(d){break a}d=Fe(e,j[((n<<4)+l|0)+12>>2]);if(d){break a}d=uf(e,j[a+88>>2],b);if(d){break a}d=j[f+308>>2];if(!(!b|d&8)){d=j[a+88>>2];c=b;while(1){e=k[d|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;h[d|0]=e>>>4|e<<4;d=d+1|0;c=c-1|0;if(c){continue}break}d=j[f+308>>2]}d:{if(!((d>>>2^d>>>3)&1)){break d}e:{switch((1<<(d>>>4&3))-2|0){case 0:if(b>>>0<2){break d}d=j[a+88>>2];while(1){c=k[d+1|0];h[d+1|0]=k[d|0];h[d|0]=c;d=d+2|0;b=b-2|0;if(b>>>0>1){continue}break}break d;case 2:break e;default:break d}}if(b>>>0<4){break d}d=j[a+88>>2];while(1){c=k[d+3|0];h[d+3|0]=k[d|0];h[d|0]=c;c=k[d+1|0];h[d+1|0]=k[d+2|0];h[d+2|0]=c;d=d+4|0;b=b-4|0;if(b>>>0>3){continue}break}}j[a+72>>2]=1651078259;b=i[g>>1];j[a+100>>2]=b;c=i[g+6>>1];j[a+104>>2]=c;d=i[((n<<4)+l|0)+4>>1];j[a+36>>2]=c<<6;j[a+32>>2]=b<<6;j[a+40>>2]=d<<6;c=i[g+2>>1];j[a+28>>2]=j[a+76>>2]<<6;j[a+24>>2]=c-b<<6;Fi(a+24|0,j[f+208>>2]+j[f+204>>2]<<6);d=0}return d|0}function is(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0,o=0;k=oe-16|0;oe=k;i=j[a+8>>2];n=j[a+12>>2];h=He(i,j[n+36>>2],k+12|0);a:{b:{c:{d:{if(!j[k+12>>2]){j[h+100>>2]=i;j[h+96>>2]=a;j[h+104>>2]=j[b>>2];if(c){j[h+8>>2]=j[h+8>>2]|1024}m=He(i,60,k+12|0);if(j[k+12>>2]){break d}j[h+128>>2]=m;c=0;j[m+48>>2]=0;e:{if((e|0)<1){break e}a=0;while(1){if(c){break e}c=0;o=(a<<3)+f|0;if(j[o>>2]==1768842098){c=j[o+4>>2];j[m+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=j[n+48>>2];f:{if(!a){j[b>>2]=j[h+104>>2];break f}a=qe[a|0](j[b>>2],h,d,e,f)|0;j[k+12>>2]=a;j[b>>2]=j[h+104>>2];if(a){break d}}b=j[h+40>>2];if(!b){break b}a=b+(j[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=j[e>>2];h:{if(j[c+4>>2]!=1970170211){break h}i:{switch(l[c+8>>1]){case 3:if(l[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(l[c+10>>1]==4){break g}}e=e-4|0;if(b>>>0<=e>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break b}c=j[a>>2];if(j[c+4>>2]!=1970170211){continue}break}}j[h+92>>2]=c;break b}if(!h){break c}}if(j[h+36>>2]>=1){c=0;while(1){d=c<<2;a=j[d+j[h+40>>2]>>2];b=j[j[a>>2]+100>>2];e=j[j[a+12>>2]+8>>2];if(e){qe[e|0](a)}if(a){qe[j[b+8>>2]](b,a)}j[d+j[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=j[h+40>>2];if(a){qe[j[i+8>>2]](i,a)}j[h+36>>2]=0;j[h+40>>2]=0}a=j[n+52>>2];if(a){qe[a|0](h)}if(m){qe[j[i+8>>2]](i,m)}if(h){qe[j[i+8>>2]](i,h)}j[g>>2]=0;a=j[k+12>>2];break a}j[g>>2]=h;a=0}oe=k+16|0;return a}function fh(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;i=oe-448|0;oe=i;a:{if(!g){j[i>>2]=97909;k=ve(97686,i);break a}if(!h){j[i+16>>2]=97913;k=ve(97686,i+16|0);break a}b:{if(!c){k=f&-268435456;break b}k=f&-268435456;l=(c&-268435456)==268435456;if(!(l|!f|(k|0)==268435456)){k=Ou(a,b,c,d,e,f,g,h);break a}if(l){break b}k=jn(a,b,c,d,e,f,g,h);break a}if(!(!f|(k|0)==268435456)){k=Pu(a,b,c,d,e,f,g,h);break a}l=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){k=0;if(!b){break a}a=p(l?c&255:1,a);while(1){Ge(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}c:{if(!l){break c}k=-1;if((c>>>24&15)-1>>>0>2){break c}ve(97923,0);break a}if((Ok(i+272|0,c)|0)<0){k=-1;break a}Oe(i+384|0,0,60);j[i+404>>2]=d;j[i+384>>2]=1;j[i+400>>2]=e;j[i+396>>2]=b;j[i+392>>2]=a;j[i+388>>2]=i+272;Oe(i+136|0,0,88);k=-1;j[i+212>>2]=-1;j[i+440>>2]=1;j[i+436>>2]=i+136;if((f>>>24&15)-1>>>0<=2){ve(97923,0);break a}if((Ok(i+224|0,f)|0)<0){break a}Oe(i+320|0,0,60);j[i+340>>2]=g;j[i+320>>2]=1;j[i+336>>2]=h;j[i+332>>2]=b;j[i+328>>2]=a;j[i+324>>2]=i+224;Oe(i+48|0,0,88);j[i+124>>2]=-1;j[i+376>>2]=1;j[i+44>>2]=b;j[i+40>>2]=a;j[i+32>>2]=0;j[i+36>>2]=0;j[i+372>>2]=i+48;g=j[i+436>>2];d:{e:{if(j[g>>2]!=(i+320|0)){break e}a=j[j[i+324>>2]+4>>2];if(j[g+80>>2]!=j[a+8>>2]?a:0){break e}a=j[j[i+388>>2]+4>>2];if(!a|j[g+84>>2]==j[a+8>>2]){break d}}if((Cj(i+384|0,i+320|0)|0)<0){break a}g=j[i+436>>2]}k=qe[j[g+8>>2]](i+384|0,i+32|0,i+320|0,i+32|0)|0}oe=i+448|0;return k}function cy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function ZE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;l=oe-16|0;oe=l;a:{if(j[a+4>>2]<0){break a}e=j[a+12>>2];m=j[a+8>>2]-e|0;c=e+j[a>>2]|0;b:{f=j[a+20>>2];c:{if(!f){if((m|0)<27){break a}if((k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24))!=1399285583){break c}e=k[c+26|0];f=e+27|0;if((m|0)<(f|0)){break a}if(e){e=j[a+24>>2];while(1){e=k[(c+g|0)+27|0]+e|0;j[a+24>>2]=e;g=g+1|0;if(g>>>0>2]=f}if((j[a+24>>2]+f|0)>(m|0)){break a}e=k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24);j[l+12>>2]=e;g=0;h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;n=j[a+24>>2];i=j[a+20>>2];h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;if((i|0)>0){f=0;while(1){d=j[((k[c+f|0]^d>>>24)<<2)+62016>>2]^d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if((n|0)>0){i=c+i|0;while(1){d=j[((k[i+g|0]^d>>>24)<<2)+62016>>2]^d<<8;g=g+1|0;if((n|0)!=(g|0)){continue}break}}h[c+22|0]=d;h[c+23|0]=d>>>8;h[c+24|0]=d>>>16;h[c+25|0]=d>>>24;if(j[l+12>>2]==(k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24))){break b}h[c+22|0]=e;h[c+23|0]=e>>>8;h[c+24|0]=e>>>16;h[c+25|0]=e>>>24}j[a+20>>2]=0;j[a+24>>2]=0;b=j[a>>2];d=Mh(c+1|0,79,m-1|0);if(!d){d=b+j[a+8>>2]|0}j[a+12>>2]=d-b;d=c-d|0;break a}i=j[a+12>>2];d:{if(!b){f=j[a+24>>2];d=j[a+20>>2];break d}e=i+j[a>>2]|0;j[b>>2]=e;d=j[a+20>>2];j[b+4>>2]=d;j[b+8>>2]=d+e;f=j[a+24>>2];j[b+12>>2]=f}j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;d=d+f|0;j[a+12>>2]=i+d}oe=l+16|0;return d}function Fo(a,b){var c=q(0),d=q(0),e=0,f=q(0),g=0,h=q(0),i=q(0),k=0,l=q(0),m=q(0),o=q(0),p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,z=q(0);p=oe-16|0;oe=p;e=1;k=j[a+4>>2];a:{b:{d=n[a>>2];c:{if(!(d<=q(0)^1)){if((k|0)<2){break c}while(1){g=(e<<3)+a|0;c=q(n[g+8>>2]-n[g>>2]);h=q(c*c);c=q(n[g+12>>2]-n[g+4>>2]);d=q(d+q(y(+q(h+q(c*c)))));e=e+1|0;k=j[a+4>>2];if((e|0)<(k|0)){continue}break}}if((k|0)<2){break c}k=1;h=q(d/q(63));c=h;while(1){e=(k<<3)+a|0;d=q(n[e>>2]-n[e+8>>2]);i=q(d*d);d=q(n[e+4>>2]-n[e+12>>2]);o=q(y(+q(i+q(d*d))));d=q(c+o);d:{if(d>h^1){c=d;break d}d=c;while(1){g=(r<<3)+b|0;c=n[e>>2];f=q(q(h-d)/o);i=q(c+q(f*q(n[e+8>>2]-c)));n[g>>2]=i;c=n[e+4>>2];c=q(c+q(f*q(n[e+12>>2]-c)));n[g+4>>2]=c;m=q(m+i);l=q(l+c);r=r+1|0;d=q(d-h);c=q(d+o);if(h>2];if((k|0)<(g|0)){continue}break}if((r|0)>62){break b}}j[p>>2]=r;ve(69280,p);break a}g=(g<<3)+a|0;a=j[g+4>>2];j[b+504>>2]=j[g>>2];j[b+508>>2]=a;i=q(l*q(.015625));c=q(m*q(.015625));s=+q(Xn(+q(i-n[b+4>>2]),+q(c-n[b>>2])));v=+i;w=+c;e=0;d=c;h=c;l=i;m=i;while(1){a=(e<<3)+b|0;o=n[a>>2];f=n[a+4>>2];t=+q(o-c);u=+q(f-i);x=a,z=q(lg(s)*t-Mg(s)*u+w),n[x>>2]=z;f=q(Mg(s)*t+lg(s)*u+v);n[a+4>>2]=f;l=f>l?f:l;m=f>2];h=f>h?f:h;d=d>f?f:d;e=e+1|0;if((e|0)!=64){continue}break}l=q(l-m);d=q(h-d);e=0;while(1){a=(e<<3)+b|0;n[a>>2]=q(q(n[a>>2]-c)*q(256))/d;n[a+4>>2]=q(q(n[a+4>>2]-i)*q(256))/l;e=e+1|0;if((e|0)!=64){continue}break}}oe=p+16|0}function by(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function Pp(a,b,c,d){var e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0;i=oe-1024|0;oe=i;a:{b:{c:{d:{e=j[a+760>>2];e:{if(e+1>>>0<=1){f=c+1|0;e=-1;break e}f=c+1|0;if(f>>>0>e>>>0){break d}}e=e-f|0;if(e>>>0>2]){j[d>>2]=e}f:{g:{e=El(a,j[a+376>>2]);switch(e|0){case 1:break f;case 0:break g;default:break a}}if(j[a+220>>2]!=j[a+376>>2]){break c}e=j[d>>2];j[a+224>>2]=j[a+788>>2]+c;f=e>>>0<1024?e:1024;j[a+240>>2]=f;k=b-c|0;j[a+228>>2]=k;j[a+236>>2]=i;g=a+224|0;f=e-f|0;e=ui(g,!f<<2);if(!e){while(1){b=j[a+240>>2];j[a+228>>2]=j[a+228>>2];b=b+f|0;e=b>>>0<1024?b:1024;j[a+240>>2]=e;j[a+236>>2]=i;f=b-e|0;e=ui(g,!f<<2);if(!e){continue}break}}j[a+236>>2]=0;b=j[a+240>>2]+f|0;if(b){j[d>>2]=j[d>>2]-b}f=j[a+228>>2];th(a,e);if((e|0)!=1){break b}if(!Lp(g)){l=j[d>>2];n=l+c|0;o=n+1|0;b=ag(a,o);if(b){h:{if(j[a+220>>2]==j[a+376>>2]){e=j[d>>2];j[a+236>>2]=b+c;j[a+224>>2]=j[a+788>>2]+c;j[a+240>>2]=e;f=k-f|0;j[a+228>>2]=f;while(1){e=ui(g,4);if(!e){e=j[a+228>>2];j[a+240>>2]=j[a+240>>2];j[a+228>>2]=e;continue}break}g=j[a+240>>2];if(g){j[d>>2]=j[d>>2]-g}g=j[a+228>>2];th(a,e);if((e|0)!=1){break h}e=-7;if(j[d>>2]!=(l|0)){break h}h[b+n|0]=0;d=j[a+788>>2];if(c){Ae(b,d,c)}j[a+792>>2]=o;j[a+788>>2]=b;Ke(a,d);e=1;if((f-g|0)==(k|0)){break b}Je(a,211220);break b}j[a+248>>2]=212458;e=-2}Ke(a,b);break b}e=-4;th(a,-4);break b}th(a,1);e=-7;break b}e=-7;break a}e=-4;th(a,-4);break a}j[a+248>>2]=212458;e=-2}j[a+220>>2]=0}oe=i+1024|0;return e}function go(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{b:{if(b>>>0<=15){g=j[(b<<2)+85792>>2]}else{g=0}if(g){c:{i=j[g>>2];if((i|0)>=1){k=j[a+240>>2];l=(k|0)<1;while(1){e=0;d:{if(l){break d}h=j[((f<<2)+g|0)+4>>2];c=0;while(1){e=0;e=h?j[h+4>>2]==j[j[a+244>>2]+(c<<2)>>2]?h:0:e;if(e){break d}c=c+1|0;if((k|0)>(c|0)){continue}break}}if(!e){f=f+1|0;if((i|0)>(f|0)){continue}}break}if(e){break c}}c=0;ve(75651,0);break a}c=j[a+252>>2];if(c){while(1){if(j[c+8>>2]==(e|0)){break a}c=j[c+20>>2];if(c){continue}break}}c=Xe(1,24);if(!c){c=0;Be(0);break a}j[c+8>>2]=e;j[c+4>>2]=b;b=qe[j[a+48>>2]](j[e>>2])|0;j[c>>2]=b;g=j[e+4>>2];if((g|0)!=-1){qe[j[a+144>>2]](1,c,g,j[e+12>>2],j[e+8>>2]);j[d+12>>2]=1;break b}qe[j[a+148>>2]](b,1,e+12|0,0);qe[j[a+40>>2]](j[c>>2]);qe[j[a+120>>2]](j[c>>2],35713,d+12|0);if(j[d+12>>2]){break b}j[d+8>>2]=0;qe[j[a+120>>2]](j[c>>2],35716,d+8|0);e:{f:{b=j[d+8>>2];if((b|0)<1){break f}g:{if(b>>>0<=127){f=d-(b+15&-16)|0;oe=f;g=b;break g}f=qe[j[57972]](b?b:1)|0;if(f){j[57976]=j[57976]+1}if(!f){break f}g=j[d+8>>2]}qe[j[a+116>>2]](j[c>>2],g,d+8|0,f);j[d>>2]=f;ve(75713,d);if(b>>>0<128){break e}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break e}ve(75743,0)}qe[j[a+56>>2]](j[c>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}ve(75592,0);break a}b=j[a+252>>2];if(b){j[c+20>>2]=b;j[b+16>>2]=c}j[a+252>>2]=c;j[a+248>>2]=j[a+248>>2]+1}oe=d+16|0;return c}function Lf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a|!b|j[b+16>>2]>131078){break a}c=j[a+16>>2];b:{if(!c){h=j[a>>2];j[e+8>>2]=0;break b}h=j[b+8>>2];c:{while(1){g=j[((d<<2)+a|0)+20>>2];i=j[g>>2];if(we(j[i+8>>2],h)){d=d+1|0;if(d>>>0>>0){continue}break c}break}if(j[b+12>>2]<=j[i+12>>2]){break a}as(a,g);c=j[a+16>>2]}h=j[a>>2];j[e+8>>2]=0;if(c>>>0>31){break a}}c=He(h,j[b+4>>2],e+8|0);if(j[e+8>>2]){break a}j[c+8>>2]=h;j[c+4>>2]=a;j[c>>2]=b;d:{e:{if(!(k[b|0]&2)){break e}i=j[a>>2];g=He(i,12,e+12|0);d=j[e+12>>2];if(d){j[e+8>>2]=d;break d}d=j[c>>2];j[c+12>>2]=d;f=j[d+36>>2];j[c+16>>2]=f;f:{g:{if((f|0)!=1869968492){break g}f=j[j[d+56>>2]+4>>2];if(!f){break g}f=qe[f|0](i,c+52|0)|0;j[e+12>>2]=f;if(f){break f}j[c+56>>2]=j[j[d+56>>2]+16>>2];j[c+60>>2]=j[d+40>>2]}j[g+8>>2]=c;zm(a+148|0,g);d=j[a+148>>2];h:{if(d){while(1){f=j[d+8>>2];if(j[f+16>>2]==1869968492){break h}d=j[d+4>>2];if(d){continue}break}}f=0}j[a+156>>2]=f;if(j[e+12>>2]){break f}j[e+8>>2]=0;break e}if(g){qe[j[i+8>>2]](i,g)}d=j[e+12>>2];j[e+8>>2]=d;if(d){break d}}d=j[c>>2];g=j[d>>2];if(g&4){j[a+160>>2]=c}if(g&1){j[c+12>>2]=d}b=j[b+24>>2];if(b){b=qe[b|0](c)|0;j[e+8>>2]=b;if(b){break d}}b=j[a+16>>2];j[a+16>>2]=b+1;j[((b<<2)+a|0)+20>>2]=c;break a}i:{if(!(k[j[c>>2]]&2)){break i}a=j[c+12>>2];if(!a|j[a+36>>2]!=1869968492){break i}b=j[c+52>>2];if(!b){break i}qe[j[j[a+56>>2]+20>>2]](b)}if(c){qe[j[h+8>>2]](h,c)}}oe=e+16|0}function ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+o|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(f,i)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+i|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(f,g)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+g|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Uv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+o|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(f,g)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+g|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+o|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(f,i)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;a:{i=j[a+28>>2];if(!i){break a}c=j[a+24>>2];l=c&3;m=(c+3|0)/4|0;f=j[a>>2];c=j[a+20>>2];n=j[a+36>>2]>>2<<2;o=j[a+16>>2]>>2<<2;b:while(1){k=m;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((k|0)>1){k=k-1|0;break f}c=c+n|0;f=f+o|0;i=a;if(a){continue b}break a}a=0;continue}}}}function lI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0;m=j[a+12>>2];n=j[a+204>>2];b=j[a+200>>2];a:{while(1){c=o;o=c+1|0;g=os(m,o);if(g){break a}g=21;l=b+4|0;if(l>>>0>n>>>0){break a}d=j[m+88>>2]+(c<<5)|0;j[d+8>>2]=0;j[d+12>>2]=0;p=k[b+1|0];e=p|k[b|0]<<8;i[d+4>>1]=e;j[d>>2]=k[b+3|0]|k[b+2|0]<<8;f=p&1?4:2;q=e&8;c=f+2|0;b:{if(q){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+l>>>0>n>>>0){break a}c=e&1;c:{if(e&2){if(c){c=k[b+4|0]|k[b+5|0]<<8;j[d+8>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=b+8|0;break c}j[d+8>>2]=h[b+4|0];f=h[b+5|0];c=b+6|0;break c}if(c){j[d+8>>2]=k[b+5|0]|k[b+4|0]<<8;f=k[b+7|0]|k[b+6|0]<<8;c=b+8|0;break c}j[d+8>>2]=k[b+4|0];f=k[b+5|0];c=b+6|0}j[d+12>>2]=f;d:{if(q){b=c+2|0;e=0;c=k[c|0]|k[c+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;f=g;l=0;break d}if(e&64){b=k[c+2|0]|k[c+3|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+4|0;e=0;l=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;l=0;break d}b=k[c+6|0]|k[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c+4|0]|k[c+5|0]<<8;e=(b<<24|b<<8&16711680)>>16<<2;b=k[c+2|0]|k[c+3|0]<<8;l=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+8|0}j[d+16>>2]=g;j[d+28>>2]=f;j[d+24>>2]=l;j[d+20>>2]=e;if(p&32){continue}break}j[m+84>>2]=o;c=j[j[a+24>>2]+8>>2];j[a+200>>2]=b;j[a+168>>2]=(b+c|0)-n;g=0}return g|0}function LF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0;d=j[b+1296>>2];f=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2];c=a+4|0;a:{if((Ce(c,1)|0)!=1){break a}h=2;g=Ef(a,j[b+1284>>2]<<2);a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r>>2]=t;a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r+4>>2]=t;if(j[d>>2]>0){while(1){m=j[(d+(l<<2)|0)+4>>2];e=d+(m<<2)|0;k=j[e+128>>2];a=0;b:{n=j[e+192>>2];if(!n){break b}a=wj(f+p(j[e+256>>2],56)|0,c);if((a|0)!=-1){break b}return 0}if((k|0)>=1){o=-1<>2];c:{if((i|0)>=0){i=wj(f+p(i,56)|0,c);j[(e+h<<2)+g>>2]=i;if((i|0)!=-1){break c}return 0}j[(e+h<<2)+g>>2]=0}a=a>>n;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+k|0;l=l+1|0;if((l|0)>2]){continue}break}}if(j[b+1284>>2]<3){break a}l=b+780|0;n=b+1032|0;k=d+836|0;h=2;while(1){a=h<<2;d=a-8|0;m=d+l|0;e=j[m>>2]<<2;o=d+n|0;f=j[o>>2]<<2;i=j[f+g>>2]&32767;d=(j[e+g>>2]&32767)-i|0;c=d>>31;q=c^d+c;c=j[f+k>>2];c=(p(q,j[a+k>>2]-c|0)|0)/(j[e+k>>2]-c|0)|0;d=i+((d|0)<0?0-c|0:c)|0;a=a+g|0;c=j[a>>2];d:{if(c){f=j[b+1292>>2]-d|0;e:{if((c|0)>=((d|0)>(f|0)?f:d)<<1){e=c-d|0;if((d|0)<(f|0)){break e}e=f+(c^-1)|0;break e}e=0-(c+1>>1)|0;if(c&1){break e}e=c>>1}j[a>>2]=e+d&32767;a=(j[o>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;a=(j[m>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;break d}j[a>>2]=d|32768}h=h+1|0;if((h|0)>2]){continue}break}}return g|0}function hO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;m=j[a+12>>2]-1|0;a:{if(m>>>0>1){break a}h=j[a+16>>2];f=+(h&2097151);i=q(Gp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));h=j[a+20>>2];f=+(h&2097151);o=q(Gp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));d=j[a>>2];h=bf(p(d,b),4);b:{switch(m|0){case 1:s=j[a+4>>2];if((s|0)<1){break a}f=+i;w=+o;t=(d|0)<1;while(1){if(!(k[j[a+8>>2]+g|0]?0:c)){if(!t){l=p(d,e);m=p(d,g);x=(e<<2)+c|0;y=j[a+28>>2];z=j[a+32>>2];b=0;i=q(0);while(1){o=q(w*+q(r(q(j[z+(b+m<<2)>>2])))+f+ +i);i=y?o:i;if(c){u=p(d,j[x>>2])+b|0}else{u=b+l|0}n[(u<<2)+h>>2]=o;b=b+1|0;if((d|0)!=(b|0)){continue}break}}e=e+1|0}g=g+1|0;if((s|0)!=(g|0)){continue}break}break a;case 0:break b;default:break a}}s=j[a+4>>2];f=v(Bg(+q(s|0),+q(q(1)/q(d|0))));c:{if(r(f)<2147483648){g=~~f;break c}g=-2147483648}while(1){b=1;l=1;if((d|0)>=1){m=g+1|0;e=0;while(1){l=p(l,m);b=p(b,g);e=e+1|0;if((d|0)!=(e|0)){continue}break}}b=(b|0)>(s|0);if(b|(l|0)<=(s|0)){g=(b?-1:1)+g|0;continue}else{if((s|0)<1){break a}f=+i;w=+o;e=0;m=(d|0)<1;while(1){if(!(k[j[a+8>>2]+e|0]?0:c)){if(!m){x=p(d,t);y=(t<<2)+c|0;z=j[a+28>>2];A=j[a+32>>2];b=0;i=q(0);l=1;while(1){o=q(w*+q(r(q(j[A+(((e|0)/(l|0)|0)%(g|0)<<2)>>2])))+f+ +i);i=z?o:i;if(c){u=p(d,j[y>>2])+b|0}else{u=b+x|0}n[(u<<2)+h>>2]=o;l=p(g,l);b=b+1|0;if((d|0)!=(b|0)){continue}break}}t=t+1|0}e=e+1|0;if((s|0)!=(e|0)){continue}break}}break}}return h}function _h(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,q=0;l=oe-32|0;oe=l;a:{b:{c:{d:{e:{f:{if((b|0)<=1431918168){g:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break e;case 11:break f;default:break g}}if((b|0)==825382478){break e}m=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}m=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}k=p(a,d)+c|0;n=(d+1|0)/2|0;m=k+p(n,(a+1|0)/2|0)|0;break c}k=p(a,d)+c|0;n=(d+1|0)/2<<1}m=0}a=m;h:{i:{j:{k:{l:{m:{n:{o:{if((b|0)<=1431918168){p:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break l;case 11:break o;default:break p}}if((b|0)==825382478){break k}if((b|0)!=844715353){break j}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+3;j[f>>2]=j[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}j[e>>2]=c+1;j[h>>2]=d;j[g>>2]=c+2;j[f>>2]=j[e>>2]-1;break h}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=a;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=a;j[f>>2]=k;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+1;j[f>>2]=j[e>>2]+3;break h}j[e>>2]=c;j[h>>2]=d;j[f>>2]=k;j[g>>2]=k+1;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=k+1;break i}o=l,q=Gg(b),j[o+16>>2]=q;a=ve(99779,l+16|0);break a}j[i>>2]=n;a=0;break a}j[i>>2]=d;a=0;break a}o=l,q=Gg(b),j[o>>2]=q;a=ve(99736,l)}oe=l+32|0;return a}function hG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0;a:{d=l[a+420>>1];if(!d){break a}f=k[b+9|0];if((d|0)>=1<>2];d=j[b+4>>2];c=i+d|0;b=0-p(j[b>>2],k[b+11|0])&7;b:{switch(f-1|0){case 7:if((d|0)<1){break a}d=j[a+424>>2];while(1){b=k[c|0];if((b|0)>(d|0)){j[a+424>>2]=b;d=b}c=c-1|0;if(i>>>0>>0){continue}break}break a;case 3:if((d|0)<1){break a}b=k[c|0]>>>b|0;d=b>>>4|0;b=b&15;e=j[a+424>>2];f=(b|0)>(e|0);e=f?b:e;b=(d|0)>(e|0)?d:e;if(!((d|0)<=(e|0)?!f:0)){j[a+424>>2]=b}c=c-1|0;if(i>>>0>=c>>>0){break a}while(1){f=k[c|0];d=f>>>4|0;e=f&15;f=e>>>0>b>>>0;e=f?e:b;b=(d|0)>(e|0)?d:e;if(!((d|0)<=(e|0)?!f:0)){j[a+424>>2]=b}c=c-1|0;if(i>>>0>>0){continue}break}break a;case 1:if((d|0)<1){break a}b=k[c|0]>>>b|0;d=b>>>6|0;e=b&3;h=j[a+424>>2];f=(e|0)>(h|0);g=b>>>2&3;h=f?e:h;e=(g|0)>(h|0);b=b>>>4&3;g=e?g:h;h=(b|0)>(g|0);g=h?b:g;b=(d|0)>(g|0)?d:g;c:{if(!(h|(e|f))){if((d|0)<=(g|0)){break c}}j[a+424>>2]=b}d=c-1|0;if(i>>>0>=d>>>0){break a}while(1){c=k[d|0];f=c>>>6|0;h=c&3;e=h>>>0>b>>>0;g=c>>>2&3;b=e?h:b;h=(g|0)>(b|0);m=c>>>4&3;b=h?g:b;c=(m|0)>(b|0);g=c?m:b;b=(f|0)>(g|0)?f:g;d:{if(!(c|(e|h))){if((f|0)<=(g|0)){break d}}j[a+424>>2]=b}d=d-1|0;if(i>>>0>>0){continue}break}break a;case 0:break b;default:break a}}if((d|0)<1){break a}if(k[c|0]>>>b|0){j[a+424>>2]=1}c=c-1|0;if(i>>>0>=c>>>0){break a}while(1){if(k[c|0]){j[a+424>>2]=1}c=c-1|0;if(i>>>0>>0){continue}break}}}function EI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;g=oe-16|0;oe=g;b=j[a+664>>2];if(!b){b=l[a+340>>1];a:{if(!b){b=0;break a}f=b>>>0>1?b:1;m=j[a+356>>2];b=0;d=-1;e=-1;while(1){c=m+p(b,20)|0;b:{if(l[c+6>>1]!=6|!l[c+8>>1]){break b}c:{switch(l[c>>1]-1|0){case 2:if(l[c+2>>1]!=1){break b}d=l[c+4>>1]==1033?b:d;break b;case 0:break c;default:break b}}if(l[c+2>>1]){break b}e=l[c+4>>1]?e:b}b=b+1|0;if((f|0)!=(b|0)){continue}break}if((d|0)!=-1){n=j[a+356>>2];c=n+p(d,20)|0;m=l[c+8>>1];e=j[a+100>>2];j[g+12>>2]=0;b=He(e,m+1|0,g+12|0);if(j[g+12>>2]){break a}f=j[a+360>>2];o=Fe(f,j[c+12>>2]);j[g+12>>2]=o;d:{if(o){break d}o=_e(f,l[c+8>>1]);j[g+12>>2]=o;if(o){break d}d=b;e=m>>>1|0;if(e){c=j[f+32>>2];while(1){e:{if(k[c|0]){break e}m=h[c+1|0];if((m|0)<32){break e}h[d|0]=m;d=d+1|0}c=c+2|0;e=e-1|0;if(e){continue}break}}h[d|0]=0;Ve(f);break a}if(b){qe[j[e+8>>2]](e,b)}b=0;i[c+8>>1]=0;j[c+12>>2]=0;d=n+p(d,20)|0;c=j[d+16>>2];if(c){qe[j[e+8>>2]](e,c)}j[d+16>>2]=0;break a}if((e|0)==-1){b=0;break a}m=j[a+356>>2];f=m+p(e,20)|0;b=l[f+8>>1];c=j[a+100>>2];j[g+8>>2]=0;d=He(c,b+1|0,g+8|0);if(j[g+8>>2]){b=d;break a}n=j[a+360>>2];o=Fe(n,j[f+12>>2]);j[g+8>>2]=o;f:{if(o){break f}n=uf(n,d,b);j[g+8>>2]=n;if(n){break f}h[b+d|0]=0;b=d;break a}b=0;j[f+12>>2]=0;i[f+8>>1]=0;e=m+p(e,20)|0;f=j[e+16>>2];if(f){qe[j[c+8>>2]](c,f)}j[e+16>>2]=0;if(d){qe[j[c+8>>2]](c,d)}}j[a+664>>2]=b}oe=g+16|0;return b|0}function ny(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=f-1|0;e=k[c|0]<<2;h[a|0]=k[e+d|0];e=(e|1)+d|0;h[a+1|0]=k[e|0];h[a+2|0]=k[e+1|0];a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function er(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){k=j[a+4>>2];m=j[a+12>>2];a=(e|0)==2;o=a?256:128;p=a?128:256;n=0-e|0;while(1){g=j[b+16>>2];a:{if(g&16){break a}l=j[b+28>>2];b:{a=h[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(n|0)){break c}a=h[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(n|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break a}if((a|0)!=(n|0)){break a}a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{if(g&p){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break d}if(!(g&o)){break d}a=0;if(!k){break d}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|1040}if(j[b+24>>2]){break a}a=0;if(!k){break a}while(1){g=j[(a<<2)+m>>2];f=j[g>>2];if(!((f|0)>(l|0)|(f+j[g+4>>2]|0)<(l|0))){j[b+24>>2]=g;break a}a=a+1|0;if((k|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}}function vJ(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;l=oe-16|0;oe=l;d=j[a+28>>2];e=j[a+16>>2];m=j[a+24>>2];j[l+12>>2]=0;a:{b:{g=m+1|0;c:{if(g>>>0<=d>>>0){n=j[a+32>>2];break c}j[a+36>>2]=b;n=xe(b,4,d,g,j[a+32>>2],l+12|0);j[a+32>>2]=n;if(j[l+12>>2]){break b}j[a+28>>2]=g}g=n;if(m){e=e+10|0;while(1){h=k[e+7|0]|k[e+8|0]<<8|(k[e+9|0]<<16|k[e+10|0]<<24);r=k[e|0];s=k[e+1|0];t=k[e+2|0];d:{e:{f:{b=k[e+3|0]|k[e+4|0]<<8|(k[e+5|0]<<16|k[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;q=o+(b<<2)|0;f=q-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+k[q|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}o=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=o+p(d,5)|0;f=h-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(k[h+1|0]|k[h|0]<<8)){break d}}j[g>>2]=s<<8|r<<16|t;g=g+4|0}e=e+11|0;m=m-1|0;if(m){continue}break}}j[g>>2]=0;break a}n=0}oe=l+16|0;return n|0}function Rm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0,q=0;c=j[a+36>>2];h=j[a+40>>2];d=j[a+28>>2];i=j[a+24>>2];k=d+p(i,40)|0;a:{if(b){m=8;if((i|0)<=0){break a}a=d;while(1){j[a+24>>2]=j[a+20>>2];j[a+28>>2]=j[a+8>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}break a}m=4;if((i|0)<1){break a}a=d;while(1){j[a+24>>2]=j[a+16>>2];j[a+28>>2]=j[a+4>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}}if((c|0)>=1){q=(c<<2)+h|0;while(1){e=j[h>>2];a=e;f=j[a+36>>2];b:{if(a>>>0>f>>>0){break b}while(1){c:{if(l[a>>1]&m){c=a;while(1){g=c;o=f>>>0<=c>>>0;if(!o){c=g+40|0;if(l[g+40>>1]&m){continue}}d:{e:{n=g+40|0;c=n;if(f>>>0>=c>>>0){while(1){if(l[c>>1]&m){break e}c=c+40|0;if(f>>>0>=c>>>0){continue}break}}if((a|0)==(g|0)){c=j[a+24>>2]-j[a+28>>2]|0;if(!c){break b}if(a>>>0>e>>>0){break d}break c}if(!o){Lm(n,f,g,a)}if(a>>>0<=d>>>0){break b}Lm(e,a-40|0,g,a);break b}Lm(n,c-40|0,g,c);continue}break}while(1){j[e+24>>2]=c+j[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(f>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(f>>>0>>0){break b}while(1){j[a- -64>>2]=c+j[a+68>>2];a=e;e=a+40|0;if(f>>>0>=e>>>0){continue}break}}h=h+4|0;if(q>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){j[d+20>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}break f}if((i|0)<1){break f}while(1){j[d+16>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}}}function cD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-4272|0;oe=c;b=0;j[c+4232>>2]=j[15930];e=j[15929];d=c+4224|0;j[d>>2]=j[15928];j[d+4>>2]=e;e=j[15927];d=c+4216|0;j[d>>2]=j[15926];j[d+4>>2]=e;e=j[15925];d=c+4208|0;j[d>>2]=j[15924];j[d+4>>2]=e;e=j[15923];d=c+4200|0;j[d>>2]=j[15922];j[d+4>>2]=e;e=j[15921];d=c+4192|0;j[d>>2]=j[15920];j[d+4>>2]=e;d=j[15919];j[c+4184>>2]=j[15918];j[c+4188>>2]=d;d=j[15917];j[c+4176>>2]=j[15916];j[c+4180>>2]=d;e=j[a+20>>2];f=j[a+12>>2];g=j[a+16>>2];d=j[a+4>>2];j[c+52>>2]=j[a+8>>2];j[c+48>>2]=(d|0)==1?63781:63786;j[c+44>>2]=d;j[c+40>>2]=g;j[c+36>>2]=f;j[c+32>>2]=e;Ue(c- -64|0,4096,63724,c+32|0);j[c+16>>2]=c- -64;Zi(63792,c+16|0);a=Mf(63799);a:{if(a){if(!cf(a,63810)){a=2;break a}if(!cf(a,63816)){a=1;break a}if(!cf(a,63822)){a=0;break a}if(!cf(a,63828)){a=3;break a}a=cf(a,63835)?2:4;break a}a=Wu();b:{if(!a){break b}if(!(Ni(a)&1)){break b}av(a);b=a}Oe(c+4240|0,0,28);j[c+4256>>2]=5;j[c+4248>>2]=63849;j[c+4244>>2]=b;j[c+4240>>2]=32;j[c+4260>>2]=c+4176;j[c+4252>>2]=c- -64;c:{if(Qu(c+4240|0,c+4172|0)){while(1){h[c+4170|0]=105;h[c+4171|0]=0;j[c>>2]=c- -64;a=E(63866,c+4170|0,c|0)|0;if(!cf(a,64091)){ze(a);a=2;break c}if(!cf(a,64093)){ze(a);a=0;break c}if(!cf(a,64095)){ze(a);a=3;break c}d=cf(a,64097);ze(a);if(d){continue}break}a=4;break c}a=j[c+4172>>2];a=(a|0)==-1?3:a}if(!b){break a}$u(b)}oe=c+4272|0;return a|0}function ev(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-80|0;oe=e;a:{if(!j[67085]){if((tn()|0)<0){break a}}b:{d=(a|0)>1?a:1;if((d|0)<=16384){b=(b|0)>1?b:1;if((b|0)<16385){break b}}ve(98270,0);break a}c=Xe(1,156);if(!c){c=0;Be(0);break a}a=j[67085];j[c>>2]=a+316;f=a;a=j[a+320>>2];j[f+320>>2]=a+1;j[c+28>>2]=b;j[c+24>>2]=d;j[c+20>>2]=536805376;j[c+16>>2]=536805376;j[c+4>>2]=a;f=Ch(c);a=j[67085];g=(f|0)>=0?j[a+304>>2]+p(f,72)|0:g;f=j[a+300>>2];c:{if((f|0)>=1){h=j[a+304>>2];a=0;while(1){if((p(a,72)+h|0)==(g|0)){break c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0}Hk(a,e- -64|0);j[c+16>>2]=j[e+64>>2]+((j[e+72>>2]-d|0)/2|0);a=j[e+68>>2]+((j[e+76>>2]-b|0)/2|0)|0;j[c+20>>2]=a;b=j[c+24>>2];d=j[c+16>>2];j[c+68>>2]=j[c+28>>2];j[c+64>>2]=b;j[c+60>>2]=a;j[c+56>>2]=d;j[c+92>>2]=1065353216;j[c+96>>2]=1065353216;a=40;j[c+52>>2]=40;j[c+48>>2]=40;b=j[67085];d=j[b+308>>2];j[c+120>>2]=0;j[c+152>>2]=d;if(d){j[d+148>>2]=c}j[b+308>>2]=c;d:{d=j[b+36>>2];if(d){if((qe[d|0](b,c)|0)<0){break d}a=j[c+48>>2]}if(a&64){j[c+48>>2]=a&-65}a=j[67085];e:{if(!a){ve(99429,0);break e}if(j[c>>2]!=(a+316|0)){ve(98129,0);break e}a=j[c+8>>2];if((a|0)==1647){break e}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}i=c,k=Uf(1647),j[i+8>>2]=k;a=j[67085];b=j[a+44>>2];if(!b){break e}qe[b|0](a,c)}rn(c,32);a=j[c+48>>2];Xg(c,(a&5)==5?(a>>>6^-1)&1:0);break a}Jk(c);c=0}oe=e+80|0;return c}function Sj(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0;l=j[a+172>>2];j[a+172>>2]=0;e=j[a>>2]?p(j[a+28>>2],c):c;g=j[a+240>>2];if(j[a+216>>2]!=j[a+204>>2]){f=e;i=k[a+232|0]<<2;m=w(o[a+224>>3]*+((e|0)/(i|0)|0));a:{if(r(m)<2147483648){e=~~m;break a}e=-2147483648}i=p(e,i);e=f+i|0}f=j[a+188>>2];if(j[a+84>>2]){e=p(j[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>j[a+192>>2]){f=mf(f,e+32|0);if(!f){Be(0);return-1}j[a+192>>2]=e;j[a+188>>2]=f}e=f&15?(f&-16)+16|0:f;if(!e){return-1}f=l?0:g;l=f+e|0;Ge(l,b,c);b:{if(!j[a>>2]){break b}h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;j[a+20>>2]=c;j[a+16>>2]=l;b=k[a+40|0]|k[a+41|0]<<8|(k[a+42|0]<<16|k[a+43|0]<<24);if(!b){break b}h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;qe[b|0](a,k[a+4|0]|k[a+5|0]<<8);c=j[a+24>>2]}c:{d:{if(j[a+216>>2]==j[a+204>>2]){f=e;break d}if(f){Ge(e,j[a+244>>2],f);c=c+f|0}b=c-g|0;Ge(j[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=qe[j[a+252>>2]](a,e,b,f,i)|0}if((c|0)<1){break c}b=a+84|0;if(!j[b>>2]){break c}h[a+108|0]=c;h[a+109|0]=c>>>8;h[a+110|0]=c>>>16;h[a+111|0]=c>>>24;j[a+104>>2]=c;j[a+100>>2]=f;e=k[a+124|0]|k[a+125|0]<<8|(k[a+126|0]<<16|k[a+127|0]<<24);if(!e){break c}h[a+164|0]=0;h[a+165|0]=0;h[a+166|0]=0;h[a+167|0]=0;qe[e|0](b,k[a+88|0]|k[a+89|0]<<8);c=j[a+108>>2]}if(d){b=j[d>>2];c=(b|0)<(c|0)?b:c;j[d>>2]=b-c}if(!c){return 0}return nl(j[a+168>>2],f,c)}function EC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0;a:{b:{c:{d:{c=b&255;switch(c-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break c;case 0:break d;default:break b}}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>1|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=l[d>>1];i[d>>1]=(c<<24|c<<8&16711680)>>>16;d=d+2|0;f=f-1|0;if(f){continue}break}break a}e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(!e){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=j[d>>2];j[d>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;e=e-1|0;if(e){continue}break}break a}if((c|0)!=64){break a}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>3|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){e=j[d>>2];c=j[d+4>>2];g=c<<24|e>>>8;g=g&65280|(c<<8|e>>>24)&255|(e<<24|e<<8&16711680);j[d>>2]=((c&255)<<24|e>>>8)&-16777216|((c&16777215)<<8|e>>>24)&16711680|(c>>>8&65280|c>>>24)|m;j[d+4>>2]=g;d=d+8|0;f=f-1|0;if(f){continue}break}}c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b^4096)}}function Ak(a,b,c,d,e,f,g){var h=0,i=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;r=oe-16|0;oe=r;x=a+24|0;y=!d|!e;v=-1;w=-1;s=-1;t=-1;u=-1;q=b;o=c;a:{while(1){i=j[a>>2];if(!i){h=-129;m=-1;break a}l=(o|0)>0?1:(o|0)>=0?q>>>0>65536:0;h=l?q:65536;q=h-65536|0;n=q;p=(l?o:0)-(h>>>0<65536)|0;o=p;if(j[a+8>>2]!=(n|0)|(o|0)!=j[a+12>>2]){h=-128;m=-1;l=j[a+708>>2];if(!l){break a}if((qe[l|0](i,q,o,0)|0)==-1){break a}j[a+8>>2]=q;j[a+12>>2]=o;if(j[x+4>>2]>=0){i=x;j[i+8>>2]=0;j[i+12>>2]=0;j[i+24>>2]=0;j[i+16>>2]=0;j[i+20>>2]=0}p=j[a+12>>2];n=j[a+8>>2]}i=-1;l=-1;b:{if((c|0)<(p|0)?1:(c|0)<=(p|0)?b>>>0<=n>>>0:0){break b}while(1){z=i;A=l;h=-128;m=-1;i=b;i=Qf(a,r,i-n|0,c-((i>>>0>>0)+p|0)|0);n=pe;l=n;if((i|0)==-128&(l|0)==-1){break a}if((l|0)<0){i=z;l=A;break b}h=j[r>>2];v=k[h+6|0]|k[h+7|0]<<8|(k[h+8|0]<<16|k[h+9|0]<<24);w=k[h+10|0]|k[h+11|0]<<8|(k[h+12|0]<<16|k[h+13|0]<<24);h=j[r>>2];s=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);if((s|0)==j[f>>2]){j[g>>2]=v;j[g+4>>2]=w;t=i;u=l}m=e;h=d;c:{if(y){t=-1;u=-1;break c}while(1){if(j[h>>2]==(s|0)){break c}h=h+4|0;m=m-1|0;if(m){continue}break}t=-1;u=-1}n=j[a+8>>2];p=j[a+12>>2];h=p;if((c|0)>(h|0)?1:(c|0)>=(h|0)?b>>>0>n>>>0:0){continue}break}}if((i|0)==-1&(l|0)==-1){continue}break}m=u;h=t;if((m|0)>-1){break a}j[f>>2]=s;j[g>>2]=v;j[g+4>>2]=w;h=i;m=l}oe=r+16|0;pe=m;return h}function ez(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0;l=c/90;a:{if(r(l)<2147483648){n=~~l;break a}n=-2147483648}if(+(n|0)==l){n=(n|0)%4|0;n=(n|0)<0?n+4|0:n;if(n&1){j[d>>2]=b;j[e>>2]=a;j[f>>2]=0;j[f+4>>2]=0;o[g>>3]=((n|0)==1?-1:1)|0;return}j[d>>2]=a;j[e>>2]=b;o[f>>3]=(n?-1:1)|0;j[g>>2]=0;j[g+4>>2]=0;return}c=c*-.017453292519943295;u=g,v=Mg(c),o[u>>3]=v;k=lg(c);o[f>>3]=k;p=+((a|0)/2|0);c=k*p;q=o[g>>3];s=+((b|0)/2|0);m=q*s;i=c-m;l=m-c;t=l;h=c+m;if(!(r(r(h)>r(i)?h:i)>r(l)^1)){t=r(h)>r(i)?h:i}m=-c-m;c=m;b:{if(r(t)>r(c)^1){break b}c=l;if(r(r(h)>r(i)?h:i)>r(c)^1){break b}c=r(h)>r(i)?h:i}a=2;c=w(r(c));c:{if(r(c)<2147483648){b=~~c;break c}b=-2147483648}if((b|0)>=2){d:{if(r(r(r(h)>r(i)?h:i)>r(l)^1?l:r(h)>r(i)?h:i)>r(m)^1){break d}m=l;if(r(r(h)>r(i)?h:i)>r(l)^1){break d}m=r(h)>r(i)?h:i}c=w(r(m));e:{if(r(c)<2147483648){a=~~c;break e}a=-2147483648}a=a<<1}c=q*p;i=k*s;h=c-i;l=i-c;m=l;k=i+c;if(!(r(r(k)>r(h)?k:h)>r(l)^1)){m=r(k)>r(h)?k:h}c=-c-i;i=c;f:{if(r(m)>r(c)^1){break f}i=l;if(r(r(k)>r(h)?k:h)>r(i)^1){break f}i=r(k)>r(h)?k:h}g=2;j[d>>2]=a;m=w(r(i));g:{if(r(m)<2147483648){a=~~m;break g}a=-2147483648}if((a|0)>=2){h:{if(r(r(r(k)>r(h)?k:h)>r(l)^1?l:r(k)>r(h)?k:h)>r(c)^1){break h}c=l;if(r(r(k)>r(h)?k:h)>r(c)^1){break h}c=r(k)>r(h)?k:h}c=w(r(c));i:{if(r(c)<2147483648){a=~~c;break i}a=-2147483648}g=a<<1}j[e>>2]=g}function TM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){f=j[b+4>>2];g=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}n=l[c>>1];d=n<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(n<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];n=i[c+2>>1];o=j[c+4>>2]+(n<<3)|0;j[o+4>>2]=f>>10;j[o>>2]=g>>10;h[d+n|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+3>>>0<=m[c+4>>2]){break b}c=yf(c,3,0);if(!c){break b}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=c;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[e+20>>2];e:{f:{g:{if(!k[e+65|0]){i[a+2>>1]=l[a+2>>1]+1;break g}c=j[a+8>>2];d=j[b+8>>2];f=i[a+2>>1];g=j[a+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+12>>2]>>10;j[g>>2]=d>>10;h[c+f|0]=2;d=k[e+65|0];c=j[e+20>>2];i[a+2>>1]=l[a+2>>1]+1;if(d){break f}a=c}i[a+2>>1]=l[a+2>>1]+1;break e}a=j[c+8>>2];d=j[b+16>>2];f=i[c+2>>1];g=j[c+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+20>>2]>>10;j[g>>2]=d>>10;h[a+f|0]=2;d=k[e+65|0];a=j[e+20>>2];i[c+2>>1]=l[c+2>>1]+1;if(!d){break e}c=j[a+8>>2];e=j[b+24>>2];d=i[a+2>>1];f=j[a+4>>2]+(d<<3)|0;j[f+4>>2]=j[b+28>>2]>>10;j[f>>2]=e>>10;h[c+d|0]=1}i[a+2>>1]=l[a+2>>1]+1}}function Di(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=oe-16|0;oe=d;e=p(b,-11796480)+5898240|0;g=Df(j[a>>2],j[a+4>>2]);f=(g|0)/2|0;m=(b<<5)+a|0;a:{b:{c:{d:{e:{f:{if(!k[m+80|0]|(!c|g+11763713>>>0>23527426)){break f}i=ye(j[a+60>>2],SN(f));g=i>>31;g=g^g+i;if(!g|(c|0)<(g|0)){break f}if((g|0)<=j[a+16>>2]){break e}}of(d,j[a+60>>2],e+j[a+4>>2]|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;h[m+80|0]=0;break d}c=j[a>>2];g=Bi(f);of(d,De(j[a+60>>2],g),c+(e+f|0)|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;if(!k[m+80|0]){break d}a=(b<<5)+a|0;a=((j[a- -64>>2]<<3)+j[a+72>>2]|0)-8|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;break c}g=(b<<5)+a|0;i=g- -64|0;c=j[i>>2];g:{if(!c){break g}l=j[g+72>>2]+(c-1<<3)|0;if((j[l>>2]-e|0)+1>>>0>2){break g}e=0;if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=j[g+68>>2];j[d+12>>2]=0;e=c+1|0;h:{if(e>>>0<=f>>>0){f=j[((b<<5)+a|0)+76>>2];break h}l=j[((b<<5)+a|0)+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}n=(b<<5)+a|0;e=n;o=e,q=xe(l,8,f,c,j[e+72>>2],d+12|0),j[o+72>>2]=q;e=j[d+12>>2];if(e){break b}f=xe(l,1,f,c,j[n+76>>2],d+12|0);j[n+76>>2]=f;e=j[d+12>>2];if(e){break b}j[g+68>>2]=c;c=j[i>>2]}a=j[((b<<5)+a|0)+72>>2]+(c<<3)|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;h[c+f|0]=1;j[i>>2]=j[i>>2]+1}e=0}h[m+80|0]=0}oe=d+16|0;return e}function MK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;m=oe-16|0;oe=m;h=He(a,2496,m+12|0);d=j[m+12>>2];if(!d){j[h>>2]=a;j[h+212>>2]=l[b+120>>1];g=k[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){j[a>>2]=i[d>>1];d=d+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}a=1;j[h+208>>2]=g+1;j[h+8>>2]=l[b+122>>1];g=k[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){j[d>>2]=i[f>>1];f=f+2|0;d=d+12|0;e=e-1|0;if(e){continue}break}}j[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;br(g,k[b+8|0],f,k[b+9|0],b+40|0,j[b+116>>2],0);br(g,k[b+10|0],b+60|0,k[b+11|0],b+88|0,j[b+116>>2],1);g=k[b+8|0];if(g){while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}a=De(1e3,a<<16>>16);f=j[b+108>>2];j[h+2476>>2]=(a|0)>(f|0)?f:a;j[h+2480>>2]=j[b+112>>2];a=j[b+116>>2];j[h+404>>2]=0;j[h+408>>2]=0;j[h+200>>2]=0;j[h+204>>2]=0;j[h+2488>>2]=a;d=j[m+12>>2]}j[c>>2]=h;oe=m+16|0;return d|0}function nm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;j[c+12>>2]=j[a>>2];d=j[a+8>>2];Pf(c+12|0,d);b=j[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{f=k[b|0];switch(f-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break b;case 7:break c;case 22:break d;case 20:break e;case 0:break f;case 51:case 53:break h;default:break g}}j[c+12>>2]=b+1;break a}if((f|0)!=123){break b}e=or(c+12|0,d);break a}e=mm(c+12|0,d);break a}if(!(k[b+1|0]!=60|b+1>>>0>=d>>>0)){j[c+12>>2]=b+2;break a}e=nr(c+12|0,d);break a}f=b+1|0;j[c+12>>2]=f;e=3;if(k[f|0]!=62|d>>>0<=f>>>0){break a}j[c+12>>2]=b+2;e=0;break a}b=b+1|0;j[c+12>>2]=b}if(b>>>0>=d>>>0){break a}i:{while(1){j:{switch(k[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break i;default:break j}}b=b+1|0;if((d|0)!=(b|0)){continue}break}j[c+12>>2]=d;break a}j[c+12>>2]=b}b=j[c+12>>2];if(b>>>0>>0){e=(b|0)==j[a>>2]?3:e}j[a>>2]=b;j[a+12>>2]=e;oe=c+16|0}function qM(a,b,c,d,e){var f=0,g=0;f=oe+ -64|0;oe=f;g=6;a:{if(!c|(!b|!a)){break a}j[f+20>>2]=b;j[f+12>>2]=e;j[f+8>>2]=d;b=j[c>>2];j[f+48>>2]=a;j[f+44>>2]=679;j[f+40>>2]=680;j[f+24>>2]=b;if(xr(f+8|0,15)){break a}d=vr(f+8|0,4);if((d|0)!=1){g=j[f+36>>2];b:{if(!g){break b}c=j[f+44>>2];if(!c){break b}b=j[g+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;g=j[b+40>>2];j[b+52>>2]=g;j[b+48>>2]=g;a=j[b+56>>2];if(a){a=qe[a|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;g=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],g);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);g=j[f+36>>2];c=j[f+44>>2]}qe[c|0](j[f+48>>2],g)}g=0;a=d+5|0;if(a>>>0>=6){break a}g=j[(a<<2)+132244>>2];break a}j[c>>2]=j[f+28>>2];g=0;a=j[f+36>>2];if(!a){break a}c=j[f+44>>2];if(!c){break a}b=j[a+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;a=j[b+40>>2];j[b+52>>2]=a;j[b+48>>2]=a;c=j[b+56>>2];if(c){a=qe[c|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;a=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],a);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);c=j[f+44>>2];a=j[f+36>>2]}qe[c|0](j[f+48>>2],a)}oe=f- -64|0;return g}function Ei(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,m=0,n=0,o=0;c=j[a+88>>2];if(h[a+8|0]&1){a:{b:{c:{d:{e:{switch(j[b>>2]){case 0:g=l[a+68>>1];e=g;break c;case 2:f=j[a+60>>2]-j[a+52>>2]|0;e=j[a- -64>>2]-j[a+56>>2]|0;break d;case 3:f=i[a+76>>1];e=i[a+70>>1]-i[a+72>>1]|0;break d;case 4:d=j[b+4>>2];j[c+16>>2]=d;e=j[b+8>>2];j[c+20>>2]=e;if(!d){j[c+16>>2]=e;d=0;break b}if(e){d=0;break b}j[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=i[a+70>>1]-i[a+72>>1]|0;e=f}d=e;d=d>>31;e=e+d^d;d=f>>31;g=d+f^d}k=j[b+4>>2];f=k;d=j[b+12>>2];if(d){f=(p(d,k)+36|0)/72|0}d=j[b+8>>2];m=j[b+16>>2];if(m){d=(p(d,m)+36|0)/72|0}if(k){k=De(f,g);j[c+16>>2]=k;if(j[b+8>>2]){g=De(d,e);j[c+20>>2]=g;e=j[b>>2];if((e|0)!=3){break a}e=j[c+16>>2];if((e|0)<(g|0)){j[c+20>>2]=e;break b}j[c+16>>2]=g;break b}j[c+20>>2]=k;d=Ne(f,e,g);break b}f=De(d,e);j[c+16>>2]=f;j[c+20>>2]=f;f=Ne(d,g,e)}e=j[b>>2]}b=c;if(e){f=ye(l[a+68>>1],j[c+16>>2]);d=ye(l[a+68>>1],j[c+20>>2])}i[b+14>>1]=d+32>>>6;i[c+12>>1]=f+32>>>6;n=c,o=ye(i[a+70>>1],j[c+20>>2])+63&-64,j[n+24>>2]=o;n=c,o=ye(i[a+72>>1],j[c+20>>2])&-64,j[n+28>>2]=o;n=c,o=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[n+32>>2]=o;n=c,o=ye(i[a+76>>1],j[c+16>>2])+32&-64,j[n+36>>2]=o;return}j[c+12>>2]=0;j[c+16>>2]=0;j[c+36>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+16>>2]=65536;j[c+20>>2]=65536}function kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d>>>24|0;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,t)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){e=(p(e,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,e)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+h|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;e=d+h|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d&255;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,u)>>>0)/255|0;h=(p(h,t)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,h)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+h|0;d=((p(d,q)>>>0)/255|0)+e|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+h|0;c=c>>>0<255?c:255;e=d+e|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d&255;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,u)>>>0)/255|0;h=(p(h,v)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){g=(p(g,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(e,h)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+g|0;e=((p(e,q)>>>0)/255|0)+h|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+g|0;d=b>>>0<255?b:255;b=e+h|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Ev(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d>>>24|0;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,v)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+h|0;d=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;a:{if(!j[b>>2]){b=c;h=1;break a}h=!j[c>>2]}g=j[a+20>>2];b:{c:{if(!g){break c}e=j[b+8>>2];while(1){f=j[(p(d,20)+a|0)+36>>2];if((f|0)<(e|0)){d=d+1|0;if(g>>>0>d>>>0){continue}break c}break}if(k[(p(d,20)+a|0)+28|0]&8|((e|0)==(f|0)|((f|0)<=j[c+8>>2]?!h:0))){break b}}e=j[a+4>>2];d:{if(!k[e+12|0]|k[b|0]&16){break d}if(!h){e=Sg(e,(j[b+8>>2]+j[c+8>>2]|0)/2|0);f=ye((j[c+8>>2]-j[b+8>>2]|0)/2|0,j[a+16>>2]);j[b+12>>2]=e-f;j[c+12>>2]=e+f;break d}q=b,r=Sg(e,j[b+8>>2]),j[q+12>>2]=r}if(j[b+12>>2]>2]?d:0){break b}e=j[a+20>>2];e:{if(e>>>0<=d>>>0){break e}if(!h){if(j[c+12>>2]<=j[(p(d,20)+a|0)+40>>2]){break e}break b}if(j[b+12>>2]>j[(p(d,20)+a|0)+40>>2]){break b}}g=(h^1)+e|0;if(g>>>0>191){break b}l=e-d|0;if(l){n=a+28|0;while(1){e=e-1|0;f=p(e,20)+n|0;o=j[f+4>>2];m=p(g,20)+n|0;i=m;j[i>>2]=j[f>>2];j[i+4>>2]=o;j[i+16>>2]=j[f+16>>2];i=j[f+12>>2];j[m+8>>2]=j[f+8>>2];j[m+12>>2]=i;g=g-1|0;l=l-1|0;if(l){continue}break}}d=p(d,20)+a|0;j[d+44>>2]=j[b+16>>2];e=j[b+12>>2];j[d+36>>2]=j[b+8>>2];j[d+40>>2]=e;e=j[b+4>>2];j[d+28>>2]=j[b>>2];j[d+32>>2]=e;j[a+20>>2]=j[a+20>>2]+1;if(h){break b}j[d- -64>>2]=j[c+16>>2];b=j[c+12>>2];j[d+56>>2]=j[c+8>>2];j[d+60>>2]=b;b=j[c+4>>2];j[d+48>>2]=j[c>>2];j[d+52>>2]=b;j[a+20>>2]=j[a+20>>2]+1}}function vj(){var a=0,b=0,c=0,d=0,e=0,f=0;if(j[67085]){yB();FB();Xj(16384);a=j[67085];a:{if(!j[a+296>>2]){break a}j[a+296>>2]=0;b=j[a+236>>2];if(!b){break a}qe[b|0](a);a=j[67085]}b=j[a+308>>2];if(b){while(1){Jk(b);a=j[67085];b=j[a+308>>2];if(b){continue}break}}qe[j[a+8>>2]](a);b=j[67085];a=j[b+300>>2];if((a|0)>=1){while(1){c=j[b+304>>2]+p(d,72)|0;e=c;b=j[c+8>>2];b:{if(!b){a=j[e+12>>2];break b}a=j[e+12>>2];while(1){b=b-1|0;f=p(b,20);a=j[(f+a|0)+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[e+12>>2];j[(f+a|0)+16>>2]=0;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+12>>2]=0;a=j[c+32>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+32>>2]=0;a=j[c+68>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+68>>2]=0;b=j[67085];a=j[b+300>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}}c=j[b+304>>2];if(c){d=1;c:{if((a|0)<1){break c}a=j[c>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];if(j[b+300>>2]<2){break c}while(1){a=j[j[b+304>>2]+p(d,72)>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}d=d+1|0;b=j[67085];if((d|0)>2]){continue}break}}a=j[b+304>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];j[b+300>>2]=0;j[b+304>>2]=0}a=j[b+324>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[67085];j[a+324>>2]=0;qe[j[a+1e3>>2]](a);j[67085]=0}}function Vm(a,b,c){var d=0,e=0,f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[(c?8:4)+b>>2];d=p(c,1572)+a|0;e=d+1608|0;i=j[(c?16:12)+b>>2];if((i|0)==j[d+1612>>2]?(g|0)==j[e>>2]:0){break a}j[e>>2]=g;j[d+1612>>2]=i;e=j[a+1832>>2];b:{if(!e){break b}d=0;while(1){if(!(k[(p(d,28)+a|0)+1860|0]&8)){d=d+1|0;if(e>>>0>d>>>0){continue}break b}break}b=ye(j[(p(d,28)+a|0)+1848>>2],j[b+8>>2]);if((c|0)!=1){break b}d=j[j[a+36>>2]+12>>2];e=l[j[j[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}g=Ne(g,d,b)}b=p(c,1572)+a|0;j[b+48>>2]=i;j[b+44>>2]=g;c:{if(!c){j[a+8>>2]=g;b=a+16|0;break c}j[a+12>>2]=g;b=a+20|0}j[b>>2]=i;b=p(c,1572)+a|0;n=b;if(j[b+52>>2]){d=0;while(1){e=b+p(d,12)|0;f=ye(j[e+56>>2],g);j[e- -64>>2]=f;j[e+60>>2]=f;d=d+1|0;if(d>>>0>2]){continue}break}}r=b,s=(ye(j[b+252>>2],g)|0)<40,h[r+256|0]=s;if(!j[a+1832>>2]|(c|0)!=1){break a}c=0;while(1){b=p(c,28)+a|0;e=b+1844|0;d=b+1836|0;f=ye(j[d>>2],g)+i|0;j[e>>2]=f;n=b+1840|0;j[n>>2]=f;f=b+1856|0;o=b+1848|0;q=ye(j[o>>2],g)+i|0;j[f>>2]=q;j[b+1852>>2]=q;b=b+1860|0;j[b>>2]=j[b>>2]&-2;d=ye(j[d>>2]-j[o>>2]|0,g);if(d+48>>>0<=96){o=e;e=j[n>>2]+32&-64;j[o>>2]=e;n=f;f=d>>31;f=f+d^f;f=(f|0)<32?0:(f|0)<48?32:64;j[n>>2]=e+((d|0)<0?f:0-f|0);j[b>>2]=j[b>>2]|1}c=c+1|0;if(c>>>0>2]){continue}break}}}function gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!(c?a:0)){b=ve(97756,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){b=ve(97793,0);break a}if(!d){j[g+16>>2]=0;j[g+20>>2]=0;j[g+24>>2]=j[c+8>>2];j[g+28>>2]=j[c+12>>2];d=g+16|0}b:{if(b){i=j[b+8>>2];k=j[b>>2];if((k|0)<=-1){j[d>>2]=j[d>>2]-k;i=i+k|0;k=0}f=j[a+8>>2]-k|0;h=(f|0)<(i|0);e=j[b+12>>2];l=j[b+4>>2];if((l|0)<=-1){j[d+4>>2]=j[d+4>>2]-l;e=e+l|0;l=0}b=h?f:i;f=j[a+12>>2]-l|0;i=(e|0)>(f|0)?f:e;break b}b=j[a+8>>2];i=j[a+12>>2]}e=j[c+36>>2];h=j[d>>2];f=e-h|0;c:{if((f|0)<1){f=e;e=h;break c}j[d>>2]=e;k=f+k|0;b=b-f|0;f=j[c+36>>2]}e=((b+e|0)-f|0)-j[c+44>>2]|0;n=(e|0)>0?e:0;e=j[c+40>>2];h=j[d+4>>2];f=e-h|0;d:{if((f|0)<1){f=e;e=h;break d}j[d+4>>2]=e;l=f+l|0;i=i-f|0;f=j[c+40>>2]}o=j[c+48>>2];h=j[a+52>>2];m=j[h+68>>2];if(m&512){j[h+68>>2]=m&-513;vf(h)}e:{b=b-n|0;if((b|0)<1){break e}e=((e+i|0)-f|0)-o|0;e=i-((e|0)>0?e:0)|0;if((e|0)<1){break e}j[g+4>>2]=l;j[g>>2]=k;j[d+8>>2]=b;j[g+8>>2]=b;j[d+12>>2]=e;j[g+12>>2]=e;b=j[a+52>>2];f:{g:{if(j[b>>2]!=(c|0)){break g}e=j[j[c+4>>2]+4>>2];if(j[b+80>>2]!=j[e+8>>2]?e:0){break g}e=j[j[a+4>>2]+4>>2];if(!e|j[b+84>>2]==j[e+8>>2]){break f}}b=-1;if((Cj(a,c)|0)<0){break a}b=j[a+52>>2]}b=qe[j[b+8>>2]](a,g,c,d)|0;break a}j[d+8>>2]=0;j[d+12>>2]=0;b=0}oe=g+32|0;return b}function $q(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=k[a|0];if((g|0)!=117){break c}d:{c=k[a+1|0];if((c|0)!=110|k[a+2|0]!=105){break d}b=k[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=k[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=k[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=k[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=k[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=k[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=k[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=k[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=k[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=k[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=k[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return _q(a,c)|0}if(a>>>0>>0){break f}}g=k[c+1|0];c=c+1|0;continue}break}b=_q(a,c)|-2147483648}return b|0} +function Py(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;n=j[c+4>>2];s=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}f=k[n+9|0];h=j[d>>2];q=j[d+4>>2];u=j[c+16>>2];t=j[c+20>>2];d=j[j[a+52>>2]+12>>2]+28|0;o=j[b+4>>2];b:{c:{if(!o){break c}if((f|0)==2){while(1){e=0;while(1){g=d+2|0;e=k[d|0]+e|0;d=k[d+1|0];d:{if(d){e=d+e|0;d=g+(d<<1)|0;break d}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}e=(d&2)+d|0;m=0;while(1){g=l[e>>1];r=l[e+2>>1];d=((r<<2)+e|0)+4|0;e=d;m=r+(g+m|0)|0;if((s|0)>(m|0)){continue}break}o=o-1|0;if(o){continue}break c}}o=o<<1;while(1){e=0;while(1){g=d+4|0;e=l[d>>1]+e|0;d=l[d+2>>1];e:{if(d){e=d+e|0;d=g+(d<<2)|0;break e}d=g;if(!e){break b}}if((e|0)<(s|0)){continue}break}o=o-1|0;if(o){continue}break}}g=(t+p(q,u)|0)+p(f,h)|0;m=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!m:0)){f:{g:{a=j[c+4>>2];switch(k[a+9|0]-2|0){case 2:break f;case 0:break g;default:break b}}if(!(j[a+20>>2]!=2016?!(j[a+16>>2]==2016|j[a+12>>2]==2016):0)){g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];h:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break h}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;i:{if(!e){break i}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&132184095;a=(p((a&132184095)-r|0,a>>>5&31)>>>5|0)+r&132184095;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<1)|0;n=m+j[b+8>>2]|0;o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];j:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=n-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<1)+g|0,a+(d-e<<1)|0,f<<1)}e=b+e|0;d=a+(b<<1)|0;break j}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;k:{if(!e){break k}d=m-b|0;h=(d|0)>0;a=h?m:b;q=n-a|0;d=e-(h?d:0)|0;h=(d|0)>(q|0)?q:d;if((h|0)>=1){q=(a<<1)+g|0;u=f+(a-b<<2)|0;d=0;while(1){a=j[u+(d<<2)>>2];t=q+(d<<1)|0;r=l[t>>1];r=(r<<16|r)&65043487;a=(p((a&65043487)-r|0,a>>>5&31)>>>5|0)+r&65043487;i[t>>1]=a|a>>>16;d=d+1|0;if((h|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}g=g-(m<<2)|0;o=m+j[b+8>>2]|0;n=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];l:{if(b){f=m-e|0;h=(f|0)>0;d=h?m:e;q=o-d|0;f=b-(h?f:0)|0;f=(f|0)>(q|0)?q:f;if((f|0)>=1){Ge((d<<2)+g|0,a+(d-e<<2)|0,f<<2)}e=b+e|0;d=a+(b<<2)|0;break l}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){b=l[d>>1]+b|0;f=d+4|0;e=l[d+2>>1];d=f;m:{if(!e){break m}d=m-b|0;h=(d|0)>0;a=h?m:b;q=o-a|0;d=e-(h?d:0)|0;q=(d|0)>(q|0)?q:d;if((q|0)>=1){u=(a<<2)+g|0;t=f+(a-b<<2)|0;d=0;while(1){h=d<<2;r=h+u|0;w=j[r>>2];a=w&16711935;v=r;h=j[h+t>>2];r=h>>>24|0;x=a+(p(r,(h&16711935)-a|0)>>>8|0)&16711935;a=w&65280;j[v>>2]=x|(p((h&65280)-a|0,r)>>>8|0)+a&65280|-16777216;d=d+1|0;if((q|0)!=(d|0)){continue}break}}b=b+e|0;d=f+(e<<2)|0}if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}n:{switch(f-2|0){case 0:if(!(j[n+20>>2]!=2016?!(j[n+16>>2]==2016|j[n+12>>2]==2016):0)){o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];o:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break o}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&132184095;n=(p((n&132184095)-f|0,n>>>5&31)>>>5|0)+f&132184095;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b}o=j[b+12>>2];while(1){e=0;while(1){a=d+2|0;e=k[d|0]+e|0;b=k[d+1|0];p:{if(b){d=b<<1;Ge((e<<1)+g|0,a,d);e=b+e|0;d=a+d|0;break p}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}d=(d&2)+d|0;b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<1)+g|0;m=0;while(1){n=j[e>>2];f=l[d>>1];f=(f<<16|f)&65043487;n=(p((n&65043487)-f|0,n>>>5&31)>>>5|0)+f&65043487;i[d>>1]=n>>>16|n;d=d+2|0;e=e+4|0;m=m+1|0;if((a|0)!=(m|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;o=o-1|0;if(o){continue}break}break b;case 2:break n;default:break b}}m=j[b+12>>2];while(1){e=0;while(1){a=d+4|0;e=l[d>>1]+e|0;b=l[d+2>>1];q:{if(b){d=b<<2;Ge((e<<2)+g|0,a,d);e=b+e|0;d=a+d|0;break q}d=a;if(!e){break b}}if((e|0)<(s|0)){continue}break}b=0;while(1){e=d+4|0;b=l[d>>1]+b|0;a=l[d+2>>1];if(a){d=(b<<2)+g|0;o=0;while(1){n=j[e>>2];f=n>>>24|0;h=j[d>>2];q=h&65280;r=(p(f,(n&65280)-q|0)>>>8|0)+q&65280;v=n&16711935;n=h&16711935;j[d>>2]=r|(p(f,v-n|0)>>>8|0)+n&16711935|-16777216;d=d+4|0;e=e+4|0;o=o+1|0;if((a|0)!=(o|0)){continue}break}b=a+b|0}d=e;if((b|0)<(s|0)){continue}break}g=j[c+16>>2]+g|0;m=m-1|0;if(m){continue}break}}if(k[c|0]&2){jg(c)}return 0}function ep(a,b,c){var d=0,e=0,f=0,g=0,o=0,s=0,t=0,u=0,v=0,x=0,y=q(0),z=0;v=oe-32|0;oe=v;e=(b>>>0)%257|0;d=p(e,84)+a|0;u=d+56|0;j[a+52>>2]=u;if(l[d+136>>1]!=(b|0)){j[u>>2]=0;j[d+60>>2]=0;g=j[d+76>>2];if(g){ze(g);j[d+76>>2]=0}e=p(e,84)+a|0;g=j[e+100>>2];if(g){ze(g);j[e+100>>2]=0}i[d+136>>1]=0;u=j[a+52>>2]}d=0;a:{if((j[u>>2]&c)==(c|0)){break a}g=j[a>>2];if(!g){d=32;break a}d=j[u+4>>2];if(!d){d=0;b:{if(!g){break b}e=j[g+92>>2];if(!e){break b}d=qe[j[j[e+12>>2]+12>>2]](e,b)|0}j[u+4>>2]=d}d=Wh(g,d,j[a+21688>>2]);if(d){break a}e=j[g+84>>2];c:{if(!(c&16)){break c}s=j[u>>2];if(s&16){break c}d=(j[e+36>>2]&-64)/64|0;o=j[e+32>>2];z=(o+j[e+24>>2]|0)+63|0;d:{if(h[g+8|0]&1){x=j[a+8>>2]-d|0;f=j[e+28>>2];break d}f=i[j[g+32>>2]+(j[a+21684>>2]<<4)>>1]}t=j[e+40>>2];j[u+68>>2]=d;g=(z&-64)/64|0;j[u+60>>2]=g;j[u+56>>2]=(o&-64)/64;j[u+72>>2]=x;j[u+64>>2]=d+((f+63&-64)/-64|0);j[u+76>>2]=(t+63&-64)/64;d=j[a+24>>2];if(!(!(d&1)|h[a+20|0]&1)){g=j[a+36>>2]+g|0;j[u+60>>2]=g}if(!(!(d&2)|k[a+20|0]&2)){f=u;y=q(w(n[a+40>>2]));e:{if(q(r(y))>2]=d+g}j[u>>2]=s|16}z=c&1;f:{if(!(c&2)|k[u|0]&2?!(h[u|0]&1?0:z):0){break f}j[v+28>>2]=0;if(!(!(k[a+24|0]&2)|k[a+20|0]&2)){g=e+108|0;j[v+8>>2]=65536;f=j[a+4>>2];y=n[a+40>>2];j[v+16>>2]=0;j[v+20>>2]=65536;c=v;y=q(y*q(65536));g:{if(q(r(y))>2]=(d|0)/(f|0);Ah(g,v+8|0)}h:{if(!(j[e+72>>2]==1651078259|j[a+28>>2]<1)){Hs(e,v+28|0);d=fO(j[65573],v+8|0);if(d){break a}eO(j[v+8>>2],j[a+28>>2]<<6);_N(v+28|0,j[v+8>>2]);cO(j[v+8>>2]);d=Gs(v+28|0,z<<1);if(d){oj(j[v+28>>2]);break a}e=j[v+28>>2]+28|0;break h}d=js(e,z<<1);if(d){break a}e=e+76|0}c=j[e+4>>2];g=z?u+8|0:u+32|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;c=j[e+20>>2];j[g+16>>2]=j[e+16>>2];j[g+20>>2]=c;c=j[e+12>>2];j[g+8>>2]=j[e+8>>2];j[g+12>>2]=c;c=3;i:{j:{k:{switch(k[e+18|0]-1|0){case 2:c=2;break j;case 0:break j;case 3:break k;default:break i}}c=1}j[g+8>>2]=j[g+8>>2]<>2];d=c&1;if(!(!d|h[a+20|0]&1)){f=j[a+36>>2];j[g+8>>2]=f+j[g+8>>2];j[g+4>>2]=f+j[g+4>>2]}if(!(!(c&2)|k[a+20|0]&2)){c=g;o=c;y=q(w(n[a+40>>2]));l:{if(q(r(y))>2]=f+j[c+8>>2];j[g+4>>2]=f+j[g+4>>2]}f=j[g>>2];m:{if(!f){break m}c=Te(p(f,j[g+8>>2]));j[g+12>>2]=c;if(!c){d=64;break a}o=c;c=j[g+8>>2];Ee(o,0,p(f,c));if(!j[e>>2]){break m}x=0;while(1){c=p(c,x);f=j[e+8>>2];d=p(f,x);n:{if(z){c=c+j[g+12>>2]|0;d=d+j[e+12>>2]|0;o:{switch(k[e+18|0]-1|0){case 0:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c+7|0]=f&1;h[c|0]=f>>>7;h[c+6|0]=f>>>1&1;h[c+5|0]=f>>>2&1;h[c+4|0]=f>>>3&1;h[c+3|0]=f>>>4&1;h[c+2|0]=f>>>5&1;h[c+1|0]=f>>>6&1;c=c+8|0;d=d+1|0;o=o+8|0;if(o>>>0>2]){continue}break}break n;case 2:o=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+3|0]=f>>>1&1;h[c+2|0]=f>>>3&1;h[c+1|0]=f>>>5&1;c=c+4|0;d=d+1|0;o=o+4|0;if(o>>>0>2]){continue}break}break n;case 3:s=0;if(!j[e+4>>2]){break n}while(1){f=k[d|0];h[c|0]=f>>>7;h[c+1|0]=f>>>3&1;c=c+2|0;d=d+1|0;s=s+2|0;if(s>>>0>2]){continue}break}break n;default:break o}}s=0;if(!j[e+4>>2]){break n}while(1){h[c|0]=k[d|0]>>>7;c=c+1|0;d=d+1|0;s=s+1|0;if(s>>>0>2]){continue}break}break n}p:{switch(k[e+18|0]-1|0){case 0:if(!j[e+4>>2]){break n}s=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;o=0;while(1){d=h[s|0];h[c|0]=d>>>7;h[c+7|0]=0-(d&1);h[c+6|0]=d<<30>>24>>>7;h[c+5|0]=d<<29>>24>>>7;h[c+4|0]=d<<28>>24>>>7;h[c+3|0]=d<<27>>24>>>7;h[c+2|0]=d<<26>>24>>>7;h[c+1|0]=d<<25>>24>>>7;s=s+1|0;c=c+8|0;o=o+8|0;if(o>>>0>2]){continue}break}break n;case 2:if(!j[e+4>>2]){break n}s=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;d=0;while(1){f=c;o=k[s|0];t=o>>>6&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f|0]=t;f=c;t=o>>>4&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+1|0]=t;f=c;t=o>>>2&2;if(t){t=((t<<8>>>0)/3|0)-1|0}else{t=0}h[f+2|0]=t;f=c;o=o&2;if(o){o=((o<<8>>>0)/3|0)-1|0}else{o=0}h[f+3|0]=o;s=s+1|0;c=c+4|0;d=d+4|0;if(d>>>0>2]){continue}break}break n;case 3:if(!j[e+4>>2]){break n}d=d+j[e+12>>2]|0;c=c+j[g+12>>2]|0;o=0;while(1){f=c;t=k[d|0];s=t>>>4|0;if(s){s=((s<<8>>>0)/15|0)-1|0}else{s=0}h[f|0]=s;f=c;t=t&15;s=0;q:{if(!t){break q}s=((t<<8>>>0)/15|0)-1|0}h[f+1|0]=s;d=d+1|0;c=c+2|0;o=o+2|0;if(o>>>0>2]){continue}break}break n;default:break p}}Ae(c+j[g+12>>2]|0,d+j[e+12>>2]|0,f)}x=x+1|0;if(x>>>0>2]){c=j[g+8>>2];continue}break}d=j[a+24>>2]&1}r:{if(!d|h[a+20|0]&1){break r}x=j[g>>2]-1|0;if((x|0)<0){break r}s=j[a+36>>2];while(1){if((s|0)>=1){e=j[g+12>>2]+p(j[g+8>>2],x)|0;o=1;while(1){d=j[g+4>>2];c=d-1|0;if((c|0)>=1){while(1){s:{if(z){f=c+e|0;h[f|0]=k[f|0]|k[(d+e|0)-2|0];break s}f=c+e|0;d=k[(d+e|0)-2|0]+k[f|0]|0;h[f|0]=d>>>0<255?d:255}d=c;c=c-1|0;if((c|0)>0){continue}break}s=j[a+36>>2]}c=(o|0)<(s|0);o=o+1|0;if(c){continue}break}}x=x-1|0;if((x|0)>=0){continue}break}}j[u>>2]=j[u>>2]|(z?1:2);a=j[v+28>>2];if(!a){break f}oj(a)}i[u+80>>1]=b;d=0}oe=v+32|0;return d}function _x(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=j[a+28>>2];if(u){n=k[a+63|0];o=j[a+48>>2];v=j[a+36>>2];w=j[a+16>>2];i=j[a+24>>2];x=i&3;y=(i+3|0)/4|0;f=j[a>>2];i=j[a+20>>2];s=j[a+44>>2];b=j[a+40>>2];r=k[b+9|0];t=r-1|0;while(1){a=y;a:{b:{switch(x-1|0){default:c=3;break a;case 0:c=2;break a;case 1:c=1;break a;case 2:break b}}c=0}while(1){c:{d:{switch(c|0){case 0:c=0;d=0;e=0;e:{f:{g:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break f;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break f;case 3:break g;default:break e}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=1;continue;case 1:c=0;d=0;e=0;h:{i:{j:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break i;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break i;case 3:break j;default:break h}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=2;continue;case 2:c=0;d=0;e=0;k:{l:{m:{switch(t|0){case 0:e=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 1:e=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0;break l;case 2:c=(k[b+34|0]>>>3|0)+f|0;g=(k[b+32|0]>>>3|0)+f|0;d=(k[b+33|0]>>>3|0)+f|0;break l;case 3:break m;default:break k}}e=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((e&j[b+20>>2])>>>k[b+34|0]|0)|0;g=j[(k[b+28|0]<<2)+234976>>2]+((e&j[b+12>>2])>>>k[b+32|0]|0)|0;d=j[(k[b+29|0]<<2)+234976>>2]+((e&j[b+16>>2])>>>k[b+33|0]|0)|0}e=k[c|0];c=k[g|0];d=k[d|0]}q=d&255;d=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[d+1|0];m=c;c=k[d|0];m=((p(q-g|0,n)|0)/255|0)+g>>>3&28|((p(m-c|0,n)|0)/255|0)+c&-32;c=k[d+2|0];c=m|(((p((e&255)-c|0,n)|0)/255|0)+c&192)>>>6;d=u-1|0;e=i;if(o){c=k[(c&255)+o|0]}h[e|0]=c;f=f+r|0;i=i+1|0;if((a|0)<=1){break c}a=a-1|0;c=3;continue;default:break d}}d=0;e=0;c=0;n:{o:{p:{switch(t|0){case 0:d=k[f|0];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 1:d=l[f>>1];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0;break o;case 2:c=(k[b+34|0]>>>3|0)+f|0;e=(k[b+33|0]>>>3|0)+f|0;d=(k[b+32|0]>>>3|0)+f|0;break o;case 3:break p;default:break n}}d=j[f>>2];c=j[(k[b+30|0]<<2)+234976>>2]+((d&j[b+20>>2])>>>k[b+34|0]|0)|0;e=j[(k[b+29|0]<<2)+234976>>2]+((d&j[b+16>>2])>>>k[b+33|0]|0)|0;d=j[(k[b+28|0]<<2)+234976>>2]+((d&j[b+12>>2])>>>k[b+32|0]|0)|0}c=k[c|0];d=k[d|0];e=k[e|0]}z=e&255;e=j[j[s+4>>2]+4>>2]+(k[i|0]<<2)|0;g=k[e+1|0];q=d&255;d=k[e|0];m=c;c=k[e+2|0];c=((p(z-g|0,n)|0)/255|0)+g>>>3&28|((p(q-d|0,n)|0)/255|0)+d&-32|(((p(m-c|0,n)|0)/255|0)+c&192)>>>6;d=i;if(o){c=k[(c&255)+o|0]}h[d|0]=c;f=f+r|0;i=i+1|0;c=0;continue}break}i=i+v|0;f=f+w|0;u=d;if(d){continue}break}}}function xH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=q(0),u=0,v=q(0),w=0,x=0,y=0,z=q(0),A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=q(0),J=0,K=q(0),L=0,M=0;m=j[a+36>>2];d=j[a+64>>2];e=j[d+104>>2];i=j[d+4>>2];w=j[i+28>>2];B=j[a+104>>2];F=oe;d=j[i+4>>2]<<2;C=F-(d+15&-16)|0;c=C;oe=c;G=Ef(a,d);y=Ef(a,j[i+4>>2]<<2);H=Ef(a,j[i+4>>2]<<2);z=n[B+4>>2];d=j[i+4>>2];x=c-((d<<2)+15&-16)|0;D=x;oe=x;A=j[a+28>>2];s=j[((A<<2)+w|0)+544>>2];c=j[e+56>>2];f=j[B+8>>2];j[a+40>>2]=A;k=A?104:0;o=c+p(f,52)|0;a:{if((d|0)<=0){f=(m|0)/2|0;d=f<<2;break a}g=m-1|0;r=e+4|0;f=(m|0)/2|0;d=f<<2;I=q(+q(q(q(((uP(q(q(4)/q(m|0))),pP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345);u=(m|0)<3;while(1){c=h<<2;b=j[c+j[a>>2]>>2];L=c+y|0,M=Ef(a,d),j[L>>2]=M;l=c+G|0;L=l,M=Ef(a,d),j[L>>2]=M;dH(b,r,w,j[a+24>>2],j[a+28>>2],j[a+32>>2]);CK(j[j[((j[a+28>>2]<<2)+e|0)+12>>2]>>2],b,j[l>>2]);zI((p(j[a+28>>2],12)+e|0)+20|0,b);t=q(+q(q(q(q((j[b>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+I)+.345);n[b>>2]=t;l=c+x|0;n[l>>2]=t;c=1;if(!u){while(1){v=n[b+(c<<2)>>2];K=q(v*v);E=c+1|0;v=n[b+(E<<2)>>2];v=q(+q(q(q(q(q(((uP(q(K+q(v*v))),pP(2))&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))*q(.5))+I)+.345);n[b+(E<<1&-4)>>2]=v;t=t(c|0)){continue}break}n[l>>2]=t}if(!(t>q(0)^1)){j[l>>2]=0;t=q(0)}z=t>z?t:z;h=h+1|0;if((h|0)>2]){continue}break}}l=k+o|0;k=Ef(a,d);o=Ef(a,d);c=j[i+4>>2];if((c|0)>=1){u=0;while(1){g=u<<2;r=j[g+G>>2];E=j[(g+s|0)+4>>2];b=j[g+j[a>>2]>>2];j[a+40>>2]=A;d=g+H|0;c=Ef(a,60);j[d>>2]=c;j[c+56>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;h=b+(f<<2)|0;c=0;if((m|0)>=2){while(1){J=c<<2;n[h+J>>2]=+q(q(q((j[r+J>>2]&2147483647)>>>0)*q(7.177114298428933e-7))+q(-764.6162109375))+.345;c=c+1|0;if((f|0)!=(c|0)){continue}break}}nK(l,h,k);aK(l,b,o,z,n[g+x>>2]);hm(l,k,o,1,b,r,h);c=((E<<2)+s|0)+1028|0;g=j[c>>2]<<2;if(j[(g+w|0)+800>>2]!=1){oe=F;return-1}g=Pl(a,j[g+j[e+48>>2]>>2],h,b);j[j[d>>2]+28>>2]=g;if(!(!j[j[j[a+64>>2]+104>>2]+80>>2]|!j[j[d>>2]+28>>2])){hm(l,k,o,2,b,r,h);g=Pl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]+56>>2]=g;hm(l,k,o,0,b,r,h);b=Pl(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],h,b);j[j[d>>2]>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],9362);j[j[d>>2]+4>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],18724);j[j[d>>2]+8>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],28086);j[j[d>>2]+12>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],37449);j[j[d>>2]+16>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],46811);j[j[d>>2]+20>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b>>2],j[b+28>>2],56173);j[j[d>>2]+24>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],9362);j[j[d>>2]+32>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],18724);j[j[d>>2]+36>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],28086);j[j[d>>2]+40>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],37449);j[j[d>>2]+44>>2]=b;b=j[d>>2];b=ng(a,j[j[e+48>>2]+(j[c>>2]<<2)>>2],j[b+28>>2],j[b+56>>2],46811);j[j[d>>2]+48>>2]=b;b=j[j[e+48>>2]+(j[c>>2]<<2)>>2];c=j[d>>2];c=ng(a,b,j[c+28>>2],j[c+56>>2],56173);j[j[d>>2]+52>>2]=c}c=j[i+4>>2];u=u+1|0;if((c|0)>(u|0)){continue}break}}n[B+4>>2]=z;d=(c<<2)+15&-16;m=D-d|0;c=m;oe=c;o=c-d|0;oe=o;d=j[j[j[a+64>>2]+104>>2]+80>>2]?0:7;x=w+2868|0;while(1){f=d<<2;h=j[(f+B|0)+12>>2];df(h,0,1);df(h,A,j[e+44>>2]);if(j[a+28>>2]){df(h,j[a+24>>2],1);df(h,j[a+32>>2],1)}b=0;c=j[i+4>>2];if((c|0)>=1){while(1){c=b<<2;L=c+C|0,M=zG(h,a,j[j[e+48>>2]+(j[((j[(c+s|0)+4>>2]<<2)+s|0)+1028>>2]<<2)>>2],j[f+j[c+H>>2]>>2],j[c+y>>2]),j[L>>2]=M;b=b+1|0;c=j[i+4>>2];if((b|0)<(c|0)){continue}break}}EJ(d,x,l,s,G,y,C,j[(f+(p(j[a+28>>2],60)+w|0)|0)+3240>>2],c);b=0;if(j[s>>2]>=1){while(1){r=j[((b<<2)+s|0)+1092>>2];k=0;c=0;f=j[i+4>>2];if((f|0)>=1){while(1){g=c<<2;if(j[(g+s|0)+4>>2]==(b|0)){f=k<<2;j[f+o>>2]=j[g+C>>2]!=0;j[f+m>>2]=j[g+y>>2];k=k+1|0;f=j[i+4>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}g=r<<2;r=(g+w|0)+1312|0;k=qe[j[j[(j[r>>2]<<2)+3824>>2]+20>>2]](a,j[g+j[e+52>>2]>>2],m,o,k)|0;f=0;c=0;u=j[i+4>>2];if((u|0)>=1){while(1){D=c<<2;if(j[(D+s|0)+4>>2]==(b|0)){j[m+(f<<2)>>2]=j[y+D>>2];f=f+1|0}c=c+1|0;if((u|0)!=(c|0)){continue}break}}qe[j[j[(j[r>>2]<<2)+3824>>2]+24>>2]](h,a,j[g+j[e+52>>2]>>2],m,o,f,k,b)|0;b=b+1|0;if((b|0)>2]){continue}break}}c=(j[j[j[a+64>>2]+104>>2]+80>>2]?14:7)>>>0>d>>>0;d=d+1|0;if(c){continue}break}oe=F;return 0}function pJ(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,i=0,n=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;f=oe+ -64|0;oe=f;u=j[b+532>>2];a:{if(!u){u=dh(j[j[b+96>>2]+4>>2],197892);if(!u){g=11;break a}j[b+532>>2]=u;j[b+508>>2]=j[u>>2]}B=b,C=Bh(j[b+96>>2],198052),j[B+536>>2]=C;z=j[a+28>>2];j[b+140>>2]=0;j[b+132>>2]=0;j[b+136>>2]=0;e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(g){break a}A=b+132|0;while(1){b:{c:{d:{e:{f:{g:{if((d|0)!=2001684038){h:{if((d|0)<=1953658212){if((d|0)==65536|(d|0)==131072){break h}g=2;if((d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}g=2;if((d|0)!=1954115633){break a}}j[A>>2]=1953784678;if((d|0)!=1953784678){break f}g=$e(a,198080,A);j[f+8>>2]=g;if(g){break a}d=j[b+140>>2];if(d){break g}g=8;break a}g=Fe(a,e);j[f+8>>2]=g;if(g){break a}s=j[a+28>>2];j[f+60>>2]=0;g=$e(a,198096,f+16|0);j[f+60>>2]=g;if(g){break a}g=8;d=j[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=j[f+24>>2];if((d|0)!=j[a+4>>2]){break a}e=l[f+28>>1];if(!e|d>>>0<=p(e,20)+44>>>0){break a}d=e<<4|12;e=j[f+32>>2];if(d>>>0>=e>>>0|e&3){break a}d=j[f+44>>2];i:{if(!j[f+40>>2]){if(!(d|j[f+48>>2])){break i}break a}if(!d){break i}if(!j[f+48>>2]){break a}}if(j[f+56>>2]?!j[f+52>>2]:0){break a}v=0;o=He(s,e,f+60|0);if(j[f+60>>2]){r=0;g=0;break b}r=He(s,40,f+60|0);g=0;if(j[f+60>>2]){break b}d=l[f+28>>1];e=d;if(e){while(1){g=g+1|0;e=e>>>1|0;if(e){continue}break}}h[o|0]=k[f+23|0];h[o+1|0]=l[f+22>>1];h[o+2|0]=j[f+20>>2]>>>8;h[o+3|0]=j[f+20>>2];h[o+4|0]=k[f+29|0];e=k[f+28|0];t=g-1|0;q=16<>>8;h[o+9|0]=t;h[o+8|0]=t>>>8;h[o+7|0]=q;h[o+6|0]=q>>>8;h[o+5|0]=e;g=xe(s,24,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}v=xe(s,4,0,l[f+28>>1],0,f+60|0);if(j[f+60>>2]){break b}d=_e(a,p(l[f+28>>1],20));j[f+60>>2]=d;if(d){break b}d=0;n=0;if(l[f+28>>1]){while(1){e=p(n,24)+g|0;B=e,C=Ff(a),j[B>>2]=C;B=e,C=Ff(a),j[B+4>>2]=C;B=e,C=Ff(a),j[B+8>>2]=C;B=e,C=Ff(a),j[B+12>>2]=C;B=e,C=Ff(a),j[B+16>>2]=C;i=d;d=j[e>>2];if(i>>>0>=d>>>0){Ve(a);break c}j[(n<<2)+v>>2]=e;n=n+1|0;if(n>>>0>1]){continue}break}}Ve(a);eg(v,l[f+28>>1],4,811);w=l[f+28>>1];n=w<<4|12;e=p(w,20)+44|0;if(w){d=0;t=j[f+32>>2];q=j[f+24>>2];while(1){x=j[(d<<2)+v>>2];if(j[x+4>>2]!=(e|0)){break c}y=j[x+8>>2];if(q>>>0>>0|q-y>>>0>>0){break c}i=j[x+12>>2];if(i>>>0>>0|i>>>0>t>>>0|t-i>>>0>>0){break c}j[x+20>>2]=n;n=(i+3&-4)+n|0;e=(y+3&-4)+e|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}d=j[f+40>>2];if(d){if((d|0)!=(e|0)){break c}e=j[f+44>>2]+e|0;if(e>>>0>m[f+24>>2]){break c}}q=j[f+52>>2];if(!q){d=j[f+24>>2];break d}if((q|0)!=(e+3&-4)){break c}d=j[f+24>>2];e=q+j[f+56>>2]|0;if(d>>>0>=e>>>0){break d}break c}g=10;if(d>>>0>j[a+4>>2]>>>5>>>0){break a}B=b,C=xe(z,4,0,d,0,f+8|0),j[B+144>>2]=C;g=j[f+8>>2];if(g){break a}g=_e(a,j[b+140>>2]<<2);j[f+8>>2]=g;if(g){break a}if(j[b+140>>2]>=1){g=0;while(1){d=Ff(a);j[j[b+144>>2]+(g<<2)>>2]=d;g=g+1|0;if((g|0)>2]){continue}break}}Ve(a);g=j[f+8>>2];if(!g){break e}break a}j[b+136>>2]=65536;j[b+140>>2]=1;a=He(z,4,f+8|0);j[b+144>>2]=a;g=j[f+8>>2];if(g){break a}j[a>>2]=e}g=6;c=(c|0)>0?c:0;if((c|0)>=j[b+140>>2]){break a}a=j[b+104>>2];g=Fe(a,j[j[b+144>>2]+(c<<2)>>2]);if(g){break a}g=qe[j[u+88>>2]](b,a)|0;if(g){break a}j[b+4>>2]=c;j[b>>2]=j[b+140>>2];g=0;break a}if((d|0)!=(e|0)|j[f+32>>2]!=(n|0)){break c}if(w){n=o+12|0;d=0;while(1){i=p(d,24)+g|0;h[n|0]=k[i+3|0];h[n+1|0]=l[i+2>>1];h[n+2|0]=j[i>>2]>>>8;h[n+3|0]=j[i>>2];h[n+4|0]=k[i+19|0];h[n+5|0]=l[i+18>>1];h[n+6|0]=j[i+16>>2]>>>8;h[n+7|0]=j[i+16>>2];h[n+8|0]=k[i+23|0];h[n+9|0]=l[i+22>>1];h[n+10|0]=j[i+20>>2]>>>8;h[n+11|0]=j[i+20>>2];h[n+12|0]=k[i+15|0];h[n+13|0]=l[i+14>>1];h[n+14|0]=j[i+12>>2]>>>8;h[n+15|0]=j[i+12>>2];e=Fe(a,j[i+4>>2]);j[f+60>>2]=e;if(e){break b}e=_e(a,j[i+8>>2]);j[f+60>>2]=e;if(e){break b}q=j[i+8>>2];e=j[i+12>>2];j:{if((q|0)==(e|0)){Ae(j[i+20>>2]+o|0,j[a+32>>2],q);break j}j[f+12>>2]=e;e=qM(s,j[i+20>>2]+o|0,f+12|0,j[a+32>>2],j[i+8>>2]);j[f+60>>2]=e;if(e){break b}if(j[f+12>>2]!=j[i+12>>2]){break c}}Ve(a);t=j[i+12>>2];q=j[i+20>>2];e=t+q|0;if(e&3){Ee(e+o|0,0,((t^-1)-q&3)+1|0)}n=n+16|0;d=d+1|0;if(d>>>0>1]){continue}break}n=j[f+32>>2]}j[r+32>>2]=0;j[r+8>>2]=0;j[r+4>>2]=n;j[r>>2]=o;j[r+20>>2]=0;j[r+24>>2]=0;a=j[a+28>>2];j[r+24>>2]=812;j[r+28>>2]=a;uk(j[b+104>>2],j[b+8>>2]>>>10&1);j[b+104>>2]=r;j[b+8>>2]=j[b+8>>2]&-1025;break b}j[f+60>>2]=8}if(g){qe[j[s+8>>2]](s,g)}if(v){qe[j[s+8>>2]](s,v)}k:{if(!j[f+60>>2]){j[f+8>>2]=0;break k}if(o){qe[j[s+8>>2]](s,o)}l:{if(!r){break l}a=j[r+24>>2];if(!a){break l}qe[a|0](r)}if(r){qe[j[s+8>>2]](s,r)}g=j[f+60>>2];j[f+8>>2]=g;if(g){break a}}a=j[b+104>>2];e=j[a+8>>2];d=sf(a,f+8|0);g=j[f+8>>2];if(!g){continue}break}}oe=f- -64|0;return g|0}function ul(a,b,c,d,e,f,g){var 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,B=0;l=oe-80|0;oe=l;j[l+76>>2]=b;B=l+55|0;y=l+56|0;b=0;a:{b:while(1){c:{if((v|0)<0){break c}if((2147483647-v|0)<(b|0)){j[67100]=61;v=-1;break c}v=b+v|0}d:{e:{f:{q=j[l+76>>2];b=q;m=k[b|0];if(m){while(1){g:{m=m&255;h:{if(!m){m=b;break h}if((m|0)!=37){break g}m=b;while(1){if(k[b+1|0]!=37){break h}n=b+2|0;j[l+76>>2]=n;m=m+1|0;r=k[b+2|0];b=n;if((r|0)==37){continue}break}}b=m-q|0;if(a){Hf(a,q,b)}if(b){continue b}m=l;b=j[l+76>>2];i:{if(!(k[b+2|0]!=36|h[j[l+76>>2]+1|0]-48>>>0>=10)){x=h[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}j[m+76>>2]=b;s=0;w=h[b|0];n=w-32|0;j:{if(n>>>0>31){m=b;break j}m=b;n=1<>2]=m;s=n|s;w=h[b+1|0];n=w-32|0;if(n>>>0>=32){break j}b=m;n=1<>>0>=10){break m}b=j[l+76>>2];if(k[b+2|0]!=36){break m}j[((h[b+1|0]<<2)+e|0)-192>>2]=10;t=j[((h[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;t=0;if(a){b=j[c>>2];j[c>>2]=b+4;t=j[b>>2]}b=j[l+76>>2]+1|0}j[n+76>>2]=b;if((t|0)>-1){break k}t=0-t|0;s=s|8192;break k}t=tp(l+76|0);if((t|0)<0){break f}b=j[l+76>>2]}r=-1;n:{if(k[b|0]!=46){break n}if(k[b+1|0]==42){o:{if(h[b+2|0]-48>>>0>=10){break o}b=j[l+76>>2];if(k[b+3|0]!=36){break o}j[((h[b+2|0]<<2)+e|0)-192>>2]=10;r=j[((h[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;j[l+76>>2]=b;break n}if(z){break f}if(a){b=j[c>>2];j[c>>2]=b+4;r=j[b>>2]}else{r=0}b=j[l+76>>2]+2|0;j[l+76>>2]=b;break n}j[l+76>>2]=b+1;r=tp(l+76|0);b=j[l+76>>2]}m=0;while(1){A=m;u=-1;if(h[b|0]-65>>>0>57){break a}w=b+1|0;j[l+76>>2]=w;m=h[b|0];b=w;m=k[(m+p(A,58)|0)+226927|0];if(m-1>>>0<8){continue}break}p:{q:{if((m|0)!=19){if(!m){break a}if((x|0)>=0){j[(x<<2)+e>>2]=m;b=(x<<3)+d|0;m=j[b+4>>2];j[l+64>>2]=j[b>>2];j[l+68>>2]=m;break q}if(!a){break d}sp(l- -64|0,m,c,g);w=j[l+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}n=s&-65537;m=s&8192?n:s;u=0;x=226968;s=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=h[w-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=j[l+64>>2];q=j[l+68>>2];x=226968;break z}b=0;I:{switch(A&255){case 0:j[j[l+64>>2]>>2]=v;continue b;case 1:j[j[l+64>>2]>>2]=v;continue b;case 2:m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b;case 3:i[j[l+64>>2]>>1]=v;continue b;case 4:h[j[l+64>>2]]=v;continue b;case 6:j[j[l+64>>2]>>2]=v;continue b;case 7:break I;default:continue b}}m=j[l+64>>2];j[m>>2]=v;j[m+4>>2]=v>>31;continue b}r=r>>>0>8?r:8;m=m|8;b=120}q=UD(j[l+64>>2],j[l+68>>2],y,b&32);if(!(m&8)|!(j[l+64>>2]|j[l+68>>2])){break y}x=(b>>>4|0)+226968|0;u=2;break y}q=TD(j[l+64>>2],j[l+68>>2],y);if(!(m&8)){break y}b=y-q|0;r=(b|0)<(r|0)?r:b+1|0;break y}n=j[l+68>>2];q=n;b=j[l+64>>2];if((n|0)<-1?1:(n|0)<=-1){q=0-(q+((b|0)!=0)|0)|0;b=0-b|0;j[l+64>>2]=b;j[l+68>>2]=q;u=1;x=226968;break z}if(m&2048){u=1;x=226969;break z}u=m&1;x=u?226970:226968}q=pi(b,q,y)}m=(r|0)>-1?m&-65537:m;b=j[l+64>>2];n=j[l+68>>2];if(!(!!(b|n)|r)){r=0;q=y;break e}b=!(b|n)+(y-q|0)|0;r=(b|0)<(r|0)?r:b;break e}b=j[l+64>>2];q=b?b:226978;b=Mh(q,0,r);s=b?b:r+q|0;m=n;r=b?b-q|0:r;break e}n=j[l+64>>2];if(r){break u}b=0;Rf(a,32,t,0,m);break t}j[l+12>>2]=0;j[l+8>>2]=j[l+64>>2];j[l+64>>2]=l+8;r=-1;n=l+8|0}b=0;J:{while(1){q=j[n>>2];if(!q){break J}q=vp(l+4|0,q);s=(q|0)<0;if(!(s|q>>>0>r-b>>>0)){n=n+4|0;b=b+q|0;if(r>>>0>b>>>0){continue}break J}break}u=-1;if(s){break a}}Rf(a,32,t,b,m);if(!b){b=0;break t}w=0;n=j[l+64>>2];while(1){q=j[n>>2];if(!q){break t}q=vp(l+4|0,q);w=q+w|0;if((w|0)>(b|0)){break t}Hf(a,l+4|0,q);n=n+4|0;if(b>>>0>w>>>0){continue}break}}Rf(a,32,t,b,m^8192);b=(b|0)<(t|0)?t:b;continue b}b=qe[f|0](a,o[l+64>>3],t,r,m,b)|0;continue b}h[l+55|0]=j[l+64>>2];r=1;q=B;m=n;break e}n=b+1|0;j[l+76>>2]=n;m=k[b+1|0];b=n;continue}}u=v;if(a){break a}if(!z){break d}b=1;while(1){a=j[(b<<2)+e>>2];if(a){sp((b<<3)+d|0,a,c,g);u=1;b=b+1|0;if((b|0)!=10){continue}break a}break}u=1;if(b>>>0>=10){break a}while(1){if(j[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}u=-1;break a}s=s-q|0;r=(r|0)<(s|0)?s:r;n=r+u|0;b=(n|0)>(t|0)?n:t;Rf(a,32,b,n,m);Hf(a,x,u);Rf(a,48,b,n,m^65536);Rf(a,48,r,s,0);Hf(a,q,s);Rf(a,32,b,n,m^8192);continue}break}u=0}oe=l+80|0;return u}function nJ(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-32|0;oe=n;q=1;if((d|0)>=1){c=0;while(1){m=j[(c<<3)+e>>2]-1768386662|0;g=1;a:{if(!m){break a}if((m|0)==13){o=1}g=f}f=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}b:{if(j[j[b+128>>2]+48>>2]){break b}f=0;c=l[b+152>>1];c:{if(!c){break c}f=j[b+156>>2];d=f+(c<<4)|0;c=f;while(1){if(j[c+12>>2]?j[c>>2]==1735162214:0){break b}c=c+16|0;if(d>>>0>c>>>0){continue}break}while(1){if(j[f+12>>2]?j[f>>2]==1128678944:0){break c}f=f+16|0;if(d>>>0>f>>>0){continue}break}f=0}q=(f|0)!=0}m=j[b+532>>2];f=1;e=qe[j[b+508>>2]](b,1935829368,a,0)|0;c=(e|0)!=0&q;d:{e:{f:{if(c){break f}q=j[m+68>>2];if(!q){break f}d=0;q=qe[q|0](b,a)|0;f=(q|0)!=0;if(!e){break f}if(!q){break e}}d=f;f=qe[j[m+24>>2]](b,a)|0;if(f){break d}}if(!l[b+178>>1]){f=8;break d}s=n,t=qe[j[m+36>>2]](b,a)|0,j[s+28>>2]=t;qe[j[m+32>>2]](b,a)|0;qe[j[m+48>>2]](b,a)|0;q=qe[j[m+44>>2]](b,a)|0;g:{if(!d){d=c;break g}h:{i:{f=qe[j[m+28>>2]](b,a,0)|0;if(!f){f=qe[j[m+92>>2]](b,a,0)|0;if((f&255)!=142){break i}f=147;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}if((f&255)!=142){break d}d=0;if(j[b+148>>2]==1953658213){break h}f=143;d=j[j[b+128>>2]+48>>2];if(!d|!j[j[d>>2]+8>>2]){break d}i[b+250>>1]=0;d=c;break h}d=c;if(f){break d}}j:{k:{f=qe[j[m+28>>2]](b,a,1)|0;if(f){break k}f=qe[j[m+92>>2]](b,a,1)|0;j[n+28>>2]=f;if(f){break k}h[b+292|0]=1;break j}if((f&255)!=142){break d}}if(!(qe[j[m+40>>2]](b,a)|0)){break g}i[b+364>>1]=65535}c=j[m+96>>2];l:{if(!c){break l}f=qe[c|0](b,a)|0;if(!f){break l}if((f&255)!=142){break d}}f=qe[j[m+64>>2]](b,a)|0;if(f){if((f&255)!=142){break d}j[b+548>>2]=0}qe[j[m+60>>2]](b,a)|0;qe[j[m+56>>2]](b,a)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=l[b+264>>1];c=b+24|0;e=b+20|0;a=n;m:{n:{if(!(!(h[b+429|0]&1)|l[b+364>>1]==65535)){o:{if(!(g&255)){f=Pg(b,16,e);j[n+28>>2]=f;if(f){break d}if(j[e>>2]){break o}}f=Pg(b,1,e);j[n+28>>2]=f;if(f){break d}}if(!(o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}}if(j[c>>2]){break m}f=Pg(b,2,c);break n}f=Pg(b,21,e);if(f){break d}f=j[e>>2];if(!(f|g&255)){f=Pg(b,16,e);if(f){break d}f=j[e>>2]}if(!f){f=Pg(b,1,e);if(f){break d}}f=Pg(b,22,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2];if(!(g|o&255)){f=Pg(b,17,c);j[n+28>>2]=f;if(f){break d}g=j[c>>2]}if(g){break m}f=Pg(b,2,c)}j[a+28>>2]=f;if(f){break d}}a=j[b+8>>2];a=((j[b+732>>2]&-2)==2?a|16384:a)|d;g=a|24;g=q?g:j[b+468>>2]==196608?g:a|536;a=j[b+480>>2]?g|4:g;a=k[b+292|0]?a|32:a;o=j[b+752>>2]?a|64:a;a=l[b+152>>1];p:{if(!a){break p}e=j[b+156>>2];a=e+(a<<4)|0;g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1735162214)){g=e;while(1){if(!(!j[g+12>>2]|j[g>>2]!=1719034226)){q:{while(1){if(j[e+12>>2]?j[e>>2]==1735811442:0){break q}e=e+16|0;if(a>>>0>e>>>0){continue}break}e=0}o=e?o|256:o;break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}break p}g=g+16|0;if(a>>>0>g>>>0){continue}break}}j[b+8>>2]=o;a=b;r:{if(!(!d|l[b+364>>1]==65535)){c=l[b+428>>1];c=c>>>4&2|(c&513)!=0;break r}c=l[b+204>>1];c=c>>>1&1|c<<1&2}j[a+12>>2]=c;mJ(b);d=j[b+36>>2];if((d|0)>=1){e=j[b+40>>2];f=0;while(1){c=j[e+(f<<2)>>2];a=i[c+10>>1];o=198208;g=0;s:{t:{switch(l[c+8>>1]){case 0:g=j[49557];break s;case 1:if(a){break s}g=j[49560];break s;case 3:o=a&65535;if(o>>>0>=11|!(1151>>>o&1)){break s}o=j[(a<<2)+199288>>2];break;case 2:break t;default:break s}}g=j[o+8>>2]}j[c+4>>2]=g;f=f+1|0;if((d|0)!=(f|0)){continue}break}}a=j[b+736>>2];u:{if(!a){c=j[b+8>>2];break u}d=j[j[b+104>>2]+28>>2];e=l[b+178>>1];c=l[b+366>>1];v:{if(!(!e|l[b+364>>1]==65535)){break v}e=1;c=1}g=xe(d,16,0,a,0,n+28|0);j[b+32>>2]=g;f=j[n+28>>2];if(f){break d}f=qe[j[m+108>>2]](b,0,n)|0;j[n+28>>2]=f;if(f){break d}o=a>>>0>1?a:1;q=e>>>1|0;r=c<<16>>16;d=0;while(1){w:{c=(d<<4)+g|0;i[c>>1]=j[n+20>>2]>>>6;f=l[n>>1];j[c+8>>2]=f<<6;i[c+2>>1]=(q+p(f,r)|0)/(e|0);f=l[n+2>>1]<<6;j[c+4>>2]=f;j[c+12>>2]=f;d=d+1|0;if((o|0)==(d|0)){break w}g=j[b+32>>2];f=qe[j[m+108>>2]](b,d,n)|0;j[n+28>>2]=f;if(!f){continue}break d}break}j[b+28>>2]=a;c=j[b+8>>2]|2;j[b+8>>2]=c}if(!(c&3)){c=c|1;j[b+8>>2]=c}f=0;if(!(c&1)){break d}i[b+68>>1]=l[b+178>>1];j[b+52>>2]=i[b+196>>1];j[b+56>>2]=i[b+198>>1];j[b+60>>2]=i[b+200>>1];j[b- -64>>2]=i[b+202>>1];a=l[b+220>>1];i[b+70>>1]=a;c=l[b+222>>1];i[b+72>>1]=c;i[b+74>>1]=l[b+224>>1]+(a-c|0);x:{if(a|c|l[b+364>>1]==65535){break x}a=l[b+434>>1];c=l[b+436>>1];if(a|c){i[b+72>>1]=c;i[b+70>>1]=a;i[b+74>>1]=l[b+438>>1]+(a-c|0);break x}a=l[b+440>>1];i[b+70>>1]=a;c=a;a=l[b+442>>1];i[b+74>>1]=c+a;i[b+72>>1]=0-a}i[b+76>>1]=l[b+226>>1];i[b+78>>1]=l[(k[b+292|0]?306:74)+b>>1];a=i[b+478>>1];i[b+82>>1]=a;i[b+80>>1]=l[b+476>>1]+((a|0)/-2|0)}oe=n+32|0;return f|0}function lf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=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;m=oe-96|0;oe=m;q=c;w=(g&131071)<<15|f>>>17;k=i&65535;u=k;l=h;D=l<<15|g>>>17;o=(e^i)&-2147483648;p=e&65535;y=p;n=d;z=p;p=0;E=(k&131071)<<15|l>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){k=0;if(F-1>>>0<32766){break b}}r=e&2147483647;x=r;k=d;if(!(!k&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;o=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;o=i|32768;b=f;c=g;break a}if(!(b|k|(x^2147418112|c))){if(!(d|f|(g|r))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|k;e=c|x;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|k|(c|x))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((x|0)==65535|x>>>0<65535){h=b;i=c;d=!(n|y);e=d<<6;k=s(d?b:n)+32|0;b=s(d?c:y);b=e+((b|0)==32?k:b)|0;Nf(m+80|0,h,i,n,y,b-15|0);n=j[m+88>>2];q=j[m+84>>2];z=j[m+92>>2];v=16-b|0;b=j[m+80>>2]}k=v;if(r>>>0>65535){break b}c=!(l|u);d=c<<6;e=s(c?f:l)+32|0;c=s(c?g:u);c=d+((c|0)==32?e:c)|0;i=c;Nf(m- -64|0,f,g,l,u,c-15|0);e=j[m+76>>2];c=e;h=j[m+72>>2];d=h;d=d<<15;e=j[m+68>>2];D=e>>>17|d;d=0;f=j[m+64>>2];w=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;k=(v-i|0)+16|0}v=k;d=w;c=b;u=0;r=hP(d,0,b,u);b=pe;G=b;e=f;B=e<<15&-32768;l=q;g=hP(B,0,l,0);f=g+r|0;e=pe+b|0;e=f>>>0>>0?e+1|0:e;h=f;k=f;i=0;g=hP(c,u,B,C);f=i+g|0;b=k;k=k+pe|0;k=f>>>0>>0?k+1|0:k;w=f;g=k;J=(b|0)==(k|0)&f>>>0>>0|b>>>0>k>>>0;N=hP(d,t,l,H);K=pe;q=n;f=hP(B,C,n,0);b=f+N|0;k=pe+K|0;O=b;n=hP(D,0,c,u);i=b+n|0;b=b>>>0>>0?k+1|0:k;f=b+pe|0;x=i;f=i>>>0>>0?f+1|0:f;y=f;k=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+x|0;k=f+k|0;r=h;k=h>>>0>>0?k+1|0:k;n=k;e=h;h=k;Q=hP(d,t,q,P);G=pe;f=B;I=z|65536;B=p;i=hP(f,C,I,p);f=i+Q|0;k=pe+G|0;k=f>>>0>>0?k+1|0:k;R=f;C=hP(D,S,l,H);i=f+C|0;p=k;f=k+pe|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=hP(c,u,E,0);c=L+i|0;u=f;k=f+pe|0;C=c;c=c>>>0>>0?k+1|0:k;z=J;i=0;f=i+e|0;k=h+C|0;J=f;h=f;e=z+f|0;z=f>>>0>>0?k+1|0:k;f=z;f=e>>>0>>0?f+1|0:f;h=e;i=f;v=(v+(F+M|0)|0)-16383|0;f=hP(q,P,D,S);e=pe;t=hP(d,t,I,B);d=t+f|0;k=pe+e|0;k=d>>>0>>0?k+1|0:k;t=d;f=(e|0)==(k|0)&f>>>0>d>>>0|e>>>0>k>>>0;e=k;F=f;f=hP(E,T,l,H);d=f+d|0;k=pe+k|0;k=d>>>0>>0?k+1|0:k;f=d;d=k;l=(k|0)==(e|0)&f>>>0>>0|e>>>0>k>>>0;k=F+l|0;e=0;e=k>>>0>>0?1:e;t=f;l=d;F=k;f=(b|0)==(y|0)&x>>>0>>0|b>>>0>y>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;k=0;k=b>>>0>>0?1:k;f=b;b=t+f|0;k=d+k|0;k=b>>>0>>0?k+1|0:k;H=b;d=k;k=(k|0)==(l|0)&b>>>0>>0|k>>>0>>0;b=F+k|0;f=e;f=b>>>0>>0?f+1|0:f;e=hP(E,T,I,B);b=e+b|0;k=pe+f|0;t=b;e=b>>>0>>0?k+1|0:k;l=hP(E,T,q,P);f=pe;q=hP(D,S,I,B);b=q+l|0;k=pe+f|0;k=b>>>0>>0?k+1|0:k;q=b;b=k;k=(f|0)==(k|0)&l>>>0>q>>>0|f>>>0>k>>>0;l=b+t|0;e=e+k|0;e=l>>>0>>0?e+1|0:e;t=l;l=0;b=l+H|0;k=d+q|0;k=b>>>0>>0?k+1|0:k;f=k;l=(d|0)==(k|0)&b>>>0>>0|d>>>0>k>>>0;d=t+l|0;k=e;D=d;d=d>>>0>>0?k+1|0:k;q=b;l=f;f=(p|0)==(u|0)&R>>>0>L>>>0|p>>>0>u>>>0;e=f+((p|0)==(G|0)&Q>>>0>R>>>0|p>>>0>>0)|0;f=e;e=f+((c|0)==(u|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+l|0;e=b>>>0>>0?e+1|0:e;p=b;c=b;b=e;e=(e|0)==(l|0)&c>>>0>>0|e>>>0>>0;c=e+D|0;k=d;k=c>>>0>>0?k+1|0:k;d=c;l=d;e=(n|0)==(z|0)&r>>>0>J>>>0|n>>>0>z>>>0;d=e+((n|0)==(y|0)&r>>>0>>0|n>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;n=d;d=d+p|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0

>>0|b>>>0>e>>>0;b=l+c|0;k=b>>>0>>0?k+1|0:k;c=k;c:{if(k&65536){v=v+1|0;break c}n=g>>>31|0;k=c<<1|b>>>31;b=b<<1|e>>>31;c=k;k=e<<1|d>>>31;d=d<<1|i>>>31;e=k;p=w;k=g<<1|p>>>31;w=p<<1;g=k;k=i<<1|h>>>31;h=h<<1|n;i=k}if((v|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((v|0)<=0){f=1-v|0;if(f>>>0>=128){b=0;c=0;break a}k=v+127|0;Nf(m+48|0,w,g,h,i,k);Nf(m+32|0,d,e,b,c,k);oi(m+16|0,w,g,h,i,f);oi(m,d,e,b,c,f);w=(j[m+48>>2]|j[m+56>>2])!=0|(j[m+52>>2]|j[m+60>>2])!=0|(j[m+32>>2]|j[m+16>>2]);g=j[m+36>>2]|j[m+20>>2];h=j[m+40>>2]|j[m+24>>2];i=j[m+44>>2]|j[m+28>>2];d=j[m>>2];e=j[m+4>>2];c=j[m+12>>2];b=j[m+8>>2];break d}c=c&65535|v<<16}A=b|A;o=c|o;if(!(!h&(i|0)==-2147483648?!(g|w):(i|0)>-1)){k=e;b=d+1|0;k=b>>>0<1?k+1|0:k;f=b;c=k;f=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=f+A|0;e=o;A=d;o=d>>>0>>0?e+1|0:e;break a}if(h|w|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;k=e;k=b>>>0>>0?k+1|0:k;f=b;c=k;e=(e|0)==(k|0)&d>>>0>f>>>0|e>>>0>k>>>0;d=e+A|0;k=o;A=d;o=d>>>0>>0?k+1|0:k}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=A;j[a+12>>2]=o;oe=m+96|0}function QM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=161;g=a;if(m[a+404>>2]>=a+40>>>0){i=j[g+412>>2];h[i+64|0]=1;f=j[g+20>>2];o=i;a:{b:{c:{b=j[g+16>>2];c=k[b|0];d:{if((c|0)==30){f=Jf(b,f,0,l+12|0);c=j[l+12>>2];break d}e:{f:{switch(c-28|0){case 0:a=0;if(f>>>0>>0){break c}a=k[b+2|0]|k[b+1|0]<<8;break c;case 1:a=0;if(f>>>0>>0){break c}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}if(c>>>0<=246){a=c-139|0;break c}e=b+2|0;if(c>>>0<=250){a=0;if(e>>>0>f>>>0){break c}a=(k[b+1|0]|c<<8)-63124|0;break c}a=0;if(e>>>0>f>>>0){break c}a=64148-(k[b+1|0]|c<<8)|0}if((a|0)<32768){break c}d=a;b=5;g:{if((a|0)<1e5){break g}b=6;if((a|0)<=999999){break g}b=7;if((a|0)<1e7){break g}b=8;if((a|0)<1e8){break g}b=(a|0)<1e9?9:10}c=b-5|0;f=j[(c<<2)+122448>>2];if(((d|0)/(f|0)|0)>=32768){c=b-4|0;f=De(a,j[(c<<2)+122448>>2]);break d}f=De(a,f)}j[i+48>>2]=f;f=0-c|0;j[l+12>>2]=f;if(c+9>>>0<10){break b}j[i+48>>2]=65536;j[i+52>>2]=0;j[i+72>>2]=0;j[i+76>>2]=0;j[i+56>>2]=0;j[i+60>>2]=65536;a=1;break a}j[i+48>>2]=a<<16;f=0;j[l+12>>2]=0;c=0}b=j[g+24>>2];e=j[g+20>>2];a=k[e|0];h:{if((a|0)==30){c=Jf(e,b,f,0);b=j[g+24>>2];f=j[l+12>>2];break h}i:{j:{switch(a-28|0){case 0:d=0;if(e+3>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break i;case 1:d=0;if(e+5>>>0>b>>>0){break i}a=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break i;default:break j}}d=a-139|0;if(a>>>0<=246){break i}n=e+2|0;if(a>>>0<=250){d=0;if(b>>>0>>0){break i}d=(k[e+1|0]|a<<8)-63124|0;break i}d=0;if(b>>>0>>0){break i}d=64148-(k[e+1|0]|a<<8)|0}a=d;a=c?p(j[(f<<2)+122448>>2],a):a;c=2147483647;if((a|0)>32767){break h}c=(a|0)<-32767?-2147483647:a<<16}j[i+56>>2]=c;c=j[g+28>>2];e=k[b|0];k:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+28>>2];f=j[l+12>>2];break k}l:{m:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break l;case 1:d=0;if(b+5>>>0>c>>>0){break l}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break l;default:break m}}d=e-139|0;if(e>>>0<=246){break l}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break l}d=(k[b+1|0]|e<<8)-63124|0;break l}d=0;if(a>>>0>c>>>0){break l}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break k}b=(a|0)<-32767?-2147483647:a<<16}j[i+52>>2]=b;b=j[g+32>>2];e=k[c|0];n:{if((e|0)==30){c=Jf(c,b,f,0);b=j[g+32>>2];f=j[l+12>>2];break n}o:{p:{switch(e-28|0){case 0:d=0;if(c+3>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break o;case 1:d=0;if(c+5>>>0>b>>>0){break o}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break o;default:break p}}d=e-139|0;if(e>>>0<=246){break o}a=c+2|0;if(e>>>0<=250){d=0;if(a>>>0>b>>>0){break o}d=(k[c+1|0]|e<<8)-63124|0;break o}d=0;if(a>>>0>b>>>0){break o}d=64148-(k[c+1|0]|e<<8)|0}a=d;c=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break n}c=(a|0)<-32767?-2147483647:a<<16}j[i+60>>2]=c;c=j[g+36>>2];e=k[b|0];q:{if((e|0)==30){b=Jf(b,c,f,0);c=j[g+36>>2];f=j[l+12>>2];break q}r:{s:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8;d=(a<<24|a<<8&16711680)>>16;break r;case 1:d=0;if(b+5>>>0>c>>>0){break r}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break r;default:break s}}d=e-139|0;if(e>>>0<=246){break r}a=b+2|0;if(e>>>0<=250){d=0;if(a>>>0>c>>>0){break r}d=(k[b+1|0]|e<<8)-63124|0;break r}d=0;if(a>>>0>c>>>0){break r}d=64148-(k[b+1|0]|e<<8)|0}a=d;b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break q}b=(a|0)<-32767?-2147483647:a<<16}j[i+72>>2]=b;b=j[g+40>>2];g=k[c|0];t:{if((g|0)==30){b=Jf(c,b,f,0);f=j[l+12>>2];break t}u:{v:{switch(g-28|0){case 0:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break u;case 1:a=0;if(b>>>0>>0){break u}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break u;default:break v}}a=g-139|0;if(g>>>0<=246){break u}e=c+2|0;if(g>>>0<=250){a=0;if(b>>>0>>0){break u}a=(k[c+1|0]|g<<8)-63124|0;break u}a=0;if(b>>>0>>0){break u}a=64148-(k[c+1|0]|g<<8)|0}b=2147483647;a=f?p(j[(f<<2)+122448>>2],a):a;if((a|0)>32767){break t}b=(a|0)<-32767?-2147483647:a<<16}j[i+76>>2]=b;a=j[(f<<2)+122448>>2]}j[o+68>>2]=a;f=0}oe=l+16|0;return f|0}function yI(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;c=oe-18160|0;oe=c;a:{if(!a){a=6;break a}a=20;g=j[b+4>>2];if(!g){break a}f=i[g+2>>1];if(!f){a=0;break a}d=i[g>>1];if((d|0)<1){a=0;break a}e=j[g+12>>2];if(!e|!j[g+4>>2]|(f|0)!=(i[(e+(d<<1)|0)-2>>1]+1|0)){break a}k=j[b>>2];h=j[b+8>>2];f=h&2;b:{if(!f){if(!k){a=6;break a}d=j[k+4>>2];if(!d){a=0;break a}a=0;e=j[k>>2];if(!e){break a}a=6;if(!j[k+12>>2]){break a}a=19;if(!(h&1)){break a}j[c+17576>>2]=e;j[c+17572>>2]=d;j[c+17564>>2]=0;j[c+17568>>2]=0;break b}a=19;if(!(h&1)){break a}if(h&4){a=j[b+44>>2];e=c+17572|0;j[e>>2]=j[b+40>>2];j[e+4>>2]=a;a=j[b+36>>2];j[c+17564>>2]=j[b+32>>2];j[c+17568>>2]=a;break b}a=c+17572|0;j[a>>2]=32767;j[a+4>>2]=32767;j[c+17564>>2]=-32768;j[c+17568>>2]=-32768}j[c+17800>>2]=16384;j[c+16588>>2]=0;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+16584>>2]=0;j[c+16572>>2]=0;j[c+16576>>2]=0;j[c+17804>>2]=c;j[c+17796>>2]=c;a=j[g+12>>2];e=c+17528|0;j[e>>2]=j[g+8>>2];j[e+4>>2]=a;j[c+17536>>2]=j[g+16>>2];a=j[g+4>>2];j[c+17520>>2]=j[g>>2];j[c+17524>>2]=a;j[c+16592>>2]=0;j[c+16580>>2]=1;j[c+17784>>2]=0;j[c+17788>>2]=128;j[c+17772>>2]=0;c:{if(f){a=j[b+12>>2];j[c+17780>>2]=j[b+28>>2];break c}a=j[k+20>>2];b=c+17556|0;j[b>>2]=j[k+16>>2];j[b+4>>2]=a;a=j[k+12>>2];b=c+17548|0;j[b>>2]=j[k+8>>2];j[b+4>>2]=a;a=j[k+4>>2];j[c+17540>>2]=j[k>>2];j[c+17544>>2]=a;j[c+17780>>2]=c+16384;a=904}j[c+17776>>2]=a;e=0;d=i[c+17522>>1];d:{if((d|0)<=0){j[c+16548>>2]=0;j[c+16552>>2]=0;d=0;f=0;b=0;break d}a=j[c+17524>>2];b=j[a+4>>2];f=j[a>>2];e:{if((d|0)==1){e=b;d=f;break e}g=(d<<3)+a|0;h=a+8|0;e=b;d=f;while(1){a=j[a+12>>2];b=(a|0)>(b|0)?a:b;e=(a|0)<(e|0)?a:e;a=j[h>>2];f=(a|0)>(f|0)?a:f;d=(a|0)<(d|0)?a:d;a=h;h=a+8|0;if(g>>>0>h>>>0){continue}break}}d=d>>6;j[c+16548>>2]=d;f=f+63>>6;j[c+16552>>2]=f;e=e>>6;b=b+63>>6}a=0;l=j[c+17564>>2];if((l|0)>=(f|0)){break a}k=j[c+17572>>2];if((k|0)<=(d|0)){break a}g=j[c+17568>>2];if((g|0)>=(b|0)){break a}h=j[c+17576>>2];if((h|0)<=(e|0)){break a}if((d|0)<(l|0)){j[c+16548>>2]=l;d=l}if((e|0)<(g|0)){j[c+16556>>2]=g;e=g}if((f|0)>(k|0)){j[c+16552>>2]=k;f=k}if((b|0)>(h|0)){j[c+16560>>2]=h;b=h}a=b-e|0;j[c+16568>>2]=a;j[c+17828>>2]=(a|0)/128;j[c+16564>>2]=f-d;if(!j[c+17828>>2]){j[c+17828>>2]=1}if(j[c+17828>>2]>=39){j[c+17828>>2]=39}j[c+17824>>2]=e;j[c+17816>>2]=b;a=0;j[c+17832>>2]=0;j[c+17792>>2]=0;if(j[c+17832>>2]>=j[c+17828>>2]){break a}g=c+17580|0;a=128;while(1){j[c+17820>>2]=j[c+17824>>2]+a;if(!(j[c+17820>>2]<=j[c+17816>>2]?j[c+17832>>2]!=(j[c+17828>>2]-1|0):0)){j[c+17820>>2]=j[c+17816>>2]}j[c+17840>>2]=j[c+17824>>2];j[c+17844>>2]=j[c+17820>>2];j[c+17836>>2]=c+17840;if(m[c+17836>>2]>=c+17840>>>0){while(1){e=j[c+17796>>2];j[c+17804>>2]=e;d=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2]|0;j[c+17808>>2]=d;b=d<<2;a=(b|0)%16|0;a=((a|0)>0?16-a|0:0)+b|0;b=a+e|0;j[c+16584>>2]=b;f:{g:{f=a;a=j[c+17800>>2];a=a-((a|0)%16|0)|0;if((f|0)>=(a|0)){break g}a=(a+e|0)-b|0;j[c+16588>>2]=a>>4;if((a|0)<32){break g}h:{if((d|0)<1){break h}j[e>>2]=0;a=1;if((d|0)==1){break h}while(1){j[j[c+17804>>2]+(a<<2)>>2]=0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=1;j[c+16580>>2]=1;j[c+16592>>2]=0;j[c+16556>>2]=j[j[c+17836>>2]>>2];j[c+16560>>2]=j[j[c+17836>>2]+4>>2];j[c+16568>>2]=j[j[c+17836>>2]+4>>2]-j[j[c+17836>>2]>>2];b=wI(c+16384|0);if((b|0)==64){break g}if(b){break a}i:{if(!j[c+16592>>2]){break i}d=0;j[c+17772>>2]=0;if(j[c+17808>>2]<1){break i}while(1){f=0;b=0;a=j[j[c+17804>>2]+(d<<2)>>2];j:{if(!a){break j}while(1){k:{if(!b){break k}e=j[a>>2];if((e|0)<=(f|0)){break k}dm(c+16384|0,f,d,b<<9,e-f|0)}b=j[a+4>>2]+b|0;h=b<<9;f=h-j[a+8>>2]|0;l:{if(!f){break l}e=j[a>>2];if((e|0)<0){break l}dm(c+16384|0,e,d,f,1)}f=j[a>>2]+1|0;a=j[a+12>>2];if(a){continue}break}if(!b){break j}dm(c+16384|0,f,d,h,j[c+16564>>2]-f|0)}d=d+1|0;if((d|0)>2]){continue}break}b=j[c+17776>>2];if(!b){break i}a=j[c+17772>>2];if((a|0)<1){break i}qe[b|0](j[c+17784>>2],a,g,j[c+17780>>2])}j[c+17836>>2]=j[c+17836>>2]-8;break f}a=1;e=j[j[c+17836>>2]+4>>2];d=j[j[c+17836>>2]>>2];b=e-d>>1;if(!b){break a}if(j[c+17788>>2]<=(d-e|0)){j[c+17792>>2]=j[c+17792>>2]+1}j[j[c+17836>>2]+8>>2]=d;a=b+d|0;j[j[c+17836>>2]+12>>2]=a;j[j[c+17836>>2]>>2]=a;j[j[c+17836>>2]+4>>2]=e;j[c+17836>>2]=j[c+17836>>2]+8}if(m[c+17836>>2]>=c+17840>>>0){continue}break}}j[c+17832>>2]=j[c+17832>>2]+1;j[c+17824>>2]=j[c+17820>>2];if(j[c+17832>>2]>2]){a=j[c+17788>>2];continue}break}a=0;if(j[c+17792>>2]<9){break a}b=j[c+17788>>2];if((b|0)<17){break a}j[c+17788>>2]=b>>>1}oe=c+18160|0;return a|0}function Lk(a,b){var c=0,d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-112|0;oe=g;a:{if(!a){j[g>>2]=97712;ve(97686,g);break a}if(!b){j[g+16>>2]=97876;ve(97686,g+16|0);break a}b:{c=j[b+4>>2];if(!c){break b}n=j[c>>2];c:{if((n|0)<1){c=0;break c}f=j[c+4>>2];c=0;while(1){d=f+(c<<2)|0;if(k[d|0]!=255|k[d+1|0]!=255|k[d+2|0]!=255){break c}c=c+1|0;if((n|0)>(c|0)){continue}break}}if((c|0)!=(n|0)){break b}ve(97883,0);break a}d=j[a+12>>2];f=j[a+8>>2];c=Dj(k[b+8|0],j[b+12>>2],j[b+16>>2],j[b+20>>2],j[b+24>>2]);if(!c){ve(97619,0);break a}e=Bj(f,d,c);if(!e){e=0;break a}f=j[b+4>>2];d:{if(!f){break d}c=j[j[e+4>>2]+4>>2];if(!c){break d}Ge(j[c+4>>2],j[f+4>>2],j[f>>2]<<2);j[j[j[e+4>>2]+4>>2]>>2]=j[j[b+4>>2]>>2]}c=j[a+52>>2];r=k[c+79|0];q=k[c+78|0];p=k[c+77|0];n=k[c+76|0];f=-1;j[c+76>>2]=-1;t=j[c+68>>2];j[c+68>>2]=0;vf(c);j[g+80>>2]=0;j[g+84>>2]=0;j[g+88>>2]=j[a+8>>2];j[g+92>>2]=j[a+12>>2];c=j[a+52>>2];e:{f:{g:{if(j[c>>2]!=(e|0)){break g}d=j[j[e+4>>2]+4>>2];if(j[c+80>>2]!=j[d+8>>2]?d:0){break g}d=j[j[a+4>>2]+4>>2];if(!d|j[c+84>>2]==j[d+8>>2]){break f}}if((Cj(a,e)|0)<0){break e}c=j[a+52>>2]}f=qe[j[c+8>>2]](a,g+80|0,e,g+80|0)|0}c=j[e+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t&-28945;c=j[a+52>>2];h[c+79|0]=r;h[c+78|0]=q;h[c+77|0]=p;h[c+76|0]=n;j[c+68>>2]=t;vf(c);if((f|0)<=-1){kf(e);e=0;break a}h:{if(!(t&256)){break h}i:{j:{k:{l:{m:{d=j[a+4>>2];n=j[d+4>>2];f=1;n:{if(!n){break n}f=j[b+4>>2];o:{if(!f){break o}c=j[n>>2];if((c|0)>j[f>>2]){break o}if(!wf(j[n+4>>2],j[f+4>>2],c<<2)){break m}d=j[a+4>>2]}f=!j[b+24>>2]}c=0;j[g+96>>2]=0;d=Dj(k[d+8|0],j[d+12>>2],j[d+16>>2],j[d+20>>2],j[d+24>>2]);if(!d){break k}c=Bj(1,1,d);d=j[j[a+4>>2]+4>>2];if(!d){break i}if(c){break l}break j}c=j[j[e+4>>2]+4>>2];f=j[j[a+52>>2]+72>>2];if(!(!c|f>>>0>2])){j[g+64>>2]=97720;ve(97686,g- -64|0);break h}d=j[e+52>>2];j[d+72>>2]=f;f=j[d+68>>2];c=f|256;j[d+68>>2]=c;if((c|0)==(f|0)){break h}vf(d);break h}if((Nk(j[c+4>>2],d)|0)<0){break i}vf(j[c+52>>2]);break i}ve(97619,0);if(!j[j[a+4>>2]+4>>2]){break i}}c=0;ve(97640,0)}Dh(c,0,j[j[a+52>>2]+72>>2]);d=j[c+52>>2];j[d+68>>2]=j[d+68>>2]&-257;d=Lk(c,b);Ge(g+96|0,j[d+20>>2],k[j[d+4>>2]+9|0]);kf(c);kf(d);c=j[j[e+4>>2]+4>>2];d=j[g+96>>2];p:{if(!(!c|d>>>0>2])){j[g+48>>2]=97720;ve(97686,g+48|0);break p}n=j[e+52>>2];j[n+72>>2]=d;d=j[n+68>>2];c=d|256;j[n+68>>2]=c;if((c|0)==(d|0)){break p}vf(n)}if(!(h[j[e+52>>2]+69|0]&1)){break h}s=j[e+4>>2];if(!j[s+24>>2]){break h}c=j[e+28>>2];q:{if(c){break q}c=0;if(!(k[e|0]&2)){break q}ei(e,1);j[e>>2]=j[e>>2]|2;s=j[e+4>>2];c=j[e+28>>2]}c=c+1|0;j[e+28>>2]=c;r:{s:{t:{switch(k[s+9|0]-2|0){case 0:u=l[s+24>>1]^-1;c=j[j[e+52>>2]+72>>2];if(f){f=j[e+12>>2];if(!f){break s}n=j[e+8>>2];p=j[e+20>>2];o=j[e+16>>2]/2<<1;r=c&u;q=r&65535;while(1){f=f-1|0;c=p;d=n;if(d){while(1){d=d-1|0;if((q|0)==(l[c>>1]&u)){i[c>>1]=r}c=c+2|0;if(d){continue}break}}p=o+p|0;if(f){continue}break}break s}o=j[e+12>>2];if(!o){break s}r=c&u;n=j[e+8>>2];f=j[e+20>>2];q=j[e+16>>2]/2<<1;p=c&65535;while(1){o=o-1|0;c=f;d=n;if(d){while(1){d=d-1|0;if((p|0)==l[c>>1]){i[c>>1]=r}c=c+2|0;if(d){continue}break}}f=f+q|0;if(o){continue}break}break s;case 2:break t;default:break r}}q=j[s+24>>2]^-1;p=j[j[e+52>>2]+72>>2];if(f){o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((n|0)==(q&j[c>>2])){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}break s}o=j[e+12>>2];if(!o){break s}n=p&q;f=j[e+20>>2];while(1){o=o-1|0;c=f;d=j[e+8>>2];if(d){while(1){d=d-1|0;if((p|0)==j[c>>2]){j[c>>2]=n}c=c+4|0;if(d){continue}break}}f=(j[e+16>>2]/4<<2)+f|0;if(o){continue}break}}c=j[e+28>>2]}u:{if(!c){break u}j[e+28>>2]=c-1;if((c|0)>1){break u}c=j[e>>2];if(!(c&2)){break u}j[e>>2]=c&-3;Hj(e);s=j[e+4>>2]}c=j[s+4>>2];v:{if(!(!c|j[c>>2])){j[g+32>>2]=97720;ve(97686,g+32|0);break v}d=j[e+52>>2];c=j[d+68>>2];f=c&-257;j[d+68>>2]=f;if((c|0)==(f|0)){break v}vf(d)}d=j[e+52>>2];c=j[d+68>>2];f=c&-113|16;j[d+68>>2]=f;if((c|0)==(f|0)){break h}vf(d)}j[g+96>>2]=0;j[g+100>>2]=0;j[g+104>>2]=j[e+8>>2];j[g+108>>2]=j[e+12>>2];Fg(a+36|0,g+96|0,e+36|0);w:{if(t&2?0:!(j[b+24>>2]?j[j[a+4>>2]+24>>2]:0)){break w}c=j[e+52>>2];a=j[c+68>>2];b=a&-113|16;j[c+68>>2]=b;if((a|0)==(b|0)){break w}vf(c)}if(!(t&4096)){break a}c=j[e+52>>2];a=j[c+68>>2];b=a|4096;j[c+68>>2]=b;if((a|0)==(b|0)){break a}vf(c)}oe=g+112|0;return e}function ND(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=oe-432|0;oe=g;h=j[b+4>>2];a:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break a}i=ff(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=j[b+4>>2];if(h>>>0>=m[b+104>>2]){break d}j[b+4>>2]=h+1;i=k[h|0];break c}}else{h=j[b+4>>2];if(h>>>0>2]){z=1;j[b+4>>2]=h+1;i=k[h|0]}else{z=1;i=ff(b)}continue}break}i=ff(b)}y=1;if((i|0)!=48){break b}while(1){h=u;u=h-1|0;v=v-(h>>>0<1)|0;h=j[b+4>>2];e:{if(h>>>0>2]){j[b+4>>2]=h+1;i=k[h|0];break e}i=ff(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=p;v=l;break g}i=(i|0)>57?A-87|0:B;i:{if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){r=i+(r<<4)|0;break i}if((l|0)<0?1:(l|0)<=0?p>>>0<=28:0){$f(g+48|0,i);lf(g+32|0,w,x,q,h,0,0,0,1073414144);w=j[g+32>>2];x=j[g+36>>2];q=j[g+40>>2];h=j[g+44>>2];lf(g+16|0,w,x,q,h,j[g+48>>2],j[g+52>>2],j[g+56>>2],j[g+60>>2]);Wf(g,n,o,s,t,j[g+16>>2],j[g+20>>2],j[g+24>>2],j[g+28>>2]);s=j[g+8>>2];t=j[g+12>>2];n=j[g>>2];o=j[g+4>>2];break i}if(!i|E){break i}lf(g+80|0,w,x,q,h,0,0,0,1073610752);Wf(g- -64|0,n,o,s,t,j[g+80>>2],j[g+84>>2],j[g+88>>2],j[g+92>>2]);s=j[g+72>>2];t=j[g+76>>2];E=1;n=j[g+64>>2];o=j[g+68>>2]}p=p+1|0;l=p>>>0<1?l+1|0:l;z=1}i=j[b+4>>2];if(i>>>0>2]){j[b+4>>2]=i+1;i=k[i|0]}else{i=ff(b)}continue}break}j:{k:{l:{if(!z){if(!j[b+104>>2]){if(f){break k}break l}c=j[b+4>>2];j[b+4>>2]=c-1;if(!f){break l}j[b+4>>2]=c-2;if(!y){break k}j[b+4>>2]=c-3;break k}if((l|0)<0?1:(l|0)<=0?p>>>0<=7:0){q=p;h=l;while(1){r=r<<4;q=q+1|0;h=q>>>0<1?h+1|0:h;if((q|0)!=8|h){continue}break}}m:{if((i&-33)==80){q=np(b,f);i=pe;h=i;if(q|(h|0)!=-2147483648){break m}if(f){q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1;break m}n=0;o=0;kg(b,0,0);c=0;b=0;break j}q=0;h=0;if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}if(!r){Lg(g+112|0,+(e|0)*0);n=j[g+112>>2];o=j[g+116>>2];c=j[g+120>>2];b=j[g+124>>2];break j}f=y?u:p;b=(y?v:l)<<2|f>>>30;f=q+(f<<2)|0;l=b+h|0;b=f;p=b-32|0;l=(b>>>0>>0?l+1|0:l)-(b>>>0<32)|0;b=l;if((b|0)>0?1:(b|0)>=0?p>>>0>0-d>>>0:0){j[67100]=68;$f(g+160|0,e);lf(g+144|0,j[g+160>>2],j[g+164>>2],j[g+168>>2],j[g+172>>2],-1,-1,-1,2147418111);lf(g+128|0,j[g+144>>2],j[g+148>>2],j[g+152>>2],j[g+156>>2],-1,-1,-1,2147418111);n=j[g+128>>2];o=j[g+132>>2];c=j[g+136>>2];b=j[g+140>>2];break j}b=d-226|0;f=p>>>0>=b>>>0;b=b>>31;if((b|0)<(l|0)?1:(l|0)>=(b|0)?f:0){if((r|0)>-1){while(1){Wf(g+416|0,n,o,s,t,0,0,0,-1073807360);h=gp(n,o,s,t,1073610752);f=(h|0)<0;b=f;Wf(g+400|0,n,o,s,t,b?n:j[g+416>>2],b?o:j[g+420>>2],b?s:j[g+424>>2],b?t:j[g+428>>2]);b=p;p=b-1|0;l=l-(b>>>0<1)|0;s=j[g+408>>2];t=j[g+412>>2];n=j[g+400>>2];o=j[g+404>>2];r=r<<1|(h|0)>-1;if((r|0)>-1){continue}break}}b=d;h=(p-b|0)+32|0;l=l-((b>>31)+(b>>>0>p>>>0)|0)|0;b=h;l=b>>>0<32?l+1|0:l;c=((l|0)<0?1:(l|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){$f(g+384|0,e);u=j[g+392>>2];v=j[g+396>>2];w=j[g+384>>2];x=j[g+388>>2];d=0;b=0;break n}Lg(g+352|0,Kg(1,144-c|0));$f(g+336|0,e);w=j[g+336>>2];x=j[g+340>>2];u=j[g+344>>2];v=j[g+348>>2];qp(g+368|0,j[g+352>>2],j[g+356>>2],j[g+360>>2],j[g+364>>2],w,x,u,v);C=j[g+376>>2];D=j[g+380>>2];d=j[g+372>>2];b=j[g+368>>2]}c=!(r&1)&((Kh(n,o,s,t,0,0,0,0)|0)!=0&(c|0)<32);ni(g+320|0,c+r|0);lf(g+304|0,w,x,u,v,j[g+320>>2],j[g+324>>2],j[g+328>>2],j[g+332>>2]);Wf(g+272|0,j[g+304>>2],j[g+308>>2],j[g+312>>2],j[g+316>>2],b,d,C,D);lf(g+288|0,c?0:n,c?0:o,c?0:s,c?0:t,w,x,u,v);Wf(g+256|0,j[g+288>>2],j[g+292>>2],j[g+296>>2],j[g+300>>2],j[g+272>>2],j[g+276>>2],j[g+280>>2],j[g+284>>2]);sl(g+240|0,j[g+256>>2],j[g+260>>2],j[g+264>>2],j[g+268>>2],b,d,C,D);e=j[g+240>>2];d=j[g+244>>2];c=j[g+248>>2];b=j[g+252>>2];if(!Kh(e,d,c,b,0,0,0,0)){j[67100]=68}pp(g+224|0,e,d,c,b,p);n=j[g+224>>2];o=j[g+228>>2];c=j[g+232>>2];b=j[g+236>>2];break j}j[67100]=68;$f(g+208|0,e);lf(g+192|0,j[g+208>>2],j[g+212>>2],j[g+216>>2],j[g+220>>2],0,0,0,65536);lf(g+176|0,j[g+192>>2],j[g+196>>2],j[g+200>>2],j[g+204>>2],0,0,0,65536);n=j[g+176>>2];o=j[g+180>>2];c=j[g+184>>2];b=j[g+188>>2];break j}kg(b,0,0)}Lg(g+96|0,+(e|0)*0);n=j[g+96>>2];o=j[g+100>>2];c=j[g+104>>2];b=j[g+108>>2]}j[a>>2]=n;j[a+4>>2]=o;j[a+8>>2]=c;j[a+12>>2]=b;oe=g+432|0}function mI(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=oe-80|0;oe=g;i=dh(j[j[b+96>>2]+4>>2],200336);a:{if(!i){f=11;break a}f=Fe(a,0);if(f){break a}f=qe[j[i+4>>2]](a,b,c,d,e)|0;if(f){break a}n=j[b+104>>2];a=j[b+148>>2];if(!((a|0)==65536|(a|0)==1953658213)){f=2;if((a|0)!=131072){break a}}j[b+8>>2]=j[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=qe[j[i+8>>2]](n,b,c,d,e)|0;if(f){break a}b:{c:{a=j[b+20>>2];if(a){if(Xf(a,200640)){break c}if(Xf(a,200660)){break c}if(Xf(a,200680)){break c}if(Xf(a,200700)){break c}if(Xf(a,200720)){break c}if(Xf(a,200740)){break c}if(Xf(a,200760)){break c}if(Xf(a,200780)){break c}if(Xf(a,200800)){break c}}t=Ee(g,0,68);a=0;d=l[b+152>>1];if(d){while(1){e=1;i=0;c=j[b+156>>2];s=r<<4;f=j[c+s>>2];d:{if((f|0)!=1668707360){e:{if((f|0)!=1886545264){if((f|0)!=1718642541){break d}i=1;break e}i=2}e=a}f=0;a=0;while(1){c=c+s|0;u=p(f,24)+(i<<3)|0;if(j[c+12>>2]==j[u+200836>>2]){f:{if(a){break f}d=j[b+508>>2];if(!d){a=0;break f}a=0;if(qe[d|0](b,j[c>>2],j[b+104>>2],0)|0){break f}c=j[b+104>>2];d=j[(j[b+156>>2]+s|0)+12>>2];if(_e(c,d)){break f}if(d>>>0>3){while(1){a=Ff(c)+a|0;d=d-4|0;if(d>>>0>3){continue}break}}o=3;if(d){while(1){v=a;a=j[c+32>>2];if(a>>>0>2]){j[c+32>>2]=a+1;a=h[a|0]}else{a=0}a=v+((a<<24>>24&255)<<(o<<3))|0;o=o-1|0;d=d-1|0;if(d){continue}break}}Ve(c)}c=(f<<2)+t|0;d=j[c>>2];if(j[u+200832>>2]==(a|0)){d=d+1|0;j[c>>2]=d}if((d|0)==3){break c}}f=f+1|0;if((f|0)!=17){c=j[b+156>>2];continue}break}d=l[b+152>>1];a=e}r=r+1|0;if(r>>>0<(d&65535)>>>0){continue}break}}a=a&255;while(1){c=(q<<2)+t|0;f=j[c>>2];if(!(q-5>>>0>11|a)){f=f+1|0;j[c>>2]=f}if((f|0)==3){break c}q=q+1|0;if((q|0)!=17){continue}break}break b}j[b+8>>2]=j[b+8>>2]|8192}o=j[n+28>>2];a=qe[j[b+508>>2]](b,1751412088,n,g+76|0)|0;j[g>>2]=a;g:{if(a){break g}a=j[g+76>>2];if(a>>>0<=7){break g}i=b+704|0;f=_f(n,a,i);j[g>>2]=f;if(f){break a}h:{i:{j:{c=j[i>>2];k:{if(k[c|0]<<8|k[c+1|0]){break k}d=k[c+3|0]|k[c+2|0]<<8;if(d>>>0>255){break k}a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=a>>>0>4294901759?a&65535:a;if(e-4>>>0<65534){break j}}j[g>>2]=3;break i}q=j[g+76>>2];f=0;o=xe(o,1,0,d,0,g);j[b+720>>2]=o;if(j[g>>2]){break i}l:{if(!d){break l}a=e+(c+8|0)|0;i=c+q|0;if(a>>>0>i>>>0){break l}h[o|0]=k[c+8|0];f=1;c=a+e|0;if(i>>>0>>0|d>>>0<2){break l}while(1){h[j[b+720>>2]+f|0]=k[a|0];f=f+1|0;a=c;c=e+a|0;if(i>>>0>>0){break l}if(d>>>0>f>>>0){continue}break}}j[b+712>>2]=f;a=j[g+76>>2];j[b+716>>2]=e;j[b+708>>2]=a;break h}jf(n,i);j[b+708>>2]=0}f=j[g>>2];if(f){break a}}f=0;m:{if(!(h[b+8|0]&1)){break m}n:{if(!j[j[b+128>>2]+48>>2]){f=qe[j[b+508>>2]](b,1735162214,n,b+668|0)|0;o:{if((f&255)==142){j[b+668>>2]=0;break o}if(f){break n}}f=144;if(qe[j[b+508>>2]](b,1819239265,n,g)|0){break n}e=b;c=j[g>>2];a=c;p:{if(l[b+210>>1]){f=8;if(c>>>0>262143){break n}d=2;break p}f=8;if(c>>>0>131071){break n}d=1}a=a>>>d|0;j[e+696>>2]=a;e=j[b+16>>2];q:{if(e>>>0>>0){break q}o=e+1|0;if((o|0)==(a|0)){break q}a=j[b+156>>2];i=l[b+152>>1];c=a+(i<<4)|0;f=2147483647;e=j[n+8>>2];if(i){while(1){i=j[a+8>>2]-e|0;f=(i|0)>0?(f|0)>(i|0)?i:f:f;a=a+16|0;if(c>>>0>a>>>0){continue}break}}if((a|0)==(c|0)){f=j[n+4>>2]-e|0}c=o<>>0>>0){c=j[g>>2];break q}j[b+696>>2]=j[b+16>>2]+1;j[g>>2]=c}f=_f(n,c,b+700|0);if(f){break n}}f=zq(b,n);if(f){break n}r:{if(qe[j[b+508>>2]](b,1718642541,n,g)|0){j[b+628>>2]=0;j[b+632>>2]=0;break r}a=j[g>>2];j[b+628>>2]=a;f=_f(n,a,b+632|0);if(f){break n}}if(qe[j[b+508>>2]](b,1886545264,n,g)|0){j[b+636>>2]=0;j[b+640>>2]=0;f=0;break n}a=j[g>>2];j[b+636>>2]=a;f=_f(n,a,b+640|0)}if(j[j[b+128>>2]+48>>2]|!j[b+28>>2]|(!j[b+700>>2]|!j[b+696>>2])){break m}e=0;d=1;i=0;c=0;s:{t:while(1){a=c;while(1){am(b,a,g+76|0);if(j[g+76>>2]){if(!(d&1)){break m}e=1;d=0;i=a;c=a+1|0;if(c>>>0>2]){continue t}break s}a=a+1|0;if(a>>>0>2]){continue}break}break}a=i;if(!(e&1)){break m}}if(a){if(GO(b,a,g)|k[g|0]!=46|((k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24))!=1953459758|(k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24))!=6710628)){break m}}j[b+8>>2]=j[b+8>>2]&-2}j[b+528>>2]=923;j[b+524>>2]=924;j[b+520>>2]=925;j[b+512>>2]=926;j[b+516>>2]=927}oe=g+80|0;return f|0}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,n=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+433|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+436|0;break i;case 1:a=a+440|0;break i;case 2:a=a+444|0;break i;case 3:break j;default:break h}}a=a+448|0}e=j[a>>2]}j[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+460|0;break l;case 1:a=a+464|0;break l;case 2:a=a+468|0;break l;case 3:break m;default:break k}}a=a+472|0}e=j[a>>2]}j[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+432|0];break b;case 4:a=j[a+364>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+416>>2];break c;case 7:if(m[a+416>>2]<=c>>>0){break e}a=j[j[a+420>>2]+(c<<2)>>2];c=Le(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,a,b)+c|0,n=0,h[g|0]=n;break f;case 8:if(m[a+416>>2]<=c>>>0){break e}e=j[j[a+428>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+424>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 9:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+368>>2];break c;case 10:if(j[a+368>>2]!=1|m[a+372>>2]<=c>>>0){break e}c=j[j[a+388>>2]+(c<<2)>>2];a=Le(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,c,a)+a|0,n=0,h[g|0]=n;break f;case 11:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+404>>2];break c;case 12:if(m[a+404>>2]<=c>>>0){break e}e=j[j[a+412>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ae(d,j[j[a+408>>2]+(c<<2)>>2],e)+e|0,n=0,h[g|0]=n;break f;case 13:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+176|0];break b;case 16:if(k[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+177|0];break b;case 19:if(k[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+178|0];break b;case 21:if(k[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+179|0];break b;case 23:if(k[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+292|0];break b;case 27:if(k[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+293|0];break b;case 29:if(k[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}h[d|0]=k[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}i[d>>1]=l[a+164>>1];break a;case 36:a=j[a+132>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 37:a=j[a+136>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 38:a=j[a+140>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 39:a=j[a+144>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=j[a+148>>2];b=Le(a)+1|0;if(!d|f>>>0>>0){break f}Ae(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}j[d>>2]=j[a+152>>2]}return b|0}return 1}return 2}function Cq(a,b,c,d){var e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0;t=oe-16|0;oe=t;o=6;e=j[a+32>>2];a:{if(!e){break a}f=j[a+40>>2];g=j[a+36>>2]+j[a+28>>2]|0;n=g;while(1){r=k[n+1|0]|k[n|0]<<8;if(!((k[n+3|0]|k[n+2|0]<<8)>>>0>=b>>>0?r>>>0<=b>>>0:0)){n=n+8|0;e=e-1|0;if(e){continue}break a}break}o=8;e=k[n+4|0]|k[n+5|0]<<8|(k[n+6|0]<<16|k[n+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>f-g>>>0){break a}g=e+g|0;e=g+8|0;if(e>>>0>f>>>0){o=6;break a}s=k[g+4|0]|k[g+5|0]<<8|(k[g+6|0]<<16|k[g+7|0]<<24);q=k[g+2|0]|k[g+3|0]<<8;o=6;b:{c:{d:{e:{f:{g:{g=k[g|0]|k[g+1|0]<<8;switch(((g<<24|g<<8&16711680)>>>16|0)-1|0){case 2:break e;case 1:break f;case 0:break g;case 4:case 18:break c;case 3:break d;default:break a}}e=e+(b-r<<2)|0;if(f>>>0>>0){break a}b=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((b|0)!=(e|0)){break b}break a}if(f>>>0>>0|f>>>0>>0){break a}n=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];if(f>>>0>>0){break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;e=n<<8&16711680|n<<24|(n>>>8&65280|n>>>24);b=p(e,b-r|0);e=b+e|0;break b}e=e+(b-r<<1)|0;if(f>>>0>>0){break a}b=k[e+1|0]|k[e|0]<<8;e=k[e+3|0]|k[e+2|0]<<8;if((b|0)!=(e|0)){break b}break a}n=e+4|0;if(f>>>0>>0|f>>>0>>0){break a}g=(f-n>>2)-1|0;e=n-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){break a}if(!f){break a}e=0;while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){e=k[n+7|0]|k[n+6|0]<<8;b=k[n+3|0]|k[n+2|0]<<8;break b}n=n+4|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}if(f>>>0>>0|f>>>0>>0){break a}o=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=j[a+12>>2];e=e+4|0;i[g>>1]=k[e|0];i[g+2>>1]=k[e+1|0];i[g+4>>1]=h[e+2|0];i[g+6>>1]=h[e+3|0];i[g+8>>1]=k[e+4|0];n=e+8|0;if(f>>>0>>0){o=6;break a}i[g+10>>1]=h[e+5|0];i[g+12>>1]=h[e+6|0];i[g+14>>1]=k[e+7|0];h[a+16|0]=1;n=n+4|0;g=f-n>>1;e=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0>>0){o=6;break a}if(!f){o=6;break a}g=o<<8&16711680|o<<24|(o>>>8&65280|o>>>24);e=0;h:{while(1){if((k[n+1|0]|k[n|0]<<8)==(b|0)){break h}n=n+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}o=6;break a}b=p(e,g);e=g+b|0}o=6;if(b>>>0>e>>>0){break a}f=s<<8&16711680|s<<24|(s>>>8&65280|s>>>24);if(m[a+24>>2]>>0){break a}r=j[a+4>>2];o=Fe(r,j[a+20>>2]+(b+f|0)|0);if(o){break a}g=e-b|0;o=_f(r,g,t+12|0);if(o){break a}f=j[t+12>>2];e=f;q=(q<<8&16711680|q<<24)>>>16|0;i:{j:{if(q>>>0>18){break j}b=1<>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];i[b+8>>1]=k[f+4|0];if((g|0)<8){break i}i[b+10>>1]=h[f+5|0];i[b+12>>1]=h[f+6|0];o=k[f+7|0];e=f+8|0;break k}o=6;if((g|0)<5){break i}b=j[a+12>>2];i[b>>1]=k[f|0];i[b+2>>1]=k[f+1|0];i[b+4>>1]=h[f+2|0];i[b+6>>1]=h[f+3|0];e=k[f+4|0];o=0;i[b+10>>1]=0;i[b+12>>1]=0;i[b+8>>1]=e;e=f+5|0}i[b+14>>1]=o;h[a+16|0]=1}s=f+g|0;o=7;n=817;l:{m:{n:{o:{p:{q:{switch(q-1|0){case 16:case 17:case 18:break i;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break q;default:break l}}f=j[a+12>>2];b=l[f>>1];g=l[f+2>>1];f=p(b,g+7>>>3|0);if(f>>>0<=p(b,g)+7>>>3>>>0){break p}if((f|0)==(s-e|0)){break m}}n=818;break m}o=0;e=e+1|0;if(s>>>0>>0){break i}}n=819}r:{if(k[a+17|0]){break r}if(!k[a+16|0]){o=6;break i}g=j[a+12>>2];b=l[g+2>>1];f=j[a+8>>2];q=l[g>>1];j[f>>2]=q;j[f+4>>2]=b;o=3;g=f;s:{t:{u:{switch(k[a+18|0]-1|0){case 0:h[f+18|0]=1;b=b+7>>>3|0;o=2;break s;case 1:h[f+18|0]=3;b=b+3>>>2|0;o=4;break s;case 3:h[f+18|0]=4;b=b+1>>>1|0;o=16;break s;case 7:h[f+18|0]=2;break t;case 31:break u;default:break i}}h[f+18|0]=7;b=b<<2}o=256}i[g+16>>1]=o;j[f+8>>2]=b;b=p(b,q);if(!b){break r}o=Km(j[j[a>>2]+84>>2],b);if(o){break i}h[a+17|0]=1}o=qe[n|0](a,e,s,c,d)|0;break i}o=8}jf(r,t+12|0)}oe=t+16|0;return o}function us(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=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;y=oe-16|0;oe=y;m=p(b,1468)+a|0;f=m;e=j[m+44>>2];n=j[m+52>>2];d=Zh(a,b);a:{if(d){break a}if((e|0)>=1){g=p(e,48)+n|0;while(1){d=j[n+40>>2];e=l[d>>1];o=k[n|0];h[n|0]=o&254;q=j[n+44>>2];b:{if((q|0)==(d|0)){break b}c=e&3;while(1){e=c;d=j[d+32>>2];c=l[d>>1]&3;if(!((e|c)&65535)){break b}if((d|0)!=(q|0)){continue}break}h[n|0]=o|1}n=n+48|0;if(g>>>0>n>>>0){continue}break}}s=j[j[a+2988>>2]+40>>2]/256|0;c=j[f+44>>2];e=j[m+52>>2];t=p(b,1468)+a|0;n=j[t+68>>2];z=(b?12:4)+a|0;v=De(192,j[z>>2]);if((c|0)>=1){q=p(c,48)+e|0;c=e;while(1){if((n|0)==h[c+1|0]){d=e;while(1){c:{if((c|0)==(d|0)|(n|0)!=(0-h[d+1|0]|0)){break c}g=i[d+2>>1]-i[c+2>>1]|0;if((g|0)<0){break c}f=i[d+6>>1];o=i[c+6>>1];w=(f|0)<(o|0)?f:o;f=i[d+4>>1];o=i[c+4>>1];f=w-((f|0)>(o|0)?f:o)|0;if((f|0)<(s|0)){break c}o=g<<3;r=j[c+32>>2];if(!((o|0)>=(p(r,9)|0)|((f|0)<=j[c+36>>2]?(o|0)>=(p(r,7)|0):0))){j[c+36>>2]=f;j[c+32>>2]=g;j[c+20>>2]=d}r=j[d+32>>2];if((o|0)>=(p(r,9)|0)|((f|0)<=j[d+36>>2]?(o|0)>=(p(r,7)|0):0)){break c}j[d+36>>2]=f;j[d+32>>2]=g;j[d+20>>2]=c}d=d+48|0;if(q>>>0>d>>>0){continue}break}}c=c+48|0;if(q>>>0>c>>>0){continue}break}c=e;while(1){o=j[c+20>>2];d:{if(!o|j[o+20>>2]!=(c|0)){break d}s=i[o+2>>1];r=i[c+2>>1];if((s|0)<=(r|0)){break d}u=j[c+32>>2];if((u|0)>=(v|0)){break d}A=u<<2;d=e;while(1){e:{f:{if((c|0)==(d|0)){break f}f=i[d+2>>1];if((f|0)>(r|0)){break f}n=j[d+20>>2];if(!n|j[n+20>>2]!=(d|0)){break f}g=i[n+2>>1];if((g|0)<(s|0)|((g|0)==(s|0)?(f|0)==(r|0):0)){break f}f=j[d+32>>2];if((f|0)<=(u|0)|(f|0)>=(A|0)){break f}g=e;if(j[c+36>>2]<(p(j[d+36>>2],3)|0)){break e}while(1){f=o;x=j[g+20>>2];g:{if((x|0)!=(d|0)){f=c;if((n|0)!=(x|0)){break g}}j[g+24>>2]=f;j[g+20>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}d=d+48|0;if(q>>>0>d>>>0){continue}break d}break}j[o+20>>2]=0;j[c+20>>2]=0}c=c+48|0;if(q>>>0>c>>>0){continue}break}while(1){c=j[e+20>>2];h:{if(!c){break h}f=j[c+28>>2];j[c+28>>2]=f+1;if(j[c+20>>2]==(e|0)){break h}j[e+20>>2]=0;d=j[c+32>>2];if(!(j[e+32>>2]>=d<<2?(d|0)>=(v|0):0)){j[e+24>>2]=j[c+20>>2];break h}j[c+28>>2]=f}e=e+48|0;if(q>>>0>e>>>0){continue}break}}A=j[a>>2];m=j[m+52>>2];c=j[a+2988>>2];j[t+56>>2]=0;x=t+44|0;e=j[x>>2];c=c+p(b,1572)|0;s=j[z>>2];i:{if((ye(j[c+248>>2],s)|0)>=17){g=De(16,s);break i}g=j[c+248>>2]}if((e|0)>=1){z=p(e,48)+m|0;D=(p(b,1468)+a|0)- -64|0;while(1){j:{k:{B=j[t+56>>2];l:{if((B|0)<=0){v=k[m+1|0];break l}v=k[m+1|0];r=j[D>>2];e=0;f=65535;n=0;while(1){d=p(n,48);o=d+r|0;m:{if(k[o+13|0]!=(v|0)){break m}q=i[m+2>>1]-i[o>>1]|0;c=q>>31;q=c^c+q;if((q|0)>=(g|0)|(f|0)<=(q|0)){break m}C=j[m+20>>2];if(C){c=0;w=j[(d+r|0)+40>>2];d=w;while(1){n:{u=j[d+20>>2];if(u){c=i[C+2>>1];u=i[u+2>>1];c=(c|0)>(u|0)?c-u|0:u-c|0;if((g|0)<=(c|0)){break n}}d=j[d+16>>2];if((w|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break m}}f=q;e=o}n=n+1|0;if((B|0)!=(n|0)){continue}break}if(e){break k}}d=qs(x,i[m+2>>1],v<<24>>24,A,y+12|0);if(d){break a}e=j[y+12>>2];j[e+44>>2]=m;j[e+40>>2]=m;j[e>>2]=0;j[e+4>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+24>>2]=0;j[e+28>>2]=0;j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=0;j[e+12>>2]=0;h[e+13|0]=k[m+1|0];c=i[m+2>>1];i[e>>1]=c;c=ye(c,s);j[e+8>>2]=c;j[e+4>>2]=c;j[m+16>>2]=m;break j}j[m+16>>2]=j[e+40>>2];j[j[e+44>>2]+16>>2]=m;j[e+44>>2]=m}m=m+48|0;if(z>>>0>m>>>0){continue}break}}c=j[t+56>>2];if((c|0)>=1){e=j[(p(b,1468)+a|0)- -64>>2];o=e+p(c,48)|0;c=e;while(1){a=j[c+40>>2];d=a;if(d){while(1){j[d+12>>2]=c;d=j[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+48|0;if(o>>>0>c>>>0){continue}break}while(1){b=e+28|0;c=e+24|0;v=j[e+40>>2];d=v;n=0;f=0;while(1){s=h[d|0]&1;r=s^1;g=j[d+24>>2];a=0;o:{if(!g){break o}a=j[g+12>>2]!=(e|0)}p:{if(j[d+20>>2]?0:!a){break p}q=j[(a?d+24|0:d+20|0)>>2];g=j[(a?b:c)>>2];q:{if(g){t=i[e>>1]-i[g>>1]|0;m=t>>31;w=m^m+t;m=i[d+2>>1];t=i[q+2>>1];if((w|0)<=(((m|0)>(t|0)?m-t|0:t-m|0)|0)){break q}}g=j[q+12>>2]}if(a){j[b>>2]=g;h[g+12|0]=k[g+12|0]|2;break p}j[c>>2]=g}n=n+s|0;f=f+r|0;d=j[d+16>>2];if((v|0)!=(d|0)){continue}break}h[e+12|0]=(n|0)!=0&f>>>0<=n>>>0;if(!(!j[e+28>>2]|!j[c>>2])){j[b>>2]=0}e=e+48|0;if(o>>>0>e>>>0){continue}break}}d=0}oe=y+16|0;return d}function Fz(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;var h=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;a:{b:{switch(c-1|0){case 0:q=j[b+12>>2];if(!q){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];s=b&3;c=(b+3|0)/4|0;h=j[58746];n=j[58747];o=g-b<<1;c:while(1){b=c;d:{e:{switch(s-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(g>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=q-1|0;r=l[a>>1];i[a>>1]=((p(m,k[h+(r>>>5&63)|0])>>>0)/255|0)+e<<3&8160|((p(m,k[n+(r>>>11|0)|0])>>>0)/255|0)+d<<8&63488|((p(m,k[n+(r&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+o|0;q=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<3&2016|d<<8&63488|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;q=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+q|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;q=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;m:while(1){c=q;n:{o:{switch(r-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[n+(b>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(b>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=g-1|0;h=l[a>>1];i[a>>1]=(p(k[n+(h>>>5&63)|0],e)>>>0)/255<<3&4064|(p(k[m+(h>>>11|0)|0],d)>>>0)/255<<8&63488|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((c|0)>1){c=c-1|0;break q}a=a+s|0;g=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}q=j[b+12>>2];if(!q){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;g=(b+3|0)/4|0;n=j[58746];m=j[58747];s=c-b<<1;r:while(1){c=g;s:{t:{switch(r-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[n+(b>>>5&63)|0]+e|0;o=(h>>>0<255?h:255)<<3&4064;h=k[m+(b>>>11|0)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=o|(h>>>0<255?h:255)<<8&63488|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=q-1|0;h=l[a>>1];o=k[n+(h>>>5&63)|0]+e|0;t=(o>>>0<255?o:255)<<3&4064;o=k[m+(h>>>11|0)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=t|(o>>>0<255?o:255)<<8&63488|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((c|0)>1){c=c-1|0;break v}a=a+s|0;q=b;if(b){continue r}break a}b=0;continue}}}return 0}function Gz(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;var h=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}m=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];r=b&3;o=(b+3|0)/4|0;h=j[58747];n=g-b<<1;c:while(1){b=o;d:{e:{switch(r-1|0){default:g=0;break d;case 0:g=3;break d;case 1:g=2;break d;case 2:break e}}g=1}while(1){f:{switch(g|0){case 0:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=1;continue;case 1:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=2;continue;case 2:g=l[a>>1];i[a>>1]=((p(m,k[h+(g>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(g>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(g&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g=3;continue;default:break f}}g=c-1|0;q=l[a>>1];i[a>>1]=((p(m,k[h+(q>>>5&31)|0])>>>0)/255|0)+e<<2&4064|((p(m,k[h+(q>>>10&31)|0])>>>0)/255|0)+d<<7&64512|((p(m,k[h+(q&31)|0])>>>0)/255|0)+f>>>3;a=a+2|0;g:{if((b|0)>1){b=b-1|0;break g}a=a+n|0;c=g;if(g){continue c}break a}g=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<2&992|d<<7&31744|f>>>3;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;o=f-d<<1;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:i[a>>1]=e;a=a+2|0;d=1;continue;case 1:i[a>>1]=e;a=a+2|0;d=2;continue;case 2:i[a>>1]=e;a=a+2|0;d=3;continue;default:break k}}d=c-1|0;i[a>>1]=e;a=a+2|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+o|0;c=d;if(d){continue h}break a}d=0;continue}};case 3:c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;m:while(1){g=o;n:{o:{switch(q-1|0){default:b=0;break n;case 0:b=3;break n;case 1:b=2;break n;case 2:break o}}b=1}while(1){p:{switch(b|0){case 0:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];i[a>>1]=(p(k[m+(b>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(b>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(b&31)|0],f)>>>0)/255>>>3;a=a+2|0;b=3;continue;default:break p}}b=c-1|0;h=l[a>>1];i[a>>1]=(p(k[m+(h>>>5&31)|0],e)>>>0)/255<<2&2016|(p(k[m+(h>>>10&31)|0],d)>>>0)/255<<7&64512|(p(k[m+(h&31)|0],f)>>>0)/255>>>3;a=a+2|0;q:{if((g|0)>1){g=g-1|0;break q}a=a+r|0;c=b;if(b){continue m}break a}b=0;continue}};case 1:break b}}c=j[b+12>>2];if(!c){break a}g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<1)|0)+(j[b>>2]<<1)|0;b=j[b+8>>2];q=b&3;o=(b+3|0)/4|0;m=j[58747];r=g-b<<1;r:while(1){g=o;s:{t:{switch(q-1|0){default:b=0;break s;case 0:b=3;break s;case 1:b=2;break s;case 2:break t}}b=1}while(1){u:{switch(b|0){case 0:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=1;continue;case 1:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=2;continue;case 2:b=l[a>>1];h=k[m+(b>>>5&31)|0]+e|0;n=(h>>>0<255?h:255)<<2&2016;h=k[m+(b>>>10&31)|0]+d|0;b=k[m+(b&31)|0]+f|0;i[a>>1]=n|(h>>>0<255?h:255)<<7&64512|(b>>>0<255?b:255)>>>3;a=a+2|0;b=3;continue;default:break u}}b=c-1|0;h=l[a>>1];n=k[m+(h>>>5&31)|0]+e|0;s=(n>>>0<255?n:255)<<2&2016;n=k[m+(h>>>10&31)|0]+d|0;h=k[m+(h&31)|0]+f|0;i[a>>1]=s|(n>>>0<255?n:255)<<7&64512|(h>>>0<255?h:255)>>>3;a=a+2|0;v:{if((g|0)>1){g=g-1|0;break v}a=a+r|0;c=b;if(b){continue r}break a}b=0;continue}}}return 0}function Fp(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=oe-560|0;oe=h;g=c;c=(c-3|0)/24|0;x=(c|0)>0?c:0;m=g+p(x,-24)|0;q=j[(e<<2)+223792>>2];k=d-1|0;if((q+k|0)>=0){g=d+q|0;c=x-k|0;while(1){o[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+j[(c<<2)+223808>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}t=m-24|0;g=0;i=(q|0)>0?q:0;n=(d|0)<1;while(1){a:{if(n){f=0;break a}l=g+k|0;c=0;f=0;while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(l-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}C=47-m|0;y=48-m|0;D=m-25|0;g=q;b:{while(1){f=o[(g<<3)+h>>3];c=0;i=g;l=(g|0)<1;if(!l){while(1){n=(h+480|0)+(c<<2)|0;s=f;f=f*5.960464477539063e-8;c:{if(r(f)<2147483648){k=~~f;break c}k=-2147483648}f=+(k|0);s=s+f*-16777216;d:{if(r(s)<2147483648){k=~~s;break d}k=-2147483648}j[n>>2]=k;i=i-1|0;f=o[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Kg(f,t);f=f+v(f*.125)*-8;e:{if(r(f)<2147483648){n=~~f;break e}n=-2147483648}f=f- +(n|0);f:{g:{h:{z=(t|0)<1;i:{if(!z){i=(g<<2)+h|0;k=j[i+476>>2];c=k>>y;w=i;i=k-(c<>2]=i;n=c+n|0;k=i>>C;break i}if(t){break h}k=j[((g<<2)+h|0)+476>>2]>>23}if((k|0)<1){break f}break g}k=2;if(!(f>=.5^1)){break g}k=0;break f}c=0;i=0;if(!l){while(1){w=(h+480|0)+(c<<2)|0;A=j[w>>2];l=16777215;j:{k:{if(i){break k}l=16777216;if(A){break k}i=0;break j}j[w>>2]=l-A;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(z){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;j[c+476>>2]=j[c+476>>2]&4194303}n=n+1|0;if((k|0)!=2){break f}f=1-f;k=2;if(!i){break f}f=f-Kg(1,t)}if(f==0){i=0;n:{c=g;if((q|0)>=(c|0)){break n}while(1){c=c-1|0;i=j[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(q|0)){continue}break}if(!i){break n}m=t;while(1){m=m-24|0;g=g-1|0;if(!j[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!j[(h+480|0)+(q-i<<2)>>2]){continue}break}i=g+i|0;while(1){k=d+g|0;g=g+1|0;o[(h+320|0)+(k<<3)>>3]=j[(x+g<<2)+223808>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+o[(c<<3)+a>>3]*o[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Kg(f,24-m|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;s=f;f=f*5.960464477539063e-8;p:{if(r(f)<2147483648){c=~~f;break p}c=-2147483648}f=s+ +(c|0)*-16777216;q:{if(r(f)<2147483648){a=~~f;break q}a=-2147483648}j[d>>2]=a;g=g+1|0;break o}if(r(f)<2147483648){c=~~f}else{c=-2147483648}m=t}j[(h+480|0)+(g<<2)>>2]=c}f=Kg(1,m);r:{if((g|0)<=-1){break r}c=g;while(1){o[(c<<3)+h>>3]=f*+j[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}l=0;if((g|0)<0){break r}a=(q|0)>0?q:0;i=g;while(1){d=a>>>0>>0?a:l;m=g-i|0;c=0;f=0;while(1){f=f+o[(c<<3)+226576>>3]*o[(c+i<<3)+h>>3];t=(c|0)!=(d|0);c=c+1|0;if(t){continue}break}o[(h+160|0)+(m<<3)>>3]=f;i=i-1|0;c=(g|0)!=(l|0);l=l+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;B=o[d>>3];f=B+f;o[(h+160|0)+(c<<3)>>3]=s+(B-f);o[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=o[(h+160|0)+(g<<3)>>3];c=g;while(1){s=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;u=o[d>>3];f=u+f;o[(h+160|0)+(c<<3)>>3]=s+(u-f);o[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}u=0;if((g|0)<=1){break v}while(1){u=u+o[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=o[h+160>>3];if(k){break t}o[b>>3]=f;f=o[h+168>>3];o[b+16>>3]=u;o[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+o[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}o[b>>3]=k?-f:f;f=o[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+o[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}o[b+8>>3]=k?-f:f;break s}o[b>>3]=-f;f=o[h+168>>3];o[b+16>>3]=-u;o[b+8>>3]=-f}oe=h+560|0;return n&7}function SB(a){var b=0,c=q(0),d=0,e=0,f=q(0),g=q(0),h=q(0),m=q(0),o=0,s=0,t=0,u=0,v=q(0),w=0,x=0,z=0,A=0,B=q(0),C=q(0),D=0,E=0,F=q(0),G=0;d=oe-576|0;oe=d;b=j[a>>2];a:{if(b-1792>>>0>2){break a}e=j[66369];if((e|0)<1){break a}E=j[a+8>>2];o=j[a+12>>2];w=j[66370];while(1){u=p(t,8232)+w|0;if(j[u>>2]!=(E|0)|j[u+4>>2]!=(o|0)){t=t+1|0;if((e|0)!=(t|0)){continue}break a}break}B=n[a+28>>2];C=n[a+24>>2];b:{switch(b-1792|0){case 1:b=p(t,8232)+w|0;i[b+8216>>1]=l[b+8216>>1]-1;E=b+8216|0;c:{if(j[b+8228>>2]){j[b+8228>>2]=0;Fo(b+16|0,d- -64|0);d:{e:{if(k[265472]){f:{g:{h:{a=j[66369];if(a){if((a|0)<=0){break d}break h}b=ve(69244,0);break g}while(1){a=j[66370]+p(s,8232)|0;e=j[a+8220>>2];b=p(e,516);o=mf(j[a+8224>>2],b+516|0);i:{if(!o){e=Be(0);break i}x=a+8220|0;j[a+8224>>2]=o;o=b+o|0;Ge(o,d- -64|0,512);a=5381;b=0;while(1){D=o+(b<<3)|0;c=n[D>>2];j:{if(c=q(0)){z=~~c>>>0;break j}z=0}z=p(z+p(a,33)|0,33);c=n[D+4>>2];k:{if(c=q(0)){a=~~c>>>0;break k}a=0}a=a+z|0;b=b+1|0;if((b|0)!=64){continue}break}j[o+512>>2]=a;j[x>>2]=j[x>>2]+1}b=-1;if((e|0)<=-1){break g}a=j[66369];s=s+1|0;if((a|0)>(s|0)){continue}break}break f}a=j[66369];e=b}if((a|0)<1){break e}s=j[66370];b=0;while(1){j[(s+p(b,8232)|0)+8228>>2]=0;b=b+1|0;if((b|0)!=(a|0)){continue}break}break e}a=p(t,8232)+w|0;e=j[a+8220>>2];b=p(e,516);s=mf(j[a+8224>>2],b+516|0);if(!s){e=Be(0);break e}o=a+8220|0;j[a+8224>>2]=s;z=b+s|0;Ge(z,d- -64|0,512);a=5381;b=0;while(1){D=z+(b<<3)|0;c=n[D>>2];l:{if(c=q(0)){x=~~c>>>0;break l}x=0}x=p(x+p(a,33)|0,33);c=n[D+4>>2];m:{if(c=q(0)){a=~~c>>>0;break m}a=0}a=a+x|0;b=b+1|0;if((b|0)!=64){continue}break}j[(s+p(e,516)|0)+512>>2]=a;j[o>>2]=j[o>>2]+1}if((e|0)<0){break d}a=j[(j[(p(t,8232)+w|0)+8224>>2]+p(e,516)|0)+512>>2];j[d+8>>2]=2049;b=j[u>>2];e=j[u+4>>2];j[d+24>>2]=a;j[d+28>>2]=0;j[d+16>>2]=b;j[d+20>>2]=e;gf(d+8|0);break c}j[d+8>>2]=2049;a=j[u>>2];b=j[u+4>>2];j[d+24>>2]=-1;j[d+28>>2]=-1;j[d+16>>2]=a;j[d+20>>2]=b;gf(d+8|0);break c}a=0;Oe(d- -64|0,0,512);Fo(b+16|0,d- -64|0);if(j[b+8220>>2]<=0){break c}o=b+8220|0;s=(p(t,8232)+w|0)+8224|0;F=q(1e4);b=-1;while(1){g=q(.185407355427742);h=q(-.185407355427742);e=j[s>>2]+p(a,516)|0;m=Rj(d- -64|0,e,q(-.185407355427742));c=Rj(d- -64|0,e,q(.185407355427742));A=.7853981633974483;G=-.7853981633974483;while(1){n:{if(!(c>m^1)){A=+g;v=q(A*.38196601100000005+G*.618033989);f=Rj(d- -64|0,e,v);g=h;c=m;break n}v=g;f=c;G=+h;c=q(G*.38196601100000005+A*.618033989);g=c;c=Rj(d- -64|0,e,c)}m=f;h=v;if(r(G-A)>.03490658503988659){continue}break}c=c>f?f:c;e=c>2]){continue}break}if((b|0)<0){break c}a=j[(j[s>>2]+p(b,516)|0)+512>>2];j[d+64>>2]=2048;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;b=p(t,8232)+w|0;n[d+96>>2]=n[b+8>>2];c=n[b+12>>2];n[d+92>>2]=F;j[d+80>>2]=a;j[d+84>>2]=0;n[d+100>>2]=c;j[d+88>>2]=l[E>>1]+1;gf(d- -64|0)}b=l[E>>1];if(!b){break a}a=p(t,8232)+w|0;c=q(b+1|0);g=q(b>>>0);n[a+8>>2]=q(q(n[a+8>>2]*c)-C)/g;n[a+12>>2]=q(q(n[a+12>>2]*c)-B)/g;break a;case 2:c=n[a+36>>2];g=n[a+32>>2];a=p(t,8232)+w|0;e=a;b=j[a+20>>2];if((b|0)<=1023){b=(a+16|0)+(b<<3)|0;f=n[a+8>>2];n[b+8>>2]=f;h=n[a+12>>2];n[b+12>>2]=h;f=q(f-n[b>>2]);m=q(f*f);f=q(h-n[b+4>>2]);n[a+16>>2]=n[a+16>>2]+q(y(+q(m+q(f*f))));j[e+20>>2]=j[e+20>>2]+1}h=n[a+12>>2];b=l[a+8216>>1];f=q(b>>>0);n[a+12>>2]=h+q(c/f);m=n[a+8>>2];n[a+8>>2]=m+q(g/f);if(b>>>0<2){break a}f=q(q(C-g)-m);h=q(q(B-c)-h);c=q(y(+q(q(f*f)+q(h*h))));m=q(C-n[a+8>>2]);v=q(B-n[a+12>>2]);g=q(y(+q(q(m*m)+q(v*v))));f=q(f/c);v=q(v/g);h=q(h/c);m=q(m/g);A=Xn(+q(q(f*v)-q(h*m)),+q(q(f*m)+q(h*v)));j[d+64>>2]=2050;b=j[u+4>>2];j[d+72>>2]=j[u>>2];j[d+76>>2]=b;n[d+88>>2]=n[a+8>>2];f=n[a+12>>2];b=c==q(0);n[d+84>>2]=b?q(0):q(g-c);n[d+80>>2]=b?q(0):q(A);n[d+92>>2]=f;i[d+96>>1]=l[a+8216>>1];gf(d- -64|0);break a;case 0:break b;default:break a}}a=p(t,8232)+w|0;j[a+16>>2]=0;j[a+20>>2]=1;n[a+28>>2]=B;n[a+24>>2]=C;b=l[a+8216>>1]+1|0;i[a+8216>>1]=b;b=b&65535;c=q(b-1|0);g=q(b>>>0);n[a+8>>2]=q(C+q(n[a+8>>2]*c))/g;n[a+12>>2]=q(B+q(n[a+12>>2]*c))/g}oe=d+576|0}function Jm(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=oe-192|0;oe=e;j[e+4>>2]=0;j[e>>2]=0;l=6;a:{if(!b|!d&(c|0)>-1){break a}q=k[b|0]&2?j[b+16>>2]!=0:q;l=mj(a,b,e+4|0);j[e+8>>2]=l;b:{c:{d:{e:{f:{g:{h:{i:{j:{if(l){break j}t=j[a>>2];k:{n=j[b>>2];if(!(n&8)){break k}o=j[b+20>>2];if(!o){break k}l:{if(h[j[o>>2]]&1){a=e;g=a;l=o;r=a+4|0;a=q;p=c;if(n&16){f=j[b+28>>2];b=j[b+24>>2]}else{b=0}a=is(l,r,a,p,b,f,e);j[g+8>>2]=a;if(a){break l}break d}j[e+8>>2]=32}a=j[e+4>>2];if(!a){break c}b=j[a+28>>2];m:{if(!a){break m}c=j[a+24>>2];if(!c){break m}qe[c|0](a)}if(q){break c}if(a){qe[j[b+8>>2]](b,a)}break c}l=11;j[e+8>>2]=11;o=j[a+16>>2];if((o|0)<1){o=0;f=j[e+4>>2];break e}r=((o<<2)+a|0)+20|0;f=a+20|0;while(1){o=j[f>>2];if(h[j[o>>2]]&1){l=0;g=0;if(k[b|0]&16){l=j[b+24>>2];g=j[b+28>>2]}l=is(o,e+4|0,q,c,l,g,e);j[e+8>>2]=l;if(!l){break d}g=l&255;if(!(we(j[j[j[f>>2]>>2]+8>>2],116443)|(g|0)!=142)){g=j[e+4>>2];if(Fe(g,0)){break j}l=hs(a,g,c,d);j[e+8>>2]=l;if(!l){break i}g=l&255}if((g|0)!=2){break j}g=o}f=f+4|0;if(r>>>0>f>>>0){continue}break}o=g}g=l&255;switch(g-81|0){case 0:case 4:break f;case 1:case 2:case 3:break g;default:break h}}l=0;if(!g){break a}a=j[g+28>>2];n:{if(!g){break n}b=j[g+24>>2];if(!b){break n}qe[b|0](g)}if(q){break a}if(g){qe[j[a+8>>2]](a,g)}break a}if((g|0)==2){break f}}f=j[e+4>>2];break e}o:{p:{f=j[e+4>>2];l=OO(a,f,c,d);if((l&255)==2){l=Hm(a,f,0,c,d)}g=l&255;q:{if(!(((g|0)!=2?(g|0)!=85:0)|!(k[b|0]&4))){m=j[a>>2];g=0;j[e+12>>2]=0;tO(a,f,j[b+12>>2],e+144|0,e+96|0,e+48|0);p=2;l=0;while(1){r:{r=l;l=l>>>0<=8?j[(l<<3)+116500>>2]-3>>>0<2:0;s:{if(l?g&255:0){break s}s=r<<2;if(j[s+(e+48|0)>>2]){break s}j[e+16>>2]=4;p=e;n=j[s+(e+144|0)>>2];if(!n){n=j[b+12>>2]}j[p+28>>2]=n;p=mj(a,e+16|0,e+12|0);g=(p&255)==81?l?1:g:g;if(p){break s}n=j[e+12>>2];p=Hm(a,n,j[s+(e+96|0)>>2],c,d);if(n){s=j[n+28>>2];t:{if(!n){break t}u=j[n+24>>2];if(!u){break t}qe[u|0](n)}if(n){qe[j[s+8>>2]](s,n)}}if(!p){p=0;break r}g=l?1:g}l=r+1|0;if((l|0)!=9){continue}}break}a=j[e+144>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+144>>2]=0}a=j[e+148>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+148>>2]=0}a=j[e+152>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+152>>2]=0}a=j[e+156>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+156>>2]=0}a=j[e+160>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+160>>2]=0}a=j[e+164>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+164>>2]=0}a=j[e+168>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+168>>2]=0}a=j[e+172>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}j[e+172>>2]=0}a=j[e+176>>2];if(a){if(a){qe[j[m+8>>2]](m,a)}}if(p){break o}j[e+8>>2]=0;break q}j[e+8>>2]=l;if(l){break p}}if(!f){break b}a=j[f+28>>2];u:{if(!f){break u}b=j[f+24>>2];if(!b){break u}qe[b|0](f)}if(q){break b}if(f){qe[j[a+8>>2]](a,f)}break b}if((l&255)!=2){break e}}j[e+8>>2]=2}if(!f){break c}a=j[f+28>>2];v:{if(!f){break v}b=j[f+24>>2];if(!b){break v}qe[b|0](f)}if(q){break c}if(f){qe[j[a+8>>2]](a,f)}break c}a=He(t,12,e+8|0);w:{if(!j[e+8>>2]){f=j[e>>2];j[a+8>>2]=f;zm(j[f+96>>2]+16|0,a);if((c|0)>=0){a=ls(f,0);j[e+8>>2]=a;if(a){break w}a=gs(f,e+144|0);j[e+8>>2]=a;if(a){break w}j[f+88>>2]=j[e+144>>2]}b=j[f+8>>2];x:{if(!(b&1)){break x}a=i[f+74>>1];if((a|0)<=-1){a=0-a|0;i[f+74>>1]=a}if(b&32){break x}i[f+78>>1]=a}y:{if(!(b&2)){break y}c=j[f+28>>2];if((c|0)<1){break y}o=j[f+32>>2];a=0;while(1){b=o+(a<<4)|0;g=i[b>>1];if((g|0)<=-1){i[b>>1]=0-g}g=j[b+8>>2];if((g|0)<=-1){j[b+8>>2]=0-(g<<16)>>16}g=j[b+12>>2];if((g|0)<=-1){j[b+12>>2]=0-g}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=j[f+128>>2];j[a+56>>2]=1;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=65536;j[a>>2]=65536;j[a+4>>2]=0;if(d){j[d>>2]=f;break b}b=j[f+96>>2];if(!b){break b}j[a+56>>2]=0;a=j[b+8>>2];d=b+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[a+8>>2]](a,c)}Vh(a,f,b);break b}if(!a){break c}f=j[e>>2];if(!f){break b}}a=j[f+96>>2];if(!a){break b}c=j[f+128>>2];b=j[c+56>>2];j[c+56>>2]=b-1;if((b|0)>1){break b}b=j[a+8>>2];d=a+16|0;c=zh(d,f);if(!c){break b}Th(d,c);if(c){qe[j[b+8>>2]](b,c)}Vh(b,f,a);break b}a=j[e>>2];if(!a){break b}Vh(t,a,o)}l=j[e+8>>2]}oe=e+192|0;return l}function HA(a,b){a=a|0;b=b|0;var c=0,d=0,e=q(0),f=q(0),g=0,h=0,i=q(0),l=0,m=q(0),o=0;g=oe-16|0;oe=g;a:{b:{c:{d:{e:{f:{g:{h:{d=j[b>>2];switch(d-1024|0){case 1:case 2:break f;case 0:break g;default:break h}}if(d-1792>>>0<3){break e}if((d|0)!=512){break a}d=Hk(j[b+8>>2]);if((d|0)!=j[a+188>>2]){break a}c=j[a+4>>2];if(c){qe[c|0](a,b)}i:{switch(k[b+12|0]-1|0){case 5:c=j[a+316>>2];if(c){al(a,0)}if(j[a+196>>2]){GA(a);break b}b=j[a+8>>2];j:{if(b){qe[b|0](a,g+12|0,g+8|0)|0;break j}Wg(j[a+188>>2],g+12|0,g+8|0)}if(j[a+316>>2]){j[a+232>>2]=0;j[a+236>>2]=0;j[a+240>>2]=j[g+12>>2];j[a+244>>2]=j[g+8>>2];break b}j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[g+12>>2];j[a+228>>2]=j[g+8>>2];d=a+216|0;if(j[a+400>>2]){if(!wf(d,a+360|0,16)){break c}}b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c;case 1:j[a+192>>2]=1;break a;case 0:if(Ni(d)&64){break a}j[a+192>>2]=0;break a;case 6:j[a+192>>2]=1;break a;case 7:case 8:break i;default:break a}}if(Ni(d)&8){break a}j[a+192>>2]=0;break a}if((Hk(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?296:288)+a>>2];i=n[(c?300:292)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));k:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));l:{if(q(r(e))>2]=h;c=b;e=q(q(l|0)/q(f*n[a+304>>2]));m:{if(q(r(e))>2]=d;c=b;e=q(q(h|0)/q(i*n[a+308>>2]));n:{if(q(r(e))>2]=d;d=b;c=j[b+28>>2];o:{p:{if((c|0)>=1){f=q(q(c|0)/q(f*n[a+304>>2]));q:{if(q(r(f))1?c:1;break p}if((c|0)>-1){break o}f=q(q(c|0)/q(f*n[a+304>>2]));r:{if(q(r(f))>2]=c}d=j[b+32>>2];if((d|0)>=1){f=q(q(d|0)/q(i*n[a+308>>2]));s:{if(q(r(f))>2]=(a|0)>1?a:1;break a}if((d|0)>-1){break a}f=q(q(d|0)/q(i*n[a+308>>2]));t:{if(q(r(f))>2]=(a|0)<-1?a:-1;break a}if((Hk(j[b+8>>2])|0)!=j[a+188>>2]){break a}c=j[a+316>>2];if(!j[(c?204:196)+a>>2]){break a}h=j[(c?236:220)+a>>2];f=n[(c?300:292)+a>>2];i=n[(c?296:288)+a>>2];d=b;l=j[b+20>>2];e=q(n[a+304>>2]*q(j[(c?232:216)+a>>2]));u:{if(q(r(e))>2]=l;c=b;o=j[b+24>>2];e=q(n[a+308>>2]*q(h|0));v:{if(q(r(e))>2]=h;c=b;i=q(q(l|0)/q(i*n[a+304>>2]));w:{if(q(r(i))>2]=d;f=q(q(h|0)/q(f*n[a+308>>2]));if(q(r(f))>2]=~~f;break a}j[b+24>>2]=-2147483648;break a}d=j[a+316>>2];c=j[(d?204:196)+a>>2];if(!c){break a}h=j[(d?232:216)+a>>2];l=j[(d?236:220)+a>>2];f=n[(d?300:292)+a>>2];i=n[(d?296:288)+a>>2];d=j[(d?208:200)+a>>2];j[g+12>>2]=1;j[g+8>>2]=1;$k(a,g+12|0,g+8|0);e=q(n[b+24>>2]*q(j[g+12>>2]-1|0));n[b+24>>2]=e;m=q(n[b+28>>2]*q(j[g+8>>2]-1|0));n[b+28>>2]=m;e=q(e-q(n[a+304>>2]*q(h|0)));n[b+24>>2]=e;m=q(m-q(n[a+308>>2]*q(l|0)));n[b+28>>2]=m;i=q(e/q(i*n[a+304>>2]));n[b+24>>2]=i;e=n[a+308>>2];n[b+24>>2]=(c|0)>=2?q(i/q(c-1|0)):q(.5);n[b+28>>2]=(d|0)>=2?q(q(m/q(f*e))/q(d-1|0)):q(.5);break a}h=j[a+344>>2];j[(h?h+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=1;j[b+4>>2]=0;Ge(b+8|0,d,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;break c}Ge(a+360|0,d,16);j[a+400>>2]=1}if(j[a+336>>2]){break b}b=j[a+340>>2];if(!b){break b}qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;b=a+420|0;while(1){d=b;b=j[b+8>>2];if(b){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!c){break a}al(a,c)}oe=g+16|0;return 0}function uJ(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,m=0,n=0,o=0;m=oe-16|0;oe=m;i=j[a+16>>2];e=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);d=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!d){e=0;break a}o=i+13|0;b:{while(1){e=d+g>>>1|0;l=o+p(e,11)|0;h=l-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}e=0;break a}c=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[l|0]|k[l+1|0]<<8|(k[l+2|0]<<16|k[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(d|e)){e=0;break a}d:{if(!e){e=j[a+28>>2];d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);j[m+12>>2]=0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=h+1|0;e:{if(c>>>0<=e>>>0){e=j[a+32>>2];break e}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}if(h){f=d+4|0;d=0;while(1){j[(d<<2)+e>>2]=k[f+2|0]|(k[f+1|0]<<8|k[f|0]<<16);f=f+5|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}j[(h<<2)+e>>2]=0;break a}if(!d){g=e+i|0;c=k[g|0]|k[g+1|0]<<8|(k[g+2|0]<<16|k[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=1;f:{if(!c){break f}f=g+7|0;d=0;e=c;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;g:{if(d>>>0<=e>>>0){e=j[a+32>>2];break g}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(c){while(1){f=k[g+6|0]|(k[g+5|0]<<8|k[g+4|0]<<16);a=g+4|0;g=k[g+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}g=a;c=c-1|0;if(c){continue}break}}j[d>>2]=0;break a}d=d+i|0;c=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;h:{i:{j:{k:{l:{c=e+i|0;e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(h){f=c+7|0;g=0;e=h;while(1){g=(k[f|0]+g|0)+1|0;f=f+4|0;e=e-1|0;if(e){continue}break}if(n){break j}if(h){break l}d=1;break k}if(n){break i}d=1;break k}f=c+7|0;d=0;g=h;while(1){d=(k[f|0]+d|0)+1|0;f=f+4|0;g=g-1|0;if(g){continue}break}d=d+1|0}e=j[a+28>>2];j[m+12>>2]=0;m:{if(d>>>0<=e>>>0){e=j[a+32>>2];break m}j[a+36>>2]=b;e=xe(b,4,e,d,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=d}d=e;if(h){while(1){f=k[c+6|0]|(k[c+5|0]<<8|k[c+4|0]<<16);a=c+4|0;g=k[c+7|0]+1|0;while(1){j[d>>2]=f;d=d+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}c=a;h=h-1|0;if(h){continue}break}}j[d>>2]=0;break a}if(g){break h}}e=j[a+28>>2];j[m+12>>2]=0;c=n+1|0;n:{if(c>>>0<=e>>>0){e=j[a+32>>2];break n}j[a+36>>2]=b;e=xe(b,4,e,c,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=c}f=0;while(1){j[(f<<2)+e>>2]=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+5|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}j[(n<<2)+e>>2]=0;break a}e=j[a+28>>2];j[m+12>>2]=0;g=(g+n|0)+1|0;o:{if(g>>>0<=e>>>0){e=j[a+32>>2];break o}j[a+36>>2]=b;e=xe(b,4,e,g,j[a+32>>2],m+12|0);j[a+32>>2]=e;if(j[m+12>>2]){break d}j[a+28>>2]=g}o=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=c+4|0;g=k[a+1|0]<<8|k[a|0]<<16|k[a+2|0];b=d+5|0;i=a+4|0;c=k[a+3|0];f=0;a=1;l=1;while(1){p:{d=0;if(c+g>>>0>>0){while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(h>>>0>>0){break p}g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];i=i+4|0;continue}if(g>>>0>o>>>0){j[(f<<2)+e>>2]=o;f=f+1|0}l=l+1|0;if(n>>>0>>0){break p}o=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);b=b+5|0;continue}break}q:{if(l>>>0<=n>>>0){j[(f<<2)+e>>2]=o;f=f+1|0;if(l>>>0>=n>>>0){break q}while(1){j[(f<<2)+e>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);f=f+1|0;b=b+5|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}break q}if(a>>>0>h>>>0){break q}d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=h>>>0){break q}while(1){g=k[i+2|0]|(k[i+1|0]<<8|k[i|0]<<16);c=k[i+3|0];d=0;while(1){j[(f<<2)+e>>2]=d+g;f=f+1|0;b=(c|0)!=(d|0);d=d+1|0;if(b){continue}break}i=i+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}j[(f<<2)+e>>2]=0;break a}e=0}oe=m+16|0;return e|0}function Mt(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=q(0),l=0,m=0,o=q(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=oe-80|0;oe=g;a:{if(!k[242924]){c=j[58890];a=c+15|0;if((a|0)>j[58895]){a=(a|0)>j[58896]}else{a=0}j[58891]=a;b=j[58889];a=b+17|0;if((a|0)j[58902]?(a|0)>j[58901]:0)){j[58894]=0;break a}j[58894]=1;break a}j[58893]=1;j[58894]=1;j[58891]=1;j[58892]=1}a=j[58887];if((a|0)>2];b:{if((a|0)!=1025){if((a|0)!=768){if((a|0)!=256){break b}j[58886]=1;break b}c:{switch(j[g+44>>2]-101|0){case 12:j[58886]=1;break b;case 0:if(k[242924]){h[242924]=0;break b}h[242924]=1;break b;case 7:break c;default:break b}}if(!k[242924]){break b}E=235644,F=we(j[58911],1164)?1164:1435,j[E>>2]=F;ol();break b}if(!k[242924]){break b}i=n[57791];o=q(q(j[g+44>>2])/i);d=j[58911];d:{if(!we(d,1164)){i=q(q(j[g+48>>2])/i);break d}o=q(o+q(j[58889]-j[58887]|0));i=q(q(q(j[g+48>>2])/i)+q(j[58890]-j[58888]|0))}i=q(i*q(.0625));e:{if(q(r(i))=j[58907]))){b=j[j[j[58909]+(a<<2)>>2]+(c<<2)>>2];if((b|0)>-1){break g}}b=-1}h:{switch(k[g+40|0]-1|0){case 0:if(we(d,1435)){break b}d=j[58908];b=j[58906];e=j[d+(a<<2)>>2];i:{if((b|0)>(a|0)){break i}j[d+(b<<2)>>2]=0;a=b;e=0}b=e;e=d;d=a<<2;a=e+d|0;if(!((c|0)<1|b)){Ee(j[d+j[58909]>>2],255,c<<2)}f=j[d+j[58909]>>2];j[f+(c<<2)>>2]=j[65533];b=j[a>>2];d=c+1|0;j:{if((b|0)>(d|0)){d=b;break j}if((b|0)<=(c|0)){while(1){j[f+(b<<2)>>2]=j[65533];e=j[a>>2];b=e+1|0;j[a>>2]=b;if((c|0)>(e|0)){continue}break}}j[f+(d<<2)>>2]=10;j[a>>2]=d}if(j[58907]<(d|0)){j[58907]=d}if(!jv()){break b}j[g>>2]=j[65532];$g(1462,g);break b;case 2:break h;default:break b}}j[65533]=b;j[g+16>>2]=b;$g(1484,g+16|0)}if(Io(g+24|0)){continue}break}}d=0;b=0;k:{if(we(j[58911],1435)){break k}a=j[58889];d=(a+8|0)/16|0;x=d-1|0;c=j[58890];f=(c+28|0)/16|0;y=f+1|0;z=d+1|0;A=f-1|0;v=(c|0)<-43?0:c+43>>>0<31?0:f;f=j[58909];e=j[(v<<2)+f>>2];t=(a|0)<-23?0:a+23>>>0<31?0:d;l=j[e+(t<<2)>>2];if((l|0)<0){d=0;l=0;break k}b=(c|0)>=4?j[j[f+(A<<2)>>2]+(t<<2)>>2]:b;m=(a|0)>=-23?j[e+(z<<2)>>2]:m;d=0;d=(c|0)>=-43?j[j[f+(y<<2)>>2]+(t<<2)>>2]:d;if((a|0)<24){break k}s=j[e+(x<<2)>>2]}u=p(l,24)+235536|0;e=u;f=j[e+156>>2];w=f;a=j[e+148>>2];c=a;l:{if((b|0)<0){break l}w=f;c=a;if(j[60719]<(b|0)){break l}c=p(b,24)+235536|0;w=j[c+156>>2];c=j[c+148>>2]}B=c;e=j[e+160>>2];l=e;c=j[u+152>>2];b=c;m:{if((m|0)<0){break m}l=e;b=c;if(j[60719]<(m|0)){break m}b=p(m,24)+235536|0;l=j[b+160>>2];b=j[b+152>>2]}u=b;m=f;b=a;n:{if((d|0)<0){break n}b=a;if(j[60719]<(d|0)){break n}b=p(d,24)+235536|0;m=j[b+156>>2];b=j[b+148>>2]}C=b;d=e;b=c;o:{if((s|0)<0){break o}b=c;if(j[60719]<(s|0)){break o}b=p(s,24)+235536|0;d=j[b+160>>2];b=j[b+152>>2]}_n();if(!we(j[58911],1435)){ow(j[58904],j[58887],j[58888],j[58903])}s=sg();if((s|0)<=19){bg(20-s|0);sg()}if(k[265572]){j[58895]=0;j[58896]=0;if((a|0)>=1){j[58895]=(v<<4)+a;D=1}if((w|0)>=1){j[((D<<2)+235536|0)+44>>2]=(A<<4)+B}if(j[58891]){j[58888]=j[58888]-1;j[58890]=j[58890]-3}j[58903]=0}if(k[265569]){a=j[58907]<<4;j[58898]=a;j[58897]=a;if((c|0)<1){a=0}else{j[58897]=((t<<4)-c|0)+16;a=1}if((l|0)>=1){j[((a<<2)+235536|0)+52>>2]=((z<<4)+16|0)-u}if(j[58892]){j[58887]=j[58887]+1;j[58889]=j[58889]+3}j[58903]=1}if(k[265571]){a=j[58906]<<4;j[58900]=a;j[58899]=a;if((f|0)<1){a=0}else{j[58899]=((v<<4)-f|0)+16;a=1}if((C|0)>=1){j[((a<<2)+235536|0)+60>>2]=((y<<4)+16|0)-m}if(j[58893]){j[58888]=j[58888]+1;j[58890]=j[58890]+3}j[58903]=2}if(k[265570]){j[58901]=0;j[58902]=0;if((e|0)<1){a=0}else{j[58901]=e+(t<<4);a=1}if((b|0)>=1){j[((a<<2)+235536|0)+68>>2]=(x<<4)+d}if(j[58894]){j[58887]=j[58887]-1;j[58889]=j[58889]-3}j[58903]=3}no(j[58882]);CA(j[58882]);oe=g+80|0}function CF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;p=oe-32|0;oe=p;n=j[b>>2];a:{if(n>>>0>1e5){g=1;break a}f=j[b+4>>2];if((f|0)<0){g=1;break a}if((f|0)>(1e5-n|0)){g=1;break a}l=j[b+8>>2];if(l>>>0>1e5){g=1;break a}e=j[b+12>>2];if((e|0)<0){g=1;break a}if((e|0)>(1e5-l|0)){g=1;break a}o=j[b+16>>2];if(o>>>0>1e5){g=1;break a}m=j[b+20>>2];if((m|0)<0){g=1;break a}if((m|0)>(1e5-o|0)){g=1;break a}i=j[b+24>>2];if(i>>>0>1e5){g=1;break a}d=j[b+28>>2];if((d|0)<0){g=1;break a}if((d|0)>(1e5-i|0)){g=1;break a}q=f-m|0;l=l-o|0;f=0;b:{if(!l){break b}f=0;if(!q){break b}g=2;c=v(+(l|0)*+(q|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}f=~~c;if(r(c)<2147483648){break b}f=-2147483648}s=n-o|0;t=e-m|0;c:{if(!s|!t){break c}g=2;c=v(+(s|0)*+(t|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break c}h=-2147483648}u=d-m|0;e=0;d:{if(!l){break d}e=0;if(!u){break d}g=2;c=v(+(l|0)*+(u|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break d}e=-2147483648}m=i-o|0;e:{if(!t|!m){break e}g=2;c=v(+(t|0)*+(m|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){k=~~c;break e}k=-2147483648}k=e-k|0;if(!k){g=1;break a}l=f-h|0;h=!d|!l;i=0;f:{if(h){break f}g=1;c=v(+(d|0)*+(l|0)/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}i=~~c;if(r(c)<2147483648){break f}i=-2147483648}if((i|0)<=(d|0)){g=1;break a}f=0;e=0;g:{if(!q){break g}e=0;if(!m){break g}g=2;c=v(+(q|0)*+(m|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break g}e=-2147483648}h:{if(!s|!u){break h}g=2;c=v(+(s|0)*+(u|0)/7+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break h}f=-2147483648}f=e-f|0;if(!f){g=1;break a}k=0;i:{if(h){break i}g=1;c=v(+(d|0)*+(l|0)/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}k=~~c;if(r(c)<2147483648){break i}k=-2147483648}if((k|0)<=(d|0)){g=1;break a}w=+(i|0);x=v(1e10/w+.5);j:{if(r(x)<2147483648){f=~~x;break j}f=-2147483648}y=v(1e10/+(d|0)+.5);k:{if(r(y)<2147483648){e=~~y;break k}e=-2147483648}z=+(k|0);c=v(1e10/z+.5);l:{if(r(c)<2147483648){d=~~c;break l}d=-2147483648}if(!i){g=1;break a}g=1;i=((y<=2147483647?y>=-2147483648?e:0:0)-(x<=2147483647?x>=-2147483648?f:0:0)|0)-(c<=2147483647?c>=-2147483648?d:0:0)|0;if((i|0)<1){break a}h=0;e=a;f=0;m:{if(!n){break m}c=v(+(n|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}f=~~c;if(r(c)<2147483648){break m}f=-2147483648}j[e>>2]=f;d=j[b+4>>2];n:{if(!d){break n}c=v(+(d|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break n}h=-2147483648}j[a+4>>2]=h;f=a;e=1e5-(j[b>>2]+j[b+4>>2]|0)|0;d=0;o:{if(!e){break o}c=v(+(e|0)*1e5/w+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break o}d=-2147483648}j[f+8>>2]=d;if(!k){break a}h=0;f=a;e=j[b+8>>2];d=0;p:{if(!e){break p}c=v(+(e|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break p}d=-2147483648}j[f+12>>2]=d;d=j[b+12>>2];q:{if(!d){break q}c=v(+(d|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break q}h=-2147483648}j[a+16>>2]=h;h=0;f=a;e=1e5-(j[b+8>>2]+j[b+12>>2]|0)|0;d=0;r:{if(!e){break r}c=v(+(e|0)*1e5/z+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break r}d=-2147483648}j[f+20>>2]=d;d=j[b+16>>2];s:{if(!d){break s}c=v(+(i|0)*+(d|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break s}h=-2147483648}j[a+24>>2]=h;h=0;f=a;e=j[b+20>>2];d=0;t:{if(!e){break t}c=v(+(i|0)*+(e|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break t}d=-2147483648}j[f+28>>2]=d;d=1e5-(j[b+16>>2]+j[b+20>>2]|0)|0;u:{if(!d){break u}c=v(+(i|0)*+(d|0)/1e5+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){h=~~c;break u}h=-2147483648}j[a+32>>2]=h;if(BF(p,a)){break a}g=!ik(b,p,5)}oe=p+32|0;return g}function $O(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-6992|0;oe=c;f=j[j[a+4>>2]>>2];Ee(c- -64|4,0,2996);j[c+16>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+52>>2]=0;j[c+56>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+64>>2]=f;j[c+8>>2]=c- -64;b=j[b+4>>2];f=j[b+88>>2];a:{if(!f){f=36;break a}j[c+6936>>2]=b;g=j[f+16>>2];j[c+6948>>2]=0;j[c+6940>>2]=g;f=j[f+20>>2];j[c+6960>>2]=0;j[c+6956>>2]=e>>>16&15;j[c+6952>>2]=0;j[c+6944>>2]=f;j[c>>2]=b;g=j[b+116>>2];j[c+4>>2]=g;if(!g){f=vk(b,c|4,a);if(f){break a}g=j[c+4>>2];j[b+116>>2]=g;j[b+120>>2]=561}j[c+6976>>2]=0;f=6;if(m[g+4>>2]<=d>>>0){break a}f=(k[j[g+8>>2]+d|0]&127)<<2;o=f+g|0;b=j[o+16>>2];b:{if(b){break b}a=j[j[g>>2]+100>>2];i=j[f+114864>>2];n=j[(j[i+4>>2]<<2)+114736>>2];b=He(a,j[n+4>>2],c+6976|0);f=j[c+6976>>2];if(f){break a}j[b+36>>2]=g;j[b>>2]=i;c:{f=j[n+8>>2];if(!f){break c}f=qe[f|0](b,j[g>>2])|0;j[c+6976>>2]=f;if(!f){break c}f=j[n+16>>2];if(f){qe[f|0](b)}if(b){qe[j[a+8>>2]](a,b)}f=j[c+6976>>2];if(f){break a}b=0;break b}j[o+16>>2]=b}a=j[j[b>>2]+4>>2];j[c+12>>2]=b;a=j[(a<<2)+114736>>2];f=j[a+12>>2];d:{if(f){qe[f|0](b,c+6936|0);break d}f=j[c+6940>>2];j[b+4>>2]=j[c+6936>>2];j[b+8>>2]=f;j[b+28>>2]=j[c+6960>>2];f=c+6952|0;g=j[f+4>>2];j[b+20>>2]=j[f>>2];j[b+24>>2]=g;f=c+6944|0;g=j[f+4>>2];j[b+12>>2]=j[f>>2];j[b+16>>2]=g}a=j[a+20>>2];if(a){f=qe[a|0](j[c+8>>2],b)|0;if(f){break a}}f=j[c>>2];b=j[f+84>>2];g=j[b+156>>2];o=j[g>>2];a=j[c+8>>2];n=j[c+12>>2];f=Wh(f,d,e&-10246|10241);if(f){break a}e=k[g+8|0];h[c+16|0]=e;e:{if(!e){break e}e=j[g+24>>2];i=j[g+20>>2];j[c+28>>2]=i;j[c+32>>2]=e;f=j[g+16>>2];q=j[g+12>>2];j[c+20>>2]=q;j[c+24>>2]=f;s=j[g+28>>2];g=j[g+32>>2];r=c+6984|0;j[r>>2]=i;j[r+4>>2]=e;j[c+6976>>2]=q;j[c+6980>>2]=f;j[c+36>>2]=s;j[c+40>>2]=g;if(Ws(c+6976|0)){break e}Tg(c+36|0,c+6976|0)}f=7;f:{if(j[b+72>>2]!=1869968492){break f}if(k[c+16|0]){Tf(b+108|0,j[c+36>>2],j[c+40>>2])}j[c+44>>2]=j[a+8>>2];j[c+48>>2]=j[a+16>>2];u=c,v=ye(j[b+40>>2],j[a+4>>2])+j[a+8>>2]|0,j[u+52>>2]=v;j[c+56>>2]=j[a+16>>2];f=0;if(!l[b+110>>1]){break f}e=j[j[(j[j[n>>2]+4>>2]<<2)+114736>>2]+24>>2];if(e){qe[e|0](a,o+20|0,n)|0}if(j[c+6956>>2]!=1){e=j[a+56>>2];if(!(k[a+2980|0]&4|(e|0)<2)){a=j[a- -64>>2];e=(a+p(e,48)|0)-48|0;g=j[e+8>>2];e=j[e+4>>2];s=j[a+8>>2];i=j[a+4>>2];a=s-i|0;r=(i|0)<24?a-8|0:a;a=r+32&-64;j[c+44>>2]=a;q=j[c+52>>2]-e|0;e=g+q|0;t=(q|0)<24?e+8|0:e;e=t+32&-64;j[c+52>>2]=e;if(!((i|0)<1|(a|0)<(s|0))){a=a+ -64|0;j[c+44>>2]=a}if(!((q|0)<1|(e|0)>(g|0))){e=e- -64|0;j[c+52>>2]=e}j[b+148>>2]=e-t;j[b+144>>2]=a-r;break f}a=j[c+44>>2];e=a+32&-64;j[c+44>>2]=e;g=j[c+52>>2];i=g+32&-64;j[c+52>>2]=i;j[b+148>>2]=i-g;j[b+144>>2]=e-a;break f}e=j[c+44>>2];g=(e+j[a+2992>>2]|0)+32&-64;j[c+44>>2]=g;i=j[a+2996>>2];a=j[c+52>>2];i=(i+a|0)+32&-64;j[c+52>>2]=i;j[b+144>>2]=g-e;j[b+148>>2]=i-a}a=j[b+44>>2]-j[b+32>>2]|0;j[c+6968>>2]=a;e=j[b+48>>2]-j[b+36>>2]|0;j[c+6972>>2]=e;u=c,v=ye(a,j[n+8>>2]),j[u+6968>>2]=v;u=c,v=ye(e,j[n+12>>2]),j[u+6972>>2]=v;if(k[c+16|0]){a=c+20|0;Ah(o+20|0,a);Tg(c+6968|0,a)}a=j[c+44>>2];if(a){Tf(o+20|0,0-a|0,0)}Ug(o+20|0,c+6976|0);a=j[c+6976>>2]&-64;j[c+6976>>2]=a;e=j[c+6988>>2]+63&-64;j[c+6988>>2]=e;g=j[c+6984>>2]+63&-64;j[c+6984>>2]=g;o=j[c+6980>>2]&-64;j[c+6980>>2]=o;j[b+36>>2]=e;j[b+32>>2]=a;j[b+28>>2]=e-o;j[b+24>>2]=g-a;j[b+44>>2]=a+j[c+6968>>2]&-64;j[b+48>>2]=e+j[c+6972>>2]&-64;g:{h:{if(j[c+6956>>2]==1){break h}if(!(k[j[b+4>>2]+8|0]&4)){a=j[c+4>>2];if(!k[n+32|0]|(m[a+4>>2]<=d>>>0|h[j[a+8>>2]+d|0]>-1)){break h}}a=ye(j[b+40>>2],j[n+8>>2]);j[b+144>>2]=0;j[b+148>>2]=0;j[b+40>>2]=a;break g}if(!j[b+40>>2]){break g}j[b+40>>2]=j[c+52>>2]-j[c+44>>2]}a=ye(j[b+52>>2],j[n+12>>2]);j[b+72>>2]=1869968492;j[b+52>>2]=a+32&-64;j[b+40>>2]=j[b+40>>2]+32&-64}j[c+8>>2]=0;j[c>>2]=0;j[c+4>>2]=0;xk(c- -64|0);oe=c+6992|0;return f|0}function Cz(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;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:c=j[b+12>>2];if(!c){break a}h=g^255;i=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(i,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;n=(b+3|0)/4|0;o=i-b<<2;c:while(1){l=n;d:{e:{switch(m-1|0){default:i=0;break d;case 0:i=3;break d;case 1:i=2;break d;case 2:break e}}i=1}while(1){f:{switch(i|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>24|0)>>>0)/255|0)+g<<24|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16|((p(h,b>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;i=3;continue;default:break f}}b=c-1|0;i=j[a>>2];j[a>>2]=((p(h,i>>>24|0)>>>0)/255|0)+g<<24|((p(h,i&255)>>>0)/255|0)+f|((p(h,i>>>16&255)>>>0)/255|0)+d<<16|((p(h,i>>>8&255)>>>0)/255|0)+e<<8;a=a+4|0;g:{if((l|0)>1){l=l-1|0;break g}a=a+o|0;c=b;if(b){continue c}break a}i=0;continue}};default:i=j[b+12>>2];if(!i){break a}l=e<<8|d<<16|f|g<<24;c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];g=b&3;d=(b+3|0)/4|0;f=c-b<<2;h:while(1){e=d;i:{j:{switch(g-1|0){default:c=0;break i;case 0:c=3;break i;case 1:c=2;break i;case 2:break j}}c=1}while(1){k:{switch(c|0){case 0:j[a>>2]=l;a=a+4|0;c=1;continue;case 1:j[a>>2]=l;a=a+4|0;c=2;continue;case 2:j[a>>2]=l;a=a+4|0;c=3;continue;default:break k}}b=i-1|0;j[a>>2]=l;a=a+4|0;l:{if((e|0)>1){e=e-1|0;break l}a=a+f|0;i=b;if(b){continue h}break a}c=0;continue}};case 3:l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;g=(b+3|0)/4|0;n=c-b<<2;m:while(1){i=g;n:{o:{switch(o-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=1;continue;case 1:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=2;continue;case 2:b=j[a>>2];j[a>>2]=b&-16777216|(p(b&255,f)>>>0)/255|(p(b>>>16&255,d)>>>0)/255<<16|(p(b>>>8&255,e)>>>0)/255<<8;a=a+4|0;c=3;continue;default:break p}}b=l-1|0;c=j[a>>2];j[a>>2]=c&-16777216|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16|(p(c>>>8&255,e)>>>0)/255<<8;a=a+4|0;q:{if((i|0)>1){i=i-1|0;break q}a=a+n|0;l=b;if(b){continue m}break a}c=0;continue}};case 1:break b}}g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];o=b&3;l=(b+3|0)/4|0;n=c-b<<2;r:while(1){i=l;s:{t:{switch(o-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=1;continue;case 1:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=2;continue;case 2:c=j[a>>2];b=(c&255)+f|0;h=(b>>>0<255?b:255)|c&-16777216;b=(c>>>16&255)+d|0;h=h|(b>>>0<255?b:255)<<16;b=(c>>>8&255)+e|0;j[a>>2]=h|(b>>>0<255?b:255)<<8;a=a+4|0;c=3;continue;default:break u}}b=g-1|0;m=j[a>>2];c=(m&255)+f|0;h=(c>>>0<255?c:255)|m&-16777216;c=(m>>>16&255)+d|0;h=h|(c>>>0<255?c:255)<<16;c=(m>>>8&255)+e|0;j[a>>2]=h|(c>>>0<255?c:255)<<8;a=a+4|0;v:{if((i|0)>1){i=i-1|0;break v}a=a+n|0;g=b;if(b){continue r}break a}c=0;continue}}}return 0}function Mm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=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;u=oe-80|0;oe=u;g=Ji(a,b);a:{if(g){break a}d=j[a+2980>>2];if(!(d&1?!(!(d&8)&j[c+24>>2]==1):0)){g=us(a,0);if(g){break a}ts(a,c,0);d=j[a+2980>>2]}if(!(d&2)){g=us(a,1);if(g){break a}ts(a,c,1)}q=1;while(1){b:{d=j[a+2980>>2];c:{d:{if(q){if(d&1){break c}if(d&8|j[c+24>>2]!=1){break d}Tm(u+16|0,a,u+12|0,u+8|0);o=j[a+24>>2];if((o|0)<1){break c}d=j[a+28>>2];o=d+p(o,40)|0;e=j[u+8>>2];m=j[u+12>>2];while(1){B=d,C=ye(i[d+12>>1],m)+e|0,j[B+16>>2]=C;d=d+40|0;if(o>>>0>d>>>0){continue}break}break c}if(d&2){break b}}x=p(r,1468)+a|0;A=x- -64|0;o=j[A>>2];t=j[x+56>>2];v=o+p(t,48)|0;m=0;d=o;y=(t|0)<1;if(!y){while(1){g=k[d+12|0];e:{if(g&4){break e}e=j[d+24>>2];f=j[d+20>>2];f:{if(f){n=d;break f}if(!e){break e}f=j[e+20>>2];if(!f){break e}g=k[e+12|0];n=e;e=d}f=j[f+8>>2];h[n+12|0]=g|4;j[n+8>>2]=f;if(!(j[e+20>>2]|!e)){B=e,C=wk(a,r,j[e+4>>2]-j[n+4>>2]|0)+f|0,j[B+8>>2]=C;h[e+12|0]=k[e+12|0]|4}m=m?m:d}n=0;d=d+48|0;if(v>>>0>d>>>0){continue}break}d=o;e=m;s=0;f=0;m=0;while(1){z=k[d+12|0];g:{if(z&4){break g}g=j[d+24>>2];if(!g){m=m+1|0;break g}h:{if(!(f&255)){break h}w=s- -64|0;if((w|0)<=j[g+8>>2]?(w|0)<=j[d+8>>2]:0){break h}m=m+1|0;break g}if(j[g+20>>2]){w=wk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;j[d+8>>2]=g+w;break g}if(d>>>0>g>>>0){f=wk(a,r,j[d+4>>2]-j[g+4>>2]|0);g=j[g+8>>2];h[d+12|0]=z|4;s=f+g|0;j[d+8>>2]=s;f=1;break g}i:{if(!((e|0)!=0|r)){n=ss(a,d,g,0,0);break i}ss(a,d,g,n,r)}h[d+12|0]=k[d+12|0]|4;h[g+12|0]=k[g+12|0]|4;s=j[g+8>>2];f=1;e=d}d=d+48|0;if(v>>>0>d>>>0){continue}break}}j:{if(!q){break j}g=4;e=2;d=o;k:{switch(t-6|0){case 6:d=o+48|0;g=9;e=5;break;case 0:break k;default:break j}}if(j[d+24>>2]!=(d+48|0)){break j}n=o+p(e,48)|0;if(j[n+24>>2]!=(n+48|0)){break j}e=j[n+4>>2];g=p(g,48);f=g+o|0;s=e-j[f+4>>2]+(e-j[d+4>>2])|0;e=s>>31;if((e^e+s)>7){break j}e=j[f+24>>2];if((e|0)!=(g+(o+48|0)|0)){break j}g=j[f+8>>2];d=(j[n+8>>2]<<1)-j[d+8>>2]|0;j[f+8>>2]=d;d=g-d|0;if(e){j[e+8>>2]=j[e+8>>2]-d}if((t|0)==12){j[o+392>>2]=j[o+392>>2]-d;j[o+536>>2]=j[o+536>>2]-d}h[f+12|0]=k[f+12|0]|4;if(!e){break j}h[e+12|0]=k[e+12|0]|4}l:{if(!m){break l}d=o;if(y){break l}while(1){f=k[d+12|0];m:{if(f&4){break m}e=j[d+28>>2];if(!e){break m}n=j[e+4>>2];e=j[e+8>>2];h[d+12|0]=f|4;j[d+8>>2]=(e+j[d+4>>2]|0)-n;m=m-1|0}d=d+48|0;if(v>>>0>d>>>0){continue}break}if(y){break l}f=o;if(!m){break l}while(1){d=f;n:{if(k[d+12|0]&4){break n}while(1){e=d;d=d-48|0;g=o>>>0>d>>>0;if(k[e-36|0]&4?0:!g){continue}break}m=f;o:{p:{while(1){n=m;m=n+48|0;if(v>>>0<=m>>>0){break p}if(!(k[n+60|0]&4)){continue}break}if(d>>>0>=o>>>0){break o}j[f+8>>2]=(j[f+4>>2]+j[n+56>>2]|0)-j[n+52>>2];break n}if(g){break n}j[f+8>>2]=(j[f+4>>2]+j[e-40>>2]|0)-j[e-44>>2];break n}m=l[m>>1];d=l[d>>1];if((m|0)==(d|0)){j[f+8>>2]=j[e-40>>2];break n}d=d<<16>>16;e=j[e-40>>2];B=f,C=Ne(i[f>>1]-d|0,j[n+56>>2]-e|0,(m<<16>>16)-d|0)+e|0,j[B+8>>2]=C}f=f+48|0;if(v>>>0>f>>>0){continue}break}}d=j[x+56>>2];o=j[A>>2];e=0;e=q|r?(j[a+2984>>2]&(q?1:2))!=0:e;if((d|0)>=1){v=p(d,48)+o|0;g=q?4:8;while(1){d=j[o+40>>2];f=d;q:{if(e){while(1){m=f+40|0;t=j[f+44>>2];while(1){n=j[m>>2];j[n+(q?16:20)>>2]=j[o+8>>2];i[n>>1]=g|l[n>>1];m=n+32|0;if((n|0)!=(t|0)){continue}break}f=j[f+16>>2];if((d|0)!=(f|0)){continue}break q}}t=j[o+8>>2]-j[o+4>>2]|0;n=d;while(1){m=n+40|0;s=j[n+44>>2];while(1){f=j[m>>2];m=f+(q?16:20)|0;j[m>>2]=t+j[m>>2];i[f>>1]=g|l[f>>1];m=f+32|0;if((f|0)!=(s|0)){continue}break}n=j[n+16>>2];if((d|0)!=(n|0)){continue}break}}o=o+48|0;if(v>>>0>o>>>0){continue}break}}Sm(a,r);Rm(a,r)}r=1;d=q;q=0;if(d){continue}}break}c=j[a+24>>2];if((c|0)<1){g=0;break a}d=j[a+28>>2];c=d+p(c,40)|0;m=j[b+4>>2];a=j[b+8>>2];while(1){j[m>>2]=j[d+16>>2];j[m+4>>2]=j[d+20>>2];g=0;b=l[d>>1];h[a|0]=b&1?0:b&2?2:1;a=a+1|0;m=m+8|0;d=d+40|0;if(c>>>0>d>>>0){continue}break}}oe=u+80|0;return g|0}function Dr(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;j[a+12>>2]=b;j[a+8>>2]=c;j[a+4>>2]=b;r=a+16|0;j[a+404>>2]=r;u=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}d=k[b|0];c:{d:{if(!(d>>>0<27|(d|0)==31)){e=j[a+404>>2];m=4;if((e-r|0)>380){break c}j[a+404>>2]=e+4;j[e>>2]=b;e:{switch(d-28|0){case 2:while(1){b=b+1|0;m=7;if(c>>>0<=b>>>0){break c}d=k[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=d>>>0>246?b+1|0:b;break d}g=j[a+404>>2];j[g>>2]=b;if((d|0)==12){b=b+1|0;m=8;if(c>>>0<=b>>>0){break c}d=k[b|0]|256}q=120992;e=4;f=j[a+408>>2]|d;f:{if((f|0)!=4096){while(1){e=j[q+28>>2];if(!e){break f}d=q;q=d+28|0;if((f|0)!=j[d+32>>2]){continue}break}}o=j[q+8>>2];d=j[a+412>>2];g=g-r|0;if(!g){m=12;if((e|0)!=6){break c}}o=d+o|0;g:{h:{i:{switch(e-1|0){case 0:case 3:case 4:g=j[a+20>>2];e=j[a+16>>2];f=k[e|0];if((f|0)==30){d=Jf(e,g,0,0)>>16;break g}j:{switch(f-28|0){case 0:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g;case 1:d=0;if(g>>>0>>0){break g}d=k[e+1|0]|k[e+2|0]<<8|(k[e+3|0]<<16|k[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break g;default:break j}}d=f-139|0;if(f>>>0<=246){break g}l=e+2|0;if(f>>>0<=250){d=0;if(g>>>0>>0){break g}d=(k[e+1|0]|f<<8)-63124|0;break g}d=0;if(g>>>0>>0){break g}d=64148-(k[e+1|0]|f<<8)|0;break g;case 1:f=j[a+20>>2];d=j[a+16>>2];e=k[d|0];if((e|0)==30){d=Jf(d,f,0,0);break g}k:{l:{m:{switch(e-28|0){case 0:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break k;case 1:g=0;if(f>>>0>>0){break h}d=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break l;default:break m}}if(e>>>0<=246){g=e-139|0;break h}l=d+2|0;if(e>>>0<=250){g=0;if(f>>>0>>0){break h}e=(k[d+1|0]|e<<8)-63124|0;break k}g=0;if(f>>>0>>0){break h}e=64148-(k[d+1|0]|e<<8)|0}d=2147483647;if((e|0)>32767){break g}}d=(e|0)<-32767?-2147483647:e<<16;break g;case 2:l=j[a+20>>2];f=j[a+16>>2];g=k[f|0];if((g|0)==30){d=Jf(f,l,3,0);break g}n:{o:{switch(g-28|0){case 0:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8;e=(d<<24|d<<8&16711680)>>16;break n;case 1:d=0;if(l>>>0>>0){break g}d=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n;default:break o}}e=g-139|0;if(g>>>0<=246){break n}e=f+2|0;if(g>>>0<=250){d=0;if(e>>>0>l>>>0){break g}e=(k[f+1|0]|g<<8)-63124|0;break n}d=0;if(e>>>0>l>>>0){break g}e=64148-(k[f+1|0]|g<<8)|0}f=p(e,1e3);d=2147483647;if((f|0)>32767){break g}d=(f|0)<-32767?-2147483647:p(e,65536e3);break g;case 5:m=d+j[q+24>>2]|0;d=j[q+20>>2];e=g>>2;s=d>>>0>>0?d:e;h[m|0]=s;if(!s){break f}e=0;d=r;while(1){g=j[d+4>>2];m=e;f=j[d>>2];l=k[f|0];p:{if((l|0)==30){n=Jf(f,g,0,0)>>16;break p}q:{switch(l-28|0){case 0:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8;n=(f<<24|f<<8&16711680)>>16;break p;case 1:n=0;if(g>>>0>>0){break p}f=k[f+1|0]|k[f+2|0]<<8|(k[f+3|0]<<16|k[f+4|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break p;default:break q}}n=l-139|0;if(l>>>0<=246){break p}e=f+2|0;if(l>>>0<=250){n=0;if(e>>>0>g>>>0){break p}n=(k[f+1|0]|l<<8)-63124|0;break p}n=0;if(e>>>0>g>>>0){break p}n=64148-(k[f+1|0]|l<<8)|0}e=m+n|0;r:{s:{t:{u:{v:{f=k[q+12|0];switch(f-1|0){case 3:break t;case 1:break u;case 0:break v;default:break s}}h[o|0]=e;f=k[q+12|0];break r}i[o>>1]=e;f=2;break r}j[o>>2]=e;f=4;break r}j[o>>2]=e}d=d+4|0;o=f+o|0;s=s-1|0;if(s){continue}break}break f;default:break i}}t=qe[j[q+16>>2]](a)|0;m=7;if(t){break c}t=0;break f}d=g<<16}w:{switch(k[q+12|0]-1|0){case 0:h[o|0]=d;break f;case 1:i[o>>1]=d;break f;default:break w}}j[o>>2]=d}j[a+404>>2]=r}b=b+1|0;m=0}d=mP(m,30);if(!d){continue}break}if(d-1>>>0<3){break a}}u=t}return u}function MC(a){var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;f=oe-112|0;oe=f;o=j[a+16>>2];a:{if(!_i(16)){ve(64538,0);a=0;break a}g=1;b:{while(1){if(!j[(g<<2)+264288>>2]){break b}g=g+1|0;if((g|0)!=16){continue}break}ve(64895,0);a=0;break a}Ge(262232,a,24);c:{if(j[a>>2]){break c}b=Mf(65091);if(b){b=rf(b);j[65558]=b;if(b){break c}}j[65558]=22050}if(!l[a+4>>1]){d=Mf(65111);d:{e:{if(!d){break e}if(!cf(d,65203)){b=8;break d}if(!cf(d,65206)){b=32776;break d}b=16;if(!cf(d,65209)){break d}if(!cf(d,65216)){break e}if(!cf(d,65223)){b=4112;break d}if(!cf(d,65230)){b=36880;break d}if(!cf(d,65237)){break d}if(!cf(d,65244)){break e}if(!cf(d,65251)){break d}b=32784;if(!cf(d,65255)){break d}b=32800;if(!cf(d,65259)){break d}if(!cf(d,65266)){b=36896;break d}if(!cf(d,65273)){break d}if(!cf(d,65280)){break d}b=33056;if(!cf(d,65284)){break d}if(!cf(d,65291)){b=37152;break d}if(!cf(d,65298)){break d}if(!cf(d,65305)){break d}}b=32784}i[131118]=b}f:{g:{h:{b=k[a+6|0];if(b>>>0>8){break h}i:{if(1<>1]){a=l[131120];break j}a=Mf(65185);if(a){a=rf(a);i[131120]=a;if(a&65535){break j}}d=p(j[65558]/1e3|0,46);b=1;while(1){a=b;b=a<<1;if((a|0)<(d|0)){continue}break}i[131120]=a}b=l[131118];h[262239]=((b|0)==8)<<7;j[65561]=p(k[262238],p(b>>>3&31,a&65535));e=Mf(64923);k:{if(j[66060]){l:{if(!e){break l}if(!cf(e,64840)){break l}ve(64592,0);a=0;break a}a=j[66072];if(!a|j[a+68>>2]){break k}break f}if(!e){e=0;b=0;break g}a=j[66068];b=0;m:{if(!a){break m}while(1){n:{if(!j[a>>2]){break n}if(cf(j[a+4>>2],e)){break n}b=j[a>>2];break m}a=j[a+16>>2];if(a){continue}break}b=0}break g}a=j[66073];if(j[a+68>>2]?0:a){break f}a=j[66074];if(j[a+68>>2]?0:a){break f}a=j[66075];if(j[a+68>>2]?0:a){break f}a=j[66076];if(j[a+68>>2]?0:a){break f}a=j[66077];if(j[a+68>>2]?0:a){break f}a=j[66078];if(j[a+68>>2]?0:a){break f}a=j[66079];if(j[a+68>>2]?0:a){break f}a=j[66080];if(j[a+68>>2]?0:a){break f}a=j[66081];if(j[a+68>>2]?0:a){break f}a=j[66082];if(j[a+68>>2]?0:a){break f}a=j[66083];if(j[a+68>>2]?0:a){break f}a=j[66084];if(j[a+68>>2]?0:a){break f}a=j[66085];if(j[a+68>>2]?0:a){break f}e=0;a=j[66086];if(j[a+68>>2]?0:a){break f}a=j[66087];if(!a){b=0;break g}b=0;if(!j[a+68>>2]){break f}break g}ve(65147,0);a=0;break a}if(!(b|(j[66062]|!e))){ve(64971,0);a=0;break a}c=Xe(1,104);if(!c){Be(0);a=0;break a}j[c>>2]=g+1;a=j[65559];j[c+4>>2]=j[65558];j[c+8>>2]=a;a=j[65561];j[c+12>>2]=j[65560];j[c+16>>2]=a;a=j[65563];j[c+20>>2]=j[65562];j[c+24>>2]=a;j[c+100>>2]=b;j[c+68>>2]=0;j[c+56>>2]=0;a=c- -64|0;a;j[a>>2]=1;j[c+60>>2]=1;o:{if(j[66058]){break o}a=Ki();j[c+80>>2]=a;if(a){break o}Af(c);ve(64987,0);a=0;break a}p:{if((qe[j[66042]](c,b,e,0)|0)<=-1){break p}a=j[c+4>>2];if((a|0)!=j[65558]){j[65558]=a}m=l[131118];d=1;q:{if((m|0)!=l[c+8>>1]){break q}d=0}e=k[262238];a=k[c+10|0];if((e|0)!=(a|0)){h[262238]=a;e=a}b=l[131120];a=l[c+12>>1];n=1;r:{if((b|0)!=(a|0)){break r}b=a;n=d}a=n;h[262239]=((m|0)==8)<<7;j[65561]=p(p(m>>>3&31,e),b);b=j[65563];j[c+44>>2]=j[65562];j[c+48>>2]=b;b=j[65561];j[c+36>>2]=j[65560];j[c+40>>2]=b;b=j[65559];j[c+28>>2]=j[65558];j[c+32>>2]=b;if(a){b=ll(l[131118],k[262238],j[65558],l[c+8>>1],k[c+10|0],j[c+4>>2]);j[c+52>>2]=b;if(!b){break p}}if(!j[c+20>>2]){b=Wo(8192,j[65561]<<1);j[c+92>>2]=b;if(!b){Af(c);ve(65014,0);a=0;break a}j[c+44>>2]=138;j[c+48>>2]=c}d=j[c+16>>2];a=a?j[c+40>>2]:0;a=a>>>0>>0?d:a;j[c+76>>2]=a;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+72>>2]=a;if(!a){Af(c);Be(0);a=0;break a}j[(g<<2)+264288>>2]=c;s:{if(j[66057]){break s}j[f+4>>2]=j[c>>2];j[f>>2]=80;Ue(f+16|0,64,65049,f);a=Wy(f+16|0,!o<<16,c);j[c+84>>2]=a;if(a){break s}Af(c);ve(65062,0);a=0;break a}a=j[c>>2];break a}Af(c);a=0;break a}ve(64945,0);a=0}oe=f+112|0;return a}function dA(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,i=0,l=0,o=0,p=0,r=0,s=0;i=oe-32|0;oe=i;f=j[a+436>>2];e=j[a+316>>2];l=0;a:{if(!e){break a}l=j[e+4>>2];l=(l|0)==372645892|(l|0)==370546692}e=j[f+336>>2];g=j[((e<<2)+f|0)+272>>2];o=Vg();h=j[f>>2];b:{c:{if((o|0)!=(h|0)){j[f+424>>2]=0;if((tg(j[a+188>>2],h)|0)<0){break c}}h=j[a+436>>2];if(j[h+4>>2]){while(1){if(qe[j[h+104>>2]]()|0){continue}break}}h=j[a+316>>2];j[f+364>>2]=h;if(!h){kn(j[a+188>>2],f+416|0,f+420|0)}qe[j[f+220>>2]](34962,g);e=(e<<2)+f|0;d:{if(m[e+304>>2]>>0){qe[j[f+224>>2]](34962,d,c,35040);j[e+304>>2]=d;break d}qe[j[f+228>>2]](34962,0,d,c)}h=0;d=j[f+336>>2]+1|0;j[f+336>>2]=d>>>0>7?0:d;if(b){p=f+340|0;r=f+384|0;while(1){e:{f:{g:{switch(j[b>>2]-1|0){case 2:j[f+408>>2]=k[(l?8:10)+b|0]|(k[b+9|0]<<8|k[(l?10:8)+b|0]<<16)|k[b+11|0]<<24;break e;case 0:d=b+8|0;if(!wf(p,d,16)){break e}Ge(p,d,16);j[f+356>>2]=1;break e;case 1:d=j[b+4>>2];if((d|0)!=j[f+376>>2]){j[f+372>>2]=1;j[f+376>>2]=d}d=b+8|0;if(!wf(r,d,16)){break e}Ge(r,d,16);j[f+380>>2]=1;break e;case 3:g=k[(l?8:10)+b|0];d=k[b+9|0];e=k[(l?10:8)+b|0];o=k[b+11|0];s=g|(d<<8|e<<16)|o<<24;if((s|0)!=j[f+412>>2]){qe[j[f+36>>2]](q(q(e>>>0)*q(.003921568859368563)),q(q(d>>>0)*q(.003921568859368563)),q(q(g>>>0)*q(.003921568859368563)),q(q(o>>>0)*q(.003921568859368563)));j[f+412>>2]=s}if(j[f+376>>2]){qe[j[f+64>>2]](3089);j[f+372>>2]=1}qe[j[f+32>>2]](16384);break e;case 4:if(Jj(f,b,1)){break e}qe[j[f+72>>2]](0,0,j[b+8>>2]);break e;case 5:d=j[b+4>>2];e=j[b+8>>2];if(Jj(f,b,1)){break e}if(e>>>0<=2){d=e-1|0;break f}g=c+d|0;d=e-1|0;if(n[g>>2]!=n[g+(d<<3)>>2]|n[g+4>>2]!=n[(g+(e<<3)|0)-4>>2]){break f}qe[j[f+72>>2]](2,0,d);break e;case 6:g=j[b+8>>2];if(Jj(f,b,1)){break e}e=0;d=0;if(!g){break e}while(1){qe[j[f+72>>2]](5,e,4);e=e+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break e;case 7:case 8:break g;default:break e}}g=j[b+20>>2];o=j[a+436>>2];h:{i:{j:{k:{l:{d=j[a+316>>2];if(d){e=2;d=j[d+4>>2];g=j[g+4>>2];if((d|0)==(g|0)){break i}m:{n:{o:{p:{q:{if((g|0)<=825382477){if((g|0)<=374740995){if((g|0)==370546692){break o}if((g|0)!=372645892){break q}if((d|0)!=374740996?(d|0)!=376840196:0){break i}e=3;break i}if((g|0)==374740996){break n}if((g|0)==376840196){break p}if((g|0)!=542328143){break q}e=9;break i}e=6;r:{switch(g-842094158|0){case 11:break i;case 0:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break q;default:break r}}if((g|0)==825382478){break l}if((g|0)==1448433993){break i}}d=ve(75893,0);break h}if((d|0)!=370546692?(d|0)!=372645892:0){break i}e=3;break i}if((d|0)==372645892){break j}if((d|0)!=376840196?(d|0)!=374740996:0){break i}e=3;break i}if((d|0)!=370546692){if((d|0)!=372645892){if((d|0)!=376840196){break i}break j}e=4;break i}e=3;break i}e=7;break i}s:{t:{u:{d=j[g+4>>2];if((d|0)<=825382477){if((d|0)<=374740995){if((d|0)==370546692){break t}e=3;if((d|0)==372645892){break i}break k}if((d|0)==374740996){break j}if((d|0)==376840196){break u}if((d|0)!=542328143){break k}e=9;break i}v:{switch(d-842094158|0){default:if((d|0)==825382478){break l}if((d|0)!=1448433993){break k}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break k;case 0:break s;case 11:break v}}e=6;break i}e=2;break i}e=4;break i}e=7;break i}e=8;break i}d=ve(75893,0);break h}e=5}d=Jj(o,b,e)}if(d){break e}qe[j[f+72>>2]](5,0,4);break e}qe[j[f+72>>2]](3,0,e);qe[j[f+72>>2]](0,d,1)}b=j[b+24>>2];if(b){continue}break}}a=j[a+436>>2];if(!j[a+4>>2]){break b}e=qe[j[a+104>>2]]()|0;if(!e){break b}b=74205;while(1){b=k[b|0]?b:75958;c=76063;d=e-1280|0;if(d>>>0<=5){c=j[(d<<2)+76072>>2]}j[i+20>>2]=e;j[i+16>>2]=c;j[i+12>>2]=75533;j[i+8>>2]=1338;j[i+4>>2]=74206;j[i>>2]=b;ve(75966,i);e=qe[j[a+104>>2]]()|0;if(e){continue}break}}h=-1}oe=i+32|0;return h|0}function lr(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,l=0,m=0,n=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;g=oe-48|0;oe=g;Nh(a,g+32|0);f=j[g+40>>2];a:{if(!f){m=3;break a}l=j[g+32>>2];j[g+28>>2]=l;o=j[g+36>>2];b:{c:{d:{q=j[b+8>>2];if((q|0)==7){n=j[a+8>>2];j[a+8>>2]=o-1;s=1;e=j[a>>2];j[a>>2]=l+1;Nh(a,g);j[a+8>>2]=n;j[a>>2]=e;m=3;if(j[g+8>>2]==3){break d}q=7;break b}m=3;if((f|0)==3){break c}s=1;break b}if(!d){break a}j[g+28>>2]=l+1;o=o-1|0;q=8;t=1;break b}if(!d){break a}t=1;j[g+28>>2]=l+1;o=o-1|0;s=d}v=p(d,3);w=d<<1;x=d<<2;y=q-1|0;z=f-2|0;while(1){n=j[(t<<2)+c>>2];e=j[b+16>>2];Pf(g+28|0,o);n=e+n|0;m=3;e:{f:{g:{h:{i:{j:{k:{l:{switch(y|0){case 0:e=j[g+28>>2];f=e;m:{if(k[e|0]!=116|e+3>>>0>=o>>>0|(k[e+1|0]!=114|k[e+2|0]!=117)){break m}if(k[f+3|0]!=101){break m}m=1;j[g+28>>2]=e+5;break k}m=0;n:{if(k[e|0]!=102|e+4>>>0>=o>>>0|(k[e+1|0]!=97|k[e+2|0]!=108)){break n}if(k[f+3|0]!=115){break n}e=k[e+4|0]==101?e+6|0:e}j[g+28>>2]=e;break k;case 2:m=xh(g+28|0,o,0);break k;case 3:m=xh(g+28|0,o,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}l=j[g+28>>2];j[g>>2]=l;f=Rg(g,o,10);m=0;e=j[g>>2];if((l|0)==(e|0)){break k}if(!(k[e|0]!=35|e>>>0>=o>>>0)){l=e+1|0;j[g>>2]=l;f=Rg(g,o,f);e=j[g>>2];if((l|0)==(e|0)){break k}}j[g+28>>2]=e;m=f}o:{switch(k[b+20|0]-1|0){case 0:h[n|0]=m;break e;case 1:i[n>>1]=m;break e;default:break o}}j[n>>2]=m;break e}f=j[g+28>>2];if(f>>>0>=o>>>0){break e}e=o-f|0;l=j[a+16>>2];p:{q:{switch(z|0){case 2:j[g+28>>2]=f+1;e=e-1|0;break p;case 0:break q;default:break a}}j[g+28>>2]=f+1;e=e-2|0}f=j[n>>2];if(f){if(f){qe[j[l+8>>2]](l,f)}j[n>>2]=0}f=He(l,e+1|0,g+24|0);m=j[g+24>>2];if(m){break a}l=e;e=Ae(f,j[g+28>>2],e);h[l+e|0]=0;j[n>>2]=e;break e}e=j[g+28>>2];j[g+44>>2]=e;if(e>>>0>=o>>>0){break g}q=k[e|0];f=93;r:{s:{if((q|0)==91){break s}f=0;l=0;if((q|0)!=123){break r}f=125}e=e+1|0;j[g+44>>2]=e;l=1}m=0;if(e>>>0>=o>>>0){break g}while(1){t:{Pf(g+44|0,o);e=j[g+44>>2];if(o>>>0<=e>>>0){q=e;break t}if(k[e|0]==(f|0)){q=e+1|0;break t}if((m|0)==4){j[g+28>>2]=e;break f}B=(m<<2)+g|0,C=xh(g+44|0,o,0),j[B>>2]=C;q=j[g+44>>2];if((q|0)==(e|0)){break g}m=m+1|0;if(l&o>>>0>q>>>0){continue}}break}j[g+28>>2]=q;if((m|0)>3){break f}m=3;break a}q=j[a+16>>2];r=xe(q,4,0,x,0,g+24|0);m=j[g+24>>2];if(m){break a}f=0;while(1){e=j[g+28>>2];j[g>>2]=e;u:{if(e>>>0>=o>>>0){m=0;break u}n=k[e|0];u=93;v:{w:{if((n|0)==91){break w}if((n|0)!=123){u=0;l=1;break v}u=125}e=e+1|0;j[g>>2]=e;l=0}m=0;if(e>>>0>=o>>>0){break u}A=r+(p(d,f)<<2)|0;while(1){Pf(g,o);n=j[g>>2];if(n>>>0>=o>>>0){e=n;break u}if(k[n|0]==(u|0)){e=n+1|0;break u}if(!(!r|(d|0)>(m|0))){e=n;break u}B=r?(m<<2)+A|0:g+44|0,C=xh(g,o,0),j[B>>2]=C;e=j[g>>2];if((n|0)==(e|0)){m=-1;e=n;break u}m=m+1|0;if(l){break u}if(e>>>0>>0){continue}break}}j[g+28>>2]=e;if((m|0)<0){m=3;break a}if(d>>>0>m>>>0){m=3;break a}Pf(g+28|0,o);f=f+1|0;if((f|0)!=4){continue}break}m=0;if(d){while(1){f=m<<2;e=j[f+c>>2];n=e;l=j[f+r>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n>>2]=f;n=e;l=j[r+(d+m<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+4>>2]=f;l=j[r+(m+w<<2)>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[n+8>>2]=f;f=j[r+(m+v<<2)>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[e+12>>2]=n;m=m+1|0;if((m|0)!=(d|0)){continue}break}}if(r){qe[j[q+8>>2]](q,r)}break e}j[g+28>>2]=e;m=3;break a}e=n;l=j[g>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e>>2]=f;l=j[g+4>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+4>>2]=f;l=j[g+8>>2];f=l+32768&-65536;if((l|0)<0){f=0-(32768-l&-65536)|0}j[e+8>>2]=f;f=j[g+12>>2];e=f+32768&-65536;if((f|0)<0){e=0-(32768-f&-65536)|0}j[n+12>>2]=e}t=t+1|0;s=s-1|0;if(s){continue}break}m=0}oe=g+48|0;return m|0}function Dn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=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;a:{if(!b){break a}f=j[a+24>>2];e=j[a+20>>2];if((f|0)!=-1?(f|0)<(e|0):0){break a}l=j[a+104>>2];w=j[a+4>>2];s=j[w+28>>2];t=j[s+3656>>2];c=j[a+40>>2];j[a+36>>2]=c;u=j[b+28>>2];j[a+44>>2]=-1;j[a+40>>2]=u;d=j[a+68>>2];h=d;g=j[a+64>>2];b:{c:{if((g|0)==-1&(d|0)==-1){d=j[b+56>>2];g=j[b+60>>2];break c}d=g+1|0;h=d>>>0<1?h+1|0:h;k=d;d=j[b+56>>2];g=j[b+60>>2];if((k|0)==(d|0)&(g|0)==(h|0)){break b}}j[a+56>>2]=-1;j[a+60>>2]=-1;j[l+128>>2]=-1;j[l+132>>2]=-1;k=d;h=g}j[a+64>>2]=k;j[a+68>>2]=h;d:{if(!j[b>>2]){h=f;break d}i=j[(u<<2)+s>>2];m=j[s>>2];g=j[s+4>>2];e=j[b+88>>2];k=e;d=e+j[a+72>>2]|0;e=j[a+76>>2]+(e>>31)|0;j[a+72>>2]=d;j[a+76>>2]=d>>>0>>0?e+1|0:e;d=j[b+92>>2];k=d;e=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;j[a+80>>2]=e;j[a+84>>2]=e>>>0>>0?d+1|0:d;e=j[b+96>>2];k=e;d=e+j[a+88>>2]|0;e=j[a+92>>2]+(e>>31)|0;j[a+88>>2]=d;j[a+92>>2]=d>>>0>>0?e+1|0:e;e=j[b+100>>2];k=e;d=e+j[a+96>>2]|0;e=j[a+100>>2]+(e>>31)|0;j[a+96>>2]=d;j[a+100>>2]=d>>>0>>0?e+1|0:e;p=t+1|0;d=g>>p;e=j[a+48>>2];h=e?d:0;g=e?0:d;k=a;u=d;if(j[w+4>>2]>=1){x=i>>p;y=(d|0)/2|0;e=m>>p;f=(e|0)/2|0;z=y+f|0;A=(e|0)<1;C=0-f<<2;D=(e|0)/-2<<2;while(1){o=j[a+40>>2];e:{if(c){if(o){c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if((d|0)<1){break e}i=j[(j[l+8>>2]-t<<2)+28272>>2];o=(g<<2)+p|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+((c^-1)+d<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}c=v<<2;p=j[c+j[a+8>>2]>>2];f=j[c+j[b>>2]>>2];if(A){break e}i=j[(j[l+4>>2]-t<<2)+28272>>2];o=D+(((g<<2)+p|0)+(y<<2)|0)|0;c=0;while(1){m=c<<2;r=m+o|0;n[r>>2]=q(n[r>>2]*n[i+(e+(c^-1)<<2)>>2])+q(n[f+m>>2]*n[i+m>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}i=j[(j[l+4>>2]-t<<2)+28272>>2];c=v<<2;p=j[c+j[a+8>>2]>>2];m=p+(g<<2)|0;f=j[c+j[b>>2]>>2];f:{if(o){o=((y<<2)+f|0)+C|0;c=0;if((e|0)<=0){break f}while(1){r=c<<2;B=r+m|0;n[B>>2]=q(n[B>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[o+r>>2]*n[i+r>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e;break f}c=0;if(A){break e}while(1){o=c<<2;r=o+m|0;n[r>>2]=q(n[r>>2]*n[(e+(c^-1)<<2)+i>>2])+q(n[f+o>>2]*n[i+o>>2]);c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}if((c|0)>=(z|0)){break e}while(1){i=c<<2;n[i+m>>2]=n[i+o>>2];c=c+1|0;if((z|0)!=(c|0)){continue}break}}if((x|0)>=1){f=(x<<2)+f|0;p=(h<<2)+p|0;c=0;while(1){i=c<<2;n[i+p>>2]=n[f+i>>2];c=c+1|0;if((x|0)!=(c|0)){continue}break}}v=v+1|0;if((v|0)>2]){c=j[a+36>>2];continue}break}f=j[a+24>>2];e=j[a+48>>2]}j[k+48>>2]=e?0:u;d=a;g:{if((f|0)==-1){j[a+24>>2]=h;e=h;break g}j[a+24>>2]=g;h=g;e=g+((j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)>>t)|0}j[d+20>>2]=e}d=l;u=d;c=0;g=j[d+128>>2];l=j[d+132>>2];f=0;h:{if((g|0)==-1&(l|0)==-1){break h}k=g;c=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=c;f=k+c|0;c=(c>>31)+l|0;c=f>>>0>>0?c+1|0:c}j[u+128>>2]=f;l=c;j[d+132>>2]=c;c=j[a+60>>2];d=c;g=j[a+56>>2];i:{if((g|0)==-1&(c|0)==-1){c=j[b+48>>2];d=j[b+52>>2];if((c|0)==-1&(d|0)==-1){break i}j[a+56>>2]=c;j[a+60>>2]=d;if((d|0)>(l|0)?1:(d|0)>=(l|0)?c>>>0>=f>>>0:0){break i}c=f-c|0;c=(c|0)>0?c:0;if(j[b+44>>2]){h=e-h<>2]=e-(((c|0)>(h|0)?h:c)>>t);break i}h=(c>>>t|0)+h|0;j[a+24>>2]=(e|0)<(h|0)?e:h;break i}k=g;l=(j[(j[a+40>>2]<<2)+s>>2]/4|0)+(j[(j[a+36>>2]<<2)+s>>2]/4|0)|0;g=l;f=k+g|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;j[a+56>>2]=f;j[a+60>>2]=d;c=j[b+48>>2];g=j[b+52>>2];if((c|0)==-1&(g|0)==-1|(c|0)==(f|0)&(d|0)==(g|0)){break i}j:{if((d|0)<(g|0)?1:(d|0)<=(g|0)?c>>>0>=f>>>0:0){break j}f=f-c|0;if(!f|!j[b+44>>2]){break j}h=e-h<(h|0)?h:f;j[a+20>>2]=e-(((h|0)>0?h:0)>>>t|0)}j[a+56>>2]=c;j[a+60>>2]=g}if(!j[b+44>>2]){break a}j[a+32>>2]=1}}function cB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=q(0),s=0,t=0;a=oe+ -64|0;oe=a;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(j[b>>2]-1536|0){case 6:c=j[67069];if(!c){break a}b=j[b+8>>2];break g;case 2:c=j[67069];if(!c){break a}d=j[b+8>>2];break i;case 0:c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){m=k[b+12|0];f=j[j[c+20>>2]+(m<<2)>>2];e=i[b+16>>1];o=j[c+12>>2];k:{if((o|0)>=1){g=j[c+16>>2];b=0;while(1){l=b<<5;d=l+g|0;l:{if(j[d>>2]!=2){break l}l=g+l|0;if((m|0)!=j[l+4>>2]){break l}n=j[l+8>>2];l=j[l+12>>2];if((n|0)<(l|0)){if((e|0)<(n|0)|(e|0)>(l|0)){break l}break k}if((e|0)>(n|0)){break l}if((e|0)>=(l|0)){break k}}b=b+1|0;if((o|0)!=(b|0)){continue}break}}d=0}if(!f){break e}m:{g=j[f+16>>2];n:{if(!(!d|(g|0)!=j[d+16>>2])){l=j[d+20>>2];b=j[f+20>>2];if((g|0)!=2){break m}if((b|0)!=(l|0)){break n}break c}b=j[f+20>>2];if((g|0)!=2){break f}}if((We(1616,-1)|0)!=1){break e}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0);break e}if((b|0)!=(l|0)){break f}break d}c=j[c+32>>2];if(c){continue}break}break a;case 3:case 4:break j;case 5:break h;default:break a}}c=j[67069];if(!c){break a}d=j[b+8>>2];while(1){if((d|0)==j[j[c>>2]>>2]){f=j[c+12>>2];if((f|0)<1){break a}d=k[b+13|0];g=k[b+12|0];e=j[c+16>>2];b=0;while(1){m=e+(b<<5)|0;if(!(j[m>>2]!=1|(g|0)!=j[m+4>>2])){b=e+(b<<5)|0;if(j[b+16>>2]==2){d=j[(d?b+28|0:b+24|0)>>2];b=j[b+20>>2];if((We(1616,-1)|0)!=1){break a}j[a+8>>2]=1616;c=j[j[c>>2]>>2];i[a+24>>1]=d;h[a+20|0]=b;j[a+16>>2]=c;gf(a+8|0);break a}vo(c,j[b+20>>2],d);break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}break a}c=j[c+32>>2];if(c){continue}break}break a}while(1){if((d|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}f=k[b+13|0];g=k[b+12|0];if(j[c+12>>2]>=1){l=f^k[g+j[c+24>>2]|0];b=0;while(1){e=j[c+16>>2]+(b<<5)|0;o:{if(j[e>>2]!=3|(g|0)!=j[e+4>>2]){break o}n=j[e+8>>2];if(!(n&l)){break o}d=j[e+20>>2];m=j[e+16>>2];if(f&n){if((m|0)==2){e=j[e+28>>2];if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;m=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=d;j[a+16>>2]=m;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1617;if((d|0)==5){s=c,t=sg(),j[s+28>>2]=t;if(j[j[c>>2]+68>>2]){break o}}if((We(1617,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=1;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((m|0)==2){if((We(1616,-1)|0)!=1){break o}j[a+8>>2]=1616;e=j[j[c>>2]>>2];i[a+24>>1]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0);break o}if((d|0)==-1){break o}j[a+8>>2]=1618;if((d|0)==5){m=sg();e=j[c>>2];if(!(j[e+72>>2]|((j[c+28>>2]-m|0)+250|0)<1)){j[e+68>>2]=1;break o}j[e+68>>2]=0}if((We(1618,-1)|0)!=1){break o}e=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=d;j[a+16>>2]=e;gf(a+8|0)}b=b+1|0;if((b|0)>2]){continue}break}}h[g+j[c+24>>2]|0]=f;break a}if(!wo(j[b+8>>2])){break a}j[a+8>>2]=1619;j[a+16>>2]=j[b+8>>2];gf(a+8|0);break a}while(1){if((b|0)!=j[j[c>>2]>>2]){c=j[c+32>>2];if(c){continue}break a}break}j[a+16>>2]=b;j[a+8>>2]=1620;gf(a+8|0);aB();break a}if((b|0)==-1){break e}j[a+8>>2]=1618;if((b|0)==5){g=sg();f=j[c>>2];if(!(j[f+72>>2]|((j[c+28>>2]-g|0)+250|0)<1)){j[f+68>>2]=1;break e}j[f+68>>2]=0}if((We(1618,-1)|0)!=1){break e}f=j[j[c>>2]>>2];h[a+21|0]=0;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}if(!d){break b}if(j[d+16>>2]==2){break c}b=j[d+20>>2]}l=b;f=j[d+12>>2];b=j[d+8>>2];g=((f-b|0)/2|0)+b|0;vo(c,l,(b|0)>(f|0)?(g|0)>=(e|0):(e|0)>=(g|0));break b}b=j[d+8>>2];f=j[d+24>>2];g=j[d+28>>2];l=j[d+12>>2];if(!((g|0)==(l|0)?(b|0)==(f|0):0)){p=q(q(q(e-b|0)/q(l-b|0))*q(g-f|0));p:{if(q(r(p))>2];if((We(1616,-1)|0)!=1){break b}j[a+8>>2]=1616;f=j[j[c>>2]>>2];i[a+24>>1]=e;h[a+20|0]=b;j[a+16>>2]=f;gf(a+8|0)}j[j[c+20>>2]+(m<<2)>>2]=d}oe=a- -64|0;return 1}function zx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;n=j[a+36>>2];c=j[a+20>>2];o=j[a+16>>2];b=j[a>>2];m=j[a+28>>2];f=j[a+24>>2];i=j[a+40>>2];e=k[i+9|0];a:{l=j[a+44>>2];if(!j[l+24>>2]){if(!m){break a}d=k[l+9|0];l=f&7;i=(f+7|0)/8|0;b:while(1){f=i;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b+2|0];g=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=g;h[c|0]=a;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=m-1|0;g=k[b+2|0];p=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=p;h[c|0]=g;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+n|0;b=b+o|0;m=a;if(a){continue b}break a}a=0;continue}}}if(j[i+24>>2]){if(!m){break a}g=f&7;i=(f+7|0)/8|0;g:while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(g-1|0){case 0:e=k[l+35|0];f=i;break i;case 1:d=k[l+35|0];e=d;f=i;break j;case 2:d=k[l+35|0];e=d;f=i;break k;case 3:d=k[l+35|0];e=d;f=i;break l;case 4:d=k[l+35|0];e=d;f=i;break m;case 5:d=k[l+35|0];e=d;f=i;break n;case 6:d=k[l+35|0];e=d;f=i;break o;default:break p}}e=k[l+35|0];f=i;a=0;break h}a=1;break h}a=2;break h}a=3;break h}a=4;break h}a=5;break h}a=6;break h}a=7}while(1){q:{switch(a|0){case 0:d=e;j[c>>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<>2]=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16)|k[b+3|0]<1){f=f-1|0;break r}c=c+n|0;b=b+o|0;m=a;if(a){continue g}break a}a=0;continue}}}if(!m){break a}d=k[a+63|0]<>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;a=7;continue;default:break v}}a=m-1|0;j[c>>2]=k[b+2|0]|(d|k[b|0]<<16|k[b+1|0]<<8);b=b+e|0;c=c+4|0;w:{if((f|0)>1){f=f-1|0;break w}c=c+n|0;b=b+o|0;m=a;if(a){continue s}break a}a=0;continue}}}}function kl(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=q(0),o=0,r=0;a:{if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((c|0)<=33055){m:{switch(c-32776|0){case 8:break j;case 0:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;case 24:break g;default:break m}}switch(c-8|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break h;default:break d}}n:{switch(c-36880|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break c;case 16:break f;case 0:break i;default:break n}}if((c|0)==33056){break e}if((c|0)!=37152){break c}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){l=3.4028234663852886e+38;d=d-1|0;c=j[a>>2];i=+(qP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),tP());c=j[b>>2];i=i+ +q(q(m*(qP(2,c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)),tP()))*q(.0078125));o:{if(i>3.4028234663852886e+38){break o}l=i;if(i<-3.4028234663852886e+38^1){break o}l=-3.4028234663852886e+38}b=b+4|0;c=(uP(q(l)),pP(2));j[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a+4|0;if(d){continue}break}break a}if(!d){break a}while(1){c=h[a|0]+((p(h[b|0],e)|0)/128<<24>>24)|0;c=(c|0)>-128?c:-128;h[a|0]=(c|0)<127?c:127;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}if(!d){break a}while(1){h[a|0]=k[(k[a|0]+((p(k[b|0]-128|0,e)|0)/128&255^128)|0)+65936|0];b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((k[a|0]|k[a+1|0]<<8)<<16>>16)+((p((k[b|0]|k[b+1|0]<<8)<<16>>16,e)|0)/128<<16>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=k[b|0]|k[b+1|0]<<8;f=(p((c<<24|c<<8&16711680)>>16,e)|0)/128<<16>>16;c=k[a|0]|k[a+1|0]<<8;c=f+((c<<24|c<<8&16711680)>>16)|0;c=(c|0)>-32768?c:-32768;c=(c|0)<32767?c:32767;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b|0]|k[b+1|0]<<8,e)|0)/128&65535)+(k[a|0]|k[a+1|0]<<8)|0;c=c>>>0<65535?c:65535;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];g=j[b>>2];f=iP(hP(g,g>>31,c,o),pe,128);g=e+f|0;e=pe+(e>>31)|0;e=g>>>0>>0?e+1|0:e;f=g;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;j[a>>2]=e?f:2147483647;a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}c=e;o=c>>31;while(1){e=j[a>>2];f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=j[b>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);r=iP(hP(e,e>>31,c,o),pe,128);g=f+r|0;e=pe+(f>>31)|0;f=g;e=f>>>0>>0?e+1|0:e;g=(e|0)>-1?1:(e|0)>=-1?f>>>0>2147483648:0;f=g?f:-2147483648;e=g?e:-1;e=(e|0)<0?1:(e|0)<=0?f>>>0<2147483647:0;e=e?f:2147483647;j[a>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a=a+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break a}d=d>>>2|0;if(!d){break a}m=q(e|0);while(1){d=d-1|0;l=3.4028234663852886e+38;i=+n[a>>2]+ +q(q(n[b>>2]*m)*q(.0078125));p:{if(i>3.4028234663852886e+38){break p}l=i;if(i<-3.4028234663852886e+38^1){break p}l=-3.4028234663852886e+38}b=b+4|0;n[a>>2]=l;a=a+4|0;if(d){continue}break}break a}if((c|0)==4112){break b}}ve(66448,0);break a}d=d>>>1|0;if(!d){break a}while(1){c=((p(k[b+1|0]|k[b|0]<<8,e)|0)/128&65535)+(k[a+1|0]|k[a|0]<<8)|0;c=c>>>0<65535?c:65535;c=(c<<24|c<<8&16711680)>>>16|0;h[a|0]=c;h[a+1|0]=c>>>8;a=a+2|0;b=b+2|0;d=d-1|0;if(d){continue}break}}}function Ji(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=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;r=oe-16|0;oe=r;j[r+12>>2]=0;j[a+1524>>2]=0;j[a+1512>>2]=0;j[a+56>>2]=0;j[a+44>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;d=j[a>>2];n=j[a+16>>2];s=j[a+8>>2];u=j[a+12>>2];o=j[a+4>>2];f=i[b>>1];a:{b:{if(f>>>0<=8){if(j[a+40>>2]){break b}j[a+32>>2]=8;j[a+40>>2]=a+3e3;break b}c=j[a+32>>2];if(c>>>0>=f>>>0){break b}g=a;m=d;e=c;f=f+3&-4;q=f;c=j[a+40>>2];if((c|0)==(a+3e3|0)){j[a+40>>2]=0;c=0}A=g,B=xe(m,4,e,q,c,r+12|0),j[A+40>>2]=B;if(j[r+12>>2]){break a}j[a+32>>2]=f}c=i[b+2>>1];g=c+2|0;c:{if(g>>>0<=96){if(j[a+28>>2]){break c}j[a+20>>2]=96;j[a+28>>2]=a+3032;break c}e=g;g=j[a+20>>2];if(e>>>0<=g>>>0){break c}m=a;e=c+11&-8;f=e;c=j[a+28>>2];if((c|0)==(a+3032|0)){j[a+28>>2]=0;c=0}A=m,B=xe(d,40,g,f,c,r+12|0),j[A+28>>2]=B;if(j[r+12>>2]){break a}j[a+20>>2]=e;c=i[b+2>>1]}j[a+24>>2]=c;c=i[b>>1];j[a+1536>>2]=-1;j[a+68>>2]=2;j[a+36>>2]=c;if((wO(b)|0)==1){j[a+1536>>2]=1;j[a+68>>2]=-2}j[a+12>>2]=u;j[a+4>>2]=o;j[a+2992>>2]=0;j[a+2996>>2]=0;j[a+16>>2]=n;j[a+8>>2]=s;v=j[a+24>>2];if(!v){break a}g=j[a+28>>2];w=g+p(v,40)|0;d=j[b+12>>2];if((v|0)>=1){f=j[b+4>>2];m=j[b+8>>2];c=g;q=c+p(i[d>>1],40)|0;d=q;while(1){i[c+2>>1]=1028;e=j[f>>2];i[c+12>>1]=e;i[c+14>>1]=j[f+4>>2];e=ye(e,o)+s|0;j[c+4>>2]=e;j[c+16>>2]=e;e=ye(j[f+4>>2],u)+n|0;j[c+8>>2]=e;j[c+20>>2]=e;e=k[m|0];j[c+36>>2]=d;e=e&3;i[c>>1]=e?((e|0)==2)<<1:1;j[d+32>>2]=c;d:{if((c|0)!=(q|0)){d=c;break d}t=t+1|0;if((t|0)>=i[b>>1]){d=c;q=c;break d}d=p(i[j[b+12>>2]+(t<<1)>>1],40)+g|0;q=d}m=m+1|0;f=f+8|0;c=c+40|0;if(w>>>0>c>>>0){continue}break}d=j[b+12>>2]}b=j[a+36>>2];m=b<<2;o=j[a+40>>2];if((b|0)>=1){e=m+o|0;c=0;while(1){j[o>>2]=p(c<<16>>16,40)+g;c=l[d>>1]+1|0;d=d+2|0;o=o+4|0;if(e>>>0>o>>>0){continue}break}o=j[a+40>>2]}if((b|0)>0){y=m+o|0;x=p(l[j[j[a+2988>>2]+4>>2]+68>>1],20)>>>11|0;z=(x<<1)-1|0;while(1){e=j[o>>2];c=e;while(1){e:{m=c;a=i[c+12>>1];c=j[c+36>>2];if((e|0)==(c|0)){q=l[m+14>>1];break e}q=i[m+14>>1];n=q-i[c+14>>1]|0;b=n>>31;f=a-i[c+12>>1]|0;d=f>>31;if(((b^b+n)+(d^d+f)|0)<(z|0)){continue}}break}j[m+24>>2]=0;j[m+28>>2]=0;c=0;d=m;s=d;f=0;while(1){e=a<<16;a=q<<16;d=j[d+32>>2];q=i[d+14>>1];f=(q-(a>>16)|0)+f|0;b=f>>31;a=i[d+12>>1];c=(a-(e>>16)|0)+c|0;n=c>>31;e=b^b+f;n=n^c+n;f:{if(e+n>>>0>>0){i[d>>1]=l[d>>1]|16;break f}u=0-c|0;b=(d-s|0)/40|0;j[s+24>>2]=b;j[d+28>>2]=0-b;g:{if((c|0)<=(f|0)){t=2;c=f;b=n;if((u|0)<=(c|0)){break g}t=255;c=u;b=e;break g}t=1;b=e;if((f|0)>=(u|0)){break g}c=0-f|0;t=254;b=n}b=(p(b,14)|0)<(c|0)?t:4;h[s+3|0]=b;c=j[s+32>>2];if((d|0)!=(c|0)){while(1){h[c+3|0]=b;h[c+2|0]=b;c=j[c+32>>2];if((d|0)!=(c|0)){continue}break}}h[d+2|0]=b;b=(m-d|0)/40|0;j[d+24>>2]=b;c=0;j[m+28>>2]=0-b;s=d;f=0}if((d|0)!=(m|0)){continue}break}o=o+4|0;if(y>>>0>o>>>0){continue}break}}if((v|0)<=0){break a}c=g;while(1){d=l[c>>1];h:{if(d&16|k[c+2|0]!=4|k[c+3|0]!=4){break h}m=j[c+24>>2];a=p(m,40)+c|0;b=i[c+12>>1];f=i[a+12>>1]-b|0;q=b;e=j[c+28>>2];b=p(e,40)+c|0;if((f^q-i[b+12>>1])<0){break h}n=i[c+14>>1];if((n-i[b+14>>1]^i[a+14>>1]-n)<0){break h}i[c>>1]=d|16;d=b;b=(p(m-e|0,40)|0)/40|0;j[d+24>>2]=b;j[a+28>>2]=0-b}c=c+40|0;if(w>>>0>c>>>0){continue}break}if((v|0)<=0){break a}while(1){c=l[g>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=k[g+3|0];b=k[g+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=i[g+12>>1];d=j[g+28>>2];a=p(d,40)+g|0;m=i[g+14>>1];e=j[g+24>>2];b=p(e,40)+g|0;if(!_m(c-i[a+12>>1]|0,m-i[a+14>>1]|0,i[b+12>>1]-c|0,i[b+14>>1]-m|0)){break i}c=a;a=(p(e-d|0,40)|0)/40|0;j[c+24>>2]=a;j[b+28>>2]=0-a;c=l[g>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}i[g>>1]=c|16}g=g+40|0;if(w>>>0>g>>>0){continue}break}}oe=r+16|0;return j[r+12>>2]}function Dz(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;var h=0,i=0,l=0,m=0,n=0,o=0;a:{b:{switch(c-1|0){case 0:l=j[b+12>>2];if(!l){break a}h=g^255;g=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(g,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];n=b&3;c=(b+3|0)/4|0;i=g-b<<2;c:while(1){g=c;d:{e:{switch(n-1|0){default:b=0;break d;case 0:b=3;break d;case 1:b=2;break d;case 2:break e}}b=1}while(1){f:{switch(b|0){case 0:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=1;continue;case 1:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=2;continue;case 2:b=j[a>>2];j[a>>2]=((p(h,b>>>8&255)>>>0)/255|0)+e<<8|((p(h,b&255)>>>0)/255|0)+f|((p(h,b>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;b=3;continue;default:break f}}b=l-1|0;m=j[a>>2];j[a>>2]=((p(h,m>>>8&255)>>>0)/255|0)+e<<8|((p(h,m&255)>>>0)/255|0)+f|((p(h,m>>>16&255)>>>0)/255|0)+d<<16;a=a+4|0;g:{if((g|0)>1){g=g-1|0;break g}a=a+i|0;l=b;if(b){continue c}break a}b=0;continue}};default:c=j[b+12>>2];if(!c){break a}e=e<<8|d<<16|f;f=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(f,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;d=j[b+8>>2];g=d&3;b=(d+3|0)/4|0;l=f-d<<2;h:while(1){f=b;i:{j:{switch(g-1|0){default:d=0;break i;case 0:d=3;break i;case 1:d=2;break i;case 2:break j}}d=1}while(1){k:{switch(d|0){case 0:j[a>>2]=e;a=a+4|0;d=1;continue;case 1:j[a>>2]=e;a=a+4|0;d=2;continue;case 2:j[a>>2]=e;a=a+4|0;d=3;continue;default:break k}}d=c-1|0;j[a>>2]=e;a=a+4|0;l:{if((f|0)>1){f=f-1|0;break l}a=a+l|0;c=d;if(c){continue h}break a}d=0;continue}};case 3:g=j[b+12>>2];if(!g){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;l=(b+3|0)/4|0;n=c-b<<2;m:while(1){b=l;n:{o:{switch(m-1|0){default:c=0;break n;case 0:c=3;break n;case 1:c=2;break n;case 2:break o}}c=1}while(1){p:{switch(c|0){case 0:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];j[a>>2]=(p(c>>>8&255,e)>>>0)/255<<8|(p(c&255,f)>>>0)/255|(p(c>>>16&255,d)>>>0)/255<<16;a=a+4|0;c=3;continue;default:break p}}c=g-1|0;h=j[a>>2];j[a>>2]=(p(h>>>8&255,e)>>>0)/255<<8|(p(h&255,f)>>>0)/255|(p(h>>>16&255,d)>>>0)/255<<16;a=a+4|0;q:{if((b|0)>1){b=b-1|0;break q}a=a+n|0;g=c;if(c){continue m}break a}c=0;continue}};case 1:break b}}l=j[b+12>>2];if(!l){break a}c=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=(j[a+20>>2]+(p(c,j[b+4>>2])<<2)|0)+(j[b>>2]<<2)|0;b=j[b+8>>2];m=b&3;g=(b+3|0)/4|0;n=c-b<<2;r:while(1){b=g;s:{t:{switch(m-1|0){default:c=0;break s;case 0:c=3;break s;case 1:c=2;break s;case 2:break t}}c=1}while(1){u:{switch(c|0){case 0:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=1;continue;case 1:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=2;continue;case 2:c=j[a>>2];h=(c>>>8&255)+e|0;i=(h>>>0<255?h:255)<<8;h=(c&255)+f|0;c=(c>>>16&255)+d|0;j[a>>2]=i|(h>>>0<255?h:255)|(c>>>0<255?c:255)<<16;a=a+4|0;c=3;continue;default:break u}}c=l-1|0;h=j[a>>2];i=(h>>>8&255)+e|0;o=(i>>>0<255?i:255)<<8;i=(h&255)+f|0;h=(h>>>16&255)+d|0;j[a>>2]=o|(i>>>0<255?i:255)|(h>>>0<255?h:255)<<16;a=a+4|0;v:{if((b|0)>1){b=b-1|0;break v}a=a+n|0;l=c;if(c){continue r}break a}c=0;continue}}}return 0}function Yx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=oe-32|0;oe=o;c=Xe(1,72);a:{if(!c){c=0;Be(0);break a}j[c+32>>2]=128;j[c>>2]=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{a=_g(a);if((a|0)!=1163280727){if((a|0)==1297239878){break k}if((a|0)!=1179011410){break j}}e=j[c>>2];_g(e);_g(e);a=_g(e);l:{d=_g(e);if(d){while(1){m:{n:{if((a|0)!=1819307379){if((a|0)!=1635017060){if((a|0)!=544501094){break n}if(d>>>0<=15){ve(3429,0);break b}a=qe[j[57972]](d?d:1)|0;if(a){j[57976]=j[57976]+1}if(!a){ve(3457,0);break b}g=j[c>>2];if(!(qe[j[g+8>>2]](g,a,d,1)|0)){j[o>>2]=d;ve(3471,o);break b}if(l[a>>1]!=1){q=3508;break c}j[c+8>>2]=j[a+4>>2];u=1;q=3533;s=1;o:{p:{d=l[a+14>>1];switch(d-8|0){case 0:break o;case 8:break p;default:break c}}s=2;d=32784}i[c+12>>1]=d;d=l[a+2>>1];i[c+16>>1]=4096;h[c+14|0]=d;j[c+20>>2]=p(d&255,s)<<12;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break m}a=j[c>>2];n=qe[j[a+4>>2]](a,0,0,1)|0;j[c+40>>2]=n;a=pe;j[c+44>>2]=a;n=d+n|0;j[c+48>>2]=n;j[c+52>>2]=d>>>0>n>>>0?a+1|0:a;v=1;a=j[c>>2];qe[j[a+4>>2]](a,d,0,1)|0;break m}g=qe[j[57972]](d?d:1)|0;if(g){j[57976]=j[57976]+1}if(!g){ve(3457,0);break b}a=j[c>>2];if(!(qe[j[a+8>>2]](a,g,d,1)|0)){break f}if(j[g+28>>2]){q=g+36|0;a=0;while(1){d=q+p(a,24)|0;q:{if(j[d+4>>2]){break q}s=j[d+12>>2];r=j[d+8>>2];n=j[d+20>>2];f=mf(j[c+68>>2],p(j[c+64>>2],20)+20|0);if(!f){ve(3457,0);break q}t=j[c+64>>2];d=f+p(t,20)|0;j[d+16>>2]=n;j[d+12>>2]=n;j[d+8>>2]=s;j[d+4>>2]=r;j[c+64>>2]=t+1;j[c+68>>2]=f}a=a+1|0;if(a>>>0>2]){continue}break}}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}break m}qe[j[e+4>>2]](e,d,0,1)|0}a=_g(e);d=_g(e);if(d){continue}break}if(u){break l}}ve(3372,0);break b}if(v){break g}ve(3400,0);break b}f=j[c>>2];Wi(f);if((_g(f)|0)!=1179011393){break d}w=c+8|0;r:{while(1){s:{e=_g(f);a=Wi(f);x=qe[j[f+4>>2]](f,0,0,1)|0;g=pe;if(!a){break s}t:{if((e|0)!=1296912195){if((e|0)!=1145983827){break t}e=Wi(f);Wi(f);t=(qe[j[f+4>>2]](f,0,0,1)|0)+e|0;r=pe;j[c+40>>2]=t;j[c+44>>2]=e>>>0>t>>>0?r+1|0:r;n=1;break t}q=1;u=yo(f);v=Wi(f);s=yo(f);qe[j[f+8>>2]](f,o+22|0,10,1)|0;d=0;e=h[o+22|0];if((e|0)<0){break t}if((e&255)>>>0<64){d=1;break t}d=67108864;if((e|0)!=64){break t}d=8e8;e=k[o+23|0];if(e>>>0>28){break t}d=(k[o+25|0]<<15|k[o+24|0]<<23|k[o+26|0]<<7|k[o+27|0]>>>1)>>>29-e|0}if(n?q:0){break r}e=a;r=a+x|0;a=g;if((qe[j[f+4>>2]](f,r,e>>>0>r>>>0?a+1|0:a,0)|0)!=-1|(pe|0)!=-1){continue}}break}if(!n){ve(3591,0);break b}if(q){break r}ve(3621,0);break b}g=j[c+44>>2];n=s&65535;f=p(p(u&65535,v),n>>>3|0);e=f+j[c+40>>2]|0;j[c+48>>2]=e;j[c+52>>2]=e>>>0>>0?g+1|0:g;Oe(w,0,24);j[c+8>>2]=d;a=32776;u:{switch(n-8|0){case 8:break i;case 0:break h;default:break u}}ve(3651,0);break b}ve(3352,0);break b}a=36880}i[c+16>>1]=4096;h[c+14|0]=u;i[c+12>>1]=a}a=j[c+20>>2];a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[c+56>>2]=a;if(a){break e}a=j[c+68>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}a=j[c+60>>2];if(a){Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[o+16>>2]=d;ve(3471,o+16|0);break b}a=ll(l[c+12>>1],k[c+14|0],j[c+8>>2],l[131082],k[262166],j[65540]);j[c+60>>2]=a;if(!a){a=j[c+68>>2];v:{if(!a){break v}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[c+60>>2];if(!a){break v}Ih(a)}a=j[c+56>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break b}a=j[c>>2];qe[j[a+16>>2]](a)|0;break b}j[c+4>>2]=b;break a}ve(3557,0);break b}ve(q,0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0}oe=o+32|0;return c|0}function Bg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0;c=1;sP(+b);e=pP(1)|0;d=pP(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}sP(+a);j=pP(1)|0;t=pP(0)|0;p=j;if((j|0)==1072693248?!t:0){break c}d:{j=p&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(t|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((p|0)>-1){break h}q=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;q=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(p|0)<0){break e}return y(a)}c=r(a);if(!((j?(p&1073741823)!=1072693248:0)|t)){c=(g|0)<0?1/c:c;if((p|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((p|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?B:0}return(g|0)>0?B:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;sP(+(c+k));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;sP(+a);e=pP(1)|0;pP(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;s=o[g+226800>>3];sP(+c);pP(1)|0;qP(0,pP(0)|0);qP(1,e|0);k=+rP();i=o[g+226768>>3];n=k-i;u=1/(i+k);c=n*u;sP(+c);d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();w=a;v=a*a;x=n;qP(0,0);qP(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+rP();k=u*(x-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);sP(+(v+3+i));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();n=w*a;c=k*a+c*(i-(a+ -3-v));sP(+(n+c));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a*.9617967009544373;k=o[g+226784>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);sP(+(s+(i+k)+c));d=pP(1)|0;pP(0)|0;qP(0,0);qP(1,d|0);a=+rP();i=a-c-s-i}qP(0,0);qP(1,l|0);s=+rP();c=a*s;a=(k-i)*b+(b-s)*a;b=c+a;sP(+b);f=pP(1)|0;d=pP(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;qP(0,0);qP(1,e&-1048576>>l-1023);c=c- +rP();sP(+(a+c));d=pP(1)|0;pP(0)|0}qP(0,0);qP(1,d|0);b=+rP();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;sP(+a);d=pP(1)|0;e=pP(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=Kg(a,f);break n}qP(0,e|0);qP(1,d|0);a=+rP()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function EJ(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=0,u=q(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=q(0),V=q(0),W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;m=oe;W=m;s=j[c+4>>2];x=16;a:{if(!j[s+500>>2]){break a}x=j[s+508>>2]}H=j[c>>2];k=2;a=a<<2;J=j[(a+(p(j[s>>2],60)+b|0)|0)+132>>2];a=a+b|0;y=j[a+252>>2];l=j[a+312>>2];L=i<<2;a=L+15&-16;z=m-a|0;b=z;oe=b;A=b-a|0;b=A;oe=b;C=b-a|0;b=C;oe=b;B=b-a|0;b=B;oe=b;M=b-a|0;oe=M;N=p(x,L);a=N+15&-16;b=M-a|0;oe=b;j[z>>2]=b;D=b-a|0;s=D;oe=s;j[A>>2]=s;s=s-a|0;oe=s;j[C>>2]=s;m=s-a|0;oe=m;j[B>>2]=m;b:{if((i|0)<2){break b}a=x<<2;j[z+4>>2]=a+b;j[A+4>>2]=a+D;j[C+4>>2]=a+s;j[B+4>>2]=a+m;if((i|0)==2){break b}while(1){s=j[B>>2];m=j[C>>2];D=j[A>>2];a=k<<2;b=p(k,x)<<2;j[a+z>>2]=b+j[z>>2];j[a+A>>2]=b+D;j[a+C>>2]=b+m;j[a+B>>2]=b+s;k=k+1|0;if((k|0)!=(i|0)){continue}break}}c:{if((H|0)<=0){a=j[d+1156>>2];break c}X=o[(l<<3)+((H|0)>1e3?4272:4192)>>3];Y=o[(y<<3)+4192>>3];Z=j[B>>2];_=(i|0)<1;s=H;m=0;while(1){D=Ae(M,g,L);Ee(Z,0,N);a=H-m|0;y=(a|0)<(x|0)?a:x;K=(s|0)>(x|0)?x:s;if(!_){G=J-m|0;l=0;while(1){v=m<<2;a=l<<2;E=v+j[a+f>>2]|0;d:{e:{f:{if(j[a+D>>2]){k=0;b=j[a+C>>2];g:{if((y|0)<=0){break g}while(1){t=k<<2;n[t+b>>2]=n[(j[t+E>>2]<<2)+4352>>2];k=k+1|0;if((K|0)!=(k|0)){continue}break}if((y|0)<1){break g}t=a+e|0;w=v+j[t>>2]|0;F=j[a+B>>2];k=0;while(1){v=k<<2;j[v+F>>2]=q((k|0)<(G|0)?Y:X)>q(q(r(n[v+w>>2]))/n[b+v>>2])^1;k=k+1|0;if((y|0)!=(k|0)){continue}break}if((y|0)>0){break f}}v=j[a+A>>2];a=j[a+z>>2];break e}if((y|0)<1){break d}k=j[a+B>>2];v=j[a+A>>2];t=j[a+z>>2];w=j[a+C>>2];b=0;while(1){a=b<<2;j[a+w>>2]=786163455;j[a+t>>2]=0;j[a+v>>2]=0;j[a+k>>2]=0;j[a+E>>2]=0;b=b+1|0;if((K|0)!=(b|0)){continue}break}break d}v=j[a+A>>2];a=j[a+z>>2];F=j[t>>2];k=0;while(1){t=k<<2;w=t+a|0;I=F+(k+m<<2)|0;u=n[I>>2];u=q(u*u);n[w>>2]=u;n[v+t>>2]=u;if(!(n[I>>2]>2]=-n[w>>2]}t=b+t|0;u=n[t>>2];n[t>>2]=u*u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Eq(c,J,a,v,b,0,m,y,E)}l=l+1|0;if((l|0)!=(i|0)){continue}break}}a=j[d+1156>>2];if((a|0)>=1){$=J-m|0;aa=h-m|0;F=0;while(1){k=(F<<2)+d|0;b=j[k+2184>>2]<<2;l=j[b+f>>2];k=j[k+1160>>2]<<2;w=j[k+f>>2];I=j[b+B>>2];O=j[k+B>>2];ba=j[b+C>>2];P=j[k+C>>2];Q=j[b+A>>2];E=j[k+A>>2];v=j[b+z>>2];t=j[k+z>>2];k=k+D|0;if(!(j[b+D>>2]?0:!j[k>>2])){a=m<<2;R=a+w|0;j[b+D>>2]=1;j[k>>2]=1;if((y|0)>=1){S=a+l|0;k=0;while(1){h:{if((k|0)>=(aa|0)){break h}i:{a=k<<2;b=a+O|0;if(!j[b>>2]){l=a+I|0;if(!j[l>>2]){break i}}l=a+t|0;n[l>>2]=q(r(n[l>>2]))+q(r(n[a+v>>2]));l=a+E|0;n[l>>2]=n[l>>2]+n[a+Q>>2];j[a+I>>2]=1;j[b>>2]=1;w=a+R|0;l=j[w>>2];T=l>>31;G=a+S|0;b=j[G>>2];a=b>>31;j:{if((T^l+T)>(a^a+b)){a=(l|0)>0?l-b|0:b-l|0;j[G>>2]=a;b=j[w>>2];l=0-b|0;break j}j[G>>2]=(b|0)>0?l-b|0:b-l|0;j[w>>2]=b;a=j[G>>2];l=0-b|0}if(((b|0)<0?l:b)<<1>(a|0)){break h}j[G>>2]=0-a;j[w>>2]=0-j[w>>2];break h}k:{if((k|0)<($|0)){b=a+t|0;u=q(n[a+v>>2]+n[b>>2]);n[b>>2]=u;n[a+E>>2]=r(u);break k}b=a+t|0;U=n[b>>2];V=n[a+v>>2];u=q(q(r(U))+q(r(V)));n[a+E>>2]=u;if(!(q(U+V)>2]=-u;break k}n[b>>2]=u}j[a+Q>>2]=0;j[a+v>>2]=0;j[l>>2]=1;j[a+S>>2]=0}a=k<<2;b=a+ba|0;a=a+P|0;u=q(n[a>>2]+n[b>>2]);n[b>>2]=u;n[a>>2]=u;k=k+1|0;if((K|0)!=(k|0)){continue}break}}Eq(c,J,t,E,P,O,m,y,R);a=j[d+1156>>2]}F=F+1|0;if((F|0)<(a|0)){continue}break}}s=s-x|0;m=m+x|0;if((H|0)>(m|0)){continue}break}}k=0;if((a|0)>0){while(1){b=(k<<2)+d|0;c=(j[b+1160>>2]<<2)+g|0;if(!(j[(j[b+2184>>2]<<2)+g>>2]?0:!j[c>>2])){j[c>>2]=1;j[(j[b+2184>>2]<<2)+g>>2]=1;a=j[d+1156>>2]}k=k+1|0;if((k|0)<(a|0)){continue}break}}oe=W}function Ur(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;d=oe-32|0;oe=d;a:{b:{switch(j[a+44>>2]){case 1:j[a>>2]=b;j[a+4>>2]=b+11796480;e=Tr(a,0);break a;case 2:g=j[a+60>>2];of(d+8|0,g,b+5898240|0);of(d+16|0,g,b);f=j[d+16>>2]+(j[d+8>>2]+j[a+8>>2]|0)|0;j[d+16>>2]=f;e=j[d+20>>2]+(j[d+12>>2]+j[a+12>>2]|0)|0;j[d+20>>2]=e;c:{d:{e:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break e}c=j[a+64>>2];f:{if(!c){break f}i=j[a+72>>2]+(c-1<<3)|0;if((j[i>>2]-f|0)+1>>>0>2){break f}if((j[i+4>>2]-e|0)+1>>>0<3){break d}}f=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;g:{if(e>>>0<=f>>>0){f=j[a+76>>2];break g}i=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(i,8,f,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}f=xe(i,1,f,c,j[a+76>>2],d+28|0);j[a+76>>2]=f;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}i=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=i;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+8|0,g,b-5898240|0);of(d+16|0,g,b);b=j[d+16>>2]+(j[a+8>>2]+j[d+8>>2]|0)|0;j[d+16>>2]=b;f=j[d+20>>2]+(j[a+12>>2]+j[d+12>>2]|0)|0;j[d+20>>2]=f;h:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break h}c=j[a+64>>2];i:{if(!c){break i}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break i}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+28>>2]=0;e=c+1|0;j:{if(e>>>0<=b>>>0){b=j[a+76>>2];break j}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+28|0),j[l+72>>2]=m;e=j[d+28>>2];if(e){break c}b=xe(f,1,b,c,j[a+76>>2],d+28|0);j[a+76>>2]=b;e=j[d+28>>2];if(e){break c}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0;break a;case 0:break b;default:break a}}i=j[a+60>>2];of(d+16|0,i,b+5898240|0);f=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=f;e=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=e;k:{l:{m:{if(k[a+80|0]){f=j[d+20>>2];c=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[c>>2]=j[d+16>>2];j[c+4>>2]=f;break m}c=j[a+64>>2];n:{if(!c){break n}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-f|0)+1>>>0>2){break n}if((j[g+4>>2]-e|0)+1>>>0<3){break l}}f=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;o:{if(e>>>0<=f>>>0){f=j[a+76>>2];break o}g=j[a+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(g,8,f,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}f=xe(g,1,f,c,j[a+76>>2],d+8|0);j[a+76>>2]=f;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}g=j[d+20>>2];e=j[a+72>>2]+(c<<3)|0;j[e>>2]=j[d+16>>2];j[e+4>>2]=g;h[c+f|0]=1;j[a+64>>2]=j[a+64>>2]+1}h[a+80|0]=0}of(d+16|0,i,b-5898240|0);b=j[d+16>>2]+j[a+8>>2]|0;j[d+16>>2]=b;f=j[d+20>>2]+j[a+12>>2]|0;j[d+20>>2]=f;p:{if(k[a+80|0]){c=j[d+20>>2];b=(j[a+72>>2]+(j[a+64>>2]<<3)|0)-8|0;j[b>>2]=j[d+16>>2];j[b+4>>2]=c;break p}c=j[a+64>>2];q:{if(!c){break q}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-b|0)+1>>>0>2){break q}e=0;if((j[g+4>>2]-f|0)+1>>>0<3){break a}}b=j[a+68>>2];j[d+8>>2]=0;e=c+1|0;r:{if(e>>>0<=b>>>0){b=j[a+76>>2];break r}f=j[a+88>>2];c=b;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}l=a,m=xe(f,8,b,c,j[a+72>>2],d+8|0),j[l+72>>2]=m;e=j[d+8>>2];if(e){break k}b=xe(f,1,b,c,j[a+76>>2],d+8|0);j[a+76>>2]=b;e=j[d+8>>2];if(e){break k}j[a+68>>2]=c;c=j[a+64>>2]}e=j[d+20>>2];f=j[a+72>>2]+(c<<3)|0;j[f>>2]=j[d+16>>2];j[f+4>>2]=e;h[b+c|0]=1;j[a+64>>2]=j[a+64>>2]+1}e=0}h[a+80|0]=0}oe=d+32|0;return e}function Kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=oe-16|0;oe=e;t=j[a+36>>2];b=j[a+20>>2];u=j[a+16>>2];c=j[a>>2];n=j[a+28>>2];p=j[a+24>>2];d=j[a+40>>2];r=k[d+9|0];f=j[a+44>>2];s=k[f+9|0];a:{if(!((r|0)!=4|(s|0)!=4|(j[d>>2]==372711428|j[f>>2]==372711428))){hh(d,f,e+12|0,e+8|0,e+4|0,e,0);if(!n){break a}q=p&7;p=(p+7|0)/8|0;b:while(1){g=p;c:{d:{switch(q-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=1;continue;case 1:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=2;continue;case 2:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=3;continue;case 3:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=4;continue;case 4:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=5;continue;case 5:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=6;continue;case 6:h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;a=7;continue;default:break e}}a=n-1|0;h[b|0]=k[j[e+12>>2]+c|0];h[b+1|0]=k[j[e+8>>2]+c|0];h[b+2|0]=k[j[e+4>>2]+c|0];h[b+3|0]=k[j[e>>2]+c|0];b=b+4|0;c=c+4|0;f:{if((g|0)>1){g=g-1|0;break f}b=b+t|0;c=c+u|0;n=a;if(a){continue b}break a}a=0;continue}}}if(!n){break a}v=s-1|0;while(1){n=n-1|0;q=p;if(p){while(1){a=0;g=0;m=0;o=0;g:{h:{switch(r-1|0){case 0:a=k[c|0];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 1:a=l[c>>1];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0];break g;case 2:m=k[(k[d+34|0]>>>3|0)+c|0];g=k[(k[d+33|0]>>>3|0)+c|0];a=k[(k[d+32|0]>>>3|0)+c|0];o=255;break g;case 3:break h;default:break g}}a=j[c>>2];o=k[j[(k[d+31|0]<<2)+234976>>2]+((a&j[d+24>>2])>>>k[d+35|0]|0)|0];m=k[j[(k[d+30|0]<<2)+234976>>2]+((a&j[d+20>>2])>>>k[d+34|0]|0)|0];g=k[j[(k[d+29|0]<<2)+234976>>2]+((a&j[d+16>>2])>>>k[d+33|0]|0)|0];a=k[j[(k[d+28|0]<<2)+234976>>2]+((a&j[d+12>>2])>>>k[d+32|0]|0)|0]}i:{j:{switch(v|0){case 0:h[b|0]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>1]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>>3|0)+b|0]=a;h[(k[f+33|0]>>>3|0)+b|0]=g;h[(k[f+34|0]>>>3|0)+b|0]=m;break i;case 3:break j;default:break i}}j[b>>2]=g>>>k[f+29|0]<>>k[f+28|0]<>>k[f+30|0]<>>k[f+31|0]<>2];g=j[a+104>>2];s=j[g+28>>2];j[o+4>>2]=0;e=6;a:{if(!r|!k[a+672|0]){break a}e=0;if(m[r+32>>2]<=b>>>0){break a}a=j[r+36>>2];f=b+1|0;if(j[a+(b<<2)>>2]==j[a+(f<<2)>>2]){break a}a=0;u=xe(s,8,0,d,0,o+12|0);b:{if(j[o+12>>2]){break b}a=xe(s,1,0,d,0,o+12|0);if(j[o+12>>2]){break b}e=b<<2;b=Fe(g,j[e+j[r+36>>2]>>2]);j[o+12>>2]=b;if(b){break b}b=j[r+36>>2];b=_e(g,j[b+(f<<2)>>2]-j[b+e>>2]|0);j[o+12>>2]=b;if(b){break b}e=j[g>>2];b=j[g+32>>2];z=xe(s,4,0,j[r>>2],0,o+12|0);c:{if(j[o+12>>2]){break c}D=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}E=xe(s,4,0,j[r>>2],0,o+12|0);if(j[o+12>>2]){break c}n=af(g);A=af(g)+(b-e|0)|0;if(n&32768){f=j[g+32>>2];b=j[g>>2];j[g+32>>2]=b+A;J=Ul(g,o+4|0);e=j[g+32>>2];f=f-b|0;b=j[g>>2];j[g+32>>2]=f+b;A=e-b|0}F=n&4095;if(!F){break c}G=j[o+4>>2];while(1){K=af(g);d:{e:{f:{g:{f=af(g);h:{if(f&32768){b=0;if(!j[r>>2]){break h}while(1){M=(b<<2)+z|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}break h}b=f&4095;if(b>>>0>=m[r+24>>2]){break g}e=b;b=j[r>>2];Ae(z,j[r+28>>2]+(p(e,b)<<2)|0,b<<2)}i:{if(!(f&16384)){break i}b=0;if(!j[r>>2]){break i}while(1){M=(b<<2)+D|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;e=j[r>>2];if(b>>>0>>0){continue}break}b=0;if(!e){break i}while(1){M=(b<<2)+E|0,N=af(g)<<16>>16<<2,j[M>>2]=N;b=b+1|0;if(b>>>0>2]){continue}break}}t=qq(r,f,z,D,E);if(!t){break d}H=j[g>>2];L=j[g+32>>2];j:{if(f&8192){j[g+32>>2]=A+H;x=Ul(g,o+8|0);f=j[o+8>>2];b=x;break j}j[o+8>>2]=G;f=G;x=q;b=J}e=f?f:d;B=Tl(g,e);C=Tl(g,e);if(!B|(!b|!C)){break e}k:{if((b|0)!=-1){b=0;if(d){break k}break f}b=0;if(!d){break e}while(1){q=b<<1;f=ye(i[q+B>>1],t);n=b<<3;e=n+j[c+4>>2]|0;j[e>>2]=f+j[e>>2];f=ye(i[q+C>>1],t);e=n+j[c+4>>2]|0;j[e+4>>2]=f+j[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}break e}while(1){e=b<<3;q=e+u|0;n=e+j[c+4>>2]|0;e=j[n+4>>2];j[q>>2]=j[n>>2];j[q+4>>2]=e;h[a+b|0]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break f}j[o+12>>2]=8;break c}b=0;if(f){while(1){v=b<<1;e=l[v+x>>1];if(e>>>0>>0){h[a+e|0]=1;n=ye(i[B+v>>1],t);q=e<<3;e=q+j[c+4>>2]|0;j[e>>2]=n+j[e>>2];n=ye(i[C+v>>1],t);e=q+j[c+4>>2]|0;j[e+4>>2]=n+j[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(!l[c>>1]){break e}y=j[c+4>>2];t=0;e=0;while(1){q=e;b=e;w=i[j[c+12>>2]+(t<<1)>>1];l:{if(b>>>0>w>>>0){break l}while(1){m:{e=b+1|0;if(k[a+b|0]){break m}b=e;if(w>>>0>=b>>>0){continue}break l}break}n=b;f=b;n:{o:{p:{if(e>>>0<=w>>>0){while(1){if(k[a+e|0]){Rl(f+1|0,n,f,e,u,y);f=e}n=e;e=e+1|0;if(w>>>0>=e>>>0){continue}break}if((b|0)!=(f|0)){break p}}f=b<<3;n=f+y|0;f=f+u|0;v=j[n+4>>2]-j[f+4>>2]|0;f=j[n>>2]-j[f>>2]|0;if(!(v|f)){break l}if((b|0)>(q|0)){break o}break n}Rl(f+1|0,w,f,b,u,y);if(!b){break l}Rl(q,b-1|0,f,b,u,y);break l}while(1){n=y+(q<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];q=q+1|0;if((q|0)!=(b|0)){continue}break}}if((b|0)>=(w|0)){break l}while(1){b=b+1|0;n=y+(b<<3)|0;j[n>>2]=f+j[n>>2];j[n+4>>2]=v+j[n+4>>2];if((b|0)!=(w|0)){continue}break}}t=t+1|0;if((t|0)>1]){continue}break}}q=-1;if((x|0)!=-1){if(x){qe[j[s+8>>2]](s,x)}q=0}b=s;if(B){qe[j[b+8>>2]](b,B)}if(C){qe[j[s+8>>2]](s,C)}j[g+32>>2]=j[g>>2]+(L-H|0)}A=A+K|0;I=I+1|0;if((I|0)!=(F|0)){continue}break}}b=s;if(z){qe[j[b+8>>2]](b,z)}if(D){qe[j[b+8>>2]](b,D)}if(E){qe[j[s+8>>2]](s,E)}Ve(g)}if(u){qe[j[s+8>>2]](s,u)}if(a){qe[j[s+8>>2]](s,a)}e=j[o+12>>2]}oe=o+16|0;return e}function pm(a,b,c,d,e,f,g,i,l,m){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;n=oe-192|0;oe=n;j[n+144>>2]=0;j[n+148>>2]=0;j[n+152>>2]=0;j[n+156>>2]=0;j[n+160>>2]=0;j[n+164>>2]=0;j[n+168>>2]=0;j[n+172>>2]=0;j[n+176>>2]=0;j[n+180>>2]=0;j[n+184>>2]=0;j[n+188>>2]=0;j[n+128>>2]=0;j[n+132>>2]=0;j[n+136>>2]=0;j[n+140>>2]=0;t=n+128|4;o=b;p=a;while(1){s=(n+128|0)+(j[p>>2]<<2)|0;j[s>>2]=j[s>>2]+1;p=p+4|0;o=o-1|0;if(o){continue}break}a:{if(j[n+128>>2]==(b|0)){j[f>>2]=0;j[g>>2]=0;break a}p=j[g>>2];q=1;o=g;b:{c:{d:{e:{f:{g:{s=j[n+132>>2];if(s){break g}q=2;if(j[n+136>>2]){break g}q=3;if(j[n+140>>2]){break g}q=4;if(j[n+144>>2]){break g}q=5;if(j[n+148>>2]){break g}q=6;if(j[n+152>>2]){break g}q=7;if(j[n+156>>2]){break g}q=8;if(j[n+160>>2]){break g}q=9;if(j[n+164>>2]){break g}q=10;if(j[n+168>>2]){break g}q=11;if(j[n+172>>2]){break g}q=12;if(j[n+176>>2]){break g}q=13;if(j[n+180>>2]){break g}q=14;if(j[n+184>>2]){break g}if(j[n+188>>2]){q=15;p=p>>>0>15?p:15;C=1;r=15;break e}q=16;p=p>>>0>16?p:16;break f}p=p>>>0>>0?q:p;if(!j[n+188>>2]){break f}r=15;u=p>>>0<15?p:15;j[g>>2]=u;o=1<>2]){break d}r=13;if(j[n+180>>2]){break d}r=12;if(j[n+176>>2]){break d}r=11;if(j[n+172>>2]){break d}r=10;if(j[n+168>>2]){break d}r=9;if(j[n+164>>2]){break d}r=8;if(j[n+160>>2]){break d}r=7;if(j[n+156>>2]){break d}r=6;if(j[n+152>>2]){break d}r=5;if(j[n+148>>2]){break d}r=4;if(j[n+144>>2]){break d}r=3;if(j[n+140>>2]){break d}r=2;if(j[n+136>>2]){break d}C=!s;r=(s|0)!=0}u=p>>>0>r>>>0?r:p;j[o>>2]=u;o=1<>>0>r>>>0?r:p;j[g>>2]=u;C=1;o=1<>>0>=r>>>0){break b}}p=q;while(1){g=o-j[(n+128|0)+(p<<2)>>2]|0;if((g|0)<0){D=-3;break a}C=1;o=g<<1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}D=-3;g=(n+128|0)+(r<<2)|0;E=o-j[g>>2]|0;if((E|0)<0){break a}j[g>>2]=o;j[n+4>>2]=0;o=r-1|0;if(o){p=n|8;while(1){v=j[t>>2]+v|0;j[p>>2]=v;p=p+4|0;t=t+4|0;o=o-1|0;if(o){continue}break}}g=b>>>0>1?b:1;p=0;while(1){b=j[a>>2];if(b){o=(b<<2)+n|0;b=j[o>>2];j[o>>2]=b+1;j[(b<<2)+m>>2]=p}a=a+4|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}j[n+64>>2]=0;a=j[(r<<2)+n>>2];j[n>>2]=0;if(q>>>0<=r>>>0){t=0-u|0;G=(a<<2)+m|0;v=0;a=0;b=0;p=-1;while(1){F=(n+128|0)+(q<<2)|0;y=j[F>>2];if(y){H=1<>>0<=y>>>0){break i}o=g;a=r-t|0;A=a>>>0>u>>>0?u:a;if(o>>>0>=A>>>0){break i}o=g+1|0;if(A>>>0<=o>>>0){break i}a=u>>>0>>0?u:z;v=p-y|0;p=F;while(1){v=v<<1;B=j[p+4>>2];if(v>>>0<=B>>>0){break i}p=p+4|0;v=v-B|0;o=o+1|0;if(A>>>0>o>>>0){continue}break}o=a}v=1<>2];A=v+a|0;if(A>>>0>1440){break a}p=s+1|0;B=p<<2;a=(a<<3)+i|0;j[B+(n- -64|0)>>2]=a;j[l>>2]=A;j:{if(p){j[n+B>>2]=b;w=j[(n- -64|0)+(s<<2)>>2];x=b>>>x|0;s=w+(x<<3)|0;h[s+1|0]=u;h[s|0]=o;w=(a-w>>3)-x|0;j[s+4>>2]=w;break j}j[f>>2]=a}z=z-u|0;x=t;s=p;o=t+u|0;if((q|0)>(o|0)){continue}break}}s=192;k:{if(m>>>0>=G>>>0){break k}w=j[m>>2];if(w>>>0>>0){s=w>>>0<256?0:96;m=m+4|0;break k}m=m+4|0;o=w-c<<2;s=k[o+e|0]+80|0;w=j[d+o>>2]}o=b>>>t|0;if(v>>>0>o>>>0){z=1<>2]=w;h[x+1|0]=g;h[x|0]=s;o=o+z|0;if(v>>>0>o>>>0){continue}break}}o=H;if(o&b){while(1){b=b^o;o=o>>>1|0;if(b&o){continue}break}}y=y-1|0;b=b^o;if(j[(p<<2)+n>>2]!=(b&(-1<>2]!=((-1<>2];u=j[a+40>>2];q=j[a+36>>2];h[f+47|0]=0;h[f+48|0]=0;h[f+49|0]=0;h[f+50|0]=0;h[f+51|0]=0;h[f+52|0]=0;h[f+53|0]=0;h[f+54|0]=0;j[f+40>>2]=0;j[f+44>>2]=0;j[f+32>>2]=0;j[f+36>>2]=0;j[f+16>>2]=0;j[f+24>>2]=0;j[f+28>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;c=p(b,1468)+a|0;w=c;j[c+44>>2]=0;g=j[c+68>>2];e=j[a+28>>2];m=j[a+24>>2];c=e+p(m,40)|0;a:{if(!b){if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+12>>1];j[e+28>>2]=i[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((m|0)<1){break a}while(1){j[e+24>>2]=i[e+14>>1];j[e+28>>2]=i[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((q|0)<1){break b}z=(q<<2)+u|0;r=p(b,1468)+a|0;x=r+72|0;c=g>>31;t=c+g^c;g=t;while(1){c:{s=j[u>>2];e=j[s+36>>2];if((e|0)==(s|0)){break c}c=h[e+3|0];m=c>>31;m=m^c+m;d:{if((m|0)!=(t|0)){break d}c=h[s+3|0];q=c>>31;if((q^c+q)!=(t|0)){break d}if((m|0)==(t|0)){while(1){if((e|0)==(s|0)){break d}e=j[e+36>>2];c=h[e+3|0];m=c>>31;if((m^c+m)==(t|0)){continue}break}}s=j[e+32>>2]}c=0;o=-32e3;n=32e3;e=s;m=0;while(1){q=1;e:{if(!c){break e}c=j[e+24>>2];o=(c|0)>(o|0)?c:o;n=(c|0)<(n|0)?c:n;if(!((e|0)==(s|0)|h[e+3|0]!=(g|0))){q=0;break e}j[d+44>>2]=e;i[d+2>>1]=n+o>>>1;c=j[d+40>>2];if((l[e>>1]|l[c>>1])&3){h[d|0]=k[d|0]|1}n=j[c+28>>2];c=j[e+28>>2];o=(c|0)<(n|0)?n:c;i[d+6>>1]=o;n=(c|0)>(n|0)?n:c;i[d+4>>1]=n;i[d+8>>1]=o-n;d=0}if((e|0)==(s|0)){c=m;m=1;if(c){break c}}v=1;f:{if(!q){break f}q=h[e+3|0];c=q>>31;v=0;if((c^c+q)!=(t|0)){break f}j[f+60>>2]=0;d=j[w+44>>2];g:{if((d|0)<=17){if(j[r+52>>2]){break g}j[r+52>>2]=x;j[r+48>>2]=18;break g}o=j[r+48>>2];if((o|0)>(d|0)){break g}if((o|0)>44739241){n=64;break b}c=(o+(o>>2)|0)+4|0;g=(o|0)<-16?44739242:(c|0)>44739242?44739242:c;c=j[r+52>>2];h:{if((c|0)==(x|0)){c=xe(y,48,0,g,0,f+60|0);j[r+52>>2]=c;n=j[f+60>>2];if(n){break b}Ae(c,x,864);break h}A=r,B=xe(y,48,o,g,c,f+60|0),j[A+52>>2]=B;n=j[f+60>>2];if(n){break b}}j[r+48>>2]=g;d=j[w+44>>2]}c=j[r+52>>2];j[w+44>>2]=d+1;d=c+p(d,48)|0;h[d|0]=0;g=j[f+28>>2];c=j[f+24>>2];h[d+1|0]=c;h[d+2|0]=c>>>8;h[d+3|0]=c>>>16;h[d+4|0]=c>>>24;h[d+5|0]=g;h[d+6|0]=g>>>8;h[d+7|0]=g>>>16;h[d+8|0]=g>>>24;g=j[f+36>>2];c=j[f+32>>2];h[d+9|0]=c;h[d+10|0]=c>>>8;h[d+11|0]=c>>>16;h[d+12|0]=c>>>24;h[d+13|0]=g;h[d+14|0]=g>>>8;h[d+15|0]=g>>>16;h[d+16|0]=g>>>24;g=j[f+44>>2];c=j[f+40>>2];h[d+17|0]=c;h[d+18|0]=c>>>8;h[d+19|0]=c>>>16;h[d+20|0]=c>>>24;h[d+21|0]=g;h[d+22|0]=g>>>8;h[d+23|0]=g>>>16;h[d+24|0]=g>>>24;g=k[f+51|0]|k[f+52|0]<<8|(k[f+53|0]<<16|k[f+54|0]<<24);c=k[f+47|0]|k[f+48|0]<<8|(k[f+49|0]<<16|k[f+50|0]<<24);h[d+24|0]=c;h[d+25|0]=c>>>8;h[d+26|0]=c>>>16;h[d+27|0]=c>>>24;h[d+28|0]=g;h[d+29|0]=g>>>8;h[d+30|0]=g>>>16;h[d+31|0]=g>>>24;j[d+32>>2]=32e3;c=j[f+12>>2];j[d+36>>2]=j[f+8>>2];j[d+40>>2]=c;j[d+44>>2]=j[f+16>>2];h[d+1|0]=q;n=j[e+24>>2];j[d+44>>2]=e;j[d+40>>2]=e;o=n;g=q;v=1}c=v;e=j[e+32>>2];continue}}u=u+4|0;if(z>>>0>u>>>0){continue}break}n=0;c=j[w+44>>2];if((c|0)<1){break b}e=j[(p(b,1468)+a|0)+52>>2];b=e+p(c,48)|0;while(1){a=j[e+40>>2];g=j[j[a+36>>2]+28>>2];m=j[a+28>>2];a=j[e+44>>2];c=j[a+28>>2];i:{if((m|0)<(c|0)){if((g|0)<(m|0)){i[e+8>>1]=l[e+8>>1]+(m-g>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)<=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(a-c>>>1|0);break i}if((g|0)>(m|0)){i[e+8>>1]=l[e+8>>1]+(g-m>>>1|0)}a=j[j[a+32>>2]+28>>2];if((a|0)>=(c|0)){break i}i[e+8>>1]=l[e+8>>1]+(c-a>>>1|0)}e=e+48|0;if(b>>>0>e>>>0){continue}break}}oe=f- -64|0;return n}function UG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=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;d=oe-16|0;oe=d;n=j[b+16>>2];p=j[b+8>>2];q=j[a+488>>2];a:{b:{e=qe[j[b+36>>2]](b)|0;if((e|0)<0){c=3;break b}if(j[b+12>>2]|!e){break a}l=b+260|0;o=b+156|0;m=b+208|0;if(!j[b+152>>2]){f=e+6|0;c=qe[j[j[q>>2]>>2]](m,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](o,f,n)|0;if(c){break b}c=qe[j[j[q>>2]>>2]](l,4,n)|0;j[d+12>>2]=c;if(c){break b}}qe[j[b+28>>2]](b);c:{c=j[b>>2];if(p>>>0<=c>>>0){j[b+152>>2]=0;break c}w=e+5|0;d:{while(1){e:{f:{if(c+3>>>0>=p>>>0){break f}g:{switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break g;default:break f}}h:{switch(k[c|0]-100|0){case 0:if(!g|k[c+1|0]!=101|k[c+2|0]!=102){break f}break e;case 1:break h;default:break f}}if(k[c+1|0]!=110){break f}if(k[c+2|0]==100){break e}}qe[j[b+32>>2]](b);i=j[b>>2];if(i>>>0>=p>>>0){c=3;j[d+12>>2]=3;break b}if(j[b+12>>2]){break a}i:{if(k[c|0]!=47){break i}if(c+2>>>0>=p>>>0){j[d+12>>2]=3;break d}r=j[j[a+128>>2]+48>>2];f=j[b+8>>2];qe[j[b+28>>2]](b);j:{e=j[b>>2];k:{if(e>>>0>=f>>>0|k[e|0]-48>>>0>9){break k}e=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((e|0)<0){break k}t=f;u=j[b>>2];f=u+1|0;if((e|0)<(t-f|0)){break j}}if(r){break a}j[b+12>>2]=3;break a}j[b>>2]=(e+u|0)+1;if(j[b+12>>2]){break a}if(j[b+152>>2]){break i}c=c+1|0;i=i-c|0;r=qe[j[b+200>>2]](o,g,c,i+1|0)|0;j[d+12>>2]=r;if(r){break d}t=i;i=g<<2;h[t+j[i+j[b+180>>2]>>2]|0]=0;if(k[c|0]==46){c=we(201692,j[i+j[b+180>>2]>>2]);v=c?v:1;s=c?s:g}l:{m:{if((g|0)>=(w|0)){break m}c=j[a+172>>2];if((c|0)<0){break m}if(c>>>0>=e>>>0){j[d+12>>2]=3;c=j[d+12>>2];break b}c=He(n,e,d+12|0);if(j[d+12>>2]){break d}c=Ae(c,f,e);qe[j[q+16>>2]](c,e,4330);f=j[a+172>>2];x=d,y=qe[j[b+252>>2]](m,g,f+c|0,e-f|0)|0,j[x+12>>2]=y;if(c){qe[j[n+8>>2]](n,c)}c=j[d+12>>2];break l}c=qe[j[b+252>>2]](m,g,f,e)|0;j[d+12>>2]=c}if(c){break d}g=g+1|0}qe[j[b+28>>2]](b);c=j[b>>2];if(p>>>0>c>>>0){continue}}break}j[b+152>>2]=g;if(!(v&255)){break c}a=j[j[b+180>>2]>>2];if(!we(201692,a)){break a}c=qe[j[b+304>>2]](l,0,a,j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}a=s<<2;c=qe[j[b+304>>2]](l,2,j[a+j[b+180>>2]>>2],j[a+j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,3,j[a+j[b+232>>2]>>2],j[a+j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,s,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,s,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,j[j[b+284>>2]+8>>2],j[j[b+288>>2]+8>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,j[j[b+284>>2]+12>>2],j[j[b+288>>2]+12>>2])|0;if(!c){break a}break b}c=j[d+12>>2];break b}h[d+8|0]=k[204e3];j[d+4>>2]=k[203996]|k[203997]<<8|(k[203998]<<16|k[203999]<<24);c=qe[j[b+304>>2]](l,0,j[j[b+180>>2]>>2],j[j[b+184>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+304>>2]](l,1,j[j[b+232>>2]>>2],j[j[b+236>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,0,201692,8)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,0,d+4|0,5)|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+200>>2]](o,g,j[j[b+284>>2]>>2],j[j[b+288>>2]>>2])|0;j[d+12>>2]=c;if(c){break b}c=qe[j[b+252>>2]](m,g,j[j[b+284>>2]+4>>2],j[j[b+288>>2]+4>>2])|0;if(c){break b}j[b+152>>2]=j[b+152>>2]+1;break a}j[b+12>>2]=c}oe=d+16|0}function mq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=oe-16|0;oe=f;j[b+12>>2]=0;j[b>>2]=c;i=c+d|0;j[b+8>>2]=i;qe[j[b+28>>2]](b);c=j[b>>2];a:{b:{if(i>>>0<=c>>>0){break b}m=a+132|0;o=a+164|0;p=a+168|0;q=a+460|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=k[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(i|0)){break h}if(d>>>0>=i>>>0){break d}switch(k[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(i|0)){break m}if(d>>>0>=i>>>0){break d}switch(k[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Qe(c,201732,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){qe[j[b+32>>2]](b);e=1;n=c;if(!j[b+12>>2]){break c}break b}g=c+6>>>0>=i>>>0;if(!(g|(d|0)!=82)){if(!e|k[c+1|0]!=68){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);n:{c=j[b>>2];o:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break o}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break o}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break n}}c=3;if(e){break a}break f}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g)){if(!e|k[c+1|0]!=124){break d}j[b>>2]=n;e=j[j[a+128>>2]+48>>2];d=j[b+8>>2];qe[j[b+28>>2]](b);p:{c=j[b>>2];q:{if(c>>>0>=d>>>0|k[c|0]-48>>>0>9){break q}c=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((c|0)<0){break q}g=d;d=j[b>>2];if((c|0)<(g+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}j[b>>2]=(c+d|0)+1;e=0;if(!j[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=i>>>0){break d}g=c+1|0;j[b>>2]=g;qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=0;c=j[b>>2];if(c>>>0>=i>>>0){break c}l=c-g|0;if(l-1>>>0>20){break c}r=k[g|0];c=201760;h=203464;while(1){d=c;r:{if(k[h|0]!=(r|0)){break r}if((Le(h)|0)!=(l|0)){break r}if(Cg(g,h,l)){break r}c=j[b+372>>2];if(!(j[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(we(h,203452)){break c}}h=j[a+528>>2];c=0;s:{if(!h){break s}c=j[h>>2]?h:0}g=b;l=j[d+8>>2];t:{if((l|0)==11){qe[j[d+12>>2]](a,b);c=j[b+12>>2];break t}u:{v:{w:{x:{y:{z:{A:{switch(j[d+4>>2]-2|0){case 1:j[f+12>>2]=m;if(c){break z}e=f+12|0;break v;case 2:j[f+12>>2]=p;e=f+12|0;if(!c){break v}e=c+212|0;break y;case 3:j[f+12>>2]=q;e=f+12|0;if(!c){break v}e=c+284|0;break y;case 4:j[f+12>>2]=b;e=f+12|0;break v;case 5:j[f+12>>2]=a;e=f+12|0;break v;case 6:j[f+12>>2]=h;e=f+12|0;c=0;break x;case 0:break w;default:break A}}j[f+12>>2]=m;e=f+12|0;break v}e=c+144|0}h=j[e>>2];c=j[c>>2]}if(h){break u}break g}j[f+12>>2]=o;e=f+12|0}c=0}if(l-9>>>0<=1){c=qe[j[b+68>>2]](b,d,e,c,0)|0;break t}c=qe[j[b+64>>2]](b,d,e,c,0)|0}j[g+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;h=j[d+36>>2];if(h){continue}break}break c}if(!Qe(c,201726,5)){break b}break d}e=0;j[b+12>>2]=0;break c}j[b+12>>2]=3;break a}B:{d=c+14|0;if((d|0)==(i|0)){break B}if(d>>>0>=i>>>0){break d}switch(k[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break B;default:break d}}if(Qe(c,201742,13)){break d}d=j[b+372>>2];if(d&1){j[b+372>>2]=d|2}j[b>>2]=c+13;break c}qe[j[b+32>>2]](b);e=0;if(j[b+12>>2]){break b}}qe[j[b+28>>2]](b);c=j[b>>2];if(i>>>0>c>>>0){continue}break}}c=j[b+12>>2]}oe=f+16|0;return c}function Al(a,b,c,d,e,f){var g=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;m=oe+ -64|0;j[m+48>>2]=0;j[m+52>>2]=0;j[m+56>>2]=0;j[m+60>>2]=0;j[m+32>>2]=0;j[m+36>>2]=0;j[m+40>>2]=0;j[m+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){o=(m+32|0)+(l[(p<<1)+b>>1]<<1)|0;i[o>>1]=l[o>>1]+1;p=p+1|0;if((p|0)!=(c|0)){continue}break}p=j[e>>2];q=15;v=l[m+62>>1];if(v){break d}break e}p=j[e>>2]}q=14;v=0;if(l[m+60>>1]){break d}q=13;if(l[m+58>>1]){break d}q=12;if(l[m+56>>1]){break d}q=11;if(l[m+54>>1]){break d}q=10;if(l[m+52>>1]){break d}q=9;if(l[m+50>>1]){break d}q=8;if(l[m+48>>1]){break d}q=7;if(l[m+46>>1]){break d}q=6;if(l[m+44>>1]){break d}q=5;if(l[m+42>>1]){break d}q=4;if(l[m+40>>1]){break d}q=3;if(l[m+38>>1]){break d}q=2;if(l[m+36>>1]){break d}if(!l[m+34>>1]){a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;a=j[d>>2];j[d>>2]=a+4;i[a>>1]=320;i[a+2>>1]=0;j[e>>2]=1;break b}r=(p|0)!=0;q=1;p=1;break c}r=p>>>0>q>>>0?q:p;g=1;p=1;while(1){if(l[(m+32|0)+(p<<1)>>1]){break c}p=p+1|0;if((q|0)!=(p|0)){continue}break}p=q}o=-1;t=l[m+34>>1];if(t>>>0>2){break a}u=l[m+36>>1];n=4-(u+(t<<1)|0)|0;if((n|0)<0){break a}w=l[m+38>>1];n=(n<<1)-w|0;if((n|0)<0){break a}x=l[m+40>>1];n=(n<<1)-x|0;if((n|0)<0){break a}z=l[m+42>>1];n=(n<<1)-z|0;if((n|0)<0){break a}A=l[m+44>>1];n=(n<<1)-A|0;if((n|0)<0){break a}D=l[m+46>>1];n=(n<<1)-D|0;if((n|0)<0){break a}E=l[m+48>>1];n=(n<<1)-E|0;if((n|0)<0){break a}B=l[m+50>>1];n=(n<<1)-B|0;if((n|0)<0){break a}G=l[m+52>>1];n=(n<<1)-G|0;if((n|0)<0){break a}H=l[m+54>>1];n=(n<<1)-H|0;if((n|0)<0){break a}s=l[m+56>>1];n=(n<<1)-s|0;if((n|0)<0){break a}C=l[m+58>>1];n=(n<<1)-C|0;if((n|0)<0){break a}F=l[m+60>>1];n=(n<<1)-F|0;if((n|0)<0){break a}n=(n<<1)-v|0;if((n|0)<0|(!a|g?n:0)){break a}o=0;i[m+2>>1]=0;i[m+4>>1]=t;g=t+u|0;i[m+6>>1]=g;g=g+w|0;i[m+8>>1]=g;g=g+x|0;i[m+10>>1]=g;g=g+z|0;i[m+12>>1]=g;g=g+A|0;i[m+14>>1]=g;g=g+D|0;i[m+16>>1]=g;g=g+E|0;i[m+18>>1]=g;g=g+B|0;i[m+20>>1]=g;g=g+G|0;i[m+22>>1]=g;g=g+H|0;i[m+24>>1]=g;g=g+s|0;i[m+26>>1]=g;g=g+C|0;i[m+28>>1]=g;i[m+30>>1]=g+F;if(c){while(1){g=l[(o<<1)+b>>1];if(g){g=(g<<1)+m|0;n=l[g>>1];i[g>>1]=n+1;i[(n<<1)+f>>1]=o}o=o+1|0;if((o|0)!=(c|0)){continue}break}}s=p>>>0>r>>>0?p:r;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:o=1;if(s>>>0>9){break a}t=256;z=223070;C=223006;E=1;break f;case 0:break f;default:break g}}D=(a|0)==2;t=-1;z=223712;C=223648;if((a|0)!=2){break f}o=1;if(s>>>0>9){break a}}u=1<>2];x=0;g=s;r=0;n=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=l[a+C>>1];a=k[a+z|0]}H=r>>>y|0;o=-1<>1]=g;h[B+1|0]=A;h[B|0]=a;if(c){continue}break}o=1<>>1|0;if(a&r){continue}break}c=(m+32|0)+(p<<1)|0;g=l[c>>1]-1|0;i[c>>1]=g;r=a?a+(a-1&r)|0:0;x=x+1|0;if(!(g&65535)){if((p|0)==(q|0)){break h}p=l[(l[(x<<1)+f>>1]<<1)+b>>1]}a=r&G;if((a|0)==(n|0)|p>>>0<=s>>>0){continue}break}y=y?y:s;g=p-y|0;v=1<>>0>>0){c=q-y|0;o=p;j:{while(1){o=v-l[(m+32|0)+(o<<1)>>1]|0;if((o|0)<1){break j}v=o<<1;g=g+1|0;o=y+g|0;if(q>>>0>o>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=j[d>>2];o=c+(a<<2)|0;h[o+1|0]=s;h[o|0]=g;w=(F<<2)+w|0;i[o+2>>1]=w-c>>>2;n=a;continue}break}if(r){a=(r<<2)+w|0;i[a+2>>1]=0;h[a+1|0]=A;h[a|0]=64}j[d>>2]=j[d>>2]+(u<<2);j[e>>2]=s}o=0}return o}function Wf(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;l=oe-112|0;oe=l;m=h;p=i&2147483647;n=c-(b>>>0<1)|0;k=b-1|0;r=(k|0)==-1&(n|0)==-1;t=d;q=(c|0)==(n|0)&b>>>0>k>>>0|c>>>0>n>>>0;o=d+q|0;n=e&2147483647;k=n;k=o>>>0>>0?k+1|0:k;q=o-1|0;a:{b:{k=k-(o>>>0<1)|0;if(!((q|0)==-1&(k|0)==2147418111?r:k>>>0>2147418111)){k=f;o=g-(k>>>0<1)|0;k=k-1|0;r=(k|0)!=-1|(o|0)!=-1;q=(g|0)==(o|0)&f>>>0>k>>>0|g>>>0>o>>>0;o=q+m|0;k=p;k=o>>>0>>0?k+1|0:k;q=o;o=o-1|0;k=k-(q>>>0<1)|0;if((o|0)==-1&(k|0)==2147418111?r:(k|0)==2147418111&(o|0)!=-1|k>>>0<2147418111){break b}}if(!(!t&(n|0)==2147418112?!(b|c):n>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){i=i|32768;break a}if(!(b|t|(n^2147418112|c))){k=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:k;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|m|(p^2147418112|g))){break a}if(!(b|t|(c|n))){if(f|m|(g|p)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|p)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(t|0)&(n|0)==(p|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(n|0)==(p|0)&m>>>0>t>>>0|n>>>0

>>0;k=r;o=k?f:b;p=k?g:c;m=k?i:e;t=m;n=k?h:d;k=m&65535;i=r?e:i;e=i;h=r?d:h;q=i>>>16&32767;m=m>>>16&32767;if(!m){d=!(k|n);i=d<<6;m=s(d?o:n)+32|0;d=s(d?p:k);d=i+((d|0)==32?m:d)|0;Nf(l+96|0,o,p,n,k,d-15|0);n=j[l+104>>2];o=j[l+96>>2];p=j[l+100>>2];m=16-d|0;k=j[l+108>>2]}f=r?b:f;g=r?c:g;i=e&65535;if(!q){b=!(h|i);c=b<<6;d=s(b?f:h)+32|0;b=s(b?g:i);b=c+((b|0)==32?d:b)|0;Nf(l+80|0,f,g,h,i,b-15|0);q=16-b|0;h=j[l+88>>2];i=j[l+92>>2];g=j[l+84>>2];f=j[l+80>>2]}b=h;c=i<<3|b>>>29;h=b<<3|g>>>29;i=c|524288;b=n;d=k<<3|b>>>29;n=b<<3|p>>>29;u=d;r=e^t;b=f;k=g<<3|b>>>29;b=b<<3;c=k;d=m-q|0;e=b;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;k=0;e=1;break c}Nf(l- -64|0,b,c,h,i,128-d|0);oi(l+48|0,b,c,h,i,d);h=j[l+56>>2];i=j[l+60>>2];k=j[l+52>>2];e=j[l+48>>2]|((j[l+64>>2]|j[l+72>>2])!=0|(j[l+68>>2]|j[l+76>>2])!=0)}f=k;d=n;q=u|524288;b=o;k=p<<3|b>>>29;c=b<<3;d:{if((r|0)<-1?1:(r|0)<=-1){p=e;b=c-e|0;n=h;o=d-h|0;e=(f|0)==(k|0)&c>>>0>>0|f>>>0>k>>>0;h=o-e|0;c=k-((c>>>0

>>0)+f|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>o>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=s(d?b:h)+32|0;b=s(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Nf(l+32|0,f,c,h,i,b);m=m-b|0;h=j[l+40>>2];i=j[l+44>>2];b=j[l+32>>2];c=j[l+36>>2];break d}b=c;g=b+e|0;c=f+k|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+q|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;m=m+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}k=0;p=t&-2147483648;if((m|0)>=32767){h=k;i=p|2147418112;f=0;g=0;break a}e=0;e:{if((m|0)>0){e=m;break e}Nf(l+16|0,b,c,h,i,m+127|0);oi(l,b,c,h,i,1-m|0);b=j[l>>2]|((j[l+16>>2]|j[l+24>>2])!=0|(j[l+20>>2]|j[l+28>>2])!=0);c=j[l+4>>2];h=j[l+8>>2];i=j[l+12>>2]}t=(c&7)<<29|b>>>3;g=t;m=b&7;b=g+(m>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|k;b=b+d|0;k=p|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?k+1|0:k;f:{if((m|0)==4){k=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?k+1|0:k;break f}if(!m){break a}}}j[a>>2]=f;j[a+4>>2]=g;j[a+8>>2]=h;j[a+12>>2]=i;oe=l+112|0}function zG(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=oe-336|0;oe=k;a:{b:{if(d){q=j[c+1296>>2];t=j[j[j[b+64>>2]+4>>2]+28>>2];v=j[t+2848>>2];l=j[c+1284>>2];if((l|0)>=1){while(1){h=(g<<2)+d|0;i=j[h>>2];f=i&32767;c:{d:{switch(j[q+832>>2]-1|0){case 0:f=f>>>2|0;break c;case 1:f=f>>>3|0;break c;case 2:f=(f>>>0)/12|0;break c;case 3:break d;default:break c}}f=f>>>4|0}j[h>>2]=i&32768|f;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=j[d>>2];j[k+64>>2]=f;g=j[d+4>>2];j[k+68>>2]=g;if((l|0)>=3){r=q+836|0;i=2;while(1){g=i<<2;f=g+c|0;m=j[f+772>>2]<<2;n=m+d|0;x=j[f+1024>>2]<<2;z=x+d|0;u=j[z>>2]&32767;f=(j[n>>2]&32767)-u|0;h=f>>31;w=d+g|0;o=j[w>>2];y=h^f+h;h=j[r+x>>2];h=(p(y,j[g+r>>2]-h|0)|0)/(j[r+m>>2]-h|0)|0;f=u+((f|0)<0?0-h|0:h)|0;e:{if(!((o|0)!=(f|0)?!(o&32768):0)){j[w>>2]=f|32768;j[g+(k- -64|0)>>2]=0;break e}h=j[c+1292>>2]-f|0;h=(f|0)>(h|0)?h:f;m=g+(k- -64|0)|0;f=o-f|0;f:{if((f|0)<=-1){g=h+(f^-1)|0;if((f|0)<(0-h|0)){break f}g=f<<1^-1;break f}g=f+h|0;if((f|0)>=(h|0)){break f}g=f<<1}j[m>>2]=g;j[z>>2]=u;j[n>>2]=j[n>>2]&32767}i=i+1|0;if((l|0)!=(i|0)){continue}break}g=j[k+68>>2];f=j[k+64>>2]}u=1;df(a,1,1);j[c+1308>>2]=j[c+1308>>2]+1;h=j[c+1292>>2]-1|0;j[c+1304>>2]=j[c+1304>>2]+((h?32-s(h)|0:0)<<1);h=f;f=j[c+1292>>2]-1|0;df(a,h,f?32-s(f)|0:0);f=j[c+1292>>2]-1|0;df(a,g,f?32-s(f)|0:0);if(j[q>>2]>=1){o=0;l=2;while(1){m=j[((o<<2)+q|0)+4>>2];x=(m<<2)+q|0;h=j[x+128>>2];r=j[x+192>>2];j[k+56>>2]=0;j[k+60>>2]=0;j[k+48>>2]=0;j[k+52>>2]=0;j[k+40>>2]=0;j[k+44>>2]=0;j[k+32>>2]=0;j[k+36>>2]=0;if(r){g=1<>2]=0;j[k+28>>2]=0;j[k+16>>2]=0;j[k+20>>2]=0;j[k+8>>2]=0;j[k+12>>2]=0;j[k>>2]=0;j[k+4>>2]=0;z=(r|0)==31;if(!z){n=(g|0)>1?g:1;f=0;while(1){w=f<<2;y=j[(w+((m<<5)+q|0)|0)+320>>2];i=1;g:{if((y|0)<0){break g}i=j[j[(t+(y<<2)|0)+1824>>2]+4>>2]}j[k+w>>2]=i;f=f+1|0;if((n|0)!=(f|0)){continue}break}}h:{if((h|0)<1){n=0;break h}w=(g|0)>1?g:1;i=0;f=0;n=0;while(1){g=f;i:{if(z){break i}y=j[(k- -64|0)+(i+l<<2)>>2];f=0;while(1){if(j[(f<<2)+k>>2]>(y|0)){j[(k+32|0)+(i<<2)>>2]=f;break i}f=f+1|0;if((w|0)!=(f|0)){continue}break}}f=g+r|0;n=j[(k+32|0)+(i<<2)>>2]<>2],56)|0,n,a)+j[c+1300>>2]|0,j[A+1300>>2]=B}f=0;if((h|0)>=1){while(1){g=j[(((m<<5)+q|0)+(j[(k+32|0)+(f<<2)>>2]<<2)|0)+320>>2];j:{if((g|0)<0){break j}i=j[(k- -64|0)+(f+l<<2)>>2];g=v+p(g,56)|0;if((i|0)>=j[g+4>>2]){break j}A=c,B=yj(g,i,a)+j[c+1304>>2]|0,j[A+1304>>2]=B}f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=h+l|0;o=o+1|0;if((o|0)>2]){continue}break}}g=p(j[q+832>>2],j[d>>2]);r=j[t+(j[b+28>>2]<<2)>>2]/2|0;f=0;if(j[c+1284>>2]<=1){a=0;break b}a=0;while(1){l=j[((u<<2)+c|0)+260>>2]<<2;h=j[l+d>>2];if(h>>>0<=32767){h=p(h,j[q+832>>2]);i=h-g|0;a=j[(l+q|0)+836>>2];l=a-f|0;n=(i|0)/(l|0)|0;o=(a|0)<(r|0)?a:r;if((o|0)>(f|0)){j[(f<<2)+e>>2]=g}f=f+1|0;if((o|0)>(f|0)){v=p(l,n);t=v>>31;m=i>>31;t=(m+i^m)-(t^t+v)|0;v=(i|0)>-1?1:-1;i=0;while(1){i=i+t|0;m=(i|0)<(l|0);g=(g+n|0)+(m?0:v)|0;j[(f<<2)+e>>2]=g;i=i-(m?0:l)|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}g=h;f=a}u=u+1|0;if((u|0)>2]){continue}break}break b}df(a,0,1);Ee(e,0,j[b+36>>2]/2<<2);break a}f=1;if((j[b+36>>2]/2|0)<=(a|0)){break a}while(1){j[(a<<2)+e>>2]=g;a=a+1|0;if((a|0)<(j[b+36>>2]/2|0)){continue}break}}oe=k+336|0;return f}function Wr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=oe-32|0;oe=f;d=6;a:{if(!a|!b){break a}c=j[b>>2]-j[a+8>>2]|0;j[f+8>>2]=c;g=j[b+4>>2]-j[a+12>>2]|0;j[f+12>>2]=g;b:{c:{if(c|g){q=rk(f+8|0);o=Gf(j[f+8>>2],j[f+12>>2]);c=o+5898240|0;of(f+8|0,j[a+60>>2],c);d:{if(k[a+20|0]){of(f+16|0,j[a+60>>2],c);i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+84>>2];e:{if((c|0)<0){break e}g=j[a+64>>2];if(g>>>0<=c+1>>>0){j[a+64>>2]=c;break e}l=g-1|0;j[a+64>>2]=l;m=j[a+72>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+76>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+76>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i+n|0;n=e+d|0;c=j[a+64>>2];j[a+84>>2]=c;h[a+80|0]=0;f:{g:{if(!c){break g}g=j[a+72>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break g}if((j[g+4>>2]-i|0)+1>>>0<3){break f}}g=j[a+68>>2];j[f+28>>2]=0;d=c+1|0;h:{if(d>>>0<=g>>>0){e=j[a+76>>2];break h}e=j[a+88>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+72>>2],f+28|0),j[r+72>>2]=s;d=j[f+28>>2];if(d){break c}e=xe(e,1,g,c,j[a+76>>2],f+28|0);j[a+76>>2]=e;d=j[f+28>>2];if(d){break c}j[a+68>>2]=c;c=j[a+64>>2]}d=j[a+72>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;h[a+80|0]=0;j[a+64>>2]=j[a+64>>2]+1}i=j[a+12>>2];n=j[f+20>>2];e=j[a+8>>2];d=j[f+16>>2];c=j[a+116>>2];i:{if((c|0)<0){break i}g=j[a+96>>2];if(g>>>0<=c+1>>>0){j[a+96>>2]=c;break i}l=g-1|0;j[a+96>>2]=l;m=j[a+104>>2];p=m+(c<<3)|0;l=m+(l<<3)|0;m=j[l+4>>2];j[p>>2]=j[l>>2];j[p+4>>2]=m;c=c+j[a+108>>2]|0;h[c|0]=k[c|0]|4;c=(g+j[a+108>>2]|0)-2|0;h[c|0]=k[c|0]|8}i=i-n|0;n=e-d|0;c=j[a+96>>2];j[a+116>>2]=c;h[a+112|0]=0;j:{k:{if(!c){break k}g=j[a+104>>2]+(c-1<<3)|0;if((j[g>>2]-n|0)+1>>>0>2){break k}d=0;if((j[g+4>>2]-i|0)+1>>>0<3){break j}}g=j[a+100>>2];j[f+28>>2]=0;d=c+1|0;l:{m:{if(d>>>0<=g>>>0){e=j[a+108>>2];break m}e=j[a+120>>2];c=g;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=a,s=xe(e,8,g,c,j[a+104>>2],f+28|0),j[r+104>>2]=s;d=j[f+28>>2];if(d){break l}e=xe(e,1,g,c,j[a+108>>2],f+28|0);j[a+108>>2]=e;d=j[f+28>>2];if(d){break l}j[a+100>>2]=c;c=j[a+96>>2]}d=j[a+104>>2]+(c<<3)|0;j[d>>2]=n;j[d+4>>2]=i;h[c+e|0]=1;j[a+96>>2]=j[a+96>>2]+1;d=0}h[a+112|0]=0}j[a+36>>2]=q;h[a+20|0]=0;j[a+24>>2]=o;if(!d){break d}break a}j[a+4>>2]=o;c=Df(j[a>>2],o);if(!c){break d}d=Di(a,c>>>31|0,q);if(d){break a}d=Ci(a,(c^-1)>>>31|0,q);if(d){break a}}e=a- -64|0;c=j[f+12>>2];d=j[f+8>>2];i=1;while(1){n=i;g=j[b+4>>2]+c|0;m=j[b>>2]+d|0;n:{o:{if(k[e+16|0]){c=(j[e+8>>2]+(j[e>>2]<<3)|0)-8|0;j[c>>2]=m;j[c+4>>2]=g;break o}l=j[e>>2];p:{if(!l){break p}i=j[e+8>>2]+(l-1<<3)|0;if((j[i>>2]-m|0)+1>>>0>2){break p}if((j[i+4>>2]-g|0)+1>>>0<3){break n}}i=j[e+4>>2];j[f+16>>2]=0;d=l+1|0;q:{if(d>>>0<=i>>>0){i=j[e+12>>2];break q}l=j[e+24>>2];c=i;while(1){c=((c>>>1|0)+c|0)+16|0;if(d>>>0>c>>>0){continue}break}r=e,s=xe(l,8,i,c,j[e+8>>2],f+16|0),j[r+8>>2]=s;d=j[f+16>>2];if(d){break b}i=xe(l,1,i,c,j[e+12>>2],f+16|0);j[e+12>>2]=i;d=j[f+16>>2];if(d){break b}j[e+4>>2]=c;l=j[e>>2]}c=j[e+8>>2]+(l<<3)|0;j[c>>2]=m;j[c+4>>2]=g;h[i+l|0]=1;j[e>>2]=j[e>>2]+1}h[e+16|0]=1;c=j[f+12>>2];d=j[f+8>>2]}c=0-c|0;j[f+12>>2]=c;d=0-d|0;j[f+8>>2]=d;e=e+32|0;i=n-1|0;if(n){continue}break}j[a>>2]=o;c=j[b+4>>2];b=j[b>>2];j[a+16>>2]=q;j[a+8>>2]=b;j[a+12>>2]=c}d=0;break a}h[a+80|0]=0;break a}h[e+16|0]=1}oe=f+32|0;return d}function vF(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,w=0;if(!(j[a+496>>2]?0:!j[a+492>>2])){Ze(a,209521);Wp(a)}a:{if((b|0)<=8){b=j[a+488>>2];b:{if((b|0)<1){b=1e5;break b}d=j[a+824>>2];c:{if(!d){break c}c=v(1e15/+(d|0)/+(b|0)+.5);d=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(d){break c}if(c>=-2147483648){break b}}b=0}e=qh(a,256);j[a+492>>2]=e;d:{if(b-95e3>>>0<10001){b=0;while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break d}l=+(b|0)*1e-5;b=0;while(1){g=b+e|0;e:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break e}d=0;break e}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}if(!(j[a+216>>2]&6291584)){break a}b=j[a+824>>2];e=qh(a,256);j[a+504>>2]=e;c=v(1e10/+(b|0)+.5);f=c>=-2147483648;b=0;if(r(c)<2147483648){d=~~c}else{d=-2147483648}d=c<=2147483647?f?d:0:0;f:{if(d-95e3>>>0<10001){while(1){h[b+e|0]=b;b=b+1|0;if((b|0)!=256){continue}break f}}l=+(d|0)*1e-5;while(1){g=b+e|0;g:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){d=~~c>>>0;break g}d=0;break g}d=b}h[g|0]=d;b=b+1|0;if((b|0)!=256){continue}break}}b=j[a+488>>2];h:{if((b|0)>=1){c=v(1e10/+(b|0)+.5);d=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}b=c<=2147483647?d?b:0:0;break h}b=j[a+824>>2]}d=qh(a,256);j[a+500>>2]=d;if(b-95e3>>>0<10001){b=0;while(1){h[b+d|0]=b;b=b+1|0;if((b|0)!=256){continue}break}break a}l=+(b|0)*1e-5;b=0;while(1){g=b+d|0;i:{if(b-1>>>0<=253){c=v(Bg(+(b|0)/255,l)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break i}a=0;break i}a=b}h[g|0]=a;b=b+1|0;if((b|0)!=256){continue}break}break a}b=a;g=b;j:{if(k[b+435|0]&2){d=k[a+518|0];e=k[a+517|0];f=k[a+516|0];e=e>>>0>f>>>0?e:f;d=d>>>0>e>>>0?d:e;break j}d=k[a+519|0]}b=(d-1&255)>>>0<15?16-d|0:0;e=j[a+216>>2]&67109888;b=e?(b&255)>>>0<5?5:b:b;d=((b&255)>>>0<8?b:8)&255;j[g+484>>2]=d;b=j[a+488>>2];k:{l:{if(e){if((b|0)<1){c=1}else{c=v(+j[a+824>>2]*1e-5*+(b|0)+.5);e=c>=-2147483648;if(r(c)<2147483648){b=~~c}else{b=-2147483648}c=c<=2147483647?e?+(b|0)*1e-5:0:0}n=8-d|0;e=1<>2]=f;m=e>>>0>1?e:1;g=16-d|0;b=0;while(1){u=(b<<2)+f|0,w=qh(a,512),j[u>>2]=w;b=b+1|0;if((m|0)!=(b|0)){continue}break}o=255>>>d|0;s=-1<=0){g=~~l>>>0;break m}g=0}g=(p(g,s)+32768>>>0)/65535|0;if(g>>>0>=b>>>0){while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=q;t=(b|0)!=(g|0);b=b+1|0;if(t){continue}break}b=g+1|0}m=m+1|0;if((m|0)!=255){continue}break}break l}e=a+496|0;n:{if((b|0)<1){b=1e5;break n}f=j[a+824>>2];o:{if(!f){break o}c=v(1e15/+(f|0)/+(b|0)+.5);f=c<=2147483647^1;if(r(c)<2147483648){b=~~c}else{b=-2147483648}if(f){break o}if(c>=-2147483648){break n}}b=0}Hl(a,e,d,b);break k}e=e<<8;if(e>>>0<=b>>>0){break k}while(1){i[j[((b&o)<<2)+f>>2]+(b>>>n<<1)>>1]=65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(!(j[a+216>>2]&6291584)){break a}c=v(1e10/+j[a+824>>2]+.5);m=c>=-2147483648;b=a;g=b;n=b+512|0;e=d;if(r(c)<2147483648){f=~~c}else{f=-2147483648}Hl(g,n,e,c<=2147483647?m?f:0:0);g=a;e=b+508|0;f=j[b+488>>2];p:{if((f|0)>=1){c=v(1e10/+(f|0)+.5);f=c>=-2147483648;if(r(c)<2147483648){a=~~c}else{a=-2147483648}a=c<=2147483647?f?a:0:0;break p}a=j[a+824>>2]}Hl(g,e,d,a)}}function sr(a,b,c,d,e){var f=0,g=0,i=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,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;k=oe-1088|0;oe=k;C=j[j[b+16>>2]>>2];v=j[b>>2];P=j[v+12>>2];D=j[v+8>>2];f=j[v>>2];m=j[v+4>>2];Ee(k+512|0,0,512);l=Ee(k,0,512);y=(m-f|0)/(D|0)|0;g=j[b+8>>2];if((g|0)>=1){Q=(y|0)<1;E=l+1072|0;while(1){if(!Q){r=0;L=(d|0)<1;R=L|(w|0)!=0;S=1<>2];g=j[f+(r<<2)>>2];i=1;if((C|0)>=2){while(1){g=p(g,P);m=i+r|0;if((m|0)<(y|0)){g=j[f+(m<<2)>>2]+g|0}i=i+1|0;if((C|0)!=(i|0)){continue}break}}f=j[b+16>>2];if(j[f+4>>2]>(g|0)){V=b,W=yj(f,g,a)+j[b+36>>2]|0,j[V+36>>2]=W}k=k+1|0;if((k|0)!=(d|0)){continue}break}}a:{if((C|0)<1){break a}I=0;if((r|0)>=(y|0)){break a}while(1){if(!L){T=j[v>>2]+p(r,D)|0;F=0;while(1){f=F<<2;M=f+e|0;i=j[M>>2];N=r<<2;k=j[i+N>>2];if(!w){m=(k<<2)+l|0;j[m>>2]=j[m>>2]+D}k=k<<2;b:{if(!(j[(k+v|0)+24>>2]&S)){break b}s=j[j[k+j[b+20>>2]>>2]+(w<<2)>>2];if(!s){break b}J=j[s>>2];O=(D|0)/(J|0)|0;c:{if((O|0)<1){z=0;break c}U=j[c+f>>2]+(T<<2)|0;G=0;k=J;z=0;while(1){u=j[s+48>>2];x=j[s+52>>2];g=j[s+44>>2];K=l+1080|0;f=K;j[f>>2]=0;j[f+4>>2]=0;j[E>>2]=0;j[E+4>>2]=0;j[l+1064>>2]=0;j[l+1068>>2]=0;j[l+1056>>2]=0;j[l+1060>>2]=0;n=g>>1;t=(p(G,J)<<2)+U|0;d:{e:{f:{if((x|0)!=1){if((k|0)>=1){break f}o=0;break d}if((k|0)>=1){break e}o=0;break d}A=g-1|0;H=(x>>1)-u|0;f=0;m=k;o=0;while(1){m=m-1|0;B=m<<2;q=(H+j[B+t>>2]|0)/(x|0)|0;g:{if((q|0)<(n|0)){i=(n-q<<1)-1|0;break g}i=q-n<<1}j[B+(l+1056|0)>>2]=u+p(q,x);o=p(g,o)+((i|0)<0?0:(g|0)>(i|0)?i:A)|0;f=f+1|0;if((f|0)!=(k|0)){continue}break}break d}Ae(l+1056|0,t,k<<2);q=g-1|0;i=0;f=k;o=0;while(1){o=p(g,o);f=f-1|0;m=j[(f<<2)+t>>2]-u|0;h:{if((m|0)<(n|0)){m=(n-m<<1)-1|0;break h}m=m-n<<1}o=o+((m|0)<0?0:(g|0)>(m|0)?m:q)|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}}H=j[j[s+12>>2]+8>>2];i:{if(h[H+o|0]>0){break i}q=l+1048|0;f=q;j[f>>2]=0;j[f+4>>2]=0;A=l+1040|0;f=A;j[f>>2]=0;j[f+4>>2]=0;j[l+1032>>2]=0;j[l+1036>>2]=0;j[l+1024>>2]=0;j[l+1028>>2]=0;B=j[s+4>>2];if((B|0)<1){break i}u=u+p(g-1|0,x)|0;f=-1;m=0;while(1){j:{if(h[m+H|0]<1){break j}i=0;g=0;if((k|0)>=1){while(1){n=i;i=g<<2;i=j[i+(l+1024|0)>>2]-j[i+t>>2]|0;i=n+p(i,i)|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((f|0)<=(i|0)?(f|0)!=-1:0){break j}f=j[q+4>>2];j[K>>2]=j[q>>2];j[K+4>>2]=f;f=j[A+4>>2];j[E>>2]=j[A>>2];j[E+4>>2]=f;f=j[l+1036>>2];j[l+1064>>2]=j[l+1032>>2];j[l+1068>>2]=f;f=j[l+1028>>2];j[l+1056>>2]=j[l+1024>>2];j[l+1060>>2]=f;o=m;f=i}i=0;g=l+1024|0;n=j[l+1024>>2];if((u|0)<=(n|0)){while(1){j[g>>2]=0;i=i+1|0;g=(l+1024|0)+(i<<2)|0;n=j[g>>2];if((u|0)<=(n|0)){continue}break}}if((n|0)>=0){n=n+x|0;j[g>>2]=n}j[g>>2]=0-n;m=m+1|0;if((B|0)!=(m|0)){continue}break}}k:{if((k|0)<1){break k}g=0;if((o|0)<0){break k}while(1){j[t>>2]=j[t>>2]-j[(l+1056|0)+(g<<2)>>2];t=t+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}z=yj(s,o,a)+z|0;G=G+1|0;if((O|0)!=(G|0)){k=j[s>>2];continue}break}i=j[M>>2]}j[b+32>>2]=j[b+32>>2]+z;k=(l+512|0)+(j[i+N>>2]<<2)|0;j[k>>2]=j[k>>2]+z}F=F+1|0;if((F|0)!=(d|0)){continue}break}}r=r+1|0;I=I+1|0;if((I|0)>=(C|0)){break a}if((r|0)<(y|0)){continue}break}}if((r|0)<(y|0)){continue}break}g=j[b+8>>2]}w=w+1|0;if((w|0)<(g|0)){continue}break}}oe=l+1088|0}function GN(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,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;n=oe-160|0;oe=n;a:{b:{if(Qe(a,119744,13)){break b}c:{switch(k[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=j[e+32>>2];d:{e:{if(!c|!j[c+72>>2]){break e}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(1895527114%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break e}b=(m+(a<<2)|0)-4|0;while(1){f:{a=j[f>>2];if(k[a|0]==70){if(!we(a,118455)){break f}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break e}break}if(j[c+80>>2]){break d}}a=i[c+12>>1];j[c+40>>2]=a;j[n+16>>2]=a;dk(n+32|0,n+16|0);f=Rh(j[e+32>>2],118455,n+32|0);if(f){break a}c=j[e+32>>2];i[c+278660>>1]=1}g:{h:{if(!j[c+72>>2]){break h}a=j[c+128>>2];m=j[a+12>>2];a=j[a+4>>2];g=m+(908209322%(a>>>0)<<2)|0;f=j[g>>2];if(!f){break h}b=(m+(a<<2)|0)-4|0;while(1){i:{a=j[f>>2];if(k[a|0]==70){if(!we(a,118467)){break i}}a=g-4|0;g=a>>>0>>0?b:a;f=j[g>>2];if(f){continue}break h}break}if(j[c+80>>2]){break g}}a=i[c+14>>1];j[c+44>>2]=a;j[n>>2]=a;dk(n+32|0,n);f=Rh(j[e+32>>2],118467,n+32|0);if(f){break a}i[j[e+32>>2]+278660>>1]=1}j[e>>2]=j[e>>2]&-17;j[d>>2]=602;f=0;break a}j:{if(Qe(a,119758,21)){break j}switch(k[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(Qe(a,117052,7)){break k}f=a+7|0;l:{switch(k[a+7|0]){case 9:case 10:case 13:case 32:h[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Rh(j[e+32>>2],a,f);break a}o=j[e+32>>2];f=a;m:{while(1){n:{c=-1;o:{p:{d=k[f|0];switch(d|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((d|0)==32){break n}}f=f+1|0;continue}break}h[f|0]=0;c=d}q:{if(!a){break q}q=k[a|0];if(!q){break q}r=j[o+278688>>2];g=q;d=a;while(1){l=p(l,31)+(g<<24>>24)|0;g=k[d+1|0];d=d+1|0;if(g){continue}break}d=l;l=j[o+278680>>2];d=((d>>>0)%(l>>>0)<<2)+r|0;g=j[d>>2];if(!g){break q}t=((l<<2)+r|0)-4|0;while(1){r:{l=j[g>>2];if(k[l|0]==(q|0)){if(!we(l,a)){break r}}d=d-4|0;d=d>>>0>>0?t:d;g=j[d>>2];if(g){continue}break q}break}d=j[g+4>>2];if(d>>>0>=83){s=(j[o+278668>>2]+(d<<4)|0)-1328|0;break q}s=(d<<4)+117072|0}if((c|0)!=-1){h[f|0]=c;m=c}if(!(j[s+4>>2]!=1?s:0)){if(m&255){h[f|0]=0;f=f+1|0}d=a+b|0;while(1){b=k[f|0];if(!((b|0)!=9?(b|0)!=32:0)){f=f+1|0;continue}break}b=(b|0)==34?f+1|0:f;s:{if(b>>>0>=d>>>0){break s}while(1){t:{u:{d=d-1|0;switch(k[d|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}h[d|0]=0;if(b>>>0>>0){continue}break s}break}h[d|0]=0}f=Rh(j[e+32>>2],a,b);break a}m=e+139304|0;f=og(m,118416,a,b);if(f){break a}d=j[e+139304>>2];c=j[d>>2];a=0;v:{w:{x:{b=j[e+139312>>2];switch(b|0){case 0:break v;case 1:break w;default:break x}}j[d>>2]=j[d+4>>2];f=1;l=b-1|0;if((l|0)!=1){g=1;while(1){b=j[m>>2];g=g+1|0;j[b+(f<<2)>>2]=j[b+(g<<2)>>2];f=f+1|0;if((l|0)!=(f|0)){continue}break}}j[e+139312>>2]=l;if(!l){break v}g=0;b=j[j[m>>2]>>2];f=b;while(1){d=k[f|0];if(d){while(1){h[b+g|0]=d;g=g+1|0;d=k[f+1|0];f=f+1|0;if(d){continue}break}l=j[e+139312>>2]}a=a+1|0;if(l>>>0>a>>>0){h[b+g|0]=32;l=j[e+139312>>2];g=g+1|0}if(a>>>0>>0){f=j[j[m>>2]+(a<<2)>>2];continue}break}a=119537;if((b|0)==119537){break v}h[b+g|0]=0;a=b;break v}j[e+139312>>2]=0}f=Rh(j[e+32>>2],c,a)}oe=n+160|0;return f|0}function fn(a,b,c){var d=0,e=0,f=0,g=0,i=0;e=oe-32|0;oe=e;a:{b:{if(!c){break b}d=j[c+4>>2];f=j[c>>2];j[e+20>>2]=f;j[e+8>>2]=0;j[e+12>>2]=0;j[e+24>>2]=d;j[e+16>>2]=f;f=Ce(e+8|0,8);g=e,i=Ce(e+8|0,8),h[g+2|0]=i;g=e,i=Ce(e+8|0,8),h[g+3|0]=i;g=e,i=Ce(e+8|0,8),h[g+4|0]=i;g=e,i=Ce(e+8|0,8),h[g+5|0]=i;g=e,i=Ce(e+8|0,8),h[g+6|0]=i;g=e,i=Ce(e+8|0,8),h[g+7|0]=i;d=-132;if(Cg(e+2|0,3685,6)){break a}d=-133;c:{d:{switch(f-1|0){case 0:if(j[a+8>>2]|!j[c+8>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=Ce(e+8|0,32);j[a>>2]=c;d=-134;if(c){break a}g=a,i=Ce(e+8|0,8),j[g+4>>2]=i;g=a,i=Ce(e+8|0,32),j[g+8>>2]=i;g=a,i=Ce(e+8|0,32),j[g+12>>2]=i;g=a,i=Ce(e+8|0,32),j[g+16>>2]=i;g=a,i=Ce(e+8|0,32),j[g+20>>2]=i;g=b,i=1<>2]=i;c=1<>2]=c;if(j[a+8>>2]<1|j[a+4>>2]<1|(c|0)>8192){break c}b=j[b>>2];if((b|0)<64|(b|0)>(c|0)){break c}d=0;if((Ce(e+8|0,1)|0)!=1){break c}break a;case 2:if(j[b+12>>2]|!j[a+8>>2]){break a}d=Ce(e+8|0,32);e:{if((d|0)<0|(j[e+24>>2]-8|0)<(d|0)){break e}c=bf(d+1|0,1);j[b+12>>2]=c;if(d){while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=Ce(e+8|0,32);if((a|0)<0|(a|0)>j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)>>2){break e}j[b+8>>2]=a;c=a+1|0;g=b,i=bf(c,4),j[g>>2]=i;g=b,i=bf(c,4),j[g+4>>2]=i;if((a|0)>=1){a=0;while(1){d=Ce(e+8|0,32);if((d|0)<0|(j[e+24>>2]-(j[e+8>>2]+((j[e+12>>2]+7|0)/8|0)|0)|0)<(d|0)){break e}c=a<<2;j[c+j[b+4>>2]>>2]=d;f=bf(d+1|0,1);j[c+j[b>>2]>>2]=f;if(d){c=j[c+j[b>>2]>>2];while(1){g=c,i=Ce(e+8|0,8),h[g|0]=i;c=c+1|0;d=d-1|0;if(d){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Mi(b);break b;case 4:break d;default:break a}}if(!j[a+8>>2]|!j[b+12>>2]){break a}b=j[a+28>>2];if(!b){d=-129;break a}c=0;if(j[b+24>>2]>0){break a}d=Ce(e+8|0,8);j[b+24>>2]=d+1;if((d|0)<0){break c}while(1){d=uv(e+8|0);j[(b+(c<<2)|0)+1824>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=0;d=Ce(e+8|0,6);if((d|0)<0){break c}while(1){if(Ce(e+8|0,16)){break c}f=(c|0)==(d|0);c=c+1|0;if(!f){continue}break}d=Ce(e+8|0,6);j[b+16>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+800>>2]=d;if(d>>>0>1){break c}d=qe[j[j[(d<<2)+3816>>2]+4>>2]](a,e+8|0)|0;j[f+1056>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+20>>2]=d+1;c=0;if((d|0)<0){break c}while(1){f=b+(c<<2)|0;d=Ce(e+8|0,16);j[f+1312>>2]=d;if(d>>>0>2){break c}d=qe[j[j[(d<<2)+3824>>2]+4>>2]](a,e+8|0)|0;j[f+1568>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}d=Ce(e+8|0,6);j[b+12>>2]=d+1;c=0;if((d|0)<0){break c}while(1){d=b+(c<<2)|0;f=Ce(e+8|0,16);j[d+288>>2]=f;if(f){break c}f=d;d=qe[j[j[959]+4>>2]](a,e+8|0)|0;j[f+544>>2]=d;if(!d){break c}c=c+1|0;if((c|0)>2]){continue}break}c=Ce(e+8|0,6);j[b+8>>2]=c+1;d=0;if((c|0)<0){break c}while(1){c=b+(d<<2)|0;g=c,i=bf(1,16),j[g+32>>2]=i;f=Ce(e+8|0,1);j[j[c+32>>2]>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+4>>2]=f;f=Ce(e+8|0,16);j[j[c+32>>2]+8>>2]=f;f=Ce(e+8|0,8);c=j[c+32>>2];j[c+12>>2]=f;if(j[c+4>>2]>0|j[c+8>>2]>0|((f|0)<0|(f|0)>=j[b+12>>2])){break c}d=d+1|0;if((d|0)>2]){continue}break}d=0;if((Ce(e+8|0,1)|0)==1){break a}}Li(a)}d=-133}oe=e+32|0;return d}function mp(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=j[a+4>>2];g:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break g}f=ff(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}r=(f|0)==45?-1:0;f=j[a+4>>2];if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break h}f=ff(a)}j:{if(!(b&-17|(f|0)!=48)){f=j[a+4>>2];k:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break k}f=ff(a)}if((f&-33)==88){b=16;f=j[a+4>>2];l:{if(f>>>0>2]){j[a+4>>2]=f+1;f=k[f|0];break l}f=ff(a)}if(k[f+227617|0]<16){break e}if(!j[a+104>>2]){d=0;e=0;if(c){break a}break b}b=j[a+4>>2];j[a+4>>2]=b-1;if(!c){break b}j[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>k[f+227617|0]){break j}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}d=0;e=0;kg(a,0,0);j[67100]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=p(b,10)+c|0;c=j[a+4>>2];m:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break m}f=ff(a)}c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=hP(g,0,10,0);b=pe;while(1){f=c+i|0;l=f>>>0>>0?b+1|0:b;g=f;i=(l|0)==429496729&f>>>0>=2576980378|l>>>0>429496729;b=j[a+4>>2];n:{if(b>>>0>2]){j[a+4>>2]=b+1;f=k[b|0];break n}f=ff(a)}c=f-48|0;if(i|c>>>0>9){break f}i=hP(g,l,10,0);b=pe;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}j[67100]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=k[f+227617|0];if(c>>>0>>0){while(1){i=p(b,i)+c|0;g=i>>>0<=119304646;c=j[a+4>>2];o:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break o}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){n=hP(g,l,i,0);o=pe;c=c&255;if((o|0)==-1&(c^-1)>>>0>>0){break d}l=o;f=c+n|0;l=f>>>0>>0?l+1|0:l;g=f;o=b;c=j[a+4>>2];p:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break p}f=ff(a)}c=k[f+227617|0];if(o>>>0<=c>>>0){break d}Ag(q,i,0,g,l);if(!(j[q+8>>2]|j[q+12>>2])){continue}break}break d}o=h[(p(b,23)>>>5&7)+227873|0];c=k[f+227617|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=j[a+4>>2];q:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break q}f=ff(a)}c=k[f+227617|0];if(c>>>0>>0?g:0){continue}break}g=i}i=o;n=i&31;if((i&63)>>>0>=32){o=0;n=-1>>>n|0}else{o=-1>>>n|0;n=(1<>>n}if(!o&g>>>0>n>>>0|b>>>0<=c>>>0){break d}while(1){s=c&255;c=i;f=c&31;if((c&63)>>>0>=32){l=g<>>32-f|l<>2];r:{if(c>>>0>2]){j[a+4>>2]=c+1;f=k[c|0];break r}f=ff(a)}if((l|0)==(o|0)&g>>>0>n>>>0|l>>>0>o>>>0){break d}c=k[f+227617|0];if(c>>>0>>0){continue}break}}if(k[f+227617|0]>=b>>>0){break c}while(1){f=j[a+4>>2];s:{if(f>>>0>2]){j[a+4>>2]=f+1;c=k[f|0];break s}c=ff(a)}if(k[c+227617|0]>>0){continue}break}j[67100]=68;r=d&1?0:r;g=d;l=e}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}t:{if((e|0)==(l|0)&d>>>0>g>>>0|e>>>0>l>>>0){break t}if(!(r|d&1)){j[67100]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(l|0)&d>>>0>=g>>>0|e>>>0>l>>>0){break t}j[67100]=68;break a}a=r;b=a^g;d=b-a|0;c=a>>31;e=(c^l)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;kg(a,0,0)}oe=q+16|0;pe=e;return d}function Ph(a,b,c,d,e){var f=0,g=0,h=0,i=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;i=oe-48|0;oe=i;f=j[a+11748>>2]==2;h=f?a+11760|0:a+11776|0;o=j[h+4>>2];s=1;l=j[h>>2];m=j[c>>2];g=j[c+4>>2];a:{if(!((l|0)!=(m|0)|(g|0)!=(o|0))){d=0;break a}k=j[d>>2];f=f?a+11752|0:a+11768|0;p=j[f+4>>2];q=j[f>>2];r=(l-q|0)+16>>5;l=j[d+4>>2];d=(l-g|0)+16>>5;t=(o-p|0)+16>>5;o=(k-m|0)+16>>5;r=ye(r,d)-ye(t,o)|0;if(!r){d=0;break a}n=De(ye((m-q|0)+16>>5,d)-ye((g-p|0)+16>>5,o)|0,r);d=j[f>>2];d=ye(n,j[h>>2]-d|0)+d|0;o=j[f+4>>2];m=ye(n,j[h+4>>2]-o|0);n=j[f>>2];p=j[h>>2];if((n|0)==(p|0)){q=d-n|0;g=q>>31;d=j[a+11700>>2]>(g^g+q)?n:d}n=m+o|0;f=j[f+4>>2];o=j[h+4>>2];if((f|0)==(o|0)){m=n-f|0;g=m>>31;n=j[a+11700>>2]>(g^g+m)?f:n}g=j[c>>2];if((g|0)==(k|0)){m=d-k|0;f=m>>31;d=j[a+11700>>2]>(f^f+m)?k:d}k=j[c+4>>2];if((k|0)==(l|0)){m=n-l|0;f=m>>31;n=j[a+11700>>2]>(f^f+m)?l:n}g=((g+p|0)/-2|0)+d|0;f=g>>31;f=f^f+g;g=j[a+11696>>2];if((f|0)>(g|0)){break a}k=((k+o|0)/-2|0)+n|0;f=k>>31;if((g|0)<(f^f+k)){break a}f=h;j[f>>2]=d;j[f+4>>2]=n;s=0}k=j[a+11732>>2];f=k;h=j[a+11728>>2];j[i+8>>2]=h;j[i+12>>2]=f;b:{c:{switch(j[a+11748>>2]-2|0){case 0:k=h;j[i+40>>2]=2;d:{if(e){l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(a+3876|0,l);break d}l=j[a+11764>>2];g=ye(j[a+11644>>2],j[a+11760>>2])+ye(j[a+11648>>2],l)|0;l=Sg(b,l)}o=ye(j[j[a>>2]+60>>2],g);m=ye(j[j[a>>2]+68>>2],l);p=j[a+11656>>2];g=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],l)|0)+j[a+11660>>2]|0;j[i+20>>2]=g;l=p+(m+o|0)|0;j[i+16>>2]=l;if((f|0)==(g|0)?(k|0)==(l|0):0){break b}h=j[a+4>>2];qe[j[h+4>>2]](h,i+8|0);h=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=h;break b;case 2:break c;default:break b}}j[i+40>>2]=4;h=j[a+11764>>2];f=ye(j[a+11644>>2],j[a+11760>>2]);k=ye(j[a+11648>>2],h);h=Sg(b,h);f=f+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],f)+ye(j[j[a>>2]+68>>2],h)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;f=ye(j[j[a>>2]- -64>>2],f)+ye(j[j[a>>2]+72>>2],h)|0;h=a+11660|0;j[i+20>>2]=f+j[h>>2];f=j[a+11772>>2];k=ye(j[a+11644>>2],j[a+11768>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+24>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+28>>2]=v;f=j[a+11780>>2];k=ye(j[a+11644>>2],j[a+11776>>2]);g=ye(j[a+11648>>2],f);f=Sg(b,f);k=g+k|0;u=i,v=(ye(j[j[a>>2]+60>>2],k)+ye(j[j[a>>2]+68>>2],f)|0)+j[a+11656>>2]|0,j[u+32>>2]=v;u=i,v=(ye(j[j[a>>2]- -64>>2],k)+ye(j[j[a>>2]+72>>2],f)|0)+j[h>>2]|0,j[u+36>>2]=v;h=j[a+4>>2];qe[j[h+12>>2]](h,i+8|0);h=j[i+36>>2];j[a+11728>>2]=j[i+32>>2];j[a+11732>>2]=h}e:{if(s^1?!e:0){break e}f:{if(e){b=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],b)|0;b=Sg(a+3876|0,b);break f}e=j[c+4>>2];g=ye(j[a+11644>>2],j[c>>2])+ye(j[a+11648>>2],e)|0;b=Sg(b,e)}u=i,v=(ye(j[j[a>>2]+60>>2],g)+ye(j[j[a>>2]+68>>2],b)|0)+j[a+11656>>2]|0,j[u+16>>2]=v;b=(ye(j[j[a>>2]- -64>>2],g)+ye(j[j[a>>2]+72>>2],b)|0)+j[a+11660>>2]|0;j[i+20>>2]=b;if((b|0)==j[a+11732>>2]?j[i+16>>2]==j[a+11728>>2]:0){break e}j[i+40>>2]=2;b=j[a+11732>>2];j[i+8>>2]=j[a+11728>>2];j[i+12>>2]=b;b=j[a+4>>2];qe[j[b+4>>2]](b,i+8|0);b=j[i+20>>2];j[a+11728>>2]=j[i+16>>2];j[a+11732>>2]=b}if(!s){j[c>>2]=d;j[c+4>>2]=n}oe=i+48|0}function Zm(a,b,c,d,e,f,g,h,i,l,m,n,o){var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;p=oe-112|0;oe=p;j[p+104>>2]=h;j[p+108>>2]=i;j[p+88>>2]=-1;j[p+92>>2]=-1;w=j[a+456>>2];a:{b:{c:{z=!m|!n;if(z){break c}q=n;t=m;while(1){if(j[t>>2]!=(l|0)){t=t+4|0;q=q-1|0;if(q){continue}break c}break}if((l|0)!=(w|0)){s=f;r=g;while(1){j[p+100>>2]=w;s=Bk(a,s,r,m,n,p+100|0,p+104|0);r=pe;if(j[p+100>>2]!=(w|0)){continue}break}}e=o+1|0;j[a+52>>2]=e;d=j[a+56>>2];if(d){ze(d)}d=j[a+64>>2];if(d){ze(d)}d=j[a+60>>2];if(d){ze(d)}d=j[a+52>>2];C=a,D=Te((d<<3)+8|0),j[C+56>>2]=D;C=a,D=Vf(j[a+72>>2],d<<5),j[C+72>>2]=D;C=a,D=Vf(j[a+76>>2],j[a+52>>2]<<4),j[C+76>>2]=D;d=j[a+52>>2];C=a,D=Te(d<<2),j[C+64>>2]=D;C=a,D=Te(d<<3),j[C+60>>2]=D;d=Te(d<<4);j[a+68>>2]=d;a=j[a+56>>2];e=a+(e<<3)|0;j[e>>2]=f;j[e+4>>2]=g;a=a+(o<<3)|0;j[a>>2]=b;j[a+4>>2]=c;b=d+(o<<4|8)|0;a=j[p+104>>2];d=a;c=!!a;a=j[p+108>>2];c=(a|0)>0?1:(a|0)>=0?c:0;j[b>>2]=c?d:0;j[b+4>>2]=c?a:0;break b}j[p+68>>2]=0;j[p+64>>2]=0;b=f;c=g;d:{if((c|0)>(e|0)?1:(e|0)<=(c|0)?d>>>0>>0:0){A=a+24|0;u=f;y=g;while(1){r=e;q=u;s=d;t=y-(e+(q>>>0>>0)|0)|0;if((t|0)>0?1:(t|0)>=0?q-d>>>0>=65536:0){s=e+y|0;r=u;q=r+d|0;s=iP(q,q>>>0>>0?s+1|0:s,2);r=pe}t=0;v=j[a>>2];if(!v){q=-129;break d}if(j[a+8>>2]!=(s|0)|j[a+12>>2]!=(r|0)){q=-128;x=j[a+708>>2];if(!x){break d}if((qe[x|0](v,s,r,0)|0)==-1){break d}j[a+8>>2]=s;j[a+12>>2]=r;if(j[A+4>>2]>=0){q=A;j[q+8>>2]=0;j[q+12>>2]=0;j[q+24>>2]=0;j[q+16>>2]=0;j[q+20>>2]=0}}x=Qf(a,p+72|0,-1,-1);q=pe;v=q;if((x|0)==-128&(q|0)==-1){q=-128;break d}e:{f:{if((v|0)<0){break f}q=j[p+72>>2];B=k[q+14|0]|k[q+15|0]<<8|(k[q+16|0]<<16|k[q+17|0]<<24);q=n;t=m;if(z){break f}while(1){if((B|0)!=j[t>>2]){t=t+4|0;q=q-1|0;if(q){continue}break f}break}d=j[a+8>>2];e=j[a+12>>2];s=u;r=y;break e}u=(v|0)>-1;b=u?x:b;c=u?v:c;u=s;y=r}if((e|0)<(r|0)?1:(e|0)<=(r|0)?d>>>0>>0:0){continue}break}}s=b;r=c;while(1){j[p+12>>2]=w;s=Bk(a,s,r,m,n,p+12|0,p+88|0);r=pe;if(j[p+12>>2]!=(w|0)){continue}break}t=0;d=j[a>>2];if(!d){q=-129;break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){q=-128;e=j[a+708>>2];if(!e){break d}if((qe[e|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}q=Dk(a,p+32|0,p+16|0,p+68|0,p- -64|0,0);if(q){break d}n=j[a+8>>2];r=j[a+12>>2];s=j[a+456>>2];d=cn(a,p+32|0);m=pe;e=o+1|0;q=Zm(a,b,c,j[a+8>>2],j[a+12>>2],f,g,h,i,l,j[p+68>>2],j[p+64>>2],e);if(q){break d}f=j[p+68>>2];if(f){ze(f)}f=e<<3;g=f+j[a+56>>2]|0;j[g>>2]=b;j[g+4>>2]=c;j[j[a+64>>2]+(e<<2)>>2]=s;b=f+j[a+60>>2]|0;j[b>>2]=n;j[b+4>>2]=r;f=j[p+36>>2];b=j[a+72>>2]+(e<<5)|0;j[b>>2]=j[p+32>>2];j[b+4>>2]=f;c=j[p+60>>2];j[b+24>>2]=j[p+56>>2];j[b+28>>2]=c;c=j[p+52>>2];j[b+16>>2]=j[p+48>>2];j[b+20>>2]=c;c=j[p+44>>2];j[b+8>>2]=j[p+40>>2];j[b+12>>2]=c;b=j[a+76>>2]+(e<<4)|0;e=j[p+20>>2];j[b>>2]=j[p+16>>2];j[b+4>>2]=e;c=j[p+28>>2];j[b+8>>2]=j[p+24>>2];j[b+12>>2]=c;e=j[p+92>>2];a=j[a+68>>2];b=o<<4;c=a+(b|8)|0;j[c>>2]=j[p+88>>2];j[c+4>>2]=e;a=a+b|0;j[a+16>>2]=d;j[a+20>>2]=m;c=j[a+24>>2];b=j[a+28>>2]-((d>>>0>c>>>0)+m|0)|0;c=c-d|0;d=c;c=(b|0)>0?1:(b|0)>=0?!!c:0;j[a+24>>2]=c?d:0;j[a+28>>2]=c?b:0;t=1}if(!t){break a}}q=0}oe=p+112|0;return q}function ze(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}d=a-8|0;b=j[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=j[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=j[d+8>>2];b=b>>>3|0;c=j[d+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&mP(-2,b),j[i>>2]=k;break b}j[e+12>>2]=c;j[c+8>>2]=e;break b}h=j[d+24>>2];b=j[d+12>>2];c:{if((d|0)!=(b|0)){c=j[d+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break c}d:{e=d+20|0;c=j[e>>2];if(c){break d}e=d+16|0;c=j[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break b}e=j[d+28>>2];c=(e<<2)+268816|0;e:{if(j[c>>2]==(d|0)){j[c>>2]=b;if(b){break e}i=268516,k=j[67129]&mP(-2,e),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}j[b+24>>2]=h;c=j[d+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[d+20>>2];if(!c){break b}j[b+20>>2]=c;j[c+24>>2]=b;break b}b=j[f+4>>2];if((b&3)!=3){break b}j[67130]=a;j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=j[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(j[67134]==(f|0)){j[67134]=d;a=j[67131]+a|0;j[67131]=a;j[d+4>>2]=a|1;if(j[67133]!=(d|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=d;a=j[67130]+a|0;j[67130]=a;j[d+4>>2]=a|1;j[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=j[f+8>>2];b=b>>>3|0;e=j[f+12>>2];if((c|0)==(e|0)){i=268512,k=j[67128]&mP(-2,b),j[i>>2]=k;break g}j[c+12>>2]=e;j[e+8>>2]=c;break g}h=j[f+24>>2];b=j[f+12>>2];h:{if((f|0)!=(b|0)){c=j[f+8>>2];j[c+12>>2]=b;j[b+8>>2]=c;break h}i:{e=f+20|0;c=j[e>>2];if(c){break i}e=f+16|0;c=j[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=j[e>>2];if(c){continue}e=b+16|0;c=j[b+16>>2];if(c){continue}break}j[g>>2]=0}if(!h){break g}e=j[f+28>>2];c=(e<<2)+268816|0;j:{if(j[c>>2]==(f|0)){j[c>>2]=b;if(b){break j}i=268516,k=j[67129]&mP(-2,e),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}j[b+24>>2]=h;c=j[f+16>>2];if(c){j[b+16>>2]=c;j[c+24>>2]=b}c=j[f+20>>2];if(!c){break g}j[b+20>>2]=c;j[c+24>>2]=b}j[d+4>>2]=a|1;j[a+d>>2]=a;if(j[67133]!=(d|0)){break f}j[67130]=a;return}j[f+4>>2]=b&-2;j[d+4>>2]=a|1;j[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+268552|0;c=j[67128];a=1<>2]}j[b+8>>2]=d;j[a+12>>2]=d;j[d+12>>2]=b;j[d+8>>2]=a;return}e=31;j[d+16>>2]=0;j[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}j[d+28>>2]=e;g=(e<<2)+268816|0;l:{m:{c=j[67129];b=1<>2]=d;j[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=j[g>>2];while(1){c=b;if((j[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=j[g+16>>2];if(b){continue}break}j[g+16>>2]=d;j[d+24>>2]=c}j[d+12>>2]=d;j[d+8>>2]=d;break l}a=j[c+8>>2];j[a+12>>2]=d;j[c+8>>2]=d;j[d+24>>2]=0;j[d+12>>2]=c;j[d+8>>2]=a}a=j[67136]-1|0;j[67136]=a;if(a){break a}d=268968;while(1){a=j[d>>2];d=a+8|0;if(a){continue}break}j[67136]=-1}}function aO(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;g=oe;q=g;j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;f=j[b+4>>2];if((f|0)>=1){i=j[b+8>>2];while(1){e=(h[c+i|0]>0)+e|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[a+8>>2]=e;j[a+4>>2]=f;j[a>>2]=j[b>>2];if(e){p=xO(j[b+8>>2],f,e);l=e<<2;o=g-(l+15&-16)|0;i=o;oe=i;if(p){g=0;while(1){c=g<<2;f=c+p|0;d=j[f>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d>>>4&252645135|d<<4&-252645136;d=d>>>2&858993459|d<<2&-858993460;j[f>>2]=d>>>1&1431655765|d<<1&-1431655766;j[c+o>>2]=f;g=g+1|0;if((g|0)!=(e|0)){continue}break}eg(o,e,4,82);n=i-(l+15&-16)|0;oe=n;g=Te(l);j[a+20>>2]=g;d=e>>>0>1?e:1;c=0;while(1){j[n+(j[o+(c<<2)>>2]-p|0)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}i=e>>>0>1?e:1;c=0;while(1){d=c<<2;j[g+(j[d+n>>2]<<2)>>2]=j[d+p>>2];c=c+1|0;if((i|0)!=(c|0)){continue}break}ze(p);t=a,u=hO(b,e,n),j[t+16>>2]=u;l=Te(l);j[a+24>>2]=l;f=0;e=0;g=j[b+4>>2];i=(g|0)<1;if(!i){d=j[b+8>>2];c=0;while(1){if(h[c+d|0]>=1){j[l+(j[n+(e<<2)>>2]<<2)>>2]=c;e=e+1|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=Te(e);j[a+40>>2]=0;j[a+28>>2]=d;a:{if(i){break a}e=j[b+8>>2];d=0;c=0;while(1){i=h[c+e|0];b:{if((i|0)<1){break b}h[j[a+28>>2]+j[n+(f<<2)>>2]|0]=i;f=f+1|0;e=j[b+8>>2];d=h[e+c|0];i=j[a+40>>2];if((d|0)<=(i|0)){d=i;break b}j[a+40>>2]=d}c=c+1|0;if((c|0)>2]){continue}break}if((f|0)!=1){break a}f=1;if((d|0)!=1){break a}j[a+36>>2]=1;b=a;a=bf(2,4);j[b+32>>2]=a;j[a>>2]=1;j[a+4>>2]=1;oe=q;return 0}g=0;b=j[a+8>>2];b=b?32-s(b)|0:0;b=b>>>0<9?5:b-4|0;k=(b|0)<8?b:8;j[a+36>>2]=k;n=1<>2]=r;if((f|0)>=1){o=j[a+28>>2];d=0;while(1){l=d+o|0;e=h[l|0];if(!((k|0)<(e|0)|(k-e|0)==31)){b=j[j[a+20>>2]+(d<<2)>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=b>>>4&252645135|b<<4&-252645136;b=b>>>2&858993459|b<<2&-858993460;i=b>>>1&1431655765|b<<1&-1431655766;b=d+1|0;c=0;while(1){j[r+((i|c<>2]=b;c=c+1|0;e=h[l|0];if((c|0)<1<1?n:1;n=32-k|0;o=-2<<31-k;d=0;b=0;while(1){k=b<>>8&65280|k>>>24);c=c>>>4&252645135|c<<4&-252645136;c=c>>>2&858993459|c<<2&-858993460;l=r+((c>>>1&357913941|c<<1&715827882)<<2)|0;if(!j[l>>2]){c=d+1|0;i=((c|0)<(f|0)?f:c)-1|0;c=d;while(1){c:{d=c;c=c+1|0;if((f|0)<=(c|0)){d=i;break c}if(k>>>0>=m[j[a+20>>2]+(c<<2)>>2]){continue}}break}d:{if((f|0)<=(g|0)){break d}c=j[a+20>>2];while(1){if(k>>>0<(o&j[c+(g<<2)>>2])>>>0){break d}g=g+1|0;if((g|0)!=(f|0)){continue}break}g=f}c=f-g|0;j[l>>2]=(d>>>0<32767?d:32767)<<15|(c>>>0<32767?c:32767)|-2147483648}b=b+1|0;if((p|0)!=(b|0)){continue}break}oe=q;return 0}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;d=-1}oe=q;return d}function Wm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=oe-48|0;oe=m;g=ys(a,b,c);a:{if((g|0)<0){break a}d=j[a+88>>2];if((d|0)<=3){g=-129;if((d|0)!=3){break a}d=a+480|0;e=j[a+72>>2];b:{if(j[a+4>>2]){g=-137;if(!di(d,e+(j[a+96>>2]<<5)|0)){break b}break a}g=-137;if(di(d,e)){break a}}Sk(a+480|0,a+592|0);j[a+104>>2]=0;j[a+108>>2]=0;j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0}i=a+592|0;n=a+480|0;h=a+120|0;d=0;while(1){c:{e=Kp(h,m+16|0);if((e|0)>=1){e=fm(j[a+72>>2]+(j[a+96>>2]<<5)|0,m+16|0);if((e|0)<=-1){mg(h,0);continue}d:{if(!d){f=j[a+80>>2];d=j[a+84>>2];break d}d=d+e>>2;g=d;f=d+j[a+80>>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d}g=j[j[a+72>>2]+28>>2];l=-1;e:{if(!g){break e}l=j[g+4>>2]}l=l+e>>2;g=l;f=g+f|0;d=(g>>31)+d|0;d=f>>>0>>0?d+1|0:d;if((c|0)<(d|0)?1:(c|0)<=(d|0)?b>>>0<=f>>>0:0){break c}mg(h,0);TI(i,m+16|0);Dn(n,i);d=j[m+32>>2];l=j[m+36>>2];if((l|0)<0){d=e;continue}q=j[a+68>>2];o=j[a+96>>2];g=q+(o<<4)|0;f=j[g>>2];l=l-(j[g+4>>2]+(d>>>0>>0)|0)|0;d=d-f|0;p=d;d=(l|0)>0?1:(l|0)>=0?!!d:0;f=d?p:0;l=d?l:0;d=l;j[a+80>>2]=f;j[a+84>>2]=d;g=0;if((o|0)<1){d=e;continue}while(1){r=q+(g<<4|8)|0;s=j[r>>2];f=s+f|0;d=j[r+4>>2]+d|0;d=f>>>0>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;g=g+1|0;if((o|0)!=(g|0)){continue}break}d=e;continue}f:{switch(e+3|0){case 0:case 3:break f;default:break c}}Qf(a,m,-1,-1);if((pe|0)<0){break c}g:{h:{if(k[j[m>>2]+5|0]&2){wg(n);Yg(i);j[a+88>>2]=2;break h}if(j[a+88>>2]>2){break g}}e=j[m>>2];e=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);f=j[a+52>>2];i:{if((f|0)<1){g=0;break i}l=j[a+64>>2];g=0;while(1){if((e|0)==j[(g<<2)+l>>2]){break i}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((f|0)==(g|0)){continue}j[a+88>>2]=3;j[a+96>>2]=g;d=j[m>>2];j[a+92>>2]=k[d+14|0]|k[d+15|0]<<8|(k[d+16|0]<<16|k[d+17|0]<<24);ph(h,e);d=0;e=j[a+88>>2];if((e|0)>3){break g}if((e|0)!=3){g=-129;break a}e=j[a+72>>2];j:{if(j[a+4>>2]){if(!di(n,e+(j[a+96>>2]<<5)|0)){break j}g=-137;break a}if(!di(n,e)){break j}g=-137;break a}Sk(n,i);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}Ng(h,m);continue}break}j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;g=0;e=j[a+84>>2];d=e;r=j[j[j[a+72>>2]+28>>2]+3656>>2];l=r;i=l;h=i&31;f=j[a+80>>2];p=f;if((i&63)>>>0>=32){i=-1<>>32-h|-1<(h|0)?1:(h|0)<=(e|0)?p>>>0>=s>>>0:0){break a}while(1){e=b;h=e-f|0;i=Qi(n,0);p=i;t=i;f=c-((f>>>0>e>>>0)+d|0)|0;d=l;e=d&31;if((d&63)>>>0>=32){d=f>>31;e=f>>e}else{d=f>>e;e=((1<>>e}q=e;e=d;f=p>>31;i=((d|0)<(f|0)?1:(d|0)<=(f|0)?q>>>0>>0:0)?q:i;d=i+j[n+24>>2]|0;if(!((d|0)>j[n+20>>2]?i:0)){j[n+24>>2]=d}d=i<>2]|0;d=j[a+84>>2]+(d>>31)|0;d=f>>>0

>>0?d+1|0:d;j[a+80>>2]=f;j[a+84>>2]=d;h=i>>31;k:{if((e|0)<(h|0)?1:(h|0)>=(e|0)?i>>>0>=q>>>0:0){break k}if((rs(a)|0)>=1){f=j[a+80>>2];d=j[a+84>>2];break k}f=Gi(a,-1);e=pe;d=e;j[a+80>>2]=f;j[a+84>>2]=d}if((d|0)<(o|0)?1:(d|0)<=(o|0)?f>>>0>>0:0){continue}break}}oe=m+48|0;return g}function ao(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 m=0;m=h^255;a:{b:{c:{d:{h=j[a+4>>2];switch(k[h+9|0]-2|0){case 2:break c;case 0:break d;default:break b}}e:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];i[d>>1]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;i[m>>1]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];i[d>>1]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+28|0];c=k[h+32|0];e=j[h+24>>2]|((p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],m)>>>0)/255|0)+e>>>b<>2]+((a&j[h+16>>2])>>>c|0)|0],m)>>>0)/255|0)+f>>>b<>2];a=k[h+34|0];j[d>>2]=c|((p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],m)>>>0)/255|0)+g>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[h+33|0];b=m+k[j[(d<<2)+234976>>2]+((a&j[h+16>>2])>>>f|0)|0]|0;m=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[h+12>>2])>>>c|0)|0]+e|0;d=j[h+24>>2]|(f|(d>>>0<255?d:255)>>>b<>2];a=k[h+34|0];c=k[j[(b<<2)+234976>>2]+(c>>>a|0)|0]+g|0;j[m>>2]=d|(c>>>0<255?c:255)>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[h+29|0];c=k[h+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[h+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]|(f|(p(k[j[(b<<2)+234976>>2]+((a&j[h+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2];a=k[h+34|0];j[d>>2]=c|(p(k[j[(b<<2)+234976>>2]+(e>>>a|0)|0],g)>>>0)/255>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=j[h+24>>2]|(f>>>k[h+29|0]<>>k[h+28|0]<>>k[h+30|0]<>2]=0;j[q+24>>2]=0;j[q+20>>2]=0;j[q+16>>2]=0;j[q+12>>2]=0;i=-1;a:{if((_h(b,c,d,e,q+28|0,q+24|0,q+20|0,q+16|0,q+12|0)|0)<0){break a}b:{c:{d:{e:{f:{k=j[58753];switch(k|0){case 0:break b;case 2:break d;case 1:break e;case 3:break f;default:break c}}if((b|0)>576){break d}}k=1;break b}k=2;break b}k=1;if((ve(99823,0)|0)<0){break a}}i=j[q+12>>2];l=j[q+16>>2];m=j[q+20>>2];n=j[q+24>>2];o=j[q+28>>2];g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)<=1431918168){u:{switch(c-842094158|0){case 0:break r;case 11:break t;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break h;default:break u}}if((c|0)==825382478){break r}if((c|0)==844715353){break s}break h}if((c|0)==1431918169|(c|0)==1498831189){break s}if((c|0)!=1448433993){break h}}v:{if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break q}if((f|0)!=370546692){break v}break i}if((f|0)!=371595268){if((f|0)==372645892){break i}if((f|0)!=373694468){break v}}Ht(a,b,o,n,m,l,i,g,h,k);i=0;break a}w:{if((f|0)<=376840195){if((f|0)==374740996){break w}if((f|0)!=375789572){break v}break j}if((f|0)==376840196){break w}if((f|0)==377888772){break j}if((f|0)!=386930691){break v}It(a,b,o,n,m,l,i,g,h,k);i=0;break a}Et(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((c|0)==1431918169){break s}if((c|0)!=844715353){break h}}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break p}if((f|0)!=370546692){break g}break k}if((f|0)!=371595268){if((f|0)==372645892){break k}if((f|0)!=373694468){break g}}Bt(a,b,o,n,m,l,i,g,h,k);i=0;break a}x:{if((f|0)<=376840195){if((f|0)==374740996){break x}if((f|0)!=375789572){break g}break l}if((f|0)==376840196){break x}if((f|0)==377888772){break l}if((f|0)!=386930691){break g}Ct(a,b,o,n,m,l,i,g,h,k);i=0;break a}xt(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)<=374740995){if((f|0)<=371595267){if((f|0)==353701890){break o}if((f|0)!=370546692){break g}break m}if((f|0)!=371595268){if((f|0)==372645892){break m}if((f|0)!=373694468){break g}}ut(a,b,o,n,m,l,i,g,h,k);i=0;break a}y:{if((f|0)<=376840195){if((f|0)==374740996){break y}if((f|0)!=375789572){break g}break n}if((f|0)==376840196){break y}if((f|0)==377888772){break n}if((f|0)!=386930691){break g}vt(a,b,o,n,m,l,i,g,h,k);i=0;break a}rt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Jt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Dt(a,b,o,n,m,l,i,g,h,k);i=0;break a}wt(a,b,o,n,m,l,i,g,h,k);i=0;break a}tt(a,b,o,n,m,l,i,g,h,k);i=0;break a}st(a,b,o,n,m,l,i,g,h,k);i=0;break a}zt(a,b,o,n,m,l,i,g,h,k);i=0;break a}yt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Gt(a,b,o,n,m,l,i,g,h,k);i=0;break a}Ft(a,b,o,n,m,l,i,g,h,k);i=0;break a}if((f|0)!=372645892){break g}i=ve(99642,0);break a}l=a<<2;i=p(l,b);k=qe[j[57972]](i?i:1)|0;if(k){j[57976]=j[57976]+1}if(!k){i=Be(0);break a}i=jn(a,b,c,d,e,372645892,k,l);if((i|0)>-1){i=fh(a,b,372645892,k,l,f,g,h)}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}}oe=q+32|0;return i}function Yy(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,m=0,n=0,o=0,q=0,r=0,s=0;Oe(b,k[262239],c);qe[j[57813]](j[65569],b,c);r=sg();if(j[65565]>=1){a=j[65566];q=128;while(1){h=p(i,60);d=h+a|0;a:{if(j[d+8>>2]){break a}e=j[d+28>>2];b:{if(!(!e|e>>>0>=r>>>0)){j[d+36>>2]=0;j[d+20>>2]=0;j[d+4>>2]=0;j[d+28>>2]=0;d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;break b}g=j[d+36>>2];if(!g){break b}a=j[d+48>>2];e=r-j[d+52>>2]|0;if(a>>>0<=e>>>0){Gj(i,j[d+44>>2]);d=j[65566];a=h+d|0;if(j[a+36>>2]==1){j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;a=j[65570];if(a){qe[a|0](i);d=j[65566]}a=d+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];g=j[a+4>>2];if(g){qe[g|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}d=j[65566]}j[e+56>>2]=0}j[(d+h|0)+36>>2]=0;break b}d=j[d+40>>2];if((g|0)==1){Gj(i,(p(d,a-e|0)>>>0)/(a>>>0)|0);break b}Gj(i,(p(d,e)>>>0)/(a>>>0)|0)}a=j[65566];d=j[(h+a|0)+4>>2];if((d|0)<1){break a}g=0;c:{if((c|0)<=0){break c}while(1){e=c-g|0;f=(d|0)>(e|0)?e:d;a=a+h|0;q=(p(j[a+16>>2],k[j[a>>2]+12|0])|0)/128|0;d=j[a+12>>2];a=j[a+56>>2];d:{if(!a){break d}e=qe[j[57972]](f?f:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break d}Ge(e,d,f);while(1){d=j[a>>2];if(d){qe[d|0](i,e,f,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}d=e}kl(b+g|0,d,l[131118],f,q);a=j[65566];if(j[(h+a|0)+12>>2]!=(d|0)){if(d){qe[j[57975]](d);j[57976]=j[57976]-1}a=j[65566];d=j[(h+a|0)+12>>2]}e=a+h|0;j[e+12>>2]=d+f;d=j[e+4>>2]-f|0;j[e+4>>2]=d;g=f+g|0;if(!d){if(j[e+20>>2]){d=0;break c}d=j[65570];if(d){qe[d|0](i);a=j[65566]}a=a+h|0;e=a;a=j[a+56>>2];if(a){while(1){d=j[a+12>>2];f=j[a+4>>2];if(f){qe[f|0](i,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=d;if(a){continue}break}}j[e+56>>2]=0;a=j[65566];d=j[(h+a|0)+4>>2]}if((c|0)<=(g|0)){break c}if((d|0)>0){continue}break}}e=a+h|0;s=e+20|0;f=j[e+20>>2];o=!f;e:{if(!f|(c|0)<=(g|0)){break e}d=j[e>>2];e=j[d+4>>2];n=j[d+8>>2];while(1){d=c-g|0;m=(d|0)>(n|0)?n:d;a=j[(a+h|0)+56>>2];f:{if(!a){break f}d=qe[j[57972]](m?m:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break f}Ge(d,e,m);while(1){e=j[a>>2];if(e){qe[e|0](i,d,m,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}e=d}kl(b+g|0,e,l[131118],m,q);a=j[65566];if(j[j[h+a>>2]+4>>2]!=(e|0)){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}a=j[65566]}d=a+h|0;e=d;s=d+20|0;f=j[d+20>>2];if((f|0)>=1){f=f-1|0;j[e+20>>2]=f}n=j[d>>2];e=j[n+4>>2];j[d+12>>2]=m+e;o=d;n=j[n+8>>2];d=n-m|0;j[o+4>>2]=d;o=!f;g=g+m|0;if((g|0)>=(c|0)){break e}if(f){continue}break}}if(d|o){break a}d=a+h|0;e=d;if((f|0)>=1){j[s>>2]=f-1}o=d;d=j[d>>2];j[o+12>>2]=j[d+4>>2];j[e+4>>2]=j[d+8>>2]}i=i+1|0;if((i|0)>2];if(d){qe[d|0](-2,b,c,j[a+8>>2])}a=j[a+12>>2];if(a){continue}break}}a=j[65568];if(a){qe[a|0](j[65567],b,c)}}function lN(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;b=oe-160|0;oe=b;a:{if(!$i(48)){if(j[57790]){b:{if(kv(b+136|0)){i=b,k=Jg(),j[i+112>>2]=k;$g(1503,b+112|0);c=j[b+144>>2];a=j[b+140>>2];break b}a=j[b+140>>2];if(j[58880]){j[57789]=a;c=j[b+144>>2];j[57788]=c;break b}g=+(a|0)*.8;c:{if(r(g)<2147483648){d=~~g;break c}d=-2147483648}j[57789]=d;c=j[b+144>>2];g=+(c|0)*.8;d:{if(r(g)<2147483648){d=~~g;break d}d=-2147483648}j[57788]=d}j[b+100>>2]=c;j[b+96>>2]=a;$g(1584,b+96|0)}Yo(1612,1645);a=ev(j[57789],j[57788]);j[58883]=a;if(!a){break a}a=Nj(a,-1,4);j[58882]=a;if(!a){a=Nj(j[58883],-1,0);j[58882]=a;if(!a){break a}}if(j[58880]){pn(j[58883],1);a=j[58882]}DA(a);j[b+88>>2]=0;j[b+92>>2]=1073741824;j[b+80>>2]=1647;$g(1654,b+80|0);fi(j[58882],0,0,0,0);if((Yq(3)&3)!=3){i=b,k=Jg(),j[i+64>>2]=k;ji(1686,b- -64|0)}if(!QD()){a=wD();j[60723]=-754974721;j[60724]=-1274410486;j[60721]=a;j[b+136>>2]=0;c=0;while(1){j[b+32>>2]=c;fk(b+136|0,4,1729,b+32|0);j[b+28>>2]=j[60723];i=242904,k=_j(j[60721],b+136|0,b+28|0),j[i>>2]=k;Zj(j[60721],2);j[b+24>>2]=j[60724];i=242900,k=_j(j[60721],b+136|0,b+24|0),j[i>>2]=k;Zj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];e=j[a+4>>2];f=p(c,60);h=f+242928|0;d=h;j[d>>2]=j[a>>2];j[d+4>>2]=e;j[f+242984>>2]=j[a+56>>2];e=j[a+52>>2];d=f+242976|0;j[d>>2]=j[a+48>>2];j[d+4>>2]=e;e=j[a+44>>2];d=f+242968|0;j[d>>2]=j[a+40>>2];j[d+4>>2]=e;e=j[a+36>>2];d=f+242960|0;j[d>>2]=j[a+32>>2];j[d+4>>2]=e;e=j[a+28>>2];d=f+242952|0;j[d>>2]=j[a+24>>2];j[d+4>>2]=e;e=j[a+20>>2];d=f+242944|0;j[d>>2]=j[a+16>>2];j[d+4>>2]=e;d=j[a+12>>2];f=f+242936|0;j[f>>2]=j[a+8>>2];j[f+4>>2]=d;i=(c<<2)+260928|0,k=Zk(j[58882],h),j[i>>2]=k;c=c+1|0;if((c|0)!=300){continue}break}j[b+16>>2]=-1;fk(b+136|0,4,1729,b+16|0);j[b+12>>2]=j[60723];i=242904,k=_j(j[60721],b+136|0,b+12|0),j[i>>2]=k;Zj(j[60721],2);j[b+8>>2]=j[60724];i=242900,k=_j(j[60721],b+136|0,b+8|0),j[i>>2]=k;Zj(j[60721],0);j[60727]=2;j[60728]=2;a=j[60726];j[60729]=j[a+8>>2];j[60730]=j[a+12>>2];cg(a,1);gh(j[60726],0,j[60725],242908);a=j[60725];c=j[a+4>>2];j[65217]=j[a>>2];j[65218]=c;c=j[a+12>>2];j[65219]=j[a+8>>2];j[65220]=c;c=j[a+20>>2];j[65221]=j[a+16>>2];j[65222]=c;c=j[a+28>>2];j[65223]=j[a+24>>2];j[65224]=c;c=j[a+36>>2];j[65225]=j[a+32>>2];j[65226]=c;c=j[a+44>>2];j[65227]=j[a+40>>2];j[65228]=c;c=j[a+52>>2];j[65229]=j[a+48>>2];j[65230]=c;j[65231]=j[a+56>>2];i=262124,k=Zk(j[58882],260868),j[i>>2]=k;kf(j[60726]);kf(j[60725]);j[65532]=0;j[65533]=-1;j[58915]=1771;j[58911]=1435;j[58910]=1748;j[58916]=0;j[58912]=0;ol();Jo();j[58889]=0;j[58890]=0;j[58887]=0;j[58888]=0;j[58903]=2;i=235616,k=Qp(j[58882],1293),j[i>>2]=k;i=235620,k=Qp(j[58882],1321),j[i>>2]=k;Zx();_n();j[58886]=0;tc(1,0,1);break a}i=b,k=Jg(),j[i+48>>2]=k;ji(1734,b+48|0);U(1);z()}i=b,k=Jg(),j[i+128>>2]=k;ji(1802,b+128|0)}oe=b+160|0}function dp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=a+b|0;a:{b:{c=j[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=j[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=j[67133]){if(c>>>0<=255){e=c>>>3|0;c=j[a+8>>2];d=j[a+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&mP(-2,e),j[i>>2]=k;break b}j[c+12>>2]=d;j[d+8>>2]=c;break b}h=j[a+24>>2];c=j[a+12>>2];c:{if((c|0)!=(a|0)){d=j[a+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break c}d:{d=a+20|0;e=j[d>>2];if(e){break d}d=a+16|0;e=j[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break b}d=j[a+28>>2];e=(d<<2)+268816|0;e:{if(j[e>>2]==(a|0)){j[e>>2]=c;if(c){break e}i=268516,k=j[67129]&mP(-2,d),j[i>>2]=k;break b}j[h+(j[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}j[c+24>>2]=h;d=j[a+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[a+20>>2];if(!d){break b}j[c+20>>2]=d;j[d+24>>2]=c;break b}c=j[f+4>>2];if((c&3)!=3){break b}j[67130]=b;j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[f>>2]=b;return}c=j[f+4>>2];f:{if(!(c&2)){if(j[67134]==(f|0)){j[67134]=a;b=j[67131]+b|0;j[67131]=b;j[a+4>>2]=b|1;if(j[67133]!=(a|0)){break a}j[67130]=0;j[67133]=0;return}if(j[67133]==(f|0)){j[67133]=a;b=j[67130]+b|0;j[67130]=b;j[a+4>>2]=b|1;j[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=j[f+8>>2];d=j[f+12>>2];if((d|0)==(c|0)){i=268512,k=j[67128]&mP(-2,e),j[i>>2]=k;break g}j[c+12>>2]=d;j[d+8>>2]=c;break g}h=j[f+24>>2];c=j[f+12>>2];h:{if((f|0)!=(c|0)){d=j[f+8>>2];j[d+12>>2]=c;j[c+8>>2]=d;break h}i:{d=f+20|0;e=j[d>>2];if(e){break i}d=f+16|0;e=j[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=j[d>>2];if(e){continue}d=c+16|0;e=j[c+16>>2];if(e){continue}break}j[g>>2]=0}if(!h){break g}d=j[f+28>>2];e=(d<<2)+268816|0;j:{if(j[e>>2]==(f|0)){j[e>>2]=c;if(c){break j}i=268516,k=j[67129]&mP(-2,d),j[i>>2]=k;break g}j[h+(j[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}j[c+24>>2]=h;d=j[f+16>>2];if(d){j[c+16>>2]=d;j[d+24>>2]=c}d=j[f+20>>2];if(!d){break g}j[c+20>>2]=d;j[d+24>>2]=c}j[a+4>>2]=b|1;j[a+b>>2]=b;if(j[67133]!=(a|0)){break f}j[67130]=b;return}j[f+4>>2]=c&-2;j[a+4>>2]=b|1;j[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+268552|0;d=j[67128];c=1<>2]}j[b+8>>2]=a;j[c+12>>2]=a;j[a+12>>2]=b;j[a+8>>2]=c;return}d=31;j[a+16>>2]=0;j[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}j[a+28>>2]=d;c=(d<<2)+268816|0;l:{e=j[67129];g=1<>2]=a;j[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=j[c>>2];while(1){e=c;if((j[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=j[g+16>>2];if(c){continue}break}j[g+16>>2]=a;j[a+24>>2]=e}j[a+12>>2]=a;j[a+8>>2]=a;return}b=j[e+8>>2];j[b+12>>2]=a;j[e+8>>2]=a;j[a+24>>2]=0;j[a+12>>2]=e;j[a+8>>2]=b}}function Wh(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0;e=35;a:{if(!a|!j[a+88>>2]){break a}d=j[a+84>>2];if(!d){break a}e=j[d+156>>2];b:{if(!(!e|!(h[e+4|0]&1))){e=j[j[d+4>>2]+100>>2];f=j[d+88>>2];if(f){qe[j[e+8>>2]](e,f)}j[d+88>>2]=0;e=j[d+156>>2];j[e+4>>2]=j[e+4>>2]&-2;break b}j[d+88>>2]=0}j[d+24>>2]=0;j[d+28>>2]=0;j[d+72>>2]=0;j[d+76>>2]=0;j[d+100>>2]=0;j[d+104>>2]=0;h[d+94|0]=0;j[d+32>>2]=0;j[d+36>>2]=0;j[d+40>>2]=0;j[d+44>>2]=0;j[d+48>>2]=0;j[d+52>>2]=0;j[d+56>>2]=0;j[d+60>>2]=0;j[d+80>>2]=0;j[d+84>>2]=0;j[d+108>>2]=0;j[d+112>>2]=0;j[d+116>>2]=0;j[d+120>>2]=0;j[d+124>>2]=0;j[d+128>>2]=0;j[d+132>>2]=0;j[d+136>>2]=0;j[d+140>>2]=0;j[d+144>>2]=0;j[d+148>>2]=0;j[d+152>>2]=0;e=j[a+96>>2];c:{d:{c=c&1024?c|2049:c;i=c&1?c&-15|10:c;if(i&32770){break d}f=j[j[e+4>>2]+160>>2];if(!f){break d}m=j[j[e>>2]>>2];if((m&768)!=256){break d}c=j[a+8>>2];if(c&8192){break d}e:{if(i&2048){break e}n=j[a+128>>2];g=j[n>>2];if(!j[n+8>>2]){if(g){break e}break d}if(g){break d}}if(!(i&32|(i&983040)==65536|(k[j[a+128>>2]+52|0]|!(m&1024)))){if(!(c&8)|!j[a+696>>2]|(l[a+286>>1]|j[a+628>>2])){break d}if(j[a+636>>2]){break d}}f:{if(!(c&2)|i&8){break f}if(qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i|16384)|0){break f}c=0;if(j[d+72>>2]==1651078259){break c}}e=j[a+128>>2];g=j[e+24>>2];j[e+24>>2]=0;c=qe[j[j[j[f>>2]+20>>2]+12>>2]](f,d,j[a+88>>2],b,i)|0;j[e+24>>2]=g;break c}e=qe[j[j[e+12>>2]+72>>2]](d,j[a+88>>2],b,i)|0;if(e){break a}c=0;if(j[d+72>>2]!=1869968492){break c}e=yO(d+108|0);if(e){break a}if(i&2){break c}b=d;g:{if(i&16){j[d+32>>2]=j[d+32>>2]&-64;e=j[d+44>>2];f=e&-64;j[d+44>>2]=f;g=j[d+48>>2];m=g&-64;j[d+48>>2]=m;j[d+36>>2]=j[d+36>>2]+63&-64;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=((g+j[d+28>>2]|0)+63&-64)-m|0;break g}j[d+44>>2]=j[d+44>>2]&-64;j[d+48>>2]=j[d+48>>2]&-64;e=j[d+32>>2];f=e&-64;j[d+32>>2]=f;g=j[d+36>>2];m=g+63&-64;j[d+36>>2]=m;j[d+24>>2]=((e+j[d+24>>2]|0)+63&-64)-f;e=m-(g-j[d+28>>2]&-64)|0}j[b+28>>2]=e;j[d+40>>2]=j[d+40>>2]+32&-64;j[d+52>>2]=j[d+52>>2]+32&-64}b=d;h:{if(i&16){f=0;e=j[d+52>>2];break h}f=j[d+40>>2];e=0}j[b+64>>2]=f;j[d+68>>2]=e;if(!(!(h[a+8|0]&1)|i&8192)){b=j[a+88>>2];o=d,p=Ne(j[d+56>>2],j[b+16>>2],64),j[o+56>>2]=p;o=d,p=Ne(j[d+60>>2],j[b+20>>2],64),j[o+60>>2]=p}b=c;i:{if(i&2048){break i}g=j[a+128>>2];f=j[g+24>>2];b=c;if(!f){break i}j:{k:{a=j[j[j[d+4>>2]+96>>2]+4>>2];e=j[a+156>>2];l:{if(!e){b=j[d+72>>2];break l}b=j[d+72>>2];if((b|0)==j[e+16>>2]){break k}}a=j[a+148>>2];if(a){while(1){e=j[a+8>>2];if(j[e+16>>2]==(b|0)){break k}a=j[a+4>>2];if(a){continue}break}}m:{if((b|0)!=1869968492){break m}if(f&1){Ah(d+108|0,g);f=j[g+24>>2]}if(!(f&2)){break m}Tf(d+108|0,j[g+16>>2],j[g+20>>2])}break j}c=qe[j[j[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}Tg(d- -64|0,g);b=c}e=b;if(e){break a}e=0;a=j[d+72>>2];if(!(i&4)|((a|0)==1651078259|(a|0)==1668246896)){break a}a=i>>>16&15;e=js(d,a?a:i>>>11&2)}return e}function PM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(m[a+404>>2]>=a+32>>>0){d=j[a+20>>2];h=j[a+412>>2];g=h;c=j[a+16>>2];e=k[c|0];a:{if((e|0)==30){c=Jf(c,d,0,0);break a}b:{c:{d:{e:{switch(e-28|0){case 0:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break c;case 1:if(d>>>0>>0){break b}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(e>>>0<=246){b=e-139|0;break b}f=c+2|0;if(e>>>0<=250){if(d>>>0>>0){break b}b=(k[c+1|0]|e<<8)-63124|0;break c}if(d>>>0>>0){break b}b=64148-(k[c+1|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break a}}c=(b|0)<-32767?-2147483647:b<<16;break a}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[g+84>>2]=b;f=j[a+24>>2];e=h;c=j[a+20>>2];d=k[c|0];f:{if((d|0)==30){c=Jf(c,f,0,0);break f}g:{h:{i:{j:{switch(d-28|0){case 0:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break h;case 1:b=0;if(f>>>0>>0){break g}b=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(d>>>0<=246){b=d-139|0;break g}g=c+2|0;if(d>>>0<=250){b=0;if(f>>>0>>0){break g}b=(k[c+1|0]|d<<8)-63124|0;break h}b=0;if(f>>>0>>0){break g}b=64148-(k[c+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}b=c+32768&-65536;if((c|0)<0){b=0-(32768-c&-65536)|0}j[e+88>>2]=b;f=j[a+28>>2];b=j[a+24>>2];d=k[b|0];k:{if((d|0)==30){c=Jf(b,f,0,0);break k}l:{m:{n:{switch(d-28|0){case 0:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break l;case 1:c=0;if(f>>>0>>0){break k}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(d<<16)-9109504|0;if(d>>>0<=246){break k}g=b+2|0;if(d>>>0<=250){c=0;if(f>>>0>>0){break k}b=(k[b+1|0]|d<<8)-63124|0;break l}c=0;if(f>>>0>>0){break k}b=64148-(k[b+1|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}b=c;d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[e+92>>2]=d;e=j[a+32>>2];b=j[a+28>>2];c=k[b|0];o:{if((c|0)==30){a=Jf(b,e,0,0);break o}p:{q:{r:{switch(c-28|0){case 0:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8;b=(a<<24|a<<8&16711680)>>16;break p;case 1:a=0;if(e>>>0>>0){break o}a=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}a=(c<<16)-9109504|0;if(c>>>0<=246){break o}d=b+2|0;if(c>>>0<=250){a=0;if(d>>>0>e>>>0){break o}b=(k[b+1|0]|c<<8)-63124|0;break p}a=0;if(d>>>0>e>>>0){break o}b=64148-(k[b+1|0]|c<<8)|0}a=2147483647;if((b|0)>32767){break o}}a=(b|0)<-32767?-2147483647:b<<16}b=a;c=b+32768&-65536;if((b|0)<0){c=0-(32768-b&-65536)|0}j[h+96>>2]=c;a=0}else{a=161}return a|0}function ur(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=oe-16|0;oe=q;e=j[a+72>>2];r=j[a+64>>2];n=j[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(j[a>>2]){case 0:if(Fe(j[a+164>>2],2)){break f}if((Dm(j[a+164>>2],q+12|0,1)|0)!=1){break f}f=k[q+12|0];j[a+44>>2]=f&128;g=f&31;j[a+40>>2]=g;d=1<>2]=d-256;if(g>>>0>16){break f}j[a+52>>2]=9;j[a+56>>2]=f>>>7;j[a+60>>2]=g>>>0>9?256:d-255|0;e=0;f=om(a);if(f>>>0>255){break f}if(b){h[b|0]=f}if(c>>>0<2){break e}g=1;j[a>>2]=1;n=f;r=f;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}d=0;break b}d=1;n=f;r=f;break a}d=1}while(1){h:{if(!d){p=om(a);d=g;if((p|0)<0){break b}i:{j:{k:{while(1){if((p|0)!=256){break k}if(!j[a+44>>2]){break j}h[a+32|0]=1;r=0;j[a+56>>2]=0;n=0;p=om(a);if((p|0)>=0){continue}break}d=g;break b}f=p;if(f>>>0<256){break i}}f=p;d=f-256|0;e=j[a+56>>2];if(d>>>0>=e>>>0){if(d>>>0>e>>>0){break h}d=j[a+92>>2];e=j[a+96>>2];l:{if(d>>>0>>0){e=j[a+88>>2];break l}f=((e>>>1|0)+e|0)+4|0;s=j[a+168>>2];m:{n:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}o=0;j[a+88>>2]=0;d=f>>>0<65536?f:65536;e=0;break m}if((e|0)==65536){break h}}e=xe(s,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+e|0]=n;f=r;if(f>>>0<256){break i}}s=a+100|0;d=j[a+76>>2];while(1){if(!d){break h}d=j[a+92>>2];e=j[a+96>>2];o:{if(d>>>0>>0){e=j[a+88>>2];break o}d=((e>>>1|0)+e|0)+4|0;t=j[a+168>>2];o=j[a+88>>2];p:{if((s|0)!=(o|0)){if(d>>>0<=65536){break p}d=65536;if((e|0)==65536){break h}break p}o=0;j[a+88>>2]=0;d=d>>>0<65536?d:65536;e=0}e=xe(t,1,e,d,o,q+12|0);j[a+88>>2]=e;if(j[q+12>>2]){break h}j[a+96>>2]=d;d=j[a+92>>2]}f=f-256|0;o=k[f+j[a+80>>2]|0];j[a+92>>2]=d+1;h[d+e|0]=o;d=j[a+76>>2];f=l[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=j[a+92>>2];n=j[a+96>>2];q:{if(d>>>0>>0){n=j[a+88>>2];break q}e=((n>>>1|0)+n|0)+4|0;s=j[a+168>>2];r:{s:{t:{u:{o=j[a+88>>2];if((o|0)!=(a+100|0)){d=65536;if(e>>>0>65536){break u}d=e;break t}o=0;j[a+88>>2]=0;d=e>>>0<65536?e:65536;n=0;break t}if((n|0)==65536){break s}}n=xe(s,1,n,d,o,q+12|0);j[a+88>>2]=n;if(!j[q+12>>2]){break r}}n=f;break h}j[a+96>>2]=d;d=j[a+92>>2]}j[a+92>>2]=d+1;h[d+n|0]=f;j[a>>2]=2;n=f;e=p;p=g;d=1;continue}v:{while(1){g=j[a+92>>2];if(!g){break v}g=g-1|0;j[a+92>>2]=g;if(b){h[b+p|0]=k[g+j[a+88>>2]|0]}p=p+1|0;if((p|0)!=(c|0)){continue}break}d=c;break a}d=j[a+56>>2];if(d>>>0>2]){g=j[a+84>>2];if(g>>>0<=d>>>0){f=g?g+(g>>>2|0)|0:512;o=xe(j[a+168>>2],3,g,f,j[a+76>>2],q+12|0);j[a+76>>2]=o;d=p;if(j[q+12>>2]){break b}d=o+(f<<1)|0;j[a+80>>2]=d;zg(d,o+(g<<1)|0,g);j[a+84>>2]=f;d=j[a+56>>2]}i[j[a+76>>2]+(d<<1)>>1]=r;h[j[a+80>>2]+d|0]=n;j[a+56>>2]=j[a+56>>2]+1}j[a>>2]=1;r=e;g=p;d=0;continue}break}e=p;d=g}j[a>>2]=3}j[a+72>>2]=e;j[a+68>>2]=n;j[a+64>>2]=r;oe=q+16|0;return d}function ho(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=oe-32|0;oe=o;g=j[b+76>>2];m=j[a+436>>2];i=Vg();f=j[m>>2];a:{if((i|0)!=(f|0)){j[m+424>>2]=0;if((tg(j[a+188>>2],f)|0)<0){break a}}f=j[a+436>>2];if(!j[f+4>>2]){break a}while(1){if(qe[j[f+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[m+360>>2]=0;qe[j[m+20>>2]](j[g+4>>2],j[g>>2]);i=m;q=j[g+4>>2];r=j[c>>2];k=j[c+4>>2];s=j[c+8>>2];t=j[c+12>>2];u=j[g+8>>2];v=j[g+12>>2];h=d;n=e;f=j[b+4>>2];c:{if(!(!f|(f&-268435456)==268435456)){l=2;if((f|0)==844715353|(f|0)==1498831189){break c}l=(f|0)==1431918169?2:1;break c}l=f&255}Zz(i,q,r,k,s,t,u,v,h,n,l);d:{e:{f:{g:{if(j[g+24>>2]){f=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?32:36)>>2]);k=(e+1|0)/2|0;i=p(e,f)+d|0;d=j[c+8>>2];if(d+2>>>0<3){break e}f=j[c+12>>2];if(f+2>>>0<3){break e}e=0;s=j[g+4>>2];t=j[c>>2]/2|0;u=j[c+4>>2]/2|0;n=(d+1|0)/2|0;q=n;l=(f+1|0)/2|0;r=l;v=j[g+8>>2];w=j[g+12>>2];if((k|0)!=(n|0)){d=p(n,l);e=qe[j[57972]](d?d:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break g}d=0;if((f|0)>0){f=e;h=i;while(1){Ge(f,h,n);h=h+k|0;f=f+n|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=e}else{d=i}qe[j[m+160>>2]](s,0,t,u,q,r,v,w,d);if(!e){break e}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break e}if(!j[g+28>>2]){break d}b=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+36>>2]);k=j[c+8>>2];if(k+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;i=(h+1|0)/2|0;f=p(b,e)+d|0;g=j[g+4>>2];k=(k+1|0)/2|0;d=k<<1;q=(e+1|0)/2<<1;h:{if((d|0)==(q|0)){e=0;break h}b=p(d,i);e=qe[j[57972]](b?b:1)|0;if(e){j[57976]=j[57976]+1}if(!e){break f}b=0;if((h|0)>0){c=e;while(1){Ge(c,f,d);f=f+q|0;c=c+d|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}f=e}qe[j[m+160>>2]](g,0,l,n,k,i,6410,5121,f);if(!e){break d}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break d}Be(0);break e}Be(0);break d}d=j[c+12>>2];qe[j[m+20>>2]](j[g+4>>2],j[g+(j[b+4>>2]==842094169?36:32)>>2]);b=j[c+8>>2];if(b+2>>>0<3){break d}h=j[c+12>>2];if(h+2>>>0<3){break d}n=j[c+4>>2]/2|0;l=j[c>>2]/2|0;e=(h+1|0)/2|0;f=i+p(k,(d+1|0)/2|0)|0;q=j[g+12>>2];r=j[g+8>>2];g=j[g+4>>2];i:{b=(b+1|0)/2|0;j:{if((b|0)==(k|0)){d=0;break j}c=p(b,e);c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}d=c;if(!c){break i}i=0;if((h|0)>0){while(1){Ge(c,f,b);f=f+k|0;c=b+c|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=d}qe[j[m+160>>2]](g,0,l,n,b,e,r,q,f);if(!d){break d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}break d}Be(0)}h=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}f=qe[j[a+104>>2]]()|0;if(!f){break b}while(1){c=76063;b=f-1280|0;if(b>>>0<=5){c=j[(b<<2)+76072>>2]}j[o+20>>2]=f;j[o+16>>2]=c;j[o+12>>2]=75458;j[o+8>>2]=1662;j[o+4>>2]=74206;j[o>>2]=75440;ve(75966,o);f=qe[j[a+104>>2]]()|0;if(f){continue}break}h=-1}oe=o+32|0;return h|0}function xs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0,n=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;o=oe-416|0;oe=o;y=j[b+92>>2];j[a+40>>2]=l[b+68>>1];if(!tk(b)){Qm(a,b);c=(j[j[a>>2]+12>>2]<<3)+112816|0;d=j[c>>2];if((d|0)!=759){z=a+1616|0;A=a+44|0;while(1){q=c;f=d+112048|0;c=k[f|0];a:{if(!c){break a}v=k[q+4|0]&2?A:z;t=0;m=0;w=1;while(1){d=c&255;f=f+1|0;if(c<<24>>24<=-1){c=d>>>0<240;e=d>>>0<224;d=(e?31:c?15:7)&d;n=e?1:c?2:3;e=n;c=f;while(1){d=k[c|0]&63|d<<6;c=c+1|0;e=e-1|0;if(e){continue}break}f=f+n|0}b:{if((d|0)!=124){c=0;e=j[j[a+36>>2]>>2];c:{if(!e){break c}e=j[e+92>>2];if(!e){break c}c=qe[j[j[e+12>>2]+12>>2]](e,d)|0}if(!c){break b}if(Wh(b,c,1)){break b}d=j[b+84>>2];if(i[d+110>>1]<1){break b}c=0;x=i[d+108>>1];d:{if((x|0)<1){d=0;break d}B=j[d+120>>2];s=j[d+112>>2];e=-1;u=0;d=0;while(1){n=i[(u<<1)+B>>1];e:{if((n|0)<=(c|0)){break e}r=l[q+4>>1];g=r&1;if(r&2){if(g){while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[s+(c<<3)>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break}break e}if(g){while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)>(d|0);e=r?c:e;d=r?g:d;g=(c|0)==(n|0);c=c+1|0;if(!g){continue}break e}}while(1){g=j[(s+(c<<3)|0)+4>>2];r=(e|0)<0|(g|0)<(d|0);e=r?c:e;d=r?g:d;g=(c|0)!=(n|0);c=c+1|0;if(g){continue}break}}c=n+1|0;u=u+1|0;if((x|0)!=(u|0)){continue}break}}if(w){j[(o+208|0)+(t<<2)>>2]=d;t=t+1|0;break b}j[(m<<2)+o>>2]=d;m=m+1|0}w=0}c=k[f|0];if(c){continue}break}if(!(m|t)){break a}f=1;if(t>>>0>=2){while(1){e=j[(o+208|0)+(f<<2)>>2];c=f;while(1){d=c-1|0;n=(o+208|0)+(d<<2)|0;s=j[n>>2];if((s|0)>(e|0)){j[(o+208|0)+(c<<2)>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((t|0)!=(f|0)){continue}break}}f=1;if(m>>>0>=2){while(1){e=j[(f<<2)+o>>2];c=f;while(1){d=c-1|0;n=(d<<2)+o|0;s=j[n>>2];if((s|0)>(e|0)){j[(c<<2)+o>>2]=s;j[n>>2]=e;c=d;if(c){continue}}break}f=f+1|0;if((m|0)!=(f|0)){continue}break}}c=j[v+216>>2];j[v+216>>2]=c+1;c=p(c,28)+v|0;f=c;f:{g:{if(!(!m|!t)){d=j[(o+208|0)+(t<<1&-4)>>2];j[c+220>>2]=d;e=j[(m<<1&-4)+o>>2];j[f+232>>2]=e;if((d|0)==(e|0)){break g}m=l[q+4>>1];if(m&1^(d|0)<=(e|0)){break f}n=f;f=(d+e|0)/2|0;j[n+232>>2]=f;j[c+220>>2]=f;break f}d=f;f=j[((m?m:t)<<1&-4)+(m?o:o+208|0)>>2];j[d+232>>2]=f;j[c+220>>2]=f}m=l[q+4>>1]}j[c+244>>2]=m<<1&2}c=q+8|0;d=j[q+8>>2];if((d|0)!=759){continue}break}}c=48;f=0;m=0;while(1){h:{if(a){d=0;q=j[j[a+36>>2]>>2];i:{if(!q){break i}q=j[q+92>>2];if(!q){break i}d=qe[j[j[q+12>>2]+12>>2]](q,c)|0}}j:{if(!d){break j}if(yk(b,d,o+208|0)){break j}e=m&255;m=1;q=j[o+208>>2];if(!e){f=q;break j}if((f|0)==(q|0)){break j}e=0;break h}e=1;c=c+1|0;if((c|0)!=58){continue}}break}h[a+32|0]=e}Uh(b,y);oe=o+416|0;return 0}function al(a,b){var c=0,d=0,e=0;if(!(k[a+108|0]&8?!(!a|!j[a+68>>2]):0)){Be(4);return}if(j[a+316>>2]==(b|0)){return}c=j[a+340>>2];if(c){qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}a:{if(b){if(j[b>>2]!=268306){ve(73666,0);break a}if(j[b+36>>2]!=(a|0)){ve(73766,0);return}if(j[b+8>>2]!=2){ve(73809,0);return}c=j[b+40>>2];b=c?c:b}else{b=0}if(!(!b|j[a+316>>2])){c=j[a+220>>2];j[a+232>>2]=j[a+216>>2];j[a+236>>2]=c;c=j[a+252>>2];j[a+264>>2]=j[a+248>>2];j[a+268>>2]=c;j[a+284>>2]=j[a+280>>2];c=j[a+292>>2];j[a+296>>2]=j[a+288>>2];j[a+300>>2]=c;c=j[a+200>>2];j[a+204>>2]=j[a+196>>2];j[a+208>>2]=c;c=j[a+228>>2];j[a+240>>2]=j[a+224>>2];j[a+244>>2]=c;c=j[a+260>>2];j[a+272>>2]=j[a+256>>2];j[a+276>>2]=c}j[a+316>>2]=b;if((qe[j[a+68>>2]](a,b)|0)<=-1){break a}b:{if(b){j[a+216>>2]=0;j[a+220>>2]=0;j[a+224>>2]=j[b+12>>2];j[a+228>>2]=j[b+16>>2];Oe(a+248|0,0,16);j[a+288>>2]=1065353216;j[a+292>>2]=1065353216;d=b+16|0;c=b+12|0;break b}b=j[a+236>>2];j[a+216>>2]=j[a+232>>2];j[a+220>>2]=b;b=j[a+268>>2];j[a+248>>2]=j[a+264>>2];j[a+252>>2]=b;b=j[a+300>>2];j[a+288>>2]=j[a+296>>2];j[a+292>>2]=b;b=j[a+244>>2];j[a+224>>2]=j[a+240>>2];j[a+228>>2]=b;b=j[a+276>>2];j[a+256>>2]=j[a+272>>2];j[a+260>>2]=b;d=a+208|0;e=j[a+284>>2];c=a+204|0}b=a+340|0;c=j[c>>2];j[a+200>>2]=j[d>>2];j[a+196>>2]=c;j[a+280>>2]=e;c:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break c}}d:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break d}c=Xe(1,28);if(c){break d}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=1;j[c+4>>2]=0;d=a+216|0;Ge(c+8|0,d,16);if((qe[j[a+20>>2]](a,c)|0)<=-1){j[c>>2]=0;break a}Ge(a+360|0,d,16);j[a+400>>2]=1}e:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break e}}f:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break f}c=Xe(1,28);if(c){break f}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:b)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c>>2]=2;j[c+4>>2]=j[a+280>>2];d=c+8|0;c=a+248|0;Ge(d,c,16);Ge(a+376|0,c,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}g:{if(j[a+336>>2]){break g}b=j[b>>2];if(!b){break g}c=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=c;c=j[c+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}}function wE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=j[a+12>>2]-1|0;d=j[a+16>>2];w=f+(d-b|0)|0;n=j[a+28>>2];o=j[n+48>>2];r=j[n+40>>2];x=o+r|0;q=j[n+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;s=(d+f|0)-257|0;m=j[a>>2]-1|0;t=(m+j[a+4>>2]|0)-5|0;u=j[n+80>>2];v=j[n+76>>2];g=j[n+60>>2];b=j[n+56>>2];A=j[n+44>>2];while(1){if(g>>>0<=14){b=((k[m+1|0]<>>d|0;i=l[e+2>>1];a:{b:{c:{c=k[e|0];if(!c){break c}B=n;d:{e:{f:{while(1){e=c&255;if(c&16){i=i&65535;e=e&15;g:{if(!e){d=m;break g}h:{if(e>>>0<=g>>>0){c=g;d=m;break h}c=g+8|0;b=(k[m+1|0]<>>e|0}c=b;if(g>>>0<=14){c=((k[d+1|0]<>>b|0;e=l[m+2>>1];c=k[m|0];if(c&16){break f}while(1){if(!(c&64)){c=(((-1<>>m|0;e=l[c+2>>1];c=k[c|0];if(!(c&16)){continue}break f}break}i=220782;m=d;break e}if(!(e&64)){e=(((-1<>>d|0;i=l[e+2>>1];c=k[e|0];if(!c){break c}continue}break}i=220804;d=11;if(e&32){break d}break e}p=e&65535;c=c&15;i:{if(c>>>0<=g>>>0){e=g;m=d;break i}b=(k[d+1|0]<>>0<=e>>>0){break i}b=(k[d+2|0]<>>c|0;j:{p=d+p|0;d=f-w|0;if(p>>>0>d>>>0){d=p-d|0;if(!(!j[n+7104>>2]|d>>>0<=A>>>0)){i=220752;break e}k:{l:{if(!o){c=(r-d|0)+q|0;break l}if(d>>>0>o>>>0){c=(x-d|0)+q|0;d=d-o|0;e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=q;e=o;i=i-d|0;if(e>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-o|0;break k}c=(o-d|0)+q|0}e=d;if(d>>>0>=i>>>0){break k}while(1){h[f+1|0]=k[c+1|0];f=f+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}c=f-p|0;i=i-d|0}if(i>>>0>=3){while(1){h[f+1|0]=k[c+1|0];h[f+2|0]=k[c+2|0];h[f+3|0]=k[c+3|0];f=f+3|0;c=c+3|0;i=i-3|0;if(i>>>0>2){continue}break}}if(!i){break b}h[f+1|0]=k[c+1|0];if((i|0)!=1){break j}f=f+1|0;break b}d=f-p|0;while(1){e=d;c=f;h[c+1|0]=k[d+1|0];h[c+2|0]=k[d+2|0];h[c+3|0]=k[d+3|0];f=c+3|0;d=d+3|0;i=i-3|0;if(i>>>0>2){continue}break}if(!i){break b}h[c+4|0]=k[e+4|0];if((i|0)==1){f=c+4|0;break b}h[c+5|0]=k[e+5|0];f=c+5|0;break b}h[f+2|0]=k[c+2|0];f=f+2|0;break b}j[a+24>>2]=i;d=29}j[B>>2]=d;break a}h[f+1|0]=i;f=f+1|0}if(f>>>0>=s>>>0){break a}if(m>>>0>>0){continue}}break}j[a+12>>2]=f+1;j[a+16>>2]=(s-f|0)+257;d=m-(g>>>3|0)|0;j[a>>2]=d+1;j[a+4>>2]=(t-d|0)+5;a=g&7;j[n+60>>2]=a;j[n+56>>2]=(-1<>2]=0;n=g?a+1548|0:a+516|0;j[n>>2]=0;if(b>>>0>=2){while(1){s=h&1;a:{if(!s){k=c+2|0;g=c;h=m;a=n;break a}g=c+2|0;k=c;h=q;a=p}l=a;a=l+4|0;r=i[k>>1];o=i[g>>1]-r|0;b:{c:{if(!h){break c}g=(l+(h<<5)|0)+4|0;d:{while(1){k=j[a>>2];if((k|0)>(r|0)){break d}if((k|0)==(r|0)){g=j[a+4>>2];if((o|0)<=-1){if((g|0)<=(o|0)){break b}j[a+4>>2]=o;break b}if((g|0)>=(o|0)){break b}j[a+4>>2]=o;break b}a=a+32|0;h=h-1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h-1|0;k=(h<<5)+a|0;l=j[k+4>>2];j[g>>2]=j[k>>2];j[g+4>>2]=l;l=j[k+28>>2];j[g+24>>2]=j[k+24>>2];j[g+28>>2]=l;l=j[k+20>>2];j[g+16>>2]=j[k+16>>2];j[g+20>>2]=l;l=j[k+12>>2];j[g+8>>2]=j[k+8>>2];j[g+12>>2]=l;if(h){continue}break}}j[a+4>>2]=o;j[a>>2]=r;if(s){q=q+1|0;break b}m=m+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;if(d>>>0>=2){b=n+4|0;while(1){o=i[e+2>>1];l=i[e>>1]-o|0;k=b;e:{f:{if(!m){break f}k=((m<<5)+n|0)+4|0;a=b;h=m;while(1){c=j[a>>2];if((c|0)<=(o|0)){if((c|0)==(o|0)){c=j[a+4>>2];if((l|0)<=-1){if((c|0)<=(l|0)){break e}j[a+4>>2]=l;break e}if((c|0)>=(l|0)){break e}j[a+4>>2]=l;break e}a=a+32|0;h=h-1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h-1|0;g=(h<<5)+a|0;k=j[g+4>>2];j[c>>2]=j[g>>2];j[c+4>>2]=k;k=j[g+28>>2];j[c+24>>2]=j[g+24>>2];j[c+28>>2]=k;k=j[g+20>>2];j[c+16>>2]=j[g+16>>2];j[c+20>>2]=k;k=j[g+12>>2];j[c+8>>2]=j[g+8>>2];j[c+12>>2]=k;if(h){continue}break}k=a}j[k+4>>2]=l;j[k>>2]=o;m=m+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}j[p>>2]=q;j[n>>2]=m;g:{if(!q){break g}h=p+4|0;a=q;while(1){h:{i:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break h;case 0:break g;default:break i}}g=j[h>>2];k=j[h+32>>2]-g|0;b=j[h+4>>2];if((k|0)>=(b|0)){k=b;break h}j[h+4>>2]=k}j[h+12>>2]=g;j[h+8>>2]=g+k;h=h+32|0;a=a-1|0;continue}}j:{if(!m){break j}h=n+4|0;a=m;while(1){k:{l:{switch(a|0){case 1:k=j[h+4>>2];g=j[h>>2];break k;case 0:break j;default:break l}}g=j[h>>2];k=g-j[h+32>>2]|0;b=j[h+4>>2];if((k|0)<=(b|0)){k=b;break k}j[h+4>>2]=k}j[h+8>>2]=g;j[h+12>>2]=g+k;h=h+32|0;a=a-1|0;continue}}c=f<<1;if(q){h=p+4|0;j[p+16>>2]=j[p+16>>2]-f;a=j[p+12>>2];k=q-1|0;m:{if(!k){g=h;break m}while(1){b=h;d=j[h+44>>2];e=d-a|0;n:{if((e|0)<(c|0)){g=((e|0)/2|0)+a|0;a=g;break n}g=d-f|0;a=a+f|0}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}if(m){h=n+4|0;j[n+16>>2]=j[n+16>>2]-f;a=j[n+12>>2];k=m-1|0;o:{if(!k){g=h;break o}while(1){b=h;d=j[h+44>>2];e=d-a|0;p:{if((e|0)>=(c|0)){g=d-f|0;a=a+f|0;break p}g=((e|0)/2|0)+a|0;a=g}j[b+8>>2]=a;j[h+44>>2]=g;a=j[h+40>>2];g=h+32|0;h=g;k=k-1|0;if(k){continue}break}}j[g+8>>2]=a+f}}function iH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0;e=oe-1552|0;oe=e;k=j[a+4>>2];f=j[j[k+488>>2]+12>>2];a:{if(!(j[j[k+128>>2]+48>>2]|m[k+16>>2]>c>>>0)){d=6;break a}g=d&1024?d|3:d;b:{if(b){j[a+172>>2]=j[b+16>>2];d=j[b+20>>2];break b}j[a+172>>2]=65536;d=65536}j[a+108>>2]=0;j[a+72>>2]=1869968492;j[a+176>>2]=d;p=g&3;d=qe[j[f>>2]](e+48|0,k,b,a,j[k+420>>2],j[k+528>>2],!p,g>>>16&15,974)|0;if(d){break a}n=g&1024;h[e+117|0]=n>>>10;j[e+1412>>2]=j[k+404>>2];j[e+1416>>2]=j[k+408>>2];j[e+1420>>2]=j[k+412>>2];j[e+1536>>2]=j[k+544>>2];j[e+1540>>2]=j[k+540>>2];d=kk(e+48|0,c,e+24|0);if(!d){c=e+1432|0;d=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=d;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;d=j[e+1444>>2];o=j[e+1440>>2];qe[j[f+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;c:{if(n){c=j[a+156>>2];b=a;g=j[e+80>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+32>>2]=f>>16;g=j[e+88>>2];f=g+32768&-65536;if((g|0)<0){f=0-(32768-g&-65536)|0}j[b+40>>2]=f>>16;b=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=b;b=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=b;j[c+32>>2]=d;j[c+28>>2]=o;h[c+8|0]=1;break c}c=a;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+40>>2]=n>>16;f=j[e+88>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;q=g&16;d:{if(q){c=j[k+472>>2]-j[k+464>>2]>>16;j[a+52>>2]=c;break d}f=j[e+92>>2];n=f+32768&-65536;if((f|0)<0){n=0-(32768-f&-65536)|0}j[c+52>>2]=n>>16;c=j[e+92>>2];f=c+32768&-65536;if((c|0)<0){f=0-(32768-c&-65536)|0}c=f>>16}j[a+72>>2]=1869968492;j[a+60>>2]=c;if(!(!b|l[b+14>>1]>23)){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;e:{if(!(j[e+36>>2]|(j[e+32>>2]!=65536|j[e+44>>2]!=65536))){if(!j[e+40>>2]){break e}}Ah(c,e+32|0)}if(d|o){Tf(c,o,d)}b=j[a+40>>2];j[e+4>>2]=0;j[e>>2]=b;Tg(e,e+32|0);j[a+40>>2]=o+j[e>>2];j[e>>2]=0;j[e+4>>2]=j[a+52>>2];Tg(e,e+32|0);j[a+52>>2]=d+j[e+4>>2];if(!(g&1)){g=j[a+176>>2];o=j[a+172>>2];d=j[e+64>>2];b=j[d+4>>2];f:{if(j[e+120>>2]?!p:0){break f}d=i[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){r=b,s=ye(j[b>>2],o),j[r>>2]=s;r=b,s=ye(j[b+4>>2],g),j[r+4>>2]=s;b=b+8|0;f=(d|0)>1;d=d-1|0;if(f){continue}break}}r=a,s=ye(j[a+40>>2],o),j[r+40>>2]=s;r=a,s=ye(j[a+52>>2],g),j[r+52>>2]=s}Ug(c,e+8|0);b=j[e+8>>2];j[a+24>>2]=j[e+16>>2]-b;c=j[e+12>>2];d=j[e+20>>2];j[a+36>>2]=d;j[a+32>>2]=b;j[a+28>>2]=d-c;if(!q){break c}Fi(a+24|0,j[a+52>>2])}j[a+136>>2]=j[e+24>>2];j[a+140>>2]=j[e+28>>2];d=0;b=j[j[k+128>>2]+48>>2];if(!b){break a}qe[j[j[b>>2]+4>>2]](j[b+4>>2],e+24|0);j[a+136>>2]=0;j[a+140>>2]=0;break a}qe[j[f+4>>2]](e+48|0)}oe=e+1552|0;return d|0}function Xg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-80|0;oe=c;d=j[67085];a:{if(!d){ve(99429,0);h=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);h=-1;break a}if(b){h=0;if(j[a+116>>2]){break a}}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if(!b){break b}e=j[d+60>>2];if(!e|(a|0)==(e|0)){break b}f=j[67085];if(!f){ve(99429,0);break b}if(j[e>>2]!=(f+316|0)){ve(98129,0);break b}if(!j[f+100>>2]|k[e+48|0]&64){break b}Xg(e,0);f=j[67085];g=j[f+100>>2];if(!g){break b}qe[g|0](f,e)}c:{if((j[a+48>>2]^j[a+52>>2])&4097?0:(j[d+60>>2]==(a|0)|0)==(b|0)){break c}e=j[j[67085]+308>>2];if(e){while(1){d:{e:{if((a|0)!=(e|0)){if((j[e+48>>2]&69)!=5){break d}f=Ch(e);if((f|0)>=0){f=j[j[67085]+304>>2]+p(f,72)|0}else{f=0}if((f|0)==(d|0)){break e}break d}if(!b){break d}}Oe(c+8|0,0,20);if(hv(e,c+8|0)){break d}b=0;b=j[e+24>>2]==j[c+12>>2]?j[e+28>>2]==j[c+16>>2]:b;f:{if((j[a+48>>2]&4097)!=4097){if((gv(d,c+8|0)|0)>=0){break f}h=-1;break a}g=j[d+28>>2];f=c- -64|0;j[f>>2]=j[d+24>>2];j[f+4>>2]=g;j[c+72>>2]=j[d+32>>2];f=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=f;f=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=f;j[c+48>>2]=j[d+52>>2];f=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=f;if(!wf(c+56|0,c+32|0,20)){break f}g=j[67085];f=j[g+32>>2];if(f){h=-1;if((qe[f|0](g,d,c+56|0)|0)<=-1){break a}g=j[c+60>>2];f=d+36|0;j[f>>2]=j[c+56>>2];j[f+4>>2]=g;j[d+52>>2]=j[c+72>>2];f=c- -64|0;g=j[f+4>>2];j[d+44>>2]=j[f>>2];j[d+48>>2]=g;break f}if((ve(99554,0)|0)>=0){break f}h=-1;break a}f=j[67085];g=j[f+116>>2];if(g){qe[g|0](f,e,d,1)}j[d+60>>2]=e;g:{if(!b){zf(e,5,j[c+12>>2],j[c+16>>2]);break g}j[e+112>>2]=0;zf(e,6,j[e+24>>2],j[e+28>>2])}if(j[67024]==(e|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}el(e,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2];break c}e=j[e+152>>2];if(e){continue}break}}e=j[d+28>>2];b=c- -64|0;j[b>>2]=j[d+24>>2];j[b+4>>2]=e;j[c+72>>2]=j[d+32>>2];b=j[d+20>>2];j[c+56>>2]=j[d+16>>2];j[c+60>>2]=b;b=j[d+48>>2];j[c+40>>2]=j[d+44>>2];j[c+44>>2]=b;j[c+48>>2]=j[d+52>>2];b=j[d+40>>2];j[c+32>>2]=j[d+36>>2];j[c+36>>2]=b;h:{if(!wf(c+56|0,c+32|0,20)){break h}b=j[67085];e=j[b+32>>2];if(!e){ve(99554,0);break h}if((qe[e|0](b,d,c+56|0)|0)<0){break h}e=j[c+60>>2];b=d+36|0;j[b>>2]=j[c+56>>2];j[b+4>>2]=e;j[d+52>>2]=j[c+72>>2];b=c- -64|0;e=j[b+4>>2];j[d+44>>2]=j[b>>2];j[d+48>>2]=e}b=j[67085];e=j[b+116>>2];if(e){qe[e|0](b,a,d,0)}j[d+60>>2]=0;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);if(j[67024]==(a|0)){b=c+32|0;d=c+56|0;if(d){j[d>>2]=j[67025]}if(b){j[b>>2]=j[67026]}el(a,j[c+56>>2],j[c+32>>2])}j[a+52>>2]=j[a+48>>2]}h=0}f=h;oe=c+80|0;return f}function gH(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,r=0,s=0,t=0,u=0;e=oe-32|0;oe=e;o=j[b+28>>2];j[e+4>>2]=2;d=He(o,44,e+4|0);a:{if(j[e+4>>2]){break a}c=_e(b,j[b+4>>2]);j[e+4>>2]=c;if(c){break a}c=j[a+472>>2];j[d+12>>2]=j[a+468>>2];j[d+16>>2]=c;c=j[a+464>>2];j[d+4>>2]=j[a+460>>2];j[d+8>>2]=c;j[d+20>>2]=j[a+472>>2];j[d+24>>2]=j[a+464>>2];h=j[a+488>>2];c=j[h+24>>2];b:{if(c){f=qe[j[c>>2]](e+8|0,j[b+28>>2],j[b+32>>2],j[b+36>>2])|0;j[e+4>>2]=f;if(!f){j[e+24>>2]=a+132;j[e+20>>2]=975;j[e+16>>2]=d;t=e,u=qe[j[j[h+24>>2]+8>>2]](e+8|0)|0,j[t+4>>2]=u;qe[j[j[h+24>>2]+4>>2]](e+8|0);f=j[e+4>>2]}if((f&255)==2){c=j[b+4>>2];if(c>>>0<7){break b}g=j[b+32>>2];if(k[g+1|0]>3|(c|0)!=(k[g+2|0]|k[g+3|0]<<8|(k[g+4|0]<<16|k[g+5|0]<<24))){break b}f=0;j[e+28>>2]=0;r=j[b+28>>2];c:{d:{h=j[b+36>>2];if(h>>>0>>0){j[e+28>>2]=2;break d}c=(g+99|0)+(k[g+99|0]|k[g+100|0]<<8)|0;if(h>>>0>>0|(k[c+18|0]|k[c+19|0]<<8)>>>0<18){break c}c=k[c+32|0]|k[c+33|0]<<8|(k[c+34|0]<<16|k[c+35|0]<<24);if(!c){break c}q=c+g|0;m=q+2|0;if(h>>>0>>0){j[e+28>>2]=2;break d}c=k[q|0]|k[q+1|0]<<8;j[d+40>>2]=c;if(h>>>0<(c<<2)+m>>>0){j[e+28>>2]=2;break d}if(!c){break c}f=xe(r,16,0,c,0,e+28|0);j[d+36>>2]=f;if(j[e+28>>2]){break d}p=j[d+40>>2];s=j[a+92>>2];g=j[a+36>>2];e:{if((g|0)<1){break e}h=j[a+40>>2];while(1){c=j[h+(n<<2)>>2];if(l[c+8>>1]!=7){n=n+1|0;if((g|0)!=(n|0)){continue}break e}break}c=Uh(a,c);j[e+28>>2]=c;if(c){break d}}c=p<<2;if((c|0)>=1){g=q+(c|2)|0;while(1){h=k[m|0];n=0;c=a;f:{if(!c){break f}p=j[c+92>>2];if(!p){break f}n=qe[j[j[p+12>>2]+12>>2]](p,h)|0}j[f>>2]=n;h=k[m+1|0];n=0;g:{if(!c){break g}c=j[a+92>>2];if(!c){break g}n=qe[j[j[c+12>>2]+12>>2]](c,h)|0}j[f+4>>2]=n;c=(k[m+2|0]|k[m+3|0]<<8)<<16>>16;j[f+12>>2]=0;j[f+8>>2]=c;f=f+16|0;m=m+4|0;if(g>>>0>m>>>0){continue}break}}h:{if(s){f=Uh(a,s);j[e+28>>2]=f;break h}f=j[e+28>>2]}if(f){break d}eg(j[d+36>>2],j[d+40>>2],16,976);if(j[e+28>>2]){break d}f=0;break c}c=j[d+36>>2];if(c){qe[j[r+8>>2]](r,c)}j[d+36>>2]=0;j[d+40>>2]=0;f=j[e+28>>2]}j[e+4>>2]=f}if(f){break b}}c=j[d+8>>2];j[a+460>>2]=j[d+4>>2];j[a+464>>2]=c;c=j[d+16>>2];j[a+468>>2]=j[d+12>>2];j[a+472>>2]=c;j[a+52>>2]=j[d+4>>2]>>16;j[a+56>>2]=j[d+8>>2]>>16;j[a+60>>2]=j[d+12>>2]+65535>>16;j[a- -64>>2]=j[d+16>>2]+65535>>16;i[a+70>>1]=j[d+20>>2]+32768>>>16;i[a+72>>1]=j[d+24>>2]+32768>>>16;if(!j[d+40>>2]){break b}j[a+492>>2]=d;j[a+8>>2]=j[a+8>>2]|64;d=0}Ve(b)}if(d){a=j[d+36>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+36>>2]=0;j[d+40>>2]=0;a=j[d+28>>2];if(a){qe[j[o+8>>2]](o,a)}j[d+28>>2]=0;j[d+32>>2]=0;if(d){qe[j[o+8>>2]](o,d)}}oe=e+32|0;return j[e+4>>2]}function Vl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;e=oe-48|0;oe=e;k=j[a+100>>2];i=j[a+104>>2];j[e+40>>2]=0;a:{b:{if(j[a+676>>2]){break b}c=qe[j[a+508>>2]](a,1735811442,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}c=qe[j[a+508>>2]](a,1719034226,i,e+44|0)|0;j[e+40>>2]=c;if(c){break a}r=j[i+8>>2];c=$e(i,200496,e+24|0);j[e+40>>2]=c;if(c){break a}c:{d:{if(j[e+24>>2]!=65536|l[e+34>>1]!=20){break d}c=l[e+32>>1];if(c>>>0>16382){break d}d=l[e+38>>1];if((d|0)!=((c<<2)+4|0)){break d}g=l[e+36>>1];if(g>>>0>32511){break d}if(m[e+44>>2]>=l[e+28>>1]+(p(d,g)+p(c,20)|0)>>>0){break c}}j[e+40>>2]=8;break a}c=He(k,40,e+40|0);j[a+676>>2]=c;if(j[e+40>>2]){break a}d=c;c=l[e+36>>1];c=((c<<3)+p(l[e+32>>1],(c<<2)+29|0)|0)+20|0;j[d+12>>2]=c;g=He(k,c,e+40|0);if(j[e+40>>2]){break a}j[j[a+676>>2]+8>>2]=g;f=l[e+32>>1];j[g+4>>2]=-1;j[g>>2]=f;n=l[e+36>>1];o=g+20|0;q=o+p(f,24)|0;j[g+16>>2]=q;j[g+12>>2]=o;j[g+8>>2]=n;d=(n<<3)+q|0;if(n){c=0;s=f<<2;while(1){j[(c<<3)+q>>2]=d;d=d+s|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}if(f){c=0;while(1){j[p(c,24)+o>>2]=d;d=d+5|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=Fe(i,l[e+28>>1]+r|0);j[e+40>>2]=c;if(c){break a}if(l[e+32>>1]){d=j[g+12>>2];c=0;while(1){f=$e(i,200544,e);j[e+40>>2]=f;if(f){break a}f=j[e>>2];j[d+16>>2]=f;j[d+4>>2]=j[e+4>>2];j[d+8>>2]=j[e+8>>2];j[d+12>>2]=j[e+12>>2];j[d+20>>2]=l[e+18>>1];h[j[d>>2]]=f>>>24;h[j[d>>2]+1|0]=l[d+18>>1];h[j[d>>2]+2|0]=j[d+16>>2]>>>8;h[j[d>>2]+3|0]=j[d+16>>2];h[j[d>>2]+4|0]=0;d=d+24|0;c=c+1|0;f=l[e+32>>1];if(c>>>0>>0){continue}break}d=(f<<2)+4|0}else{d=4}if(!l[e+36>>1]){break b}c=j[g+16>>2];d=_e(i,d);j[e+40>>2]=d;if(d){break a}g=0;while(1){t=c,u=af(i),j[t+4>>2]=u;af(i);if(l[e+32>>1]){d=0;while(1){f=Ff(i);j[j[c>>2]+(d<<2)>>2]=f;d=d+1|0;if(d>>>0>1]){continue}break}}Ve(i);g=g+1|0;if(g>>>0>=l[e+36>>1]){break b}d=_e(i,(l[e+32>>1]<<2)+4|0);j[e+40>>2]=d;c=c+8|0;if(!d){continue}break}break a}if(!b){break a}i=He(k,j[j[a+676>>2]+12>>2],e+40|0);if(j[e+40>>2]){break a}a=j[a+676>>2];g=Ae(i,j[a+8>>2],j[a+12>>2]);i=g+20|0;j[g+12>>2]=i;k=j[g>>2];d=p(k,24)+i|0;j[g+16>>2]=d;f=j[g+8>>2];a=d+(f<<3)|0;if(f){c=0;n=k<<2;while(1){j[d+(c<<3)>>2]=a;a=a+n|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(k){d=0;while(1){j[i>>2]=a;c=i;n=c;e:{f:{g:{f=j[c+16>>2];if((f|0)<=2003072103){if((f|0)==1869640570){break g}if((f|0)!=1936486004){break e}c=200601;break f}c=200576;if((f|0)==2003265652){break f}if((f|0)!=2003072104){break e}c=200583;break f}c=200589}j[n>>2]=c}i=i+24|0;a=a+5|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}j[b>>2]=g}oe=e+48|0;return j[e+40>>2]}function Zk(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}if(!b){ve(73615,0);break a}f=1;c=f;if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}e=j[b+4>>2];f=j[e+24>>2]?c:d;c=j[e+4>>2];if(c){f=j[c>>2]<1?f:1}b:{c:{c=j[e+24>>2];if(b){d=j[j[b+52>>2]+68>>2]>>>8&1}else{d=0}d:{if(!(c|!d)){e:{c=j[e>>2];if((c|0)!=370546692){if((c|0)!=374740996){i=j[a+112>>2];break d}c=0;i=j[a+112>>2];if((i|0)<=0){break c}break e}c=0;i=j[a+112>>2];if((i|0)<=0){break c}while(1){d=372645892;if(j[((c<<2)+a|0)+116>>2]==372645892){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}while(1){d=376840196;if(j[((c<<2)+a|0)+116>>2]==376840196){break b}c=c+1|0;if((i|0)>(c|0)){continue}break}break d}i=j[a+112>>2];if((i|0)<1){break c}d=j[e>>2];c=0;while(1){if(j[((c<<2)+a|0)+116>>2]!=(d|0)){c=c+1|0;if((i|0)>(c|0)){continue}break d}break}if(d){break b}}e=j[a+116>>2];if((i|0)<1){d=e;break b}c=0;d=e;while(1){if(!((d&-268435456)!=268435456?d:0)){l=d>>>24&15;f:{if(l-4>>>0<=2){m=0;l=(d>>>20&15)-3|0;if(l>>>0>=6){break f}m=j[(l<<2)+73984>>2];break f}m=0;if(l-7>>>0>4){break f}l=(d>>>20&15)-2|0;if(l>>>0>=5){break f}m=j[(l<<2)+74008>>2]}if((f|0)==(m|0)){break b}}c=c+1|0;if((i|0)<=(c|0)){d=e;break b}else{d=j[((c<<2)+a|0)+116>>2];continue}}}d=j[a+116>>2]}c=_k(a,d,0,j[b+8>>2],j[b+12>>2]);if(!c){c=0;break a}g:{h:{i:{a=j[b+4>>2];e=j[a>>2]!=(d|0);a=j[a+24>>2];if(b){f=j[j[b+52>>2]+68>>2]>>>8&1}else{f=0}if(!(e|(f?a:0))){if(!(k[b|0]&2)){break i}Eg(b);gi(c,0,j[b+20>>2],j[b+16>>2]);jg(b);break h}a=Qk(d);if(!a){break g}e=Lk(b,a);Ok(a);if(!e){break g}gi(c,0,j[e+20>>2],j[e+16>>2]);kf(e);break h}gi(c,0,j[b+20>>2],j[b+16>>2])}wn(b,g+15|0,g+14|0,g+13|0);d=k[g+13|0];l=k[g+14|0];f=k[g+15|0];e=(d&(l&f))!=255;a=c;while(1){j:{if(j[a>>2]!=268306){ve(73666,0);break j}h[a+34|0]=d;h[a+33|0]=l;h[a+32|0]=f;j[a+20>>2]=e|j[a+20>>2]&-2;a=j[a+40>>2];if(a){continue}}break}a=g+12|0;if(b){if(a){h[a|0]=k[j[b+52>>2]+79|0]}}d=k[g+12|0];e=((d|0)!=255)<<1;a=c;while(1){k:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);break k}h[a+35|0]=d;j[a+20>>2]=e|j[a+20>>2]&-3;a=j[a+40>>2];if(a){continue}}break}if(b){a=j[j[b+52>>2]+68>>2]>>>8&1}else{a=0}if(a){a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}j[a+24>>2]=1;a=j[a+40>>2];if(a){continue}break}break a}xj(b,g+8|0);f=j[g+8>>2];e=f>>>0>4;a=c;while(1){if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}d=j[a+36>>2];l:{if((f|0)!=3?!e:0){break l}b=j[d+12>>2];if(b){if(qe[b|0](d,f)|0){break l}}Be(4);break a}j[a+24>>2]=f;a=j[a+40>>2];if(a){continue}break}break a}jh(c);c=0}oe=g+16|0;return c}function Dh(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=oe-16|0;oe=w;a:{if(!a){x=ve(86610,0);break a}if(k[j[a+4>>2]+8|0]<=7){x=ve(86642,0);break a}b:{if(b){d=w;if(Fg(b,a+36|0,d)){break b}break a}if(j[a+44>>2]<1|j[a+48>>2]<1){break a}d=a+36|0}b=j[a+20>>2];if(!b){x=ve(86685,0);break a}t=j[a+16>>2];a=k[j[a+4>>2]+9|0];e=(b+p(t,j[d+4>>2])|0)+p(a,j[d>>2])|0;c:{switch(a-1|0){case 0:f=j[d+12>>2];if(!f){break a}a=c<<8|c;v=a<<16|a;r=j[d+8>>2];n=r-2|0;u=r-1|0;s=(r|0)<4;while(1){b=r;l=e;d:{if(s){break d}g=u;m=g;d=e;a=d;l=a;e:{switch((a&3)-1|0){case 0:h[e|0]=c;d=e+1|0;g=n;case 1:h[d|0]=c;m=g-1|0;a=d+1|0;case 2:h[a|0]=c;l=a+1|0;b=m;break;default:break e}}a=b>>>2|0;if(!a){break d}q=a+3>>>2|0;o=l;d=l;m=d;g=d;f:{g:{switch((a&3)-1|0){default:a=0;break f;case 0:a=3;break f;case 1:a=2;break f;case 2:break g}}a=1}while(1){h:{switch(a|0){case 0:j[o>>2]=v;d=o+4|0;a=1;continue;case 1:j[d>>2]=v;m=d+4|0;a=2;continue;case 2:j[m>>2]=v;g=m+4|0;a=3;continue;default:break h}}j[g>>2]=v;q=q-1|0;if(!q){break d}o=g+4|0;a=0;continue}}f=f-1|0;d=b&3;i:{if(!d){break i}a=(b&-4)+l|0;j:{switch(d-1|0){case 2:h[a|0]=c;a=a+1|0;case 1:h[a|0]=c;a=a+1|0;break;case 0:break j;default:break i}}h[a|0]=c}e=e+t|0;if(f){continue}break}break a;case 3:m=j[d+12>>2];if(!m){break a}n=j[d+8>>2];u=n&3;o=n+3>>>2|0;while(1){m=m-1|0;k:{if(!n){break k}d=o;f=e;b=e;l=e;g=e;l:{m:{switch(u-1|0){default:a=0;break l;case 0:a=3;break l;case 1:a=2;break l;case 2:break m}}a=1}while(1){n:{switch(a|0){case 0:j[f>>2]=c;b=f+4|0;a=1;continue;case 1:j[b>>2]=c;l=b+4|0;a=2;continue;case 2:j[l>>2]=c;g=l+4|0;a=3;continue;default:break n}}j[g>>2]=c;d=d-1|0;if(!d){break k}f=g+4|0;a=0;continue}}e=e+t|0;if(m){continue}break}break a;case 2:f=j[d+12>>2];if(!f){break a}g=c>>>16|0;l=c>>>8|0;d=j[d+8>>2];while(1){f=f-1|0;a=e;b=d;if(d){while(1){h[a+2|0]=g;h[a+1|0]=l;h[a|0]=c;a=a+3|0;b=b-1|0;if(b){continue}break}}e=e+t|0;if(f){continue}break}break a;case 1:break c;default:break a}}f=j[d+12>>2];if(!f){break a}s=c<<16|c;n=j[d+8>>2];u=n-1|0;r=(n|0)<2;while(1){b=n;l=e;o:{if(r){break o}if(e&2){i[e>>1]=c;l=e+2|0;b=u}a=b>>>1|0;if(!a){break o}q=a+3>>>2|0;o=l;d=l;m=d;g=d;p:{q:{switch((a&3)-1|0){default:a=0;break p;case 0:a=3;break p;case 1:a=2;break p;case 2:break q}}a=1}while(1){r:{switch(a|0){case 0:j[o>>2]=s;d=o+4|0;a=1;continue;case 1:j[d>>2]=s;m=d+4|0;a=2;continue;case 2:j[m>>2]=s;g=m+4|0;a=3;continue;default:break r}}j[g>>2]=s;q=q-1|0;if(!q){break o}o=g+4|0;a=0;continue}}f=f-1|0;if(b&1){i[((b<<1)+l|0)-2>>1]=c}e=e+t|0;if(f){continue}break}}oe=w+16|0;return x}function Np(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0;a:{b:{c:{n=k[a+443|0];if(n){d=j[a+348>>2];f=j[a+404>>2];if((f|0)!=((n>>>0>=8?p(n>>>3|0,d):p(d,n)+7>>>3|0)|0)?f:0){break c}if(!d){break b}m=j[a+384>>2];o=k[a+433|0];r=p(d,n);g=r&7;d:{if(!g){f=0;q=0;break d}f=((n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)+b|0)-1|0;s=k[f|0];q=255<>>g|0}m=m+1|0;e:{f:{g:{if(!k[a+432|0]|o>>>0>5){break g}e=j[a+216>>2];if(!(e&2)){break g}h:{i:{switch(c|0){case 0:g=o&1;break h;case 1:break i;default:break g}}g=1;if(!(o&1)){break g}}g=g<<3-(o+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(n>>>0<=7){g=(n|0)==1?0:(n|0)==2?1:2;r=8/(n>>>0)|0;j:{if(e&65536){a=(p(g,12)+(o<<1&508)|0)+212160|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+212016|0;break j}a=(p(g,12)+(o<<1&508)|0)+212196|0;if(c){break j}a=(p(g,24)+(o<<2)|0)+212088|0}a=j[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){o=k[m|0]&a|k[b|0]&(a^-1)}else{o=k[m|0]}h[c|0]=o}a=mP(a,24);m=m+1|0;b=b+1|0;c=d>>>0>r>>>0;d=d-r|0;if(c){continue}break}break f}if(n&7){break a}q=n>>>3|0;g=p(q,g);e=p(d,q)-g|0;f=q;if(c){a=q<<(6-o>>>1);f=a>>>0>e>>>0?e:a}a=g+m|0;d=b+g|0;c=q<<(7-o>>>1);k:{switch(f-1|0){case 2:h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];h[d+2|0]=k[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 0:h[d|0]=k[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;h[d|0]=k[a|0];e=e-c|0;if(c>>>0>>0){continue}break}break e;case 1:while(1){h[d|0]=k[a|0];h[d+1|0]=k[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break}h[d|0]=k[a|0];return;default:break k}}l:{if(d&1|f>>>0>15){break l}b=a|c;if((b|f)&1){break l}if(!((b|d|f)&3)){b=c-f>>>2<<2;while(1){m=f;while(1){j[d>>2]=j[a>>2];d=d+4|0;a=a+4|0;m=m-4|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){m=f;while(1){i[d>>1]=l[a>>1];d=d+2|0;a=a+2|0;m=m-2|0;if(m){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}while(1){h[d|0]=k[a|0];d=d+1|0;a=a+1|0;e=e-1|0;if(e){continue}break}break e}Ae(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;Ae(d,a,f);if(c>>>0>>0){continue}break}break e}Ae(b,m,n>>>0>7?p(n>>>3|0,d):r+7>>>3|0)}if(!f){break e}h[f|0]=k[f|0]&(q^-1)|q&s}return}Ye(a,211923);z()}Ye(a,211948);z()}Ye(a,211984);z()}Ye(a,212232);z()}function yn(a,b,c,d){var e=0,f=0,g=0,m=0,n=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;q=oe-32|0;oe=q;o=j[c+4>>2];a:{if(j[j[a+4>>2]>>2]!=j[o>>2]){m=ve(97452,0);break a}v=k[o+9|0];b:{if(b){o=j[b>>2];c:{if((o|0)<0){break c}g=j[b+4>>2];if((g|0)<0|j[a+8>>2]<(o+j[b+8>>2]|0)){break c}if(j[a+12>>2]>=(g+j[b+12>>2]|0)){break b}}m=ve(97489,0);break a}j[q+16>>2]=0;j[q+20>>2]=0;j[q+24>>2]=j[a+8>>2];j[q+28>>2]=j[a+12>>2];b=q+16|0}d:{if(d){o=j[d>>2];e:{if((o|0)<0){break e}g=j[d+4>>2];if((g|0)<0|j[c+8>>2]<(o+j[d+8>>2]|0)){break e}if(j[c+12>>2]>=(g+j[d+12>>2]|0)){break d}}m=ve(97519,0);break a}j[q>>2]=0;j[q+4>>2]=0;j[q+8>>2]=j[c+8>>2];j[q+12>>2]=j[c+12>>2];d=q}f:{w=j[c>>2]&2;if(!w){break f}if((Eg(c)|0)>-1){break f}m=ve(97554,0);break a}g:{x=j[a>>2]&2;if(!x){break g}if((Eg(a)|0)>-1){break g}if(w){jg(c)}m=ve(97589,0);break a}o=j[d+12>>2];z=(j[b+12>>2]<<16)/(o|0)|0;if((o|0)>=1){u=j[d+4>>2];A=o+u|0;y=j[b+4>>2];o=0;B=v-1|0;s=65536;while(1){g=p(j[d>>2],v);r=j[c+20>>2]+p(j[c+16>>2],u)|0;if((s|0)>=65536){e=(s-((s|0)<131071?s:131071)|0)+65535|0;m=(e>>>16|0)+y|0;o=(j[a+20>>2]+p(m,j[a+16>>2])|0)+p(j[b>>2],v)|0;y=m+1|0;s=(s-(e&-65536)|0)-65536|0}m=g+r|0;h:{i:{switch(B|0){case 0:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>16|0)+g|0;g=f+1|0;f=k[f|0]}h[m|0]=f;e=e+r|0;m=m+1|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 1:n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>15&131070)+g|0;g=f+2|0;f=l[f>>1]}i[m>>1]=f;e=e+r|0;m=m+2|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}break h;case 2:n=j[d+8>>2];if((n|0)<1){break h}C=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;t=0;g=0;r=o;while(1){if((e|0)>=65536){g=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(g&-65536)|0)-65536|0;g=p(g>>>16|0,3)+r|0;r=g+3|0;f=k[g+2|0];t=k[g+1|0];g=k[g|0]}h[m+2|0]=f;h[m+1|0]=t;h[m|0]=g;e=e+C|0;m=m+3|0;D=(n|0)>1;n=n-1|0;if(D){continue}break}break h;case 3:break i;default:break h}}n=j[d+8>>2];if((n|0)<1){break h}r=(j[b+8>>2]<<16)/(n|0)|0;e=65536;f=0;g=o;while(1){if((e|0)>=65536){f=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(f&-65536)|0)-65536|0;f=(f>>>14&262140)+g|0;g=f+4|0;f=j[f>>2]}j[m>>2]=f;e=e+r|0;m=m+4|0;t=(n|0)>1;n=n-1|0;if(t){continue}break}}s=s+z|0;u=u+1|0;if((A|0)>(u|0)){continue}break}}if(w){jg(c)}m=0;if(!x){break a}jg(a)}oe=q+32|0;return m}function Qq(a,b,c){var d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(j[a+100>>2]){case 0:f=j[a+72>>2];if((f|0)<(c|0)){j:{if(j[a+92>>2]){e=j[a+40>>2];break j}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;i[d+12>>1]=k[a+176|0]|((n|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(j[a+92>>2]){e=j[a+40>>2];break k}e=j[a+40>>2];j[a+92>>2]=e;j[a+88>>2]=e;e=e+32|0;j[a+40>>2]=e}if(m[a+36>>2]>e>>>0){g=j[a+4>>2];n=j[a+8>>2];d=j[a+88>>2];j[d+16>>2]=0;j[d+20>>2]=0;j[d+8>>2]=e;j[d+28>>2]=0;j[d+4>>2]=0;e=k[a+176|0];i[d+12>>1]=(n|0)>(f&g-1)?e:e|16;if(!j[a+96>>2]){j[a+96>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=j[a+72>>2];if((d|0)<=(c|0)){break e}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2]-1&d;o=j[a+8>>2];l:{if(!g){d=f;break l}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;d=k[a+176|0];i[e+12>>1]=(n|0)<(o|0)?d:d|16;if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=2;h[a+87|0]=0;d=j[a+72>>2];break d}d=j[a+72>>2];if((d|0)>=(c|0)){break d}f=j[a+40>>2];e=j[a+88>>2];g=f-j[e+8>>2]|0;if((g|0)<=-1){j[a+44>>2]=99;return 1}n=j[a+4>>2];n=((n+d|0)-1&0-n)-d|0;o=j[a+8>>2];m:{if(!g){d=f;break m}j[e+16>>2]=g>>2;if((n|0)>=(o|0)){d=l[e+12>>1];i[e+12>>1]=(d&8?16:32)|d}j[a+88>>2]=f;d=f+32|0;j[a+40>>2]=d;j[f+8>>2]=d;j[f+16>>2]=0;j[e+28>>2]=f;i[a+84>>1]=l[a+84>>1]+1;e=f}g=j[a+36>>2];if(g>>>0<=d>>>0){break a}h[a+87|0]=0;if(!j[a+92>>2]){j[a+92>>2]=d;j[a+88>>2]=d;f=d+32|0;j[a+40>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}j[e+16>>2]=0;j[e+20>>2]=0;j[e+8>>2]=d;j[e+28>>2]=0;j[e+4>>2]=0;i[e+12>>1]=k[a+176|0]|((n|0)<(o|0)?8:40);if(!j[a+96>>2]){j[a+96>>2]=e}}h[a+86|0]=1;j[a+100>>2]=1;h[a+87|0]=0;d=j[a+72>>2]}f=1;if(Oq(a,j[a+68>>2],d,b,c,j[a+76>>2],j[a+80>>2])){break b}break c}e=k[a+86|0];d=Oq(a,j[a+68>>2],0-d|0,b,0-c|0,0-j[a+80>>2]|0,0-j[a+76>>2]|0);if(!(k[a+86|0]|!e)){e=j[a+88>>2];j[e+20>>2]=0-j[e+20>>2]}f=1;if(d){break b}}j[a+72>>2]=c;j[a+68>>2]=b;f=0}return f}j[a+44>>2]=98;return 1}function Xm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0;e=oe-416|0;oe=e;d=-131;f=j[a+88>>2];a:{if((f|0)<2){break a}if(!j[a+4>>2]){d=-138;break a}if((c|0)<0){break a}g=j[a+20>>2];if((c|0)>(g|0)?1:(c|0)>=(g|0)?b>>>0>m[a+16>>2]:0){break a}b:{if((f|0)<3){break b}f=j[a+56>>2];d=j[a+96>>2];g=f+(d<<3)|0;h=m[g>>2]<=b>>>0;g=j[g+4>>2];if((c|0)>(g|0)?1:(g|0)<=(c|0)?h:0){d=f+(d<<3)|0;h=b>>>0>2];d=j[d+12>>2];if((c|0)<(d|0)?1:(c|0)<=(d|0)?h:0){break b}}wg(a+480|0);Yg(a+592|0);j[a+88>>2]=2}j[a+80>>2]=-1;j[a+84>>2]=-1;f=a+120|0;ph(f,j[a+92>>2]);g=a+480|0;Rk(g);c:{d:{d=j[a>>2];if(!d){break d}if(j[a+8>>2]!=(b|0)|j[a+12>>2]!=(c|0)){h=j[a+708>>2];if(!h){break d}if((qe[h|0](d,b,c,0)|0)==-1){break d}j[a+8>>2]=b;j[a+12>>2]=c;if(j[a+28>>2]>=0){j[a+32>>2]=0;j[a+36>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0}}Yp(e+56|0,j[a+92>>2]);n=a+592|0;GE(e+56|0);b=0;while(1){e:{if(j[a+88>>2]<3){break e}if((mg(e+56|0,e+8|0)|0)<1){break e}c=j[a+72>>2]+(j[a+96>>2]<<5)|0;if(j[c+28>>2]){c=fm(c,e+8|0);f:{if((c|0)<=-1){mg(f,0);b=0;break f}g:{if(!(o|!p)){mg(f,0);break g}if(!b){break g}l=(b+c>>2)+l|0}b=c}c=j[e+24>>2];d=j[e+28>>2];if((c|0)==-1&(d|0)==-1){continue}h=j[a+68>>2];f=j[a+96>>2];b=h+(f<<4)|0;g=j[b>>2];i=c-g|0;c=d-(j[b+4>>2]+(c>>>0>>0)|0)|0;d=(c|0)>0?1:(c|0)>=0?!!i:0;b=d?i:0;c=d?c:0;if((f|0)>=1){d=0;while(1){i=h+(d<<4|8)|0;g=b+j[i>>2]|0;c=j[i+4>>2]+c|0;c=b>>>0>g>>>0?c+1|0:c;b=g;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=l;f=b-d|0;c=c-((d>>31)+(b>>>0>>0)|0)|0;l=(c|0)>0?1:(c|0)>=0?!!f:0;b=l?f:0;c=l?c:0;break c}mg(f,0)}if(b){b=-1;c=-1;break c}q=Qf(a,e+40|0,-1,-1);b=pe;h=b;if((b|0)<-1?1:(b|0)<=-1){b=Gi(a,-1);c=pe;break c}h:{if(j[a+88>>2]>=3){b=j[e+40>>2];if(!(!(k[j[e+40>>2]+5|0]&2)|j[a+92>>2]==(k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24)))){wg(g);Yg(n);j[a+88>>2]=2;hk(e+56|0)}if(j[a+88>>2]>2){break h}}b=j[e+40>>2];c=k[b+14|0]|k[b+15|0]<<8|(k[b+16|0]<<16|k[b+17|0]<<24);b=0;d=0;i=j[a+52>>2];i:{if((i|0)<1){break i}r=j[a+64>>2];while(1){if(j[(d<<2)+r>>2]==(c|0)){break i}d=d+1|0;if((i|0)>(d|0)){continue}break}}if((d|0)==(i|0)){continue}j[a+92>>2]=c;j[a+96>>2]=d;ph(f,c);ph(e+56|0,c);j[a+88>>2]=3;b=j[a+60>>2]+(d<<3)|0;c=m[b>>2]>=q>>>0;b=j[b+4>>2];o=(b|0)>(h|0)?1:(b|0)>=(h|0)?c:0}Ng(f,e+40|0);Ng(e+56|0,e+40|0);b=0;p=k[j[e+40>>2]+5|0]&4;continue}}j[a+80>>2]=-1;j[a+84>>2]=-1;hk(e+56|0);wg(g);Yg(a+592|0);j[a+88>>2]=2;d=-137;break a}j[a+80>>2]=b;j[a+84>>2]=c;hk(e+56|0);j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0;d=0}oe=e+416|0;return d}function BK(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,k=0,l=0,m=0,n=0;h=oe-96|0;oe=h;j[h+80>>2]=0;j[h+84>>2]=0;j[h+72>>2]=0;j[h+76>>2]=0;g=h- -64|0;j[g>>2]=0;j[g+4>>2]=0;j[h+56>>2]=0;j[h+60>>2]=0;j[h+48>>2]=0;j[h+52>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;g=xe(a,8,0,c+10|0,0,h+92|0);j[b+20>>2]=g;k=j[h+92>>2];if(!k){a:{if(!c){break a}while(1){k=qe[d|0](f,m)|0;b:{if(!k){break b}i=0;c:{d:{if(!we(192192,k)){break d}i=1;if(!we(192198,k)){break d}i=2;if(!we(192204,k)){break d}i=3;if(!we(192213,k)){break d}i=4;if(!we(192220,k)){break d}i=5;if(!we(192227,k)){break d}i=6;if(!we(192230,k)){break d}i=7;if(!we(192245,k)){break d}i=8;if(!we(192251,k)){break d}if(we(192264,k)){break c}i=9}l=i<<2;i=l+(h+48|0)|0;if(j[i>>2]){break c}j[i>>2]=1;j[h+l>>2]=m}i=$q(k);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}l=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}l=1;break f}l=2;break f}l=3;break f}if((i|0)!=713){break e}l=4;break f}l=5;break f}l=6;break f}l=7;break f}l=8;break f}l=9}j[n+(l<<2)>>2]=2}j[g+4>>2]=m;j[g>>2]=i;g=g+8|0}if(!e){break b}qe[e|0](f,k)}m=m+1|0;if((m|0)!=(c|0)){continue}break}if(j[h+48>>2]!=1){break a}j[g>>2]=916;j[g+4>>2]=j[h>>2];g=g+8|0}if(j[h+52>>2]==1){j[g>>2]=937;j[g+4>>2]=j[h+4>>2];g=g+8|0}if(j[h+56>>2]==1){j[g>>2]=8725;j[g+4>>2]=j[h+8>>2];g=g+8|0}if(j[h+60>>2]==1){j[g>>2]=173;j[g+4>>2]=j[h+12>>2];g=g+8|0}if(j[h+64>>2]==1){j[g>>2]=713;j[g+4>>2]=j[h+16>>2];g=g+8|0}if(j[h+68>>2]==1){j[g>>2]=956;j[g+4>>2]=j[h+20>>2];g=g+8|0}if(j[h+72>>2]==1){j[g>>2]=8729;j[g+4>>2]=j[h+24>>2];g=g+8|0}if(j[h+76>>2]==1){j[g>>2]=160;j[g+4>>2]=j[h+28>>2];g=g+8|0}if(j[h+80>>2]==1){j[g>>2]=538;j[g+4>>2]=j[h+32>>2];g=g+8|0}if(j[h+84>>2]==1){j[g>>2]=539;j[g+4>>2]=j[h+36>>2];g=g+8|0}k=j[b+20>>2];e=g-k|0;d=e>>3;r:{if(!e){if(k){qe[j[a+8>>2]](a,k)}j[b+20>>2]=0;a=j[h+92>>2];k=a?a:163;break r}if(d>>>0>>1>>>0){k=xe(a,8,c,d,k,h+92|0);j[b+20>>2]=k;j[h+92>>2]=0}eg(k,d,8,783);k=j[h+92>>2]}j[b+16>>2]=d}oe=h+96|0;return k|0}function Sp(a,b,c){var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a>>2];e=k[a+8|0];a:{if(!e){m=c?l[c+8>>1]:0;d=k[a+9|0];if(d>>>0<=7){b:{c:{switch(d-1|0){case 0:m=p(m&1,255);if(!f){break b}g=b+f|0;d=0-f&7;e=(f-1>>>3|0)+b|0;while(1){g=g-1|0;h[g|0]=k[e|0]>>>d&1?-1:0;i=(d|0)==7;d=i?0:d+1|0;e=i?e-1|0:e;n=n+1|0;if((n|0)!=(f|0)){continue}break}break b;case 1:m=p(m&3,85);if(!f){break b}n=b+f|0;d=(f-1>>>2|0)+b|0;e=((f<<1)+6^-1)&6;while(1){n=n-1|0;i=k[d|0]>>>e&3;h[n|0]=i<<2|i|i<<4|i<<6;i=(e|0)==6;e=i?0:e+2|0;d=i?d-1|0:d;g=g+1|0;if((g|0)!=(f|0)){continue}break}break b;case 3:break c;default:break b}}m=p(m&15,17);if(!f){break b}g=b+f|0;d=f<<2&4;e=(f-1>>>1|0)+b|0;while(1){g=g-1|0;i=k[e|0]>>>d&15;h[g|0]=i<<4|i;e=(d|0)==4?e-1|0:e;d=((d|0)!=4)<<2;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+11|0]=8;h[a+9|0]=8;j[a+4>>2]=f;d=8}if(!c){break a}d:{e:{switch(d-8|0){case 0:if(!f){break d}d=b+f|0;e=(f<<1)+b|0;b=m&255;g=0;while(1){d=d-1|0;h[e-1|0]=(b|0)!=k[d|0]?-1:0;e=e-2|0;h[e|0]=k[d|0];g=g+1|0;if((g|0)!=(f|0)){continue}break}break d;case 8:break e;default:break d}}if(!f){break d}g=m>>>8|0;c=j[a+4>>2];e=c+b|0;d=(c<<1)+b|0;n=0;m=m&255;while(1){c=e-1|0;i=d-1|0;e=e-2|0;f:{if((g|0)==k[e|0]){b=0;if((m|0)==k[c|0]){break f}}b=255}h[i|0]=b;h[d-2|0]=b;h[d-3|0]=k[c|0];d=d-4|0;h[d|0]=k[e|0];n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=2;h[a+8|0]=4;b=k[a+9|0]<<1;h[a+11|0]=b;b=b&254;if(b>>>0>=8){j[a+4>>2]=p(b>>>3|0,f);return}j[a+4>>2]=p(b,f)+7>>>3;return}if(!c|(e|0)!=2){break a}g:{h:{switch(k[a+9|0]-8|0){case 0:if(!f){break g}d=(f<<2)+b|0;e=j[a+4>>2]+b|0;n=l[c+2>>1]&255;i=l[c+4>>1]&255;o=l[c+6>>1]&255;while(1){c=e-1|0;q=d-1|0;b=e-3|0;i:{if(!((n|0)!=k[b|0]|(i|0)!=k[e-2|0])){m=0;if((o|0)==k[c|0]){break i}}m=255}h[q|0]=m;h[d-2|0]=k[c|0];h[d-3|0]=k[e-2|0];d=d-4|0;h[d|0]=k[b|0];e=b;g=g+1|0;if((g|0)!=(f|0)){continue}break}break g;case 8:break h;default:break g}}if(!f){break g}g=l[c+6>>1];i=g>>>8|0;o=l[c+4>>1];q=o>>>8|0;c=l[c+2>>1];r=c>>>8|0;d=(f<<3)+b|0;e=j[a+4>>2]+b|0;s=c&255;while(1){m=e-1|0;t=d-1|0;b=e-6|0;j:{k:{if(k[b|0]!=(r|0)|k[e-5|0]!=(s|0)|(k[e-4|0]!=(q|0)|k[e-3|0]!=(o&255))){break k}if((i|0)!=k[e-2|0]){break k}c=0;if(k[m|0]==(g&255)){break j}}c=255}h[t|0]=c;h[d-2|0]=c;h[d-3|0]=k[m|0];h[d-4|0]=k[e-2|0];h[d-5|0]=k[e-3|0];h[d-6|0]=k[e-4|0];h[d-7|0]=k[e-5|0];d=d-8|0;h[d|0]=k[b|0];e=b;n=n+1|0;if((n|0)!=(f|0)){continue}break}}h[a+10|0]=4;h[a+8|0]=6;b=k[a+9|0]<<2;h[a+11|0]=b;b=b&252;l:{if(b>>>0>=8){b=p(b>>>3|0,f);break l}b=p(b,f)+7>>>3|0}j[a+4>>2]=b}}function RK(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,k=q(0),l=q(0),m=0,o=0,p=q(0),r=q(0),s=q(0),t=q(0),u=q(0),v=0,w=0,x=0;i=j[a>>2];x=i>>2;v=i>>1;e=v<<2;m=e+b|0;d=m-28|0;w=c+e|0;e=i&-4;i=w+e|0;f=i;h=e+j[a+8>>2]|0;e=h;while(1){o=f-16|0;n[o>>2]=q(n[e+12>>2]*q(-n[d+8>>2]))-q(n[d>>2]*n[e+8>>2]);n[f-12>>2]=q(n[d>>2]*n[e+12>>2])-q(n[d+8>>2]*n[e+8>>2]);n[f-8>>2]=q(n[e+4>>2]*q(-n[d+24>>2]))-q(n[d+16>>2]*n[e>>2]);n[f-4>>2]=q(n[d+16>>2]*n[e+4>>2])-q(n[d+24>>2]*n[e>>2]);e=e+16|0;f=o;d=d-32|0;if(d>>>0>=b>>>0){continue}break}d=m-32|0;e=i;while(1){f=h-4|0;o=h-8|0;n[e>>2]=q(n[d+16>>2]*n[f>>2])+q(n[d+24>>2]*n[o>>2]);n[e+4>>2]=q(n[d+16>>2]*n[o>>2])-q(n[d+24>>2]*n[f>>2]);f=h-12|0;h=h-16|0;n[e+8>>2]=q(n[d>>2]*n[f>>2])+q(n[d+8>>2]*n[h>>2]);n[e+12>>2]=q(n[d>>2]*n[h>>2])-q(n[d+8>>2]*n[f>>2]);e=e+16|0;d=d-32|0;if(d>>>0>=b>>>0){continue}break}dr(a,w,v);o=j[a+8>>2];b=j[a>>2];d=o+(b<<2)|0;e=j[a+12>>2];b=(b<<1&-4)+c|0;h=b;f=c;while(1){a=b+(j[e>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+4>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d>>2];g=q(g-k);k=n[d+4>>2];u=q(q(s*t)+q(g*k));n[f>>2]=l+u;n[h-8>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+4>>2]=l+g;n[h-4>>2]=g-l;a=b+(j[e+8>>2]<<2)|0;g=n[a+4>>2];m=b+(j[e+12>>2]<<2)|0;k=n[m+4>>2];l=q(q(g+k)*q(.5));p=n[a>>2];r=n[m>>2];s=q(p+r);t=n[d+8>>2];g=q(g-k);k=n[d+12>>2];u=q(q(s*t)+q(g*k));n[f+8>>2]=l+u;a=h-16|0;n[a>>2]=l-u;l=q(q(p-r)*q(.5));g=q(q(s*k)-q(g*t));n[f+12>>2]=l+g;n[h-12>>2]=g-l;e=e+16|0;d=d+16|0;f=f+16|0;h=a;if(f>>>0>>0){continue}break}d=o+(v<<2)|0;f=i;h=f;e=c;while(1){n[f-4>>2]=q(n[e>>2]*n[d+4>>2])-q(n[e+4>>2]*n[d>>2]);n[h>>2]=-q(q(n[e>>2]*n[d>>2])+q(n[e+4>>2]*n[d+4>>2]));n[f-8>>2]=q(n[e+8>>2]*n[d+12>>2])-q(n[e+12>>2]*n[d+8>>2]);n[h+4>>2]=-q(q(n[e+8>>2]*n[d+8>>2])+q(n[e+12>>2]*n[d+12>>2]));n[f-12>>2]=q(n[e+16>>2]*n[d+20>>2])-q(n[e+20>>2]*n[d+16>>2]);n[h+8>>2]=-q(q(n[e+16>>2]*n[d+16>>2])+q(n[e+20>>2]*n[d+20>>2]));f=f-16|0;n[f>>2]=q(n[e+24>>2]*n[d+28>>2])-q(n[e+28>>2]*n[d+24>>2]);n[h+12>>2]=-q(q(n[e+24>>2]*n[d+24>>2])+q(n[e+28>>2]*n[d+28>>2]));d=d+32|0;h=h+16|0;e=e+32|0;if(f>>>0>e>>>0){continue}break}f=(x<<2)+c|0;d=f;e=i;while(1){g=n[e-4>>2];n[f-4>>2]=g;n[d>>2]=-g;g=n[e-8>>2];n[f-8>>2]=g;n[d+4>>2]=-g;g=n[e-12>>2];n[f-12>>2]=g;n[d+8>>2]=-g;f=f-16|0;e=e-16|0;g=n[e>>2];n[f>>2]=g;n[d+12>>2]=-g;d=d+16|0;if(e>>>0>d>>>0){continue}break}d=i;while(1){a=i-16|0;n[a>>2]=n[d+12>>2];n[i-12>>2]=n[d+8>>2];n[i-8>>2]=n[d+4>>2];n[i-4>>2]=n[d>>2];d=d+16|0;i=a;if(a>>>0>w>>>0){continue}break}}function vk(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;l=oe-16|0;oe=l;f=He(j[a+100>>2],j[a+16>>2]+216|0,l+8|0);d=j[l+8>>2];if(!d){j[f>>2]=a;d=j[a+16>>2];j[f+212>>2]=c;c=f+216|0;j[f+8>>2]=c;j[f+4>>2]=d;o=j[a+92>>2];g=Ee(c,127,d);a:{if(tk(a)){break a}d=113632;while(1){c=j[j[(j[d+8>>2]<<2)+114768>>2]+4>>2];b:{if(!c|j[d+16>>2]!=10){break b}d=j[c>>2];if(!d){break b}while(1){e=c;c=0;c:{if(!a){break c}i=j[a+92>>2];if(!i){break c}c=qe[j[j[i+12>>2]+12>>2]](i,d)|0}j[l+12>>2]=c;d:{if(!c|m[f+4>>2]<=c>>>0){break d}c=c+g|0;if(k[c|0]!=127){break d}h[c|0]=n}d=bs(a,d,l+12|0);while(1){c=j[l+12>>2];if(!(!c|m[e+4>>2]>>0)){e:{if(c>>>0>=m[f+4>>2]){break e}c=c+g|0;if(k[c|0]!=127){break e}h[c|0]=n}d=bs(a,d,l+12|0);continue}break}c=e+8|0;d=j[e+8>>2];if(d){continue}break}}n=n+1|0;d=j[(n<<2)+114864>>2];if((n|0)!=49){continue}break}d=0;c=a;f:{if(!c){break f}e=j[c+92>>2];if(!e){break f}d=qe[j[j[e+12>>2]+12>>2]](e,48)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;g:{if(!c){break g}e=j[c+92>>2];if(!e){break g}d=qe[j[j[e+12>>2]+12>>2]](e,49)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;h:{if(!c){break h}e=j[c+92>>2];if(!e){break h}d=qe[j[j[e+12>>2]+12>>2]](e,50)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;i:{if(!c){break i}e=j[c+92>>2];if(!e){break i}d=qe[j[j[e+12>>2]+12>>2]](e,51)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;j:{if(!c){break j}e=j[c+92>>2];if(!e){break j}d=qe[j[j[e+12>>2]+12>>2]](e,52)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;k:{if(!c){break k}e=j[c+92>>2];if(!e){break k}d=qe[j[j[e+12>>2]+12>>2]](e,53)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;l:{if(!c){break l}e=j[c+92>>2];if(!e){break l}d=qe[j[j[e+12>>2]+12>>2]](e,54)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;m:{if(!c){break m}e=j[c+92>>2];if(!e){break m}d=qe[j[j[e+12>>2]+12>>2]](e,55)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;n:{if(!c){break n}e=j[c+92>>2];if(!e){break n}d=qe[j[j[e+12>>2]+12>>2]](e,56)|0}if(!(!d|m[f+4>>2]<=d>>>0)){d=d+g|0;h[d|0]=k[d|0]|128}d=0;o:{if(!c){break o}c=j[a+92>>2];if(!c){break o}d=qe[j[j[c+12>>2]+12>>2]](c,57)|0}if(!d|d>>>0>=m[f+4>>2]){break a}c=d+g|0;h[c|0]=k[c|0]|128}e=j[f+212>>2];p:{if(j[e+12>>2]==127){break p}n=j[f+4>>2];if((n|0)<1){break p}d=0;while(1){c=d+g|0;i=k[c|0];if((i&127)==127){i=i&128;h[c|0]=i;h[c|0]=i|k[e+12|0]}d=d+1|0;if((n|0)>(d|0)){continue}break}}Uh(a,o);j[f+12>>2]=0;d=0}j[b>>2]=f;oe=l+16|0;return d}function wN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;a:{if(!a){break a}i=j[a+100>>2];b=j[a+532>>2];if(b){qe[j[b+12>>2]](a)}c=j[a+656>>2];if(!c){break a}f=j[c+4>>2];b=j[c+84>>2];if(b){d=j[b+28>>2];e=c+112|0;if(j[e>>2]){jf(b,e)}b=j[c+108>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+108>>2]=0;j[c+112>>2]=0;j[c+100>>2]=0;j[c+104>>2]=0;j[c+92>>2]=0;j[c+96>>2]=0;j[c+84>>2]=0;j[c+88>>2]=0}b=j[c+1208>>2];if(b){d=j[b+28>>2];e=c+1236|0;if(j[e>>2]){jf(b,e)}b=j[c+1232>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1208|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+20>>2];if(b){d=j[b+28>>2];e=c+48|0;if(j[e>>2]){jf(b,e)}b=j[c+44>>2];if(b){qe[j[d+8>>2]](d,b)}j[c+44>>2]=0;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0}b=j[c+1176>>2];if(b){d=j[b+28>>2];e=c+1204|0;if(j[e>>2]){jf(b,e)}b=j[c+1200>>2];if(b){qe[j[d+8>>2]](d,b)}b=c+1176|0;j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=j[c+1896>>2];if(b){while(1){d=j[((g<<2)+c|0)+1900>>2];if(d){b=j[d+536>>2];if(b){e=j[b+28>>2];k=d+564|0;if(j[k>>2]){jf(b,k)}b=j[d+560>>2];if(b){qe[j[e+8>>2]](e,b)}b=d;j[b+560>>2]=0;j[b+564>>2]=0;j[b+552>>2]=0;j[b+556>>2]=0;j[b+544>>2]=0;j[b+548>>2]=0;j[b+536>>2]=0;j[b+540>>2]=0}b=j[d+568>>2];if(b){qe[j[f+8>>2]](f,b)}j[d+568>>2]=0;b=j[c+1896>>2]}g=g+1|0;if(g>>>0>>0){continue}break}b=j[c+1900>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1900>>2]=0}j[c+116>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;b=j[j[c>>2]+28>>2];d=b;g=c+1164|0;e=j[g>>2];if(e){qe[j[d+8>>2]](d,e)}j[g>>2]=0;j[g+4>>2]=0;d=c+1160|0;g=j[d>>2];if(g){qe[j[b+8>>2]](b,g)}j[c+1152>>2]=0;j[c+1156>>2]=0;j[d>>2]=0;b=c+1860|0;d=j[b>>2];if(d){g=j[d+28>>2];e=c+1888|0;if(j[e>>2]){jf(d,e)}d=j[c+1884>>2];if(d){qe[j[g+8>>2]](g,d)}j[b+24>>2]=0;j[b+28>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}b=c+1892|0;d=j[b>>2];if(d){qe[j[f+8>>2]](f,d)}j[b>>2]=0;b=c+2932|0;if(j[b>>2]){jf(j[c>>2],b)}h[c+2924|0]=0;j[c+2928>>2]=0;j[c+2936>>2]=0;b=j[c+2960>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2960>>2]=0;b=j[c+1304>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1304>>2]=0;b=j[c+1308>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1308>>2]=0;b=j[c+1316>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1316>>2]=0;b=j[c+1320>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+1320>>2]=0;b=j[c+2976>>2];if(b){qe[b|0](j[c+2972>>2]);b=j[c+2972>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+2972>>2]=0}b=j[a+656>>2];if(b){qe[j[i+8>>2]](i,b)}j[a+656>>2]=0}}function _n(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;a=oe-144|0;oe=a;b=j[58911];if(!we(b,1164)){e=j[58890]-j[58888]|0;l=j[58889]-j[58887]|0}j[a+20>>2]=e;j[a+16>>2]=l;ti(b,a+24|0);if(j[a+88>>2]>j[58912]){ti(j[58911],a+24|0);j[58912]=j[a+88>>2];ol()}if(!j[58916]){ti(j[58915],a+24|0);j[58916]=j[a+88>>2]}ti(j[58915],a+24|0);if(j[a+88>>2]>j[58916]){ti(j[58915],a+24|0);j[58916]=j[a+88>>2];$g(1192,0);Jo()}fi(j[58882],0,0,0,0);a:{if(!j[58914]){break a}q=a+36|0;r=a+32|0;b=44;d=l;while(1){if(j[58906]==(i|0)){break a}c=b;b:{c:{d:{f=j[58913]+o|0;n=h[f|0];b=n;switch(b-32|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((n|0)!=10){if((n|0)!=95){break c}fi(j[58882],255,255,255,40);if(k[242924]){j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=16;j[a+36>>2]=16;c=j[58884]+d|0;j[a+128>>2]=c+2;b=j[58885];j[a+136>>2]=10;j[a+140>>2]=9;b=b+e|0;j[a+132>>2]=b+2;j[a+116>>2]=b;j[a+112>>2]=c;j[a+120>>2]=16;j[a+124>>2]=16;po(j[58882]);oo(j[58882],a+112|0);Ui(j[58882],j[65531],a+24|0,a+128|0)}fi(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=-1;g=g+1|0;b=k[j[58913]+o|0];break b}j[j[58908]+(i<<2)>>2]=g;e=e+16|0;j[a+20>>2]=e;j[a+16>>2]=l;g=0;i=i+1|0;if((i|0)==j[58906]){d=l;b=c;break b}b=k[f|0];d=l;break b}e:{f:{b=c;c=c&255;switch(c|0){case 0:case 10:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break b;default:break f}}c=c-32|0;if(!c|(c|0)==12){break e}break b}g:{h:{i:{j:{b=k[f+1|0];switch(b|0){case 0:case 10:break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break i;default:break j}}b=b-32|0;if(!b|(b|0)==12){break h}}j[a+24>>2]=0;b=2;k:{l:{m:{c=k[f+2|0];switch(c|0){case 0:case 10:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break l;default:break m}}c=c-32|0;if(!c|(c|0)==12){break k}}b=3}Ae(a+24|0,f,b);b=rf(a+24|0);break g}b=n-48|0}c=p(b,24)+235536|0;f=j[c+144>>2];c=j[c+140>>2];j[a+28>>2]=e;j[a+24>>2]=d;j[a+128>>2]=c;j[a+132>>2]=f;j[a+136>>2]=16;j[a+140>>2]=16;j[a+112>>2]=j[58884]+d;c=j[58885];j[a+120>>2]=16;j[a+124>>2]=16;j[a+116>>2]=c+e;ro(j[58905],r,q);Ui(j[58882],j[58905],a+128|0,a+112|0);fi(j[58882],255,255,255,40);c=j[a+20>>2];j[a+8>>2]=j[a+16>>2];j[a+12>>2]=c;MA(a+8|0,b);fi(j[58882],0,0,0,0);d=d+16|0;j[a+16>>2]=d;j[j[j[58909]+(i<<2)>>2]+(g<<2)>>2]=b;g=g+1|0;b=n}o=o+1|0;if(o>>>0>2]);if(c){break a}g=j[a+96>>2];f=j[a+116>>2];i=g-f|0;if((i|0)>=1){d=j[a+68>>2];e=j[a+64>>2];j[l+12>>2]=0;c=e+i|0;b:{if(c>>>0<=d>>>0){d=j[a+76>>2];break b}e=j[a+88>>2];b=d;while(1){b=((b>>>1|0)+b|0)+16|0;if(c>>>0>b>>>0){continue}break}n=a,o=xe(e,8,d,b,j[a+72>>2],l+12|0),j[n+72>>2]=o;c=j[l+12>>2];if(c){break a}d=xe(e,1,d,b,j[a+76>>2],l+12|0);j[a+76>>2]=d;c=j[l+12>>2];if(c){break a}j[a+68>>2]=b;f=j[a+116>>2];g=j[a+96>>2];e=j[a+64>>2]}c=j[a+104>>2];b=(c+(g<<3)|0)-8|0;if(b>>>0>=c+(f<<3)>>>0){c=j[a+72>>2]+(e<<3)|0;e=d+e|0;d=j[a+108>>2]+g|0;while(1){f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;d=d-1|0;h[e|0]=k[d|0]&243;e=e+1|0;c=c+8|0;b=b-8|0;f=j[a+116>>2];if(b>>>0>=j[a+104>>2]+(f<<3)>>>0){continue}break}e=j[a+64>>2]}j[a+96>>2]=f;h[a+112|0]=0;h[a+80|0]=0;j[a+64>>2]=e+i}b=j[a+32>>2];j[a+8>>2]=j[a+28>>2];j[a+12>>2]=b;c=Ur(a,j[a+24>>2]+11796480|0);if(c){break a}d=j[a+64>>2];b=j[a+84>>2];c:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break c}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;c=0;h[a+80|0]=0;break a}if(!(j[a+12>>2]==j[a+32>>2]?j[a+8>>2]==j[a+28>>2]:0)){c=Wr(a,a+28|0);if(c){break a}}b=j[a+24>>2];j[a+4>>2]=b;b=Df(j[a>>2],b);if(b){c=Di(a,b>>>31|0,j[a+36>>2]);if(c){break a}c=Ci(a,(b^-1)>>>31|0,j[a+36>>2]);if(c){break a}}d=j[a+64>>2];b=j[a+84>>2];d:{if(d>>>0<=b+1>>>0){j[a+64>>2]=b;break d}c=d-1|0;j[a+64>>2]=c;e=j[a+72>>2];f=e+(b<<3)|0;c=e+(c<<3)|0;e=j[c+4>>2];j[f>>2]=j[c>>2];j[f+4>>2]=e;b=b+j[a+76>>2]|0;h[b|0]=k[b|0]|4;b=(d+j[a+76>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+84>>2]=-1;h[a+80|0]=0;f=j[a+96>>2];e=j[a+116>>2];e:{if(f>>>0<=e+1>>>0){j[a+96>>2]=e;break e}g=f-1|0;j[a+96>>2]=g;b=j[a+104>>2];d=e<<3;c=b+d|0;i=g<<3;b=i+b|0;m=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=m;b=d;d=j[a+104>>2];b=(b+d|0)+8|0;c=(d+i|0)-8|0;if(b>>>0>>0){while(1){d=j[b>>2];i=j[b+4>>2];m=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=m;j[c>>2]=d;j[c+4>>2]=i;b=b+8|0;c=c-8|0;if(b>>>0>>0){continue}break}}d=j[a+108>>2];b=(d+e|0)+1|0;c=(d+g|0)-1|0;if(b>>>0>>0){while(1){d=k[b|0];h[b|0]=k[c|0];h[c|0]=d;b=b+1|0;c=c-1|0;if(b>>>0>>0){continue}break}d=j[a+108>>2]}b=d+e|0;h[b|0]=k[b|0]|4;b=(f+j[a+108>>2]|0)-2|0;h[b|0]=k[b|0]|8}j[a+116>>2]=-1;c=0;h[a+112|0]=0}oe=l+16|0;return c}function Tz(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;var h=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;r=oe-16|0;oe=r;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<1)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<1)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<1)|0;a=g?a:a+2|0}b=c+e|0;if(!b){break a}while(1){i[a>>1]=f;a=a+2|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(d<<1)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;a=g?a:a+(h<<1)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}n=b-d|0;h=n>>31;m=c-e|0;l=m>>31;if((h^h+n)==(l^l+m)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<1)|0)+(b<<1)|0;m=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<1)|0)+(d<<1)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<1)|0}b=((g|0)!=0)+m|0;if(!b){break a}c=c<<1;while(1){i[a>>1]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}h=j[a+4>>2];Bn(f,h,r+15|0,r+14|0,r+13|0,r+12|0);e:{h=j[h+12>>2];if((h|0)!=63488){if((h|0)!=31744){break e}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;f:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break f}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;g:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break g}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break a}m=d-b|0;h=m>>31;n=e-c|0;l=n>>31;h=h^h+m;l=l^l+n;h:{if((h|0)>=(l|0)){n=l-h|0;o=l<<1;m=o-h|0;l=1;break h}n=h-l|0;q=1;o=h<<1;m=o-l|0;h=l;l=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-q|0:q;d=(b|0)>(d|0);l=d?0-l|0:l;q=e?-1:1;d=d?-1:1;n=n<<1;s=j[a+16>>2];t=j[a+20>>2];e=0;while(1){i[(t+p(c,s)|0)+(b<<1)>>1]=f;a=(m|0)<0;m=(a?o:n)+m|0;b=(a?l:d)+b|0;c=(a?h:q)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}oe=r+16|0}function AG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+488>>2];l=j[b+16>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);c=3;a=j[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=k[a|0];c:{if(a-48>>>0<=9){a=qe[j[b+36>>2]](b)|0;j[b+144>>2]=a;if(j[b+12>>2]){break a}if((a|0)<0){break b}a=j[b>>2];break c}if((a|0)!=60){break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);d=j[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=k[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}j[b>>2]=d;j[b+144>>2]=i;a=d;break c}i=i+1|0}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}break}}if(a>>>0>=e>>>0){break b}m=b+200|0;c=qe[j[j[f>>2]>>2]](m,j[b+144>>2],l)|0;if(c){break b}n=b+148|0;c=qe[j[j[f>>2]>>2]](n,j[b+144>>2],l)|0;if(c){break b}i=b+252|0;c=qe[j[j[f>>2]>>2]](i,4,l)|0;if(c){break b}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0<=a>>>0){j[b+144>>2]=0;c=3;break b}l=0;f=0;d=0;while(1){e:{c=k[a|0];f:{if(!((c|0)!=101|a+3>>>0>=e>>>0)){if(k[a+1|0]!=110|k[a+2|0]!=100){break f}switch(k[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}if((c|0)==62){break e}}qe[j[b+32>>2]](b);c=3;g=j[b>>2];if(g>>>0>=e>>>0){break b}if(j[b+12>>2]){break a}if(k[a|0]==47){if(a+2>>>0>=e>>>0){break b}a=a+1|0;g=g-a|0;c=qe[j[b+192>>2]](n,d,a,g+1|0)|0;if(c){break b}c=g;g=d<<2;h[c+j[g+j[b+172>>2]>>2]|0]=0;if(k[a|0]==46){a=we(204303,j[g+j[b+172>>2]>>2]);l=a?l:1;f=a?f:d}qe[j[b+28>>2]](b);a=j[b>>2];qe[j[b+36>>2]](b)|0;c=3;o=j[b>>2];if(o>>>0>=e>>>0){break b}c=a;a=o-a|0;c=qe[j[b+244>>2]](m,d,c,a+1|0)|0;if(c){break b}h[a+j[g+j[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=j[b+144>>2]){break e}}qe[j[b+28>>2]](b);a=j[b>>2];if(e>>>0>a>>>0){continue}}break}j[b+144>>2]=d;if(!(l&255)){c=3;break b}a=j[j[b+172>>2]>>2];if(!we(204303,a)){break a}c=qe[j[b+296>>2]](i,0,a,j[j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,1,j[j[b+224>>2]>>2],j[j[b+228>>2]>>2])|0;if(c){break b}a=f<<2;c=qe[j[b+296>>2]](i,2,j[a+j[b+172>>2]>>2],j[a+j[b+176>>2]>>2])|0;if(c){break b}c=qe[j[b+296>>2]](i,3,j[a+j[b+224>>2]>>2],j[a+j[b+228>>2]>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,f,j[j[b+276>>2]>>2],j[j[b+280>>2]>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,f,j[j[b+276>>2]+4>>2],j[j[b+280>>2]+4>>2])|0;if(c){break b}c=qe[j[b+192>>2]](n,0,j[j[b+276>>2]+8>>2],j[j[b+280>>2]+8>>2])|0;if(c){break b}c=qe[j[b+244>>2]](m,0,j[j[b+276>>2]+12>>2],j[j[b+280>>2]+12>>2])|0;if(!c){break a}}j[b+12>>2]=c}}function wt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+110880|0;r=b-1|0;if(r){D=a-1|0;E=m+110882|0;F=m+110890|0;G=m+110888|0;H=m+110886|0;I=m+110884|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+110928|0]<<3&2016|k[(z+x>>6)+110928|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+110928|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+110928|0]<<3&2016|k[(w+z>>6)+110928|0]<<8&63488|k[(w+x>>6)+110928|0]>>>3;o=o+2|0;n=n+2|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(o+b>>6)+110928|0]<<8&63488|k[(n+b>>6)+110928|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(b+o>>6)+110928|0]<<8&63488|k[(b+n>>6)+110928|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];j=i[a+110886>>1];u=i[a+110884>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(r+f>>6)+110928|0]<<8&63488|k[(o+f>>6)+110928|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(f+r>>6)+110928|0]<<8&63488|k[(f+o>>6)+110928|0]>>>3;s=s+2|0;q=q+2|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+110882>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+110886>>1])|0)+p(d,i[a+110888>>1])>>6)+110928|0]<<3&2016|k[(b+p(d,i[a+110884>>1])>>6)+110928|0]<<8&63488|k[(b+p(c,i[a+110890>>1])>>6)+110928|0]>>>3}}function Jt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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,I=0,J=0,K=0,L=0,M=0,N=0;m=p(l,12);B=m+110880|0;r=b-1|0;if(r){D=a-1|0;E=m+110882|0;F=m+110890|0;G=m+110888|0;H=m+110886|0;I=m+110884|0;while(1){m=p(j,u)+h|0;b=p(f,u)+c|0;q=u|1;s=p(q,j)+h|0;n=p(u>>>1|0,g);o=n+e|0;n=d+n|0;q=p(f,q)+c|0;a:{if(!D){v=0;break a}y=i[E>>1];C=k[B|0];J=i[F>>1];K=i[G>>1];L=i[H>>1];M=i[I>>1];v=0;while(1){z=k[o|0]-128|0;t=k[n|0]-128|0;w=(p(z,K)+p(t,L)|0)- -8192|0;x=p(y,k[b|0]-C|0);z=p(z,M)- -8192|0;N=k[(w+x>>6)+110928|0]<<3&2016|k[(z+x>>6)+110928|0]<<8&63488;A=x;x=p(t,J)- -8192|0;i[m>>1]=N|k[(A+x>>6)+110928|0]>>>3;t=p(y,k[b+1|0]-C|0);i[m+2>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;t=p(y,k[q|0]-C|0);i[s>>1]=k[(t+w>>6)+110928|0]<<3&2016|k[(t+z>>6)+110928|0]<<8&63488|k[(t+x>>6)+110928|0]>>>3;A=w;w=p(y,k[q+1|0]-C|0);i[s+2>>1]=k[(A+w>>6)+110928|0]<<3&2016|k[(w+z>>6)+110928|0]<<8&63488|k[(w+x>>6)+110928|0]>>>3;o=o+1|0;n=n+1|0;q=q+2|0;b=b+2|0;s=s+4|0;m=m+4|0;v=v+2|0;if(D>>>0>v>>>0){continue}break}}if((v|0)==(D|0)){A=m;v=i[E>>1];m=k[B|0];b=p(v,k[b|0]-m|0)- -8192|0;o=k[o|0]-128|0;n=k[n|0]-128|0;y=p(o,i[G>>1])+p(n,i[H>>1])|0;o=p(o,i[I>>1]);n=p(n,i[F>>1]);i[A>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(o+b>>6)+110928|0]<<8&63488|k[(n+b>>6)+110928|0]>>>3;b=p(v,k[q|0]-m|0)- -8192|0;i[s>>1]=k[(b+y>>6)+110928|0]<<3&2016|k[(b+o>>6)+110928|0]<<8&63488|k[(b+n>>6)+110928|0]>>>3}u=u+2|0;if(r>>>0>u>>>0){continue}break}}b:{if((r|0)!=(u|0)){break b}m=p(j,r)+h|0;b=p(f,r)+c|0;c=p(r>>>1|0,g);s=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(l,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];j=i[a+110886>>1];u=i[a+110884>>1];e=k[B|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;r=k[s|0]-128|0;o=k[q|0]-128|0;n=p(r,h)+p(o,j)|0;r=p(r,u);o=p(g,o);i[m>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(r+f>>6)+110928|0]<<8&63488|k[(o+f>>6)+110928|0]>>>3;f=p(d,k[b+1|0]-e|0)- -8192|0;i[m+2>>1]=k[(f+n>>6)+110928|0]<<3&2016|k[(f+r>>6)+110928|0]<<8&63488|k[(f+o>>6)+110928|0]>>>3;s=s+1|0;q=q+1|0;b=b+2|0;m=m+4|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(l,12);b=p(i[a+110882>>1],k[b|0]-k[B|0]|0)- -8192|0;c=k[q|0]-128|0;d=k[s|0]-128|0;i[m>>1]=k[((b+p(c,i[a+110886>>1])|0)+p(d,i[a+110888>>1])>>6)+110928|0]<<3&2016|k[(b+p(d,i[a+110884>>1])>>6)+110928|0]<<8&63488|k[(b+p(c,i[a+110890>>1])>>6)+110928|0]>>>3}}function Nq(a,b,c,d,e,f){var g=q(0),h=0,i=q(0),k=0,l=q(0),m=q(0),o=0,p=q(0),r=q(0),s=q(0),t=0,v=0,w=0,x=0,y=0,z=q(0),A=q(0);h=(a<<2)+15&-16;t=oe-h|0;v=t-h|0;w=v-h|0;x=w-h|0;y=x-h|0;l=q(1);p=q(u(q(n[c>>2]+e),q(1)));i=q(q(p*p)*q(.5));g=q(i+q(0));n[t>>2]=g;n[v>>2]=g;j[w>>2]=0;m=q(q(p*i)+q(0));n[x>>2]=m;j[y>>2]=0;k=1;if((a|0)>1){p=g;while(1){h=k<<2;i=q(u(q(n[h+c>>2]+e),q(1)));r=q(i*i);p=q(p+r);n[h+t>>2]=p;s=q(l*r);g=q(g+s);n[h+v>>2]=g;z=q(z+q(l*s));n[h+w>>2]=z;m=q(m+q(i*r));n[h+x>>2]=m;A=q(A+q(i*s));n[h+y>>2]=A;l=q(l+q(1));k=k+1|0;if((k|0)!=(a|0)){continue}break}}g=q(1);l=q(0);k=j[b>>2];a:{if((k|0)>-1){p=q(0);i=q(0);break a}while(1){c=k<<2&262140;h=k>>16<<2;m=q(n[c+w>>2]+n[w-h>>2]);i=q(n[c+x>>2]+n[x-h>>2]);g=q(n[c+v>>2]-n[v-h>>2]);r=q(n[c+y>>2]-n[y-h>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-h>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];if((k|0)<=-1){continue}break}}c=k&65535;if((c|0)<(a|0)){while(1){c=c<<2;h=k>>16<<2;m=q(n[c+w>>2]-n[h+w>>2]);i=q(n[c+x>>2]-n[h+x>>2]);g=q(n[c+v>>2]-n[h+v>>2]);r=q(n[c+y>>2]-n[h+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]-n[h+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));n[(o<<2)+d>>2]=q(u(q(q(p+q(l*i))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;k=j[(o<<2)+b>>2];c=k&65535;if((c|0)<(a|0)){continue}break}}if((a|0)>(o|0)){while(1){n[(o<<2)+d>>2]=q(u(q(q(p+q(i*l))/g),q(0)))-e;l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}b:{if((f|0)<1){break b}h=f>>>1|0;k=h-f|0;c:{if((k|0)>-1){l=q(0);o=0;break c}o=f-h|0;b=0;l=q(0);c=h;while(1){c=c<<2;k=k<<2;m=q(n[c+w>>2]+n[w-k>>2]);i=q(n[c+x>>2]+n[x-k>>2]);g=q(n[c+v>>2]-n[v-k>>2]);r=q(n[c+y>>2]-n[y-k>>2]);p=q(q(m*i)-q(g*r));s=q(n[c+t>>2]+n[t-k>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(b<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));b=b+1|0;c=h+b|0;k=c-f|0;if((b|0)!=(o|0)){continue}break}}k=h+o|0;if((k|0)<(a|0)){while(1){b=k<<2;c=k-f<<2;m=q(n[b+w>>2]-n[c+w>>2]);i=q(n[b+x>>2]-n[c+x>>2]);g=q(n[b+v>>2]-n[c+v>>2]);r=q(n[b+y>>2]-n[c+y>>2]);p=q(q(m*i)-q(g*r));s=q(n[b+t>>2]-n[c+t>>2]);i=q(q(s*r)-q(g*i));g=q(q(s*m)-q(g*g));m=q(q(q(p+q(l*i))/g)-e);c=(o<<2)+d|0;if(!(m>2]^1)){n[c>>2]=m}l=q(l+q(1));o=o+1|0;k=h+o|0;if((k|0)<(a|0)){continue}break}}if((a|0)<=(o|0)){break b}while(1){m=q(q(q(p+q(i*l))/g)-e);b=(o<<2)+d|0;if(!(m>2]^1)){n[b>>2]=m}l=q(l+q(1));o=o+1|0;if((o|0)!=(a|0)){continue}break}}}function Ep(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=oe-48|0;oe=g;sP(+a);d=pP(1)|0;f=pP(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;o[b>>3]=c;o[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;o[b>>3]=c;o[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;o[b>>3]=c;o[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;o[b>>3]=a;sP(+a);d=pP(1)|0;pP(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(r(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;o[b>>3]=a;f=e;sP(+a);e=pP(1)|0;pP(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;o[b>>3]=a}o[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;o[b>>3]=a;o[b+8>>3]=a;d=0;break a}qP(0,f|0);qP(1,e&1048575|1096810496);a=+rP();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(r(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);o[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}o[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(o[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=Fp(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=o[g>>3];if((e|0)<-1?1:(e|0)<=-1){o[b>>3]=-a;o[b+8>>3]=-o[g+8>>3];d=0-d|0;break a}o[b>>3]=a;o[b+8>>3]=o[g+8>>3]}oe=g+48|0;return d}function vt(a,b,c,d,e,f,g,j,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){D=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+110928|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+110928|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+110928|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+110928|0];h[n+4|0]=k[(u+y>>6)+110928|0];h[n+3|0]=k[(u+B>>6)+110928|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+110928|0];h[b+1|0]=k[(u+y>>6)+110928|0];h[b|0]=k[(u+B>>6)+110928|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+110928|0];h[b+4|0]=k[(v+y>>6)+110928|0];h[b+3|0]=k[(v+B>>6)+110928|0];r=r+2|0;q=q+2|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+110928|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+110928|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+110928|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+110928|0];h[b+1|0]=k[(n+q>>6)+110928|0];h[b|0]=k[(n+o>>6)+110928|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];j=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+110928|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+110928|0];s=p(s,w);h[n|0]=k[(s+f>>6)+110928|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+110928|0];h[n+4|0]=k[(f+r>>6)+110928|0];h[n+3|0]=k[(f+s>>6)+110928|0];o=o+2|0;t=t+2|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+110890>>1])>>6)+110928|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0];h[n+1|0]=k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]}}function Ts(a,b,c){var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;o=oe-16|0;oe=o;j[o+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(k[b+18|0]-1>>>0<=6){q=j[a>>2];h[c+18|0]=2;g=j[c>>2];f=j[b>>2];j[c>>2]=f;j[c+4>>2]=j[b+4>>2];l=j[c+8>>2];e=j[b+4>>2];if((e|0)>=1){hP(e,0,f,0);if(pe){break a}}n=c;m=0-e|0;a=e;e=p(a,f);d=l>>31;d=p(g,d+l^d);if(e>>>0>d>>>0){s=c,t=Qr(q,d,e,j[c+12>>2],o+12|0),j[s+12>>2]=t;d=j[o+12>>2];if(d){break a}l=j[c+8>>2]}j[n+8>>2]=(l|0)<0?m:a;break b}j[o+12>>2]=6}l=j[b+12>>2];e=j[b+8>>2];if((e|0)<=-1){l=p(1-j[b>>2]|0,e)+l|0}n=j[c+12>>2];g=j[c+8>>2];if((g|0)<=-1){n=p(1-j[c>>2]|0,g)+n|0}c:{d:{switch(k[b+18|0]-1|0){case 0:i[c+16>>1]=2;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>3|0;if(f){while(1){a=k[e|0];h[d+7|0]=a&1;h[d|0]=a>>>7;h[d+6|0]=a>>>1&1;h[d+5|0]=a>>>2&1;h[d+4|0]=a>>>3&1;h[d+3|0]=a>>>4&1;h[d+2|0]=a>>>5&1;h[d+1|0]=a>>>6&1;e=e+1|0;d=d+8|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&7;if(f){a=k[e|0];while(1){h[d|0]=(a&128)>>>7;d=d+1|0;a=a<<1;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 1:case 4:case 5:a=j[b+4>>2];i[c+16>>1]=256;d=j[b>>2];if(!d){break c}while(1){n=Ae(n,l,a)+j[c+8>>2]|0;l=j[b+8>>2]+l|0;d=d-1|0;if(d){continue}break}break c;case 2:i[c+16>>1]=4;g=j[b>>2];if(!g){break c}while(1){d=n;e=l;a=j[b+4>>2];f=a>>>2|0;if(f){while(1){a=k[e|0];h[d+3|0]=a&3;h[d|0]=a>>>6;h[d+2|0]=a>>>2&3;h[d+1|0]=a>>>4&3;d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}a=j[b+4>>2]}f=a&3;if(f){a=k[e|0];while(1){h[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;f=f-1|0;if(f){continue}break}}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 3:i[c+16>>1]=16;g=j[b>>2];if(!g){break c}while(1){d=n;a=l;m=j[b+4>>2];e=m>>>1|0;if(e){while(1){m=k[a|0];h[d+1|0]=m&15;h[d|0]=m>>>4;d=d+2|0;a=a+1|0;e=e-1|0;if(e){continue}break}m=j[b+4>>2]}if(m&1){h[d|0]=k[a|0]>>>4}n=j[c+8>>2]+n|0;l=j[b+8>>2]+l|0;g=g-1|0;if(g){continue}break}break c;case 6:break d;default:break c}}i[c+16>>1]=256;q=j[b>>2];if(!q){break c}while(1){a=n;d=l;f=j[b+4>>2];if(f){while(1){e=a;g=k[d+3|0];m=0;e:{if(!g){break e}m=k[d+1|0];r=p(p(m,m),46871);m=k[d|0];r=r+p(p(m,m),4732)|0;m=k[d+2|0];m=g-((r+p(p(m,m),13933)>>>16>>>0)/(g>>>0)|0)|0}h[e|0]=m;a=a+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}g=j[c+8>>2];e=j[b+8>>2]}n=n+g|0;l=l+e|0;q=q-1|0;if(q){continue}break}}d=j[o+12>>2]}oe=o+16|0;return d}function It(a,b,c,d,e,f,g,j,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){D=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+j|0;o=p(f,w)+c|0;t=w|1;b=p(t,l)+j|0;q=p(w>>>1|0,g);r=q+e|0;q=d+q|0;t=p(f,t)+c|0;a:{if(!D){x=0;break a}z=i[F>>1];A=k[C|0];L=i[G>>1];M=i[H>>1];N=i[I>>1];O=i[J>>1];x=0;while(1){B=k[r|0];u=k[q|0]-128|0;v=p(u,L)- -8192|0;y=p(z,k[o|0]-A|0);h[n+2|0]=k[(v+y>>6)+110928|0];K=B-128|0;B=p(K,O)- -8192|0;h[n|0]=k[(B+y>>6)+110928|0];E=y;y=(p(M,K)+p(u,N)|0)- -8192|0;h[n+1|0]=k[(E+y>>6)+110928|0];u=p(z,k[o+1|0]-A|0);h[n+5|0]=k[(u+v>>6)+110928|0];h[n+4|0]=k[(u+y>>6)+110928|0];h[n+3|0]=k[(u+B>>6)+110928|0];u=p(z,k[t|0]-A|0);h[b+2|0]=k[(u+v>>6)+110928|0];h[b+1|0]=k[(u+y>>6)+110928|0];h[b|0]=k[(u+B>>6)+110928|0];E=v;v=p(z,k[t+1|0]-A|0);h[b+5|0]=k[(E+v>>6)+110928|0];h[b+4|0]=k[(v+y>>6)+110928|0];h[b+3|0]=k[(v+B>>6)+110928|0];r=r+1|0;q=q+1|0;t=t+2|0;o=o+2|0;b=b+6|0;n=n+6|0;x=x+2|0;if(D>>>0>x>>>0){continue}break}}if((x|0)==(D|0)){r=k[r|0];z=i[F>>1];x=k[C|0];o=p(z,k[o|0]-x|0)- -8192|0;q=k[q|0]-128|0;A=p(q,i[G>>1]);h[n+2|0]=k[(o+A>>6)+110928|0];r=r-128|0;q=p(r,i[H>>1])+p(q,i[I>>1])|0;h[n+1|0]=k[(q+o>>6)+110928|0];v=o;o=p(r,i[J>>1]);h[n|0]=k[(v+o>>6)+110928|0];n=p(z,k[t|0]-x|0)- -8192|0;h[b+2|0]=k[(n+A>>6)+110928|0];h[b+1|0]=k[(n+q>>6)+110928|0];h[b|0]=k[(n+o>>6)+110928|0]}w=w+2|0;if(s>>>0>w>>>0){continue}break}}b:{if((s|0)!=(w|0)){break b}n=p(l,s)+j|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);o=c+e|0;t=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];j=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){s=k[o|0];f=p(d,k[b|0]-e|0)- -8192|0;r=k[t|0]-128|0;q=p(r,g);h[n+2|0]=k[(f+q>>6)+110928|0];s=s-128|0;r=p(s,j)+p(l,r)|0;h[n+1|0]=k[(r+f>>6)+110928|0];s=p(s,w);h[n|0]=k[(s+f>>6)+110928|0];f=p(d,k[b+1|0]-e|0)- -8192|0;h[n+5|0]=k[(f+q>>6)+110928|0];h[n+4|0]=k[(f+r>>6)+110928|0];h[n+3|0]=k[(f+s>>6)+110928|0];o=o+1|0;t=t+1|0;b=b+2|0;n=n+6|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}c=k[o|0];a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;d=k[t|0]-128|0;h[n+2|0]=k[(b+p(d,i[a+110890>>1])>>6)+110928|0];c=c-128|0;h[n|0]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0];h[n+1|0]=k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]}}function Hm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;r=j[a>>2];c=vO(b,c,f+24|0,f+20|0);a:{if(c){break a}c=1;b:{if(!Zr(a,b,j[f+24>>2],j[f+20>>2],1347375956,1,f+16|0,f+12|0)){s=j[f+12>>2];v=j[f+16>>2];j[f+28>>2]=1;c:{if(d+1>>>0>1){break c}c=10;if((s|0)<1){break c}t=j[a>>2];d=0;while(1){c=Fe(b,j[(d<<2)+v>>2]);j[f+28>>2]=c;if(c){break c}m=sf(b,f+28|0);c=j[f+28>>2];if(c){break c}c=9;if((m|0)<0){break c}l=n;n=(m+l|0)+6|0;if(n>>>0>>0){break c}d=d+1|0;if((s|0)!=(d|0)){continue}break}c=10;q=n+2|0;if(q>>>0<6){break c}i=He(t,q,f+28|0);c=j[f+28>>2];if(c){break c}h[i+2|0]=0;h[i+3|0]=0;h[i+4|0]=0;h[i+5|0]=0;h[i|0]=128;h[i+1|0]=1;c=1;l=6;d:{e:{f:{g:{if((s|0)<1){o=2;break g}o=2;while(1){d=Fe(b,j[(u<<2)+v>>2]);j[f+28>>2]=d;if(d){break e}d=sf(b,f+28|0);if(j[f+28>>2]|(d|0)<0){break e}m=qf(b,f+28|0);if(j[f+28>>2]){break e}j[f+28>>2]=10;m=m>>>8|0;if(m){p=d-2|0;p=d>>>0

>>0?0:p;h:{if((c|0)==(m|0)){d=l;l=g+p|0;break h}d=o+3|0;if(d>>>0>q>>>0){break f}c=i+o|0;h[c|0]=g;h[c+2|0]=g>>>16;h[c+1|0]=g>>>8;h[d+i|0]=g>>>24;if((m|0)==5){break g}d=l+6|0;if(q>>>0>>0){break f}g=i+l|0;h[g|0]=128;o=l+2|0;c=i+o|0;h[c|0]=0;h[c+1|0]=0;h[c+2|0]=0;h[c+3|0]=0;h[g+1|0]=m;c=m;l=p}g=l;if(d>>>0>n>>>0){break f}l=d+p|0;if(n>>>0>>0){break f}d=uf(b,d+i|0,p);j[f+28>>2]=d;if(d){break e}}u=u+1|0;if((u|0)!=(s|0)){continue}break}}j[f+28>>2]=10;c=l+2|0;if(c>>>0>q>>>0){break e}b=i+l|0;h[b|0]=128;h[b+1|0]=3;d=o+3|0;if(d>>>0>q>>>0){break f}b=i+o|0;h[b|0]=g;h[b+2|0]=g>>>16;h[b+1|0]=g>>>8;h[d+i|0]=g>>>24;c=Gm(a,i,c,0,116437,e);break c}if(!j[f+28>>2]){break d}}j[f+28>>2]=1}if(i){qe[j[t+8>>2]](t,i)}c=j[f+28>>2]}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=1;break b}c=Zr(a,b,j[f+24>>2],j[f+20>>2],1936092788,0,f+16|0,f+12|0);if(c){break a}c=1;g=j[f+12>>2];d=(d|0)%(g|0)|0;d=(d|0)==-1?0:d;i:{if((d|0)>=(g|0)){break i}l=j[a>>2];n=j[j[f+16>>2]+(d<<2)>>2];c=Fe(b,n);j[f+28>>2]=c;if(c){break i}g=sf(b,f+28|0);c=j[f+28>>2];if(c){break i}c=1;if((g|0)==-1){break i}c=hs(a,b,d,e);j[f+28>>2]=c;if(!c){c=0;break i}if(Fe(b,n+4|0)){c=j[f+28>>2];break i}d=He(l,g,f+28|0);c=j[f+28>>2];if(c){break i}c=uf(b,d,g);j[f+28>>2]=c;if(c){break i}c=Gm(a,d,g,0,(g|0)>=5?(k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24))==1330926671?116479:116443:116443,e)}a=j[f+16>>2];if(a){qe[j[r+8>>2]](r,a)}if(c){break a}j[j[e>>2]>>2]=j[f+12>>2]}c=0}oe=f+32|0;return c}function st(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<16|k[(A+u>>6)+110928|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<16|k[(y+A>>6)+110928|0]<<8|k[(y+u>>6)+110928|0]|-16777216;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(s+b>>6)+110928|0]<<8|k[(o+b>>6)+110928|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+s>>6)+110928|0]<<8|k[(b+o>>6)+110928|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(q+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+q>>6)+110928|0]|-16777216;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<16|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]|-16777216}}function Ft(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<16|k[(A+u>>6)+110928|0]<<8;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]|-16777216;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<16|k[(v+A>>6)+110928|0]<<8|k[(v+u>>6)+110928|0]|-16777216;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<16|k[(y+A>>6)+110928|0]<<8|k[(y+u>>6)+110928|0]|-16777216;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(s+b>>6)+110928|0]<<8|k[(o+b>>6)+110928|0]|-16777216;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+s>>6)+110928|0]<<8|k[(b+o>>6)+110928|0]|-16777216}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(q+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+q>>6)+110928|0]|-16777216;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<16|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]|-16777216}}function rt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<16|k[(A+y>>6)+110928|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<16|k[(x+A>>6)+110928|0]<<8|k[(x+y>>6)+110928|0]|-16777216;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|k[(r+b>>6)+110928|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|k[(b+r>>6)+110928|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(o+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+o>>6)+110928|0]|-16777216;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<16;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]|-16777216}}function Et(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<16|k[(A+y>>6)+110928|0]<<8;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]|-16777216;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<16|k[(u+A>>6)+110928|0]<<8|k[(u+y>>6)+110928|0]|-16777216;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<16|k[(x+A>>6)+110928|0]<<8|k[(x+y>>6)+110928|0]|-16777216;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|k[(r+b>>6)+110928|0]|-16777216;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|k[(b+r>>6)+110928|0]|-16777216}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<16|k[(s+f>>6)+110928|0]<<8|k[(o+f>>6)+110928|0]|-16777216;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<16|k[(f+s>>6)+110928|0]<<8|k[(f+o>>6)+110928|0]|-16777216;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<16;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<8|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]|-16777216}}function ut(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<24|k[(A+u>>6)+110928|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<24|k[(y+A>>6)+110928|0]<<16|k[(y+u>>6)+110928|0]<<8|255;o=o+2|0;s=s+2|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(s+b>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+s>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(q+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+q>>6)+110928|0]<<8|255;t=t+2|0;r=r+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<24|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]<<8|255}}function Ht(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;q=b-1|0;if(q){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,w)+h|0;b=p(f,w)+c|0;r=w|1;t=p(r,l)+h|0;s=p(w>>>1|0,g);o=s+e|0;s=d+s|0;r=p(f,r)+c|0;a:{if(!E){x=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];x=0;while(1){A=k[o|0]-128|0;y=p(A,N)- -8192|0;u=p(z,k[b|0]-D|0);v=k[s|0]-128|0;A=(p(A,L)+p(v,M)|0)- -8192|0;O=k[(y+u>>6)+110928|0]<<24|k[(A+u>>6)+110928|0]<<16;B=u;u=p(v,K)- -8192|0;j[n>>2]=O|k[(B+u>>6)+110928|0]<<8|255;v=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;v=p(z,k[r|0]-D|0);j[t>>2]=k[(v+y>>6)+110928|0]<<24|k[(v+A>>6)+110928|0]<<16|k[(v+u>>6)+110928|0]<<8|255;B=y;y=p(z,k[r+1|0]-D|0);j[t+4>>2]=k[(B+y>>6)+110928|0]<<24|k[(y+A>>6)+110928|0]<<16|k[(y+u>>6)+110928|0]<<8|255;o=o+1|0;s=s+1|0;r=r+2|0;b=b+2|0;t=t+8|0;n=n+8|0;x=x+2|0;if(E>>>0>x>>>0){continue}break}}if((x|0)==(E|0)){B=n;x=i[F>>1];n=k[C|0];b=p(x,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[J>>1]);u=p(o,i[H>>1]);o=k[s|0]-128|0;s=u+p(o,i[I>>1])|0;o=p(o,i[G>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(s+b>>6)+110928|0]<<16|k[(o+b>>6)+110928|0]<<8|255;b=p(x,k[r|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+s>>6)+110928|0]<<16|k[(b+o>>6)+110928|0]<<8|255}w=w+2|0;if(q>>>0>w>>>0){continue}break}}b:{if((q|0)!=(w|0)){break b}n=p(l,q)+h|0;b=p(f,q)+c|0;c=p(q>>>1|0,g);t=c+e|0;r=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];w=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;q=k[t|0]-128|0;o=p(q,w);B=p(h,q);q=k[r|0]-128|0;s=B+p(q,l)|0;q=p(g,q);j[n>>2]=k[(f+o>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(q+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+o>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+q>>6)+110928|0]<<8|255;t=t+1|0;r=r+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[t|0]-128|0;d=k[r|0]-128|0;j[n>>2]=k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<24|k[((b+p(d,i[a+110886>>1])|0)+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(d,i[a+110890>>1])>>6)+110928|0]<<8|255}}function tt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<24|k[(A+y>>6)+110928|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<24|k[(x+A>>6)+110928|0]<<16|k[(x+y>>6)+110928|0]<<8|255;r=r+2|0;o=o+2|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(o+b>>6)+110928|0]<<16|k[(r+b>>6)+110928|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+o>>6)+110928|0]<<16|k[(b+r>>6)+110928|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(o+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+o>>6)+110928|0]<<8|255;t=t+2|0;q=q+2|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<24;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<8|255}}function Gt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0,J=0,K=0,L=0,M=0,N=0,O=0;n=p(m,12);C=n+110880|0;s=b-1|0;if(s){E=a-1|0;F=n+110882|0;G=n+110890|0;H=n+110888|0;I=n+110886|0;J=n+110884|0;while(1){n=p(l,v)+h|0;b=p(f,v)+c|0;q=v|1;t=p(q,l)+h|0;o=p(v>>>1|0,g);r=o+e|0;o=d+o|0;q=p(f,q)+c|0;a:{if(!E){w=0;break a}z=i[F>>1];D=k[C|0];K=i[G>>1];L=i[H>>1];M=i[I>>1];N=i[J>>1];w=0;while(1){A=k[o|0]-128|0;x=p(A,K)- -8192|0;y=p(z,k[b|0]-D|0);u=k[r|0]-128|0;A=(p(u,L)+p(A,M)|0)- -8192|0;O=k[(x+y>>6)+110928|0]<<24|k[(A+y>>6)+110928|0]<<16;B=y;y=p(u,N)- -8192|0;j[n>>2]=O|k[(B+y>>6)+110928|0]<<8|255;u=p(z,k[b+1|0]-D|0);j[n+4>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;u=p(z,k[q|0]-D|0);j[t>>2]=k[(u+x>>6)+110928|0]<<24|k[(u+A>>6)+110928|0]<<16|k[(u+y>>6)+110928|0]<<8|255;B=x;x=p(z,k[q+1|0]-D|0);j[t+4>>2]=k[(B+x>>6)+110928|0]<<24|k[(x+A>>6)+110928|0]<<16|k[(x+y>>6)+110928|0]<<8|255;r=r+1|0;o=o+1|0;q=q+2|0;b=b+2|0;t=t+8|0;n=n+8|0;w=w+2|0;if(E>>>0>w>>>0){continue}break}}if((w|0)==(E|0)){B=n;w=i[F>>1];n=k[C|0];b=p(w,k[b|0]-n|0)- -8192|0;o=k[o|0]-128|0;z=p(o,i[G>>1]);r=k[r|0]-128|0;o=p(r,i[H>>1])+p(o,i[I>>1])|0;r=p(r,i[J>>1]);j[B>>2]=k[(b+z>>6)+110928|0]<<24|k[(o+b>>6)+110928|0]<<16|k[(r+b>>6)+110928|0]<<8|255;b=p(w,k[q|0]-n|0)- -8192|0;j[t>>2]=k[(b+z>>6)+110928|0]<<24|k[(b+o>>6)+110928|0]<<16|k[(b+r>>6)+110928|0]<<8|255}v=v+2|0;if(s>>>0>v>>>0){continue}break}}b:{if((s|0)!=(v|0)){break b}n=p(l,s)+h|0;b=p(f,s)+c|0;c=p(s>>>1|0,g);t=c+e|0;q=c+d|0;c=a-1|0;c:{if(!c){a=0;break c}a=p(m,12);d=i[a+110882>>1];g=i[a+110890>>1];h=i[a+110888>>1];l=i[a+110886>>1];v=i[a+110884>>1];e=k[C|0];a=0;while(1){f=p(d,k[b|0]-e|0)- -8192|0;s=k[q|0]-128|0;r=p(s,g);o=k[t|0]-128|0;s=p(o,h)+p(l,s)|0;o=p(o,v);j[n>>2]=k[(f+r>>6)+110928|0]<<24|k[(s+f>>6)+110928|0]<<16|k[(o+f>>6)+110928|0]<<8|255;f=p(d,k[b+1|0]-e|0)- -8192|0;j[n+4>>2]=k[(f+r>>6)+110928|0]<<24|k[(f+s>>6)+110928|0]<<16|k[(f+o>>6)+110928|0]<<8|255;t=t+1|0;q=q+1|0;b=b+2|0;n=n+8|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}}if((a|0)!=(c|0)){break b}a=p(m,12);b=p(i[a+110882>>1],k[b|0]-k[C|0]|0)- -8192|0;c=k[q|0]-128|0;e=k[(b+p(c,i[a+110890>>1])>>6)+110928|0]<<24;d=b+p(c,i[a+110886>>1])|0;c=k[t|0]-128|0;j[n>>2]=e|k[(d+p(c,i[a+110888>>1])>>6)+110928|0]<<16|k[(b+p(c,i[a+110884>>1])>>6)+110928|0]<<8|255}}function gD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-32|0;oe=g;j[g+28>>2]=b;a:{if(!j[65572]){ve(63202,0);break a}if(!b){ve(63357,0);break a}b:{if((sD(a,b,g+24|0,g+20|0)|0)>=0){e=j[g+24>>2];if(e){break b}}ve(63379,0);break a}e=ug(0,e,j[g+20>>2],32,16711680,65280,255,-16777216);if(!e){break a}i=j[e+16>>2]/4|0;d=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:d;o=j[e+12>>2];n=j[e+20>>2];b=Le(b);j[g+16>>2]=b;q=k[c+2|0]|(k[c+1|0]<<8|k[c|0]<<16);Dh(e,0,q);if(b){i=n+(p(i,o)<<2)|0;o=d^1;d=0;c=1;while(1){b=$o(g+28|0,g+16|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(ep(a,b,18)){d=0;ve(63337,0);kf(e);break a}l=j[a+52>>2];b=j[l+36>>2];j[g+24>>2]=b;c:{if(j[a+28>>2]>0){break c}f=b;b=j[l+60>>2]-j[l+56>>2]|0;if((f|0)<=(b|0)){break c}j[g+24>>2]=b}d:{if(o|!d){break d}b=j[l+4>>2];if(!b){break d}cs(j[a>>2],d,b,g+8|0);m=(j[g+8>>2]>>6)+m|0}if(c){b=j[l+56>>2];m=m-(b>>31&b)|0}c=j[l+32>>2];if(c){f=0;while(1){b=j[l+72>>2]+f|0;e:{if((b|0)<0|(b|0)>=j[e+12>>2]){break e}b=((j[e+20>>2]+(m<<2)|0)+((p(b,j[e+16>>2])|0)/4<<2)|0)+(j[l+56>>2]<<2)|0;if(i>>>0<=b>>>0){break e}d=j[g+24>>2];if((d|0)<1){break e}c=j[l+44>>2]+p(j[l+40>>2],f)|0;while(1){f:{j[b>>2]=j[b>>2]|q|k[c|0]<<24;b=b+4|0;if(i>>>0<=b>>>0){break f}c=c+1|0;n=(d|0)>1;d=d-1|0;if(n){continue}}break}c=j[l+32>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}m=j[l+76>>2]+m|0;m=!(h[a+24|0]&1)|h[a+20|0]&1?m:j[a+36>>2]+m|0;d=j[l+4>>2];c=0}if(j[g+16>>2]){continue}break}}b=j[a+24>>2];g:{if(!(b&4)){break g}d=j[e+20>>2];f=j[e+16>>2];o=d+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;c=j[a+8>>2]+(j[a+44>>2]^-1)|0;d=(c|0)>0?d+p(c,f)|0:d;if(o>>>0<=d>>>0){break g}c=j[a+28>>2];i=j[a+48>>2]+((c|0)>0?c<<1:0)|0;if((i|0)<1){break g}n=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=n;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}b=(f|0)/4|0;if((i|0)>=2){i=i-1|0;d=(b<<2)+d|0;if(o>>>0>d>>>0){continue}}break}b=j[a+24>>2]}h:{if(!(b&8)){break h}c=j[e+20>>2];f=j[e+16>>2];n=c+(p(j[e+12>>2],(f|0)/4|0)<<2)|0;b=j[a+4>>2];d=(b|0)>1?c+p((b|0)/2|0,f)|0:c;if(n>>>0<=d>>>0){break h}b=j[a+48>>2];a=j[a+28>>2];i=b+((a|0)>0?a<<1:0)|0;if((i|0)<1){break h}a=q|-16777216;c=j[e+8>>2];while(1){b=0;if((c|0)>=1){while(1){j[(b<<2)+d>>2]=a;b=b+1|0;c=j[e+8>>2];if((b|0)<(c|0)){continue}break}f=j[e+16>>2]}if((i|0)<2){break h}i=i-1|0;d=((f|0)/4<<2)+d|0;if(n>>>0>d>>>0){continue}break}}d=e}oe=g+32|0;return d}function Ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;m=j[a+36>>2];c=j[a+20>>2];n=j[a+16>>2];b=j[a>>2];i=j[a+28>>2];f=j[a+24>>2];e=k[j[a+40>>2]+9|0];a:{g=j[a+44>>2];if(!j[g+24>>2]){if(!i){break a}d=k[g+9|0];o=f&7;g=(f+7|0)/8|0;b:while(1){f=g;c:{d:{switch(o-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=1;continue;case 1:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=2;continue;case 2:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=3;continue;case 3:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=4;continue;case 4:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=5;continue;case 5:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=6;continue;case 6:a=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=a;h[c+1|0]=a>>>8;b=b+e|0;c=c+d|0;a=7;continue;default:break e}}a=i-1|0;l=k[b|0]|k[b+1|0]<<8;h[c+2|0]=k[b+2|0];h[c|0]=l;h[c+1|0]=l>>>8;b=b+e|0;c=c+d|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+m|0;b=b+n|0;i=a;if(a){continue b}break a}a=0;continue}}}if(!i){break a}d=k[a+63|0]<>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=1;continue;case 1:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=2;continue;case 2:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=3;continue;case 3:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=4;continue;case 4:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=5;continue;case 5:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=6;continue;case 6:j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;a=7;continue;default:break j}}a=i-1|0;j[c>>2]=d|k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;b=b+e|0;c=c+4|0;k:{if((f|0)>1){f=f-1|0;break k}c=c+m|0;b=b+n|0;i=a;if(a){continue g}break a}a=0;continue}}}}function Ws(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;f=6;a:{if(!a){break a}i=j[a+12>>2];g=j[a>>2];e=g;b:{if(!e){break b}e=g;if((i|0)==65536){break b}b=(g|0)<0?-1:1;e=(i|0)<0?0-b|0:b;c=g>>31;c=c+g^c;b=i>>31;b=b+i^b;c:{if(c+(b>>>8|0)>>>0<=8190){b=p(b,c)+32768>>>16|0;break c}d=c&65535;b=p(d,b>>>16|0)+p(b,c>>>16|0)+(p(d,b&65535)+32768>>>16)|0}e=(e|0)<0?0-b|0:b}h=j[a+8>>2];c=j[a+4>>2];b=c;d:{if(!c){break d}b=c;if((h|0)==65536){break d}b=(c|0)<0?-1:1;k=(h|0)<0?0-b|0:b;d=c>>31;d=d+c^d;b=h>>31;b=b+h^b;e:{if(d+(b>>>8|0)>>>0<=8190){b=p(b,d)+32768>>>16|0;break e}l=d&65535;b=p(l,b>>>16|0)+p(b,d>>>16|0)+(p(l,b&65535)+32768>>>16)|0}b=(k|0)<0?0-b|0:b}k=e-b|0;if(!k){break a}n=(c|0)<0?-1:1;b=c>>31;e=b+c^b;b=k>>31;c=b+k^b;l=c>>>17^65535;f:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break f}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break f}m=s(d);e=32-m|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=m-(c>>>0>m>>>0?0:c)|0;b=b<<1|c>>>0<=m>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+4>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;n=(h|0)<0?-1:1;b=h>>31;e=b+h^b;g:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break g}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break g}h=s(d);e=32-h|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=h-(c>>>0>h>>>0?0:c)|0;b=b<<1|c>>>0<=h>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a+8>>2]=(((k|0)<0?0-n|0:n)|0)<0?b:0-b|0;h=(i|0)<0?-1:1;b=i>>31;e=b+i^b;h:{if(e>>>0<=l>>>0){b=((e<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break h}b=2147483647;d=c>>>1|0;f=d+(e<<16)|0;d=(e>>>16|0)+(d>>>0>f>>>0)|0;if(d>>>0>=c>>>0){break h}i=s(d);e=32-i|0;d=f>>>e|d<>>0)/(c>>>0)|0;d=d-p(b,c)|0;f=f<>>31;d=i-(c>>>0>i>>>0?0:c)|0;b=b<<1|c>>>0<=i>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}j[a>>2]=(((k|0)<0?0-h|0:h)|0)<0?0-b|0:b;i=(g|0)<0?-1:1;b=g>>31;g=b+g^b;i:{if(g>>>0<=l>>>0){b=((g<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break i}b=2147483647;e=c>>>1|0;f=e+(g<<16)|0;g=(g>>>16|0)+(f>>>0>>0)|0;if(g>>>0>=c>>>0){break i}h=s(g);e=32-h|0;g=f>>>e|g<>>0)/(c>>>0)|0;d=g-p(b,c)|0;f=f<>>31;d=g-(c>>>0>g>>>0?0:c)|0;b=b<<1|c>>>0<=g>>>0;f=f<<1;e=e-1|0;if(e){continue}break}}f=0;j[a+12>>2]=(((k|0)<0?0-i|0:i)|0)<0?0-b|0:b}return f}function Sz(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;var h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;q=oe-16|0;oe=q;a:{if((c|0)==(e|0)){a=j[a+20>>2]+(p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)<<2)|0;b:{if((b|0)<=(d|0)){c=d-b|0;e=(g|0)!=0;a=a+(b<<2)|0;break b}e=(g|0)!=0;c=b-d|0;a=a+(d<<2)|0;a=g?a:a+4|0}b=c+e|0;if(!b){break a}while(1){j[a>>2]=f;a=a+4|0;b=b-1|0;if(b){continue}break}break a}if((b|0)==(d|0)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(d<<2)|0;d=(g|0)!=0;b=e-c|0;break c}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;a=g?a:a+(h<<2)|0;d=(g|0)!=0;b=c-e|0}b=b+d|0;if(!b){break a}c=h<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}m=b-d|0;h=m>>31;l=c-e|0;i=l>>31;if((h^h+m)==(i^i+l)){h=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];d:{if((c|0)<=(e|0)){a=(a+(p(c,h)<<2)|0)+(b<<2)|0;l=e-c|0;c=h+((b|0)>(d|0)?-1:1)|0;break d}a=(a+(p(e,h)<<2)|0)+(d<<2)|0;c=h+((b|0)<(d|0)?-1:1)|0;a=g?a:a+(c<<2)|0}b=((g|0)!=0)+l|0;if(!b){break a}c=c<<2;while(1){j[a>>2]=f;a=a+c|0;b=b-1|0;if(b){continue}break}break a}l=j[a+4>>2];Bn(f,l,q+15|0,q+14|0,q+13|0,q+12|0);if(j[l+12>>2]==16711680){i=e-c|0;h=i>>31;i=h^h+i;m=d-b|0;h=m>>31;h=h^h+m;if(!j[l+24>>2]){e:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break e}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}f:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break f}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}l=d-b|0;h=l>>31;m=e-c|0;i=m>>31;h=h^h+l;i=i^i+m;g:{if((h|0)>=(i|0)){m=i-h|0;n=i<<1;l=n-h|0;i=1;break g}m=h-i|0;o=1;n=h<<1;l=n-i|0;h=i;i=0}g=((g|0)!=0)+h|0;if(!g){break a}e=(c|0)>(e|0);h=e?0-o|0:o;d=(b|0)>(d|0);i=d?0-i|0:i;o=e?-1:1;r=d?-1:1;m=m<<1;s=j[a+20>>2];d=0;while(1){j[(s+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f;e=(l|0)<0;l=(e?n:m)+l|0;b=(e?i:r)+b|0;c=(e?h:o)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}oe=q+16|0}function kI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=oe-16|0;oe=s;g=j[a+12>>2];p=j[a+204>>2];b=j[a+200>>2];q=i[a+32>>1];a:{if(q){if(m[g+8>>2]>1]+(i[g+20>>1]+q|0)>>>0){d=yf(g,0,q);if(d){break a}}d=20;if((q|0)>4094){break a}}d=20;e=q<<1;if((e+b|0)+2>>>0>p>>>0){break a}c=j[g+68>>2];f=k[b|0];n=k[b+1|0]|f<<8;if((q|0)>=1){i[c>>1]=n}if(f<<24>>16<0){break a}f=c+e|0;while(1){e=c+2|0;if(e>>>0>>0){c=k[b+2|0]|k[b+3|0]<<8;o=c<<24|c<<8&16711680;i[e>>1]=o>>>16;l=n<<16;c=e;e=o>>16;n=e;b=b+2|0;if((e|0)>l>>16){continue}break a}break}f=j[g+4>>2];e=i[g+58>>1];if((q|0)<1){n=0}else{c=i[c>>1];if((c|0)<-1){break a}n=c+1|0}c=n+4|0;if(f>>>0>1]|0)>>>0){d=yf(g,c,0);if(d){break a}}c=j[a+8>>2];j[c+136>>2]=0;j[c+140>>2]=0;e=b+4|0;if(e>>>0>p>>>0){d=20;break a}d=22;b=k[b+3|0]|k[b+2|0]<<8;if((b|0)>(p-e|0)){break a}if(!(k[a+16|0]&2)){c=j[a+160>>2];d=j[c+388>>2];b:{if(d>>>0>=b>>>0){j[c+388>>2]=d&65535;break b}t=c,u=xe(j[c+8>>2],1,d,b,j[c+392>>2],s+12|0),j[t+392>>2]=u;c=j[a+160>>2];f=d;d=j[s+12>>2];j[c+388>>2]=(d?f:b)&65535;if(d){break a}}d=j[a+8>>2];j[d+140>>2]=b;c=j[c+392>>2];j[d+136>>2]=c;Ae(c,e,b)}b=b+e|0;c:{d:{if((n|0)>=1){d=j[g- -64>>2];f=n+d|0;while(1){c=b+1|0;if(c>>>0>p>>>0){d=20;break a}r=k[b|0];h[d|0]=r;e=d+1|0;o=f;e:{if(!(r&8)){b=c;c=e;break e}b=b+2|0;if(p>>>0>>0){d=20;break a}l=k[c|0];if(f>>>0>>0){d=20;break a}c=e;if(!l){break e}Ee(e,r,l);c=((l-1&255)+d|0)+2|0}d=c;if(o>>>0>d>>>0){continue}break}if(b>>>0<=p>>>0){break d}d=20;break a}d=20;if(b>>>0<=p>>>0){break c}break a}if((n|0)<1){break c}c=j[g+60>>2];r=c+(n<<3)|0;d=j[g+64>>2];o=0;while(1){l=k[d|0];f:{if(l&2){e=b+1|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0];f=l&16?b:0-b|0;b=e;break f}f=0;if(l&16){break f}e=b+2|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}o=f+o|0;j[c>>2]=o;h[d|0]=l&237;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}if((n|0)<1){break c}c=j[g+60>>2];r=c+(n<<3)|0;d=j[g+64>>2];o=0;while(1){l=k[d|0];g:{if(l&4){e=b+1|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0];f=l&32?b:0-b|0;b=e;break g}f=0;if(l&32){break g}e=b+2|0;if(e>>>0>p>>>0){d=20;break a}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=e}o=f+o|0;j[c+4>>2]=o;h[d|0]=l&1;d=d+1|0;c=c+8|0;if(r>>>0>c>>>0){continue}break}}i[g+56>>1]=q;i[g+58>>1]=n;j[a+200>>2]=b;d=0}oe=s+16|0;return d|0}function fj(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=j[b+136>>2];a:{if(!f|!(j[b+232>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(j[b+128>>2]>=1){Ke(a,j[f+4>>2]);if(j[b+128>>2]>1){while(1){Ke(a,j[(j[b+136>>2]+p(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+136>>2]}Ke(g,f);j[b+128>>2]=0;j[b+136>>2]=0;break a}e=p(d,28);Ke(a,j[(e+f|0)+4>>2]);j[(e+j[b+136>>2]|0)+4>>2]=0}e=j[b+232>>2];if(e&c&8192){j[b+8>>2]=j[b+8>>2]&-17;Ke(a,j[b+156>>2]);i[b+22>>1]=0;j[b+156>>2]=0;e=j[b+232>>2]}if(c&e&256){Ke(a,j[b+256>>2]);Ke(a,j[b+260>>2]);j[b+256>>2]=0;j[b+260>>2]=0;j[b+8>>2]=j[b+8>>2]&-16385;e=j[b+232>>2]}if(c&e&128){Ke(a,j[b+208>>2]);Ke(a,j[b+220>>2]);j[b+220>>2]=0;j[b+208>>2]=0;e=j[b+224>>2];if(e){f=a;if(k[b+229|0]){Ke(a,j[e>>2]);if(k[b+229|0]>=2){e=1;while(1){Ke(a,j[j[b+224>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Ke(f,e);j[b+224>>2]=0}j[b+8>>2]=j[b+8>>2]&-1025;e=j[b+232>>2]}if(c&e&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=j[b+8>>2]&-4097}f=j[b+244>>2];b:{if(!f|!(j[b+232>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(j[b+248>>2]>=1){Ke(a,j[f>>2]);Ke(a,j[j[b+244>>2]+8>>2]);if(j[b+248>>2]>1){while(1){f=e<<4;Ke(a,j[f+j[b+244>>2]>>2]);Ke(a,j[(f+j[b+244>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+244>>2]}Ke(g,f);j[b+244>>2]=0;j[b+248>>2]=0;j[b+8>>2]=j[b+8>>2]&-8193;break b}e=d<<4;Ke(a,j[e+f>>2]);Ke(a,j[(e+j[b+244>>2]|0)+8>>2]);e=e+j[b+244>>2]|0;j[e+8>>2]=0;j[e>>2]=0}f=j[b+236>>2];c:{if(!f|!(j[b+232>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(j[b+240>>2]>=1){Ke(a,j[f+8>>2]);if(j[b+240>>2]>1){while(1){Ke(a,j[(j[b+236>>2]+p(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=j[b+236>>2]}Ke(g,f);j[b+236>>2]=0;j[b+240>>2]=0;break c}e=p(d,20);Ke(a,j[(e+f|0)+8>>2]);j[(e+j[b+236>>2]|0)+8>>2]=0}e=j[b+232>>2];if(e&c&8){Ke(a,j[b+204>>2]);j[b+204>>2]=0;j[b+8>>2]=j[b+8>>2]&-65;e=j[b+232>>2]}if(c&e&4096){Ke(a,j[b+16>>2]);j[b+16>>2]=0;i[b+20>>1]=0;j[b+8>>2]=j[b+8>>2]&-9;e=j[b+232>>2]}if(c&e&64){f=j[b+264>>2];if(f){g=a;if(j[b+4>>2]){Ke(a,j[f>>2]);if(m[b+4>>2]>=2){e=1;while(1){Ke(a,j[j[b+264>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=j[b+264>>2]}Ke(g,f);j[b+264>>2]=0;e=j[b+232>>2]}j[b+8>>2]=j[b+8>>2]&-32769}j[b+232>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function Tm(a,b,c,d){var e=0,f=0,g=0,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,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=oe-272|0;oe=x;t=j[b+4>>2];e=j[b+8>>2];j[a+52>>2]=-2147483648;j[a+56>>2]=0;j[a+48>>2]=e;j[a+44>>2]=t;A=j[b+52>>2];h=j[b+28>>2];f=j[b+24>>2];y=j[b+44>>2];j[c>>2]=t;j[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}n=i[h+12>>1];r=n;while(1){k=i[(h+p(g,40)|0)+12>>1];r=(k|0)>(r|0)?k:r;n=(k|0)<(n|0)?k:n;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((n|0)>=(r|0)){break a}C=a,D=ye(n,t)+e|0,j[C>>2]=D;h=ye(r,t)+e|0;j[a+4>>2]=h;e=h&-32;j[a+24>>2]=e;m=j[a>>2];l=m&-32;j[a+16>>2]=l;j[a+8>>2]=m&-64;u=e+32|0;j[a+28>>2]=u;k=l+32|0;j[a+20>>2]=k;j[a+12>>2]=h+63&-64;if((h|0)<(k|0)){j[a+20>>2]=h;k=h}if((e|0)<(m|0)){j[a+24>>2]=m;e=m}g=h-m|0;j[a+32>>2]=g;f=a;if((g|0)>=65){k=e-k|0}else{j[a+24>>2]=h;j[a+20>>2]=m;k=g}j[f+36>>2]=k;e=u-l|0;j[a+40>>2]=e;l=(g|0)<129?(g|0)<97?4:8:16;f=g-l|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=g+l|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}f=(p(g,3)|0)/4|0;if((f|0)>(k|0)){j[a+36>>2]=f;k=f}f=(p(g,5)|0)/4|0;if((f|0)<(e|0)){j[a+40>>2]=f;e=f}b:{if((e|0)<(k|0)){break b}B=r-n|0;while(1){f=(g-k|0)+m|0;c:{d:{if((g|0)<=(k|0)){e=j[a+16>>2];if((f|0)>=(e|0)){break d}f=(h-f|0)+e|0;break c}e=j[a+20>>2];if((f|0)<=(e|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}u=De(k-g|0,B)+t|0;v=ye(n,u);z=Ee(x,0,260);o=j[a+24>>2];g=f;l=f-e|0;f=j[a+16>>2];q=(o|0)>(f+l|0)?o-l|0:f;o=j[a+8>>2];f=q-o|0;e:{if((f|0)<0){break e}w=q;q=j[a+28>>2];s=j[a+20>>2];l=(q|0)<(l+s|0)?q-l|0:s;if((w|0)>(l|0)){break e}l=l-o|0;if((l|0)>64){break e}q=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(m|0)?m-e|0:e-m|0)|0;m=e-v|0;o=e-o|0;if((y|0)>=1){v=(m-o|0)+f|0;h=0;while(1){e=p(h,48)+A|0;s=i[e+6>>1]-i[e+4>>1]|0;g=ye(i[e+2>>1],u)+v|0;e=f;while(1){w=(e<<2)+z|0;j[w>>2]=j[w>>2]+p(s,j[((g&63)<<2)+116064>>2]);g=g+1|0;w=(e|0)<(l|0);e=e+1|0;if(w){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}q=p(q,10);h=j[a+52>>2];while(1){g=f;s=f-o|0;v=s+q|0;e=j[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(v|0)>=j[a+56>>2]?(e|0)<=(h|0):0)){j[a+56>>2]=v;j[a+52>>2]=e;j[a+44>>2]=u;j[a+48>>2]=m+s;h=e}f=g+1|0;if((g|0)<(l|0)){continue}break}}if(j[a+40>>2]<=(k|0)){break b}k=k+1|0;g=j[a+32>>2];h=j[a+4>>2];m=j[a>>2];continue}}e=j[a+48>>2];a=j[a+44>>2];k=a-t|0;C=b,D=ye(n,k)+e|0,j[C+2992>>2]=D;C=b,D=ye(r,k)+e|0,j[C+2996>>2]=D;j[c>>2]=a;j[d>>2]=e}oe=x+272|0}function Cj(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-1040|0;oe=n;g=j[a+52>>2];if(k[a|0]&2){ei(a,1)}if(g){d=j[g>>2];a:{if(!d){break a}c=j[d+56>>2];j[d+56>>2]=c-1;if((c|0)>1){break a}kf(d)}j[g>>2]=0;j[g+80>>2]=0;j[g+84>>2]=0;d=g- -64|0;c=j[d>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[d>>2]=0}j[g+4>>2]=0;d=g+4|0;c=j[b+4>>2];b:{c:{d:{e:{f:{q=j[a+4>>2];e=j[q>>2];g:{if(!(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2)){h:{f=j[c>>2];if((f&-268435456)!=268435456?f:0){break h}e=-1;if((f>>>24&15)-1>>>0>2){break h}f=An(j[q+4>>2],j[c+4>>2],d);j[g- -64>>2]=f;if(j[g+4>>2]?0:!f){break b}if(k[q+8|0]==k[c+8|0]){break e}j[d>>2]=0;break e}d=j[a+52>>2];t=k[d+79|0];u=k[d+78|0];v=k[d+77|0];w=k[d+76|0];d=k[c+9|0];f=(d|0)==3?4:d;s=j[q+4>>2];d=p(f,j[s>>2]);d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}i:{if(d){e=0;if(j[s>>2]>0){break i}j[g- -64>>2]=d;break e}Be(0);j[g- -64>>2]=0;e=-1;break b}while(1){m=j[s+4>>2]+(e<<2)|0;o=(p(k[m+3|0],t)>>>0)/255|0;l=(p(k[m+2|0],u)>>>0)/255|0;r=(p(k[m+1|0],v)>>>0)/255|0;m=(p(k[m|0],w)>>>0)/255|0;j:{k:{switch(k[c+9|0]-1|0){case 0:h[d+p(e,f)|0]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>1]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>>3|0)|0]=m;h[o+(k[c+33|0]>>>3|0)|0]=r;h[o+(k[c+34|0]>>>3|0)|0]=l;break j;case 3:break k;default:break j}}j[d+p(e,f)>>2]=r>>>k[c+29|0]<>>k[c+28|0]<>>k[c+30|0]<>>k[c+31|0]<>2]){continue}break}j[g- -64>>2]=d;break g}e=j[c>>2];if(((e&-268435456)!=268435456?e:0)|(e>>>24&15)-1>>>0>2){break f}r=j[c+4>>2];j[n+1024>>2]=256;e=0;while(1){f=(e<<2)+n|0;h[f+3|0]=255;l=e&224;h[f|0]=l>>>6|l|l>>>3;l=e&3;l=l<<2|l;h[f+2|0]=l<<4|l;l=f;f=e<<3&224;h[l+1|0]=f>>>6|f|f>>>3;e=e+1|0;if((e|0)!=256){continue}break}j[n+1028>>2]=n;e=An(n+1024|0,r,d);j[g- -64>>2]=e;if(!e){e=-1;if(!j[g+4>>2]){break b}}j[d>>2]=0}j[g>>2]=b;if(b){break d}break c}if((c|0)!=(q|0)){break e}j[d>>2]=1}j[g>>2]=b}j[b+56>>2]=j[b+56>>2]+1}b=g;d=j[c+4>>2];if(d){f=j[d+8>>2]}else{f=0}j[b+80>>2]=f;b=j[q+4>>2];if(b){b=j[b+8>>2]}else{b=0}j[g+84>>2]=b;e=Bv(a)}oe=n+1040|0;return e}function Fh(a,b,c,d,e){var f=0,g=q(0),i=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,x=0;l=oe+ -64|0;oe=l;a:{b:{c:{if(!j[67044]|!a|(c|(b|0)==-1)){break c}if(!(h[268212]&1)){break c}zo(-1,-1,0,0,q(q(d|0)/q(j[a+24>>2])),q(q(e|0)/q(j[a+28>>2])));break b}x=(b|0)==-1;if((b|0)!=-1){break b}if(!j[67043]){break a}}d:{if(!j[67036]|x){break d}j[l>>2]=0;j[l+60>>2]=0;Wg(a,l,l+60|0);f=j[l>>2]/2|0;j[l>>2]=f;i=j[l+60>>2]/2|0;j[l+60>>2]=i;if(!((d|0)!=(f|0)|(e|0)!=(i|0))){j[67030]=e;j[67029]=d;break a}p=a?a:j[67024];if(!p){break d}o=j[67018];if(o){qe[o|0](p,f,i);break d}o=j[67023];if(!Gh(p,f,i,(o|0)!=-1)){break d}Fh(p,o,0,f,i)}e:{f:{g:{if(c){if(j[67035]){g=n[67038];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);h:{if(r(m)<2147483648){i=~~m;break h}i=-2147483648}n[67039]=s-q(i|0);g=n[67038];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);i:{if(r(m)<2147483648){f=~~m;break i}f=-2147483648}n[67040]=s-q(f|0);break f}g=n[67037];if(g==q(1)){break g}g=q(q(g*q(d|0))+n[67039]);n[67039]=g;s=n[67039];m=+g;m=g>=q(0)^1?w(m):v(m);j:{if(r(m)<2147483648){i=~~m;break j}i=-2147483648}n[67039]=s-q(i|0);g=n[67037];if(g==q(1)){f=e;break f}g=q(q(g*q(e|0))+n[67040]);n[67040]=g;s=n[67040];m=+g;m=g>=q(0)^1?w(m):v(m);k:{if(r(m)<2147483648){f=~~m;break k}f=-2147483648}n[67040]=s-q(f|0);break f}f=e-j[67030]|0;i=d-j[67029]|0;break e}f=e;i=d}e=j[67030]+f|0;d=j[67029]+i|0}if(!(f|i)){break a}if(!j[67034]){j[67034]=1;i=0;f=0}o=f;f=!j[67033]&x;p=f?0:o;o=f?0:i;i=j[67035];l:{if(!i){j[67025]=d;f=e;break l}j[67025]=o+j[67025];f=p+j[67026]|0}j[67026]=f;if(!(!a|k[a+49|0]&64)){j[l>>2]=0;j[l+60>>2]=0;Wg(j[67024],l,l+60|0);f=j[l+60>>2];i=f-1|0;t=j[67025];u=j[l>>2];a=(t|0)<(u|0);t=a?t:u-1|0;u=(t|0)<0;if(!(a?!u:0)){j[67025]=u?0:t}a=f;f=j[67026];a=(a|0)>(f|0);f=a?f:i;i=(f|0)<0;if(!(a?!i:0)){j[67026]=i?0:f}i=j[67035]}j[67027]=o+j[67027];j[67028]=p+j[67028];m:{if(i|!j[67051]){break m}a=j[67016];if(!a){break m}f=j[67050];if(!f){break m}qe[a|0](f)}if((We(1024,-1)|0)==1){j[l>>2]=1024;a=0;f=j[67024];if(f){a=j[f+4>>2]}j[67045]=x;j[l+12>>2]=b;j[l+8>>2]=a;j[l+32>>2]=p;j[l+28>>2]=o;j[l+16>>2]=j[67033];a=j[67026];j[l+20>>2]=j[67025];j[l+24>>2]=a;gf(l)}n:{if(c){j[67029]=j[67025];e=j[67026];break n}j[67029]=d}j[67030]=e}oe=l- -64|0}function AA(a,b){var c=0,d=0,e=q(0),f=0,g=q(0),i=q(0),l=0,m=q(0),o=q(0),p=0,s=0,t=0,u=0,v=0,w=0,x=q(0);c=oe-16|0;p=c;oe=c;t=c+ -64|0;oe=t;w=a+340|0;while(1){c=(d<<3)+b|0;o=n[c+4>>2];d=d+1|0;f=(d<<3)+b|0;g=n[f+4>>2];e=n[c>>2];m=n[f>>2];a:{if(e==m){c=(s<<4)+t|0;i=e;e=n[a+288>>2];n[c>>2]=i*e;i=n[a+292>>2];n[c+8>>2]=e;l=c;e=i;m=g>o?o:g;b:{if(q(r(m))>2]=e*q(f|0);e=g>2]=i*q((l-f|0)+1|0);s=s+1|0;break a}if(g==o){c=(s<<4)+t|0;l=c;i=n[a+288>>2];x=i;g=e>2]=x*q(f|0);g=n[a+292>>2];n[c+12>>2]=g;l=c;e=e>m?e:m;e:{if(q(r(e))>2]=i*q((u-f|0)+1|0);n[c+4>>2]=o*g;s=s+1|0;break a}i=e;e=n[a+288>>2];n[p>>2]=i*e;i=n[a+292>>2];n[p+8>>2]=m*e;n[p+12>>2]=g*i;n[p+4>>2]=o*i;f=-1;f:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break f}g:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break g}c=Xe(1,28);if(c){break g}Be(0);break f}l=j[a+344>>2];j[(l?l+24|0:w)>>2]=c;j[a+344>>2]=c;if(!c){break f}j[c>>2]=6;j[c+4>>2]=0;j[c+8>>2]=0;h[c+12|0]=k[a+324|0];h[c+13|0]=k[a+325|0];h[c+14|0]=k[a+326|0];h[c+15|0]=k[a+327|0];f=j[a+328>>2];j[c+20>>2]=0;j[c+16>>2]=f;f=qe[j[a+32>>2]](a,c,p,2)|0;if((f|0)>-1){break f}j[c>>2]=0}v=f+v|0}if((d|0)!=4){continue}break}c=-1;h:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break h}i:{d=j[a+348>>2];if(d){j[a+348>>2]=j[d+24>>2];j[d+24>>2]=0;break i}d=Xe(1,28);if(d){break i}Be(0);break h}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=d;j[a+344>>2]=d;if(!d){break h}j[d>>2]=7;j[d+4>>2]=0;j[d+8>>2]=0;h[d+12|0]=k[a+324|0];h[d+13|0]=k[a+325|0];h[d+14|0]=k[a+326|0];h[d+15|0]=k[a+327|0];b=j[a+328>>2];j[d+20>>2]=0;j[d+16>>2]=b;c=qe[j[a+36>>2]](a,d,t,s)|0;if((c|0)>-1){break h}j[d>>2]=0}j:{if(j[a+336>>2]|(c+v|0)<0){break j}b=j[a+340>>2];if(!b){break j}d=a+420|0;qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;while(1){b=d;d=j[d+8>>2];if(d){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=p+16|0}function oq(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0;e=j[j[a+8>>2]+140>>2];if((e|0)>=1){Ae(j[a+136>>2],j[a+140>>2],l[a+132>>1]<<3)}Ae(j[a+160>>2]+284|0,j[a+4>>2]+172|0,68);a:{if(b){c=j[a+160>>2];j[c+220>>2]=65536;j[c+224>>2]=65536;Ae(j[a+144>>2],j[a+140>>2],l[a+132>>1]<<3);break a}c=j[a+160>>2];d=j[a+4>>2];j[c+220>>2]=j[d+48>>2];j[c+224>>2]=j[d+52>>2]}c=j[a+140>>2];d=l[a+132>>1];n=d-4|0;f=c+(n<<3)|0;j[f>>2]=j[f>>2]+32&-64;f=d-3|0;g=(f<<3)+c|0;j[g>>2]=j[g>>2]+32&-64;g=d-2|0;m=(g<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;d=d-1|0;m=(d<<3)+c|0;j[m+4>>2]=j[m+4>>2]+32&-64;b:{if((e|0)>=1){d=j[j[a+12>>2]- -64>>2];c=j[a+160>>2];h[c+560|0]=b;j[c+464>>2]=e;j[c+460>>2]=j[c+392>>2];b=j[a+128>>2];j[c+144>>2]=j[a+124>>2];j[c+148>>2]=b;b=j[a+136>>2];j[c+152>>2]=j[a+132>>2];j[c+156>>2]=b;b=j[a+144>>2];j[c+160>>2]=j[a+140>>2];j[c+164>>2]=b;b=j[a+152>>2];j[c+168>>2]=j[a+148>>2];j[c+172>>2]=b;j[c+176>>2]=j[a+156>>2];b=j[a+160>>2];j[b+360>>2]=0;j[b+352>>2]=3;c=j[b+148>>2];j[b+36>>2]=j[b+144>>2];j[b+40>>2]=c;j[b+364>>2]=j[b+464>>2];c=j[b+156>>2];j[b+44>>2]=j[b+152>>2];j[b+48>>2]=c;c=j[b+164>>2];j[b+52>>2]=j[b+160>>2];j[b+56>>2]=c;c=j[b+172>>2];j[b+60>>2]=j[b+168>>2];j[b+64>>2]=c;j[b+68>>2]=j[b+176>>2];j[b+356>>2]=j[b+460>>2];c=j[b+148>>2];j[b+72>>2]=j[b+144>>2];j[b+76>>2]=c;c=j[b+156>>2];j[b+80>>2]=j[b+152>>2];j[b+84>>2]=c;c=j[b+164>>2];j[b+88>>2]=j[b+160>>2];j[b+92>>2]=c;c=j[b+172>>2];j[b+96>>2]=j[b+168>>2];j[b+100>>2]=c;j[b+104>>2]=j[b+176>>2];j[b+140>>2]=j[b+176>>2];c=j[b+172>>2];j[b+132>>2]=j[b+168>>2];j[b+136>>2]=c;c=j[b+164>>2];j[b+124>>2]=j[b+160>>2];j[b+128>>2]=c;c=j[b+156>>2];j[b+116>>2]=j[b+152>>2];j[b+120>>2]=c;c=j[b+148>>2];j[b+108>>2]=j[b+144>>2];j[b+112>>2]=c;i[b+348>>1]=1;j[b+344>>2]=65537;i[b+294>>1]=16384;i[b+296>>1]=0;i[b+298>>1]=16384;i[b+300>>1]=0;j[b+312>>2]=1;i[b+290>>1]=16384;i[b+292>>1]=0;j[b+304>>2]=1;j[b+428>>2]=0;j[b+16>>2]=0;c=qe[j[j[b>>2]+652>>2]](b)|0;b=j[a+160>>2];if(k[b+561|0]?c:0){break b}h[d|0]=k[d|0]|k[b+340|0]<<5|4;b=l[a+132>>1];d=b-1|0;g=b-2|0;f=b-3|0;n=b-4|0;c=j[a+140>>2]}b=(n<<3)+c|0;e=j[b+4>>2];j[a+68>>2]=j[b>>2];j[a+72>>2]=e;b=(f<<3)+c|0;e=j[b+4>>2];j[a+76>>2]=j[b>>2];j[a+80>>2]=e;b=(g<<3)+c|0;e=j[b+4>>2];j[a+184>>2]=j[b>>2];j[a+188>>2]=e;b=(d<<3)+c|0;c=j[b+4>>2];j[a+192>>2]=j[b>>2];j[a+196>>2]=c;c=0}return c}function Ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{if(!a){break b}c=j[a>>2];if(!c){break b}e=j[b>>2];m=k[e+5|0];g=j[b+12>>2];n=j[b+8>>2];i=k[e+26|0];o=k[e+18|0]|k[e+19|0]<<8|(k[e+20|0]<<16|k[e+21|0]<<24);h=k[e+14|0]|k[e+15|0]<<8|(k[e+16|0]<<16|k[e+17|0]<<24);p=k[e+6|0]|k[e+7|0]<<8|(k[e+8|0]<<16|k[e+9|0]<<24);q=k[e+10|0]|k[e+11|0]<<8|(k[e+12|0]<<16|k[e+13|0]<<24);l=k[e+4|0];d=j[a+36>>2];b=j[a+12>>2];if(b){f=j[a+8>>2]-b|0;j[a+8>>2]=f;if(f){zg(c,b+c|0,f)}j[a+12>>2]=0}if(d){b=a;c=j[a+28>>2]-d|0;if(c){f=j[a+16>>2];zg(f,f+(d<<2)|0,c<<2);c=j[a+20>>2];zg(c,c+(d<<3)|0,j[a+28>>2]-d<<3);c=j[a+28>>2]-d|0}else{c=0}j[b+28>>2]=c;j[a+36>>2]=0;j[a+32>>2]=j[a+32>>2]-d}if((h|0)!=j[a+336>>2]|l){break b}if(tF(a,i+1|0)){break b}f=m&1;h=j[a+340>>2];c:{if((h|0)==(o|0)){break c}c=j[a+32>>2];l=j[a+28>>2];if((c|0)<(l|0)){d=j[a+8>>2];r=j[a+16>>2];b=c;while(1){d=d-k[(b<<2)+r|0]|0;b=b+1|0;if((l|0)>(b|0)){continue}break}j[a+8>>2]=d}j[a+28>>2]=c;if((h|0)==-1){break c}b=c+1|0;j[a+28>>2]=b;j[j[a+16>>2]+(c<<2)>>2]=1024;j[a+32>>2]=b}b=m&2;d=0;d:{if(!f){break d}c=j[a+28>>2];if(j[(j[a+16>>2]+(c<<2)|0)-4>>2]!=1024?(c|0)>=1:0){break d}b=0;if(!i){break d}while(1){d=b+1|0;b=k[(b+e|0)+27|0];g=g-b|0;n=b+n|0;if((b|0)!=255){b=0;break d}b=d;if((i|0)!=(b|0)){continue}break}b=0;d=i}if(g){c=j[a+8>>2];f=j[a+4>>2];e:{if((c|0)<(f-g|0)){f=j[a>>2];break e}if((f|0)>(2147483647-g|0)){break a}c=g+f|0;c=(c|0)<2147482623?c+1024|0:c;f=Vf(j[a>>2],c);if(!f){break a}j[a>>2]=f;j[a+4>>2]=c;c=j[a+8>>2]}Ae(c+f|0,n,g);j[a+8>>2]=j[a+8>>2]+g}n=m&4;f:{if((d|0)>=(i|0)){break f}m=j[a+20>>2];f=j[a+16>>2];c=j[a+28>>2];h=f+(c<<2)|0;g=k[(d+e|0)+27|0];j[h>>2]=g;l=m+(c<<3)|0;j[l>>2]=-1;j[l+4>>2]=-1;if(b){j[h>>2]=g|256}b=c+1|0;j[a+28>>2]=b;g:{if((g|0)==255){c=-1;break g}j[a+32>>2]=b}d=d+1|0;if((i|0)!=(d|0)){while(1){h=k[(d+e|0)+27|0];j[f+(b<<2)>>2]=h;g=m+(b<<3)|0;j[g>>2]=-1;j[g+4>>2]=-1;g=b+1|0;j[a+28>>2]=g;if((h|0)!=255){j[a+32>>2]=g;c=b}b=g;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((c|0)==-1){break f}b=j[a+20>>2]+(c<<3)|0;j[b>>2]=p;j[b+4>>2]=q}h:{if(!n){break h}j[a+328>>2]=1;b=j[a+28>>2];if((b|0)<1){break h}b=(j[a+16>>2]+(b<<2)|0)-4|0;j[b>>2]=j[b>>2]|512}j[a+340>>2]=o+1}return}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}function Lq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;i=j[a+16>>2];n=k[i+6|0]<<8|k[i+7|0]&254;if(!n){return 0}v=n+2|0;t=i+14|0;l=j[b>>2]+((c|0)!=0)|0;w=n>>>1|0;d=w;a:{b:{while(1){c:{e=d+h|0;g=(e&-2)+t|0;o=k[g|0]<<8|k[g+1|0];e=e>>>1|0;f=e;g=g+v|0;s=k[g|0]<<8|k[g+1|0];if(s>>>0<=l>>>0){if(l>>>0<=o>>>0){break c}h=e+1|0}else{d=f}if(d>>>0>h>>>0){continue}break b}break}d=g+n|0;y=k[d|0]<<8|k[d+1|0];r=y;f=d+n|0;x=k[f|0]<<8|k[f+1|0];h=x;d:{e:{f:{g:{h:{i:{if((o|0)!=65535){break i}r=y;h=x;if((s|0)!=65535|w-1>>>0>e>>>0){break i}if(!x){break h}d=j[a>>2];d=(f+x|0)+2>>>0>j[d+500>>2]+j[d+504>>2]>>>0;h=d?0:x;r=d?1:y}if(!(k[a+20|0]&2)){break f}m=e+1|0;g=(h|0)==65535?m:e;break g}if(!(k[a+20|0]&2)){o=65535;break d}m=e+1|0;h=0;g=e}j:{k:{l:{if(e){q=e-1|0;z=q<<1;d=z+t|0;u=k[d|0]<<8|k[d+1|0];m:{if(u>>>0>>0){d=e;i=o;q=s;break m}r=(i+p(n,3)|0)+16|0;C=t+v|0;n:{while(1){o:{i=u;d=q;A=z+C|0;B=A+n|0;f=B+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:d;if(!d){break o}q=d-1|0;z=q<<1;u=z+t|0;u=k[u|0]<<8|k[u+1|0];if(u>>>0>=l>>>0){continue}break n}break}d=0;f=r}r=k[B+1|0]|k[B|0]<<8;q=k[A+1|0]|k[A|0]<<8}if((g|0)==(m|0)){break l}e=d;o=i;s=q;break j}e=0;i=0;if((g|0)==(m|0)){break k}break j}if((e|0)==(d|0)){o=i;s=q;i=e;break k}r=y;h=x;i=e}p:{q:{if(m>>>0>>0){d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>>0){g=i;break p}g=i;break q}e=m-1|0;d=0;break a}r:{while(1){s:{s=e;o=d;q=(d+v|0)+n|0;f=q+n|0;h=k[f|0]<<8|k[f+1|0];g=(h|0)==65535?g:m;m=m+1|0;if((w|0)==(m|0)){break s}d=(m<<1)+t|0;f=v+d|0;e=k[f|0]<<8|k[f+1|0];if(l>>>0>=e>>>0){continue}break r}break}m=w}r=k[q+1|0]|k[q|0]<<8;o=k[o+1|0]|k[o|0]<<8}e=m-1|0;d=0;if((g|0)==(i|0)){break a}}if((e|0)==(g|0)){e=g;break e}e=(g<<1)+t|0;o=k[e|0]<<8|k[e+1|0];e=e+v|0;s=k[e|0]<<8|k[e+1|0];e=e+n|0;r=k[e|0]<<8|k[e+1|0];f=e+n|0;h=k[f|0]<<8|k[f+1|0];e=g;break e}d=0;if((h|0)==65535){break a}}if(!h){break d}d=((l-s<<1)+h|0)+f|0;d=k[d|0]<<8|k[d+1|0];if(!d){break b}d=d+r&65535;break a}d=l+r&65535;break a}d=0}if(!c){return d}t:{if(l>>>0>o>>>0){f=0;e=e+1|0;if((w|0)==(e|0)){break t}}if(Dq(a,e)){if(!d){return 0}j[b>>2]=l;return d}j[a+24>>2]=l;u:{if(d){j[a+28>>2]=d;f=d;break u}j[a+24>>2]=l;Kq(a);f=j[a+28>>2];if(!f){return 0}l=j[a+24>>2]}j[b>>2]=l}return f}function sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0;e=oe-48|0;oe=e;j[e+12>>2]=0;h[a+672|0]=0;r=j[a+100>>2];a:{b:{f=j[a+676>>2];if(!f){f=Vl(a,0);j[e+12>>2]=f;if(f){break a}f=j[a+676>>2]}q=j[f+8>>2];g=j[q>>2];b=b>>>0>g>>>0?g:b;if(!b){break b}while(1){if(j[(d<<2)+c>>2]+65536>>>0<131073){d=d+1|0;if((b|0)!=(d|0)){continue}break b}break}j[e+12>>2]=6;break a}if(!j[f+36>>2]){g=j[a+104>>2];i=j[g+28>>2];d=qe[j[a+508>>2]](a,1735811442,g,e+40|0)|0;j[e+44>>2]=d;c:{if(d){break c}k=j[g+8>>2];d=$e(g,200448,e+16|0);j[e+44>>2]=d;if(d){break c}j[f+24>>2]=l[e+22>>1];n=l[e+28>>1];j[f+32>>2]=n;d=8;if(j[e+16>>2]!=65536|l[e+20>>1]!=l[j[f+8>>2]>>1]){break c}o=j[e+32>>2];s=f,t=xe(i,4,0,n+1|0,0,e+44|0),j[s+36>>2]=t;d=j[e+44>>2];if(d){break c}n=k+o|0;d=j[f+32>>2];d:{if(h[e+30|0]&1){d=_e(g,(d<<2)+4|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=Ff(g);j[j[f+36>>2]+(d<<2)>>2]=n+o;d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}break d}d=_e(g,(d<<1)+2|0);j[e+44>>2]=d;if(d){break c}d=0;while(1){o=af(g);j[j[f+36>>2]+(d<<2)>>2]=n+(o<<1);d=d+1|0;if(d>>>0<=m[f+32>>2]){continue}break}}Ve(g);d=j[f+24>>2];if(d){s=f,t=xe(i,4,0,p(d,l[e+20>>1]),0,e+44|0),j[s+28>>2]=t;d=j[e+44>>2];if(d){break c}d=Fe(g,k+j[e+24>>2]|0);j[e+44>>2]=d;if(d){break c}d=_e(g,p(j[f+24>>2],l[e+20>>1])<<1);j[e+44>>2]=d;if(d){break c}k=j[f+24>>2];if(k){n=0;i=l[e+20>>1];while(1){d=0;e:{if(!(i&65535)){i=0;break e}while(1){k=af(g);i=l[e+20>>1];j[j[f+28>>2]+(p(n,i)+d<<2)>>2]=k<<16>>16<<2;d=d+1|0;if(i>>>0>d>>>0){continue}break}k=j[f+24>>2]}n=n+1|0;if(n>>>0>>0){continue}break}}Ve(g)}d=j[e+44>>2]}j[e+12>>2]=d;if(d){break a}}f:{g:{h:{g=j[f+4>>2];if(g){k=0;if(b){break h}d=0;break g}g=xe(r,4,0,j[q>>2],0,e+12|0);j[f+4>>2]=g;if(j[e+12>>2]){break a}i=j[q>>2];k=1;break f}d=0;while(1){i=d<<2;if(j[i+g>>2]!=j[c+i>>2]){k=2;break g}d=d+1|0;if((b|0)!=(d|0)){continue}break}d=b}i=j[q>>2];if(i>>>0<=d>>>0){break f}while(1){if(!j[(d<<2)+g>>2]){d=d+1|0;if(i>>>0>d>>>0){continue}break f}break}k=2}j[f>>2]=i;Ae(g,c,b<<2);h[a+672|0]=1;b=j[a+648>>2];if(!b){break a}i:{switch(k-1|0){case 1:if(b){qe[j[r+8>>2]](r,b)}j[a+648>>2]=0;s=e,t=zq(a,j[a+104>>2]),j[s+12>>2]=t;break a;case 0:break i;default:break a}}s=e,t=rq(a,j[a+104>>2]),j[s+12>>2]=t}oe=e+48|0;return j[e+12>>2]}function By(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;y=j[a+56>>2];g=k[a+63|0];z=j[a+36>>2];A=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];B=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!B){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=q>>>7&1;a:{if((b|0)==(y|0)){break a}b=(b<<2)+A|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;b:{c:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break b;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break b;case 3:break c;default:break b}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break a;case 3:break d;default:break a}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2];p=j[a+40>>2];o=f-((p<<2)+15&-16)|0;oe=o;if((p|0)>=1){f=0;while(1){j[(f<<2)+o>>2]=-971228160;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a:{if((k|0)<1){break a}i=j[a+4>>2];s=n[i+8>>2];e=q(n[i+4>>2]+e);e=e>2];f=0;while(1){h=f<<2;n[h+c>>2]=e+n[g+h>>2];f=f+1|0;if((k|0)!=(f|0)){continue}break}if((k|0)<1){break a}s=q(n[i+496>>2]-d);y=j[a+8>>2];u=k-1|0;t=j[a+20>>2];h=0;while(1){f=h;h=f<<2;g=j[h+t>>2];e=n[b+h>>2];h=f+1|0;b:{if((k|0)<=(h|0)|(g|0)!=j[t+(h<<2)>>2]){break b}while(1){c:{f=h;d=n[(f<<2)+b>>2];e=d>e?d:e;h=f+1|0;if((k|0)==(h|0)){break c}if((g|0)==j[t+(h<<2)>>2]){continue}break b}break}f=u;h=k}l=f<<2;d:{if(n[l+c>>2]>j[a+32>>2];f=(f|0)<16?f:16;i=j[(((f|0)>0?f:0)<<2)+y>>2];w=(+q(s+e)+ -30)*.10000000149011612;e:{if(r(w)<2147483648){g=~~w;break e}g=-2147483648}f=(g|0)>0?g:0;m=j[i+(((f|0)<7?f:7)<<2)>>2];d=n[m+4>>2];f:{if(q(r(d))>2];g:{if(q(r(d))>2];d=q(q(q(q(d+q(-16))*q(v|0))+q(j[l+t>>2]-j[a+28>>2]|0))-q(v>>1));h:{if(q(r(d))>2]);l=(f<<2)+o|0;if(d>n[l>>2]^1){break i}n[l>>2]=d}g=g+1|0;if((i|0)<=(g|0)){break d}f=f+v|0;if((p|0)>(f|0)){continue}break}}if((h|0)<(k|0)){continue}break}}b=j[a+36>>2];UJ(o,b,p);g=0;j:{i=j[a>>2];if((i|0)<2){break j}m=j[a+20>>2];l=j[m>>2];k=j[a+28>>2];f=l-(k+(b>>1)|0)|0;u=j[a+4>>2];h=1;while(1){e=n[u+32>>2];d=n[(f<<2)+o>>2];e=d>e?e:d;b=(j[m+(h<<2)>>2]+l>>1)-k|0;if((b|0)>(f|0)){while(1){f=f+1|0;d=n[(f<<2)+o>>2];e=e==q(-9999)?d:d>q(-9999)?d(f|0)){continue}break}f=b}k:{if((g|0)>=(i|0)){break k}h=f+k|0;if((h|0)<(l|0)){break k}while(1){b=(g<<2)+c|0;if(!(n[b>>2]>2]=e}g=g+1|0;if((i|0)==(g|0)){g=i;break k}if((h|0)>=j[m+(g<<2)>>2]){continue}break}}h=g+1|0;if((i|0)<=(h|0)){break j}l=j[m+(g<<2)>>2];continue}}if((g|0)<(i|0)){d=n[((j[a+40>>2]<<2)+o|0)-4>>2];while(1){a=(g<<2)+c|0;if(!(d>n[a>>2]^1)){n[a>>2]=d}g=g+1|0;if((i|0)!=(g|0)){continue}break}}oe=x}function nA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=oe-32|0;oe=n;l=j[b+76>>2];o=j[a+436>>2];m=Vg();b=j[o>>2];a:{if((m|0)!=(b|0)){j[o+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b:{if(j[c+8>>2]<1|j[c+12>>2]<1){break b}j[o+360>>2]=0;qe[j[o+20>>2]](j[l+4>>2],j[l+32>>2]);r=j[c+4>>2]/2|0;s=j[c>>2]/2|0;b=j[c+12>>2];q=(b+1|0)/2|0;k=j[c+8>>2];m=(k+1|0)/2|0;c:{if(k+2>>>0<3|b+2>>>0<3){break c}t=j[l+12>>2];u=j[l+8>>2];w=j[l+4>>2];d:{e:{if((i|0)==(m|0)){k=0;break e}k=p(m,q);k=qe[j[57972]](k?k:1)|0;if(k){j[57976]=j[57976]+1}if(!k){break d}if((b|0)>0){b=k;while(1){Ge(b,h,m);h=h+i|0;b=b+m|0;v=v+1|0;if((q|0)!=(v|0)){continue}break}}h=k}qe[j[o+160>>2]](w,0,s,r,m,q,u,t,h);if(!k){break c}if(k){qe[j[57975]](k);j[57976]=j[57976]-1}break c}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l+36>>2]);q=j[c+4>>2]/2|0;r=j[c>>2]/2|0;b=j[c+12>>2];m=(b+1|0)/2|0;h=j[c+8>>2];i=(h+1|0)/2|0;f:{if(h+2>>>0<3|b+2>>>0<3){break f}s=j[l+12>>2];t=j[l+8>>2];u=j[l+4>>2];g:{h:{if((g|0)==(i|0)){h=0;break h}h=p(i,m);h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){break g}k=0;if((b|0)>0){b=h;while(1){Ge(b,f,i);f=f+g|0;b=b+i|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}f=h}qe[j[o+160>>2]](u,0,r,q,i,m,t,s,f);if(!h){break f}if(h){qe[j[57975]](h);j[57976]=j[57976]-1}break f}Be(0)}qe[j[o+20>>2]](j[l+4>>2],j[l>>2]);g=j[c+8>>2];i:{if(!g){break i}h=j[c+12>>2];if(!h){break i}i=j[l+12>>2];k=j[l+8>>2];m=j[c+4>>2];q=j[c>>2];l=j[l+4>>2];j:{k:{if((e|0)==(g|0)){f=0;break k}b=p(g,h);b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}f=b;if(!b){break j}c=0;if((h|0)>0){while(1){Ge(b,d,g);d=d+e|0;b=b+g|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}d=f}qe[j[o+160>>2]](l,0,q,m,g,h,k,i,d);if(!f){break i}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break i}Be(0)}k=0;a=j[a+436>>2];if(!j[a+4>>2]){break b}b=qe[j[a+104>>2]]()|0;if(!b){break b}while(1){c=76063;d=b-1280|0;if(d>>>0<=5){c=j[(d<<2)+76072>>2]}j[n+20>>2]=b;j[n+16>>2]=c;j[n+12>>2]=75478;j[n+8>>2]=1714;j[n+4>>2]=74206;j[n>>2]=75440;ve(75966,n);b=qe[j[a+104>>2]]()|0;if(b){continue}break}k=-1}oe=n+32|0;return k|0}function Tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>16&224|a>>>11&28|a>>>6&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>16&224|f>>>11&28|f>>>6&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>16&224|a>>>11&28|a>>>6&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>16&224|d>>>11&28|d>>>6&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function Sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;f=j[a+16>>2]/4|0;m=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{d=j[a+48>>2];if(d){if(!g){break a}i=e&7;l=(e+7|0)/8|0;n=f<<2;b:while(1){e=l;c:{d:{switch(i-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=k[d+(a>>>22&224|a>>>15&28|a>>>8&3)|0];c=c+4|0;b=b+1|0;a=7;continue;default:break e}}a=g-1|0;f=j[c>>2];h[b|0]=k[d+(f>>>22&224|f>>>15&28|f>>>8&3)|0];c=c+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+m|0;c=c+n|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}i=e&7;l=(e+7|0)/8|0;f=f<<2;g:while(1){e=l;h:{i:{switch(i-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=1;continue;case 1:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=2;continue;case 2:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=3;continue;case 3:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=4;continue;case 4:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=5;continue;case 5:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=6;continue;case 6:a=j[c>>2];h[b|0]=a>>>22&224|a>>>15&28|a>>>8&3;b=b+1|0;a=7;continue;default:break j}}a=g-1|0;d=j[c>>2];h[b|0]=d>>>22&224|d>>>15&28|d>>>8&3;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+m|0;c=c+f|0;g=a;if(a){continue g}break a}a=0;continue}}}}function SK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=oe-16|0;oe=f;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}n=j[a>>2];q=(b|0)!=0;b=(p(q,36)+a|0)+16|0;g=b;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}i=e>>16;d=j[c+4>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=hj(g,i,e>>16,n,f);if(d){break b}d=b;e=j[c+8>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}i=g>>16;e=j[c+12>>2];g=e+32768&-65536;if((e|0)<0){g=0-(32768-e&-65536)|0}d=hj(d,i,g>>16,n,f+4|0);if(d){break b}d=j[c+16>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}e=e>>16;c=j[c+20>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}d=hj(b,e,d>>16,n,f+8|0);if(d){break b}g=j[f+8>>2];i=j[f+4>>2];l=j[f>>2];o=p(q,36)+a|0;s=o;e=j[o+40>>2];c:{if(e){r=g>>3;t=i>>3;u=l>>3;v=128>>>(g&7)|0;w=128>>>(i&7)|0;x=128>>>(l&7)|0;c=j[o+48>>2];d=e;while(1){b=j[c>>2];if((k[j[c+8>>2]+u|0]&x?l>>>0>>0:0)|(k[j[c+8>>2]+t|0]&w?b>>>0>i>>>0:0)|(k[r+j[c+8>>2]|0]&v?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}r=e+1|0;b=j[o+44>>2];d:{if(r>>>0<=b>>>0){c=j[(p(q,36)+a|0)+48>>2];break d}j[f+12>>2]=0;c=b;b=e+8&-8;d=p(q,36)+a|0;c=xe(n,16,c,b,j[d+48>>2],f+12|0);j[d+48>>2]=c;d=j[f+12>>2];if(d){break b}j[o+44>>2]=b}b=0;c=(e<<4)+c|0;j[c+12>>2]=0;j[c>>2]=0;j[s+40>>2]=r}if((l|0)>=0){if(b>>>0<=l>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=l+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=l+1}b=j[c+8>>2]+(l>>>3|0)|0;h[b|0]=k[b|0]|128>>>(l&7)}if((i|0)>=0){if(m[c>>2]<=i>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=i+1}b=j[c+8>>2]+(i>>>3|0)|0;h[b|0]=k[b|0]|128>>>(i&7)}if((g|0)<0){break a}if(m[c>>2]<=g>>>0){b=j[c+4>>2];j[f+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){e=b;b=d+7&1073741816;y=c,z=xe(n,1,e,b,j[c+8>>2],f+12|0),j[y+8>>2]=z;d=j[f+12>>2];if(d){break b}j[c+4>>2]=b<<3}j[c>>2]=g+1}a=j[c+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);break a}j[a+4>>2]=d}oe=f+16|0}function bm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;q=c>>8;f=j[a+228>>2];i=f>>8;d=(q|0)<(i|0);a:{if(j[a+176>>2]<=((d?q:i)|0)){break a}o=j[a+172>>2];if((o|0)>((d?i:q)|0)){break a}s=c&255;e=j[a+220>>2];h=j[a+224>>2];d=h-f|0;if((i|0)==(q|0)){lk(a,i,e,d,b,s);break a}k=c-h|0;r=b-e|0;if(!r){g=(k>>>23^-1)&256;d=g-d|0;f=d+j[a+192>>2]|0;j[a+192>>2]=f;n=e<<1&510;h=j[a+188>>2]+p(n,d)|0;j[a+188>>2]=h;s=(k|0)>-1?1:-1;k=s+i|0;l=k-o|0;d=j[a+168>>2];i=e>>8;d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;if(!(j[a+160>>2]==(l|0)?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;o=j[a+184>>2];e=o>>>0>l>>>0?j[a+180>>2]<=(d|0):e;j[a+196>>2]=e;if((k|0)!=(q|0)){r=(g<<1)-256|0;t=p(r,n);while(1){f=f+r|0;j[a+192>>2]=f;h=h+t|0;j[a+188>>2]=h;u=d;d=j[a+168>>2];d=((d|0)<(i|0)?d:i)-j[a+164>>2]|0;d=(d|0)>-1?d:-1;v=l;k=k+s|0;l=k-j[a+172>>2]|0;if(!((v|0)==(l|0)?(u|0)==(d|0):0)){if(!e){Og(a);o=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=l;j[a+156>>2]=d;h=0;f=0}e=1;e=l>>>0>>0?(d|0)>=j[a+180>>2]:e;j[a+196>>2]=e;if((k|0)!=(q|0)){continue}break}}d=g+(c|-256)|0;j[a+192>>2]=d+f;j[a+188>>2]=p(d,n)+h;break a}f=a;h=i;g=e;n=d;b:{if((k|0)>-1){l=256;d=256-d|0;o=1;break b}k=0-k|0;o=-1}u=h;v=e;d=p(d,r);e=(d|0)/(k|0)|0;h=d-p(e,k)|0;e=(v+e|0)+(h>>31)|0;lk(f,u,g,n,e,l);d=j[a+168>>2];g=e>>8;d=((d|0)<(g|0)?d:g)-j[a+164>>2]|0;g=(d|0)>-1?d:-1;i=i+o|0;f=i-j[a+172>>2]|0;if(!((f|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=f;j[a+156>>2]=g}j[a+196>>2]=f>>>0>2]?(g|0)>=j[a+180>>2]:1;c:{if((i|0)==(q|0)){f=256-l|0;break c}f=r<<8;d=(f|0)/(k|0)|0;f=f-p(d,k)|0;g=f>>31;r=(g&k)+f|0;t=d+g|0;f=256-l|0;g=h-((h|0)<0?0:k)|0;while(1){h=e;d=g+r|0;e=e+t+((d^-1)>>>31)|0;lk(a,i,h,f,e,l);g=j[a+168>>2];n=e>>8;g=((g|0)<(n|0)?g:n)-j[a+164>>2]|0;n=(g|0)>-1?g:-1;i=i+o|0;h=i-j[a+172>>2]|0;if(!((h|0)==j[a+160>>2]?(n|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=h;j[a+156>>2]=n}g=d-((d|0)<0?0:k)|0;j[a+196>>2]=h>>>0>2]?(n|0)>=j[a+180>>2]:1;if((i|0)!=(q|0)){continue}break}}lk(a,q,e,f,b,s)}j[a+224>>2]=c;j[a+220>>2]=b;j[a+228>>2]=c&-256}function Zl(a,b,c){var d=0,e=0,f=0,g=0,k=0,m=0,n=0;f=oe-16|0;oe=f;j[a+4>>2]=c;j[a>>2]=b;if(c){j[a+396>>2]=j[c+116>>2];j[a+400>>2]=j[c+120>>2];j[a+408>>2]=j[c+128>>2];j[a+412>>2]=j[c+132>>2];j[a+404>>2]=j[c+124>>2];j[a+416>>2]=j[c+136>>2];d=j[c+108>>2];j[a+276>>2]=j[c+104>>2];j[a+280>>2]=d;d=j[c+100>>2];j[a+268>>2]=j[c+96>>2];j[a+272>>2]=d;d=j[c+92>>2];j[a+260>>2]=j[c+88>>2];j[a+264>>2]=d;d=j[c+84>>2];j[a+252>>2]=j[c+80>>2];j[a+256>>2]=d;d=j[c+76>>2];j[a+244>>2]=j[c+72>>2];j[a+248>>2]=d;d=j[c+48>>2];j[a+216>>2]=j[c+44>>2];j[a+220>>2]=d;d=j[c+56>>2];j[a+224>>2]=j[c+52>>2];j[a+228>>2]=d;d=j[c+64>>2];j[a+232>>2]=j[c+60>>2];j[a+236>>2]=d;j[a+240>>2]=j[c+68>>2];j[a+420>>2]=j[c+140>>2];j[a+424>>2]=j[c+144>>2];d=j[c+152>>2];j[a+444>>2]=j[c+148>>2];j[a+448>>2]=d;d=j[c+160>>2];j[a+452>>2]=j[c+156>>2];j[a+456>>2]=d;d=j[c+168>>2];j[a+460>>2]=j[c+164>>2];j[a+464>>2]=d;Ae(a+284|0,c+172|0,68);j[a+380>>2]=j[c+240>>2];j[a+384>>2]=j[c+244>>2];i[a+468>>1]=l[c+248>>1];j[a+472>>2]=j[c+252>>2];d=j[c+260>>2];j[a+180>>2]=j[c+256>>2];j[a+184>>2]=d;d=j[c+268>>2];j[a+188>>2]=j[c+264>>2];j[a+192>>2]=d;d=j[c+276>>2];j[a+196>>2]=j[c+272>>2];j[a+200>>2]=d;d=j[c+284>>2];j[a+204>>2]=j[c+280>>2];j[a+208>>2]=d;j[a+212>>2]=j[c+288>>2];Ee(a+36|0,0,108)}e=j[a+8>>2];a:{b:{c:{c=l[b+284>>1]+32|0;d=j[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}m=a,n=xe(e,1,d<<2,c<<2,j[a+24>>2],f+8|0),j[m+24>>2]=n;e=j[f+8>>2];if(e){break c}e=j[a+8>>2]}j[a+20>>2]=c;c=l[b+286>>1];b=j[a+388>>2];if(c>>>0<=b>>>0){c=b;break b}m=a,n=xe(e,1,b,c,j[a+392>>2],f+12|0),j[m+392>>2]=n;e=j[f+12>>2];if(!e){break b}j[a+388>>2]=b&65535;break a}j[a+20>>2]=d;break a}e=0;j[a+152>>2]=0;j[a+388>>2]=c&65535;b=j[a+148>>2];c=j[a+144>>2];j[a+72>>2]=c;j[a+76>>2]=b;j[a+108>>2]=c;j[a+112>>2]=b;j[a+36>>2]=c;j[a+40>>2]=b;d=j[a+164>>2];b=d;c=j[a+160>>2];j[a+88>>2]=c;j[a+92>>2]=d;g=j[a+172>>2];d=g;k=j[a+168>>2];j[a+96>>2]=k;j[a+100>>2]=d;g=j[a+176>>2];j[a+104>>2]=g;j[a+124>>2]=c;j[a+128>>2]=b;j[a+132>>2]=k;j[a+136>>2]=d;j[a+140>>2]=g;j[a+52>>2]=c;j[a+56>>2]=b;j[a+60>>2]=k;j[a+64>>2]=d;j[a+68>>2]=g;b=j[a+156>>2];c=j[a+152>>2];j[a+80>>2]=c;j[a+84>>2]=b;j[a+116>>2]=c;j[a+120>>2]=b;j[a+44>>2]=c;j[a+48>>2]=b;h[a+488|0]=0}oe=f+16|0;return e}function Cy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=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;n=j[a+24>>2];c=(n+7|0)/-8|0;o=j[a+28>>2];if(o){x=j[a+16>>2]+(c+n|0)|0;g=k[a+63|0];y=j[a+36>>2];z=j[j[j[a+40>>2]+4>>2]+4>>2];m=j[a>>2];c=j[a+20>>2];A=(n|0)<1;a=j[a+44>>2];v=k[a+9|0];w=v-1|0;while(1){o=o-1|0;q=0;r=0;if(!A){while(1){if(!(r&7)){q=k[m|0];m=m+1|0}b=((q&128)>>>5|0)+z|0;s=k[b+2|0];t=k[b+1|0];u=k[b|0];b=0;d=0;e=0;f=0;a:{b:{switch(w|0){case 0:b=k[c|0];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 1:b=l[c>>1];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0];break a;case 2:e=k[(k[a+34|0]>>>3|0)+c|0];d=k[(k[a+33|0]>>>3|0)+c|0];b=k[(k[a+32|0]>>>3|0)+c|0];f=255;break a;case 3:break b;default:break a}}b=j[c>>2];f=k[j[(k[a+31|0]<<2)+234976>>2]+((b&j[a+24>>2])>>>k[a+35|0]|0)|0];e=k[j[(k[a+30|0]<<2)+234976>>2]+((b&j[a+20>>2])>>>k[a+34|0]|0)|0];d=k[j[(k[a+29|0]<<2)+234976>>2]+((b&j[a+16>>2])>>>k[a+33|0]|0)|0];b=k[j[(k[a+28|0]<<2)+234976>>2]+((b&j[a+12>>2])>>>k[a+32|0]|0)|0]}f=(f+g|0)-((p(f,g)>>>0)/255|0)&255;s=((p(s-e|0,g)|0)/255|0)+e|0;e=s&255;t=((p(t-d|0,g)|0)/255|0)+d|0;d=t&255;u=((p(u-b|0,g)|0)/255|0)+b|0;b=u&255;c:{d:{switch(w|0){case 0:h[c|0]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>1]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>>3|0)+c|0]=u;h[(k[a+33|0]>>>3|0)+c|0]=t;h[(k[a+34|0]>>>3|0)+c|0]=s;break c;case 3:break d;default:break c}}j[c>>2]=d>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>>k[a+31|0]<>2]==268306?a:0)){ve(73666,0);g=-1;break a}if(!c){j[f>>2]=73708;g=ve(73682,f);break a}if(!d){j[f+16>>2]=73715;g=ve(73682,f+16|0);break a}b:{if(b){i=j[b+8>>2];break b}j[f+24>>2]=0;j[f+28>>2]=0;i=j[a+12>>2];j[f+32>>2]=i;j[f+36>>2]=j[a+16>>2];b=f+24|0}if(!i){break a}l=j[b+12>>2];if(!l){break a}h=j[a+40>>2];e=j[a+44>>2];if(e){g=-1;if((uA(e,b,c,d)|0)<0){break a}j[f+48>>2]=0;j[f+52>>2]=0;c=j[a+12>>2];j[f+56>>2]=c;e=j[a+16>>2];j[f+60>>2]=e;c:{if(j[a+8>>2]==1){g=0;j[f+44>>2]=0;j[f+40>>2]=0;if((Mj(h,f+48|0,f+44|0,f+40|0)|0)<0){break c}Xk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],j[f+44>>2],j[f+40>>2]);Lj(h);break a}g=0;b=j[h+4>>2];d:{if(!(!b|(b&-268435456)==268435456)){d=2;if((b|0)==844715353|(b|0)==1498831189){break d}d=(b|0)==1431918169?2:1;break d}d=b&255}c=p(d,c)+3&-4;b=p(c,e);if(!b){break a}b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Xk(j[a+44>>2],f+48|0,j[h+4>>2],j[f+56>>2],j[f+60>>2],b,c);gi(h,f+48|0,b,c);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}if(h){e:{if(j[a+8>>2]==1){j[f+48>>2]=0;j[f+44>>2]=0;if((Mj(h,b,f+48|0,f+44|0)|0)<0){break e}fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],j[f+48>>2],j[f+44>>2]);Lj(h);break a}e=j[h+4>>2];f:{if(!(!e|(e&-268435456)==268435456)){k=2;if((e|0)==844715353|(e|0)==1498831189){break f}k=(e|0)==1431918169?2:1;break f}k=e&255}i=p(k,i)+3&-4;e=p(i,l);if(!e){break a}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}if(e){fh(j[b+8>>2],j[b+12>>2],j[a+4>>2],c,d,j[h+4>>2],e,i);gi(h,b,e,i);if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break a}g=Be(0);break a}g=-1;break a}g:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break g}h=j[e+340>>2];if(!h){break g}g=e+420|0;i=qe[j[e+48>>2]](e,h,j[e+408>>2],j[e+412>>2])|0;while(1){h=g;g=j[h+8>>2];if(g){continue}break}j[h+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;g=j[e+344>>2];if(g){j[g+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break g}g=-1;break a}g=qe[j[e+52>>2]](e,a,b,c,d)|0}oe=f- -64|0;return g}function uA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0;a:{b:{c:{d:{f=j[a>>2];e:{if((f|0)<=1431918168){f:{switch(f-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break d;case 11:break e;default:break f}}if((f|0)==825382478){break d}if((f|0)!=844715353){break b}break c}if((f|0)==1431918169|(f|0)==1498831189){break c}if((f|0)!=1448433993){break b}}g:{e=j[b+4>>2];h=j[b>>2];if(e|h){break g}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break g}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break g}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}o=(j[b+8>>2]+1|0)/2|0;e=j[a+16>>2]+p(h,j[a+12>>2])+(p(j[b+4>>2]/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0))|0;h=(d+1|0)/2|0;f=p(d,i)+c|0;g=0;while(1){Ge(e,f,o);f=f+h|0;m=j[a+8>>2];i=(m+1|0)/2|0;e=i+e|0;g=g+1|0;k=j[b+12>>2];n=(k+1|0)/2|0;if((g|0)<(n|0)){continue}break}if((k|0)<1){break b}f=(j[b+8>>2]+1|0)/2|0;e=j[a+12>>2];e=(j[a+16>>2]+p(e,m)|0)+p(i,(e+1|0)/2|0)+(p(i,j[b+4>>2]/2|0)+(j[b>>2]/2|0))|0;c=(p(d,k)+c|0)+p(h,n)|0;d=0;while(1){Ge(e,c,f);c=c+h|0;e=((j[a+8>>2]+1|0)/2|0)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}h:{e=j[b+4>>2];h=j[b>>2];if(e|h){break h}e=0;f=j[b+8>>2];if((f|0)!=j[a+8>>2]){break h}g=j[b+12>>2];if((g|0)!=j[a+12>>2]){break h}break a}if(j[b+12>>2]<1){break b}k=j[b+8>>2];e=h+(j[a+16>>2]+p(j[a+8>>2],e)|0)|0;g=0;f=c;while(1){Ge(e,f,k);f=d+f|0;h=j[a+8>>2];e=h+e|0;g=g+1|0;i=j[b+12>>2];if((g|0)<(i|0)){continue}break}if((i|0)<1){break b}f=(j[b+8>>2]+1|0)/2<<1;e=(j[a+16>>2]+p(h,j[a+12>>2])|0)+(p((j[b+4>>2]+1|0)/2|0,(h+1|0)/2|0)+(j[b>>2]/2|0)<<1)|0;c=p(d,i)+c|0;g=(d+1|0)/2<<1;d=0;while(1){Ge(e,c,f);c=c+g|0;e=((j[a+8>>2]+1|0)/2<<1)+e|0;d=d+1|0;if((d|0)<((j[b+12>>2]+1|0)/2|0)){continue}break}break b}if(j[b+12>>2]<1){break b}g=(j[b+8>>2]+1|0)/2<<2;e=(j[a+28>>2]+p(j[b+4>>2],l[a+20>>1])|0)+(j[b>>2]<<1)|0;f=0;while(1){Ge(e,c,g);c=c+d|0;e=l[a+20>>1]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}Ge(j[a+16>>2],c,p(f,g)+(p((f+1|0)/2|0,(g+1|0)/2|0)<<1)|0);return 0}function Vi(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=oe-144|0;oe=d;a:{if(!a){j[d>>2]=72202;c=ve(72176,d);break a}b:{c=xg(a,44);if(c){i=1;f=c-a|0;c=f+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(c){break b}Be(0)}j[d+16>>2]=a;c=ve(72216,d+16|0);break a}Ge(c,a,f);h[c+f|0]=0;k=1;e=0;c:{if(!Me(c,72244)){break c}if(!Me(c,72252)){i=0;e=1;break c}k=(Me(c,72259)|0)!=0;e=1}n=e;IA(d+88|0,c);e=j[d+100>>2];f=d- -64|0;j[f>>2]=j[d+96>>2];j[f+4>>2]=e;e=j[d+92>>2];j[d+56>>2]=j[d+88>>2];j[d+60>>2]=e;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=j[f+4>>2];j[d+80>>2]=j[f>>2];j[d+84>>2]=c;c=j[d+60>>2];j[d+72>>2]=j[d+56>>2];j[d+76>>2]=c;d:{c=xg(a,44);e:{if(!c){break e}l=c+1|0;f=xg(l,44);if(!f){break e}e=f-c|0;c=e;f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){break d}Be(0)}j[d+32>>2]=a;ve(72266,d+32|0);c=-1;break a}Ge(f,l,e);c=-1;h[(f+e|0)-1|0]=0;f:{e=xg(a,44);g:{if(!e){break g}e=xg(e+1|0,44);if(!e){break g}e=Uf(e+1|0);if(e){break f}}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}j[d+48>>2]=a;ve(72294,d+48|0);break a}h:{i:{j:{k:{l:{a=j[67062];if(a){while(1){if(!wf(d+72|0,a,16)){break l}a=j[a+28>>2];if(a){continue}break}}a=qe[j[57972]](32)|0;if(a){j[57976]=j[57976]+1}if(a){break k}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);break a}if(m[a+24>>2]<=b>>>0){c=j[a+16>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+16>>2]=f;c=j[a+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+24>>2]=b;j[a+20>>2]=e;c=j[67069];if(!c){g=1;break h}while(1){if(!wf(j[c>>2]+12|0,a,16)){hB(c,j[a+16>>2],j[a+20>>2]);j[d+88>>2]=1621;j[d+96>>2]=j[j[c>>2]>>2];gf(d+88|0)}c=j[c+32>>2];if(c){continue}break}g=1;break j}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}g=1;break h}c=j[d+76>>2];j[a>>2]=j[d+72>>2];j[a+4>>2]=c;c=j[d+84>>2];j[a+8>>2]=j[d+80>>2];j[a+12>>2]=c;j[a+28>>2]=0;j[a+20>>2]=e;j[a+16>>2]=f;j[a+24>>2]=b;c=j[67062];if(!c){break i}while(1){b=c;c=j[c+28>>2];if(c){continue}break}j[b+28>>2]=a;g=0}if(a){break h}c=-1;break a}j[67062]=a}c=0;if(g){break a}if(!n){j[67070]=a;c=1;break a}if(!i){j[67071]=a;c=1;break a}c=1;if(k){break a}j[67072]=a}oe=d+144|0;return c}function op(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-48|0;oe=f;a:{if(c>>>0<=2){c=c<<2;i=j[c+227596>>2];o=j[c+227584>>2];while(1){c=j[b+4>>2];b:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break b}c=ff(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break c}c=ff(b)}e:{f:{while(1){if(h[e+227516|0]==(c|32)){g:{if(e>>>0>6){break g}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break g}c=ff(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){j[b+4>>2]=j[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}xD(f,q(q(g|0)*q(B)));g=j[f+8>>2];i=j[f+12>>2];l=j[f>>2];n=j[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(h[e+227525|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=j[b+4>>2];if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break k}c=ff(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=j[b+4>>2];n:{if(e>>>0>2]){j[b+4>>2]=e+1;e=k[e|0];break n}e=ff(b)}if((e&-33)==88){ND(f+16|0,b,o,i,g,d);g=j[f+24>>2];i=j[f+28>>2];l=j[f+16>>2];n=j[f+20>>2];break a}if(!j[b+104>>2]){break m}j[b+4>>2]=j[b+4>>2]-1}MD(f+32|0,b,c,o,i,g,d);g=j[f+40>>2];i=j[f+44>>2];l=j[f+32>>2];n=j[f+36>>2];break a;case 3:break i;default:break l}}if(j[b+104>>2]){j[b+4>>2]=j[b+4>>2]-1}break h}o:{c=j[b+4>>2];p:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break p}c=ff(b)}if((c|0)==40){e=1;break o}g=0;i=2147450880;if(!j[b+104>>2]){break a}j[b+4>>2]=j[b+4>>2]-1;break a}while(1){q:{c=j[b+4>>2];r:{if(c>>>0>2]){j[b+4>>2]=c+1;c=k[c|0];break r}c=ff(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;i=2147450880;if((c|0)==41){break a}c=j[b+104>>2];if(c){j[b+4>>2]=j[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){j[b+4>>2]=j[b+4>>2]-1}if(e){continue}break}break a}}j[67100]=28;kg(b,0,0)}g=0;i=0}j[a>>2]=l;j[a+4>>2]=n;j[a+8>>2]=g;j[a+12>>2]=i;oe=f+48|0}function Oj(a,b,c,d,e,f,g){var i=0,l=0,m=0,o=0,p=0,s=0,t=q(0),u=0,v=0;s=oe+ -64|0;oe=s;m=dl(a,b);a:{if(!m){break a}b:{c:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){d:{e:{i=j[67024];if(!i){i=j[66371];if(!i){break e}}l=k[268228];if(e){if(l&1){break b}o=j[i+28>>2];t=q(q(o|0)*g);f:{if(q(r(t))0?l:0;u=(l|0)<(o|0)?l:o-1|0;v=i;p=j[i+24>>2];t=q(q(p|0)*f);g:{if(q(r(t))0?o:0;Pj(v,-1,0,(l|0)<(p|0)?l:p-1|0,u);hl(i,-1,1,1);break d}if(((a|0)!=j[67058]|(b|0)!=j[67059]|l^-1)&1|((c|0)!=j[67060]|(d|0)!=j[67061])){break c}hl(i,-1,0,1);break c}if(!e){break c}}if(k[268228]){break b}j[67058]=a;j[67059]=b;h[268228]=1;j[67060]=c;j[67061]=d;break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}break b}if(!k[268228]|((a|0)!=j[67058]|(b|0)!=j[67059])|((c|0)!=j[67060]|(d|0)!=j[67061])){break b}h[268228]=0}l=j[m+12>>2];i=0;h:{if((l|0)<1){break h}o=j[m+20>>2];i=0;i:{while(1){p=j[o+(i<<2)>>2];if((c|0)==j[p>>2]&(d|0)==j[p+4>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}i=0;break h}i=(i|0)<(l|0)?p:0}if(e){if(i){break a}j:{k:{l:{if(j[m+16>>2]!=(l|0)){i=j[m+20>>2];break l}e=mf(j[m+20>>2],(l<<2)+4|0);if(!e){break k}j[m+20>>2]=e;e=qe[j[57972]](24)|0;if(e){j[57976]=j[57976]+1}l=j[m+16>>2];o=l<<2;j[o+j[m+20>>2]>>2]=e;i=j[m+20>>2];if(!j[o+i>>2]){break k}j[m+16>>2]=l+1;l=j[m+12>>2]}j[m+12>>2]=l+1;e=j[(l<<2)+i>>2];n[e+16>>2]=1;n[e+12>>2]=g;n[e+8>>2]=f;j[e>>2]=c;j[e+4>>2]=d;break j}if((Be(0)|0)<0){break a}}if((We(1792,-1)|0)!=1){break a}n[s+48>>2]=1;e=s;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=g;n[e+32>>2]=f;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1792;gf(e+8|0);break a}if(!i){break a}if((We(1793,-1)|0)==1){e=s;j[e+24>>2]=c;j[e+28>>2]=d;j[e+16>>2]=a;j[e+20>>2]=b;j[e+8>>2]=1793;n[e+32>>2]=n[i+8>>2];f=n[i+12>>2];n[e+48>>2]=1;j[e+40>>2]=0;j[e+44>>2]=0;n[e+36>>2]=f;gf(e+8|0)}a=j[m+12>>2];if((a|0)<1){break a}b=j[m+20>>2];i=0;while(1){e=b+(i<<2)|0;l=j[e>>2];if(j[l>>2]!=(c|0)|j[l+4>>2]!=(d|0)){i=i+1|0;if((a|0)!=(i|0)){continue}break a}break}a=a-1|0;j[m+12>>2]=a;a=a<<2;j[e>>2]=j[a+b>>2];j[a+j[m+20>>2]>>2]=l}oe=s- -64|0}function YG(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;m=j[a+528>>2];a:{if(!m){a=6;break a}i=j[a+100>>2];n=j[m+4>>2];j[f+24>>2]=n;d=j[m>>2];j[f+28>>2]=d;if(n){a=0;while(1){c=p(a,12);e=c+(f+24|0)|0;j[e+8>>2]=j[((a<<2)+m|0)+8>>2];c=c+m|0;l=j[c+92>>2];j[e+12>>2]=j[l>>2];j[e+16>>2]=j[(l+(k[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((n|0)!=(a|0)){continue}break}}e=0;j[f+20>>2]=0;i=He(i,p(n,24)+20|0,f+20|0);a=j[f+20>>2];if(a){break a}j[i+16>>2]=0;j[i+8>>2]=-1;j[i+4>>2]=d;j[i>>2]=n;l=i+20|0;j[i+12>>2]=l;if(n){while(1){a=p(e,24)+l|0;c=(f+24|0)+p(e,12)|0;d=j[c+8>>2];j[a>>2]=d;h=j[c+12>>2]<<16;j[a+4>>2]=h;c=j[c+16>>2];j[a+16>>2]=-1;j[a+20>>2]=-1;c=c<<16;j[a+12>>2]=c;j[a+8>>2]=(c+h|0)/2;g=2003265652;b:{c:{if(!we(d,201616)){break c}g=2003072104;if(!we(d,201623)){break c}if(we(d,201629)){break b}g=1869640570}j[a+16>>2]=g}e=e+1|0;if((n|0)!=(e|0)){continue}break}}d:{e=j[m+4>>2];if(j[m>>2]!=1<>2];e:{f:{switch(e-1|0){case 0:e=j[a+4>>2];j[f>>2]=e;break e;case 1:d=j[a+12>>2];e=d+j[a+4>>2]|0;j[f>>2]=e;j[f+4>>2]=d+j[a+8>>2];break e;case 2:h=j[a+12>>2];d=j[a+20>>2];c=j[a+28>>2];e=j[a+4>>2]+(h+(d+c|0)|0)|0;j[f>>2]=e;c=c+j[a+24>>2]|0;j[f+4>>2]=j[a+8>>2]+(c+h|0);j[f+8>>2]=j[a+16>>2]+(c+d|0);break e;default:break f}}r=j[a+12>>2];q=j[a+20>>2];d=j[a+28>>2];g=j[a+52>>2];c=j[a+44>>2];h=c+j[a+36>>2]|0;o=j[a+60>>2];e=j[a+4>>2]+(r+(q+(d+(g+(h+o|0)|0)|0)|0)|0)|0;j[f>>2]=e;s=j[a+24>>2];t=j[a+40>>2];r=r+(c+d|0)|0;c=o+j[a+56>>2]|0;j[f+4>>2]=j[a+8>>2]+(s+(t+(r+c|0)|0)|0);o=(d+q|0)+s|0;d=j[a+48>>2]+(c+g|0)|0;j[f+8>>2]=j[a+16>>2]+(o+d|0);j[f+12>>2]=j[a+32>>2]+(d+(h+t|0)|0)}if(!n){break d}d=0;while(1){c=p(d,12)+m|0;h=j[c+96>>2];g:{if(j[h>>2]<(e|0)){a=1;o=k[c+88|0];if(o>>>0>1){while(1){g=a<<2;q=j[g+h>>2];if((q|0)>=(e|0)){c=j[c+92>>2];l=g-4|0;a=j[c+l>>2];c=j[c+g>>2];g=e;e=j[h+l>>2];a=p(De(g-e|0,q-e|0),c-a|0)+(a<<16)|0;l=j[i+12>>2];break g}a=a+1|0;if((o|0)!=(a|0)){continue}break}}a=j[(j[c+92>>2]+(o<<2)|0)-4>>2]<<16;break g}a=j[j[c+92>>2]>>2]<<16}j[(p(d,24)+l|0)+8>>2]=a;d=d+1|0;if((n|0)==(d|0)){break d}e=j[(d<<2)+f>>2];continue}}j[b>>2]=i;a=j[f+20>>2]}oe=f+80|0;return a|0}function Jo(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a=oe-288|0;oe=a;vs(a+16|0,j[58915]);c=j[a+20>>2];b=j[a+16>>2];j[58917]=b;j[58918]=c;m=c;if(c){i=b;while(1){Ee(a+16|0,0,257);a:{if(k[e+i|0]!=58){break a}j[a+12>>2]=0;b=e;while(1){c=k[b+i|0];if((c|0)==47){break a}if((c|0)==10){d=0;c=b+1|0;e=k[i+c|0];if((e|0)!=58){while(1){h[(a+12|0)+d|0]=e;d=d+1|0;b=c;c=b+1|0;e=k[i+c|0];if((e|0)!=58){continue}break}}h[(a+12|0)+d|0]=0;g=rf(a+12|0);if((g|0)>j[60719]){j[60719]=g}d=0;f=0;e=b+3|0;b=k[i+e|0];if((b|0)!=10){while(1){b:{c:{d:{c=b<<24>>24;switch(c-123|0){case 0:case 2:break b;case 1:break c;default:break d}}if((c|0)==32){break b}}h[(a+16|0)+f|0]=b;f=f+1|0}e=e+1|0;b=k[i+e|0];if((b|0)!=10){continue}break}}h[(a+16|0)+f|0]=0;h[a+8|0]=0;j[a>>2]=0;j[a+4>>2]=0;c=1;b=k[a+16|0];e:{if((b|0)==44){l=0;break e}while(1){h[a+d|0]=b;d=d+1|0;b=k[d+(a+16|0)|0];if((b|0)!=44){continue}break}l=k[a|0];if((l|0)!=42){break e}b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);l=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a>>2]=l;j[a+4>>2]=b;c=16}g=p(g,24)+235536|0;n=g,o=p(rf(a),c),j[n+140>>2]=o;b=0;c=d+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+b|0]=f;b=b+1|0;d=c;c=c+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}l=k[a|0]}b=1;c=g;if((l&255)==42){b=k[a+5|0]|k[a+6|0]<<8|(k[a+7|0]<<16|k[a+8|0]<<24);j[a>>2]=k[a+1|0]|k[a+2|0]<<8|(k[a+3|0]<<16|k[a+4|0]<<24);j[a+4>>2]=b;b=16}n=c,o=p(b,rf(a)),j[n+144>>2]=o;c=0;b=d+2|0;d=k[b+(a+16|0)|0];if((d|0)!=44){while(1){h[a+c|0]=d;c=c+1|0;b=b+1|0;d=k[b+(a+16|0)|0];if((d|0)!=44){continue}break}}n=g,o=rf(a),j[n+148>>2]=o;d=0;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){while(1){h[a+d|0]=f;d=d+1|0;b=c;c=b+1|0;f=k[c+(a+16|0)|0];if((f|0)!=44){continue}break}}n=g,o=rf(a),j[n+152>>2]=o;d=0;c=b+2|0;b=k[c+(a+16|0)|0];if((b|0)!=44){while(1){h[a+d|0]=b;d=d+1|0;c=c+1|0;b=k[c+(a+16|0)|0];if((b|0)!=44){continue}break}}n=g,o=rf(a),j[n+156>>2]=o;b=0;d=c+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){while(1){h[a+b|0]=c;b=b+1|0;d=d+1|0;c=k[d+(a+16|0)|0];if((c|0)!=44){continue}break}}n=g,o=rf(a),j[n+160>>2]=o}else{b=b-1|0;continue}break}}e=e+1|0;if(m>>>0>e>>>0){continue}break}}oe=a+288|0}function gr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(k[a+16|0]&8)){e=p(c,204)+b|0;r=j[e+200>>2];g=j[e+204>>2]+ye(j[a>>2],r)|0;f=ye(j[a+4>>2],r);a:{b:{c:{d:{e:{switch(c|0){case 1:if(k[d+121|0]){break d}break b;case 0:if(!k[d+120|0]){break b}n=k[d+122|0]!=0;break;default:break e}}j[a+12>>2]=f;i=a+12|0;break c}s=k[d+123|0];j[a+12>>2]=f;t=j[a>>2];v=k[b+2492|0];n=2;e=j[b+412>>2];f:{g:{if(!e){break g}l=j[a+4>>2]+t|0;h=b+416|0;o=j[b+2488>>2];m=0-o|0;while(1){q=l-j[h+12>>2]|0;if((q|0)<(m|0)){break g}if((l|0)<=(o+j[h+8>>2]|0)){if(!v){e=0;if((q|0)>j[b+2484>>2]){break f}}u=j[h+16>>2];n=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}i=j[b+928>>2];h:{if(!i){l=0;break h}l=0;o=j[b+2488>>2];m=0-o|0;h=((i<<5)+b|0)+932|0;while(1){q=j[h-24>>2]-t|0;if((m|0)>(q|0)){break h}if((j[h-20>>2]-o|0)>(t|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(j[b+2484>>2]<=(q|0)?!v:0){break h}l=j[h-16>>2];e=n}i=a+12|0;n=(s|0)!=0;i:{switch(e-1|0){case 1:j[a+8>>2]=l;if(!s){break a}j[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:j[a+8>>2]=l;j[a+12>>2]=u-l;break a;case 0:break i;default:break c}}j[a+8>>2]=u-f;if(!s){break a}b=(f|0)<64?64:f+32&-64;j[a+12>>2]=b;j[a+8>>2]=u-b;break a}e=j[a+20>>2];if(e){if(!(k[e+16|0]&8)){gr(e,b,c,d)}g=((j[e+8>>2]-(f>>1)|0)+(j[e+12>>2]>>1)|0)+ye((j[a>>2]-(j[e>>2]+(j[e+4>>2]>>1)|0)|0)+(j[a+4>>2]>>1)|0,r)|0}j[a+12>>2]=f;h=a;e=f;j:{if(!k[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;m=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(m^e+m)>(g^c+g)?d:b;e=f;break j}b=j[(p(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;j[h+12>>2]=e;c=g+32|0;e=((c+e&-64)-g|0)-e|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;j[a+8>>2]=c;if(!n){break a}e=(b|0)<64?64:b+32&-64;j[i>>2]=e;d=e>>1;j[a+12>>2]=e;j[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}j[a+12>>2]=f;j[a+8>>2]=g}j[a+16>>2]=j[a+16>>2]|8}}function az(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;a:{b:{if(_i(16)){break b}if(($i(16)|0)>=0){break b}a=-1;break a}b=j[65557];if(b){if(!(l[131118]!=32784|k[262238]!=2)){j[65557]=b+1;break a}while(1){Wn();if(j[65557]){continue}break}}j[d+28>>2]=0;j[d+24>>2]=74;i[d+16>>1]=2048;h[d+14|0]=2;i[d+12>>1]=32784;j[d+8>>2]=44100;a=MC(d+8|0);j[65564]=a;if(!a){a=-1;break a}No();a=-1;if((vC()|0)<=-1){Po(j[65564]);break a}j[65565]=8;a=qe[j[57972]](480)|0;if(a){j[57976]=j[57976]+1}b=a;j[65566]=a;e=j[65565];if((e|0)>=1){while(1){a=b+p(c,60)|0;j[a>>2]=0;j[a+4>>2]=0;j[a+44>>2]=128;j[a+16>>2]=128;j[a+20>>2]=0;j[a+36>>2]=0;j[a+40>>2]=128;j[a+56>>2]=0;j[a+24>>2]=-1;j[a+28>>2]=0;j[a+8>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}Lo(128);f=262216,g=(Mf(3137)|0)!=0,j[f>>2]=g;a=mf(j[65556],(j[65555]<<2)+4|0);c:{if(!a){c=j[65555];a=j[65556];break c}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=3289}a=mf(a,(c<<2)+4|0);d:{if(!a){c=j[65555];a=j[65556];break d}j[65556]=a;b=j[65555];c=b+1|0;j[65555]=c;j[(b<<2)+a>>2]=3294}a=mf(a,(c<<2)+4|0);if(a){j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3299}e:{if(j[57816]==3){b=1;if(j[57818]){break e}}b=j[57795]==3&j[57797]!=0}f:{if(!b){break f}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break f}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3303}g:{if(j[57816]==4){b=1;if(j[57818]){break g}}b=j[57795]==4&j[57797]!=0}h:{if(!b){break h}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break h}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3307}i:{if(j[57816]==5){b=1;if(j[57818]){break i}}b=j[57795]==5&j[57797]!=0}j:{if(!b){break j}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break j}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3311}k:{if(j[57816]==6){b=1;if(j[57818]){break k}}b=j[57795]==6&j[57797]!=0}l:{if(!b){break l}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break l}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3315}m:{if(j[57816]==8){b=1;if(j[57818]){break m}}b=j[57795]==8&j[57797]!=0}n:{if(!b){break n}a=mf(j[65556],(j[65555]<<2)+4|0);if(!a){break n}j[65556]=a;b=j[65555];j[65555]=b+1;j[a+(b<<2)>>2]=3319}a=0;j[65557]=1;IC(j[65564])}oe=d+32|0;return a}function Cr(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,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-32|0;oe=f;h=j[a+4>>2];q=j[h+328>>2];j[f+28>>2]=0;s=j[h+136>>2];r=j[h+100>>2];l=j[j[h+128>>2]+48>>2];a:{b:{if(l){c=qe[j[j[l>>2]>>2]](j[l+4>>2],b,f+8|0)|0;j[f+28>>2]=c;if(c){break a}d=j[h+288>>2];if(d&255){c=j[f+8>>2];n=d;while(1){o=k[c|0]|o<<8;c=c+1|0;n=n-1|0;if(n&255){continue}break}}c=j[f+12>>2];c:{if(!c){break c}e=c-d|0;g=He(r,e,f+28|0);if(j[f+28>>2]){break c}Ae(g,j[f+8>>2]+j[h+288>>2]|0,e)}qe[j[j[l>>2]+4>>2]](j[l+4>>2],f+8|0);c=j[f+28>>2];if(!c){break b}break a}d=j[h+292>>2]+j[h+288>>2]|0;c=Fe(q,(j[h+284>>2]+j[h+308>>2]|0)+p(d,b)|0);if(c){break a}c=_e(q,d<<1);j[f+28>>2]=c;if(c){break a}d=j[q+32>>2];i=j[h+288>>2];if(i&255){g=i-1&255;c=d;e=i;while(1){o=k[c|0]|o<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}d=(d+g|0)+1|0}g=0;e=j[h+292>>2];if(e&255){t=e-1&255;c=d;g=e;while(1){n=k[c|0]|n<<8;c=c+1|0;g=g-1|0;if(g&255){continue}break}c=((d+t|0)+i|0)+1|0;g=0;while(1){g=k[c|0]|g<<8;c=c+1|0;e=e-1|0;if(e&255){continue}break}}Ve(q);c=9;if(m[h+300>>2]<=o>>>0){break a}e=g-n|0;if(!e){c=0;break a}g=He(r,e,f+28|0);c=j[f+28>>2];if(c){break a}c=Yr(q,j[h+308>>2]+n|0,g,e);j[f+28>>2]=c;if(c){break a}}d=j[h+316>>2]+(o<<3)|0;j[a+1364>>2]=j[d>>2];d=j[d+4>>2];j[a+1372>>2]=0;j[a+1368>>2]=d;i=j[h+304>>2]+p(o,252)|0;d=j[i+220>>2];j[a+1376>>2]=j[i+216>>2];j[a+1380>>2]=d;d=j[i+228>>2];c=a+1384|0;j[c>>2]=j[i+224>>2];j[c+4>>2]=d;d=j[i+236>>2];j[a+1392>>2]=j[i+232>>2];j[a+1396>>2]=d;d=j[i+4>>2];j[a+1360>>2]=d;if((d|0)>=0){qe[j[s+16>>2]](g,e,4330)}d=(d|0)>-1?d:0;u=f,v=qe[j[a+1484>>2]](a,d+g|0,e-d|0)|0,j[u+28>>2]=v;d=r;if(g){qe[j[d+8>>2]](d,g)}c=j[f+28>>2];if(c|!l){break a}if(!j[j[l>>2]+8>>2]){c=0;break a}e=j[a+32>>2];d=e+32768&-65536;if((e|0)<0){d=0-(32768-e&-65536)|0}j[f+12>>2]=0;j[f+8>>2]=d>>16;d=f;c=j[a+40>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+16>>2]=e>>16;c=j[a+44>>2];e=c+32768&-65536;if((c|0)<0){e=0-(32768-c&-65536)|0}j[d+20>>2]=e>>16;c=qe[j[j[l>>2]+8>>2]](j[l+4>>2],b,0,f+8|0)|0;j[a+32>>2]=j[f+8>>2]<<16;j[a+40>>2]=j[f+16>>2]<<16;j[a+44>>2]=j[f+20>>2]<<16}oe=f+32|0;return c|0}function AO(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=oe-48|0;oe=d;a:{if(!a){f=20;break a}if(!b){f=6;break a}if(i[a>>1]<1){break a}l=j[b+20>>2];m=j[b+16>>2];b:{while(1){p=i[j[a+12>>2]+(q<<1)>>1];if((p|0)<0){f=20;break a}h=j[a+4>>2];e=h+(r<<3)|0;n=j[e+4>>2];g=(j[e>>2]<>2]=g;s=(n<>2]=s;o=h+(p<<3)|0;h=j[o>>2];v=j[o+4>>2];f=j[d+36>>2];j[d+40>>2]=j[d+32>>2];j[d+44>>2]=f;t=j[a+8>>2];n=t+r|0;u=k[n|0]&3;c:{if((u|0)==3){break c}f=20;d:{switch(u-1|0){case 1:break a;case 0:break c;default:break d}}f=(v<>2]=f;j[d+32>>2]=h;o=o-8|0;break e}j[d+36>>2]=(f+s|0)/2;j[d+32>>2]=(h+g|0)/2}n=n-1|0;e=e-8|0}g=qe[j[b>>2]](d+32|0,c)|0;if(g){break b}f:{g:{if(e>>>0>>0){while(1){h=n+1|0;f=e+8|0;h:{i:{j:{switch(k[n+1|0]&3){case 1:j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break h;case 0:j[d+40>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>>0>>0){while(1){e=k[h+1|0];n=(j[f+8>>2]<>2]=n;g=(j[f+12>>2]<>2]=g;h=h+1|0;f=f+8|0;k:{e=e&3;l:{if(e){if((e|0)!=1){h=7;g=0;break i}g=qe[j[b+8>>2]](d+40|0,d+24|0,c)|0;if(g){break l}e=f;n=h;break h}j[d+16>>2]=(n+j[d+40>>2]|0)/2;j[d+20>>2]=(g+j[d+44>>2]|0)/2;g=qe[j[b+8>>2]](d+40|0,d+16|0,c)|0;if(!g){break k}}h=10;break i}e=j[d+28>>2];j[d+40>>2]=j[d+24>>2];j[d+44>>2]=e;if(f>>>0>>0){continue}break}}g=qe[j[b+8>>2]](d+40|0,d+32|0,c)|0;break g;default:break j}}h=7;g=0;if((k[n+2|0]&3)!=2|e+16>>>0>o>>>0){break i}j[d+24>>2]=(j[e+8>>2]<>2]=(j[e+12>>2]<>2]=(j[e+16>>2]<>2]=(j[e+20>>2]<>>0<=o>>>0){j[d+8>>2]=(j[e+24>>2]<>2]=(j[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(g){h=10;break i}n=n+3|0;e=f;break h}g=qe[j[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!h){break f}f=20;if((h|0)==7){break a}break b}if(e>>>0>>0){continue}break}}g=qe[j[b+4>>2]](d+32|0,c)|0}if(g){break b}r=p+1|0}q=q+1|0;if((q|0)>1]){continue}break}g=0}f=g}oe=d+48|0;return f|0}function _k(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}b=b?b:j[a+116>>2];o=b&255;m=!b|(b&-268435456)==268435456;if(!(o|!m)){ve(73484,0);break a}if(!(!m|(b>>>24&15)-1>>>0>2)){ve(73507,0);break a}if(!((e|0)>0?(d|0)>=1:0)){ve(73545,0);break a}f=j[a+184>>2];g=j[a+180>>2];b:{if(!(!f|(e|0)<=(f|0)?!((d|0)>(g|0)?g:0):0)){j[l+4>>2]=f;j[l>>2]=g;ve(73575,l);break b}h=Xe(1,88);if(!h){h=0;Be(0);break a}j[h+32>>2]=-1;j[h+16>>2]=e;j[h+12>>2]=d;j[h+8>>2]=c;j[h+4>>2]=b;j[h>>2]=268306;f=0;g=dg(73901);c:{if(!g){break c}if(!Me(g,73926)){break c}if(!Me(g,73934)){f=1;break c}if(!Me(g,73941)){f=2;break c}f=rf(g)}j[h+36>>2]=a;j[h+28>>2]=f;g=j[a+312>>2];j[h+84>>2]=g;if(g){j[g+80>>2]=h}j[a+312>>2]=h;n=j[a+112>>2];d:{e:{f:{g:{if(n){h:{while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break h}break}if((qe[j[a+16>>2]](a,h)|0)<=-1){break d}break a}if(m){break g}i=0;while(1){if(j[((i<<2)+a|0)+116>>2]!=(b|0)){i=i+1|0;if((n|0)!=(i|0)){continue}break f}break}f=b;break e}if(!m){break f}}f=b>>>24&15;i:{if(f-4>>>0<=2){f=(b>>>20&15)-3|0;g=0;if(f>>>0>=6){break i}g=j[(f<<2)+73984>>2];break i}g=0;if(f-7>>>0>4){break i}f=b>>>20&15;if(f>>>0<=6){g=1;if(1<>2];if(!((f&-268435456)!=268435456?f:0)){k=f>>>24&15;j:{if(k-4>>>0<=2){q=0;k=(f>>>20&15)-3|0;if(k>>>0>=6){break j}q=j[(k<<2)+73984>>2];break j}q=0;if(k-7>>>0>4){break j}k=(f>>>20&15)-2|0;if(k>>>0>=5){break j}q=j[(k<<2)+74008>>2]}if((g|0)==(q|0)){break e}}i=i+1|0;if((n|0)!=(i|0)){continue}break}}f=j[a+116>>2]}f=_k(a,f,c,d,e);j[h+40>>2]=f;if(!f){break d}g=j[h+84>>2];j[f+84>>2]=g;if(g){j[g+80>>2]=f}g=j[f+80>>2];j[h+80>>2]=g;if(g){j[g+84>>2]=h}j[f+80>>2]=h;j[h+84>>2]=f;j[a+312>>2]=h;a=j[h+4>>2];if(!(!a|(a&-268435456)==268435456)){a=vA(b,d,e);j[h+44>>2]=a;if(!a){break d}break a}if((c|0)!=1){break a}k:{if(m){break k}o=2;if((b|0)==844715353|(b|0)==1498831189){break k}o=(b|0)==1431918169?2:1}a=p(d,o)+3&-4;j[h+52>>2]=a;a=Xe(1,p(a,e));j[h+48>>2]=a;if(a){break a}}jh(h)}h=0}oe=l+16|0;return h}function XI(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;var n=0,o=0,q=0,r=0;n=oe-48|0;oe=n;o=2;a:{b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:e=j[a+104>>2];d:{if(!(qe[j[a+508>>2]](a,1128416340,e,n+44|0)|0)){break d}if(!(qe[j[a+508>>2]](a,1161970772,e,n+44|0)|0)){break d}o=qe[j[a+508>>2]](a,1650745716,e,n+44|0)|0;if(o){break a}}j[n+4>>2]=e;j[n>>2]=a;o=j[a+84>>2];i[n+16>>1]=0;j[n+12>>2]=g;j[n+8>>2]=o+76;j[n+20>>2]=j[e+8>>2];j[n+24>>2]=j[n+44>>2];g=j[a+724>>2];j[n+36>>2]=g;e=j[a+728>>2];j[n+40>>2]=e+g;o=3;b=p(b,48);if(e>>>0>>0){break a}b=b+g|0;g=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+28>>2]=q;g=k[b+16|0]|k[b+17|0]<<8|(k[b+18|0]<<16|k[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);j[n+32>>2]=g;h[n+18|0]=k[b+54|0];if(e>>>0>>0|g>>>0>e-q>>>3>>>0){break a}o=Cq(n,c,0,0);if(o){break a}if(!(d&1048576)){break b}o=0;break a;case 2:break c;default:break a}}i[g>>1]=0;i[g+2>>1]=0;b=j[a+724>>2]+(b<<2)|0;b=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);o=qe[j[a+508>>2]](a,1935829368,e,n)|0;if(o){break a}d=j[e+8>>2];if(m[a+16>>2]>>0){o=6;break a}f=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);g=f+d|0;q=g+4|0;d=0;while(1){b=j[n>>2];if(b>>>0<=f>>>0){o=3;break a}c=c<<2;if(c+12>>>0>b-f>>>0){o=3;break a}o=Fe(e,c+q|0);if(o){break a}o=_e(e,8);if(o){break a}b=Ff(e);c=Ff(e);Ve(e);if((b|0)==(c|0)){o=6;break a}if(b>>>0>c>>>0){o=3;break a}r=c-b|0;if(r>>>0<8){o=3;break a}o=3;if(c>>>0>j[n>>2]-f>>>0){break a}o=Fe(e,b+g|0);if(o){break a}o=_e(e,r);if(o){break a}af(e);af(e);b=Ff(e);if((b|0)!=1685418085){e:{if(!((b|0)==1785751328|(b|0)==1919378028)){o=7;if((b|0)!=1953064550){break e}}o=2}Ve(e);break a}if((d|0)==4){o=3;Ve(e);break a}c=af(e);Ve(e);d=d+1|0;if(m[a+16>>2]>=c>>>0){continue}break}o=6;break a}o=0;if(k[f+18|0]!=7){break a}b=j[j[a+84>>2]>>2];if(n){j[n>>2]=0;j[n+4>>2]=0;j[n+16>>2]=0;j[n+20>>2]=0;j[n+8>>2]=0;j[n+12>>2]=0}o=Ts(b,f,n);if(o){Ym(b,n);break a}h[f+18|0]=k[n+18|0];j[f+8>>2]=j[n+8>>2];i[f+16>>1]=l[n+16>>1];ms(j[a+84>>2],j[n+12>>2]);a=j[j[a+84>>2]+156>>2];j[a+4>>2]=j[a+4>>2]|1}oe=n+48|0;return o|0}function Lu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=oe-848|0;oe=c;j[c+556>>2]=0;g=j[a+992>>2];b=-1;a:{if(!g){break a}j[c+560>>2]=12324;b=j[a+328>>2];j[c+568>>2]=12323;j[c+564>>2]=b;b=j[a+332>>2];j[c+576>>2]=12322;j[c+572>>2]=b;j[c+580>>2]=j[a+336>>2];d=j[a+340>>2];b=6;b:{if(!d){break b}j[c+588>>2]=d;j[c+584>>2]=12321;b=8}d=j[a+348>>2];if(d){j[(c+560|0)+(b<<2)>>2]=12320;b=b|1;j[(c+560|0)+(b<<2)>>2]=d;b=b+1|0}f=b<<2;d=f+(c+560|0)|0;j[d>>2]=12325;j[d+4>>2]=j[a+344>>2];d=b+2|0;e=j[a+352>>2];if(e){j[(c+560|0)+(d<<2)>>2]=12326;j[(c+f|0)+572>>2]=e;d=b+4|0}e=j[a+380>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12338;j[b+4>>2]=e;d=d+2|0}e=j[a+384>>2];if(e){b=(c+560|0)+(d<<2)|0;j[b>>2]=12337;j[b+4>>2]=e;d=d+2|0}j[(c+560|0)+(d<<2)>>2]=12352;e=d+1|0;c:{if(j[a+404>>2]==4){b=j[a+392>>2];d:{if((b|0)>=3){if(qj(a,100479)){j[(c+560|0)+(e<<2)>>2]=64;break d}b=j[a+392>>2]}e=(c+560|0)+(e<<2)|0;if((b|0)>=2){j[e>>2]=4;break d}j[e>>2]=1}qe[j[j[a+992>>2]+112>>2]](12448)|0;break c}j[(c+560|0)+(e<<2)>>2]=8;qe[j[g+112>>2]](12450)|0}b=d+2|0;e=c+560|0;f=j[a+992>>2];if(j[f+20>>2]){j[(c+560|0)+(b<<2)>>2]=12339;j[((d<<2)+c|0)+572>>2]=j[f+20>>2];b=d+4|0}j[(b<<2)+e>>2]=12344;e:{if(!(qe[j[f+60>>2]](j[f+8>>2],c+560|0,c+32|0,128,c+556|0)|0)){break e}b=j[c+556>>2];if(!b){break e}f:{if((b|0)<1){break f}f=-1;while(1){b=j[a+992>>2];g:{if(j[b+32>>2]){qe[j[b+100>>2]](j[b+8>>2],j[(c+32|0)+(h<<2)>>2],12334,c+28|0)|0;if(j[j[a+992>>2]+32>>2]!=j[c+28>>2]){break g}}l=(c+32|0)+(h<<2)|0;d=0;b=0;while(1){e=b;b=b<<2;i=j[b+(c+560|0)>>2];if((i|0)!=12344){h:{if(i-12321>>>0>5){break h}g=(c+560|0)+(b|4)|0;if(j[g>>2]==-1){break h}b=j[a+992>>2];qe[j[b+100>>2]](j[b+8>>2],j[l>>2],i,c+816|0)|0;d=(j[c+816>>2]+d|0)-j[g>>2]|0}b=e+2|0;if(e>>>0<61){continue}}break}if(!((d|0)>=(f|0)?(f|0)!=-1:0)){j[j[a+992>>2]+12>>2]=j[l>>2];f=d}if(!d){break f}}h=h+1|0;if((h|0)>2]){continue}break}}b=0;break a}d=101268;b=c;e=qe[j[j[a+992>>2]+116>>2]]()|0;a=e-12288|0;if(a>>>0<=14){d=j[(a<<2)+101272>>2]}if(!k[d|0]){j[c+16>>2]=e;Ue(c+816|0,32,100323,c+16|0);d=c+816|0}j[b+8>>2]=d;j[c+4>>2]=100377;j[c>>2]=100502;b=ve(100328,c)}oe=c+848|0;return b}function $N(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;d=20;a:{if(!b){break a}if(!a){d=6;break a}d=0;j[a+64>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;if(i[b>>1]<1){break a}b:{while(1){o=i[j[b+12>>2]+(p<<1)>>1];c:{d:{if(q>>>0>=o>>>0){break d}g=j[b+4>>2];m=o<<3;n=g+m|0;e=g+(q<<3)|0;d=j[e+4>>2];f=j[e>>2];l=d;j[c+32>>2]=f;j[c+36>>2]=d;g=g+m|0;m=j[g+4>>2];r=j[g>>2];j[c+40>>2]=f;j[c+44>>2]=d;s=j[b+8>>2];g=s+q|0;t=k[g|0]&3;e:{if((t|0)==3){break e}d=20;f:{switch(t-1|0){case 1:break a;case 0:break e;default:break f}}g:{if((k[o+s|0]&3)==1){j[c+36>>2]=m;j[c+32>>2]=r;n=n-8|0;break g}j[c+36>>2]=(l+m|0)/2;j[c+32>>2]=(f+r|0)/2}g=g-1|0;e=e-8|0}h[a+20|0]=1;d=j[c+32>>2];l=j[c+36>>2];f=l;h[a+21|0]=0;j[a+8>>2]=d;j[a+12>>2]=f;l=j[a+48>>2];m=(l|0)!=0;h:{if(l){break h}}j[a+28>>2]=d;j[a+32>>2]=f;h[a+40|0]=m;j[a>>2]=0;i:{if(e>>>0>=n>>>0){break i}while(1){l=g+1|0;d=e+8|0;j:{k:{l:{m:{switch(k[g+1|0]&3){case 1:j[c+24>>2]=j[e+8>>2];j[c+28>>2]=j[e+12>>2];e=d;g=l;d=Wr(a,c+24|0);if(d){break a}break j;case 0:j[c+40>>2]=j[e+8>>2];j[c+44>>2]=j[e+12>>2];if(d>>>0>>0){while(1){f=k[l+1|0];m=j[d+12>>2];g=m;e=j[d+8>>2];j[c+24>>2]=e;j[c+28>>2]=g;l=l+1|0;d=d+8|0;n:{f=f&3;o:{if(f){if((f|0)!=1){l=5;f=0;break k}f=Bm(a,c+40|0,c+24|0);if(f){break o}e=d;g=l;break j}j[c+16>>2]=(e+j[c+40>>2]|0)/2;j[c+20>>2]=(g+j[c+44>>2]|0)/2;f=Bm(a,c+40|0,c+16|0);if(!f){break n}}l=6;break k}e=j[c+28>>2];j[c+40>>2]=j[c+24>>2];j[c+44>>2]=e;if(d>>>0>>0){continue}break}}f=Bm(a,c+40|0,c+32|0);break l;default:break m}}l=5;f=0;if((k[g+2|0]&3)!=2|e+16>>>0>n>>>0){break k}d=j[e+12>>2];j[c+24>>2]=j[e+8>>2];j[c+28>>2]=d;d=j[e+20>>2];j[c+16>>2]=j[e+16>>2];j[c+20>>2]=d;e=e+24|0;if(n>>>0>=e>>>0){d=j[e+4>>2];j[c+8>>2]=j[e>>2];j[c+12>>2]=d;f=Vr(a,c+24|0,c+16|0,c+8|0);if(f){l=6;break k}g=g+3|0;break j}f=Vr(a,c+24|0,c+16|0,c+32|0)}if(f){break b}break i}d=20;switch(l|0){case 5:break a;case 0:case 4:break c;default:break b}}if(e>>>0>>0){continue}break}}if(k[a+20|0]){break d}f=bO(a);if(f){break b}}q=o+1|0}p=p+1|0;if((p|0)>1]){continue}break}f=0}d=f}oe=c+48|0;return d}function vn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=oe-32|0;oe=h;a:{if(!(c?a:0)){d=ve(97833,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){d=ve(97793,0);break a}q=j[(b?b+12|0:a+12|0)>>2];u=j[(d?d+12|0:c+12|0)>>2];e=j[(d?d+8|0:c+8|0)>>2];i=j[(b?b+8|0:a+8|0)>>2];if(!((q|0)!=(u|0)|(e|0)!=(i|0))){d=gh(a,b,c,d);break a}g=+(q|0);m=+(u|0);l=+(i|0);s=+(e|0);b:{if(!d){f=+(u-1|0);k=+(e-1|0);break b}n=+j[d+4>>2];f=m+n+ -1;o=+j[d>>2];k=s+o+ -1}t=m/g;s=s/l;c:{if(!b){m=+(q-1|0);l=+(i-1|0);break c}e=j[b>>2];i=(e|0)<0;p=+(e|0);w=o-s*p;m=g;b=j[b+4>>2];g=+(b|0);m=m+g+ -1;l=l+p+ -1;q=j[a+8>>2];p=+(q|0);if(!(l>=p^1)){k=k-s*(l-p+1);l=+(q-1|0)}o=i?w:o;y=+(((e|0)>0?e:0)|0);n=(b|0)<0?n-t*g:n;z=+(((b|0)>0?b:0)|0);b=j[a+12>>2];g=+(b|0);if(g<=m^1){break c}f=f-t*(m-g+1);m=+(b-1|0)}x=+j[c+36>>2];p=k-x;w=+j[c+40>>2];k=0;g=o-x;d:{if(g<0^1){k=g;break d}y=y-g/s}b=j[c+44>>2];g=+(b|0);if(!(g<=p^1)){l=l-(p-g+1)/s;p=+(b-1|0)}o=f-w;g=0;f=n-w;e:{if(f<0^1){g=f;break e}z=z-f/t}b=j[c+48>>2];f=+(b|0);if(!(f<=o^1)){m=m-(o-f+1)/t;o=+(b-1|0)}b=h;f=y+.5;n=v(f);f:{if(r(n)<2147483648){e=~~n;break f}e=-2147483648}j[b+16>>2]=e;b=h;n=z+.5;t=v(n);g:{if(r(t)<2147483648){e=~~t;break g}e=-2147483648}j[b+20>>2]=e;e=h;l=v(l+1+.5);h:{if(r(l)<2147483648){b=~~l;break h}b=-2147483648}f=v(f);i:{if(r(f)<2147483648){i=~~f;break i}i=-2147483648}q=b-i|0;j[e+24>>2]=q;e=h;f=v(m+1+.5);j:{if(r(f)<2147483648){b=~~f;break j}b=-2147483648}f=v(n);k:{if(r(f)<2147483648){i=~~f;break k}i=-2147483648}u=b-i|0;j[e+28>>2]=u;b=h;k=k+x;f=v(k+.5);l:{if(r(f)<2147483648){e=~~f;break l}e=-2147483648}j[b>>2]=e;b=h;g=g+w;f=v(g+.5);m:{if(r(f)<2147483648){e=~~f;break m}e=-2147483648}j[b+4>>2]=e;e=h;k=v(p+x-k+1.5);n:{if(r(k)<2147483648){b=~~k;break n}b=-2147483648}j[e+8>>2]=b;i=h;k=v(o+w-g+1.5);o:{if(r(k)<2147483648){e=~~k;break o}e=-2147483648}j[i+12>>2]=e;if((b|0)<=-1){j[h+8>>2]=0;b=0}if((e|0)<=-1){j[h+12>>2]=0;e=0}if(d){i=j[h+4>>2];j[d>>2]=j[h>>2];j[d+4>>2]=i;i=j[h+12>>2];j[d+8>>2]=j[h+8>>2];j[d+12>>2]=i}d=0;if(!b|!e|((q|0)<1|(u|0)<1)){break a}d=sv(a,h+16|0,c,h)}oe=h+32|0;return d}function Dj(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=287310080;a:{b:{c:{d:{e:{f:{g:{switch(a-1|0){case 3:return 304088064;case 7:if(!b){return 318769153}if((b|0)!=224|(c|0)!=28|(d|0)!=3){break b}f=336660481;if(e){break b}break a;case 11:f=353504258;if(!b){break a}if((b|0)!=3840|(c|0)!=240|(e|(d|0)!=15)){break b}break a;case 14:if(b){break f}return 353570562;case 0:break a;case 31:break d;case 23:break e;case 15:break g;default:break b}}if(b){break f}return 353701890}a=(c|0)==992;g=a&(b|0)==31744&(d|0)==31;if(g){f=353570562;if(!e){break a}}a=a&(b|0)==31&(d|0)==31744;if(a){f=357764866;if(!e){break a}}if(!((b|0)!=3840|(c|0)!=240|(d|0)!=15)){f=355602434;if((e|0)==61440){break a}}if(!((b|0)!=61440|(c|0)!=3840|(d|0)!=240)){f=356651010;if((e|0)==15){break a}}if(!((b|0)!=15|(c|0)!=240|(d|0)!=3840)){f=359796738;if((e|0)==61440){break a}}if(!((b|0)!=240|(c|0)!=3840|(d|0)!=61440)){f=360845314;if((e|0)==15){break a}}f=355667970;if(g&(e|0)==32768){break a}if(!((b|0)!=63488|(c|0)!=1984|(d|0)!=62)){f=356782082;if((e|0)==1){break a}}f=359862274;if(a&(e|0)==32768){break a}if(!((b|0)!=62|(c|0)!=1984|(d|0)!=63488)){f=360976386;if((e|0)==1){break a}}f=353701890;if(!((b|0)!=63488|(c|0)!=2016|(d|0)!=31)){if(!e){break a}}if(!((b|0)!=31|(c|0)!=2016|(d|0)!=63488)){f=357896194;if(!e){break a}}if((b|0)!=63|(c|0)!=1984|(d|0)!=63488){break b}f=353701890;if(e){break b}break a}f=390076419;if(!b|(b|0)==16711680){break a}if((b|0)!=255){break c}return 386930691}if(b){break c}return 370546692}a=(b|0)==16711680&(c|0)==65280&(d|0)==255;if(a){f=370546692;if(!e){break a}}g=(b|0)==-16777216&(c|0)==16711680&(d|0)==65280;if(g){f=371595268;if(!e){break a}}h=(b|0)==255&(c|0)==65280&(d|0)==16711680;if(h){f=374740996;if(!e){break a}}i=(b|0)==65280&(c|0)==16711680&(d|0)==-16777216;if(i){f=375789572;if(!e){break a}}f=372645892;if(a&(e|0)==-16777216){break a}f=373694468;if(g&(e|0)==255){break a}f=376840196;if((e|0)==-16777216&h){break a}f=377888772;if((e|0)==255&i){break a}if((b|0)!=1072693248|(c|0)!=1047552|(d|0)!=1023){break b}f=372711428;if((e|0)==-1073741824){break a}}f=0}return f}function ly(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+56>>2];l=j[a+36>>2];b=j[a+20>>2];m=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+48>>2];if(f){if(!g){break a}n=e&7;i=(e+7|0)/8|0;b:while(1){e=i;c:{d:{switch(n-1|0){default:a=0;break c;case 0:a=7;break c;case 1:a=6;break c;case 2:a=5;break c;case 3:a=4;break c;case 4:a=3;break c;case 5:a=2;break c;case 6:break d}}a=1}while(1){e:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}c=c+1|0;b=b+1|0;a=7;continue;default:break e}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=k[a+f|0]}a=g-1|0;c=c+1|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+l|0;c=c+m|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}f=e&7;i=(e+7|0)/8|0;g:while(1){e=i;h:{i:{switch(f-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=1;continue;case 1:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=2;continue;case 2:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=3;continue;case 3:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=4;continue;case 4:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=5;continue;case 5:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=6;continue;case 6:a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}c=c+1|0;b=b+1|0;a=7;continue;default:break j}}a=k[c|0];if((a|0)!=(d|0)){h[b|0]=a}a=g-1|0;c=c+1|0;b=b+1|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+l|0;c=c+m|0;g=a;if(a){continue g}break a}a=0;continue}}}}function vH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=oe-16|0;oe=f;j[f+4>>2]=0;u=j[a+100>>2];g=u;q=j[a+676>>2];a:{if(!q){d=Vl(a,0);j[f+4>>2]=d;if(d){break a}q=j[a+676>>2]}t=j[q+8>>2];d=j[t>>2];s=xe(g,4,0,d,0,f+4|0);if(j[f+4>>2]){break a}e=b>>>0>d>>>0?d:b;if(e){b=j[t+12>>2];while(1){b:{d=o<<2;m=j[d+c>>2];p=j[b+12>>2];if((m|0)<=(p|0)){g=j[b+4>>2];if((g|0)<=(m|0)){break b}}j[f+4>>2]=6;break a}r=d+s|0;n=j[b+8>>2];c:{if((n|0)>(m|0)){d=0-De(m-n|0,g-n|0)|0;break c}d=0;if((n|0)==(p|0)){break c}d=De(m-n|0,p-n|0)}j[r>>2]=d;b=b+24|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}c=j[t>>2];if(c>>>0>e>>>0){b=e+1|0;Ee((e<<2)+s|0,0,(b>>>0>>0?c:b)-e<<2)}d:{if(k[q+16|0]){break d}e=j[a+104>>2];m=j[e+28>>2];n=j[a+676>>2];j[f+12>>2]=0;h[n+16|0]=1;b=qe[j[a+508>>2]](a,1635148146,e,f+8|0)|0;j[f+12>>2]=b;if(b){break d}b=_e(e,j[f+8>>2]);j[f+12>>2]=b;if(b){break d}b=Ff(e);o=Ff(e);e:{if((b|0)!=65536|(o|0)!=j[j[n+8>>2]>>2]){break e}b=xe(m,8,0,o,0,f+12|0);j[n+20>>2]=b;if(j[f+12>>2]|(o|0)<1){break e}c=0;while(1){f:{d=af(e);i[b>>1]=d;v=b,w=xe(m,8,0,d,0,f+12|0),j[v+4>>2]=w;if(j[f+12>>2]){break f}p=0;if(l[b>>1]){while(1){d=af(e);g=p<<3;j[g+j[b+4>>2]>>2]=d<<16>>16<<2;d=af(e);j[(g+j[b+4>>2]|0)+4>>2]=d<<16>>16<<2;p=p+1|0;if(p>>>0>1]){continue}break}}b=b+8|0;c=c+1|0;if((o|0)!=(c|0)){continue}break e}break}g:{if(!c){b=j[n+20>>2];break g}b=j[n+20>>2];while(1){d=c-1|0;g=d<<3;b=j[(g+b|0)+4>>2];if(b){qe[j[m+8>>2]](m,b)}b=j[n+20>>2];j[(g+b|0)+4>>2]=0;g=(c|0)>1;c=d;if(g){continue}break}}if(b){qe[j[m+8>>2]](m,b)}j[n+20>>2]=0}Ve(e)}r=j[t>>2];c=j[q+20>>2];h:{if(!c){break h}e=0;if(!r){r=0;break h}while(1){m=l[c>>1];i:{if(m>>>0<2){break i}g=(e<<2)+s|0;n=j[g>>2];q=j[c+4>>2];b=1;while(1){d=b<<3;o=d+q|0;p=j[o>>2];if((n|0)<(p|0)){m=g;g=d-8|0;d=g+q|0;b=j[d>>2];v=m,w=Ne(n-b|0,j[o+4>>2]-j[d+4>>2]|0,p-b|0)+j[(g+j[c+4>>2]|0)+4>>2]|0,j[v>>2]=w;r=j[t>>2];break i}b=b+1|0;if(m>>>0>b>>>0){continue}break}}c=c+8|0;e=e+1|0;if(e>>>0>>0){continue}break}}v=f,w=sq(a,r,s),j[v+4>>2]=w}if(s){qe[j[u+8>>2]](u,s)}oe=f+16|0;return j[f+4>>2]}function rs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;e=oe-48|0;oe=e;h=a+120|0;g=a+592|0;f=a+480|0;a:{while(1){b:{c:{d:{e:{b=j[a+88>>2];switch(b-3|0){case 1:break d;case 0:break e;default:break c}}c=j[a+72>>2];f:{if(j[a+4>>2]){if(!di(f,c+(j[a+96>>2]<<5)|0)){break f}break b}if(di(f,c)){break b}}Sk(f,g);j[a+88>>2]=4;j[a+112>>2]=0;j[a+116>>2]=0;j[a+104>>2]=0;j[a+108>>2]=0}l=j[j[j[a+72>>2]+28>>2]+3656>>2];i=-3;b=mg(h,e);if((b|0)==-1){break a}while(1){if((b|0)>=1){c=j[e+16>>2];d=j[e+20>>2];if(!aJ(g,e)){i=-129;if(Qi(f,0)){break a}Dn(f,g);b=Qi(f,0);o[a+112>>3]=o[a+112>>3]+ +(b<>3]=o[a+104>>3]+ +(j[e+4>>2]<<3);i=1;if(j[e+12>>2]|(c|0)==-1&(d|0)==-1){break a}g:{if(!j[a+4>>2]){h=0;break g}h=j[a+96>>2];if((h|0)<1){break g}b=c;g=j[a+68>>2]+(h<<4)|0;m=j[g>>2];c=b-m|0;d=d-(j[g+4>>2]+(b>>>0>>0)|0)|0}b=(d|0)>0?1:(d|0)>=0?!!c:0;g=b?c:0;f=Qi(f,0)<>31)+(g>>>0>>0)|0)|0;if((h|0)>=1){g=j[a+68>>2];b=0;while(1){l=g+(b<<4|8)|0;f=c+j[l>>2]|0;d=j[l+4>>2]+d|0;d=c>>>0>f>>>0?d+1|0:d;c=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}}j[a+80>>2]=c;j[a+84>>2]=d;break a}b=mg(h,e);if((b|0)!=-1){continue}break a}break}b=j[a+88>>2]}h:{i:{j:{if((b|0)>=2){k:{l:{while(1){i=-2;Qf(a,e+32|0,-1,-1);if((pe|0)<0){break a}o[a+104>>3]=o[a+104>>3]+ +(j[e+36>>2]<<3);b=j[a+88>>2];if((b|0)!=4){break k}c=j[e+32>>2];if(j[a+92>>2]==(k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))){break l}if(!(k[j[e+32>>2]+5|0]&2)){continue}break}wg(f);Yg(g);j[a+88>>2]=2;if(j[a+4>>2]){break j}Li(j[a+72>>2]);Mi(j[a+76>>2])}b=j[a+88>>2];if((b|0)==4){break h}}if((b|0)>2){break h}}if(!j[a+4>>2]){break i}}c=j[e+32>>2];c=k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24);d=j[a+52>>2];m:{if((d|0)<1){b=0;break m}i=j[a+64>>2];b=0;while(1){if((c|0)==j[(b<<2)+i>>2]){break m}b=b+1|0;if((d|0)>(b|0)){continue}break}}if((b|0)==(d|0)){continue}j[a+96>>2]=b;j[a+92>>2]=c;ph(h,c);j[a+88>>2]=3;break h}i=Dk(a,j[a+72>>2],j[a+76>>2],0,0,e+32|0);if(i){break a}j[a+92>>2]=j[a+456>>2];j[a+96>>2]=j[a+96>>2]+1}Ng(h,e+32|0);continue}break}i=-137}oe=e+48|0;return i}function qk(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe+ -64|0;oe=h;g=j[b>>2];j[h>>2]=g;j[h+4>>2]=j[c>>2];p=k[e+9|0];q=p?10:9;m=a+8|0;while(1){r=(n<<2)+h|0;j[r+8>>2]=g;if(k[e+n|0]){a:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){o=0;l=j[a+4>>2];if(!l|j[l>>2]){break a}j[l>>2]=130;g=j[r+8>>2];break a}b:{c:{d:{l=(i<<3)+a|0;switch(j[l+12>>2]-1|0){case 0:break c;case 1:break d;default:break b}}o=j[l+8>>2]<<16;break a}l=j[l+8>>2];if((l|0)<=-1){o=0-(8192-l>>14)|0;break a}o=l- -8192>>14;break a}o=j[l+8>>2]}j[r+8>>2]=g+o;i=i+1|0}n=n+1|0;if((q|0)!=(n|0)){g=j[(n<<2)+h>>2];continue}break}if(!p){j[h+44>>2]=j[c>>2]}q=h;e:{f:{if(f){e=j[h+44>>2]-j[c>>2]|0;f=e>>31;f=f^e+f;e=j[h+40>>2]-j[b>>2]|0;g=e>>31;e=g^e+g;g:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;g=j[a+4>>2];if(!g|j[g>>2]){break g}j[g>>2]=130;break g}h:{i:{j:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=j[g+8>>2]<<16;break g}g=j[g+8>>2];if((g|0)<=-1){i=0-(8192-g>>14)|0;break g}i=g- -8192>>14;break g}i=j[g+8>>2]}if((e|0)>(f|0)){g=j[h+40>>2]+i|0;j[h+48>>2]=g;break f}g=j[b>>2];j[h+48>>2]=g;e=j[h+44>>2]+i|0;break e}f=h;k:{if(k[e+10|0]){p=j[h+40>>2];l:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){g=0;l=j[a+4>>2];if(!l|j[l>>2]){break l}j[l>>2]=130;break l}m:{n:{o:{g=(i<<3)+a|0;switch(j[g+12>>2]-1|0){case 0:break n;case 1:break o;default:break m}}g=j[g+8>>2]<<16;break l}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break l}g=g- -8192>>14;break l}g=j[g+8>>2]}i=i+1|0;g=g+p|0;break k}g=j[b>>2]}j[f+48>>2]=g;if(!k[e+11|0]){break f}e=j[h+44>>2];p:{if(j[a+392>>2]-m>>3>>>0<=i>>>0){i=0;f=j[a+4>>2];if(!f|j[f>>2]){break p}j[f>>2]=130;g=j[h+48>>2];break p}q:{r:{s:{f=(i<<3)+a|0;switch(j[f+12>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=j[f+8>>2]<<16;break p}f=j[f+8>>2];if((f|0)<=-1){i=0-(8192-f>>14)|0;break p}i=f- -8192>>14;break p}i=j[f+8>>2]}e=e+i|0;break e}e=j[c>>2]}j[q+52>>2]=e;Oh(d,j[h+8>>2],j[h+12>>2],j[h+16>>2],j[h+20>>2],j[h+24>>2],j[h+28>>2]);Oh(d,j[h+32>>2],j[h+36>>2],j[h+40>>2],j[h+44>>2],g,e);j[a+392>>2]=m;j[b>>2]=g;j[c>>2]=e;oe=h- -64|0}function km(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,i=0,k=0,l=0,m=0,n=0,o=0,q=0;a:{if(j[a+204>>2]==(d|0)?j[a+200>>2]==(b|0):0){break a}j[a+200>>2]=b;j[a+204>>2]=d;d=j[a+4>>2];if(!d){break a}i=ye(j[a+8>>2],b);j[a+12>>2]=i;j[a+16>>2]=i+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){k=ye(j[d>>2],b);l=j[a+12>>2];g=k-l|0;i=g>>31;i=(i^i+g)<128?l:k;j[d+4>>2]=i;j[d+8>>2]=i+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(j[a+408>>2]==(e|0)?j[a+404>>2]==(c|0):0){break b}j[a+404>>2]=c;j[a+408>>2]=e;b=j[a+208>>2];c:{if(!b){break c}d=ye(j[a+212>>2],c);j[a+216>>2]=d;j[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){i=ye(j[d>>2],c);k=j[a+216>>2];l=i-k|0;b=l>>31;b=(b^b+l)<128?k:i;j[d+4>>2]=b;j[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}h[a+2492|0]=(c|0)<=34359737?(p(c,125)|0)>2]<<3:0;d=j[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((ye(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}b=a+412|0;j[a+2484>>2]=d;i=a+1960|0;k=a+928|0;l=a+1444|0;f=0;while(1){d=b;e:{f:{switch(f|0){case 1:d=k;break e;case 2:d=l;break e;case 0:break e;default:break f}}d=i}g=j[d>>2];if(g){d=d+4|0;while(1){o=d,q=ye(j[d+8>>2],c)+e|0,j[o+28>>2]=q;o=d,q=ye(j[d+12>>2],c)+e|0,j[o+24>>2]=q;o=d,q=ye(j[d>>2],c)+e|0,j[o+16>>2]=q;o=d,q=ye(j[d+4>>2],c),j[o+20>>2]=q;j[d+16>>2]=j[d+16>>2]+32&-64;d=d+32|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((f|0)!=4){continue}break}g=j[b>>2];if(g){b=a+1448|0;f=a+416|0;while(1){e=j[l>>2];g:{if(!e){break g}d=b;while(1){m=j[f>>2]-j[d>>2]|0;n=m>>31;if((ye(n^n+m,c)|0)<=63){j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2];break g}d=d+32|0;e=e-1|0;if(e){continue}break}}f=f+32|0;g=g-1|0;if(g){continue}break}}g=j[k>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){e=j[i>>2];h:{if(!e){break h}d=b;while(1){k=j[f>>2]-j[d>>2]|0;a=k>>31;if((ye(a^a+k,c)|0)>=64){d=d+32|0;e=e-1|0;if(e){continue}break h}break}j[f+28>>2]=j[d+28>>2];j[f+24>>2]=j[d+24>>2];j[f+16>>2]=j[d+16>>2];j[f+20>>2]=j[d+20>>2]}f=f+32|0;g=g-1|0;if(g){continue}break}}}function on(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{g=b&2;if(!g){break b}c=j[67085];if(j[c+180>>2]){break b}j[f+32>>2]=j[c>>2];c=ve(98291,f+32|0);break a}d=j[a+48>>2];qn(a);c=j[a+108>>2];if(c){j[c>>2]=j[c>>2]&-5;kf(c);j[a+108>>2]=0;j[a+112>>2]=0}c=j[67085];e=j[c+144>>2];if(e){qe[e|0](c,a);c=j[67085]}h=d&2048;c:{if(h){break c}d=j[c+132>>2];if(!d){break c}qe[d|0](c,a)}d:{e:{if((g|0)!=(j[a+48>>2]&2)){c=j[67085];if(g){f:{if(!c){e=ve(99429,0);break f}g:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f+16>>2]=j[c>>2];e=ve(98744,f+16|0);break f}e=qe[d|0](c,0)|0;c=j[67085];if(e){break g}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break f}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}if(!c){ve(99429,0);d=1;break d}d=1;e=j[c+432>>2];if((e|0)<1){break d}j[c+432>>2]=e-1;if((e|0)!=1){break d}e=j[c+176>>2];if(!e){break d}qe[e|0](c);break d}d=1;if(!g){break d}c=j[67085];h:{if(!c){ve(99429,0);break h}d=j[c+432>>2];if((d|0)<1){break h}j[c+432>>2]=d-1;if((d|0)!=1){break h}d=j[c+176>>2];if(!d){break h}qe[d|0](c)}c=j[67085];i:{if(!c){e=ve(99429,0);break i}j:{d=j[c+432>>2];if(!d){d=j[c+168>>2];if(!d){j[f>>2]=j[c>>2];e=ve(98744,f);break i}e=qe[d|0](c,0)|0;c=j[67085];if(e){break j}d=j[c+432>>2]}break e}d=j[c+176>>2];if(!d){break i}qe[d|0](c)}d=0;if((e|0)>=0){break d}c=-1;break a}j[c+432>>2]=d+1;d=0}c=j[a+48>>2]&268435456;if((c|0)!=(b&268435456)){ve(98583,0);c=-1;break a}if(!(!g|!c)){ve(98509,0);c=-1;break a}j[a+120>>2]=0;c=b&269459570|8;j[a+52>>2]=c;j[a+48>>2]=c;k:{if(h){break k}e=j[67085];g=j[e+36>>2];if(!g){break k}c=-1;if((qe[g|0](e,a)|0)>-1){break k}if(d){break a}b=j[67085];l:{if(!b){ve(99429,0);break l}d=j[b+432>>2];if((d|0)<1){break l}j[b+432>>2]=d-1;if((d|0)!=1){break l}d=j[b+176>>2];if(!d){break l}qe[d|0](b)}j[a+48>>2]=j[a+48>>2]&-3;break a}if(h){j[a+48>>2]=j[a+48>>2]|2048}c=j[67085];d=j[c+44>>2];if(!(!d|!j[a+8>>2])){qe[d|0](c,a);c=j[67085]}d=j[c+48>>2];m:{if(!d){break m}e=j[a+12>>2];if(!e){break m}qe[d|0](c,a,e)}if(j[a+132>>2]){qe[j[j[67085]+284>>2]](a,1)|0}rn(a,b&-2049|h);c=0}oe=f+48|0;return c}function Um(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=oe-16|0;oe=s;e=Zh(a,d);a:{if(e){break a}Ii(a,b,c,d);f=j[a+2988>>2];o=j[a>>2];b=p(d,1468)+a|0;n=b;j[b+56>>2]=0;q=b+44|0;c=j[q>>2];b=j[b+52>>2];m=j[(d?12:4)+a>>2];if(!d){g=De(64,j[a+12>>2])}f=ye(j[(f+p(d,1572)|0)+248>>2],m);t=De((f|0)<16?f:16,m);if((c|0)>=1){u=p(c,48)+b|0;w=p(g,3);v=(p(d,1468)+a|0)- -64|0;while(1){c=i[b+8>>1];b:{if((c|0)<(g|0)|(j[b+24>>2]?(w|0)>c<<1:0)){break b}c:{r=j[n+56>>2];d:{if((r|0)<=0){f=i[b+2>>1];break d}f=i[b+2>>1];y=j[v>>2];e=0;while(1){c=p(e,48)+y|0;x=f-i[c>>1]|0;l=x>>31;if(k[c+13|0]==k[b+1|0]?(t|0)>(l^l+x):0){break c}e=e+1|0;if((r|0)!=(e|0)){continue}break}}e=qs(q,f,h[b+1|0],o,s+12|0);if(e){break a}c=j[s+12>>2];j[c+44>>2]=b;j[c+40>>2]=b;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;h[c+13|0]=k[b+1|0];f=i[b+2>>1];i[c>>1]=f;f=ye(f,m);j[c+8>>2]=f;j[c+4>>2]=f;j[b+16>>2]=b;break b}j[b+16>>2]=j[c+40>>2];j[j[c+44>>2]+16>>2]=b;j[c+44>>2]=b}b=b+48|0;if(u>>>0>b>>>0){continue}break}}b=j[n+56>>2];if((b|0)>=1){g=j[(p(d,1468)+a|0)- -64>>2];q=g+p(b,48)|0;b=g;while(1){a=j[b+40>>2];e=a;if(a){while(1){j[e+12>>2]=b;e=j[e+16>>2];if((a|0)!=(e|0)){continue}break}}b=b+48|0;if(q>>>0>b>>>0){continue}break}while(1){m=g+28|0;d=g+24|0;t=j[g+40>>2];e=t;c=0;n=0;while(1){u=h[e|0]&1;w=u^1;e:{f:{g:{h:{f=j[e+24>>2];if(f){a=j[f+12>>2];l=(a|0)!=0&(a|0)!=(g|0);b=j[e+20>>2];if(!b){break h}if(!(l|j[b+12>>2]!=0)){break e}o=0;a=d;if(l){break g}break f}b=j[e+20>>2];if(!b){break e}o=0;a=d;if(j[b+12>>2]){break f}break e}if(!l){break e}}o=1;b=f;a=m}a=j[a>>2];i:{if(a){v=i[e+2>>1]-i[b+2>>1]|0;f=v>>31;r=i[g>>1]-i[a>>1]|0;l=r>>31;if((f^f+v)>=(l^l+r)){break i}}a=j[b+12>>2]}if(o){j[m>>2]=a;h[a+12|0]=k[a+12|0]|2;break e}j[d>>2]=a}c=c+u|0;n=n+w|0;e=j[e+16>>2];if((t|0)!=(e|0)){continue}break}h[g+12|0]=(c|0)!=0&c>>>0>=n>>>0;if(!(!j[g+28>>2]|!j[d>>2])){j[m>>2]=0}g=g+48|0;if(q>>>0>g>>>0){continue}break}}e=0}oe=s+16|0;return e}function Pq(a,b,c,d,e,f,g){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j[a+180>>2]=f;t=a+180|0;j[a+52>>2]=t;n=j[a+72>>2];j[a+204>>2]=j[a+68>>2];j[a+208>>2]=n;j[a+200>>2]=c;j[a+196>>2]=b;j[a+192>>2]=e;j[a+188>>2]=d;j[a+184>>2]=g;g=t;while(1){p=j[g+12>>2];s=j[g+20>>2];b=(p|0)<(s|0);n=j[g+4>>2];e=j[g+28>>2];o=(n|0)<(e|0);a:{if(!(((b?s:p)|0)<=((o?e:n)|0)?((b?p:s)|0)>=((o?n:e)|0):0)){b=j[g+24>>2];j[g+48>>2]=b;j[g+52>>2]=e;c=(e+s|0)+1>>1;j[g+44>>2]=c;d=p+1|0;e=d+n>>1;j[g+12>>2]=e;o=j[g+8>>2]+1|0;p=o+f>>1;j[g+8>>2]=p;r=b;b=j[g+16>>2];q=(r+b|0)+1>>1;j[g+40>>2]=q;r=c;c=(d+s>>1)+1|0;d=r+c>>1;j[g+36>>2]=d;c=c+e>>1;j[g+20>>2]=c;b=(b+o>>1)+1|0;e=b+p>>1;j[g+16>>2]=e;b=b+q>>1;j[g+32>>2]=b;j[g+28>>2]=(c+d|0)+1>>1;j[g+24>>2]=(b+e|0)+1>>1;j[a+52>>2]=g+24;break a}if((e|0)==(n|0)){j[a+52>>2]=g-24;break a}u=o?2:1;c=j[a+100>>2];if((u|0)!=(c|0)){b=j[a+4>>2];d=o?e&b-1:((b+e|0)-1&0-b)-e|0;r=j[a+8>>2];if(c){b=j[a+40>>2];q=j[a+88>>2];c=b-j[q+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}b:{if(!c){c=b;break b}j[q+16>>2]=c>>2;if((d|0)>=(r|0)){c=l[q+12>>1];i[q+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[q+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}c:{if(j[a+92>>2]){c=j[a+40>>2];break c}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;d:{if(!o){i[b+12>>1]=c|8;if((d|0)<(r|0)){break d}i[b+12>>1]=c|40;break d}if((d|0)<(r|0)){break d}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=u}b=j[a+80>>2];c=j[a+76>>2];if(!o){if(!mk(a,3,800,c,b)){break a}return 1}j[g+28>>2]=0-e;j[g+20>>2]=0-s;j[g+12>>2]=0-p;j[g+4>>2]=0-n;d=k[a+86|0];b=mk(a,3,800,0-b|0,0-c|0);if(!(k[a+86|0]|!d)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[g+4>>2]=0-j[g+4>>2];if(!b){break a}return 1}g=j[a+52>>2];if(t>>>0<=g>>>0){f=j[g>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=f;return 0}function rH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=q(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=j[a+64>>2];s=j[d+104>>2];l=j[d+4>>2];t=j[l+28>>2];u=j[t+(j[a+28>>2]<<2)>>2];j[a+36>>2]=u;w=oe;e=j[l+4>>2];d=(e<<2)+15&-16;h=w-d|0;c=h;oe=c;r=c-d|0;c=r;oe=c;f=c-d|0;c=f;oe=c;v=c-d|0;oe=v;if((e|0)>=1){g=b+1028|0;i=b+4|0;m=u<<1&2147483646;d=0;while(1){e=d<<2;c=j[g+(j[e+i>>2]<<2)>>2]<<2;c=qe[j[j[(j[(c+t|0)+800>>2]<<2)+3816>>2]+20>>2]](a,j[c+j[s+48>>2]>>2])|0;j[e+v>>2]=c;j[e+f>>2]=(c|0)!=0;Ee(j[e+j[a>>2]>>2],0,m);d=d+1|0;e=j[l+4>>2];if((d|0)<(e|0)){continue}break}}d=j[b+1156>>2];if((d|0)>=1){i=b+2184|0;m=b+1160|0;c=0;while(1){k=c<<2;g=j[k+i>>2];k=f+(j[m+k>>2]<<2)|0;if(!(j[f+(g<<2)>>2]?0:!j[k>>2])){j[k>>2]=1;j[f+(g<<2)>>2]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(j[b>>2]>=1){m=b+1092|0;k=b+4|0;d=0;while(1){c=0;g=0;if((e|0)>=1){while(1){i=c<<2;if(j[i+k>>2]==(d|0)){e=g<<2;j[e+r>>2]=j[f+i>>2]!=0;j[e+h>>2]=j[i+j[a>>2]>>2];g=g+1|0;e=j[l+4>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[m+(d<<2)>>2]<<2;qe[j[j[(j[(e+t|0)+1312>>2]<<2)+3824>>2]+28>>2]](a,j[e+j[s+52>>2]>>2],h,r,g)|0;d=d+1|0;if((d|0)>2]){e=j[l+4>>2];continue}break}d=j[b+1156>>2]}if((d|0)>=1){r=(u|0)/2|0;i=b+2184|0;m=b+1160|0;g=j[a>>2];while(1){e=d;d=d-1|0;if((u|0)>=2){c=d<<2;k=j[g+(j[c+i>>2]<<2)>>2];x=j[g+(j[c+m>>2]<<2)>>2];c=0;while(1){h=c<<2;f=h+k|0;p=n[f>>2];h=h+x|0;o=n[h>>2];a:{if(!(o>q(0)^1)){if(!(p>q(0)^1)){n[f>>2]=o-p;break a}n[f>>2]=o;n[h>>2]=o+p;break a}if(!(p>q(0)^1)){n[f>>2]=o+p;break a}n[f>>2]=o;n[h>>2]=o-p}c=c+1|0;if((r|0)!=(c|0)){continue}break}}if((e|0)>1){continue}break}}b:{if(j[l+4>>2]<1){break b}d=b+1028|0;e=b+4|0;c=0;while(1){b=c<<2;f=j[d+(j[b+e>>2]<<2)>>2]<<2;qe[j[j[(j[(f+t|0)+800>>2]<<2)+3816>>2]+24>>2]](a,j[f+j[s+48>>2]>>2],j[b+v>>2],j[b+j[a>>2]>>2])|0;c=c+1|0;b=j[l+4>>2];if((c|0)<(b|0)){continue}break}if((b|0)<1){break b}c=0;while(1){b=j[j[a>>2]+(c<<2)>>2];RK(j[j[((j[a+28>>2]<<2)+s|0)+12>>2]>>2],b,b);c=c+1|0;if((c|0)>2]){continue}break}}oe=w;return 0}function Gg(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((a|0)<=370546691){if((a|0)<=355602433){if((a|0)<=318769152){if((a|0)<=303039487){b=96088;if((a|0)==286261504){break a}if((a|0)!=287310080){break b}return 96114}if((a|0)==303039488){break w}if((a|0)!=304088064){break b}return 96166}if((a|0)<=353504257){if((a|0)==318769153){break v}if((a|0)!=336660481){break b}return 96215}if((a|0)==353504258){break u}if((a|0)==353570562){break t}if((a|0)!=353701890){break b}return 96507}if((a|0)<=357896193){if((a|0)<=356651009){if((a|0)==355602434){break s}if((a|0)!=355667970){break b}return 96407}if((a|0)==356651010){break r}if((a|0)==356782082){break p}if((a|0)!=357764866){break b}return 96284}if((a|0)<=359862273){if((a|0)==357896194){break n}if((a|0)!=359796738){break b}return 96357}if((a|0)==359862274){break o}if((a|0)==360845314){break q}if((a|0)!=360976386){break b}return 96482}if((a|0)<=386930690){if((a|0)<=373694467){if((a|0)<=372645891){if((a|0)==370546692){break k}if((a|0)!=371595268){break b}return 96620}if((a|0)==372645892){break i}if((a|0)!=372711428){break b}return 96793}if((a|0)<=375789571){if((a|0)==373694468){break h}if((a|0)!=374740996){break b}return 96645}if((a|0)==375789572){break j}if((a|0)==376840196){break g}if((a|0)!=377888772){break b}return 96768}if((a|0)<=844715352){if((a|0)<=842094157){if((a|0)==386930691){break m}if((a|0)==390076419){break l}if((a|0)!=825382478){break b}return 96947}switch(a-842094158|0){case 0:break c;case 11:break f;default:break b}}if((a|0)<=1448433992){if((a|0)==844715353){break d}if((a|0)!=1431918169){break b}return 96905}if((a|0)==1448433993){break e}if((a|0)!=1498831189){break b}return 96884}return 96140}return 96192}return 96238}return 96261}return 96307}return 96332}return 96382}return 96432}return 96457}return 96530}return 96553}return 96575}return 96597}return 96668}return 96693}return 96718}return 96743}return 96821}return 96842}return 96863}return 96926}b=96968}return b}function Bq(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=oe-16|0;oe=c;d=j[a+104>>2];b=qe[j[a+508>>2]](a,1886352244,d,c+4|0)|0;a:{if(b){break a}f=j[d+8>>2];p=j[c+4>>2];e=j[a+468>>2];b=xf(d,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=163840){b=3;if((e|0)!=131072){break b}e=j[d+28>>2];k=qf(d,c+8|0);b=j[c+8>>2];if(b){break b}b=3;if(k>>>0>l[a+264>>1]){break b}r=xe(e,2,0,k,0,c+8|0);if(j[c+8>>2]){break c}b=_e(d,k<<1);j[c+8>>2]=b;if(b){break c}if(!k){break f}b=0;while(1){u=r+(b<<1)|0,v=af(d),i[u>>1]=v;b=b+1|0;if((k|0)!=(b|0)){continue}break}Ve(d);b=0;while(1){n=l[r+(g<<1)>>1];q=n-257|0;b=n>>>0>257?(q|0)>(b&65535)?q:b:b;g=g+1|0;if((k|0)!=(g|0)){continue}break}break d}k=j[d+28>>2];e=qf(d,c+12|0);b=j[c+12>>2];if(b){break b}b=3;if(e>>>0>258|e>>>0>l[a+264>>1]){break b}g=xe(k,1,0,e,0,c+12|0);g:{if(j[c+12>>2]){break g}b=uf(d,g,e);j[c+12>>2]=b;if(b){break g}if(!e){break e}b=0;while(1){if(e>>>0>=h[b+g|0]+b>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}j[c+12>>2]=3}if(g){qe[j[k+8>>2]](k,g)}b=j[c+12>>2];break b}Ve(d);b=0;break d}j[a+620>>2]=g;i[a+616>>1]=e;b=0;break b}n=0;q=b&65535;g=xe(e,4,0,q,0,c+8|0);if(j[c+8>>2]){break c}h:{i:{if(!q){break i}p=f+p|0;while(1){if(p>>>0<=m[d+8>>2]){d=n&65535;f=b&65535;if(d>>>0>=f>>>0){break i}while(1){n=xe(e,1,0,1,0,c+8|0);j[(d<<2)+g>>2]=n;if(j[c+8>>2]){break h}h[n|0]=0;d=d+1|0;if((f|0)!=(d&65535)){continue}break}break i}f=hg(d,c+8|0);if(j[c+8>>2]){break h}s=(n<<2)+g|0;t=s;o=e;f=f&255;if(!(m[d+8>>2]<=p-f>>>0?p>>>0>=f>>>0:0)){f=p-j[d+8>>2]|0;f=(f|0)>0?f:0}o=xe(o,1,0,f+1|0,0,c+8|0);j[t>>2]=o;if(j[c+8>>2]){break h}o=uf(d,o,f);j[c+8>>2]=o;if(o){break h}h[j[s>>2]+f|0]=0;n=n+1|0;if((q|0)!=(n|0)){continue}break}}j[a+624>>2]=g;j[a+620>>2]=r;i[a+618>>1]=b;i[a+616>>1]=k;b=0;break b}d=((b&65535)>>>0>1?b:1)&65535;b=0;while(1){k=(b<<2)+g|0;f=j[k>>2];if(f){qe[j[e+8>>2]](e,f)}j[k>>2]=0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(g){qe[j[e+8>>2]](e,g)}if(r){qe[j[e+8>>2]](e,r)}b=j[c+8>>2]}h[a+612|0]=1}oe=c+16|0;return b}function zn(a,b,c,d,e){var f=0,g=0,h=0,i=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,x=0;o=oe-80|0;oe=o;a:{if(!a){j[o>>2]=97402;ve(97352,o);break a}if(!b){j[o+16>>2]=97407;ve(97352,o+16|0);break a}if(!c){j[o+32>>2]=97410;ve(97352,o+32|0);break a}if(!d){j[o+48>>2]=97413;ve(97352,o+48|0);break a}if(!e){j[o+64>>2]=97416;ve(97352,o- -64|0);break a}h=j[a+8>>2];if((h|0)<1){break a}s=j[a+12>>2];if((s|0)<1){break a}m=j[a>>2];t=h+m|0;i=j[d>>2];g=j[b>>2];k=j[e>>2];n=j[a+4>>2];r=s+n|0;a=(k|0)>=(r|0);f=j[c>>2];b:{c:{if(a|(r|0)<=(f|0)|((g|0)<(m|0)|(i|0)>=(t|0))){break c}if((i|0)<(m|0)|(g|0)>=(t|0)|(f|0)<(n|0)){break c}if((k|0)>=(n|0)){break b}}if(a&(f|0)>=(r|0)){break a}w=(k|0)<(n|0);a=(f|0)<(n|0);if(w&a){break a}x=(i|0)<(m|0);h=(g|0)<(m|0);if(x&h){break a}q=(g|0)<(t|0);u=(i|0)<(t|0);if(!(q|u)){break a}s=t-1|0;if((f|0)==(k|0)){if(!(q?!h:0)){j[b>>2]=h?m:s}if((i|0)<(m|0)){j[d>>2]=m;break b}if(u){break b}j[d>>2]=s;break b}v=r-1|0;if((g|0)==(i|0)){if(!((f|0)<(r|0)?!a:0)){j[c>>2]=a?n:v}if((k|0)<(n|0)){j[e>>2]=n;break b}if((k|0)<(r|0)){break b}j[e>>2]=v;break b}a=a?2:(f|0)>=(r|0);l=h?a|4:q?a:a|8;a=w?2:(k|0)>=(r|0);q=x?a|4:u?a:a|8;if(l|q){u=!l;a=0;h=0;while(1){if(l&q){l=0;break a}d:{e:{if(!u){f:{g:{if(l&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break g}h:{if(l&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break h}if(l&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break h}if(!(l&8)){break h}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}f=2;if((h|0)<(n|0)){break f}}f=(h|0)>=(r|0)}if((a|0)<(m|0)){l=f|4;break e}l=(a|0)<(t|0)?f:f|8;break e}i:{j:{if(q&2){a=((p(i-g|0,n-f|0)|0)/(k-f|0)|0)+g|0;h=n;break j}k:{if(q&1){a=((p(i-g|0,v-f|0)|0)/(k-f|0)|0)+g|0;h=v;break k}if(q&4){h=((p(m-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=m;break k}if(!(q&8)){break k}h=((p(s-g|0,k-f|0)|0)/(i-g|0)|0)+f|0;a=s}i=2;if((h|0)<(n|0)){break i}}i=(h|0)>=(r|0)}q=(a|0)<(m|0)?i|4:(a|0)<(t|0)?i:i|8;l=0;i=a;k=h;break d}f=h;g=a}u=!l;if(l|q){continue}break}}j[b>>2]=g;j[c>>2]=f;j[d>>2]=i;j[e>>2]=k}l=1}oe=o+80|0;return l}function RE(a,b,c){var d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=0,r=0,s=0;d=oe-1280|0;oe=d;a:{b:{c:{d:{e:{e=j[a+208>>2];if(e&1){if(e&6){Ie(a,c);Je(a,211051);break a}if(c>>>0<=8){Ie(a,c);Je(a,211210);break a}e=l[a+898>>1];if(e&32768){Ie(a,c);break a}g=211192;if(e&4){break c}n=a+824|0;f=c>>>0<81?c:81;pf(a,d+1184|0,f);tf(a,d+1184|0,f);c=c-f|0;j[d+1276>>2]=c;h=f-1>>>0<79?f:80;e=0;f:{while(1){if(!k[(d+1184|0)+e|0]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}e=h}g=211289;if(e-1>>>0>78){break c}g=211266;q=e+1|0;if(f>>>0<=q>>>0|k[(d+1184|0)+q|0]){break c}g:{if(!El(a,1766015824)){j[d+12>>2]=132;c=e+2|0;j[a+228>>2]=f-c;j[a+224>>2]=c+(d+1184|0);g=0;Dl(a,d+16|0,d+1276|0,d+1040|0,d+12|0,0);if(!j[d+12>>2]){c=1;e=a;h=n;o=d+1184|0;f=j[d+1040>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);r=f;if(f>>>0<=131){If(e,h,o,r,208351);e=0}else{e=1}if(!e){break d}if(!AF(a,n,d+1184|0,f,d+1040|0,k[a+435|0])){break d}h=k[d+1171|0];o=k[d+1170|0];r=k[d+1169|0];s=k[d+1168|0];g=j[a+788>>2];h:{if(g){if(f>>>0<=m[a+792>>2]){break h}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=ag(a,f);if(!g){g=211242;break d}j[a+792>>2]=f;j[a+788>>2]=g}e=Ae(g,d+1040|0,132);h=p(h|(r<<16|s<<24|o<<8),12);j[d+12>>2]=h;g=0;o=e+132|0;Dl(a,d+16|0,d+1276|0,o,d+12|0,0);if(!j[d+12>>2]){if(!zF(a,n,d+1184|0,f,e)){break d}j[d+12>>2]=(f-h|0)-132;Dl(a,d+16|0,d+1276|0,h+o|0,d+12|0,1);h=j[d+1276>>2];if(!h){break g}g=211220;if(!(k[a+214|0]&16)){break d}g=211256;if(j[d+12>>2]){break d}yi(a,211220);break e}g=j[a+248>>2];break d}g=j[a+248>>2];c=1;break d}g=j[a+248>>2];break c}g=211256;if(!j[d+12>>2]){break e}break d}hf(a,211072);z()}Ie(a,h);yF(a,n,e,j[a+272>>2]);i:{if(b){c=0;fj(a,b,16,0);n=ag(a,q);j[b+116>>2]=n;if(!n){break i}Ae(n,d+1184|0,q);j[b+120>>2]=e;j[b+124>>2]=f;j[a+788>>2]=0;j[b+232>>2]=j[b+232>>2]|16;j[b+8>>2]=j[b+8>>2]|4096;sh(a,b)}j[a+220>>2]=0;break a}i[a+898>>1]=l[a+898>>1]|32768;sh(a,b);g=211242}j[a+220>>2]=0;if(!c){break b}c=j[d+1276>>2]}Ie(a,c)}i[a+898>>1]=l[a+898>>1]|32768;sh(a,b);if(!g){break a}Je(a,g)}oe=d+1280|0}function lF(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;a:{b:{c:{d:{if(!a){break d}if(!(k[a+212|0]&64)){Bl(a)}f=j[a+368>>2];j[e>>2]=f;h[e+8|0]=k[a+435|0];h[e+9|0]=k[a+436|0];h[e+10|0]=k[a+439|0];c=k[a+438|0];h[e+11|0]=c;c=c>>>0>=8?p(f,c>>>3|0):p(c,f)+7>>>3|0;j[e+4>>2]=c;e:{if(!k[a+432|0]|!(k[a+216|0]&2)){break e}d=j[a+372>>2];f:{switch(k[a+433|0]){case 0:if(!(d&7)){break e}oh(a);break d;case 1:if(m[a+348>>2]>4?!(d&7):0){break e}oh(a);break d;case 2:if((d&7)==4){break e}oh(a);break d;case 3:if(m[a+348>>2]>2?!(d&3):0){break e}oh(a);break d;case 4:if((d&3)==2){break e}oh(a);break d;case 5:if(m[a+348>>2]>1?!(d&1):0){break e}oh(a);break d;default:break f}}if(d&1){break e}oh(a);break d}if(!(k[a+208|0]&4)){break c}d=c+1|0;Mp(a,j[a+384>>2],d);c=j[a+384>>2];f=k[c|0];if(f){if(f>>>0>4){break b}CE(a,e,c+1|0,j[a+380>>2]+1|0,f);d=j[e+4>>2]+1|0;c=j[a+384>>2]}Ae(j[a+380>>2],c,d);g:{if(!(k[a+708|0]&4)|k[a+712|0]!=64){break g}d=k[e+8|0];if(!(d&2)){break g}c=j[a+384>>2]+1|0;i=j[e>>2];h:{switch(k[e+9|0]-8|0){case 0:f=3;i:{switch(d-2|0){case 4:f=4;break;case 0:break i;default:break g}}if(!i){break g}d=0;while(1){g=k[c+1|0];h[c|0]=g+k[c|0];h[c+2|0]=g+k[c+2|0];c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break g;case 8:break h;default:break g}}f=6;j:{switch(d-2|0){case 4:f=8;break;case 0:break j;default:break g}}if(!i){break g}d=0;while(1){g=k[c+3|0]|k[c+2|0]<<8;l=g+(k[c+5|0]|k[c+4|0]<<8)|0;h[c+5|0]=l;g=g+(k[c+1|0]|k[c|0]<<8)|0;h[c+1|0]=g;h[c+4|0]=l>>>8;h[c|0]=g>>>8;c=c+f|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j[a+216>>2]){$E(a,e)}c=k[e+11|0];d=k[a+443|0];k:{if(!d){h[a+443|0]=c;if(c>>>0<=k[a+442|0]){break k}Ye(a,210496);z()}if((c|0)!=(d|0)){break a}}l:{m:{if(!k[a+432|0]){break m}c=j[a+216>>2];if(!(c&2)){break m}d=k[a+433|0];if(d>>>0<=5){DE(e,j[a+384>>2]+1|0,d,c)}if(!b){break l}Np(a,b,0);break l}if(b){Np(a,b,-1)}}oh(a);b=j[a+544>>2];if(!b){break d}qe[b|0](a,j[a+372>>2],k[a+433|0])}oe=e+16|0;return}Ye(a,210437);z()}Ye(a,210470);z()}Ye(a,210520);z()}function cp(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=oe-128|0;oe=k;a:{b:{c:{if(!Kh(f,g,h,i,0,0,0,0)){break c}m=rD(f,g,h,i);s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(m){break b}}lf(k+16|0,b,c,d,e,f,g,h,i);e=j[k+16>>2];d=j[k+20>>2];c=j[k+24>>2];b=j[k+28>>2];fp(k,e,d,c,b,e,d,c,b);d=j[k+8>>2];e=j[k+12>>2];h=j[k>>2];i=j[k+4>>2];break a}m=o<<16;p=d;r=m|e&65535;n=r;q=h;r=i>>>16&32767;l=i&65535|r<<16;if((Kh(b,c,p,n,f,g,h,l)|0)<=0){if(Kh(b,c,p,n,f,g,q,l)){h=b;i=c;break a}lf(k+112|0,b,c,d,e,0,0,0,0);d=j[k+120>>2];e=j[k+124>>2];h=j[k+112>>2];i=j[k+116>>2];break a}if(o){i=c;h=b}else{lf(k+96|0,b,c,p,n,0,0,0,1081540608);h=j[k+108>>2];n=h;p=j[k+104>>2];o=(h>>>16|0)-120|0;i=j[k+100>>2];h=j[k+96>>2]}if(!r){lf(k+80|0,f,g,q,l,0,0,0,1081540608);f=j[k+92>>2];l=f;q=j[k+88>>2];r=(l>>>16|0)-120|0;g=j[k+84>>2];f=j[k+80>>2]}t=l&65535|65536;n=n&65535|65536;if((o|0)>(r|0)){while(1){l=p;m=q;u=l-m|0;m=n-((l>>>0>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;m=m-(l>>>0>u>>>0)|0;l=u-l|0;d:{if((m|0)>0?1:(m|0)>=0){n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(!(h|l|(i|m))){lf(k+32|0,b,c,d,e,0,0,0,0);d=j[k+40>>2];e=j[k+44>>2];h=j[k+32>>2];i=j[k+36>>2];break a}m=m<<1|l>>>31;p=l<<1|i>>>31;break d}m=n<<1|p>>>31;p=p<<1|i>>>31}n=m;m=i<<1|h>>>31;h=h<<1;i=m;o=o-1|0;if((r|0)<(o|0)){continue}break}o=r}m=p;r=m-q|0;l=n-((m>>>0>>0)+t|0)|0;m=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(m>>>0>r>>>0)|0;q=r-m|0;e:{if((l|0)<0){q=p;l=n;break e}p=h;h=h-f|0;i=i-((f>>>0>p>>>0)+g|0)|0;if(h|q|(i|l)){break e}lf(k+48|0,b,c,d,e,0,0,0,0);d=j[k+56>>2];e=j[k+60>>2];h=j[k+48>>2];i=j[k+52>>2];break a}if((l|0)==65535|l>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;n=i<<1|h>>>31;h=h<<1;i=n;c=b;b=q;l=l<<1|b>>>31;q=c|b<<1;if(l>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){lf(k- -64|0,h,i,q,l&65535|(b|o+120)<<16,0,0,0,1065811968);d=j[k+72>>2];e=j[k+76>>2];h=j[k+64>>2];i=j[k+68>>2];break a}d=q;e=l&65535|(b|o)<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=d;j[a+12>>2]=e;oe=k+128|0}function CK(a,b,c){var d=0,e=q(0),f=0,g=0,h=q(0),i=0,k=0,l=0,m=0,o=q(0),p=0,r=0,s=0,t=0,u=0,v=q(0),w=q(0),x=q(0),y=q(0),z=q(0),A=0;i=oe;A=i;r=j[a>>2];t=r>>1;d=t<<2;k=(d+b|0)+(r&-4)|0;s=i-((r<<2)+15&-16)|0;p=d+s|0;l=r>>3;oe=s;d=d+j[a+8>>2]|0;a:{if((r|0)<8){i=d;break a}g=k+4|0;while(1){i=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]+n[g+8>>2]);u=d-4|0;h=q(n[i>>2]+n[g>>2]);i=d-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[i>>2]);n[p+(m|4)>>2]=q(e*n[i>>2])-q(h*n[u>>2]);g=g+16|0;d=i;f=f+2|0;if((l|0)>(f|0)){continue}break}}g=b+4|0;l=t-l|0;b:{if((l|0)<=(f|0)){d=i;break b}while(1){d=k-8|0;m=f<<2;k=k-16|0;e=q(n[k>>2]-n[g+8>>2]);u=i-4|0;h=q(n[d>>2]-n[g>>2]);d=i-8|0;n[m+p>>2]=q(e*n[u>>2])+q(h*n[d>>2]);n[p+(m|4)>>2]=q(e*n[d>>2])-q(h*n[u>>2]);g=g+16|0;i=d;f=f+2|0;if((l|0)>(f|0)){continue}break}}if((f|0)<(t|0)){k=(r<<2)+b|0;while(1){b=k-8|0;i=f<<2;k=k-16|0;e=q(q(-n[k>>2])-n[g+8>>2]);l=d-4|0;h=q(q(-n[b>>2])-n[g>>2]);d=d-8|0;n[i+p>>2]=q(e*n[l>>2])+q(h*n[d>>2]);n[p+(i|4)>>2]=q(e*n[d>>2])-q(h*n[l>>2]);g=g+16|0;f=f+2|0;if((t|0)>(f|0)){continue}break}}l=r>>2;dr(a,p,t);p=j[a+8>>2];b=j[a>>2];f=p+(b<<2)|0;g=j[a+12>>2];i=(b<<1&-4)+s|0;k=i;b=s;while(1){d=i+(j[g>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+4>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f>>2];e=q(e-h);h=n[f+4>>2];z=q(q(x*y)+q(e*h));n[b>>2]=o+z;n[k-8>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+4>>2]=o+e;n[k-4>>2]=e-o;d=i+(j[g+8>>2]<<2)|0;e=n[d+4>>2];m=i+(j[g+12>>2]<<2)|0;h=n[m+4>>2];o=q(q(e+h)*q(.5));v=n[d>>2];w=n[m>>2];x=q(v+w);y=n[f+8>>2];e=q(e-h);h=n[f+12>>2];z=q(q(x*y)+q(e*h));n[b+8>>2]=o+z;d=k-16|0;n[d>>2]=o-z;o=q(q(v-w)*q(.5));e=q(q(x*h)-q(e*y));n[b+12>>2]=o+e;n[k-12>>2]=e-o;g=g+16|0;f=f+16|0;b=b+16|0;k=d;if(b>>>0>>0){continue}break}if((r|0)>=4){d=(l|0)>1?l:1;b=t<<2;f=b+p|0;b=b+c|0;g=0;while(1){e=n[s>>2];h=n[s+4>>2];n[(g<<2)+c>>2]=n[a+16>>2]*q(q(e*n[f>>2])+q(h*n[f+4>>2]));b=b-4|0;n[b>>2]=n[a+16>>2]*q(q(e*n[f+4>>2])-q(h*n[f>>2]));f=f+8|0;s=s+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}oe=A}function Vx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;n=j[a+36>>2]>>2;o=j[a+16>>2]>>2;l=j[a+28>>2];b=j[a+24>>2];a:{h=k[a+63|0];if((h|0)==128){if(!l){break a}h=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];b:while(1){b=m;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=3;break c;case 1:d=2;break c;case 2:break d}}d=1}while(1){e:{switch(d|0){case 0:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=1;continue;case 1:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=2;continue;case 2:d=j[a>>2];g=j[c>>2];j[a>>2]=((d&16711422)+(g&16711422)>>>1|0)+(d&g&65793)|-16777216;a=a+4|0;c=c+4|0;d=3;continue;default:break e}}d=l-1|0;g=j[a>>2];e=j[c>>2];j[a>>2]=((g&16711422)+(e&16711422)>>>1|0)+(e&g&65793)|-16777216;a=a+4|0;c=c+4|0;f:{if((b|0)>1){b=b-1|0;break f}a=(n<<2)+a|0;c=(o<<2)+c|0;l=d;if(d){continue b}break a}d=0;continue}}}if(!l){break a}g=b&3;m=(b+3|0)/4|0;c=j[a>>2];a=j[a+20>>2];g:while(1){d=m;h:{i:{switch(g-1|0){default:b=0;break h;case 0:b=3;break h;case 1:b=2;break h;case 2:break i}}b=1}while(1){j:{switch(b|0){case 0:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];e=j[a>>2];f=e&65280;f=(p(h,(b&65280)-f|0)>>>8|0)+f&65280;i=b&16711935;b=e&16711935;j[a>>2]=f|(p(h,i-b|0)>>>8|0)+b&16711935|-16777216;a=a+4|0;c=c+4|0;b=3;continue;default:break j}}b=l-1|0;e=j[a>>2];f=e&65280;i=j[c>>2];e=e&16711935;j[a>>2]=f+(p(h,(i&65280)-f|0)>>>8|0)&65280|(p(h,(i&16711935)-e|0)>>>8|0)+e&16711935|-16777216;a=a+4|0;c=c+4|0;k:{if((d|0)>1){d=d-1|0;break k}a=(n<<2)+a|0;c=(o<<2)+c|0;l=b;if(b){continue g}break a}b=0;continue}}}}function FM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0,p=0,q=0,r=0;e=oe-1552|0;oe=e;f=6;g=j[a+4>>2];a:{if(m[g+16>>2]<=c>>>0){break a}k=j[g+136>>2];j[a+164>>2]=j[b+16>>2];j[a+168>>2]=j[b+20>>2];j[a+108>>2]=0;j[a+72>>2]=1869968492;d=d&1024?d|3:d;p=d&3;f=qe[j[j[k+12>>2]>>2]](e+48|0,g,b,a,0,0,!p,d>>>16&15,658)|0;if(f){break a}n=d&1024;h[e+117|0]=n>>>10;f=Cr(e+48|0,c);if(f){break a}c=e+1432|0;f=j[c+4>>2];j[e+40>>2]=j[c>>2];j[e+44>>2]=f;c=j[e+1428>>2];j[e+32>>2]=j[e+1424>>2];j[e+36>>2]=c;f=j[e+1444>>2];o=j[e+1440>>2];qe[j[j[k+12>>2]+4>>2]](e+48|0);j[a+124>>2]=j[a+124>>2]&1|4;b:{if(n){c=j[a+156>>2];b=a;d=j[e+80>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[b+32>>2]=g>>16;b=j[e+88>>2];d=b+32768&-65536;if((b|0)<0){d=0-(32768-b&-65536)|0}j[a+40>>2]=d>>16;a=j[e+44>>2];j[c+20>>2]=j[e+40>>2];j[c+24>>2]=a;a=j[e+36>>2];j[c+12>>2]=j[e+32>>2];j[c+16>>2]=a;j[c+32>>2]=f;j[c+28>>2]=o;h[c+8|0]=1;break b}c=a;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+40>>2]=n>>16;k=j[e+88>>2];n=k+32768&-65536;if((k|0)<0){n=0-(32768-k&-65536)|0}j[c+56>>2]=n>>16;h[j[a+156>>2]+8|0]=0;c=j[g+200>>2];g=j[g+208>>2];j[a+72>>2]=1869968492;c=g-c>>16;j[a+60>>2]=c;j[a+52>>2]=c;if(l[b+14>>1]<=23){j[a+124>>2]=j[a+124>>2]|256}c=a+108|0;Ah(c,e+32|0);Tf(c,o,f);b=j[a+40>>2];j[e+12>>2]=0;j[e+8>>2]=b;Tg(e+8|0,e+32|0);j[a+40>>2]=o+j[e+8>>2];j[e+8>>2]=0;j[e+12>>2]=j[a+52>>2];Tg(e+8|0,e+32|0);j[a+52>>2]=f+j[e+12>>2];if(!(d&1)){g=j[a+168>>2];o=j[a+164>>2];b=j[e+64>>2];f=j[b+4>>2];c:{if(j[e+120>>2]?!p:0){break c}b=i[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){q=f,r=ye(j[f>>2],o),j[q>>2]=r;q=f,r=ye(j[f+4>>2],g),j[q+4>>2]=r;f=f+8|0;k=(b|0)>1;b=b-1|0;if(k){continue}break}}q=a,r=ye(j[a+40>>2],o),j[q+40>>2]=r;q=a,r=ye(j[a+52>>2],g),j[q+52>>2]=r}Ug(c,e+16|0);b=j[e+16>>2];j[a+24>>2]=j[e+24>>2]-b;c=j[e+20>>2];f=j[e+28>>2];j[a+36>>2]=f;j[a+32>>2]=b;j[a+28>>2]=f-c;if(!(d&16)){break b}Fi(a+24|0,j[a+52>>2])}f=0}oe=e+1552|0;return f|0}function rq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=oe-16|0;oe=e;g=j[b+28>>2];a:{b:{h=j[a+676>>2];if(!h|!j[a+648>>2]){break b}c=qe[j[a+508>>2]](a,1668702578,b,e+8|0)|0;j[e+12>>2]=c;if(c){break b}c=_e(b,j[e+8>>2]);j[e+12>>2]=c;if(c){break b}c=j[b>>2];d=j[b+32>>2];c:{if((Ff(b)|0)!=65536){j[e+12>>2]=0;break c}q=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}r=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}s=xe(g,4,0,j[h>>2],0,e+12|0);if(j[e+12>>2]){break c}f=af(b);o=af(b);v=f&4095;if(!v){break c}o=o+(d-c|0)|0;while(1){x=af(b);d:{e:{f:{g:{h:{d=af(b);if(d&32768){c=0;i:{if(!j[h>>2]){break i}while(1){A=(c<<2)+q|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}if(!(d&16384)){break i}c=0;if(!f){break i}while(1){A=(c<<2)+r|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;f=j[h>>2];if(c>>>0>>0){continue}break}c=0;if(!f){break i}while(1){A=(c<<2)+s|0,B=af(b)<<16>>16<<2,j[A>>2]=B;c=c+1|0;if(c>>>0>2]){continue}break}}u=qq(h,d,q,r,s);if(!(d&8192)|!u){break d}c=j[b+32>>2];d=j[b>>2];j[b+32>>2]=d+o;f=Ul(b,e+4|0);y=c-d|0;d=b;n=j[e+4>>2];c=n;if(!c){c=j[a+644>>2]}d=Tl(d,c);if(!f|!d){break g}if((f|0)==-1){break h}if(!n){break f}k=j[a+648>>2];c=0;while(1){p=k;k=c<<1;t=l[k+f>>1]<<1;p=l[p+t>>1];z=ye(i[d+k>>1],u);k=j[a+648>>2];i[t+k>>1]=p+z;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}if(!(d&16384)){break d}c=0;if(!(j[h>>2]&2147483647)){break d}while(1){af(b);c=c+1|0;if(c>>>0>2]<<1>>>0){continue}break}break d}if(!j[a+644>>2]){break e}n=j[a+648>>2];c=0;while(1){k=c<<1;t=l[k+n>>1];p=ye(i[d+k>>1],u);n=j[a+648>>2];i[k+n>>1]=t+p;c=c+1|0;if(c>>>0>2]){continue}break}}if((f|0)==-1){break e}}if(f){qe[j[g+8>>2]](g,f)}}if(d){qe[j[g+8>>2]](g,d)}j[b+32>>2]=j[b>>2]+y}o=o+x|0;w=w+1|0;if((w|0)!=(v|0)){continue}break}}Ve(b);break a}j[e+12>>2]=0}if(q){qe[j[g+8>>2]](g,q)}if(r){qe[j[g+8>>2]](g,r)}if(s){qe[j[g+8>>2]](g,s)}oe=e+16|0;return j[e+12>>2]}function mJ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;b=oe-224|0;oe=b;f=Te(40);j[f>>2]=0;c=j[a+504>>2];h=j[a+500>>2];j[b+216>>2]=h;a:{b:{if(!j[b+216>>2]){break b}m=c+h|0;if(m>>>0>2]+4>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;if(k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8){break b}j[b+216>>2]=j[b+216>>2]+2;j[b+220>>2]=k[j[b+216>>2]-1|0]|k[j[b+216>>2]-2|0]<<8;if(!j[b+220>>2]){break b}g=4;while(1){if(j[b+216>>2]+8>>>0>m>>>0){break b}j[b+216>>2]=j[b+216>>2]+2;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+2;i[b+208>>1]=d|c<<8;c=k[j[b+216>>2]-2|0];d=k[j[b+216>>2]-1|0];j[b+216>>2]=j[b+216>>2]+4;j[b+200>>2]=a;j[b+204>>2]=0;i[b+210>>1]=d|c<<8;c=k[j[b+216>>2]-1|0]|(k[j[b+216>>2]-3|0]<<16|k[j[b+216>>2]-4|0]<<24|k[j[b+216>>2]-2|0]<<8);if(!(!c|c>>>0>j[a+504>>2]-2>>>0)){j[b+196>>2]=c+h;j[b+192>>2]=k[j[b+196>>2]+1|0]|k[j[b+196>>2]]<<8;j[b+188>>2]=198160;c:{if(!j[j[b+188>>2]>>2]){break c}d:{while(1){e:{j[b+184>>2]=j[j[b+188>>2]>>2];if(j[j[b+184>>2]+40>>2]==j[b+192>>2]){j[b+4>>2]=0;j[67126]=0;j[b+164>>2]=j[b+196>>2];j[b+168>>2]=m;j[b+172>>2]=0;j[b+176>>2]=0;c=j[67126];j[67126]=0;d=-1;if(!c){break d}e=j[67127];if(!e){break d}d=ef(j[c>>2],f,g);if(d){break e}break a}j[b+188>>2]=j[b+188>>2]+4;if(j[j[b+188>>2]>>2]){continue}break c}break}D(e|0)}c=C()|0;if((d|0)!=1){j[b+180>>2]=l[a+264>>1];f=mi(b+8|0,1,f,g);g=C()|0;c=0}while(1){if(!c){c=j[j[b+184>>2]+44>>2];j[67126]=0;n=L(c|0,j[b+196>>2],b+8|0)|0;c=j[67126];j[67126]=0;d=-1;f:{if(!c){break f}e=j[67127];if(!e){break f}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}j[b+4>>2]=n}if(j[b+176>>2]){break c}j[67126]=0;n=V(816,j[b+184>>2],j[b+196>>2],b+200|0,b|0)|0;c=j[67126];j[67126]=0;d=-1;g:{if(!c){break g}e=j[67127];if(!e){break g}d=ef(j[c>>2],f,g);if(!d){break a}D(e|0)}c=C()|0;if((d|0)==1){continue}break}if(n){break c}j[j[b>>2]+20>>2]=j[b+4>>2]}}j[b+220>>2]=j[b+220>>2]-1;if(j[b+220>>2]){continue}break}}ze(f);oe=b+224|0;return}F(c|0,e|0);z()}function WG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}b:{l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];c:{if((l|0)==91){j[b>>2]=d+1;c=256;break c}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+96>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c=j[i+12>>2];if(c){break b}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break b}o=b+100|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break b}if((n|0)>=1){c=0;while(1){qe[j[b+144>>2]](o,c,201692,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f=k[c|0];d=c+3|0;if(!((f|0)!=100|e>>>0<=d>>>0)){if(k[c+1|0]!=101|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break d;default:break e}}if((f|0)!=93){break e}d=c+1|0;break d}f:{g:{if(!(f-48>>>0>9?!p:0)){if(p){d=c;f=g;break g}f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);d=j[b>>2];if((d|0)!=(c|0)){break g}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}break f}if(!((g|0)>=(n|0)|d+2>>>0>=e>>>0|k[d|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+144>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+124>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break f}if((l|0)!=91){break f}j[b+12>>2]=2;break a}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}h:{if(d+17>>>0>=e>>>0){break h}if(Qe(d,203938,16)){break h}j[a+368>>2]=2;break a}i:{if(d+15>>>0>=e>>>0){break i}if(Qe(d,203955,14)){break i}j[a+368>>2]=4;break a}j:{if(d+18>>>0>=e>>>0){break j}if(Qe(d,203970,17)){break j}j[a+368>>2]=3;break a}j[b+12>>2]=162;break a}j[b+12>>2]=c}oe=i+16|0}function AF(a,b,c,d,e,f){var g=0,i=0;i=oe-208|0;oe=i;g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{b:{if((g|0)!=(d|0)){If(a,b,c,g,208361);break b}if(!(!(d&3)|k[e+8|0]<4)){If(a,b,c,d,208391);break b}g=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(!(p(g,12)+132>>>0<=d>>>0?g>>>0<=357913930:0)){If(a,b,c,g,208406);break b}d=k[e+64|0]|k[e+65|0]<<8|(k[e+66|0]<<16|k[e+67|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>=65535){If(a,b,c,d,208426);break b}if(d>>>0>=4){If(a,0,c,d,208451)}d=k[e+36|0]|k[e+37|0]<<8|(k[e+38|0]<<16|k[e+39|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1633907568){If(a,b,c,d,208480);break b}if(Cg(e+68|0,208498,12)){If(a,0,c,0,208510)}c:{d:{d=k[e+16|0]|k[e+17|0]<<8|(k[e+18|0]<<16|k[e+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=1196573017){if((d|0)!=1380401696){break d}if(f&2){break c}If(a,b,c,1380401696,208536);break b}if(!(f&2)){break c}If(a,b,c,1196573017,208583);break b}If(a,b,c,d,208625);break b}e:{f:{g:{h:{d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);i:{if((d|0)<=1852662635){if((d|0)==1633842036){break h}if((d|0)==1818848875){break g}if((d|0)!=1835955314){break i}break e}if((d|0)<=1935896177){if((d|0)==1852662636){break f}if((d|0)!=1886549106){break i}break e}if((d|0)==1935896178|(d|0)==1936744803){break e}}If(a,0,c,d,208775);break e}If(a,b,c,1633842036,208657);break b}If(a,b,c,1818848875,208695);break b}d=Yf(i,196,0,209650);f=Yf(i,196,Yf(i,d+79|0,d,c),209660);d=f+i|0;h[d|0]=39;h[d+1|0]=110;h[d+2|0]=109;h[d+3|0]=99;h[d+4|0]=108;h[d+5|0]=39;h[d+6|0]=58;h[d+7|0]=32;Yf(i,196,f+8|0,208735);Of(a,i,1)}d=k[e+20|0]|k[e+21|0]<<8|(k[e+22|0]<<16|k[e+23|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=1;if((d|0)==1281450528|(d|0)==1482250784){break a}If(a,b,c,d,208806)}f=0}oe=i+208|0;return f}function Or(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){e=j[a+278664>>2];d=e;c=j[a>>2];if(c){qe[j[d+8>>2]](d,c)}j[a>>2]=0;c=j[a+128>>2];if(c){b=j[c+12>>2];d=e;g=j[c+4>>2];if(g){while(1){h=j[b>>2];if(h){qe[j[e+8>>2]](e,h)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}b=j[c+12>>2]}if(b){qe[j[d+8>>2]](d,b)}j[c+12>>2]=0;d=j[a+128>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+128>>2]=0}d=j[a+84>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+84>>2]=0;f=j[a+72>>2];if(f){b=0;while(1){d=b<<4;c=d+j[a+80>>2]|0;if(j[c+4>>2]==1){c=j[c+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[(d+j[a+80>>2]|0)+12>>2]=0;f=j[a+72>>2]}b=b+1|0;if(f>>>0>b>>>0){continue}break}}d=j[a+80>>2];if(d){qe[j[e+8>>2]](e,d)}j[a+80>>2]=0;if(j[a+52>>2]){b=j[a+56>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}if(j[a+64>>2]){b=j[a+68>>2];f=0;while(1){d=e;c=j[b>>2];if(c){qe[j[d+8>>2]](d,c)}j[b>>2]=0;d=j[b+24>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}}d=e;c=j[a+56>>2];if(c){qe[j[d+8>>2]](d,c)}f=0;j[a+56>>2]=0;c=j[a+68>>2];if(c){qe[j[d+8>>2]](d,c)}j[a+68>>2]=0;b=j[a+104>>2];if(j[a+112>>2]){while(1){c=e;g=j[b>>2];if(g){qe[j[c+8>>2]](c,g)}j[b>>2]=0;c=j[b+24>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+24>>2]=0;b=b+36|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+104>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+104>>2]=0;b=j[a+278688>>2];c=j[a+278680>>2];if(c){while(1){g=j[b>>2];if(g){qe[j[e+8>>2]](e,g)}j[b>>2]=0;b=b+4|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}b=j[a+278688>>2]}if(b){qe[j[d+8>>2]](d,b)}f=0;j[a+278688>>2]=0;b=j[a+278668>>2];if(j[a+278672>>2]){while(1){c=j[b>>2];if(c){qe[j[e+8>>2]](e,c)}j[b>>2]=0;if(j[b+4>>2]==1){c=j[b+12>>2];if(c){qe[j[e+8>>2]](e,c)}j[b+12>>2]=0}b=b+16|0;f=f+1|0;if(f>>>0>2]){continue}break}b=j[a+278668>>2]}if(b){qe[j[d+8>>2]](d,b)}j[a+278668>>2]=0}}function LD(a){var b=0,c=0,d=0,e=0,f=0,g=0,k=0,m=0;a:{b:{c:{if(!j[65572]){ve(63202,0);if(!a){break c}break a}if(!a){ve(63226,0);return 0}d=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;if((b|0)<-1?1:(b|0)<=-1){ve(63252,0);break a}e=Te(21692);if(!e){ve(63273,0);break a}b=Ee(e,0,21692);j[b+21648>>2]=1;j[b+21644>>2]=a;c=Te(40);if(!c){ve(63273,0);break b}j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+20>>2]=117;j[c+12>>2]=a;j[c+8>>2]=d;k=c,m=(qe[j[a>>2]](a)|0)-d|0,j[k+4>>2]=m;j[b+21668>>2]=c;j[b+21652>>2]=2;if(Jm(j[65573],b+21652|0,0,b)){ve(63287,0);break b}c=j[b>>2];f=j[c+36>>2];d:{if((f|0)<1){break d}g=j[c+40>>2];a=0;e:{f:{while(1){g:{h:{i:{d=j[(a<<2)+g>>2];switch(l[d+8>>1]){case 0:break f;case 2:break h;case 3:break i;default:break g}}if(l[d+10>>1]>=2){break g}break e}if(l[d+10>>1]==1){break e}}a=a+1|0;if((f|0)>(a|0)){continue}break}d=0}if(!d){break d}}Uh(c,d)}a=j[b>>2];j:{if(h[c+8|0]&1){if(JO(a)){ve(63311,0);break b}a=j[j[c+88>>2]+20>>2];k=b,m=(ye(i[c+70>>1],a)+63&-64)/64|0,j[k+8>>2]=m;d=(ye(i[c+72>>1],a)+63&-64)/64|0;j[b+12>>2]=d;j[b+4>>2]=(j[b+8>>2]-d|0)+1;k=b,m=(ye(i[c+74>>1],a)+63&-64)/64|0,j[k+16>>2]=m;k=b,m=(ye(i[c+80>>1],a)&-64)/64|0,j[k+44>>2]=m;a=(ye(i[c+82>>1],a)&-64)/64|0;j[b+48>>2]=a;d=b+48|0;break j}a=j[a+28>>2];a=(a|0)>10?10:a-1|0;j[b+21684>>2]=a;a=a<<4;d=a+j[c+32>>2]|0;if(IO(c,i[d+2>>1],i[d>>1])){ve(63311,0);break b}a=i[a+j[c+32>>2]>>1];j[b+12>>2]=0;j[b+8>>2]=a;j[b+4>>2]=a;j[b+16>>2]=(a+63&-64)/64;j[b+44>>2]=((l[c+80>>1]&65472)<<16>>16)/64<<16>>16;a=((l[c+82>>1]&65472)<<16>>16)/64<<16>>16;j[b+48>>2]=a;d=b+48|0}if((a|0)<=0){j[d>>2]=1}d=j[b>>2];a=j[d+12>>2]>>>1&1;j[b+20>>2]=a;if(h[d+12|0]&1){a=a|2;j[b+20>>2]=a}j[b+28>>2]=0;j[b+32>>2]=1;j[b+24>>2]=a;a=l[j[c+88>>2]+14>>1];n[b+40>>2]=q(j[b+4>>2])*q(.2070000022649765);j[b+36>>2]=(a>>>0)/10}return e}ip(b);return 0}qe[j[a+16>>2]](a)|0;return 0}function yA(a,b,c,d){var e=0,f=q(0),g=q(0),h=q(0),i=0,k=0,l=q(0),m=q(0),o=0;e=oe-48|0;oe=e;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);k=-1;break a}if(!(j[b>>2]==268306?b:0)){ve(73666,0);k=-1;break a}if(j[b+36>>2]!=(a|0)){k=ve(73766,0);break a}if(j[a+192>>2]){break a}j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=j[b+12>>2];j[e+44>>2]=j[b+16>>2];if(c){if(!Fg(c,e+32|0,e+32|0)){break a}}Oe(e,0,16);b:{if(j[a>>2]!=268305){ve(73421,0);c=j[e+12>>2];i=j[e+8>>2];break b}c=e;g=n[a+288>>2];h=q(q(j[a+216>>2])/g);c:{if(q(r(h))>2]=i;c=e;h=n[a+292>>2];f=q(q(j[a+220>>2])/h);d:{if(q(r(f))>2]=i;c=e;g=q(q(j[a+224>>2])/g);e:{if(q(r(g))>2]=i;o=e;g=q(q(j[a+228>>2])/h);f:{if(q(r(g))>2]=c}g=q(c|0);h=q(i|0);if(d){f=n[d+8>>2];if((c|0)<1|f<=q(0)|(i|0)<1){break a}l=n[d+12>>2];if(l<=q(0)){break a}m=f;f=n[d>>2];m=q(m+f);if((h>2];f=q(l+h);if((g>2];j[e+24>>2]=j[d+8>>2];j[e+28>>2]=c;c=j[d+4>>2];j[e+16>>2]=j[d>>2];j[e+20>>2]=c;h=n[e+24>>2];l=n[e+16>>2];g=n[e+28>>2];f=n[e+20>>2]}else{f=q(0)}c=j[b+40>>2];m=n[a+288>>2];n[e+16>>2]=m*l;l=n[a+292>>2];n[e+24>>2]=m*h;n[e+28>>2]=l*g;n[e+20>>2]=l*f;b=c?c:b;j[b+72>>2]=j[a+352>>2];c=wA(a,b);if(!c){k=-1;break a}k=qe[j[a+40>>2]](a,c,b,e+32|0,e+16|0)|0;if((k|0)<=-1){j[c>>2]=0;break a}k=0;if(j[a+336>>2]){break a}c=j[a+340>>2];if(!c){break a}b=a+420|0;k=qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[c+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=e+48|0;return k}function og(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;f=oe-48|0;oe=f;j[a+8>>2]=0;l=j[a+4>>2];if(l){j[j[a>>2]>>2]=119537;j[j[a>>2]+4>>2]=119537;j[j[a>>2]+8>>2]=119537;j[j[a>>2]+12>>2]=119537;j[j[a>>2]+16>>2]=119537}a:{if(!d){break a}i=k[c|0];if(!i){break a}m=6;if(!b){break a}e=k[b|0];if(!e){break a}j[f+24>>2]=0;j[f+28>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+8>>2]=0;j[f+12>>2]=0;j[f>>2]=0;j[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=k[b+1|0];break c}g=k[b+1|0];if(g){break c}n=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}l=c+d|0;while(1){e=c;while(1){f:{if(k[((i&248)>>>3|0)+f|0]>>>(i&7)&1){g=e;break f}i=k[e+1|0];g=e+1|0;e=g;if(i){continue}}break}e=a;b=j[a+8>>2];g:{if((b|0)!=j[a+4>>2]){d=b;break g}j[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){m=64;break a}i=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;o=a,p=xe(j[a+12>>2],4,i,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b;d=j[a+8>>2]}j[e+8>>2]=d+1;j[j[a>>2]+(d<<2)>>2]=c>>>0>>0?c:119537;e=k[g|0];h:{i:{if(n){d=0;b=g;if(!(e&255)){i=0;c=g;break h}while(1){j:{if(!(k[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){i=e;c=b;break j}i=0;h[b|0]=0;e=k[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){i=0;c=g;d=0;break h}h[g|0]=0;c=g+1|0;i=k[g+1|0]}d=!(i&255)}if(i&255?c>>>0>>0:0){continue}break}l=j[a+4>>2];b=j[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}j[f+44>>2]=0;if(b+1>>>0<=l>>>0){break k}m=64;if((l|0)==536870911){break a}b=((l>>>1|0)+l|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;o=a,p=xe(j[a+12>>2],4,l,b,j[a>>2],f+44|0),j[o>>2]=p;m=j[f+44>>2];if(m){break a}j[a+4>>2]=b}l:{if(!d){i=j[a+8>>2];break l}b=j[a+8>>2];i=b+1|0;j[a+8>>2]=i;j[j[a>>2]+(b<<2)>>2]=119537}m=0;j[j[a>>2]+(i<<2)>>2]=0;break a}m=((e&248)>>>3|0)+f|0;h[m|0]=k[m|0]|1<<(e&7)}b=b+1|0;e=g;continue}}oe=f+48|0;return m}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,m=0,n=0,o=0,q=0,r=0;o=j[a+88>>2];j[c>>2]=0;a:{b:{if(k[a+780|0]){d=j[a+776>>2];e=j[a+760>>2];break b}j[a+760>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0;j[a+772>>2]=0;j[a+776>>2]=0;j[a+780>>2]=0;i=8;d=l[a+152>>1];if(!d){break a}e=j[a+156>>2];d=e+(d<<4)|0;n=j[a+104>>2];while(1){c:{if(j[e>>2]==1111770656){f=j[e+12>>2];if(f){break c}}e=e+16|0;if(d>>>0>e>>>0){continue}break a}break}if(Fe(n,j[e+8>>2])|f>>>0<8){break a}g=a+760|0;if(_f(n,f,g)){break a}e=j[a+760>>2];j[a+764>>2]=f+e;d:{e:{if((k[e+1|0]|k[e|0]<<8)!=1){break e}d=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<8|f>>>0>>0){break e}d=k[e+3|0]|k[e+2|0]<<8;if(d>>>0>i-8>>>2>>>0){break e}j[a+772>>2]=f-i;q=e+i|0;j[a+768>>2]=q;j[a+776>>2]=d;f=e+8|0;m=f+(d<<2)|0;if(d){i=d;while(1){m=p(k[f+3|0]|k[f+2|0]<<8,10)+m|0;f=f+4|0;i=i-1|0;if(i){continue}break}}if(m>>>0<=q>>>0){break d}}jf(n,g);j[g+16>>2]=0;j[g+20>>2]=0;j[g+8>>2]=0;j[g+12>>2]=0;j[g>>2]=0;j[g+4>>2]=0;return 8}h[a+780|0]=1}i=6;if(!b|!o){break a}n=Le(b);if(!n|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=l[o+14>>1];while(1){m=k[e+3|0]|k[e+2|0]<<8;if((g|0)==(k[e+1|0]|k[e|0]<<8)){if(!m){break a}while(1){f:{o=k[f+5|0];if(!(o&16)){break f}e=j[a+772>>2];d=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}q=e-g|0;if(q>>>0<=n>>>0){break f}d=k[f+6|0]|k[f+7|0]<<8|(k[f+8|0]<<16|k[f+9|0]<<24);r=g;g=j[a+768>>2];if(Qe(b,r+g|0,q)){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(o&15){case 0:case 1:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!Mh(d,0,e)){break f}j[c+4>>2]=d;j[c>>2]=1;return 0;case 2:j[c+4>>2]=d;j[c>>2]=2;return 0;case 3:break g;default:break f}}j[c+4>>2]=d;j[c>>2]=3;return 0}f=f+10|0;m=m-1|0;if(m){continue}break}break a}e=e+4|0;f=p(m,10)+f|0;d=d-1|0;if(d){continue}break}}return i|0}function Qm(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-10096|0;oe=c;e=j[b+100>>2];Ee(c+3216|4,0,2996);j[c+3216>>2]=e;j[a+1624>>2]=0;j[a+52>>2]=0;d=j[(j[j[a>>2]+8>>2]<<2)+114768>>2];g=j[d+8>>2];e=0;f=j[j[a+36>>2]>>2];a:{if(!f){break a}f=j[f+92>>2];if(!f){break a}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}b:{c:{if(e){break c}g=j[d+12>>2];if(!g){break b}e=0;f=j[j[a+36>>2]>>2];d:{if(!f){break d}f=j[f+92>>2];if(!f){break d}e=qe[j[j[f+12>>2]+12>>2]](f,g)|0}if(e){break c}f=j[d+16>>2];if(!f){break b}e=0;d=j[j[a+36>>2]>>2];e:{if(!d){break e}d=j[d+92>>2];if(!d){break e}e=qe[j[j[d+12>>2]+12>>2]](d,f)|0}if(!e){break b}}if(Wh(b,e,1)){break b}e=j[b+84>>2];if(i[e+110>>1]<1){break b}Ee(c+16|0,0,3188);d=j[a+40>>2];j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;j[c+44>>2]=0;j[c+24>>2]=65536;j[c+28>>2]=65536;j[c+56>>2]=d;j[c+20>>2]=b;j[c+6196>>2]=0;j[c+6204>>2]=c+16;if(Ji(c+3216|0,e+108|0)){break b}j[c+12>>2]=0;if(Zh(c+3216|0,0)){break b}e=0;Ii(c+3216|0,0,0,0);d=j[c+3260>>2];if((d|0)>=1){b=j[c+3268>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+56>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}nj(c+12|0,a+56|0,m[c+56>>2]/100|0);j[a+52>>2]=j[c+12>>2];e=0;j[c+12>>2]=0;if(Zh(c+3216|0,1)){break b}Ii(c+3216|0,0,0,1);d=j[c+4728>>2];if((d|0)>=1){b=j[c+4736>>2];f=b+p(d,48)|0;while(1){d=j[b+20>>2];if(!(!d|b>>>0>=d>>>0|(j[d+20>>2]!=(b|0)|e>>>0>15))){g=i[b+2>>1]-i[d+2>>1]|0;d=g>>31;j[(p(e,12)+a|0)+1628>>2]=d^d+g;e=e+1|0}b=b+48|0;if(f>>>0>b>>>0){continue}break}j[c+12>>2]=e}nj(c+12|0,a+1628|0,m[c+56>>2]/100|0);j[a+1624>>2]=j[c+12>>2]}if(j[a+52>>2]){b=j[a+56>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+256|0]=0;j[a+252>>2]=b;j[a+248>>2]=(b|0)/5;if(j[a+1624>>2]){b=j[a+1628>>2]}else{b=(p(j[a+40>>2],50)|0)/2048|0}h[a+1828|0]=0;j[a+1824>>2]=b;j[a+1820>>2]=(b|0)/5;xk(c+3216|0);oe=c+10096|0}function GA(a){var b=0,c=0,d=0,e=q(0),f=0,g=0,h=q(0),i=q(0),l=q(0);b=oe-32|0;oe=b;j[b+28>>2]=1;j[b+24>>2]=1;a:{if(!j[a+196>>2]|!j[a+200>>2]){break a}if(($k(a,b+28|0,b+24|0)|0)<0){break a}d=dg(73946);b:{if(!d){break b}if(k[d|0]!=49){if(Me(d,73975)){break b}}c=1}e=q(j[b+24>>2]);h=q(j[b+28>>2]);i=q(j[a+200>>2]);l=q(j[a+196>>2]);c:{if(j[a>>2]!=268305){ve(73421,0);break c}j[a+288>>2]=1065353216;j[a+292>>2]=1065353216}e=q(h/e);h=q(l/i);d:{if(j[a+212>>2]){g=b;e:{if(!(e>2];d=j[b+28>>2]/(c|0)|0;break e}c=j[a+196>>2];d=j[b+24>>2]/j[a+200>>2]|0}e=q(d|0);f=w(+q(e*q(c|0)));f:{if(r(f)<2147483648){c=~~f;break f}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;g=b;f=w(+q(e*q(j[a+200>>2])));g:{if(r(f)<2147483648){c=~~f;break g}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}if(!(r(+q(h-e))<1e-4^1)){d=j[a+196>>2];c=j[b+28>>2];kh(a,0);e=q(q(c|0)/q(d|0));break d}if(!(e>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));h:{if(r(f)<2147483648){c=~~f;break h}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;kh(a,b+8|0);break d}c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));i:{if(r(f)<2147483648){c=~~f;break i}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}if(c){c=j[a+196>>2];d=j[b+28>>2];j[b+16>>2]=d;j[b+8>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+200>>2])));j:{if(r(f)<2147483648){c=~~f;break j}c=-2147483648}j[g+20>>2]=c;j[b+12>>2]=(j[b+24>>2]-c|0)/2;kh(a,b+8|0);break d}c=j[a+200>>2];d=j[b+24>>2];j[b+20>>2]=d;j[b+12>>2]=0;g=b;e=q(q(d|0)/q(c|0));f=w(+q(e*q(j[a+196>>2])));k:{if(r(f)<2147483648){c=~~f;break k}c=-2147483648}j[g+16>>2]=c;j[b+8>>2]=(j[b+28>>2]-c|0)/2;kh(a,b+8|0)}if(j[a>>2]!=268305){ve(73421,0);break a}n[a+288>>2]=e;n[a+292>>2]=e}oe=b+32|0}function ll(a,b,c,d,e,f){var g=0,l=0,m=0,n=0,s=0;a:{g=Xe(1,264);b:{if(g){j[g+236>>2]=4096;j[g+216>>2]=f;h[g+214|0]=e;i[g+212>>1]=d;j[g+204>>2]=c;h[g+202|0]=b;i[g+200>>1]=a;j[g+172>>2]=1;m=b>>>0>>0?b:e;h[g+232|0]=m;o[g+224>>3]=+(f|0)/+(c|0);j[g+208>>2]=p(d>>>3&31,e);j[g+196>>2]=p(a>>>3&31,b);s=g;l=0;c:{if((c|0)==(f|0)){break c}l=512;if((c|0)<=(f|0)){break c}n=w(+q(q(c<<9)/q(f|0)));if(r(n)<2147483648){l=~~n;break c}l=-2147483648}l=p(l,m);j[s+240>>2]=l;l=Xe(l?l:1,4);j[g+244>>2]=l;if(!l){break a}l=p(j[g+196>>2],j[g+240>>2]/k[g+232|0]|0);j[g+180>>2]=l;d:{if((l|0)<1){break d}l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}j[g+176>>2]=l;if(l){break d}break a}e:{f:{if((c|0)==(f|0)){j[g>>2]=0;if((ml(g+84|0,a,b,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}if((ml(g,a,b,c,33056,m,c)|0)<=-1){a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}if(!j[g+252>>2]){a=Xe(j[g+240>>2],4);j[g+248>>2]=a;if(!a){break a}if((Oo()|0)<=-1){a=j[g+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[g+248>>2]=0;a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}j[g+260>>2]=152;j[g+256>>2]=153;j[g+252>>2]=154}if((ml(g+84|0,33056,m,f,d,e,f)|0)>-1){break f}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);break e}a=Wo(4096,8192);j[g+168>>2]=a;if(a){break b}a=j[g+260>>2];if(a){qe[a|0](g);a=j[g+168>>2]}else{a=0}nh(a)}a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}}g=0}return g}a=j[g+260>>2];if(a){qe[a|0](g)}nh(j[g+168>>2]);a=j[g+176>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+188>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[g+244>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(g){qe[j[57975]](g);j[57976]=j[57976]-1}Be(0);return 0}function tn(){var a=0,b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;if(j[67085]){vj()}bn();a=-1;a:{if(($i(16384)|0)<0){break a}Ge(266004,69312,2048);if((PB()|0)<0){break a}b:{b=Mf(97959);c:{if(b){d:{if(Vk(j[58754],b,Le(b))){break d}if(!(qe[j[58756]]()|0)){break d}a=qe[j[58757]](0)|0;if(a){break c}}j[d>>2]=b;a=ve(97975,d);break a}if(!(qe[j[58756]]()|0)){break b}a=qe[j[58757]](0)|0;if(!a){break b}}j[67085]=a;b=j[58754];j[a+692>>2]=0;j[a+320>>2]=1;j[a>>2]=b;j[a+336>>2]=2;j[a+340>>2]=0;j[a+328>>2]=3;j[a+332>>2]=3;j[a+360>>2]=0;j[a+364>>2]=0;j[a+352>>2]=0;j[a+356>>2]=1;j[a+344>>2]=16;j[a+348>>2]=0;j[a+368>>2]=0;j[a+372>>2]=0;j[a+376>>2]=0;j[a+380>>2]=0;j[a+428>>2]=1;j[a+432>>2]=0;j[a+384>>2]=0;j[a+388>>2]=-1;b=j[a+208>>2];e:{if(b){qe[b|0](a,a+404|0,a+392|0,a+396|0);a=j[67085];break e}j[a+404>>2]=4;j[a+392>>2]=2;j[a+396>>2]=0}j[a+424>>2]=0;j[a+400>>2]=0;j[a+416>>2]=0;j[a+420>>2]=0;j[a+408>>2]=0;j[a+412>>2]=1;a=j[67079];j[67079]=a+1;j[j[67085]+704>>2]=a+1;a=j[67079];j[67079]=a+1;b=j[67085];j[b+708>>2]=a+1;a=-1;if((qe[j[b+4>>2]](b)|0)<=-1){vj();break a}a=j[67085];if(!j[a+300>>2]){vj();a=ve(98018,0);break a}f:{if(j[a+136>>2]){if(j[a+292>>2]){break f}a=dg(99272);if(a){if(!Me(a,99290)){break f}}a=dg(99299);if(!a|k[a|0]==48){break f}if(!Me(a,99328)){break f}a=j[67085]}j[a+144>>2]=452;j[a+140>>2]=453;j[a+136>>2]=454}g:{h:{if(yg(98060,0)){break h}a=j[67085];if(!a){break g}if(j[a+296>>2]){break h}j[a+296>>2]=1;b=j[a+236>>2];if(!b){break h}qe[b|0](a)}b=j[67085];if(!b){break g}c=j[b+252>>2];if(!c){break g}a=0;if(qe[c|0](b)|0){break a}}We(771,1);We(770,1);a=0;b=j[67085];if(!b){break a}c=j[b+308>>2];i:{if(!c){break i}j:{while(1){if(!(k[c+49|0]&2)){c=j[c+152>>2];if(c){continue}break j}break}e=j[b+256>>2];if(!e){break i}qe[e|0](b,c);b=j[67085]}if(!b){break a}}c=j[b+240>>2];if(!c){break a}qe[c|0](b);break a}a=ve(97992,0)}oe=d+16|0;return a}function yG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=oe-16|0;oe=f;m=j[b+16>>2];n=j[b+8>>2];qe[j[b+28>>2]](b);a:{b:{c:{d:{d=j[b>>2];if(d>>>0>>0){j[b>>2]=d+1;if(k[d|0]==91){break d}}e=3;j[f+12>>2]=3;break c}qe[j[b+28>>2]](b);e:{c=j[b>>2];f:{if(n>>>0<=c>>>0){break f}while(1){g:{h:{i:{d=k[c|0];if((d|0)!=60){if((d|0)!=93){break i}j[b>>2]=c+1;break b}qe[j[b+32>>2]](b);if(j[b+12>>2]){break b}e=j[b>>2];d=(e+(c^-1)|0)/2|0;if(e-c>>>0<=2){break f}i=xe(m,1,r,d,i,f+12|0);e=j[f+12>>2];if(e){break c}j[b>>2]=c;p=1;qe[j[b+44>>2]](b,i,d,f+8|0,1)|0;g=j[f+8>>2];break h}if(d-48>>>0>9){d=r;break h}if(p){break f}j:{g=qe[j[b+36>>2]](b)|0;if((g|0)<=-1){break j}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}d=j[b>>2];i=d+1|0;if(n-d>>>0>>0){break j}j[b>>2]=(d+g|0)+1;p=0;break g}e=3;j[f+12>>2]=3;p=0;break c}if(!i){break e}r=d}if(g&1){d=g-1|0;g=k[d+i|0]?g:d}d=0;if(!g){break f}while(1){k:{l:{m:{switch(l|0){case 0:l=0;if((o|0)<12){break l}e=j[a+492>>2];q=(k[e+4|0]<<4)+k[e+5|0]|0;c=q<<4|12;j[a+496>>2]=c;if((c|0)>(n-j[b>>2]|0)){break f}u=a,v=xe(m,1,12,c,e,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c};case 1:l=1;c=j[a+496>>2];if((o|0)<(c|0)){break l}l=j[a+492>>2];if(q>>>0>=1){s=l+24|0;e=0;while(1){t=c;c=(e<<4)+s|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=t+((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+3&-4)|0;j[a+496>>2]=c;e=e+1|0;if((q|0)!=(e|0)){continue}break}}u=a,v=xe(m,1,q<<4|12,c+1|0,l,f+12|0),j[u+492>>2]=v;e=j[f+12>>2];if(e){break c}break;case 2:break m;default:break k}}l=2;if(j[a+496>>2]<=(o|0)){break f}}h[j[a+492>>2]+o|0]=k[d+i|0];o=o+1|0}d=d+1|0;if((g|0)!=(d|0)){continue}break}qe[j[b+28>>2]](b);c=j[b>>2];if(n>>>0>c>>>0){continue}break}}e=3;j[f+12>>2]=3;break c}e=3;j[f+12>>2]=3;i=0}j[b+12>>2]=e}if(!p){break a}if(i){qe[j[m+8>>2]](m,i)}}oe=f+16|0}function im(a,b,c,d,e){var f=0,g=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j[a+180>>2]=d;q=a+180|0;j[a+52>>2]=q;g=j[a+72>>2];j[a+196>>2]=j[a+68>>2];j[a+200>>2]=g;j[a+192>>2]=c;j[a+188>>2]=b;j[a+184>>2]=e;e=q;while(1){n=j[e+4>>2];f=j[e+20>>2];b=(n|0)<(f|0);a:{o=j[e+12>>2];if(!((o|0)<=((b?f:n)|0)?(o|0)>=((b?n:f)|0):0)){b=j[e+16>>2];j[e+32>>2]=b;j[e+36>>2]=f;c=(f+o|0)/2|0;j[e+28>>2]=c;g=(n+o|0)/2|0;j[e+12>>2]=g;f=j[e+8>>2];o=(f+d|0)/2|0;j[e+8>>2]=o;b=(b+f|0)/2|0;j[e+24>>2]=b;j[e+20>>2]=(c+g|0)/2;j[e+16>>2]=(b+o|0)/2;j[a+52>>2]=e+16;break a}if((f|0)==(n|0)){j[a+52>>2]=e-16;break a}s=(f|0)<(n|0)?1:2;c=j[a+100>>2];if((s|0)!=(c|0)){b=j[a+4>>2];t=(f|0)>=(n|0);g=((b+f|0)-1&0-b)-f|0;b:{if(!t){break b}g=f&b-1}r=j[a+8>>2];if(c){b=j[a+40>>2];p=j[a+88>>2];c=b-j[p+8>>2]|0;if((c|0)<=-1){j[a+44>>2]=99;return 1}c:{if(!c){c=b;break c}j[p+16>>2]=c>>2;if((g|0)>=(r|0)){c=l[p+12>>1];i[p+12>>1]=(c&8?16:32)|c}j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c;j[b+8>>2]=c;j[b+16>>2]=0;j[p+28>>2]=b;i[a+84>>1]=l[a+84>>1]+1}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}h[a+87|0]=0}d:{if(j[a+92>>2]){c=j[a+40>>2];break d}b=j[a+40>>2];j[a+92>>2]=b;j[a+88>>2]=b;c=b+32|0;j[a+40>>2]=c}if(m[a+36>>2]<=c>>>0){j[a+44>>2]=98;return 1}b=j[a+88>>2];j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=c;j[b+28>>2]=0;j[b+4>>2]=0;c=k[a+176|0];i[b+12>>1]=c;e:{if(!t){i[b+12>>1]=c|8;if((g|0)<(r|0)){break e}i[b+12>>1]=c|40;break e}if((g|0)<(r|0)){break e}i[b+12>>1]=c|16}if(!j[a+96>>2]){j[a+96>>2]=b}i[a+86>>1]=1;j[a+100>>2]=s}b=j[a+80>>2];c=j[a+76>>2];if((f|0)<(n|0)){if(!mk(a,2,799,c,b)){break a}return 1}j[e+20>>2]=0-f;j[e+12>>2]=0-o;j[e+4>>2]=0-n;g=k[a+86|0];b=mk(a,2,799,0-b|0,0-c|0);if(!(k[a+86|0]|!g)){c=j[a+88>>2];j[c+20>>2]=0-j[c+20>>2]}j[e+4>>2]=0-j[e+4>>2];if(!b){break a}return 1}e=j[a+52>>2];if(q>>>0<=e>>>0){d=j[e>>2];continue}break}j[a+72>>2]=n;j[a+68>>2]=d;return 0}function Aq(a,b,c,d,e,f,g){var h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=0,z=q(0),A=q(0),B=q(0),C=0,D=0,E=q(0),F=q(0),G=q(0),H=q(0),I=q(0),J=q(0),K=q(0),L=q(0),M=q(0),N=q(0),O=q(0),P=q(0),Q=q(0),R=q(0);v=p(a,b);D=v<<1;if((b|0)>=1){y=a<<1;k=p(v,3);m=v;h=D;while(1){t=(m<<2)+c|0;w=(k<<2)+c|0;l=q(n[t>>2]+n[w>>2]);o=i<<2;r=o+c|0;u=(h<<2)+c|0;j=q(n[r>>2]+n[u>>2]);n[(i<<4)+d>>2]=l+j;i=a+i|0;n[((i<<4)+d|0)-4>>2]=j-l;o=(o+y<<2)+d|0;n[o-4>>2]=n[r>>2]-n[u>>2];n[o>>2]=n[w>>2]-n[t>>2];h=a+h|0;k=a+k|0;m=a+m|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){C=a<<1;s=0;u=0;while(1){i=u<<2;k=C+i|0;m=2;h=u;while(1){o=h+2|0;E=n[(o<<2)+c>>2];t=m<<2;y=t-8|0;F=n[y+e>>2];w=o+v|0;r=(w<<2)+c|0;G=n[r-4>>2];t=t-4|0;H=n[t+e>>2];I=n[r>>2];J=q(q(F*G)+q(H*I));K=n[g+y>>2];w=v+w|0;r=(w+v<<2)+c|0;L=n[r-4>>2];M=n[g+t>>2];N=n[r>>2];O=q(q(K*L)+q(M*N));P=q(J+O);z=n[f+y>>2];r=(w<<2)+c|0;A=n[r-4>>2];l=n[f+t>>2];j=n[r>>2];B=q(q(z*A)+q(l*j));x=n[((h<<2)+c|0)+4>>2];Q=q(B+x);n[(i<<2|4)+d>>2]=P+Q;i=i+2|0;R=q(q(z*j)-q(A*l));z=q(E+R);l=q(q(F*I)-q(G*H));j=q(q(K*N)-q(L*M));A=q(l+j);n[(i<<2)+d>>2]=z+A;B=q(x-B);x=q(l-j);n[((k<<2)+d|0)-12>>2]=B-x;k=k-2|0;l=q(O-J);j=q(E-R);n[(k<<2)+d>>2]=l-j;h=(i+C<<2)+d|0;n[h>>2]=j+l;n[h-4>>2]=x+B;h=(k+C<<2)+d|0;n[h>>2]=A-z;n[h-4>>2]=Q-P;h=o;m=m+2|0;if((m|0)<(a|0)){continue}break}u=a+u|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}if(a&1){break a}}if((b|0)<1){break a}u=a<<1;o=a<<2;i=(a+v|0)-1|0;m=D+i|0;s=0;k=a;h=a;while(1){g=(k<<2)+d|0;e=((h<<2)+c|0)-4|0;x=n[(i<<2)+c>>2];l=n[(m<<2)+c>>2];j=q(q(x-l)*q(.7071067690849304));n[g-4>>2]=n[e>>2]+j;f=(k+u<<2)+d|0;n[f-4>>2]=n[e>>2]-j;j=q(q(x+l)*q(-.7071067690849304));e=(i+v<<2)+c|0;n[g>>2]=j-n[e>>2];n[f>>2]=j+n[e>>2];h=a+h|0;k=k+o|0;m=a+m|0;i=a+i|0;s=s+1|0;if((s|0)!=(b|0)){continue}break}}}function Dk(a,b,c,d,e,f){var g=0,h=0,i=0,l=0,m=0;l=oe-48|0;oe=l;a:{b:{if(f){break b}h=-128;f=Qf(a,l+32|0,65536,0);i=pe;g=i;if((f|0)==-128&(g|0)==-1){break a}f=l+32|0;if((g|0)>0?1:(g|0)>=0){break b}h=-132;break a}Ju(b);j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[a+88>>2]=2;c:{d:{if(!(k[j[f>>2]+5|0]&2)){break d}i=a+120|0;while(1){if(d){h=j[f>>2];m=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);e:{h=j[d>>2];g=j[e>>2];if(!h|!g){break e}while(1){if((m|0)!=j[h>>2]){h=h+4|0;g=g-1|0;if(g){continue}break e}break}f=j[d>>2];if(f){ze(f)}j[d>>2]=0;j[e>>2]=0;d=-133;break c}g=j[f>>2];m=k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24);h=j[e>>2]+1|0;j[e>>2]=h;g=j[d>>2];f:{if(g){g=Vf(g,h<<2);j[d>>2]=g;h=j[e>>2];break f}g=Te(4);j[d>>2]=g}j[((h<<2)+g|0)-4>>2]=m}g:{if(j[a+88>>2]>2){break g}g=j[f>>2];ph(i,k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24));Ng(i,f);if((mg(i,l)|0)<1){break g}if(!ou(l)){break g}j[a+88>>2]=3;if(!fn(b,c,l)){break g}d=-133;break c}g=Qf(a,f,65536,0);h=pe;m=h;if((g|0)==-128&(h|0)==-1){d=-128;break c}if((m|0)<0){d=-132;break c}h:{if(j[a+88>>2]!=3){break h}g=j[f>>2];if(j[a+456>>2]!=(k[g+14|0]|k[g+15|0]<<8|(k[g+16|0]<<16|k[g+17|0]<<24))){break h}Ng(i,f);break d}if(k[j[f>>2]+5|0]&2){continue}break}}d=-132;if(j[a+88>>2]!=3){break c}m=a+120|0;e=0;g=0;while(1){d=-133;i:{switch(mg(m,l)+1|0){default:d=fn(b,c,l);if(d){break c}h=0;e=e+1|0;if((e|0)!=2){continue}break a;case 1:break i;case 0:break c}}h=0;if((e|0)>1){break a}Qf(a,f,65536,0);if((pe|0)<0){break c}while(1){i=j[f>>2];if(j[a+456>>2]!=(k[i+14|0]|k[i+15|0]<<8|(k[i+16|0]<<16|k[i+17|0]<<24))){j:{if(!(k[j[f>>2]+5|0]&2)){i=g;break j}i=1;if(g){break c}}g=i;Qf(a,f,65536,0);i=pe;if((i|0)>0?1:(i|0)>=0){continue}break c}break}Ng(m,f);if((e|0)<2){continue}break}break a}Li(b);Mi(c);j[a+88>>2]=2;h=d}oe=l+48|0;return h}function Mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;i=j[a+36>>2];b=j[a+20>>2];l=j[a+16>>2];c=j[a>>2];g=j[a+28>>2];e=j[a+24>>2];a:{f=j[a+44>>2];if(j[f+24>>2]){if(!g){break a}d=k[a+63|0]>>>k[f+31|0]<>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break e}}a=g-1|0;j[b>>2]=d|j[c>>2];c=c+4|0;b=b+4|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+i|0;c=c+l|0;g=a;if(a){continue b}break a}a=0;continue}}}if(!g){break a}a=j[a+40>>2];d=j[a+16>>2]|j[a+12>>2]|j[a+20>>2];h=e&7;f=(e+7|0)/8|0;g:while(1){e=f;h:{i:{switch(h-1|0){default:a=0;break h;case 0:a=7;break h;case 1:a=6;break h;case 2:a=5;break h;case 3:a=4;break h;case 4:a=3;break h;case 5:a=2;break h;case 6:break i}}a=1}while(1){j:{switch(a|0){case 0:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=1;continue;case 1:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=2;continue;case 2:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=3;continue;case 3:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=4;continue;case 4:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=5;continue;case 5:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=6;continue;case 6:j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;a=7;continue;default:break j}}a=g-1|0;j[b>>2]=d&j[c>>2];c=c+4|0;b=b+4|0;k:{if((e|0)>1){e=e-1|0;break k}b=b+i|0;c=c+l|0;g=a;if(a){continue g}break a}a=0;continue}}}}function BG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0;i=oe-16|0;oe=i;f=j[a+488>>2];e=j[b+8>>2];qe[j[b+28>>2]](b);d=j[b>>2];a:{if(e>>>0<=d>>>0){j[b+12>>2]=3;break a}l=k[d|0];if(!(l-48>>>0>9?(l|0)!=91:0)){g=j[b+16>>2];b:{if((l|0)==91){j[b>>2]=d+1;c=256;break b}c=qe[j[b+36>>2]](b)|0}qe[j[b+28>>2]](b);if(m[b>>2]>=e>>>0){break a}n=c;j[a+372>>2]=c;j[b+88>>2]=c;r=a,s=xe(g,2,0,c,0,i+12|0),j[r+384>>2]=s;c:{c=j[i+12>>2];if(c){break c}r=a,s=xe(g,4,0,n,0,i+12|0),j[r+388>>2]=s;c=j[i+12>>2];if(c){break c}o=b+92|0;c=qe[j[j[f>>2]>>2]](o,n,g)|0;j[i+12>>2]=c;if(c){break c}if((n|0)>=1){c=0;while(1){qe[j[b+136>>2]](o,c,204303,8)|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}qe[j[b+28>>2]](b);c=j[b>>2];d:{if(e>>>0<=c>>>0){break d}p=(l|0)==91;g=0;while(1){e:{f=k[c|0];d=c+3|0;if(!((f|0)!=100|e>>>0<=d>>>0)){if(k[c+1|0]!=101|k[c+2|0]!=102){break e}switch(k[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break d;default:break e}}if((f|0)!=93){break e}d=c+1|0;break d}f:{if(!(f-48>>>0>9?!p:0)){f=g;if(!p){f=qe[j[b+36>>2]](b)|0;qe[j[b+28>>2]](b);c=j[b>>2]}d=c;if(!((g|0)>=(n|0)|c+2>>>0>=e>>>0|k[c|0]!=47)){d=d+1|0;j[b>>2]=d;qe[j[b+32>>2]](b);c=j[b>>2];if(j[b+12>>2]|c>>>0>=e>>>0){break a}q=c-d|0;c=qe[j[b+136>>2]](o,f,d,q+1|0)|0;j[b+12>>2]=c;if(c){break a}h[q+j[j[b+116>>2]+(f<<2)>>2]|0]=0;g=g+1|0;break f}if((l|0)!=91){break f}j[b+12>>2]=2;break a}qe[j[b+32>>2]](b);d=c;if(j[b+12>>2]){break a}}qe[j[b+28>>2]](b);c=j[b>>2];if(e>>>0>c>>>0){continue}break}}j[a+368>>2]=1;j[b>>2]=d;break a}j[b+12>>2]=c;break a}g:{if(d+17>>>0>=e>>>0){break g}if(Qe(d,205270,16)){break g}j[a+368>>2]=2;break a}h:{if(d+15>>>0>=e>>>0){break h}if(Qe(d,205287,14)){break h}j[a+368>>2]=4;break a}i:{if(d+18>>>0>=e>>>0){break i}if(Qe(d,205302,17)){break i}j[a+368>>2]=3;break a}j[b+12>>2]=162}oe=i+16|0}function xh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;e=j[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{f=k[e|0];switch(f-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){f=0;break a}q=(f|0)==45;f=k[e|0]}d:{if((f&255)==46){d=e;break d}j[g+8>>2]=e;f=Rg(g+8|0,b,10);e:{d=j[g+8>>2];if((d|0)!=(e|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;j[g+8>>2]=i;f=Rg(g+8|0,b,f);d=j[g+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((e|0)==(d|0)){f=0;break a}o=(f|0)>32767;i=o?f:f<<16}f:{if(!(k[d|0]!=46|b>>>0<=d>>>0)){l=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;while(1){g:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(f<<24>>24<0|f-48>>>0>9){break f}h:{if((e|0)>214748363|(l|0)>214748363){break h}e=h[f+133760|0]+p(e,10)|0;if(!((c|0)<1|i)){c=c-1|0;break h}l=p(l,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b;break f}e=0;l=1}i:{j:{k:{l:{n=d+1|0;if(!((k[d|0]|32)!=101|n>>>0>=b>>>0)){j[g+12>>2]=n;m=Rg(g+12|0,b,10);m:{d=j[g+12>>2];if((n|0)!=(d|0)){if(k[d|0]!=35|b>>>0<=d>>>0){break m}f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,b,m);d=j[g+12>>2];if((f|0)!=(d|0)){break m}}f=0;break a}f=0;if((d|0)==(n|0)){break a}if((m|0)>1e3){break l}b=m;m=(m|0)<-1e3;c=(m?0:b)+c|0}j[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(o){break i}if(m){break a}if((c|0)<=0){break k}while(1){if((i|0)>214748363){break i}n:{if((e|0)>=214748364){if((l|0)==1){break i}l=(l|0)/10|0;break n}e=p(e,10)}i=p(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break j}j[a>>2]=d;b=2147483647;if(e|i){break i}break a}if((c|0)>=0){break j}while(1){a=i;i=(i|0)/10|0;o:{if((l|0)<=214748363){l=p(l,10);break o}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break j}continue}break}break a}if(!e){b=i;break i}b=De(e,l)+i|0}f=q?0-b|0:b}oe=g+16|0;return f}function uv(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;d=bf(1,40);j[d+36>>2]=1;a:{b:{if((Ce(a,24)|0)!=5653314){break b}g=d,i=Ce(a,16),j[g>>2]=i;b=Ce(a,24);j[d+4>>2]=b;if((b|0)==-1){break b}b=j[d>>2];c=b?32-s(b)|0:0;b=j[d+4>>2];if((c+(b?32-s(b)|0:0)|0)>24){break b}c:{d:{e:{switch(Ce(a,1)|0){case 0:b=Ce(a,1);if(p(b?1:5,j[d+4>>2])+7>>3>(j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)){break b}c=j[d+4>>2];g=d,i=Te(c),j[g+8>>2]=i;if(!b){break d}b=0;if((c|0)<=0){break c}while(1){c=0;f:{if(!Ce(a,1)){break f}c=Ce(a,5);if((c|0)==-1){break b}c=c+1|0}h[j[d+8>>2]+b|0]=c;b=b+1|0;if((b|0)>2]){continue}break}break c;case 1:break e;default:break b}}b=Ce(a,5);f=b+1|0;if(f>>>0>>0){break b}e=j[d+4>>2];g=d,i=Te(e),j[g+8>>2]=i;if((e|0)<1){break c}b=0;while(1){c=e-b|0;c=Ce(a,c?32-s(c)|0:0);if((c|0)==-1|(f|0)>32){break b}e=j[d+4>>2];if((c|0)>(e-b|0)){break b}if((c|0)>=1){if(c-1>>f-1>1){break b}c=b+c|0;while(1){h[j[d+8>>2]+b|0]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}e=j[d+4>>2];b=c}f=f+1|0;if((b|0)<(e|0)){continue}break}break c}b=0;if((c|0)<=0){break c}while(1){c=Ce(a,5);if((c|0)==-1){break b}h[j[d+8>>2]+b|0]=c+1;b=b+1|0;if((b|0)>2]){continue}break}}b=Ce(a,4);j[d+12>>2]=b;g:{switch(b|0){case 0:break a;case 1:case 2:break g;default:break b}}g=d,i=Ce(a,32),j[g+16>>2]=i;g=d,i=Ce(a,32),j[g+20>>2]=i;g=d,i=Ce(a,4)+1|0,j[g+24>>2]=i;b=Ce(a,1);j[d+28>>2]=b;if((b|0)==-1){break b}c=0;h:{i:{switch(j[d+12>>2]-1|0){case 0:if(!j[d>>2]){break h}c=qO(d);break h;case 1:break i;default:break h}}c=p(j[d>>2],j[d+4>>2])}if((j[a+16>>2]-(j[a>>2]+((j[a+4>>2]+7|0)/8|0)|0)|0)>2],c)+7>>3){break b}e=Te(c<<2);j[d+32>>2]=e;if((c|0)>=1){b=0;while(1){f=Ce(a,j[d+24>>2]);e=j[d+32>>2];j[e+(b<<2)>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!c|j[((c<<2)+e|0)-4>>2]!=-1){break a}}sk(d);d=0}return d}function $n(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 i=0,l=0;i=j[a+4>>2];if(k[i+9|0]==4){a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];l=b;b=h^255;c=k[i+29|0];d=k[i+33|0];f=((p(b,k[j[(c<<2)+234976>>2]+((a&j[i+16>>2])>>>d|0)|0])>>>0)/255|0)+f>>>c<>2]+((a&j[i+12>>2])>>>d|0)|0])>>>0)/255|0)+e>>>c<>2]+((a&j[i+20>>2])>>>d|0)|0])>>>0)/255|0)+g>>>c<>2];a=k[i+35|0];j[l>>2]=d|((p(b,k[j[(c<<2)+234976>>2]+(e>>>a|0)|0])>>>0)/255|0)+h>>>c<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[c>>2];f=k[i+33|0];b=h+k[j[(d<<2)+234976>>2]+((a&j[i+16>>2])>>>f|0)|0]|0;h=c;f=(b>>>0<255?b:255)>>>d<>2]+((a&j[i+12>>2])>>>c|0)|0]+e|0;e=f|(d>>>0<255?d:255)>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0]+g|0;c=e|(d>>>0<255?d:255)>>>b<>2];a=k[i+35|0];j[h>>2]=c|k[j[(b<<2)+234976>>2]+(d>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;a=j[b>>2];d=b;b=k[i+29|0];c=k[i+33|0];f=(p(k[j[(b<<2)+234976>>2]+((a&j[i+16>>2])>>>c|0)|0],f)>>>0)/255>>>b<>2]+((a&j[i+12>>2])>>>c|0)|0],e)>>>0)/255>>>b<>2]+((a&j[i+20>>2])>>>c|0)|0],g)>>>0)/255>>>b<>2];a=k[i+35|0];j[d>>2]=c|k[j[(b<<2)+234976>>2]+(e>>>a|0)|0]>>>b<>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=f>>>k[i+29|0]<>>k[i+28|0]<>>k[i+30|0]<>>k[i+31|0]<>2];g=j[a>>2];n=p(e,g);a:{b:{c:{d:{e:{f:{c=k[a+11|0];switch(c-1|0){case 3:break d;case 1:break e;case 0:break f;default:break c}}l=7;q=g-1|0;f=q&7;g:{if(d&65536){i=-1;c=n-1&7;break g}o=7;f=f^7;l=0;i=1;c=0-n&7}if(!g){break b}d=(n-1>>>3|0)+b|0;b=(q>>>3|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&1;e=0;while(1){h[d|0]=k[d|0]&32639>>>7-c|s<>>0>2]){continue}break}break b}l=6;f=(g<<1)+6&6;h:{if(d&65536){i=-2;c=(n<<1)+6&6;break h}o=6;f=f^6;i=2;l=0;c=((n<<1)+6^-1)&6}if(!g){break b}d=(n-1>>>2|0)+b|0;b=(g-1>>>2|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&3;e=0;while(1){h[d|0]=k[d|0]&16191>>>6-c|s<>>0>2]){continue}break}break b}l=4;f=g<<2&4;i:{if(d&65536){f=f^4;i=-4;c=(n<<2^-1)&4;break i}o=4;l=0;i=4;c=n<<2&4}if(!g){break b}d=(n-1>>>1|0)+b|0;b=(g-1>>>1|0)+b|0;q=(e|0)>1?e:1;g=0;while(1){s=k[b|0]>>>f&15;e=0;while(1){h[d|0]=k[d|0]&3855>>>4-c|s<>>0>2]){continue}break}break b}if(!g){break a}e=(e|0)>1?e:1;f=c>>>3|0;l=0-f|0;i=p(f,g-1|0)+b|0;d=p(f,n-1|0)+b|0;while(1){Ae(t+8|0,i,f);c=0;while(1){d=Ae(d,t+8|0,f)+l|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}i=i+l|0;o=o+1|0;if(o>>>0>2]){continue}break}}c=k[a+11|0]}j[a>>2]=n;b=c&255;j:{if(b>>>0>=8){b=p(b>>>3|0,n);break j}b=p(b,n)+7>>>3|0}j[a+4>>2]=b}oe=t+16|0}function eh(a,b){var c=0,d=0,e=0,f=0;c=oe-80|0;oe=c;a:{if(!b){j[c>>2]=98932;a=ve(98171,c);break a}j[b>>2]=0;d=j[67085];if(!d){a=ve(99429,0);break a}e=3410;b:{c:{switch(a|0){case 1:e=3411;break b;case 3:e=3413;break b;case 5:j[b>>2]=j[d+356>>2];a=0;break a;case 6:e=3414;break b;case 7:e=3415;break b;case 8:case 9:case 10:case 11:case 12:a=0;j[b>>2]=0;break a;case 13:e=32936;break b;case 14:e=32937;break b;case 24:e=33531;break b;case 4:j[c+76>>2]=0;j[c+72>>2]=0;j[c+68>>2]=0;j[c+64>>2]=0;a=-1;if((eh(0,c+76|0)|0)<0){break a}if((eh(1,c+72|0)|0)<0){break a}if((eh(2,c+68|0)|0)<0){break a}if((eh(3,c- -64|0)|0)<0){break a}j[b>>2]=j[c+64>>2]+(j[c+68>>2]+(j[c+72>>2]+j[c+76>>2]|0)|0);a=0;break a;case 15:a=0;j[b>>2]=j[d+388>>2]!=0;break a;case 16:j[b>>2]=j[d+428>>2];a=0;break a;case 17:j[b>>2]=j[d+392>>2];a=0;break a;case 18:j[b>>2]=j[d+396>>2];a=0;break a;case 19:j[b>>2]=j[d+404>>2]==4;a=0;break a;case 20:j[b>>2]=j[d+400>>2];a=0;break a;case 21:j[b>>2]=j[d+404>>2];a=0;break a;case 22:j[b>>2]=j[d+408>>2];a=0;break a;case 23:j[b>>2]=j[d+420>>2];a=0;break a;case 26:j[b>>2]=j[d+424>>2];a=0;break a;default:a=ve(98907,0);break a;case 0:break b;case 2:break c}}e=3412}d:{f=j[d+172>>2];if(f){if(j[d+432>>2]){break d}ve(98799,0);a=-1;break a}j[c+16>>2]=j[d>>2];ve(98744,c+16|0);a=-1;break a}a=-1;d=qe[f|0](d,98828)|0;if(!d){break a}qe[d|0](e,b);b=j[67085];if(!b){ve(99429,0);break a}e:{d=j[b+172>>2];if(d){if(j[b+432>>2]){break e}ve(98799,0);break a}j[c+32>>2]=j[b>>2];ve(98744,c+32|0);break a}b=qe[d|0](b,98938)|0;if(!b){break a}f:{g:{h:{a=qe[b|0]()|0;switch(a-1280|0){case 1:break f;case 0:break g;default:break h}}if(!a){break a}j[c+48>>2]=a;a=ve(99010,c+48|0);break a}a=ve(98949,0);break a}a=ve(98979,0)}oe=c+80|0;return a}function vm(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=oe-16|0;oe=f;j[f+8>>2]=0;n=j[j[a>>2]+28>>2];j[b>>2]=0;a:{b:{if(j[a+24>>2]){break b}j[f+12>>2]=0;c:{d=j[a+8>>2];if(d){o=k[a+12|0];l=j[a>>2];m=j[l+28>>2];d=d+1|0;s=a,t=xe(m,4,0,d,0,f+12|0),j[s+24>>2]=t;if(j[f+12>>2]){break c}e=Fe(l,j[a+4>>2]+3|0);j[f+12>>2]=e;if(e){break c}g=p(d,o);d=_e(l,g);j[f+12>>2]=d;if(d){break c}e=j[l+32>>2];i=g+e|0;d=j[a+24>>2];d:{e:{switch(o-1|0){case 2:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+2|0]|(k[e+1|0]<<8|k[e|0]<<16);d=d+4|0;e=e+3|0;if(i>>>0>e>>>0){continue}break}break d;case 1:if((g|0)<=0){break d}while(1){j[d>>2]=k[e+1|0]|k[e|0]<<8;d=d+4|0;e=e+2|0;if(i>>>0>e>>>0){continue}break}break d;case 0:if((g|0)<=0){break d}while(1){j[d>>2]=k[e|0];d=d+4|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}break d;default:break e}}if((g|0)<=0){break d}while(1){g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);j[d>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d=d+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}Ve(l);if(j[f+12>>2]){break c}}j[f+8>>2]=0;break b}d=m;m=j[a+24>>2];if(m){qe[j[d+8>>2]](d,m)}j[a+24>>2]=0;d=j[f+12>>2];j[f+8>>2]=d;if(d){break a}}d=j[a+8>>2];if(!d){break a}g=0;l=xe(n,4,0,d+1|0,0,f+8|0);if(j[f+8>>2]){break a}if(c){g=He(n,j[a+8>>2]+j[a+20>>2]|0,f+8|0);if(j[f+8>>2]){break a}}o=j[a+28>>2];j[l>>2]=c?g:o;q=j[a+8>>2];if(q){n=0;d=0;e=1;while(1){m=d;i=e<<2;r=j[i+j[a+24>>2]>>2]-1|0;if(r>>>0>=d>>>0){d=j[a+20>>2];d=d>>>0>>0?d:r}f:{if(!c){j[i+l>>2]=d+o;break f}i=i+l|0;r=(d+g|0)+n|0;j[i>>2]=r;if((d|0)==(m|0)){break f}q=j[i-4>>2];Ae(q,m+o|0,r-q|0);h[j[i>>2]]=0;j[i>>2]=j[i>>2]+1;n=n+1|0;q=j[a+8>>2]}e=e+1|0;if(q>>>0>=e>>>0){continue}break}}j[b>>2]=l;if(!c){break a}j[c>>2]=g}oe=f+16|0;return j[f+8>>2]}function Jf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(d){j[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}a=a+1|0;if(b>>>0>a>>>0){break c}e=0;break a}e=4-g|0;i=k[a|0];h=i>>>g&15;if((h|0)==14){r=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){q=q+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}n=n+1|0;i=p(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){l=(f|0)<214748364&(o|0)<9;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}m=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=m;break d}if(!(f|h)){q=q-1|0;f=0;e=m;continue e}e=m;if(!l){continue}break}o=o+1|0;f=p(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){m=0;while(1){if(e){a=a+1|0;if(b>>>0<=a>>>0){e=0;break a}i=k[a|0]}l=(i&255)>>>e&15;if(l>>>0<=9){s=l+p(g,10)|0;l=(g|0)>1e3;g=l?g:s;m=l?1:m;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(m){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+q|0)+e|0;if(d){a=a+n|0;b=n+o|0;if((b|0)<=5){if((f|0)>=32768){e=De(f,10);j[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=p(j[(e<<2)+122448>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}j[d>>2]=a;e=f<<16;break a}b=b<<2;c=j[b+122428>>2];if(((f|0)/(c|0)|0)>=32768){e=De(f,j[b+122432>>2]);j[d>>2]=a-4;break a}e=De(f,c);j[d>>2]=a-5;break a}e=2147483647;b=a+n|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=o-a|0}else{f=(f|0)/j[122448-(b<<2)>>2]|0;a=n+o|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=j[(a<<2)+122448>>2];if(((b|0)/(a|0)|0)>32767){break a}e=De(b,a);break a}a=p(b,j[122448-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return r?0-e|0:e}function NM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+28>>>0){g=j[a+412>>2];b=j[a+20>>2];d=j[a+16>>2];e=k[d|0];a:{if((e|0)==30){c=Jf(d,b,0,0)>>16;b=j[a+20>>2];break a}b:{switch(e-28|0){case 0:if(d+3>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8;c=(c<<24|c<<8&16711680)>>16;break a;case 1:if(d+5>>>0>b>>>0){break a}c=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a;default:break b}}if(e>>>0<=246){c=e-139|0;break a}f=d+2|0;if(e>>>0<=250){if(b>>>0>>0){break a}c=(k[d+1|0]|e<<8)-63124|0;break a}if(b>>>0>>0){break a}c=64148-(k[d+1|0]|e<<8)|0}j[g+132>>2]=c;c=j[a+24>>2];e=k[b|0];c:{if((e|0)==30){d=Jf(b,c,0,0)>>16;c=j[a+24>>2];break c}d:{switch(e-28|0){case 0:d=0;if(b+3>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8;d=(b<<24|b<<8&16711680)>>16;break c;case 1:d=0;if(b+5>>>0>c>>>0){break c}b=k[b+1|0]|k[b+2|0]<<8|(k[b+3|0]<<16|k[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c;default:break d}}if(e>>>0<=246){d=e-139|0;break c}f=b+2|0;if(e>>>0<=250){d=0;if(c>>>0>>0){break c}d=(k[b+1|0]|e<<8)-63124|0;break c}d=0;if(c>>>0>>0){break c}d=64148-(k[b+1|0]|e<<8)|0}j[g+136>>2]=d;d=j[a+28>>2];b=k[c|0];e:{if((b|0)==30){a=Jf(c,d,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(d>>>0>>0){break e}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}e=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>>0){break e}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>>0){break e}a=64148-(k[c+1|0]|b<<8)|0}j[g+140>>2]=a;a=0}else{a=161}return a|0}function BF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=j[b>>2];k=j[b+8>>2]+(g+j[b+4>>2]|0)|0;if(!k){return 1}h=a;d=0;a:{b:{if(!g){break b}e=1;c=v(+(g|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break b}d=-2147483648}j[h>>2]=d;d=j[b+4>>2];c:{if(!d){break c}e=1;c=v(+(d|0)*1e5/+(k|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break c}f=-2147483648}j[a+4>>2]=f;i=j[b+12>>2];g=j[b+20>>2]+(i+j[b+16>>2]|0)|0;if(!g){return 1}l=j[b+4>>2];m=j[b>>2];f=0;h=a;d=0;d:{if(!i){break d}e=1;c=v(+(i|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break d}d=-2147483648}j[h+8>>2]=d;d=j[b+16>>2];e:{if(!d){break e}e=1;c=v(+(d|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){f=~~c;break e}f=-2147483648}j[a+12>>2]=f;d=j[b+24>>2];f=j[b+32>>2]+(d+j[b+28>>2]|0)|0;if(!f){return 1}n=j[b+16>>2];o=j[b+12>>2];i=0;h=a;e=0;f:{if(!d){break f}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}e=~~c;if(r(c)<2147483648){break f}e=-2147483648}j[h+16>>2]=e;d=j[b+28>>2];g:{if(!d){break g}e=1;c=v(+(d|0)*1e5/+(f|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){i=~~c;break g}i=-2147483648}j[a+20>>2]=i;e=1;g=f+(g+k|0)|0;if(!g){break a}f=j[b+28>>2];h=a;b=j[b+24>>2]+(m+o|0)|0;d=0;h:{if(!b){break h}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}d=~~c;if(r(c)<2147483648){break h}d=-2147483648}j[h+24>>2]=d;b=f+(l+n|0)|0;if(!b){j[a+28>>2]=0;return 0}c=v(+(b|0)*1e5/+(g|0)+.5);if(c<=2147483647^1|c>=-2147483648^1){break a}if(r(c)<2147483648){b=~~c}else{b=-2147483648}j[a+28>>2]=b;e=0}return e}function tD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;g=j[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=j[67248]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|3;j[f+4>>2]=j[f+4>>2]|1;dp(b,c);break b}c=0;if(j[67134]==(f|0)){d=d+j[67131]|0;if(d>>>0<=b>>>0){break a}j[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;j[c+4>>2]=b|1;j[67131]=b;j[67134]=c;break b}if(j[67133]==(f|0)){d=d+j[67130]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=c|1;d=a+d|0;j[d>>2]=c;j[d+4>>2]=j[d+4>>2]&-2;break c}j[a+4>>2]=d|g&1|2;b=a+d|0;j[b+4>>2]=j[b+4>>2]|1;c=0;b=0}j[67133]=b;j[67130]=c;break b}e=j[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}k=h-b|0;d:{if(e>>>0<=255){c=j[f+8>>2];e=e>>>3|0;d=j[f+12>>2];if((d|0)==(c|0)){m=268512,n=j[67128]&mP(-2,e),j[m>>2]=n;break d}j[c+12>>2]=d;j[d+8>>2]=c;break d}i=j[f+24>>2];d=j[f+12>>2];e:{if((f|0)!=(d|0)){c=j[f+8>>2];j[c+12>>2]=d;j[d+8>>2]=c;break e}f:{c=f+20|0;e=j[c>>2];if(e){break f}c=f+16|0;e=j[c>>2];if(e){break f}d=0;break e}while(1){l=c;d=e;c=d+20|0;e=j[c>>2];if(e){continue}c=d+16|0;e=j[d+16>>2];if(e){continue}break}j[l>>2]=0}if(!i){break d}c=j[f+28>>2];e=(c<<2)+268816|0;g:{if(j[e>>2]==(f|0)){j[e>>2]=d;if(d){break g}m=268516,n=j[67129]&mP(-2,c),j[m>>2]=n;break d}j[i+(j[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}j[d+24>>2]=i;c=j[f+16>>2];if(c){j[d+16>>2]=c;j[c+24>>2]=d}c=j[f+20>>2];if(!c){break d}j[d+20>>2]=c;j[c+24>>2]=d}if(k>>>0<=15){j[a+4>>2]=g&1|h|2;b=a+h|0;j[b+4>>2]=j[b+4>>2]|1;break b}j[a+4>>2]=g&1|b|2;b=a+b|0;j[b+4>>2]=k|3;c=a+h|0;j[c+4>>2]=j[c+4>>2]|1;dp(b,k)}c=a}return c}function oF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{if(!(!a|!b)){_E(a,b);d=Fl(a);c=j[a+376>>2];if((c|0)!=1229209940){while(1){e=j[a+208>>2];if(e&4){j[a+208>>2]=e|8}c:{d:{if((c|0)!=1229278788){if((c|0)!=1229472850){break d}YE(a,b,d);break c}WE(a,d);break c}e=_p(a,c);if(e){Cl(a,b,d,e);if((c|0)!=1347179589){break c}j[a+208>>2]=j[a+208>>2]|2;break c}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break o}if((c|0)!=1649100612){break e}OE(a,b,d);break c}if((c|0)==1665684045){break n}if((c|0)!=1732332865){break e}VE(a,b,d);break c}if((c|0)<=1767135347){if((c|0)==1749635924){break m}if((c|0)!=1766015824){break e}RE(a,b,d);break c}if((c|0)==1767135348){break f}if((c|0)==1866876531){break l}if((c|0)!=1883455820){break e}KE(a,b,d);break c}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break j}if((c|0)!=1933723988){break e}UE(a,b,d);break c}if((c|0)==1933787468){break k}if((c|0)!=1934642260){break e}QE(a,b,d);break c}if((c|0)<=1950960964){if((c|0)==1934772034){break i}if((c|0)!=1950701684){break e}HE(a,b,d);break c}if((c|0)==1950960965){break h}if((c|0)==1951551059){break g}if((c|0)!=2052348020){break e}FE(a,b,d);break c}XE(a,b,d);break c}TE(a,b,d);break c}NE(a,b,d);break c}LE(a,b,d);break c}JE(a,b,d);break c}ME(a,b,d);break c}SE(a,b,d);break c}IE(a,b,d);break c}PE(a,b,d);break c}EE(a,b,d);break c}Cl(a,b,d,0)}d=Fl(a);c=j[a+376>>2];if((c|0)!=1229209940){continue}break}}c=j[a+208>>2];if(!(c&1)){break b}if(k[a+435|0]==3?!(c&2):0){break a}e=a;if(c&8){Je(a,210300);c=j[a+208>>2]}j[e+208>>2]=c|4;c=a;e=_p(a,1229209940);if(e){Cl(a,b,d,e);d=0}j[c+408>>2]=d}return}hf(a,210250);z()}hf(a,210275);z()}function bB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=oe-32|0;oe=e;c=Xe(1,824);a:{if(!c){c=0;Be(0);break a}j[c+800>>2]=0;j[c+804>>2]=0;j[c+792>>2]=-1;j[c+796>>2]=-1;j[c+784>>2]=-1;j[c+768>>2]=-1;j[c+12>>2]=128;j[c>>2]=a;d=c+808|0;j[d>>2]=0;j[d+4>>2]=0;Oe(e+16|0,0,16);j[e+28>>2]=62;g=j[e+28>>2];j[e+8>>2]=j[e+24>>2];j[e+12>>2]=g;j[e+20>>2]=63;j[e+16>>2]=64;g=j[e+20>>2];j[e>>2]=j[e+16>>2];j[e+4>>2]=g;b:{o=c+16|0;c:{if((Lt(a,o,e)|0)<=-1){ve(2841,0);break c}if((qo(c)|0)>-1){break b}pj(o);a=j[c+772>>2];if(a){Ih(a)}a=j[c+776>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}if(!j[c+4>>2]){break c}a=j[c>>2];qe[j[a+16>>2]](a)|0}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}g=c+800|0;m=c+792|0;d:{e:{i=HO(o);if(j[i+8>>2]<1){break e}while(1){n=Uf(j[j[i>>2]+(k<<2)>>2]);a=xg(n,61);f:{if(!a){l=Le(n)+n|0;break f}h[a|0]=0;l=a+1|0}a=m;g:{h:{if(!Me(n,2872)){break h}if(!Me(n,2882)){f=1;a=d;break h}if(Me(n,2893)){break g}f=0;a=g}p=a,q=kp(l,0,-1,-1),j[p>>2]=q;j[a+4>>2]=pe}if(n){qe[j[57975]](n);j[57976]=j[57976]-1}k=k+1|0;if((k|0)>2]){continue}break}if(!f){break e}l=j[m>>2];f=l+j[d>>2]|0;d=j[d+4>>2]+j[m+4>>2]|0;a=g;j[a>>2]=f;j[a+4>>2]=f>>>0>>0?d+1|0:d;break d}f=j[g>>2];l=j[m>>2];a=j[g+4>>2]-(j[m+4>>2]+(f>>>0>>0)|0)|0;j[d>>2]=f-l;j[d+4>>2]=a}l=Gi(o,-1);a=j[m>>2];i=j[m+4>>2];d=j[g>>2];k=j[g+4>>2];f=pe;if(!((((k|0)<0?1:(k|0)<=0?d>>>0<1:0)?(i|0)<-1?1:(i|0)<=-1:0)|((f|0)<(k|0)?1:(f|0)<=(k|0)?d>>>0>l>>>0:0)|(!(!(d|k)|((i|0)<(k|0)?1:(i|0)<=(k|0)?a>>>0>>0:0))|((f|0)<(i|0)?1:(f|0)<=(i|0)?a>>>0>=l>>>0:0)))){if((i|0)<-1?1:(i|0)<=-1){j[m>>2]=0;j[m+4>>2]=0}if(!(d|k)){j[g>>2]=l;j[g+4>>2]=f}j[c+784>>2]=1}j[c+4>>2]=b}oe=e+32|0;return c|0}function nw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=j[b+28>>2];if(!d){return 1}e=1;a:{if(j[d+8>>2]<1){break a}c=j[d>>2];if((c|0)<64|(c|0)>j[d+4>>2]){break a}c=j[d+3656>>2];g=Ee(a,0,112);a=bf(1,136);j[g+4>>2]=b;j[g+104>>2]=a;e=j[d+8>>2]-1|0;j[a+44>>2]=e?32-s(e)|0:0;e=bf(1,4);j[a+12>>2]=e;f=bf(1,4);j[a+16>>2]=f;h=e;e=bf(1,20);j[h>>2]=e;i=f,k=bf(1,20),j[i>>2]=k;ir(e,j[d>>2]>>c);ir(j[j[a+16>>2]>>2],j[d+4>>2]>>c);c=j[d>>2];j[a+4>>2]=(c?32-s(c)|0:0)-7;c=j[d+4>>2];j[a+8>>2]=(c?32-s(c)|0:0)-7;b:{if(j[d+2848>>2]){break b}i=d,k=bf(j[d+24>>2],56),j[i+2848>>2]=k;c=j[d+24>>2];if((c|0)<1){break b}h=j[d+1824>>2];c:{if(!h){break c}e=d+1824|0;f=0;while(1){if(aO(j[d+2848>>2]+p(f,56)|0,h)){c=j[d+24>>2];break c}sk(j[e>>2]);j[e>>2]=0;c=j[d+24>>2];f=f+1|0;if((c|0)<=(f|0)){break b}e=((f<<2)+d|0)+1824|0;h=j[e>>2];if(h){continue}break}}if((c|0)>=1){a=0;while(1){b=((a<<2)+d|0)+1824|0;e=j[b>>2];if(e){sk(e);j[b>>2]=0;c=j[d+24>>2]}a=a+1|0;if((c|0)>(a|0)){continue}break}}wg(g);return-1}e=j[d+4>>2];j[g+16>>2]=e;b=j[b+4>>2];c=b<<2;i=g,k=Te(c),j[i+8>>2]=k;i=g,k=Te(c),j[i+12>>2]=k;if((b|0)>=1){c=0;while(1){f=bf(e,4);j[j[g+8>>2]+(c<<2)>>2]=f;c=c+1|0;if((b|0)!=(c|0)){continue}break}}j[g+36>>2]=0;j[g+40>>2]=0;b=j[d+4>>2]/2|0;j[g+20>>2]=b;j[g+48>>2]=b;i=a,k=bf(j[d+16>>2],4),j[i+48>>2]=k;i=a,k=bf(j[d+20>>2],4),j[i+52>>2]=k;c=0;if(j[d+16>>2]>0){while(1){b=c<<2;e=b+d|0;e=qe[j[j[(j[e+800>>2]<<2)+3816>>2]+8>>2]](g,j[e+1056>>2])|0;j[b+j[a+48>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}e=0;if(j[d+20>>2]<=0){break a}c=0;while(1){b=c<<2;f=b+d|0;f=qe[j[j[(j[f+1312>>2]<<2)+3824>>2]+8>>2]](g,j[f+1568>>2])|0;j[b+j[a+52>>2]>>2]=f;c=c+1|0;if((c|0)>2]){continue}break}}return e}function cm(a,b,c,d,e){var f=0,g=0,l=0,m=0,n=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;f=oe-80|0;oe=f;a:{if(j[b+72>>2]!=j[a+16>>2]){j[f+76>>2]=6;break a}if((c|0)!=(e|0)){j[f+76>>2]=19;break a}u=b+108|0;b:{if(!d){e=0;d=0;break b}e=j[d+4>>2];d=j[d>>2]}v=j[a+8>>2];Ug(u,f+56|0);r=d+j[f+56>>2]|0;m=r&-64;j[f+56>>2]=m;s=(d+j[f+64>>2]|0)+63&-64;j[f+64>>2]=s;n=j[f+60>>2]+e&-64;j[f+60>>2]=n;t=(j[f+68>>2]+e|0)+63|0;l=t&-64;j[f+68>>2]=l;x=l-n|0;l=x>>>6|0;w=(c|0)==4?p(l,3):l;z=s-m|0;s=z>>>6|0;g=p(s,3);o=(c|0)==3;y=o?g:s;if((w|y)&268402688){j[f+76>>2]=98;break a}if(h[j[b+156>>2]+4|0]&1){q=j[b+88>>2];if(q){qe[j[v+8>>2]](v,q)}j[b+88>>2]=0;q=j[b+156>>2];j[q+4>>2]=j[q+4>>2]&-2}g=o?g+3&536870908:s;A=b,B=He(v,p(g,w),f+76|0),j[A+88>>2]=B;if(j[f+76>>2]){break a}o=j[b+156>>2];j[o+4>>2]=j[o+4>>2]|1;j[b+104>>2]=t>>6;j[b+100>>2]=r>>6;j[b+72>>2]=1651078259;h[b+94|0]=2;i[b+92>>1]=256;j[b+80>>2]=y;j[b+84>>2]=g;j[b+76>>2]=w;n=e-n|0;m=d-m|0;t=n|m;if(t){Tf(u,m,n)}j[f+16>>2]=1;j[f+12>>2]=u;j[f+8>>2]=b+76;o=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0;j[f+76>>2]=o;c:{if(!o){d:{if((c|0)==3){if(!x){break d}r=j[b+88>>2];e=l;while(1){if(z){a=r+y|0;d=s;while(1){d=d-1|0;q=k[r+d|0];h[a-1|0]=q;h[a-2|0]=q;a=a-3|0;h[a|0]=q;if(d){continue}break}}r=g+r|0;e=e-1|0;if(e){continue}break}}if(!(!x|(c|0)!=4)){d=j[b+88>>2];a=d+p(g,w-l|0)|0;while(1){c=Ae(Ae(Ae(d,a,g)+g|0,a,g)+g|0,a,g);a=a+g|0;d=c+g|0;l=l-1|0;if(l){continue}break}}j[f+76>>2]=0;if(t){Tf(u,0-m|0,0-n|0)}if(o){break c}break a}j[f+76>>2]=0;if(!t){break a}Tf(u,0-m|0,0-n|0);break a}if(!t){break c}Tf(u,0-m|0,0-n|0)}a=j[b+88>>2];if(a){qe[j[v+8>>2]](v,a)}j[b+88>>2]=0;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2}oe=f+80|0;return j[f+76>>2]}function SI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=oe-48|0;oe=d;k=j[b+28>>2];j[d+20>>2]=j[b+8>>2];r=d,s=sf(b,d+4|0),j[r+8>>2]=s;c=j[d+4>>2];a:{if(c){break a}c=$e(b,199040,d+8|0);j[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(j[d+8>>2]==1330926671){e=l[d+12>>1];break b}e=j[d+20>>2];c=Fe(b,e+12|0);j[d+44>>2]=c;if(c){break a}c=2;if(!l[d+12>>1]){break a}m=e+28|0;e=0;while(1){c:{c=$e(b,199072,d+24|0);j[d+44>>2]=c;if(c){break c}c=j[b+4>>2];f=j[d+32>>2];d:{if(c>>>0>>0){break d}h=j[d+36>>2];n=h>>>0<=c-f>>>0;c=j[d+24>>2];if((c|0)!=1752003704?!(n|(c|0)==1986884728):0){break d}e=e+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}o=1;break d}if((c|0)!=1651008868?(c|0)!=1751474532:0){break d}if(h>>>0<54){c=142;break a}c=Fe(b,f+12|0);j[d+44>>2]=c;if(c){break a}sf(b,d+44|0);c=j[d+44>>2];if(c){break a}c=Fe(b,(g<<4)+m|0);j[d+44>>2]=c;p=1;if(!c){break d}break a}q=1}g=g+1|0;if(g>>>0>1]){continue}}break}i[d+12>>1]=e;c=2;if(!(e&65535)){break a}if(!p){c=142;if(!o|!q){break a}}j[d+4>>2]=0;c=j[d+8>>2]}j[a+148>>2]=c;i[a+152>>1]=e;r=a,s=xe(k,16,0,e&65535,0,d+4|0),j[r+156>>2]=s;c=j[d+4>>2];if(c){break a}c=Fe(b,j[d+20>>2]+12|0);j[d+4>>2]=c;if(c){break a}c=_e(b,l[a+152>>1]<<4);j[d+4>>2]=c;if(c){break a}if(l[d+12>>1]){c=j[a+156>>2];a=0;while(1){r=c,s=Ff(b),j[r>>2]=s;r=c,s=Ff(b),j[r+4>>2]=s;r=c,s=Ff(b),j[r+8>>2]=s;e=Ff(b);j[c+12>>2]=e;f=j[b+4>>2];g=j[c+8>>2];f:{if(f>>>0>>0){break f}h=e;e=f-g|0;if(h>>>0>e>>>0){f=j[c>>2];if((f|0)!=1752003704?(f|0)!=1986884728:0){break f}j[c+12>>2]=e&-4}c=c+16|0}a=a+1|0;if(a>>>0>1]){continue}break}}Ve(b);c=j[d+4>>2]}oe=d+48|0;return c|0}function ve(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;c=oe-1056|0;oe=c;a:{if(!a){break a}j[65586]=1;Re(262348,a,128);j[c+1052>>2]=b;j[65619]=0;d=k[a|0];b:{if(!d){break b}while(1){b=a+1|0;c:{if((d|0)!=37){a=b;break c}while(1){d=b;b=d+1|0;g=k[d|0];if((g|0)==46|(g-48&255)>>>0<10){continue}break}a=b;d:{e:{f:{g:{h:{i:{j:{k:{g=g<<24>>24;switch(g-88|0){case 24:break g;case 14:break h;case 0:case 11:case 12:case 17:case 23:case 29:case 32:break i;case 20:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 15:case 16:case 18:case 19:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break d;case 27:break f;default:break k}}if(g){break e}a=d;break d}a=d+2|0;l:{m:{d=h[d+1|0];switch(d-88|0){case 0:case 12:case 17:case 29:case 32:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break d;default:break m}}if(!d){break e}break d}b=j[c+1052>>2];j[c+1052>>2]=b+4;b=j[b>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=b;break d}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2]+7&-8;j[c+1052>>2]=a+8;i=o[a>>3];f=e+1|0;j[65619]=f;o[(e<<7)+262480>>3]=i;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];f=e+1|0;j[65619]=f;j[(e<<7)+262480>>2]=a;break e}a=j[c+1052>>2];j[c+1052>>2]=a+4;a=j[a>>2];Re((e<<7)+262480|0,a?a:64099,128);f=j[65619]+1|0;j[65619]=f}a=b}e=f;if((e|0)>4){break b}}d=k[a|0];if(d){continue}break}}if(ZC()>>>0>2){break a}l=c,m=Zo(c+16|0),j[l>>2]=m;XC(c)}oe=c+1056|0;return-1}function ZJ(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(m[b+160>>2]>>0){Pe(b,8)}e=k[a+3|0]|k[a+2|0]<<8;if(m[b+160>>2]>>0){if(j[b+164>>2]){Pe(b,8)}e=j[b+160>>2]-a|0}if(e>>>0<=15){Pe(b,8)}c=k[a+7|0];d=c|k[a+6|0]<<8;if(!(!(c&1)|m[b+164>>2]<2)){Pe(b,8)}f=d&65534;if((f<<2)+16>>>0>e>>>0){Pe(b,8)}h=d>>>1|0;a:{if(m[b+164>>2]<2){break a}i=k[a+12|0];d=k[a+11|0]|k[a+10|0]<<8;c=k[a+9|0];l=c|k[a+8|0]<<8;g=c;c=k[a+13|0];if((g|c)&1){Pe(b,8)}g=1<>>1|0;if(!((g|0)!=(d|0)|d>>>0>h>>>0|(l&65534)>>>0>>0)){if((d+((c|i<<8)>>>1|0)|0)==(h|0)){break a}}Pe(b,8)}n=a+14|0;b:{if(m[b+164>>2]<2){break b}c=(f+n|0)-2|0;if((k[c|0]<<8|k[c+1|0])==65535){break b}Pe(b,8)}if(!h){return 0}o=(a+f|0)+16|0;p=f+o|0;g=f+p|0;s=f+g|0;u=a+e|0;t=h-1|0;d=0;c=0;while(1){a=c;e=d;v=k[g|0]<<8;f=k[g+1|0];l=k[p|0];i=k[p+1|0];c=k[o+1|0]|k[o|0]<<8;d=k[n+1|0]|k[n|0]<<8;if(c>>>0>d>>>0){Pe(b,8)}f=f|v;c:{if(!q|c>>>0>e>>>0){break c}if(j[b+164>>2]){Pe(b,8);break c}if(!(d>>>0>=e>>>0?a>>>0<=c>>>0:0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+g|0;e:{f:{if(j[b+164>>2]){if(a>>>0>>0|((d-c<<1)+a|0)+2>>>0>u>>>0){break f}break e}if((d|0)==65535?!((q|0)!=(t|0)|(c|0)!=65535):0){break e}if(a>>>0>>0){break f}if(m[b+160>>2]>=((d-c<<1)+a|0)+2>>>0){break e}}Pe(b,8)}if(!j[b+164>>2]|c>>>0>=d>>>0){break d}l=i|l<<8;e=c;while(1){i=k[a+1|0]|k[a|0]<<8;if(!(!i|m[b+172>>2]>(l+i&65535)>>>0)){Pe(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((q|0)!=(t|0)|m[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}Pe(b,8)}g=g+2|0;p=p+2|0;n=n+2|0;o=o+2|0;q=q+1|0;if((q|0)!=(h|0)){continue}break}return r|0}function vA(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0;a:{b:{if((a|0)<=1431918168){c:{switch(a-842094158|0){case 0:case 11:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break c}}if((a|0)==825382478){break a}if((a|0)!=844715353){break b}break a}if((a|0)==1431918169|(a|0)==1448433993|(a|0)==1498831189){break a}}ve(74108,0);return 0}d=Xe(1,48);if(!d){Be(0);return 0}j[d+12>>2]=c;j[d+8>>2]=b;j[d+4>>2]=0;j[d>>2]=a;f=(b+1|0)/2|0;g=(c+1|0)/2|0;h=p(f,g);k=p(b,c);d:{e:{f:{g:{if((a|0)<=1431918168){h:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:break f;case 11:break g;default:break h}}if((a|0)==825382478){break f}if((a|0)!=844715353){break d}break e}if((a|0)==1431918169|(a|0)==1498831189){break e}if((a|0)!=1448433993){break d}}e=(h<<1)+k|0;break d}e=(h<<1)+k|0;break d}e=p(c,f)<<2}e=qe[j[57972]](e?e:1)|0;if(e){j[57976]=j[57976]+1}j[d+16>>2]=e;if(!e){kf(j[d+40>>2]);kf(j[d+44>>2]);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Be(0);return 0}i:{j:{k:{l:{if((a|0)<=1431918168){m:{switch(a-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break k;case 11:break l;default:break m}}if((a|0)==825382478){break k}if((a|0)!=844715353){break j}break i}if((a|0)==1431918169|(a|0)==1498831189){break i}if((a|0)!=1448433993){break j}}j[d+28>>2]=e;i[d+20>>1]=b;a=b&65535;b=e+p(a,c)|0;j[d+32>>2]=b;a=a+1>>>1|0;i[d+24>>1]=a;i[d+22>>1]=a;j[d+36>>2]=b+p(a,g);return d}j[d+28>>2]=e;i[d+20>>1]=b;i[d+22>>1]=b+1&65534;j[d+32>>2]=e+p(b&65535,c)}return d}j[d+28>>2]=e;i[d+20>>1]=f<<2;return d}function hr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;i=oe-16|0;oe=i;g=j[b>>2];e=g<<1;x=a,y=xe(d,4,0,e,0,i+12|0),j[x+12>>2]=y;a:{if(j[i+12>>2]){break a}x=a,y=xe(d,28,0,g,0,i+12|0),j[x+8>>2]=y;if(j[i+12>>2]){break a}x=a,y=xe(d,16,0,e|1,0,i+12|0),j[x+24>>2]=y;if(j[i+12>>2]){break a}j[a>>2]=g;j[a+28>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+16>>2]=j[a+12>>2]+(g<<2);if(g){d=j[a+8>>2];b=j[b+8>>2];f=g;while(1){j[d>>2]=j[b>>2];j[d+4>>2]=j[b+4>>2];j[d+16>>2]=j[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;if(f){continue}break}}e=0;b:{if(!c){break b}l=j[c>>2];m=j[c+8>>2];j[a+32>>2]=c;if(!l){break b}while(1){s=j[m>>2];if(s){o=j[m+8>>2];b=0;n=0;t=0;while(1){if(!b){t=k[o|0];o=o+1|0;b=128}c:{if(!(b&t)|g>>>0<=n>>>0){break c}h=j[a+8>>2]+p(n,28)|0;c=j[h+16>>2];if(c&4){break c}j[h+16>>2]=c|4;c=j[a+16>>2];j[h+20>>2]=0;d:{if(!e){break d}u=j[h>>2];w=u+j[h+4>>2]|0;f=e;d=c;while(1){q=j[d>>2];v=j[q>>2];if(!((v|0)>(w|0)|(j[q+4>>2]+v|0)<(u|0))){j[h+20>>2]=q;break d}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;j[a+4>>2]=d;j[c+(e<<2)>>2]=h;e=d}b=b>>1;n=n+1|0;if((s|0)!=(n|0)){continue}break}}m=m+16|0;l=l-1|0;if(l){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=j[a+8>>2]+p(r,28)|0;b=j[f+16>>2];e:{if(b&4){break e}j[f+16>>2]=b|4;c=j[a+16>>2];j[f+20>>2]=0;f:{if(!e){break f}m=j[f>>2];n=m+j[f+4>>2]|0;b=e;d=c;while(1){h=j[d>>2];l=j[h>>2];if(!((l|0)>(n|0)|(m|0)>(l+j[h+4>>2]|0))){j[f+20>>2]=h;break f}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;j[a+4>>2]=b;j[c+(e<<2)>>2]=f;e=b}r=r+1|0;if((r|0)!=(g|0)){continue}break}}oe=i+16|0;return j[i+12>>2]}function px(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=Hh(j[a+60>>2],b,c);a:{if(b){break a}b:{if(!j[a+36>>2]){j[d>>2]=1;break b}b=j[a>>2];r=qe[j[b+4>>2]](b,0,0,1)|0;f=pe;o=j[a+48>>2];i=j[a+52>>2];t=j[a+64>>2];c:{if((t|0)>=1){u=j[a+68>>2];b=0;while(1){e=p(b,20);c=e+u|0;d:{if(!j[c>>2]){break d}d=f;n=j[a+40>>2];g=p(k[a+14|0],l[a+12>>1]>>>3&31);v=e+u|0;q=p(g,j[v+4>>2]);s=n+q|0;e=j[a+44>>2];h=s>>>0>>0?e+1|0:e;q=h;if((d|0)<(h|0)?1:(h|0)>=(d|0)?s>>>0>r>>>0:0){break d}d=p(g,j[v+8>>2]+1|0);g=d+n|0;e=d>>>0>g>>>0?e+1|0:e;d=g;if((e|0)>(f|0)?1:(e|0)>=(f|0)?d>>>0>r>>>0:0){break c}}b=b+1|0;if((t|0)>(b|0)){continue}break}}c=0;d=o;e=i}n=j[a+20>>2];g=n;e:{h=j[a>>2];b=r;o=d-b|0;f=e-(f+(b>>>0>d>>>0)|0)|0;b=g>>31;b=qe[j[h+8>>2]](h,j[a+56>>2],1,((b|0)>(f|0)?1:(f|0)<=(b|0)?g>>>0>o>>>0:0)?o:g)|0;if((b|0)<1){break e}if((ii(j[a+60>>2],j[a+56>>2],b)|0)>=0){break e}return-1}f:{if(!c){break f}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)>>>0>>0;b=pe;if((b|0)<(e|0)?1:(e|0)>=(b|0)?d:0){break f}g:{h:{i:{b=j[c+16>>2];switch(b|0){case 1:break g;case 0:break h;default:break i}}j[c+16>>2]=b-1}a=j[a>>2];qe[j[a+4>>2]](a,s,q,0)|0;break b}j[c>>2]=0}b=j[a>>2];d=qe[j[b+4>>2]](b,0,0,1)|0;c=pe;b=j[a+52>>2];if((b|0)>(c|0)?1:(c|0)<=(b|0)?d>>>0>2]:0){break b}i=j[a+36>>2];if((i|0)==1){j[a+36>>2]=0;Ko(j[a+60>>2]);break b}b=-1;e=j[a+64>>2];if((e|0)>=1){d=j[a+68>>2];c=0;while(1){f=d+p(c,20)|0;j[f>>2]=1;j[f+16>>2]=j[f+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=(i|0)>0?i-1|0:-1;c=j[a>>2];qe[j[c+4>>2]](c,j[a+40>>2],j[a+44>>2],0)|0;if(pe>>31<0){break a}}b=0}return b|0}function jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,y)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Wv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){i=(p(i,z)>>>0)/255|0;h=(p(h,A)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){i=(p(i,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,A)>>>0)/255|0}b=b>>>24|0;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function Dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+63|0];y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];c=j[a+52>>2];B=c&48;C=c&2;D=c&1;c=c&112;E=c-16|0;F=(c|0)==64;q=j[a+20>>2];c=q;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(n){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(D){h=(p(h,y)>>>0)/255|0;i=(p(i,A)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b&255;o=C?(p(b,x)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!B|o>>>0>254)){h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;l=(p(l,o)>>>0)/255|0}n=n-1|0;s=e>>>24|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(E|0){default:if(!F){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-o|0;s=o+((p(b,s)>>>0)/255|0)|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m|s<<24;c=c+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;q=j[a+32>>2]+q|0;if(d){g=g+w|0;n=j[a+24>>2];d=c;c=q;continue}break}j[a+20>>2]=q}}function nE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-1056|0;oe=i;d=i+1048|0;j[d>>2]=0;j[d+4>>2]=0;d=i+1040|0;j[d>>2]=0;j[d+4>>2]=0;j[i+1032>>2]=0;j[i+1036>>2]=0;j[i+1024>>2]=0;j[i+1028>>2]=0;a:{b:{c:{d:{c=k[b|0];e:{if(!c){l=-1;d=1;break e}while(1){if(!k[a+f|0]){break b}d=c&255;f=f+1|0;j[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;j[c>>2]=j[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}m=1;c=1;while(1){g=k[(c+l|0)+b|0];h=k[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(m|0)){e=e+m|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){m=d-l|0;e=d;c=1;break f}l=e;e=e+1|0;m=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=m;break c}d=0;h=1;c=1;while(1){o=k[(c+g|0)+b|0];n=k[b+e|0];g:{if((o|0)==(n|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(n>>>0>o>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=m;e=h}c=d;d=g+1>>>0>l+1>>>0;h=d?e:c;n=d?g:l;o=n+1|0;h:{if(Cg(b,h+b|0,o)){d=(n^-1)+f|0;h=(d>>>0>>0?n:d)+1|0;p=f-h|0;m=0;break h}p=f-h|0;m=p}r=f-1|0;q=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=Mh(a,0,q);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+q|0}e=k[d+r|0];c=f;j:{k:{if(!(j[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-j[(e<<2)+i>>2]|0;if(c){c=m?g?c>>>0>>0?p:c:c:c;break k}l:{c=o;e=c>>>0>g>>>0?c:g;l=k[e+b|0];if(l){while(1){if(k[d+e|0]!=(l&255)){break l}e=e+1|0;l=k[e+b|0];if(l){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(k[c+b|0]==k[d+c|0]){continue}break}c=h;g=m;break j}c=e-n|0}g=0}d=d+c|0;continue}}d=0}oe=i+1056|0;return d}function Mj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=oe-16|0;oe=h;a:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);f=-1;break a}if(j[a+8>>2]!=1){f=ve(73721,0);break a}if(!b){b=h;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+12>>2];j[b+12>>2]=j[a+16>>2]}f=j[a+44>>2];if(f){e=j[a+36>>2];b:{if(j[a+72>>2]!=j[e+352>>2]){break b}g=j[e+340>>2];if(!g){break b}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;f=-1;if((i|0)<0){break a}f=j[a+44>>2]}f=tA(f,b,c,d);break a}if(j[a+40>>2]){f=j[b+4>>2];j[a+56>>2]=j[b>>2];j[a+60>>2]=f;g=j[b+12>>2];f=a- -64|0;j[f>>2]=j[b+8>>2];j[f+4>>2]=g;e=j[b>>2];f=j[a+52>>2];g=j[a+48>>2]+p(f,j[b+4>>2])|0;a=j[a+4>>2];c:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break c}b=(a|0)==1431918169?2:1;break c}b=a&255}j[c>>2]=g+p(b,e);j[d>>2]=f;f=0;break a}d:{e=j[a+36>>2];if(j[a+72>>2]!=j[e+352>>2]){break d}g=j[e+340>>2];if(!g){break d}f=e+420|0;i=qe[j[e+48>>2]](e,g,j[e+408>>2],j[e+412>>2])|0;while(1){g=f;f=j[f+8>>2];if(f){continue}break}j[g+8>>2]=j[e+432>>2];j[e+432>>2]=j[e+428>>2];j[e+428>>2]=0;f=j[e+344>>2];if(f){j[f+24>>2]=j[e+348>>2];j[e+344>>2]=0;j[e+348>>2]=j[e+340>>2];j[e+340>>2]=0}j[e+412>>2]=0;j[e+404>>2]=0;j[e+396>>2]=0;j[e+400>>2]=0;j[e+352>>2]=j[e+352>>2]+1;if((i|0)>=0){break d}f=-1;break a}f=qe[j[e+60>>2]](e,a,b,c,d)|0}oe=h+16|0;return f}function fN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,l=0,n=0;l=oe-16|0;oe=l;d=j[a+656>>2];j[l+12>>2]=0;a:{if(!d){break a}f=j[d+2960>>2];c=0;b:{if(f){break b}f=He(j[a+100>>2],32,l+12|0);c=j[l+12>>2];if(c){break a}a=0;n=f;c=j[d+1324>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break c}g=j[j[d+1316>>2]+(e<<2)>>2];break c}e=j[d+2956>>2];g=0;if(!e){break c}g=qe[j[e+20>>2]](c)|0}j[n>>2]=g;e=j[d+1328>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break d}a=j[j[d+1316>>2]+(c<<2)>>2];break d}c=j[d+2956>>2];if(!c){break d}a=qe[j[c+20>>2]](e)|0}j[f+4>>2]=a;a=0;n=f;c=j[d+1336>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c-391|0;g=0;if(e>>>0>=m[d+1312>>2]){break e}g=j[j[d+1316>>2]+(e<<2)>>2];break e}e=j[d+2956>>2];g=0;if(!e){break e}g=qe[j[e+20>>2]](c)|0}j[n+8>>2]=g;e=j[d+1340>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e-391|0;if(c>>>0>=m[d+1312>>2]){break f}a=j[j[d+1316>>2]+(c<<2)>>2];break f}c=j[d+2956>>2];if(!c){break f}a=qe[j[c+20>>2]](e)|0}j[f+12>>2]=a;c=0;e=j[d+1344>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e-391|0;if(a>>>0>=m[d+1312>>2]){break g}c=j[j[d+1316>>2]+(a<<2)>>2];break g}a=j[d+2956>>2];if(!a){break g}c=qe[j[a+20>>2]](e)|0}j[f+16>>2]=c;j[f+20>>2]=j[d+1352>>2];h[f+24|0]=k[d+1348|0];i[f+26>>1]=j[d+1356>>2];i[f+28>>1]=j[d+1360>>2];j[d+2960>>2]=f;c=j[l+12>>2]}a=j[f+4>>2];j[b>>2]=j[f>>2];j[b+4>>2]=a;a=j[f+28>>2];j[b+24>>2]=j[f+24>>2];j[b+28>>2]=a;a=j[f+20>>2];j[b+16>>2]=j[f+16>>2];j[b+20>>2]=a;a=j[f+12>>2];j[b+8>>2]=j[f+8>>2];j[b+12>>2]=a}oe=l+16|0;return c|0}function wg(a){var b=0,c=0,d=0,e=0,f=0;if(a){f=j[a+4>>2];b=0;a:{if(!f){break a}b=j[f+28>>2]}c=j[a+104>>2];if(c){d=j[c>>2];if(d){lL(d);ze(j[c>>2])}d=j[c+12>>2];if(d){lm(j[d>>2]);ze(j[j[c+12>>2]>>2]);ze(j[c+12>>2])}d=j[c+16>>2];if(d){lm(j[d>>2]);ze(j[j[c+16>>2]>>2]);ze(j[c+16>>2])}e=j[c+48>>2];if(e){b:{if(!b){break b}d=1;if(j[b+16>>2]<1){break b}qe[j[j[(j[b+800>>2]<<2)+3816>>2]+16>>2]](j[e>>2]);if(j[b+16>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+800>>2]<<2)+3816>>2]+16>>2]](j[e+j[c+48>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+48>>2]}ze(e)}e=j[c+52>>2];if(e){c:{if(!b){break c}d=1;if(j[b+20>>2]<1){break c}qe[j[j[(j[b+1312>>2]<<2)+3824>>2]+16>>2]](j[e>>2]);if(j[b+20>>2]>=2){while(1){e=d<<2;qe[j[j[(j[(b+e|0)+1312>>2]<<2)+3824>>2]+16>>2]](j[e+j[c+52>>2]>>2]);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+52>>2]}ze(e)}e=j[c+56>>2];if(e){d:{if(!b){break d}d=1;if(j[b+28>>2]<1){break d}Xq(e);if(j[b+28>>2]>=2){while(1){Xq(j[c+56>>2]+p(d,52)|0);d=d+1|0;if((d|0)>2]){continue}break}}e=j[c+56>>2]}ze(e)}b=j[c+60>>2];if(b){Sh(b)}j[c+80>>2]=0;j[c+84>>2]=0;j[c+120>>2]=0;j[c+124>>2]=0;j[c+112>>2]=0;j[c+116>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0;j[c+96>>2]=0;j[c+100>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;uq(c+20|0);uq(c+32|0)}d=j[a+8>>2];e:{if(!d){break e}f:{if(!f){break f}e=j[f+4>>2];if((e|0)<1){break f}b=0;while(1){d=j[(b<<2)+d>>2];if(d){ze(d);e=j[f+4>>2]}b=b+1|0;if((e|0)>(b|0)){d=j[a+8>>2];continue}break}d=j[a+8>>2]}ze(d);b=j[a+12>>2];if(!b){break e}ze(b)}if(c){b=j[c+64>>2];if(b){ze(b)}b=j[c+68>>2];if(b){ze(b)}b=j[c+72>>2];if(b){ze(b)}ze(c)}Ee(a,0,112)}}function tJ(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,n=0,o=0,p=0,q=0;d=a+10|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+6|0]|k[a+7|0]<<8|(k[a+8|0]<<16|k[a+9|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+2|0]|k[a+3|0]<<8|(k[a+4|0]<<16|k[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h-10>>>0)/11>>>0>=n>>>0?!(h>>>0<10|j[b+160>>2]-a>>>0>>0):0)){Pe(b,8)}if(n){o=a+4|0;c=1;while(1){p=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);a=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){Pe(b,8)}if(c>>>0>p>>>0){Pe(b,8)}a:{if(!e){break a}a=e+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);l=i+k[a+3|0]|0;if(l>>>0>=1114112){Pe(b,8)}if(e>>>0>i>>>0){Pe(b,8)}a=a+4|0;e=l+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+o|0;c=a-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>j[b+160>>2]-a>>>2>>>0){Pe(b,8);break d}if(!c){break c}}e=0;g=0;while(1){i=k[a+3|0];l=k[a+4|0];f=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);if(f>>>0>=1114112){Pe(b,8)}if(e>>>0>f>>>0){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(l|i<<8)>>>0)){Pe(b,16)}a=a+5|0;e=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+11|0;c=p+1|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}}return 0}function lk(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=e>>8;if((d|0)==(f|0)){c=b-j[a+172>>2]|0;b=j[a+168>>2];b=((b|0)<(s|0)?b:s)-j[a+164>>2]|0;d=(b|0)>-1?b:-1;if(!((c|0)==j[a+160>>2]?(d|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=c;j[a+156>>2]=d}j[a+196>>2]=c>>>0>2]?(d|0)>=j[a+180>>2]:1;return}v=e&255;i=c&255;r=c>>8;if((r|0)==(s|0)){b=f-d|0;j[a+192>>2]=b+j[a+192>>2];j[a+188>>2]=j[a+188>>2]+p(b,i+v|0);return}l=f-d|0;g=a;k=e-c|0;a:{if((k|0)>-1){w=256;u=1;c=256-i|0;break a}k=0-k|0;u=-1;c=i}e=p(c,l);c=(e|0)/(k|0)|0;n=e-p(c,k)|0;h=c+(n>>31)|0;l=h+j[a+192>>2]|0;j[g+192>>2]=l;o=j[a+188>>2]+p(h,i|w)|0;j[a+188>>2]=o;c=j[a+168>>2];e=r+u|0;c=((c|0)<(e|0)?c:e)-j[a+164>>2]|0;g=(c|0)>-1?c:-1;i=b-j[a+172>>2]|0;if(!((i|0)==j[a+160>>2]?(g|0)==j[a+156>>2]:0)){if(!j[a+196>>2]){Og(a)}j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;r=j[a+184>>2];c=r>>>0>i>>>0?j[a+180>>2]<=(g|0):c;j[a+196>>2]=c;d=d+h|0;if((e|0)!=(s|0)){q=(f+h|0)-d<<8;h=(q|0)/(k|0)|0;q=q-p(h,k)|0;t=q>>31;q=(t&k)+q|0;t=h+t|0;h=n-((n|0)<0?0:k)|0;while(1){h=h+q|0;n=((h^-1)>>>31|0)+t|0;l=n+l|0;j[a+192>>2]=l;o=(n<<8)+o|0;j[a+188>>2]=o;x=g;g=j[a+168>>2];e=e+u|0;g=((e|0)>(g|0)?g:e)-j[a+164>>2]|0;g=(g|0)>-1?g:-1;y=i;i=b-j[a+172>>2]|0;if(!((y|0)==(i|0)?(x|0)==(g|0):0)){if(!c){Og(a);r=j[a+184>>2]}j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=i;j[a+156>>2]=g;o=0;l=0}c=1;h=h-((h|0)<0?0:k)|0;d=d+n|0;c=i>>>0>>0?(g|0)>=j[a+180>>2]:c;j[a+196>>2]=c;if((e|0)!=(s|0)){continue}break}}b=f-d|0;j[a+192>>2]=b+l;j[a+188>>2]=p(b,(v|256)-w|0)+o}function Bl(a){var b=0,c=0,d=0,e=0;bF(a);a:{if(k[a+432|0]){b=j[a+352>>2];c=j[a+216>>2];j[a+356>>2]=c&2?b:b+7>>>3|0;e=j[a+348>>2];b=k[a+433|0];d=k[b+212385|0];j[a+368>>2]=((e+d|0)+(k[b+212378|0]^-1)>>>0)/(d>>>0);break a}j[a+356>>2]=j[a+352>>2];e=j[a+348>>2];j[a+368>>2]=e;c=j[a+216>>2]}d=k[a+438|0];d=c&4?k[a+436|0]<8?8:d:d;b=d&255;b:{if(c&4096){c:{d:{switch(k[a+435|0]){case 3:b=l[a+428>>1]?32:24;break c;case 0:b=(((d&255)>>>0>8?d:8)&255)<<(l[a+428>>1]!=0);break c;case 2:break d;default:break c}}if(!l[a+428>>1]){break c}b=((d&255)<<2>>>0)/3|0}if(!(c&512)){break b}b=b<<(k[a+436|0]<16);break b}if(!(c&512)){break b}j[a+216>>2]=c&-513}c=j[a+216>>2];d=c&32768;e:{if(!d){break e}f:{switch(k[a+435|0]){case 0:b=(b|0)<9?16:32;break e;case 2:case 3:break f;default:break e}}b=(b|0)>32?64:32}g:{if(!(c&16384)){break g}h:{if(!(d|c>>>12&l[a+428>>1]!=0)){d=k[a+435|0];if((d|0)!=4){break h}}b=(b|0)<17?32:64;break g}if((b|0)<=8){b=(d|0)==6?32:24;break g}b=(d|0)==6?64:48}if(c&1048576){c=p(k[a+205|0],k[a+204|0]);b=(b|0)<(c|0)?c:b}h[a+443|0]=0;h[a+442|0]=b;c=e+7&-8;c=((b+7>>3)+((b|0)>7?p(c,b>>>3|0):p(b,c)>>>3|0)|0)+49|0;if(c>>>0>m[a+784>>2]){Ke(a,j[a+728>>2]);Ke(a,j[a+804>>2]);b=a;i:{if(k[a+432|0]){d=gk(a,c);break i}d=qh(a,c)}j[b+728>>2]=d;b=qh(a,c);j[a+804>>2]=b;j[a+784>>2]=c;b=b+32|0;j[a+380>>2]=(b^-1|-16)+b;b=j[a+728>>2]+32|0;j[a+384>>2]=(b^-1|-16)+b}j:{b=j[a+364>>2];if((b|0)!=-1){Ee(j[a+380>>2],0,b+1|0);b=j[a+788>>2];if(b){j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,b)}if(El(a,1229209940)){break j}j[a+212>>2]=j[a+212>>2]|64;return}Ye(a,212392);z()}Ye(a,j[a+248>>2]);z()}function jy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+56>>2];d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(e|0)){b=b<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0]}b=f-1|0;a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function yw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(i,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=i+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,x)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,i)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+i|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+i|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(l,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=f+h|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){i=(p(i,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;l=(p(l,x)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){i=(p(i,q)>>>0)/255|0;h=(p(h,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(l,f)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+l|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+h|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=l+f|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=h+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Qv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;f=((p(b,f)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=f+i|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Ow(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;f=(p(l,f)>>>0)/255|0;break a;case 0:b=255-q|0;m=((p(b,m)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;f=((p(b,f)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=h+m|0;m=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+f|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|m;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b&255;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,y)>>>0)/255|0;l=(p(l,z)>>>0)/255|0}b=b>>>24|0;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;m=(p(l,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+i|0;m=((p(b,m)>>>0)/255|0)+l|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+i|0;e=b>>>0<255?b:255;b=l+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Kv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;n=j[a+24>>2];u=(j[a+4>>2]<<16)/(n|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+63|0];x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];A=c&48;B=c&2;C=c&1;c=c&112;D=c-16|0;E=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((g|0)>=65536){b=(g-((g|0)<131071?g:131071)|0)+65535|0;g=(g-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(n){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];h=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(C){h=(p(h,x)>>>0)/255|0;i=(p(i,z)>>>0)/255|0;l=(p(l,y)>>>0)/255|0}b=b&255;q=B?(p(b,w)>>>0)/255|0:b;f=e>>>8|0;b=e>>>16|0;if(!(!A|q>>>0>254)){h=(p(h,q)>>>0)/255|0;i=(p(i,q)>>>0)/255|0;l=(p(l,q)>>>0)/255|0}n=n-1|0;m=e&255;e=f&255;f=b&255;a:{b:{switch(D|0){default:if(!E){break a}f=(p(f,h)>>>0)/255|0;e=(p(e,l)>>>0)/255|0;m=(p(i,m)>>>0)/255|0;break a;case 0:b=255-q|0;f=((p(b,f)>>>0)/255|0)+h|0;e=((p(b,e)>>>0)/255|0)+l|0;m=((p(b,m)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=f+h|0;f=b>>>0<255?b:255;b=e+l|0;e=b>>>0<255?b:255;b=i+m|0;m=b>>>0<255?b:255}j[c>>2]=e<<8|m|f<<16;c=c+4|0;d=d+u|0;if(n){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){g=g+v|0;n=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function gx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];w=(j[a+4>>2]<<16)/(n|0)|0;x=(j[a+8>>2]<<16)/(b|0)|0;if(b){y=k[a+62|0];z=k[a+61|0];A=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;B=(b&48)!=0&(o|0)!=255;C=b&1;r=o^255;b=b&112;D=b-16|0;E=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;u=((c>>>16|0)+u|0)+1|0}if(n){s=-1;d=65536;v=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;v=(j[a>>2]+p(j[a+12>>2],u)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[v>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(C){g=(p(g,y)>>>0)/255|0;h=(p(h,z)>>>0)/255|0;i=(p(i,A)>>>0)/255|0}if(B){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;t=e>>>24|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(D|0){default:if(!E){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:t=((p(r,t)>>>0)/255|0)+o|0;l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l|t<<24;b=b+4|0;d=d+w|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+x|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function Sw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];v=(j[a+4>>2]<<16)/(m|0)|0;w=(j[a+8>>2]<<16)/(c|0)|0;if(c){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;A=(c&48)!=0&(n|0)!=255;B=c&1;q=n^255;c=c&112;C=c-16|0;D=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;t=((b>>>16|0)+t|0)+1|0}if(m){r=-1;d=65536;u=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[u>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(B){h=(p(h,y)>>>0)/255|0;g=(p(g,z)>>>0)/255|0;b=(p(b,x)>>>0)/255|0}if(A){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;s=e>>>24|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:s=((p(q,s)>>>0)/255|0)+n|0;i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i|s<<24;c=c+4|0;d=d+v|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+w|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function gG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;k=oe-272|0;oe=k;h=j[a+28>>2];d=bf(1,1120);a=Ce(b,5);j[d>>2]=a;a:{b:{c:{d:{if((a|0)<1){break d}f=d+4|0;e=-1;while(1){a=Ce(b,4);j[f+(c<<2)>>2]=a;if((a|0)<0){break c}e=(a|0)>(e|0)?a:e;c=c+1|0;if((c|0)>2]){continue}break}if((e|0)<0){break d}l=d+320|0;f=d+256|0;m=d+192|0;n=d+128|0;c=0;while(1){a=c<<2;o=a+n|0,p=Ce(b,3)+1|0,j[o>>2]=p;i=a+m|0;g=Ce(b,2);j[i>>2]=g;if((g|0)<0){break c}e:{if(!g){a=j[a+f>>2];break e}g=a+f|0;a=Ce(b,8);j[g>>2]=a}if((a|0)<0|j[h+24>>2]<=(a|0)){break c}a=0;if(j[i>>2]!=31){while(1){g=Ce(b,8);j[(l+(c<<5)|0)+(a<<2)>>2]=g-1;if((g|0)<0|(g|0)>j[h+24>>2]){break c}a=a+1|0;if((a|0)<1<>2]){continue}break}}a=(c|0)!=(e|0);c=c+1|0;if(a){continue}break}}o=d,p=Ce(b,2)+1|0,j[o+832>>2]=p;h=Ce(b,4);if((h|0)<0){break c}e=j[d>>2];f:{if((e|0)<=0){f=1<>2]<<2)>>2]+c|0;if((c|0)>63){break c}if((a|0)<(c|0)){while(1){e=Ce(b,h);j[(g+(a<<2)|0)+8>>2]=e;if((e|0)<0|(e|0)>=(f|0)){break c}a=a+1|0;if((c|0)!=(a|0)){continue}break}e=j[d>>2];a=c}i=i+1|0;if((i|0)<(e|0)){continue}break}}j[d+840>>2]=f;a=0;j[d+836>>2]=0;b=c+2|0;if((c|0)<=-2){eg(k,b,4,109);break a}e=d+836|0;h=(b|0)>1?b:1;while(1){f=a<<2;j[f+k>>2]=e+f;a=a+1|0;if((h|0)!=(a|0)){continue}break}eg(k,b,4,109);if((c|0)<0){break a}b=(b|0)>2?b:2;e=j[j[k>>2]>>2];a=1;while(1){c=e;e=j[j[(a<<2)+k>>2]>>2];if((c|0)!=(e|0)){a=a+1|0;if((b|0)!=(a|0)){continue}break a}break}if(!d){break b}}ze(d)}d=0}oe=k+272|0;return d|0}function Bv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;g=oe-16|0;oe=g;c=j[a+52>>2];f=j[c>>2];d=j[f+4>>2];a:{if(k[d+8|0]<=7){vf(c);a=ve(96032,0);break a}if(k[a|0]&2){ei(a,1);d=j[f+4>>2]}j[c+8>>2]=449;j[c+56>>2]=j[a+4>>2];b=j[a+16>>2];j[c+60>>2]=d;j[c+28>>2]=b;j[c+48>>2]=j[f+16>>2];b:{if(!(k[c+69|0]&16)){break b}if(Hj(a)){break b}a=0;break a}c:{if(!(!j[c+4>>2]|j[c+68>>2]&-4097)){b=450;break c}b=j[a+4>>2];if(!(k[j[f+4>>2]+28|0]<9?k[b+28|0]<=8:0)){vf(c);a=ve(96032,0);break a}d:{e:{if(k[b+8|0]>7){break e}d=j[b>>2];if(((d&-268435456)!=268435456?d:0)|(d>>>24&15)-1>>>0>2){break e}b=Dy(a);break d}f:{if(k[b+9|0]!=1){break f}b=j[b>>2];if(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2){break f}b=sy(a);break d}if(k[c+68|0]&16){b=hy(a);break d}b=Ux(a)}if(b){break c}d=j[c+68>>2];i=j[j[f+4>>2]>>2];l=j[j[a+4>>2]>>2];g:{if(j[58615]!=-1){break g}b=Mf(96063);j[58615]=0;if(b){j[g>>2]=234460;Zy(b,g);break g}if(Tn()){j[58615]=j[58615]|1}if(Ty()){j[58615]=j[58615]|2}if(Ry()){j[58615]=j[58615]|4}if(Qy()){j[58615]=j[58615]|8}if(!Uy()){break g}j[58615]=j[58615]|16}b=j[57984];if(b){h=d&883;d=0;m=j[58615];while(1){e=p(d,20);if(!(j[e+231920>>2]!=(l|0)|j[e+231924>>2]!=(i|0)|(j[e+231928>>2]&h)!=(h|0))){e=j[e+231932>>2];if((e&m)==(e|0)){break c}}d=d+1|0;b=j[p(d,20)+231936>>2];if(b){continue}break}}b=j[j[f+4>>2]>>2];a=j[j[a+4>>2]>>2];if(!(((a&-268435456)!=268435456?a:0)|(a>>>24&15)-1>>>0<3|((b>>>24&15)-1>>>0<3|((b&-268435456)!=268435456?b:0)))){j[c+12>>2]=451;a=0;break a}j[c+12>>2]=0;vf(c);a=ve(96032,0);break a}j[c+12>>2]=b;a=0}oe=g+16|0;return a}function kh(a,b){var c=0,d=0,e=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}a:{b:{if(b){c=a;e=v(+q(n[a+288>>2]*q(j[b>>2])));c:{if(r(e)<2147483648){d=~~e;break c}d=-2147483648}j[c+216>>2]=d;c=a;e=v(+q(n[a+292>>2]*q(j[b+4>>2])));d:{if(r(e)<2147483648){d=~~e;break d}d=-2147483648}j[c+220>>2]=d;c=a;e=w(+q(n[a+288>>2]*q(j[b+8>>2])));e:{if(r(e)<2147483648){d=~~e;break e}d=-2147483648}j[c+224>>2]=d;e=w(+q(n[a+292>>2]*q(j[b+12>>2])));if(!(r(e)<2147483648)){break b}j[a+228>>2]=~~e;break a}j[a+216>>2]=0;j[a+220>>2]=0;b=a+228|0;c=a+224|0;d=j[a+316>>2];if(d){if(j[d>>2]!=268306){ve(73666,0);return}j[c>>2]=j[d+12>>2];j[b>>2]=j[d+16>>2];break a}d=j[a+8>>2];f:{if(d){b=qe[d|0](a,c,b)|0;break f}d=j[a+188>>2];if(d){Wg(d,c,b);break a}b=ve(73438,0)}if((b|0)>=0){break a}return}j[a+228>>2]=-2147483648}g:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break g}}h:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break h}b=Xe(1,28);if(b){break h}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=1;j[b+4>>2]=0;c=a+216|0;Ge(b+8|0,c,16);if((qe[j[a+20>>2]](a,b)|0)<=-1){j[b>>2]=0;return}Ge(a+360|0,c,16);j[a+400>>2]=1}i:{if(j[a+336>>2]){break i}c=j[a+340>>2];if(!c){break i}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function Zo(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,p=0,q=0;e=oe-112|0;oe=e;h[a|0]=0;if(j[65586]){d=1023;b=k[262348];a:{if(!b){c=a;break a}q=e+110|0;n=1;p=e+80|1;g=262348;c=a;while(1){b:{c:{d:{e:{f:{g:{if((b&255)==37){h[e+80|0]=37;m=g+1|0;i=k[g+1|0];if((i|0)==46){b=p;break g}b=p;if((i-48&255)>>>0<=9){break g}l=g;break f}h[c|0]=b;d=d-1|0;c=c+1|0;g=g+1|0;break b}while(1){l=m;if(b>>>0>=q>>>0){break e}h[b|0]=i;m=l+1|0;b=b+1|0;i=k[l+1|0];if((i|0)==46|(i-48&255)>>>0<10){continue}break}}if((i|0)!=108){break d}h[b|0]=108;m=h[l+2|0];h[b+2|0]=0;h[b+1|0]=m;g=l+3|0;h:{switch(m-88|0){case 0:case 12:case 17:case 29:case 32:break h;default:break c}}j[e>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e);if((b|0)<1){break c}d=d-b|0;c=b+c|0;break b}l=g+29|0}h[b+1|0]=0;h[b|0]=i;g=l+2|0;i:{switch((i<<24>>24)-37|0){case 0:h[c|0]=37;d=d-1|0;c=c+1|0;break b;case 51:case 62:case 63:case 68:case 74:case 80:case 83:j[e+16>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e+16|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 65:o[e+32>>3]=o[(f<<7)+262480>>3];f=f+1|0;b=Ue(c,d,e+80|0,e+32|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 75:j[e+48>>2]=j[(f<<7)+262480>>2];f=f+1|0;b=Ue(c,d,e+80|0,e+48|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b;case 78:break i;default:break b}}j[e+64>>2]=(f<<7)+262480;f=f+1|0;b=Ue(c,d,e+80|0,e- -64|0);if((b|0)<1){break b}d=d-b|0;c=b+c|0;break b}b=k[g|0];if((b|0)!=0&n){continue}break a}if((d|0)<1){break a}n=(d|0)>0;b=k[g|0];if(b){continue}break}}h[((d|0)<0?(c+d|0)-1|0:c)|0]=0}oe=e+112|0;return a}function yf(a,b,c){var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;d=oe-16|0;oe=d;g=j[a>>2];j[d+12>>2]=0;a:{b:{b=i[a+58>>1]+(i[a+22>>1]+b|0)|0;e=j[a+4>>2];h=b>>>0<=e>>>0;if(!h){b=b+7&-8;f=10;if(b>>>0>32767){break a}m=a,n=xe(g,8,e,b,j[a+24>>2],d+12|0),j[m+24>>2]=n;if(j[d+12>>2]){break b}m=a,n=xe(g,1,e,b,j[a+28>>2],d+12|0),j[m+28>>2]=n;if(j[d+12>>2]){break b}if(k[a+16|0]){f=xe(g,8,e<<1,b<<1,j[a+40>>2],d+12|0);j[a+40>>2]=f;if(j[d+12>>2]){break b}l=b<<3;e=e<<3;zg(l+f|0,e+f|0,e);j[a+44>>2]=j[a+40>>2]+l}j[a+4>>2]=b}b=i[a+20>>1];c=i[a+56>>1]+(c+b|0)|0;e=j[a+8>>2];c:{d:{if(c>>>0>e>>>0){b=c+3&-4;f=10;if(b>>>0>32767){break a}c=xe(g,2,e,b,j[a+32>>2],d+12|0);j[a+32>>2]=c;if(j[d+12>>2]){break b}j[a+8>>2]=b;b=i[a+20>>1];break d}if(h){break c}c=j[a+32>>2]}j[a+68>>2]=(b<<1)+c;c=i[a+22>>1];b=c<<3;j[a+60>>2]=b+j[a+24>>2];j[a- -64>>2]=c+j[a+28>>2];if(!k[a+16|0]){break c}j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}if(j[d+12>>2]){break b}f=0;break a}b=j[a>>2];c=b;g=j[a+24>>2];if(g){qe[j[c+8>>2]](c,g)}j[a+24>>2]=0;c=j[a+28>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+28>>2]=0;c=j[a+32>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0;c=j[a+40>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+40>>2]=0;c=j[a+52>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+20>>2]=0;j[a+88>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;f=j[d+12>>2]}oe=d+16|0;return f}function pv(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,l=0,m=0;h=oe-96|0;oe=h;g=Jk(b,99334);a:{if(!g){b:{a=dg(99299);c:{if(!a|(k[a|0]&254)==48){break c}if(!Me(a,99357)){break c}if(!Me(a,99328)){break c}if(!Me(a,99290)){break c}while(1){d:{so(f,h+8|0);if(!Me(j[h+8>>2],a)){break d}f=f+1|0;if((f|0)<2){continue}break c}break}f=Nj(b,f,0);if(f){break b}}a=0;while(1){so(a,h+8|0);if(cf(j[h+8>>2],99290)){f=Nj(b,a,0);if(f){break b}}a=a+1|0;if((a|0)<2){continue}break}a=ve(99362,0);break a}g=Xe(1,20);if(!g){Yk(f);a=Be(0);break a}uj(b,99334,g);j[g>>2]=f}a=j[g+4>>2];if(a){jh(a);j[g+4>>2]=0}a=j[g+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=0;j[g+8>>2]=0;a=-1;if((EA(j[g>>2],h+8|0)|0)<=-1){break a}i=j[h+20>>2];j[c>>2]=i;m=j[h+16>>2];e:{if(!m){a=i;break e}a=i;while(1){f:{if((a&-268435456)!=268435456?a:0){break f}l=a>>>24&15;g:{if(l-4>>>0<=2){l=a>>>20&15;if(l>>>0>8|!(1<>>0>4){break g}l=a>>>20&15;if(l>>>0>6){break g}if(1<>2]=a;break e}f=f+1|0;if((m|0)==(f|0)){a=i}else{a=j[((f<<2)+h|0)+20>>2];continue}break}}i=_k(j[g>>2],a,1,j[b+24>>2],j[b+28>>2]);j[g+4>>2]=i;a=-1;if(!i){break a}i=g;a=j[c>>2];h:{if(!(!a|(a&-268435456)==268435456)){f=2;if((a|0)==844715353|(a|0)==1498831189){break h}f=(a|0)==1431918169?2:1;break h}f=a&255}j[i+16>>2]=f;a=p(j[b+24>>2],f)+3&-4;j[g+12>>2]=a;a=p(a,j[b+28>>2]);a=a?a:1;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}j[g+8>>2]=a;if(!a){a=Be(0);break a}j[d>>2]=a;j[e>>2]=j[g+12>>2];kh(j[g>>2],0);a=0}oe=h+96|0;return a|0}function io(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe+ -64|0;oe=e;c=j[a+436>>2];if(c){d=Vg();b=j[c>>2];a:{if((d|0)!=(b|0)){j[c+424>>2]=0;if((tg(j[a+188>>2],b)|0)<0){break a}}b=j[a+436>>2];if(!j[b+4>>2]){break a}while(1){if(qe[j[b+104>>2]]()|0){continue}break}}b=j[c+252>>2];if(b){while(1){qe[j[c+56>>2]](j[b>>2]);d=j[b+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}b=j[c+260>>2];if(b){while(1){qe[j[c+52>>2]](j[b>>2]);d=j[b+148>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=d;if(b){continue}break}}if(j[c>>2]){f=j[c+232>>2];if(f){while(1){b=f+8|0;f=j[f+12>>2];qe[j[c+200>>2]](1,b);g=j[a+436>>2];b:{if(!j[g+4>>2]){break b}b=74205;d=qe[j[g+104>>2]]()|0;if(!d){break b}while(1){b=k[b|0]?b:75958;h=76063;i=d-1280|0;if(i>>>0<=5){h=j[(i<<2)+76072>>2]}j[e+52>>2]=d;j[e+48>>2]=h;j[e+44>>2]=75279;j[e+40>>2]=1377;j[e+36>>2]=74206;j[e+32>>2]=b;ve(75966,e+32|0);d=qe[j[g+104>>2]]()|0;if(d){continue}break}}b=j[c+232>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c+232>>2]=f;if(f){continue}break}}qe[j[c+216>>2]](8,c+272|0);f=j[a+436>>2];c:{if(!j[f+4>>2]){break c}d=qe[j[f+104>>2]]()|0;if(!d){break c}b=74205;while(1){b=k[b|0]?b:75958;h=76063;g=d-1280|0;if(g>>>0<=5){h=j[(g<<2)+76072>>2]}j[e+20>>2]=d;j[e+16>>2]=h;j[e+12>>2]=75279;j[e+8>>2]=1383;j[e+4>>2]=74206;j[e>>2]=b;ve(75966,e);d=qe[j[f+104>>2]]()|0;if(d){continue}break}}Gk(j[c>>2])}b=j[c+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}oe=e- -64|0}function VG(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,n=0,o=0,p=0,q=0,r=0;e=oe-16|0;oe=e;g=j[b+16>>2];o=j[a+488>>2];qe[j[b+28>>2]](b);c=j[b>>2];a:{if(!(c>>>0>=m[b+8>>2]|k[c|0]!=91)){qe[j[b+32>>2]](b);qe[j[b+28>>2]](b);a=j[b>>2];if(k[a|0]==93?a>>>0>2]:0){break a}j[b+12>>2]=3;break a}p=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}h=b+316|0;qe[j[b+28>>2]](b);b:{if(!j[b+312>>2]){c=qe[j[j[o>>2]>>2]](h,p,g)|0;j[e+12>>2]=c;if(c){break b}}c=j[b>>2];c:{if(m[b+8>>2]<=c+4>>>0){break c}while(1){if(Qe(c,203988,3)){break c}qe[j[b+32>>2]](b);f=qe[j[b+36>>2]](b)|0;i=j[j[a+128>>2]+48>>2];c=j[b+8>>2];qe[j[b+28>>2]](b);d:{d=j[b>>2];e:{if(d>>>0>=c>>>0|k[d|0]-48>>>0>9){break e}d=qe[j[b+36>>2]](b)|0;qe[j[b+32>>2]](b);if((d|0)<0){break e}l=c;c=j[b>>2];n=c+1|0;if((d|0)<(l-n|0)){break d}}if(i){break a}j[b+12>>2]=3;break a}j[b>>2]=(c+d|0)+1;if(j[b+12>>2]){break a}qe[j[b+32>>2]](b);if(j[b+12>>2]){break a}qe[j[b+28>>2]](b);c=j[b>>2];f:{if(m[b+8>>2]<=c+4>>>0){break f}if(Qe(c,203992,3)){break f}qe[j[b+32>>2]](b);qe[j[b+28>>2]](b)}if(!j[b+312>>2]){c=j[a+172>>2];g:{if((c|0)>=0){if(c>>>0>d>>>0){c=3;j[e+12>>2]=3;break b}i=He(g,d,e+12|0);c=j[e+12>>2];if(c){break b}c=Ae(i,n,d);qe[j[o+16>>2]](c,d,4330);l=f;f=j[a+172>>2];q=e,r=qe[j[b+360>>2]](h,l,f+c|0,d-f|0)|0,j[q+12>>2]=r;if(c){qe[j[g+8>>2]](g,c)}c=j[e+12>>2];break g}c=qe[j[b+360>>2]](h,f,n,d)|0;j[e+12>>2]=c}if(c){break b}}c=j[b>>2];if(m[b+8>>2]>c+4>>>0){continue}break}}if(j[b+312>>2]){break a}j[b+312>>2]=p;break a}j[b+12>>2]=c}oe=e+16|0}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}l=(p(g,l)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;break a;case 0:l=((p(l,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;e=((p(e,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=g+l|0;l=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=e+i|0;e=c>>>0<255?c:255}j[b>>2]=m<<8|e<<16|l;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;n=j[a+24>>2];v=(j[a+4>>2]<<16)/(n|0)|0;w=(j[a+8>>2]<<16)/(b|0)|0;if(b){x=k[a+62|0];y=k[a+61|0];z=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]:255;A=(b&48)!=0&(o|0)!=255;B=b&1;r=o^255;b=b&112;C=b-16|0;D=(b|0)==64;q=j[a+20>>2];b=q;while(1){if((f|0)>=65536){c=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(c&-65536)|0)-65536|0;t=((c>>>16|0)+t|0)+1|0}if(n){s=-1;d=65536;u=0;while(1){if((d|0)>=65536){c=(d-((d|0)<131071?d:131071)|0)+65535|0;s=((c>>>16|0)+s|0)+1|0;u=(j[a>>2]+p(j[a+12>>2],t)|0)+(s<<2)|0;d=(d-(c&-65536)|0)-65536|0}e=j[b>>2];c=j[u>>2];g=c&255;h=c>>>8&255;i=c>>>16&255;if(B){g=(p(g,x)>>>0)/255|0;h=(p(h,y)>>>0)/255|0;i=(p(i,z)>>>0)/255|0}if(A){g=(p(g,o)>>>0)/255|0;h=(p(h,o)>>>0)/255|0;i=(p(i,o)>>>0)/255|0}n=n-1|0;l=e&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(C|0){default:if(!D){break a}e=(p(e,g)>>>0)/255|0;m=(p(h,m)>>>0)/255|0;l=(p(i,l)>>>0)/255|0;break a;case 0:e=((p(e,r)>>>0)/255|0)+g|0;m=((p(m,r)>>>0)/255|0)+h|0;l=((p(l,r)>>>0)/255|0)+i|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}c=e+g|0;e=c>>>0<255?c:255;c=h+m|0;m=c>>>0<255?c:255;c=i+l|0;l=c>>>0<255?c:255}j[b>>2]=m<<8|l|e<<16;b=b+4|0;d=d+v|0;if(n){continue}break}d=j[a+28>>2]}b=d-1|0;j[a+28>>2]=b;q=j[a+32>>2]+q|0;if(d){f=f+w|0;n=j[a+24>>2];d=b;b=q;continue}break}j[a+20>>2]=q}}function eA(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,k=0,l=0,m=0,n=0,o=0,q=0;m=oe-32|0;k=m;oe=k;h=j[b+8>>2];f=j[a+316>>2];i=376840196;a:{if(!f){break a}i=j[f+4>>2]}l=!i|(i&-268435456)==268435456;b:{if(!l){f=2;if((i|0)==844715353|(i|0)==1498831189){break b}f=(i|0)==1431918169?2:1;break b}f=i&255}n=p(f,h);h=p(n,j[b+12>>2]);c:{if(!h){break c}f=j[a+436>>2];h=qe[j[57972]](h?h:1)|0;if(h){j[57976]=j[57976]+1}if(!h){g=Be(0);break c}$k(a,k+28|0,k+24|0);o=j[f+136>>2];q=j[b>>2];d:{if(j[a+316>>2]){f=j[b+12>>2];g=j[b+4>>2];break d}f=j[b+12>>2];g=(j[k+24>>2]-j[b+4>>2]|0)-f|0}qe[o|0](q,g,j[b+8>>2],f,6408,5121,h);e:{f=j[a+436>>2];if(!j[f+4>>2]){break e}g=qe[j[f+104>>2]]()|0;if(!g){break e}while(1){a=76063;b=g-1280|0;if(b>>>0<=5){a=j[(b<<2)+76072>>2]}j[k+20>>2]=g;j[k+16>>2]=a;j[k+12>>2]=75935;j[k+8>>2]=1829;j[k+4>>2]=74206;j[k>>2]=75920;ve(75966,k);g=qe[j[f+104>>2]]()|0;if(g){continue}break}g=-1;break c}f:{if(j[a+316>>2]){break f}a=j[b+8>>2];f=j[b+12>>2];g:{if(!l){g=2;if((i|0)==844715353|(i|0)==1498831189){break g}g=(i|0)==1431918169?2:1;break g}g=i&255}l=p(g,a);h:{if(l>>>0<=127){m=m-(l+15&-16)|0;oe=m;a=f;break h}m=qe[j[57972]](l?l:1)|0;if(m){j[57976]=j[57976]+1}a=j[b+12>>2]}if(a+1>>>0>=3){g=h+p(f-1|0,n)|0;o=0-n|0;f=(a|0)/2|0;a=h;while(1){Ge(m,a,l);Ge(a,g,l);Ge(g,m,l);g=g+o|0;a=a+n|0;f=f-1|0;if(f){continue}break}}if(l>>>0<128){break f}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}g=fh(j[b+8>>2],j[b+12>>2],i,h,n,c,d,e);if(h){qe[j[57975]](h);j[57976]=j[57976]-1}}oe=k+32|0;return g|0}function bx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}i=(p(b,i)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:i=((p(i,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+i|0;i=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[c>>2]=l<<8|e<<16|i;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function Zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;m=j[a+24>>2];u=(j[a+4>>2]<<16)/(m|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){w=k[a+62|0];x=k[a+61|0];y=k[a+60|0];c=j[a+52>>2];n=c&2?k[a+63|0]:255;z=(c&48)!=0&(n|0)!=255;A=c&1;q=n^255;c=c&112;B=c-16|0;C=(c|0)==64;o=j[a+20>>2];c=o;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(m){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}e=j[c>>2];b=j[t>>2];g=b&255;h=b>>>8&255;b=b>>>16&255;if(A){h=(p(h,x)>>>0)/255|0;g=(p(g,y)>>>0)/255|0;b=(p(b,w)>>>0)/255|0}if(z){h=(p(h,n)>>>0)/255|0;g=(p(g,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}m=m-1|0;i=e&255;l=e>>>8&255;e=e>>>16&255;a:{b:{switch(B|0){default:if(!C){break a}e=(p(b,e)>>>0)/255|0;l=(p(h,l)>>>0)/255|0;i=(p(g,i)>>>0)/255|0;break a;case 0:e=((p(e,q)>>>0)/255|0)+b|0;l=((p(l,q)>>>0)/255|0)+h|0;i=((p(i,q)>>>0)/255|0)+g|0;break a;case 16:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a}}b=b+e|0;e=b>>>0<255?b:255;b=h+l|0;l=b>>>0<255?b:255;b=g+i|0;i=b>>>0<255?b:255}j[c>>2]=l<<8|i|e<<16;c=c+4|0;d=d+u|0;if(m){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;o=j[a+32>>2]+o|0;if(d){f=f+v|0;m=j[a+24>>2];d=c;c=o;continue}break}j[a+20>>2]=o}}function vK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-17408|0;oe=c;a:{if(!a){a=96;break a}d=j[b+4>>2];if(!d){a=20;break a}a=i[d+2>>1];b:{if(!a){break b}e=i[d>>1];if((e|0)<1){break b}f=j[d+12>>2];if(!f){a=20;break a}if(!j[d+4>>2]){a=20;break a}if((a|0)!=(i[((e<<1)+f|0)-2>>1]+1|0)){a=20;break a}a=19;if(k[b+8|0]&3){break a}b=j[b>>2];if(!b){a=20;break a}if(!j[b+4>>2]){break b}a=0;if(!j[b>>2]){break a}a=20;if(!j[b+12>>2]){break a}a=j[d+16>>2];j[c+16528>>2]=a;f=j[d+12>>2];e=c+16520|0;j[e>>2]=j[d+8>>2];j[e+4>>2]=f;e=j[d+4>>2];j[c+16512>>2]=j[d>>2];j[c+16516>>2]=e;e=j[b+12>>2];d=c+16496|0;j[d>>2]=j[b+8>>2];j[d+4>>2]=e;e=j[b+20>>2];d=c+16504|0;j[d>>2]=j[b+16>>2];j[d+4>>2]=e;d=j[b+4>>2];j[c+16488>>2]=j[b>>2];j[c+16492>>2]=d;j[c+16416>>2]=c+16384;b=a&256;j[c+16404>>2]=b?30:2;j[c+16400>>2]=b?256:32;b=b?12:6;j[c+16384>>2]=b;d=b-6|0;j[c+16408>>2]=d;j[c+16396>>2]=d;b=1<>2]=b;j[c+16392>>2]=b>>>1;j[c+16412>>2]=c;c:{if(a&8){h[c+16560|0]=2;break c}b=a>>>2&4;h[c+16560|0]=b;if(a&32){break c}h[c+16560|0]=b|1}i[c+17342>>1]=l[c+16488>>1]-1;j[c+17404>>2]=0;j[c+16556>>2]=791;j[c+16552>>2]=792;j[c+16548>>2]=793;j[c+16544>>2]=794;i[c+17340>>1]=0;i[c+16440>>1]=j[c+16492>>2];j[c+16444>>2]=j[c+16500>>2];h[c+16561|0]=(a>>>9^-1)&1;a=Wq(c+16384|0,0);if(a){break a}if(!k[c+16561|0]|k[c+16560|0]==2){break b}j[c+17404>>2]=0;j[c+16556>>2]=795;j[c+16552>>2]=796;j[c+16548>>2]=797;j[c+16544>>2]=798;i[c+17340>>1]=0;i[c+17342>>1]=l[c+16492>>1]-1;a=Wq(c+16384|0,1);if(a){break a}}a=0}oe=c+17408|0;return a|0}function Sf(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=j[((k[b|0]^a&255)<<2)+212560>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=j[b>>2]^a;a=j[b+4>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+8>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+12>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+16>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+20>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+24>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[b+28>>2]^(j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2]);a=j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=j[b>>2]^a;a=j[(a>>>6&1020)+214608>>2]^j[((a&255)<<2)+215632>>2]^j[(a>>>14&1020)+213584>>2]^j[(a>>>22&1020)+212560>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=j[((k[b|0]^a&255)<<2)+212560>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function ar(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i=oe-16|0;oe=i;d=j[a+12>>2];if(d){j[(j[a+20>>2]+(d<<4)|0)-4>>2]=b}l=j[a+24>>2];a:{if((l|0)<2){break a}p=l;while(1){s=p;f=p-2|0;r=j[a+32>>2];p=p-1|0;b=r+(p<<4)|0;n=j[b>>2];d=j[b+8>>2];while(1){b:{e=(f<<4)+r|0;b=j[e+8>>2];c:{e=j[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){o=d;break e}o=(g-8>>>3|0)+1|0;e=o+b|0;o=d+o|0;q=d;while(1){if(k[b|0]&k[q|0]){break d}b=b+1|0;q=q+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=e}if(!g|!(k[b|0]&k[o|0]&-256>>g)){break c}}d=f>>>0>p>>>0;b=d?p:f;e=d?f:p;if(b>>>0>=e>>>0|e>>>0>=l>>>0){break b}f=(e<<4)+r|0;l=j[f>>2];f:{if(!l){break f}n=(b<<4)+r|0;b=j[n>>2];g:{if(l>>>0<=b>>>0){g=l+7>>>3|0;break g}d=j[n+4>>2];j[i>>2]=0;g=l+7>>>3|0;d=d+7>>>3|0;if(g>>>0>d>>>0){o=d;d=g+7&1073741816;t=n,u=xe(c,1,o,d,j[n+8>>2],i),j[t+8>>2]=u;o=j[i>>2];if(o){break a}j[n+4>>2]=d<<3}while(1){if(m[n>>2]>b>>>0){d=j[n+8>>2]+(b>>>3|0)|0;h[d|0]=k[d|0]&-129>>(b&7)}b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(!g){break f}q=j[f+8>>2];b=j[n+8>>2];while(1){h[b|0]=k[q|0]|k[b|0];q=q+1|0;b=b+1|0;g=g-1|0;if(g){continue}break}}j[f>>2]=0;j[f+12>>2]=0;d=a;b=j[d+24>>2];e=b+(e^-1)|0;if((e|0)>=1){b=j[f+12>>2];j[i+8>>2]=j[f+8>>2];j[i+12>>2]=b;b=j[f+4>>2];j[i>>2]=j[f>>2];j[i+4>>2]=b;b=e<<4;e=zg(f,f+16|0,b)+b|0;b=j[i+12>>2];j[e+8>>2]=j[i+8>>2];j[e+12>>2]=b;b=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=b;b=j[a+24>>2]}l=b-1|0;j[d+24>>2]=l;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((s|0)>2){continue}break}o=0}oe=i+16|0;return o}function vi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=k[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=k[a|0]+d|0;h=g+k[a+1|0]|0;i=h+k[a+2|0]|0;j=i+k[a+3|0]|0;l=j+k[a+4|0]|0;m=l+k[a+5|0]|0;n=m+k[a+6|0]|0;o=n+k[a+7|0]|0;p=o+k[a+8|0]|0;q=p+k[a+9|0]|0;r=q+k[a+10|0]|0;s=r+k[a+11|0]|0;t=s+k[a+12|0]|0;u=t+k[a+13|0]|0;v=u+k[a+14|0]|0;d=v+k[a+15|0]|0;e=d+(v+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break a}if(c>>>0<16){break c}}while(1){a=k[b|0]+d|0;f=a+k[b+1|0]|0;g=f+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;d=t+k[b+15|0]|0;e=d+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break b}}while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=k[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function Tr(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;c=oe-48|0;oe=c;n=j[a+60>>2];d=Df(j[a>>2],j[a+4>>2]);e=(j[a>>2]+p(b,-11796480)|0)+5898240|0;of(c+32|0,n,e);j[c+32>>2]=j[c+32>>2]+j[a+8>>2];j[c+36>>2]=j[c+36>>2]+j[a+12>>2];i=(d|0)==11796480?p(b,23592960)-11796480|0:d;a:{if(!i){break a}q=(i|0)>-1?5898240:-5898240;g=(b<<5)+a|0;r=g;l=g- -64|0;while(1){b:{d=(i|0)>-5898240?i:-5898240;m=(d|0)<5898240?d:5898240;o=m+e|0;of(c+24|0,n,o);j[c+24>>2]=j[c+24>>2]+j[a+8>>2];j[c+28>>2]=j[c+28>>2]+j[a+12>>2];d=m>>31;d=(d+m^d)>>>1|0;d=Ne(n,Ai(d)<<2,p(Bi(d),3)+196608|0);of(c+16|0,d,e+q|0);j[c+16>>2]=j[c+16>>2]+j[c+32>>2];j[c+20>>2]=j[c+20>>2]+j[c+36>>2];of(c+8|0,d,o-q|0);j[c+8>>2]=j[c+8>>2]+j[c+24>>2];j[c+12>>2]=j[c+12>>2]+j[c+28>>2];d=j[g+68>>2];e=j[l>>2];j[c+44>>2]=0;f=e+3|0;c:{if(f>>>0<=d>>>0){k=j[g+76>>2];break c}k=j[g+88>>2];e=d;while(1){e=((e>>>1|0)+e|0)+16|0;if(f>>>0>e>>>0){continue}break}s=g,t=xe(k,8,d,e,j[g+72>>2],c+44|0),j[s+72>>2]=t;f=j[c+44>>2];if(f){break b}k=xe(k,1,d,e,j[g+76>>2],c+44|0);j[g+76>>2]=k;f=j[c+44>>2];if(f){break b}j[g+68>>2]=e;e=j[l>>2]}f=j[c+20>>2];d=j[g+72>>2]+(e<<3)|0;j[d>>2]=j[c+16>>2];j[d+4>>2]=f;f=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=f;f=j[c+28>>2];j[d+16>>2]=j[c+24>>2];j[d+20>>2]=f;e=e+k|0;h[e+2|0]=1;h[e|0]=2;h[e+1|0]=2;j[l>>2]=j[l>>2]+3;f=0;h[r+80|0]=0;e=j[c+28>>2];j[c+32>>2]=j[c+24>>2];j[c+36>>2]=e;e=o;i=i-m|0;if(i){continue}break a}break}h[r+80|0]=0}h[((b<<5)+a|0)+80|0]=0;oe=c+48|0;return f}function HB(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;g=oe+ -64|0;oe=g;f=j[67033];a:{b:{if(!(!j[67044]|((b|0)==-1|(d|0)!=1))){l=(c|0)==1;h[268212]=l;if(!a){break b}Oj(-1,-1,0,0,l,q(q(j[67025])/q(j[a+24>>2])),q(q(j[67026])/q(j[a+28>>2])));break b}if((b|0)!=-1){break b}if(!j[67043]){break a}}c:{d:{switch(c|0){case 0:e=mP(-2,d-1|0)&f;p=1026;l=(a|0)!=0;break c;case 1:break d;default:break a}}o=1;e=f|1<(d|0)){break f}Oe(m+(e<<4)|0,0,16);if((d|0)==(e|0)){break f}while(1){e=e+1|0;Oe(j[67047]+(e<<4)|0,0,16);if((d|0)!=(e|0)){continue}break}}j[67046]=i}n=j[67047];f=1;if(!n){break e}g:{if(!o){e=k[(n+(d<<4)|0)+12|0];break g}r=n+(d<<4)|0;s=n+(d<<4)|0;e=s;t=sg();o=0;h:{i:{if((j[67041]+(j[e+8>>2]-t|0)|0)<1){break i}f=j[67025]-j[r>>2]|0;i=f>>31;if(j[67042]<(i^f+i)){break i}m=n+(d<<4)|0;i=j[67026]-j[m+4>>2]|0;f=i>>31;if(j[67042]<(f^f+i)){break i}o=k[m+12|0];break h}h[s+12|0]=0}j[e+8>>2]=t;j[r>>2]=j[67025];f=n+(d<<4)|0;j[f+4>>2]=j[67026];e=255;if((o|0)==255){break g}e=o+1|0;h[f+12|0]=e}f=e&255}if((We(p,-1)|0)==1){j[g+8>>2]=p;i=j[67024];if(i){u=j[i+4>>2]}h[g+25|0]=c;j[g+20>>2]=b;j[g+16>>2]=u;h[g+24|0]=d;b=j[67026];j[g+28>>2]=j[67025];j[g+32>>2]=b;h[g+26|0]=(f|0)<255?f:255;gf(g+8|0)}if(l^1|c){break a}Gh(a,j[67025],j[67026],1)}oe=g- -64|0}function aF(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a+216>>2];a:{if(!(e&4096)){break a}d=l[a+428>>1];c=k[b+25|0];if((c|0)==3){h[b+24|0]=8;i[b+22>>1]=0;h[b+25|0]=d?6:2;if(j[a+416>>2]){break a}Ye(a,210715);z()}if(!(!(e&33554432)|!d)){h[b+25|0]=c|4}if(k[b+24|0]<=7){h[b+24|0]=8}i[b+22>>1]=0}if(e&128){d=l[a+456>>1]|l[a+458>>1]<<16;c=l[a+452>>1]|l[a+454>>1]<<16;i[b+170>>1]=c;i[b+172>>1]=c>>>16;i[b+174>>1]=d;i[b+176>>1]=d>>>16;i[b+178>>1]=l[a+460>>1]}j[b+40>>2]=j[a+824>>2];f=k[b+24|0];if(!(!(e&67109888)|(f|0)!=16)){h[b+24|0]=8;f=8}if(e&16384){h[b+25|0]=k[b+25|0]|2}if(e&6291456){h[b+25|0]=k[b+25|0]&253}b:{c:{d:{e:{if(!(e&64)){break e}f:{switch(k[b+25|0]-2|0){case 0:case 4:break f;default:break e}}if(!j[a+612>>2]){break e}if((f&255)==8){break d}}if(!(e&512)){break b}if((f&255)==8){break c}break b}h[b+25|0]=3;f=8;if(!(e&512)){break b}}f=8;if(k[b+25|0]==3){break b}f=16;h[b+24|0]=16}if(!(!(e&4)|(f&255)>>>0>7)){h[b+24|0]=8;f=8}g=b;c=k[b+25|0];d=3;g:{if(!((c|0)==3|!(c&2))){break g}d=1}h[g+29|0]=d;if(e&262144){i[b+22>>1]=0;c=c&251;h[b+25|0]=c}if(c&4){d=d+1|0;h[b+29|0]=d}h:{if(!(e&32768)){break h}i:{switch(c|0){case 0:case 2:break i;default:break h}}d=d+1|0;h[b+29|0]=d;if(!(e&16777216)){break h}h[b+25|0]=c|4}j:{if(!(e&1048576)){c=d;break j}c=k[a+204|0];if(c>>>0>(f&255)>>>0){h[b+24|0]=c;f=c}c=k[a+205|0];if(d>>>0>=c>>>0){c=d;break j}h[b+29|0]=c}c=p(c,f);h[b+30|0]=c;d=j[b>>2];c=c&255;k:{if(c>>>0>=8){d=p(d,c>>>3|0);break k}d=p(c,d)+7>>>3|0}j[b+12>>2]=d;j[a+404>>2]=d}function zf(a,b,c,d){var e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}b:{c:{switch(b-1|0){case 0:e=j[a+48>>2];if(e&4){break a}j[a+48>>2]=e&-77|4;mn(a);break b;case 1:e=j[a+48>>2];if(!(e&4)){break a}j[a+48>>2]=e&-13|8;ln(a);break b;case 3:if((c&-65536)==536805376|(d&-65536)==536805376){break a}if(!(h[a+48|0]&1)){j[a+56>>2]=c;j[a+60>>2]=d}if(j[a+20>>2]==(d|0)?j[a+16>>2]==(c|0):0){break a}j[a+20>>2]=d;j[a+16>>2]=c;break b;case 4:if(!(h[a+48|0]&1)){j[a+68>>2]=d;j[a- -64>>2]=c}if(j[a+28>>2]==(d|0)?j[a+24>>2]==(c|0):0){break a}j[a+28>>2]=d;j[a+24>>2]=c;j[a+112>>2]=0;zf(a,6,j[a+24>>2],j[a+28>>2]);break b;case 6:e=j[a+48>>2];if(e&64){break a}j[a+48>>2]=e&-193|64;ln(a);break b;case 7:e=j[a+48>>2];if(e&128){break a}j[a+48>>2]=e&-193|128;break b;case 8:e=j[a+48>>2];if(!(e&192)){break a}j[a+48>>2]=e&-193;mn(a);break b;case 9:e=j[a+48>>2];if(e&1024){break a}j[a+48>>2]=e|1024;e=j[67085];g=j[e+148>>2];if(g){qe[g|0](e,a)}break b;case 10:e=j[a+48>>2];if(!(e&1024)){break a}j[a+48>>2]=e&-1025;break b;case 11:e=j[a+48>>2];if(e&512){break a}j[a+48>>2]=e|512;Yu(a);break b;case 12:break c;default:break b}}e=j[a+48>>2];if(!(e&512)){break a}j[a+48>>2]=e&-513;Xu(a)}if((We(512,-1)|0)==1){j[f+28>>2]=d;j[f+24>>2]=c;j[f+8>>2]=512;h[f+20|0]=b;j[f+16>>2]=j[a+4>>2];c=178;d:{e:{f:{switch(b-3|0){case 1:c=179;break e;case 3:break e;case 0:break f;default:break d}}c=180}WB(c,f+8|0)}gf(f+8|0)}if(j[a+152>>2]|(j[a+148>>2]|(b|0)!=14)){break a}h[268216]=0;jl(256)}oe=f- -64|0}function QE(a,b,c){var d=0,e=0,f=0,g=0,l=0,n=0,o=0,q=0;l=oe-16|0;oe=l;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ze(a,211301);Ie(a,c);break a}e:{f:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);break a}d=c+1|0;g=j[a+788>>2];g:{if(g){if(d>>>0<=m[a+792>>2]){break g}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,g)}g=ag(a,d);if(!g){break f}j[a+792>>2]=d;j[a+788>>2]=g}pf(a,g,c);tf(a,g,c);if(Ie(a,0)){break a}e=c+g|0;h[e|0]=0;d=g;while(1){f=d;d=d+1|0;if(k[f|0]){continue}break}if(e-2>>>0>>0){Ze(a,211334);break a}e=k[f+1|0];h[l+4|0]=e;d=f+2|0;f=(g-d|0)+c|0;n=(e|0)==8?6:10;c=(f>>>0)/(n>>>0)|0;if((f|0)!=(p(c,n)|0)){Ze(a,211355);break a}if(c>>>0>=429496730){Ze(a,211381);break a}j[l+12>>2]=c;o=fg(a,p(c,10));j[l+8>>2]=o;if(!o){break e}if(f>>>0>=n>>>0){n=c>>>0>1?c:1;c=0;q=(e|0)!=8;while(1){f=p(c,10)+o|0;h:{if(!q){i[f>>1]=k[d|0];i[f+2>>1]=k[d+1|0];i[f+4>>1]=k[d+2|0];e=k[d+3|0];d=d+4|0;break h}e=k[d|0]|k[d+1|0]<<8;i[f>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+2|0]|k[d+3|0]<<8;i[f+2>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+4|0]|k[d+5|0]<<8;i[f+4>>1]=(e<<24|e<<8&16711680)>>>16;e=k[d+6|0]|k[d+7|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;d=d+8|0}i[f+6>>1]=e;e=f;f=k[d|0]|k[d+1|0]<<8;i[e+8>>1]=(f<<24|f<<8&16711680)>>>16;d=d+2|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}}j[l>>2]=g;NF(a,b,l);Ke(a,j[l+8>>2]);break a}hf(a,211072);z()}Ie(a,c);Je(a,211242);break a}Ze(a,211401)}oe=l+16|0}function pI(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,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;g=j[c>>2]<<2;j[d+232>>2]=g;f=j[c+4>>2]<<2;j[d+236>>2]=f;j[d+240>>2]=j[b>>2]<<2;b=j[b+4>>2]<<2;j[d+244>>2]=b;j[d+248>>2]=j[a>>2]<<2;c=j[a+4>>2];j[d+256>>2]=j[d+220>>2];a=j[d+224>>2];j[d+260>>2]=a;c=c<<2;j[d+252>>2]=c;a:{b:{e=(b|0)<(f|0)?b:f;e=(c|0)<(e|0)?c:e;if(j[d+176>>2]<=((a|0)<(e|0)?a:e)>>8){break b}b=(b|0)>(f|0)?b:f;b=(b|0)<(c|0)?c:b;if(j[d+172>>2]>((a|0)>(b|0)?a:b)>>8){break b}b=0;break a}b=1}c:while(1){if(!b){t=d+232|0;while(1){b=l;e=(b<<3)+t|0;m=j[e+28>>2];f=j[e+4>>2];i=m-f|0;a=i>>31;l=b+3|0;r=j[(l<<3)+t>>2];g=j[e>>2];k=r-g|0;c=k>>31;h=a^a+i;a=c^c+k;c=(h|0)<(a|0);d:{n=(c?p(h,3)>>>3|0:h)+(c?a:p(a,3)>>>3|0)|0;if(n>>>0>=32768){a=j[e+12>>2];c=j[e+8>>2];break d}c=j[e+8>>2];h=c-g|0;a=j[e+12>>2];s=a-f|0;q=p(i,h)-p(k,s)|0;o=q>>31;u=p(n,42);if((u|0)<(o^o+q)){break d}o=j[e+16>>2]-g|0;n=j[e+20>>2]-f|0;v=p(o,i)-p(n,k)|0;q=v>>31;if((q^q+v)>(u|0)|(p(s-i|0,s)+p(h-k|0,h)|0)>0|(p(n,n-i|0)+p(o,o-k|0)|0)>=1){break d}l=b;b=1;continue c}j[e+48>>2]=r;j[e+52>>2]=m;b=(c+g|0)/2|0;j[e+8>>2]=b;f=(a+f|0)/2|0;j[e+12>>2]=f;g=j[e+16>>2];i=(g+r|0)/2|0;j[e+40>>2]=i;k=j[e+20>>2];m=(k+m|0)/2|0;j[e+44>>2]=m;h=b;b=(c+g|0)/2|0;c=(h+b|0)/2|0;j[e+16>>2]=c;b=(b+i|0)/2|0;j[e+32>>2]=b;a=(a+k|0)/2|0;f=(a+f|0)/2|0;j[e+20>>2]=f;a=(a+m|0)/2|0;j[e+36>>2]=a;j[e+24>>2]=(b+c|0)/2;j[e+28>>2]=(a+f|0)/2;continue}}bm(d,g,f);e:{if(l){l=l-3|0;break e}return 0}b=0;continue}}function pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function _v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){o=(p(l,o)>>>0)/255|0;n=(p(l,n)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,q)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,n)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+q|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+q|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+n|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g>>>24|0;n=g&255;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;f=((p(f,q)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;f=((p(b,f)>>>0)/255|0)+q|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+q|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Hv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0,y=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];u=(j[a+4>>2]<<16)/(k|0)|0;v=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];w=c&48;c=c&112;x=c-16|0;y=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;s=((b>>>16|0)+s|0)+1|0}if(k){r=-1;d=65536;t=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;r=((b>>>16|0)+r|0)+1|0;t=(j[a>>2]+p(j[a+12>>2],s)|0)+(r<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=j[t>>2];l=g&255;n=g>>>24|0;e=j[c>>2];f=e>>>8|0;b=e>>>16|0;o=g>>>8&255;q=g>>>16&255;if(!(!w|(l|0)==255)){n=(p(l,n)>>>0)/255|0;o=(p(l,o)>>>0)/255|0;q=(p(l,q)>>>0)/255|0}k=k-1|0;g=e>>>24|0;i=e&255;e=f&255;f=b&255;a:{b:{switch(x|0){default:if(!y){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,q)&65535)>>>0)/255|0;f=((p(f,o)&65535)>>>0)/255|0;break a;case 0:b=l^255;g=((p(b,g)>>>0)/255|0)+l|0;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+q|0;f=((p(b,f)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+q|0;e=b>>>0<255?b:255;b=f+o|0;f=b>>>0<255?b:255}j[c>>2]=e<<8|f<<16|i|g<<24;c=c+4|0;d=d+u|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){h=h+v|0;k=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function EE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}d=c+1|0;e=j[a+788>>2];f:{if(e){if(d>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,d);if(!e){break e}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=211289;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=211256;if(d+5>>>0>c>>>0){break g}g=211740;i:{j:{i=d+e|0;l=k[i+1|0];switch(l|0){case 0:break i;case 1:break j;default:break g}}if(k[i+2|0]){break g}}i=d+3|0;d=i;k:{if(d>>>0>=c>>>0){break k}d=i;while(1){if(!k[d+e|0]){break k}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}n=d+1|0;d=n;l:{if(d>>>0>=c>>>0){break l}d=n;while(1){if(!k[d+e|0]){break l}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}o=(l|0)!=0;d=d+1|0;m:{if(!(o|d>>>0>c>>>0)){j[f+28>>2]=c-d;break m}g=211256;if(o^1|c>>>0<=d>>>0){break g}j[f+28>>2]=-1;if((Pp(a,c,d,f+28|0)|0)==1){e=j[a+788>>2];break m}g=j[a+248>>2];if(g){break g}}h[(d+j[f+28>>2]|0)+e|0]=0;j[f+24>>2]=e+n;j[f+20>>2]=e+i;j[f+4>>2]=e;j[f>>2]=l?2:1;j[f+12>>2]=0;j[f+8>>2]=d+e;j[f+16>>2]=j[f+28>>2];g=211720;if(!Ll(a,b,f)){break a}}Je(a,g);break a}hf(a,211072);z()}yi(a,212476);Ie(a,c);Je(a,211242)}oe=f+32|0}function Ux(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=j[a+52>>2];e=j[j[f>>2]+4>>2];g=k[e+8|0];a:{if(g>>>0<8){break a}c=j[a+4>>2];a=j[f+68>>2]&-28673;if((a|0)!=256){if(a){break a}if((g|0)==8){b:{if(k[c+9|0]!=4){break b}a=j[c+12>>2];if((a|0)!=1072693248){if((a|0)!=16711680|j[c+16>>2]!=65280){break b}b=302;if(j[c+20>>2]!=255){break b}break a}if(j[c+16>>2]!=1047552){break b}b=303;if(j[c+20>>2]==1023){break a}}return 304}if(j[e+24>>2]){f=j[c+24>>2]?4:2}else{f=1}g=j[(k[c+9|0]<<2)+86908>>2];h=j[g+12>>2];c:{if(!h){a=0;break c}a=0;while(1){b=g+p(a,40)|0;d=j[b>>2];d:{if(d?(d|0)!=j[c+12>>2]:0){break d}d=j[b+4>>2];if(d?(d|0)!=j[c+16>>2]:0){break d}d=j[b+8>>2];if(d?(d|0)!=j[c+20>>2]:0){break d}d=j[b+16>>2];if(d?(d|0)!=j[e+12>>2]:0){break d}d=j[b+20>>2];if(d?(d|0)!=j[e+16>>2]:0){break d}d=j[b+24>>2];if(k[e+9|0]!=(h|0)|(d?(d|0)!=j[e+20>>2]:0)|(f|0)!=(f&j[b+36>>2])){break d}if((j[b+28>>2]&(Tn()|0)!=0)==j[b+28>>2]){break c}}a=a+1|0;h=j[(g+p(a,40)|0)+12>>2];if(h){continue}break}}b=j[(g+p(a,40)|0)+32>>2];if((b|0)!=305){break a}b=306;if(j[c>>2]==372711428){break a}b=307;if(j[e>>2]==372711428){break a}e:{if(k[c+9|0]!=4|k[e+9|0]!=4|(j[c+12>>2]!=j[e+12>>2]|j[c+16>>2]!=j[e+16>>2])){break e}if(j[c+20>>2]!=j[e+20>>2]){break e}b=308;if((f|0)!=4){break a}return j[c+24>>2]==j[e+24>>2]?309:310}return(f|0)==4?310:305}if(k[c+9|0]==2){b=311;if(j[f+4>>2]){break a}}b=312;if(k[e+9|0]==1){break a}if(j[c+24>>2]){b=313;if(j[e+24>>2]){break a}}b=314}return b}function iM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,l=0,n=0,o=0;f=j[b>>2];if(!f){return 35}d=6;a:{if(m[f+16>>2]<=c>>>0){break a}e=j[f+104>>2];l=j[f+292>>2];n=c?c-1|0:0;g=l+(n<<4)|0;o=i[g+8>>1]+i[g+6>>1]|0;j[a+76>>2]=o;b=i[g>>1];c=i[g+2>>1];h[a+94|0]=1;i[a+92>>1]=1;c=c-b|0;j[a+80>>2]=c;d=3;b=a;b:{c:{switch((1<<(j[f+308>>2]&3))-1|0){case 0:c=c+7>>>3|0;break b;case 1:c=c+15>>>3&536870910;break b;case 3:c=c+31>>>3&536870908;break b;case 7:break c;default:break a}}c=c+63>>>3&536870904}j[b+84>>2]=c;b=p(c,o);d=Km(a,b);if(d){break a}d=Fe(e,j[((n<<4)+l|0)+12>>2]);if(d){break a}d=uf(e,j[a+88>>2],b);if(d){break a}d=j[f+308>>2];if(!(!b|d&8)){d=j[a+88>>2];c=b;while(1){e=k[d|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;h[d|0]=e>>>4|e<<4;d=d+1|0;c=c-1|0;if(c){continue}break}d=j[f+308>>2]}d:{if(!((d>>>2^d>>>3)&1)){break d}e:{switch((1<<(d>>>4&3))-2|0){case 0:if(b>>>0<2){break d}d=j[a+88>>2];while(1){c=k[d+1|0];h[d+1|0]=k[d|0];h[d|0]=c;d=d+2|0;b=b-2|0;if(b>>>0>1){continue}break}break d;case 2:break e;default:break d}}if(b>>>0<4){break d}d=j[a+88>>2];while(1){c=k[d+3|0];h[d+3|0]=k[d|0];h[d|0]=c;c=k[d+1|0];h[d+1|0]=k[d+2|0];h[d+2|0]=c;d=d+4|0;b=b-4|0;if(b>>>0>3){continue}break}}j[a+72>>2]=1651078259;b=i[g>>1];j[a+100>>2]=b;c=i[g+6>>1];j[a+104>>2]=c;d=i[((n<<4)+l|0)+4>>1];j[a+36>>2]=c<<6;j[a+32>>2]=b<<6;j[a+40>>2]=d<<6;c=i[g+2>>1];j[a+28>>2]=j[a+76>>2]<<6;j[a+24>>2]=c-b<<6;Fi(a+24|0,j[f+208>>2]+j[f+204>>2]<<6);d=0}return d|0}function is(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0,o=0;k=oe-16|0;oe=k;i=j[a+8>>2];n=j[a+12>>2];h=He(i,j[n+36>>2],k+12|0);a:{b:{c:{d:{if(!j[k+12>>2]){j[h+100>>2]=i;j[h+96>>2]=a;j[h+104>>2]=j[b>>2];if(c){j[h+8>>2]=j[h+8>>2]|1024}m=He(i,60,k+12|0);if(j[k+12>>2]){break d}j[h+128>>2]=m;c=0;j[m+48>>2]=0;e:{if((e|0)<1){break e}a=0;while(1){if(c){break e}c=0;o=(a<<3)+f|0;if(j[o>>2]==1768842098){c=j[o+4>>2];j[m+48>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=j[n+48>>2];f:{if(!a){j[b>>2]=j[h+104>>2];break f}a=qe[a|0](j[b>>2],h,d,e,f)|0;j[k+12>>2]=a;j[b>>2]=j[h+104>>2];if(a){break d}}b=j[h+40>>2];if(!b){break b}a=b+(j[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=j[e>>2];h:{if(j[c+4>>2]!=1970170211){break h}i:{switch(l[c+8>>1]){case 3:if(l[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(l[c+10>>1]==4){break g}}e=e-4|0;if(b>>>0<=e>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break b}c=j[a>>2];if(j[c+4>>2]!=1970170211){continue}break}}j[h+92>>2]=c;break b}if(!h){break c}}if(j[h+36>>2]>=1){c=0;while(1){d=c<<2;a=j[d+j[h+40>>2]>>2];b=j[j[a>>2]+100>>2];e=j[j[a+12>>2]+8>>2];if(e){qe[e|0](a)}if(a){qe[j[b+8>>2]](b,a)}j[d+j[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=j[h+40>>2];if(a){qe[j[i+8>>2]](i,a)}j[h+36>>2]=0;j[h+40>>2]=0}a=j[n+52>>2];if(a){qe[a|0](h)}if(m){qe[j[i+8>>2]](i,m)}if(h){qe[j[i+8>>2]](i,h)}j[g>>2]=0;a=j[k+12>>2];break a}j[g>>2]=h;a=0}oe=k+16|0;return a}function fh(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;i=oe-448|0;oe=i;a:{if(!g){j[i>>2]=97909;k=ve(97686,i);break a}if(!h){j[i+16>>2]=97913;k=ve(97686,i+16|0);break a}b:{if(!c){k=f&-268435456;break b}k=f&-268435456;l=(c&-268435456)==268435456;if(!(l|!f|(k|0)==268435456)){k=Ou(a,b,c,d,e,f,g,h);break a}if(l){break b}k=jn(a,b,c,d,e,f,g,h);break a}if(!(!f|(k|0)==268435456)){k=Pu(a,b,c,d,e,f,g,h);break a}l=!c|(c&-268435456)==268435456;if((c|0)==(f|0)){k=0;if(!b){break a}a=p(l?c&255:1,a);while(1){Ge(g,d,a);g=g+h|0;d=d+e|0;b=b-1|0;if(b){continue}break}break a}c:{if(!l){break c}k=-1;if((c>>>24&15)-1>>>0>2){break c}ve(97923,0);break a}if((Pk(i+272|0,c)|0)<0){k=-1;break a}Oe(i+384|0,0,60);j[i+404>>2]=d;j[i+384>>2]=1;j[i+400>>2]=e;j[i+396>>2]=b;j[i+392>>2]=a;j[i+388>>2]=i+272;Oe(i+136|0,0,88);k=-1;j[i+212>>2]=-1;j[i+440>>2]=1;j[i+436>>2]=i+136;if((f>>>24&15)-1>>>0<=2){ve(97923,0);break a}if((Pk(i+224|0,f)|0)<0){break a}Oe(i+320|0,0,60);j[i+340>>2]=g;j[i+320>>2]=1;j[i+336>>2]=h;j[i+332>>2]=b;j[i+328>>2]=a;j[i+324>>2]=i+224;Oe(i+48|0,0,88);j[i+124>>2]=-1;j[i+376>>2]=1;j[i+44>>2]=b;j[i+40>>2]=a;j[i+32>>2]=0;j[i+36>>2]=0;j[i+372>>2]=i+48;g=j[i+436>>2];d:{e:{if(j[g>>2]!=(i+320|0)){break e}a=j[j[i+324>>2]+4>>2];if(j[g+80>>2]!=j[a+8>>2]?a:0){break e}a=j[j[i+388>>2]+4>>2];if(!a|j[g+84>>2]==j[a+8>>2]){break d}}if((Cj(i+384|0,i+320|0)|0)<0){break a}g=j[i+436>>2]}k=qe[j[g+8>>2]](i+384|0,i+32|0,i+320|0,i+32|0)|0}oe=i+448|0;return k}function cy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>8&63488|a>>>5&2016)}else{f=a>>>3&31|(a<<11&132120576|a>>>8&63488);a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c,f-a|0)>>>5|0)+a&132184095;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function ZE(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;l=oe-16|0;oe=l;a:{if(j[a+4>>2]<0){break a}e=j[a+12>>2];m=j[a+8>>2]-e|0;c=e+j[a>>2]|0;b:{f=j[a+20>>2];c:{if(!f){if((m|0)<27){break a}if((k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24))!=1399285583){break c}e=k[c+26|0];f=e+27|0;if((m|0)<(f|0)){break a}if(e){e=j[a+24>>2];while(1){e=k[(c+g|0)+27|0]+e|0;j[a+24>>2]=e;g=g+1|0;if(g>>>0>2]=f}if((j[a+24>>2]+f|0)>(m|0)){break a}e=k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24);j[l+12>>2]=e;g=0;h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;n=j[a+24>>2];i=j[a+20>>2];h[c+22|0]=0;h[c+23|0]=0;h[c+24|0]=0;h[c+25|0]=0;if((i|0)>0){f=0;while(1){d=j[((k[c+f|0]^d>>>24)<<2)+62016>>2]^d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if((n|0)>0){i=c+i|0;while(1){d=j[((k[i+g|0]^d>>>24)<<2)+62016>>2]^d<<8;g=g+1|0;if((n|0)!=(g|0)){continue}break}}h[c+22|0]=d;h[c+23|0]=d>>>8;h[c+24|0]=d>>>16;h[c+25|0]=d>>>24;if(j[l+12>>2]==(k[c+22|0]|k[c+23|0]<<8|(k[c+24|0]<<16|k[c+25|0]<<24))){break b}h[c+22|0]=e;h[c+23|0]=e>>>8;h[c+24|0]=e>>>16;h[c+25|0]=e>>>24}j[a+20>>2]=0;j[a+24>>2]=0;b=j[a>>2];d=Mh(c+1|0,79,m-1|0);if(!d){d=b+j[a+8>>2]|0}j[a+12>>2]=d-b;d=c-d|0;break a}i=j[a+12>>2];d:{if(!b){f=j[a+24>>2];d=j[a+20>>2];break d}e=i+j[a>>2]|0;j[b>>2]=e;d=j[a+20>>2];j[b+4>>2]=d;j[b+8>>2]=d+e;f=j[a+24>>2];j[b+12>>2]=f}j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;d=d+f|0;j[a+12>>2]=i+d}oe=l+16|0;return d}function Fo(a,b){var c=q(0),d=q(0),e=0,f=q(0),g=0,h=q(0),i=q(0),k=0,l=q(0),m=q(0),o=q(0),p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,z=q(0);p=oe-16|0;oe=p;e=1;k=j[a+4>>2];a:{b:{d=n[a>>2];c:{if(!(d<=q(0)^1)){if((k|0)<2){break c}while(1){g=(e<<3)+a|0;c=q(n[g+8>>2]-n[g>>2]);h=q(c*c);c=q(n[g+12>>2]-n[g+4>>2]);d=q(d+q(y(+q(h+q(c*c)))));e=e+1|0;k=j[a+4>>2];if((e|0)<(k|0)){continue}break}}if((k|0)<2){break c}k=1;h=q(d/q(63));c=h;while(1){e=(k<<3)+a|0;d=q(n[e>>2]-n[e+8>>2]);i=q(d*d);d=q(n[e+4>>2]-n[e+12>>2]);o=q(y(+q(i+q(d*d))));d=q(c+o);d:{if(d>h^1){c=d;break d}d=c;while(1){g=(r<<3)+b|0;c=n[e>>2];f=q(q(h-d)/o);i=q(c+q(f*q(n[e+8>>2]-c)));n[g>>2]=i;c=n[e+4>>2];c=q(c+q(f*q(n[e+12>>2]-c)));n[g+4>>2]=c;m=q(m+i);l=q(l+c);r=r+1|0;d=q(d-h);c=q(d+o);if(h>2];if((k|0)<(g|0)){continue}break}if((r|0)>62){break b}}j[p>>2]=r;ve(69280,p);break a}g=(g<<3)+a|0;a=j[g+4>>2];j[b+504>>2]=j[g>>2];j[b+508>>2]=a;i=q(l*q(.015625));c=q(m*q(.015625));s=+q(Xn(+q(i-n[b+4>>2]),+q(c-n[b>>2])));v=+i;w=+c;e=0;d=c;h=c;l=i;m=i;while(1){a=(e<<3)+b|0;o=n[a>>2];f=n[a+4>>2];t=+q(o-c);u=+q(f-i);x=a,z=q(lg(s)*t-Mg(s)*u+w),n[x>>2]=z;f=q(Mg(s)*t+lg(s)*u+v);n[a+4>>2]=f;l=f>l?f:l;m=f>2];h=f>h?f:h;d=d>f?f:d;e=e+1|0;if((e|0)!=64){continue}break}l=q(l-m);d=q(h-d);e=0;while(1){a=(e<<3)+b|0;n[a>>2]=q(q(n[a>>2]-c)*q(256))/d;n[a+4>>2]=q(q(n[a+4>>2]-i)*q(256))/l;e=e+1|0;if((e|0)!=64){continue}break}}oe=p+16|0}function by(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;a:{g=j[a+28>>2];if(!g){break a}b=j[a+24>>2];k=b&3;m=(b+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>2<<2;b:while(1){h=m;c:{d:{switch(k-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=1;continue;case 1:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=2;continue;case 2:a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}b=b+2|0;d=d+4|0;a=3;continue;default:break e}}a=j[d>>2];c=a>>>27|0;if(c){e=b;if((c|0)==31){a=a>>>3&31|(a>>>9&31744|a>>>6&992)}else{f=a>>>3&31|(a<<10&65011712|a>>>9&31744);a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c,f-a|0)>>>5|0)+a&65043487;a=a>>>16|a}i[e>>1]=a}a=g-1|0;b=b+2|0;d=d+4|0;f:{if((h|0)>1){h=h-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function Pp(a,b,c,d){var e=0,f=0,g=0,i=0,k=0,l=0,n=0,o=0;i=oe-1024|0;oe=i;a:{b:{c:{d:{e=j[a+760>>2];e:{if(e+1>>>0<=1){f=c+1|0;e=-1;break e}f=c+1|0;if(f>>>0>e>>>0){break d}}e=e-f|0;if(e>>>0>2]){j[d>>2]=e}f:{g:{e=El(a,j[a+376>>2]);switch(e|0){case 1:break f;case 0:break g;default:break a}}if(j[a+220>>2]!=j[a+376>>2]){break c}e=j[d>>2];j[a+224>>2]=j[a+788>>2]+c;f=e>>>0<1024?e:1024;j[a+240>>2]=f;k=b-c|0;j[a+228>>2]=k;j[a+236>>2]=i;g=a+224|0;f=e-f|0;e=ui(g,!f<<2);if(!e){while(1){b=j[a+240>>2];j[a+228>>2]=j[a+228>>2];b=b+f|0;e=b>>>0<1024?b:1024;j[a+240>>2]=e;j[a+236>>2]=i;f=b-e|0;e=ui(g,!f<<2);if(!e){continue}break}}j[a+236>>2]=0;b=j[a+240>>2]+f|0;if(b){j[d>>2]=j[d>>2]-b}f=j[a+228>>2];th(a,e);if((e|0)!=1){break b}if(!Lp(g)){l=j[d>>2];n=l+c|0;o=n+1|0;b=ag(a,o);if(b){h:{if(j[a+220>>2]==j[a+376>>2]){e=j[d>>2];j[a+236>>2]=b+c;j[a+224>>2]=j[a+788>>2]+c;j[a+240>>2]=e;f=k-f|0;j[a+228>>2]=f;while(1){e=ui(g,4);if(!e){e=j[a+228>>2];j[a+240>>2]=j[a+240>>2];j[a+228>>2]=e;continue}break}g=j[a+240>>2];if(g){j[d>>2]=j[d>>2]-g}g=j[a+228>>2];th(a,e);if((e|0)!=1){break h}e=-7;if(j[d>>2]!=(l|0)){break h}h[b+n|0]=0;d=j[a+788>>2];if(c){Ae(b,d,c)}j[a+792>>2]=o;j[a+788>>2]=b;Ke(a,d);e=1;if((f-g|0)==(k|0)){break b}Je(a,211220);break b}j[a+248>>2]=212458;e=-2}Ke(a,b);break b}e=-4;th(a,-4);break b}th(a,1);e=-7;break b}e=-7;break a}e=-4;th(a,-4);break a}j[a+248>>2]=212458;e=-2}j[a+220>>2]=0}oe=i+1024|0;return e}function go(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{b:{if(b>>>0<=15){g=j[(b<<2)+85792>>2]}else{g=0}if(g){c:{i=j[g>>2];if((i|0)>=1){k=j[a+240>>2];l=(k|0)<1;while(1){e=0;d:{if(l){break d}h=j[((f<<2)+g|0)+4>>2];c=0;while(1){e=0;e=h?j[h+4>>2]==j[j[a+244>>2]+(c<<2)>>2]?h:0:e;if(e){break d}c=c+1|0;if((k|0)>(c|0)){continue}break}}if(!e){f=f+1|0;if((i|0)>(f|0)){continue}}break}if(e){break c}}c=0;ve(75651,0);break a}c=j[a+252>>2];if(c){while(1){if(j[c+8>>2]==(e|0)){break a}c=j[c+20>>2];if(c){continue}break}}c=Xe(1,24);if(!c){c=0;Be(0);break a}j[c+8>>2]=e;j[c+4>>2]=b;b=qe[j[a+48>>2]](j[e>>2])|0;j[c>>2]=b;g=j[e+4>>2];if((g|0)!=-1){qe[j[a+144>>2]](1,c,g,j[e+12>>2],j[e+8>>2]);j[d+12>>2]=1;break b}qe[j[a+148>>2]](b,1,e+12|0,0);qe[j[a+40>>2]](j[c>>2]);qe[j[a+120>>2]](j[c>>2],35713,d+12|0);if(j[d+12>>2]){break b}j[d+8>>2]=0;qe[j[a+120>>2]](j[c>>2],35716,d+8|0);e:{f:{b=j[d+8>>2];if((b|0)<1){break f}g:{if(b>>>0<=127){f=d-(b+15&-16)|0;oe=f;g=b;break g}f=qe[j[57972]](b?b:1)|0;if(f){j[57976]=j[57976]+1}if(!f){break f}g=j[d+8>>2]}qe[j[a+116>>2]](j[c>>2],g,d+8|0,f);j[d>>2]=f;ve(75713,d);if(b>>>0<128){break e}if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break e}ve(75743,0)}qe[j[a+56>>2]](j[c>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;break a}ve(75592,0);break a}b=j[a+252>>2];if(b){j[c+20>>2]=b;j[b+16>>2]=c}j[a+252>>2]=c;j[a+248>>2]=j[a+248>>2]+1}oe=d+16|0;return c}function Lf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a|!b|j[b+16>>2]>131078){break a}c=j[a+16>>2];b:{if(!c){h=j[a>>2];j[e+8>>2]=0;break b}h=j[b+8>>2];c:{while(1){g=j[((d<<2)+a|0)+20>>2];i=j[g>>2];if(we(j[i+8>>2],h)){d=d+1|0;if(d>>>0>>0){continue}break c}break}if(j[b+12>>2]<=j[i+12>>2]){break a}as(a,g);c=j[a+16>>2]}h=j[a>>2];j[e+8>>2]=0;if(c>>>0>31){break a}}c=He(h,j[b+4>>2],e+8|0);if(j[e+8>>2]){break a}j[c+8>>2]=h;j[c+4>>2]=a;j[c>>2]=b;d:{e:{if(!(k[b|0]&2)){break e}i=j[a>>2];g=He(i,12,e+12|0);d=j[e+12>>2];if(d){j[e+8>>2]=d;break d}d=j[c>>2];j[c+12>>2]=d;f=j[d+36>>2];j[c+16>>2]=f;f:{g:{if((f|0)!=1869968492){break g}f=j[j[d+56>>2]+4>>2];if(!f){break g}f=qe[f|0](i,c+52|0)|0;j[e+12>>2]=f;if(f){break f}j[c+56>>2]=j[j[d+56>>2]+16>>2];j[c+60>>2]=j[d+40>>2]}j[g+8>>2]=c;zm(a+148|0,g);d=j[a+148>>2];h:{if(d){while(1){f=j[d+8>>2];if(j[f+16>>2]==1869968492){break h}d=j[d+4>>2];if(d){continue}break}}f=0}j[a+156>>2]=f;if(j[e+12>>2]){break f}j[e+8>>2]=0;break e}if(g){qe[j[i+8>>2]](i,g)}d=j[e+12>>2];j[e+8>>2]=d;if(d){break d}}d=j[c>>2];g=j[d>>2];if(g&4){j[a+160>>2]=c}if(g&1){j[c+12>>2]=d}b=j[b+24>>2];if(b){b=qe[b|0](c)|0;j[e+8>>2]=b;if(b){break d}}b=j[a+16>>2];j[a+16>>2]=b+1;j[((b<<2)+a|0)+20>>2]=c;break a}i:{if(!(k[j[c>>2]]&2)){break i}a=j[c+12>>2];if(!a|j[a+36>>2]!=1869968492){break i}b=j[c+52>>2];if(!b){break i}qe[j[j[a+56>>2]+20>>2]](b)}if(c){qe[j[h+8>>2]](h,c)}}oe=e+16|0}function ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+o|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(f,i)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+i|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(f,g)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(i,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+f|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=f+g|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=i+n|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Uv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+o|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;g=((p(f,g)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;g=((p(b,g)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+n|0;i=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+g|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;i=((p(i,o)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+f|0;i=((p(b,i)>>>0)/255|0)+o|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=i+o|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f>>>24|0;n=f&255;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){n=(p(m,n)>>>0)/255|0;o=(p(m,o)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}g=((p(g,n)&65535)>>>0)/255|0;e=((p(e,o)&65535)>>>0)/255|0;i=((p(f,i)&65535)>>>0)/255|0;break a;case 0:b=m^255;g=((p(b,g)>>>0)/255|0)+n|0;e=((p(b,e)>>>0)/255|0)+o|0;i=((p(b,i)>>>0)/255|0)+f|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=g+n|0;g=b>>>0<255?b:255;b=e+o|0;e=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255}j[c>>2]=e<<8|i|g<<16;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=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,x=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;k=j[a+24>>2];t=(j[a+4>>2]<<16)/(k|0)|0;u=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2];v=c&48;c=c&112;w=c-16|0;x=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((h|0)>=65536){b=(h-((h|0)<131071?h:131071)|0)+65535|0;h=(h-(b&-65536)|0)-65536|0;r=((b>>>16|0)+r|0)+1|0}if(k){q=-1;d=65536;s=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;q=((b>>>16|0)+q|0)+1|0;s=(j[a>>2]+p(j[a+12>>2],r)|0)+(q<<2)|0;d=(d-(b&-65536)|0)-65536|0}f=j[s>>2];m=f&255;n=f>>>24|0;e=j[c>>2];g=e>>>8|0;b=e>>>16|0;o=f>>>8&255;f=f>>>16&255;if(!(!v|(m|0)==255)){o=(p(m,o)>>>0)/255|0;n=(p(m,n)>>>0)/255|0;f=(p(f,m)>>>0)/255|0}k=k-1|0;i=e&255;e=g&255;g=b&255;a:{b:{switch(w|0){default:if(!x){break a}i=((p(i,o)&65535)>>>0)/255|0;e=((p(f,e)&65535)>>>0)/255|0;g=((p(g,n)&65535)>>>0)/255|0;break a;case 0:b=m^255;i=((p(b,i)>>>0)/255|0)+o|0;e=((p(b,e)>>>0)/255|0)+f|0;g=((p(b,g)>>>0)/255|0)+n|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=i+o|0;i=b>>>0<255?b:255;b=f+e|0;e=b>>>0<255?b:255;b=g+n|0;g=b>>>0<255?b:255}j[c>>2]=e<<8|g<<16|i;c=c+4|0;d=d+t|0;if(k){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){h=h+u|0;k=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;a:{i=j[a+28>>2];if(!i){break a}c=j[a+24>>2];l=c&3;m=(c+3|0)/4|0;f=j[a>>2];c=j[a+20>>2];n=j[a+36>>2]>>2<<2;o=j[a+16>>2]>>2<<2;b:while(1){k=m;c:{d:{switch(l-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=1;continue;case 1:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=2;continue;case 2:a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}c=c+4|0;f=f+4|0;a=3;continue;default:break e}}a=j[f>>2];b=a>>>24|0;if(b){g=c;if((b|0)!=255){e=j[c>>2];d=e&65280;d=(p(b,(a&65280)-d|0)>>>8|0)+d&65280|b+(p(b^255,e>>>24|0)>>>8|0)<<24;h=a&16711935;a=e&16711935;a=d|(p(b,h-a|0)>>>8|0)+a&16711935}j[g>>2]=a}a=i-1|0;c=c+4|0;f=f+4|0;f:{if((k|0)>1){k=k-1|0;break f}c=c+n|0;f=f+o|0;i=a;if(a){continue b}break a}a=0;continue}}}}function lI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,p=0,q=0;m=j[a+12>>2];n=j[a+204>>2];b=j[a+200>>2];a:{while(1){c=o;o=c+1|0;g=os(m,o);if(g){break a}g=21;l=b+4|0;if(l>>>0>n>>>0){break a}d=j[m+88>>2]+(c<<5)|0;j[d+8>>2]=0;j[d+12>>2]=0;p=k[b+1|0];e=p|k[b|0]<<8;i[d+4>>1]=e;j[d>>2]=k[b+3|0]|k[b+2|0]<<8;f=p&1?4:2;q=e&8;c=f+2|0;b:{if(q){break b}c=f+4|0;if(e&64){break b}c=f|e>>>4&8}if(c+l>>>0>n>>>0){break a}c=e&1;c:{if(e&2){if(c){c=k[b+4|0]|k[b+5|0]<<8;j[d+8>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=b+8|0;break c}j[d+8>>2]=h[b+4|0];f=h[b+5|0];c=b+6|0;break c}if(c){j[d+8>>2]=k[b+5|0]|k[b+4|0]<<8;f=k[b+7|0]|k[b+6|0]<<8;c=b+8|0;break c}j[d+8>>2]=k[b+4|0];f=k[b+5|0];c=b+6|0}j[d+12>>2]=f;d:{if(q){b=c+2|0;e=0;c=k[c|0]|k[c+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;f=g;l=0;break d}if(e&64){b=k[c+2|0]|k[c+3|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+4|0;e=0;l=0;break d}if(!(e&128)){e=0;g=65536;b=c;f=65536;l=0;break d}b=k[c+6|0]|k[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16<<2;b=k[c+4|0]|k[c+5|0]<<8;e=(b<<24|b<<8&16711680)>>16<<2;b=k[c+2|0]|k[c+3|0]<<8;l=(b<<24|b<<8&16711680)>>16<<2;b=k[c|0]|k[c+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;b=c+8|0}j[d+16>>2]=g;j[d+28>>2]=f;j[d+24>>2]=l;j[d+20>>2]=e;if(p&32){continue}break}j[m+84>>2]=o;c=j[j[a+24>>2]+8>>2];j[a+200>>2]=b;j[a+168>>2]=(b+c|0)-n;g=0}return g|0}function LF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0;d=j[b+1296>>2];f=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2];c=a+4|0;a:{if((Ce(c,1)|0)!=1){break a}h=2;g=Ef(a,j[b+1284>>2]<<2);a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r>>2]=t;a=j[b+1292>>2]-1|0;r=g,t=Ce(c,a?32-s(a)|0:0),j[r+4>>2]=t;if(j[d>>2]>0){while(1){m=j[(d+(l<<2)|0)+4>>2];e=d+(m<<2)|0;k=j[e+128>>2];a=0;b:{n=j[e+192>>2];if(!n){break b}a=wj(f+p(j[e+256>>2],56)|0,c);if((a|0)!=-1){break b}return 0}if((k|0)>=1){o=-1<>2];c:{if((i|0)>=0){i=wj(f+p(i,56)|0,c);j[(e+h<<2)+g>>2]=i;if((i|0)!=-1){break c}return 0}j[(e+h<<2)+g>>2]=0}a=a>>n;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+k|0;l=l+1|0;if((l|0)>2]){continue}break}}if(j[b+1284>>2]<3){break a}l=b+780|0;n=b+1032|0;k=d+836|0;h=2;while(1){a=h<<2;d=a-8|0;m=d+l|0;e=j[m>>2]<<2;o=d+n|0;f=j[o>>2]<<2;i=j[f+g>>2]&32767;d=(j[e+g>>2]&32767)-i|0;c=d>>31;q=c^d+c;c=j[f+k>>2];c=(p(q,j[a+k>>2]-c|0)|0)/(j[e+k>>2]-c|0)|0;d=i+((d|0)<0?0-c|0:c)|0;a=a+g|0;c=j[a>>2];d:{if(c){f=j[b+1292>>2]-d|0;e:{if((c|0)>=((d|0)>(f|0)?f:d)<<1){e=c-d|0;if((d|0)<(f|0)){break e}e=f+(c^-1)|0;break e}e=0-(c+1>>1)|0;if(c&1){break e}e=c>>1}j[a>>2]=e+d&32767;a=(j[o>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;a=(j[m>>2]<<2)+g|0;j[a>>2]=j[a>>2]&32767;break d}j[a>>2]=d|32768}h=h+1|0;if((h|0)>2]){continue}break}}return g|0}function hO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,o=q(0),s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;m=j[a+12>>2]-1|0;a:{if(m>>>0>1){break a}h=j[a+16>>2];f=+(h&2097151);i=q(Gp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));h=j[a+20>>2];f=+(h&2097151);o=q(Gp((h|0)>-1?f:-f,(h>>>21&1023)-788|0));d=j[a>>2];h=bf(p(d,b),4);b:{switch(m|0){case 1:s=j[a+4>>2];if((s|0)<1){break a}f=+i;w=+o;t=(d|0)<1;while(1){if(!(k[j[a+8>>2]+g|0]?0:c)){if(!t){l=p(d,e);m=p(d,g);x=(e<<2)+c|0;y=j[a+28>>2];z=j[a+32>>2];b=0;i=q(0);while(1){o=q(w*+q(r(q(j[z+(b+m<<2)>>2])))+f+ +i);i=y?o:i;if(c){u=p(d,j[x>>2])+b|0}else{u=b+l|0}n[(u<<2)+h>>2]=o;b=b+1|0;if((d|0)!=(b|0)){continue}break}}e=e+1|0}g=g+1|0;if((s|0)!=(g|0)){continue}break}break a;case 0:break b;default:break a}}s=j[a+4>>2];f=v(Bg(+q(s|0),+q(q(1)/q(d|0))));c:{if(r(f)<2147483648){g=~~f;break c}g=-2147483648}while(1){b=1;l=1;if((d|0)>=1){m=g+1|0;e=0;while(1){l=p(l,m);b=p(b,g);e=e+1|0;if((d|0)!=(e|0)){continue}break}}b=(b|0)>(s|0);if(b|(l|0)<=(s|0)){g=(b?-1:1)+g|0;continue}else{if((s|0)<1){break a}f=+i;w=+o;e=0;m=(d|0)<1;while(1){if(!(k[j[a+8>>2]+e|0]?0:c)){if(!m){x=p(d,t);y=(t<<2)+c|0;z=j[a+28>>2];A=j[a+32>>2];b=0;i=q(0);l=1;while(1){o=q(w*+q(r(q(j[A+(((e|0)/(l|0)|0)%(g|0)<<2)>>2])))+f+ +i);i=z?o:i;if(c){u=p(d,j[y>>2])+b|0}else{u=b+x|0}n[(u<<2)+h>>2]=o;l=p(g,l);b=b+1|0;if((d|0)!=(b|0)){continue}break}}t=t+1|0}e=e+1|0;if((s|0)!=(e|0)){continue}break}}break}}return h}function _h(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,n=0,o=0,q=0;l=oe-32|0;oe=l;a:{b:{c:{d:{e:{f:{if((b|0)<=1431918168){g:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 0:break e;case 11:break f;default:break g}}if((b|0)==825382478){break e}m=0;if((b|0)==844715353){break c}break b}if((b|0)==1431918169){break d}m=0;if((b|0)==1498831189){break c}if((b|0)!=1448433993){break b}}k=p(a,d)+c|0;n=(d+1|0)/2|0;m=k+p(n,(a+1|0)/2|0)|0;break c}k=p(a,d)+c|0;n=(d+1|0)/2<<1}m=0}a=m;h:{i:{j:{k:{l:{m:{n:{o:{if((b|0)<=1431918168){p:{switch(b-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:break l;case 11:break o;default:break p}}if((b|0)==825382478){break k}if((b|0)!=844715353){break j}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+3;j[f>>2]=j[e>>2]+1;break h}if((b|0)==1431918169){break m}if((b|0)==1448433993){break n}if((b|0)!=1498831189){break j}j[e>>2]=c+1;j[h>>2]=d;j[g>>2]=c+2;j[f>>2]=j[e>>2]-1;break h}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=a;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=a;j[f>>2]=k;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=c+1;j[f>>2]=j[e>>2]+3;break h}j[e>>2]=c;j[h>>2]=d;j[f>>2]=k;j[g>>2]=k+1;break i}j[e>>2]=c;j[h>>2]=d;j[g>>2]=k;j[f>>2]=k+1;break i}o=l,q=Gg(b),j[o+16>>2]=q;a=ve(99779,l+16|0);break a}j[i>>2]=n;a=0;break a}j[i>>2]=d;a=0;break a}o=l,q=Gg(b),j[o>>2]=q;a=ve(99736,l)}oe=l+32|0;return a}function hG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0;a:{d=l[a+420>>1];if(!d){break a}f=k[b+9|0];if((d|0)>=1<>2];d=j[b+4>>2];c=i+d|0;b=0-p(j[b>>2],k[b+11|0])&7;b:{switch(f-1|0){case 7:if((d|0)<1){break a}d=j[a+424>>2];while(1){b=k[c|0];if((b|0)>(d|0)){j[a+424>>2]=b;d=b}c=c-1|0;if(i>>>0>>0){continue}break}break a;case 3:if((d|0)<1){break a}b=k[c|0]>>>b|0;d=b>>>4|0;b=b&15;e=j[a+424>>2];f=(b|0)>(e|0);e=f?b:e;b=(d|0)>(e|0)?d:e;if(!((d|0)<=(e|0)?!f:0)){j[a+424>>2]=b}c=c-1|0;if(i>>>0>=c>>>0){break a}while(1){f=k[c|0];d=f>>>4|0;e=f&15;f=e>>>0>b>>>0;e=f?e:b;b=(d|0)>(e|0)?d:e;if(!((d|0)<=(e|0)?!f:0)){j[a+424>>2]=b}c=c-1|0;if(i>>>0>>0){continue}break}break a;case 1:if((d|0)<1){break a}b=k[c|0]>>>b|0;d=b>>>6|0;e=b&3;h=j[a+424>>2];f=(e|0)>(h|0);g=b>>>2&3;h=f?e:h;e=(g|0)>(h|0);b=b>>>4&3;g=e?g:h;h=(b|0)>(g|0);g=h?b:g;b=(d|0)>(g|0)?d:g;c:{if(!(h|(e|f))){if((d|0)<=(g|0)){break c}}j[a+424>>2]=b}d=c-1|0;if(i>>>0>=d>>>0){break a}while(1){c=k[d|0];f=c>>>6|0;h=c&3;e=h>>>0>b>>>0;g=c>>>2&3;b=e?h:b;h=(g|0)>(b|0);m=c>>>4&3;b=h?g:b;c=(m|0)>(b|0);g=c?m:b;b=(f|0)>(g|0)?f:g;d:{if(!(c|(e|h))){if((f|0)<=(g|0)){break d}}j[a+424>>2]=b}d=d-1|0;if(i>>>0>>0){continue}break}break a;case 0:break b;default:break a}}if((d|0)<1){break a}if(k[c|0]>>>b|0){j[a+424>>2]=1}c=c-1|0;if(i>>>0>=c>>>0){break a}while(1){if(k[c|0]){j[a+424>>2]=1}c=c-1|0;if(i>>>0>>0){continue}break}}}function EI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0;g=oe-16|0;oe=g;b=j[a+664>>2];if(!b){b=l[a+340>>1];a:{if(!b){b=0;break a}f=b>>>0>1?b:1;m=j[a+356>>2];b=0;d=-1;e=-1;while(1){c=m+p(b,20)|0;b:{if(l[c+6>>1]!=6|!l[c+8>>1]){break b}c:{switch(l[c>>1]-1|0){case 2:if(l[c+2>>1]!=1){break b}d=l[c+4>>1]==1033?b:d;break b;case 0:break c;default:break b}}if(l[c+2>>1]){break b}e=l[c+4>>1]?e:b}b=b+1|0;if((f|0)!=(b|0)){continue}break}if((d|0)!=-1){n=j[a+356>>2];c=n+p(d,20)|0;m=l[c+8>>1];e=j[a+100>>2];j[g+12>>2]=0;b=He(e,m+1|0,g+12|0);if(j[g+12>>2]){break a}f=j[a+360>>2];o=Fe(f,j[c+12>>2]);j[g+12>>2]=o;d:{if(o){break d}o=_e(f,l[c+8>>1]);j[g+12>>2]=o;if(o){break d}d=b;e=m>>>1|0;if(e){c=j[f+32>>2];while(1){e:{if(k[c|0]){break e}m=h[c+1|0];if((m|0)<32){break e}h[d|0]=m;d=d+1|0}c=c+2|0;e=e-1|0;if(e){continue}break}}h[d|0]=0;Ve(f);break a}if(b){qe[j[e+8>>2]](e,b)}b=0;i[c+8>>1]=0;j[c+12>>2]=0;d=n+p(d,20)|0;c=j[d+16>>2];if(c){qe[j[e+8>>2]](e,c)}j[d+16>>2]=0;break a}if((e|0)==-1){b=0;break a}m=j[a+356>>2];f=m+p(e,20)|0;b=l[f+8>>1];c=j[a+100>>2];j[g+8>>2]=0;d=He(c,b+1|0,g+8|0);if(j[g+8>>2]){b=d;break a}n=j[a+360>>2];o=Fe(n,j[f+12>>2]);j[g+8>>2]=o;f:{if(o){break f}n=uf(n,d,b);j[g+8>>2]=n;if(n){break f}h[b+d|0]=0;b=d;break a}b=0;j[f+12>>2]=0;i[f+8>>1]=0;e=m+p(e,20)|0;f=j[e+16>>2];if(f){qe[j[c+8>>2]](c,f)}j[e+16>>2]=0;if(d){qe[j[c+8>>2]](c,d)}}j[a+664>>2]=b}oe=g+16|0;return b|0}function ny(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];i=j[a+36>>2];l=j[a+16>>2];b=j[a+24>>2];m=b&7;n=(b+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];b:while(1){g=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=1;continue;case 1:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=2;continue;case 2:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=3;continue;case 3:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=4;continue;case 4:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=5;continue;case 5:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=6;continue;case 6:b=k[c|0]<<2;h[a|0]=k[b+d|0];b=(b|1)+d|0;h[a+1|0]=k[b|0];h[a+2|0]=k[b+1|0];a=a+3|0;c=c+1|0;b=7;continue;default:break e}}b=f-1|0;e=k[c|0]<<2;h[a|0]=k[e+d|0];e=(e|1)+d|0;h[a+1|0]=k[e|0];h[a+2|0]=k[e+1|0];a=a+3|0;c=c+1|0;f:{if((g|0)>1){g=g-1|0;break f}a=a+i|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function er(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;if(c){k=j[a+4>>2];m=j[a+12>>2];a=(e|0)==2;o=a?256:128;p=a?128:256;n=0-e|0;while(1){g=j[b+16>>2];a:{if(g&16){break a}l=j[b+28>>2];b:{a=h[b+20|0];c:{if((e|0)==(a|0)|(a|0)==(n|0)){break c}a=h[b+21|0];if((e|0)==(a|0)){break c}if((a|0)!=(n|0)){break b}}if(!a){break b}if((a|0)==(e|0)){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break a}if((a|0)!=(n|0)){break a}a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break a}break}j[b+24>>2]=f;j[b+16>>2]=g|1040;break a}if(!(g&64)){break a}d:{if(g&p){a=0;if(!k){break a}while(1){f=j[(a<<2)+m>>2];i=l-j[f>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|528;break d}if(!(g&o)){break d}a=0;if(!k){break d}while(1){f=j[(a<<2)+m>>2];i=(l-j[f>>2]|0)-j[f+4>>2]|0;if(!((0-i|0)<(d|0)?(i|0)<(d|0):0)){a=a+1|0;if((k|0)!=(a|0)){continue}break d}break}j[b+24>>2]=f;j[b+16>>2]=g|1040}if(j[b+24>>2]){break a}a=0;if(!k){break a}while(1){g=j[(a<<2)+m>>2];f=j[g>>2];if(!((f|0)>(l|0)|(f+j[g+4>>2]|0)<(l|0))){j[b+24>>2]=g;break a}a=a+1|0;if((k|0)!=(a|0)){continue}break}}b=b+40|0;c=c-1|0;if(c){continue}break}}}function vJ(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;l=oe-16|0;oe=l;d=j[a+28>>2];e=j[a+16>>2];m=j[a+24>>2];j[l+12>>2]=0;a:{b:{g=m+1|0;c:{if(g>>>0<=d>>>0){n=j[a+32>>2];break c}j[a+36>>2]=b;n=xe(b,4,d,g,j[a+32>>2],l+12|0);j[a+32>>2]=n;if(j[l+12>>2]){break b}j[a+28>>2]=g}g=n;if(m){e=e+10|0;while(1){h=k[e+7|0]|k[e+8|0]<<8|(k[e+9|0]<<16|k[e+10|0]<<24);r=k[e|0];s=k[e+1|0];t=k[e+2|0];d:{e:{f:{b=k[e+3|0]|k[e+4|0]<<8|(k[e+5|0]<<16|k[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;q=o+(b<<2)|0;f=q-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+k[q|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+j[a+16>>2]|0;b=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}o=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=o+p(d,5)|0;f=h-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(k[h+1|0]|k[h|0]<<8)){break d}}j[g>>2]=s<<8|r<<16|t;g=g+4|0}e=e+11|0;m=m-1|0;if(m){continue}break}}j[g>>2]=0;break a}n=0}oe=l+16|0;return n|0}function Rm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,n=0,o=0,q=0;c=j[a+36>>2];h=j[a+40>>2];d=j[a+28>>2];i=j[a+24>>2];k=d+p(i,40)|0;a:{if(b){m=8;if((i|0)<=0){break a}a=d;while(1){j[a+24>>2]=j[a+20>>2];j[a+28>>2]=j[a+8>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}break a}m=4;if((i|0)<1){break a}a=d;while(1){j[a+24>>2]=j[a+16>>2];j[a+28>>2]=j[a+4>>2];a=a+40|0;if(k>>>0>a>>>0){continue}break}}if((c|0)>=1){q=(c<<2)+h|0;while(1){e=j[h>>2];a=e;f=j[a+36>>2];b:{if(a>>>0>f>>>0){break b}while(1){c:{if(l[a>>1]&m){c=a;while(1){g=c;o=f>>>0<=c>>>0;if(!o){c=g+40|0;if(l[g+40>>1]&m){continue}}d:{e:{n=g+40|0;c=n;if(f>>>0>=c>>>0){while(1){if(l[c>>1]&m){break e}c=c+40|0;if(f>>>0>=c>>>0){continue}break}}if((a|0)==(g|0)){c=j[a+24>>2]-j[a+28>>2]|0;if(!c){break b}if(a>>>0>e>>>0){break d}break c}if(!o){Lm(n,f,g,a)}if(a>>>0<=d>>>0){break b}Lm(e,a-40|0,g,a);break b}Lm(n,c-40|0,g,c);continue}break}while(1){j[e+24>>2]=c+j[e+28>>2];e=e+40|0;if(e>>>0>>0){continue}break}break c}a=a+40|0;if(f>>>0>=a>>>0){continue}break b}break}e=a+40|0;if(f>>>0>>0){break b}while(1){j[a- -64>>2]=c+j[a+68>>2];a=e;e=a+40|0;if(f>>>0>=e>>>0){continue}break}}h=h+4|0;if(q>>>0>h>>>0){continue}break}}f:{if(b){if((i|0)<=0){break f}while(1){j[d+20>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}break f}if((i|0)<1){break f}while(1){j[d+16>>2]=j[d+24>>2];d=d+40|0;if(k>>>0>d>>>0){continue}break}}}function cD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-4272|0;oe=c;b=0;j[c+4232>>2]=j[15930];e=j[15929];d=c+4224|0;j[d>>2]=j[15928];j[d+4>>2]=e;e=j[15927];d=c+4216|0;j[d>>2]=j[15926];j[d+4>>2]=e;e=j[15925];d=c+4208|0;j[d>>2]=j[15924];j[d+4>>2]=e;e=j[15923];d=c+4200|0;j[d>>2]=j[15922];j[d+4>>2]=e;e=j[15921];d=c+4192|0;j[d>>2]=j[15920];j[d+4>>2]=e;d=j[15919];j[c+4184>>2]=j[15918];j[c+4188>>2]=d;d=j[15917];j[c+4176>>2]=j[15916];j[c+4180>>2]=d;e=j[a+20>>2];f=j[a+12>>2];g=j[a+16>>2];d=j[a+4>>2];j[c+52>>2]=j[a+8>>2];j[c+48>>2]=(d|0)==1?63781:63786;j[c+44>>2]=d;j[c+40>>2]=g;j[c+36>>2]=f;j[c+32>>2]=e;Ue(c- -64|0,4096,63724,c+32|0);j[c+16>>2]=c- -64;Zi(63792,c+16|0);a=Mf(63799);a:{if(a){if(!cf(a,63810)){a=2;break a}if(!cf(a,63816)){a=1;break a}if(!cf(a,63822)){a=0;break a}if(!cf(a,63828)){a=3;break a}a=cf(a,63835)?2:4;break a}a=Wu();b:{if(!a){break b}if(!(Ni(a)&1)){break b}av(a);b=a}Oe(c+4240|0,0,28);j[c+4256>>2]=5;j[c+4248>>2]=63849;j[c+4244>>2]=b;j[c+4240>>2]=32;j[c+4260>>2]=c+4176;j[c+4252>>2]=c- -64;c:{if(Qu(c+4240|0,c+4172|0)){while(1){h[c+4170|0]=105;h[c+4171|0]=0;j[c>>2]=c- -64;a=E(63866,c+4170|0,c|0)|0;if(!cf(a,64091)){ze(a);a=2;break c}if(!cf(a,64093)){ze(a);a=0;break c}if(!cf(a,64095)){ze(a);a=3;break c}d=cf(a,64097);ze(a);if(d){continue}break}a=4;break c}a=j[c+4172>>2];a=(a|0)==-1?3:a}if(!b){break a}$u(b)}oe=c+4272|0;return a|0}function ev(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-80|0;oe=e;a:{if(!j[67085]){if((tn()|0)<0){break a}}b:{d=(a|0)>1?a:1;if((d|0)<=16384){b=(b|0)>1?b:1;if((b|0)<16385){break b}}ve(98270,0);break a}c=Xe(1,156);if(!c){c=0;Be(0);break a}a=j[67085];j[c>>2]=a+316;f=a;a=j[a+320>>2];j[f+320>>2]=a+1;j[c+28>>2]=b;j[c+24>>2]=d;j[c+20>>2]=536805376;j[c+16>>2]=536805376;j[c+4>>2]=a;f=Ch(c);a=j[67085];g=(f|0)>=0?j[a+304>>2]+p(f,72)|0:g;f=j[a+300>>2];c:{if((f|0)>=1){h=j[a+304>>2];a=0;while(1){if((p(a,72)+h|0)==(g|0)){break c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0}Ik(a,e- -64|0);j[c+16>>2]=j[e+64>>2]+((j[e+72>>2]-d|0)/2|0);a=j[e+68>>2]+((j[e+76>>2]-b|0)/2|0)|0;j[c+20>>2]=a;b=j[c+24>>2];d=j[c+16>>2];j[c+68>>2]=j[c+28>>2];j[c+64>>2]=b;j[c+60>>2]=a;j[c+56>>2]=d;j[c+92>>2]=1065353216;j[c+96>>2]=1065353216;a=40;j[c+52>>2]=40;j[c+48>>2]=40;b=j[67085];d=j[b+308>>2];j[c+120>>2]=0;j[c+152>>2]=d;if(d){j[d+148>>2]=c}j[b+308>>2]=c;d:{d=j[b+36>>2];if(d){if((qe[d|0](b,c)|0)<0){break d}a=j[c+48>>2]}if(a&64){j[c+48>>2]=a&-65}a=j[67085];e:{if(!a){ve(99429,0);break e}if(j[c>>2]!=(a+316|0)){ve(98129,0);break e}a=j[c+8>>2];if((a|0)==1647){break e}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}i=c,k=Uf(1647),j[i+8>>2]=k;a=j[67085];b=j[a+44>>2];if(!b){break e}qe[b|0](a,c)}rn(c,32);a=j[c+48>>2];Xg(c,(a&5)==5?(a>>>6^-1)&1:0);break a}Kk(c);c=0}oe=e+80|0;return c}function Tj(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0;l=j[a+172>>2];j[a+172>>2]=0;e=j[a>>2]?p(j[a+28>>2],c):c;g=j[a+240>>2];if(j[a+216>>2]!=j[a+204>>2]){f=e;i=k[a+232|0]<<2;m=w(o[a+224>>3]*+((e|0)/(i|0)|0));a:{if(r(m)<2147483648){e=~~m;break a}e=-2147483648}i=p(e,i);e=f+i|0}f=j[a+188>>2];if(j[a+84>>2]){e=p(j[a+112>>2],e)}g=g<<2;e=e+g|0;if((e|0)>j[a+192>>2]){f=mf(f,e+32|0);if(!f){Be(0);return-1}j[a+192>>2]=e;j[a+188>>2]=f}e=f&15?(f&-16)+16|0:f;if(!e){return-1}f=l?0:g;l=f+e|0;Ge(l,b,c);b:{if(!j[a>>2]){break b}h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;j[a+20>>2]=c;j[a+16>>2]=l;b=k[a+40|0]|k[a+41|0]<<8|(k[a+42|0]<<16|k[a+43|0]<<24);if(!b){break b}h[a+80|0]=0;h[a+81|0]=0;h[a+82|0]=0;h[a+83|0]=0;qe[b|0](a,k[a+4|0]|k[a+5|0]<<8);c=j[a+24>>2]}c:{d:{if(j[a+216>>2]==j[a+204>>2]){f=e;break d}if(f){Ge(e,j[a+244>>2],f);c=c+f|0}b=c-g|0;Ge(j[a+244>>2],b+e|0,g);f=c+e|0;g=(c|0)<=(g|0);c=0;if(g){break c}c=qe[j[a+252>>2]](a,e,b,f,i)|0}if((c|0)<1){break c}b=a+84|0;if(!j[b>>2]){break c}h[a+108|0]=c;h[a+109|0]=c>>>8;h[a+110|0]=c>>>16;h[a+111|0]=c>>>24;j[a+104>>2]=c;j[a+100>>2]=f;e=k[a+124|0]|k[a+125|0]<<8|(k[a+126|0]<<16|k[a+127|0]<<24);if(!e){break c}h[a+164|0]=0;h[a+165|0]=0;h[a+166|0]=0;h[a+167|0]=0;qe[e|0](b,k[a+88|0]|k[a+89|0]<<8);c=j[a+108>>2]}if(d){b=j[d>>2];c=(b|0)<(c|0)?b:c;j[d>>2]=b-c}if(!c){return 0}return nl(j[a+168>>2],f,c)}function EC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,m=0;a:{b:{c:{d:{c=b&255;switch(c-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break c;case 0:break d;default:break b}}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>1|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=l[d>>1];i[d>>1]=(c<<24|c<<8&16711680)>>>16;d=d+2|0;f=f-1|0;if(f){continue}break}break a}e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(!e){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){c=j[d>>2];j[d>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d+4|0;e=e-1|0;if(e){continue}break}break a}if((c|0)!=64){break a}f=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>3|0;if(!f){break a}d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){e=j[d>>2];c=j[d+4>>2];g=c<<24|e>>>8;g=g&65280|(c<<8|e>>>24)&255|(e<<24|e<<8&16711680);j[d>>2]=((c&255)<<24|e>>>8)&-16777216|((c&16777215)<<8|e>>>24)&16711680|(c>>>8&65280|c>>>24)|m;j[d+4>>2]=g;d=d+8|0;f=f-1|0;if(f){continue}break}}c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b^4096)}}function Bk(a,b,c,d,e,f,g){var h=0,i=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;r=oe-16|0;oe=r;x=a+24|0;y=!d|!e;v=-1;w=-1;s=-1;t=-1;u=-1;q=b;o=c;a:{while(1){i=j[a>>2];if(!i){h=-129;m=-1;break a}l=(o|0)>0?1:(o|0)>=0?q>>>0>65536:0;h=l?q:65536;q=h-65536|0;n=q;p=(l?o:0)-(h>>>0<65536)|0;o=p;if(j[a+8>>2]!=(n|0)|(o|0)!=j[a+12>>2]){h=-128;m=-1;l=j[a+708>>2];if(!l){break a}if((qe[l|0](i,q,o,0)|0)==-1){break a}j[a+8>>2]=q;j[a+12>>2]=o;if(j[x+4>>2]>=0){i=x;j[i+8>>2]=0;j[i+12>>2]=0;j[i+24>>2]=0;j[i+16>>2]=0;j[i+20>>2]=0}p=j[a+12>>2];n=j[a+8>>2]}i=-1;l=-1;b:{if((c|0)<(p|0)?1:(c|0)<=(p|0)?b>>>0<=n>>>0:0){break b}while(1){z=i;A=l;h=-128;m=-1;i=b;i=Qf(a,r,i-n|0,c-((i>>>0>>0)+p|0)|0);n=pe;l=n;if((i|0)==-128&(l|0)==-1){break a}if((l|0)<0){i=z;l=A;break b}h=j[r>>2];v=k[h+6|0]|k[h+7|0]<<8|(k[h+8|0]<<16|k[h+9|0]<<24);w=k[h+10|0]|k[h+11|0]<<8|(k[h+12|0]<<16|k[h+13|0]<<24);h=j[r>>2];s=k[h+14|0]|k[h+15|0]<<8|(k[h+16|0]<<16|k[h+17|0]<<24);if((s|0)==j[f>>2]){j[g>>2]=v;j[g+4>>2]=w;t=i;u=l}m=e;h=d;c:{if(y){t=-1;u=-1;break c}while(1){if(j[h>>2]==(s|0)){break c}h=h+4|0;m=m-1|0;if(m){continue}break}t=-1;u=-1}n=j[a+8>>2];p=j[a+12>>2];h=p;if((c|0)>(h|0)?1:(c|0)>=(h|0)?b>>>0>n>>>0:0){continue}break}}if((i|0)==-1&(l|0)==-1){continue}break}m=u;h=t;if((m|0)>-1){break a}j[f>>2]=s;j[g>>2]=v;j[g+4>>2]=w;h=i;m=l}oe=r+16|0;pe=m;return h}function ez(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0,v=0;l=c/90;a:{if(r(l)<2147483648){n=~~l;break a}n=-2147483648}if(+(n|0)==l){n=(n|0)%4|0;n=(n|0)<0?n+4|0:n;if(n&1){j[d>>2]=b;j[e>>2]=a;j[f>>2]=0;j[f+4>>2]=0;o[g>>3]=((n|0)==1?-1:1)|0;return}j[d>>2]=a;j[e>>2]=b;o[f>>3]=(n?-1:1)|0;j[g>>2]=0;j[g+4>>2]=0;return}c=c*-.017453292519943295;u=g,v=Mg(c),o[u>>3]=v;k=lg(c);o[f>>3]=k;p=+((a|0)/2|0);c=k*p;q=o[g>>3];s=+((b|0)/2|0);m=q*s;i=c-m;l=m-c;t=l;h=c+m;if(!(r(r(h)>r(i)?h:i)>r(l)^1)){t=r(h)>r(i)?h:i}m=-c-m;c=m;b:{if(r(t)>r(c)^1){break b}c=l;if(r(r(h)>r(i)?h:i)>r(c)^1){break b}c=r(h)>r(i)?h:i}a=2;c=w(r(c));c:{if(r(c)<2147483648){b=~~c;break c}b=-2147483648}if((b|0)>=2){d:{if(r(r(r(h)>r(i)?h:i)>r(l)^1?l:r(h)>r(i)?h:i)>r(m)^1){break d}m=l;if(r(r(h)>r(i)?h:i)>r(l)^1){break d}m=r(h)>r(i)?h:i}c=w(r(m));e:{if(r(c)<2147483648){a=~~c;break e}a=-2147483648}a=a<<1}c=q*p;i=k*s;h=c-i;l=i-c;m=l;k=i+c;if(!(r(r(k)>r(h)?k:h)>r(l)^1)){m=r(k)>r(h)?k:h}c=-c-i;i=c;f:{if(r(m)>r(c)^1){break f}i=l;if(r(r(k)>r(h)?k:h)>r(i)^1){break f}i=r(k)>r(h)?k:h}g=2;j[d>>2]=a;m=w(r(i));g:{if(r(m)<2147483648){a=~~m;break g}a=-2147483648}if((a|0)>=2){h:{if(r(r(r(k)>r(h)?k:h)>r(l)^1?l:r(k)>r(h)?k:h)>r(c)^1){break h}c=l;if(r(r(k)>r(h)?k:h)>r(c)^1){break h}c=r(k)>r(h)?k:h}c=w(r(c));i:{if(r(c)<2147483648){a=~~c;break i}a=-2147483648}g=a<<1}j[e>>2]=g}function TM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){f=j[b+4>>2];g=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}n=l[c>>1];d=n<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(n<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];n=i[c+2>>1];o=j[c+4>>2]+(n<<3)|0;j[o+4>>2]=f>>10;j[o>>2]=g>>10;h[d+n|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+3>>>0<=m[c+4>>2]){break b}c=yf(c,3,0);if(!c){break b}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=c;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[e+20>>2];e:{f:{g:{if(!k[e+65|0]){i[a+2>>1]=l[a+2>>1]+1;break g}c=j[a+8>>2];d=j[b+8>>2];f=i[a+2>>1];g=j[a+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+12>>2]>>10;j[g>>2]=d>>10;h[c+f|0]=2;d=k[e+65|0];c=j[e+20>>2];i[a+2>>1]=l[a+2>>1]+1;if(d){break f}a=c}i[a+2>>1]=l[a+2>>1]+1;break e}a=j[c+8>>2];d=j[b+16>>2];f=i[c+2>>1];g=j[c+4>>2]+(f<<3)|0;j[g+4>>2]=j[b+20>>2]>>10;j[g>>2]=d>>10;h[a+f|0]=2;d=k[e+65|0];a=j[e+20>>2];i[c+2>>1]=l[c+2>>1]+1;if(!d){break e}c=j[a+8>>2];e=j[b+24>>2];d=i[a+2>>1];f=j[a+4>>2]+(d<<3)|0;j[f+4>>2]=j[b+28>>2]>>10;j[f>>2]=e>>10;h[c+d|0]=1}i[a+2>>1]=l[a+2>>1]+1}}function Di(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;d=oe-16|0;oe=d;e=p(b,-11796480)+5898240|0;g=Df(j[a>>2],j[a+4>>2]);f=(g|0)/2|0;m=(b<<5)+a|0;a:{b:{c:{d:{e:{f:{if(!k[m+80|0]|(!c|g+11763713>>>0>23527426)){break f}i=ye(j[a+60>>2],SN(f));g=i>>31;g=g^g+i;if(!g|(c|0)<(g|0)){break f}if((g|0)<=j[a+16>>2]){break e}}of(d,j[a+60>>2],e+j[a+4>>2]|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;h[m+80|0]=0;break d}c=j[a>>2];g=Bi(f);of(d,De(j[a+60>>2],g),c+(e+f|0)|0);e=j[d>>2]+j[a+8>>2]|0;j[d>>2]=e;f=j[d+4>>2]+j[a+12>>2]|0;j[d+4>>2]=f;if(!k[m+80|0]){break d}a=(b<<5)+a|0;a=((j[a- -64>>2]<<3)+j[a+72>>2]|0)-8|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;break c}g=(b<<5)+a|0;i=g- -64|0;c=j[i>>2];g:{if(!c){break g}l=j[g+72>>2]+(c-1<<3)|0;if((j[l>>2]-e|0)+1>>>0>2){break g}e=0;if((j[l+4>>2]-f|0)+1>>>0<3){break a}}f=j[g+68>>2];j[d+12>>2]=0;e=c+1|0;h:{if(e>>>0<=f>>>0){f=j[((b<<5)+a|0)+76>>2];break h}l=j[((b<<5)+a|0)+88>>2];c=f;while(1){c=((c>>>1|0)+c|0)+16|0;if(e>>>0>c>>>0){continue}break}n=(b<<5)+a|0;e=n;o=e,q=xe(l,8,f,c,j[e+72>>2],d+12|0),j[o+72>>2]=q;e=j[d+12>>2];if(e){break b}f=xe(l,1,f,c,j[n+76>>2],d+12|0);j[n+76>>2]=f;e=j[d+12>>2];if(e){break b}j[g+68>>2]=c;c=j[i>>2]}a=j[((b<<5)+a|0)+72>>2]+(c<<3)|0;b=j[d+4>>2];j[a>>2]=j[d>>2];j[a+4>>2]=b;h[c+f|0]=1;j[i>>2]=j[i>>2]+1}e=0}h[m+80|0]=0}oe=d+16|0;return e}function MK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,m=0;m=oe-16|0;oe=m;h=He(a,2496,m+12|0);d=j[m+12>>2];if(!d){j[h>>2]=a;j[h+212>>2]=l[b+120>>1];g=k[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){j[a>>2]=i[d>>1];d=d+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}a=1;j[h+208>>2]=g+1;j[h+8>>2]=l[b+122>>1];g=k[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){j[d>>2]=i[f>>1];f=f+2|0;d=d+12|0;e=e-1|0;if(e){continue}break}}j[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;br(g,k[b+8|0],f,k[b+9|0],b+40|0,j[b+116>>2],0);br(g,k[b+10|0],b+60|0,k[b+11|0],b+88|0,j[b+116>>2],1);g=k[b+8|0];if(g){while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}g=k[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=l[f+(e|2)>>1]-l[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(g>>>0>d>>>0){continue}break}}a=De(1e3,a<<16>>16);f=j[b+108>>2];j[h+2476>>2]=(a|0)>(f|0)?f:a;j[h+2480>>2]=j[b+112>>2];a=j[b+116>>2];j[h+404>>2]=0;j[h+408>>2]=0;j[h+200>>2]=0;j[h+204>>2]=0;j[h+2488>>2]=a;d=j[m+12>>2]}j[c>>2]=h;oe=m+16|0;return d|0}function nm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;j[c+12>>2]=j[a>>2];d=j[a+8>>2];Pf(c+12|0,d);b=j[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{f=k[b|0];switch(f-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break b;case 7:break c;case 22:break d;case 20:break e;case 0:break f;case 51:case 53:break h;default:break g}}j[c+12>>2]=b+1;break a}if((f|0)!=123){break b}e=or(c+12|0,d);break a}e=mm(c+12|0,d);break a}if(!(k[b+1|0]!=60|b+1>>>0>=d>>>0)){j[c+12>>2]=b+2;break a}e=nr(c+12|0,d);break a}f=b+1|0;j[c+12>>2]=f;e=3;if(k[f|0]!=62|d>>>0<=f>>>0){break a}j[c+12>>2]=b+2;e=0;break a}b=b+1|0;j[c+12>>2]=b}if(b>>>0>=d>>>0){break a}i:{while(1){j:{switch(k[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break i;default:break j}}b=b+1|0;if((d|0)!=(b|0)){continue}break}j[c+12>>2]=d;break a}j[c+12>>2]=b}b=j[c+12>>2];if(b>>>0>>0){e=(b|0)==j[a>>2]?3:e}j[a>>2]=b;j[a+12>>2]=e;oe=c+16|0}function qM(a,b,c,d,e){var f=0,g=0;f=oe+ -64|0;oe=f;g=6;a:{if(!c|(!b|!a)){break a}j[f+20>>2]=b;j[f+12>>2]=e;j[f+8>>2]=d;b=j[c>>2];j[f+48>>2]=a;j[f+44>>2]=679;j[f+40>>2]=680;j[f+24>>2]=b;if(xr(f+8|0,15)){break a}d=vr(f+8|0,4);if((d|0)!=1){g=j[f+36>>2];b:{if(!g){break b}c=j[f+44>>2];if(!c){break b}b=j[g+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;g=j[b+40>>2];j[b+52>>2]=g;j[b+48>>2]=g;a=j[b+56>>2];if(a){a=qe[a|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;g=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],g);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);g=j[f+36>>2];c=j[f+44>>2]}qe[c|0](j[f+48>>2],g)}g=0;a=d+5|0;if(a>>>0>=6){break a}g=j[(a<<2)+132244>>2];break a}j[c>>2]=j[f+28>>2];g=0;a=j[f+36>>2];if(!a){break a}c=j[f+44>>2];if(!c){break a}b=j[a+20>>2];if(b){a=j[b>>2];if((a&-2)==4){qe[c|0](j[f+48>>2],j[b+12>>2]);a=j[b>>2]}if((a|0)==6){qe[j[f+44>>2]](j[f+48>>2],j[b+4>>2])}j[b+28>>2]=0;j[b+32>>2]=0;j[b>>2]=0;a=j[b+40>>2];j[b+52>>2]=a;j[b+48>>2]=a;c=j[b+56>>2];if(c){a=qe[c|0](0,0,0)|0;j[b+60>>2]=a;j[f+56>>2]=a;a=j[b+40>>2]}qe[j[f+44>>2]](j[f+48>>2],a);qe[j[f+44>>2]](j[f+48>>2],j[b+36>>2]);qe[j[f+44>>2]](j[f+48>>2],b);c=j[f+44>>2];a=j[f+36>>2]}qe[c|0](j[f+48>>2],a)}oe=f- -64|0;return g}function Ei(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,m=0,n=0,o=0;c=j[a+88>>2];if(h[a+8|0]&1){a:{b:{c:{d:{e:{switch(j[b>>2]){case 0:g=l[a+68>>1];e=g;break c;case 2:f=j[a+60>>2]-j[a+52>>2]|0;e=j[a- -64>>2]-j[a+56>>2]|0;break d;case 3:f=i[a+76>>1];e=i[a+70>>1]-i[a+72>>1]|0;break d;case 4:d=j[b+4>>2];j[c+16>>2]=d;e=j[b+8>>2];j[c+20>>2]=e;if(!d){j[c+16>>2]=e;d=0;break b}if(e){d=0;break b}j[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=i[a+70>>1]-i[a+72>>1]|0;e=f}d=e;d=d>>31;e=e+d^d;d=f>>31;g=d+f^d}k=j[b+4>>2];f=k;d=j[b+12>>2];if(d){f=(p(d,k)+36|0)/72|0}d=j[b+8>>2];m=j[b+16>>2];if(m){d=(p(d,m)+36|0)/72|0}if(k){k=De(f,g);j[c+16>>2]=k;if(j[b+8>>2]){g=De(d,e);j[c+20>>2]=g;e=j[b>>2];if((e|0)!=3){break a}e=j[c+16>>2];if((e|0)<(g|0)){j[c+20>>2]=e;break b}j[c+16>>2]=g;break b}j[c+20>>2]=k;d=Ne(f,e,g);break b}f=De(d,e);j[c+16>>2]=f;j[c+20>>2]=f;f=Ne(d,g,e)}e=j[b>>2]}b=c;if(e){f=ye(l[a+68>>1],j[c+16>>2]);d=ye(l[a+68>>1],j[c+20>>2])}i[b+14>>1]=d+32>>>6;i[c+12>>1]=f+32>>>6;n=c,o=ye(i[a+70>>1],j[c+20>>2])+63&-64,j[n+24>>2]=o;n=c,o=ye(i[a+72>>1],j[c+20>>2])&-64,j[n+28>>2]=o;n=c,o=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[n+32>>2]=o;n=c,o=ye(i[a+76>>1],j[c+16>>2])+32&-64,j[n+36>>2]=o;return}j[c+12>>2]=0;j[c+16>>2]=0;j[c+36>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+20>>2]=0;j[c+24>>2]=0;j[c+16>>2]=65536;j[c+20>>2]=65536}function kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d>>>24|0;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,t)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){e=(p(e,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,e)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+h|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;e=d+h|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Xv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[g>>2];b=d&255;e=d>>>8&255;h=d>>>16&255;if(y){e=(p(e,u)>>>0)/255|0;h=(p(h,t)>>>0)/255|0;b=(p(b,v)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;f=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;e=(p(e,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;f=f&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(c,h)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+h|0;d=((p(d,q)>>>0)/255|0)+e|0;f=((p(f,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+h|0;c=c>>>0<255?c:255;e=d+e|0;d=e>>>0<255?e:255;b=b+f|0;f=b>>>0<255?b:255}j[m>>2]=d<<8|f<<16|c|r<<24;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d&255;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,u)>>>0)/255|0;h=(p(h,v)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d>>>24|0;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){g=(p(g,i)>>>0)/255|0;h=(p(h,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(e,h)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+g|0;e=((p(e,q)>>>0)/255|0)+h|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+g|0;d=b>>>0<255?b:255;b=e+h|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function Ev(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&48;x=b&2;y=b&1;b=b&112;z=b-16|0;A=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){B=a;o=j[a+24>>2];if(o){while(1){c=j[m>>2];d=j[f>>2];b=d>>>24|0;g=d>>>8&255;h=d>>>16&255;if(y){g=(p(g,v)>>>0)/255|0;h=(p(h,u)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;i=x?(p(d,s)>>>0)/255|0:d;d=c>>>8|0;e=c>>>16|0;if(!(!w|i>>>0>254)){h=(p(h,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;r=c>>>24|0;c=c&255;d=d&255;e=e&255;a:{b:{switch(z|0){default:if(!A){break a}c=(p(b,c)>>>0)/255|0;d=(p(d,h)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:q=255-i|0;r=i+((p(q,r)>>>0)/255|0)|0;c=((p(c,q)>>>0)/255|0)+b|0;d=((p(d,q)>>>0)/255|0)+h|0;e=((p(e,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=d+h|0;d=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[m>>2]=d<<8|e<<16|c|r<<24;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[B+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;a:{if(!j[b>>2]){b=c;h=1;break a}h=!j[c>>2]}g=j[a+20>>2];b:{c:{if(!g){break c}e=j[b+8>>2];while(1){f=j[(p(d,20)+a|0)+36>>2];if((f|0)<(e|0)){d=d+1|0;if(g>>>0>d>>>0){continue}break c}break}if(k[(p(d,20)+a|0)+28|0]&8|((e|0)==(f|0)|((f|0)<=j[c+8>>2]?!h:0))){break b}}e=j[a+4>>2];d:{if(!k[e+12|0]|k[b|0]&16){break d}if(!h){e=Sg(e,(j[b+8>>2]+j[c+8>>2]|0)/2|0);f=ye((j[c+8>>2]-j[b+8>>2]|0)/2|0,j[a+16>>2]);j[b+12>>2]=e-f;j[c+12>>2]=e+f;break d}q=b,r=Sg(e,j[b+8>>2]),j[q+12>>2]=r}if(j[b+12>>2]>2]?d:0){break b}e=j[a+20>>2];e:{if(e>>>0<=d>>>0){break e}if(!h){if(j[c+12>>2]<=j[(p(d,20)+a|0)+40>>2]){break e}break b}if(j[b+12>>2]>j[(p(d,20)+a|0)+40>>2]){break b}}g=(h^1)+e|0;if(g>>>0>191){break b}l=e-d|0;if(l){n=a+28|0;while(1){e=e-1|0;f=p(e,20)+n|0;o=j[f+4>>2];m=p(g,20)+n|0;i=m;j[i>>2]=j[f>>2];j[i+4>>2]=o;j[i+16>>2]=j[f+16>>2];i=j[f+12>>2];j[m+8>>2]=j[f+8>>2];j[m+12>>2]=i;g=g-1|0;l=l-1|0;if(l){continue}break}}d=p(d,20)+a|0;j[d+44>>2]=j[b+16>>2];e=j[b+12>>2];j[d+36>>2]=j[b+8>>2];j[d+40>>2]=e;e=j[b+4>>2];j[d+28>>2]=j[b>>2];j[d+32>>2]=e;j[a+20>>2]=j[a+20>>2]+1;if(h){break b}j[d- -64>>2]=j[c+16>>2];b=j[c+12>>2];j[d+56>>2]=j[c+8>>2];j[d+60>>2]=b;b=j[c+4>>2];j[d+48>>2]=j[c>>2];j[d+52>>2]=b;j[a+20>>2]=j[a+20>>2]+1}}function vj(){var a=0,b=0,c=0,d=0,e=0,f=0;if(j[67085]){yB();FB();Yj(16384);a=j[67085];a:{if(!j[a+296>>2]){break a}j[a+296>>2]=0;b=j[a+236>>2];if(!b){break a}qe[b|0](a);a=j[67085]}b=j[a+308>>2];if(b){while(1){Kk(b);a=j[67085];b=j[a+308>>2];if(b){continue}break}}qe[j[a+8>>2]](a);b=j[67085];a=j[b+300>>2];if((a|0)>=1){while(1){c=j[b+304>>2]+p(d,72)|0;e=c;b=j[c+8>>2];b:{if(!b){a=j[e+12>>2];break b}a=j[e+12>>2];while(1){b=b-1|0;f=p(b,20);a=j[(f+a|0)+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[e+12>>2];j[(f+a|0)+16>>2]=0;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+12>>2]=0;a=j[c+32>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+32>>2]=0;a=j[c+68>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[c+68>>2]=0;b=j[67085];a=j[b+300>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}}c=j[b+304>>2];if(c){d=1;c:{if((a|0)<1){break c}a=j[c>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];if(j[b+300>>2]<2){break c}while(1){a=j[j[b+304>>2]+p(d,72)>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}d=d+1|0;b=j[67085];if((d|0)>2]){continue}break}}a=j[b+304>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}b=j[67085];j[b+300>>2]=0;j[b+304>>2]=0}a=j[b+324>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[67085];j[a+324>>2]=0;qe[j[a+1e3>>2]](a);j[67085]=0}}function Vm(a,b,c){var d=0,e=0,f=0,g=0,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[(c?8:4)+b>>2];d=p(c,1572)+a|0;e=d+1608|0;i=j[(c?16:12)+b>>2];if((i|0)==j[d+1612>>2]?(g|0)==j[e>>2]:0){break a}j[e>>2]=g;j[d+1612>>2]=i;e=j[a+1832>>2];b:{if(!e){break b}d=0;while(1){if(!(k[(p(d,28)+a|0)+1860|0]&8)){d=d+1|0;if(e>>>0>d>>>0){continue}break b}break}b=ye(j[(p(d,28)+a|0)+1848>>2],j[b+8>>2]);if((c|0)!=1){break b}d=j[j[a+36>>2]+12>>2];e=l[j[j[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}g=Ne(g,d,b)}b=p(c,1572)+a|0;j[b+48>>2]=i;j[b+44>>2]=g;c:{if(!c){j[a+8>>2]=g;b=a+16|0;break c}j[a+12>>2]=g;b=a+20|0}j[b>>2]=i;b=p(c,1572)+a|0;n=b;if(j[b+52>>2]){d=0;while(1){e=b+p(d,12)|0;f=ye(j[e+56>>2],g);j[e- -64>>2]=f;j[e+60>>2]=f;d=d+1|0;if(d>>>0>2]){continue}break}}r=b,s=(ye(j[b+252>>2],g)|0)<40,h[r+256|0]=s;if(!j[a+1832>>2]|(c|0)!=1){break a}c=0;while(1){b=p(c,28)+a|0;e=b+1844|0;d=b+1836|0;f=ye(j[d>>2],g)+i|0;j[e>>2]=f;n=b+1840|0;j[n>>2]=f;f=b+1856|0;o=b+1848|0;q=ye(j[o>>2],g)+i|0;j[f>>2]=q;j[b+1852>>2]=q;b=b+1860|0;j[b>>2]=j[b>>2]&-2;d=ye(j[d>>2]-j[o>>2]|0,g);if(d+48>>>0<=96){o=e;e=j[n>>2]+32&-64;j[o>>2]=e;n=f;f=d>>31;f=f+d^f;f=(f|0)<32?0:(f|0)<48?32:64;j[n>>2]=e+((d|0)<0?f:0-f|0);j[b>>2]=j[b>>2]|1}c=c+1|0;if(c>>>0>2]){continue}break}}}function gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!(c?a:0)){b=ve(97756,0);break a}if(!(j[c+28>>2]?0:!j[a+28>>2])){b=ve(97793,0);break a}if(!d){j[g+16>>2]=0;j[g+20>>2]=0;j[g+24>>2]=j[c+8>>2];j[g+28>>2]=j[c+12>>2];d=g+16|0}b:{if(b){i=j[b+8>>2];k=j[b>>2];if((k|0)<=-1){j[d>>2]=j[d>>2]-k;i=i+k|0;k=0}f=j[a+8>>2]-k|0;h=(f|0)<(i|0);e=j[b+12>>2];l=j[b+4>>2];if((l|0)<=-1){j[d+4>>2]=j[d+4>>2]-l;e=e+l|0;l=0}b=h?f:i;f=j[a+12>>2]-l|0;i=(e|0)>(f|0)?f:e;break b}b=j[a+8>>2];i=j[a+12>>2]}e=j[c+36>>2];h=j[d>>2];f=e-h|0;c:{if((f|0)<1){f=e;e=h;break c}j[d>>2]=e;k=f+k|0;b=b-f|0;f=j[c+36>>2]}e=((b+e|0)-f|0)-j[c+44>>2]|0;n=(e|0)>0?e:0;e=j[c+40>>2];h=j[d+4>>2];f=e-h|0;d:{if((f|0)<1){f=e;e=h;break d}j[d+4>>2]=e;l=f+l|0;i=i-f|0;f=j[c+40>>2]}o=j[c+48>>2];h=j[a+52>>2];m=j[h+68>>2];if(m&512){j[h+68>>2]=m&-513;vf(h)}e:{b=b-n|0;if((b|0)<1){break e}e=((e+i|0)-f|0)-o|0;e=i-((e|0)>0?e:0)|0;if((e|0)<1){break e}j[g+4>>2]=l;j[g>>2]=k;j[d+8>>2]=b;j[g+8>>2]=b;j[d+12>>2]=e;j[g+12>>2]=e;b=j[a+52>>2];f:{g:{if(j[b>>2]!=(c|0)){break g}e=j[j[c+4>>2]+4>>2];if(j[b+80>>2]!=j[e+8>>2]?e:0){break g}e=j[j[a+4>>2]+4>>2];if(!e|j[b+84>>2]==j[e+8>>2]){break f}}b=-1;if((Cj(a,c)|0)<0){break a}b=j[a+52>>2]}b=qe[j[b+8>>2]](a,g,c,d)|0;break a}j[d+8>>2]=0;j[d+12>>2]=0;b=0}oe=g+32|0;return b}function $q(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=k[a|0];if((g|0)!=117){break c}d:{c=k[a+1|0];if((c|0)!=110|k[a+2|0]!=105){break d}b=k[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=k[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=k[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=k[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=k[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=k[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=k[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=k[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=k[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=k[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=k[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return _q(a,c)|0}if(a>>>0>>0){break f}}g=k[c+1|0];c=c+1|0;continue}break}b=_q(a,c)|-2147483648}return b|0} -function xJ(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;i=-1;g=j[a+16>>2];a=k[g+6|0]|k[g+7|0]<<8|(k[g+8|0]<<16|k[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}l=g+13|0;while(1){b:{e=a+f>>>1|0;d=l+p(e,11)|0;h=d-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);d:{a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;l=h+(a<<2)|0;d=l-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+k[l|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+p(c,5)|0;d=e-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(k[e+1|0]|k[e|0]<<8){break a}}i=-1}return i|0}function yJ(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,i=0,l=0;a:{i=j[a+16>>2];a=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}l=i+13|0;while(1){c:{f=a+g>>>1|0;e=l+p(f,11)|0;h=e-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e:{a=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;l=h+(a<<2)|0;e=l-3|0;e=k[e+1|0]<<8|k[e|0]<<16|k[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+k[l|0]>>>0>>0){continue}break}return qe[j[j[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+p(b,5)|0;f=d-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return k[d+1|0]|k[d|0]<<8}function Rz(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;var i=0,l=0,m=0,n=0,o=0,q=0,r=0;if((c|0)==(e|0)){a=j[a+20>>2]+p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){m=(g|0)!=0;c=a+b|0;a=d-b|0;break a}a=a+d|0;c=g?a:a+1|0;m=(g|0)!=0;a=b-d|0}Oe(c,f,a+m|0);return}b:{if((b|0)==(d|0)){d=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){e=e-c|0;b=(a+p(c,d)|0)+b|0;a=(g|0)!=0;break c}a=(a+p(d,e)|0)+b|0;b=g?a:a+d|0;e=c-e|0;a=(g|0)!=0}c=a+e|0;if(!c){break b}while(1){h[b|0]=f;b=b+d|0;c=c-1|0;if(c){continue}break}break b}n=b-d|0;l=n>>31;m=c-e|0;i=m>>31;if((l^l+n)==(i^i+m)){l=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;i=j[a+20>>2];d:{if((c|0)<=(e|0)){m=e-c|0;a=l+((b|0)>(d|0)?-1:1)|0;b=(i+p(c,l)|0)+b|0;break d}c=(i+p(e,l)|0)+d|0;a=l+((b|0)<(d|0)?-1:1)|0;b=g?c:c+a|0}c=((g|0)!=0)+m|0;if(!c){break b}while(1){h[b|0]=f;b=a+b|0;c=c-1|0;if(c){continue}break}break b}m=d-b|0;l=m>>31;n=e-c|0;i=n>>31;l=l^l+m;i=i^i+n;e:{if((l|0)>=(i|0)){n=i-l|0;o=i<<1;m=o-l|0;i=1;break e}n=l-i|0;q=1;o=l<<1;m=o-i|0;l=i;i=0}g=((g|0)!=0)+l|0;if(!g){break b}e=(c|0)>(e|0);l=e?0-q|0:q;d=(b|0)>(d|0);i=d?0-i|0:i;q=e?-1:1;r=d?-1:1;n=n<<1;d=0;while(1){h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=f;e=(m|0)<0;m=(e?o:n)+m|0;b=(e?i:r)+b|0;c=(e?l:q)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function VF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe-272|0;oe=h;f=bf(1,1312);j[f+1296>>2]=b;j[f+1288>>2]=j[b+840>>2];i=b+836|0;a=j[b>>2];a:{b:{c:{if((a|0)<=0){a=2;j[f+1284>>2]=2;break c}d=b+4|0;e=b+128|0;while(1){k=j[e+(j[d+(c<<2)>>2]<<2)>>2]+k|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}a=k+2|0;j[f+1284>>2]=a;if((k|0)<=-2){eg(h,a,4,109);break a}d=1;if((a|0)<2){break b}}d=a}c=0;while(1){e=c<<2;j[e+h>>2]=e+i;c=c+1|0;if((d|0)!=(c|0)){continue}break}eg(h,a,4,109);d=(a|0)>1?a:1;e=f+260|0;c=0;while(1){g=c<<2;j[g+e>>2]=j[g+h>>2]-i>>2;c=c+1|0;if((d|0)!=(c|0)){continue}break}d=(a|0)>1?a:1;e=f+260|0;g=f+520|0;c=0;while(1){j[g+(j[e+(c<<2)>>2]<<2)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}a=(a|0)>1?a:1;d=f+260|0;c=0;while(1){e=c<<2;j[e+f>>2]=j[(j[d+e>>2]<<2)+i>>2];c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=j[b+832>>2]-1|0;if(a>>>0<=3){j[f+1292>>2]=j[(a<<2)+62e3>>2]}if((k|0)>=1){q=f+780|0;r=f+1032|0;e=0;g=2;while(1){m=e<<2;p=j[(m+i|0)+8>>2];n=j[f+1288>>2];b=1;c=0;o=0;a=0;while(1){d=j[(c<<2)+i>>2];l=(d|0)<(n|0)&(d|0)>(p|0);n=l?d:n;b=l?c:b;l=d;d=(d|0)<(p|0)&(d|0)>(o|0);o=d?l:o;a=d?c:a;c=c+1|0;if((g|0)!=(c|0)){continue}break}j[m+r>>2]=a;j[m+q>>2]=b;g=g+1|0;e=e+1|0;if((e|0)!=(k|0)){continue}break}}oe=h+272|0;return f|0}function tM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!(b?a:0)){j[e+8>>2]=40;break a}f=j[b+28>>2];c=Br(b);j[e+8>>2]=c;if(c){break a}c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+28>>2]=f;c=jj(f,8276,e+8|0);if(!j[e+8>>2]){j[c>>2]=b;j[c+4>>2]=a;d=j[a+28>>2];g=c+8264|0;j[c+8272>>2]=g;j[c+8>>2]=d;j[c+8268>>2]=g;j[c+8264>>2]=0;b:{d=Br(b);c:{if(d){break c}d=j[b+8>>2];j[c+48>>2]=679;j[c+44>>2]=680;j[c+68>>2]=d;d=j[b+28>>2];j[c+16>>2]=0;j[c+52>>2]=d;j[c+12>>2]=c+4168;d=3;if(xr(c+12|0,-15)){break c}if(j[c+12>>2]){break b}}j[e+8>>2]=d;if(c){qe[j[f+8>>2]](f,c)}break a}j[e+8>>2]=0;j[a+12>>2]=c}d=j[b+8>>2];d:{e:{if(Fe(b,j[b+4>>2]-4|0)){break e}g=sf(b,e+12|0);h=j[e+12>>2];Fe(b,d);b=h?0:g;if(b-1>>>0>40958){break e}d=He(f,b,e+8|0);if(!j[e+8>>2]){if((qm(c,0,d,b)|0)==(b|0)){break d}qm(c,0,0,0);if(d){qe[j[f+8>>2]](f,d)}}j[e+8>>2]=0}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=681;j[a+20>>2]=682;break a}ok(c+12|0);j[c+52>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;if(c){qe[j[f+8>>2]](f,c)}j[a+4>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+24>>2]=681;j[a+20>>2]=0;j[a>>2]=d}oe=e+16|0;return j[e+8>>2]}function vC(){var a=0,b=0,c=0,d=0;a=j[65559];j[65540]=j[65558];j[65541]=a;a=j[65563];j[65544]=j[65562];j[65545]=a;a=j[65561];j[65542]=j[65560];j[65543]=a;a:{if(!j[57817]){break a}a=j[57820];if(a){if(qe[a|0](262232)|0){break a}}j[57818]=1;b=j[57814];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break a}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}b:{if(!j[57796]){break b}a=j[57799];if(a){if(qe[a|0](262232)|0){break b}}j[57797]=1;b=j[57793];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break b}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}c:{if(!j[57797]|j[57795]!=3?!(j[57818]?j[57816]==3:0):0){break c}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break c}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2454}d:{if(!j[57797]|j[57795]!=4?!(j[57818]?j[57816]==4:0):0){break d}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break d}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2458}e:{if(!j[57797]|j[57795]!=6?!(j[57818]?j[57816]==6:0):0){break e}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break e}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2463}j[57792]=128;Zg();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Hg();d=+l[131120]*1e3/+j[65558];f:{if(r(d)<2147483648){a=~~d;break f}a=-2147483648}j[65548]=a;return 0}function Mo(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=q(0),o=0,s=0,t=0,u=0,v=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;m=q(c|0);o=+q(m/q(b|0));l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}k=w(+q(q(b<<9)/m));if(r(k)<2147483648){l=~~k;break a}l=-2147483648}G=l;u=a<<2;c=(i|0)/(u|0)|0;v=(g|0)/(u|0)|0;k=o*+(v|0);b:{if(r(k)<2147483648){g=~~k;break b}g=-2147483648}x=(c|0)>(g|0)?g:c;if((x|0)>=1){H=1/+m;y=+(b|0);C=j[66092];D=j[66091];while(1){k=z*y;c:{if(r(k)<2147483648){s=~~k;break c}s=-2147483648}E=s+1|0;k=+(E|0)/y;A=1-(k-z)/(k- +(s|0)/y);k=A*512;d:{if(r(k)<2147483648){t=~~k;break d}t=-2147483648}o=1-A;k=o*512;e:{if(r(k)<2147483648){i=~~k;break e}i=-2147483648}if((a|0)>=1){I=2560-i>>>9|0;J=2560-t>>>9|0;g=0;while(1){m=q(0);b=0;c=t;if((c|0)<2561){while(1){c=c<<2;k=A*+n[c+C>>2]+ +n[c+D>>2];c=s-b|0;m=q(m+q(k*+n[((c|0)<0?d:f)+(p(c+(c>>31&G)|0,a)+g<<2)>>2]));l=b+1|0;c=t+(l<<9)|0;B=(b|0)==(J|0);b=l;if(!B){continue}break}}b=0;c=i;if((c|0)<2561){while(1){c=c<<2;k=o*+n[c+C>>2]+ +n[c+D>>2];l=b+E|0;c=(l|0)<(v|0);m=q(m+q(k*+n[(c?f:e)+(p(l-(c?0:v)|0,a)+g<<2)>>2]));l=b+1|0;c=(l<<9)+i|0;B=(b|0)!=(I|0);b=l;if(B){continue}break}}n[h>>2]=m;h=h+4|0;g=g+1|0;if((g|0)!=(a|0)){continue}break}}z=H+z;F=F+1|0;if((F|0)!=(x|0)){continue}break}}return p(u,x)}function Gs(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;c=oe-208|0;oe=c;d=6;a:{if(!a){break a}f=j[a>>2];if(!f){break a}g=j[f+4>>2];if(!g){break a}i=j[f>>2];if(!i){break a}if((g|0)==111972){d=0;break a}if(!j[g+28>>2]){break a}Ee(c+48|4,0,152);j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+204>>2]=c+8;j[c+48>>2]=i;j[c+120>>2]=j[g+4>>2];e=He(j[i>>2],52,c);d=j[c>>2];if(d){break a}j[e+8>>2]=1651078259;j[e+4>>2]=111972;j[e>>2]=i;d=qe[j[g+28>>2]](f,c+48|0)|0;if(!d){d=EO(j[f>>2],c+48|0,b)}b:{if(d){break b}d=18;if(j[c+120>>2]!=1651078259){break b}d=j[e>>2];j[e+20>>2]=j[c+148>>2];j[e+24>>2]=j[c+152>>2];b=e+28|0;c:{if(h[j[c+204>>2]+4|0]&1){d=j[c+128>>2];j[b>>2]=j[c+124>>2];j[b+4>>2]=d;d=j[c+144>>2];j[b+16>>2]=j[c+140>>2];j[b+20>>2]=d;d=j[c+136>>2];j[b+8>>2]=j[c+132>>2];j[b+12>>2]=d;b=j[c+204>>2];j[b+4>>2]=j[b+4>>2]&-2;break c}if(b){j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}d=yk(d,c+124|0,b);if(d){break b}}b=j[f+16>>2];j[e+12>>2]=j[f+12>>2];j[e+16>>2]=b;b=j[j[f>>2]>>2];d=j[j[f+4>>2]+12>>2];if(d){qe[d|0](f)}if(f){qe[j[b+8>>2]](b,f)}j[a>>2]=e;d=0;break a}a=j[j[e>>2]>>2];b=j[j[e+4>>2]+12>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}}oe=c+208|0;return d}function $e(a,b,c){var d=0,e=0,f=0,g=0,n=0;if(!b){return 6}if(!a){return 40}d=j[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=k[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=_e(a,l[b+2>>1]);if(d){break a}d=j[a+32>>2];n=1;b=b+4|0;continue}f=k[b+1|0];e=f+d|0;if(e>>>0>m[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ae(l[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=k[d+1|0]|k[d|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+3|0;break c}f=8;e=k[d|0]|(k[d+1|0]<<8|k[d+2|0]<<16);d=d+3|0;break c}e=k[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=l[b+2>>1]+c|0;m:{n:{switch(k[b+1|0]-1|0){case 0:h[f|0]=e;break m;case 1:i[f>>1]=e;break m;default:break n}}j[f>>2]=e}b=b+4|0;continue}break}j[a+32>>2]=d;d=0}if(n){if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}return d}function gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(e,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;g=(p(b,g)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;f=A+((p(e,f)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;g=((p(e,g)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+f|0;f=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+g|0;g=b>>>0<255?b:255}j[l>>2]=c<<8|g<<16|f;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}g=(p(e,g)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;g=A+((p(e,g)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;f=((p(e,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+g|0;g=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+f|0;f=b>>>0<255?b:255}j[l>>2]=c<<8|f|g<<16;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function Ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=oe-1136|0;oe=c;a:{b:{c:{d:{if(!j[a+992>>2]){break d}d=j[a+396>>2];e=j[a+392>>2];f=j[a+404>>2];if(j[a+408>>2]){g=Vg()}else{g=0}e:{if(!(j[a+400>>2]|f&-5|(!d&(f|0)==4?0:(e|0)>=3))){d=0;if((f|0)!=4){break e}j[c+1072>>2]=12440;j[c+1076>>2]=(e|0)>1?e:1;d=2;break e}if(!qj(a,100479)){break c}j[c+1084>>2]=d;j[c+1080>>2]=12539;j[c+1076>>2]=e;j[c+1072>>2]=12440;if(f&-5){j[c+1092>>2]=f;j[c+1088>>2]=12541;d=6}else{d=4}e=j[a+400>>2];if(!e){break e}j[(c+1072|0)+(d<<2)>>2]=12540;d=d|1;j[(c+1072|0)+(d<<2)>>2]=e;d=d+1|0}i=c+1072|0;if(j[a+424>>2]){if(!qj(a,100604)){break b}e=(c+1072|0)+(d<<2)|0;j[e>>2]=12723;j[e+4>>2]=j[a+424>>2];d=d+2|0}j[(d<<2)+i>>2]=12344;qe[j[j[a+992>>2]+112>>2]]((f|0)==4?12448:12450)|0;d=j[a+992>>2];h=qe[j[d+64>>2]](j[d+8>>2],j[d+12>>2],g,c+1072|0)|0;d=j[a+992>>2];if(!h){a=101268;b=c;g=qe[j[d+116>>2]]()|0;d=g-12288|0;if(d>>>0<=14){a=j[(d<<2)+101272>>2]}if(!k[a|0]){j[c+16>>2]=g;Ue(c+48|0,32,100323,c+16|0);a=c+48|0}j[b+8>>2]=a;j[c+4>>2]=100393;j[c>>2]=100690;ve(100328,c);break d}j[d+16>>2]=0;if((Ek(a,b,h)|0)>-1){break a}Re(c+48|0,Jg(),1024);a=j[a+992>>2];if(a){qe[j[a+68>>2]](j[a+8>>2],h)|0}j[c+32>>2]=c+48;ve(100719,c+32|0)}h=0;break a}ve(100536,0);break a}ve(100636,0)}oe=c+1136|0;return h}function BA(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe;f=e;if(!(j[a>>2]==268305?a:0)){ve(73421,0);oe=f;return}a:{if(!b){ve(73859,0);break a}b:{if(j[a+192>>2]){break b}if(!(n[a+292>>2]==q(1)?n[a+288>>2]==q(1):0)){AA(a,b);break a}e=e-48|0;oe=e;while(1){d=c<<3;g=d+e|0;d=b+d|0;n[g>>2]=n[d>>2]*n[a+288>>2];n[g+4>>2]=n[d+4>>2]*n[a+292>>2];c=c+1|0;if((c|0)!=5){continue}break}c=-1;c:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break c}d:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=6;j[b+4>>2]=0;j[b+8>>2]=0;h[b+12|0]=k[a+324|0];h[b+13|0]=k[a+325|0];h[b+14|0]=k[a+326|0];h[b+15|0]=k[a+327|0];c=j[a+328>>2];j[b+20>>2]=0;j[b+16>>2]=c;c=qe[j[a+32>>2]](a,b,e,5)|0;if((c|0)>-1){break c}j[b>>2]=0}if((c|0)<0){break b}if(j[a+336>>2]){oe=f;return}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=f;return}oe=f}function yF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,m=0;a:{if((k[a+644|0]&48)!=48){g=k[c+84|0]|k[c+85|0]<<8|(k[c+86|0]<<16|k[c+87|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=65536;g=0;while(1){b:{h=g<<5;if(j[h+209692>>2]!=(m|0)){break b}e=k[c+88|0]|k[c+89|0]<<8|(k[c+90|0]<<16|k[c+91|0]<<24);if(j[h+209696>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+92|0]|k[c+93|0]<<8|(k[c+94|0]<<16|k[c+95|0]<<24);if(j[h+209700>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+96|0]|k[c+97|0]<<8|(k[c+98|0]<<16|k[c+99|0]<<24);if(j[h+209704>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}if(!f){f=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(j[h+209688>>2]!=(f|0)|l[h+209710>>1]!=(i|0)){break b}c:{if(d){e=d}else{e=vi(vi(0,0,0),c,f)}d=g<<5;if((e|0)!=j[d+209680>>2]){break c}if((Sf(Sf(0,0,0),c,f)|0)!=j[d+209684>>2]){break c}if(g-5>>>0<=1){Of(a,209904,2);break a}if(g-4>>>0>2){break a}Of(a,209933,0);break a}Of(a,209976,0);return}g=g+1|0;if((g|0)!=7){continue}break}}return}d=a;a=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);Zp(d,b,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}function Rv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;f=(p(d,f)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;f=((p(b,f)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=d+f|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(f,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;f=((p(b,f)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=f+g|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;e=((p(b,e)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;e=(p(e,d)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;e=((p(b,e)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=e+d|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Jk(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}j[a+120>>2]=1;qn(a);if(j[66371]==(a|0)){Do(0)}if(j[67024]==(a|0)){Pj(0)}if(!(!(k[a+48|0]&2)|j[j[67085]+696>>2]!=(a|0))){tg(a,0)}b=j[a+108>>2];if(b){j[b>>2]=j[b>>2]&-5;kf(b)}b=j[67085];c=j[b+144>>2];if(c){qe[c|0](b,a);b=j[67085]}c=j[b+132>>2];if(c){qe[c|0](b,a)}a:{if(!(k[a+48|0]&2)){break a}b=j[67085];if(!b){ve(99429,0);break a}c=j[b+432>>2];if((c|0)<1){break a}j[b+432>>2]=c-1;if((c|0)!=1){break a}c=j[b+176>>2];if(!c){break a}qe[c|0](b)}b:{if(!(k[a+51|0]&16)){break b}b=j[67085];if(!b){ve(99429,0);break b}c=j[b+720>>2];if((c|0)<1){break b}j[b+720>>2]=c-1;if((c|0)!=1){break b}c=j[b+216>>2];if(!c){break b}qe[c|0](b)}b=0;c=Ch(a);if((c|0)>=0){b=j[j[67085]+304>>2]+p(c,72)|0}if(j[b+60>>2]==(a|0)){j[b+60>>2]=0}j[a>>2]=0;b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}kf(j[a+12>>2]);b=j[a+100>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}while(1){b=j[a+140>>2];if(b){j[a+140>>2]=j[b+8>>2];c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=j[a+152>>2];if(b){j[b+148>>2]=j[a+148>>2]}c=j[a+148>>2];j[(c?c+152|0:j[67085]+308|0)>>2]=b;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(w){e=(p(e,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,u)>>>0)/255|0}if(v){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+g|0;h=((p(h,o)>>>0)/255|0)+e|0;d=((p(d,o)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;f=f+4|0;if(q){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}} +function xJ(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;i=-1;g=j[a+16>>2];a=k[g+6|0]|k[g+7|0]<<8|(k[g+8|0]<<16|k[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}l=g+13|0;while(1){b:{e=a+f>>>1|0;d=l+p(e,11)|0;h=d-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);d:{a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;l=h+(a<<2)|0;d=l-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+k[l|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+p(c,5)|0;d=e-3|0;d=k[d+1|0]<<8|k[d|0]<<16|k[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(k[e+1|0]|k[e|0]<<8){break a}}i=-1}return i|0}function yJ(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,i=0,l=0;a:{i=j[a+16>>2];a=k[i+6|0]|k[i+7|0]<<8|(k[i+8|0]<<16|k[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}l=i+13|0;while(1){c:{f=a+g>>>1|0;e=l+p(f,11)|0;h=e-3|0;h=k[h+1|0]<<8|k[h|0]<<16|k[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=k[e+4|0]|k[e+5|0]<<8|(k[e+6|0]<<16|k[e+7|0]<<24);e:{a=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;l=h+(a<<2)|0;e=l-3|0;e=k[e+1|0]<<8|k[e|0]<<16|k[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+k[l|0]>>>0>>0){continue}break}return qe[j[j[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+p(b,5)|0;f=d-3|0;f=k[f+1|0]<<8|k[f|0]<<16|k[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return k[d+1|0]|k[d|0]<<8}function Rz(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;var i=0,l=0,m=0,n=0,o=0,q=0,r=0;if((c|0)==(e|0)){a=j[a+20>>2]+p(j[a+16>>2]/k[j[a+4>>2]+9|0]|0,e)|0;a:{if((b|0)<=(d|0)){m=(g|0)!=0;c=a+b|0;a=d-b|0;break a}a=a+d|0;c=g?a:a+1|0;m=(g|0)!=0;a=b-d|0}Oe(c,f,a+m|0);return}b:{if((b|0)==(d|0)){d=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;a=j[a+20>>2];c:{if((c|0)<=(e|0)){e=e-c|0;b=(a+p(c,d)|0)+b|0;a=(g|0)!=0;break c}a=(a+p(d,e)|0)+b|0;b=g?a:a+d|0;e=c-e|0;a=(g|0)!=0}c=a+e|0;if(!c){break b}while(1){h[b|0]=f;b=b+d|0;c=c-1|0;if(c){continue}break}break b}n=b-d|0;l=n>>31;m=c-e|0;i=m>>31;if((l^l+n)==(i^i+m)){l=j[a+16>>2]/k[j[a+4>>2]+9|0]|0;i=j[a+20>>2];d:{if((c|0)<=(e|0)){m=e-c|0;a=l+((b|0)>(d|0)?-1:1)|0;b=(i+p(c,l)|0)+b|0;break d}c=(i+p(e,l)|0)+d|0;a=l+((b|0)<(d|0)?-1:1)|0;b=g?c:c+a|0}c=((g|0)!=0)+m|0;if(!c){break b}while(1){h[b|0]=f;b=a+b|0;c=c-1|0;if(c){continue}break}break b}m=d-b|0;l=m>>31;n=e-c|0;i=n>>31;l=l^l+m;i=i^i+n;e:{if((l|0)>=(i|0)){n=i-l|0;o=i<<1;m=o-l|0;i=1;break e}n=l-i|0;q=1;o=l<<1;m=o-i|0;l=i;i=0}g=((g|0)!=0)+l|0;if(!g){break b}e=(c|0)>(e|0);l=e?0-q|0:q;d=(b|0)>(d|0);i=d?0-i|0:i;q=e?-1:1;r=d?-1:1;n=n<<1;d=0;while(1){h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=f;e=(m|0)<0;m=(e?o:n)+m|0;b=(e?i:r)+b|0;c=(e?l:q)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function VF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=oe-272|0;oe=h;f=bf(1,1312);j[f+1296>>2]=b;j[f+1288>>2]=j[b+840>>2];i=b+836|0;a=j[b>>2];a:{b:{c:{if((a|0)<=0){a=2;j[f+1284>>2]=2;break c}d=b+4|0;e=b+128|0;while(1){k=j[e+(j[d+(c<<2)>>2]<<2)>>2]+k|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}a=k+2|0;j[f+1284>>2]=a;if((k|0)<=-2){eg(h,a,4,109);break a}d=1;if((a|0)<2){break b}}d=a}c=0;while(1){e=c<<2;j[e+h>>2]=e+i;c=c+1|0;if((d|0)!=(c|0)){continue}break}eg(h,a,4,109);d=(a|0)>1?a:1;e=f+260|0;c=0;while(1){g=c<<2;j[g+e>>2]=j[g+h>>2]-i>>2;c=c+1|0;if((d|0)!=(c|0)){continue}break}d=(a|0)>1?a:1;e=f+260|0;g=f+520|0;c=0;while(1){j[g+(j[e+(c<<2)>>2]<<2)>>2]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}a=(a|0)>1?a:1;d=f+260|0;c=0;while(1){e=c<<2;j[e+f>>2]=j[(j[d+e>>2]<<2)+i>>2];c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=j[b+832>>2]-1|0;if(a>>>0<=3){j[f+1292>>2]=j[(a<<2)+62e3>>2]}if((k|0)>=1){q=f+780|0;r=f+1032|0;e=0;g=2;while(1){m=e<<2;p=j[(m+i|0)+8>>2];n=j[f+1288>>2];b=1;c=0;o=0;a=0;while(1){d=j[(c<<2)+i>>2];l=(d|0)<(n|0)&(d|0)>(p|0);n=l?d:n;b=l?c:b;l=d;d=(d|0)<(p|0)&(d|0)>(o|0);o=d?l:o;a=d?c:a;c=c+1|0;if((g|0)!=(c|0)){continue}break}j[m+r>>2]=a;j[m+q>>2]=b;g=g+1|0;e=e+1|0;if((e|0)!=(k|0)){continue}break}}oe=h+272|0;return f|0}function tM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!(b?a:0)){j[e+8>>2]=40;break a}f=j[b+28>>2];c=Br(b);j[e+8>>2]=c;if(c){break a}c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+28>>2]=f;c=jj(f,8276,e+8|0);if(!j[e+8>>2]){j[c>>2]=b;j[c+4>>2]=a;d=j[a+28>>2];g=c+8264|0;j[c+8272>>2]=g;j[c+8>>2]=d;j[c+8268>>2]=g;j[c+8264>>2]=0;b:{d=Br(b);c:{if(d){break c}d=j[b+8>>2];j[c+48>>2]=679;j[c+44>>2]=680;j[c+68>>2]=d;d=j[b+28>>2];j[c+16>>2]=0;j[c+52>>2]=d;j[c+12>>2]=c+4168;d=3;if(xr(c+12|0,-15)){break c}if(j[c+12>>2]){break b}}j[e+8>>2]=d;if(c){qe[j[f+8>>2]](f,c)}break a}j[e+8>>2]=0;j[a+12>>2]=c}d=j[b+8>>2];d:{e:{if(Fe(b,j[b+4>>2]-4|0)){break e}g=sf(b,e+12|0);h=j[e+12>>2];Fe(b,d);b=h?0:g;if(b-1>>>0>40958){break e}d=He(f,b,e+8|0);if(!j[e+8>>2]){if((qm(c,0,d,b)|0)==(b|0)){break d}qm(c,0,0,0);if(d){qe[j[f+8>>2]](f,d)}}j[e+8>>2]=0}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=681;j[a+20>>2]=682;break a}pk(c+12|0);j[c+52>>2]=0;j[c+44>>2]=0;j[c+48>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;if(c){qe[j[f+8>>2]](f,c)}j[a+4>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+24>>2]=681;j[a+20>>2]=0;j[a>>2]=d}oe=e+16|0;return j[e+8>>2]}function vC(){var a=0,b=0,c=0,d=0;a=j[65559];j[65540]=j[65558];j[65541]=a;a=j[65563];j[65544]=j[65562];j[65545]=a;a=j[65561];j[65542]=j[65560];j[65543]=a;a:{if(!j[57817]){break a}a=j[57820];if(a){if(qe[a|0](262232)|0){break a}}j[57818]=1;b=j[57814];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break a}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}b:{if(!j[57796]){break b}a=j[57799];if(a){if(qe[a|0](262232)|0){break b}}j[57797]=1;b=j[57793];a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break b}j[65538]=a;c=j[65537];j[65537]=c+1;j[a+(c<<2)>>2]=b}c:{if(!j[57797]|j[57795]!=3?!(j[57818]?j[57816]==3:0):0){break c}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break c}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2454}d:{if(!j[57797]|j[57795]!=4?!(j[57818]?j[57816]==4:0):0){break d}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break d}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2458}e:{if(!j[57797]|j[57795]!=6?!(j[57818]?j[57816]==6:0):0){break e}a=mf(j[65538],(j[65537]<<2)+4|0);if(!a){break e}j[65538]=a;b=j[65537];j[65537]=b+1;j[a+(b<<2)>>2]=2463}j[57792]=128;Zg();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Hg();d=+l[131120]*1e3/+j[65558];f:{if(r(d)<2147483648){a=~~d;break f}a=-2147483648}j[65548]=a;return 0}function Mo(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=q(0),o=0,s=0,t=0,u=0,v=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;m=q(c|0);o=+q(m/q(b|0));l=0;a:{if((b|0)==(c|0)){break a}l=512;if((b|0)<=(c|0)){break a}k=w(+q(q(b<<9)/m));if(r(k)<2147483648){l=~~k;break a}l=-2147483648}G=l;u=a<<2;c=(i|0)/(u|0)|0;v=(g|0)/(u|0)|0;k=o*+(v|0);b:{if(r(k)<2147483648){g=~~k;break b}g=-2147483648}x=(c|0)>(g|0)?g:c;if((x|0)>=1){H=1/+m;y=+(b|0);C=j[66092];D=j[66091];while(1){k=z*y;c:{if(r(k)<2147483648){s=~~k;break c}s=-2147483648}E=s+1|0;k=+(E|0)/y;A=1-(k-z)/(k- +(s|0)/y);k=A*512;d:{if(r(k)<2147483648){t=~~k;break d}t=-2147483648}o=1-A;k=o*512;e:{if(r(k)<2147483648){i=~~k;break e}i=-2147483648}if((a|0)>=1){I=2560-i>>>9|0;J=2560-t>>>9|0;g=0;while(1){m=q(0);b=0;c=t;if((c|0)<2561){while(1){c=c<<2;k=A*+n[c+C>>2]+ +n[c+D>>2];c=s-b|0;m=q(m+q(k*+n[((c|0)<0?d:f)+(p(c+(c>>31&G)|0,a)+g<<2)>>2]));l=b+1|0;c=t+(l<<9)|0;B=(b|0)==(J|0);b=l;if(!B){continue}break}}b=0;c=i;if((c|0)<2561){while(1){c=c<<2;k=o*+n[c+C>>2]+ +n[c+D>>2];l=b+E|0;c=(l|0)<(v|0);m=q(m+q(k*+n[(c?f:e)+(p(l-(c?0:v)|0,a)+g<<2)>>2]));l=b+1|0;c=(l<<9)+i|0;B=(b|0)!=(I|0);b=l;if(B){continue}break}}n[h>>2]=m;h=h+4|0;g=g+1|0;if((g|0)!=(a|0)){continue}break}}z=H+z;F=F+1|0;if((F|0)!=(x|0)){continue}break}}return p(u,x)}function Gs(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;c=oe-208|0;oe=c;d=6;a:{if(!a){break a}f=j[a>>2];if(!f){break a}g=j[f+4>>2];if(!g){break a}i=j[f>>2];if(!i){break a}if((g|0)==111972){d=0;break a}if(!j[g+28>>2]){break a}Ee(c+48|4,0,152);j[c+40>>2]=0;j[c+44>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+24>>2]=0;j[c+28>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c+204>>2]=c+8;j[c+48>>2]=i;j[c+120>>2]=j[g+4>>2];e=He(j[i>>2],52,c);d=j[c>>2];if(d){break a}j[e+8>>2]=1651078259;j[e+4>>2]=111972;j[e>>2]=i;d=qe[j[g+28>>2]](f,c+48|0)|0;if(!d){d=EO(j[f>>2],c+48|0,b)}b:{if(d){break b}d=18;if(j[c+120>>2]!=1651078259){break b}d=j[e>>2];j[e+20>>2]=j[c+148>>2];j[e+24>>2]=j[c+152>>2];b=e+28|0;c:{if(h[j[c+204>>2]+4|0]&1){d=j[c+128>>2];j[b>>2]=j[c+124>>2];j[b+4>>2]=d;d=j[c+144>>2];j[b+16>>2]=j[c+140>>2];j[b+20>>2]=d;d=j[c+136>>2];j[b+8>>2]=j[c+132>>2];j[b+12>>2]=d;b=j[c+204>>2];j[b+4>>2]=j[b+4>>2]&-2;break c}if(b){j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}d=zk(d,c+124|0,b);if(d){break b}}b=j[f+16>>2];j[e+12>>2]=j[f+12>>2];j[e+16>>2]=b;b=j[j[f>>2]>>2];d=j[j[f+4>>2]+12>>2];if(d){qe[d|0](f)}if(f){qe[j[b+8>>2]](b,f)}j[a>>2]=e;d=0;break a}a=j[j[e>>2]>>2];b=j[j[e+4>>2]+12>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}}oe=c+208|0;return d}function $e(a,b,c){var d=0,e=0,f=0,g=0,n=0;if(!b){return 6}if(!a){return 40}d=j[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=k[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=_e(a,l[b+2>>1]);if(d){break a}d=j[a+32>>2];n=1;b=b+4|0;continue}f=k[b+1|0];e=f+d|0;if(e>>>0>m[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ae(l[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=k[d+1|0]|k[d|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8;f=16;d=d+2|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=k[d+2|0]|(k[d+1|0]<<8|k[d|0]<<16);d=d+3|0;break c}f=8;e=k[d|0]|(k[d+1|0]<<8|k[d+2|0]<<16);d=d+3|0;break c}e=k[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=l[b+2>>1]+c|0;m:{n:{switch(k[b+1|0]-1|0){case 0:h[f|0]=e;break m;case 1:i[f>>1]=e;break m;default:break n}}j[f>>2]=e}b=b+4|0;continue}break}j[a+32>>2]=d;d=0}if(n){if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}return d}function gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(e,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;g=(p(b,g)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;f=A+((p(e,f)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;g=((p(e,g)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+f|0;f=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+g|0;g=b>>>0<255?b:255}j[l>>2]=c<<8|g<<16|f;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;i=j[a+20>>2];l=i;m=j[a>>2];h=m;while(1){z=a;o=j[a+24>>2];if(o){while(1){f=j[l>>2];c=j[h>>2];b=c&255;d=c>>>8&255;e=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;e=(p(e,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}c=c>>>24|0;n=v?(p(c,q)>>>0)/255|0:c;c=f>>>8|0;g=f>>>16|0;if(!(!u|n>>>0>254)){e=(p(e,n)>>>0)/255|0;d=(p(d,n)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}o=o-1|0;f=f&255;c=c&255;g=g&255;a:{b:{switch(x|0){default:if(!y){break a}g=(p(e,g)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=e;e=255-n|0;g=A+((p(e,g)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+d|0;f=((p(e,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}e=e+g|0;g=e>>>0<255?e:255;d=c+d|0;c=d>>>0<255?d:255;b=b+f|0;f=b>>>0<255?b:255}j[l>>2]=c<<8|f|g<<16;l=l+4|0;h=h+4|0;if(o){continue}break}h=j[a+28>>2]}else{h=d}b=h;d=b-1|0;j[z+28>>2]=d;i=j[a+32>>2]+i|0;l=i;m=j[a+12>>2]+m|0;h=m;if(b){continue}break}j[a+20>>2]=i;j[a>>2]=m}}function Ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=oe-1136|0;oe=c;a:{b:{c:{d:{if(!j[a+992>>2]){break d}d=j[a+396>>2];e=j[a+392>>2];f=j[a+404>>2];if(j[a+408>>2]){g=Vg()}else{g=0}e:{if(!(j[a+400>>2]|f&-5|(!d&(f|0)==4?0:(e|0)>=3))){d=0;if((f|0)!=4){break e}j[c+1072>>2]=12440;j[c+1076>>2]=(e|0)>1?e:1;d=2;break e}if(!qj(a,100479)){break c}j[c+1084>>2]=d;j[c+1080>>2]=12539;j[c+1076>>2]=e;j[c+1072>>2]=12440;if(f&-5){j[c+1092>>2]=f;j[c+1088>>2]=12541;d=6}else{d=4}e=j[a+400>>2];if(!e){break e}j[(c+1072|0)+(d<<2)>>2]=12540;d=d|1;j[(c+1072|0)+(d<<2)>>2]=e;d=d+1|0}i=c+1072|0;if(j[a+424>>2]){if(!qj(a,100604)){break b}e=(c+1072|0)+(d<<2)|0;j[e>>2]=12723;j[e+4>>2]=j[a+424>>2];d=d+2|0}j[(d<<2)+i>>2]=12344;qe[j[j[a+992>>2]+112>>2]]((f|0)==4?12448:12450)|0;d=j[a+992>>2];h=qe[j[d+64>>2]](j[d+8>>2],j[d+12>>2],g,c+1072|0)|0;d=j[a+992>>2];if(!h){a=101268;b=c;g=qe[j[d+116>>2]]()|0;d=g-12288|0;if(d>>>0<=14){a=j[(d<<2)+101272>>2]}if(!k[a|0]){j[c+16>>2]=g;Ue(c+48|0,32,100323,c+16|0);a=c+48|0}j[b+8>>2]=a;j[c+4>>2]=100393;j[c>>2]=100690;ve(100328,c);break d}j[d+16>>2]=0;if((Fk(a,b,h)|0)>-1){break a}Re(c+48|0,Jg(),1024);a=j[a+992>>2];if(a){qe[j[a+68>>2]](j[a+8>>2],h)|0}j[c+32>>2]=c+48;ve(100719,c+32|0)}h=0;break a}ve(100536,0);break a}ve(100636,0)}oe=c+1136|0;return h}function BA(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe;f=e;if(!(j[a>>2]==268305?a:0)){ve(73421,0);oe=f;return}a:{if(!b){ve(73859,0);break a}b:{if(j[a+192>>2]){break b}if(!(n[a+292>>2]==q(1)?n[a+288>>2]==q(1):0)){AA(a,b);break a}e=e-48|0;oe=e;while(1){d=c<<3;g=d+e|0;d=b+d|0;n[g>>2]=n[d>>2]*n[a+288>>2];n[g+4>>2]=n[d+4>>2]*n[a+292>>2];c=c+1|0;if((c|0)!=5){continue}break}c=-1;c:{if(Kj(a,k[a+324|0],k[a+325|0],k[a+326|0],k[a+327|0])){break c}d:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break d}b=Xe(1,28);if(b){break d}Be(0);break c}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){break c}j[b>>2]=6;j[b+4>>2]=0;j[b+8>>2]=0;h[b+12|0]=k[a+324|0];h[b+13|0]=k[a+325|0];h[b+14|0]=k[a+326|0];h[b+15|0]=k[a+327|0];c=j[a+328>>2];j[b+20>>2]=0;j[b+16>>2]=c;c=qe[j[a+32>>2]](a,b,e,5)|0;if((c|0)>-1){break c}j[b>>2]=0}if((c|0)<0){break b}if(j[a+336>>2]){oe=f;return}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}oe=f;return}oe=f}function yF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,m=0;a:{if((k[a+644|0]&48)!=48){g=k[c+84|0]|k[c+85|0]<<8|(k[c+86|0]<<16|k[c+87|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=65536;g=0;while(1){b:{h=g<<5;if(j[h+209692>>2]!=(m|0)){break b}e=k[c+88|0]|k[c+89|0]<<8|(k[c+90|0]<<16|k[c+91|0]<<24);if(j[h+209696>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+92|0]|k[c+93|0]<<8|(k[c+94|0]<<16|k[c+95|0]<<24);if(j[h+209700>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}e=k[c+96|0]|k[c+97|0]<<8|(k[c+98|0]<<16|k[c+99|0]<<24);if(j[h+209704>>2]!=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break b}if(!f){f=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(j[h+209688>>2]!=(f|0)|l[h+209710>>1]!=(i|0)){break b}c:{if(d){e=d}else{e=vi(vi(0,0,0),c,f)}d=g<<5;if((e|0)!=j[d+209680>>2]){break c}if((Sf(Sf(0,0,0),c,f)|0)!=j[d+209684>>2]){break c}if(g-5>>>0<=1){Of(a,209904,2);break a}if(g-4>>>0>2){break a}Of(a,209933,0);break a}Of(a,209976,0);return}g=g+1|0;if((g|0)!=7){continue}break}}return}d=a;a=k[c+64|0]|k[c+65|0]<<8|(k[c+66|0]<<16|k[c+67|0]<<24);Zp(d,b,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}function Rv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;f=(p(d,f)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;f=((p(b,f)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=d+f|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(b,e)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;f=(p(f,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;e=A+((p(b,e)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;f=((p(b,f)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+e|0;e=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=f+g|0;f=b>>>0<255?b:255}j[i>>2]=c<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c&255;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c>>>24|0;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){d=(p(d,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,d)>>>0)/255|0;e=(p(e,g)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+d|0;e=((p(b,e)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+d|0;c=b>>>0<255?b:255;b=e+g|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];d=b-1|0;j[a+28>>2]=d;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];c=j[n>>2];b=c>>>24|0;d=c>>>8&255;g=c>>>16&255;if(w){d=(p(d,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}c=c&255;m=v?(p(c,q)>>>0)/255|0:c;c=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){g=(p(g,m)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;c=c&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(b,f)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;e=(p(e,d)>>>0)/255|0;break a;case 0:A=b;b=255-m|0;f=A+((p(b,f)>>>0)/255|0)|0;c=((p(b,c)>>>0)/255|0)+g|0;e=((p(b,e)>>>0)/255|0)+d|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+f|0;f=b>>>0<255?b:255;b=c+g|0;c=b>>>0<255?b:255;b=e+d|0;e=b>>>0<255?b:255}j[i>>2]=c<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}b=j[a+28>>2]}else{b=d}d=b-1|0;j[z+28>>2]=d;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function Kk(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}j[a+120>>2]=1;qn(a);if(j[66371]==(a|0)){Do(0)}if(j[67024]==(a|0)){Qj(0)}if(!(!(k[a+48|0]&2)|j[j[67085]+696>>2]!=(a|0))){tg(a,0)}b=j[a+108>>2];if(b){j[b>>2]=j[b>>2]&-5;kf(b)}b=j[67085];c=j[b+144>>2];if(c){qe[c|0](b,a);b=j[67085]}c=j[b+132>>2];if(c){qe[c|0](b,a)}a:{if(!(k[a+48|0]&2)){break a}b=j[67085];if(!b){ve(99429,0);break a}c=j[b+432>>2];if((c|0)<1){break a}j[b+432>>2]=c-1;if((c|0)!=1){break a}c=j[b+176>>2];if(!c){break a}qe[c|0](b)}b:{if(!(k[a+51|0]&16)){break b}b=j[67085];if(!b){ve(99429,0);break b}c=j[b+720>>2];if((c|0)<1){break b}j[b+720>>2]=c-1;if((c|0)!=1){break b}c=j[b+216>>2];if(!c){break b}qe[c|0](b)}b=0;c=Ch(a);if((c|0)>=0){b=j[j[67085]+304>>2]+p(c,72)|0}if(j[b+60>>2]==(a|0)){j[b+60>>2]=0}j[a>>2]=0;b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}kf(j[a+12>>2]);b=j[a+100>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}while(1){b=j[a+140>>2];if(b){j[a+140>>2]=j[b+8>>2];c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=j[a+152>>2];if(b){j[b+148>>2]=j[a+148>>2]}c=j[a+148>>2];j[(c?c+152|0:j[67085]+308|0)>>2]=b;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(w){e=(p(e,t)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,u)>>>0)/255|0}if(v){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+g|0;h=((p(h,o)>>>0)/255|0)+e|0;d=((p(d,o)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;f=f+4|0;if(q){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}} -function zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(c,e)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;e=A+((p(c,e)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;f=((p(c,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;e=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+f|0;f=b>>>0<255?b:255}j[i>>2]=d<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(c,f)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(b,e)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;f=A+((p(c,f)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;e=((p(c,e)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;f=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+e|0;e=b>>>0<255?b:255}j[i>>2]=d<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function IF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-1072|0;oe=e;h=Te(40);j[h>>2]=0;Ee(e+168|0,0,900);j[e+924>>2]=1e3;j[e+928>>2]=8e6;j[e+916>>2]=1e6;j[e+920>>2]=1e6;j[67126]=0;f=e+168|0;if(f){j[f+724>>2]=0;j[f+720>>2]=0;j[f+716>>2]=0}f=j[67126];j[67126]=0;g=-1;i=4;a:{if(!f){break a}k=j[67127];if(!k){break a}g=ef(j[f>>2],h,4);if(!g){F(f|0,k|0);z()}D(k|0)}b:{f=C()|0;c:{if((g|0)==1){break c}j[67126]=0;f=e+168|0;if(f){j[f+172>>2]=d;j[f+168>>2]=c;j[f+176>>2]=b}b=j[67126];j[67126]=0;g=-1;d:{if(!b){break d}c=j[67127];if(!c){break d}g=ef(j[b>>2],h,4);if(!g){break b}D(c|0)}f=C()|0;if((g|0)==1){break c}h=mi(e,1,h,4);i=C()|0;f=0}b=f;e:{while(1){if(b){d=0;break e}j[e+332>>2]=0;j[e+324>>2]=37;j[67126]=0;j[e+328>>2]=e;d=L(1051,e+168|0,a|0)|0;b=j[67126];j[67126]=0;g=-1;f:{if(!b){break f}c=j[67127];if(!c){break f}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}if(!d){d=0;break e}j[67126]=0;d=L(1052,e+168|0,900)|0;b=j[67126];j[67126]=0;g=-1;g:{if(!b){break g}c=j[67127];if(!c){break g}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}break}if(!d){d=0;break e}j[e+432>>2]=d;j[e+428>>2]=1053;j[e+424>>2]=1054;j[e+332>>2]=0;j[e+324>>2]=0;j[e+328>>2]=0;Ae(d,e+168|0,900)}ze(h);oe=e+1072|0;return d}F(b|0,c|0);z()}function hx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(w){f=(p(f,t)>>>0)/255|0;g=(p(g,u)>>>0)/255|0;b=(p(b,s)>>>0)/255|0}if(v){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+b|0;h=((p(h,o)>>>0)/255|0)+f|0;d=((p(d,o)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;e=e+4|0;if(q){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function xm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;h=oe-16|0;oe=h;n=j[c+12>>2];i=k[a|0];if(i){g=i;e=a;while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}a:{b:{l=j[c+4>>2];e=n+((f>>>0)%(l>>>0)<<2)|0;g=j[e>>2];if(g){f=(n+(l<<2)|0)-4|0;while(1){l=j[g>>2];if((i|0)==k[l|0]){if(!we(l,a)){break b}}e=e-4|0;e=e>>>0>>0?f:e;g=j[e>>2];if(g){continue}break}}j[h+8>>2]=0;i=He(d,8,h+8|0);f=j[h+8>>2];if(f){break a}j[e>>2]=i;j[i+4>>2]=b;j[i>>2]=a;b=c;a=j[c+8>>2];if(a>>>0>=m[c>>2]){l=j[c+12>>2];o=j[c+4>>2];j[h+12>>2]=0;a=o<<1;j[c>>2]=(a>>>0)/3;j[c+4>>2]=a;t=c,u=xe(d,4,0,a,0,h+12|0),j[t+12>>2]=u;f=j[h+12>>2];if(f){j[h+8>>2]=f;break a}if(o){a=l;while(1){q=j[a>>2];if(q){r=j[c+12>>2];f=0;i=j[q>>2];n=k[i|0];g=n;e=i;if(g){while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}e=f;f=j[c+4>>2];g=((e>>>0)%(f>>>0)<<2)+r|0;e=j[g>>2];c:{if(!e){break c}f=((f<<2)+r|0)-4|0;while(1){e=j[e>>2];if((n|0)==k[e|0]){if(!we(e,i)){break c}}e=g-4|0;g=e>>>0>>0?f:e;e=j[g>>2];if(e){continue}break}}j[g>>2]=q}a=a+4|0;s=s+1|0;if((s|0)!=(o|0)){continue}break}}if(l){qe[j[d+8>>2]](d,l)}f=j[h+12>>2];j[h+8>>2]=f;if(f){break a}a=j[c+8>>2]}j[b+8>>2]=a+1;f=0;break a}f=0;j[h+8>>2]=0;j[g+4>>2]=b}oe=h+16|0;return f}function sm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0;i=oe-32|0;oe=i;g=j[b+392>>2];l=b+8|0;m=g-l|0;o=m&8;if(!(k[e|0]|!o)){a:{if(!m){n=j[b+4>>2];if(!n|j[n>>2]){break a}j[n>>2]=130;break a}b:{switch(j[b+12>>2]-1|0){case 1:f=j[l>>2]<<16;break a;case 0:f=j[l>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break a}f=f- -8192>>14;break a;default:break b}}f=j[l>>2]}j[d>>2]=(j[j[j[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!k[j[a+132>>2]+561|0]){c:{a=(o|0)!=0;m=m>>3;if(a>>>0>=m>>>0){break c}f=0;while(1){n=g-l>>3;d:{if(n>>>0<=a>>>0){d=0;g=j[b+4>>2];if(!g|j[g>>2]){break d}j[g>>2]=130;break d}e:{f:{g:{d=(a<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break f;case 1:break g;default:break e}}d=j[d+8>>2]<<16;break d}d=j[d+8>>2];if((d|0)<=-1){d=0-(8192-d>>14)|0;break d}d=d- -8192>>14;break d}d=j[d+8>>2]}f=d+f|0;j[i+12>>2]=f;d=a+1|0;h:{if(d>>>0>=n>>>0){g=0;d=j[b+4>>2];if(!d|j[d>>2]){break h}j[d>>2]=130;break h}i:{j:{k:{d=(d<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=j[d+8>>2]<<16;break h}d=j[d+8>>2];if((d|0)<=-1){g=0-(8192-d>>14)|0;break h}g=d- -8192>>14;break h}g=j[d+8>>2]}j[i+20>>2]=0;j[i+24>>2]=0;h[i+8|0]=0;f=f+g|0;j[i+16>>2]=f;Fr(c,i+8|0);a=a+2|0;if(m>>>0<=a>>>0){break c}g=j[b+392>>2];continue}}j[b+392>>2]=l}h[e|0]=1;oe=i+32|0}function Ll(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;a:{if(!(!b|(!c|!a))){d=j[b+128>>2];if((j[b+132>>2]-d|0)<1){b:{if((2147483647-d|0)>=1){f=d+1|0;f=(f|0)<2147483639?f+8&-8:2147483647;d=Gl(a,j[b+136>>2],d,f-d|0,28);if(d){break b}}Of(a,207360,1);return 1}Ke(a,j[b+136>>2]);j[b+136>>2]=d;j[b+132>>2]=f;j[b+232>>2]=j[b+232>>2]|16384}while(1){l=p(o,28)+c|0;d=j[l+4>>2];c:{if(!d){break c}i=j[l>>2];if(i+1>>>0>=4){Of(a,207381,1);break c}e=p(j[b+128>>2],28);g=j[b+136>>2];f=Le(d);q=(i|0)<1;d:{if(q){m=0;d=0;break d}d=0;m=0;n=j[l+20>>2];if(n){m=Le(n)}n=j[l+24>>2];if(!n){break d}d=Le(n)}e=e+g|0;g=j[l+8>>2];e:{if(!(k[g|0]?g:0)){if(!q){j[e>>2]=1;g=0;break e}j[e>>2]=-1;g=0;break e}g=Le(g);j[e>>2]=i}i=ag(a,(((f+m|0)+d|0)+g|0)+4|0);j[e+4>>2]=i;if(!i){break a}Ae(i,j[l+4>>2],f);i=e+4|0;h[f+j[i>>2]|0]=0;f:{if(j[l>>2]>=1){f=(f+j[e+4>>2]|0)+1|0;j[e+20>>2]=f;Ae(f,j[l+20>>2],m);h[j[e+20>>2]+m|0]=0;f=(j[e+20>>2]+m|0)+1|0;j[e+24>>2]=f;Ae(f,j[l+24>>2],d);h[j[e+24>>2]+d|0]=0;i=e+24|0;break f}j[e+20>>2]=0;j[e+24>>2]=0;d=f}d=(j[i>>2]+d|0)+1|0;j[e+8>>2]=d;if(g){Ae(d,j[l+8>>2],g);d=j[e+8>>2]}h[d+g|0]=0;d=j[e>>2]>0;j[e+16>>2]=d?g:0;j[e+12>>2]=d?0:g;j[b+128>>2]=j[b+128>>2]+1}o=o+1|0;if((o|0)!=1){continue}break}}return 0}Of(a,207419,1);return 1}function OM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+24>>>0){g=j[a+412>>2];c=j[a+20>>2];d=j[a+16>>2];f=k[d|0];a:{b:{if((f|0)==30){b=Jf(d,c,0,0)>>16;break b}c:{switch(f-28|0){case 0:if(d+3>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break b;case 1:if(d+5>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break c}}b=f-139|0;if(f>>>0<=246){break b}b=d+2|0;if(f>>>0<=250){if(c>>>0>>0){break a}b=(k[d+1|0]|f<<8)-63124|0;break b}if(c>>>0>>0){break a}b=64148-(k[d+1|0]|f<<8)|0}e=b;if((e|0)<0){return 3}c=j[a+20>>2]}j[g+120>>2]=e;e=j[a+24>>2];d:{b=k[c|0];e:{if((b|0)==30){a=Jf(c,e,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}d=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>e>>>0){break d}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>e>>>0){break d}a=64148-(k[c+1|0]|b<<8)|0}if((a|0)>=0){break d}return 3}j[g+116>>2]=a;a=0}else{a=161}return a|0}function jC(){var a=0,b=0,c=0,d=0;d=oe-16|0;oe=d;a:{b:{c:{if(!j[57818]){break c}a=j[57822];if(!a){break c}c=231256;b=qe[a|0](1222)|0;if(b){break b}}d:{if(!j[57797]){break d}a=j[57801];if(!a){break d}c=231172;b=qe[a|0](1222)|0;if(b){break b}}c=hi(1222,2500);if(c){b=0;a=zl(1222,46);e:{if(!a){break e}a=a+1|0;if(!Me(a,2522)){b=2;break e}b=4;if(!Me(a,2526)){break e}if(!Me(a,2458)){break e}if(!Me(a,2530)){break e}if(!Me(a,2534)){b=5;break e}if(!Me(a,2538)){b=8;break e}b=6;if(!Me(a,2543)){break e}if(!Me(a,2547)){break e}if(!Me(a,2463)){break e}if(!Me(a,2552)){break e}f:{if(!Me(a,2556)){break f}if(!Me(a,2560)){break f}if(!Me(a,2564)){break f}if(!Me(a,2568)){break f}if(!Me(a,2572)){break f}if(!Me(a,2576)){break f}if(!Me(a,2580)){break f}if(!Me(a,2583)){break f}if(!Me(a,2587)){break f}if(!Me(a,2454)){break f}if(!Me(a,2591)){break f}if(!Me(a,2595)){break f}if(!Me(a,2599)){break f}if(!Me(a,2603)){break f}if(!Me(a,2607)){break f}if(!Me(a,2611)){break f}if(!Me(a,2615)){break f}if(!Me(a,2619)){break f}if(!Me(a,2623)){break f}if(!Me(a,2627)){break f}b=0;if(Me(a,2631)){break e}}b=3}a=_B(c,b);break a}j[d>>2]=1222;ve(2503,d);a=0;break a}a=Xe(1,24);if(!a){a=0;ve(2486,0);break a}j[a+4>>2]=b;j[a>>2]=c}oe=d+16|0;return a}function Kj(a,b,c,d,e){var f=0,g=0,i=0;a:{g=c<<8|b<<16|d|e<<24;b:{if(!((g|0)==j[a+356>>2]?j[a+396>>2]:0)){c:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break c}f=Xe(1,28);if(f){break c}break a}i=j[a+344>>2];j[(i?i+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=3;j[f+4>>2]=0;h[f+11|0]=e;h[f+10|0]=d;h[f+9|0]=c;h[f+8|0]=b;e=qe[j[a+24>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}j[a+396>>2]=1;j[a+356>>2]=g;if(e){break b}}d:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break d}}e:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break e}f=Xe(1,28);if(f){break e}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=1;j[f+4>>2]=0;b=a+216|0;Ge(f+8|0,b,16);e=qe[j[a+20>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}Ge(a+360|0,b,16);j[a+400>>2]=1;if(e){break b}}f:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break f}}g:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break g}f=Xe(1,28);if(f){break g}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=2;j[f+4>>2]=j[a+280>>2];b=a+248|0;Ge(f+8|0,b,16);Ge(a+376|0,b,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}e=0}return e}Be(0);return-1}function yr(a,b,c,d,e){var f=0,g=0,h=0,i=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,x=0,y=0,z=0,A=0;f=oe;u=f;k=j[b>>2];g=j[k+4>>2];h=j[a+36>>2]>>1;g=((g|0)<(h|0)?g:h)-j[k>>2]|0;a:{if((g|0)<1){break a}m=j[j[b+16>>2]>>2];q=j[k+8>>2];g=(g|0)/(q|0)|0;n=f-((d<<2)+15&-16)|0;oe=n;if((d|0)>=1){h=((g+m|0)-1|0)/(m|0)<<2;f=0;while(1){z=(f<<2)+n|0,A=Ef(a,h),j[z>>2]=A;f=f+1|0;if((f|0)!=(d|0)){continue}break}}f=j[b+8>>2];if((f|0)<1){break a}r=a+4|0;h=0;v=(g|0)<1;while(1){if(!v){a=0;s=(d|0)<1;w=s|(h|0)!=0;x=1<>2],r);if((i|0)==-1|(i|0)>=j[k+16>>2]){break a}i=j[j[b+28>>2]+(i<<2)>>2];j[j[(f<<2)+n>>2]+(o<<2)>>2]=i;if(!i){break a}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((m|0)<1){break b}i=0;if((a|0)>=(g|0)){break b}while(1){if(!s){y=p(a,q);f=0;while(1){t=f<<2;l=j[j[j[t+n>>2]+(o<<2)>>2]+(i<<2)>>2]<<2;c:{if(!(j[(l+k|0)+24>>2]&x)){break c}l=j[j[l+j[b+20>>2]>>2]+(h<<2)>>2];if(!l){break c}if((qe[e|0](l,j[c+t>>2]+(j[k>>2]+y<<2)|0,r,q)|0)==-1){break a}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+1|0;i=i+1|0;if((m|0)<=(i|0)){break b}if((a|0)<(g|0)){continue}break}}o=o+1|0;if((a|0)<(g|0)){continue}break}f=j[b+8>>2]}h=h+1|0;if((h|0)<(f|0)){continue}break}}oe=u}function pr(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,n=0,o=0,q=0,r=0,t=0;j[d>>2]=0;j[d+4>>2]=0;g=b?b-1|0:0;b=j[a+408>>2];a:{if(g>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=j[a+424>>2];if(!b){break a}f=c<<4;c=j[a+416>>2];g=l[f+c>>1]|j[c+(g<<4)>>2]<<16;o=j[a+104>>2];while(1){if(!(g>>>0<=m[b+20>>2]?g>>>0>=m[b+16>>2]:0)){b=j[b>>2];if(b){continue}break a}break}e=Fe(o,j[b+12>>2]);if(e){break a}e=_e(o,p(j[b+8>>2],k[b+4|0]));if(e){break a}a=k[b+5|0];t=a&2;r=a&1;q=j[b+8>>2];e=j[o+32>>2];a=k[b+4|0];c=-2147483648>>>s(a)|0;a=a-c|0;b:{c:{d:{if(!a){break d}a=p(a,q)+e|0;e:{if(r){h=k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8;n=a+3|0;a=a+4|0;break e}n=a+1|0;h=k[a|0]<<16;a=a+2|0}f=k[n|0]|h;if((f|0)==(g|0)){break c}if(g>>>0<=f>>>0){break d}e=(t?2:1)+a|0}f=p(c,q);if(q>>>0>>0){while(1){f=f>>>1|0;c=f+e|0;f:{if(r){h=k[c+1|0]<<16|k[c|0]<<24|k[c+2|0]<<8;n=c+3|0;a=c+4|0;break f}n=c+1|0;h=k[c|0]<<16;a=c+2|0}h=k[n|0]|h;if((h|0)==(g|0)){break c}e=g>>>0>h>>>0?c:e;if(f>>>0>q>>>0){continue}break}}g:{if(r){f=3;c=k[e+1|0]<<16|k[e|0]<<24|k[e+2|0]<<8;a=e+4|0;break g}f=1;c=k[e|0]<<16;a=e+2|0}if((g|0)!=(c|k[e+f|0])){break b}}c=k[a|0];if(t){c=(k[a+1|0]|c<<8)<<16>>16}j[d>>2]=i[b+6>>1]+c}Ve(o);e=0}return e|0}function ky(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;b=j[a+36>>2]/2|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];m=f&7;n=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];o=b<<1;b:while(1){f=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}b=g-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+o|0;g=b;if(b){continue b}break a}b=0;continue}}}}function iy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;b=j[a+36>>2]/4|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];i=f&7;l=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<2;b:while(1){f=l;c:{d:{switch(i-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}b=g-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+m|0;g=b;if(b){continue b}break a}b=0;continue}}}}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;d=((p(d,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(b,d)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;c=((p(c,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+d|0;d=b>>>0<255?b:255;b=f+h|0;h=b>>>0<255?b:255;c=c+g|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function cx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;g=(p(g,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+g|0;h=((p(h,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function _w(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[g>>2];b=c&255;e=c>>>8&255;f=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;f=(p(f,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(d,f)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;c=(p(b,c)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+f|0;h=((p(h,q)>>>0)/255|0)+e|0;c=((p(c,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}f=d+f|0;d=f>>>0<255?f:255;e=e+h|0;h=e>>>0<255?e:255;c=b+c|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function fq(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;m=oe+ -64|0;oe=m;q=6;e=j[a+528>>2];a:{if(!e){break a}d=j[e+4>>2];b:{if(!d){d=0;break b}t=b>>>0>d>>>0?d:b;while(1){b=p(f,12)+e|0;o=b;i=j[b+96>>2];n=j[b+92>>2];c:{if(f>>>0>>0){b=k[o+88|0];h=j[(f<<2)+c>>2];break c}b=k[o+88|0];h=(j[((b<<2)+n|0)-4>>2]-j[n>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;g=-1;g:{while(1){l=b<<2;r=l+n|0;s=j[r>>2];if((h|0)==(s|0)){break e}if((h|0)<(s|0)){break g}g=b;b=b+1|0;l=k[o+88|0];if(b>>>0>>0){continue}break}b=j[(i+(l<<2)|0)-4>>2];break d}if((g|0)>-1){break f}}b=j[i>>2];break d}b=g<<2;g=j[b+n>>2];b=Ne(h-g|0,j[i+l>>2]-j[b+i>>2]|0,j[r>>2]-g|0);d=j[e+4>>2];break d}b=j[i+l>>2]}j[(f<<2)+m>>2]=b;f=f+1|0;if(f>>>0>>0){continue}break}e=j[a+528>>2];if(!e){break a}}q=0;f=j[e>>2];if(!f){break a}c=j[e+4>>2];i=c>>>0>>0?c:d;d=0;while(1){g=65536;b=0;h=0;a=65536;if(c){while(1){a=32768;h:{i:{if(b>>>0>=i>>>0){break i}a=j[(b<<2)+m>>2];if((a|0)<1){a=0;break i}c=65536;if((a|0)>65535){break h}}c=a}g=ye(g,d>>>b&1?c:65536-c|0);b=b+1|0;h=j[e+4>>2];if(b>>>0>>0){continue}break}f=j[e>>2];a=g}j[j[e+136>>2]+(d<<2)>>2]=a;c=h;d=d+1|0;if(f>>>0>d>>>0){continue}break}}oe=m- -64|0;return q|0}function mH(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+100>>2];b=j[a+544>>2];if(b){if(b){qe[j[c+8>>2]](c,b)}j[a+540>>2]=0;j[a+544>>2]=0}Ql(a);j[a+528>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+408>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+408>>2]=0;b=j[a+412>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+412>>2]=0;b=j[a+392>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+392>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){d=j[b+36>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+36>>2]=0;j[b+40>>2]=0;d=j[b+28>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+28>>2]=0;j[b+32>>2]=0;if(b){qe[j[c+8>>2]](c,b)}}j[a+20>>2]=0;j[a+24>>2]=0}}function RN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(!a|!b){break a}f=j[a+4>>2];c=j[a>>2];if(!(f|c)){break a}d=f>>31;e=c>>31;l=d+f^d|e+c^e;i=s(l);k=i-2|0;b:{if(l>>>0<=1073741823){d=f<>f;c=c>>f}c:{if((b|0)>=-2949120){e=b;f=c;break c}while(1){f=d;d=0-c|0;g=(b|0)<-8847360;c=f;e=b+5898240|0;b=e;if(g){continue}break}}d:{if((e|0)<=2949120){b=d;c=e;break d}while(1){b=f;f=0-d|0;g=(e|0)>8847360;d=b;c=e-5898240|0;e=c;if(g){continue}break}}g=116640;e=1;d=1;while(1){h=b+e>>d;e:{if((c|0)<=-1){c=j[g>>2]+c|0;b=b-(e+f>>d)|0;f=f+h|0;break e}c=c-j[g>>2]|0;b=(e+f>>d)+b|0;f=f-h|0}e=e<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}c=b>>31;d=c+b^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;b=(b|0)<0?0-c|0:c;c=f>>31;d=c+f^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;f=(f|0)<0?0-c|0:c;if(l>>>0<=536870911){c=1<>2]=(c+b|0)+(b>>31)>>k;j[a>>2]=(c+f|0)+(f>>31)>>k;return}c=b;b=2-i|0;j[a+4>>2]=c<>2]=f<>2]=b;b=j[e+28>>2];h[a+8|0]=b;h[a+9|0]=(b+7|0)/8;b=j[e+24>>2];h[a+32|0]=0;j[a+12>>2]=b;h[a+28|0]=8;b:{if(!b){break b}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+32|0]=c;if(!(d&2)){break b}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+28|0]=c}b=j[e+20>>2];c=0;h[a+33|0]=0;j[a+16>>2]=b;h[a+29|0]=8;c:{if(!b){break c}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+33|0]=c;if(!(d&2)){break c}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+29|0]=c}b=j[e+16>>2];c=0;h[a+34|0]=0;j[a+20>>2]=b;h[a+30|0]=8;d:{if(!b){break d}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+34|0]=c;if(!(d&2)){break d}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+30|0]=c}b=j[e+12>>2];c=0;h[a+35|0]=0;j[a+24>>2]=b;h[a+31|0]=8;e:{if(!b){break e}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+35|0]=c;if(!(d&2)){break e}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+31|0]=c}j[a+36>>2]=1;j[a+40>>2]=0;j[a+4>>2]=0;d=0}oe=e+32|0;return d}function kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:r=255;l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];n=b&255;i=e>>>8&255;k=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(b,h)>>>0)/255|0;i=(p(e,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:r=255;k=n;i=e;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=e+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function yx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>8&63488|g>>>5&2016|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function ik(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;e=oe-16|0;oe=e;f=j[a+100>>2];j[e+12>>2]=0;d=j[a+528>>2];a:{if(!d){d=He(f,420,e+12|0);if(j[e+12>>2]){break a}j[d+416>>2]=0;j[a+528>>2]=d}b:{c:{if(!b){break c}g=j[d>>2];if(!g){l=d,m=xe(f,32,0,b,0,e+12|0),j[l+148>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,196,0,b,0,e+12|0),j[l+216>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,16,0,b,0,e+12|0),j[l+288>>2]=m;if(j[e+12>>2]){break a}g=xe(f,4,0,b<<1,0,e+12|0);j[d+136>>2]=g;if(j[e+12>>2]){break a}j[d+284>>2]=a+460;j[d+212>>2]=a+168;j[d+144>>2]=a+132;j[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=j[d+288>>2];h=j[d+216>>2];i=j[d+148>>2];a=2;while(1){k=(a<<2)+d|0;g=g+16|0;j[k+284>>2]=g;h=h+196|0;j[k+212>>2]=h;i=i+32|0;j[k+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}j[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=j[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}j[d+4>>2]=c}b=j[d>>2];if(j[d+24>>2]|(!b|!c)){break a}f=xe(f,4,0,p(b,c),0,e+12|0);j[d+24>>2]=f;if(j[e+12>>2]){break a}a=2;if(b>>>0<2){break a}j[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){j[f+(a<<2)>>2]=j[d+24>>2]+(p(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}j[e+12>>2]=3}oe=e+16|0;return j[e+12>>2]}function al(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-48|0;oe=e;a:{if(!a){ve(73188,0);break a}if(Ik(a,73378)){ve(73203,0);break a}b:{if(!dg(73243)){break b}if(yg(73243,1)){c=c|4;break b}c=c&-5}c:{d:{e:{if((b|0)<=-1){b=1;d=dg(73260);f:{if(!d){break f}g=a;h=c;f=231392;g:{if(!Me(d,j[57849])){break g}if(Me(d,j[57951])){break f}f=231800}d=qe[j[f>>2]](g,h)|0;b=!d;if(d){break d}}if((j[57850]&c)==(c|0)){d=qe[j[57848]](a,c)|0;if(d){break d}}if((j[57952]&c)==(c|0)){break e}break c}if((b|0)>=2){j[e+16>>2]=1;ve(73315,e+16|0);break a}c=qe[j[j[(b<<2)+73180>>2]>>2]](a,c)|0;if(!c){break a}b=0;d=c;break d}d=qe[j[57950]](a,c)|0;if(!d){break c}}c=1;h:{if(j[d+332>>2]){break h}c=b;if(!dg(73358)){break h}c=yg(73358,1)}j[d+188>>2]=a;j[d>>2]=268305;j[d+336>>2]=c;b=Ki();j[d+352>>2]=1;j[d+304>>2]=1065353216;j[d+308>>2]=1065353216;j[d+288>>2]=1065353216;j[d+292>>2]=1065353216;j[d+320>>2]=b;b=j[d+8>>2];i:{if(!b){break i}if(qe[b|0](d,e+36|0,e+32|0)|0){break i}Wg(j[d+188>>2],e+44|0,e+40|0);n[d+304>>2]=q(j[e+44>>2])/q(j[e+36>>2]);n[d+308>>2]=q(j[e+40>>2])/q(j[e+32>>2])}i=d,k=(Ni(a)&72)!=0,j[i+192>>2]=k;uj(a,73378,d);kh(d,0);Ho(190,d);j[e>>2]=j[d+104>>2];WC(e);break a}d=0;ve(73278,0)}oe=e+48|0;return d}function Fj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];l=d<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}d=f-1|0;j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}c=c+g|0;a=a+l|0;f=d;if(d){continue b}break a}d=0;continue}}}}function Rp(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=k[a+9|0];if(c>>>0<8){break a}d=k[a+8|0];if(d&2){break a}e=j[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}c=(b+e|0)-1|0;b=c+(e<<1)|0;d=0;while(1){h[b|0]=k[c|0];h[b-1|0]=k[c|0];h[b-2|0]=k[c|0];b=b-3|0;c=c-1|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[b|0];h[c-3|0]=k[f|0];h[c-4|0]=k[b|0];h[c-5|0]=k[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[f|0];h[c-3|0]=k[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];h[c-1|0]=k[b-1|0];f=b-2|0;h[c-2|0]=k[f|0];g=b-3|0;h[c-3|0]=k[g|0];h[c-4|0]=k[f|0];h[c-5|0]=k[g|0];h[c-6|0]=k[f|0];h[c-7|0]=k[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=k[a+10|0]+2|0;h[a+10|0]=b;h[a+8|0]=k[a+8|0]|2;b=p(b,k[a+9|0]);h[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=p(b>>>3|0,e);break d}b=p(b,e)+7>>>3|0}j[a+4>>2]=b}}function xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>9&31744|g>>>6&992|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function vO(a,b,c,d){var e=0,f=0,g=0,i=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;e=oe-48|0;oe=e;f=Fe(a,b);j[e+44>>2]=f;a:{if(f){break a}f=uf(a,e+16|0,16);j[e+44>>2]=f;if(f){break a}f=d;d=j[e+16>>2];g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;j[f>>2]=g;f=2;d=j[e+20>>2];i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i){break a}b=b+i|0;d=j[e+24>>2];if((b|0)!=(g+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)){break a}f=Fe(a,b);j[e+44>>2]=f;if(f){break a}h[e+15|0]=k[e+31|0]+1;f=uf(a,e,16);j[e+44>>2]=f;if(f){break a}d=k[e+1|0];g=k[e|0];i=k[e+2|0];l=k[e+3|0];m=k[e+4|0];n=k[e+5|0];o=k[e+6|0];p=k[e+7|0];q=k[e+8|0];r=k[e+9|0];s=k[e+10|0];t=k[e+11|0];u=k[e+12|0];v=k[e+13|0];w=k[e+14|0];x=k[e+15|0];if(!((d|0)==k[e+17|0]&(g|0)==k[e+16|0]&(i|0)==k[e+18|0]&(l|0)==k[e+19|0]&(m|0)==k[e+20|0]&(n|0)==k[e+21|0]&(o|0)==k[e+22|0]&(p|0)==k[e+23|0]&(q|0)==k[e+24|0]&(r|0)==k[e+25|0]&(s|0)==k[e+26|0]&(t|0)==k[e+27|0]&(u|0)==k[e+28|0]&(v|0)==k[e+29|0]&(w|0)==k[e+30|0]&(x|0)==k[e+31|0])){f=2;if(d|g|i|l|m|n|o|p|q|r|s|t|u|v|w|x){break a}}y=e,z=xf(a,8),j[y+44>>2]=z;d=qf(a,e+44|0);f=j[e+44>>2];if(f){break a}f=a;a=b+d|0;f=Fe(f,a);if(f){break a}j[c>>2]=a;f=0}oe=e+48|0;return f}function QI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;j[a+724>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0;j[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(qe[j[a+508>>2]](a,1128418371,b,f+12|0)|0)){e=2;break c}e=1;if(!(qe[j[a+508>>2]](a,1161972803,b,f+12|0)|0)){break c}if(!(qe[j[a+508>>2]](a,1651273571,b,f+12|0)|0)){break c}d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break b}e=3}j[a+732>>2]=e;d=3;c=j[f+12>>2];if(c>>>0<8){break b}d:{switch(e-1|0){case 0:case 1:d=_f(b,c,g);if(d){break b}e=j[f+12>>2];j[a+728>>2]=e;d=2;c=j[a+724>>2];if((k[c+1|0]<<16|k[c|0]<<24)!=131072){break b}d=3;c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>65535){break b}j[a+736>>2]=e>>>0<(p(c,48)|8)>>>0?(e-8>>>0)/48|0:c;break a;case 2:break d;default:break a}}d=_e(b,8);if(d){break b}d=af(b);c=af(b);e=Ff(b);Ve(b);if(!d){d=2;break b}d=3;e:{switch(c-1|0){case 0:case 2:break e;default:break b}}if(e>>>0>65535){break b}c=j[f+12>>2];d=Fe(b,j[b+8>>2]-8|0);if(d){break b}c=c>>>0<(e<<2)+8>>>0?c-8>>>2|0:e;d=(c<<2)+8|0;j[a+728>>2]=d;d=_f(b,d,g);if(d){break b}j[a+736>>2]=c;break a}if(j[g>>2]){jf(b,g)}j[a+728>>2]=0;j[a+732>>2]=0;h=d}oe=f+16|0;return h|0}function vL(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,i=0,l=0,n=0;e=oe-464|0;oe=e;f=b+8|0;g=j[f+4>>2];j[e+16>>2]=j[f>>2];j[e+20>>2]=g;j[e+40>>2]=j[b+32>>2];f=j[b+28>>2];j[e+32>>2]=j[b+24>>2];j[e+36>>2]=f;f=j[b+20>>2];j[e+24>>2]=j[b+16>>2];j[e+28>>2]=f;f=j[b+4>>2];g=j[b>>2];j[e+16>>2]=2;j[e+8>>2]=g;j[e+12>>2]=f;a:{switch(j[b+8>>2]-7|0){case 0:case 3:j[e+16>>2]=3;break;default:break a}}Nh(a,e+448|0);b:{if(j[e+456>>2]!=3){b=162;break b}l=j[a>>2];g=j[e+448>>2]+1|0;j[a>>2]=g;n=j[a+8>>2];i=j[e+452>>2]-1|0;j[a+8>>2]=i;f=e+48|0;c:{if(g>>>0>=i>>>0){break c}g=e+432|0;f=e+48|0;while(1){Nh(a,e+432|0);if(!j[e+440>>2]){break c}if(f>>>0>>0){i=j[e+436>>2];j[f>>2]=j[e+432>>2];j[f+4>>2]=i;j[f+8>>2]=j[e+440>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[a+8>>2]=n;j[a>>2]=l;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=j[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(j[b+8>>2]==7){break d}b=j[b+28>>2];if(!b){break d}h[b+j[c>>2]|0]=g}e:{if((g|0)>=1){i=k[e+28|0];f=e+48|0;while(1){j[a>>2]=j[f>>2];j[a+8>>2]=j[f+4>>2];b=lr(a,e+8|0,c,d,0);if(b){break e}j[e+24>>2]=i+j[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}j[a+8>>2]=n;j[a>>2]=l}oe=e+464|0;return b|0}function sn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;if(!(c?b:0)){ve(99470,0);return 0}k=j[b>>2];if(!k){k=j[a+16>>2]}m=j[b+12>>2];if(!m){m=j[a+28>>2]}n=k>>>8&255;i=j[a+8>>2];while(1){a:{if(i){break a}i=0;h=j[67085];d=j[h+28>>2];if(!d){break a}qe[d|0](h,a);un(j[a+12>>2],j[a+8>>2]);i=j[a+8>>2]}b:{c:{d:{e:{if((e|0)>=(i|0)){break e}g=j[a+12>>2];h=p(e,20);d=g+h|0;l=j[d+4>>2];if(j[b+4>>2]>(l|0)?l:0){break e}h=g+h|0;g=j[h+8>>2];if(!g|(g|0)>=j[b+8>>2]){break d}if(!l|j[b+4>>2]!=(l|0)){break c}}if(f){break b}return 0}if(!f){f=d;e=e+1|0;continue}if(j[f+4>>2]>(l|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=j[d>>2];if((g|0)!=j[f>>2]){if((g|0)==(k|0)){f=d;e=e+1|0;continue}if((g^k)&251658240|(g>>>8&255)>>>0>>0){break c}f=d;e=e+1|0;continue}g=d;d=j[h+12>>2];f=(d|0)<(m|0)?f:(d|0)==j[f+12>>2]?f:g}e=e+1|0;continue}break}e=j[f>>2];if(!e){e=j[b>>2]}j[c>>2]=e;f:{g:{a=j[f+4>>2];if(!a){break g}i=j[f+8>>2];if(!i){break g}j[c+4>>2]=a;a=1;d=1;break f}a=j[b+4>>2];j[c+4>>2]=a;i=j[b+8>>2];d=i}g=d;j[c+8>>2]=i;h=c;d=j[f+12>>2];if(!d){d=j[b+12>>2]}j[h+12>>2]=d;j[c+16>>2]=j[f+16>>2];if(!e){j[c>>2]=370546692}if(!a){j[c+4>>2]=640}if(!g){j[c+8>>2]=480}return c}function xr(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}j[a+24>>2]=0;d=j[a+32>>2];if(!d){j[a+40>>2]=0;j[a+32>>2]=683;d=683}if(!j[a+36>>2]){j[a+36>>2]=684}c=qe[d|0](j[a+40>>2],1,24)|0;j[a+28>>2]=c;d=-4;if(!c){break a}j[c+20>>2]=0;j[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d|0)<=7){ok(a);return-2}j[c+16>>2]=d;b:{c=qe[j[a+32>>2]](j[a+40>>2],1,64)|0;c:{if(!c){break c}e=qe[j[a+32>>2]](j[a+40>>2],8,1440)|0;j[c+36>>2]=e;if(!e){qe[j[a+36>>2]](j[a+40>>2],c);break c}e=1<>2]](j[a+40>>2],1,e)|0;j[c+40>>2]=d;if(d){break b}qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c)}j[j[a+28>>2]+20>>2]=0;ok(a);return-4}f=(b|0)>-1?685:0;j[c+56>>2]=f;j[c+52>>2]=d;j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;j[c+48>>2]=d;j[c+44>>2]=d+e;d=0;if((b|0)>=0){b=qe[f|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=j[c>>2]}b=j[a+28>>2];j[b+20>>2]=c;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b>>2]=j[b+12>>2]?7:0;if((d&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);d=j[c>>2]}if((d|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];d=0;if(!b){break a}b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=0}return d}function QJ(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,n=0,o=0;d=a+8208|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=j[b+160>>2]-a>>>0:0)){Pe(b,8)}c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(j[b+160>>2]-d>>>0)/12>>>0){Pe(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);l=k[d+1|0]<<16|k[d|0]<<24;a=k[d+3|0]|(l|k[d+2|0]<<8);n=k[d+5|0]<<16|k[d+4|0]<<24;c=k[d+7|0]|(n|k[d+6|0]<<8);if(a>>>0>c>>>0){Pe(b,8)}if(!(!i|a>>>0>e>>>0)){Pe(b,8)}c:{if(!j[b+164>>2]){break c}o=j[b+172>>2];e=c-a|0;if(!(o-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?o>>>0>=e>>>0:0)){Pe(b,16)}e=e+1|0;if(l){if(!e){break c}while(1){if(!(k[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Pe(b,8)}if(!(k[(a>>>3&8191)+h|0]<<(a&7)&128)){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(n){Pe(b,8)}if(!e){break c}while(1){if(k[(a>>>3&8191)+h|0]<<(a&7)&128){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function ei(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(!(c&2)){break a}j[a>>2]=c&-3;b:{if(!b|c&1){break b}c:{b=j[a+52>>2];if(k[b+69|0]&32){c=Tk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;b=j[a>>2];if(c){break c}j[a>>2]=b|2;break a}m=j[a+8>>2];n=j[a+4>>2];g=j[b+12>>2];b=k[g|0];c=Tk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;d=j[a>>2];if(c){i=(b|0)==2;q=i?263:264;r=i?265:264;j[a>>2]=d|8;Oe(c,0,p(j[a+16>>2],j[a+12>>2]));c=g+28|0;h=j[a+20>>2];s=(b|0)!=2;while(1){b=0;while(1){d:{if(!s){f=k[c|0];o=2;d=k[c+1|0];break d}f=l[c>>1];o=4;d=l[c+2>>1]}b=b+f|0;c=c+o|0;e:{if(d){c=(qe[r|0]((b<<2)+h|0,c,d,g,n)|0)+c|0;b=b+d|0;break e}if(!b){break b}}if((b|0)<(m|0)){continue}break}c=i?(c&2)+c|0:c;b=0;while(1){d=c+4|0;f=l[c>>1]+b|0;c=l[c+2>>1];f:{if(!c){b=f;break f}b=c+f|0;d=(qe[q|0]((f<<2)+h|0,d,c,g,n)|0)+d|0}c=d;if((b|0)<(m|0)){continue}break}h=(j[a+16>>2]&-4)+h|0;continue}}j[a>>2]=d|2;break a}j[a>>2]=b|8;Dh(a,0,j[j[a+52>>2]+72>>2]);j[e>>2]=0;j[e+4>>2]=0;j[e+8>>2]=j[a+8>>2];j[e+12>>2]=j[a+12>>2];Sn(a,e,a,e)}b=j[a+52>>2];j[b+68>>2]=j[b+68>>2]&-24577;b=j[b+12>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[j[a+52>>2]+12>>2]=0}oe=e+16|0}function KE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);return}if(!(!b|!(k[b+9|0]&4))){Ie(a,c);Je(a,211085);return}d=c+1|0;e=j[a+788>>2];c:{if(e){if(d>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,d);if(!e){break b}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);if(!Ie(a,0)){i=c+e|0;h[i|0]=0;d=e;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}if(c+12>>>0>=i>>>0){Je(a,211064);return}l=k[c+5|0]|k[c+6|0]<<8|(k[c+7|0]<<16|k[c+8|0]<<24);n=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);g=k[c+9|0];f=k[c+10|0];if(!((f|0)==4|(g|0)!=3?!(((f|0)!=2?!g:0)|((f|0)!=3?(g-1&255)>>>0<=1:0)):0)){Je(a,211478);return}if(g>>>0>=4){Je(a,211502)}p=c+11|0;d=p;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}d=fg(a,f<<2);if(!d){break a}if(f){while(1){c=c+1|0;j[d+(o<<2)>>2]=c;d:{if(c>>>0<=i>>>0){while(1){if(!k[c|0]){break d}c=c+1|0;if(i>>>0>=c>>>0){continue}break}}Ke(a,d);Je(a,211529);return}o=o+1|0;if((o|0)!=(f|0)){continue}break}}UF(a,b,e,n>>>8&65280|n>>>24|(n<<8&16711680|n<<24),l>>>8&65280|l>>>24|(l<<8&16711680|l<<24),g,f,p,d);Ke(a,d)}return}hf(a,211072);z()}Ie(a,c);Je(a,211242);return}Je(a,211242)}function ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}l=(p(l,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;h=(p(b,h)>>>0)/255|0;break a;case 0:h=b;k=e;l=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=l+i|0;l=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+h|0;h=b>>>0<255?b:255}j[c>>2]=k<<8|h|l<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function dx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(b,h)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:k=n;i=f;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function $w(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}k=(p(b,k)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;break a;case 0:h=n;i=f;k=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+k|0;k=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=h+n|0;h=b>>>0<255?b:255}j[c>>2]=i<<8|h|k<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function hB(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0;d=oe-96|0;oe=d;j[a+12>>2]=0;j[a+8>>2]=b;Oe(j[a+20>>2],0,j[j[a>>2]+28>>2]<<2);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);a:{b:{if(!c){break b}g=1;while(1){m=0;b=0;c:{d:{e:{f:{g:{e=k[c|0];switch(e-32|0){case 26:break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break d;case 0:break f;case 12:break g;default:break e}}uo(a,d- -64|0,d+32|0);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);m=1;break c}m=g;b=f;break c}if(!e){break b}}if(g){if(f>>>0>=20){j[d+16>>2]=d- -64;ve(72895,d+16|0);break a}h[(d- -64|0)+f|0]=e;m=1;b=f+1|0;break c}if(f>>>0>=20){j[d>>2]=d+32;ve(72921,d);break a}h[(d+32|0)+f|0]=e;b=f+1|0}c=c+1|0;f=b;g=m;continue}}if(!(k[d+32|0]|k[d+64|0])){break a}uo(a,d- -64|0,d+32|0)}f=j[a+12>>2];if((f|0)>=1){m=j[a+16>>2];c=0;while(1){b=m+(c<<5)|0;h:{if(j[b>>2]!=2|j[b+16>>2]!=2|(j[b+20>>2]&-2)!=4){break h}e=j[b+4>>2];g=j[a>>2];if((e|0)>=j[g+28>>2]){break h}g=j[g+32>>2];n=g+(e<<4)|0;e=l[b+8>>1];i[n+4>>1]=e;i[(g+(j[b+4>>2]<<4)|0)+2>>1]=e}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+96|0}function uo(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{b:{e=k[b|0];switch(e-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=e}i=lB(b);e=kB(b);c:{d:{e:{if((i|0)!=-1){e=32767;m=2;if((i&-2)==4){break d}f:{switch(f-43|0){case 0:break d;case 2:break e;default:break f}}n=-32768;break d}if((e|0)!=-1){m=1;i=e;break d}j[g>>2]=b;ve(72956,g);break c}e=-32768}f=0;g:{h:{b=k[c|0];switch(b-43|0){case 0:case 2:break h;default:break g}}c=c+1|0;f=b}d=Le(c);i:{j:{b=k[c|0];if((b|0)==97){o=k[(c+d|0)-1|0];if(h[c+1|0]-48>>>0<10){d=0;b=32767;l=rf(c+1|0);k:{l:{switch(f-43|0){case 2:b=-32768;break k;case 0:break k;default:break l}}d=-32768}c=(o|0)==126;f=c?b:d;b=c?d:b;c=2;break i}b=k[c|0]}if((b&255)==98){if(h[c+1|0]-48>>>0<10){break j}b=k[c|0]}if(!((b&255)!=104|h[c+1|0]-48>>>0>=10|(k[c+2|0]!=46|h[c+3|0]-48>>>0>=10))){l=rf(c+1|0);f=rf(c+3|0);c=3;break i}j[g+16>>2]=c;ve(72989,g+16|0);break c}l=rf(c+1|0);c=1}d=j[a+12>>2]+1|0;j[a+12>>2]=d;d=mf(j[a+16>>2],d<<5);j[a+16>>2]=d;if(!d){j[a+12>>2]=0;Be(0);break c}a=(d+(j[a+12>>2]<<5)|0)-32|0;j[a+20>>2]=i;j[a+16>>2]=m;j[a+4>>2]=l;j[a>>2]=c;j[a+28>>2]=e;j[a+24>>2]=n;j[a+12>>2]=b;j[a+8>>2]=f}oe=g+32|0}function gl(a){var b=0,c=0,d=0,e=0;c=j[66371];a:{if(j[67035]==(a|0)){break a}b:{c:{d:{e:{f:{if(j[67036]?!a:0){break f}g:{h:{if(a){if(j[67018]){b=1;if(yg(71609,0)){break f}}b=j[67020];if(b){break h}break g}b=j[67020];if(!b){break d}}if(!a|(qe[b|0](a)|0)>-1){break e}}b=1;if(j[67018]){break f}ve(71524,0);return}j[67036]=b}j[67039]=0;j[67040]=0;j[67035]=a;i:{if(!a|!c){break i}b=j[67024];j:{if((b|0)==(c|0)){break j}if(b){zf(b,11,0,0)}j[67024]=c;j[67034]=0;zf(c,10,0,0);b=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!b){break j}qe[b|0](d)|0;break j}if(!b){break j}qe[b|0](0)|0}b=j[c+28>>2]/2|0;d=j[c+24>>2]/2|0;e=j[67018];if(e){qe[e|0](c,d,b);break i}e=j[67023];if(!Gh(c,d,b,(e|0)!=-1)){break i}Fh(c,e,0,d,b)}c=j[67024];if(!c){break b}nn(c);if(!a){break c}break b}j[67039]=0;j[67040]=0;j[67035]=a;a=j[67024];if(!a){break b}nn(a)}a=j[67024];if(!a){break b}c=j[67026];b=j[67025];d=j[67018];if(d){qe[d|0](a,b,c);break b}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break b}Fh(a,d,0,b,c)}Xi(1024,1024);a=j[67015];c=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!c|!j[67051]))){if(!a){break a}qe[a|0](c)|0;return}if(!a){break a}qe[a|0](0)|0}}function np(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=j[a+4>>2];d:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break d}c=ff(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}d=c-48|0;break a}f=(c|0)==45;b=!b;c=j[a+4>>2];e:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break e}c=ff(a)}d=c-48|0;if(!(b|d>>>0<10|!j[a+104>>2])){j[a+4>>2]=j[a+4>>2]-1}}f:{if(d>>>0<10){d=0;while(1){d=p(d,10)+c|0;b=j[a+4>>2];g:{if(b>>>0>2]){j[a+4>>2]=b+1;c=k[b|0];break g}c=ff(a)}e=c-48|0;d=d-48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=hP(b,d,10,0);b=d+c|0;c=pe;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=j[a+4>>2];i:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break i}c=ff(a)}e=c-48|0;if(e>>>0>9){break h}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if(c-48>>>0<10){continue}break}}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!j[a+104>>2]){break f}j[a+4>>2]=j[a+4>>2]-1;pe=-2147483648;return 0}pe=d;return b}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;f=oe-16|0;oe=f;h=j[a+100>>2];j[f+12>>2]=0;q=l[a+340>>1];a:{if(!q){break a}g=-1;k=-1;n=-1;o=-1;m=j[a+356>>2];e=m;while(1){b:{if(!l[e+8>>1]|l[e+6>>1]!=(b|0)){break b}c:{switch(l[e>>1]){case 0:case 2:g=d;break b;case 1:if(!l[e+4>>1]){n=d;break b}o=l[e+2>>1]?o:d;break b;case 3:break c;default:break b}}if((l[e+4>>1]&1023)!=9?(k|0)!=-1:0){break b}r=l[e+2>>1];if(r>>>0>10|!(1<>1]&1023)==9;k=d}e=e+20|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}d=(n|0)>-1?n:o;d:{e:{f:{if((k|0)>=0){if((d|0)>=0){b=813;if(!s){break f}}e=0;d=p(k,20)+m|0;g=l[d+2>>1];if(g>>>0>10){break a}b=814;if(1<-1){break f}e=0;b=814;d=g;if((d|0)<0){break a}}if(!m){break d}d=p(d,20)+m|0}g:{if(j[d+16>>2]){break g}a=j[a+360>>2];e=0;t=d,u=xe(h,1,0,l[d+8>>1],0,f+12|0),j[t+16>>2]=u;h:{if(j[f+12>>2]){break h}g=Fe(a,j[d+12>>2]);j[f+12>>2]=g;if(g){break h}a=uf(a,j[d+16>>2],l[d+8>>1]);j[f+12>>2]=a;if(!a){break g}}a=j[d+16>>2];if(a){qe[j[h+8>>2]](h,a)}i[d+8>>1]=0;j[d+16>>2]=0;break a}e=qe[b|0](d,h)|0;break a}e=0}j[c>>2]=e;oe=f+16|0;return j[f+12>>2]}function Jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Iv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function $v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Eq(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=q(0),u=0,v=q(0),w=0,x=q(0),z=0,A=0;l=oe;A=l;z=j[a+4>>2];l=l-((h<<2)+15&-16)|0;oe=l;a=h;a=j[z+500>>2]?j[z+504>>2]-g|0:a;a=(a|0)>(h|0)?h:a;a:{if((a|0)<1){a=0;break a}while(1){if(!(j[(m<<2)+f>>2]?f:0)){s=m<<2;k=kP(y(+q(n[s+d>>2]/n[e+s>>2])));k=n[c+s>>2]>2]=w}m=m+1|0;if((m|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;s=(f|0)!=0;while(1){d:{if(j[(a<<2)+f>>2]?f:0){break d}b=a<<2;g=b+d|0;v=n[b+e>>2];t=q(n[g>>2]/v);if(!(s&(a|0)<(m|0)|t>2]=g;u=u+1|0;x=q(x+t);break d}w=b+i|0;k=kP(y(+t));k=n[b+c>>2]>2]=b;n[g>>2]=v*q(p(b,b)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!u){break c}eg(l,u,4,103);if((u|0)<1){break c}k=o[z+512>>3];a=0;while(1){t=q(0);f=j[l+(a<<2)>>2];b=f-d>>2;g=(b<<2)+i|0;if(k<=+x^1){b=0}else{b=b<<2;t=n[b+e>>2];x=q(x+q(-1));v=(qP(2,j[b+c>>2]&-2147483648|1065353216),tP());f:{if(q(r(v))>2]=b;n[f>>2]=t;a=a+1|0;if((u|0)!=(a|0)){continue}break}}oe=A}function Jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0;b=j[a+36>>2]/2|0;f=j[a+16>>2]/2|0;a:{h=j[a+28>>2];if(!h){break a}d=j[j[a+40>>2]+24>>2]^-1;e=d&j[a+56>>2];g=j[a+24>>2];k=g&7;g=(g+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<1;n=f<<1;b:while(1){f=g;c:{d:{switch(k-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}b=h-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+m|0;c=c+n|0;h=b;if(b){continue b}break a}b=0;continue}}}}function qm(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=j[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Fe(j[a>>2],j[a+68>>2])){break a}e=j[a+40>>2];c:{if(!e){break c}j[a+20>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[e>>2]=j[e+12>>2]?7:0;f=j[e+20>>2];e=j[f>>2];if((e&-2)==4){qe[j[a+48>>2]](j[a+52>>2],j[f+12>>2]);e=j[f>>2]}if((e|0)==6){qe[j[a+48>>2]](j[a+52>>2],j[f+4>>2])}j[f+28>>2]=0;j[f+32>>2]=0;j[f>>2]=0;e=j[f+40>>2];j[f+52>>2]=e;j[f+48>>2]=e;e=j[f+56>>2];if(!e){break c}e=qe[e|0](0,0,0)|0;j[f+60>>2]=e;j[a+60>>2]=e}j[a+28>>2]=0;j[a+12>>2]=a+72;j[a+16>>2]=0;e=a+8264|0;j[a+8272>>2]=e;j[a+24>>2]=a+4168;j[a+8268>>2]=e;j[e>>2]=0}if(b>>>0>g>>>0){f=j[a+8268>>2];e=j[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(wr(a)){return 0}f=j[a+8268>>2];e=j[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+j[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=j[a+8268>>2];b=j[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Ae(c,e,f);j[a+8268>>2]=f+j[a+8268>>2];j[a+8264>>2]=f+j[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!wr(a)){continue}break}}return g}function Qg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=oe-16|0;oe=g;a:{if((c|0)<1){break a}l=j[a+4>>2];while(1){i=(n<<3)+b|0;b:{if(!j[i>>2]){bh(l);if(j[l+12>>2]>1){break a}d=j[l>>2];f=d-1|0;o=j[l+8>>2];c:{while(1){m=3;if(d>>>0>=o>>>0){e=d;break c}e=d+1|0;j[l>>2]=e;p=k[d|0];d=e;d:{switch(p-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}m=2}j[l+12>>2]=m;j[g+8>>2]=f;break b}f=vh(l);j[g+8>>2]=f;if(!f){break a}e=j[l>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(j[i>>2]){case 0:case 1:d=jj(j[a>>2],d,g+4|0);j[i+4>>2]=d;if(j[g+4>>2]){break e}Ae(d,f,e);h[e+j[i+4>>2]|0]=0;break e;case 2:q=i,r=xh(g+8|0,e+f|0,0),j[q+4>>2]=r;break e;case 3:j[g+12>>2]=f;o=e+f|0;m=Rg(g+12|0,o,10);e=0;d=j[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(k[d|0]!=35|d>>>0>=o>>>0)){f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,o,m);d=j[g+12>>2];if((f|0)==(d|0)){break g}}j[g+8>>2]=d;e=m}j[i+4>>2]=e;break e;case 4:if((e|0)==4){e=!Qe(f,135016,4)}else{e=0}h[i+4|0]=e;break e;case 5:break f;default:break e}}d=j[a+12>>2];if(d){q=i,r=qe[d|0](f,e,j[a+16>>2])|0,j[q+4>>2]=r;break e}j[i+4>>2]=0}n=n+1|0;if((n|0)!=(c|0)){continue}break}n=c}oe=g+16|0;return n}function Hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;i=j[a+2984>>2];a:{if(!(i&4)){break a}g=j[a+2988>>2];if(k[(g+p(b,1572)|0)+256|0]){break a}a=c>>31;f=a+c^a;b:{c:{d:{if((b|0)==1){if(i&2){break d}if(!(e&2)|(f|0)>191){break c}a=f;break b}if(!(i&1)){break c}}l=g+p(b,1572)|0;m=j[l+52>>2];e:{f:{if(m){a=98;d=0;e=f;while(1){n=j[(l+p(d,12)|0)+60>>2];h=f-n|0;g=h>>31;h=g^g+h;g=(h|0)<(a|0);a=g?h:a;e=g?n:e;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=e+32&-64;a=d;if((e|0)<=(f|0)){break f}d=(d-48|0)<(f|0)?e:f;break e}e=f;a=f+32&2147483584}d=(a|48)>(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(i&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-f|0;b=d>>31;if((b^b+d)<16){break b}if((f|0)>47){a=f;break b}a=f- -64>>>1|0;break b}a=d+32&-64;break b}a=d&1?(f|0)<80?64:f:(f|0)>56?f:56;b=g+p(b,1572)|0;if(!j[b+52>>2]){break b}b=j[b+60>>2];e=a-b|0;d=e>>31;if((d^d+e)<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}a=a+32&2147483584}c=(c|0)<0?0-a|0:a}return c}function TE(a,b,c){var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;d=oe+ -64|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=32){Ie(a,c);Je(a,211064);break a}pf(a,d+32|0,32);tf(a,d+32|0,32);if(Ie(a,0)){break a}c=k[d+32|0]<<24;e=k[d+35|0]|(c|k[d+33|0]<<16|k[d+34|0]<<8);j[d+24>>2]=(e|0)>-1?e:-1;e=k[d+36|0]<<24;f=k[d+39|0]|(e|k[d+37|0]<<16|k[d+38|0]<<8);j[d+28>>2]=(f|0)>-1?f:-1;f=k[d+40|0]<<24;g=k[d+43|0]|(f|k[d+41|0]<<16|k[d+42|0]<<8);j[d>>2]=(g|0)>-1?g:-1;g=k[d+44|0]<<24;h=k[d+47|0]|(g|k[d+45|0]<<16|k[d+46|0]<<8);j[d+4>>2]=(h|0)>-1?h:-1;h=k[d+48|0]<<24;m=k[d+51|0]|(h|k[d+49|0]<<16|k[d+50|0]<<8);j[d+8>>2]=(m|0)>-1?m:-1;m=k[d+52|0]<<24;n=k[d+55|0]|(m|k[d+53|0]<<16|k[d+54|0]<<8);j[d+12>>2]=(n|0)>-1?n:-1;n=k[d+56|0]<<24;o=k[d+59|0]|(n|k[d+57|0]<<16|k[d+58|0]<<8);j[d+16>>2]=(o|0)>-1?o:-1;o=k[d+60|0]<<24;p=k[d+63|0]|(o|k[d+61|0]<<16|k[d+62|0]<<8);j[d+20>>2]=(p|0)>-1?p:-1;if((o|(n|(m|(h|(g|(f|(c|e)))))))<=-1){Je(a,211177);break a}c=l[a+898>>1];if(c&32768){break a}if(c&16){i[a+898>>1]=c|32768;sh(a,b);Je(a,211085);break a}i[a+898>>1]=c|16;DF(a,a+824|0,d);sh(a,b)}oe=d- -64|0;return}hf(a,211072);z()}function hy(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+4>>2];d=j[a+52>>2];c=j[j[d>>2]+4>>2];a=0;a:{b:{c:{d:{e=j[d+68>>2]&-28673;switch(e-16|0){case 1:break a;case 2:break b;case 0:break c;default:break d}}if(j[b+24>>2]|(e|0)!=274){break a}a=290;if(k[c+9|0]!=1){break a}return j[c+4>>2]?291:290}a=292;e:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?293:292;case 1:if(k[b+9|0]!=4|j[b+24>>2]!=-16777216|j[b+16>>2]!=65280){break a}if(j[b+20>>2]!=255|j[c+20>>2]!=31?!(j[c+12>>2]==31?j[b+12>>2]==255:0):0){break a}a=j[c+16>>2];return(a|0)==2016?294:(a|0)==992?295:292;case 3:break e;default:break a}}if(!(j[b+12>>2]!=j[c+12>>2]|j[b+16>>2]!=j[c+16>>2]|(j[b+20>>2]!=j[c+20>>2]|k[b+9|0]!=4))){a=296;if(j[b+24>>2]==-16777216){break a}}return 292}if(j[b+24>>2]){break a}a=297;f:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?298:297;case 1:if(!j[d+4>>2]){break a}a=j[c+16>>2];return(a|0)==2016?299:(a|0)==992?300:297;case 3:break f;default:break a}}d=j[b+12>>2];g:{if((d|0)!=j[c+12>>2]){break g}e=j[b+16>>2];if((e|0)!=j[c+16>>2]){break g}f=j[b+20>>2];if((f|0)!=j[c+20>>2]|k[b+9|0]!=4){break g}a=301;if((d|e|f)==16777215){break a}}a=297}return a}function Li(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+28>>2];if(c){d=j[c+8>>2];if((d|0)>=1){e=c+32|0;while(1){f=j[e+(b<<2)>>2];if(f){ze(f);d=j[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+12>>2];if((d|0)>=1){e=c+288|0;f=c+544|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3836>>2]+8>>2]](h);d=j[c+12>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+16>>2];if((d|0)>=1){e=c+800|0;f=c+1056|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3816>>2]+12>>2]](h);d=j[c+16>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+20>>2];if((d|0)>=1){e=c+1312|0;f=c+1568|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3824>>2]+12>>2]](h);d=j[c+20>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}if(j[c+24>>2]>=1){d=c+1824|0;b=0;while(1){e=j[d+(b<<2)>>2];if(e){rk(e)}e=j[c+2848>>2];if(e){dO(e+p(b,56)|0)}b=b+1|0;if((b|0)>2]){continue}break}}b=j[c+2848>>2];if(b){ze(b)}if(j[c+28>>2]>=1){d=c+2852|0;b=0;while(1){Sh(j[d+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function LC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[262188];a:{if(a&1|(!j[65546]|(c|0)<1)){break a}while(1){b:{if(!j[j[65546]+12>>2]){break b}d=j[65546];a=j[d+16>>2];j[d+16>>2]=a+1;d=j[65546];if((a|0)>2]){if(!j[j[j[65546]>>2]+36>>2]){break b}a=j[j[65546]+20>>2];d=j[d+16>>2];qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],(p(j[57792],j[j[65546]+12>>2]==1?a-d|0:d)|0)/(a|0)|0);break b}a=j[65546];if(j[d+12>>2]==1){if(j[j[a>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]();return}j[a+12>>2]=0}if(j[j[j[65546]>>2]+48>>2]){a=qe[j[j[j[65546]>>2]+48>>2]](j[j[65546]+4>>2],b,c)|0;if(a){j[j[65546]+8>>2]=0}d=(c-a|0)+b|0;c=(a|0)>0;b=c?d:b;c=c?a:0}else{c=0}c:{if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}if(j[j[65546]+8>>2]){break c}}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break c}qe[a|0]()}if(!c|!j[65546]){break a}if(!(h[262188]&1)){continue}break}}}function zi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0;l=oe-16|0;oe=l;g=6;a:{if(!a){break a}i=j[a+8>>2];if(i>>>0<=b>>>0){break a}n=j[a>>2];b:{c:{d:{e:{f:{g:{e=j[a+24>>2];if(!e){g=Fe(n,(j[a+4>>2]+p(k[a+12|0],b)|0)+3|0);if(g){break a}g=uf(j[a>>2],l+12|0,k[a+12|0]);if(g){break a}e=k[a+12|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=k[(l+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=uf(j[a>>2],l+12|0,e&255);h:{if(g){break h}f=k[a+12|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=k[(l+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=m[a+8>>2]){break e}e=k[a+12|0];continue}}g=0;h=j[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=j[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=j[n+4>>2];e=b+1|0;if(e>>>0>=f>>>0){break d}i=j[a+16>>2];break c}h=0;g=0}b=j[n+4>>2];f=0}i=j[a+16>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;j[d>>2]=b;d=j[a+28>>2];if(d){j[c>>2]=(d+h|0)-1;break a}g=Fe(n,(j[a+16>>2]+h|0)-1|0);if(g){break a}g=_f(n,b,c);break a}j[c>>2]=0;j[d>>2]=0}oe=l+16|0;return g}function zo(a,b,c,d,e,f){var g=0,i=0,k=0,l=0,m=q(0),o=0,p=q(0),s=0;k=oe+ -64|0;oe=k;o=dl(a,b);a:{if(!o){break a}b:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){g=j[67024];if(!g|!(h[268228]&1)|((a|0)!=j[67058]|(b|0)!=j[67059]|((c|0)!=j[67060]|(d|0)!=j[67061]))){break b}l=j[g+28>>2];m=q(q(l|0)*f);c:{if(q(r(m))0?i:0;i=(l|0)>(i|0)?i:l-1|0;s=g;l=j[g+24>>2];m=q(q(l|0)*e);d:{if(q(r(m))0?g:0;Oj(s,-1,0,(g|0)<(l|0)?g:l-1|0,i);break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}}e:{l=j[o+12>>2];f:{if((l|0)<1){break f}o=j[o+20>>2];i=0;while(1){g=j[o+(i<<2)>>2];if(j[g>>2]!=(c|0)|j[g+4>>2]!=(d|0)){i=i+1|0;if((l|0)!=(i|0)){continue}break f}break}if((l|0)>(i|0)){break e}}Nj(a,b,c,d,1,e,f);break a}p=q(e-n[g+8>>2]);m=q(f-n[g+12>>2]);if(q(q(1)-n[g+16>>2])==q(0)?!(p!=q(0)|m!=q(0)):0){break a}n[g+16>>2]=1;n[g+12>>2]=f;n[g+8>>2]=e;if((We(1794,-1)|0)!=1){break a}n[k+48>>2]=1;n[k+44>>2]=m;n[k+40>>2]=p;n[k+36>>2]=f;n[k+32>>2]=e;j[k+24>>2]=c;j[k+28>>2]=d;j[k+16>>2]=a;j[k+20>>2]=b;j[k+8>>2]=1794;gf(k+8|0)}oe=k- -64|0}function Bj(a,b,c){var d=0,e=0,f=0;d=Xe(1,60);if(!d){Be(0);return 0}f=Pk(c);j[d+4>>2]=f;a:{b:{if(!f){break b}j[d+12>>2]=b;j[d+8>>2]=a;c:{if(!(!c|(c&-268435456)==268435456)){e=2;if((c|0)==844715353|(c|0)==1498831189){break c}e=(c|0)==1431918169?2:1;break c}e=c&255}e=p(e,a);d:{e:{switch((c>>>8&255)-1|0){case 0:e=(e+7|0)/8|0;break d;case 3:break e;default:break d}}e=(e+1|0)/2|0}j[d+48>>2]=b;j[d+44>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e+3&-4;b=j[f>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){b=yv(1<>2]==2){a=j[b+4>>2];h[a+4|0]=0;h[a+5|0]=0;h[a+2|0]=255;h[a|0]=255;h[a+1|0]=255;h[a+6|0]=0}if((Mk(j[d+4>>2],b)|0)>=0){vf(j[d+52>>2])}zv(b);a=j[d+8>>2]}f:{if(!a){break f}a=j[d+12>>2];if(!a){break f}b=j[d+16>>2];a=hP(b,b>>31,a,a>>31);b=pe;if(!b&a>>>0>=2147483648|b){break a}a=Tk(a);j[d+20>>2]=a;if(!a){break a}j[d>>2]=j[d>>2]|8;Oe(a,0,p(j[d+16>>2],j[d+12>>2]))}a=xv();j[d+52>>2]=a;if(!a){break b}g:{if(!j[j[d+4>>2]+24>>2]){break g}b=j[a+68>>2];c=b&-113|16;j[a+68>>2]=c;if((b|0)==(c|0)){break g}vf(a)}j[d+56>>2]=1;return d}kf(d);return 0}kf(d);Be(0);return 0}function $L(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,k=0,l=0,m=0,n=0,o=0,s=0,t=0,u=q(0),v=q(0),w=0,x=0,y=0;a:{if((e|0)<1){break a}while(1){f=g<<2;if(j[f+d>>2]){j[(h<<2)+c>>2]=j[c+f>>2];h=h+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!h){break a}i=j[b>>2];k=j[i+8>>2];n=(j[i+4>>2]-j[i>>2]|0)/(k|0)|0;s=j[i+12>>2];o=Ef(a,h<<2);if((h|0)>=1){e=n<<2;g=0;while(1){d=Ef(a,e);j[(g<<2)+o>>2]=d;Ee(d,0,e);g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((n|0)>=1){v=q(100/+(k|0));e=s-1|0;w=(h|0)<1;while(1){if(!w){x=j[i>>2]+p(k,m)|0;l=0;while(1){b:{if((k|0)<1){g=0;d=0;break b}y=j[(l<<2)+c>>2];d=0;g=0;a=0;while(1){f=j[(a+x<<2)+y>>2];t=f>>31;f=t^f+t;g=(g|0)<(f|0)?f:g;d=d+f|0;a=a+1|0;if((k|0)!=(a|0)){continue}break}}f=(s|0)<2;u=q(v*q(d|0));c:{if(q(r(u))>2]>=(g|0)){f=j[f+2584>>2];if((f|0)<0|(d|0)<(f|0)){break d}}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=e}j[j[(l<<2)+o>>2]+(m<<2)>>2]=a;l=l+1|0;if((l|0)!=(h|0)){continue}break}}m=m+1|0;if((n|0)!=(m|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return o|0}function xO(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;d=oe-144|0;oe=d;m=Te((c?c:b)<<2);g=Ee(d,0,132);a:{b:{c:{d:{if((b|0)<1){break d}p=!c;while(1){i=p;d=h[a+q|0];e:{if((d|0)<1){break e}o=(d|0)>31;i=(d<<2)+g|0;l=j[i>>2];if(l>>>d|0?!o:0){break c}j[(n<<2)+m>>2]=l;e=d;f=l;f:{if(!(l&1)){while(1){j[i>>2]=f+1;if((e|0)<2){break f}e=e-1|0;i=(e<<2)+g|0;f=j[i>>2];if(!(f&1)){continue}break}}if((e|0)==1){j[g+4>>2]=j[g+4>>2]+1;break f}j[i>>2]=j[((e<<2)+g|0)-4>>2]<<1}i=1;if(o){break e}while(1){o=l;e=d+1|0;f=(e<<2)+g|0;l=j[f>>2];if((o|0)!=(l>>>1|0)){break e}j[f>>2]=j[(d<<2)+g>>2]<<1;d=e;if((d|0)!=32){continue}break}}n=i+n|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}if((n|0)!=1){break d}if(j[g+8>>2]==2){break b}}d=1;while(1){if(j[(d<<2)+g>>2]<<32-d){break c}d=d+1|0;if((d|0)!=33){continue}break}break b}ze(m);m=0;break a}if((b|0)<1){break a}f=0;i=(c|0)!=0;c=0;while(1){e=0;d=k[a+f|0];l=d<<24>>24;if((l|0)>=1){p=d>>>0>1?d:1;n=j[(c<<2)+m>>2];d=0;while(1){e=n>>>d&1|e<<1;d=d+1|0;if((p|0)!=(d|0)){continue}break}}if(!(i&!l)){j[(c<<2)+m>>2]=e;c=c+1|0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}oe=g+144|0;return m}function Ae(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ia(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){j[c>>2]=j[b>>2];j[c+4>>2]=j[b+4>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=j[b+12>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=j[b+20>>2];j[c+24>>2]=j[b+24>>2];j[c+28>>2]=j[b+28>>2];j[c+32>>2]=j[b+32>>2];j[c+36>>2]=j[b+36>>2];j[c+40>>2]=j[b+40>>2];j[c+44>>2]=j[b+44>>2];j[c+48>>2]=j[b+48>>2];j[c+52>>2]=j[b+52>>2];j[c+56>>2]=j[b+56>>2];j[c+60>>2]=j[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){j[c>>2]=j[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){h[c|0]=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=k[b+2|0];h[c+3|0]=k[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function qs(a,b,c,d,e){var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;l=oe-16|0;oe=l;j[l+12>>2]=0;f=j[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(j[a+20>>2]){break d}j[a+16>>2]=12;j[a+20>>2]=a+892;break d}m=j[a+16>>2];if((m|0)>(f|0)){d=j[a+20>>2];k=d+p(f,48)|0;break c}f=64;if((m|0)>44739241){break a}f=((m>>2)+m|0)+4|0;h=(m|0)<-16?44739242:(f|0)>44739242?44739242:f;g=j[a+20>>2];e:{if((g|0)==(a+892|0)){d=xe(d,48,0,h,0,l+12|0);j[a+20>>2]=d;f=j[l+12>>2];if(f){break a}Ae(d,g,576);break e}n=a,o=xe(d,48,m,h,g,l+12|0),j[n+20>>2]=o;f=j[l+12>>2];if(f){break a}}j[a+16>>2]=h;f=j[a+12>>2]}d=j[a+20>>2];k=d+p(f,48)|0;if((f|0)<1){break b}}f=k;while(1){f:{k=f-48|0;g=i[k>>1];if((g|0)<(b|0)){k=f;break f}if(!((b|0)!=(g|0)|j[a+24>>2]!=(c|0))){k=f;break f}g=k;h=j[g+4>>2];j[f>>2]=j[g>>2];j[f+4>>2]=h;h=j[g+44>>2];j[f+40>>2]=j[g+40>>2];j[f+44>>2]=h;h=j[g+36>>2];j[f+32>>2]=j[g+32>>2];j[f+36>>2]=h;h=j[g+28>>2];j[f+24>>2]=j[g+24>>2];j[f+28>>2]=h;h=j[g+20>>2];j[f+16>>2]=j[g+16>>2];j[f+20>>2]=h;h=j[g+12>>2];j[f+8>>2]=j[g+8>>2];j[f+12>>2]=h;f=g;if(f>>>0>d>>>0){continue}}break}f=j[a+12>>2]}j[a+12>>2]=f+1;f=0}j[e>>2]=k;oe=l+16|0;return f}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=lh(a,d<<4,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){b=0;while(1){a=f;g=n[c>>2];a:{if(q(r(g))>2]=e;a=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;e=f;g=n[c+8>>2];c:{if(q(r(g))>2]=(a|0)>1?a:1;e=f;g=n[c+12>>2];d:{if(q(r(g))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);b=0;while(1){a=f;h=q(n[c>>2]+i);e:{if(q(r(h))>2]=e;a=f;h=q(n[c+4>>2]+g);f:{if(q(r(h))>2]=e;e=f;h=n[c+8>>2];g:{if(q(r(h))>2]=(a|0)>1?a:1;e=f;h=n[c+12>>2];h:{if(q(r(h))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Vv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Pv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Nw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+m|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function BO(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;if(!a){return}b=j[a+188>>2];j[a+188>>2]=b-1;if((b|0)<=1){k=j[a>>2];b=j[a+16>>2];a:{if(!b){break a}while(1){g=j[((f<<2)+a|0)+20>>2];c=j[g>>2];b:{if(we(j[c+8>>2],116472)|!(h[c|0]&1)){break b}c=j[g+16>>2];if(!c){break b}while(1){b=j[c+8>>2];c:{if(!b){break c}c=j[b+96>>2];if(!c){break c}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break c}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break c}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}f=0;while(1){g=j[((f<<2)+a|0)+20>>2];d:{if(!(h[j[g>>2]]&1)){break d}c=j[g+16>>2];if(!c){break d}while(1){b=j[c+8>>2];e:{if(!b){break e}c=j[b+96>>2];if(!c){break e}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break e}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break e}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}while(1){as(a,j[((b<<2)+a|0)+16>>2]);b=j[a+16>>2];if(b){continue}break}}if(a){qe[j[k+8>>2]](k,a)}}}function Nr(a,b,c,d,e,f){var g=0,i=0,l=0;g=oe-432|0;oe=g;j[g+12>>2]=0;l=Ee(g+16|4,0,400);j[g+428>>2]=a;j[g+424>>2]=4096;i=g+32|0;j[g+420>>2]=i;j[g+16>>2]=f;Ee(a+24|0,0,148);j[a+156>>2]=8720;j[a+60>>2]=65536;j[a+44>>2]=2;j[a+48>>2]=65536;j[a+32>>2]=-6553600;j[a+36>>2]=3276800;j[a+172>>2]=65535;j[a+136>>2]=65535;j[a+128>>2]=65535;j[a+132>>2]=65535;j[a+16>>2]=65535;j[a+20>>2]=65535;j[a+8>>2]=65535;j[a+12>>2]=65535;j[a>>2]=65535;j[a+4>>2]=65535;c=zi(b,c,g+12|0,g+8|0);if(!c){c=j[g+12>>2];c=Dr(g+16|0,c,c+j[g+8>>2]|0)}if(!j[b+28>>2]){jf(j[b>>2],g+12|0)}a:{if(c){break a}c=0;if(j[a+132>>2]!=65535){break a}c=j[a+116>>2];if(!(!c|!j[a+120>>2])){b=Ee(a+176|0,0,360);j[a+516>>2]=3932;j[a+508>>2]=-1;j[a+380>>2]=1;j[a+372>>2]=2596864;j[a+376>>2]=7;Ee(l,0,400);j[g+428>>2]=b;j[g+424>>2]=8192;j[g+420>>2]=i;j[g+16>>2]=f;c=Fe(d,c+e|0);if(c){break a}c=_e(d,j[a+120>>2]);if(c){break a}c=Dr(g+16|0,j[d+32>>2],j[d+36>>2]);Ve(d);if(c){break a}h[b|0]=k[b|0]&254}c=0;b=j[a+524>>2];if(!b){break a}c=Fe(d,j[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=Qh(b,d,1);if(c){break a}c=vm(b,a+568|0,0)}oe=g+432|0;return c}function RM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;d=bf(1,2840);h=j[a+28>>2];m=d,n=Ce(b,24),j[m>>2]=n;m=d,n=Ce(b,24),j[m+4>>2]=n;m=d,n=Ce(b,24)+1|0,j[m+8>>2]=n;i=Ce(b,6);k=i+1|0;j[d+12>>2]=k;g=Ce(b,8);j[d+20>>2]=g;a:{if((g|0)<0){break a}b:{if((i|0)>=0){l=d+24|0;while(1){a=Ce(b,3);c=Ce(b,1);if((c|0)<0){break a}if(c){c=Ce(b,5);if((c|0)<0){break a}a=c<<3|a}j[(e<<2)+l>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;a=a>>>1|0;if(a){continue}break}}f=c+f|0;a=(e|0)<(i|0);e=e+1|0;if(a){continue}break}c:{if((f|0)>=1){c=d+280|0;a=0;while(1){e=Ce(b,8);if((e|0)<0){break c}j[c+(a<<2)>>2]=e;a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=j[h+24>>2];if((b|0)<=(g|0)){break a}if((f|0)<1){break b}c=d+280|0;a=0;while(1){e=j[c+(a<<2)>>2];if((e|0)>=(b|0)|!j[j[((e<<2)+h|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(d){break a}return 0}if(j[h+24>>2]<=(g|0)){break a}}c=1;b=j[((g<<2)+h|0)+1824>>2];a=j[b>>2];if((a|0)<1){break a}b=j[b+4>>2];while(1){c=p(c,k);if((b|0)<(c|0)){break a}f=(a|0)<2;a=a-1|0;if(!f){continue}break}j[d+16>>2]=c;return d|0}ze(d);return 0}function jv(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;a=oe-160|0;oe=a;if(ti(1352,a+72|0)){b=Le(j[58911]);i=bf(b+5|0,1);e=j[58910];d=j[65532];j[a+56>>2]=1387;j[a+52>>2]=d;j[a+48>>2]=e;ek(i,b+4|0,1379,a+48|0);l=qi(i,1392);m=qi(j[58911],1392);n=qi(1352,1392);c=j[58906];b=j[58907];e=bf(p(c,b)+1|0,1);a:{if((c|0)<1){break a}f=j[58908];d=j[f>>2];if((b|0)<(d|0)){break a}b=0;while(1){b:{if((d|0)<1){break b}d=0;k=g<<2;if(j[k+f>>2]<=0){break b}while(1){j[a+72>>2]=0;c=j[j[j[58909]+k>>2]+(d<<2)>>2];c:{if((c|0)==-1){j[a+72>>2]=6234144;break c}j[a+32>>2]=c;ek(a+72|0,4,1395,a+32|0)}c=Le(a+72|0);if(c){Ae(b+e|0,a+72|0,c);b=b+c|0}d=d+1|0;f=j[58908];c=j[k+f>>2];if((d|0)!=(c|0)){h[b+e|0]=44;b=b+1|0}if((d|0)<(c|0)){continue}break}c=j[58906]}h[b+e|0]=10;g=g+1|0;if((g|0)>=(c|0)){break a}b=b+1|0;d=j[(g<<2)+f>>2];if((d|0)<=j[58907]){continue}break}}d=Le(e);b=pl(e,1,d,l);if((b|0)!=(d|0)){j[a+20>>2]=d;j[a+16>>2]=b;ji(1399,a+16|0)}b=1;c=j[65532];j[65532]=(c|0)==99?0:c+1|0;Lh(l);c=pl(e,1,d,m);if((c|0)!=(d|0)){j[a+4>>2]=d;j[a>>2]=c;ji(1399,a)}Lh(m);ze(i);ze(e);Lh(n);Ap()}oe=a+160|0;return b}function cv(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,i=0;a:{if(j[a+8>>2]<1){break a}b:{if(j[a>>2]<=8){if((d|0)<1){break a}i=-1;while(1){e=ai(a,c);if((e|0)==-1){break a}g=j[a>>2];h=j[a+16>>2]+(p(g,e)<<2)|0;e=0;c:{switch(g-1|0){case 7:e=(f<<2)+b|0;n[e>>2]=n[h>>2]+n[e>>2];e=1;f=f+1|0;case 6:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 5:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 4:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 3:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 2:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 1:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 0:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;break;default:break c}}if((d|0)>(f|0)){continue}break}break b}if((d|0)<1){break a}while(1){i=-1;e=ai(a,c);if((e|0)==-1){break a}h=j[a>>2];if((h|0)>=1){i=j[a+16>>2]+(p(e,h)<<2)|0;e=0;while(1){g=(f<<2)+b|0;n[g>>2]=n[i+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if((d|0)>(f|0)){continue}break}}i=0}return i|0}function kN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,w=0;m=j[b+20>>2];g=j[b+8>>2];h=j[a+28>>2];e=h<<2;i=g+e|0;if(!j[i>>2]){l=j[b>>2];g=j[m+4>>2];a=j[e+j[j[j[a+64>>2]+4>>2]+28>>2]>>2];e=(a|0)/2|0;u=i,w=Te((e<<2)+4|0),j[u>>2]=w;a:{if((a|0)<=1){g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;break a}f=q(q(g|0)*q(.5));p=+q(+(l|0)/(ri(+q(f*q(.0007399999885819852)))*13.100000381469727+ri(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20))));s=q(f/q(e|0));g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;while(1){t=(a<<2)+i|0;f=q(s*q(a|0));o=v((ri(+q(f*q(.0007399999885819852)))*13.100000381469727+ri(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20)))*p);b:{if(r(o)<2147483648){k=~~o;break b}k=-2147483648}j[t>>2]=(l|0)>(k|0)?k:l-1|0;a=a+1|0;if((e|0)==(a|0)){a=e}else{l=j[b>>2];continue}break}}j[(a<<2)+i>>2]=-1;j[((h<<2)+b|0)+12>>2]=e}if(c){a=h<<2;e=j[a+g>>2];k=j[(a+b|0)+12>>2];a=j[b+4>>2];nH(d,e,k,j[b>>2],c,a,n[(a<<2)+c>>2],q(j[m+16>>2]));return 1}Ee(d,0,j[((h<<2)+b|0)+12>>2]<<2);return 0}function Ul(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0;l=oe-16|0;oe=l;e=j[a+28>>2];j[l+12>>2]=0;j[b>>2]=0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;d=h[c|0]}else{d=0}d=d<<24>>24;c=-1;a:{if(!d){break a}f=d&255;if(f&128){d=f<<8&32512;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}f=d|c<<24>>24&255}e=xe(e,2,0,f,0,l+12|0);c=0;if(j[l+12>>2]){break a}j[b>>2]=f;b:{if(!f){break b}b=0;while(1){c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}c=c<<24>>24;k=c&255;c:{if(c&128){d=af(a);i[e+(b<<1)>>1]=d;k=k&127;if(!k){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){d=af(a)+d|0;i[e+(b<<1)>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break c}g=e+(b<<1)|0;d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}d=d<<24>>24&255;i[g>>1]=d;if(!c){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){n=e+(b<<1)|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}d=(c<<24>>24&255)+d|0;i[n>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(b>>>0>>0){continue}break}}c=e}oe=l+16|0;return c}function Xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Qn(a,63454);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&132184095;c=l[b>>1];c=(c<<16|c)&132184095;c=(p(q-c|0,f)>>>5|0)+c&132184095;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function uG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,n=0,o=0;g=oe-16|0;oe=g;b=j[b>>2];j[g+12>>2]=0;a:{if(!b){d=35;break a}d=6;f=j[b+132>>2];if(!f|m[b+16>>2]<=c>>>0){break a}d=3;e=l[f+4>>1];b=(e|0)==768;c=p(c?c-1|0:k[f+106|0],b?6:4)+(b?148:118)|0;i=j[f+8>>2];if(c>>>0>=(i+(b?-4:-2)|0)-2>>>0){break a}o=j[f+160>>2];b=c+o|0;c=k[b|0]|k[b+1|0]<<8;j[a+80>>2]=c;b=b+2|0;n=k[b|0];if((e|0)==768){b=k[b+2|0]<<16|k[b+3|0]<<24|k[b+1|0]<<8}else{b=k[b+1|0]<<8}b=n|b;if(b>>>0>=i>>>0){break a}n=j[j[a+4>>2]+100>>2];e=c+7>>>3|0;j[a+84>>2]=e;c=l[f+96>>1];j[a+76>>2]=c;h[a+94|0]=1;if(i>>>0>>0){break a}c=xe(n,c,0,e,0,g+12|0);j[a+88>>2]=c;d=j[g+12>>2];if(d){break a}if(e){b=b+o|0;while(1){d=j[a+76>>2];if((d|0)>=1){i=b+d|0;d=c;while(1){h[d|0]=k[b|0];d=j[a+84>>2]+d|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}c=c+1|0;e=e-1|0;if(e){continue}break}}j[j[a+156>>2]+4>>2]=1;j[a+100>>2]=0;b=l[f+80>>1];j[a+72>>2]=1651078259;j[a+104>>2]=b;c=j[a+80>>2]<<6;j[a+24>>2]=c;j[a+40>>2]=c;c=j[a+76>>2]<<6;j[a+28>>2]=c;j[a+32>>2]=0;j[a+36>>2]=b<<6;Fi(a+24|0,c);d=j[g+12>>2]}oe=g+16|0;return d|0}function qI(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,k=0,l=0,m=0;k=j[b>>2]<<2;j[c+232>>2]=k;h=j[b+4>>2]<<2;j[c+236>>2]=h;f=j[a>>2];j[c+240>>2]=f<<2;e=j[a+4>>2];d=j[c+220>>2];j[c+248>>2]=d;i=j[c+224>>2];j[c+252>>2]=i;g=e<<2;j[c+244>>2]=g;a=c+232|0;b=0;e=i+(h-(e<<3)|0)|0;l=e>>31;d=(k-(f<<3)|0)+d|0;f=d>>31;a:{b:{e=l^e+l;d=f^d+f;d=(d|0)<(e|0)?e:d;c:{if((d|0)<64){break c}e=(g|0)<(h|0)?g:h;if(j[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(j[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){m=m+1|0;b=(d|0)>259;d=d>>2;if(b){continue}break}j[c+1008>>2]=m;b=0;d=1}while(1){d:{if(!d){bm(c,k,j[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=j[a+16>>2];j[a+32>>2]=e;g=j[a+20>>2];j[a+36>>2]=g;d=j[a+8>>2];l=(d+k|0)/2|0;j[a+8>>2]=l;f=(d+e|0)/2|0;j[a+24>>2]=f;d=j[a+12>>2];e=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=e;d=(d+g|0)/2|0;j[a+28>>2]=d;j[a+16>>2]=(f+l|0)/2;j[a+20>>2]=(d+e|0)/2;e=c+1008|0;d=m-1|0;j[e+(b<<2)>>2]=d;b=b+1|0;j[e+(b<<2)>>2]=d;a=a+16|0}e:{if((b|0)>-1){k=j[a>>2];m=j[((b<<2)+c|0)+1008>>2];if((m|0)<1){break e}d=1;continue}return 0}d=0;continue}}function Rl(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if((a|0)>(b|0)){break a}g=j[(c<<3)+e>>2]>j[(d<<3)+e>>2];l=g?c:d;i=l<<3;h=j[i+f>>2];i=j[e+i>>2];n=h-i|0;m=g?d:c;c=m<<3;k=j[c+f>>2];g=j[c+e>>2];o=k-g|0;c=a;b:{if(!((h|0)!=(k|0)?(g|0)!=(i|0):0)){while(1){h=c<<3;d=j[h+e>>2];j[f+h>>2]=(d|0)>(g|0)?(d|0)<(i|0)?k:d+n|0:d+o|0;d=(b|0)==(c|0);c=c+1|0;if(!d){continue}break}break b}q=De(h-k|0,i-g|0);d=a;while(1){c=d;p=c<<3;d=j[p+e>>2];c:{if((d|0)<=(g|0)){h=d+o|0;break c}h=d+n|0;if((d|0)>=(i|0)){break c}h=ye(d-g|0,q)+k|0}j[f+p>>2]=h;d=c+1|0;if((b|0)!=(c|0)){continue}break}}i=f+4|0;d=e+4|0;e=j[d+(m<<3)>>2]>j[d+(l<<3)>>2];f=(e?m:l)<<3;c=j[i+f>>2];f=j[d+f>>2];h=c-f|0;e=(e?l:m)<<3;g=j[e+i>>2];e=j[d+e>>2];l=g-e|0;if(!((e|0)==(f|0)|(c|0)==(g|0))){m=De(c-g|0,f-e|0);while(1){c=a;n=c<<3;a=j[n+d>>2];d:{if((a|0)<=(e|0)){k=a+l|0;break d}k=a+h|0;if((a|0)>=(f|0)){break d}k=ye(a-e|0,m)+g|0}j[i+n>>2]=k;a=c+1|0;if((b|0)!=(c|0)){continue}break}break a}while(1){k=a<<3;c=j[k+d>>2];j[i+k>>2]=(c|0)>(e|0)?(c|0)<(f|0)?g:c+h|0:c+l|0;c=(a|0)==(b|0);a=a+1|0;if(!c){continue}break}}}function KC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0;h=j[a+44>>2];i=j[a+48>>2];d=j[a+16>>2];o=k[a+11|0];b=j[a+4>>2];c=l[a+12>>1];j[a+88>>2]=0;qe[j[66043]](a);m=(p(c,1e3)|0)/(b|0)|0;if(!j[a+56>>2]){f=a- -64|0;n=(d|0)<1;while(1){qe[j[66045]](a);a:{if(j[f>>2]){bg(m);b=j[a+52>>2];if(b){Rj(b)}qe[j[66050]](a);break a}e=j[a+72>>2];b:{c:{if(j[a+60>>2]){b=d;c=e;if(n){break b}while(1){g=qe[j[66049]](a,c,b)|0;if((g|0)<=0){To(a);break c}c=c+g|0;b=b-g|0;if((b|0)>0){continue}break}break b}bg(m);b=d;c=e;if(n){break b}}Oe(c,o,b)}b=j[a+52>>2];if(b){ii(b,e,d);b=j[a+52>>2];c=0;d:{if(!b){break d}b=j[b+168>>2];c=0;e:{if(!b){break e}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)<(b|0)){break a}while(1){c=Hh(j[a+52>>2],j[a+72>>2],b);b=j[a+40>>2];if((c|0)!=(b|0)){Oe(j[a+72>>2],k[a+11|0],b)}if(!j[f>>2]){qe[h|0](i,j[a+72>>2],j[a+40>>2])}b=j[a+52>>2];c=0;f:{if(!b){break f}b=j[b+168>>2];c=0;g:{if(!b){break g}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)>=(b|0)){continue}break}break a}if(!j[f>>2]){qe[h|0](i,e,j[a+40>>2])}}if(!j[a+56>>2]){continue}break}}qe[j[66050]](a);qe[j[66044]](a);return 0}function $h(a,b){var c=0,d=0;d=oe-32|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}b:{switch(a|0){case 0:j[c+328>>2]=b;break a;case 1:j[c+332>>2]=b;break a;case 2:j[c+336>>2]=b;break a;case 3:j[c+340>>2]=b;break a;case 5:j[c+356>>2]=b;break a;case 4:j[c+348>>2]=b;break a;case 6:j[c+344>>2]=b;break a;case 7:j[c+352>>2]=b;break a;case 8:j[c+360>>2]=b;break a;case 9:j[c+364>>2]=b;break a;case 10:j[c+368>>2]=b;break a;case 11:j[c+372>>2]=b;break a;case 12:j[c+376>>2]=b;break a;case 13:j[c+380>>2]=b;break a;case 14:j[c+384>>2]=b;break a;case 15:j[c+388>>2]=b;break a;case 16:j[c+428>>2]=b;break a;case 17:j[c+392>>2]=b;break a;case 18:j[c+396>>2]=b;break a;case 19:if(b){j[c+404>>2]=4;break a}j[c+404>>2]=0;break a;case 20:if(b>>>0>=16){j[d>>2]=b;ve(98842,d);break a}j[c+400>>2]=b;break a;case 21:if(!((b|0)!=3?b>>>0<=4:0)){j[d+16>>2]=b;ve(98873,d+16|0);break a}j[c+404>>2]=b;break a;case 22:j[c+408>>2]=b;break a;case 23:j[c+420>>2]=b;break a;case 24:j[c+412>>2]=b;break a;case 25:j[c+416>>2]=b;break a;case 26:j[c+424>>2]=b;break a;default:break b}}ve(98907,0)}oe=d+32|0}function Xj(a){var b=0;a:{if(!(a&32768)){break a}b=k[262319];if(!(!b|!((k[262336]|(b|0)==1)&1))){dz();b=k[262319]}if(!b){break a}h[262319]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=k[262317];if(!(!b|!((k[262336]|(b|0)==1)&1))){b=j[67069];if(b){while(1){j[b+4>>2]=1;_A(b);b=j[67069];if(b){continue}break}}b=k[262317]}if(!b){break b}h[262317]=b-1}c:{if(!(a&512)){break c}a=a|16384;b=k[262313];if(!(!b|!((k[262336]|(b|0)==1)&1))){TA();b=k[262313]}if(!b){break c}h[262313]=b-1}d:{if(!(a&16)){break d}b=k[262308];if(!(!b|!((k[262336]|(b|0)==1)&1))){Ro();b=k[262308]}if(!b){break d}h[262308]=b-1}e:{if(!(a&32)){break e}a=a|16384;b=k[262309];if(!(!b|!((k[262336]|(b|0)==1)&1))){vj();b=k[262309]}if(!b){break e}h[262309]=b-1}f:{if(!(a&1)){break f}b=k[262304];if(!(!b|!((k[262336]|(b|0)==1)&1))){while(1){b=j[67081];if(b){j[67081]=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=k[262304]}if(!b){break f}h[262304]=b-1}g:{if(!(a&16384)){break g}a=k[262318];if(!(!a|!((k[262336]|(a|0)==1)&1))){BB();ZB();li(66627,170,0);a=k[262318]}if(!(a&255)){break g}h[262318]=a-1}}function hj(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;i=oe-16|0;oe=i;if(e){j[e>>2]=-1}o=(c|0)==-21;q=o?b-21|0:b;r=(c|0)<0?0:c;l=j[a+8>>2];g=j[a>>2];a:{b:{if(g){b=l;while(1){if(!(j[b>>2]!=(q|0)|j[b+4>>2]!=(r|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}n=g+1|0;b=j[a+4>>2];c:{if(n>>>0>>0){break c}j[i+4>>2]=0;if(b>>>0>=n>>>0){break c}f=b;b=g+8&-8;l=xe(d,12,f,b,l,i+4|0);j[a+8>>2]=l;f=j[i+4>>2];if(f){break a}j[a+4>>2]=b}j[a>>2]=n;b=p(g,12)+l|0;j[b+8>>2]=c>>31&(o?3:1);j[b+4>>2]=r;j[b>>2]=q}b=j[a+12>>2];d:{e:{if(!b){f:{if(j[a+16>>2]){b=j[a+20>>2];break f}j[i+8>>2]=0;b=xe(d,16,0,8,j[a+20>>2],i+8|0);j[a+20>>2]=b;f=j[i+8>>2];if(f){break a}j[a+16>>2]=8}j[b+12>>2]=0;j[b>>2]=0;j[a+12>>2]=1;break e}b=(j[a+20>>2]+(b<<4)|0)-16|0;if(m[b>>2]>g>>>0){break d}}a=j[b+4>>2];j[i+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;s=b,t=xe(d,1,f,a,j[b+8>>2],i+12|0),j[s+8>>2]=t;f=j[i+12>>2];if(f){break a}j[b+4>>2]=a<<3}j[b>>2]=g+1}a=j[b+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);f=0;if(!e){break a}j[e>>2]=g}oe=i+16|0;return f}function II(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=3;a:{if((d|0)<0){break a}f=j[a+8>>2];i=j[a+12>>2];o=l[i>>1];if((e|0)<0|m[f>>2]>>0){break a}i=l[i+2>>1];if(m[f+4>>2]>>0){break a}q=p(i,k[a+18|0]);if((p(q,o)+7>>>3|0)+b>>>0>c>>>0){break a}if(o){r=d&7;a=8-r|0;n=a>>>0>q>>>0?q:a;v=(255<>2];i=j[f+12>>2]+(p(t,e)+(d>>>3|0)|0)|0;w=q-n|0;u=8-n|0;e=0;f=0;d=o;while(1){s=d;b:{if(!r){g=b;d=i;a=q;break b}c:{if((o|0)==(s|0)){e=k[b|0];b=b+1|0;a=r;break c}if((f|0)<(n|0)){a=f+u|0;if(b>>>0>=c>>>0){break c}e=k[b|0]|e;b=b+1|0;a=f+u|0;break c}e=(e&65280)>>>8|0;a=f-n|0}f=a;g=b;h[i|0]=k[i|0]|(e&65535)>>>f&v;e=e<<8;d=i+1|0;a=w}if((a|0)>=8){while(1){b=k[g|0]|e;h[d|0]=k[d|0]|(b&65535)>>>f;d=d+1|0;g=g+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(f|0)){if(c>>>0<=g>>>0){b=g}else{e=k[g|0]|e;b=g+1|0}h[d|0]=k[d|0]|(e&65535)>>>f&65280>>>a;e=e<<8;f=(f-a|0)+8|0;break d}h[d|0]=k[d|0]|65280>>>a&(e&65535)>>>f;f=f-a|0}b=g}i=i+t|0;d=s-1|0;if((s|0)>1){continue}break}}g=0}return g|0}function Wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Qn(a,64478);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&65043487;c=l[b>>1];c=(c<<16|c)&65043487;c=(p(q-c|0,f)>>>5|0)+c&65043487;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function JC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=j[a+44>>2];f=j[a+48>>2];j[a+88>>2]=0;qe[j[66043]](a);if(!j[a+56>>2]){g=a- -64|0;while(1){qe[j[66045]](a);c=j[a+40>>2];a:{if(!(j[a+52>>2]|!j[a+60>>2])){b=qe[j[66048]](a)|0;if(b){break a}}b=j[a+72>>2]}b:{if(j[g>>2]){Oe(b,k[a+11|0],c);break b}qe[e|0](f,b,c)}d=j[a+52>>2];c:{if(d){ii(d,b,c);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>2]){break c}while(1){f:{g:{h:{if(!j[a+60>>2]){b=j[a+52>>2];break h}c=qe[j[66048]](a)|0;b=j[a+52>>2];if(c){break g}}Hh(b,j[a+72>>2],j[a+16>>2]);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break f}d=Hh(b,c,j[a+16>>2]);b=j[a+16>>2];if((d|0)!=(b|0)){Oe(c,k[a+11|0],b)}qe[j[66047]](a);qe[j[66046]](a)}c=j[a+52>>2];b=0;i:{if(!c){break i}c=j[c+168>>2];b=0;j:{if(!c){break j}b=j[c+16>>2]}}if((b|0)>=j[a+16>>2]){continue}break}break c}if(j[a+72>>2]==(b|0)){bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break c}qe[j[66047]](a);qe[j[66046]](a)}if(!j[a+56>>2]){continue}break}}qe[j[66051]](a);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]<<1);qe[j[66044]](a);return 0}function dE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;sP(+b);c=pP(1)|0;c=c&2147483647;e=!(pP(0)|0)&(c|0)==2146435072|c>>>0<2146435072;sP(+a);c=pP(1)|0;d=pP(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}sP(+b);d=pP(1)|0;e=pP(0)|0;c=d;h=c;if(!(e|c-1072693248)){return ri(a)}sP(+a);d=pP(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(pP(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return o[(c<<3)+226640>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=ri(r(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return o[(c<<3)+226672>>3]}a=3.141592653589793}return a}sP(1.5707963267948966);c=pP(1)|0;e=pP(0)|0;sP(+a);d=pP(1)|0;pP(0)|0;qP(0,e|0);qP(1,c&2147483647|d&-2147483648);return+rP()}function HH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;c=bf(1,3208);k=j[a+28>>2];e=Ee(c,0,3208);a:{if(j[a+4>>2]<1){break a}c=Ce(b,1);if((c|0)<0){break a}b:{if(c){c=Ce(b,4);h=c+1|0;j[e>>2]=h;if((c|0)>=0){break b}break a}h=1;j[e>>2]=1}c=Ce(b,1);if((c|0)<0){break a}if(c){i=Ce(b,8);j[e+1156>>2]=i+1;if((i|0)<0){break a}l=e+2184|0;m=e+1160|0;d=j[a+4>>2];c=0;while(1){f=c<<2;d=d-1|0;g=Ce(b,d?32-s(d)|0:0);j[f+m>>2]=g;n=f+l|0;d=j[a+4>>2]-1|0;f=Ce(b,d?32-s(d)|0:0);j[n>>2]=f;if((g|0)==(f|0)|(g|f)<0){break a}d=j[a+4>>2];if((g|0)>=(d|0)|(d|0)<=(f|0)){break a}g=(c|0)>=(i|0);c=c+1|0;if(!g){continue}break}}if(Ce(b,2)){break a}c:{if((h|0)>=2){if(j[a+4>>2]<1){break c}g=e+4|0;c=0;while(1){d=Ce(b,4);j[g+(c<<2)>>2]=d;if((d|0)<0|(d|0)>=(h|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}if((h|0)>=1){break c}return e|0}d=e+1092|0;g=e+1028|0;c=0;while(1){Ce(b,8);f=c<<2;a=Ce(b,8);j[f+g>>2]=a;if((a|0)<0|(a|0)>=j[k+16>>2]){break a}a=Ce(b,8);j[d+f>>2]=a;if((a|0)<0|(a|0)>=j[k+20>>2]){break a}c=c+1|0;if((h|0)>(c|0)){continue}break}return e|0}ze(e);return 0}function nj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;e=oe-16|0;d=1;a:{b:{c:{switch(j[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){f=d;while(1){i=p(f,12)+b|0;h=i-12|0;if(j[i>>2]>2]){j[e+8>>2]=j[i+8>>2];g=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=g;j[i+8>>2]=j[h+8>>2];g=j[h+4>>2];j[i>>2]=j[h>>2];j[i+4>>2]=g;j[h+8>>2]=j[e+8>>2];g=j[e+4>>2];j[h>>2]=j[e>>2];j[h+4>>2]=g;f=f-1|0;if(f){continue}}break}d=d+1|0;k=j[a>>2];if(d>>>0>>0){continue}break}d=1;if(k>>>0<2){break b}m=k-1|0;n=j[b>>2];e=0;while(1){i=(d|0)==(m|0);h=j[p(d,12)+b>>2]-n|0;d:{if((h|0)<=(c|0)?!i:0){break d}l=0;f=e;g=e;d=((c|0)>=(h|0)&i)+d|0;if(e>>>0>>0){while(1){h=p(f,12)+b|0;g=j[h>>2];j[h>>2]=0;l=g+l|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}g=d}j[p(e,12)+b>>2]=(l|0)/(g|0);if(d>>>0>=m>>>0){break d}e=d+1|0;n=j[p(e,12)+b>>2]}d=d+1|0;if(k>>>0>d>>>0){continue}break}d=1;if(k>>>0<=1){break b}f=1;while(1){e=p(f,12)+b|0;if(j[e>>2]){c=j[e+4>>2];g=p(d,12)+b|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;j[g+8>>2]=j[e+8>>2];k=j[a>>2];d=d+1|0}f=f+1|0;if(k>>>0>f>>>0){continue}break}}j[a>>2]=d}}function Er(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0;d=oe-48|0;oe=d;j[d+40>>2]=1;c=j[a+11732>>2];j[d+8>>2]=j[a+11728>>2];j[d+12>>2]=c;f=a+8|0;if(!k[a+20|0]){c=j[a+11740>>2];e=j[a+11736>>2];a:{b:{c:{if(k[a+11664|0]){h[a+11665|0]=1;ch(a,e,c);if(k[a+11744|0]){g=j[a+11716>>2];j[d>>2]=j[a+11712>>2];j[d+4>>2]=g;Ph(a,f,a+11704|0,d,1)}h[a+11744|0]=0;i[a+11664>>1]=0;j[a+11736>>2]=e;j[a+11740>>2]=c;j[a+11720>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c;if(!k[a+20|0]){break c}c=j[a+11676>>2];if(k[c+5|0]){break b}break a}j[a+11740>>2]=c;j[a+11720>>2]=e;j[a+11736>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c}c=j[a+11676>>2]}yh(f,j[a+11668>>2],j[a+11672>>2],c,j[a+11680>>2],0)}Ae(a+3876|0,f,3868)}c=j[b+4>>2];e=ye(j[a+11644>>2],j[b>>2]);g=ye(j[a+11648>>2],c);c=Sg(f,c);e=e+g|0;l=d,m=(ye(j[j[a>>2]+60>>2],e)+ye(j[j[a>>2]+68>>2],c)|0)+j[a+11656>>2]|0,j[l+16>>2]=m;l=d,m=(ye(j[j[a>>2]- -64>>2],e)+ye(j[j[a>>2]+72>>2],c)|0)+j[a+11660>>2]|0,j[l+20>>2]=m;c=j[a+4>>2];qe[j[c>>2]](c,d+8|0);c=j[d+20>>2];j[a+11728>>2]=j[d+16>>2];j[a+11732>>2]=c;c=j[b+4>>2];j[a+11704>>2]=j[b>>2];j[a+11708>>2]=c;oe=d+48|0}function Yi(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);m=k[a+20|0]|k[a+21|0]<<8|(k[a+22|0]<<16|k[a+23|0]<<24);n=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24);e=k[a+72|0]|k[a+73|0]<<8|(k[a+74|0]<<16|k[a+75|0]<<24);f=k[a+76|0]|k[a+77|0]<<8|(k[a+78|0]<<16|k[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}l=w(+q(q(e<<9)/q(f|0)));if(r(l)<2147483648){d=~~l;break a}d=-2147483648}d=(d|0)<(2147483647/(b|0)|0)?p(d,b):0;d=Xe(d?d:1,4);if(!d){Be(0);return}o=e;e=g+i|0;b=Mo(b,o,f,d,d,i,g,e,p(m,n)-g|0);h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Ri(k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24),e,k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24));b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,c)}}function Ro(){var a=0,b=0,c=0;if(j[66039]){Af(j[66072]);Af(j[66073]);Af(j[66074]);Af(j[66075]);Af(j[66076]);Af(j[66077]);Af(j[66078]);Af(j[66079]);Af(j[66080]);Af(j[66081]);Af(j[66082]);Af(j[66083]);Af(j[66084]);Af(j[66085]);Af(j[66086]);Af(j[66087]);a=j[66068];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66066]=0;j[66068]=0;a=j[66069];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66067]=0;j[66069]=0;qe[j[66056]]();a=j[66063];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}Oe(264156,0,124);Oe(264288,0,64);a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[66092];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66092]=0;j[66091]=0}}function WL(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,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;i=j[c>>2];j[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=k[a+3|0];h=k[a+4|0];a=j[c+92>>2];d=h+a|0;if(d>>>0>m[c+96>>2]){l=a;a=d+3&-4;t=c,u=xe(i,36,l,a,j[c+100>>2],g+12|0),j[t+100>>2]=u;d=j[g+12>>2];if(d){break a}j[c+96>>2]=a}d=8;l=f&1;n=f&2;o=f&4;q=f&8;r=f&16;if(p((l|8)+(n>>>1|0)+(o>>>2)+(q>>>3)+(r>>>4)|0,h)+e>>>0>b>>>0){break a}i=j[c+92>>2];if(h){a=j[c+100>>2]+p(i,36)|0;while(1){b=a;b:{if(l){d=e+2|0;e=k[e+1|0]|k[e|0]<<8;break b}d=e+1|0;e=k[e|0]}j[b>>2]=e;b=a;c:{if(n){e=d+2|0;d=k[d+1|0]|k[d|0]<<8;break c}e=d+1|0;d=k[d|0]}j[b+4>>2]=d;j[a+8>>2]=k[e|0];d:{if(o){d=e+4|0;f=3;b=k[e+2|0]<<8|k[e+1|0]<<16;break d}d=e+3|0;f=2;b=k[e+1|0]<<8}j[a+20>>2]=b|k[e+f|0];e:{if(q){e=k[d+1|0]<<8|k[d|0]<<16;f=2;b=d+3|0;break e}e=k[d|0]<<8;f=1;b=d+2|0}j[a+24>>2]=k[d+f|0]|e;d=a;f:{if(r){e=b+2|0;b=k[b+1|0]|k[b|0]<<8;break f}e=b+1|0;b=k[b|0]}j[d+28>>2]=b;a=a+36|0;s=s+1|0;if((s|0)!=(h|0)){continue}break}d=j[g+12>>2]}else{d=0}j[c+92>>2]=i+h}oe=g+16|0;return d|0}function PC(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(_i(16)){Ro()}Oe(264156,0,124);Oe(264288,0,64);a=Mf(64464);a:{b:{while(1){if((b|0)==3){break b}c=j[(b<<2)+64448>>2];c:{d:{if(a){e=0;if(!Uk(j[c>>2],a,Le(a))){break d}break c}e=0;if(j[c+12>>2]){break c}}Oe(264156,0,124);j[66039]=j[c>>2];j[66040]=j[c+4>>2];f=1;e=qe[j[c+8>>2]](264164)|0}b=b+1|0;if(!e){continue}break}g=264252,h=Ki(),j[g>>2]=h;e:{if(!j[66058]){break e}if(!j[66053]){j[66053]=120}if(j[66054]){break e}j[66054]=120}a=j[66041];if(!a){j[66041]=121;a=121}if(!j[66042]){j[66042]=122}if(!j[66043]){j[66043]=123}if(!j[66044]){j[66044]=124}if(!j[66045]){j[66045]=125}if(!j[66046]){j[66046]=126}if(!j[66047]){j[66047]=127}if(!j[66048]){j[66048]=128}if(!j[66049]){j[66049]=129}if(!j[66050]){j[66050]=130}if(!j[66051]){j[66051]=131}if(!j[66052]){j[66052]=132}if(!j[66053]){j[66053]=133}if(!j[66054]){j[66054]=134}if(!j[66055]){j[66055]=135}b=0;if(!j[66056]){j[66056]=136}qe[a|0]();break a}f:{if(f){break f}if(a){j[d>>2]=a;ve(64480,d);break f}ve(64512,0)}Oe(264156,0,124);b=-1}oe=d+16|0;return b}function Sm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=p(b,1468)+a|0;g=j[c+56>>2];if((g|0)<1){break a}d=j[a+24>>2];if((d|0)<1){break a}a=j[a+28>>2];q=a+p(d,40)|0;k=b?8:4;r=k|16;e=j[c- -64>>2];m=e+p(g,48)|0;h=m-48|0;c=(b|0)==1;s=c?14:12;t=c?8:4;u=b?20:16;while(1){if(!(l[a>>1]&r)){b=j[a+t>>2];v=a+u|0;d=i[e>>1];f=i[a+s>>1];c=(b+j[e+8>>2]|0)-j[e+4>>2]|0;b:{if((d|0)>=(f|0)){break b}c=(b+j[h+8>>2]|0)-j[h+4>>2]|0;if(i[h>>1]<=(f|0)){break b}b=0;c:{c=g;d:{if((c|0)<=8){e:{if((d|0)>=(f|0)){break e}while(1){b=b+1|0;if((g|0)==(b|0)){d=l[m>>1];b=g;break e}d=i[p(b,48)+e>>1];if((f|0)>(d|0)){continue}break}}if((d&65535)!=(f&65535)){break d}c=j[(p(b,48)+e|0)+8>>2];break b}while(1){d=b+c>>1;n=p(d,48)+e|0;o=i[n>>1];f:{if((o|0)>(f|0)){c=d;break f}if((f|0)<=(o|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=p(b,48)+e|0;b=c-48|0;d=j[c-32>>2];if(!d){d=De(j[c+8>>2]-j[b+8>>2]|0,i[c>>1]-i[b>>1]|0);j[b+16>>2]=d}c=j[b+8>>2]+ye(f-i[b>>1]|0,d)|0;break b}c=j[n+8>>2]}j[v>>2]=c;i[a>>1]=l[a>>1]|k}a=a+40|0;if(q>>>0>a>>>0){continue}break}}}function FB(){var a=0,b=0,c=0,d=0;a:{if(!j[67021]){break a}a=j[66371];if(!a|!(k[a+49|0]&64)){break a}if((qe[j[67021]](0)|0)==-1){break a}j[a+48>>2]=j[a+48>>2]&-16385}gl(0);a=j[67051];j[67051]=1;b:{if((a|0)==1){break b}b=j[67015];c:{if(j[67035]){break c}a=j[(j[67024]?268200:268196)>>2];if(!a){break c}if(!b){break b}qe[b|0](a)|0;break b}if(!b){break b}qe[b|0](0)|0}b=j[67048];if(b){while(1){d=b;b=j[b>>2];c=j[67049];d:{if((d|0)==(c|0)){break d}e:{if(j[67050]!=(d|0)){break e}f:{if(c){j[67050]=c;break f}c=j[67024]?d:0}a=j[67015];if(!(j[67035]|(!c|!j[67051]))){if(!a){break e}qe[a|0](c)|0;break e}if(!a){break e}qe[a|0](0)|0}c=j[67048];if(!c){break d}g:{if((c|0)==(d|0)){j[67048]=j[d>>2];break g}while(1){a=c;c=j[a>>2];if(!c){break d}if((c|0)!=(d|0)){continue}break}j[a>>2]=j[d>>2]}a=j[67017];if(!a){break d}qe[a|0](d)}if(b){continue}break}}j[67050]=0;j[67048]=0;b=j[67049];h:{if(!b){break h}a=j[67017];if(!a){break h}qe[a|0](b);j[67049]=0}a=j[67047];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67047]=0}li(71418,173,268052);li(71447,174,268052)}function kJ(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];d=j[a+532>>2];a:{if(!d){break a}b=j[d+80>>2];if(b){qe[b|0](a)}b=j[d+100>>2];if(!b){break a}qe[b|0](a)}if(k[a+780|0]){if(j[a+760>>2]){jf(j[a+104>>2],a+760|0)}j[a+772>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0}jf(j[a+104>>2],a+740|0);j[a+752>>2]=0;j[a+756>>2]=0;j[a+744>>2]=0;j[a+748>>2]=0;b=c;e=j[a+144>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+140>>2]=0;j[a+144>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+152>>1]=0;j[a+156>>2]=0;jf(j[a+104>>2],a+500|0);j[a+504>>2]=0;b=j[a+104>>2];jf(b,a+680|0);jf(b,a+688|0);j[a+692>>2]=0;j[a+684>>2]=0;if(k[a+292|0]){b=c;e=j[a+332>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+332>>2]=0;b=j[a+336>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+292|0]=0;j[a+336>>2]=0}b=j[a+544>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+542>>1]=0;j[a+544>>2]=0;if(d){qe[j[d+52>>2]](a)}b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;j[a+32>>2]=0;b=j[a+664>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+532>>2]=0;j[a+664>>2]=0}}function Ig(a,b,c){var d=0,e=0,f=0,g=0;g=oe-32|0;oe=g;a:{if(!(k[a|0]?a:0)){j[g>>2]=64312;ve(64286,g);break a}if(!b){j[g+16>>2]=64317;ve(64286,g+16|0);break a}d=j[66036];b:{if(!d){break b}while(1){if(!cf(a,j[d>>2])){e=j[d+12>>2];if(!e){break b}f=d+12|0;d=0;while(1){if(!(j[e>>2]!=(b|0)|j[e+4>>2]!=(c|0))){j[(d?d+8|0:f)>>2]=j[e+8>>2];if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break b}d=e;e=j[d+8>>2];if(e){continue}break}break b}d=j[d+16>>2];if(d){continue}break}}f=qe[j[57972]](12)|0;if(f){j[57976]=j[57976]+1}if(!f){Be(0);break a}j[f+4>>2]=c;j[f>>2]=b;d=j[66036];c:{if(d){while(1){if(!cf(a,j[d>>2])){break c}d=j[d+16>>2];if(d){continue}break}}d=qe[j[57972]](20)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break a}e=Uf(a);j[d+12>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d>>2]=e;j[d+16>>2]=j[66036];j[66036]=d}j[f+8>>2]=j[d+12>>2];j[d+12>>2]=f;e=Mf(a);d=j[66036];d:{if(!d){break d}while(1){if(!cf(a,j[d>>2])){if(j[d+8>>2]!=2?e:0){break d}e=j[d+4>>2];break d}d=j[d+16>>2];if(d){continue}break}}qe[b|0](c,a,e,e)}oe=g+32|0}function Zr(a,b,c,d,e,f,g,h){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=oe-16|0;oe=k;m=j[a>>2];a=Fe(b,c);j[k+12>>2]=a;a:{if(a){break a}n=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}while(1){o=sf(b,k+12|0);a=j[k+12>>2];if(a){break a}p=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}q=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}if((e|0)!=(o|0)){a=1;o=(l|0)==(n|0);l=l+1|0;if(o){break a}continue}break}j[h>>2]=p+1;a=Fe(b,c+q|0);j[k+12>>2]=a;if(a){break a}l=0;c=xe(m,8,0,j[h>>2],0,k+12|0);a=j[k+12>>2];if(a){break a}e=j[h>>2];b:{if((e|0)>=1){while(1){a=c+(l<<3)|0;r=a,s=qf(b,k+12|0),i[r>>1]=s;if(j[k+12>>2]){break b}e=xf(b,2);j[k+12>>2]=e;if(e){break b}e=sf(b,k+12|0);if(j[k+12>>2]){break b}n=xf(b,4);j[k+12>>2]=n;if(n){break b}j[a+4>>2]=e&16777215;e=j[h>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}}a=0;b=m;if(f){eg(c,e,8,585);e=j[h>>2]}b=xe(b,4,0,e,0,k+12|0);if(j[k+12>>2]){break b}if(j[h>>2]>=1){while(1){j[b+(a<<2)>>2]=j[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}j[g>>2]=b;j[k+12>>2]=0}if(c){qe[j[m+8>>2]](m,c)}a=j[k+12>>2]}oe=k+16|0;return a}function eg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-208|0;oe=e;j[e+8>>2]=1;j[e+12>>2]=0;a:{i=p(b,c);if(!i){break a}j[e+16>>2]=c;j[e+20>>2]=c;k=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;j[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+k|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){tl(a,c,d,b,e+16|0);ak(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(m[(e+16|0)+(h<<2)>>2]>=f-a>>>0){$j(a,c,d,e+8|0,b,0,e+16|0);break d}tl(a,c,d,b,e+16|0)}if((b|0)==1){_j(e+8|0,1);b=0;break c}_j(e+8|0,h);b=1}g=j[e+8>>2]|1;j[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}$j(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(j[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=gP(j[e+8>>2]-1|0);if(!f){f=gP(j[e+12>>2]);f=f?f+32|0:0}ak(h,f);g=j[e+8>>2];b=b+f|0;break e}_j(e+8|0,2);j[e+8>>2]=j[e+8>>2]^7;ak(e+8|0,1);h=a+k|0;f=b-2|0;$j(h-j[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);_j(e+8|0,1);g=j[e+8>>2]|1;j[e+8>>2]=g;$j(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+k|0;continue}}oe=e+208|0}function pt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-16|0;oe=e;b=-131;a:{if(j[a+88>>2]!=1){break a}j[a+88>>2]=2;b:{if(j[a+4>>2]){b=j[a+60>>2];g=j[b>>2];h=j[b+4>>2];j[e+8>>2]=-1;j[e+12>>2]=-1;i=j[a+456>>2];j[e+4>>2]=i;f=cn(a,j[a+72>>2]);k=pe;b=j[a+708>>2];c:{if(!(j[a+716>>2]?b:0)){j[a+8>>2]=-1;j[a+12>>2]=-1;j[a+16>>2]=-1;j[a+20>>2]=-1;b=-131;break c}qe[b|0](j[a>>2],0,0,2)|0;c=qe[j[a+716>>2]](j[a>>2])|0;b=c>>31;d=c;c=b;j[a+8>>2]=d;j[a+12>>2]=b;j[a+16>>2]=d;j[a+20>>2]=b;if((d|0)==-1){b=-131;break c}b=j[a+64>>2];b=Ak(a,d,c,b+8|0,j[b+4>>2],e+4|0,e+8|0);c=pe;d=c;if(!((c|0)<-1?1:(c|0)<=-1)){c=b;b=j[a+64>>2];if((Zm(a,0,0,g,h,c,d,j[e+8>>2],j[e+12>>2],j[e+4>>2],b+8|0,j[b+4>>2],0)|0)<0){b=-128;break c}b=j[a+56>>2];j[b>>2]=0;j[b+4>>2]=0;j[j[a+64>>2]>>2]=i;b=j[a+60>>2];j[b>>2]=g;j[b+4>>2]=h;b=j[a+68>>2];j[b>>2]=f;j[b+4>>2]=k;d=j[b+8>>2];c=j[b+12>>2]-(k+(f>>>0>d>>>0)|0)|0;f=d-f|0;d=f;f=(c|0)>0?1:(c|0)>=0?!!f:0;j[b+8>>2]=f?d:0;j[b+12>>2]=f?c:0;b=Xm(a,g,h)}if(!b){break b}}j[a>>2]=0;pj(a);break a}j[a+88>>2]=3}b=0}oe=e+16|0;return b}function DO(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,s=0,t=0,u=0,w=0;l=oe-16|0;oe=l;f=-131;e=j[a+88>>2];a:{if((e|0)<2){break a}m=a+480|0;b:{while(1){if((e|0)==4){e=Qi(m,l+12|0);if(e){break b}}e=rs(a);g=(e|0)<1;h=(e|0)==-2?0:g?e:h;if(!g){e=j[a+88>>2];continue}break}f=h;break a}if((e|0)<1){f=e;break a}c:{if(j[a+4>>2]){g=j[a+72>>2];k=g;if(j[a+88>>2]<3){break c}k=g+(j[a+96>>2]<<5)|0;break c}k=j[a+72>>2]}o=j[k+4>>2];s=o<<1;c=(c|0)/(s|0)|0;g=(c|0)<(e|0)?c:e;if((g|0)<1){break a}if((o|0)>=1){f=0;u=j[l+12>>2];while(1){e=(f<<1)+b|0;w=j[(f<<2)+u>>2];h=0;while(1){k=e;t=v(+q(n[(h<<2)+w>>2]*q(32768))+.5);d:{if(r(t)<2147483648){c=~~t;break d}c=-2147483648}c=(c|0)>-32768?c:-32768;i[k>>1]=(c|0)<32767?c:32767;e=(o<<1)+e|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}f=f+1|0;if((o|0)!=(f|0)){continue}break}}b=g+j[m+24>>2]|0;if(!((b|0)>j[m+20>>2]?g:0)){j[m+24>>2]=b}c=g<>2]+28>>2]+3656>>2];e=c;f=e+j[a+80>>2]|0;c=j[a+84>>2]+(e>>31)|0;j[a+80>>2]=f;j[a+84>>2]=e>>>0>f>>>0?c+1|0:c;if(d){j[d>>2]=j[a+96>>2]}f=p(g,s)}oe=l+16|0;return f}function uL(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;h=j[b>>2];f=j[h+4>>2];g=p(j[a+36>>2],e)>>1;g=((f|0)<(g|0)?f:g)-j[h>>2]|0;a:{if((g|0)<1){break a}f=0;k=j[j[b+16>>2]>>2];m=j[h+8>>2];g=(g|0)/(m|0)|0;n=Ef(a,((k+g|0)-1|0)/(k|0)<<2);b:{if((e|0)<1){break b}while(1){if(j[(f<<2)+d>>2]){break b}f=f+1|0;if((f|0)!=(e|0)){continue}break}break a}if((e|0)==(f|0)){break a}f=j[b+8>>2];if((f|0)<1){break a}o=a+4|0;a=0;q=(g|0)<1;while(1){if(!q){r=1<>2],o);if((d|0)==-1|(d|0)>=j[h+16>>2]){break a}d=j[j[b+28>>2]+(d<<2)>>2];j[(l<<2)+n>>2]=d;if(!d){break a}}c:{if((k|0)<1|(f|0)>=(g|0)){break c}s=(l<<2)+n|0;d=0;while(1){i=j[j[s>>2]+(d<<2)>>2]<<2;d:{if(!(j[(i+h|0)+24>>2]&r)){break d}i=j[j[i+j[b+20>>2]>>2]+(a<<2)>>2];if(!i){break d}if((Uu(i,c,j[h>>2]+p(f,m)|0,e,o,m)|0)==-1){break a}}f=f+1|0;d=d+1|0;if((k|0)<=(d|0)){break c}if((f|0)<(g|0)){continue}break}}l=l+1|0;if((f|0)<(g|0)){continue}break}f=j[b+8>>2]}a=a+1|0;if((f|0)>(a|0)){continue}break}}return 0}function yq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=q(0),z=q(0),A=q(0),B=0;s=a<<1;r=p(a,b);if((b|0)>=1){j=s-1|0;g=r;while(1){h=(f<<2)+c|0;k=(g<<2)+c|0;n[(f<<3)+d>>2]=n[h>>2]+n[k>>2];n[(j+(f<<1)<<2)+d>>2]=n[h>>2]-n[k>>2];g=a+g|0;f=a+f|0;i=i+1|0;if((i|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){f=0;j=r;while(1){g=f<<1;k=a+f|0;i=k<<1;h=j;m=2;while(1){o=h<<2;t=g+2|0;u=f+2|0;v=(u<<2)+c|0;w=(m<<2)+e|0;l=n[w-8>>2];h=h+2|0;x=n[(h<<2)+c>>2];y=n[(c+o|0)+4>>2];z=n[w-4>>2];A=q(q(l*x)-q(y*z));n[(t<<2)+d>>2]=n[v>>2]+A;o=i-2|0;n[(o<<2)+d>>2]=A-n[v>>2];l=q(q(l*y)+q(z*x));f=(f<<2)+c|0;n[(g<<2|4)+d>>2]=l+n[f+4>>2];n[((i<<2)+d|0)-12>>2]=n[f+4>>2]-l;g=t;f=u;i=o;m=m+2|0;if((m|0)<(a|0)){continue}break}j=a+j|0;f=k;B=B+1|0;if((B|0)!=(b|0)){continue}break}}if(((a|0)%2|0)==1){break a}}if((b|0)<1){break a}f=a-1|0;g=r+f|0;h=0;i=a;while(1){e=(i<<2)+d|0;n[e>>2]=-n[(g<<2)+c>>2];n[e-4>>2]=n[(f<<2)+c>>2];f=a+f|0;g=a+g|0;i=i+s|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function Dt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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;if(b){u=a-1|0;a=p(l,12);v=a+110882|0;w=a+110880|0;x=a+110890|0;y=a+110888|0;z=a+110886|0;A=a+110884|0;while(1){a=p(j,o)+h|0;l=p(g,o);t=l+e|0;n=d+l|0;l=p(f,o)+c|0;a:{if(!u){q=0;break a}B=i[v>>1];C=k[w|0];E=i[x>>1];F=i[y>>1];G=i[z>>1];H=i[A>>1];q=0;while(1){r=k[t|0]-128|0;s=k[n|0]-128|0;D=p(r,F)+p(s,G)|0;m=p(k[l|0]-C|0,B)- -8192|0;r=p(r,H);s=p(s,E);i[a>>1]=k[(D+m>>6)+110928|0]<<3&2016|k[(r+m>>6)+110928|0]<<8&63488|k[(s+m>>6)+110928|0]>>>3;m=p(k[l+2|0]-C|0,B)- -8192|0;i[a+2>>1]=k[(m+D>>6)+110928|0]<<3&2016|k[(m+r>>6)+110928|0]<<8&63488|k[(m+s>>6)+110928|0]>>>3;t=t+4|0;n=n+4|0;l=l+4|0;a=a+4|0;q=q+2|0;if(u>>>0>q>>>0){continue}break}}o=o+1|0;if((q|0)==(u|0)){m=a;a=p(i[v>>1],k[l|0]-k[w|0]|0)- -8192|0;n=k[n|0]-128|0;l=k[t|0]-128|0;i[m>>1]=k[((a+p(n,i[z>>1])|0)+p(l,i[y>>1])>>6)+110928|0]<<3&2016|k[(a+p(l,i[A>>1])>>6)+110928|0]<<8&63488|k[(a+p(n,i[x>>1])>>6)+110928|0]>>>3}if((b|0)!=(o|0)){continue}break}}}function aJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{b:{if(!a){break b}c=j[a+64>>2];if(!c){break b}f=j[c+104>>2];e=j[c+4>>2];if(!e){e=0;c=1;break a}g=j[e+28>>2];d=1;c=1;break a}c=0}c:{if(!a|!g|(!d|!c)){break c}if(!f){break c}Gn(a);d=j[b+4>>2];c=a?a+4|0:0;h=j[b>>2];j[c+12>>2]=h;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=d;j[c+8>>2]=h;d=-135;d:{if(Ce(c,1)){break d}d=Ce(c,j[f+44>>2]);if((d|0)==-1){break c}j[a+40>>2]=d;f=(d<<2)+g|0;d=j[f+32>>2];if(!d){break c}d=j[d>>2];j[a+28>>2]=d;e:{if(d){i=a,k=Ce(c,1),j[i+24>>2]=k;c=Ce(c,1);j[a+32>>2]=c;d=-136;if((c|0)==-1){break d}c=j[a+28>>2];break e}j[a+32>>2]=0;j[a+24>>2]=0;c=0}d=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=d;d=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=d;j[a+44>>2]=j[b+12>>2];j[a+36>>2]=j[(c<<2)+g>>2];i=a,k=Ef(a,j[e+4>>2]<<2),j[i>>2]=k;if(j[e+4>>2]>=1){b=0;while(1){c=Ef(a,j[a+36>>2]<<2);j[j[a>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}b=a;a=(j[j[f+32>>2]+12>>2]<<2)+g|0;d=qe[j[j[(j[a+288>>2]<<2)+3836>>2]+16>>2]](b,j[a+544>>2])|0}return d}return-136}function St(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),h=0,i=0,l=0,m=0,p=0,s=0,t=0;f=oe-16|0;oe=f;c=Xe(1,36);a:{if(!c){a=Be(0);break a}s=c,t=Uf(105358),j[s+12>>2]=t;b:{if(k[b+49|0]&32){g=q(+K());n[c+16>>2]=g;l=c+16|0;break b}j[c+16>>2]=1065353216;g=q(1);l=c+16|0}d=v(+q(g*q(j[b+24>>2])));h=v(+q(n[c+16>>2]*q(j[b+28>>2])));e=1;J(j[c+12>>2],1,1)|0;H(j[c+12>>2],f+8|0,f|0)|0;e=v(o[f+8>>3])==1?v(o[f>>3])!=1:e;j[c+20>>2]=e;if(!(!(k[b+48|0]&32)|!e)){g=n[l>>2];d=o[f>>3];c:{if(r(d)<2147483648){e=~~d;break c}e=-2147483648}m=b;p=o[f+8>>3];d:{if(r(p)<2147483648){i=~~p;break d}i=-2147483648}zf(m,5,i,e);h=d;d=+g;h=h*d;d=p*d}m=j[c+12>>2];if(r(h)<2147483648){e=~~h}else{e=-2147483648}if(r(d)<2147483648){i=~~d}else{i=-2147483648}J(m|0,i|0,e|0)|0;if(!(j[c+20>>2]|n[l>>2]==q(1))){Q(j[c+12>>2],+j[b+24>>2],+j[b+28>>2])|0}e:{if(!(k[b+48|0]&2)){break e}f:{if(j[a+992>>2]){break f}if((dv()|0)>=0){break f}a=-1;break a}a=Eu(a);j[c>>2]=a;if(a){break e}a=ve(105366,0);break a}j[c+4>>2]=b;j[b+144>>2]=c;Pj(b);Do(b);mu(c);a=0}oe=f+16|0;return a|0}function rl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-32|0;oe=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Nf(g+16|0,a,b,c,e,h-15233|0);oi(g,a,b,c,e,15361-h|0);e=j[g+4>>2];h=e;a=j[g+8>>2];c=j[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}oe=g+32|0;qP(0,f|0);qP(1,d&-2147483648|e);return+rP()}function yt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+110928|0]<<16|k[(q+u>>6)+110928|0]<<8|k[(n+q>>6)+110928|0]|-16777216;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+110928|0]<<16|k[(q+u>>6)+110928|0]<<8|k[(n+q>>6)+110928|0]|-16777216;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+110928|0]<<16|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+110928|0]<<8|k[(a+p(m,i[y>>1])>>6)+110928|0]|-16777216}if((b|0)!=(r|0)){continue}break}}}function FG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=j[j[j[a+4>>2]+96>>2]+28>>2];e=j[a+160>>2];PO(e);j[e+24>>2]=0;j[e+28>>2]=0;j[e+152>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=0;j[e+44>>2]=0;j[e+48>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[e+60>>2]=0;Ee(e+72|0,0,72);c=qe[j[f+72>>2]](j[a+160>>2],j[b+44>>2],c,d|8)|0;if(!c){b=j[a+160>>2];d=j[b+28>>2];j[a+24>>2]=j[b+24>>2];j[a+28>>2]=d;d=j[b+36>>2];j[a+32>>2]=j[b+32>>2];j[a+36>>2]=d;d=j[b+44>>2];j[a+40>>2]=j[b+40>>2];j[a+44>>2]=d;d=j[b+52>>2];j[a+48>>2]=j[b+48>>2];j[a+52>>2]=d;j[a+56>>2]=j[b+56>>2];j[a+60>>2]=j[b+60>>2];j[a+72>>2]=j[b+72>>2];j[a+124>>2]=j[b+124>>2];d=j[b+120>>2];j[a+116>>2]=j[b+116>>2];j[a+120>>2]=d;d=j[b+112>>2];j[a+108>>2]=j[b+108>>2];j[a+112>>2]=d;d=j[b+96>>2];j[a+92>>2]=j[b+92>>2];j[a+96>>2]=d;d=j[b+88>>2];j[a+84>>2]=j[b+84>>2];j[a+88>>2]=d;d=j[b+80>>2];j[a+76>>2]=j[b+76>>2];j[a+80>>2]=d;j[a+100>>2]=j[b+100>>2];j[a+104>>2]=j[b+104>>2];j[a+128>>2]=j[b+128>>2];j[a+132>>2]=j[b+132>>2];j[a+136>>2]=j[b+136>>2];j[a+140>>2]=j[b+140>>2]}return c|0}function Ct(a,b,c,d,e,f,g,j,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,s)+j|0;m=p(g,s);n=m+e|0;o=d+m|0;m=p(f,s)+c|0;a:{if(!v){t=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];t=0;while(1){q=k[n|0];u=k[o|0]-128|0;E=p(u,F);r=p(k[m|0]-D|0,C)- -8192|0;h[a+2|0]=k[(E+r>>6)+110928|0];q=q-128|0;u=p(q,G)+p(u,H)|0;h[a+1|0]=k[(u+r>>6)+110928|0];q=p(q,I);h[a|0]=k[(q+r>>6)+110928|0];r=p(k[m+2|0]-D|0,C)- -8192|0;h[a+5|0]=k[(r+E>>6)+110928|0];h[a+4|0]=k[(r+u>>6)+110928|0];h[a+3|0]=k[(q+r>>6)+110928|0];n=n+4|0;o=o+4|0;m=m+4|0;a=a+6|0;t=t+2|0;if(v>>>0>t>>>0){continue}break}}s=s+1|0;if((t|0)==(v|0)){n=k[n|0];m=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;h[a+2|0]=k[(m+p(o,i[y>>1])>>6)+110928|0];n=n-128|0;h[a|0]=k[(m+p(n,i[B>>1])>>6)+110928|0];h[a+1|0]=k[((m+p(o,i[A>>1])|0)+p(n,i[z>>1])>>6)+110928|0]}if((b|0)!=(s|0)){continue}break}}}function my(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];l=c<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}c=f-1|0;j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+g|0;a=a+l|0;f=c;if(c){continue b}break a}c=0;continue}}}}function xt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+110928|0]<<16|k[(s+n>>6)+110928|0]<<8|k[(t+n>>6)+110928|0]|-16777216;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+110928|0]<<16|k[(n+s>>6)+110928|0]<<8|k[(n+t>>6)+110928|0]|-16777216;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+110928|0]<<16|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+110928|0]<<8|k[(a+p(m,i[B>>1])>>6)+110928|0]|-16777216}if((b|0)!=(q|0)){continue}break}}}function cA(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;g=g|0;h=h|0;var i=q(0),k=q(0),l=q(0),m=q(0),o=q(0),p=q(0),r=q(0),s=q(0),t=0,u=0,v=0;f=+q((360-f)*3.141592653589793/180);t=Mg(f);f=lg(f);k=n[e+4>>2];i=n[g+4>>2];p=n[e>>2];o=n[g>>2];a=lh(a,128,b+4|0);if(!a){return-1}g=j[d+8>>2];u=j[d+12>>2];r=n[e+8>>2];l=n[e>>2];s=n[e+12>>2];m=n[e+4>>2];e=j[d+4>>2];v=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];j[b+8>>2]=1;k=q(i+k);n[a+124>>2]=k;i=q(o+p);n[a+120>>2]=i;n[a+116>>2]=k;n[a+112>>2]=i;n[a+108>>2]=k;n[a+104>>2]=i;n[a+100>>2]=k;n[a+96>>2]=i;k=q(q(f)+q(-1));n[a+92>>2]=k;i=q(t);n[a+88>>2]=i;n[a+84>>2]=k;n[a+80>>2]=i;n[a+76>>2]=k;n[a+72>>2]=i;n[a+68>>2]=k;n[a+64>>2]=i;k=q(c|0);i=q(q(d|0)/k);n[a+48>>2]=i;p=q(v|0);o=q(q(e|0)/p);n[a+44>>2]=o;n[a+36>>2]=o;n[a+32>>2]=i;i=q(m+s);b=h&2;o=b?m:i;n[a+28>>2]=o;r=q(l+r);c=h&1;s=c?l:r;n[a+24>>2]=s;n[a+20>>2]=o;l=c?r:l;n[a+16>>2]=l;m=b?i:m;n[a+12>>2]=m;n[a+8>>2]=s;n[a+4>>2]=m;n[a>>2]=l;l=q(q(e+u|0)/p);n[a+60>>2]=l;m=q(q(d+g|0)/k);n[a+56>>2]=m;n[a+52>>2]=l;n[a+40>>2]=m;return 0}function VI(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,m=0,n=0,o=0,q=0,r=0;d=j[a+744>>2];a:{if((d|0)<10){break a}g=j[a+748>>2];if(!g){break a}e=j[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;l=b<<16|c;o=j[a+752>>2];h=1;while(1){b=(k[d+3|0]|k[d+2|0]<<8)+d|0;c=b>>>0>i>>>0?i:b;b:{if(!(h&o)){break b}e=d+14|0;if(k[d+4|0]|c>>>0>>0){break b}q=k[d+5|0];b=c-e|0;f=k[d+7|0]|k[f|0]<<8;b=(b|0)<(p(f,6)|0)?(b|0)/6|0:f;c:{if(j[a+756>>2]&h){if(!b){break b}r=d+18|0;e=0;while(1){m=b+e>>>1|0;f=p(m,6)+r|0;d=f-4|0;d=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;e=d?m+1|0:e;b=d?b:m;if(e>>>0>>0){continue}break b}break}b=f+1|0;break c}if(!b){break b}while(1){d=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){e=e+6|0;b=b-1|0;if(b){continue}break b}break}f=e+4|0;b=e+5|0}n=((k[b|0]|k[f|0]<<8)<<16>>16)+(q&8?0:n)|0}f=c+6|0;if(i>>>0>>0){break a}h=h<<1;d=c;g=g-1|0;if(g){continue}break}}return n|0}function dq(a,b){var c=0,d=0,e=0,f=0;c=j[a+4>>2];e=c+b|0;a:{b:{c:{switch(k[a+10|0]-2|0){case 0:d:{e:{switch(k[a+9|0]-8|0){case 0:d=b+1|0;f=8;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d;case 8:break e;default:break a}}d=b+2|0;f=16;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=1;h[a+11|0]=f;if(k[a+8|0]!=4){break b}h[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(k[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break f}c=b+4|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}break f;case 8:break g;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break f}c=b+8|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];h[d+3|0]=k[c+3|0];h[d+4|0]=k[c+4|0];h[d+5|0]=k[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=3;h[a+11|0]=f;if(k[a+8|0]!=6){break b}h[a+8|0]=2}j[a+4>>2]=d-b}}function Bt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+110928|0]<<24|k[(q+u>>6)+110928|0]<<16|k[(n+q>>6)+110928|0]<<8|255;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+110928|0]<<24|k[(q+u>>6)+110928|0]<<16|k[(n+q>>6)+110928|0]<<8|255;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+110928|0]<<24|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+110928|0]<<16|k[(a+p(m,i[y>>1])>>6)+110928|0]<<8|255}if((b|0)!=(r|0)){continue}break}}}function zt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+110928|0]<<24|k[(s+n>>6)+110928|0]<<16|k[(t+n>>6)+110928|0]<<8|255;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+110928|0]<<24|k[(n+s>>6)+110928|0]<<16|k[(n+t>>6)+110928|0]<<8|255;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+110928|0]<<24|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+110928|0]<<16|k[(a+p(m,i[B>>1])>>6)+110928|0]<<8|255}if((b|0)!=(q|0)){continue}break}}}function sD(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;g=oe-16|0;oe=g;j[g+12>>2]=b;a:{if(!j[65572]){ve(63202,0);b=-1;break a}if(!b){ve(63357,0);b=-1;break a}e=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:e;o=j[a+28>>2];b=Le(b);j[g+8>>2]=b;b:{if(!b){break b}p=e^1;e=0;while(1){c:{b=$o(g+12|0,g+8|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(ep(a,b,16)){break c}b=j[a+52>>2];d:{if(!i|p){break d}f=j[b+4>>2];if(!f){break d}cs(j[a>>2],i,f,g);e=(j[g>>2]>>6)+e|0}i=j[b+56>>2]+e|0;f=(i|0)<(l|0);l=f?i:l;e=!(h[a+24|0]&1)|h[a+20|0]&1?e:j[a+36>>2]+e|0;i=j[b+76>>2];f=j[b+60>>2];f=e+((f|0)<(i|0)?i:f)|0;m=(f|0)>(m|0)?f:m;e=e+i|0;i=j[b+4>>2];f=j[b+64>>2];n=(f|0)<(n|0)?f:n}if(j[g+8>>2]){continue}break b}break}ve(63337,0);b=-1;break a}e=(o|0)>0?o<<1:0;if(c){j[c>>2]=(e+m|0)-l}b=0;if(!d){break a}c=e+(j[a+8>>2]-n|0)|0;j[d>>2]=c;e=j[a+4>>2];c=(c|0)<(e|0)?e:c;j[d>>2]=c;if(!(k[a+24|0]&4)){break a}e=j[a+48>>2]+(j[a+8>>2]+(j[a+44>>2]^-1)|0)|0;a=j[a+28>>2];a=e+((a|0)>0?a<<1:0)|0;if((a|0)<=(c|0)){break a}j[d>>2]=a}oe=g+16|0;return b}function JM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=j[a+100>>2];d=j[a+316>>2];if(d){g=c;b=j[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=j[e+4>>2];if(d){b=c;d=j[d>>2];if(d){qe[j[b+8>>2]](b,d)}j[j[e+4>>2]>>2]=0;b=j[e+4>>2];if(b){qe[j[c+8>>2]](c,b)}j[e+4>>2]=0;b=j[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=j[a+316>>2];continue}break}d=j[a+316>>2]}if(d){qe[j[g+8>>2]](g,d)}j[a+316>>2]=0}b=j[a+164>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+164>>2]=0;b=j[a+168>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+168>>2]=0;b=j[a+172>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+172>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;b=j[a+304>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+300>>2]=0;j[a+304>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+152>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+152>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+24>>2]=0;j[a+156>>2]=0;b=j[a+324>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+324>>2]=0;b=j[a+328>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+328>>2]=0}}function oy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];h=j[a+16>>2];c=j[a+24>>2];m=c&7;n=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=n;c:{d:{switch(m-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}c=e-1|0;i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+h|0;e=c;if(c){continue b}break a}c=0;continue}}}}function nM(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=40;a:{if(!a|!b){break a}g=j[b+28>>2];e=Fe(b,0);if(e){break a}e=uf(b,d+14|0,2);if(e){break a}e=3;if(k[d+14|0]!=31|k[d+15|0]!=157){break a}j[d+8>>2]=0;c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+28>>2]=g;c=He(g,4292,d+8|0);e=j[d+8>>2];if(!e){j[c>>2]=b;j[c+4>>2]=a;f=j[a+28>>2];i=c+4280|0;j[c+4288>>2]=i;j[c+8>>2]=f;j[c+4284>>2]=i;j[c+4280>>2]=0;b:{f=Fe(b,0);c:{if(f){break c}f=uf(b,d+14|0,2);if(f){break c}f=3;if(k[d+14|0]!=31){break c}if(k[d+15|0]==157){break b}}j[d+8>>2]=f;if(c){qe[j[g+8>>2]](g,c)}e=j[d+8>>2];break a}Ee(c+20|0,0,156);j[c+176>>2]=b;b=j[b+28>>2];j[c+100>>2]=c+112;j[c+96>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;j[c+180>>2]=b;j[c+104>>2]=0;j[c+108>>2]=64;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;h[c+44|0]=0;j[c+64>>2]=9;j[c+12>>2]=0;j[c+16>>2]=0;j[a+12>>2]=c}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=686;j[a+20>>2]=687}oe=d+16|0;return e}function Mr(a,b){var c=0,d=0;b=Ee(b,0,196);d=k[a+176|0];h[b+8|0]=d;if(d){while(1){i[(b+(c<<1)|0)+12>>1]=j[((c<<2)+a|0)+180>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+177|0];h[b+9|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+40>>1]=j[((c<<2)+a|0)+236>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+178|0];h[b+10|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+60>>1]=j[((c<<2)+a|0)+276>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+179|0];h[b+11|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+88>>1]=j[((c<<2)+a|0)+332>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+108>>2]=j[a+372>>2];j[b+112>>2]=j[a+376>>2];j[b+116>>2]=j[a+380>>2];i[b+120>>1]=j[a+384>>2];i[b+122>>1]=j[a+388>>2];d=k[a+392|0];h[b+124|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+128>>1]=j[((c<<2)+a|0)+396>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+393|0];h[b+125|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+154>>1]=j[((c<<2)+a|0)+448>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}h[b+126|0]=k[a+500|0];j[b+184>>2]=j[a+512>>2];j[b+4>>2]=j[a+508>>2]}function xF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!(k[a+701|0]|!(k[a+898|0]&2))){b=j[a+864>>2];if((b|0)<0){break a}c=j[a+888>>2];d=j[a+876>>2];g=c+(d+b|0)|0;if((g|0)<1){break a}h=(d|0)<0;f=0;c:{if(!b){break c}e=v(+(b|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}f=~~e;if(r(e)<2147483648){break c}f=-2147483648}if(h|f>>>0>32768){break a}h=(c|0)<0;b=0;d:{if(!d){break d}e=v(+(d|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}b=~~e;if(r(e)<2147483648){break d}b=-2147483648}if(h|b>>>0>32768){break a}e:{if(!c){d=0;break e}e=v(+(c|0)*32768/+(g|0)+.5);c=e<=2147483647^1;if(r(e)<2147483648){d=~~e}else{d=-2147483648}if(e>=-2147483648^1|c|d>>>0>32768){break a}}c=(b+f|0)+d|0;if((c|0)>32769){break a}g=(c|0)<32768;c=(c|0)==32769;f:{if((g|0)==(c|0)){break f}c=c?-1:g;if(!((b|0)<(f|0)|(b|0)<(d|0))){b=c+b|0;break f}if(!((b|0)>(f|0)|(d|0)>(f|0))){f=c+f|0;break f}d=c+d|0}if(((b+f|0)+d|0)!=32768){break b}i[a+704>>1]=b;i[a+702>>1]=f}return}Ye(a,208908);z()}Ye(a,208950);z()}function oK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Tf(c,j[d>>2],j[d+4>>2])}Ug(c,f+56|0);e=6;g=j[f+68>>2];n=g+32&-64;k=j[f+60>>2];o=k+32&-64;d=n-o|0;p=g+63&-64;q=k&-64;g=(d?d:p-q|0)>>6;i=j[f+64>>2];l=j[f+56>>2];r=l+32&-64;k=(i+32&-64)-r|0;l=l&-64;i=(k?k:(i+63&-64)-l|0)>>6;if((g|i)>>>0>65535){break a}e=j[a+8>>2];if(h[j[b+156>>2]+4|0]&1){m=j[b+88>>2];if(m){qe[j[e+8>>2]](e,m)}j[b+88>>2]=0;m=j[b+156>>2];j[m+4>>2]=j[m+4>>2]&-2}j[b+76>>2]=g;j[b+80>>2]=i;h[b+94|0]=1;i=i+15>>>3&536870910;j[b+84>>2]=i;s=b,t=xe(e,g,0,i,0,f+76|0),j[s+88>>2]=t;e=j[f+76>>2];if(e){break a}e=j[b+156>>2];j[e+4>>2]=j[e+4>>2]|1;g=k?r:l;e=d?o:q;Tf(c,0-g|0,0-e|0);j[f+16>>2]=0;j[f+12>>2]=c;j[f+8>>2]=b+76;s=f,t=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0,j[s+76>>2]=t;Tf(c,g,e);e=j[f+76>>2];if(e){break a}j[b+72>>2]=1651078259;j[b+104>>2]=(d?n:p)>>6;j[b+100>>2]=g>>6;e=0}oe=f+80|0;return e|0}function Ii(a,b,c,d){var e=0,f=0,g=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;f=p(d,1468)+a|0;g=j[f+44>>2];l=b?j[(p(b,12)+c|0)-12>>2]:0;e=j[j[a+2988>>2]+40>>2];b=(e|0)/256|0;o=(p(e,6e3)|0)/2048|0;a:{if((g|0)<1){break a}c=j[f+52>>2];k=c+p(g,48)|0;q=e+255>>>0<511?1:b;m=j[(p(d,1468)+a|0)+68>>2];b=c;while(1){if((m|0)==h[b+1|0]){n=i[b+2>>1];a=c;while(1){e=i[a+2>>1];b:{if((m|0)!=(0-h[a+1|0]|0)|(e|0)<=(n|0)){break b}f=i[a+6>>1];d=i[b+6>>1];r=(d|0)>(f|0)?f:d;f=i[a+4>>1];d=i[b+4>>1];f=r-((d|0)<(f|0)?f:d)|0;if((f|0)<(q|0)){break b}d=e-n|0;e=d;c:{if(!l){break c}d=(d<<10)/(l|0)|0;e=32e3;if((d|0)>11024){break c}e=0;if((d|0)<1025){break c}d=d-1024|0;e=(p(d,d)>>>0)/3e3|0}d=e+((o|0)/(f|0)|0)|0;if((d|0)>2]){j[b+20>>2]=a;j[b+32>>2]=d}if((d|0)>=j[a+32>>2]){break b}j[a+20>>2]=b;j[a+32>>2]=d}a=a+48|0;if(k>>>0>a>>>0){continue}break}}b=b+48|0;if(k>>>0>b>>>0){continue}break}if((g|0)<=0){break a}while(1){a=j[c+20>>2];if(!(!a|j[a+20>>2]==(c|0))){j[c+20>>2]=0;j[c+24>>2]=j[a+20>>2]}c=c+48|0;if(k>>>0>c>>>0){continue}break}}}function ir(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=0,s=0,t=0,u=q(0);i=(b|0)/4|0;m=Te(i<<2);f=Te(b+i<<2);j[a+12>>2]=m;j[a+8>>2]=f;j[a>>2]=b;d=a;o=q(b|0);g=kP(aE(+o)/.6931471805599453);a:{if(r(g)<2147483648){e=~~g;break a}e=-2147483648}j[d+4>>2]=e;b:{if((b|0)<4){break b}d=b>>1;g=+(b|0);l=3.141592653589793/g;s=3.141592653589793/+(b<<1);while(1){k=l*+(c<<2);t=f+(c<<3)|0,u=q(lg(k)),n[t>>2]=u;h=c<<1;p=h|1;t=f+(p<<2)|0,u=q(-q(Mg(k))),n[t>>2]=u;h=f+(d+h<<2)|0;k=s*+(p|0);t=h,u=q(Mg(k)),n[t+4>>2]=u;t=h,u=q(lg(k)),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}i=(b|0)/8|0;g=3.141592653589793/g;c=0;while(1){d=f+((c<<1)+b<<2)|0;l=g*+(c<<2|2);t=d,u=q(Mg(l)*-.5),n[t+4>>2]=u;t=d,u=q(lg(l)*.5),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}b=1<>c;if(e){continue}break}e=d<<3;j[e+m>>2]=-2-(f|h);j[(e|4)+m>>2]=f;d=d+1|0;if((i|0)!=(d|0)){continue}break}}n[a+16>>2]=q(4)/o}function Ol(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,s=0,t=q(0);if((b|0)>=1){t=n[e+1108>>2];while(1){e=p(f,56)+a|0;o=j[e+28>>2];s=j[e+52>>2];k=+q(q(t*q(o+s|0))/q(o+1|0))+1;h=h+(k*+(o|0)+ +(s|0));l=l+(k*+j[e+24>>2]+ +j[e+48>>2]);i=i+(k*+j[e+16>>2]+ +j[e+40>>2]);m=m+(k*+j[e+12>>2]+ +j[e+36>>2]);g=g+(k*+j[e+8>>2]+ +j[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=j[a>>2];f=j[c>>2];if((f|0)>=0){h=h+1;m=m+ +(f|0);l=l+ +(p(e,f)|0);i=i+ +(p(e,e)|0);g=g+ +(e|0)}f=j[(p(b,56)+a|0)-52>>2];a=j[d>>2];if((a|0)>=0){h=h+1;m=m+ +(a|0);l=l+ +(p(a,f)|0);i=i+ +(p(f,f)|0);g=g+ +(f|0)}b=1;k=h*i-g*g;a:{b:{if(!(k>0^1)){a=c;i=(i*m-l*g)/k;g=(h*l-m*g)/k;h=kP(i+g*+(e|0));c:{if(r(h)<2147483648){b=~~h;break c}b=-2147483648}j[a>>2]=b;a=d;g=kP(i+g*+(f|0));d:{if(r(g)<2147483648){e=~~g;break d}e=-2147483648}j[a>>2]=e;f=j[c>>2];if((f|0)>=1024){f=1023;j[c>>2]=1023;e=j[d>>2]}if((e|0)>=1024){j[d>>2]=1023;f=j[c>>2];e=1023}b=0;if((f|0)<=-1){j[c>>2]=0;e=j[d>>2]}if((e|0)<0){break b}break a}j[c>>2]=0}j[d>>2]=0}return b}function KM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0;f=1;d=bf(1,44);h=j[j[a+4>>2]+28>>2];j[d>>2]=b;g=j[b+12>>2];j[d+4>>2]=g;a=j[h+2848>>2];j[d+12>>2]=a;a=a+p(j[b+20>>2],56)|0;j[d+16>>2]=a;i=j[a>>2];l=bf(g,4);j[d+20>>2]=l;if((g|0)>=1){m=b+280|0;n=b+24|0;a=0;while(1){b=k<<2;o=b+n|0;c=j[o>>2];c=c?32-s(c)|0:0;a:{if(!c){break a}q=b+l|0;t=q,u=bf(c,4),j[t>>2]=u;e=(c|0)>(e|0)?c:e;if((c|0)<1){break a}o=j[o>>2];b=0;while(1){if(o>>>b&1){j[j[q>>2]+(b<<2)>>2]=j[h+2848>>2]+p(j[m+(a<<2)>>2],56);a=a+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}k=k+1|0;if((k|0)!=(g|0)){continue}break}}j[d+24>>2]=1;if((i|0)>=1){while(1){f=p(f,g);r=r+1|0;if((r|0)!=(i|0)){continue}break}j[d+24>>2]=f}j[d+8>>2]=e;h=Te(f<<2);j[d+28>>2]=h;if((f|0)>=1){k=i<<2;e=0;l=(i|0)<1;while(1){m=Te(k);j[h+(e<<2)>>2]=m;b=f;a=e;c=0;if(!l){while(1){b=(b|0)/(g|0)|0;n=(a|0)/(b|0)|0;j[m+(c<<2)>>2]=n;a=a-p(b,n)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}return d|0}function GF(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,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=q(0);k=j[j[j[j[a+64>>2]+4>>2]+28>>2]+(j[a+28>>2]<<2)>>2]/2|0;a:{if(c){s=j[b+1296>>2];t=j[s+832>>2];a=p(t,j[c>>2]);a=(a|0)<255?a:255;g=(a|0)>0?a:0;u=j[b+1284>>2];if((u|0)>=2){x=b+260|0;a=0;m=1;while(1){h=j[(m<<2)+x>>2]<<2;b=j[h+c>>2];if(b>>>0<=32767){b=p(b,t);b=(b|0)<255?b:255;b=(b|0)>0?b:0;e=b-g|0;f=j[(h+s|0)+836>>2];h=f-a|0;v=(e|0)/(h|0)|0;r=(f|0)<(k|0)?f:k;if((r|0)>(a|0)){i=(a<<2)+d|0;n[i>>2]=n[(g<<2)+60976>>2]*n[i>>2]}a=a+1|0;if((r|0)>(a|0)){o=p(h,v);i=o>>31;l=e>>31;i=(l+e^l)-(i^i+o)|0;o=(e|0)>-1?1:-1;e=0;while(1){l=(a<<2)+d|0;e=e+i|0;w=(e|0)<(h|0);g=(g+v|0)+(w?0:o)|0;n[l>>2]=n[(g<<2)+60976>>2]*n[l>>2];e=e-(w?0:h)|0;a=a+1|0;if((r|0)!=(a|0)){continue}break}}g=b;a=f}m=m+1|0;if((u|0)!=(m|0)){continue}break}}a=1;if((f|0)>=(k|0)){break a}y=n[(g<<2)+60976>>2];while(1){a=(f<<2)+d|0;n[a>>2]=y*n[a>>2];a=1;f=f+1|0;if((k|0)!=(f|0)){continue}break}break a}a=0;Ee(d,0,k<<2)}return a|0}function lM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0;a:{b:{c:{a=j[a+12>>2];f=j[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=j[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){j[a+4280>>2]=b;j[a+4284>>2]=e-f;break c}f=0;if(Fe(j[a>>2],0)){break a}j[a+12>>2]=0;j[a+16>>2]=0;j[a+104>>2]=0;j[a+48>>2]=0;j[a+36>>2]=0;j[a+40>>2]=0;h[a+44|0]=0;j[a- -64>>2]=9;e=a+4280|0;j[a+4288>>2]=e;j[a+4284>>2]=e;j[e>>2]=0}if(b>>>0<=f>>>0){break c}g=j[a+4284>>2];i=j[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;j[a+4284>>2]=b+g;j[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(ur(g,0,e)>>>0>>0){break a}j[a+4280>>2]=e+j[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;k=a+12|0;e=j[a+4284>>2];b=j[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Ae(c+f|0,e,b);j[a+4284>>2]=b+j[a+4284>>2];j[a+4280>>2]=b+j[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}j[a+4284>>2]=g;i=ur(k,g,4096);e=j[a+4284>>2];b=i+e|0;j[a+4288>>2]=b;if(i){continue}break}}return f|0}function rm(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;i=k[j[a>>2]+192|0];j[g>>2]=0;j[f>>2]=0;if(k[a+11666|0]){h=e-c|0;e=i?0-h|0:h;l=j[a+4>>2];h=p(h>>16,b>>16);b=d-b|0;j[l+16>>2]=j[l+16>>2]+(h-p(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=j[a+11688>>2];if((e|0)>b<<1){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=j[a+11688>>2];if((0-e|0)>b<<1){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((e|0)>(0-(b<<1)|0)){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}j[f>>2]=0;a=0}j[g>>2]=a}}function Ti(a,b){var c=0;c=oe-240|0;oe=c;a:{b:{switch(b+138|0){case 137:j[c+20>>2]=2950;j[c+16>>2]=a;ve(2943,c+16|0);break a;case 136:j[c+36>>2]=2959;j[c+32>>2]=a;ve(2943,c+32|0);break a;case 135:j[c+52>>2]=2966;j[c+48>>2]=a;ve(2943,c+48|0);break a;case 10:j[c+68>>2]=2974;j[c+64>>2]=a;ve(2943,c- -64|0);break a;case 9:j[c+84>>2]=2983;j[c+80>>2]=a;ve(2943,c+80|0);break a;case 8:j[c+100>>2]=2993;j[c+96>>2]=a;ve(2943,c+96|0);break a;case 7:j[c+116>>2]=3002;j[c+112>>2]=a;ve(2943,c+112|0);break a;case 6:j[c+132>>2]=3012;j[c+128>>2]=a;ve(2943,c+128|0);break a;case 5:j[c+148>>2]=3026;j[c+144>>2]=a;ve(2943,c+144|0);break a;case 4:j[c+164>>2]=3040;j[c+160>>2]=a;ve(2943,c+160|0);break a;case 3:j[c+180>>2]=3052;j[c+176>>2]=a;ve(2943,c+176|0);break a;case 2:j[c+196>>2]=3065;j[c+192>>2]=a;ve(2943,c+192|0);break a;case 1:j[c+212>>2]=3079;j[c+208>>2]=a;ve(2943,c+208|0);break a;case 0:j[c+228>>2]=3091;j[c+224>>2]=a;ve(2943,c+224|0);break a;default:break b}}j[c+4>>2]=b;j[c>>2]=a;ve(3102,c)}oe=c+240|0}function $I(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,m=0,n=0,o=0,q=0;f=oe-16|0;oe=f;e=qe[j[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=j[f+12>>2];if(c>>>0<4){break a}e=_f(b,c,a+740|0);if(e){break a}c=j[f+12>>2];j[a+744>>2]=c;e=0;d=j[a+740>>2];b=k[d+2|0]<<8|k[d+3|0];l=b>>>0<32?b:32;b:{if(!l){break b}h=c+d|0;m=d+4|0;while(1){b=m;if(b+6>>>0>h>>>0){break b}c=k[b+3|0]|k[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;m=c>>>0>h>>>0?h:c;c=b+14|0;c:{if((k[b+5|0]&247|k[b+4|0]<<8)!=1|c>>>0>h>>>0){break c}n=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}q=q|n}g=g+1|0;if((l|0)!=(g|0)){continue}break}g=l}j[a+756>>2]=q;j[a+752>>2]=o;j[a+748>>2]=g}oe=f+16|0;return e|0}function ls(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;e=oe-16|0;oe=e;a:{if(!a){c=35;break a}c=j[a+96>>2];if(!c){c=6;break a}l=j[c+8>>2];d=He(l,j[j[c+12>>2]+44>>2],e+8|0);b:{c:{c=j[e+8>>2];if(!c){j[d+4>>2]=a;i=j[a+96>>2];c=j[i+12>>2];m=j[i+8>>2];j[e+12>>2]=0;j[d>>2]=j[i+4>>2];f=He(m,40,e+12|0);g=j[e+12>>2];if(g){break c}j[d+156>>2]=f;if(!(k[j[i>>2]+1|0]&2)){g=TO(m,f);j[e+12>>2]=g;if(g){break c}}c=j[c+64>>2];if(c){c=qe[c|0](d)|0;j[e+8>>2]=c;if(c){break b}}j[d+8>>2]=j[a+84>>2];j[a+84>>2]=d;c=0;if(!b){break a}j[b>>2]=d;break a}if(!b){break a}j[b>>2]=0;break a}j[e+8>>2]=g}f=j[j[d+4>>2]+96>>2];c=j[f+8>>2];a=j[j[f+12>>2]+68>>2];if(a){qe[a|0](d)}a=j[d+156>>2];d:{if(!a){j[d+88>>2]=0;break d}e:{if(h[a+4|0]&1){b=j[j[d+4>>2]+100>>2];a=j[d+88>>2];if(a){qe[j[b+8>>2]](b,a)}j[d+88>>2]=0;a=j[d+156>>2];j[a+4>>2]=j[a+4>>2]&-2;break e}j[d+88>>2]=0}if(!(k[j[f>>2]+1|0]&2)){ps(j[a>>2]);a=j[d+156>>2];j[a>>2]=0}if(a){qe[j[c+8>>2]](c,a)}j[d+156>>2]=0}if(d){qe[j[l+8>>2]](l,d)}c=j[e+8>>2]}oe=e+16|0;return c}function FE(a,b,c){var d=0,e=0,f=0,g=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}e=j[a+788>>2];f:{if(e){if(m[a+792>>2]>=c>>>0){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,c);if(!e){break e}j[a+792>>2]=c;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=211289;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=211256;if(d+3>>>0>c>>>0){break g}g=211695;if(k[(d+e|0)+1|0]){break g}j[f+28>>2]=-1;e=c;c=d+2|0;if((Pp(a,e,c,f+28|0)|0)==1){e=j[f+28>>2];g=e+c|0;c=j[a+788>>2];h[g+c|0]=0;j[f+24>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+12>>2]=e;j[f+8>>2]=(c+d|0)+2;j[f+4>>2]=c;j[f>>2]=0;g=211720;if(Ll(a,b,f)){break g}break a}g=j[a+248>>2];if(!g){break a}}Je(a,g);break a}hf(a,211072);z()}Ie(a,c);Je(a,211242)}oe=f+32|0}function dn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{a=j[b+1300>>2];b:{c:{if((a|0)<0){break c}c=j[67093];if(!c){break c}while(1){if((a|0)==j[c>>2]){break b}c=j[c+1320>>2];if(c){continue}break}}a=qe[j[57972]](1328)|0;if(a){j[57976]=j[57976]+1}if(!a){break b}Oe(a,0,1328);j[a>>2]=j[b+1300>>2];c=Uf(b+1304|0);j[a+4>>2]=c;if(!c){break a}c=Uf(b+1368|0);j[a+8>>2]=c;if(!c){b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}e=j[b+8>>2];j[a+24>>2]=e;f=j[b+12>>2];j[a+20>>2]=f;c=0;g=j[67091];j[67091]=g+1;j[a+12>>2]=g;o[a+32>>3]=o[b>>3];if((e|0)>=1){h=a+40|0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+16>>3];c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((f|0)>=1){e=a+1064|0;h=a+552|0;c=0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+528>>3];d=c<<2;j[d+e>>2]=j[(b+d|0)+1040>>2];c=c+1|0;if((f|0)>(c|0)){continue}break}}b=j[67092];d:{if(!b){j[67092]=a;b=268372;break d}j[b+1320>>2]=a;b=268368}j[b>>2]=a;j[67090]=j[67090]+1;SA(g)}return 1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 1}function Wk(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0;h=oe-32|0;oe=h;a:{if(j[a+4>>2]==(c|0)){break a}i=j[a+44>>2];if(!i){break a}kf(i);j[a+44>>2]=0}b:{c:{d:{if(j[b>>2]|j[b+4>>2]){break d}i=j[a+8>>2];k=j[b+8>>2];if((i|0)>(k|0)){break d}m=j[a+12>>2];n=j[b+12>>2];if((d|0)!=(k|0)|(m|0)>(n|0)){break d}k=1;if((e|0)==(n|0)){break c}}e:{f:{i=j[a+44>>2];if(i){j[i+20>>2]=f;j[i+12>>2]=e;j[i+8>>2]=d;j[i+16>>2]=g;break f}ci(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=Aj(f,d,e,j[h>>2],g,j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+44>>2]=d;if(d){break f}d=0;break e}i=j[a+40>>2];if(!i){ci(c,h,h+28|0,h+24|0,h+20|0,h+16|0);i=ug(0,j[a+8>>2],j[a+12>>2],j[h>>2],j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+40>>2]=i;d=0;if(!i){break e}}g=j[i+16>>2];f=j[i+20>>2];d=1}if(!d){break b}m=j[a+12>>2];i=j[a+8>>2];k=0}if(k|(fh(i,m,j[a>>2],j[a+28>>2],l[a+20>>1],c,f,g)|0)<0){break b}c=j[b+12>>2];j[h+8>>2]=j[b+8>>2];j[h+12>>2]=c;c=j[b+4>>2];j[h>>2]=j[b>>2];j[h+4>>2]=c;yn(j[a+40>>2],h,j[a+44>>2],0)}oe=h+32|0}function Qn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=j[a+28>>2];if(h){k=b^-1;m=j[a+24>>2];n=m-1|0;g=b<<16|b;o=g^-1;d=j[a>>2];c=j[a+20>>2];r=j[a+36>>2]>>1<<1;p=j[a+16>>2]>>1;s=p-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);d=d+2|0;c=c+2|0;a=n}else{a=m}e=a;a=d+2|0;d=j[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=j[a>>2];f=f|d<<16;q=j[c>>2];j[c>>2]=(((f&g)>>>1)+((q&g)>>>1)|0)+(f&(o&q));a=a+4|0;c=c+4|0;f=(e|0)>3;e=e-2|0;if(f){continue}break}}if(e){e=d>>>16|0;d=l[c>>1];i[c>>1]=((e&b)+(d&b)>>>1|0)+(d&(e&k));c=c+2|0;a=a+2|0}d=a+s|0;break a}if(d&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0;a=n}else{a=m}if((a|0)>=2){while(1){e=j[c>>2];f=j[d>>2];j[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&o));c=c+4|0;d=d+4|0;e=(a|0)>3;a=a-2|0;if(e){continue}break}}if(a){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0}d=d+(p<<1)|0}c=c+r|0;if(h){continue}break}}}function Vz(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,i=0,k=0,l=0;f=oe-16|0;oe=f;b=Hh(j[a+772>>2],b,c);a:{if(b){break a}if(!j[a+8>>2]){j[d>>2]=1;b=0;break a}j[f+12>>2]=j[a+768>>2];b=-1;e=a+16|0;c=DO(e,j[a+776>>2],j[a+780>>2],f+12|0);if((c|0)<=-1){Ti(2923,c);break a}b:{b=j[f+12>>2];if((b|0)==j[a+768>>2]){break b}j[a+768>>2]=b;if((qo(a)|0)>=0){break b}b=-1;break a}if(j[e+88>>2]>=2){g=j[e+84>>2];d=j[e+80>>2]}else{g=-1;d=-131}c:{d:{e:{if(j[a+784>>2]!=1){break e}h=j[a+800>>2];i=j[a+804>>2];b=i;if((b|0)>(g|0)?1:(g|0)<=(b|0)?d>>>0>>0:0){break e}k=j[a+816>>2];l=j[a+820>>2];b=-1;e=Wm(e,j[a+792>>2],j[a+796>>2]);if((e|0)<=-1){Ti(2931,e);break a}c=(hP(k,l,h-d|0,i-(g+(d>>>0>h>>>0)|0)|0)<<1)+c|0;if((c|0)<1){break c}break d}if((c|0)>0){break d}c=j[a+8>>2];if((c|0)==1){j[a+8>>2]=0;Ko(j[a+772>>2]);break c}b=-1;j[a+8>>2]=(c|0)>0?c-1|0:-1;a=Im(e,0);if((a|0)>-1){break c}Ti(3124,a);break a}if((ii(j[a+772>>2],j[a+776>>2],c)|0)>=0){break c}b=-1;break a}b=0}oe=f+16|0;return b|0}function Mp(a,b,c){var d=0,e=0,f=0,g=0;f=oe-1024|0;oe=f;j[a+240>>2]=0;j[a+236>>2]=b;e=b?c:0;g=a+224|0;a:{b:{c:{while(1){if(!j[a+228>>2]){c=j[a+408>>2];d:{while(1){if(c){break d}Ie(a,0);c=Fl(a);j[a+408>>2]=c;if(j[a+376>>2]==1229209940){continue}break}Ye(a,212300);z()}d=j[a+796>>2];c=c>>>0>>0?c:d;d=j[a+788>>2];e:{if(d){if(c>>>0<=m[a+792>>2]){break e}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,c);if(!d){break c}j[a+792>>2]=c;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);j[a+228>>2]=c;j[a+224>>2]=d;j[a+408>>2]=j[a+408>>2]-c}f:{if(b){j[a+240>>2]=e;e=0;c=ui(g,0);d=j[a+240>>2];break f}j[a+240>>2]=1024;j[a+236>>2]=f;c=ui(g,0);d=1024-j[a+240>>2]|0}j[a+240>>2]=0;e=d+e|0;g:{if(c){if((c|0)==1){j[a+236>>2]=0;j[a+208>>2]=j[a+208>>2]|8;j[a+212>>2]=j[a+212>>2]|8;if(!(j[a+408>>2]?0:!j[a+228>>2])){Je(a,212322)}if(!e){break g}if(b){break a}Je(a,212344);break g}th(a,c);c=j[a+248>>2];if(b){break b}Je(a,c);break g}if(e){continue}}break}oe=f+1024|0;return}hf(a,212476);z()}hf(a,c);z()}Ye(a,212300);z()}function _B(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;a:{if(!a){b=0;ve(2634,0);break a}f=qe[j[a+4>>2]](a,0,0,1)|0;g=pe;b:{c:{d:{if(b){break d}if((qe[j[a+8>>2]](a,c+4|0,1,12)|0)!=12){break c}qe[j[a+4>>2]](a,-12,-1,1)|0;e:{if(wf(c+4|0,2822,4)){break e}if(wf(c+12|0,2827,4)){break e}b=2;break d}if(!wf(c+4|0,2832,4)){b=2;break d}if(!wf(c+4|0,2467,4)){b=5;break d}if(!wf(c+4|0,2472,4)){b=8;break d}b=4;if(!wf(c+4|0,2477,4)){break d}b=6;if(!wf(c+4|0,2482,3)|((k[c+5|0]&254)==250?k[c+4|0]==255:0)){break d}b=3}j[65586]=0;f:{if(!j[57818]|j[57816]!=(b|0)){break f}d=j[57821];if(!d){break f}e=231256;d=qe[d|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}g:{if(!j[57797]|j[57795]!=(b|0)){break g}b=j[57800];if(!b){break g}e=231172;d=qe[b|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}if(!k[Jg()|0]){ve(2656,0)}qe[j[a+16>>2]](a)|0;b=0;break a}b=0;ve(2779,0);qe[j[a+16>>2]](a)|0;break a}b=Xe(1,24);if(!b){qe[j[e+68>>2]](d);b=0;ve(2486,0);break a}j[b+4>>2]=d;j[b>>2]=e}oe=c+16|0;return b}function yk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;f=oe-16|0;oe=f;j[f+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}g=j[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=j[b+8>>2];k=(e|0)<0?-1:1;if(!j[b+12>>2]){a=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=a;a=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=a;a=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=a;if((i|0)==(k|0)){break a}j[c+8>>2]=0-j[c+8>>2];break a}d=e>>31;e=d+e^d;h=p(e,j[b>>2]);d=j[a>>2];m=c;a=j[c+12>>2];b:{c:{if(a){l=g>>31;g=p(j[c>>2],l^g+l);if((g|0)==(h|0)){break b}a=Qr(d,g,h,a,f+12|0);break c}a=jj(d,h,f+12|0)}j[m+12>>2]=a}d:{if(j[f+12>>2]){break d}d=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=d;d=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=d;d=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=d;j[c+12>>2]=a;if((i|0)==(k|0)){Ae(a,j[b+12>>2],h);break d}c=j[c>>2];if(!c){break d}d=0-e|0;a=p(e,c-1|0)+a|0;b=j[b+12>>2];while(1){a=Ae(a,b,e)+d|0;b=b+e|0;c=c-1|0;if(c){continue}break}}d=j[f+12>>2]}oe=f+16|0;return d}function lk(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;f=j[a+40>>2];a:{l=j[a+52>>2];r=b<<3;n=j[(l+r|0)+4>>2];b:{if((n|0)>(e|0)){break b}g=j[l+4>>2];if((g|0)<(d|0)){break b}i=g;o=j[a+4>>2];g=0-o|0;q=i&g;i=(q|0)>(e|0);c:{if((d|0)>(n|0)){g=d;break c}g=g&(n+o|0)-1;if(n&o-1&65535){d=g;break c}if(k[a+87|0]){h[a+87|0]=0;f=f-4|0}j[f>>2]=j[(b<<3)+l>>2];d=g+o|0;f=f+4|0}if(k[a+86|0]){j[j[a+88>>2]+20>>2]=g>>j[a>>2];h[a+86|0]=0}g=i?e:q;if((g|0)<(d|0)){break b}if(m[a+36>>2]<=((g-d>>j[a>>2]<<2)+f|0)+4>>>0){break a}n=0-b|0;o=b<<3;e=l;while(1){h[a+87|0]=0;b=j[e+4>>2];d:{if((b|0)>(d|0)){i=b;b=e+o|0;q=j[b+4>>2];i=i-q|0;if((i|0)>=j[a+16>>2]){qe[c|0](e);break d}b=j[b>>2];j[f>>2]=((p(j[e>>2]-b|0,d-q|0)|0)/(i|0)|0)+b;f=f+4|0;d=j[a+4>>2]+d|0;b=(n<<3)+e|0;break d}if((b|0)==(d|0)){h[a+87|0]=1;j[f>>2]=j[e>>2];f=f+4|0;d=j[a+4>>2]+d|0}b=(n<<3)+e|0}e=b;if(e>>>0>=l>>>0?(d|0)<=(g|0):0){continue}break}l=j[a+52>>2]}j[a+40>>2]=f;j[a+52>>2]=l-r;return 0}j[a+44>>2]=98;j[a+40>>2]=f;return 1}function vk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;h=j[a+2984>>2];if(h&4){e=j[a+2988>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+p(b,1572)|0;if(!j[a+52>>2]){break d}e=j[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}k=e+p(b,1572)|0;l=j[k+52>>2];e:{f:{if(l){a=98;e=d;while(1){m=j[(p(i,12)+k|0)+60>>2];f=d-m|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?m:e;i=i+1|0;if((l|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((d|0)>=(e|0)){break f}a=(a-48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function Qf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0;if((d|0)>0?1:(d|0)>=0?c>>>0>=1:0){d=d+j[a+12>>2]|0;h=c+j[a+8>>2]|0;d=h>>>0>>0?d+1|0:d;c=h}i=a+24|0;a:{while(1){h=f;k=e;while(1){b:{if((d|0)<0?1:(d|0)<=0?c>>>0<1:0){break b}e=j[a+12>>2];if((d|0)>(e|0)?1:(d|0)>=(e|0)?c>>>0>m[a+8>>2]:0){break b}pe=-1;return-1}e=ZE(i,b);if((e|0)<=-1){g=j[a+8>>2];f=e;e=j[a+12>>2]-((e>>31)+(g>>>0>>0)|0)|0;j[a+8>>2]=g-f;j[a+12>>2]=e;continue}break}if(!e){if(!(c|d)){pe=-1;return-1}j[67100]=0;f=-128;e=-1;if(!j[a+704>>2]){break a}if(!j[a>>2]){pe=-1;return-2}g=(n=eF(i),o=1,p=2048,q=j[a>>2],l=j[a+704>>2],qe[l](n|0,o|0,p|0,q|0)|0);c:{if((g|0)>=1){e=j[i+4>>2];if((e|0)<0){break c}f=e;e=g+j[i+8>>2]|0;if((f|0)<(e|0)){break c}j[i+8>>2]=e;break c}if(g){break c}if(j[67100]){break a}}f=h;h=(g|0)<0;e=h;f=g?e?-128:f:-2;e=g?e?-1:k:-1;if((h|0)==(!g|0)){continue}break a}break}b=a;f=j[a+8>>2];c=e;d=f+e|0;e=j[a+12>>2];j[b+8>>2]=d;j[b+12>>2]=c>>>0>d>>>0?e+1|0:e}pe=e;return f}function mk(a,b,c,d,e,f){var g=0,i=0,l=0,m=0,n=0;i=oe-16|0;oe=i;l=j[a+12>>2];if(l){j[(j[a+20>>2]+(l<<4)|0)-4>>2]=e}a:{b:{c:{n=l+1|0;g=j[a+16>>2];if(n>>>0>g>>>0){j[i+4>>2]=0;m=l+8&-8;e=xe(f,16,g,m,j[a+20>>2],i+4|0);j[a+20>>2]=e;g=j[i+4>>2];if(g){break a}j[a+16>>2]=m;g=(l<<4)+e|0;j[g+12>>2]=0;j[g>>2]=0;j[a+12>>2]=n;break c}e=j[a+20>>2];m=e+(l<<4)|0;j[m+12>>2]=0;j[m>>2]=0;j[a+12>>2]=n;if(n){break c}if(!g){j[i+8>>2]=0;e=xe(f,16,0,8,e,i+8|0);j[a+20>>2]=e;g=j[i+8>>2];if(g){break a}j[a+16>>2]=8}j[e+12>>2]=0;j[e>>2]=0;j[a+12>>2]=1;break b}e=(l<<4)+e|0}a=j[e+4>>2];j[i+12>>2]=0;l=d+7>>>3|0;a=a+7>>>3|0;d:{if(l>>>0<=a>>>0){a=j[e+8>>2];break d}g=f;f=l+7&1073741816;a=xe(g,1,a,f,j[e+8>>2],i+12|0);j[e+8>>2]=a;g=j[i+12>>2];if(g){break a}j[e+4>>2]=f<<3}j[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=k[a|0];h[a|0]=k[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d-1|0;if(d){continue}break}}oe=i+16|0;return g}function ZB(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=dg(66491);j[57840]=0;a:{if(!a){break a}if(!rf(a)){break a}j[c>>2]=j[57842];$g(66518,c)}a=j[57843];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57845];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57846];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57847];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[57841]=0;j[57846]=0;j[57847]=0;j[57844]=0;j[57845]=0;j[57842]=0;j[57843]=0;a=0;while(1){b=(a<<2)+264416|0;d=j[b>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}j[b>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=j[66360];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66361]=0;j[66360]=0}Oe(265448,0,12);if(j[57839]){a=j[57839];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[57839]=0}oe=c+16|0}function Oo(){var a=0,b=0,c=0,d=0,e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=q(0);Wj(264360);a:{if(!j[66091]){a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}j[66091]=a;if(!a){break a}a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}k=a;j[66092]=a;if(!a){a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66091]=0;break a}g=j[66091];j[g>>2]=1065353216;b=1;while(1){i=1;h=y(1-Si(+(b-2560|0)*.5/1280,2))*7.85726*.5;d=1;c=1;e=1;while(1){a=1;m=e;l=Si(h,+(c<<1))/Si(d,2);e=e+l;c=c+1|0;d=d*+(c|0);if(l<9.999999682655225e-22^1){continue}break}d=1;while(1){e=d;h=Si(3.92863,+(a<<1))/Si(i,2);d=e+h;a=a+1|0;i=i*+(a|0);if(h<9.999999682655225e-22^1){continue}break}n[(2561-b<<2)+g>>2]=m/e;b=b+1|0;if((b|0)!=2561){continue}break}a=1;while(1){f=q(q(q(a|0)*q(.001953125))*q(3.1415927410125732));o=fE(f);b=a<<2;c=b+g|0;f=q(n[c>>2]*q(o/f));n[c>>2]=f;b=b-4|0;n[b+k>>2]=f-n[b+g>>2];a=a+1|0;if((a|0)!=2561){continue}break}j[k+10240>>2]=0}j[66090]=0;return 0}j[66090]=0;return Be(0)}function hs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;f=oe-16|0;oe=f;p=j[a>>2];k=j[b+8>>2];g=sf(b,f+12|0);e=j[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}l=qf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,6);j[f+12>>2]=e;if(e){break c}if(!l){e=142;break c}h=-1;d:{while(1){m=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,4);j[f+12>>2]=e;if(e){break c}i=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}g=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e:{if((m|0)!=1415139377){if((m|0)!=1128875040){break e}g=g-22|0;i=i+22|0;n=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;n=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)?(c|0)>=0:0){break d}o=o+1|0;if((o|0)!=(l|0)){continue}break}e=142;break c}e=0;j[f+8>>2]=0;if(Fe(b,i+k|0)){break a}h=He(p,g,f+8|0);e=j[f+8>>2];if(e){break b}e=uf(b,h,g);j[f+8>>2]=e;if(e){break b}e=Gm(a,h,g,c>>31&c,n?116433:116437,d)}j[f+8>>2]=e}if((e&255)!=2){break a}a=Fe(b,k);e=a?a:j[f+8>>2]}oe=f+16|0;return e}function ri(a){var b=0,c=0,d=0,e=0,f=0,g=0;sP(+a);b=pP(1)|0;pP(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=r(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=o[b+226704>>3]-(a*(e+c)-o[b+226736>>3]-a);a=(f|0)>-1?a:-a}return a}sP(1.5707963267948966);b=pP(1)|0;f=pP(0)|0;sP(+a);d=pP(1)|0;pP(0)|0;qP(0,f|0);qP(1,b&2147483647|d&-2147483648);e=+rP();sP(+a);b=pP(1)|0;d=pP(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function GL(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,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;if((e|0)>=1){while(1){h=(j[(f<<2)+d>>2]!=0)+h|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if(!h){return 0}i=j[b>>2];d=j[i>>2];l=j[i+4>>2];m=j[i+8>>2];r=j[i+12>>2];h=Ef(a,4);f=a;n=(l-d|0)/(m|0)|0;a=n<<2;d=Ef(f,a);j[h>>2]=d;Ee(d,0,a);if((n|0)>=1){l=r-1|0;o=j[i>>2]/(e|0)|0;v=j[h>>2];w=(m|0)<1;while(1){a=0;a:{if(w){k=0;d=0;break a}x=j[c>>2];d=0;k=0;p=0;while(1){s=o<<2;g=j[s+x>>2];f=g>>31;t=f^f+g;y=(t|0)>(k|0);f=1;if((e|0)>=2){while(1){u=j[j[(f<<2)+c>>2]+s>>2];g=u>>31;g=g^g+u;d=(d|0)<(g|0)?g:d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}k=y?t:k;o=o+1|0;p=e+p|0;if((p|0)<(m|0)){continue}break}}b:{if((r|0)<=1){break b}while(1){f=(a<<2)+i|0;if(j[f+2584>>2]>=(d|0)?j[f+2328>>2]>=(k|0):0){break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}a=l}j[(q<<2)+v>>2]=a;q=q+1|0;if((n|0)!=(q|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return h|0}function il(a,b){var c=0,d=0,e=0,f=0,g=0,m=0;d=oe+ -64|0;oe=d;a:{if(!b){break a}b:{c:{switch(a|0){case 0:c=k[b+265490|0];g=769;e=0;break b;case 1:break c;default:break a}}c=k[b+265490|0];m=(c|0)!=0;g=768;e=1}if((a|0)==(c|0)?!m:0){break a}h[b+265490|0]=a;c=64;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{f=j[(b<<2)+266004>>2];switch(f-1073742048|0){case 6:break i;case 2:break j;case 5:break k;case 1:break l;case 4:break m;case 0:break d;case 33:break f;case 7:break g;case 3:break h;default:break e}}c=128;break d}c=1;break d}c=2;break d}c=256;break d}c=512;break d}c=1024;break d}c=2048;break d}c=16384;break d}c=0}n:{if(e){o:{if((f|0)!=1073741881){if((f|0)!=1073741907){break o}e=l[132744]^4096;break n}e=l[132744]^8192;break n}e=l[132744]|c;break n}e=l[132744]&(c^-1)}i[132744]=e;if((We(g,-1)|0)!=1){break a}j[d+28>>2]=f;i[d+32>>1]=l[132744];j[d+24>>2]=b;h[d+21|0]=m;h[d+20|0]=a;j[d+8>>2]=g;a=d;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[a+16>>2]=b;gf(d+8|0)}oe=d- -64|0}function py(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];i=j[a+16>>2];c=j[a+24>>2];l=c&7;m=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=m;c:{d:{switch(l-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}c=e-1|0;h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+i|0;e=c;if(c){continue b}break a}c=0;continue}}}}function qK(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,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[a+4>>2];i=0-g|0;q=c-1|0;n=i&g+q;o=d&i;b:{if((n|0)<=(o|0)){e=j[a>>2];d=n;break b}if((g+o|0)!=(n|0)){break a}g=o;c:{d:{e:{r=l[e+12>>1];s=r&7;switch(s|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+q|0)/2|0)&i;break c}if((!(r&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(r&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((s|0)==1){break c}g=j[a+8>>2]+((d+q|0)/2|0)&i}e=j[a>>2];i=j[a+112>>2];d=n;d=(g|0)>=0?m[a+104>>2]>g>>>e>>>0?g:o:d;c=((n|0)==(d|0)?o:n)>>e;f=(j[a+60>>2]+(b>>3)|0)-p(i,c)|0;f=(i|0)>=1?p(i,j[a+104>>2]-1|0)+f|0:f;if((c|0)<0|c>>>0>=m[a+104>>2]){break b}if(k[f|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function Yv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}h=j[o>>2];l=h&255;m=h>>>8&255;d=h>>>16&255;z=b;if(y){m=(p(m,v)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;q=(p(d,u)>>>0)/255|0}else{q=d}d=h>>>24|0;j[z>>2]=q|m<<8|l<<16|(x?(p(d,t)>>>0)/255|0:d)<<24;b=b+4|0;c=c+r|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Oh(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0;i=oe-48|0;oe=i;l=a+11724|0;rm(a,j[a+11720>>2],j[l>>2],b,c,i+44|0,i+40|0);rm(a,d,e,f,g,i+36|0,i+32|0);m=j[a+4>>2];j[m+16>>2]=j[m+16>>2]+(p(e-c>>16,b>>16)-p(d-b>>16,c>>16)|0);m=j[i+44>>2];j[i+24>>2]=m+j[a+11720>>2];l=j[l>>2];n=c;c=j[i+40>>2];j[i+20>>2]=n+c;j[i+16>>2]=b+m;j[i+28>>2]=c+l;b=j[i+32>>2];c=j[i+36>>2];if(k[a+11667|0]){l=j[i+28>>2];j[i+8>>2]=j[i+24>>2];j[i+12>>2]=l;Er(a,i+8|0);h[a+11664|0]=1;h[a+11667|0]=0;l=j[i+20>>2];j[a+11712>>2]=j[i+16>>2];j[a+11716>>2]=l}if(k[a+11744|0]){l=j[i+20>>2];j[i>>2]=j[i+16>>2];j[i+4>>2]=l;Ph(a,a+8|0,i+24|0,i,0)}j[a+11748>>2]=4;h[a+11744|0]=1;l=j[i+28>>2];j[a+11752>>2]=j[i+24>>2];j[a+11756>>2]=l;l=j[i+20>>2];m=j[i+16>>2];j[a+11780>>2]=b+g;j[a+11776>>2]=c+f;j[a+11772>>2]=b+e;j[a+11768>>2]=c+d;j[a+11760>>2]=m;j[a+11764>>2]=l;b=j[a+11676>>2];if(k[b+5|0]){yh(a+8|0,j[a+11668>>2],j[a+11672>>2],b,j[a+11680>>2],0)}j[a+11724>>2]=g;j[a+11720>>2]=f;oe=i+48|0}function Xl(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;a:{if(h[a+368|0]&1){n=j[a+52>>2];o=j[a+48>>2];p=l[a+46>>1];m=l[a+44>>1];q=j[a+36>>2];r=j[a+40>>2];f=a- -64|0;s=j[f+4>>2];j[g+8>>2]=j[f>>2];j[g+12>>2]=s;f=j[a+60>>2];j[g>>2]=j[a+56>>2];j[g+4>>2]=f;f=a+286|0;break a}n=j[a+88>>2];o=j[a+84>>2];p=l[a+82>>1];m=l[a+80>>1];q=j[a+72>>2];r=j[a+76>>2];f=j[a+104>>2];j[g+8>>2]=j[a+100>>2];j[g+12>>2]=f;f=j[a+96>>2];j[g>>2]=j[a+92>>2];j[g+4>>2]=f;f=a+288|0}f=l[f>>1];b:{if(f>>>0>=m>>>0){if(k[a+561|0]){j[a+12>>2]=134}i[e>>1]=0;a=1;break b}j[d+16>>2]=n;j[d+12>>2]=o;i[d+10>>1]=p;i[d+8>>1]=m;j[d>>2]=q;j[d+4>>2]=r;m=j[g+4>>2];j[d+20>>2]=j[g>>2];j[d+24>>2]=m;m=j[g+12>>2];j[d+28>>2]=j[g+8>>2];j[d+32>>2]=m;i[e>>1]=f;e=b;b=f<<3;d=b+n|0;b=b+o|0;b=qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0;t=e,u=Ne(b,i[a+298>>1],j[a+564>>2]),j[t>>2]=u;t=c,u=Ne(b,i[a+300>>1],j[a+564>>2]),j[t>>2]=u;a=0}oe=g+16|0;return a}function GB(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}d=j[67024];if((d|0)==(a|0)){break a}if(d){zf(d,11,0,0)}j[67024]=a;j[67034]=0;zf(a,10,0,0);a=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!a){break a}qe[a|0](d)|0;break a}if(!a){break a}qe[a|0](0)|0}b:{if(c==q(0)?b==q(0):0){break b}a=0;b=q(n[67031]+b);n[67031]=b;c:{d:{if(!(b>q(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break d}a=~~e;break c}if(bq(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break f}d=~~e;break e}if(b>2]=1027;g=j[67024];if(g){h=j[g+4>>2]}j[f+32>>2]=0;j[f+28>>2]=d;j[f+24>>2]=a;j[f+20>>2]=0;j[f+16>>2]=h;gf(f+8|0)}oe=f- -64|0}function nk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=j[a+100>>2];d=c;b=j[a+300>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+300>>2]=0;b=j[a+292>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+292>>2]=0;d=j[a+284>>2];if(d){b=c;if(j[a+280>>2]>=1){while(1){b:{if(!d){break b}e=p(f,12)+d|0;d=j[e>>2];if(d){qe[j[c+8>>2]](c,d)}j[e>>2]=0;if(!k[e+4|0]){break b}d=j[e+8>>2];if(d){qe[j[c+8>>2]](c,d)}j[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=j[a+284>>2];continue}break}d=j[a+284>>2]}if(d){qe[j[b+8>>2]](b,d)}j[a+284>>2]=0}b=j[a+192>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+192>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;c=j[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=j[c+24>>2];if(!b){break c}qe[b|0](c)}j[a+104>>2]=j[a+172>>2]}}function lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){m=(p(m,u)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|m|l<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function Fv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){l=(p(l,u)>>>0)/255|0;m=(p(m,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|l|m<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function OE(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{b:{if(!(e&4)){f=e&2;e=k[a+435|0];if(f|(e|0)!=3){break b}}Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&32))){Ie(a,c);Je(a,211085);break a}if((((e|0)==3?1:e&2?6:2)|0)!=(c|0)){Ie(a,c);Je(a,211064);break a}pf(a,d+10|0,c);tf(a,d+10|0,c);if(Ie(a,0)){break a}e=k[a+435|0];c:{if((e|0)==3){c=k[d+10|0];h[d|0]=c;d:{e:{if(!b){break e}e=l[b+20>>1];if(!e){break e}if(c>>>0>=e>>>0){Je(a,211464);break a}c=j[a+416>>2]+p(c,3)|0;i[d+2>>1]=k[c|0];i[d+4>>1]=k[c+1|0];i[d+6>>1]=k[c+2|0];break d}i[d+6>>1]=0;i[d+2>>1]=0;i[d+4>>1]=0}i[d+8>>1]=0;break c}h[d|0]=0;c=k[d+10|0]|k[d+11|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(!(e&2)){i[d+6>>1]=c;i[d+8>>1]=c;i[d+4>>1]=c;i[d+2>>1]=c;break c}i[d+2>>1]=c;i[d+8>>1]=0;c=k[d+12|0]|k[d+13|0]<<8;i[d+4>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+14|0]|k[d+15|0]<<8;i[d+6>>1]=(c<<24|c<<8&16711680)>>>16}_F(a,b,d)}oe=d+16|0;return}hf(a,211072);z()}function Gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];q=(j[a+4>>2]<<16)/(f|0)|0;r=(j[a+8>>2]<<16)/(b|0)|0;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&2;x=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){l=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;l=((d>>>16|0)+l|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(l<<2)|0;c=(c-(d&-65536)|0)-65536|0}i=j[o>>2];h=i&255;m=i>>>8&255;d=i>>>16&255;if(x){h=(p(h,t)>>>0)/255|0;m=(p(m,u)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}h=m<<8|h|d<<16;d=i>>>24|0;j[b>>2]=h|(w?(p(d,s)>>>0)/255|0:d)<<24;b=b+4|0;c=c+q|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+r|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function RG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;c=oe-336|0;oe=c;j[c+332>>2]=0;k=j[a+100>>2];qe[j[b+60>>2]](b,c+272|0,4,c+268|0);g=j[c+268>>2];a:{if((g|0)<0){d=162;break a}d=3;if(!g|(g|0)>4){break a}l=j[b+8>>2];m=j[b>>2];d=ik(a,0,g);j[c+332>>2]=d;if(d){break a}if(j[c+268>>2]>=1){n=j[a+528>>2];a=0;while(1){d=p(a,12);e=d+(c+272|0)|0;j[b>>2]=j[e>>2];j[b+8>>2]=j[e+4>>2];qe[j[b+60>>2]](b,c+16|0,20,c+12|0);g=j[c+12>>2];if(g-1>>>0>=20){d=3;break a}e=d+n|0;i=xe(k,4,0,g<<1,0,c+332|0);j[e+92>>2]=i;d=j[c+332>>2];if(d){break a}g=e;f=j[c+12>>2];h[e+88|0]=f;j[e+96>>2]=i+(f<<2);d=0;if((f|0)>=1){while(1){f=(c+16|0)+p(d,12)|0;j[b>>2]=j[f>>2]+1;j[b+8>>2]=j[f+4>>2]-1;f=qe[j[b+36>>2]](b)|0;i=d<<2;j[i+j[g+92>>2]>>2]=f;f=qe[j[b+40>>2]](b,0)|0;j[i+j[e+96>>2]>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}e=j[c+332>>2]}j[b+8>>2]=l;j[b>>2]=m;d=e}j[b+12>>2]=d;oe=c+336|0}function gv(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;a:{b:{if(b){j[c+56>>2]=j[b+16>>2];d=j[b+12>>2];j[c+48>>2]=j[b+8>>2];j[c+52>>2]=d;d=j[b+4>>2];b=j[b>>2];j[c+40>>2]=b;j[c+44>>2]=d;if(!b){j[c+40>>2]=j[a+36>>2]}if(!j[c+44>>2]){j[c+44>>2]=j[a+40>>2]}if(!j[c+48>>2]){j[c+48>>2]=j[a+44>>2]}if(!j[c+52>>2]){j[c+52>>2]=j[a+48>>2]}if(sn(a,c+40|0,c+40|0)){break b}a=j[c+48>>2];j[c>>2]=j[c+44>>2];j[c+4>>2]=a;e=ve(99517,c);break a}j[c+56>>2]=j[a+32>>2];b=j[a+28>>2];j[c+48>>2]=j[a+24>>2];j[c+52>>2]=b;b=j[a+20>>2];j[c+40>>2]=j[a+16>>2];j[c+44>>2]=b}j[c+32>>2]=j[a+52>>2];b=j[a+48>>2];j[c+24>>2]=j[a+44>>2];j[c+28>>2]=b;b=j[a+40>>2];j[c+16>>2]=j[a+36>>2];j[c+20>>2]=b;if(wf(c+40|0,c+16|0,20)){d=j[67085];b=j[d+32>>2];if(!b){e=ve(99554,0);break a}e=-1;if((qe[b|0](d,a,c+40|0)|0)<0){break a}b=j[c+44>>2];a=a+36|0;j[a>>2]=j[c+40>>2];j[a+4>>2]=b;j[a+16>>2]=j[c+56>>2];b=j[c+52>>2];j[a+8>>2]=j[c+48>>2];j[a+12>>2]=b}e=0}b=e;oe=c- -64|0;return b}function dK(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,n=0,o=0,p=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;i=c+a|0;if(!(m[b+160>>2]>=i>>>0?c>>>0>=518:0)){Pe(b,8)}c=a+6|0;while(1){d=k[c+1|0];f=d|k[c|0]<<8;if(!(!(d&7)|m[b+164>>2]<2)){Pe(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;l=(c+(g<<3)|0)+8|0;if(l>>>0>m[b+160>>2]){Pe(b,8)}a=0;while(1){d=c+8|0;f=k[c+3|0]|k[c+2|0]<<8;a:{if(!f){c=d;break a}e=k[c+7|0]|k[c+6|0]<<8;n=k[c+4|0];o=k[c+5|0];h=k[c|0];p=k[c+1|0];b:{if(m[b+164>>2]<2){break b}h=h<<8|p;if(f+h>>>0<257?h>>>0<=255:0){break b}Pe(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=l>>>0:0)){Pe(b,9)}if(!j[b+164>>2]){c=d;break a}e=n<<8|o;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=k[d+1|0]|k[d|0]<<8;if(!(!d|m[b+172>>2]>(d+e&65535)>>>0)){Pe(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function NI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(m[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:a=j[a+724>>2]+p(b,48)|0;i[c>>1]=k[a+52|0];i[c+2>>1]=k[a+53|0];b=h[a+24|0]<<6;j[c+12>>2]=b;d=h[a+25|0]<<6;j[c+16>>2]=d;j[c+20>>2]=b-d;j[c+24>>2]=h[a+31|0]+(k[a+26|0]+h[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=j[a+724>>2]+(b<<2)|0;e=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);b=j[a+104>>2];d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(m[f+12>>2]>>0){break a}d=Fe(b,e+j[b+8>>2]|0);if(d){break a}d=_e(b,4);if(d){break a}d=af(b);af(b);Ve(b);b=l[a+178>>1];i[c+2>>1]=d;i[c>>1]=d;d=d<<6;e=i[a+220>>1];j[c+12>>2]=(p(d,e)|0)/(b|0);g=i[a+222>>1];j[c+16>>2]=(p(d,g)|0)/(b|0);j[c+20>>2]=(p(d,i[a+224>>1]+(e-g|0)|0)|0)/(b|0);j[c+24>>2]=(p(d,l[a+226>>1])>>>0)/(b>>>0)}d=0}oe=f+16|0;return d|0}function jh(a){var b=0,c=0,d=0;if(!(j[a>>2]==268306?a:0)){ve(73666,0);return}b=j[a+36>>2];a:{if(j[b+316>>2]==(a|0)){$k(b,0);break a}if(j[a+72>>2]!=j[b+352>>2]){break a}c=j[b+340>>2];if(!c){break a}qe[j[b+48>>2]](b,c,j[b+408>>2],j[b+412>>2])|0;c=b+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[b+432>>2];j[b+432>>2]=j[b+428>>2];j[b+428>>2]=0;c=j[b+344>>2];if(c){j[c+24>>2]=j[b+348>>2];j[b+344>>2]=0;j[b+348>>2]=j[b+340>>2];j[b+340>>2]=0}j[b+412>>2]=0;j[b+404>>2]=0;j[b+396>>2]=0;j[b+400>>2]=0;j[b+352>>2]=j[b+352>>2]+1}j[a>>2]=0;c=j[a+84>>2];if(c){j[c+80>>2]=j[a+80>>2]}d=j[a+80>>2];j[(d?d+84|0:b+312|0)>>2]=c;c=j[a+40>>2];if(c){jh(c)}c=j[a+44>>2];if(c){if(c){d=j[c+16>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}kf(j[c+40>>2]);kf(j[c+44>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}}c=j[a+48>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}qe[j[b+80>>2]](b,a);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function VM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){g=j[b+4>>2];o=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}f=l[c>>1];d=f<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];f=i[c+2>>1];n=j[c+4>>2]+(f<<3)|0;j[n+4>>2]=g>>10;j[n>>2]=o>>10;h[d+f|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[b+12>>2];d=j[b+8>>2];b=j[e+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){b=yf(b,1,0);if(b){break b}}a=j[e+20>>2];if(k[e+65|0]){b=j[a+8>>2];e=i[a+2>>1];g=j[a+4>>2]+(e<<3)|0;j[g+4>>2]=c>>10;j[g>>2]=d>>10;h[b+e|0]=1}i[a+2>>1]=l[a+2>>1]+1;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=b}}function Zp(a,b,c){var d=0,e=0,f=0;d=l[b+74>>1];if(!(d&32768)){if(c>>>0>=4){If(a,b,208184,c,208189);return}if(!(!(d&4)|l[b+72>>1]==(c|0))){If(a,b,208184,c,208219);return}if(d&32){Ml(a,208250);return}a:{if(!(d&2)){break a}if(hk(208288,b+4|0,100)){break a}Of(a,208320,2);d=l[b+74>>1]}b:{if(!(d&1)){break b}e=j[b>>2];c:{if(!e){break c}f=v(+(e|0)*1e5/45455+.5);if(f<=2147483647^1|f>=-2147483648^1){break c}if(r(f)<2147483648){e=~~f}else{e=-2147483648}if(e-95e3>>>0<10001){break b}}Of(a,209547,2);d=l[b+74>>1]}i[b+72>>1]=c;a=j[52073];j[b+4>>2]=j[52072];j[b+8>>2]=a;a=j[52075];j[b+12>>2]=j[52074];j[b+16>>2]=a;a=j[52077];j[b+20>>2]=j[52076];j[b+24>>2]=a;a=j[52079];j[b+28>>2]=j[52078];j[b+32>>2]=a;a=j[52038];j[b+36>>2]=j[52037];j[b+40>>2]=a;a=j[52040];j[b+44>>2]=j[52039];j[b+48>>2]=a;a=j[52042];j[b+52>>2]=j[52041];j[b+56>>2]=a;a=j[52044];j[b+60>>2]=j[52043];j[b+64>>2]=a;j[b+68>>2]=j[52045];i[b+74>>1]=d|231;j[b>>2]=45455}}function vD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;h=oe-32|0;oe=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;k=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|k)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;Nf(h+16|0,a,b,g,e,f-16129|0);oi(h,a,b,g,e,16257-f|0);b=j[h+8>>2];e=(j[h+12>>2]&33554431)<<7|b>>>25;g=j[h+4>>2];f=g;a=0;i=a;k=j[h>>2]|((j[h+16>>2]|j[h+24>>2])!=0|(j[h+20>>2]|j[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|k):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|k|(f|i)){break a}e=(e&1)+e|0}oe=h+32|0;return qP(2,d&-2147483648|e),tP()}function Iq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;f=j[a+16>>2];d=k[f+12|0]|k[f+13|0]<<8|(k[f+14|0]<<16|k[f+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=f+20|0;g=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){i=d+n>>>1|0;l=p(i,12)+q|0;e=l;f=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=i;e=e-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=g>>>0){if(g>>>0<=o>>>0){break b}n=i+1|0}else{d=f}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=(g-e|0)+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0}if(!c){return d}c:{if(g>>>0>o>>>0){f=0;i=i+1|0;if((m|0)==(i|0)){break c}}h[a+24|0]=1;j[a+36>>2]=i;j[a+28>>2]=g;d:{if(!d){Hq(a);f=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}g=j[a+28>>2];break d}j[a+32>>2]=d;c=d}f=c;j[b>>2]=g}return f}function PE(a,b,c){var d=0,e=0;d=oe-256|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&16))){Ie(a,c);Je(a,211085);break a}b:{c:{d:{switch(k[a+435|0]){case 0:if((c|0)==2){pf(a,d,2);tf(a,d,2);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+540>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,211064);break a;case 2:if((c|0)==6){pf(a,d,6);tf(a,d,6);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+534>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+2|0]|k[d+3|0]<<8;i[a+536>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+4|0]|k[d+5|0]<<8;i[a+538>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,211064);break a;case 3:if(!(e&2)){Ie(a,c);Je(a,211051);break a}if(l[a+420>>1]>c-1>>>0?c>>>0<=256:0){break c}Ie(a,c);Je(a,211064);break a;default:break d}}Ie(a,c);Je(a,211437);break a}pf(a,d,c);tf(a,d,c);i[a+428>>1]=c}if(Ie(a,0)){i[a+428>>1]=0;break a}OF(a,b,d,l[a+428>>1],a+532|0)}oe=d+256|0;return}hf(a,211072);z()}function KL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;j[g+12>>2]=0;m=j[c>>2];d=He(m,24,g+12|0);e=j[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}l=k[a|0];h[d+4|0]=l;f=k[a+1|0]|k[a+2|0]<<8;i[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=k[a+3|0];h[d+5|0]=f;o=j[c+148>>2];q=j[c+4>>2];n=f&1;f=(f>>>1&1)+(n?5:3)|0;j[d+8>>2]=f;j[d+12>>2]=(e+q|0)-o;if(e+p(f,l)>>>0>b>>>0){break b}if(l){c:{if(n){a=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);j[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+p(f,l-1|0)|0;a=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}j[d+16>>2]=k[a+5|0]|k[a+4|0]<<16;a=e+p(f,l-1|0)|0;a=k[a|0]<<16|k[a+1|0]}e=0;j[d>>2]=0;j[d+20>>2]=a;j[j[c+140>>2]>>2]=d;j[c+140>>2]=d;j[c+132>>2]=j[c+132>>2]+l;break a}if(d){qe[j[m+8>>2]](m,d)}e=j[g+12>>2];break a}if(d){qe[j[m+8>>2]](m,d)}e=8}oe=g+16|0;return e|0}function KG(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];b=j[a+500>>2];if(b){es(b)}b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+492>>2]=0;b=j[a+556>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+552>>2]=0;j[a+556>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}}function Ch(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-32|0;oe=d;b=j[67085];a:{if(!b){ve(99429,0);b=-1;break a}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);b=-1;break a}f=j[a+16>>2];c=f&-65536;if(!((c|0)!=536805376?(c|0)!=805240832:0)){a=f&65535;b=(a|0)>2]?a:0;break a}c=j[a+20>>2];e=c&-65536;if(!((e|0)==536805376|(e|0)==805240832)){e=j[b+300>>2];g=(e|0)<1;if(!g){h=j[b+304>>2];b=0;while(1){if(j[(p(b,72)+h|0)+60>>2]==(a|0)){break a}b=b+1|0;if((e|0)>(b|0)){continue}break}}j[d+24>>2]=f+(j[a+24>>2]/2|0);j[d+28>>2]=c+(j[a+28>>2]/2|0);b=-1;if(!g){f=2147483647;a=0;while(1){Hk(a,d+8|0);if(vv(d+24|0,d+8|0)){b=a;break a}c=(j[d+28>>2]-j[d+12>>2]|0)+(j[d+20>>2]/-2|0)|0;e=p(c,c);c=(j[d+24>>2]-j[d+8>>2]|0)+(j[d+16>>2]/-2|0)|0;e=e+p(c,c)|0;c=(e|0)<(f|0);f=c?e:f;b=c?a:b;a=a+1|0;if((a|0)>2]){continue}break}if((b|0)>-1){break a}}ve(98144,0);break a}a=c&65535;b=(a|0)>2]?a:0}oe=d+32|0;return b}function JE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0;e=oe-16|0;oe=e;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+9|0]&64))){Ie(a,c);Je(a,211085);break a}if(c>>>0<=3){Ie(a,c);Je(a,211064);break a}f=c+1|0;d=j[a+788>>2];c:{if(d){if(f>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,f);if(!d){break b}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);h[c+d|0]=0;if(Ie(a,0)){break a}if((k[d|0]-1&255)>>>0>=2){Je(a,211542);break a}j[e+8>>2]=0;j[e+12>>2]=1;d:{e:{if(!Kl(d,c,e+8|0,e+12|0)){break e}f=j[e+12>>2];if(f>>>0>=c>>>0){break e}g=f+1|0;j[e+12>>2]=g;if(!k[d+f|0]){break d}}Je(a,211555);break a}if((j[e+8>>2]&392)!=264){Je(a,211572);break a}j[e+8>>2]=0;if(!(i=Kl(d,c,e+8|0,e+12|0),l=0,n=j[e+12>>2]==(c|0),n?i:l)){Je(a,211591);break a}if((j[e+8>>2]&392)!=264){Je(a,211609);break a}TF(a,b,k[d|0],d+1|0,d+g|0);break a}hf(a,211072);z()}Je(a,211242);Ie(a,c)}oe=e+16|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;Pf(a,j[a+8>>2]);c=j[a>>2];j[d+12>>2]=c;f=j[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=k[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}j[b>>2]=c;j[b+8>>2]=2;if(mm(d+12|0,f)){break e}break d}j[b>>2]=c;j[b+8>>2]=3;if(!or(d+12|0,f)){break d}break e}j[b>>2]=c;j[b+8>>2]=3;j[a>>2]=c+1;Pf(a,f);c=j[a>>2];j[d+12>>2]=c;if(c>>>0>=f>>>0){break e}e=1;while(1){if(!j[a+12>>2]){h:{i:{switch(k[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break h}c=c+1|0;j[d+12>>2]=c;j[b+4>>2]=c;break a;case 0:break i;default:break h}}e=e+1|0}nm(a);Pf(a,j[a+8>>2]);c=j[a>>2];if(f>>>0>c>>>0){continue}}break}j[d+12>>2]=c;break e}j[b>>2]=c;j[b+8>>2]=k[c|0]==47?4:1;nm(a);c=j[a>>2];j[d+12>>2]=c;if(!j[a+12>>2]){break c}}c=j[b+4>>2];break b}c=j[d+12>>2]}j[b+4>>2]=c}if(c){break a}j[b+8>>2]=0;j[b>>2]=0}j[a>>2]=j[d+12>>2]}oe=d+16|0}function Mq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=j[a+16>>2];g=k[e+6|0]<<8|k[e+7|0]&254;a:{if(!g){break a}f=j[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=g>>>1|0;p=d>>>0>1?d:1;q=d-1|0;r=e+14|0;s=(e+g|0)+16|0;b:{while(1){m=0;h=s;d=r;c:{while(1){d:{e=d+2|0;e:{o=k[d+1|0]|k[d|0]<<8;if(o>>>0>>0){d=e;break e}d=e;n=k[h+1|0]|k[h|0]<<8;if(n>>>0>f>>>0){break e}i=h+g|0;d=i+g|0;l=k[d|0]<<8|k[d+1|0];f:{g:{h:{if((o|0)!=65535|m>>>0>>0|(n|0)!=65535){break h}if(!l){break g}e=j[a>>2];if((d+l|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break h}d=1;break f}if((l|0)==65535){break e}if(!l){break g}d=((f-n<<1)+l|0)+d|0;d=k[d|0]<<8|k[d+1|0];if(!d){break d}d=d+(k[i+1|0]|k[i|0]<<8)&65535;break c}d=k[i+1|0]|k[i|0]<<8}d=d+f&65535;break c}h=h+2|0;m=m+1|0;if((p|0)!=(m|0)){continue}}break}d=0}if(d|!c){break b}f=f+1|0;if((f|0)!=65536){continue}break}return 0}if(!c|!d){break a}j[b>>2]=f}return d}function rr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;d=3;f=j[b+188>>2];a:{if(!f){break a}g=j[b+192>>2];while(1){if(j[g+(h<<4)>>2]==(c|0)){d=83;c=j[(g+(h<<4)|0)+12>>2];h=j[a+8>>2];if(c>>>0>>0){break a}if(xf(a,c-h|0)){break a}j[e+12>>2]=0;c=Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=e;g=a;b:{if(c&4){d=$e(a,132704,d);j[e+12>>2]=d;if(d){break a}c=132832;break b}d=$e(a,132768,d);j[e+12>>2]=d;if(d){break a}c=132864}h=b+216|0;d=$e(g,c,h);j[f+12>>2]=d;if(d){break a}f=b+232|0;d=$e(a,c,f);j[e+12>>2]=d;if(d){break a}g=b+248|0;if((i|0)==256){d=$e(a,c,g);j[e+12>>2]=d;if(d){break a}d=$e(a,c,b+264|0);break a}a=h;c=j[a+4>>2];j[g>>2]=j[a>>2];j[g+4>>2]=c;c=j[a+12>>2];j[g+8>>2]=j[a+8>>2];j[g+12>>2]=c;a=j[f+12>>2];j[b+272>>2]=j[f+8>>2];j[b+276>>2]=a;a=j[f+4>>2];j[b+264>>2]=j[f>>2];j[b+268>>2]=a}d=0;break a}h=h+1|0;if((f|0)!=(h|0)){continue}break}}oe=e+16|0;return d}function Gq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;e=j[a+16>>2];d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=e+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){g=d+n>>>1|0;l=p(g,12)+q|0;f=l;e=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);o=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g;f=f-4|0;f=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=g+1|0}else{d=e}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(i>>>0>o>>>0){e=0;g=g+1|0;if((m|0)==(g|0)){break c}}h[a+24|0]=1;j[a+36>>2]=g;j[a+28>>2]=i;d:{if(!d){Fq(a);e=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}i=j[a+28>>2];break d}j[a+32>>2]=d;c=d}e=c;j[b>>2]=i}return e}function YE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;d=oe-16|0;oe=d;a:{b:{c:{f=j[a+208>>2];if(!(f&1)){if((c|0)!=13){break c}j[a+208>>2]=f|1;pf(a,d+3|0,13);tf(a,d+3|0,13);Ie(a,0);c=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}m=k[d+15|0];i=k[d+12|0];n=k[d+14|0];o=k[d+13|0];l=k[d+11|0];h[a+436|0]=l;j[a+352>>2]=g;j[a+348>>2]=f;h[a+744|0]=o;h[a+712|0]=n;h[a+435|0]=i;h[a+432|0]=m;c=1;e=i-2|0;if((e&255)>>>0<=4){e=(e&255)<<3;c=e&31;c=(e&63)>>>0>=32?4>>>c|0:((1<>>c}h[a+439|0]=c;e=p(c,l);h[a+438|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=p(f,e>>>3|0);break d}e=p(e,f)+7>>>3|0}j[c+364>>2]=e;YF(a,b,f,g,l,i,m,o,n);oe=d+16|0;return}hf(a,211051);z()}hf(a,211064);z()}Ye(a,210953);z()}Ye(a,210953);z()}function Uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;w=b;if(v){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;d=(p(d,r)>>>0)/255|0}j[w>>2]=l<<8|u|d|i<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,l)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,f)>>>0)/255|0;break a;case 0:n=255;b=f;d=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+f|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function ci(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){ve(96992,0);return 0}j[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;j[f>>2]=0;j[e>>2]=0;j[d>>2]=0;j[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}j[c>>2]=255;j[d>>2]=65280;j[e>>2]=16711680;break a}j[c>>2]=16711680;j[d>>2]=65280;j[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){ve(97031,0);return 0}g=b<<2;b=j[g+97320>>2];h=j[g+97288>>2];i=j[g+97256>>2];g=j[g+97224>>2];c:{switch((a>>>20&15)-1|0){case 1:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;break a;case 2:j[f>>2]=b;case 0:j[c>>2]=h;j[d>>2]=i;j[e>>2]=g;break a;case 3:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;j[f>>2]=g;break a;case 5:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;break a;case 7:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;j[f>>2]=g;break a;case 6:j[f>>2]=b;case 4:j[e>>2]=h;j[d>>2]=i;j[c>>2]=g;break a;default:break c}}ve(97031,0);a=0}else{a=1}return a}return 1}function Xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,f)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,l)>>>0)/255|0;break a;case 0:n=255;b=l;d=m;c=f;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function JI(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,i=0,n=0,o=0,q=0;n=3;a:{if((d|0)<0){break a}f=j[a+8>>2];g=j[a+12>>2];i=l[g>>1];if((e|0)<0|m[f>>2]>>0){break a}g=l[g+2>>1];if(m[f+4>>2]>>0){break a}g=p(g,k[a+18|0]);if(p(g+7>>>3|0,i)+b>>>0>c>>>0){break a}o=j[f+8>>2];c=j[f+12>>2]+(p(o,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(i){n=g>>>0<8;while(1){e=0;a=g;d=c;if(!n){while(1){e=k[b|0]|e;h[d|0]=k[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;q=(a|0)>15;a=a-8|0;if(q){continue}break}}if((a|0)>=1){e=k[b|0]&65280>>>a|e;b=b+1|0}h[d|0]=k[d|0]|e>>>f;if((a+f|0)>=9){h[d+1|0]=k[d+1|0]|e<<8>>>f}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return 0}n=0;if(!i){break a}e=g>>>0<8;while(1){a=g;d=c;if(!e){while(1){h[d|0]=k[b|0]|k[d|0];d=d+1|0;b=b+1|0;f=(a|0)>15;a=a-8|0;if(f){continue}break}}if((a|0)>=1){h[d|0]=k[d|0]|k[b|0]&65280>>>a;b=b+1|0}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return n|0}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{d=j[a+28>>2];if(!d){break a}f=j[a+36>>2];g=j[a+16>>2];c=j[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}c=d-1|0;j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}a=a+f|0;b=b+g|0;d=c;if(c){continue b}break a}c=0;continue}}}}function jk(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;d=j[a+4>>2];g=j[j[d+128>>2]+48>>2];e=j[d+440>>2];j[a+1376>>2]=j[d+436>>2];j[a+1380>>2]=e;h=j[d+448>>2];e=a+1384|0;j[e>>2]=j[d+444>>2];j[e+4>>2]=h;e=j[d+456>>2];j[a+1392>>2]=j[d+452>>2];j[a+1396>>2]=e;a:{b:{if(!g){h=b<<2;e=j[h+j[d+424>>2]>>2];j[c>>2]=e;d=j[j[d+428>>2]+h>>2];j[c+4>>2]=d;break b}d=qe[j[j[g>>2]>>2]](j[g+4>>2],b,c)|0;if(d){break a}d=j[c+4>>2];e=j[c>>2]}d=qe[j[a+1484>>2]](a,e,d)|0;if(d|!g){break a}if(!j[j[g>>2]+8>>2]){d=0;break a}c=j[a+32>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}j[f+4>>2]=0;j[f>>2]=d>>16;c=f;d=j[a+40>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+8>>2]=e>>16;d=j[a+44>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+12>>2]=e>>16;d=qe[j[j[g>>2]+8>>2]](j[g+4>>2],b,0,f)|0;j[a+32>>2]=j[f>>2]<<16;j[a+40>>2]=j[f+8>>2]<<16;j[a+44>>2]=j[f+12>>2]<<16}oe=f+16|0;return d}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,k=0,l=0;f=j[a+840>>2];df(b,j[a>>2],5);a:{if(j[a>>2]<1){break a}g=a+4|0;e=-1;while(1){c=g+(d<<2)|0;df(b,j[c>>2],4);c=j[c>>2];e=(c|0)>(e|0)?c:e;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}i=a+320|0;k=a+256|0;l=a+192|0;g=a+128|0;while(1){d=c<<2;df(b,j[d+g>>2]-1|0,3);h=d+l|0;df(b,j[h>>2],2);b:{if(j[h>>2]){df(b,j[d+k>>2],8);if(j[h>>2]==31){break b}}d=0;while(1){df(b,j[(i+(c<<5)|0)+(d<<2)>>2]+1|0,8);d=d+1|0;if((d|0)<1<>2]){continue}break}}d=(c|0)!=(e|0);c=c+1|0;if(d){continue}break}}df(b,j[a+832>>2]-1|0,2);c=f-1|0;df(b,c?32-s(c)|0:0,4);i=c?32-s(c)|0:0;f=j[a>>2];if((f|0)>=1){k=a+836|0;l=a+4|0;g=a+128|0;e=0;d=0;c=0;while(1){c=j[g+(j[l+(e<<2)>>2]<<2)>>2]+c|0;if((c|0)>(d|0)){while(1){df(b,j[(k+(d<<2)|0)+8>>2],i);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=j[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;if(v){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;d=(p(d,t)>>>0)/255|0}j[b>>2]=l<<8|u|i|d<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function gj(a,b,c){var d=0,e=0,f=0,g=0;a=j[a+376>>2];d=a>>>24|0;a:{if(!(d-91>>>0>5?d-65>>>0<=57:0)){h[b+3|0]=93;h[b|0]=91;h[b+2|0]=k[(d&15)+206832|0];h[b+1|0]=k[(a>>>28|0)+206832|0];d=4;break a}h[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}h[(b+d|0)+1|0]=k[(a>>>20&15)+206832|0];h[(d|2)+b|0]=k[(e&15)+206832|0];f=d+3|0;h[f+b|0]=93;e=91}h[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;h[e+b|0]=93;f=b+f|0;h[f+3|0]=k[(d&15)+206832|0];h[f+2|0]=k[(a>>>12&15)+206832|0];d=91}h[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;h[d+b|0]=93;e=b+e|0;h[e+3|0]=k[(a&15)+206832|0];h[e+2|0]=k[(a>>>4&15)+206832|0];a=91}h[b+f|0]=a;a=d+1|0;e:{if(!c){break e}h[a+b|0]=58;h[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){e=k[c+d|0];if(!e){break e}h[a+b|0]=e;a=a+1|0;d=d+1|0;if((d|0)!=195){continue}break}}h[a+b|0]=0}function eo(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;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=h^255;c=j[58747];i[d>>1]=((p(b,k[j[58746]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((p(b,k[c+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((p(b,k[c+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];b=k[j[58746]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0<255?b:255)<<3&4064;b=j[58747];c=k[b+(a>>>11|0)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<8&63488|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[j[58746]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(p(k[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function UF(a,b,c,d,e,f,g,i,k){var l=0,m=0,n=0,o=0;a:{b:{if(!a|!b|(!c|!i)){break b}if(k?0:(g|0)>=1){break b}n=Le(c);if(f>>>0>=4){break a}c:{d:{if(g>>>0<=255){if(!g){break c}o=(g|0)>1?g:1;break d}Ye(a,207007);z()}while(1){e:{m=j[(l<<2)+k>>2];if(!m){break e}if(!Jl(m,Le(m))){break e}l=l+1|0;if((o|0)!=(l|0)){continue}break c}break}Ye(a,207036);z()}m=n+1|0;l=fg(a,m);j[b+208>>2]=l;if(!l){Ze(a,207070);return}Ae(l,c,m);h[b+229|0]=g;h[b+228|0]=f;j[b+216>>2]=e;j[b+212>>2]=d;d=Le(i)+1|0;c=fg(a,d);j[b+220>>2]=c;if(!c){Ze(a,207107);return}Ae(c,i,d);d=(g<<2)+4|0;c=fg(a,d);j[b+224>>2]=c;if(!c){Ze(a,207142);return}l=0;Ee(c,0,d);if((g|0)>=1){while(1){c=l<<2;d=c+k|0;e=Le(j[d>>2])+1|0;f=fg(a,e);j[c+j[b+224>>2]>>2]=f;c=j[c+j[b+224>>2]>>2];if(!c){Ze(a,207178);return}Ae(c,j[d>>2],e);l=l+1|0;if((l|0)!=(g|0)){continue}break}}j[b+8>>2]=j[b+8>>2]|1024;j[b+232>>2]=j[b+232>>2]|128}return}Ye(a,206980);z()}function IJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c-16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(h){c=0;a=0;while(1){f=c;g=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);c=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Pe(b,8)}if(!(!a|e>>>0>f>>>0)){Pe(b,8)}a:{if(!j[b+164>>2]){break a}f=j[b+172>>2];e=c-e|0;if(f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?f>>>0>=e>>>0:0){break a}Pe(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function gI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=j[a+532>>2];c=j[a+104>>2];e=j[a+100>>2];d=j[a+660>>2];if(d){qe[d|0](j[a+656>>2])}if(b){qe[j[b+12>>2]](a)}jf(j[a+104>>2],a+700|0);j[a+696>>2]=0;d=j[a+104>>2];b=j[d+28>>2];f=j[a+720>>2];if(f){qe[j[b+8>>2]](b,f)}j[a+720>>2]=0;jf(d,a+704|0);b=e;d=j[a+648>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+644>>2]=0;j[a+648>>2]=0;jf(c,a+632|0);jf(c,a+640|0);j[a+636>>2]=0;j[a+628>>2]=0;c=j[a+676>>2];if(c){d=j[c+4>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+4>>2]=0;b=j[c+8>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+8>>2]=0;b=j[c+20>>2];if(b){if(j[c>>2]){d=0;while(1){f=d<<3;b=j[(f+b|0)+4>>2];if(b){qe[j[e+8>>2]](e,b)}b=j[c+20>>2];j[(f+b|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(b){qe[j[e+8>>2]](e,b)}j[c+20>>2]=0}b=j[c+28>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+28>>2]=0;b=j[c+36>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+36>>2]=0;if(c){qe[j[e+8>>2]](e,c)}}j[a+676>>2]=0}}function cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=oe-48|0;oe=d;i=j[a+456>>2];Qf(a,d+32|0,-1,-1);a:{if((pe|0)>-1){h=a+120|0;f=-1;while(1){b:{if(k[j[d+32>>2]+5|0]&2){break b}c:{c=j[d+32>>2];if((k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))!=(i|0)){break c}Ng(h,d+32|0);while(1){c=mg(h,d);if(c){if((c|0)<1){continue}c=fm(b,d);if((c|0)<0){continue}l=e;e=(f|0)==-1?0:c+f>>2;f=l+e|0;g=(e>>31)+g|0;g=f>>>0>>0?g+1|0:g;e=f;f=c;continue}break}c=j[d+32>>2];if((k[c+6|0]|k[c+7|0]<<8|(k[c+8|0]<<16|k[c+9|0]<<24))==-1&(k[c+10|0]|k[c+11|0]<<8|(k[c+12|0]<<16|k[c+13|0]<<24))==-1){break c}b=j[d+32>>2];f=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);a=e;e=f-e|0;g=(k[b+10|0]|k[b+11|0]<<8|(k[b+12|0]<<16|k[b+13|0]<<24))-(g+(a>>>0>f>>>0)|0)|0;break b}Qf(a,d+32|0,-1,-1);if((pe|0)>-1){continue}}break}b=(g|0)>0?1:(g|0)>=0?!!e:0;a=b?e:0;b=b?g:0;break a}a=0;b=0}oe=d+48|0;pe=b;return a}function eu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=j[b+28>>2];a:{if(c>>>0>222){break a}c=j[(c<<2)+104272>>2];if(!c){break a}b:{c:{switch(j[b>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break b;case 1:break c;default:break b}}d:{switch(c-30|0){case 9:case 43:c=98;break b;case 0:case 47:c=89;break b;case 1:case 51:c=90;break b;case 2:case 48:c=91;break b;case 3:case 50:c=92;break b;case 4:c=93;break b;case 5:case 49:c=94;break b;case 6:case 44:c=95;break b;case 7:case 52:c=96;break b;case 8:case 45:c=97;break b;case 10:c=88;break b;case 46:break d;default:break b}}c=99}il((a|0)==2,c)}f=We((a|0)==2?768:769,-1);g=j[b+28>>2];e=g-8|0;e:{if(e>>>0<33){c=e&31;d=1;if(((e&63)>>>0>=32?1>>>c|0:((1<>>c)&1){break e}}d=1;if(g-112>>>0<24){break e}d=1;if(j[b+4>>2]){break e}d=j[b+12>>2]!=0}c=d;if((a|0)!=2){return(f|0)==1|0}return(c|(We(771,-1)|0)!=1)&(f|0)==1}function wO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0;a:{if(!a){break a}c=l[a+2>>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}m=j[a+4>>2];c=m+(c<<3)|0;d=m+8|0;e=j[m>>2];f=e;b=m;h=j[b+4>>2];k=h;while(1){b=j[b+12>>2];k=(b|0)>(k|0)?b:k;h=(b|0)<(h|0)?b:h;b=j[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(c>>>0>d>>>0){continue}break}if((e|0)==(f|0)|(h|0)==(k|0)){break a}c=i[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-s(f|b+e^b)|0;o=(b|0)>0?b:0;b=17-s(k-h|0)|0;q=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;k=j[a+12>>2];b=0;a=0;while(1){n=i[(a<<1)+k>>1];if((n|0)>=(b|0)){c=(n<<3)+m|0;e=j[c>>2];f=j[c+4>>2];while(1){g=e;r=d;d=(b<<3)+m|0;c=j[d+4>>2];e=j[d>>2];d=r+p(c-f>>q,g+e>>o)|0;g=(b|0)!=(n|0);b=b+1|0;f=c;if(g){continue}break}}b=n+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g}function Ql(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+528>>2];if(c){i=j[c+4>>2];g=j[c>>2];f=j[a+100>>2];b=f;d=j[c+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+24>>2]=0;if(g>>>0>=2){Ee(c+28|0,0,(g<<2)-4|0)}b=f;d=j[c+216>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+216>>2]=0;d=j[c+148>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+148>>2]=0;d=j[c+288>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;j[b+284>>2]=0;j[b+144>>2]=0;j[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=j[c+136>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+136>>2]=0;j[c+140>>2]=0;a:{if(!i){break a}e=0;while(1){b=(e<<2)+c|0;g=j[b+8>>2];if(g){qe[j[f+8>>2]](f,g)}j[b+8>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!i){break a}e=0;while(1){b=p(e,12)+c|0;g=b;d=j[b+92>>2];if(d){qe[j[f+8>>2]](f,d)}h[b+88|0]=0;j[g+92>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=j[a+528>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+528>>2]=0}}function fo(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;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;c=h^255;b=j[58747];i[d>>1]=((p(c,k[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((p(c,k[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((p(c,k[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[d>>1];b=j[58747];c=k[(a>>>5&31)+b|0]+f|0;f=(c>>>0<255?c:255)<<2&2016;c=k[b+(a>>>10&31)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<7&64512|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(p(k[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;break a;case 0:d=e;b=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+e|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,e)>>>0)/255|0;break a;case 0:c=e;b=m;d=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+e|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function fx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,l)>>>0)/255|0;break a;case 0:d=l;b=m;c=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,l)>>>0)/255|0;break a;case 0:c=l;b=m;d=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+e|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function Sv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|i|l<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|l|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function as(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;if(!a){return}a:{if(!b){break a}e=j[a+16>>2];if((e|0)<1){break a}f=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(j[c>>2]==(b|0)){j[a+16>>2]=e-1;a=f-4|0;if(a>>>0>c>>>0){while(1){j[c>>2]=j[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}j[a>>2]=0;i=j[b>>2];f=j[b+8>>2];d=j[b+4>>2];b:{if(!d){break b}if(j[d+160>>2]==(b|0)){j[d+160>>2]=0}if(!(k[i|0]&2)){break b}l=j[d>>2];c=d+148|0;g=zh(c,b);if(!g){break b}e=j[b+12>>2];c:{if(j[e+36>>2]!=1869968492){break c}a=j[b+52>>2];if(!a){break c}qe[j[j[e+56>>2]+20>>2]](a)}Th(c,g);if(g){qe[j[l+8>>2]](l,g)}c=j[d+148>>2];d:{if(c){while(1){a=j[c+8>>2];if(j[a+16>>2]==1869968492){break d}c=j[c+4>>2];if(c){continue}break}}a=0}j[d+156>>2]=a}if(h[j[b>>2]]&1){Pr(b+16|0,584,j[b+8>>2],b)}a=j[i+28>>2];if(a){qe[a|0](b)}if(b){qe[j[f+8>>2]](f,b)}return}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}function fP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}a=(a>>>0)/(c>>>0)|0;pe=0;return a}if(!a){break g}break f}if(!(e-1&e)){break e}h=(s(e)+33|0)-s(d)|0;i=0-h|0;break c}a=(d>>>0)/0|0;pe=0;return a}d=32-s(d)|0;if(d>>>0<31){break d}break b}if((e|0)==1){break a}d=gP(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}pe=e;return a}h=d+1|0;i=63-d|0}d=b;e=h&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=g;e=e<<1|f>>>31;g=i-(e+(d>>>0>>0)|0)>>31;k=c&g;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;g=g&1;l=g;h=h-1|0;if(h){continue}break}}pe=b<<1|a>>>31;return g|a<<1}a=0;b=0}pe=b;return a}function Mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[v>>2]=i<<16|l<<8|c;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Kn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[v>>2]=c|l<<8|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function eE(a){var b=0,c=0,d=0,e=0,f=0,g=0;sP(+a);e=pP(1)|0;pP(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){sP(+a);b=pP(1)|0;b=b&2147483647;if((b|0)==2146435072&(pP(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+o[(e<<3)+223776>>3];if(r(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Kg(c,b)}return c}return a+1}function uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=l<<16|c<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=i<<16|c<<8|l;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Kt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){a=j[a+52>>2];if(!a){break a}Rj(a);break a}b=j[a+52>>2];b:{if(b){if(b){b=j[b+168>>2];c=0;c:{if(!b){break c}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];d:{if((c|0)>=(b|0)){break d}while(1){e:{qe[f|0](j[a+48>>2],j[a+72>>2],e);c=ii(j[a+52>>2],j[a+72>>2],e);b=j[a+52>>2];if((c|0)==-1){break e}if(b){b=j[b+168>>2];c=0;f:{if(!b){break f}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];if((c|0)<(b|0)){continue}break d}break}Rj(b);j[a+60>>2]=0;b=j[a+16>>2]}b=Hh(j[a+52>>2],j[a+72>>2],b);c=j[a+16>>2];if((b|0)==(c|0)){break b}Oe(j[a+72>>2],k[a+11|0],c);break b}qe[f|0](j[a+48>>2],j[a+72>>2],e)}c=j[a+16>>2];e=j[a+72>>2];b=k[a+10|0];a=l[a+8>>1];h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;j[d>>2]=e;j[d+4>>2]=(c|0)/(p(b,a>>>3&31)|0);E(109219,d+13|0,d|0)|0}oe=d+16|0}function On(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[d>>2]=l<<8|i|c<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function In(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[d>>2]=c<<16|l<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Yl(a){var b=0,c=0,d=0,e=0,f=0,g=0;h[a+108|0]=0;b=j[a+16>>2];c=j[a+12>>2];j[a+44>>2]=c;j[a+48>>2]=b;b=j[a+24>>2];j[a+52>>2]=j[a+20>>2];j[a+56>>2]=b;b=j[a+32>>2];j[a+60>>2]=j[a+28>>2];j[a+64>>2]=b;j[a+68>>2]=j[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=l[a+46>>1];if(!d){break a}b=j[a>>2];if(k[b+176|0]&8){f=a,g=De(e<<6,l[b+68>>1]),j[f+48>>2]=g;c=De(l[a+46>>1]<<6,l[b+68>>1]);j[a+52>>2]=c;f=a,g=ye(i[b+70>>1],c)+32&-64,j[f+56>>2]=g;f=a,g=ye(i[b+72>>1],j[a+52>>2])+32&-64,j[f+60>>2]=g;f=a- -64|0,g=ye(i[b+74>>1],j[a+52>>2])+32&-64,j[f>>2]=g;f=a,g=ye(i[b+76>>1],j[a+48>>2])+32&-64,j[f+68>>2]=g;d=l[a+46>>1];c=l[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){j[a+72>>2]=65536;i[a+80>>1]=c;j[a+88>>2]=j[a+48>>2];c=De(d,b);break b}i[a+80>>1]=d;j[a+88>>2]=j[a+52>>2];f=a,g=De(b,d),j[f+72>>2]=g;c=65536}j[a+300>>2]=-1;h[a+108|0]=1;j[a+76>>2]=c;b=0}return b}function nH(a,b,c,d,e,f,g,h){var i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=0,t=0,u=q(0),v=0,w=0;if((f|0)>0){while(1){l=(i<<2)+e|0;m=lg(+n[l>>2]);n[l>>2]=m+m;i=i+1|0;if((i|0)!=(f|0)){continue}break}}if((c|0)>=1){u=q(3.141592653589793/+(d|0));v=((f<<2)+e|0)-4|0;l=(f-2&-2)+3|0;m=+h;w=+g;i=0;while(1){r=i<<2;o=j[r+b>>2];s=lg(+q(u*q(o|0)));k=q(s+s);d=1;h=q(.5);g=q(.5);p=q(.5);if((f|0)>=2){while(1){t=(d<<2)+e|0;g=q(g*q(k-n[t>>2]));h=q(h*q(k-n[t-4>>2]));d=d+2|0;if((f|0)>(d|0)){continue}break}p=g;d=l}else{d=1}a:{if((d|0)==(f|0)){h=q(h*q(k-n[v>>2]));h=q(h*h);g=q(q(4)-q(k*k));break a}h=q(h*q(q(k+q(2))*h));g=q(q(2)-k)}d=a+r|0;k=n[d>>2];g=q(eE((w/y(+q(h+q(p*q(p*g))))-m)*.1151292473077774));n[d>>2]=k*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){while(1){d=(i<<2)+a|0;n[d>>2]=n[d>>2]*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){continue}break}}if((c|0)>(i|0)){continue}break}}}function tK(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,i=0,m=0,n=0,o=0,p=0,q=0;a:{g=j[a+4>>2];n=0-g|0;o=c-1|0;i=n&g+o;m=d&n;b:{if((i|0)<=(m|0)){c=j[a>>2];d=i;break b}if((g+m|0)!=(i|0)){break a}g=m;c:{d:{e:{p=l[e+12>>1];q=p&7;switch(q|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+o|0)/2|0)&n;break c}if((!(p&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(p&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((q|0)==1){break c}g=j[a+8>>2]+((d+o|0)/2|0)&n}c=j[a>>2];d=i;d=(g|0)>=0?l[a+56>>1]>(g>>>c|0)?g:m:d;b=((i|0)==(d|0)?m:i)>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break b}if(k[j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break a}a=j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0;h[a|0]=k[a|0]|128>>>(b&7)}}function hv(a,b){var c=0,d=0,e=0;c=oe-32|0;oe=c;d=j[67085];a:{if(!d){ve(99429,0);a=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);a=-1;break a}if(!b){j[c>>2]=98197;a=ve(98171,c);break a}j[c+24>>2]=j[a+88>>2];d=j[a+84>>2];j[c+16>>2]=j[a+80>>2];j[c+20>>2]=d;d=j[a+76>>2];j[c+8>>2]=j[a+72>>2];j[c+12>>2]=d;if(!j[c+12>>2]){j[c+12>>2]=j[a- -64>>2]}if(!j[c+16>>2]){j[c+16>>2]=j[a+68>>2]}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if((j[a+48>>2]&4097)==4097){j[c+24>>2]=j[d+32>>2];a=j[d+28>>2];j[c+16>>2]=j[d+24>>2];j[c+20>>2]=a;a=j[d+20>>2];j[c+8>>2]=j[d+16>>2];j[c+12>>2]=a;break b}a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(sn(a,c+8|0,c+8|0)){break b}a=ve(98202,0);break a}a=j[c+12>>2];j[b>>2]=j[c+8>>2];j[b+4>>2]=a;j[b+16>>2]=j[c+24>>2];a=j[c+20>>2];j[b+8>>2]=j[c+16>>2];j[b+12>>2]=a;a=0}oe=c+32|0;return a}function _N(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;o=oe-16|0;oe=o;a:{if(!a){break a}c=j[a>>2];if(!c|j[c+4>>2]!=112004){break a}e=Is(c,o+12|0);if(e){break a}b:{m=e?c:j[o+12>>2];l=m+20|0;if($N(b,l)){break b}if(b){c:{d:{e=j[b+64>>2];if(e){d=j[b+76>>2];c=e;while(1){g=k[d|0];e:{if(g&4){if(!f){break e}break d}if(!f){break d}}d=d+1|0;g=g>>>3&1;f=g^1;i=i+g|0;c=c-1|0;if(c){continue}break}c=0;if(f){break c}}h[b+92|0]=1;p=i;c=e;break c}c=0}g=c;f:{g:{e=j[b+96>>2];h:{if(!e){i=0;break h}d=j[b+108>>2];f=0;c=e;i=0;while(1){n=k[d|0];i:{if(n&4){if(!f){break i}break g}if(!f){break g}}d=d+1|0;n=n>>>3&1;f=n^1;i=i+n|0;c=c-1|0;if(c){continue}break}d=0;c=0;if(f){break f}}h[b+124|0]=1;d=i;c=e;break f}d=0;c=0}f=c+g|0;d=d+p|0}_r(j[m>>2],l);if(Em(j[m>>2],f,d,l)){break b}j[l>>2]=0;Sr(b,0,l);Sr(b,1,l);oj(j[a>>2]);j[a>>2]=m;break a}oj(m)}oe=o+16|0}function iG(a,b){var c=0,d=0,e=0;a:{c=k[a+8|0];if(!(c&2)){break a}d=j[a>>2];b:{switch(k[a+9|0]-8|0){case 0:c:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break c;default:break a}}if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+3|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 8:break b;default:break a}}d:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break d;default:break a}}if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+6|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function At(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=-1;a:{if(!a){break a}f=j[c+4>>2];if(!f){break a}e=qe[f|0](a,0,0,1)|0}j[d+12>>2]=0;j[d+8>>2]=0;b=Ee(b,0,704);j[b>>2]=a;a=j[c+4>>2];j[b+704>>2]=j[c>>2];j[b+708>>2]=a;a=j[c+12>>2];j[b+712>>2]=j[c+8>>2];j[b+716>>2]=a;a=b+24|0;if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}if((e|0)!=-1){j[b+4>>2]=1}j[b+52>>2]=1;g=b,h=bf(1,32),j[g+72>>2]=h;g=b,h=bf(1,16),j[g+76>>2]=h;Yp(b+120|0,-1);f=Ck(b,j[b+72>>2],j[b+76>>2],d+12|0,d+8|0,0);b:{if((f|0)<=-1){j[b>>2]=0;pj(b);c=j[d+12>>2];break b}e=j[d+8>>2];a=bf(e+2|0,4);j[b+64>>2]=a;c=j[b+456>>2];j[b+92>>2]=c;j[a+4>>2]=e;j[a>>2]=c;c=j[d+12>>2];Ae(a+8|0,c,e<<2);g=b,h=bf(1,8),j[g+56>>2]=h;a=bf(1,8);j[b+60>>2]=a;e=j[b+12>>2];j[a>>2]=j[b+8>>2];j[a+4>>2]=e;j[b+88>>2]=1}if(c){ze(c)}oe=d+16|0;return f}function nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!a){j[g>>2]=64429;i=ve(64403,g);break a}f=j[a+4>>2];if(f){l=j[f>>2]}if(!c){break a}m=j[a>>2];k=j[a+12>>2];d=f;while(1){b:{c:{if(d){e=j[d>>2];if(k>>>0>e>>>0){break c}}d=j[a+8>>2];d:{if(d){j[a+8>>2]=j[d+8>>2];break d}d=j[a+12>>2]+12|0;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break b}}e=0;j[d+8>>2]=0;j[d>>2]=0;j[d+4>>2]=0;h=j[a+4>>2];j[(h?h+8|0:a)>>2]=d;j[a+4>>2]=d}h=(d+e|0)+12|0;e=k-e|0;e=c>>>0>>0?c:e;Ge(h,b,e);j[d>>2]=e+j[d>>2];j[a+16>>2]=e+j[a+16>>2];c=c-e|0;if(!c){break a}b=b+e|0;d=j[a+4>>2];continue}break}e:{if(!f){d=j[a>>2];break e}j[f>>2]=l;d=j[f+8>>2];j[f+8>>2]=0}j[a+8>>2]=0;j[a+4>>2]=f;j[a>>2]=m;if(d){while(1){a=j[d+8>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=a;if(d){continue}break}}i=Be(0)}oe=g+16|0;return i}function ch(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-48|0;oe=d;g=a+11724|0;e=j[g>>2];if(k[j[a+11676>>2]+5|0]){i=!k[a+11665|0]}else{i=0}f=j[a+11720>>2];if(!((c|0)==(e|0)?!(i|(f|0)!=(b|0)):0)){rm(a,f,e,b,c,d+44|0,d+40|0);e=j[d+44>>2];j[d+32>>2]=e+j[a+11720>>2];g=j[g>>2];f=j[d+40>>2];j[d+28>>2]=f+c;j[d+24>>2]=b+e;j[d+36>>2]=g+f;if(k[a+11667|0]){e=j[d+36>>2];j[d+16>>2]=j[d+32>>2];j[d+20>>2]=e;Er(a,d+16|0);h[a+11664|0]=1;h[a+11667|0]=0;e=j[d+28>>2];j[a+11712>>2]=j[d+24>>2];j[a+11716>>2]=e}if(k[a+11744|0]){e=j[d+28>>2];j[d+8>>2]=j[d+24>>2];j[d+12>>2]=e;Ph(a,a+8|0,d+32|0,d+8|0,0)}j[a+11748>>2]=2;h[a+11744|0]=1;e=j[d+36>>2];j[a+11752>>2]=j[d+32>>2];j[a+11756>>2]=e;e=j[d+28>>2];j[a+11760>>2]=j[d+24>>2];j[a+11764>>2]=e;if(i){yh(a+8|0,j[a+11668>>2],j[a+11672>>2],j[a+11676>>2],j[a+11680>>2],0)}j[a+11724>>2]=c;j[a+11720>>2]=b}oe=d+48|0}function UJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=q(0),l=q(0),m=0;f=(c<<2)+15&-16;h=oe-f|0;i=h-f|0;a:{if((c|0)<=0){break a}while(1){b:{if((d|0)>=2){k=n[(e<<2)+a>>2];while(1){f=d;d=d-1|0;g=d<<2;l=n[g+i>>2];if(!(l>k^1)){j[(f<<2)+h>>2]=e;break b}c:{if((f|0)<2|(j[h+g>>2]+b|0)<=(e|0)){break c}g=f-2<<2;if(n[g+i>>2]>=l^1){break c}if((j[h+g>>2]+b|0)>(e|0)){continue}}break}j[(f<<2)+h>>2]=e;break b}j[(d<<2)+h>>2]=e;k=n[(e<<2)+a>>2];f=d}n[(f<<2)+i>>2]=k;d=f+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}d=0;if((f|0)<0){break a}m=b+1|0;e=0;while(1){b=c;d:{e:{if((d|0)>=(f|0)){break e}g=d+1<<2;if(n[g+i>>2]>n[(d<<2)+i>>2]^1){break e}g=j[h+g>>2];break d}g=j[(d<<2)+h>>2]+m|0}b=(c|0)<(g|0)?b:g;if((b|0)>(e|0)){k=n[(d<<2)+i>>2];while(1){n[(e<<2)+a>>2]=k;e=e+1|0;if((b|0)!=(e|0)){continue}break}e=b}b=(d|0)!=(f|0);d=d+1|0;if(b){continue}break}}}function Wy(a,b,c){var d=0;d=qe[j[57972]](808)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);return 0}Oe(d,0,808);j[d+8>>2]=-1;j[d+12>>2]=0;a:{b:{if(!a){break b}a=Uf(a);j[d+792>>2]=a;if(a){break b}Be(0);break a}a=qe[j[57972]](16)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);a=j[d+792>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}break a}j[a+8>>2]=d;j[a+4>>2]=c;j[a>>2]=140;c=an();j[a+12>>2]=c;if(!c){b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}j[d+796>>2]=b;c:{if((ve(111929,0)|0)>=0){ve(111895,0);break c}b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}return 0}function DJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d-16>>>0)/12>>>0>=g>>>0?!(d>>>0<16|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(g){a=0;while(1){d=a;f=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Pe(b,8)}if(!(!h|d>>>0>>0)){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Pe(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function nL(a,b,c,d,e,f,g,i,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;k=k|0;var l=0;a=Ee(a,0,1500);l=Bh(j[b+96>>2],133996);if(!l){return 7}h[a+68|0]=1;j[a+64>>2]=0;j[a+1348>>2]=l;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}l=j[j[d+156>>2]>>2];j[a+12>>2]=l;j[a+20>>2]=l+56;j[a+16>>2]=l+20;Yh(l);c=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=c;if(!g){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;c=j[33364];j[a+80>>2]=j[33363];j[a+84>>2]=c;c=j[33366];j[a+88>>2]=j[33365];j[a+92>>2]=c;c=j[33368];j[a+96>>2]=j[33367];j[a+100>>2]=c;c=j[33370];j[a+104>>2]=j[33369];j[a+108>>2]=c;j[a+1352>>2]=j[b+16>>2];j[a+1464>>2]=f;j[a+1472>>2]=k;j[a+1356>>2]=e;j[a+1468>>2]=i;j[a+1484>>2]=j[33373];b=j[33372];j[a+1476>>2]=j[33371];j[a+1480>>2]=b;return 0}function RB(a){var b=0;b=j[65548];if(!b){ve(2682,0);return}if(!a){ve(2714,0);return}j[a+16>>2]=0;j[a+20>>2]=0/(b|0);j[a+12>>2]=0;Zg();a:{if(!j[65546]){break a}while(1){if(j[j[65546]+12>>2]!=1){break a}Hg();bg(100);Zg();if(j[65546]){continue}break}}if(j[65546]){if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}j[65546]=a;j[j[65546]+8>>2]=1;b:{if(j[j[65546]+12>>2]==2){if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],0);break b}if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}b=qe[j[j[a>>2]+40>>2]](j[a+4>>2],-1)|0;c:{if(!b){if(!j[j[j[65546]>>2]+52>>2]){break c}qe[j[j[j[65546]>>2]+52>>2]](j[j[65546]+4>>2],0)|0;Hg();return}if((b|0)>-1){break c}j[a+8>>2]=0;j[65546]=0}Hg()}function Qh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;g=j[b+28>>2];j[a+28>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+12>>2]=0;j[a+16>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=b;j[a+4>>2]=j[b+8>>2];f=qf(b,e+8|0);d=j[e+8>>2];a:{b:{if(!(!f|d)){d=hg(b,e+8|0);if(j[e+8>>2]){break b}if((d-1&255)>>>0>=4){j[e+8>>2]=8;break b}h[a+12|0]=d;j[a+8>>2]=f;d=d&255;j[a+16>>2]=(j[a+4>>2]+p(d,f+1|0)|0)+3;d=xf(b,p(d,f));j[e+8>>2]=d;if(d){break b}d=uf(j[a>>2],e+12|0,k[a+12|0]);if(d){j[e+8>>2]=d;break b}c:{d=k[a+12|0];if(d){i=d>>>0>1?d:1;f=0;d=0;while(1){d=k[(e+12|0)+f|0]|d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}j[e+8>>2]=0;if(d){break c}}j[e+8>>2]=8;break b}d=d-1|0;j[a+20>>2]=d;f=e;d:{if(c){d=_f(b,d,a+28|0);break d}d=xf(b,d)}j[f+8>>2]=d}if(!d){break a}}b=j[a+24>>2];if(b){qe[j[g+8>>2]](g,b)}j[a+24>>2]=0;l=j[e+8>>2]}oe=e+16|0;return l}function cJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;d=oe-16|0;oe=d;g=j[b+28>>2];j[a+360>>2]=b;c=qe[j[a+508>>2]](a,1851878757,b,d+8|0)|0;j[d+12>>2]=c;a:{if(c){break a}h=j[b+8>>2];c=$e(b,198896,a+344|0);j[d+12>>2]=c;if(c){break a}c=145;f=j[a+348>>2];e=p(f,12);k=(e+h|0)+6|0;m=j[d+8>>2]+h|0;if(k>>>0>m>>>0){break a}j[a+348>>2]=0;n=a,o=xe(g,20,0,f,0,d+12|0),j[n+356>>2]=o;c=j[d+12>>2];if(c){break a}c=_e(b,e);j[d+12>>2]=c;if(c){break a}c=j[a+356>>2];if(f){while(1){e=$e(b,198928,c);j[d+12>>2]=e;b:{if(e){break b}e=l[c+8>>1];if(!e){break b}g=j[c+12>>2]+(j[a+352>>2]+h|0)|0;j[c+12>>2]=g;if(!(e+g>>>0<=m>>>0?g>>>0>=k>>>0:0)){i[c+8>>1]=0;j[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}e=j[a+356>>2]}else{e=c}j[a+348>>2]=(c-e|0)/20;Ve(b);i[a+340>>1]=j[a+348>>2];c=j[d+12>>2]}oe=d+16|0;return c|0}function Lj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=oe-32|0;oe=b;a:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}if(j[a+8>>2]!=1){break a}c=j[a+40>>2];if(j[a+44>>2]){j[b+28>>2]=0;j[b+24>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=j[a+12>>2];j[b+20>>2]=j[a+16>>2];if((Mj(c,b+8|0,b+28|0,b+24|0)|0)<0){break a}Wk(j[a+44>>2],b+8|0,j[c+4>>2],j[b+16>>2],j[b+20>>2],j[b+28>>2],j[b+24>>2]);Lj(c);break a}if(c){j[b+8>>2]=0;j[b+28>>2]=0;f=a+56|0;d=j[a+4>>2];b:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break b}e=(d|0)==1431918169?2:1;break b}e=d&255}g=j[a+60>>2];d=j[a+52>>2];h=j[a+48>>2];i=j[a+56>>2];if((Mj(c,f,b+8|0,b+28|0)|0)<0){break a}fh(j[a- -64>>2],j[a+68>>2],j[a+4>>2],(p(d,g)+h|0)+p(e,i)|0,d,j[c+4>>2],j[b+8>>2],j[b+28>>2]);Lj(c);break a}c=j[a+36>>2];qe[j[c+64>>2]](c,a)}oe=b+32|0}function WF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!a){ve(1850,0);break a}qe[j[a+4>>2]](a,0,0,1)|0;c=pe;if((c|0)<-1?1:(c|0)<=-1){ve(1876,0);qe[j[a+16>>2]](a)|0;break a}b:{if(j[a+20>>2]!=2){break b}c=Za(j[a+28>>2],e+12|0,e+8|0)|0;if(!c){break b}d=ug(0,j[e+12>>2],j[e+8>>2],32,255,65280,16711680,-16777216);if(d){Ae(j[d+20>>2],c,p(j[e+12>>2],j[e+8>>2])<<2)}ze(c);qe[j[a+16>>2]](a)|0;break a}while(1){c:{d:{if(f){if(qe[j[p(f,12)+1924>>2]](a)|0){break d}break c}if(!b){break c}d=2125;c=b;g=k[c|0];if(g){while(1){h=k[d|0];if(!h|((g-97>>>0<26?g&95:g)|0)!=((h-97>>>0<26?h&95:h)|0)){break c}d=d+1|0;g=k[c+1|0];c=c+1|0;if(g){continue}break}}if(k[d|0]){break c}f=0}d=qe[j[p(f,12)+1928>>2]](a)|0;qe[j[a+16>>2]](a)|0;break a}f=f+1|0;if((f|0)!=15){continue}break}qe[j[a+16>>2]](a)|0;d=0;ve(2100,0)}oe=e+16|0;return d}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),i=0,j=q(0),l=q(0),m=q(0),o=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=(e<<2)/3|0;if(e>>>0>=24){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c+e|0;d=c+i|0;e=(e>>>0)/24|0;while(1){j=n[f-8>>2];c=f-24|0;l=n[c>>2];m=n[f-4>>2];o=n[f-20>>2];n[d-20>>2]=n[f-12>>2];g=n[f-16>>2];n[d-4>>2]=q(o+m)*q(.5);n[d-24>>2]=g;g=q(q(l+j)*q(.5));n[d-8>>2]=g;n[d-12>>2]=m+q(m-g);n[d-16>>2]=j+q(j-g);n[d-28>>2]=o+q(o-g);d=d-32|0;n[d>>2]=l+q(l-g);f=c;e=e-1|0;if(e){continue}break}}h[a+24|0]=i;h[a+25|0]=i>>>8;h[a+26|0]=i>>>16;h[a+27|0]=i>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function XE(a,b,c){var d=0,e=0,f=0,g=0;e=oe-784|0;oe=e;a:{b:{c:{d:{d=j[a+208>>2];if(d&1){if(d&2){break d}if(d&4){Ie(a,c);Je(a,211051);break a}j[a+208>>2]=d|2;if(!(k[a+435|0]&2)){Ie(a,c);Je(a,211095);break a}if(!((c>>>0)%3|0?0:c>>>0<=768)){Ie(a,c);if(k[a+435|0]!=3){Je(a,211064);break a}hf(a,211064);z()}c=c&65535;f=(c>>>0)/3|0;if(c>>>0>=3){g=f>>>0>1?f:1;c=0;d=e+16|0;while(1){pf(a,e+13|0,3);tf(a,e+13|0,3);h[d|0]=k[e+13|0];h[d+1|0]=k[e+14|0];h[d+2|0]=k[e+15|0];d=d+3|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Ie(a,0);RF(a,b,e+16|0,f);if(!l[a+428>>1]){if(!b){break a}d=j[b+8>>2];if(!(d&16)){break b}i[a+428>>1]=0;break c}i[a+428>>1]=0;if(b){break c}Je(a,211120);break a}hf(a,211072);z()}hf(a,211085);z()}i[b+22>>1]=0;Je(a,211120);d=j[b+8>>2]}if(d&64){Je(a,211139)}if(!(k[b+8|0]&32)){break a}Je(a,211158)}oe=e+784|0}function ss(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;p=j[a+2984>>2]&4;f=64;a:{if(p){break a}k=1;f=(e|0)==1?55:49;if(!(!(h[b+12|0]&1)|!(h[c+12|0]&1))){break a}f=(e|0)==1?61:59}n=j[c+4>>2];o=j[b+4>>2];m=vk(a,e,n-o|0);a=(((n+o|0)/2|0)+d|0)+((m|0)/-2|0)|0;d=a&63;b:{if(!d){break b}i=a+m&63;if(!i){break b}g=64-d|0;if((f|0)>=(m|0)){if((i|0)>=(m|0)){break b}l=g>>>0>i>>>0?0-i|0:g;break b}if(k){if(f>>>0<=64-i>>>0|f>>>0<=i>>>0|(d>>>0>=f>>>0|g>>>0>=f>>>0)){break b}}k=m&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(i>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;l=g>>31;e=f-i|0;d=i-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;l=(l^g+l)>(d^d+e)?e:g}e=b;d=l;d:{if(p){break d}d=14;if((l|0)>14){break d}d=(l|0)>-14?l:-14}a=d+a|0;b=(n|0)>(o|0);j[e+8>>2]=a+(b?0:m);j[c+8>>2]=a+(b?m:0);return d}function Oq(a,b,c,d,e,f,g){var i=0,l=0,n=0;n=e-c|0;a:{if((n|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=Ne(i,f-c|0,n)+b|0;l=j[a>>2];f=f>>l;c=0;break b}l=j[a>>2];f=c>>l;c=j[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=j[a+4>>2]-1&e}e=g>>l;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=Ne(i,j[a+4>>2]-c|0,n)+b|0;break c}if(!k[a+87|0]){break c}j[a+40>>2]=j[a+40>>2]-4}h[a+87|0]=!d;if(k[a+86|0]){j[j[a+88>>2]+20>>2]=f;h[a+86|0]=0}g=e-f|0;c=g+1|0;if(m[a+36>>2]<=j[a+40>>2]+(c<<2)>>>0){j[a+44>>2]=98;return 1}d=1;e=j[a+4>>2];d:{if((i|0)>=1){f=zk(e,i,n);break d}d=-1;i=0-i|0;f=0-zk(e,i,n)|0}i=(p(j[a+4>>2],i)|0)%(n|0)|0;e=j[a+40>>2];if((g|0)>=0){g=0-n|0;while(1){j[e>>2]=b;g=g+i|0;l=(g|0)>-1;g=g-(l?n:0)|0;b=(b+f|0)+(l?d:0)|0;e=e+4|0;l=(c|0)>1;c=c-1|0;if(l){continue}break}}j[a+40>>2]=e}return 0}function Hz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-16|0;oe=i;a:{if(!a){ve(86193,0);break a}b:{c:{d:{e:{l=j[a+4>>2];switch(k[l+9|0]-2|0){case 2:break d;case 0:break e;default:break b}}m=j[l+12>>2];m=(m|0)==31744?222:(m|0)==63488?223:224;break c}n=j[l+24>>2];m=n?225:226;if(j[l+12>>2]==16711680){break c}m=n?227:228}if((c|0)>=2){r=a+36|0;l=1;while(1){n=(l<<3)+b|0;o=n-8|0;j[i+12>>2]=j[o>>2];j[i+8>>2]=j[o+4>>2];j[i+4>>2]=j[n>>2];j[i>>2]=j[n+4>>2];if(zn(r,i+12|0,i+8|0,i+4|0,i)){o=1;p=j[i>>2];q=j[i+4>>2];o=(q|0)==j[n>>2]?j[n+4>>2]!=(p|0):o;qe[m|0](a,j[i+12>>2],j[i+8>>2],q,p,d,e,f,g,h,o)}l=l+1|0;if((l|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;m=j[c>>2];f:{if((m|0)!=j[b>>2]){l=j[c+4>>2];break f}l=j[c+4>>2];if((l|0)==j[b+4>>2]){break a}}Wz(a,m,l,d,e,f,g,h);break a}ve(86243,0)}oe=i+16|0}function or(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];j[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){f=0;c:{d:{e:{f:{g:{g=k[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(g-123|0){case 0:e=e+1|0;break c;case 2:break h;default:break c}}e=e-1|0;if(e){break c}c=c+1|0;break b}f=mm(d+12|0,b);break c}f=nr(d+12|0,b);break c}i:{while(1){j:{switch(g-10|0){case 0:case 3:break i;default:break j}}c=c+1|0;if((c|0)!=(b|0)){g=k[c|0];continue}break}c=b}j[d+12>>2]=c}c=j[d+12>>2]+1|0;j[d+12>>2]=c;if(f?0:b>>>0>c>>>0){continue}break}b=3;if(e){break a}}b=f}j[a>>2]=c;oe=d+16|0;return b}function DF(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{c:{switch(CF(f+8|0,c)|0){case 0:e=l[b+74>>1];if(e&32768){break a}if(!(e&2)){break b}if(!hk(c,b+4|0,100)){i[b+74>>1]=e|32768;Ml(a,209622);break a}break b;case 1:i[b+74>>1]=l[b+74>>1]|32768;Ml(a,208084);break a;default:break c}}i[b+74>>1]=l[b+74>>1]|32768;Ye(a,208107);z()}a=j[c+4>>2];j[b+4>>2]=j[c>>2];j[b+8>>2]=a;a=j[c+28>>2];j[b+28>>2]=j[c+24>>2];j[b+32>>2]=a;a=j[c+20>>2];j[b+20>>2]=j[c+16>>2];j[b+24>>2]=a;a=j[c+12>>2];j[b+12>>2]=j[c+8>>2];j[b+16>>2]=a;a=f;d=j[a+12>>2];j[b+36>>2]=j[a+8>>2];j[b+40>>2]=d;d=j[a+20>>2];j[b+44>>2]=j[a+16>>2];j[b+48>>2]=d;d=j[a+28>>2];j[b+52>>2]=j[a+24>>2];j[b+56>>2]=d;d=j[a+36>>2];j[b+60>>2]=j[a+32>>2];j[b+64>>2]=d;j[b+68>>2]=j[a+40>>2];g=b,h=hk(c,208288,1e3)?e|66:e&65469|2,i[g+74>>1]=h}oe=f+48|0}function ai(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=j[a+40>>2];n=b;c=xl(b,j[a+36>>2]);a:{b:{c:{if((c|0)>=0){c=j[j[a+32>>2]+(c<<2)>>2];if((c|0)>=0){g=c-1|0;a=h[g+j[a+28>>2]|0];break b}i=c>>>15&32767;c=j[a+8>>2]-(c&32767)|0;break c}c=j[a+8>>2]}k=c;f=xl(b,d);l=f>>>31|0;g=-1;d:{if((f|0)>-1){c=d;break d}if((d|0)<2){c=d;break d}while(1){c=d-1|0;f=xl(b,c);l=f>>>31|0;if((f|0)>-1){break d}e=(d|0)>2;d=c;if(e){continue}break}}if(l){break a}d=k-i|0;if((d|0)>=2){e=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);e=e>>>4&252645135|e<<4&-252645136;e=e>>>2&858993459|e<<2&-858993460;l=e>>>1&1431655765|e<<1&-1431655766;e=j[a+20>>2];while(1){g=d>>>1|0;d=l>>>0>2];k=k-(d?g:0)|0;i=(d?0:g)+i|0;d=k-i|0;if((d|0)>1){continue}break}}a=h[j[a+28>>2]+i|0];k=(a|0)>(c|0);g=k?-1:i;a=k?c:a}ZD(n,a)}return g}function Xp(a,b,c,d,e,f,g,h){var i=0,l=0;a:{b:{if(!b){i=208984;break b}i=209040;if((b|0)<=-1){Ze(a,209012);l=1}else{l=0}if((b+7&-8)>>>0<536870905){break a}}Ze(a,i);l=1}i=l;if(m[a+748>>2]>>0){Ze(a,209087);i=1}b=a;c:{if(c){if((c|0)>-1){break c}l=209155}else{l=209126}Ze(b,l);i=1}if(m[a+752>>2]>>0){Ze(a,209184);i=1}if(!(1<>>0<=16:0)){Ze(a,209224);i=1}b=e&-5;if(!((b|0)!=1?e>>>0<=6:0)){Ze(a,209250);i=1}if(!(!((e|0)==4|(b|0)==2)|(d|0)>7?!((e|0)==3?(d|0)>=9:0):0)){Ze(a,209277);i=1}if((f|0)>=2){Ze(a,209326);i=1}if(g){Ze(a,209359);i=1}if(!(!(k[a+209|0]&16)|!j[a+708>>2])){Ze(a,209394)}d:{e:{f:{if(!h){break f}if(!(!(j[a+708>>2]&4)|(h|0)!=64|(b|0)!=2)){if(!(j[a+208>>2]&4096)){break f}}Ze(a,209443);if(!(k[a+209|0]&16)){break e}Ze(a,209473);break e}if(!i){break d}}Ye(a,209503);z()}}function SG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-272|0;oe=d;qe[j[b+60>>2]](b,d+80|0,16,d+76|0);e=j[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}k=j[b+8>>2];l=j[b>>2];if((e|0)>=1){i=j[a+528>>2];e=0;while(1){c=(d+80|0)+p(g,12)|0;j[b>>2]=j[c>>2];j[b+8>>2]=j[c+4>>2];qe[j[b+60>>2]](b,d+16|0,4,d+12|0);f=j[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=ik(a,j[d+76>>2],f);if(c){break a}i=j[a+528>>2];c=j[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+p(c,12)|0;j[b>>2]=j[h>>2];j[b+8>>2]=j[h+4>>2];h=qe[j[b+40>>2]](b,0)|0;j[j[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}j[b+8>>2]=k;j[b>>2]=l;c=0}j[b+12>>2]=c;oe=d+272|0}function ED(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,k=0;e=oe-32|0;oe=e;g=j[a+28>>2];j[e+16>>2]=g;d=j[a+20>>2];j[e+28>>2]=c;j[e+24>>2]=b;b=d-g|0;j[e+20>>2]=b;g=b+c|0;k=2;b=e+16|0;a:{b:{f=W(j[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}j[67100]=f;d=-1}d:{if(!d){while(1){d=j[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=j[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;j[i>>2]=h+j[i>>2];i=(f?12:4)+b|0;j[i>>2]=j[i>>2]-h;g=g-d|0;b=f?b+8|0:b;k=k-f|0;f=W(j[a+60>>2],b|0,k|0,e+12|0)|0;d=0;e:{if(!f){break e}j[67100]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];a=c;break a}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a>>2]=j[a>>2]|32;a=0;if((k|0)==2){break a}a=c-j[b+4>>2]|0}oe=e+32|0;return a|0}function bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,p=q(0);a=oe-16|0;oe=a;b=1;a:{if(!(k[j[c+4>>2]+49|0]&32)){break a}i=n[c+16>>2];if(+K()==+i){break a}m=c,p=q(+K()),n[m+16>>2]=p;b=0}e=j[c+4>>2];if((j[e+48>>2]&4129)==32){d=+j[e+24>>2];o[a+8>>3]=d;f=+j[e+28>>2];o[a>>3]=f;if(j[c+20>>2]){H(j[c+12>>2],a+8|0,a|0)|0;f=o[a>>3];d=o[a+8>>3]}g=f;f=+n[c+16>>2];g=g*f;b:{if(r(g)<2147483648){e=~~g;break b}e=-2147483648}l=j[c+12>>2];d=d*f;c:{if(r(d)<2147483648){h=~~d;break c}h=-2147483648}J(l|0,h|0,e|0)|0;if(!(j[c+20>>2]|n[c+16>>2]==q(1))){Q(j[c+12>>2],+o[a+8>>3],+o[a>>3])|0}c=j[c+4>>2];if(!b){j[c+24>>2]=0;j[c+28>>2]=0}d=o[a>>3];d:{if(r(d)<2147483648){b=~~d;break d}b=-2147483648}d=o[a+8>>3];e:{if(r(d)<2147483648){e=~~d;break e}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function zI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;a:{h=j[a>>2];if((h|0)==1){break a}q=j[a+8>>2];l=j[q+4>>2];if((l|0)<1){break a}s=l+1|0;d=j[a+4>>2];k=(d+(h<<2)|0)-4|0;e=1;a=h;i=a;while(1){c=(h|0)/(a|0)|0;f=j[(s-m<<2)+q>>2];a=(a|0)/(f|0)|0;i=i-p(c,f-1|0)|0;o=1-e|0;b:{c:{d:{e:{switch(f-2|0){case 2:e=(i<<2)+k|0;g=c+i|0;f=(g<<2)+k|0;g=(c+g<<2)+k|0;if(o){Aq(c,a,d,b,e,f,g);break c}Aq(c,a,b,d,e,f,g);break d;case 0:e=(i<<2)+k|0;if(!o){yq(c,a,b,d,e);break d}yq(c,a,d,b,e);break c;default:break e}}g=p(a,c);r=(i<<2)+k|0;if(!((c|0)==1?e:o)){wq(c,f,a,g,b,b,b,d,d,r);break c}wq(c,f,a,g,d,d,d,b,b,r)}e=0;c=1;break b}e=1;c=0}m=m+1|0;if((l|0)!=(m|0)){continue}break}if(c^1|(h|0)<1){break a}a=0;while(1){c=a<<2;n[c+b>>2]=n[c+d>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}}function pM(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=k[b|0]+a|0;e=c+k[b+1|0]|0;g=e+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;a=t+k[b+15|0]|0;f=a+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d-16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=k[d|0]+a|0;f=f+a|0;d=d+1|0;e=e-1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function Vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=j[c+12>>2];d=j[b+120>>2];if(d){qe[d|0](j[b+116>>2])}while(1){d=j[b+84>>2];if(d){ks(d);continue}break}Pr(b+108|0,582,a,c);j[b+88>>2]=0;c=j[b+48>>2];if(c){qe[c|0](b)}if(j[b+36>>2]>=1){c=0;while(1){g=c<<2;d=j[g+j[b+40>>2]>>2];f=j[j[d>>2]+100>>2];h=j[j[d+12>>2]+8>>2];if(h){qe[h|0](d)}if(d){qe[j[f+8>>2]](f,d)}j[j[b+40>>2]+g>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+36>>2]=0;j[b+40>>2]=0;c=j[e+52>>2];if(c){qe[c|0](b)}c=j[b+104>>2];a:{if(!c){break a}d=j[c+28>>2];f=j[b+8>>2];b:{if(!c){break b}e=j[c+24>>2];if(!e){break b}qe[e|0](c)}if(f&1024){break a}if(c){qe[j[d+8>>2]](d,c)}}j[b+104>>2]=0;c=j[b+128>>2];if(c){if(c){qe[j[a+8>>2]](a,c)}j[b+128>>2]=0}if(b){qe[j[a+8>>2]](a,b)}}function VL(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=j[j[a+96>>2]+8>>2];j[a+20>>2]=0;j[a+24>>2]=0;d=j[a+100>>2];b=d;c=j[a+368>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+368>>2]=0;b=d;c=j[a+372>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+372>>2]=0;c=j[a+376>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+376>>2]=0;c=j[a+364>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+360>>2]=0;j[a+364>>2]=0;j[a+348>>2]=0;j[a+352>>2]=0;c=j[a+388>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+380>>2]=0;j[a+384>>2]=0;j[a+388>>2]=0;c=j[a+416>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+408>>2]=0;j[a+412>>2]=0;j[a+416>>2]=0;b=j[a+396>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+392>>2]=0;j[a+396>>2]=0;b=j[a+424>>2];if(b){while(1){c=j[b>>2];if(b){qe[j[d+8>>2]](d,b)}b=c;if(b){continue}break}}j[a+428>>2]=0;j[a+420>>2]=0;j[a+424>>2]=0;b=j[a+32>>2];if(b){qe[j[e+8>>2]](e,b)}j[a+32>>2]=0}}function Kl(a,b,c,d){var e=0,f=0,g=0,i=0;e=j[c>>2];i=j[d>>2];a:{if(i>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(h[a+i|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;i=i+1|0;if((i|0)!=(b|0)){continue}break}i=b}j[c>>2]=e;j[d>>2]=i;return e>>>3&1}function Wp(a){var b=0,c=0,d=0,e=0;Ke(a,j[a+492>>2]);j[a+492>>2]=0;b=j[a+496>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+496>>2]}Ke(e,b);j[a+496>>2]=0}Ke(a,j[a+500>>2]);j[a+500>>2]=0;Ke(a,j[a+504>>2]);j[a+504>>2]=0;b=j[a+508>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+508>>2]}Ke(e,b);j[a+508>>2]=0}b=j[a+512>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+512>>2]}Ke(e,b);j[a+512>>2]=0}}function mg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=j[a>>2];if(!i){break a}f=j[a+36>>2];if((f|0)>=j[a+32>>2]){break a}d=j[a+16>>2];g=j[d+(f<<2)>>2];if(g&1024){j[a+36>>2]=f+1;b=a;c=j[a+348>>2];a=j[a+344>>2]+1|0;c=a>>>0<1?c+1|0:c;j[b+344>>2]=a;j[b+348>>2]=c;return-1}e=g&512;h=255;c=g&255;b:{if((c|0)!=255){h=c;break b}while(1){f=f+1|0;c=j[(f<<2)+d>>2];e=c&512?512:e;c=c&255;h=c+h|0;if((c|0)==255){continue}break}}c:{if(!b){e=j[a+344>>2];c=j[a+348>>2];g=j[a+12>>2];break c}j[b+8>>2]=g&256;j[b+12>>2]=e;g=j[a+12>>2];j[b>>2]=i+g;d=j[a+348>>2];c=d;e=j[a+344>>2];j[b+24>>2]=e;j[b+28>>2]=c;d=j[a+20>>2]+(f<<3)|0;i=j[d+4>>2];d=j[d>>2];j[b+4>>2]=h;j[b+16>>2]=d;j[b+20>>2]=i}d=e+1|0;c=d>>>0<1?c+1|0:c;j[a+344>>2]=d;j[a+348>>2]=c;e=1;j[a+36>>2]=f+1;j[a+12>>2]=g+h}return e}function bo(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;a:{b:{switch(d-1|0){case 0:d=h;h=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=d+((p(h,c>>>24|0)>>>0)/255|0)<<24|((p(h,c&255)>>>0)/255|0)+g;b=((p(h,c>>>8&255)>>>0)/255|0)+f<<8;g=((p(h,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;d=(b>>>0<255?b:255)|c&-16777216;b=(c>>>8&255)+f|0;b=(b>>>0<255?b:255)<<8;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=c&-16777216|(p(c&255,g)>>>0)/255;b=(p(c>>>8&255,f)>>>0)/255<<8;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}d=f<<8|e<<16;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=h<<24}j[a>>2]=d|g|b;return 0}function HL(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,i=0,k=0,l=0,m=0,n=0,o=0;i=oe-16|0;oe=i;e=6;a:{if((b|0)<0|j[a+16>>2]<=(b|0)){break a}f=j[a+8>>2];e=j[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=j[a>>2];k=c-g|0;n=(k|0)>-1&f>>>0>k>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}l=j[a+32>>2];h=He(l,f,i+12|0);j[a>>2]=h;e=j[i+12>>2];if(e){j[a>>2]=g;break a}if(g){Ae(h,g,j[a+8>>2]);h=j[a+16>>2];if((h|0)>=1){o=j[a>>2]-g|0;e=j[a+24>>2];h=e+(h<<2)|0;while(1){m=j[e>>2];if(m){j[e>>2]=o+m}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){qe[j[l+8>>2]](l,g)}}j[a+8>>2]=f;e=n?k:-1;if((e|0)<0){break b}c=e+j[a>>2]|0}b=b<<2;e=j[a+4>>2];j[b+j[a+24>>2]>>2]=e+j[a>>2];j[b+j[a+28>>2]>>2]=d;Ae(e+j[a>>2]|0,c,d);j[a+4>>2]=j[a+4>>2]+d;e=0}oe=i+16|0;return e|0}function CC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=q(0),g=0,i=q(0);g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>5|0;if(e){d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){f=n[c+28>>2];i=q(n[c+24>>2]*q(.5));n[d>>2]=q(i+n[c>>2])/q(1.5);f=q(f*q(.5));n[d+4>>2]=q(f+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+8>>2]/q(1.5);n[d+12>>2]=n[c+12>>2]/q(1.5);n[d+16>>2]=q(i+n[c+16>>2])/q(1.5);n[d+20>>2]=q(f+n[c+20>>2])/q(1.5);d=d+24|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=p((g|0)/8|0,6);h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function mv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+12>>2];f=j[a+8>>2];a:{if((f|0)>=1){while(1){g=p(h,20)+c|0;if((g|0)==(b|0)){break a}d=j[g+4>>2];e=j[b+4>>2];b:{if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[g+8>>2];e=j[b+8>>2];if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[b>>2];e=d>>>8&255;i=j[g>>2];k=i>>>8&255;if((e|0)!=(k|0)){if(k-e|0){break b}break a}e=i>>>16&15;d=d>>>16&15;if((e|0)!=(d|0)){if(e-d|0){break b}break a}if(j[g+12>>2]==j[b+12>>2]){break a}}h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(j[a+4>>2]==(f|0)){c=mf(c,p(f,20)+640|0);if(!c){return}j[a+12>>2]=c;j[a+4>>2]=j[a+4>>2]+32}c=p(f,20)+c|0;f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;j[c+16>>2]=j[b+16>>2];f=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=f;b=j[a+8>>2]+1|0;j[a+8>>2]=b;un(j[a+12>>2],b)}}function fE(a){var b=0,c=0,d=0,e=0;b=oe-16|0;oe=b;e=(uP(a),pP(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=dj(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=q(-si(d+1.5707963267948966));break a}a=si(d+ -1.5707963267948966);break a}a=dj(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=si(d+4.71238898038469);break a}a=q(-si(d+ -4.71238898038469));break a}a=dj(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=q(a-a);break a}b:{switch(cE(a,b+8|0)&3){case 0:a=dj(o[b+8>>3]);break a;case 1:a=si(o[b+8>>3]);break a;case 2:a=dj(-o[b+8>>3]);break a;default:break b}}a=q(-si(o[b+8>>3]))}oe=b+16|0;return a}function Tl(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,p=0;g=oe-16|0;oe=g;n=j[a+28>>2];j[g+12>>2]=0;f=xe(n,2,0,b,0,g+12|0);a:{if(!j[g+12>>2]){while(1){if(b>>>0<=e>>>0){break a}d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;c=h[d|0]}else{c=0}c=c<<24>>24;k=c&63;b:{if(c&128){d=(e^-1)+b|0;d=d>>>0>>0?d:k;Ee((e<<1)+f|0,0,(d<<1)+2|0);c=d+1|0;e=(d+e|0)+1|0;break b}d=0;if(c&64){while(1){o=(e<<1)+f|0,p=af(a),i[o>>1]=p;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}l=d>>>0>>0;d=c;if(l){continue}break b}}while(1){l=(e<<1)+f|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}i[l>>1]=c<<24>>24;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}l=d>>>0>>0;d=c;if(l){continue}break}}if(c>>>0>k>>>0){continue}break}if(f){qe[j[n+8>>2]](n,f)}}f=0}oe=g+16|0;return f}function Xk(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}Go(190,a);c=j[a+344>>2];b=a+348|0;a:{if(!c){break a}j[c+24>>2]=j[a+348>>2];b=a+340|0}b=j[b>>2];j[a+348>>2]=0;j[a+340>>2]=0;j[a+344>>2]=0;if(b){while(1){c=j[b+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+408>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+428>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+432>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}while(1){b=j[a+312>>2];if(b){jh(b);continue}break}b=j[a+188>>2];if(b){uj(b,73378,0)}j[a>>2]=0;b=j[a+320>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+320>>2]=0;qe[j[a+84>>2]](a)}function Cl(a,b,c,d){var e=0;a:{b:{c:{d:{e:{if(j[a+684>>2]){if(!Op(a,c)){c=1;break a}e=qe[j[a+684>>2]](a,a+764|0)|0;if((e|0)<=-1){break d}c=0;if(e){break a}if((d|0)>1){break e}if(j[a+688>>2]>1){break c}yi(a,211781);cq(a,211803);break c}f:{g:{h:{d=d?d:j[a+688>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(k[a+379|0]&32)){break f}}if(Op(a,c)){break e}c=1;break a}Ie(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}hf(a,211761);z()}c=1;if(!(k[a+379|0]&32)){break a}}i:{j:{k:{d=j[a+756>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}j[a+756>>2]=1;Je(a,211629);break a}j[a+756>>2]=d-1}MF(a,b,a+764|0);c=0}b=j[a+772>>2];if(b){Ke(a,b)}j[a+772>>2]=0;if(!(k[a+379|0]&32?0:c)){return}hf(a,211879);z()}function vq(a,b){var c=0,d=0,e=0,f=0;c=j[a+292>>2];e=j[a>>2];d=Zl(c,e,a);if(!d){h[c+561|0]=b;h[c+488|0]=0;j[c+16>>2]=0;j[c+428>>2]=0;f=j[e+640>>2];b=j[e+636>>2];j[c+460>>2]=0;j[c+464>>2]=0;j[c+456>>2]=b;j[c+452>>2]=f;d=0;if(b){j[c+364>>2]=b;j[c+356>>2]=f;j[c+360>>2]=0;j[c+352>>2]=2;d=qe[j[e+652>>2]](c)|0}j[a+300>>2]=d;i[c+300>>1]=0;i[c+292>>1]=0;i[c+294>>1]=16384;i[c+296>>1]=0;i[c+298>>1]=16384;j[c+284>>2]=0;j[c+288>>2]=1073741824;i[c+348>>1]=1;j[c+344>>2]=65537;j[c+304>>2]=1;Ae(a+172|0,c+284|0,68);j[a+116>>2]=j[c+396>>2];j[a+128>>2]=j[c+408>>2];j[a+140>>2]=j[c+420>>2];j[a+144>>2]=j[c+424>>2];b=j[c+448>>2];j[a+148>>2]=j[c+444>>2];j[a+152>>2]=b;b=j[c+456>>2];j[a+156>>2]=j[c+452>>2];j[a+160>>2]=b;b=j[c+464>>2];j[a+164>>2]=j[c+460>>2];j[a+168>>2]=b}return d}function If(a,b,c,d,e){var f=0,g=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;f=oe-240|0;oe=f;if(b){i[b+74>>1]=l[b+74>>1]|32768}g=Yf(f+32|0,196,0,209650);j=Yf(f+32|0,196,Yf(f+32|0,g+79|0,g,c),209660);q=f+32|0;a:{b:{g=d>>>24|0;if(g-48>>>0>9?!((g&223)-65>>>0<26|(g|0)==32):0){break b}k=d>>>16|0;m=k&255;if(m-48>>>0>9?!((m|0)==32|(k&223)-65>>>0<26):0){break b}n=d>>>8|0;o=n&255;if(o-48>>>0>9?!((o|0)==32|(n&223)-65>>>0<26):0){break b}p=d&255;if(p-48>>>0>9?!((p|0)==32|(d&223)-65>>>0<26):0){break b}c=(f+32|0)+j|0;h[c+5|0]=39;h[c+6|0]=58;h[c|0]=39;h[c+7|0]=32;h[c+4|0]=p-32>>>0<95?d:63;h[c+3|0]=o-32>>>0<95?n:63;h[c+2|0]=m-32>>>0<95?k:63;h[c+1|0]=g-32>>>0<95?g:63;c=j+8|0;break a}c=Yf(f+32|0,196,Yf(f+32|0,196,j,dG(f,f+24|0,d)),209664)}Yf(q,196,c,e);Of(a,f+32|0,b?2:1);oe=f+240|0}function $o(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=65533;f=j[b>>2];a:{if(!f){break a}b:{c:{d:{g=j[a>>2];d=k[g|0];e:{if(d>>>0>=252){c=65533;if((d&254)!=252){break e}e=5;c=1;break d}if(d>>>0>=248){c=65533;if((d&252)!=248){break e}e=4;c=3;break d}if(d>>>0>=240){c=65533;if((d&248)!=240){break e}e=3;c=7;break d}if(d>>>0>=224){c=65533;if((d&240)!=224){break e}e=2;c=15;break d}if(d>>>0>=192){c=65533;if((d&224)!=192){break e}e=1;c=31;break d}c=d&128?65533:d}j[a>>2]=g+1;j[b>>2]=f-1;break c}i=g+1|0;j[a>>2]=i;h=f-1|0;j[b>>2]=h;c=c&d;while(1){if(!h){break b}f=k[g+1|0];if((f&192)!=128){break b}g=g+1|0;i=i+1|0;j[a>>2]=i;h=h-1|0;j[b>>2]=h;c=f&63|c<<6;e=e-1|0;if(e){continue}break}}if((c&-2)==65534|c>>>0>1114111){break b}if((c&-2048)!=55296){break a}}c=65533}return c}function NA(){var a=0,b=0,c=0,d=0;a:{if(!_i(512)){break a}if(k[268300]){if(!j[67073]){break a}return}h[268300]=1;a=j[67074];if(a){while(1){b:{if(!j[a+60>>2]){break b}b=j[a+80>>2];if(b){qe[j[b+36>>2]](a)}if(!j[a+68>>2]){break b}YA(a)}if(j[a+72>>2]){c=j[a+28>>2];if((c|0)>=1){b=0;while(1){d=j[a+32>>2]+(b<<4)|0;if(j[d+8>>2]){bl(a,b&255,i[d+4>>1]);c=j[a+28>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}b=0;if(j[a+52>>2]>0){while(1){to(a,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(j[a+36>>2]>0){while(1){OA(a,b&255);b=b+1|0;if((b|0)>2]){continue}break}}j[a+72>>2]=0}a=j[a+92>>2];if(a){continue}break}}h[268300]=0;a=j[67074];if(a){while(1){if(j[a+88>>2]<=0){cl(a)}a=j[a+92>>2];if(a){continue}break}}qe[j[58772]]();if(!j[67073]){break a}}}function HE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-32|0;oe=e;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}f=c+1|0;d=j[a+788>>2];f:{if(d){if(f>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,f);if(!d){break e}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);if(Ie(a,0)){break a}g=c+d|0;h[g|0]=0;c=d;while(1){f=c;c=c+1|0;if(k[f|0]){continue}break}j[e+24>>2]=0;j[e+4>>2]=d;j[e>>2]=-1;j[e+16>>2]=0;j[e+20>>2]=0;c=(f|0)==(g|0)?f:c;j[e+8>>2]=c;i=e,l=Le(c),j[i+12>>2]=l;if(!Ll(a,b,e)){break a}Ze(a,211653);break a}hf(a,211072);z()}yi(a,212476);Je(a,211242)}oe=e+32|0}function bl(a,b,c){var d=0,e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(j[a+28>>2]<=(b|0)){break a}e=j[a+32>>2];d=e+(b<<4)|0;if(!j[d+8>>2]){i[d+4>>1]=c;i[d+2>>1]=c;i[d>>1]=c;j[d+8>>2]=1;break a}d=l[d+2>>1];if((d|0)==(c&65535)){break a}if(!j[(e+(b<<4)|0)+12>>2]){e=c-(d<<16>>16)|0;d=e>>31;if((d^d+e)<410){break a}d=j[a+32>>2]+(b<<4)|0;i[d+2>>1]=c;j[d+12>>2]=1;bl(a,b,i[d>>1])}b:{if(k[268304]){break b}e=j[66371];d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(e|!d){break b}d=j[a+32>>2];e=d+(b<<4)|0;g=i[e+4>>1];if(i[e+2>>1]<=(c|0)?(g|0)<(c|0):0){break a}if((c|0)>=(g|0)){break b}if(i[(d+(b<<4)|0)+2>>1]>=(c|0)){break a}}i[(j[a+32>>2]+(b<<4)|0)+2>>1]=c;if((We(1536,-1)|0)!=1){break a}j[f+8>>2]=1536;a=j[a>>2];i[f+24>>1]=c;h[f+20|0]=b;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function Wl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(b>>>0>c>>>0){break a}f=j[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=j[a+8>>2];f=j[g+(d<<3)>>2];g=j[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}k=j[a+4>>2];f=f<<3;h=j[k+f>>2];d=j[a>>2];m=j[f+d>>2];o=h-m|0;e=e<<3;l=j[e+k>>2];n=j[d+e>>2];p=l-n|0;if(!((g|0)==(i|0)|(h|0)==(l|0))){q=i-g|0;e=h-l|0;i=0;f=0;while(1){h=b<<3;d=j[h+d>>2];c:{if((d|0)<=(n|0)){d=d+p|0;break c}if((d|0)>=(m|0)){d=d+o|0;break c}if(!(i&255)){f=De(e,q)}d=ye(j[j[a+8>>2]+h>>2]-g|0,f)+l|0;k=j[a+4>>2];i=1}j[h+k>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=j[a>>2];continue}}while(1){a=b<<3;e=j[a+d>>2];j[a+k>>2]=(e|0)>(n|0)?(e|0)<(m|0)?l:e+o|0:e+p|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Wz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;if(!a){ve(85977,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86009,0);return}m=j[a+36>>2];a:{if((m|0)>(b|0)){break a}n=j[a+40>>2];if((j[a+44>>2]+m|0)<=(b|0)|(n|0)>(c|0)|(j[a+48>>2]+n|0)<=(c|0)){break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{switch(l-15|0){case 0:if(j[i+12>>2]!=31744){break b}fo(a,b,c,d,e&255,f&255,g&255,h);return;case 1:if(j[i+12>>2]!=63488){break b}eo(a,b,c,d,e&255,f&255,g&255,h);return;case 17:break c;default:break b}}if(j[i+12>>2]!=16711680){break b}if(!j[i+24>>2]){co(a,b,c,d,e&255,f&255,g&255,h);return}bo(a,b,c,d,e&255,f&255,g&255,h);return}if(!j[i+24>>2]){ao(a,b,c,d,e&255,f&255,g&255,h);return}$n(a,b,c,d,e&255,f&255,g&255,h)}}function qk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=j[a+4>>2];c=j[a>>2];if(!c){a=b>>31;return a+b^a}a=c>>31;a=a+c^a;if(b){d=a;a=b>>31;g=d|a+b^a;f=s(g);h=f-2|0;a:{if(g>>>0<=1073741823){a=b<>b;b=c>>b}c=0-b|0;b:{if((a|0)>(b|0)){d=(a|0)>(c|0);b=d?c:0-a|0;c=d?a:c;break b}d=(a|0)<(c|0);c=d?0-a|0:b;b=d?b:a}a=1;d=1;while(1){e=a+b>>d;c:{if((b|0)>=1){b=b-(a+c>>d)|0;c=c+e|0;break c}b=(a+c>>d)+b|0;c=c-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=c>>31;b=a+c^a;d=b&65535;a=p(d,56281);e=b>>>16|0;b=a+p(e,23318)|0;i=b<<16;d=i+p(d,23318)|0;a=(((p(e,56281)+(b>>>16|0)|0)+((a>>>0>b>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(c|0)<0?0-a|0:a;if(g>>>0<=536870911){return a+(1<>h}a=a<<2-f}return a}function df(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=j[a+12>>2];e=j[a+16>>2];if(j[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=Vf(j[a+8>>2],e+256|0);if(!d){break b}j[a+8>>2]=d;j[a+16>>2]=j[a+16>>2]+256;d=d+j[a>>2]|0;j[a+12>>2]=d}e=d;f=k[d|0];d=j[(c<<2)+63040>>2]&b;b=j[a+4>>2];h[e|0]=f|d<>2]+1|0]=d>>>8-j[a+4>>2];if((b|0)<16){break c}h[j[a+12>>2]+2|0]=d>>>16-j[a+4>>2];if((b|0)<24){break c}h[j[a+12>>2]+3|0]=d>>>24-j[a+4>>2];if((b|0)<32){break c}c=j[a+4>>2];if(c){h[j[a+12>>2]+4|0]=d>>>32-c;break c}h[j[a+12>>2]+4|0]=0}j[a+4>>2]=b&7;b=(b|0)/8|0;j[a>>2]=b+j[a>>2];j[a+12>>2]=b+j[a+12>>2];return}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Uz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(!a){ve(85977,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86054,0);return}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}a:{b:{c:{switch(l-15|0){case 0:l=213;if(j[i+12>>2]!=31744){break b}break a;case 17:if(j[i+12>>2]!=16711680){break b}l=j[i+24>>2]?214:215;break a;case 1:break c;default:break b}}l=216;if(j[i+12>>2]==63488){break a}}l=j[i+24>>2]?217:218}if((c|0)>=1){i=j[a+40>>2];n=i+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;q=g&255;r=f&255;s=e&255;e=0;while(1){g=(e<<3)+b|0;f=j[g+4>>2];d:{if((f|0)>=(n|0)){break d}g=j[g>>2];if((g|0)<(m|0)|(g|0)>=(o|0)|(f|0)<(i|0)){break d}qe[l|0](a,g,f,d,s,r,q,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function xq(a){var b=0,c=0,d=0,e=0,f=0;c=j[j[a>>2]+100>>2];b=j[a+292>>2];if(b){j[b+440>>2]=0;e=j[b+8>>2];d=e;f=j[b+24>>2];if(f){qe[j[d+8>>2]](d,f)}j[b+20>>2]=0;j[b+24>>2]=0;d=j[b+436>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+436>>2]=0;j[b+428>>2]=0;j[b+432>>2]=0;d=j[b+392>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+388>>2]=0;j[b+392>>2]=0;j[b>>2]=0;j[b+4>>2]=0;if(b){qe[j[e+8>>2]](e,b)}j[a+292>>2]=0}b=j[a+244>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+240>>2]=0;j[a+244>>2]=0;b=j[a+252>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+248>>1]=0;j[a+252>>2]=0;_l(a+256|0);b=j[a+124>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+124>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;j[a+132>>2]=0;j[a+116>>2]=0;j[a+120>>2]=0;j[a+136>>2]=0;j[a+140>>2]=0;j[a+144>>2]=0;j[a+296>>2]=-1;j[a+300>>2]=-1}function CA(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}a:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break a}b=Xe(1,28);if(b){break a}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=4;j[b+4>>2]=0;h[b+8|0]=k[a+324|0];h[b+9|0]=k[a+325|0];h[b+10|0]=k[a+326|0];h[b+11|0]=k[a+327|0];b:{if(j[a+336>>2]){break b}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function aE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;sP(+a);b=pP(1)|0;e=pP(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}sP(+(a*0x40000000000000));b=pP(1)|0;e=pP(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);qP(0,e|0);qP(1,(b&1048575)+1072079006|0);a=+rP()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a}function Rg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a:{b:{if(c-2>>>0>34){break b}d=j[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=k[d|0];switch(e-43|0){case 0:case 2:break d;default:break c}}d=d+1|0;if((d|0)==(b|0)){break a}n=(e|0)==45}i=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){j[a>>2]=d;e=0;break f}o=2147483647-p(c,i)|0;g:{while(1){m=l;e=f;h:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(f<<24>>24<0){break g}f=h[f+133760|0];if((f|0)<0|(c|0)<=(f|0)){break g}l=1;g=e;i:{if((e|0)>(i|0)){break i}if((e|0)==(i|0)){g=i;if((f|0)>(o|0)){break i}}l=m;g=f+p(c,e)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}m=l;e=f;d=b}j[a>>2]=d;a=2147483647;if(m&255){break e}}a=e}e=n?0-a|0:a}return e}return 0}function Nt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){Rj(j[a+52>>2]);break a}h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;b=k[a+10|0];c=j[a+16>>2];j[d>>2]=j[a+72>>2];j[d+4>>2]=(c>>>2>>>0)/(b>>>0);E(108614,d+13|0,d|0)|0;b=j[a+52>>2];if(!b){qe[f|0](j[a+48>>2],j[a+72>>2],e);break a}if((ii(b,j[a+72>>2],j[a+16>>2])|0)==-1){j[a+60>>2]=0}c=j[a+52>>2];b=0;b:{if(!c){break b}c=j[c+168>>2];b=0;c:{if(!c){break c}b=j[c+16>>2]}}if((b|0)<(e|0)){break a}while(1){if((Hh(j[a+52>>2],j[a+72>>2],e)|0)!=(e|0)){Oe(j[a+72>>2],k[a+35|0],e)}qe[f|0](j[a+48>>2],j[a+72>>2],e);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>=(e|0)){continue}break}}oe=d+16|0}function Ys(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=oe-1440|0;oe=f;a=j[a+84>>2];aa()|0;a:{if(!a){break a}if($(j[a>>2],f+8|0)|0){break a}d=o[f+8>>3];if(d==o[a+32>>3]?d!=0:0){break a}e=j[a+20>>2];if((e|0)>=1){while(1){b=c<<2;h=(b+a|0)+1064|0;g=j[h>>2];b=(b+f|0)+1048|0;i=j[b>>2];if((g|0)!=(i|0)){to(j[a+16>>2],c&255,(i|0)!=0);g=j[b>>2];e=j[a+20>>2]}b=c<<3;o[(b+a|0)+552>>3]=o[(b+f|0)+536>>3];j[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[a+24>>2];if((e|0)>=1){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=o[b+24>>3];if(d!=o[g+40>>3]){h=j[a+16>>2];i=c&255;d=d*32767;b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}bl(h,i,e);d=o[b+24>>3];e=j[a+24>>2]}o[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}o[a+32>>3]=o[f+8>>3]}oe=f+1440|0}function wC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0),o=0,r=0;c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=(p(c,3)|0)/2|0;g=c>>>4|0;if(g){d=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d+c|0;e=c+f|0;while(1){i=n[d-12>>2];c=d-16|0;l=n[c>>2];d=d-8|0;o=j[d+4>>2];r=j[d>>2];j[e-12>>2]=0;d=e-8|0;j[d>>2]=r;j[d+4>>2]=o;m=q(q(l+i)*q(.5));n[e-16>>2]=m;n[e-20>>2]=i+q(i-m);e=e-24|0;n[e>>2]=l+q(l-m);d=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=f;h[a+25|0]=f>>>8;h[a+26|0]=f>>>16;h[a+27|0]=f>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Ot(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0;e=oe+ -64|0;oe=e;h[e+62|0]=105;h[e+63|0]=0;j[e+32>>2]=d;a:{if((E(105929,e+62|0,e+32|0)|0)<=-1){b=ve(106422,0);break a}b:{b=HC(l[a+8>>1]);if(b){g=a+4|0;while(1){c=b;f=(b&65535)!=33056;if(!f){i[a+8>>1]=33056}b=GC();if(f?b:0){continue}break}if((c&65535)==33056){break b}}b=ve(106454,0);break a}j[a+96>>2]=1;b=0;h[e+61|0]=0;m=a,n=E(106482,e+61|0,0)|0,j[m+4>>2]=n;FC(g);if(d){h[e+60|0]=0;j[e+56>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+28>>2]=a;j[e+24>>2]=522;j[e+20>>2]=d;j[e+16>>2]=c;E(106552,e+56|0,e+16|0)|0;break a}h[e+52|0]=0;j[e+48>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+12>>2]=a;j[e+8>>2]=523;j[e+4>>2]=d;j[e>>2]=c;E(108204,e+48|0,e|0)|0}oe=e- -64|0;return b|0}function dC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=127;a:{if(c>=q(1)){break a}d=128;if(c<=q(-1)){break a}c=q(c*q(127));if(q(r(c))>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32776)}}function zg(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return Ae(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}h[d|0]=k[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;h[d|0]=k[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;j[c+a>>2]=j[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;h[c+a|0]=k[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){j[d>>2]=j[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){h[d|0]=k[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function cC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=255;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(127));if(c=q(0)){d=~~c>>>0;break a}d=0}h[i|0]=d;g=g+1|0;b=b+4|0;f=f-1|0;if(f){continue}break}b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24)}b=(b|0)/4|0;h[e+24|0]=b;h[e+25|0]=b>>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,8)}}function Gr(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0;j[d>>2]=0;if(!(!(e|f)|(a|0)<655)){q=d;r=(e|0)/2|0;if(f){o=j[g+28>>2];i=j[g+20>>2];h=j[g+16>>2];k=j[g+12>>2];l=j[g+8>>2];m=j[g+4>>2];p=j[g>>2];t=d;n=j[g+24>>2];f=n<<16;d=ye(c+e|0,a);if((62-(s(b)+s(d)|0)|0)<46){f=ye(d,b)}c=f;e=p<<16;a:{if((c|0)<(e|0)){b=De(m<<16,b);break a}b:{c:{d:{g=l<<16;e:{if((g|0)>(c|0)){e=De(e,b);c=l-p|0;if(!c){break e}b=Ne(d-e|0,k-m|0,c)+De(m<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}e=De(g,b);c=h-l|0;if(!c){f=h<<16;break c}b=Ne(d-e|0,i-k|0,c)+De(k<<16,b)|0;break a}if((c|0)>=n<<16){break b}}e=De(f,b);c=n-h|0;if(!c){break b}b=Ne(d-e|0,o-i|0,c)+De(i<<16,b)|0;break a}b=De(o<<16,b)}j[t>>2]=b;a=De(b,a<<1)}else{a=0}j[q>>2]=r+a}}function cl(a){var b=0,c=0,d=0;if(!a){ve(73091,0);return}b=j[a+88>>2];j[a+88>>2]=b-1;a:{if((b|0)>=2){if(!j[67073]){break a}return}if(k[268300]){if(!j[67073]){break a}return}qe[j[j[a+80>>2]+40>>2]](a);j[a+84>>2]=0;b=j[67074];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=j[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+92>>2];if(d){j[d+92>>2]=b;break b}j[67074]=b}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+32>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+40>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+48>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+56>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(!j[67073]){break a}}}function Xq(a){var b=0,c=0,d=0;if(a){b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+8>>2];if(b){while(1){d=b;b=c<<2;ze(j[j[d+b>>2]>>2]);ze(j[j[b+j[a+8>>2]>>2]+4>>2]);ze(j[j[b+j[a+8>>2]>>2]+8>>2]);ze(j[j[b+j[a+8>>2]>>2]+12>>2]);ze(j[j[b+j[a+8>>2]>>2]+16>>2]);ze(j[j[b+j[a+8>>2]>>2]+20>>2]);ze(j[j[b+j[a+8>>2]>>2]+24>>2]);ze(j[j[b+j[a+8>>2]>>2]+28>>2]);ze(j[b+j[a+8>>2]>>2]);c=c+1|0;if((c|0)!=17){b=j[a+8>>2];continue}break}ze(j[a+8>>2])}b=j[a+12>>2];if(b){ze(j[b>>2]);ze(j[j[a+12>>2]+4>>2]);ze(j[j[a+12>>2]+8>>2]);ze(j[a+12>>2])}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;a:{b:{if(!a|k[a+49|0]&64){break b}Wg(a,f+12|0,f+8|0);if(j[f+8>>2]>(c|0)?!((b|c)<0|j[f+12>>2]<=(b|0)):0){break b}if(j[67024]!=(a|0)){break a}if(d){Fh(a,j[67023],0,b,c);a=j[67024];if(!a){break a}}zf(a,11,0,0);j[67034]=0;j[67024]=0;a=j[67015];b=j[67049];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;break a}if(!a){break a}qe[a|0](0)|0;break a}h=1;e=j[67024];if((e|0)==(a|0)){break a}if(e){zf(e,11,0,0)}j[67024]=a;j[67034]=0;c:{if(a){zf(a,10,0,0);g=268200;if(j[67024]){break c}}g=268196}e=j[67015];g=j[g>>2];d:{if(!(j[67035]|(!g|!j[67051]))){if(!e){break d}qe[e|0](g)|0;break d}if(!e){break d}qe[e|0](0)|0}if(!d){break a}Fh(a,j[67023],0,b,c)}oe=f+16|0;return h}function sN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0);e=a+4|0;c=j[b+20>>2];g=Ce(e,j[c+12>>2]);a:{if((g|0)<1){break a}i=j[c+12>>2];k=j[c+16>>2];d=j[c+20>>2];d=Ce(e,d?32-s(d)|0:0);if((d|0)==-1|(d|0)>=j[c+20>>2]){break a}d=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2]+p(j[(c+(d<<2)|0)+24>>2],56)|0;c=Ef(a,(j[d>>2]+j[b+4>>2]<<2)+4|0);if((Zu(d,c,e,j[b+4>>2])|0)==-1){break a}e=j[b+4>>2];if((e|0)>=1){a=0;while(1){b:{if((a|0)>=(e|0)){break b}l=e-a|0;b=0;f=j[d>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break b}h=c+(a<<2)|0;n[h>>2]=m+n[h>>2];a=a+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}m=n[(c+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}n[c+(e<<2)>>2]=q(q(g|0)/q(-1<>>31|0;f=(e^-1)>>>31|0}a:{b:{e=k[a|0]&2;if(!e){break b}if((Eg(a)|0)>=0){break b}m=1;f=-1;break a}m=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=j[b+8>>2];if((g|0)<1){break a}n=j[b+12>>2];if((n|0)<1){break a}e=j[a+52>>2];h=k[j[e+56>>2]+9|0];o=l[b>>1];q=j[a+20>>2];r=l[b+4>>1];b=j[a+16>>2];j[e+28>>2]=b;j[e+24>>2]=n;j[e+20>>2]=g;j[e+32>>2]=b-p(g,h);j[e+16>>2]=(p(b,r)+q|0)+p(h,o);b=j[c+16>>2];g=k[j[e+60>>2]+9|0];j[e+36>>2]=(j[c+20>>2]+p(b,l[d+4>>1])|0)+p(g,l[d>>1]);h=j[d+8>>2];j[e+40>>2]=h;j[e+44>>2]=j[d+12>>2];j[e+52>>2]=b-p(g,h);j[e+48>>2]=b;qe[j[e+12>>2]](e+16|0)}if(!i){jg(c)}if(!m){jg(a)}return f|0}function rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];m=(j[a+4>>2]<<16)/(f|0)|0;n=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];l=d>>>8|0;o=c,q=l&255|(mP(d,24)&-65536|l&65280),j[o>>2]=q;c=c+4|0;b=b+m|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+n|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function rn(a,b){var c=0,d=0,e=0;c=j[j[67085]+288>>2];if(c){d=a;if((We(4096,-1)|0)!=1){e=(We(4097,-1)|0)==1}else{e=1}qe[c|0](d,e)}a:{if(!(b&128)){break a}c=j[67085];if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}if(k[a+48|0]&128){break a}d=j[c+96>>2];if(!d){break a}qe[d|0](c,a)}b:{if(!(b&64)){break b}c=j[67085];if(!c){ve(99429,0);break b}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break b}if(!j[c+100>>2]|k[a+48|0]&64){break b}Xg(a,0);c=j[67085];d=j[c+100>>2];if(!d){break b}qe[d|0](c,a)}if(b&1){pn(a,b)}if(b&256){bv(a)}c:{if(b&8){break c}b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(k[a+48|0]&4){break c}c=j[b+84>>2];if(c){qe[c|0](b,a)}zf(a,1,0,0)}}function Vj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-16|0;oe=g;e=qe[j[57972]](20)|0;if(e){j[57976]=j[57976]+1}a:{if(!e){b=Be(0);break a}f=Uf(a);j[e+8>>2]=f;if(!f){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}b=Be(0);break a}j[e+4>>2]=f;j[e+12>>2]=0;j[e>>2]=b;b=j[c>>2];b:{if(!b){break b}while(1){if(cf(a,j[b+8>>2])){b=j[b+16>>2];if(b){continue}break b}break}f=j[b+12>>2];h=f+1|0;if(h>>>0>>0){break b}i=Le(a)+16|0;b=i;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(!b){a=j[e+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);b=-1;break a}j[g>>2]=a;j[g+4>>2]=f+2;Ue(b,i,64808,g);j[e+4>>2]=b;j[e+12>>2]=h}j[e+16>>2]=j[c>>2];j[c>>2]=e;b=j[d>>2];j[d>>2]=b+1}oe=g+16|0;return b}function uh(a){var b=0,c=0,d=0;d=l[a+298>>1];a:{if((d|0)==16384){b=i[a+294>>1];j[a+564>>2]=b;c=b;break a}c=i[a+300>>1];if((c|0)==16384){b=i[a+296>>1];j[a+564>>2]=b;c=l[a+294>>1];break a}b=p(c,i[a+296>>1]);c=i[a+294>>1];b=b+p(c,d<<16>>16)>>14;j[a+564>>2]=b}b:{if((c&65535)==16384){j[a+572>>2]=945;break b}if(l[a+296>>1]==16384){j[a+572>>2]=946;break b}j[a+572>>2]=947}c:{if(l[a+290>>1]==16384){j[a+576>>2]=945;break c}if(l[a+292>>1]==16384){j[a+576>>2]=946;break c}j[a+576>>2]=948}j[a+588>>2]=949;j[a+584>>2]=950;d:{if((b|0)!=16384){break d}if((d|0)==16384){j[a+588>>2]=951;j[a+584>>2]=952;break d}if(l[a+300>>1]!=16384){break d}j[a+588>>2]=953;j[a+584>>2]=954}c=b>>31;if((c+b^c)<=1023){j[a+564>>2]=16384}j[a+256>>2]=0}function gz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=lh(a,d<<3,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){a=0;while(1){b=f;g=n[c>>2];a:{if(q(r(g))>2]=e;b=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);a=0;while(1){b=f;h=q(n[c>>2]+i);c:{if(q(r(h))>2]=e;b=f;h=q(n[c+4>>2]+g);d:{if(q(r(h))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}function QH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(j[b>>2]>=2){df(c,1,1);df(c,j[b>>2]-1|0,4);break a}df(c,0,1)}b:{if(j[b+1156>>2]>=1){df(c,1,1);df(c,j[b+1156>>2]-1|0,8);if(j[b+1156>>2]<1){break b}g=b+2184|0;h=b+1160|0;while(1){f=d<<2;e=j[a+4>>2]-1|0;df(c,j[f+h>>2],e?32-s(e)|0:0);e=j[a+4>>2]-1|0;df(c,j[f+g>>2],e?32-s(e)|0:0);d=d+1|0;if((d|0)>2]){continue}break}break b}df(c,0,1)}df(c,0,2);e=j[b>>2];c:{d:{if((e|0)>=2){if(j[a+4>>2]<1){break d}e=b+4|0;d=0;while(1){df(c,j[e+(d<<2)>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=j[b>>2]}if((e|0)<1){break c}}f=b+1092|0;e=b+1028|0;d=0;while(1){df(c,0,8);a=d<<2;df(c,j[a+e>>2],8);df(c,j[a+f>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function TK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}g=j[a>>2];c=j[a+28>>2];if(c){j[(j[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=j[a+32>>2];c:{if(h>>>0<=d>>>0){f=j[a+36>>2];break c}j[e+8>>2]=0;i=c+8&-8;f=xe(g,16,d,i,j[a+36>>2],e+8|0);j[a+36>>2]=f;d=j[e+8>>2];if(d){break b}j[a+32>>2]=i}c=(c<<4)+f|0;j[c+12>>2]=0;j[c>>2]=0;j[a+28>>2]=h;c=j[a- -64>>2];if(c){j[(j[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=j[a+68>>2];d:{if(f>>>0<=b>>>0){b=j[a+72>>2];break d}j[e+12>>2]=0;d=g;g=c+8&-8;b=xe(d,16,b,g,j[a+72>>2],e+12|0);j[a+72>>2]=b;d=j[e+12>>2];if(d){break b}j[a+68>>2]=g}b=(c<<4)+b|0;j[b+12>>2]=0;j[b>>2]=0;j[a+64>>2]=f;break a}j[a+4>>2]=d}oe=e+16|0}function oh(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+372>>2]+1|0;j[a+372>>2]=b;a:{if(b>>>0>2]){break a}if(k[a+432|0]){j[a+372>>2]=0;Ee(j[a+380>>2],0,j[a+364>>2]+1|0);b=k[a+433|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=k[c+212385|0];f=(d+j[a+348>>2]|0)+(k[c+212378|0]^-1)|0;j[a+368>>2]=(f>>>0)/(d>>>0);if(!(k[a+216|0]&2)){e=k[c+212371|0];c=(e+j[a+352>>2]|0)+(k[c+212364|0]^-1)|0;j[a+356>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}h[a+433|0]=b;return}h[a+433|0]=b}c:{if(k[a+212|0]&8){break c}Mp(a,0,0);j[a+236>>2]=0;b=j[a+212>>2];if(b&8){break c}j[a+212>>2]=b|8;j[a+208>>2]=j[a+208>>2]|8}if(j[a+220>>2]!=1229209940){break a}j[a+220>>2]=0;j[a+224>>2]=0;j[a+228>>2]=0;Ie(a,j[a+408>>2])}}function Qz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;e=oe-16|0;oe=e;a:{if(!a){ve(86100,0);break a}i=219;b:{c:{d:{e:{f=j[a+4>>2];switch(k[f+9|0]-1|0){case 1:break b;case 0:break d;case 3:break e;default:break c}}i=220;break b}i=221;if(k[f+8|0]>=8){break b}}ve(86149,0);break a}if((c|0)>=2){n=a+36|0;f=1;while(1){g=(f<<3)+b|0;h=g-8|0;j[e+12>>2]=j[h>>2];j[e+8>>2]=j[h+4>>2];j[e+4>>2]=j[g>>2];j[e>>2]=j[g+4>>2];if(zn(n,e+12|0,e+8|0,e+4|0,e)){h=1;l=j[e>>2];m=j[e+4>>2];h=(m|0)==j[g>>2]?j[g+4>>2]!=(l|0):h;qe[i|0](a,j[e+12>>2],j[e+8>>2],m,l,d,h)}f=f+1|0;if((f|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;g=j[c>>2];f:{if((g|0)!=j[b>>2]){f=j[c+4>>2];break f}f=j[c+4>>2];if((f|0)==j[b+4>>2]){break a}}Yz(a,g,f,d)}oe=e+16|0}function oO(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,i=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+18|0,b+12|0);g=j[b+12>>2];if(!g){i=Ae(f,c,a);c=i+a|0;a=k[116587]|k[116588]<<8;h[c+16|0]=a;h[c+17|0]=a>>>8;a=k[116583]|k[116584]<<8|(k[116585]<<16|k[116586]<<24);f=k[116579]|k[116580]<<8|(k[116581]<<16|k[116582]<<24);h[c+8|0]=f;h[c+9|0]=f>>>8;h[c+10|0]=f>>>16;h[c+11|0]=f>>>24;h[c+12|0]=a;h[c+13|0]=a>>>8;h[c+14|0]=a>>>16;h[c+15|0]=a>>>24;a=k[116575]|k[116576]<<8|(k[116577]<<16|k[116578]<<24);f=k[116571]|k[116572]<<8|(k[116573]<<16|k[116574]<<24);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;h[c+4|0]=a;h[c+5|0]=a>>>8;h[c+6|0]=a>>>16;h[c+7|0]=a>>>24;j[d>>2]=i;j[e>>2]=0}oe=b+16|0;return g|0}function pp(a,b,c,d,e,f){var g=0;g=oe-80|0;oe=g;a:{if((f|0)>=16384){lf(g+32|0,b,c,d,e,0,0,0,2147352576);d=j[g+40>>2];e=j[g+44>>2];b=j[g+32>>2];c=j[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}lf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=j[g+24>>2];e=j[g+28>>2];b=j[g+16>>2];c=j[g+20>>2];break a}if((f|0)>-16383){break a}lf(g- -64|0,b,c,d,e,0,0,0,65536);d=j[g+72>>2];e=j[g+76>>2];b=j[g+64>>2];c=j[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}lf(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=j[g+56>>2];e=j[g+60>>2];b=j[g+48>>2];c=j[g+52>>2]}lf(g,b,c,d,e,0,0,0,f+16383<<16);b=j[g+12>>2];j[a+8>>2]=j[g+8>>2];j[a+12>>2]=b;b=j[g+4>>2];j[a>>2]=j[g>>2];j[a+4>>2]=b;oe=g+80|0}function UE(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&2))){Ie(a,c);Je(a,211085);break a}f=3;e=8;if(k[a+435|0]!=3){f=k[a+439|0];e=k[a+436|0]}if(!((c|0)==(f|0)?c>>>0<=4:0)){Je(a,211064);Ie(a,c);break a}j[d+12>>2]=p(e,16843009);pf(a,d+12|0,c);tf(a,d+12|0,c);f=0;if(Ie(a,0)){break a}b:{if(!c){break b}while(1){if(e>>>0>(k[(d+12|0)+f|0]-1&255)>>>0){f=f+1|0;if((f|0)!=(c|0)){continue}break b}break}Je(a,211064);break a}e=k[d+12|0];i=a;c:{if(k[a+435|0]&2){c=k[d+13|0];f=k[d+14|0];g=d+12|3;break c}h[a+519|0]=e;c=e;f=c;g=d+12|1}h[i+520|0]=k[g|0];h[a+518|0]=f;h[a+517|0]=c;h[a+516|0]=e;QF(a,b,a+516|0)}oe=d+16|0;return}hf(a,211072);z()}function Fm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}g=6;a:{b:{if(!b){break b}e=j[b+4>>2];if((e|0)<0){break b}f=j[b+8>>2];if((f|0)<0){break b}d=j[b>>2];if(d>>>0>4){break b}i=j[j[a+96>>2]+12>>2];c=j[i+88>>2];if(c){break a}c:{if((j[a+8>>2]&3)==2){g=7;if(d){break b}d=e;c=j[b+12>>2];if(c){d=(p(c,e)+36|0)/72|0}c=f;b=j[b+16>>2];if(b){c=(p(b,f)+36|0)/72|0}g=23;h=j[a+28>>2];if((h|0)<1){break b}b=f?c:d;c=(e?b:c)+32|0;e=(e?d:b)+32|0;f=j[a+32>>2];b=0;while(1){d=f+(b<<4)|0;if(!((e^j[d+8>>2]+32)>>>0<64?(j[d+12>>2]+32^c)>>>0<=63:0)){b=b+1|0;if((h|0)!=(b|0)){continue}break b}break}g=6;if((b|0)>=(h|0)){break b}c=j[i+92>>2];if(c){break a}Dg(a,b);break c}Ei(a,b)}g=0}return g}return qe[c|0](j[a+88>>2],b)|0}function eK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=j[b>>2]+1|0;if(d>>>0<=65535){a=j[a+16>>2];g=a+518|0;h=a+6|0;while(1){a=d>>>8|0;a:{b:{if(!a){c=(d<<1&510)+h|0;a=g;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}a=(a<<1)+h|0;a=k[a|0]<<8|k[a+1|0]&248;if(!a){break a}a=a+g|0}f=k[a+7|0]|k[a+6|0]<<8;if(!f){break a}e=k[a+1|0]|k[a|0]<<8;c=d&255;d=(d&-256)+(c>>>0>>0?e:c)|0;e=c-e|0;c=c>>>0>>0?0:e;e=k[a+3|0]|k[a+2|0]<<8;if(c>>>0>=e>>>0){break a}i=k[a+5|0]|k[a+4|0]<<8;a=a+6+(f+(c<<1))|0;while(1){c:{f=k[a+1|0]|k[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}j[b>>2]=d;return f|0}a=a+2|0;d=d+1|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}d=d+256&-256;if(d>>>0<65536){continue}break}}j[b>>2]=0;return 0}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(p(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=b>>>16|0;d=a&65535;g=b&65535;h=a>>>16|0;i=p(f,d)+p(g,h)|0;b=i<<16;d=b+p(d,g)|0;a=d+(c>>>1|0)|0;b=((p(f,h)+(i>>>16|0)|0)+(b>>>0>d>>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=s(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-p(c,e)|0;a=a<>>31;b=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;f=f-1|0;if(f){continue}break}}a=(j|0)<0?0-e|0:e}return a}function js(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=6;a:{b:{if(!a){break b}d=j[a+4>>2];if(!d){break b}f=j[a+72>>2];if((f|0)==1651078259){return 0}g=j[j[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=j[g+148>>2];if(!c){break b}while(1){d=j[c+8>>2];if((f|0)==j[d+16>>2]){break c}c=j[c+4>>2];if(c){continue}break}break b}d=j[g+156>>2];if(!d){break a}c=j[g+148>>2]}e=0;f=qe[j[d+60>>2]](d,a,b,0)|0;if(!f){break b}i=g+148|0;d=f;while(1){d:{e:{if((d&255)!=19){break e}if(!g){return f}c=j[(c?c+4|0:i)>>2];if(!c){break e}e=j[a+72>>2];while(1){h=j[c+8>>2];if((e|0)==j[h+16>>2]){break d}c=j[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=qe[j[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function fr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;h=j[b>>2];f=j[b+8>>2];e=j[a>>2];if(e){b=j[a+8>>2];c=e;while(1){j[b+24>>2]=-1;j[b+16>>2]=j[b+16>>2]&-5;b=b+28|0;c=c-1|0;if(c){continue}break}}if(!h){j[a+4>>2]=0;return}b=0;c=0;while(1){if(!b){i=k[f|0];f=f+1|0;b=128}a:{if(!(b&i)){break a}d=j[a+8>>2]+p(c,28)|0;l=j[d+16>>2];if(l&4){break a}j[d+16>>2]=l|4;if(e>>>0<=g>>>0){break a}j[j[a+12>>2]+(g<<2)>>2]=d;g=g+1|0}b=b>>1;c=c+1|0;if((h|0)!=(c|0)){continue}break}j[a+4>>2]=g;if((g|0)>=2){e=j[a+12>>2];a=1;while(1){f=j[e+(a<<2)>>2];h=j[f>>2];b=a;while(1){c=b-1|0;d=e+(c<<2)|0;i=j[d>>2];if((h|0)<=j[i>>2]){j[e+(b<<2)>>2]=i;j[d>>2]=f;d=(b|0)>1;b=c;if(d){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function jB(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;f=oe+ -64|0;oe=f;a:{if(!a){ve(71857,0);break a}d=qe[j[a>>2]](a)|0;c=d+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(!c){qe[j[a+16>>2]](a)|0;ve(71871,0);break a}if((qe[j[a+8>>2]](a,c,d,1)|0)!=1){qe[j[a+16>>2]](a)|0;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}ve(71919,0);break a}qe[j[a+16>>2]](a)|0;g=c+d|0;h[g|0]=0;if((d|0)>=1){a=c;while(1){d=g;b=xg(a,10);if(b){h[b|0]=0;d=b}b=ih(a,71937);b:{if(!b){break b}b=Le(71937)+b|0;e=xg(b,44);if(!e){break b}e=e-b|0;if(e+2>>>0>63){break b}i=b;b=e+1|0;Re(f,i,b);if(Uk(f,63450,b)){break b}k=((Vi(a,1)|0)>0)+k|0}a=d+1|0;if(g>>>0>a>>>0){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}oe=f- -64|0}function _q(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,j=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=h[a|0];a=0;e=52;b:{while(1){i=a+e|0;c=i&-2;c=(k[c+136194|0]<<8|k[c+136195|0])+136192|0;d=k[c|0];j=d&127;if((g|0)==(j|0)){break b}c=i>>1;d=(g|0)>(j|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){while(1){a=c+1|0;e=d<<24;d=k[c+1|0];g=h[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(k[a+1|0]|k[a|0]<<8)+136192|0;d=k[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|h[c+1|0]>-1){break a}return k[c+3|0]|k[c+2|0]<<8}return 0}function sp(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];return;case 1:b=j[c>>2];j[c>>2]=b+4;b=j[b>>2];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 2:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];j[a+4>>2]=0;return;case 3:b=j[c>>2]+7&-8;j[c>>2]=b+8;c=j[b+4>>2];j[a>>2]=j[b>>2];j[a+4>>2]=c;return;case 4:b=j[c>>2];j[c>>2]=b+4;b=i[b>>1];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 5:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=l[b>>1];j[a+4>>2]=0;return;case 6:b=j[c>>2];j[c>>2]=b+4;b=h[b|0];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 7:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=k[b|0];j[a+4>>2]=0;return;case 8:b=j[c>>2]+7&-8;j[c>>2]=b+8;o[a>>3]=o[b>>3];return;case 9:break b;default:break a}}qe[d|0](a,c)}}function MI(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,m=0,n=0;f=oe-16|0;oe=f;a:{b:{h=l[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=j[(b?788:784)+a>>2];b=g+j[(b?692:684)+a>>2]|0;a=j[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=Fe(a,b);j[f+12>>2]=b;if(b){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}m=d,n=qf(a,f+12|0),i[m>>1]=n;if(!j[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}k=Fe(a,g-4|0);j[f+12>>2]=k;if(k){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){i[d>>1]=0;break a}b=Fe(a,c);j[f+12>>2]=b;if(b){break a}m=d,n=qf(a,f+12|0),i[m>>1]=n;break a}i[d>>1]=0;i[e>>1]=0}oe=f+16|0}function Jv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function eH(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,i=0;f=oe-1520|0;oe=f;a:{b:{if(d&16){if(!c){break b}d=0;Ee(e,0,c<<2);break a}d=qe[j[j[j[a+488>>2]+12>>2]>>2]](f+8|0,a,0,0,j[a+420>>2],j[a+528>>2],0,0,974)|0;if(d){break a}h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[a+404>>2];j[f+1376>>2]=j[a+408>>2];j[f+1380>>2]=j[a+412>>2];j[f+1496>>2]=j[a+544>>2];j[f+1500>>2]=j[a+540>>2];d=0;if(!c){break a}a=0;while(1){i=(a<<2)+e|0;c:{if(!jk(f+8|0,a+b|0,f+1512|0)){d=j[j[j[f+12>>2]+128>>2]+48>>2];if(d){qe[j[j[d>>2]+4>>2]](j[d+4>>2],f+1512|0)}d=j[f+48>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}d=g>>16;break c}d=0}j[i>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}oe=f+1520|0;return d|0}function zO(a,b,c,d){var e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=6;a:{if(!a|!d){break a}j[d>>2]=0;j[d+4>>2]=0;j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=xe(a,8,0,b,0,e+12|0),j[g+4>>2]=h;b:{if(j[e+12>>2]){break b}g=d,h=xe(a,1,0,b,0,e+12|0),j[g+8>>2]=h;if(j[e+12>>2]){break b}f=0;g=d,h=xe(a,2,0,c,0,e+12|0),j[g+12>>2]=h;if(j[e+12>>2]){break b}i[d>>1]=c;i[d+2>>1]=b;j[d+16>>2]=j[d+16>>2]|1;break a}j[d+16>>2]=j[d+16>>2]|1;b=j[d+4>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+4>>2]=0;b=j[d+8>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+8>>2]=0;b=j[d+12>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[d>>2]=0;j[d+4>>2]=0;f=j[e+12>>2]}oe=e+16|0;return f}function aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&-16711936|d<<16&16711680|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function qN(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;f=oe-16|0;oe=f;c=j[a>>2];a:{if(k[c+8|0]&2){if(!(qe[j[j[c+532>>2]+104>>2]](c,b,f+12|0)|0)){Ir(a,j[f+12>>2]);break a}j[a+44>>2]=-1;c=j[a>>2]}Ei(c,b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);if(!b|!c){break a}b=j[b>>2];if(!b){break a}g=qe[b|0](c)|0;if(!g){break a}h=j[j[a>>2]+656>>2];c=j[h+1392>>2];i=j[a+40>>2];qe[j[g+4>>2]](j[i>>2],j[a+16>>2],j[a+20>>2],0,0);e=j[h+1896>>2];if(!e){break a}while(1){b=j[a+16>>2];e=e-1|0;l=e<<2;d=j[j[(l+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=Ne(b,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[g+4>>2]](j[(i+l|0)+4>>2],b,d,0,0);if(e){continue}break}}oe=f+16|0;return 0}function ks(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}g=j[a+4>>2];b=j[g+84>>2];if(!b){break a}d=j[g+96>>2];e=j[d+8>>2];if((a|0)!=(b|0)){while(1){f=j[b+8>>2];if(!f){break a}c=b;b=f;if((b|0)!=(a|0)){continue}break}}j[(c?c+8|0:g+84|0)>>2]=j[a+8>>2];c=e;b=j[a+20>>2];if(b){qe[b|0](a);d=j[j[a+4>>2]+96>>2];c=j[d+8>>2]}b=j[j[d+12>>2]+68>>2];if(b){qe[b|0](a)}b=j[a+156>>2];if(!b){j[a+88>>2]=0;if(a){qe[j[e+8>>2]](e,a)}return}b:{if(h[b+4|0]&1){f=j[j[a+4>>2]+100>>2];b=j[a+88>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+88>>2]=0;b=j[a+156>>2];j[b+4>>2]=j[b+4>>2]&-2;break b}j[a+88>>2]=0}if(!(k[j[d>>2]+1|0]&2)){ps(j[b>>2]);b=j[a+156>>2];j[b>>2]=0}if(b){qe[j[c+8>>2]](c,b)}j[a+156>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function co(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;a:{b:{switch(d-1|0){case 0:d=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=((p(d,c&255)>>>0)/255|0)+g|0;f=((p(d,c>>>8&255)>>>0)/255|0)+f|0;g=((p(d,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;b=b>>>0<255?b:255;d=(c>>>8&255)+f|0;f=d>>>0<255?d:255;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(p(c&255,g)>>>0)/255|0;f=(p(c>>>8&255,f)>>>0)/255|0;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=e<<16}j[a>>2]=f<<8|b|g;return 0}function om(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=j[a+52>>2];c=k[a+32|0];a:{b:{c:{if(c){break c}b=j[a+24>>2];if(b>>>0>=m[a+28>>2]){break c}if(m[a+56>>2]>2]){break b}}if(m[a+56>>2]>=m[a+60>>2]){d=d+1|0;j[a+52>>2]=d;b=a;if(m[a+40>>2]>d>>>0){e=(1<>2]+1|0}j[b+60>>2]=e}if(c){j[a+60>>2]=256;j[a+52>>2]=9;h[a+32|0]=0;d=9}e=-1;if(j[a+4>>2]){break a}b=0;c=Dm(j[a+164>>2],a+8|0,d);j[a+24>>2]=0;j[a+36>>2]=c+j[a+36>>2];f=j[a+52>>2];j[a+4>>2]=f>>>0>c>>>0;j[a+28>>2]=(c<<3|1)-f;if(!c){break a}}j[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=k[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a-8|0;e=k[c+1|0]<>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&65280|d<<16|d>>>16&255|-16777216;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Ee(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;h[d-1|0]=b;h[a|0]=b;if(c>>>0<3){break a}h[d-2|0]=b;h[a+1|0]=b;h[d-3|0]=b;h[a+2|0]=b;if(c>>>0<7){break a}h[d-4|0]=b;h[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=p(b&255,16843009);j[e>>2]=b;c=c-d&-4;d=c+e|0;j[d-4>>2]=b;if(c>>>0<9){break a}j[e+8>>2]=b;j[e+4>>2]=b;j[d-8>>2]=b;j[d-12>>2]=b;if(c>>>0<25){break a}j[e+24>>2]=b;j[e+20>>2]=b;j[e+16>>2]=b;j[e+12>>2]=b;j[d-16>>2]=b;j[d-20>>2]=b;j[d-24>>2]=b;j[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){j[b+24>>2]=f;j[b+28>>2]=d;j[b+16>>2]=f;j[b+20>>2]=d;j[b+8>>2]=f;j[b+12>>2]=d;j[b>>2]=f;j[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function kz(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;g=g|0;h=h|0;var i=q(0),k=0;c=lh(a,56,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){k=c;i=q(n[e>>2]+q(d|0));b:{if(q(r(i))>2]=d;i=q(n[e+4>>2]+q(a|0));break a}a=c;i=n[e>>2];c:{if(q(r(i))>2]=d;i=n[e+4>>2]}d:{if(q(r(i))>2]=a;a=c;i=n[e+8>>2];e:{if(q(r(i))>2]=b;i=n[e+12>>2];o[c+32>>3]=f;a=c;if(q(r(i))>2]=b;Ge(c+40|0,g,8);j[c+48>>2]=h;return 0}function Ej(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<16&16711680|d&65280|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function An(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;if(c){a:{f=j[a>>2];if((f|0)>j[b>>2]){break a}if((a|0)!=(b|0)){if(wf(j[a+4>>2],j[b+4>>2],f<<2)){break a}}j[c>>2]=1;return 0}j[c>>2]=0}c=j[a>>2];f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){if(j[a>>2]>=1){while(1){l=0;m=j[b>>2];if((m|0)>=1){c=j[a+4>>2]+(g<<2)|0;o=k[c+3|0];q=k[c+2|0];r=k[c+1|0];s=k[c|0];t=j[b+4>>2];n=-1;c=0;while(1){b:{d=(c<<2)+t|0;e=k[d+1|0]-r|0;i=p(e,e);e=k[d|0]-s|0;i=i+p(e,e)|0;e=k[d+2|0]-q|0;d=k[d+3|0]-o|0;d=(i+p(e,e)|0)+p(d,d)|0;if(d>>>0>>0){l=c;n=d;if(!d){break b}}c=c+1|0;if((m|0)!=(c|0)){continue}}break}}h[f+g|0]=l;g=g+1|0;if((g|0)>2]){continue}break}}return f}Be(0);return 0}function En(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d>>>8&65280|d>>>24|d<<8&16711680;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function wk(a){var b=0,c=0;a:{if(!a){break a}c=j[a>>2];if(!c){break a}j[a+44>>2]=0;j[a+48>>2]=0;b=j[a+52>>2];if((b|0)!=(a+72|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+52>>2]=0}j[a+56>>2]=0;j[a+60>>2]=0;b=j[a- -64>>2];if((b|0)!=(a+936|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+64>>2]=0}b=a+1512|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1520>>2]=0}b=a+1524|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1532>>2]=0}b=j[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0;b=j[a+28>>2];if((b|0)!=(a+3032|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0}j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0}}function hh(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;l=j[(k[a+30|0]<<2)+234976>>2]+((j[a+20>>2]&67305985)>>>k[a+34|0]|0)|0;m=j[(k[a+29|0]<<2)+234976>>2]+((j[a+16>>2]&67305985)>>>k[a+33|0]|0)|0;n=j[(k[a+28|0]<<2)+234976>>2]+((j[a+12>>2]&67305985)>>>k[a+32|0]|0)|0;i=j[a+24>>2];h=0;a:{if(!i){break a}h=k[j[(k[a+31|0]<<2)+234976>>2]+((i&67305985)>>>k[a+35|0]|0)|0]}a=k[m|0]>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2]|!i?a:h>>>k[b+31|0]<>>24|0;i=a>>>16&255;l=a>>>8&255;a=a&255;b:{if(!a){a=1;h=0;break b}if(!l){h=1;l=1;break b}if(!i){i=1;h=2;break b}h=b?0:3;b=b?b:1}j[c>>2]=a-1;j[d>>2]=l-1;j[e>>2]=i-1;j[f>>2]=b-1;if(g){j[g>>2]=h}}function LN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0;d=j[b>>2];if(m[d+16>>2]>c>>>0){b=j[d+140>>2];f=l[b+278662>>1];e=j[b+56>>2];if(c){b=c-1|0}else{b=j[d+164>>2]}b=e+p(b,36)|0;g=l[b+10>>1];c=i[b+20>>1];e=i[b+16>>1];k=j[b+24>>2];n=l[b+14>>1];o=l[b+12>>1];j[a+84>>2]=j[b+28>>2];j[a+80>>2]=o;j[a+76>>2]=n;ms(a,k);a:{b:{switch(f-1|0){case 0:h[a+94|0]=1;break a;case 1:h[a+94|0]=3;break a;case 3:h[a+94|0]=4;break a;case 7:break b;default:break a}}i[a+92>>1]=256;h[a+94|0]=2}j[a+104>>2]=c;j[a+100>>2]=e;j[a+72>>2]=1651078259;j[a+40>>2]=g<<6;j[a+36>>2]=c<<6;j[a+32>>2]=e<<6;j[a+24>>2]=j[a+80>>2]<<6;j[a+28>>2]=j[a+76>>2]<<6;Fi(a+24|0,l[j[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function HN(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;l=6;g=j[a+140>>2];a:{if(!g|!b|!j[g+72>>2]){break a}h=k[b|0];if(!h){break a}f=j[g+128>>2];i=j[f+12>>2];a=h;d=b;while(1){e=p(e,31)+(a<<24>>24)|0;a=k[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=j[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=j[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=j[a>>2];if(k[f|0]==(h|0)){if(!we(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=j[d>>2];if(a){continue}break a}break}b=j[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(j[a+4>>2]<<4)|0;switch(j[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}j[c>>2]=1;break c}j[c>>2]=2;break c}j[c>>2]=3}j[c+4>>2]=j[a+12>>2];l=0}return l|0}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=p(c,3);g=c>>>3|0;if(g){f=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=f+c|0;d=c+e|0;while(1){c=f-8|0;i=n[c>>2];l=n[f-4>>2];n[d-4>>2]=l;n[d-8>>2]=i;j[d-12>>2]=0;m=q(q(i+l)*q(.5));n[d-16>>2]=m;n[d-20>>2]=l+q(l-m);d=d-24|0;n[d>>2]=i+q(i-m);f=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=e;h[a+25|0]=e>>>8;h[a+26|0]=e>>>16;h[a+27|0]=e>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function bC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=32767;a:{if(c>=q(1)){break a}d=32768;if(c<=q(-1)){break a}c=q(c*q(32767));if(q(r(c))>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32784)}}function Gm(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;i=oe-32|0;oe=i;k=j[a>>2];a:{if(!b){g=6;if(b){qe[j[k+8>>2]](k,b)}break a}h=He(k,40,i);b:{g=j[i>>2];if(!g){j[h+32>>2]=0;j[h+8>>2]=0;j[h+4>>2]=c;j[h>>2]=b;j[h+20>>2]=0;j[h+24>>2]=0;j[h+24>>2]=583;g=j[i>>2];if(!g){break b}}if(b){qe[j[k+8>>2]](k,b)}break a}j[i+16>>2]=h;j[i>>2]=2;if(e){j[i>>2]=10;b=j[a+16>>2];c:{if((b|0)<1){g=0;break c}c=((b<<2)+a|0)+20|0;b=a+20|0;while(1){g=j[b>>2];if(!we(j[j[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}j[i+20>>2]=g}g=Jm(a,i,d,f);if(!g){a=j[f>>2];j[a+8>>2]=j[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=j[h+24>>2];if(!a){break d}qe[a|0](h)}if(h){qe[j[k+8>>2]](k,h)}}oe=i+32|0;return g}function aC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=65535;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(32767));if(c=q(0)){d=~~c>>>0;break a}d=0}i[j>>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,16)}}function yz(a){var b=0,c=0;if(!a){ve(86369,0);return 0}b=Xe(1,440);if(!b){Be(0);return 0}c=Xe(1,8);if(!c){a=j[b+436>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Be(0);return 0}j[c+4>>2]=a;j[c>>2]=a;j[b+68>>2]=235;j[b+64>>2]=236;j[b+60>>2]=237;j[b+52>>2]=238;j[b+16>>2]=239;j[b+8>>2]=240;j[b+4>>2]=241;j[b+84>>2]=242;j[b+80>>2]=243;j[b+76>>2]=244;j[b+72>>2]=245;j[b+48>>2]=246;j[b+44>>2]=247;j[b+40>>2]=248;j[b+36>>2]=249;j[b+32>>2]=250;j[b+28>>2]=250;j[b+24>>2]=251;j[b+20>>2]=251;Ae(b+104|0,231804,84);j[b+436>>2]=c;a:{if(j[c>>2]){break a}a=j[c+4>>2];j[c>>2]=a;if(a){break a}a=tj(j[b+188>>2]);if(!a){break a}j[c>>2]=a;j[c+4>>2]=a}return b}function Om(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=j[(c?16:12)+b>>2];b=j[(c?8:4)+b>>2];f=p(c,1572)+a|0;g=f+1608|0;a:{if(j[f+1612>>2]==(h|0)?(b|0)==j[g>>2]:0){break a}j[g>>2]=b;j[f+48>>2]=h;j[f+44>>2]=b;j[f+1612>>2]=h;if(!j[f+260>>2]){break a}g=0;i=p(c,1572)+a|0;while(1){a=p(g,28)+i|0;c=a;d=ye(j[a+264>>2],b)+h|0;j[a+272>>2]=d;j[a+268>>2]=d;d=ye(j[a+276>>2],b)+h|0;j[a+284>>2]=d;j[a+280>>2]=d;j[a+288>>2]=j[a+288>>2]&-2;if(ye(j[a+264>>2]-j[a+276>>2]|0,b)+48>>>0<=96){d=j[a+268>>2]+32&-64;j[c+272>>2]=d;d=De(d,b)-j[a+276>>2]|0;e=d>>31;e=ye(e^d+e,b);e=(e|0)<32?0:e+32&-64;j[a+284>>2]=((d|0)<0?e:0-e|0)+j[c+272>>2];j[a+288>>2]=j[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function AC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(n[c>>2]+g)/q(1.5);n[d+4>>2]=q(g+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+16>>2]/q(1.5);n[d+12>>2]=n[c+20>>2]/q(1.5);d=d+16|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<2;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function $i(a){var b=0,c=0,d=0;j[65586]=0;bn();a=a>>>4&512|a;b=a&544?a|16384:a;if(b&16384){a=k[262318];if(!a){Ig(66627,170,0);YB();DB();a=k[262318]}h[262318]=a+1}if(b&1){a=k[262304];if(!a){a=k[262304]}h[262304]=a+1}a:{if(b&32){a=k[262309];if(!a){if((tn()|0)<0){break a}a=k[262309]}h[262309]=a+1}if(b&16){a=k[262308];if(!a){if((PC()|0)<0){break a}a=k[262308]}h[262308]=a+1}if(b&512){a=k[262313];if(!a){if((XA()|0)<0){break a}a=k[262313]}h[262313]=a+1}if(b&8192){a=k[262317];if(!a){if((dB()|0)<0){break a}a=k[262317]}h[262317]=a+1}if(b&4096){return ve(63399,0)}if(b&32768){a=k[262319];if(!a){if(!j[67077]){c=268308,d=Ki(),j[c>>2]=d}$i(16384);break a}h[262319]=a+1}return 0}return-1}function MF(a,b,c){var d=0,e=0,f=0,g=0,i=0;g=1;a:{if(!(!b|(!c|!a))){d=Gl(a,j[b+236>>2],j[b+240>>2],1,20);if(!d){Of(a,207590,1);return}Ke(a,j[b+236>>2]);j[b+236>>2]=d;j[b+232>>2]=j[b+232>>2]|512;f=d+p(j[b+240>>2],20)|0;while(1){d=j[c>>2];h[f+4|0]=0;j[f>>2]=d;e=k[c+16|0]&11;if(!e){if(k[a+209|0]&128){break a}cq(a,207643);e=j[a+208>>2]&11;if(!e){break a}}while(1){d=e;i=0-d&d;e=d^i;if((d|0)!=(i|0)){continue}break}h[f+16|0]=d;d=j[c+12>>2];b:{c:{if(!d){e=0;j[f+8>>2]=0;break c}d=ag(a,d);j[f+8>>2]=d;if(!d){Of(a,207614,1);break b}e=j[c+12>>2];Ae(d,j[c+8>>2],e)}j[f+12>>2]=e;j[b+240>>2]=j[b+240>>2]+1;f=f+20|0}c=c+20|0;d=(g|0)>1;g=g-1|0;if(d){continue}break}}return}Ye(a,207695);z()}function rN(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,m=0;g=oe-16|0;oe=g;h=j[a+84>>2];a:{b:{c:{if(!(k[a+8|0]&8)){break c}if(d&16){if(!k[a+292|0]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);j[(f<<2)+e>>2]=l[g+12>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!l[a+250>>1]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);j[(f<<2)+e>>2]=l[g+10>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!c){break b}i=d|256;m=(d&16?60:56)+h|0;while(1){d=Lr(h,j[a+88>>2],b+f|0,i);if(d){break a}j[(f<<2)+e>>2]=j[m>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}oe=g+16|0;return d|0}function Hq(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;b=j[a+28>>2];a:{if((b|0)==-1){break a}e=j[a+36>>2];g=j[a+40>>2];if(e>>>0>=g>>>0){break a}d=b+1|0;i=j[a+16>>2]+20|0;while(1){b=p(e,12)+i|0;c=b-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0<=c>>>0){b=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);b=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))-f|0;while(1){f=b+d|0;if(f){j[a+36>>2]=e;j[a+32>>2]=f;j[a+28>>2]=d;return}d=d+1|0;if(c>>>0>=d>>>0){continue}break}}e=e+1|0;if(g>>>0>e>>>0){continue}break}}h[a+24|0]=0}function mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]|-16777216;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Qu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a){j[e>>2]=99203;a=ve(98171,e);break a}if(j[a+16>>2]<=-1){a=ve(99218,0);break a}d=j[66371];b:{if(!d){break b}c=j[67085];if(!c){ve(99429,0);break b}if(j[d>>2]!=(c+316|0)){ve(98129,0);break b}g=(k[d+49|0]&64)>>>6|0}h=j[67035];fl(0);gl(0);i=Bo(1);Eo();c=j[67085];c:{d:{if(!c){break d}f=j[c+280>>2];if(!f){break d}a=qe[f|0](c,a,b?b:e+12|0)|0;if((a|0)!=-1){break c}}ve(99244,0);a=-1}e:{if(!d){break e}b=j[67085];f:{if(!b){ve(99429,0);break f}if(j[d>>2]!=(b+316|0)){ve(98129,0);break f}if(!(k[d+48|0]&4)){break f}c=j[b+92>>2];if(!c){break f}qe[c|0](b,d)}if(!g){break e}fl(1)}Bo(i);gl(h)}oe=e+16|0;return a}function Hn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]&16777215;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function $j(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0;h=oe-240|0;oe=h;i=j[d>>2];j[h+232>>2]=i;d=j[d+4>>2];j[h>>2]=a;j[h+236>>2]=d;k=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,a)|0)<1){break d}m=0-b|0;l=!f;while(1){e:{d=i;if(!(!l|(e|0)<2)){f=j[((e<<2)+g|0)-8>>2];i=a+m|0;if((qe[c|0](i,d)|0)>-1){break e}if((qe[c|0](i-f|0,d)|0)>-1){break e}}j[(k<<2)+h>>2]=d;f=h+232|0;a=gP(j[h+232>>2]-1|0);if(!a){a=gP(j[h+236>>2]);a=a?a+32|0:0}ak(f,a);k=k+1|0;e=a+e|0;if(j[h+236>>2]?0:j[h+232>>2]==1){break b}f=0;l=1;a=d;i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,j[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}jp(b,h,k);tl(d,b,c,e,g)}oe=h+240|0}function gn(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;g=(b+1|0)/2|0;h=(a+1|0)/2|0;a=p(b,d)+c|0;c=p(b,f)+e|0;if((a|0)==(c|0)){c=qe[j[57972]](h?h:1)|0;if(c){j[57976]=j[57976]+1}if(!c){return Be(0)}d=(f+1|0)/2|0;if((b|0)>=1){b=(g|0)>1?g:1;f=p(d,g)+a|0;e=0;while(1){Ge(c,a,h);Ge(a,f,h);Ge(f,c,h);f=d+f|0;a=a+d|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}return 0}if((b|0)<1){return 0}e=(d+1|0)/2|0;k=(g|0)>1?g:1;i=(f+1|0)/2|0;f=p(i,g)+c|0;d=0;while(1){Ge(f,a,h);f=f+i|0;a=a+e|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}if((b|0)<1){return 0}b=(g|0)>1?g:1;f=0;while(1){Ge(c,a,h);c=c+i|0;a=a+e|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function wy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+24>>2];l=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;m=j[a+56>>2];n=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}i=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!i){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}o=a>>>7&1;if((o|0)!=(m|0)){h[b|0]=k[g+o|0]}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}i=a>>>7&1;if((i|0)!=(m|0)){h[b|0]=i}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}}}function Fn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]>>>8;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Xu(a){var b=0,c=0,d=0,e=0;a:{if(!j[a+100>>2]){break a}b=j[67085];c=j[b+120>>2];if(!c){break a}qe[c|0](b,a,j[a+104>>2])|0}b=j[67085];c=j[b+312>>2];d=j[a+48>>2];b:{if(!(!(j[67035]|d&256)|!(d&512))){c:{if(!c|(a|0)==(c|0)){break c}j[c+48>>2]=j[c+48>>2]&-257;d=j[b+128>>2];if(!d){break c}qe[d|0](b,c,0);b=j[67085]}j[b+312>>2]=a;e=1;break b}if((a|0)!=(c|0)){break b}j[b+312>>2]=0}c=j[b+128>>2];if(c){qe[c|0](b,a,e)}d:{if(j[a+120>>2]|!(h[a+48|0]&1)){break d}if(!yg(99609,1)){break d}b=j[67085];if(!b){ve(99429,0);return}if(j[a>>2]!=(b+316|0)){ve(98129,0);return}if(!j[b+100>>2]|k[a+48|0]&64){break d}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break d}qe[c|0](b,a)}}function mm(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a>>2];if(e>>>0>>0){while(1){c=e+1|0;a:{b:{c:{d:{e:{f=k[e|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}d=c;if((f|0)!=92){break a}if((b|0)==(c|0)){j[a>>2]=b;return 3}f:{f=k[c|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}d=c;if(b>>>0<=c>>>0){break a}e=0;d=c;if((f&248)!=48){break a}while(1){c=c+1|0;d=c;if(e>>>0>1){break a}d=c;if(b>>>0<=c>>>0){break a}e=e+1|0;if((k[c|0]&248)==48){continue}break}d=c;break a}g=g+1|0;d=c;break a}g=g-1|0;d=c;if(g){break a}j[a>>2]=c;return 0}d=e+2|0}e=d;if(e>>>0>>0){continue}break}}j[a>>2]=e;return 3}function Sk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2];c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function vN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-208|0;oe=d;j[d+204>>2]=0;a:{b:{c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);c:{if(!b|!c){break c}b=j[b>>2];if(!b){break c}e=qe[b|0](c)|0;if(!e){break c}b=j[a>>2];f=j[b+656>>2];g=He(j[b+100>>2],1028,d+204|0);b=j[d+204>>2];if(b){break b}Mr(f+1324|0,d+8|0);b=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,g)|0;j[d+204>>2]=b;if(b){break b}i=g+4|0;b=j[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;Mr(j[(c+f|0)+1900>>2],d+8|0);c=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,c+i|0)|0;j[d+204>>2]=c;if(!c){continue}break}h=c;break a}j[a+40>>2]=g}j[a+44>>2]=-1;break a}h=b}oe=d+208|0;return h|0}function _M(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;e=j[a+656>>2];a:{b:{if(!e){break b}f=j[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=j[e+2964>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=m[e+1312>>2]){break c}g=j[j[e+1316>>2]+(f<<2)>>2];break c}a=j[e+2956>>2];g=0;if(!a){break c}g=qe[j[a+20>>2]](f)|0}a=g;j[h+2964>>2]=a}j[b>>2]=a}if(c){a=j[e+2968>>2];if(!a){a=0;b=j[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[e+1312>>2]){break d}a=j[j[e+1316>>2]+(b<<2)>>2];break d}f=j[e+2956>>2];if(!f){break d}a=qe[j[f+20>>2]](b)|0}j[e+2968>>2]=a}j[c>>2]=a}if(!d){break b}j[d>>2]=j[e+1464>>2]}a=0}return a|0}function zk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;j=(c|0)<0?0-d|0:d;d=2147483647;f=c;c=c>>31;c=f+c^c;a:{if(!c){break a}f=b;b=b>>31;b=f+b^b;f=a;a=a>>31;a=f+a^a;if(b+a>>>0<=131071){d=(p(a,b)>>>0)/(c>>>0)|0;break a}e=b>>>16|0;g=a&65535;b=b&65535;h=a>>>16|0;i=p(e,g)+p(b,h)|0;a=i<<16;f=a;a=a+p(b,g)|0;b=(p(e,h)+(i>>>16|0)|0)+(f>>>0>a>>>0)|0;if(!b){d=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}e=s(b);g=32-e|0;b=a>>>g|b<>>0)/(c>>>0)|0;b=b-p(c,d)|0;a=a<>>31;b=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}a=(j|0)<0?0-d|0:d}return a}function wh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(j[a+64>>2]!=3){j[a+64>>2]=3;e=j[a+20>>2];if(!e){break a}b:{if(k[a+68|0]){d=j[a+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break a}}f=l[e>>1];d=f<<16>>16;if((d|0)<1){break b}i[(j[e+12>>2]+(f<<1)|0)-2>>1]=l[e+2>>1]-1}d=l[e>>1]}i[e>>1]=d+1;d=j[a+12>>2];if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){e=j[d+8>>2];f=i[d+2>>1];a=j[d+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[e+f|0]=1}i[d+2>>1]=l[d+2>>1]+1}d=0}return d|0}function ff(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0;a:{c=j[a+112>>2];d=j[a+116>>2];b:{if(c|d){b=c>>>0<=m[a+120>>2];c=j[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=OD(a);if((g|0)>-1){break a}}j[a+104>>2]=0;return-1}i=a;b=j[a+116>>2];l=b;d=j[a+8>>2];c=d;f=j[a+112>>2];c:{if(!(b|f)){break c}c=d;e=j[a+120>>2]^-1;f=e+f|0;b=(j[a+124>>2]^-1)+l|0;b=f>>>0>>0?b+1|0:b;l=j[a+4>>2];e=d-l|0;n=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?n:0){break c}c=f+l|0}j[i+104>>2]=c;i=j[a+4>>2];if(d){c=a;b=(d-i|0)+1|0;d=b+j[a+120>>2]|0;a=j[a+124>>2]+(b>>31)|0;j[c+120>>2]=d;j[c+124>>2]=d>>>0>>0?a+1|0:a}a=i-1|0;if(k[a|0]!=(g|0)){h[a|0]=g}return g}function bI(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}b=j[a+8>>2];a=He(b,612,d+8|0);if(j[d+8>>2]){break b}j[a+432>>2]=32;j[a+8>>2]=b;f=a,g=xe(b,16,0,32,0,d+12|0),j[f+436>>2]=g;if(!j[d+12>>2]){j[a+440>>2]=0;j[a+388>>2]=0;j[a+392>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;j[a+4>>2]=0;break a}j[a+440>>2]=0;b=j[a+8>>2];c=b;e=j[a+24>>2];if(e){qe[j[c+8>>2]](c,e)}j[a+20>>2]=0;j[a+24>>2]=0;c=j[a+436>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+436>>2]=0;j[a+428>>2]=0;j[a+432>>2]=0;c=j[a+392>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+388>>2]=0;j[a+392>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[b+8>>2]](b,a)}if(!j[d+12>>2]){break a}}a=0}oe=d+16|0;return a}function Kh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(q(n[c>>2]+g)+n[c+16>>2])/q(2.5);n[d+4>>2]=q(q(g+n[c+4>>2])+n[c+20>>2])/q(2.5);d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/3|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Kp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}g=j[a>>2];if(!g){break a}e=j[a+36>>2];if((e|0)>=j[a+32>>2]){break a}h=j[a+16>>2];c=j[h+(e<<2)>>2];if(c&1024){j[a+36>>2]=e+1;b=a;d=j[a+348>>2];a=j[a+344>>2]+1|0;d=a>>>0<1?d+1|0:d;j[b+344>>2]=a;j[b+348>>2]=d;return-1}i=1;if(!b){break a}k=c&256;f=c&512;d=255;c=c&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=j[(e<<2)+h>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}j[b+8>>2]=k;j[b+12>>2]=f;j[b>>2]=j[a+12>>2]+g;c=j[a+348>>2];j[b+24>>2]=j[a+344>>2];j[b+28>>2]=c;a=j[a+20>>2]+(e<<3)|0;c=j[a+4>>2];a=j[a>>2];j[b+4>>2]=d;j[b+16>>2]=a;j[b+20>>2]=c}return i}function vM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;d=j[b+96>>2];a:{if((d|0)<0|j[a+300>>2]<=(d|0)){break a}f=j[a+304>>2];if((qe[j[b+52>>2]](b,6,c,3)|0)<6){break a}e=j[c+12>>2];b=e>>31;b=b^b+e;if(!b){break a}g=a,h=De(1e3,b),i[g+68>>1]=h;if((b|0)!=65536){g=c,h=De(j[c>>2],b),j[g>>2]=h;g=c,h=De(j[c+4>>2],b),j[g+4>>2]=h;g=c,h=De(j[c+8>>2],b),j[g+8>>2]=h;g=c,h=De(j[c+16>>2],b),j[g+16>>2]=h;g=c,h=De(j[c+20>>2],b),j[g+20>>2]=h;j[c+12>>2]=j[c+12>>2]<0?-65536:65536}a=p(d,252)+f|0;j[a+216>>2]=j[c>>2];j[a+224>>2]=j[c+4>>2];j[a+220>>2]=j[c+8>>2];j[a+228>>2]=j[c+12>>2];j[a+232>>2]=j[c+16>>2]>>16;j[a+236>>2]=j[c+20>>2]>>16}oe=c+32|0}function OF(a,b,c,d,e){var f=0;a:{if(!a|!b){break a}b:{if(!c){break b}fj(a,b,8192,0);f=qh(a,256);j[b+156>>2]=f;j[a+528>>2]=f;if(d-1>>>0>255){break b}Ae(f,c,d)}c:{if(e){c=k[b+24|0];d:{if(c>>>0>15){break d}c=-1<>1]){break e}break d;case 2:break f;default:break d}}if((c|0)>1]|(c|0)>1]){break e}if((c|0)>=l[e+6>>1]){break d}}Ze(a,207473)}a=l[e+4>>1]|l[e+6>>1]<<16;c=l[e>>1]|l[e+2>>1]<<16;i[b+160>>1]=c;i[b+162>>1]=c>>>16;i[b+164>>1]=a;i[b+166>>1]=a>>>16;i[b+168>>1]=l[e+8>>1];i[b+22>>1]=d?d:1;break c}i[b+22>>1]=d;if(!d){break a}}j[b+8>>2]=j[b+8>>2]|16;j[b+232>>2]=j[b+232>>2]|8192}}function WO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=k[a+20|0];f=j[a+16>>2];g=j[a+12>>2];a:{b:{if(!we(b,116413)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+8>>2]=b;if(!b){a=uk(d,e+8|0,a);if(a){break a}b=j[e+8>>2];j[d+116>>2]=b;j[d+120>>2]=561}j[c+4>>2]=j[b+8>>2];break b}if(!we(b,116356)){j[c>>2]=j[j[(g<<2)+114864>>2]+8>>2];break b}if(!we(b,116372)){j[c>>2]=f;break b}if(!we(b,116387)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+12>>2]=b;if(!b){a=uk(d,e+12|0,a);if(a){break a}b=j[e+12>>2];j[d+116>>2]=b;j[d+120>>2]=561}j[c+4>>2]=j[b+12>>2];break b}a=12;if(we(b,116405)){break a}h[c|0]=d}a=0}oe=e+16|0;return a|0}function Fg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-48|0;oe=f;a:{if(!a){j[f>>2]=97378;ve(97352,f);a=0;break a}if(!b){j[f+16>>2]=97380;ve(97352,f+16|0);a=0;break a}if(!c){j[f+32>>2]=97382;ve(97352,f+32|0);a=0;break a}b:{g=j[a+8>>2];c:{if((g|0)<1){break c}h=j[a+12>>2];if((h|0)<1){break c}i=j[b+8>>2];if((i|0)<1){break c}k=j[b+12>>2];if((k|0)>0){break b}}j[c+8>>2]=0;j[c+12>>2]=0;a=0;break a}d=j[b>>2];e=j[a>>2];l=(d|0)>(e|0)?d:e;j[c>>2]=l;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-l|0;j[c+8>>2]=d;b=j[b+4>>2];a=j[a+4>>2];e=(a|0)<(b|0)?b:a;j[c+4>>2]=e;b=b+k|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;j[c+12>>2]=a;a=(d|0)>0&(a|0)>0}oe=f+48|0;return a}function uj(a,b,c){var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;e=j[67085];a:{if(!e){ve(99429,0);break a}if(!(j[a>>2]==(e+316|0)?a:0)){ve(98129,0);break a}if(!(k[b|0]?b:0)){j[f>>2]=98626;ve(98171,f);break a}g=a+140|0;d=j[a+140>>2];if(d){e=0;while(1){b:{a=d;d=j[a>>2];if(!d){break b}if(cf(d,b)){break b}d=j[a+4>>2];if(c){j[a+4>>2]=c;break a}j[(e?e+8|0:g)>>2]=j[a+8>>2];b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break a}e=a;d=j[a+8>>2];if(d){continue}break}}d=0;if(!c){break a}a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}b=Uf(b);j[a+4>>2]=c;j[a>>2]=b;j[a+8>>2]=j[g>>2];j[g>>2]=a}oe=f+16|0;return d}function ii(a,b,c){var d=0,e=0,f=0;f=oe-32|0;oe=f;a:{if(!a){j[f>>2]=65611;d=ve(65309,f);break a}if(!b){j[f+16>>2]=65618;d=ve(65309,f+16|0);break a}if(!c){break a}if((c|0)%j[a+196>>2]|0){d=ve(65622,0);break a}if(!(j[a+84>>2]|(j[a>>2]|j[a+216>>2]!=j[a+204>>2]))){d=nl(j[a+168>>2],b,c);break a}if((c|0)<1){break a}while(1){d=j[a+184>>2];e=j[a+180>>2];if(!(d|(e|0)>(c|0))){d=Sj(a,b,c,0);break a}if((e|0)>(c+d|0)){Ge(d+j[a+176>>2]|0,b,c);j[a+184>>2]=j[a+184>>2]+c;d=0;break a}e=e-d|0;Ge(d+j[a+176>>2]|0,b,e);j[a+184>>2]=0;if((Sj(a,j[a+176>>2],j[a+180>>2],0)|0)<0){d=-1;break a}b=b+e|0;d=0;c=c-e|0;if((c|0)>0){continue}break}}oe=f+32|0;return d}function RJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];d=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=j[b>>2]+1|0;while(1){a:{c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if(d>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}c=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);c=(d-f|0)+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(!c){break a}j[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}j[b>>2]=0;return 0}function Cf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;i=j[b+12>>2];g=b;e=j[b+16>>2];k=e;f=e;h=j[a+48>>2];d=j[a+52>>2];if(h>>>0>d>>>0){d=j[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;j[g+16>>2]=k-e;j[b+20>>2]=e+j[b+20>>2];d=j[a+56>>2];if(d){d=qe[d|0](j[a+60>>2],h,e)|0;j[a+60>>2]=d;j[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Ae(i,h,e)+e|0;f=e+h|0;if((f|0)==j[a+44>>2]){e=j[a+40>>2];d=j[a+52>>2];if((f|0)==(d|0)){j[a+52>>2]=e;d=e}f=j[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;j[b+16>>2]=f-d;j[b+20>>2]=d+j[b+20>>2];f=j[a+56>>2];if(f){f=qe[f|0](j[a+60>>2],e,d)|0;j[a+60>>2]=f;j[b+48>>2]=f}f=d+e|0;g=Ae(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}j[b+12>>2]=g;j[a+48>>2]=f;return c}function Im(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;i=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){return-138}if(b<0){break a}g=j[a+52>>2];b:{if((g|0)<1){break b}while(1){e=k+ns(a,d);if(e>b){e=k;break b}l=j[a+68>>2]+(d<<4|8)|0;f=j[l>>2]+h|0;c=j[l+4>>2]+c|0;c=h>>>0>f>>>0?c+1|0:c;h=f;k=e;d=d+1|0;if((g|0)>(d|0)){continue}break}}if((d|0)==(g|0)){break a}f=a;b=(b-e)*+j[(j[a+72>>2]+(d<<5)|0)+8>>2]+(+(h>>>0)+ +(c|0)*4294967296);c:{if(r(b)<0x8000000000000000){c=r(b)>=1?b>0?~~t(v(b*2.3283064365386963e-10),4294967295)>>>0:~~w((b- +(~~b>>>0>>>0))*2.3283064365386963e-10)>>>0:0;a=~~b>>>0;break c}c=-2147483648;a=0}i=Wm(f,a,c)}return i}function nK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=oe;k=d;e=j[a>>2];g=d-((e<<2)+15&-16)|0;oe=g;Nq(e,j[a+24>>2],b,c,q(140),-1);if((e|0)>=1){d=0;while(1){f=d<<2;n[f+g>>2]=n[b+f>>2]-n[c+f>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}Nq(e,j[a+24>>2],g,c,q(0),j[j[a+4>>2]+128>>2]);d=0;a:{if((e|0)<=0){break a}while(1){f=d<<2;h=f+g|0;n[h>>2]=n[b+f>>2]-n[h>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}if((e|0)<1){break a}b=j[a+4>>2];d=0;while(1){f=d<<2;h=f+c|0;i=+n[h>>2]+.5;b:{if(r(i)<2147483648){a=~~i;break b}a=-2147483648}a=(a|0)<39?a:39;n[h>>2]=n[f+g>>2]+n[(b+(((a|0)>0?a:0)<<2)|0)+336>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}oe=k}function jz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=q(0),g=0;c=lh(a,32,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){g=c;f=q(n[e>>2]+q(d|0));b:{if(q(r(f))>2]=d;f=q(n[e+4>>2]+q(a|0));break a}a=c;f=n[e>>2];c:{if(q(r(f))>2]=d;f=n[e+4>>2]}d:{if(q(r(f))>2]=a;a=c;f=n[e+8>>2];e:{if(q(r(f))>2]=b;f=n[e+12>>2];f:{if(q(r(f))>2]=a;return 0}function pq(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];f=j[a+24>>2];i[d+14>>1]=0;i[d+12>>1]=0;i[d+10>>1]=0;i[d+8>>1]=0;g=j[f+8>>2];qe[j[j[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(k[c+292|0]){qe[j[j[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=j[a+48>>2];if(l[c+364>>1]!=65535){e=i[c+434>>1];i[d+12>>1]=e-b;c=e-i[c+436>>1]|0;b=c>>31;i[d+8>>1]=b^b+c;break a}e=i[c+220>>1];i[d+12>>1]=e-b;c=e-i[c+222>>1]|0;b=c>>31;i[d+8>>1]=b^b+c}b=Fe(f,g);b:{if(b){break b}j[a+52>>2]=i[d+14>>1];c=l[d+10>>1];j[a+56>>2]=c;j[a+176>>2]=i[d+12>>1];j[a+180>>2]=l[d+8>>1];if(k[a+64|0]){break b}j[a+60>>2]=c;h[a+64|0]=1}oe=d+16|0;return b}function kf(a){a=a|0;var b=0,c=0;a:{if(!a|k[a|0]&4){break a}vf(j[a+52>>2]);b=j[a+56>>2];j[a+56>>2]=b-1;if((b|0)>1){break a}b=j[a+28>>2];b:{if((b|0)<1){break b}while(1){c=b-1|0;j[a+28>>2]=c;if((b|0)==1){b=j[a>>2];if(!(b&2)){break b}j[a>>2]=b&-3;Hj(a);b=j[a+28>>2]}else{b=c}if((b|0)>0){continue}break}}if(k[a|0]&2){ei(a,0)}b=j[a+4>>2];if(b){if((Mk(b,0)|0)>=0){vf(j[a+52>>2])}Nk(j[a+4>>2]);j[a+4>>2]=0}c=j[a>>2];c:{if(c&1){break c}b=j[a+20>>2];if(c&8){if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}break c}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+52>>2];if(b){wv(b)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function dm(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,q=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(k[a+1152|0]&2){d=d&511;if(d>>>0>=257){d=512-d|0;break a}d=(d|0)==256?255:d;break a}d=(d|0)<255?d:255}m=d;if(m){b=j[a+164>>2]+b|0;o=(b|0)<32767?b:32767;b=a+1196|0;d=j[a+1388>>2];g=b+p(d,6)|0;b:{f=j[a+1400>>2];c=j[a+172>>2]+c|0;if((f|0)!=(c|0)|(d|0)<1){break b}f=c;n=g-6|0;q=l[n+2>>1];if((q+i[n>>1]|0)!=(o|0)|k[g-2|0]!=(m|0)){break b}i[n+2>>1]=e+q;return}c:{if(!((c|0)!=(f|0)|(d|0)>31)){b=g;break c}d:{if((d|0)<1){break d}g=j[a+1392>>2];if(!g){break d}qe[g|0](f,d,b,j[a+1396>>2])}j[a+1400>>2]=c;d=0}h[b+4|0]=m;i[b+2>>1]=e;i[b>>1]=o;j[a+1388>>2]=d+1}}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0;if(!a){return 35}f=16;a:{b:{if(l[a+264>>1]<=b>>>0){break b}d=j[a+536>>2];if(!d){return 7}f=0;g=c,i=qe[j[d+16>>2]](0)|0,j[g>>2]=i;e=j[a+468>>2];if((e|0)!=163840){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!k[a+612|0]){if(Bq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}b=l[j[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){break a}j[c>>2]=j[(j[a+624>>2]+(b<<2)|0)-1032>>2];return 0}if(!k[a+612|0]){if(Bq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}g=c,i=qe[j[d+16>>2]](h[j[a+620>>2]+b|0]+b|0)|0,j[g>>2]=i}return f|0}g=c,i=qe[j[d+16>>2]](b)|0,j[g>>2]=i;return 0}function zz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;m=oe-16|0;oe=m;a:{if(!a){ve(86288,0);break a}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86320,0);break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{d:{switch(l-15|0){case 0:l=229;if(j[i+12>>2]!=31744){break c}break b;case 17:if(j[i+12>>2]!=16711680){break c}l=j[i+24>>2]?230:231;break b;case 1:break d;default:break c}}l=232;if(j[i+12>>2]==63488){break b}}l=j[i+24>>2]?233:234}if((c|0)<1){break a}i=a+36|0;g=g&255;f=f&255;n=e&255;e=0;while(1){if(Fg((e<<4)+b|0,i,m)){qe[l|0](a,m,d,n,f,g,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}oe=m+16|0}function ts(a,b,c){var d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;l=p(c,1468)+a|0;f=j[l- -64>>2];a=j[l+56>>2];g=p(c,1572)+b|0;n=j[g+44>>2];b=ye(m[b+40>>2]/40|0,n);if((a|0)>=1){s=(b|0)<32?b:32;t=p(a,48)+f|0;a=j[g+260>>2];b=a;while(1){if(b){b=0;c=s;k=0;while(1){e=p(b,28)+g|0;d=j[e+288>>2];if(!(!(d&1)|(d&2)>>>1^j[l+68>>2]!=h[f+13|0])){a=i[f>>1];o=a-j[e+264>>2]|0;d=o>>31;q=a-j[e+276>>2]|0;r=q>>31;e=(d^d+o)>(r^r+q)?e+276|0:e+264|0;d=a-j[e>>2]|0;a=d>>31;d=ye(a^a+d,n);a=(d|0)<(c|0);c=a?d:c;k=a?e:k;a=j[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(k){j[f+20>>2]=k}b=a}else{b=0}f=f+48|0;if(t>>>0>f>>>0){continue}break}}}function Hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b&255;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,o)>>>0)/255|0;l=(p(l,q)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b>>>24|0;j[u>>2]=c|(i<<8|l<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Gv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,q)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b&255;j[u>>2]=c|(l<<8|i<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Fq(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}d=j[a+36>>2];f=j[a+40>>2];if(d>>>0>=f>>>0){break a}e=c+1|0;g=j[a+16>>2]+20|0;while(1){b:{c=p(d,12)+g|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break b}j[a+36>>2]=d;j[a+32>>2]=c;j[a+28>>2]=e;return}d=d+1|0;if(f>>>0>d>>>0){continue}break}}h[a+24|0]=0}function mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(s){i=(p(i,n)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,q)>>>0)/255|0}b=b&255;j[d>>2]=l<<8|c<<16|i|(r?(p(b,m)>>>0)/255|0:b)<<24;d=d+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[t+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function am(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=j[a+696>>2];a:{if(f>>>0>b>>>0){d=j[a+700>>2];b:{if(l[a+210>>1]){b=d+(b<<2)|0;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c;b=b+8|0;if(b>>>0>d+(f<<2)>>>0){break b}b=b-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=k[e|0]<<8|k[e+1|0];c=b<<1;f=d+(f<<1)|0;d=e+4|0;if(f>>>0>=d>>>0){b=d-2|0;b=k[b|0]<<8|k[b+1|0]}e=b<<1}d=0;a=j[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>>0?a:e;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}j[g>>2]=b;return d|0}function Zv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){n=k[a+63|0];o=k[a+62|0];q=k[a+61|0];r=k[a+60|0];b=j[a+52>>2];s=b&2;t=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){u=a;h=j[a+24>>2];if(h){while(1){c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;h=h-1|0;m=c>>>24|0;c=f;if(t){l=(p(l,q)>>>0)/255|0;i=(p(i,r)>>>0)/255|0;b=(p(b,o)>>>0)/255|0}j[c>>2]=l<<8|i<<16|b|(s?(p(m,n)>>>0)/255|0:m)<<24;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[u+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function yL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;f=oe-16|0;oe=f;Pf(a,j[a+8>>2]);g=j[a+8>>2];d=j[a>>2];j[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}l=k[d|0];e=93;b:{c:{if((l|0)==91){break c}e=1;if((l|0)!=123){break b}e=125}m=e;d=d+1|0;j[f+12>>2]=d;e=0}l=e;if(d>>>0>=g>>>0){break a}while(1){Pf(f+12|0,g);e=j[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(k[e|0]==(m|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}n=c?(h<<1)+c|0:f+10|0,o=xh(f+12|0,g,0)>>>16|0,i[n>>1]=o;d=j[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(l){break a}if(d>>>0>>0){continue}break}}j[a>>2]=d;oe=f+16|0;return h|0}function xL(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,i=0,l=0,m=0,n=0,o=0;g=oe-16|0;oe=g;Pf(a,j[a+8>>2]);h=j[a+8>>2];e=j[a>>2];j[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}l=k[e|0];f=93;b:{c:{if((l|0)==91){break c}f=1;if((l|0)!=123){break b}f=125}m=f;e=e+1|0;j[g+12>>2]=e;f=0}l=f;if(e>>>0>=h>>>0){break a}while(1){Pf(g+12|0,h);f=j[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(k[f|0]==(m|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}n=c?(i<<2)+c|0:g+8|0,o=xh(g+12|0,h,d),j[n>>2]=o;e=j[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(l){break a}if(e>>>0>>0){continue}break}}j[a>>2]=e;oe=g+16|0;return i|0}function qg(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,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=j[c>>2];if(!g){break a}h=j[g+100>>2];e=He(h,j[a>>2],f+12|0);b:{if(j[f+12>>2]){break b}i=j[c+4>>2];j[e>>2]=j[c>>2];j[e+4>>2]=i;j[e+8>>2]=j[c+8>>2];j[e+12>>2]=a;c:{a=j[a+4>>2];if(a){a=qe[a|0](e,b)|0;j[f+12>>2]=a;if(a){break c}}a=j[g+36>>2];a=xe(h,4,a,a+1|0,j[g+40>>2],f+12|0);j[g+40>>2]=a;if(j[f+12>>2]){break c}b=j[g+36>>2];j[g+36>>2]=b+1;j[a+(b<<2)>>2]=e;break b}a=j[j[e>>2]+100>>2];b=j[j[e+12>>2]+8>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}e=0}if(d){j[d>>2]=e}e=j[f+12>>2]}oe=f+16|0;return e|0}function uC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),j=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);g=c<<1;f=c>>>3|0;if(f){e=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=e+c|0;d=e+g|0;while(1){e=c-8|0;i=n[e>>2];j=n[c-4>>2];n[d-4>>2]=j;n[d-8>>2]=i;n[d-12>>2]=j;d=d-16|0;n[d>>2]=i;c=e;f=f-1|0;if(f){continue}break}}c=g;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function jM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=oe-16|0;oe=d;a:{b:{if(tr(a,b)){nk(b);e=b+132|0;f=tM(e,a);if((f&255)==7){break b}if(f){f=nM(e,a);if(f|(f&255)==7){break b}}j[b+104>>2]=e;j[b+172>>2]=a;if(tr(e,b)){break b}}if((c|0)>=1){nk(b);a=6;break a}a=d;f=a;c:{d:{c=j[b+180>>2];e:{if(!c){break e}e=j[b+176>>2];if(!e|(k[c|0]|32)!=105|((k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111)){break e}c=c+3|0;if(!we(c,132420)){break d}if(we(c,132426)){break e}if(!we(e,132431)){break d}}j[d>>2]=b;c=0;b=0;break c}j[d>>2]=b;c=65539;b=1970170211}j[f+4>>2]=b;j[a+8>>2]=c;a=qg(132436,0,d,0);break a}nk(b);a=2}oe=d+16|0;return a|0}function up(a,b,c,d,e){var f=0,g=0,i=0;f=oe-208|0;oe=f;j[f+204>>2]=c;Ee(f+160|0,0,40);j[f+200>>2]=j[f+204>>2];a:{if((ul(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=j[a+76>>2]>=0;c=j[a>>2];if(h[a+74|0]<=0){j[a>>2]=c&-33}i=c&32;b:{if(j[a+48>>2]){b=ul(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}j[a+48>>2]=80;j[a+16>>2]=f+80;j[a+28>>2]=f;j[a+20>>2]=f;c=j[a+44>>2];j[a+44>>2]=f;d=ul(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}qe[j[a+36>>2]](a,0,0)|0;j[a+48>>2]=0;j[a+44>>2]=c;j[a+28>>2]=0;j[a+16>>2]=0;b=j[a+20>>2];j[a+20>>2]=0;b=b?d:-1}c=a;a=j[a>>2];j[c>>2]=a|i;b=a&32?-1:b;if(!g){break a}}oe=f+208|0;return b}function ps(a){var b=0,c=0,d=0;if(a){c=j[a>>2];b=c;d=j[a+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+40>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0;b=j[a+52>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+88>>2]=0;d=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=d;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;if(a){qe[j[c+8>>2]](c,a)}}}function JK(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,i=0,k=0,l=0,m=0;f=oe-128|0;oe=f;if((c|0)>=1){l=(p((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){e=b<<2;m=e+f|0;k=j[d+e>>2]+k|0;e=k;h=e+32768&-65536;if((e|0)<0){h=0-(32768-e&-65536)|0}j[m>>2]=h>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;j[h>>2]=j[h>>2]-j[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(j[a+4>>2]){break a}b=f;g=i;while(1){e=hj(l,j[b>>2],j[b+4>>2],j[a>>2],0);if(e){j[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}oe=f+128|0}function wI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;b=Te(40);j[b>>2]=0;j[e+12>>2]=0;f=mi(a,1,b,4);g=C()|0;h=a+1136|0;while(1){a:{b:{c:{if(!c){j[67126]=0;i=T(905,h|0,199568,a|0)|0;c=j[67126];j[67126]=0;b=-1;if(!c){break b}d=j[67127];if(!d){break b}b=ef(j[c>>2],f,g);if(b){break c}F(c|0,d|0);z()}j[e+12>>2]=64;break a}D(d|0)}c=C()|0;if((b|0)==1){continue}j[e+12>>2]=i;if(j[a+196>>2]){break a}j[67126]=0;I(906,a|0);c=j[67126];j[67126]=0;b=-1;d:{if(!c){break d}d=j[67127];if(!d){break d}b=ef(j[c>>2],f,g);if(!b){F(c|0,d|0);z()}D(d|0)}c=C()|0;if((b|0)==1){continue}}break}a=j[e+12>>2];ze(f);oe=e+16|0;return a}function Fl(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[a+800>>2]=33;pf(a,c+8|0,8);a:{b=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=k[c+12|0]|k[c+13|0]<<8|(k[c+14|0]<<16|k[c+15|0]<<24);j[a+376>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=a,g=Sf(0,0,0),j[f+412>>2]=g;tf(a,c+12|0,4);b=j[a+376>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}j[a+800>>2]=65;oe=c+16|0;return e}Ye(a,210953);z()}hf(a,211904);z()}function _D(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{c:{if(!ah(226816,h[b|0])){j[67100]=28;break c}c=Te(1176);if(c){break b}}c=0;break a}Ee(c,0,144);if(!ah(b,43)){j[c>>2]=k[b|0]==114?8:4}d:{if(k[b|0]!=97){b=j[c>>2];break d}b=Y(a|0,3,0)|0;if(!(b&1024)){j[d+16>>2]=b|1024;Y(a|0,4,d+16|0)|0}b=j[c>>2]|128;j[c>>2]=b}h[c+75|0]=255;j[c+48>>2]=1024;j[c+60>>2]=a;j[c+44>>2]=c+152;e:{if(b&8){break e}j[d>>2]=d+24;if(Oa(a|0,21523,d|0)|0){break e}h[c+75|0]=10}j[c+40>>2]=1063;j[c+36>>2]=1064;j[c+32>>2]=1065;j[c+12>>2]=1066;if(!j[67102]){j[c+76>>2]=-1}j[c+56>>2]=j[67123];a=j[67123];if(a){j[a+52>>2]=c}j[67123]=c}oe=d+32|0;return c}function jt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=oe-16|0;oe=e;if(!(c?!b:0)){b=Mf(d?111577:111597);c=b?b:d?111615:111631}f=Mf(111466);b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}j[a+96>>2]=b;a:{if(!b){b=Be(0);break a}Oe(b,0,12);b:{if(f){b=rf(f);break b}b=(p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0}j[j[a+96>>2]+4>>2]=b;f=hi(c,d?111485:111488);j[j[a+96>>2]>>2]=f;b=-1;if(!f){break a}b=111553;if(!d){b=j[a+16>>2];b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[j[a+96>>2]+8>>2]=b;if(!b){b=Be(0);break a}Oe(b,k[a+11|0],j[a+16>>2]);b=111566}Xo(111491,0);j[e+4>>2]=c;j[e>>2]=b;Xo(111537,e);b=0}oe=e+16|0;return b|0}function _y(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)<=-1){h[b|0]=45;a=0-a|0;e=b+1|0;c=e;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+86544|0];c=c+1|0;f=a>>>0>=10;a=d;if(f){continue}break}h[c|0]=0;c=Le(e);a=c>>>1|0;if(!a){break a}d=b+c|0;while(1){b=k[e|0];h[e|0]=k[d|0];h[d|0]=b;d=d-1|0;e=e+1|0;a=a-1|0;if(a){continue}break}break a}b:{if(a){c=b;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+86544|0];c=c+1|0;e=a>>>0<10;a=d;if(!e){continue}break}break b}h[b|0]=48;c=b+1|0}h[c|0]=0;a=Le(b);c=a>>>1|0;if(!c){break a}d=(a+b|0)-1|0;a=b;while(1){b=k[a|0];h[a|0]=k[d|0];h[d|0]=b;d=d-1|0;a=a+1|0;c=c-1|0;if(c){continue}break}}}function NF(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{if(!b|(!c|!a)){break a}d=Gl(a,j[b+244>>2],j[b+248>>2],1,16);if(!d){Of(a,207523,1);return}Ke(a,j[b+244>>2]);j[b+244>>2]=d;j[b+232>>2]=j[b+232>>2]|32;d=d+(j[b+248>>2]<<4)|0;while(1){e=j[c>>2];b:{if(!(j[c+8>>2]?e:0)){xi(a,207544);break b}h[d+4|0]=k[c+4|0];f=Le(e)+1|0;e=ag(a,f);j[d>>2]=e;c:{if(e){Ae(e,j[c>>2],f);e=sF(a,j[c+12>>2]);j[d+8>>2]=e;if(e){break c}Ke(a,j[d>>2]);j[d>>2]=0}if((g|0)<1){break a}Of(a,207571,1);return}f=j[c+12>>2];j[d+12>>2]=f;Ae(e,j[c+8>>2],p(f,10));j[b+8>>2]=j[b+8>>2]|8192;j[b+248>>2]=j[b+248>>2]+1;d=d+16|0}c=c+16|0;g=g-1|0;if(g){continue}break}}}function EO(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=j[b+72>>2];if((f|0)==1651078259){return 0}a:{b:{c:{if((f|0)!=1869968492){g=7;if(!a){break b}d=j[a+148>>2];if(!d){break b}while(1){e=j[d+8>>2];if((f|0)==j[e+16>>2]){break c}d=j[d+4>>2];if(d){continue}break}break b}e=j[a+156>>2];if(!e){break a}d=j[a+148>>2]}g=0;e=qe[j[e+60>>2]](e,b,c,0)|0;if(!e){break b}h=a+148|0;while(1){d:{e:{if(!a|(e&255)!=19){break e}d=j[(d?d+4|0:h)>>2];if(!d){break e}g=j[b+72>>2];while(1){f=j[d+8>>2];if((g|0)==j[f+16>>2]){break d}d=j[d+4>>2];if(d){continue}break}}g=e;break b}g=0;e=qe[j[f+60>>2]](f,b,c,0)|0;if(e){continue}break}}return g}return 7}function Dq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;a:{b:{f=j[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;l=g+2|0;m=j[a+16>>2]+14|0;while(1){c=(b<<1)+m|0;e=k[c|0]<<8|k[c+1|0];j[a+44>>2]=e;c=c+l|0;h=k[c|0]<<8|k[c+1|0];j[a+40>>2]=h;c=c+g|0;d=k[c|0]|k[c+1|0]<<8;j[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=k[d|0]<<8|k[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=j[a>>2];if((c+d|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break c}j[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}j[a+36>>2]=b;j[a+52>>2]=c;return 0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;a:{if((qe[j[b+52>>2]](b,6,c,3)|0)<=5){j[b+12>>2]=3;break a}e=j[c+12>>2];d=e>>31;d=d^d+e;if(!d){j[b+12>>2]=3;break a}f=a,g=De(1e3,d),i[f+68>>1]=g;b:{if((d|0)==65536){b=j[c+20>>2];d=j[c+12>>2];break b}f=c,g=De(j[c>>2],d),j[f>>2]=g;f=c,g=De(j[c+4>>2],d),j[f+4>>2]=g;f=c,g=De(j[c+8>>2],d),j[f+8>>2]=g;f=c,g=De(j[c+16>>2],d),j[f+16>>2]=g;b=De(j[c+20>>2],d);j[c+20>>2]=b;d=j[c+12>>2]<0?-65536:65536;j[c+12>>2]=d}j[a+436>>2]=j[c>>2];j[a+444>>2]=j[c+4>>2];e=j[c+8>>2];j[a+448>>2]=d;j[a+440>>2]=e;d=j[c+16>>2];j[a+456>>2]=b>>16;j[a+452>>2]=d>>16}oe=c+32|0}function $B(a,b){a=a|0;b=b|0;var c=0,d=q(0),e=0,f=0;e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){f=b;d=n[b>>2];c=2147483647;a:{if(d>=q(1)){break a}c=-2147483648;if(d<=q(-1)){break a}d=q(d*q(8388607));b:{if(q(r(d))>2]=c;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32800)}}function Ze(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}c=0;c:{if(k[b|0]!=35){break c}c=1;if(k[b+1|0]==32){break c}c=2;if(k[b+2|0]==32){break c}c=3;if(k[b+3|0]==32){break c}c=4;if(k[b+4|0]==32){break c}c=5;if(k[b+5|0]==32){break c}c=6;if(k[b+6|0]==32){break c}c=7;if(k[b+7|0]==32){break c}c=8;if(k[b+8|0]==32){break c}c=9;if(k[b+9|0]==32){break c}c=10;if(k[b+10|0]==32){break c}c=11;if(k[b+11|0]==32){break c}c=12;if(k[b+12|0]==32){break c}c=13;if(k[b+13|0]==32){break c}c=k[b+14|0]==32?14:15}e=j[a+172>>2];if(!e){break b}qe[e|0](a,b+c|0);break a}j[d>>2]=b+c;a=j[56878];bk(a,206875,d);yl(a)}oe=d+16|0}function Ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;f=j[a+24>>2];i=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;l=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}m=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!m){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=k[g+((a&128)>>>7|0)|0];a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=(a&128)>>>7;a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}}}function xo(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[b>>2]=0;a:{if(!a){break a}b:{if(k[a|0]!=64){j[c+12>>2]=a;break b}d=oB(hi(a+1|0,71827));j[c+12>>2]=d;a=d;if(!a){break a}}a=ih(a,72843);j[c+12>>2]=a;c:{if(!a){break c}while(1){f=Vn(a,c+12|0);a=ih(j[c+12>>2],72843);j[c+12>>2]=a;if(!a){break c}g=Vn(a,c+12|0);a=j[b>>2];d:{if((a|0)!=j[b+4>>2]){e=j[b+8>>2];break d}a=a+16|0;e=mf(j[b+8>>2],a<<2);if(!e){break c}j[b+4>>2]=a;j[b+8>>2]=e;a=j[b>>2]}j[b>>2]=a+1;j[(a<<2)+e>>2]=g&65535|f<<16;a=ih(j[c+12>>2],72843);j[c+12>>2]=a;if(a){continue}break}}if(!d){break a}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}oe=c+16|0}function dH(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;g=(e?f:0)<<2;i=j[g+c>>2];m=(i|0)/-4|0;h=j[(e<<2)+c>>2];o=(h|0)/2|0;f=(i|0)/2|0;k=(h|0)/4|0;p=c;c=(e?d:0)<<2;e=j[p+c>>2];d=k+((e|0)/-4|0)|0;e=d+((e|0)/2|0)|0;g=j[b+g>>2];b=j[b+c>>2];c=0;if((d|0)>=1){Ee(a,0,d<<2);c=d}if((c|0)<(e|0)){b=j[(b<<2)+28272>>2];while(1){d=(c<<2)+a|0;n[d>>2]=n[b+(l<<2)>>2]*n[d>>2];l=l+1|0;c=c+1|0;if((e|0)>(c|0)){continue}break}}c=(o+k|0)+m|0;if((i|0)>1){b=c+f|0;d=j[(g<<2)+28272>>2];while(1){e=(c<<2)+a|0;f=f-1|0;n[e>>2]=n[d+(f<<2)>>2]*n[e>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){Ee((c<<2)+a|0,0,h-c<<2)}}function KD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;g=oe-16|0;oe=g;e=c?c:268480;c=j[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;i=a?a:g+12|0;d:{if(c){a=1;break d}a=k[b|0];c=a<<24>>24;if((c|0)>=0){j[i>>2]=a;d=(c|0)!=0;break a}a=h[b|0];if(!j[j[58825]>>2]){j[i>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=j[(a<<2)+227888>>2];break b}f=k[b|0];l=f>>>3|0;if((l-16|(c>>26)+l)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){j[e>>2]=0;j[i>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=k[b|0];if((f&192)==128){continue}break}}j[e>>2]=0;j[67100]=25;d=-1;break a}j[e>>2]=c}oe=g+16|0;return d}function Br(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;c=Fe(a,0);j[b+12>>2]=c;a:{if(c){break a}c=uf(a,b+8|0,4);j[b+12>>2]=c;if(c){break a}c=3;if(k[b+8|0]!=31|k[b+9|0]!=139|(k[b+10|0]!=8|k[b+11|0]>31)){break a}c=xf(a,6);j[b+12>>2]=c;d=k[b+11|0];if(d&4){d=Xr(a,b+12|0);c=j[b+12>>2];if(c){break a}c=xf(a,d);j[b+12>>2]=c;if(c){break a}c=0;d=k[b+11|0]}if(d&8){while(1){d=hg(a,b+12|0)?0:3;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=k[b+11|0]}if(d&16){while(1){d=hg(a,b+12|0)?0:5;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=k[b+11|0]}if(!(d&2)){break a}c=xf(a,2)}oe=b+16|0;return c}function tq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=qe[j[a+592>>2]](a)|0;f=j[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break a}c=b-2|0;j[a+28>>2]=c;d=b<<2;b=j[a+24>>2];d=l[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=j[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(k[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((l[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;qe[j[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1]);break b}if(!k[a+561|0]){break b}j[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}j[a+32>>2]=j[a+28>>2]}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0;i=a,l=sg(),j[i+4>>2]=l;b=j[66362];d=j[66361];a:{b:{if((d|0)<1?!b:0){break b}if(b){if(!(qe[b|0](j[66363],a)|0)){break a}d=j[66361]}if((d|0)<1){break b}h[265460]=1;while(1){b=j[66360]+p(c,12)|0;if(!j[b+8>>2]){qe[j[b>>2]](j[b+4>>2],a)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}h[265460]=0;if(!k[265464]){break b}c=j[66361];if(c){while(1){e=j[66360];b=c;c=b-1|0;f=e+p(c,12)|0;c:{if(!j[f+8>>2]){break c}g=j[66361];d=g-1|0;j[66361]=d;if((b|0)>=(g|0)){break c}Ri(f,p(b,12)+e|0,p(d-c|0,12))}if(c){continue}break}}h[265464]=0}if((mh(a,1,0,0,0)|0)<1){return}SB(a)}}function QG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=oe+ -64|0;oe=d;j[d+8>>2]=0;qe[j[b+60>>2]](b,d+16|0,4,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=ik(a,0,c);j[d+8>>2]=c;if(c){break a}if(j[d+12>>2]<1){c=0;break a}i=j[a+100>>2];l=j[a+528>>2];while(1){a=(d+16|0)+p(e,12)|0;c=j[a>>2];if(k[c|0]==47){c=c+1|0;j[a>>2]=c}f=j[a+4>>2]-c|0;if(!f){c=3;break a}g=He(i,f+1|0,d+8|0);j[((e<<2)+l|0)+8>>2]=g;c=j[d+8>>2];if(c){break a}m=Ae(g,j[a>>2],f)+f|0,n=0,h[m|0]=n;e=e+1|0;if((e|0)>2]){continue}break}c=j[d+8>>2]}j[b+12>>2]=c;oe=d- -64|0}function Xz(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0;if(!a){ve(85856,0);return}if(k[j[a+4>>2]+8|0]<=7){ve(85932,0);return}if((c|0)>=1){l=j[a+40>>2];n=l+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;while(1){e=(g<<3)+b|0;f=j[e+4>>2];a:{if((n|0)<=(f|0)){break a}e=j[e>>2];if((e|0)<(m|0)|(e|0)>=(o|0)|(f|0)<(l|0)){break a}b:{switch(k[j[a+4>>2]+9|0]-1|0){case 0:h[e+(j[a+20>>2]+p(j[a+16>>2],f)|0)|0]=d;break a;case 1:i[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<1)>>1]=d;break a;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<2)>>2]=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function $m(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(b){if(!a){return(b|0)>-1?0-c|0:c}if(!d){return(c|0)>-1?b:0-b|0}if(!c){return(d|0)>-1?0-a|0:a}e=d>>>16|0;f=a&65535;g=p(e,f);h=d&65535;i=a>>>16|0;d=g+p(h,i)|0;a=d<<16;j=c>>>16|0;k=b&65535;l=p(j,k);m=c&65535;n=b>>>16|0;b=l+p(m,n)|0;c=b<<16;e=(p(i,e)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=a+p(h,f)|0;a=e+(d>>>0>>0)|0;e=(p(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+p(m,k)|0;c=e+(b>>>0>>0)|0;e=1;a:{if(a>>>0>c>>>0){break a}e=-1;if(a>>>0>>0){break a}e=1;if(b>>>0>>0){break a}e=b>>>0>d>>>0?-1:0}return e}return(a|0)>-1?d:0-d|0}function TI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+64>>2];f=j[c+104>>2];g=j[j[c+4>>2]+28>>2];Gn(a);h=j[b+4>>2];d=a+4|0;c=d;e=j[b>>2];j[c+12>>2]=e;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=h;j[c+8>>2]=e;a:{if(Ce(c,1)){break a}c=Ce(d,j[f+44>>2]);if((c|0)==-1){break a}j[a+40>>2]=c;c=j[((c<<2)+g|0)+32>>2];if(!c){break a}c=j[c>>2];j[a+28>>2]=c;b:{if(c){i=a,k=Ce(d,1),j[i+24>>2]=k;c=Ce(d,1);j[a+32>>2]=c;if((c|0)!=-1){break b}break a}j[a+32>>2]=0;j[a+24>>2]=0}c=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=c;c=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=c;b=j[b+12>>2];j[a+36>>2]=0;j[a+44>>2]=b;j[a>>2]=0}}function Ky(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)>=1){h=j[(k[d+22|0]<<2)+234976>>2];i=j[(k[d+21|0]<<2)+234976>>2];l=j[(k[d+20|0]<<2)+234976>>2];m=k[e+35|0];n=k[e+31|0];o=k[e+34|0];p=k[e+30|0];q=k[e+33|0];r=k[e+29|0];s=k[e+32|0];t=k[e+28|0];u=k[d+26|0];v=k[d+25|0];w=k[d+24|0];e=0;while(1){f=j[b>>2];g=f&-993|f>>>16;j[a>>2]=k[((g&j[d+8>>2])>>>v|0)+i|0]>>>r<>2]&g)>>>w|0)+l|0]>>>t<>2]&g)>>>u|0)+h|0]>>>p<>>2&248)>>>n<=(b|0)){break a}Uj(j[65564]);d=j[65566];e=p(a,60);if(j[(d+e|0)+4>>2]){b=j[65570];if(b){qe[b|0](a);d=j[65566]}f=p(a,60);b=f+d|0;g=b;c=j[b+56>>2];if(c){while(1){b=j[c+12>>2];d=j[c+4>>2];if(d){qe[d|0](a,j[c+8>>2])}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=b;if(b){continue}break}d=j[65566]}j[g+56>>2]=0;b=d+f|0;j[b+20>>2]=0;j[b+4>>2]=0}b=d+e|0;j[b+28>>2]=0;if(j[b+36>>2]){a=p(a,60)+d|0;j[a+16>>2]=j[a+44>>2]}j[b+36>>2]=0;Tj(j[65564])}}function SJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);f=(b-e|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0}return f|0}function zC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=f>>>4|0;if(d){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c;while(1){n[e>>2]=q(n[c>>2]+n[c+8>>2])*q(.5);n[e+4>>2]=q(n[c+4>>2]+n[c+12>>2])*q(.5);e=e+8|0;c=c+16|0;d=d-1|0;if(d){continue}break}}c=(f|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function XM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{b:{if(!we(b,120305)){d=6;b=j[c+16>>2];e=j[c+8>>2];if((b|0)<(e|0)){break a}f=j[c>>2];if((e|0)<(f|0)){break a}g=j[c+28>>2];i=j[c+24>>2];l=j[c+20>>2];m=j[c+12>>2];c=j[c+4>>2];if((g|(i|(l|(m|(e|(c|f))|b))))<0|(g|0)>500|((l|0)>500|(m|0)>500)){break a}if((c|0)>500|(b|0)>(i|0)){break a}j[a+60>>2]=i;j[a+48>>2]=m;j[a+36>>2]=f;j[a- -64>>2]=g;j[a+56>>2]=l;j[a+52>>2]=b;j[a+44>>2]=e;j[a+40>>2]=c;break b}if(!we(b,120326)){d=7;if(j[c>>2]!=1){break a}j[a+28>>2]=1;break b}d=12;if(we(b,120341)){break a}h[a+32|0]=k[c|0]}d=0}return d|0}function aD(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}if(Mf(a)){break a}d=j[66036];b:{if(d){while(1){if(!cf(a,j[d>>2])){if(m[d+8>>2]>1){break a}c=j[d+4>>2];c:{if(c){if(!cf(c,b)){break c}}c=j[d+12>>2];if(c){while(1){e=j[c+8>>2];qe[j[c>>2]](j[c+4>>2],a,j[d+4>>2],b);c=e;if(c){continue}break}}a=j[d+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=d,g=Uf(b),j[f+4>>2]=g}j[d+8>>2]=1;break b}d=j[d+16>>2];if(d){continue}break}}c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){break a}f=c,g=Uf(a),j[f>>2]=g;a=Uf(b);j[c+12>>2]=0;j[c+8>>2]=1;j[c+4>>2]=a;j[c+16>>2]=j[66036];j[66036]=c}}}function jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]<<24:-16777216;q=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){r=a;b=j[a+24>>2];if(b){while(1){b=b-1|0;c=j[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(q){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}j[d>>2]=c<<16|o|i<<8|h;d=d+4|0;g=g+4|0;if(b){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[r+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function cr(a,b){var c=0,d=0,e=0,f=0;c=j[a+32>>2];e=b;d=j[a+28>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+32>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;c=j[a+20>>2];d=j[a+16>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+20>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+12>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;e=j[a+8>>2];if(e){qe[j[b+8>>2]](b,e)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}function YH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);a=j[a+384>>2]+(b<<2)|0;j[a>>2]=c+j[a>>2]}function Vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];b=j[a+52>>2];q=b&2?k[a+63|0]<<24:-16777216;r=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){s=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;c=f;if(r){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[c>>2]=i<<16|q|l<<8|b;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[s+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function PG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-208|0;oe=d;f=j[a+528>>2];qe[j[b+60>>2]](b,d+16|0,16,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=j[f>>2];if(g){break c}}e=ik(a,c,0);if(e){break a}f=j[a+528>>2];c=j[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=j[b+8>>2];g=j[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+p(c,12)|0;j[b>>2]=j[a>>2];j[b+8>>2]=j[a+4>>2];a=qe[j[b+40>>2]](b,0)|0;h=c<<2;j[h+j[f+136>>2]>>2]=a;j[j[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}j[b+8>>2]=e;j[b>>2]=g;e=0}j[b+12>>2]=e;oe=d+208|0}function HI(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,r=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=k[b+1|0]|k[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=j[a+12>>2];m=k[c+14|0];n=l[c+12>>1];o=l[c+10>>1];p=k[c+8|0];q=l[c+6>>1];r=l[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=Cq(a,k[f+1|0]|k[f|0]<<8,k[f+2|0]+d|0,k[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=j[a+12>>2]}i[c+14>>1]=m;i[c+8>>1]=p;i[c+12>>1]=n<<24>>24;i[c+10>>1]=o<<24>>24;i[c+6>>1]=q<<24>>24;i[c+4>>1]=r<<24>>24;a=j[a+8>>2];i[c+2>>1]=k[a+4|0];i[c>>1]=k[a|0]}return g|0}function fC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(q(l[b>>1])*q(30517578125e-15))+q(-1);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function mj(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;j[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=j[a>>2];d=He(f,40,e+12|0);a=j[e+12>>2];if(a){break a}j[d+28>>2]=f;b:{c:{d:{a=j[b>>2];e:{f:{if(a&1){a=j[b+4>>2];b=j[b+8>>2];j[d+32>>2]=0;j[d+8>>2]=0;j[d+4>>2]=b;j[d>>2]=a;j[d+20>>2]=0;j[d+24>>2]=0;break f}if(a&4){a=ZN(d,j[b+12>>2]);j[e+12>>2]=a;j[d+16>>2]=j[b+12>>2];break e}if(!(a&2)|!j[b+16>>2]){break d}if(d){qe[j[f+8>>2]](f,d)}d=j[b+16>>2]}a=j[e+12>>2]}if(a){break c}j[d+28>>2]=f;a=0;break b}j[e+12>>2]=6}if(d){qe[j[f+8>>2]](f,d)}d=0;a=j[e+12>>2]}j[c>>2]=d}oe=e+16|0;return a}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0;if(!(a|b)){return 0}c=b>>31;d=c+b^c;c=a>>31;d=d|c+a^c;c=s(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}c=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(c|0)){d=c;c=b;break b}e=(b|0)>0?11796480:-11796480;d=0-b|0;break b}if((b|0)>=(c|0)){d=b;c=a;break b}c=0-b|0;e=-5898240;d=a}f=116640;b=1;a=1;while(1){g=b+d>>a;c:{if((d|0)>=1){e=j[f>>2]+e|0;d=d-(b+c>>a)|0;c=c+g|0;break c}e=e-j[f>>2]|0;d=(b+c>>a)+d|0;c=c-g|0}b=b<<1;f=f+4|0;a=a+1|0;if((a|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function mD(a){if(!we(a,228092)){return 1071}if(!we(a,228105)){return 1072}if(!we(a,228121)){return 1073}if(!we(a,228131)){return 1074}if(!we(a,228144)){return 1075}if(!we(a,228155)){return 1076}if(!we(a,228170)){return 1077}if(!we(a,228183)){return 1078}if(!we(a,228202)){return 1079}if(!we(a,228222)){return 1080}if(!we(a,228243)){return 1081}if(!we(a,228265)){return 1082}if(!we(a,228283)){return 1083}if(!we(a,228304)){return 1084}if(!we(a,228322)){return 1085}if(!we(a,228338)){return 1086}if(!we(a,228352)){return 1087}if(!we(a,228374)){return 1088}return we(a,228398)?0:1089}function tv(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;f=oe-80|0;oe=f;a:{if((a|0)<=0){j[f>>2]=97419;ve(97352,f);break a}if((b|0)<=0){j[f+16>>2]=97425;ve(97352,f+16|0);break a}if(!d){j[f+32>>2]=97432;ve(97352,f+32|0);break a}if(!e){j[f+48>>2]=97438;ve(97352,f+48|0);break a}if((c|0)>0){g=b;while(1){i=(h<<4)+d|0;k=j[i+4>>2];i=k+j[i+12>>2]|0;l=(b|0)<(i|0)?b:(i|0)>(l|0)?i:l;g=(k|0)<0?0:(g|0)>(k|0)?k:g;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=0;if((g|0)>=(l|0)){break a}j[e+8>>2]=a;j[e+4>>2]=g;j[e>>2]=0;j[e+12>>2]=l-g;h=1;break a}j[f+64>>2]=97443;ve(97352,f- -64|0)}oe=f+80|0;return h}function zF(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,l=0;f=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!h){return 1}e=e+132|0;while(1){f=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=k[e+7|0];j=i|(k[e+5|0]<<16|k[e+4|0]<<24|k[e+6|0]<<8);if(i&3){If(a,0,c,g,208834)}if(!(d-j>>>0>=(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?d>>>0>=j>>>0:0)){If(a,b,c,g,208876);return 0}e=e+12|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}return 1}function _I(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[b+28>>2];c=qe[j[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=_e(b,4);j[d+12>>2]=c;if(c){break a}g=a,h=af(b),i[g+540>>1]=h;g=a,h=af(b),i[g+542>>1]=h;Ve(b);if(l[a+540>>1]>=2){i[a+542>>1]=0;c=8;break a}c=e;e=l[a+542>>1];g=a,h=xe(c,4,0,e,0,d+12|0),j[g+544>>2]=h;c=j[d+12>>2];if(c){break a}c=_e(b,e<<2);j[d+12>>2]=c;if(c){break a}if(e){c=j[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=af(b),i[g>>1]=h;g=f,h=af(b),i[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Ve(b);c=j[d+12>>2]}oe=d+16|0;return c|0}function XH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);j[j[a+384>>2]+(b<<2)>>2]=c}function lh(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+420|0;f=j[a+412>>2];d=j[a+428>>2];if(d){while(1){h=j[d>>2];g=j[d+4>>2];if(!(!g|b>>>0>g>>>0)){a:{if((b|0)==(g|0)){j[e+8>>2]=j[d+8>>2];j[d+8>>2]=j[a+432>>2];j[a+432>>2]=d;break a}j[d+4>>2]=g-b;j[d>>2]=b+h}if(c){j[c>>2]=h}return h+j[a+408>>2]|0}e=d;d=j[d+8>>2];if(d){continue}break}}d=j[a+416>>2];f=b+f|0;if(d>>>0>>0){e=j[a+408>>2];while(1){d=e?d<<1:2048;e=mf(e,d);if(!e){Be(0);return 0}j[a+416>>2]=d;j[a+408>>2]=e;if(d>>>0>>0){continue}break}}d=j[a+412>>2];e=j[a+408>>2];if(c){j[c>>2]=d}j[a+412>>2]=j[a+412>>2]+b;return d+e|0}function Wn(){var a=0,b=0,c=0;a:{b:{c:{b=j[65557];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(j[65565]>=1){while(1){Sy(a);a=a+1|0;if((a|0)>2];c=j[a+4>>2];if(c){qe[c|0](-2,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[65571]=0;Tj(j[65564]);zB();EB();Rn(-1);iz();Po(j[65564]);j[65564]=0;b=j[65566];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65566]=0;b=j[65556];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65555]=0;j[65556]=0;b=j[65557]}j[65557]=b-1}}function Hl(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;e=b;f=8-c|0;b=1<>2]=l;n=b>>>0>1?b:1;o=+(d|0)*1e-5;q=1<<15-c;m=-1<<16-c^-1;r=1/+(m|0);b=0;s=d-95e3>>>0<10001;while(1){g=qh(a,512);j[(b<<2)+l>>2]=g;d=0;e=0;a:{if(!s){while(1){h=(d<<1)+g|0;k=v(Bg(r*+((d<>>0),o)*65535+.5);b:{if(k<4294967296&k>=0){e=~~k>>>0;break b}e=0}i[h>>1]=e;d=d+1|0;if((d|0)!=256){continue}break a}}while(1){d=(e<>>0)/(m>>>0)|0}i[h>>1]=d;e=e+1|0;if((e|0)!=256){continue}break}}b=b+1|0;if((n|0)!=(b|0)){continue}break}}function DC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=c<<1;f=c>>>2|0;if(f){e=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=e+c|0;e=c+d|0;while(1){c=e-8|0;g=g-4|0;i=n[g>>2];n[c>>2]=i;n[e-4>>2]=i;e=c;f=f-1|0;if(f){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function $H(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;g=oe-16|0;oe=g;a:{if(d&16){if(!c){break a}d=0;while(1){m=(d<<2)+e|0;b:{if(k[a+292|0]){qe[j[j[a+532>>2]+112>>2]](a,1,b+d|0,g+14|0,g+12|0);f=l[g+12>>1];break b}if(l[a+364>>1]!=65535){f=i[a+434>>1]-i[a+436>>1]|0;h=f>>31;f=h^h+f;break b}f=i[a+220>>1]-i[a+222>>1]|0;h=f>>31;f=h^h+f}j[m>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+d|0,g+10|0,g+8|0);j[(d<<2)+e>>2]=l[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}oe=g+16|0;return 0}function gC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(i[b>>1])*q(30517578125e-15);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Iy(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=(j[e+24>>2]?255:0)>>>k[e+31|0]<>2];i=j[(k[d+21|0]<<2)+234976>>2];m=j[(k[d+20|0]<<2)+234976>>2];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=l[b>>1];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+i|0]>>>q<>2])>>>v|0)+m|0]>>>s<>2])>>>t|0)+h|0]>>>o<>2],k[j[a+44>>2]+9|0]);e=j[a+32>>2];d=j[a+12>>2];b=j[a+28>>2];c=j[a>>2];a:{b:{a=j[a+20>>2];c:{if(c>>>0>>0){if(p(b,d)+c>>>0>a>>>0){break c}break b}if(p(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){Ri(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}g=0-e|0;h=0-d|0;i=d;d=b-1|0;c=p(i,d)+c|0;a=p(d,e)+a|0;while(1){Ri(a,c,f);a=a+g|0;c=c+h|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}while(1){Ge(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function XO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=oe-16|0;oe=e;a:{b:{if(!we(b,116356)){d=j[c>>2];b=0;c=113632;while(1){if(j[c+16>>2]==10?(d|0)==j[c+8>>2]:0){break a}b=b+1|0;c=j[(b<<2)+114864>>2];if((b|0)!=49){continue}break}d=6;break b}c:{if(!we(b,116372)){j[a+16>>2]=j[c>>2];break c}if(!we(b,116387)){b=j[c>>2];if(!b){d=35;break b}d=j[b+116>>2];j[e+12>>2]=d;if(!d){d=uk(b,e+12|0,a);if(d){break b}d=j[e+12>>2];j[b+116>>2]=d;j[b+120>>2]=561}j[d+12>>2]=j[c+4>>2];break c}d=12;if(we(b,116405)){break b}h[a+20|0]=k[c|0]}d=0}oe=e+16|0;return d|0}j[a+12>>2]=b;oe=e+16|0;return 0}function WH(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,q=0,r=0;q=j[j[a+384>>2]+(b<<2)>>2];b=j[a+256>>2];if(!b){r=a;b=i[a+296>>1];e=j[a+244>>2];a:{if(!b){break a}d=i[a+294>>1];e=j[a+248>>2];if(!d){break a}g=j[a+244>>2];c=g>>31;h=c^c+g;c=d>>31;k=c+d^c;l=p(h>>>16|0,k);c=l<<16|8192;a=j[a+248>>2];f=a>>31;m=f^a+f;f=b>>31;n=f+b^f;o=p(m>>>16|0,n);f=o<<16|8192;e=c;c=c+p(k,h&65535)|0;c=(l>>>16|0)+(e>>>0>c>>>0)<<18|c>>>14;e=(d^g)>-1?c:0-c|0;d=f+p(n,m&65535)|0;d=(o>>>16|0)+(d>>>0>>0)<<18|d>>>14;e=ig(e,(a^b)>-1?d:0-d|0)}b=e;j[r+256>>2]=b}return ye(q,b)|0}function zA(a,b){var c=q(0),d=0,e=q(0),f=q(0),g=q(0),h=0;d=oe-48|0;oe=d;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}h=d;b:{if(b){e=n[b+12>>2];g=n[b+8>>2];f=n[b>>2];c=n[b+4>>2];break b}c=q(q(j[a+228>>2])/n[a+292>>2]);c:{if(q(r(c))>2])/n[a+288>>2]);d:{if(q(r(c))>2]=c;e=q(q(c+e)+q(-1));n[d+28>>2]=e;n[d+20>>2]=e;n[d+32>>2]=f;n[d+24>>2]=f;n[d+12>>2]=c;n[d+4>>2]=c;n[d>>2]=f;c=q(q(f+g)+q(-1));n[d+16>>2]=c;n[d+8>>2]=c;BA(a,d)}oe=d+48|0}function jF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!a){break a}d=j[a>>2];if(!d){break a}$p(d,c);$p(d,b);j[a>>2]=0;Wp(d);Ke(d,j[d+728>>2]);j[d+728>>2]=0;Ke(d,j[d+804>>2]);j[d+804>>2]=0;Ke(d,j[d+788>>2]);j[d+788>>2]=0;Ke(d,j[d+612>>2]);j[d+612>>2]=0;Ke(d,j[d+616>>2]);j[d+616>>2]=0;a=j[d+676>>2];if(a&4096){aq(d,j[d+416>>2]);j[d+416>>2]=0;a=j[d+676>>2]}c=a&-4097;j[d+676>>2]=c;b=d;if(a&8192){Ke(d,j[d+528>>2]);j[d+528>>2]=0;c=j[d+676>>2]}j[b+676>>2]=c&-8193;tE(d+224|0);Ke(d,j[d+568>>2]);j[d+568>>2]=0;Ke(d,j[d+772>>2]);j[d+772>>2]=0;Ke(d,j[d+696>>2]);j[d+696>>2]=0;uF(d)}}function Jy(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=j[(k[d+22|0]<<2)+234976>>2];h=j[(k[d+21|0]<<2)+234976>>2];i=j[(k[d+20|0]<<2)+234976>>2];l=k[e+35|0];m=k[e+31|0];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=j[b>>2];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+h|0]>>>q<>2])>>>v|0)+i|0]>>>s<>2])>>>t|0)+g|0]>>>o<>>24>>>m<>2]=1;k=j[d+8>>2];l=j[d+12>>2];b=j[d+4>>2];m=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];h=n[e+8>>2];i=n[e+12>>2];f=n[e+4>>2];g=n[e>>2];n[a+16>>2]=g;n[a+12>>2]=f;n[a+4>>2]=f;n[a>>2]=g;f=q(f+i);n[a+28>>2]=f;g=q(g+h);n[a+24>>2]=g;n[a+20>>2]=f;n[a+8>>2]=g;f=q(c|0);g=q(q(d|0)/f);n[a+48>>2]=g;h=q(m|0);i=q(q(b|0)/h);n[a+44>>2]=i;n[a+36>>2]=i;n[a+32>>2]=g;g=q(q(b+l|0)/h);n[a+60>>2]=g;f=q(q(d+k|0)/f);n[a+56>>2]=f;n[a+52>>2]=g;n[a+40>>2]=f;return 0}function My(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((c|0)>=1){f=j[(k[d+30|0]<<2)+234976>>2];g=j[(k[d+29|0]<<2)+234976>>2];h=j[(k[d+28|0]<<2)+234976>>2];l=j[e+24>>2];m=k[e+34|0];n=k[e+30|0];o=k[e+33|0];p=k[e+29|0];q=k[e+32|0];r=k[e+28|0];s=k[d+34|0];t=j[d+20>>2];u=k[d+33|0];v=j[d+16>>2];w=k[d+32|0];x=j[d+12>>2];e=0;while(1){d=j[b>>2];i[a>>1]=k[((d&v)>>>u|0)+g|0]>>>p<>>w|0)+h|0]>>>r<>>s|0)+f|0]>>>n<>2]=97078;ve(97052,d);break a}Wj(268332);c=j[a+36>>2];j[a+36>>2]=c-1;if((c|0)>=2){j[67083]=0;break a}b=j[67084];b:{if((b|0)==(a|0)){j[67084]=j[a+40>>2];break b}if(!b){break b}while(1){c=b;b=j[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}j[c+40>>2]=j[a+40>>2]}j[67083]=0;b=j[a+4>>2];c:{if(!b){break c}c=j[b+12>>2];j[b+12>>2]=c-1;if((c|0)>1){break c}c=j[b+4>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=d+16|0}function Ir(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;j[a+44>>2]=b;Dg(j[a>>2],b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}e=qe[b|0](c)|0;if(!e){break a}f=j[j[a>>2]+656>>2];c=j[f+1392>>2];h=j[a+40>>2];qe[j[e+4>>2]](j[h>>2],j[a+16>>2],j[a+20>>2],0,0);b=j[f+1896>>2];if(!b){break a}while(1){g=j[a+16>>2];b=b-1|0;i=b<<2;d=j[j[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=Ne(g,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[e+4>>2]](j[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function vv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!a){j[g>>2]=97389;ve(97352,g);break a}if(b){b:{c=j[b+8>>2];if((c|0)<1){break a}f=j[b+12>>2];if((f|0)<1){break a}i=j[b+4>>2];n=f+i|0;k=j[b>>2];o=c+k|0;f=0;b=0;while(1){d=(h<<3)+a|0;c=j[d+4>>2];c:{if((c|0)>=(n|0)){break c}d=j[d>>2];if((d|0)<(k|0)|(d|0)>=(o|0)|(c|0)<(i|0)){break c}if(!e){e=1;break a}e=(d|0)<(l|0);b=e?b:(b|0)<(d|0)?d:b;l=e?d:l;e=1;if((c|0)<(f|0)){f=c;break c}m=(c|0)>(m|0)?c:m}h=h+1|0;if((h|0)!=1){continue}break}if(e){break b}e=0;break a}}e=1}oe=g+32|0;return e}function Og(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=j[a+192>>2];h=j[a+188>>2];if(g|h){b=j[a+180>>2];c=j[a+156>>2];d=(b|0)<(c|0)?b:c;f=j[a+1420>>2]+(j[a+160>>2]<<2)|0;c=j[f>>2];b:{c:{if(!c){c=0;break c}e=j[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=j[b+12>>2];if(c){e=j[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=j[a+208>>2];if((b|0)>=j[a+204>>2]){break a}j[a+208>>2]=b+1;b=j[a+200>>2]+(b<<4)|0;j[b>>2]=d;j[b+12>>2]=c;j[b+4>>2]=0;j[b+8>>2]=0;j[f>>2]=b}j[b+8>>2]=j[b+8>>2]+h;j[b+4>>2]=j[b+4>>2]+g}return}F(a|0,1);z()}function yC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(d+7>>>0>=15){e=(d|0)/8|0;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c;while(1){n[f>>2]=q(n[c>>2]+n[c+4>>2])*q(.5);c=c+8|0;f=f+4|0;e=e-1|0;if(e){continue}break}}c=(d|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function tj(a){var b=0,c=0,d=0,e=0,f=0;b=oe-32|0;oe=b;d=j[67085];a:{if(!d){ve(99429,0);break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);break a}c=j[a+108>>2];if(j[a+112>>2]){break a}if(c){j[c>>2]=j[c>>2]&-5;kf(c);d=j[67085]}c=0;f=j[d+136>>2];b:{if(!f|!j[d+140>>2]){break b}if((qe[f|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break b}if(!ci(j[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break b}e=Aj(j[b+24>>2],j[a+24>>2],j[a+28>>2],j[b+16>>2],j[b+20>>2],j[b+12>>2],j[b+8>>2],j[b+4>>2],j[b>>2])}j[a+108>>2]=e;if(!e){break a}j[a+112>>2]=1;j[e>>2]=j[e>>2]|4;c=e}oe=b+32|0;return c}function Ie(a,b){var c=0,d=0;c=oe-1024|0;oe=c;if(b){while(1){d=b>>>0<1024?b:1024;b=b-d|0;if(a){pf(a,c,d);tf(a,c,d)}if(b){continue}break}}b=j[a+212>>2];a:{b:{c:{d:{if(k[a+379|0]&32){j[a+800>>2]=129;pf(a,c,4);if((b&768)==768){break d}break c}j[a+800>>2]=129;pf(a,c,4);if(!(b&2048)){break c}}b=0;break b}d=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=0;if(j[a+412>>2]==(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}b=j[a+212>>2];e:{if(k[a+379|0]&32){if(!(b&512)){break e}break a}if(!(b&1024)){break a}}yi(a,211041);b=1}oe=c+1024|0;return b}hf(a,211041);z()}function sj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;i=(d+1|0)/2|0;o=(f+1|0)/2|0;l=(b+1|0)/2|0;f=p(b,f)+e|0;c=p(b,d)+c|0;a:{if((f|0)!=(c|0)){d=c;break a}e=p(i,l)<<1;d=e;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,e);n=d}if(b+2>>>0>=3){c=i-m|0;e=o-m<<1;i=p(i,l)+d|0;b=g?i:d;d=g?d:i;g=a+2>>>0<3;while(1){l=l-1|0;a=m;if(!g){while(1){h[f|0]=k[b|0];h[f+1|0]=k[d|0];f=f+2|0;d=d+1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=e+f|0;d=c+d|0;b=b+c|0;if(l){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function rj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;o=(f+1|0)/2|0;l=(d+1|0)/2|0;i=(b+1|0)/2|0;c=p(b,d)+c|0;e=p(b,f)+e|0;a:{if((c|0)!=(e|0)){d=c;break a}f=p(i,l)<<1;d=f;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,f);n=d}if(b+2>>>0>=3){c=o-m|0;l=l-m<<1;f=e+p(i,o)|0;b=g?f:e;f=g?e:f;e=a+2>>>0<3;while(1){i=i-1|0;a=m;if(!e){while(1){h[b|0]=k[d|0];h[f|0]=k[d+1|0];f=f+1|0;d=d+2|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=c+f|0;b=b+c|0;d=d+l|0;if(i){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function iC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(q(k[e|0])*q(.0078125))+q(-1);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function uE(a,b,c){var d=0,e=0,f=0;a:{d=j[a+28>>2];e=j[d+52>>2];b:{if(!e){f=1;e=qe[j[a+32>>2]](j[a+40>>2],1<>2],1)|0;j[d+52>>2]=e;if(!e){break b}}a=j[d+40>>2];if(!a){j[d+44>>2]=0;j[d+48>>2]=0;a=1<>2];j[d+40>>2]=a}if(a>>>0<=c>>>0){Ae(e,b-a|0,a);j[d+48>>2]=0;break a}f=j[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;Ae(e+f|0,b-c|0,a);c=c-a|0;if(c){Ae(j[d+52>>2],b-c|0,c);j[d+48>>2]=c;break a}f=0;b=a+j[d+48>>2]|0;c=b;b=j[d+40>>2];j[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=j[d+44>>2];if(c>>>0<=b>>>0){break b}j[d+44>>2]=a+b}return f}j[d+44>>2]=j[d+40>>2];return 0}function _H(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(k[c+8|0]&2){d=qe[j[j[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=j[e+12>>2];j[a+112>>2]=c;b=j[a>>2];if(h[b+8|0]&1){Dg(b,c);Yl(a);d=0;break a}d=qe[j[j[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}j[a+112>>2]=-1;break a}j[a+112>>2]=-1;c=j[a>>2]}Ei(c,b);if(!(h[j[a>>2]+8|0]&1)){break a}d=Yl(a);j[a+36>>2]=j[a+68>>2];b=j[a+64>>2];j[a+28>>2]=j[a+60>>2];j[a+32>>2]=b;b=j[a+56>>2];j[a+20>>2]=j[a+52>>2];j[a+24>>2]=b;b=j[a+48>>2];j[a+12>>2]=j[a+44>>2];j[a+16>>2]=b}oe=e+16|0;return d|0}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=oe-16|0;oe=f;sP(+b);h=pP(1)|0;e=pP(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?s(e)+32|0:s(c);Nf(f,d,g,0,0,c+49|0);k=j[f>>2];i=j[f+4>>2];e=15372-c<<16;c=j[f+8>>2];d=e|j[f+12>>2]^65536}j[a>>2]=k;j[a+4>>2]=i;j[a+8>>2]=c;j[a+12>>2]=h&-2147483648|d;oe=f+16|0}function Af(a){var b=0,c=0;if(a){qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=1;j[a+56>>2]=1;j[a+60>>2]=0;qe[j[66054]](a);b=j[a+84>>2];if(b){if(b){c=j[b+792>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+80>>2];if(b){if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+72>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Ih(j[a+52>>2]);b=j[a>>2];a:{if(!b){break a}b=(b<<2)+264284|0;if(j[b>>2]!=(a|0)){break a}j[b>>2]=0}if(j[a+96>>2]){qe[j[66052]](a)}nh(j[a+92>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function hk(a,b,c){var d=0,e=0;a:{d=j[a+24>>2];e=j[b+24>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+28>>2];e=j[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a>>2];e=j[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+4>>2];e=j[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+8>>2];e=j[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+12>>2];e=j[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+16>>2];e=j[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=j[a+20>>2];b=j[b+20>>2];return(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return 0}function SM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;df(b,j[a>>2],24);df(b,j[a+4>>2],24);df(b,j[a+8>>2]-1|0,24);df(b,j[a+12>>2]-1|0,6);df(b,j[a+20>>2],8);a:{if(j[a+12>>2]<1){break a}h=a+24|0;while(1){c=(e<<2)+h|0;d=j[c>>2];g=j[c>>2];b:{if(((d?32-s(d)|0:0)|0)>=4){df(b,g,3);df(b,1,1);df(b,j[c>>2]>>3,5);break b}df(b,g,4)}d=0;c=j[c>>2];if(c){while(1){d=(c&1)+d|0;c=c>>>1|0;if(c){continue}break}}f=d+f|0;e=e+1|0;if((e|0)>2]){continue}break}if((f|0)<1){break a}a=a+280|0;c=0;while(1){df(b,j[a+(c<<2)>>2],8);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function vE(a){var b=0;if(k[212452]==49){if(!a){return-2}j[a+24>>2]=0;b=j[a+32>>2];if(!b){j[a+40>>2]=0;j[a+32>>2]=1061;b=1061}if(!j[a+36>>2]){j[a+36>>2]=1062}b=qe[b|0](j[a+40>>2],1,7116)|0;if(!b){return-4}j[a+28>>2]=b;j[b+44>>2]=0;j[b+48>>2]=0;j[b+36>>2]=15;j[b+40>>2]=0;j[b+8>>2]=1;j[b+52>>2]=0;j[b+28>>2]=0;j[a+48>>2]=1;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+80>>2]=a;j[b+12>>2]=0;j[b+20>>2]=32768;j[b+32>>2]=0;j[b+108>>2]=a;j[b>>2]=0;j[b+4>>2]=0;j[b+56>>2]=0;j[b+60>>2]=0;j[b+76>>2]=a;a=0}else{a=-6}return a}function vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h|i<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Tv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i|h<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h<<16|i;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function tL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;h[a+68|0]=1;j[a+64>>2]=0;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}b=j[j[d+156>>2]>>2];j[a+12>>2]=b;j[a+20>>2]=b+56;j[a+16>>2]=b+20;Yh(b);b=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=b;if(!e){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;b=j[33364];j[a+80>>2]=j[33363];j[a+84>>2]=b;b=j[33366];j[a+88>>2]=j[33365];j[a+92>>2]=b;b=j[33368];j[a+96>>2]=j[33367];j[a+100>>2]=b;b=j[33370];j[a+104>>2]=j[33369];j[a+108>>2]=b}function lu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=oe-16|0;oe=a;h=j[c+32>>2];H(j[c+12>>2],a+8|0,a|0)|0;g=j[c+4>>2];d=+j[g+28>>2]/o[a>>3];e=+j[g+24>>2]/o[a+8>>3];a:{if(h){e=o[33543]+e*+j[b+36>>2];b:{if(r(e)<2147483648){c=~~e;break b}c=-2147483648}b=j[b+40>>2];o[33543]=e- +(c|0);d=o[33544]+d*+(b|0);c:{if(r(d)<2147483648){f=~~d;break c}f=-2147483648}o[33544]=d- +(f|0);break a}d=d*+j[b+48>>2];d:{if(r(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+j[b+44>>2];if(r(d)<2147483648){c=~~d;break a}c=-2147483648}Oj(g,0,h,c,f);oe=a+16|0;return 0}function iv(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,i=0,k=0;e=oe;k=e;a:{if(j[a+8>>2]>=1){f=e;g=j[a>>2];e=(d|0)/(g|0)|0;i=f-((e<<2)+15&-16)|0;oe=i;if((e|0)>=1){d=0;while(1){h=ai(a,c);f=-1;if((h|0)==-1){break a}g=j[a>>2];j[(d<<2)+i>>2]=j[a+16>>2]+(p(h,g)<<2);d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=0;f=0;if((g|0)<=0){break a}f=(e|0)<1;c=0;while(1){a=0;if(!f){while(1){h=(a+d<<2)+b|0;n[h>>2]=n[j[(a<<2)+i>>2]+(c<<2)>>2]+n[h>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=d+e|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=0}oe=k;return f|0}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(h[e|0])*q(.0078125);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function VH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0;q=l[a+252>>1];b=j[a+256>>2];if(!b){r=a;e=i[a+296>>1];b=j[a+244>>2];a:{if(!e){break a}c=i[a+294>>1];b=j[a+248>>2];if(!c){break a}f=j[a+244>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;k=p(g>>>16|0,h);b=k<<16|8192;a=j[a+248>>2];d=a>>31;m=d^a+d;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;s=b;b=b+p(h,g&65535)|0;b=(k>>>16|0)+(s>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+p(n,m&65535)|0;c=(o>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=ig(b,(a^e)>-1?c:0-c|0)}j[r+256>>2]=b}return ye(q,b)|0}function Pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}j[d>>2]=i<<8|b<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,m)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,l)>>>0)/255|0}j[d>>2]=i<<8|h|b<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Ce(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b>>>0>=33){c=j[a+16>>2];break a}f=j[a+4>>2];d=f+b|0;b:{g=j[a>>2];c=j[a+16>>2];if((g|0)<(c-4|0)){break b}if((c-(d+7>>3)|0)<(g|0)){break a}if(d){break b}return 0}h=j[(b<<2)+63040>>2];c=j[a+12>>2];b=k[c|0]>>>f|0;e=b;c:{if((d|0)<9){break c}b=k[c+1|0]<<8-f|b;e=b;if((d|0)<17){break c}b=k[c+2|0]<<16-f|b;e=b;if((d|0)<25){break c}b=k[c+3|0]<<24-f|b;e=b;if(!f|(d|0)<33){break c}e=k[c+4|0]<<32-f|b}b=e;j[a+4>>2]=d&7;d=(d|0)/8|0;j[a>>2]=d+g;j[a+12>>2]=d+c;return b&h}j[a+4>>2]=1;j[a>>2]=c;j[a+12>>2]=0;return-1}function $A(a,b){var c=0,d=0;d=oe-16|0;oe=d;c=j[67062];a:{if(c){while(1){if(!wf(b,c,16)){break a}c=j[c+28>>2];if(c){continue}break}}c=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);j[d+8>>2]=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);j[d+12>>2]=c;c=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);j[d>>2]=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[d+4>>2]=c;c=k[d+14|0]==104?j[67071]:0;if(c|!a){break a}b:{if(ih(a,72879)){break b}if(ih(a,72884)){break b}if(ih(a,72890)){break b}c=0;break a}c=j[67072]}oe=d+16|0;return c?c:j[67070]}function Nn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){i=(p(i,m)>>>0)/255|0;l=(p(l,n)>>>0)/255|0;c=(p(c,o)>>>0)/255|0}j[b>>2]=l<<8|c|i<<16;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;c=(p(c,m)>>>0)/255|0}j[b>>2]=l<<8|i<<16|c;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function sK(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,i=0;g=j[a+4>>2];i=0-g|0;b=j[a>>2];f=(i&(c+g|0)-1)>>b;a:{if((l[e+12>>1]&7)!=2){e=f;if(j[a+20>>2]>=((d-c|0)-g|0)){break a}}e=(d&i)>>b}b=e;b:{if((b|0)<0){break b}c=l[a+56>>1];if((c|0)<=(f|0)){break b}g=(b|0)<(c|0)?b:c-1|0;c=-128>>(g&7);f=(f|0)>0?f:0;b=f<<13>>16;d=j[a+60>>2];e=j[a+148>>2];a=b+(d+e|0)|0;f=255>>>(f&7)|0;g=g<<13>>16;i=g-b|0;if((i|0)>=1){h[a|0]=f|k[a|0];if((i|0)!=1){Ee((d+(b+e|0)|0)+1|0,255,g+(b^-1)|0);a=(d+(e+g|0)|0)-1|0}h[a+1|0]=c|k[a+1|0];return}h[a|0]=k[a|0]|c&f}}function ok(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}d=j[a+36>>2];if(!d){break a}c=j[b+20>>2];if(c){b=j[c>>2];if((b&-2)==4){qe[d|0](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;d=j[c+56>>2];if(d){b=qe[d|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;b=j[c+40>>2]}qe[j[a+36>>2]](j[a+40>>2],b);qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c);d=j[a+36>>2];b=j[a+28>>2]}qe[d|0](j[a+40>>2],b);j[a+28>>2]=0}}function Bn(a,b,c,d,e,f){var g=0;g=j[b+4>>2];if(!g){h[c|0]=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];h[d|0]=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];h[e|0]=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];h[f|0]=k[j[(k[b+31|0]<<2)+234976>>2]+((j[b+24>>2]&a)>>>k[b+35|0]|0)|0];return}if(m[g>>2]>a>>>0){a=a<<2;h[c|0]=k[a+j[g+4>>2]|0];h[d|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+1|0];h[e|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+2|0];h[f|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+3|0];return}h[f|0]=0;h[e|0]=0;h[d|0]=0;h[c|0]=0}function oB(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0;f=oe-16|0;oe=f;a:{if(!a){j[f>>2]=71823;ve(71797,f);break a}g=qe[j[a>>2]](a)|0;d=pe;b=(d|0)<0;i=b?1024:g;g=b?0:d;b=i+1|0;c=qe[j[57972]](b?b:1)|0;if(c){j[57976]=j[57976]+1}b:{while(1){d=a;b=g;k=0;l=e+1024|0;k=l>>>0<1024?1:k;if((b|0)<(k|0)?1:(b|0)<=(k|0)?i>>>0>>0:0){b=mf(c,e+1025|0);if(!b){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;Be(0);break b}i=e+1024|0;c=b;g=0}b=d;d=c+e|0;b=qe[j[a+8>>2]](b,d,1,i-e|0)|0;e=b+e|0;if(b){continue}break}h[d|0]=0}qe[j[a+16>>2]](a)|0}oe=f+16|0;return c}function hm(a,b,c,d,e,f,g){var h=q(0),i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=q(0),t=0;l=j[a>>2];if((l|0)>=1){m=j[a+4>>2];i=d<<2;s=n[(m+i|0)+12>>2];t=j[i+j[a+12>>2]>>2];o=+n[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=q(s+n[a+c>>2]);k=n[m+108>>2];p=q(n[a+b>>2]+n[a+t>>2]);k=k>2]=h>k?h:k;if(!d){h=q(k-n[a+g>>2]);r=+q(h+q(17.200000762939453));a:{if(!(h>q(-17.200000762939453)^1)){h=q(r*-.005*o+1);if(h>2]=h*n[a>>2]}i=i+1|0;if((l|0)!=(i|0)){continue}break}}}function Fr(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{b:{d=j[a+20>>2];if((d|0)!=j[a+12>>2]){e=j[a+28>>2];break b}c=j[a+16>>2];j[f+12>>2]=0;c:{c=c+d|0;e=j[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=p(c,e);e=xe(j[a>>2],1,j[a+24>>2],d,j[a+28>>2],f+12|0);j[a+28>>2]=e;if(j[f+12>>2]){break c}j[a+24>>2]=d;j[a+12>>2]=c;d=j[a+20>>2];if(c>>>0>=d>>>0){break b}b=j[a+4>>2];if(!(!b|j[b>>2])){j[b>>2]=130}j[a+20>>2]=c;break a}a=j[a+4>>2];if(!a|j[a>>2]){break a}j[a>>2]=64;break a}c=j[a+8>>2];Ae(p(c,d)+e|0,b,c);j[a+20>>2]=j[a+20>>2]+1}oe=f+16|0}function gA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+76>>2];d=j[a+436>>2];f=Vg();e=j[d>>2];a:{if((f|0)!=(e|0)){j[d+424>>2]=0;if((tg(j[a+188>>2],e)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}if(j[d+360>>2]==(b|0)){j[d+360>>2]=0}if(j[d+364>>2]==(b|0)){j[d+364>>2]=0}if(c){qe[j[d+60>>2]](1,c);if(j[c+32>>2]){qe[j[d+60>>2]](1,c+32|0)}if(j[c+36>>2]){qe[j[d+60>>2]](1,c+36|0)}a=j[c+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b+76>>2]=0}}function AB(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;g=j[67055];a:{if((g|0)<1){break a}d=j[67056];while(1){f=j[d+(c<<2)>>2];if((a|0)==j[f>>2]&j[f+4>>2]==(b|0)){e=c;break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=dl(a,b);if(d){if(j[d+16>>2]>=1){c=0;while(1){f=j[j[d+20>>2]+(c<<2)>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=c+1|0;if((c|0)>2]){continue}break}}c=j[d+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}c=j[67055]-1|0;j[67055]=c;g=e<<2;e=j[67056];j[g+e>>2]=j[e+(c<<2)>>2];TB(a,b)}}function Kq(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=j[a+24>>2];a:{if(b>>>0>65534){break a}c=j[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){b:{e=j[a+44>>2];c:{if(e>>>0>>0){break c}g=j[a+48>>2];d=j[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=k[c+1|0]|k[c|0]<<8;if(d){d=d+g&65535;if(d){break b}}c=c+2|0;b=b+1|0;if(e>>>0>=b>>>0){continue}break}break c}while(1){d=b+g&65535;if(d){break b}b=b+1|0;if(e>>>0>=b>>>0){continue}break}}d=0;if((Dq(a,j[a+36>>2]+1|0)|0)<0){break a}c=j[a+40>>2];b=b>>>0>>0?c:b;continue}break}f=b}j[a+28>>2]=d;j[a+24>>2]=f}function Ko(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=65611;ve(65309,c);break a}b:{d=j[a+184>>2];if((d|0)<1){break b}b=(d|0)/j[a+196>>2]|0;b=j[a+172>>2]?b:(j[a+240>>2]/k[a+232|0]|0)+b|0;if((b|0)<1){break b}f=c;e=w(o[a+224>>3]*+(b|0));c:{if(r(e)<2147483648){b=~~e;break c}b=-2147483648}j[f+12>>2]=p(b,j[a+208>>2]);Oe(j[a+176>>2]+d|0,0,j[a+180>>2]-d|0);if((Sj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>=0){Oe(j[a+176>>2],0,d);if((Sj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>-1){break b}}break a}j[a+172>>2]=1;j[a+184>>2]=0}oe=c+16|0}function gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=q(0),i=q(0),k=0;d=oe-16|0;oe=d;a:{if((Ao(1,0)|0)<0){break a}H(j[c+12>>2],d+8|0,d|0)|0;c=0;if(j[b>>2]<1){break a}k=a-22|0;while(1){f=p(c,52)+b|0;a=g;b:{if(!j[f+48>>2]){break b}e=j[f+20>>2];a=e;e=e>>31;h=q(+j[f+60>>2]/o[d>>3]);i=q(+j[f+56>>2]/o[d+8>>3]);c:{switch(k|0){case 0:Nj(1,0,a,e,1,i,h);a=1;if(g){break b}a=(We(1792,-1)|0)==1;break b;case 2:zo(1,0,a,e,i,h);a=g;break b;default:break c}}Nj(1,0,a,e,0,i,h);a=1}g=a;c=c+1|0;if((c|0)>2]){continue}break}}oe=d+16|0;return g|0}function Du(a,b){a=a|0;b=b|0;var c=0,d=0;c=Xe(1,120);j[a+992>>2]=c;if(!c){return Be(0)|0}j[c+100>>2]=456;j[c+60>>2]=457;j[c+52>>2]=458;j[c+48>>2]=459;j[c+36>>2]=460;j[c+56>>2]=461;j[c+112>>2]=462;j[c+108>>2]=463;j[c+104>>2]=464;j[c+92>>2]=465;j[c+88>>2]=466;j[c+84>>2]=467;j[c+80>>2]=468;j[c+76>>2]=469;j[c+68>>2]=470;j[c+64>>2]=471;j[c+116>>2]=472;j[c+96>>2]=473;c=wa(0)|0;d=j[a+992>>2];j[d+8>>2]=c;if(!c){return ve(101332,0)|0}if((qe[j[d+48>>2]](c,0,0)|0)!=1){return ve(101358,0)|0}a=a+436|0;if(b){Re(a,b,255);return 0}h[a|0]=0;return 0}function lj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;f=sf(a,e+12|0);d=j[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}sf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=xf(a,16);j[e+12>>2]=d;if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=sf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((g|0)==2){d=sf(a,e+12|0);if(j[e+12>>2]){break b}sf(a,e+12|0);if(j[e+12>>2]){break b}j[c>>2]=d;d=0;break a}d=xf(a,8);j[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}oe=e+16|0;return d}function Sr(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c|(!a|b>>>0>1)){break a}g=(b<<5)+a|0;if(!k[g+92|0]){break a}e=g- -64|0;Ae(j[c+4>>2]+(i[c+2>>1]<<3)|0,j[g+72>>2],j[e>>2]<<3);a=i[c+2>>1];d=j[e>>2];b:{if(!d){break b}b=j[c+8>>2]+a|0;a=j[g+76>>2];while(1){f=k[a|0];h[b|0]=f&1?1:f&2;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1];f=j[e>>2];if(!f){f=0;break b}e=j[c+12>>2]+(i[c>>1]<<1)|0;b=j[g+76>>2];d=f;while(1){if(k[b|0]&8){i[e>>1]=a;i[c>>1]=l[c>>1]+1;e=e+2|0}a=a+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1]}i[c+2>>1]=a+f}}function ki(a,b,c,d){var e=0,f=0,g=0,i=0;g=oe;i=g;a:{if(!j[57838]|b>>>0>6){break a}e=j[66037];b:{c:{if(e){while(1){if(j[e>>2]==(a|0)){f=e+4|0;break c}e=j[e+8>>2];if(e){continue}break}}f=231348;e=1;d:{switch(a|0){case 2:f=231344;break c;case 8:break b;case 0:break c;default:break d}}f=231340}e=j[f>>2]}if(b>>>0>>0){break a}e=g-4096|0;oe=e;vl(e,4096,c?c:86580,d);c=Le(e);e:{if(!c){break e}d=c-1|0;f=d+e|0;if(k[f|0]!=10){break e}h[f|0]=0;if(!d){break e}c=(c+e|0)-2|0;if(k[c|0]!=13){break e}h[c|0]=0}qe[j[57838]](j[66038],a,b,e)}oe=i}function Xh(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=i[a+56>>1];c=b+l[a+20>>1]|0;i[a+20>>1]=c;e=l[a+22>>1];d=e+l[a+58>>1]|0;i[a+22>>1]=d;f=j[a+48>>2]+j[a+84>>2]|0;j[a+48>>2]=f;if((b|0)>=1){d=j[a+68>>2];c=0;while(1){g=d+(c<<1)|0;i[g>>1]=l[g>>1]+e;c=c+1|0;if((b|0)!=(c|0)){continue}break}d=i[a+22>>1];c=l[a+20>>1]}j[a+84>>2]=0;j[a+56>>2]=0;b=d<<16>>16;j[a- -64>>2]=b+j[a+28>>2];b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+68>>2]=j[a+32>>2]+(c<<16>>16<<1);if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(f<<5)}}function ol(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;vs(d+8|0,j[58911]);e=j[d+12>>2];f=j[d+8>>2];j[58913]=f;j[58914]=e;a:{if(e){j[58906]=0;j[58907]=0;while(1){b:{if(k[b+f|0]==10){if((a|0)>(g|0)){j[58907]=a;g=a}c=c+1|0;j[58906]=c;a=0;break b}a=a+1|0}b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}$g(1079,0);U(1);z()}h=235632,i=bf(c,4),j[h>>2]=i;a=bf(c,4);j[58909]=a;if(a){b=0;if((c|0)>0){while(1){a=bf(g,4);j[j[58909]+(b<<2)>>2]=a;b=b+1|0;if((c|0)!=(b|0)){continue}break}}oe=d+16|0;return}za(1110,1135,42,1148);z()}function Eu(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{if(Lu(a)){break a}b:{e=b+20|0;if(j[a+420>>2]){if(!qj(a,100887)){break b}j[b+20>>2]=12445;j[b+24>>2]=12425;d=2}else{d=0}j[e+(d<<2)>>2]=12344;c=j[a+992>>2];f=qe[j[c+76>>2]](j[c+8>>2],j[c+12>>2],0,b+20|0)|0;if(f){break a}c=101268;e=b;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){c=j[(d<<2)+101272>>2]}if(!k[c|0]){j[b+16>>2]=a;Ue(b+32|0,32,100323,b+16|0);c=b+32|0}j[e+8>>2]=c;j[b+4>>2]=100410;j[b>>2]=100970;ve(100328,b);break a}ve(100909,0)}oe=b- -64|0;return f}function tA(a,b,c,d){var e=0,f=0;e=c;a:{b:{c:{d:{e:{f:{c=j[a>>2];switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:case 11:break e;default:break f}}if((c|0)==1448433993){break e}if((c|0)!=825382478){break d}}if(!b){break b}if(!(j[b>>2]|j[b+4>>2]|j[b+8>>2]!=j[a+8>>2])){c=0;if(j[b+12>>2]==j[a+12>>2]){break c}}return ve(74131,0)}if(!b){break b}f=j[b>>2]<<1;c=j[b+4>>2]}b=l[a+20>>1];a=(j[a+28>>2]+p(c,b)|0)+f|0;break a}b=l[a+20>>1];a=j[a+28>>2]}j[e>>2]=a;j[d>>2]=b;return 0}function Lm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(a>>>0>b>>>0){break a}f=j[c+28>>2]>j[d+28>>2];g=f?c:d;e=j[g+24>>2];g=j[g+28>>2];h=e-g|0;c=f?d:c;f=j[c+24>>2];d=j[c+28>>2];i=f-d|0;if(!((e|0)!=(f|0)?(d|0)!=(g|0):0)){while(1){c=j[a+28>>2];j[a+24>>2]=(c|0)>(d|0)?(c|0)<(g|0)?f:c+h|0:c+i|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}k=De(e-f|0,g-d|0);while(1){c=a;l=c;e=j[c+28>>2];b:{if((e|0)<=(d|0)){c=e+i|0;break b}c=e+h|0;if((e|0)>=(g|0)){break b}c=ye(e-d|0,k)+f|0}j[l+24>>2]=c;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function sI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!j[b+196>>2]){Og(b)}c=j[a>>2];a=j[a+4>>2];j[b+188>>2]=0;j[b+192>>2]=0;j[b+196>>2]=0;e=a<<2;j[b+228>>2]=e&-256;f=(e>>8)-j[b+172>>2]|0;j[b+160>>2]=f;a=j[b+164>>2];d=j[b+168>>2];g=c<<2;c=g>>8;c=(c|0)>(d|0)?d:c;c=(a|0)>(c|0)?a-1|0:c;h=c-a|0;j[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)>-1?a:-1;if((d|0)!=(h|0)){Og(b);j[b+188>>2]=0;j[b+192>>2]=0;j[b+160>>2]=f;j[b+156>>2]=d}a=1;a=m[b+184>>2]>f>>>0?(d|0)>=j[b+180>>2]:a;j[b+224>>2]=e;j[b+220>>2]=g;j[b+196>>2]=a;return 0}function mu(a){var b=0;ua(j[a+12>>2],a|0,0,480,2)|0;ta(j[a+12>>2],a|0,0,481,2)|0;sa(1,a|0,0,481,2)|0;ra(j[a+12>>2],a|0,0,482,2)|0;qa(j[a+12>>2],a|0,0,482,2)|0;pa(j[a+12>>2],a|0,0,483,2)|0;oa(2,a|0,0,484,2)|0;na(2,a|0,0,484,2)|0;ma(j[a+12>>2],a|0,0,485,2)|0;la(j[a+12>>2],a|0,0,485,2)|0;ka(j[a+12>>2],a|0,0,485,2)|0;ja(j[a+12>>2],a|0,0,485,2)|0;ia(1,a|0,0,486,2)|0;b=dg(104236);b=b?b:2;ha(b|0,a|0,0,487,2)|0;ga(b|0,a|0,0,487,2)|0;fa(b|0,a|0,0,488,2)|0;ea(1,a|0,0,489,2)|0;da(2,a|0,0,490,2)|0;ca(a|0,0,491,2)|0;ba(a|0,492,1)|0}function mz(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,l=0;a:{g=j[a+436>>2];f=j[g>>2];if(f){break a}f=j[g+4>>2];j[g>>2]=f;if(f){break a}f=tj(j[a+188>>2]);if(f){j[g>>2]=f;j[g+4>>2]=f;break a}f=j[g>>2];if(f){break a}return-1}b:{a=j[b>>2];c:{if((a|0)<0){break c}h=j[b+8>>2];if(j[f+8>>2]<(a+h|0)){break c}g=j[b+4>>2];if((g|0)<0){break c}b=j[b+12>>2];if(j[f+12>>2]>=(b+g|0)){break b}}return ve(86489,0)|0}i=b;b=j[f+4>>2];l=j[f+20>>2];f=j[f+16>>2];return fh(h,i,j[b>>2],(l+p(f,g)|0)+p(a,k[b+9|0])|0,f,c,d,e)|0}function zq(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;c=j[b+28>>2];d=qe[j[a+508>>2]](a,1668707360,b,e+8|0)|0;j[e+12>>2]=d;a:{if(d){j[a+644>>2]=0;j[a+648>>2]=0;c=0;break a}d=j[e+8>>2]>>>1|0;j[a+644>>2]=d;f=a,g=xe(c,2,0,d,0,e+12|0),j[f+648>>2]=g;c=j[e+12>>2];if(c){break a}c=_e(b,j[a+644>>2]<<1);j[e+12>>2]=c;if(c){break a}d=j[a+644>>2];if((d|0)>=1){c=j[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=af(b),i[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}Ve(b);if(!k[a+672|0]){c=j[e+12>>2];break a}c=rq(a,b)}oe=e+16|0;return c}function pj(a){var b=0,c=0,d=0;if(a){Yg(a+592|0);wg(a+480|0);gk(a+120|0);b=j[a+72>>2];a:{if(!b){break a}d=j[a+52>>2];if(!d){break a}c=1;if((d|0)>=1){Li(b);Mi(j[a+76>>2]);if(j[a+52>>2]>=2){while(1){Li(j[a+72>>2]+(c<<5)|0);Mi(j[a+76>>2]+(c<<4)|0);c=c+1|0;if((c|0)>2]){continue}break}}b=j[a+72>>2]}ze(b);ze(j[a+76>>2])}b=j[a+60>>2];if(b){ze(b)}b=j[a+68>>2];if(b){ze(b)}b=j[a+64>>2];if(b){ze(b)}b=j[a+56>>2];if(b){ze(b)}nF(a+24|0);b=j[a>>2];b:{if(!b){break b}c=j[a+712>>2];if(!c){break b}qe[c|0](b)|0}Ee(a,0,720)}}function fJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=$e(b,198528,d);if(c){break a}i[a+290>>1]=0;i[a+282>>1]=0;i[a+284>>1]=0;i[a+286>>1]=0;i[a+288>>1]=0;i[a+274>>1]=0;i[a+276>>1]=0;i[a+278>>1]=0;i[a+280>>1]=0;i[a+266>>1]=0;i[a+268>>1]=0;i[a+270>>1]=0;i[a+272>>1]=0;b:{if(j[a+260>>2]<65536){break b}c=$e(b,198544,d);if(c){break a}if(l[a+280>>1]<=63){i[a+280>>1]=64}if(l[a+276>>1]>=65532){i[a+276>>1]=65531}if(l[a+290>>1]<101){break b}i[a+290>>1]=100}c=0}return c|0}function Dg(a,b){var c=0,d=0,e=0,f=0,g=0;c=j[a+88>>2];b=j[a+32>>2]+(b<<4)|0;d=j[b+8>>2];i[c+12>>1]=d+32>>>6;e=j[b+12>>2];i[c+14>>1]=e+32>>>6;a:{if(h[a+8|0]&1){f=c,g=De(d,l[a+68>>1]),j[f+16>>2]=g;b=De(j[b+12>>2],l[a+68>>1]);j[c+20>>2]=b;f=c,g=ye(i[a+70>>1],b)+63&-64,j[f+24>>2]=g;f=c,g=ye(i[a+72>>1],j[c+20>>2])&-64,j[f+28>>2]=g;f=c,g=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[f+32>>2]=g;d=ye(i[a+76>>1],j[c+16>>2])+32&-64;break a}j[c+28>>2]=0;j[c+24>>2]=e;j[c+16>>2]=65536;j[c+20>>2]=65536;j[c+32>>2]=i[b>>1]<<6}j[c+36>>2]=d}function _e(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;j[e+12>>2]=0;a:{if(j[a+20>>2]){d=85;if(m[a+4>>2]>>0){break a}f=j[a+28>>2];c=jj(f,b,e+12|0);j[a>>2]=c;d=j[e+12>>2];if(d){break a}g=qe[j[a+20>>2]](a,j[a+8>>2],c,b)|0;c=j[a>>2];if(b>>>0<=g>>>0){d=j[e+12>>2]}else{if(c){qe[j[f+8>>2]](f,c)}c=0;j[a>>2]=0;d=85}j[a+32>>2]=c;j[a+36>>2]=b+c;j[a+8>>2]=j[a+8>>2]+g;break a}d=85;f=j[a+4>>2];c=j[a+8>>2];if(f>>>0<=c>>>0|f-c>>>0>>0){break a}j[a+8>>2]=b+c;d=c+j[a>>2]|0;j[a+32>>2]=d;j[a+36>>2]=b+d;d=0}oe=e+16|0;return d}function SN(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=116640;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return De(a+128>>8,c+128>>8)}function TF(a,b,c,d,e){var f=0,g=0;a:{b:{c:{if(!(!a|!b)){if(c-1>>>0>=2){break c}if(!d){break b}f=Le(d);if(!f|k[d|0]==45){break b}if(!Jl(d,f)){break b}if(!e){break a}g=Le(e);if(!g|k[e|0]==45){break a}if(!Jl(e,g)){break a}h[b+252|0]=c;f=f+1|0;c=fg(a,f);j[b+256>>2]=c;if(!c){Ze(a,207274);return}Ae(c,d,f);d=g+1|0;c=fg(a,d);j[b+260>>2]=c;if(!c){Ke(a,j[b+256>>2]);j[b+256>>2]=0;Ze(a,207274);return}Ae(c,e,d);j[b+8>>2]=j[b+8>>2]|16384;j[b+232>>2]=j[b+232>>2]|256}return}Ye(a,207217);z()}Ye(a,207235);z()}Ye(a,207254);z()}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=j[d+1164>>2];e=j[d+1168>>2]-p(e,a)|0;e=(a|0)>=0?p(a,j[d+1156>>2]-1|0)+e|0:e;if((b|0)>=1){while(1){a=b;d=k[c+4|0];a:{if(!d){break a}f=l[c+2>>1];if(f>>>0>=8){Ee(i[c>>1]+e|0,d,f);break a}b=i[c>>1]+e|0;b:{switch(f-1|0){case 6:h[b|0]=d;b=b+1|0;case 5:h[b|0]=d;b=b+1|0;case 4:h[b|0]=d;b=b+1|0;case 3:h[b|0]=d;b=b+1|0;case 2:h[b|0]=d;b=b+1|0;case 1:h[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}h[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function WI(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!k[a+612|0]){break a}c=j[a+100>>2];b=j[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0;if(l[a+618>>1]){b=0;while(1){d=b<<2;e=j[d+j[a+624>>2]>>2];if(e){qe[j[c+8>>2]](c,e)}j[j[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=j[a+624>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+618>>1]=0;j[a+624>>2]=0;break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0}h[a+612|0]=0}function oi(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){c=f+ -64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;k=64-f|0;g=k&31;if((k&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=k|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function kF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{if(!(k[a+212|0]&64)){c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c;if(!(k[a+212|0]&64)){Bl(a);break b}xi(a,210379);break b}if(!(!k[a+432|0]|k[a+216|0]&2)){Ze(a,210567);j[a+356>>2]=j[a+352>>2]}c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c}if((d|0)<1){break a}f=j[a+352>>2];while(1){c=b;e=0;if(f){while(1){lF(a,j[c>>2]);c=c+4|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function Dy(a){var b=0,c=0,d=0;a:{if(k[j[a+4>>2]+8|0]!=1){break a}a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+86784>>2]}return j[(b<<2)+86816>>2]}return b>>>0>1?270:0}d=b>>>0>1?271:0}return d}function gE(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!k[b|0]){break a}if(c>>>0<4){break c}while(1){d=j[b>>2];if((d^-1)&d-16843009&-2139062144){break c}j[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Ee(a,0,c)}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=116640;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return c+128>>8}function Ai(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=14408027;a:{if((a|0)>=-2949120){b=a;e=14408027;break a}while(1){e=c;c=0-d|0;f=(a|0)<-8847360;d=e;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=c;d=b;break b}while(1){a=e;e=0-c|0;f=(b|0)>8847360;c=a;d=b-5898240|0;b=d;if(f){continue}break}}f=116640;b=1;c=1;while(1){g=a+b>>c;c:{if((d|0)<=-1){d=j[f>>2]+d|0;a=a-(b+e>>c)|0;e=e+g|0;break c}d=d-j[f>>2]|0;a=(b+e>>c)+a|0;e=e-g|0}b=b<<1;f=f+4|0;c=c+1|0;if((c|0)!=23){continue}break}return a+128>>8}function lG(a,b){var c=0;a:{b:{switch(k[a+8|0]){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a;case 4:break b;default:break a}}c:{switch(k[a+9|0]-8|0){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+2|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}break a;case 8:break c;default:break a}}c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;h[b+1|0]=k[b+1|0]^-1;b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}}function dD(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=oe-32|0;oe=b;a=j[65585];if(!(!a|j[57834]==118)){Zi(63461,0);Zi(63486,0);while(1){d=j[a+8>>2];e=j[a+16>>2];f=j[a+12>>2];g=j[a+20>>2];h=j[a>>2];c=j[a+4>>2];j[b+16>>2]=c;j[b+24>>2]=h?63609:63613;j[b+20>>2]=(c|0)==1?63606:63607;j[b+4>>2]=g;j[b+8>>2]=f;j[b+12>>2]=e;j[b>>2]=d;Zi(63531,b);a=j[a+24>>2];if(a){continue}break}Zi(63616,0);a=j[65585];if(a){while(1){j[a>>2]=0;j[a+4>>2]=0;c=j[a+24>>2];j[a+24>>2]=0;a=c;if(a){continue}break}}j[65585]=0}oe=b+32|0}function QN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+28>>2];a=Te(96);d=Ce(b,8);j[a>>2]=d;c=Ce(b,16);j[a+4>>2]=c;e=Ce(b,16);j[a+8>>2]=e;h=a,i=Ce(b,6),j[h+12>>2]=i;h=a,i=Ce(b,8),j[h+16>>2]=i;f=Ce(b,4);j[a+20>>2]=f+1;a:{b:{if((d|0)<1|(c|0)<1|((e|0)<1|(f|0)<0)){break b}e=a+24|0;d=0;while(1){c=Ce(b,8);j[e+(d<<2)>>2]=c;if((c|0)<0|(c|0)>=j[g+24>>2]){break b}c=j[((c<<2)+g|0)+1824>>2];if(!j[c+12>>2]|j[c>>2]<=0){break b}c=(d|0)>=(f|0);d=d+1|0;if(!c){continue}break}break a}ze(a);a=0}return a|0}function ME(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&128))){Ie(a,c);Je(a,211085);break a}if((c|0)!=9){Ie(a,c);Je(a,211064);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);SF(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,211072);z()}function tg(a,b){var c=0,d=0;c=j[67085];a:{if(!c){ve(99429,0);break a}d=Eh(j[c+704>>2])}b:{if((a|0)!=(d|0)){break b}d=0;c=j[67085];c:{if(!c){ve(99429,0);break c}d=Eh(j[c+708>>2])}if((b|0)!=(d|0)){break b}return 0}d=0;c=j[67085];d:{if(!b){break d}if(!c){ve(99429,0);return-1}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);return-1}d=a;if(k[a+48|0]&2){break d}return ve(99029,0)}a=qe[j[c+184>>2]](c,d,b)|0;if(!a){a=j[67085];j[a+700>>2]=b;j[a+696>>2]=d;Ij(j[a+704>>2],d);Ij(j[j[67085]+708>>2],b);a=0}return a}function wr(a){var b=0,c=0,d=0,e=0,f=0;j[a+28>>2]=4096;b=a+4168|0;j[a+24>>2]=b;j[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!j[a+16>>2]){b=j[a>>2];c=j[b+20>>2];a:{if(c){c=qe[c|0](b,j[b+8>>2],d,4096)|0;if(c){break a}return 85}e=j[b+8>>2];c=j[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){return 85}Ae(d,j[b>>2]+e|0,c)}j[b+8>>2]=j[b+8>>2]+c;j[a+16>>2]=c;j[a+12>>2]=d}b=vr(f,0);if(b){if((b|0)==1){b=j[a+24>>2];j[a+8272>>2]=b;a=(b|0)==j[a+8268>>2]?85:0}else{a=85}return a}if(j[a+28>>2]){continue}break}return 0}function LE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(h[b+9|0]&1))){Ie(a,c);Je(a,211085);break a}if((c|0)!=9){Ie(a,c);Je(a,211064);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);XF(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,211072);z()}function cE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=(uP(a),pP(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;o[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(r(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){o[b>>3]=q(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;o[e+8>>3]=(qP(2,h-(c<<23)|0),tP());c=Fp(e+8|0,e,c,1,0);d=o[e>>3];if((f|0)<=-1){o[b>>3]=-d;c=0-c|0;break a}o[b>>3]=d}oe=e+16|0;return c}function Nf(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){d=b;e=f+ -64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=k|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function NJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=b;a=j[a+16>>2];c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=j[b>>2]+1|0;c=c>>>0>>0?e:c;f=c-e|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>>0){e=d+e|0;a=(a+(f<<1)|0)+20|0;while(1){g=k[a+1|0]|k[a|0]<<8;if(g){j[b>>2]=c;return g|0}c=c+1|0;a=a+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}a=e}else{a=c}j[h>>2]=a;return 0}function gs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!j[a+96>>2]){g=34;break a}j[b>>2]=0;f=j[a+100>>2];d=j[j[a+96>>2]+12>>2];e=He(f,j[d+40>>2],c+12|0);b:{if(j[c+12>>2]){break b}h=He(f,12,c+12|0);if(j[c+12>>2]){break b}j[e+40>>2]=0;j[e>>2]=a;d=j[d+56>>2];if(d){d=qe[d|0](e)|0;j[c+12>>2]=d;if(d){break b}}j[b>>2]=e;j[h+8>>2]=e;zm(a+108|0,h);if(!j[c+12>>2]){break a}}if(h){qe[j[f+8>>2]](f,h)}if(e){qe[j[f+8>>2]](f,e)}g=j[c+12>>2]}oe=c+16|0;return g}function dt(a,b,c){a=a|0;b=b|0;c=c|0;c=0;a=j[67093];a:{if(!a){break a}b=j[b+1300>>2];if((b|0)!=j[a>>2]){while(1){c=a;a=j[a+1320>>2];if(!a){break a}if((b|0)!=j[a>>2]){continue}break}}b=j[a+16>>2];if(b){j[b+84>>2]=0}b=j[a+1320>>2];b:{if(c){j[c+1320>>2]=b;break b}j[67093]=b}if(j[67092]==(a|0)){j[67092]=c}j[67090]=j[67090]-1;QA(j[a+12>>2]);b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}return 1}function Sg(a,b){var c=0,d=0,e=0;c=j[a+20>>2];if(!(k[a+13|0]?c:0)){return ye(b,j[a+16>>2])}d=j[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(j[(p(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=j[(p(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;j[a+24>>2]=0;d=j[a+36>>2];if((d|0)<=(b|0)){break b}return ye(b-d|0,j[a+16>>2])+j[a+40>>2]|0}j[a+24>>2]=c}a=p(c,20)+a|0;return ye(b-d|0,j[a+44>>2])+j[a+40>>2]|0}function vo(a,b,c){var d=0,e=0,f=0,g=0,i=0,k=0;d=oe+ -64|0;oe=d;a:{if((b|0)==-1){break a}b:{c:{switch(c|0){case 1:f=1617;j[d+8>>2]=1617;if((b|0)!=5){break b}i=a,k=sg(),j[i+28>>2]=k;if(!j[j[a>>2]+68>>2]){break b}break a;case 0:break c;default:break a}}f=1618;j[d+8>>2]=1618;if((b|0)!=5){break b}e=sg();g=((j[a+28>>2]-e|0)+250|0)<1;e=j[a>>2];if(!(g|j[e+72>>2])){j[e+68>>2]=1;break a}j[e+68>>2]=0}if((We(f,-1)|0)!=1){break a}a=j[j[a>>2]>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function Pk(a){var b=0,c=0;c=oe-16|0;oe=c;Wj(268332);b=j[67084];a:{if(b){while(1){if(j[b>>2]==(a|0)){j[b+36>>2]=j[b+36>>2]+1;j[67083]=0;break a}b=j[b+40>>2];if(b){continue}break}}b=qe[j[57972]](44)|0;if(b){j[57976]=j[57976]+1}if(!b){j[67083]=0;b=0;Be(0);break a}if((Ok(b,a)|0)<=-1){j[67083]=0;if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c>>2]=97078;ve(97052,c);b=0;break a}if(!((a>>>24&15)-1>>>0<3?!((a&-268435456)!=268435456?a:0):0)){j[b+40>>2]=j[67084];j[67084]=b}j[67083]=0}oe=c+16|0;return b}function qo(a){var b=0,c=0;b=MO(a+16|0);if(!b){ve(2901,0);return-1}a:{b:{if(j[b+4>>2]==j[a+740>>2]){c=0;if(j[b+8>>2]==j[a+744>>2]){break b}}Ge(a+736|0,b,32);c=j[a+776>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+776>>2]=0}c=j[a+772>>2];if(c){Ih(c);j[a+772>>2]=0}c=ll(32784,k[b+4|0],j[b+8>>2],l[131082],k[262166],j[65540]);j[a+772>>2]=c;if(c){break a}c=-1}return c}b=p(l[131084],j[b+4>>2])<<1;j[a+780>>2]=b;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[a+776>>2]=b;return b?0:-1}function NE(a,b,c){var d=0,e=0,f=0;d=oe-528|0;oe=d;a:{b:{e=j[a+208>>2];if(e&1){if((e&6)!=2){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&64))){Ie(a,c);Je(a,211085);break a}if(c>>>0>513){break b}e=c>>>1|0;if((e|0)!=l[a+420>>1]){break b}if(e){c=0;while(1){pf(a,d+14|0,2);tf(a,d+14|0,2);f=k[d+14|0]|k[d+15|0]<<8;i[(d+16|0)+(c<<1)>>1]=(f<<24|f<<8&16711680)>>>16;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(Ie(a,0)){break a}ZF(a,b,d+16|0);break a}hf(a,211072);z()}Ie(a,c);Je(a,211064)}oe=d+528|0}function HC(a){var b=0,c=0;j[66088]=0;a:{b:{if((a|0)==8){break b}b=1;j[66088]=1;if((a|0)==32776){break b}b=2;j[66088]=2;if((a|0)==32784){break b}b=3;j[66088]=3;if((a|0)==36880){break b}b=4;j[66088]=4;if((a|0)==16){break b}b=5;j[66088]=5;if((a|0)==4112){break b}b=6;j[66088]=6;if((a|0)==32800){break b}b=7;j[66088]=7;if((a|0)==36896){break b}b=8;j[66088]=8;if((a|0)==33056){break b}b=9;j[66088]=9;if((a|0)==37152){break b}j[66088]=10;j[66089]=0;break a}j[66089]=1;c=l[p(b,20)+64608>>1]}return c}function De(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=(a|0)<0?-1:1;e=2147483647;c=b>>31;c=c+b^c;a:{if(!c){break a}d=a;a=a>>31;a=d+a^a;if(a>>>0<=(c>>>17^65535)>>>0){e=((a<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=c>>>1|0;d=f+(a<<16)|0;a=(a>>>16|0)+(d>>>0>>0)|0;if(a>>>0>=c>>>0){break a}f=s(a);g=32-f|0;a=d>>>g|a<>>0)/(c>>>0)|0;i=a-p(c,e)|0;a=d<>>31;i=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}return(((b|0)<0?0-h|0:h)|0)<0?0-e|0:e}function Hs(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;a:{if(!a|!b){break a}f=j[a>>2];c=j[a+72>>2];d=111972;b:{c:{if((c|0)==1651078259){break c}d=112004;if((c|0)==1869968492){break c}d=FO(f,c);if(!d){break b}d=d+20|0}c=He(j[f>>2],j[d>>2],e+12|0);if(j[e+12>>2]){break a}j[c+4>>2]=d;j[c>>2]=f;j[c+8>>2]=j[d+4>>2];j[c+12>>2]=j[a+64>>2]<<10;j[c+16>>2]=j[a+68>>2]<<10;if(qe[j[d+8>>2]](c,a)|0){a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c}}oe=e+16|0}function FF(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c-16>>>0>=624999985){e=l[b+74>>1];d=208049;break a}g=l[b+74>>1];e=g<<16>>16;if(k[a+209|0]&128){d=208074;if(g&8){break a}}b:{if((e|0)>=0){c:{if(!(e&1)){break c}d=j[b>>2];d:{if(!d){break d}f=v(+(d|0)*1e5/+(c|0)+.5);if(f<=2147483647^1|f>=-2147483648^1){break d}if(r(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break c}}if(e&32){break b}Of(a,209579,0)}j[b>>2]=c;i[b+74>>1]=e|9}return}Of(a,209547,2);return}i[b+74>>1]=e|32768;Of(a,d,1)}function sv(a,b,c,d){var e=0,f=0;f=j[a+52>>2];e=j[f+68>>2];if(!(e&512)){j[f+68>>2]=e|512;vf(f);f=j[a+52>>2];e=j[f+68>>2]}a:{if(e&371){break a}e=j[j[a+4>>2]>>2];if((e|0)!=j[j[c+4>>2]>>2]|((e>>>24&15)-1>>>0<3?!((e&-268435456)!=268435456?e:0):0)){break a}return yn(a,b,c,d)}b:{c:{if(j[f>>2]!=(c|0)){break c}e=j[j[c+4>>2]+4>>2];if(j[f+80>>2]!=j[e+8>>2]?e:0){break c}e=j[j[a+4>>2]+4>>2];if(!e|j[f+84>>2]==j[e+8>>2]){break b}}if((Cj(a,c)|0)<0){return-1}f=j[a+52>>2]}return qe[j[f+8>>2]](a,b,c,d)|0}function Is(a,b){var c=0,d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(!j[a+4>>2]|(!a|!b)){break a}j[b>>2]=0;e=j[a+4>>2];if(!e){break a}g=j[a>>2];c=He(j[g>>2],j[e>>2],f+12|0);d=j[f+12>>2];if(d){break a}j[c+4>>2]=e;j[c>>2]=g;j[c+8>>2]=j[e+4>>2];d=j[a+16>>2];j[c+12>>2]=j[a+12>>2];j[c+16>>2]=d;j[c+8>>2]=j[a+8>>2];b:{d=j[e+16>>2];if(!d){break b}d=qe[d|0](a,c)|0;if(!d){break b}a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c;d=0}oe=f+16|0;return d}function bv(a){var b=0,c=0,d=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}b=j[a+48>>2];a:{if(!(b&256)^1){break a}j[a+48>>2]=b&-257|256;b=j[67085];d=j[b+312>>2];c=j[a+48>>2];b:{if(!(!(j[67035]|c&256)|!(c&512))){c:{if(!d|(a|0)==(d|0)){break c}j[d+48>>2]=j[d+48>>2]&-257;c=j[b+128>>2];if(!c){break c}qe[c|0](b,d,0);b=j[67085]}j[b+312>>2]=a;c=1;break b}c=0;if((a|0)!=(d|0)){break b}j[b+312>>2]=0;c=0}d=j[b+128>>2];if(!d){break a}qe[d|0](b,a,c)}}function ZG(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,k=0;e=j[a+528>>2];if(!e){return 6}h=j[e>>2];if(h){f=j[e+4>>2];k=b>>>0>f>>>0?f:b;while(1){i=65536;a=0;b=0;d=65536;if(f){while(1){d=32768;a:{b:{if(a>>>0>=k>>>0){break b}d=j[(a<<2)+c>>2];if((d|0)<1){d=0;break b}b=65536;if((d|0)>65535){break a}}b=d}i=ye(i,g>>>a&1?b:65536-b|0);a=a+1|0;b=j[e+4>>2];if(a>>>0>>0){continue}break}h=j[e>>2];d=i}j[j[e+136>>2]+(g<<2)>>2]=d;f=b;g=g+1|0;if(h>>>0>g>>>0){continue}break}}return 0}function Oy(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&63519|(j[d+24>>2]&f)>>>q<<2&2016|g<<16&132120576;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function zB(){var a=0;Zg();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Hg();if(j[57818]){a=j[57832];if(a){qe[a|0]()}j[57818]=0}if(j[57797]){a=j[57811];if(a){qe[a|0]()}j[57797]=0}a=j[65549];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65549]=0}a=j[65538];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65538]=0}j[65548]=0;j[65537]=0}function sk(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=j[a+40>>2];a:{if(!c){break a}d=(j[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=j[e>>2];c:{if(j[b+4>>2]!=1970170211){break c}d:{switch(l[b+8>>1]){case 0:if(l[b+10>>1]!=4){break c}break b;case 3:break d;default:break c}}if(l[b+10>>1]==10){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=j[d>>2];if(j[b+4>>2]!=1970170211){continue}break}}j[a+92>>2]=b;f=0}return f}function UM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[a+28>>2];a=j[g+20>>2];a:{if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}d=j[a+4>>2];f=d+(c<<3)|0;d=(d+(b<<3)|0)-8|0;if(j[f>>2]!=j[d>>2]|j[f+4>>2]!=j[d+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break a}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}h[g+64|0]=0}function Pi(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;h=j[a+4>>2];if(!h){return j[a+24>>2]&e>>>k[a+31|0]<>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((l|0)<1){h=0;break a}n=j[h+4>>2];m=-1;h=0;a=0;while(1){b:{f=(a<<2)+n|0;g=k[f+1|0]-c|0;i=p(g,g);g=k[f|0]-b|0;i=i+p(g,g)|0;g=k[f+2|0]-d|0;f=k[f+3|0]-e|0;f=(i+p(g,g)|0)+p(f,f)|0;if(f>>>0>>0){h=a;m=f;if(!f){break b}}a=a+1|0;if((l|0)!=(a|0)){continue}}break}}return h&255}function Ny(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&64543|(j[d+24>>2]&f)>>>q<<2&992|g<<16&65011712;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function JL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[a+32>>2]=c;e=a,f=xe(c,4,0,b,0,d+12|0),j[e+24>>2]=f;a:{b:{if(j[d+12>>2]){break b}e=a,f=xe(c,4,0,b,0,d+12|0),j[e+28>>2]=f;if(j[d+12>>2]){break b}j[a+20>>2]=0;j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=-559038737;j[a>>2]=0;j[a+4>>2]=0;b=j[33347];j[a+36>>2]=j[33346];j[a+40>>2]=b;b=j[33349];j[a+44>>2]=j[33348];j[a+48>>2]=b;a=0;break a}b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;a=j[d+12>>2]}oe=d+16|0;return a|0}function bP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0;e=oe-16|0;oe=e;g=j[b+92>>2];j[a+40>>2]=l[b+68>>1];a:{if(sk(b)){j[b+92>>2]=0;break a}Qm(a,b);d=48;while(1){b:{f=d;d=0;c=j[j[a+36>>2]>>2];c:{if(!c){break c}c=j[c+92>>2];if(!c){break c}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(xk(b,d,e+12|0)){break d}c=i;i=1;d=j[e+12>>2];if(!c){k=d;break d}if((d|0)==(k|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=c}Uh(b,g);oe=e+16|0;return 0}function MJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d-20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(!(!j[b+164>>2]|!c)){while(1){if(m[b+172>>2]<=(k[e+1|0]|k[e|0]<<8)>>>0){Pe(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function Cn(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,i=0,l=0,m=0;g=j[a+4>>2];if(!g){return j[a+24>>2]|(c>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((i|0)<1){g=0;break a}m=j[g+4>>2];l=-1;g=0;a=0;while(1){b:{e=(a<<2)+m|0;f=k[e+1|0]-c|0;h=p(f,f);f=k[e|0]-b|0;h=h+p(f,f)|0;f=k[e+2|0]-d|0;e=k[e+3|0]-255|0;e=(h+p(f,f)|0)+p(e,e)|0;if(e>>>0>>0){g=a;l=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function aG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-160|0;oe=d;b=Te(40);j[b>>2]=0;if(a){e=j[a+160>>2];a:{if(!j[a+164>>2]|(!e|(a|0)==(e|0))){break a}b=mi(d,1,b,4);h=C()|0;while(1){if(c){break a}j[a+164>>2]=0;j[a+156>>2]=37;j[a+160>>2]=d;j[67126]=0;M(1048,a|0,e|0);c=j[67126];j[67126]=0;f=-1;b:{if(!c){break b}g=j[67127];if(!g){break b}f=ef(j[c>>2],b,h);if(!f){F(c|0,g|0);z()}D(g|0)}c=C()|0;if((f|0)==1){continue}break}}j[a+164>>2]=0;j[a+156>>2]=0;j[a+160>>2]=0}ze(b);oe=d+160|0}function $D(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;j[d+16>>2]=b;e=j[a+48>>2];j[d+20>>2]=c-((e|0)!=0);f=j[a+44>>2];j[d+28>>2]=e;j[d+24>>2]=f;e=-1;a:{b:{g=Na(j[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}j[67100]=g;f=-1}if(!f){e=j[d+12>>2];if((e|0)>0){break b}}j[a>>2]=j[a>>2]|e&48^16;break a}g=j[d+20>>2];if(g>>>0>=e>>>0){break a}f=j[a+44>>2];j[a+4>>2]=f;j[a+8>>2]=f+(e-g|0);if(j[a+48>>2]){j[a+4>>2]=f+1;h[(b+c|0)-1|0]=k[f|0]}e=c}oe=d+32|0;return e|0}function nr(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2]+1|0;j[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Pf(d+12|0,b);c=j[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=k[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;j[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(k[c|0]!=62){break c}}c=c+1|0;b=0}j[a>>2]=c;oe=d+16|0;return b}function JA(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{if((b|0)<0){break b}c=qe[j[58771]]()|0;if((c|0)<=(b|0)){break b}qe[j[58775]](d+16|0,b);b=j[d+28>>2];c=j[d+24>>2];h[a+8|0]=c;h[a+9|0]=c>>>8;h[a+10|0]=c>>>16;h[a+11|0]=c>>>24;h[a+12|0]=b;h[a+13|0]=b>>>8;h[a+14|0]=b>>>16;h[a+15|0]=b>>>24;b=j[d+20>>2];c=j[d+16>>2];h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+6|0]=b>>>16;h[a+7|0]=b>>>24;break a}j[d>>2]=c;ve(73058,d);Oe(a,0,16)}oe=d+32|0}function wL(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,i=0,k=0;e=oe-32|0;oe=e;j[d>>2]=-1;Nh(a,e+16|0);if(j[e+24>>2]==3){i=j[a>>2];g=j[e+16>>2]+1|0;j[a>>2]=g;k=j[a+8>>2];h=j[e+20>>2]-1|0;j[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=p(c,12)+b|0;while(1){Nh(a,e);if(!j[e+8>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=j[e+4>>2];j[f>>2]=j[e>>2];j[f+4>>2]=g;j[f+8>>2]=j[e+8>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[d>>2]=(f-b|0)/12;j[a+8>>2]=k;j[a>>2]=i}oe=e+32|0}function sy(a){var b=0,c=0,d=0;a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}a:{b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+86848>>2]}return j[(b<<2)+86880>>2]}return b>>>0>1?280:0}d=b>>>0>1?281:0}return d}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;e=k[a+11|0]+7>>>3|0;a:{if(!e){d=b;break a}f=b+e|0;d=b;while(1){h[d|0]=k[c|0]+k[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}i=j[a+4>>2]+b|0;if(i>>>0>d>>>0){a=0-e|0;while(1){l=k[a+d|0];b=k[a+c|0];e=l-b|0;f=e>>31;m=k[c|0];g=m-b|0;n=g>>31;o=e+g|0;p=o>>31;q=b;b=f^e+f;e=n^g+n;f=(b|0)<(e|0);h[d|0]=k[d|0]+((p^p+o)<((f?b:e)|0)?q:f?m:l);c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}}function _A(a){var b=0,c=0,d=0;if(a){b=j[a+4>>2];j[a+4>>2]=b-1;if((b|0)<=1){cl(j[a>>2]);b=j[67069];a:{if(!b){break a}if((a|0)!=(b|0)){while(1){c=j[b+32>>2];if(!c){break a}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+32>>2];if(d){j[d+32>>2]=b;break a}j[67069]=b}b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}}function ow(a,b,c,d){var e=0,f=0;e=oe-48|0;oe=e;j[e+36>>2]=c;j[e+32>>2]=b;j[e+20>>2]=c;j[e+16>>2]=b;j[e+24>>2]=16;j[e+28>>2]=28;j[e+4>>2]=c;j[e>>2]=b;f=(c|0)%4|0;c=f>>31;c=c^c+f;f=(b|0)%4|0;b=f>>31;f=b^b+f;b=e;a:{b:{c:{switch(d|0){case 0:j[e>>2]=c<<4;c=64;break b;case 1:j[e>>2]=f<<4;c=32;break b;case 2:j[e>>2]=c<<4;c=0;break b;case 3:break c;default:break a}}j[e>>2]=f<<4;c=96}j[b+4>>2]=c}j[e+8>>2]=16;j[e+12>>2]=28;ro(a,e+40|0,e+44|0);Ui(j[58882],a,e,e+16|0);oe=e+48|0}function Yz(a,b,c,d){var e=0,f=0,g=0;if(!a){ve(85856,0);return}e=j[a+4>>2];if(k[e+8|0]<=7){ve(85888,0);return}f=j[a+36>>2];a:{if((f|0)>(b|0)){break a}g=j[a+40>>2];if((j[a+44>>2]+f|0)<=(b|0)|(g|0)>(c|0)|(j[a+48>>2]+g|0)<=(c|0)){break a}b:{switch(k[e+9|0]-1|0){case 0:h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=d;return;case 1:i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=d;return;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=d}}function Yu(a){var b=0,c=0,d=0,e=0;c=j[a+100>>2];a:{if(!c){break a}b=j[67085];d=j[b+120>>2];if(!d){break a}qe[d|0](b,a,c)|0}if(j[67035]){Pj(a);el(a,j[a+24>>2]/2|0,j[a+28>>2]/2|0)}d=0;c=j[67085];b=j[c+312>>2];e=j[a+48>>2];b:{if(!(!(j[67035]|e&256)|!(e&512))){c:{if(!b|(a|0)==(b|0)){break c}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break c}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;d=1;break b}if((a|0)!=(b|0)){break b}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,d)}}function LO(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(k[a+8|0]&2)){break a}e=7;if(j[b>>2]){break a}f=j[b+4>>2];g=f;e=j[b+12>>2];if(e){g=(p(e,f)+36|0)/72|0}d=j[b+8>>2];h=d;b=j[b+16>>2];if(b){h=(p(b,d)+36|0)/72|0}e=23;b=j[a+28>>2];if((b|0)<1){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=j[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^j[d+12>>2]+32)>>>0>63|(f^j[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}j[c>>2]=a;return 0}a=a+1|0;if((b|0)>(a|0)){continue}break}}return e}function LL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+76>>2]){break a}f=8;e=a+1|0;if(e>>>0>b>>>0){break a}h=b;a=k[a|0];g=a&15;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+e>>>0){break a}a=xe(j[c>>2],4,0,b,0,d+12|0);f=j[d+12>>2];if(f){break a}j[c+76>>2]=a;j[c- -64>>2]=(g<<2)+a;f=0;if(!b){break a}while(1){c=k[e|0]|k[e+1|0]<<8;j[a>>2]=(c<<24|c<<8&16711680)>>16;a=a+4|0;e=e+2|0;b=b-1|0;if(b){continue}break}f=j[d+12>>2]}oe=d+16|0;return f|0}function eC(a,b){a=a|0;b=b|0;var c=0;c=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(c){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){n[b>>2]=q(j[b>>2]>>8)*q(1.1920930376163597e-7);b=b+4|0;c=c-1|0;if(c){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Mh(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==k[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(k[a|0]==(b&255)|c>>>0<4){break d}d=p(b&255,16843009);while(1){e=d^j[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==k[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function Ao(a,b){var c=0,d=0,e=0,f=0;e=j[67055];a:{b:{if((e|0)<=0){c=j[67056];break b}c=j[67056];while(1){f=j[(d<<2)+c>>2];if(j[f>>2]==(a|0)&j[f+4>>2]==(b|0)){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=mf(c,(e<<2)+4|0);if(!c){return Be(0)}j[67056]=c;d=j[67055];c=qe[j[57972]](24)|0;if(c){j[57976]=j[57976]+1}j[j[67056]+(d<<2)>>2]=c;if(!c){return Be(0)}j[67055]=j[67055]+1;j[c+20>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;j[c+8>>2]=0;j[c>>2]=a;j[c+4>>2]=b;UB(a,b)}return d}function no(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}b=j[a+340>>2];if(b){qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){b=c;c=j[b+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!j[a+192>>2]){qe[j[a+76>>2]](a)}}function mr(a,b,c,d){var e=0,f=0,g=0,i=0;i=j[a>>2];if(i>>>0>>0){f=1;b=b-i|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=k[b+i|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=k[e+133760|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}h[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}h[c+g|0]=f<<4;g=g+1|0}j[a>>2]=b+i}return g}function gB(){var a=0,b=0,c=0,d=0,e=0;d=oe-1024|0;oe=d;Vi(72312,0);Vi(72559,0);a=dg(72788);a:{if(!a|!k[a|0]){break a}if(Re(d,a,1024)>>>0>1023){break a}jB(hi(d,71947))}e=dg(72818);if(!(!e|!k[e|0])){b=Le(e);a=b+1|0;c=qe[j[57972]](a?a:1)|0;if(c){j[57976]=j[57976]+1}Ge(c,e,b);h[b+c|0]=0;a=c;b=xg(a,10);if(b){while(1){h[b|0]=0;Vi(a,2);a=b+1|0;b=xg(a,10);if(b){continue}break}}Vi(a,2);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}Ig(71950,186,0);Ig(71984,187,0);oe=d+1024|0}function Dl(a,b,c,d,e,f){var g=0,h=0,i=0;if(j[a+220>>2]==j[a+376>>2]){j[a+240>>2]=0;j[a+236>>2]=d;h=f?4:2;i=a+224|0;d=1024;f=e;a:{while(1){if(!j[a+228>>2]){g=j[c>>2];d=d>>>0>g>>>0?g:d;j[c>>2]=g-d;if(d){pf(a,b,d);tf(a,b,d)}j[a+228>>2]=d;j[a+224>>2]=b}if(!j[a+240>>2]){g=j[e>>2];j[e>>2]=0;j[a+240>>2]=g}g=ui(i,j[c>>2]?0:h);if(g){d=j[e>>2];b=j[a+240>>2];break a}if(j[e>>2]|j[a+240>>2]){continue}break}d=0;b=0}j[f>>2]=b+d;j[a+240>>2]=0;th(a,g);return}j[a+248>>2]=212458}function yK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;k=j[a+16>>2];a:{if(k){c=j[b>>2]+1|0;l=j[a+20>>2];h=k;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+l|0;f=j[e>>2];if((f|0)==(c|0)){a=j[((i<<3)+l|0)+4>>2];j[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?j[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=k>>>0){break a}a=j[a+20>>2]+(d<<3)|0;c=j[a>>2]&2147483647;g=j[a+4>>2]}j[b>>2]=c;return g|0}function Uh(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=j[a+40>>2];if(!e){break a}c=j[b>>2];b:{if(!c){break b}c=j[c+96>>2];d=j[j[c>>2]+32>>2];if(!d){break b}c=qe[d|0](c,116463)|0;if(!c){break b}if(qe[j[c>>2]](b,f+8|0)|0){break b}c=6;if(j[f+12>>2]==14){break a}}c=6;d=j[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(j[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}j[a+92>>2]=b;c=0}oe=f+16|0;return c}function BL(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 i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;i=oe-16|0;oe=i;l=j[b+36>>2];m=(l|0)/2|0;n=Ef(b,p(m,f)<<2);j[i+12>>2]=n;a:{if((f|0)<1){break a}h=0;while(1){b=h<<2;q=j[b+e>>2]!=0;if((l|0)>=2){r=j[b+d>>2];b=h;k=0;while(1){j[(b<<2)+n>>2]=j[(k<<2)+r>>2];b=b+f|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}o=o+q|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!o){break a}sr(a,c,i+12|0,1,g)}oe=i+16|0;return 0}function qq(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,n=0;if(!j[a>>2]){return 65536}n=b&16384;f=65536;b=0;while(1){a:{k=f;h=b<<2;i=j[h+c>>2];b:{if(!i){break b}f=0;g=j[h+j[a+4>>2]>>2];if(!g|((g|0)<0?(i|0)>=1:0)|((g|0)>0?(i|0)<=-1:0)){break a}if(!n){f=g>>31;f=ye(k,f+g^f);break b}l=j[d+h>>2];if((l|0)>(g|0)){break a}h=j[e+h>>2];if((h|0)<(g|0)){break a}if((g|0)<(i|0)){f=Ne(k,g-l|0,i-l|0);break b}f=Ne(k,h-g|0,h-i|0)}b=b+1|0;if(b>>>0>2]){continue}}break}return f}function eF(a){var b=0,c=0,d=0;c=j[a+4>>2];if((c|0)>=0){b=j[a+12>>2];if(b){d=j[a+8>>2]-b|0;j[a+8>>2]=d;if((d|0)>=1){c=j[a>>2];zg(c,c+b|0,d);c=j[a+4>>2]}j[a+12>>2]=0}b=c;c=j[a+8>>2];a:{if((b-c|0)>=2048){b=j[a>>2];break a}c=c+6144|0;b=j[a>>2];b:{if(b){b=Vf(b,c);break b}b=Te(c)}if(!b){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;return 0}j[a+4>>2]=c;j[a>>2]=b;c=j[a+8>>2]}a=c+b|0}else{a=0}return a}function Yt(a){a=a|0;a=Xe(1,1004);if(!a){Be(0);return 0}Yo(105203,105236);j[a+232>>2]=493;j[a+32>>2]=494;j[a+20>>2]=495;j[a+8>>2]=496;j[a+4>>2]=497;j[a+132>>2]=498;j[a+56>>2]=499;j[a+44>>2]=500;j[a+36>>2]=501;j[a+204>>2]=502;j[a+200>>2]=503;j[a+196>>2]=504;j[a+192>>2]=505;j[a+184>>2]=506;j[a+180>>2]=507;j[a+176>>2]=508;j[a+172>>2]=509;j[a+168>>2]=510;j[a+144>>2]=511;j[a+140>>2]=512;j[a+136>>2]=513;j[a+116>>2]=514;j[a+1e3>>2]=515;j[a+188>>2]=516;return a|0}function fK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=j[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}c=c+(d<<1)|0;c=k[c|0]<<8|k[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(k[a+1|0]|k[a|0]<<8)|0;if(b>>>0>=(k[a+3|0]|k[a+2|0]<<8)>>>0){break a}c=k[a+7|0]|k[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=k[b|0]<<8|k[b+1|0];if(!b){break a}e=b+(k[a+5|0]|k[a+4|0]<<8)&65535}return e|0}function cs(a,b,c,d){var e=0,f=0,g=0;if(!a){return}if(!d){return}e=j[a+96>>2];j[d>>2]=0;j[d+4>>2]=0;e=j[j[e+12>>2]+76>>2];if(e){if(!(qe[e|0](a,b,c,d)|0)){f=d,g=ye(j[d>>2],j[j[a+88>>2]+16>>2]),j[f>>2]=g;f=d,g=ye(j[d+4>>2],j[j[a+88>>2]+20>>2]),j[f+4>>2]=g;c=d;b=j[a+88>>2];e=l[b+12>>1];if(e>>>0<=24){f=d,g=Ne(j[d>>2],e,25),j[f>>2]=g;b=j[a+88>>2]}a=l[b+14>>1];b=j[d+4>>2];a:{if(a>>>0>=25){break a}b=Ne(j[d+4>>2],a,25)}j[c+4>>2]=b+32&-64;j[d>>2]=j[d>>2]+32&-64}}}function ru(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=oe-32|0;oe=e;d=Pk(376840196);if(d){f=Kk(a,d);Nk(d)}d=0;a:{if(!f){break a}i[e+28>>1]=105;j[e+24>>2]=1768515945;d=j[a+12>>2];a=j[a+8>>2];j[e+16>>2]=j[f+20>>2];j[e+12>>2]=c;j[e+8>>2]=b;j[e>>2]=a;j[e+4>>2]=d;a=E(102931,e+24|0,e|0)|0;kf(f);d=Xe(1,8);b:{if(d){b=Xe(1,8);if(!b){Be(0);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0;break a}j[b+4>>2]=1;j[b>>2]=a;j[d+4>>2]=b;break b}Be(0)}}oe=e+32|0;return d|0}function Ss(a,b){a=a|0;b=b|0;var c=0;if(j[b+72>>2]==1651078259){c=j[a>>2];j[a+20>>2]=j[b+100>>2];j[a+24>>2]=j[b+104>>2];a=a+28|0;if(h[j[b+156>>2]+4|0]&1){c=j[b+80>>2];j[a>>2]=j[b+76>>2];j[a+4>>2]=c;c=j[b+96>>2];j[a+16>>2]=j[b+92>>2];j[a+20>>2]=c;c=j[b+88>>2];j[a+8>>2]=j[b+84>>2];j[a+12>>2]=c;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return 0}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}a=yk(c,b+76|0,a)}else{a=18}return a|0}function du(a,b,c){a=a|0;b=b|0;c=c|0;a=oe-16|0;oe=a;b=j[b+24>>2];a:{b:{if(b>>>0<=127){h[a+11|0]=b;b=1;break b}if(b>>>0<=2047){h[a+12|0]=b&63|128;h[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){h[a+13|0]=b&63|128;h[a+11|0]=b>>>12|224;h[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}h[a+14|0]=b&63|128;h[a+11|0]=b>>>18|240;h[a+13|0]=b>>>6&63|128;h[a+12|0]=b>>>12&63|128;b=4}h[b+(a+11|0)|0]=0;QB(a+11|0)}b=We(771,-1);oe=a+16|0;return(b|0)==1|0}function kB(a){var b=0;b=-1;a:{if(!(!a|!k[a|0])){if(!Me(a,72076)){return 0}if(Me(a,72078)){break a}b=1}return b}if(!Me(a,72080)){return 2}if(!Me(a,72082)){return 3}if(!Me(a,72084)){return 4}if(!Me(a,72089)){return 5}if(!Me(a,72095)){return 6}if(!Me(a,72101)){return 7}if(!Me(a,72111)){return 8}if(!Me(a,72122)){return 9}if(!Me(a,72135)){return 10}if(!Me(a,72149)){return 11}if(!Me(a,72154)){return 12}if(!Me(a,72161)){return 13}return Me(a,72168)?-1:14}function Lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-32|0;oe=e;a:{if(!a){j[e>>2]=97712;a=ve(97686,e);break a}d=j[j[a+4>>2]+4>>2];if(!(!d|m[d>>2]>c>>>0)){j[e+16>>2]=97720;a=ve(97686,e+16|0);break a}b:{if(!(b&2)){break b}d=j[a+52>>2];g=j[d+68>>2];f=g|4096;j[d+68>>2]=f;if((f|0)==(g|0)){break b}vf(d)}d=j[a+52>>2];f=j[d+68>>2];a=d;c:{if(b){j[d+72>>2]=c;b=f|256;break c}b=f&-257}j[a+68>>2]=b;a=0;if((b|0)==(f|0)){break a}vf(d)}oe=e+32|0;return a|0}function cO(a){var b=0,c=0,d=0,e=0;if(a){e=j[j[a+128>>2]>>2];c=j[a+88>>2];b=c;d=j[a+72>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+72>>2]=0;b=j[a+76>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+92|0]=0;j[a+84>>2]=-1;j[a+64>>2]=0;j[a+68>>2]=0;j[a+76>>2]=0;c=j[a+120>>2];b=c;d=j[a+104>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+104>>2]=0;b=j[a+108>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;j[a+100>>2]=0;j[a+108>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function lK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=j[a+24>>2];j[a+48>>2]=c;b=j[a+28>>2];j[a+52>>2]=b;d=j[a+8>>2]+1|0;e=d+j[a>>2]>>1;j[a+8>>2]=e;f=j[a+16>>2];c=(c+f|0)+1>>1;j[a+40>>2]=c;g=j[a+12>>2]+1|0;h=g+j[a+4>>2]>>1;j[a+12>>2]=h;i=j[a+20>>2];b=(b+i|0)+1>>1;j[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;j[a+16>>2]=e;c=c+d>>1;j[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;j[a+36>>2]=d;b=b+h>>1;j[a+20>>2]=b;j[a+24>>2]=(c+e|0)+1>>1;j[a+28>>2]=(b+d|0)+1>>1}function oL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=j[a+20>>2];if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){d=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}c=j[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(j[f>>2]!=j[c>>2]|j[f+4>>2]!=j[c+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;return}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=d}}function wJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a+28>>2];g=j[a+16>>2];e=j[a+24>>2];j[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=j[a+32>>2];break c}j[a+36>>2]=b;b=xe(b,4,c,f,j[a+32>>2],d+12|0);j[a+32>>2]=b;if(j[d+12>>2]){break b}j[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){j[(c<<2)+b>>2]=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[(e<<2)+b>>2]=0;break a}b=0}oe=d+16|0;return b|0}function gp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function YB(){var a=0,b=0;a:{b:{c:{a=j[66107];d:{e:{f:{if(a){b=j[a>>2];if(!(b&8)){break f}break d}a=Xe(1,32);j[66107]=a;if(!a){break e}b=j[a>>2]}j[a>>2]=b|8;Xi(771,771);a=j[66107]}if(!a){break c}}b=j[a>>2];if(!(b&4)){break b}break a}a=Xe(1,32);j[66107]=a;if(!a){break a}b=j[a>>2]}j[a>>2]=b|4;Xi(770,770)}a=j[66106];g:{h:{if(a){b=j[a>>2];if(!(b&2)){break h}break g}a=Xe(1,32);j[66106]=a;if(!a){break g}b=j[a>>2]}j[a>>2]=b|2;Xi(513,513)}j[57840]=1}function Ek(a,b,c){var d=0,e=0,f=0,g=0;e=oe+ -64|0;oe=e;d=j[a+992>>2];a:{if(!d){f=ve(100722,0);break a}g=j[d+8>>2];d=j[d+84>>2];if(!(c?b:0)){qe[d|0](g,0,0,0)|0;f=0;break a}f=0;if(qe[d|0](g,b,b,c)|0){break a}b=101268;c=e;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=j[(d<<2)+101272>>2]}if(!k[b|0]){j[e+16>>2]=a;Ue(e+32|0,32,100323,e+16|0);b=e+32|0}j[c+8>>2]=b;j[e+4>>2]=100433;j[e>>2]=100745;f=ve(100328,e)}d=f;oe=e- -64|0;return d}function Ut(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=q(0),f=0,g=0,h=0;a:{a=j[b+144>>2];if(!a){break a}b:{if(!(k[b+49|0]&32)){c=n[a+16>>2];d=a+16|0;break b}c=q(+K());n[a+16>>2]=c;d=a+16|0}e=q(c*q(j[b+28>>2]));c:{if(q(r(e))>2];c=q(c*q(j[b+24>>2]));d:{if(q(r(c))>2]|n[d>>2]==q(1)){break a}Q(j[a+12>>2],+j[b+24>>2],+j[b+28>>2])|0}}function IE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(!(!b|!(k[b+9|0]&2))){Ie(a,c);Je(a,211085);break a}if(e&4){j[a+208>>2]=e|8}if((c|0)!=7){Ie(a,c);Je(a,211064);break a}pf(a,d+9|0,7);tf(a,d+9|0,7);if(Ie(a,0)){break a}h[d+6|0]=k[d+15|0];c=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);i[d+2>>1]=c;i[d+4>>1]=c>>>16;c=k[d+9|0]|k[d+10|0]<<8;i[d>>1]=(c<<24|c<<8&16711680)>>>16;PF(a,b,d)}oe=d+16|0;return}hf(a,211072);z()}function xe(a,b,c,d,e,f){var g=0;if((b|c|d)<0){j[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}qe[j[a+8>>2]](a,e);break c}g=10;if((2147483647/(b|0)|0)<(d|0)){break a}if(!c){e=0;g=p(b,d);if((g|0)<=0){g=g?6:0;break b}e=qe[j[a+4>>2]](a,g)|0;if(!e){j[f>>2]=64;return 0}Ee(e,0,g);g=0;break b}a=qe[j[a+12>>2]](a,p(b,c),p(b,d),e)|0;e=a?a:e;g=!a<<6;break b}e=0;g=0}if(g|(c|0)>=(d|0)){break a}g=0;Ee(p(b,c)+e|0,0,p(d-c|0,b))}j[f>>2]=g;return e}function VD(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!j[j[58825]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){h[a+1|0]=b&63|128;h[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){h[a+2|0]=b&63|128;h[a|0]=b>>>12|224;h[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){h[a+3|0]=b&63|128;h[a|0]=b>>>18|240;h[a+2|0]=b>>>6&63|128;h[a+1|0]=b>>>12&63|128;return 4}}j[67100]=25;a=-1}else{a=1}return a}h[a|0]=b;return 1}function xl(a,b){var c=0,d=0,e=0,f=0,g=0;f=-1;a:{if(b>>>0>32){break a}d=j[a+4>>2];e=d+b|0;b:{c=j[a>>2];g=j[a+16>>2];if((c|0)<(g-4|0)){break b}if((g-(e+7>>3)|0)<(c|0)){break a}if(e){break b}return 0}f=j[(b<<2)+63040>>2];b=j[a+12>>2];a=k[b|0]>>>d|0;c=a;c:{if((e|0)<9){break c}a=k[b+1|0]<<8-d|a;c=a;if((e|0)<17){break c}a=k[b+2|0]<<16-d|a;c=a;if((e|0)<25){break c}a=k[b+3|0]<<24-d|a;c=a;if(!d|(e|0)<33){break c}c=k[b+4|0]<<32-d|a}f=c&f}return f}function to(a,b,c){var d=0,e=0;d=oe+ -64|0;oe=d;a:{b:{c:{switch(c|0){case 1:j[d+8>>2]=1539;break b;case 0:break c;default:break a}}j[d+8>>2]=1540}if(k[j[a+56>>2]+b|0]==(c|0)|j[a+52>>2]<=(b|0)){break a}d:{if(k[268304]){break d}e=j[67085];if(e){e=j[e+308>>2]!=0}else{e=0}if(!e|(c|0)!=1){break d}if(!j[66371]){break a}}h[j[a+56>>2]+b|0]=c;if((We(j[d+8>>2],-1)|0)!=1){break a}a=j[a>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function iE(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=k[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=j[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=p(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=j[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=k[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Le(a)+a|0}return a}function SC(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=j[a+12>>2];e=(d+b|0)-1|0;f=(e>>>0)/(d>>>0)|0;c=j[a+8>>2];b=j[a>>2];b:{if(!b){b=c;break b}j[j[a+4>>2]+8>>2]=c}c=0;j[a+16>>2]=0;j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;a=a+8|0;if(!(!b|d>>>0>e>>>0)){while(1){a=b;b=j[a+8>>2];if(b){c=c+1|0;if(f>>>0>c>>>0){continue}}break}a=a+8|0}j[a>>2]=0;if(!b){break a}while(1){a=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=a;if(a){continue}break}}}function Do(a){var b=0,c=0;b=j[66371];if(!(!b|a)){while(1){if(k[c+265490|0]==1){il(0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=j[66371]}a:{if(!b|(a|0)==(b|0)){break a}if(k[b+49|0]&64){fl(0);b=j[66371]}zf(b,13,0,0);if(!We(771,-1)){break a}c=j[67085];if(!c){break a}b=j[c+244>>2];if(!b){break a}qe[b|0](c)}j[66371]=a;b:{if(!a){break b}zf(a,12,0,0);if(!We(771,-1)){break b}b=j[67085];if(!b){break b}a=j[b+240>>2];if(!a){break b}qe[a|0](b)}}function wA(a,b){var c=0,d=0;a:{if(Kj(a,k[b+32|0],k[b+33|0],k[b+34|0],k[b+35|0])){break a}b:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break b}c=Xe(1,28);if(c){break b}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c+4>>2]=0;j[c+8>>2]=0;j[c>>2]=8;h[c+12|0]=k[b+32|0];h[c+13|0]=k[b+33|0];h[c+14|0]=k[b+34|0];h[c+15|0]=k[b+35|0];a=j[b+24>>2];j[c+20>>2]=b;j[c+16>>2]=a;return c}return 0}function _t(a){ua(j[a+12>>2],0,0,0,2)|0;ta(j[a+12>>2],0,0,0,2)|0;sa(1,0,0,0,2)|0;ra(j[a+12>>2],0,0,0,2)|0;qa(j[a+12>>2],0,0,0,2)|0;pa(j[a+12>>2],0,0,0,2)|0;oa(2,0,0,0,2)|0;na(2,0,0,0,2)|0;ma(j[a+12>>2],0,0,0,2)|0;la(j[a+12>>2],0,0,0,2)|0;ka(j[a+12>>2],0,0,0,2)|0;ja(j[a+12>>2],0,0,0,2)|0;ia(1,0,0,0,2)|0;a=dg(104236);a=a?a:2;ha(a|0,0,0,0,2)|0;ga(a|0,0,0,0,2)|0;fa(a|0,0,0,0,2)|0;ea(1,0,0,0,2)|0;da(2,0,0,0,2)|0;ca(0,0,0,2)|0;ba(0,0,1)|0}function vy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;m=j[a+48>>2];n=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];o=(e|0)<1;p=c<<1;while(1){f=f-1|0;a=0;c=0;if(!o){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(n|0)){i[d>>1]=l[(g<<1)+m>>1]}d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+p|0;if(f){continue}break}}}function ty(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;i=j[a+48>>2];l=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<2;while(1){f=f-1|0;a=0;c=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){j[d>>2]=j[(g<<2)+i>>2]}d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+n|0;if(f){continue}break}}}function ym(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];Or(j[a+140>>2]);b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0}}function ZA(){var a=0,b=0;while(1){a=j[67062];if(a){j[67062]=j[a+28>>2];b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}Go(188,0);li(71950,186,0);li(71984,187,0);a=j[67065];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268252,0,12)}a=j[67068];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268264,0,12)}}function Ly(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>=1){g=k[e+34|0];h=k[e+30|0];i=k[e+33|0];l=k[e+29|0];m=k[e+32|0];n=k[e+28|0];o=k[d+35|0];p=k[d+34|0];q=k[d+33|0];r=k[d+32|0];while(1){e=j[b>>2];j[a>>2]=(e&j[d+12>>2])>>>r>>>n<>2])>>>o<<24|(e&j[d+16>>2])>>>q>>>l<>2])>>>p>>>h<>>0<10){break b}if((c-65&255)>>>0<=5){d=c-55|0;break b}d=(c-97&255)>>>0<6?c-87|0:0}i=d<<4;c=k[(f|1)+b|0];d=c-48|0;c:{if((d&255)>>>0<10){break c}if((c-65&255)>>>0<=5){d=c-55|0;break c}d=(c-97&255)>>>0<6?c-87|0:0}h[e|0]=d|i;f=f+2|0;if(g>>>0<=f>>>0){break a}e=e+1|0;if((e-a|0)<16){continue}break}}}function $G(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,i=0,k=0,l=0;f=j[a+492>>2];if(!f){return 6}g=j[f+32>>2];if(g){a=0;while(1){e=j[f+28>>2]+p(a,20)|0;a:{if(j[e>>2]!=(c|0)){break a}h=j[e+4>>2];if((h|0)>(b|0)){j[d>>2]=j[e+8>>2];break a}i=j[e+12>>2];if((i|0)<(b|0)){j[d>>2]=j[e+16>>2];break a}k=d,l=Ne(b-h|0,j[e+16>>2]-j[e+8>>2]|0,i-h|0)+j[e+8>>2]|0,j[k>>2]=l;g=j[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function yy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){l=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];m=j[a+36>>2];b=j[a>>2];a=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;f=0;g=0;if(!n){while(1){if(!(f&7)){g=k[b|0];b=b+1|0}c=g>>>5&4;h[a|0]=k[c+i|0];c=(c|1)+i|0;h[a+1|0]=k[c|0];h[a+2|0]=k[c+1|0];a=a+3|0;g=g<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+m|0;b=b+l|0;if(e){continue}break}}}function ds(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=j[a>>2];if(!b){return}e=j[b+96>>2];if(!e){return}d=j[e+8>>2];f=b+108|0;c=zh(f,a);if(!c){break a}Th(f,c);if(c){qe[j[d+8>>2]](d,c)}b:{if(j[b+88>>2]!=(a|0)){break b}j[b+88>>2]=0;c=j[b+108>>2];if(!c){break b}j[b+88>>2]=j[c+8>>2]}b=j[a+8>>2];if(b){qe[b|0](a)}b=j[j[e+12>>2]+60>>2];if(b){qe[b|0](a)}b=j[a+40>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+40>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function xD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;f=(uP(b),pP(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=s(c);Nf(d,e,0,0,0,c+81|0);h=j[d>>2];i=j[d+4>>2];g=j[d+8>>2];c=j[d+12>>2]^65536|16265-c<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=g;j[a+12>>2]=f&-2147483648|c;oe=d+16|0}function ou(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-32|0;oe=b;a:{if(!a){break a}d=j[a+4>>2];c=j[a>>2];j[b+20>>2]=c;j[b+8>>2]=0;j[b+12>>2]=0;j[b+24>>2]=d;j[b+16>>2]=c;if(!j[a+8>>2]){break a}if((Ce(b+8|0,8)|0)!=1){break a}f=b,g=Ce(b+8|0,8),h[f+2|0]=g;f=b,g=Ce(b+8|0,8),h[f+3|0]=g;f=b,g=Ce(b+8|0,8),h[f+4|0]=g;f=b,g=Ce(b+8|0,8),h[f+5|0]=g;f=b,g=Ce(b+8|0,8),h[f+6|0]=g;f=b,g=Ce(b+8|0,8),h[f+7|0]=g;e=!Cg(b+2|0,3685,6)}oe=b+32|0;return e}function Uu(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0;a:{if(j[a+8>>2]<1){break a}h=(c|0)/(d|0)|0;k=(c+f|0)/(d|0)|0;if((h|0)>=(k|0)){break a}f=0;while(1){g=-1;c=ai(a,e);if((c|0)==-1){break a}g=j[a>>2];if((g|0)>=1){l=j[a+16>>2]+(p(c,g)<<2)|0;c=0;while(1){i=j[(f<<2)+b>>2]+(h<<2)|0;n[i>>2]=n[(c<<2)+l>>2]+n[i>>2];f=f+1|0;i=(f|0)==(d|0);f=i?0:f;h=h+i|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((h|0)<(k|0)){continue}break}g=0}return g}function ZL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=j[a+16>>2];f=j[b>>2];a:while(1){if(!e){j[b>>2]=0;return 0}f=f+1|0;i=j[a+20>>2];c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=j[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}j[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){j[b>>2]=0;return 0}e=0;if(c){e=j[j[a+20>>2]+(c<<4)>>2];d=c+1|0}j[b>>2]=e;return d|0}function zL(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,l=0,m=0,n=0;f=oe-16|0;oe=f;Pf(a,j[a+8>>2]);g=j[a>>2];j[f+12>>2]=g;h=j[a+8>>2];a:{if(h>>>0<=g>>>0){break a}l=a;b:{if(e){i=3;if(k[g|0]!=60){break a}j[f+12>>2]=g+1;m=d,n=mr(f+12|0,h,b,c),j[m>>2]=n;b=j[a+8>>2];a=j[f+12>>2];if(k[a|0]!=62?b>>>0>a>>>0:0){break a}a=a+1|0;break b}m=d,n=mr(f+12|0,h,b,c),j[m>>2]=n;a=j[f+12>>2]}j[l>>2]=a;i=0}oe=f+16|0;return i|0}function aB(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=mh(0,0,1,1619,1619);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=mh(a,b,2,1619,1619);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}mh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function PA(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=mh(0,0,1,1541,1541);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=mh(a,b,2,1541,1541);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}mh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function _p(a,b){var c=0,d=0,e=0;d=oe-16|0;c=d;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);h[c+11|0]=b;h[c+12|0]=b>>>8;h[c+13|0]=b>>>16;h[c+14|0]=b>>>24;a:{if(!a){break a}b=j[a+692>>2];if(!b){break a}c=j[a+696>>2];a=c+p(b,5)|0;while(1){b=d;e=k[b+11|0]|k[b+12|0]<<8|(k[b+13|0]<<16|k[b+14|0]<<24);b=a-5|0;if((e|0)==(k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24))){return k[a-1|0]}a=b;if(b>>>0>c>>>0){continue}break}}return 0}function GO(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}h[c|0]=0;e=16;a:{if(j[a+16>>2]<=(b|0)){break a}if(!(k[a+9|0]&2)){return 6}e=6;b:{c:{f=j[a+128>>2];d=j[f+36>>2];switch(d+2|0){case 0:break a;case 2:break c;default:break b}}d=j[a+96>>2];e=j[j[d>>2]+32>>2];d:{if(!e){d=0;break d}d=qe[e|0](d,116452)|0;f=j[a+128>>2]}j[f+36>>2]=d?d:-2}if(!d){return 6}e=6;d=j[d>>2];if(!d){break a}e=qe[d|0](a,b,c,8)|0}return e}function Yg(a){var b=0,c=0,d=0,e=0;d=j[a+104>>2];b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}b=j[a+68>>2];c=j[a+80>>2];if(c){b=Vf(b,c+j[a+76>>2]|0);j[a+68>>2]=b;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0;if(b){ze(b)}if(d){e=d+12|0;b=0;while(1){c=(b<<2)+e|0;bE(j[c>>2]);if((b|0)!=7){ze(j[c>>2])}b=b+1|0;if((b|0)!=15){continue}break}ze(d)}Ee(a,0,112)}function uy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){h=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];l=j[a+56>>2];m=j[a+36>>2];b=j[a>>2];c=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;a=0;f=0;if(!n){while(1){if(!(f&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){Ge(c,(g<<2)+i|0,3)}c=c+3|0;a=a<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+m|0;b=b+h|0;if(e){continue}break}}}function jI(a){a=a|0;var b=0,c=0,d=0;b=j[a+200>>2];d=b+10|0;if(d>>>0<=m[a+204>>2]){c=k[b|0]|k[b+1|0]<<8;i[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=k[b+2|0]|k[b+3|0]<<8;j[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+4|0]|k[b+5|0]<<8;j[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;j[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=k[b+8|0]|k[b+9|0]<<8;j[a+200>>2]=d;j[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function hH(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[d>>2]=0;j[d+4>>2]=0;e=j[a+492>>2];if(e){h=d;a=j[e+36>>2];e=(a+(j[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=j[b>>2]<<16|j[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;j[d>>2]=j[a+8>>2];a=j[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}j[d>>2]=0;a=0}j[h+4>>2]=a}return 0}function KN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=j[a>>2];d=j[f+140>>2];c=j[b+8>>2];g=j[f+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+44>>2]+j[d+40>>2]|0)){break a}}c=0;Dg(f,0);j[a+24>>2]=j[d+40>>2]<<6;j[a+28>>2]=0-(j[d+44>>2]<<6);j[a+36>>2]=l[d+4>>1]<<6}return c|0}function Hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe+ -64|0;oe=c;d=j[a+992>>2];a:{if(!d){a=ve(100780,0);break a}e=qe[j[d+92>>2]](j[d+8>>2],b)|0;d=j[a+992>>2];if((e|0)==1){j[d+16>>2]=b;a=0;break a}a=101268;b=c;d=qe[j[d+116>>2]]()|0;e=d-12288|0;if(e>>>0<=14){a=j[(e<<2)+101272>>2]}if(!k[a|0]){j[c+16>>2]=d;Ue(c+32|0,32,100323,c+16|0);a=c+32|0}j[b+8>>2]=a;j[c+4>>2]=100463;j[c>>2]=100800;a=ve(100328,c)}oe=c- -64|0;return a|0}function We(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=(a&-2)==4096&b>>>0<2;e=(a>>>6&1020)+264416|0;c=j[e>>2];a:{if(c){d=0;if(j[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}g=d;b:{if((b|0)==(d|0)){break b}c:{switch(b|0){case 0:if(!c){c=Xe(1,32);j[e>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;j[b>>2]=j[b>>2]|1<>>3&28)+c|0;d=j[b>>2];h=b,i=mP(-2,a)&d,j[h>>2]=i}if(f){fv()}return g}function Zj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;g=e;oe=e;a:{if(!j[65572]){ve(63202,0);break a}if(!b){ve(63357,0);break a}e=e-((Le(b)<<1)+16&-16)|0;oe=e;d=e;f=k[b|0];if(f){while(1){b=b+1|0;b:{if(f<<24>>24>=0){h[d|0]=f;d=d+1|0;break b}h[d+1|0]=f&63|128;h[d|0]=(f&192)>>>6|192;d=d+2|0}f=k[b|0];if(f){continue}break}}h[d|0]=0;j[g+12>>2]=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);d=gD(a,e,g+12|0)}oe=g+16|0;return d}function $y(a,b){var c=0,d=0,e=0,f=0;d=Le(b);d=d>>>0<31?d:31;if(d){c=d-1|0;e=k[c+b|0];a:{if((e- -64&255)>>>0<53){break a}if(e<<24>>24>-1){c=d;break a}if(e>>>0>191){c=d;break a}if(!c){c=d;break a}f=2;b:{if((e&224)==192){break b}while(1){if((e&240)==224){f=3;break b}if((e+16&255)>>>0<=4){f=4;break b}c=c-1|0;if(!c){c=d;break a}e=k[b+c|0];if((e&224)!=192){continue}break}}c=(d-c|0)==(f|0)?d:c}Ae(a,b,c)}h[a+c|0]=0}function Xy(a){var b=0,c=0,d=0;a:{b:{c:{b=j[67080];if(!b){break c}d:{if(!j[b>>2]){c=b;break d}while(1){c=j[b+8>>2];if(!c){break c}d=b;b=c;if(j[b>>2]){continue}break}}if(a){j[c+4>>2]=a;break b}j[(d?d+8|0:268320)>>2]=j[c+8>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}break b}b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}if(!b){break a}j[b+4>>2]=a;j[b>>2]=0;j[b+8>>2]=j[67080];j[67080]=b}return 0}return Be(0)}function tG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[b+8>>2];f=j[a>>2];g=j[f+32>>2];e=j[f+132>>2];d=j[b+16>>2];if(d){c=(p(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((d|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=l[e+96>>1]){break a}}c=0;Dg(f,0);b=l[e+80>>1];j[a+24>>2]=b<<6;j[a+28>>2]=b-l[e+96>>1]<<6;j[a+36>>2]=l[e+102>>1]<<6}return c|0}function hM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+8>>2];d=j[a>>2];f=j[d+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+208>>2]+j[d+204>>2]|0)){break a}}c=0;Dg(d,0);j[a+24>>2]=j[d+204>>2]<<6;j[a+28>>2]=0-(j[d+208>>2]<<6);j[a+36>>2]=i[d+236>>1]<<6}return c|0}function JF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-128|0;oe=d;a:{if(b){c=-1;while(1){g=c+207782|0;c=c+1|0;f=k[c+b|0];if((f|0)!=k[g|0]){j[a+212>>2]=j[a+212>>2]|131072}e=((f|0)==46)+e|0;if(f?!((c|0)==6|e>>>0>1):0){continue}break}e=j[a+212>>2];break a}e=j[a+212>>2]|131072;j[a+212>>2]=e}c=1;if(e&131072){Yf(d,128,Yf(d,128,Yf(d,128,Yf(d,128,0,207788),b),207819),207781);Ze(a,d);c=0}oe=d+128|0;return c|0}function lg(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;sP(+a);d=pP(1)|0;pP(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=bj(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Ep(a,b)&3){case 0:c=bj(o[b>>3],o[b+8>>3]);break a;case 1:c=-cj(o[b>>3],o[b+8>>3],1);break a;case 2:c=-bj(o[b>>3],o[b+8>>3]);break a;default:break b}}c=cj(o[b>>3],o[b+8>>3],1)}a=c;oe=b+16|0;return a}function Zu(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(j[a+8>>2]<=0){if((d|0)<1){break a}Ee(b,0,d<<2);break a}if((d|0)<1){break a}while(1){e=-1;g=ai(a,c);if((g|0)==-1){break a}h=j[a>>2];b:{if((h|0)<1|(d|0)<=(f|0)){break b}g=j[a+16>>2]+(p(g,h)<<2)|0;e=0;while(1){n[(f<<2)+b>>2]=n[g+(e<<2)>>2];f=f+1|0;e=e+1|0;if((h|0)<=(e|0)){break b}if((d|0)>(f|0)){continue}break}}if((d|0)>(f|0)){continue}break}return 0}return e}function Hk(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;c=j[67085];a:{if(!c){ve(99429,0);break a}d=j[c+300>>2];if(!((d|0)>(a|0)?(a|0)>=0:0)){j[e>>2]=d-1;ve(98088,e);break a}if(!b){break a}d=j[c+304>>2];f=j[c+16>>2];if(f){if(!(qe[f|0](c,d+p(a,72)|0,b)|0)){break a}}b:{if(!a){j[b>>2]=0;j[b+4>>2]=0;break b}Hk(a-1|0,b);j[b>>2]=j[b>>2]+j[b+8>>2]}a=d+p(a,72)|0;j[b+8>>2]=j[a+40>>2];j[b+12>>2]=j[a+44>>2]}oe=e+16|0}function ju(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(!j[c+32>>2]){g=j[b+44>>2];f=j[b+48>>2];H(j[c+12>>2],d+8|0,d|0)|0;b=j[c+4>>2];e=+j[b+28>>2]/o[d>>3]*+(f|0);a:{if(r(e)<2147483648){f=~~e;break a}f=-2147483648}h=b;e=+j[b+24>>2]/o[d+8>>3]*+(g|0);b:{if(r(e)<2147483648){b=~~e;break b}b=-2147483648}Oj(h,0,0,b,f)}Pj((a|0)==33?j[c+4>>2]:0);a=We(512,-1);oe=d+16|0;return(a|0)==1|0}function jJ(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;a:{b:{c:{if(b){h=142;g=l[a+152>>1];if(!g){break b}f=j[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(j[f>>2]==(b|0)){g=j[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=j[f+8>>2]+c|0;break c}g=j[j[a+104>>2]+4>>2]}if(!e){f=g;break a}f=j[e>>2];if(f){break a}j[e>>2]=g;h=0}return h|0}return Yr(j[a+104>>2],c,d,f)|0}function qj(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!k[b|0]){break a}if(xg(b,32)){break a}c=Mf(b);if(c){if(rf(c)&1){break a}}d=Le(b);a=j[a+992>>2];c=qe[j[a+96>>2]](j[a+8>>2],12373)|0;if(!c|!k[c|0]){break a}a=c;b:while(1){a=ih(a,b);if(!a){break a}if(!((k[a+d|0]|32)!=32|(k[a-1|0]!=32?(a|0)!=(c|0):0))){f=1;break a}a=a+d|0;while(1){e=k[a|0];if(!e){break a}if((e|0)==32){continue b}a=a+1|0;continue}}}return f}function sz(a,b){a=a|0;b=b|0;var c=0;a=oe-32|0;oe=a;a:{if(!ci(j[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=ve(86466,0);break a}c=ug(0,j[b+12>>2],j[b+16>>2],j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2]);j[b+76>>2]=c;bi(c,k[b+32|0],k[b+33|0],k[b+34|0]);Oi(j[b+76>>2],k[b+35|0]);cg(j[b+76>>2],j[b+24>>2]);if(!(j[a+12>>2]|j[b+8>>2])){zj(j[b+76>>2],1)}b=j[b+76>>2]?0:-1}oe=a+32|0;return b|0}function Rt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=oe-32|0;oe=a;c=j[b+144>>2];a:{if(!c){break a}if(d){e=j[b+48>>2];f=e&4097;d=(f|0)==4097;j[a+8>>2]=d?1:2;b:{if(!d){j[a+12>>2]=0;break b}if(e&8192){j[a+12>>2]=2;break b}j[a+12>>2]=1}j[a+24>>2]=c;j[a+20>>2]=517;j[a+16>>2]=0;j[c+28>>2]=d;j[c+24>>2]=f;if(Xa(j[c+12>>2],1,a+8|0)>>>0<2){break a}j[b+48>>2]=j[b+48>>2]&-4098;break a}Wa()|0}oe=a+32|0}function sf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function zy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<1;while(1){f=f-1|0;c=0;a=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}i[d>>1]=l[((a&128)>>>6|0)+h>>1];d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+n|0;if(f){continue}break}}}function xy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];i=(e|0)<1;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!i){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}j[d>>2]=j[((a&128)>>>5|0)+h>>2];d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+l|0;if(f){continue}break}}}function hE(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=k[b|0];h[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=j[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){j[a>>2]=c;c=j[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=k[b|0];h[a|0]=c;if(!c){break a}while(1){c=k[b+1|0];h[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Mg(a){var b=0,c=0;b=oe-16|0;oe=b;sP(+a);c=pP(1)|0;pP(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=cj(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Ep(a,b)&3){case 0:a=cj(o[b>>3],o[b+8>>3],1);break a;case 1:a=bj(o[b>>3],o[b+8>>3]);break a;case 2:a=-cj(o[b>>3],o[b+8>>3],1);break a;default:break b}}a=-bj(o[b>>3],o[b+8>>3])}oe=b+16|0;return a}function Zz(a,b,c,d,e,f,g,h,i,k,l){var m=0,n=0,o=0,q=0;a:{b:{if(!l|(!e|!f)){break b}o=e;q=f;e=p(e,l);if((e|0)!=(k|0)){l=p(e,f);l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}m=l;if(!l){break a}if((f|0)>0){while(1){Ge(l,i,e);i=i+k|0;l=e+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}i=m}qe[j[a+160>>2]](b,0,c,d,o,q,g,h,i);if(!m){break b}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}return}Be(0)}function ql(a,b,c){var d=0,e=0,f=0;f=j[c+16>>2];a:{if(f){d=f}else{if(bp(c)){break a}d=j[c+16>>2]}f=j[c+20>>2];if(d-f>>>0>>0){return qe[j[c+36>>2]](c,a,b)|0}b:{if(h[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(k[d+a|0]!=10){continue}break}d=qe[j[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=j[c+20>>2]}Ae(f,a,b);j[c+20>>2]=j[c+20>>2]+b;d=b+e|0}return d}function TB(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66369];if((d|0)<1){break a}f=j[66370];while(1){e=f+p(c,8232)|0;if(j[e>>2]==(a|0)&j[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return}if((c|0)!=(d|0)){a=p(c,8232);b=j[(a+j[66370]|0)+8224>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Oe(a+j[66370]|0,0,8232);b=j[66369]-1|0;j[66369]=b;c=a;a=j[66370];Ge(c+a|0,a+p(b,8232)|0,8232)}}function Lp(a){var b=0,c=0,d=0;c=-2;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=0;j[b+48>>2]=0;j[b+40>>2]=0;j[b+44>>2]=0;j[b+28>>2]=0;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;d=j[b+8>>2];if(d){j[a+48>>2]=d&1}j[b+56>>2]=0;j[b+60>>2]=0;j[b+32>>2]=0;j[b+20>>2]=32768;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+108>>2]=a;j[b+80>>2]=a;j[b+76>>2]=a}return c}function eJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=$e(b,198608,d);if(c){break a}j[a+460>>2]=0;j[a+452>>2]=0;j[a+456>>2]=0;j[a+444>>2]=0;j[a+448>>2]=0;i[a+464>>1]=65535;if(!l[a+364>>1]){return 0}c=$e(b,198784,d);if(c){break a}if(l[d>>1]<2){return 0}c=$e(b,198800,d);if(c){break a}c=0;if(l[d>>1]<5){break a}c=$e(b,198832,d)}return c|0}function Tk(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[57977];a:{if((b&j[57978])!=-1){break a}if(!k[268328]){h[268328]=1}b=4;j[57977]=4;j[57978]=0;j[d+12>>2]=0;if(!j[d+12>>2]){break a}b=16;j[57977]=16;j[57978]=2}e=a+b|0;a=(a>>>0)%(b>>>0)|0;a=(e+(a?b-a|0:0)|0)+4|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}if(a){c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;j[c-4>>2]=a}oe=d+16|0;return c}function $z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=q(0),g=0,h=q(0),i=q(0);a=lh(a,d<<5,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){g=(b<<4)+c|0;h=n[g+8>>2];i=n[g+12>>2];e=n[g+4>>2];f=n[g>>2];n[a+16>>2]=f;n[a+12>>2]=e;n[a+4>>2]=e;n[a>>2]=f;e=q(e+i);n[a+28>>2]=e;f=q(f+h);n[a+24>>2]=f;n[a+20>>2]=e;n[a+8>>2]=f;a=a+32|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Fs(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}e=16;f=b+1|0;d=j[a+16>>2];a:{if(f>>>0>d>>>0|f>>>0<1|b>>>0>=d>>>0){break a}e=0;d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){break a}e=d;if((d&255)!=7){break a}}d=0;while(1){e=Wh(a,b+d|0,2307);if(e){break a}j[(d<<2)+c>>2]=j[j[a+84>>2]- -64>>2]<<10;e=0;d=d+1|0;if((d|0)!=1){continue}break}}return e}function EL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+8>>2]=c;j[a+4>>2]=b;j[a+12>>2]=0;j[a+16>>2]=d;j[a>>2]=b;b=j[33351];j[a+20>>2]=j[33350];j[a+24>>2]=b;b=j[33353];j[a+28>>2]=j[33352];j[a+32>>2]=b;b=j[33355];j[a+36>>2]=j[33354];j[a+40>>2]=b;b=j[33357];j[a+44>>2]=j[33356];j[a+48>>2]=b;b=j[33359];j[a+52>>2]=j[33358];j[a+56>>2]=b;b=j[33361];j[a+60>>2]=j[33360];j[a+64>>2]=b;j[a+68>>2]=j[33362]}function lE(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{c=c-1|0;if(!c){break b}e=k[b|0];if(!e){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=k[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=k[a|0];break a}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=k[b|0];return c-(a-65>>>0<26?a|32:a)|0}function Wo(a,b){var c=0,d=0,e=0,f=0;c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){Be(0);return 0}Oe(c,0,20);a=a?a:1024;j[c+12>>2]=a;d=b-1|0;e=d+a|0;b=(e>>>0)/(a>>>0)|0;if(d>>>0<=e>>>0){d=b>>>0>1?b:1;b=a+12|0;while(1){a=qe[j[57972]](b?b:1)|0;if(a){j[57976]=j[57976]+1}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=j[c+8>>2];j[c+8>>2]=a}f=f+1|0;if((d|0)!=(f|0)){continue}break}}return c}function Op(a,b){var c=0;c=j[a+772>>2];if(c){Ke(a,c);j[a+772>>2]=0}a:{b:{c=j[a+760>>2];if(!(b>>>0>c>>>0?c+1>>>0>=2:0)){j[a+776>>2]=b;h[a+768|0]=0;c=j[a+376>>2];h[a+767|0]=c;h[a+780|0]=j[a+208>>2];h[a+766|0]=c>>>8;h[a+765|0]=c>>>16;h[a+764|0]=c>>>24;if(!b){j[a+772>>2]=0;break a}c=fg(a,b);j[a+772>>2]=c;if(c){break b}}Ie(a,b);Je(a,212510);return 0}pf(a,c,b);tf(a,c,b)}Ie(a,0);return 1}function IL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;d=j[a>>2];a:{if(!d){break a}f=j[a+32>>2];b=He(f,j[a+4>>2],e+12|0);j[a>>2]=b;if(j[e+12>>2]){break a}Ae(b,d,j[a+4>>2]);b=j[a+16>>2];if((b|0)>=1){g=j[a>>2]-d|0;c=j[a+24>>2];h=c+(b<<2)|0;while(1){b=j[c>>2];if(b){j[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}j[a+8>>2]=j[a+4>>2];if(d){qe[j[f+8>>2]](f,d)}}oe=e+16|0}function El(a,b){var c=0,d=0;d=oe+ -64|0;oe=d;c=j[a+220>>2];if(c){j[d>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);Yf(d,64,4,212437);yi(a,d);j[a+220>>2]=0}j[a+224>>2]=0;j[a+228>>2]=0;j[a+236>>2]=0;j[a+240>>2]=0;c=a+224|0;a:{b:{c:{if(!(k[a+212|0]&2)){c=vE(c);if(c){break b}j[a+212>>2]=j[a+212>>2]|2;break c}c=Lp(c);if(c){break b}}j[a+220>>2]=b;c=0;break a}th(a,c)}oe=d- -64|0;return c}function OO(a,b,c,d){var e=0,f=0,g=0;e=oe-128|0;oe=e;a:{if(!b){f=85;break a}f=Fe(b,0);if(f){break a}f=uf(b,e,128);if(f){break a}f=2;if(k[e+82|0]|(k[e|0]|k[e+74|0])){break a}g=k[e+1|0];if(k[e+63|0]|(g-1&255)>>>0>32|k[(e+g|0)+2|0]){break a}f=a;a=k[e+83|0]|k[e+84|0]<<8|(k[e+85|0]<<16|k[e+86|0]<<24);f=Hm(f,b,(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+255&-128,c,d)}oe=e+128|0;return f}function qL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=j[a+12>>2];a:{if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){f=j[d+8>>2];e=i[d+2>>1];a=j[d+4>>2]+(e<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[f+e|0]=1}i[d+2>>1]=l[d+2>>1]+1;d=0}return d|0}function Xi(a,b){var c=0,d=0,e=0,f=0;a:{if(!j[57840]){break a}e=j[57843];if(e){while(1){c=e;e=j[c+72>>2];d=j[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=j[c+68>>2];if(f){j[f+72>>2]=e;d=j[c+72>>2]}if(d){j[d+68>>2]=f}if(j[57843]==(c|0)){j[57843]=d}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}if(e){continue}break}}if(!j[57839]){break a}}}function ku(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=l[b+32>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(j[c+32>>2]|!j[67035])){va(j[c+12>>2],0)|0}g=1}hl(j[c+4>>2],0,g,e+1&255);H(j[c+12>>2],d+8|0,d|0)|0;a=j[b+44>>2];if((a|0)<0|o[d+8>>3]<=+(a|0)){break a}a=j[b+48>>2];if((a|0)<0|o[d>>3]<=+(a|0)){break a}h=(We(f,-1)|0)==1}oe=d+16|0;return h|0}function wo(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{b:{if((a|0)>=0){if((qe[j[58771]]()|0)>(a|0)){break b}}e=b,f=qe[j[58771]]()|0,j[e>>2]=f;ve(72846,b);break a}d=VA(a);JA(b+32|0,a);a=j[b+44>>2];c=j[b+40>>2];j[b+56>>2]=c;j[b+60>>2]=a;j[b+24>>2]=c;j[b+28>>2]=a;a=j[b+36>>2];c=j[b+32>>2];j[b+48>>2]=c;j[b+52>>2]=a;j[b+16>>2]=c;j[b+20>>2]=a;c=$A(d,b+16|0)}oe=b- -64|0;return c}function dl(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;f=j[67055];a:{b:{if((f|0)<1){break b}g=j[67056];while(1){e=j[(d<<2)+g>>2];if((a|0)!=j[e>>2]|j[e+4>>2]!=(b|0)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}if((d|0)<(f|0)){break a}}c:{if(j[j[67085]+12>>2]){j[c+16>>2]=a;ve(71661,c+16|0);qe[j[j[67085]+12>>2]](j[67085]);break c}j[c>>2]=a;ve(71692,c)}e=0}oe=c+32|0;return e}function YF(a,b,c,d,e,f,g,i,l){if(!(!a|!b)){h[b+28|0]=g;h[b+27|0]=l;h[b+26|0]=i;h[b+25|0]=f;h[b+24|0]=e;j[b+4>>2]=d;j[b>>2]=c;Xp(a,c,d,e&255,f&255,g&255,i&255,l&255);d=b;e=k[b+25|0];a=1;a:{b:{if((e|0)==3){break b}a=e&2|1;h[b+29|0]=a;if(!(e&4)){break a}a=a+1|0}h[d+29|0]=a}a=p(k[b+24|0],a);h[b+30|0]=a;a=a&255;c:{if(a>>>0>=8){a=p(a>>>3|0,c);break c}a=p(a,c)+7>>>3|0}j[b+12>>2]=a}}function Ug(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=i[a+2>>1];a:{if(!c){c=0;break a}a=j[a+4>>2];d=j[a+4>>2];e=j[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=j[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=j[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}j[b+8>>2]=f;j[b>>2]=e;j[b+12>>2]=c;j[b+4>>2]=d}}function MA(a,b){var c=0,d=0,e=0;c=oe-48|0;oe=c;if(k[242924]){j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=16;j[c+44>>2]=16;d=j[58884]+j[a>>2]|0;j[c+16>>2]=d+2;e=j[58885];a=j[a+4>>2];j[c+24>>2]=10;j[c+28>>2]=9;a=a+e|0;j[c+20>>2]=a+2;j[c+4>>2]=a;j[c>>2]=d;j[c+8>>2]=16;j[c+12>>2]=16;po(j[58882]);oo(j[58882],c);Ui(j[58882],j[(((b|0)<0?b+300|0:b)<<2)+260928>>2],c+32|0,c+16|0)}oe=c+48|0}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[b+4>>2];j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];e=j[b+24>>2];c=(e&-2)==2;f=c|2;c=(e|0)==2?f:(e|0)==4?f:c;f=(e|0)==1;c=f?c:c|4;d=(h[g+12|0]&1?0:!f)?d:d|1;b=k[j[j[b+36>>2]+212>>2]+20|0];j[a+2984>>2]=(e|0)==2?c|8:c;j[a+2980>>2]=b?d:d|8;return 0}function OC(){var a=0,b=0;a=oe+ -64|0;oe=a;b=Vj(64840,1,264272,264264);a:{if((b|0)==-1){break a}if((We(4352,-1)|0)!=1){break a}Oe(a+8|0,0,56);h[a+20|0]=0;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}b:{if(!j[66059]){break b}b=Vj(64867,2,264276,264268);if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(a+8|0,0,56);h[a+20|0]=1;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}oe=a- -64|0}function fO(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){e=33;break a}if(!b){e=6;break a}f=j[a>>2];c=He(f,132,d+12|0);e=j[d+12>>2];if(!e){j[c+88>>2]=f;j[c+128>>2]=a;j[c+64>>2]=0;j[c+68>>2]=0;j[c+120>>2]=f;h[c+92|0]=0;j[c+84>>2]=-1;j[c+96>>2]=0;j[c+100>>2]=0;h[c+124|0]=0;j[c+116>>2]=-1;j[c+72>>2]=0;j[c+76>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0}j[b>>2]=c}oe=d+16|0;return e}function hA(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;f=j[b+76>>2];e=j[a+436>>2];h=Vg();g=j[e>>2];a:{if((h|0)!=(g|0)){j[e+424>>2]=0;if((tg(j[a+188>>2],g)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[e+20>>2]](j[f+4>>2],j[f>>2]);j[e+360>>2]=b;if(c){j[c>>2]=1065353216}if(d){j[d>>2]=1065353216}return 0}function Vo(a,b,c){var d=0,e=0,f=0,g=0;if(!a){return 0}f=b;a:{b:{if(c){while(1){d=j[a>>2];if(!d){break b}g=j[d+4>>2];e=j[d>>2]-g|0;e=c>>>0>>0?c:e;Ge(f,(d+g|0)+12|0,e);j[d+4>>2]=e+j[d+4>>2];j[a+16>>2]=j[a+16>>2]-e;c=c-e|0;if(j[d+4>>2]==j[d>>2]){j[a>>2]=j[d+8>>2];j[d+8>>2]=j[a+8>>2];j[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(j[a>>2]){break a}}j[a+4>>2]=0}return f-b|0}function yv(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;a:{if((a|0)<=0){j[d>>2]=97085;ve(97052,d);break a}b=qe[j[57972]](16)|0;if(b){j[57976]=j[57976]+1}if(!b){b=0;Be(0);break a}e=a<<2;c=e;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}j[b+4>>2]=c;if(!c){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=0;break a}j[b+8>>2]=1;j[b+12>>2]=1;j[b>>2]=a;Oe(c,255,e)}oe=d+16|0;return b}function EH(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;d=i[a+294>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+296>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function DH(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;d=i[a+290>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+292>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function yu(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;a=oe-32|0;oe=a;f=j[b+144>>2];kf(j[f+8>>2]);ci(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);Wg(b,a+28|0,a+24|0);b=ug(0,j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2],j[a+8>>2],j[a+4>>2]);a:{if(!b){g=-1;break a}j[f+8>>2]=b;j[c>>2]=374740996;j[d>>2]=j[b+20>>2];j[e>>2]=j[b+16>>2]}oe=a+32|0;return g|0}function XB(a){if(a){Zg();a:{if(j[65546]!=(a|0)){break a}if(j[a+12>>2]==1){while(1){Hg();bg(100);Zg();if(j[a+12>>2]==1){continue}break}}if(j[65546]!=(a|0)){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}Hg();qe[j[j[a>>2]+68>>2]](j[a+4>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function VE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=4){Ie(a,c);Je(a,211064);break a}pf(a,d+12|0,4);tf(a,d+12|0,4);if(Ie(a,0)){break a}c=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);FF(a,a+824|0,(c|0)>-1?c:-1);sh(a,b)}oe=d+16|0;return}hf(a,211072);z()}function Mk(a,b){var c=0,d=0;if(!a){return ve(97093,0)}if(!(!b|j[b>>2]<=1<>2];a:{if((c|0)==(b|0)){break a}b:{if(!c){break b}d=j[c+12>>2];j[c+12>>2]=d-1;if((d|0)>1){break b}d=j[c+4>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}j[a+4>>2]=b;if(!b){break a}j[b+12>>2]=j[b+12>>2]+1}return 0}function bN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+656>>2];e=Bh(j[a+96>>2],120288);a:{if(!e|!j[c+12>>2]){break a}while(1){a=l[j[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[c+1312>>2]){break b}a=j[j[c+1316>>2]+(a<<2)>>2];break c}a=qe[j[e+20>>2]](a)|0}if(!a){break b}if(!we(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;e=j[a+4>>2];a=k[c|0];d=a+k[b|0]|0;h[b|0]=d;if((e|0)>=2){o=b+e|0;b=b+1|0;while(1){i=d&255;d=i-a|0;f=d>>31;e=k[c+1|0];g=e-a|0;l=g>>31;m=d+g|0;n=m>>31;p=a;a=f^d+f;d=l^g+l;f=(a|0)<(d|0);d=k[b|0]+((n^n+m)<((f?a:d)|0)?p:f?e:i)|0;h[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(o>>>0>b>>>0){continue}break}}}function bG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{if(!a){break c}d=j[a+160>>2];if(!d){j[a+164>>2]=0;if(c>>>0<=156){j[a+160>>2]=a;j[a+156>>2]=b;return a|0}d=fg(a,c);j[a+160>>2]=d;if(!d){break c}j[a+164>>2]=c;break a}e=j[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break b}}if((c|0)==(e|0)){break a}Ze(a,206784)}return 0}Ye(a,206753);z()}j[a+156>>2]=b;return d|0}function fm(a,b){var c=0,d=0;c=oe-32|0;oe=c;d=-129;a=j[a+28>>2];a:{if(!a|j[a+8>>2]<1){break a}d=j[b+4>>2];b=j[b>>2];j[c+20>>2]=b;j[c+8>>2]=0;j[c+12>>2]=0;j[c+24>>2]=d;j[c+16>>2]=b;d=-135;if(Ce(c+8|0,1)){break a}d=-136;b=j[a+8>>2]-1|0;b=Ce(c+8|0,b?32-s(b)|0:0);if((b|0)==-1){break a}b=j[(a+(b<<2)|0)+32>>2];if(!b){break a}d=j[a+(j[b>>2]<<2)>>2]}oe=c+32|0;return d}function Qj(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=q(0),p=0,r=q(0);e=+c;c=q(0);while(1){h=f<<3;d=h+a|0;g=n[d>>2];i=lg(e);j=n[d+4>>2];k=Mg(e);l=n[d>>2];m=Mg(e);o=n[d+4>>2];p=lg(e);r=c;d=b+h|0;c=q(q(i*+g-k*+j)-n[d>>2]);g=q(c*c);c=q(q(m*+l+p*+o)-n[d+4>>2]);c=q(r+q(y(+q(g+q(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return q(c*q(.015625))}function nO(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;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+6|0,b+12|0);g=j[b+12>>2];if(!g){f=Ae(f,c,a);a=f+a|0;c=k[116593]|k[116594]<<8;h[a+4|0]=c;h[a+5|0]=c>>>8;c=k[116589]|k[116590]<<8|(k[116591]<<16|k[116592]<<24);h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;j[d>>2]=f;j[e>>2]=0}oe=b+16|0;return g|0}function dk(a,b,c,d){var e=0,f=0,g=0,i=0;e=k[d+74|0];h[d+74|0]=e-1|e;g=p(b,c);e=j[d+4>>2];f=j[d+8>>2]-e|0;i=g;a:{if((f|0)<1){break a}i=e;e=f>>>0>>0?f:g;Ae(a,i,e);j[d+4>>2]=e+j[d+4>>2];a=a+e|0;i=g-e|0}e=i;if(e){while(1){b:{if(!wp(d)){f=qe[j[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function eL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=j[b>>2];while(1){d=d+1|0;if(d>>>0>255){j[b>>2]=0;return 0}f=qe[j[a+20>>2]](l[j[a+16>>2]+(d<<1)>>1])|0;g=j[a+24>>2];a:{if(g){h=j[a+28>>2];c=0;while(1){e=j[(c<<2)+h>>2];if(!(!e|k[e|0]!=k[f|0])){if(!we(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}j[b>>2]=d;return c|0}function hi(a,b){var c=0;c=oe-16|0;oe=c;a:{b:{if(!(!k[a|0]|(!a|!b))){if(k[b|0]){break b}}a=0;ve(71733,0);break a}b=qi(a,b);if(!b){j[c>>2]=a;ve(71780,c);a=0;break a}a=qe[j[57972]](36)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);break a}j[a+28>>2]=b;j[a+16>>2]=181;j[a+12>>2]=182;j[a+8>>2]=183;j[a+4>>2]=184;j[a>>2]=185;j[a+20>>2]=2;j[a+24>>2]=1}oe=c+16|0;return a}function Pf(a,b){var c=0,d=0;c=j[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{d=k[c|0];switch(d|0){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=k[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}j[a>>2]=c}function Gl(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<1|(!e|((c|0)>=1?!b:0)))){a:{if((2147483647-c|0)<(d|0)){break a}f=c+d|0;hP(e,0,f,0);if(pe){break a}f=p(e,f);if(!f){break a}b:{c:{if(!a){break c}h=j[a+720>>2];if(!h){break c}a=qe[h|0](a,f)|0;break b}a=Te(f)}if(!a){break a}if((c|0)>=1){g=p(c,e);Ae(a,b,g)}Ee(a+g|0,0,p(d,e));g=a}return g}Ye(a,210100);z()}function qf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function YA(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=j[67069];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[c+8>>2]=1618;a=sg();d=((j[b+28>>2]-a|0)+250|0)<1;a=j[b>>2];if(!(d|j[a+72>>2])){j[a+68>>2]=1;break a}j[a+68>>2]=0;if((We(1618,-1)|0)!=1){break a}a=j[j[b>>2]>>2];i[c+20>>1]=5;j[c+16>>2]=a;gf(c+8|0);break a}b=j[b+32>>2];if(b){continue}break}}oe=c- -64|0}function gF(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var l=0;if(!(!a|!b)){if(c){j[c>>2]=j[b>>2]}if(d){j[d>>2]=j[b+4>>2]}if(e){j[e>>2]=k[b+24|0]}if(f){j[f>>2]=k[b+25|0]}if(h){j[h>>2]=k[b+26|0]}if(i){j[i>>2]=k[b+27|0]}c=k[b+28|0];if(g){j[g>>2]=c}Xp(a,j[b>>2],j[b+4>>2],k[b+24|0],k[b+25|0],c,k[b+26|0],k[b+27|0]);l=1}return l|0}function WM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!we(b,120305)){j[c>>2]=j[a+36>>2];j[c+4>>2]=j[a+40>>2];j[c+8>>2]=j[a+44>>2];j[c+12>>2]=j[a+48>>2];j[c+16>>2]=j[a+52>>2];j[c+20>>2]=j[a+56>>2];j[c+24>>2]=j[a+60>>2];j[c+28>>2]=j[a- -64>>2];break b}if(!we(b,120326)){j[c>>2]=j[a+28>>2];break b}d=12;if(we(b,120341)){break a}h[c|0]=k[a+32|0]}d=0}return d|0}function SE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=1){Ie(a,c);Je(a,211064);break a}pf(a,d+15|0,1);tf(a,d+15|0,1);if(Ie(a,0)){break a}c=l[a+898>>1];if(c&32768){break a}if(c&4){i[a+898>>1]=c|32768;sh(a,b);Je(a,211192);break a}Zp(a,a+824|0,k[d+15|0]);sh(a,b)}oe=d+16|0;return}hf(a,211072);z()}function vl(a,b,c,d){var e=0,f=0;e=oe-160|0;oe=e;Ae(e+8|0,226824,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}j[e+52>>2]=a;j[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;j[e+56>>2]=b;a=a+b|0;j[e+36>>2]=a;j[e+24>>2]=a;a=up(e+8|0,c,d,1068,1069);if(!b){break a}b=j[e+28>>2];h[b-((b|0)==j[e+24>>2])|0]=0;break a}j[67100]=61;a=-1}oe=e+160|0;return a}function mM(a){a=a|0;var b=0,c=0,d=0,e=0;b=j[a+12>>2];if(b){e=j[a+28>>2];j[b+104>>2]=0;j[b+48>>2]=0;j[b+36>>2]=0;j[b+40>>2]=0;h[b+44|0]=0;j[b+64>>2]=9;j[b+12>>2]=0;j[b+16>>2]=0;d=j[b+180>>2];c=j[b+100>>2];if((c|0)!=(b+112|0)){if(c){qe[j[d+8>>2]](d,c)}j[b+100>>2]=0}c=j[b+88>>2];if(c){qe[j[d+8>>2]](d,c)}b=Ee(b,0,184);if(b){qe[j[e+8>>2]](e,b)}j[a+12>>2]=0}}function UK(a){a=a|0;var b=0;b=j[a+8>>2];Ee(a+16|0,0,84);j[a+136>>2]=765;j[a+132>>2]=766;j[a+128>>2]=767;j[a+124>>2]=768;j[a+120>>2]=769;j[a+116>>2]=770;j[a+108>>2]=771;j[a+104>>2]=772;j[a+100>>2]=773;j[a+12>>2]=b;j[a+164>>2]=765;j[a+160>>2]=774;j[a+156>>2]=775;j[a+152>>2]=776;j[a+148>>2]=769;j[a+144>>2]=777;b=a+12|0;j[a+112>>2]=b;j[a+140>>2]=b;return 0}function Zf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function Bh(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=j[j[a>>2]+32>>2];if(c){c=qe[c|0](a,b)|0;if(c){break a}}c=j[a+4>>2];d=j[c+16>>2];if((d|0)<1){break b}f=(c+(d<<2)|0)+20|0;d=c+20|0;while(1){c=j[d>>2];c:{if((c|0)==(a|0)){break c}e=j[j[c>>2]+32>>2];if(!e){break c}c=qe[e|0](c,b)|0;if(c){break a}}d=d+4|0;if(f>>>0>d>>>0){continue}break}}c=0}return c}function WJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=j[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=j[a+16>>2];c=k[a+6|0]<<8|k[a+7|0];d=d>>>0>>0?c:d;c=d-c|0;e=k[a+9|0]|k[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=k[a+1|0]|k[a|0]<<8;if(f){j[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[b>>2]=0;return 0}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=Ik(b,99334);a:{if(!(j[a+4>>2]?a:0)){b=ve(99406,0);break a}if(tv(j[b+24>>2],j[b+28>>2],d,c,e)){b=-1;c=j[a+12>>2];if((gi(j[a+4>>2],e,(j[a+8>>2]+p(c,j[e+4>>2])|0)+p(j[a+16>>2],j[e>>2])|0,c)|0)<0){break a}if((Ui(j[a>>2],j[a+4>>2],0,0)|0)<0){break a}no(j[a>>2])}b=0}oe=e+16|0;return b|0}function pO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116568);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}tk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function kO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116620);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}tk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function jO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116622);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}tk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function bM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=j[a+20>>2];g=j[a+16>>2];a:{b:{if(g){h=j[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(h|0)){c=e;a=h;break b}d=h>>>0>>0;c=d?c:e+1|0;a=d?e:a;if(c>>>0>>0){continue}break}}a=0;if(c>>>0>=g>>>0){break a}a=j[(c<<3)+f>>2]}i=a;a=l[((c<<3)+f|0)+4>>1]+1|0}j[b>>2]=i;return a|0}function tF(a,b){var c=0;a:{c=j[a+24>>2];if(j[a+28>>2]>=(c-b|0)){if((c|0)>(2147483647-b|0)){break a}b=b+c|0;b=(b|0)<2147483615?b+32|0:b;c=Vf(j[a+16>>2],b<<2);if(!c){break a}j[a+16>>2]=c;c=Vf(j[a+20>>2],b<<3);if(!c){break a}j[a+24>>2]=b;j[a+20>>2]=c}return 0}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return-1}function ip(a){var b=0,c=0,d=0,e=0;if(a){while(1){b=p(d,84)+a|0;e=b;if(l[b+136>>1]){j[b+56>>2]=0;j[b+60>>2]=0;c=j[b+76>>2];if(c){ze(c);j[b+76>>2]=0}c=j[b+100>>2];if(c){ze(c);j[b+100>>2]=0}i[e+136>>1]=0}d=d+1|0;if((d|0)!=257){continue}break}b=j[a>>2];if(b){es(b)}b=j[a+21668>>2];if(b){ze(b)}if(j[a+21648>>2]){b=j[a+21644>>2];qe[j[b+16>>2]](b)|0}ze(a)}}function vh(a){var b=0,c=0,d=0,e=0;bh(a);a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=b-1|0;d=j[a+8>>2];b:{c:{while(1){if(b>>>0>=d>>>0){break b}e=b;b=b+1|0;j[a>>2]=b;d:{switch(k[e|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}j[a+12>>2]=2;return c}j[a+12>>2]=1;return c}j[a+12>>2]=3}return c}function Vs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;if(!(!a|!b)){e=j[a>>2];g=j[b>>2];c=c<<16;i=Ne(e,g,c);f=j[a+4>>2];h=j[b+8>>2];k=Ne(f,h,c);d=e;e=j[b+4>>2];l=Ne(d,e,c);d=f;f=j[b+12>>2];m=Ne(d,f,c);d=j[a+8>>2];g=Ne(d,g,c);a=j[a+12>>2];n=b,o=g+Ne(a,h,c)|0,j[n+8>>2]=o;j[b+4>>2]=l+m;j[b>>2]=i+k;n=b,o=Ne(d,e,c)+Ne(a,f,c)|0,j[n+12>>2]=o}}function Ik(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}if(!(k[b|0]?b:0)){j[d>>2]=98626;ve(98171,d);break a}a=j[a+140>>2];if(!a){break a}while(1){b:{c=j[a>>2];if(!c){break b}if(cf(c,b)){break b}e=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=d+16|0;return e}function BN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+20>>2];h=j[a+16>>2];a:{b:{if(h){d=j[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=j[(f<<3)+g>>2];if((e|0)==(d|0)){c=f;break b}e=d>>>0>>0;c=e?c:f+1|0;a=e?f:a;if(c>>>0>>0){continue}break}}d=0;if(c>>>0>=h>>>0){break a}d=j[(c<<3)+g>>2]}i=l[((c<<3)+g|0)+4>>1]+1&65535}j[b>>2]=d;return i|0}function $C(){var a=0,b=0,c=0;while(1){b=j[66036];if(b){j[66036]=j[b+16>>2];a=j[b>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+12>>2];if(a){while(1){c=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}}function tl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;g=oe-240|0;oe=g;j[g>>2]=a;h=1;a:{if((d|0)<2){break a}l=0-b|0;f=a;while(1){f=f+l|0;k=d-2|0;i=f-j[(k<<2)+e>>2]|0;if((qe[c|0](a,i)|0)>=0){if((qe[c|0](a,f)|0)>-1){break a}}a=(qe[c|0](i,f)|0)>-1;f=a?i:f;j[(h<<2)+g>>2]=f;h=h+1|0;d=a?d-1|0:k;if((d|0)<2){break a}a=j[g>>2];continue}}jp(b,g,h);oe=g+240|0}function EG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=Fm(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function DG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=KO(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function WB(a,b){var c=0,d=0,e=0,f=0;a:{c=j[57843];if(c){while(1){f=j[c+72>>2];if(!(qe[a|0](b,c)|0)){d=j[c+68>>2];if(d){j[d+72>>2]=j[c+72>>2]}e=j[c+72>>2];if(e){j[e+68>>2]=d}if(j[57843]==(c|0)){j[57843]=e}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}c=f;if(c){continue}break}}if(!j[57839]){break a}}}function ng(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0;a:{if(!c|!d){break a}b=j[b+1284>>2];g=Ef(a,b<<2);if((b|0)<1){break a}m=65536-e|0;a=0;while(1){f=a<<2;h=f+g|0;i=c+f|0;f=d+f|0;l=(p(j[i>>2]&32767,m)+p(j[f>>2]&32767,e)|0)+32768>>16;j[h>>2]=l;if(!(!(k[i+1|0]&128)|!(k[f+1|0]&128))){j[h>>2]=l|32768}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return g}function Kg(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}qP(0,0);qP(1,b+1023<<20);return a*+rP()}function xj(a,b){if(!a){return}a:{if(b){b:{c:{d:{e:{a=j[j[a+52>>2]+68>>2]&112;switch(a-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break b;case 16:break d;case 0:break e;default:break c}}j[b>>2]=1;return}j[b>>2]=2;return}if((a|0)==64){break a}}j[b>>2]=0}return}j[b>>2]=4}function lv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((a|0)==(b|0)){return 0}a:{c=j[b+4>>2];d=j[a+4>>2];if((c|0)!=(d|0)){break a}c=j[b+8>>2];d=j[a+8>>2];if((c|0)!=(d|0)){break a}d=j[a>>2];c=d>>>8&255;e=j[b>>2];f=e>>>8&255;if((c|0)!=(f|0)){return f-c|0}c=e>>>16&15;d=d>>>16&15;if((c|0)!=(d|0)){break a}return j[b+12>>2]-j[a+12>>2]|0}return c-d|0}function RF(a,b,c,d){var e=0;a:{b:{if(!(!a|!b)){if(d>>>0>=257){if(k[b+25|0]==3){break b}Ze(a,207321);return}if((d?!c:0)|(h[a+708|0]&1?0:!d)){break a}fj(a,b,4096,0);e=fk(a,768);j[a+416>>2]=e;if(d){Ae(e,c,p(d,3))}j[b+16>>2]=e;i[a+420>>1]=d;i[b+20>>1]=d;j[b+232>>2]=j[b+232>>2]|4096;j[b+8>>2]=j[b+8>>2]|8}return}Ye(a,207321);z()}Ye(a,207344);z()}function No(){var a=0,b=0;a=oe-160|0;oe=a;a:{if(j[57817]){break a}j[a+16>>2]=j[57814];Ue(a+32|0,128,2433,a+16|0);if(yg(a+32|0,0)){break a}b=j[57819];if(b){if(qe[b|0]()|0){break a}}j[57817]=1}b:{if(j[57796]){break b}j[a>>2]=j[57793];Ue(a+32|0,128,2433,a);if(yg(a+32|0,0)){break b}b=j[57798];if(b){if(qe[b|0]()|0){break b}}j[57796]=1}oe=a+160|0}function oE(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=k[a+3|0];f=!c;e=c|(k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8);a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=k[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function gO(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+2>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+13|0,3)|0)!=3){break d}c=j[a+8>>2];b=d+13|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+3}oe=d+16|0;return f}function uN(a){a=a|0;var b=0,c=0,d=0;a:{c=j[a+40>>2];if(!c){break a}b=j[a>>2];d=j[b+656>>2];a=j[d+2952>>2];b=Kf(j[j[b+96>>2]+4>>2],120928);if(!a|!b){break a}a=j[a>>2];if(!a){break a}b=qe[a|0](b)|0;if(!b){break a}qe[j[b+8>>2]](j[c>>2]);a=j[d+1896>>2];if(!a){break a}while(1){a=a-1|0;qe[j[b+8>>2]](j[((a<<2)+c|0)+4>>2]);if(a){continue}break}}}function di(a,b){var c=0,d=0,e=0;if(nw(a,b)){wg(a);return 1}c=j[a+4>>2];a:{if(!c){break a}b=j[a+104>>2];if(!b){break a}c=j[c+28>>2];if(!c){break a}d=j[c+4>>2];c=j[c+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;d=d>>c+1;j[a+48>>2]=d;j[a+20>>2]=d>>c;j[b+128>>2]=-1;j[b+132>>2]=-1}return 0}function yp(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=j[a+8>>2]-j[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0;if(!j[a+20>>2]){break a}}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;qe[j[a+40>>2]](a,b,c,d)|0;if((pe|0)<0){break a}j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=j[a>>2]&-17;return 0}return-1}function qO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+4>>2];d=j[a>>2];g=v(Bg(+q(c|0),+q(q(1)/q(d|0))));a:{if(r(g)<2147483648){b=~~g;break a}b=-2147483648}while(1){a=1;e=1;if((d|0)>=1){h=b+1|0;f=0;while(1){e=p(e,h);a=p(a,b);f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=(a|0)>(c|0);if(!((e|0)>(c|0)?!a:0)){b=(a?-1:1)+b|0;continue}break}return b}function zK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=j[a+20>>2];a=(c+(j[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=j[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return j[f+4>>2]}function So(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;oe=g}a:{if((c|0)<1){break a}i=(d|0)!=128;while(1){h=qe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}kl(b,g,l[131082],h,d);b=b+h|0}c=c-h|0;if((c|0)<1){break a}if(!j[f+12>>2]){continue}break}}oe=f+16|0;return c}function Gi(a,b){var c=0,d=0,e=0,f=0;d=-131;c=-1;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}e=j[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<=-1){d=0;c=0;if((e|0)<1){break a}b=0;while(1){f=Gi(a,b)+d|0;c=c+pe|0;c=d>>>0>f>>>0?c+1|0:c;d=f;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=j[a+68>>2]+(b<<4|8)|0;d=j[a>>2];c=j[a+4>>2]}pe=c;return d}function Ag(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=e;e=0;i=e;f=c;c=0;e=hP(h,e,f,c);k=pe;g=b;l=hP(d,0,b,0);b=pe;d=hP(d,m,f,c);c=b+d|0;b=pe;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=k;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=hP(g,n,h,i)+c|0;d=pe;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;j[a+8>>2]=d;j[a+12>>2]=d>>>0>>0?e+1|0:e;j[a>>2]=l;j[a+4>>2]=b}function xu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;b=j[j[b+144>>2]+8>>2];a:{if(!b){b=ve(101407,0);break a}h[a+12|0]=105;h[a+13|0]=105;h[a+14|0]=105;h[a+15|0]=0;c=j[b+12>>2];d=j[b+8>>2];j[a+8>>2]=j[b+20>>2];j[a>>2]=d;j[a+4>>2]=c;E(101452,a+12|0,a|0)|0;b=0;if(!(S()|0)){break a}if(!yg(102907,1)){break a}R(0)}oe=a+16|0;return b|0}function sg(){var a=0,b=0;a=oe-16|0;oe=a;a:{b:{c:{if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;break c}O(268392,0)|0}if(!k[268388]){break b}}P(4,a+8|0)|0;b=p(j[a+8>>2]-j[67095]|0,1e3)+((j[a+12>>2]-j[67096]|0)/1e6|0)|0;break a}O(a+8|0,0)|0;b=p(j[a+8>>2]-j[67098]|0,1e3)+((j[a+12>>2]-j[67099]|0)/1e3|0)|0}oe=a+16|0;return b}function Fu(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;e=j[a+992>>2];if(!(qe[j[e+88>>2]](j[e+8>>2],b)|0)){d=101268;b=c;a=qe[j[j[a+992>>2]+116>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=j[(e<<2)+101272>>2]}if(!k[d|0]){j[c+16>>2]=a;Ue(c+32|0,32,100323,c+16|0);d=c+32|0}j[b+8>>2]=d;j[c+4>>2]=100448;j[c>>2]=100836;d=ve(100328,c)}oe=c- -64|0;return d}function li(a,b,c){var d=0,e=0;a:{d=j[66036];if(!d){break a}while(1){if(!cf(a,j[d>>2])){a=j[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(j[a>>2]!=(b|0)|j[a+4>>2]!=(c|0))){j[(d?d+8|0:e)>>2]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return}d=a;a=j[a+8>>2];if(a){continue}break}break a}d=j[d+16>>2];if(d){continue}break}}}function kE(a,b){var c=0,d=0,e=0;c=k[a|0];a:{if(!c){break a}while(1){d=k[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=k[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=k[a|0];break a}b=b+1|0;c=k[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=k[b|0];return e-(a-65>>>0<26?a|32:a)|0}function KI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;e=j[a+16>>2];d=b;b=l[a+8>>1]>>>1|0;d=xe(d,1,0,b+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=k[e+1|0];c=f|k[e|0]<<8;if(!c){break a}h[a+d|0]=c-32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}h[a+d|0]=0;a=d}return a|0}function jp(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=oe-256|0;oe=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;j[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ae(d,j[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ae(j[g>>2],j[(d<<2)+b>>2],f);j[g>>2]=j[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=j[h>>2];continue}}oe=e+256|0}function et(){var a=0,b=0,c=0;b=oe-1440|0;oe=b;j[67090]=0;a:{if((aa()|0)==-1){a=ve(111728,0);break a}c=Ua()|0;if((c|0)>=1){while(1){if(!($(a|0,b+8|0)|0)){dn(26,b+8|0,0)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(_(0,0,537,2)|0){Bk();a=ve(111751,0);break a}if(!(Z(0,0,538,2)|0)){break a}Bk();a=ve(111790,0)}oe=b+1440|0;return a|0}function _l(a){var b=0,c=0;c=j[a>>2];if(c){b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+16>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+16>>2]=0;b=j[a+12>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a>>2]=0;j[a+4>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0}}function Go(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66361];if((d|0)<1){break a}e=j[66360];while(1){f=p(c,12)+e|0;if(!(j[f>>2]!=(a|0)|j[f+4>>2]!=(b|0))){if(k[265460]){j[(p(c,12)+e|0)+8>>2]=1;h[265464]=1;return}a=d-1|0;j[66361]=a;if((a|0)<=(c|0)){break a}b=p(c,12)+e|0;Ri(b,b+12|0,p(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function _O(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=j[j[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=j[f+16>>2];if(c){b=j[j[(j[j[b+114864>>2]+4>>2]<<2)+114736>>2]+16>>2];if(b){qe[b|0](c);c=j[f+16>>2]}if(c){qe[j[d+8>>2]](d,c)}j[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function SO(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=xe(j[a>>2],8,0,j[a+4>>2]<<1,0,c+12|0);j[a+40>>2]=d;e=j[c+12>>2];if(!e){h[a+16|0]=1;f=(j[a+4>>2]<<3)+d|0;j[a+44>>2]=f;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+80>>2]=b+f;j[a+76>>2]=b+d}oe=c+16|0;return e}function Nm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];c=j[b+24>>2];j[a+2980>>2]=(k[j[j[b+36>>2]+212>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|0)==1?b:b|4;j[d+2984>>2]=a?b|8:b;return 0}function wM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+100>>2];j[c+12>>2]=0;d=qe[j[b+36>>2]](b)|0;a:{if((d|0)<0|j[a+304>>2]){break a}b=0;e=xe(e,252,0,d,0,c+12|0);j[a+304>>2]=e;if(j[c+12>>2]){break a}j[a+300>>2]=d;if((d|0)<1){break a}while(1){j[(e+p(b,252)|0)+4>>2]=4;b=b+1|0;if((d|0)!=(b|0)){continue}break}}oe=c+16|0}function rf(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=h[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=h[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=h[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(p(d,10)-h[b|0]|0)+48|0;a=h[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function nv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;b=j[67085];e=mf(j[b+304>>2],p(j[b+300>>2],72)+72|0);a:{if(e){d=j[67085];b=j[d+300>>2];j[d+300>>2]=b+1;f=Ae(p(b,72)+e|0,a,72);j[f+64>>2]=d;j[d+304>>2]=e;a=j[a>>2];if(a){g=f,h=Uf(a),j[g>>2]=h;break a}_y(b,c);g=f,h=Uf(c),j[g>>2]=h;break a}Be(0);b=-1}oe=c+32|0;return b}function OJ(a,b){a=a|0;b=b|0;var c=0;c=b;a=j[a+16>>2];b=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);c=c-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);if(c>>>0<(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=k[a+20|0]<<8|k[a+21|0]}else{a=0}return a|0}function Xr(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function Le(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!k[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(k[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=j[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=k[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function bh(a){var b=0,c=0,d=0;a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=j[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;j[a>>2]=d;c:{switch(k[b|0]-9|0){case 1:case 4:j[a+12>>2]=2;return;case 50:j[a+12>>2]=1;return;case 17:break b;case 0:case 23:break c;default:break a}}b=d;if(c>>>0>b>>>0){continue}break}}j[a+12>>2]=3}}function pK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{e=j[a+4>>2];if((e|0)<=(d-c|0)){break a}f=0-e|0;c=f&(c+e|0)-1;if((c|0)!=(d&f)){break a}c=c>>j[a>>2];if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function ov(a){var b=0,c=0;b=oe-80|0;oe=b;Oe(b+8|0,0,72);if(a){j[b+40>>2]=j[a+16>>2];c=j[a+12>>2];j[b+32>>2]=j[a+8>>2];j[b+36>>2]=c;c=j[a+4>>2];j[b+24>>2]=j[a>>2];j[b+28>>2]=c}j[b+60>>2]=j[b+40>>2];a=j[b+36>>2];j[b+52>>2]=j[b+32>>2];j[b+56>>2]=a;a=j[b+28>>2];j[b+44>>2]=j[b+24>>2];j[b+48>>2]=a;a=nv(b+8|0);oe=b+80|0;return a}function nq(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;d=Fe(a,0);a:{if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Fe(a,0);if(d){break a}}d=_e(a,c);if(d){break a}b=Cg(j[a+32>>2],b,c);Ve(a);d=((b|0)!=0)<<1}oe=e+16|0;return d}function dO(a){var b=0;b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function uz(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;a=j[b+76>>2];if(k[a|0]&2){Eg(a)}if(j[c+12>>2]>=1){b=k[j[a+4>>2]+9|0];g=p(b,j[c+8>>2]);b=(j[a+20>>2]+p(j[a+16>>2],j[c+4>>2])|0)+p(b,j[c>>2])|0;while(1){Ge(b,d,g);d=d+e|0;b=j[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(k[a|0]&2){jg(a)}return 0}function ns(a,b){var c=0,d=0;d=-131;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}c=j[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<=-1){d=0;if((c|0)<1){break a}b=0;while(1){d=d+ns(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=j[a+68>>2]+(b<<4|8)|0;d=(+m[c>>2]+ +j[c+4>>2]*4294967296)/+j[(j[a+72>>2]+(b<<5)|0)+8>>2]}return d}function nn(a){var b=0,c=0,d=0,e=0;c=j[67085];b=j[c+312>>2];d=j[a+48>>2];a:{if(!(!(j[67035]|d&256)|!(d&512))){b:{if(!b|(a|0)==(b|0)){break b}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break b}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;e=1;break a}if((a|0)!=(b|0)){break a}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,e)}}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}if(!c){return ve(111832,0)|0}if(j[c+16>>2]){return ve(111847,0)|0}b=j[c+12>>2];j[a+84>>2]=c;j[a>>2]=b;j[c+16>>2]=a;j[a+44>>2]=0;j[a+36>>2]=0;j[a+52>>2]=j[c+20>>2];j[a+28>>2]=j[c+24>>2];return 0}function VJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+3|0]|k[a+2|0]<<8;e=m[b+160>>2]>=d+a>>>0;a=k[a+9|0]|k[a+8|0]<<8;if(!((a<<1)+10>>>0<=d>>>0?e:0)){Pe(b,8)}if(!(!j[b+164>>2]|!a)){while(1){if(m[b+172>>2]<=(k[c+1|0]|k[c|0]<<8)>>>0){Pe(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function eM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=j[a+280>>2];a:{if((e|0)<1){break a}f=j[a+284>>2];a=0;while(1){b:{h=a;g=we(j[p(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=p(h,12)+f|0;c:{if(k[a+4|0]){j[c>>2]=1;break c}j[c>>2]=2}j[c+4>>2]=j[a+8>>2];d=0}return d|0}function dv(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=j[67085];a:{if(!a){a=ve(99429,0);break a}b:{if(!j[a+432>>2]){b=j[a+168>>2];if(!b){j[c>>2]=j[a>>2];a=ve(98744,c);break a}a=qe[b|0](a,0)|0;if(a){break b}}a=0;b=j[67085];j[b+432>>2]=j[b+432>>2]+1;break a}b=j[67085];d=j[b+176>>2];if(!d){break a}qe[d|0](b)}oe=c+16|0;return a}function Sy(a){var b=0,c=0,d=0,e=0;Uj(j[65564]);c=262284;a:{if((a|0)!=-2){if(!(j[65565]>(a|0)?(a|0)>=0:0)){ve(3324,0);break a}c=(j[65566]+p(a,60)|0)+56|0}b=j[c>>2];if(b){while(1){e=j[b+12>>2];d=j[b+4>>2];if(d){qe[d|0](a,j[b+8>>2])}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=e;if(b){continue}break}}j[c>>2]=0}Tj(j[65564])}function IM(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}c=qe[b|0](c)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],j[b+304>>2]+p(j[b+4>>2],252)|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function lB(a){var b=0,c=0;c=-1;a:{b:{if(!a){break b}c:{d:{b=k[a|0];switch(b-43|0){case 0:case 2:break d;default:break c}}b=k[a+1|0];a=a+1|0}if(!b){break b}if(!Me(a,72025)){return 0}if(Me(a,72031)){break a}c=1}return c}if(!Me(a,72037)){return 2}if(!Me(a,72044)){return 3}if(!Me(a,72051)){return 4}return Me(a,72063)?-1:5}function kv(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[67085];a:{if(!b){ve(99429,0);e=-1;break a}c=j[b+300>>2];if((c|0)<=0){e=-1;j[d>>2]=c-1;ve(98088,d);break a}if(!a){break a}b=j[b+304>>2];c=j[b+20>>2];j[a>>2]=j[b+16>>2];j[a+4>>2]=c;j[a+16>>2]=j[b+32>>2];c=j[b+28>>2];j[a+8>>2]=j[b+24>>2];j[a+12>>2]=c}oe=d+16|0;return e}function _G(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[a+528>>2];if(!c){return 6}e=j[c+4>>2];j[b>>2]=e;j[b+4>>2]=j[c>>2];if(e){a=0;while(1){d=p(a,12);f=d+b|0;j[f+8>>2]=j[((a<<2)+c|0)+8>>2];d=c+d|0;g=j[d+92>>2];j[f+12>>2]=j[g>>2];j[f+16>>2]=j[((k[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Nl(a,b){var c=0,d=0;c=Fe(b,j[a>>2]);a:{if(c){break a}c=$e(b,205808,a+4|0);if(c){break a}c=2;d=l[a+4>>1];if((d|256)!=768|m[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){j[a+140>>2]=0;j[a+132>>2]=0;j[a+136>>2]=0}if(h[a+72|0]&1){break a}c=Fe(b,j[a>>2]);if(c){break a}c=_f(b,j[a+8>>2],a+160|0)}return c}function pL(a){a=a|0;var b=0,c=0,d=0;b=j[a+20>>2];if(!b){return 3}a:{b:{if(!k[a+68|0]){i[b>>1]=l[b>>1]+1;break b}a=j[a+12>>2];if((i[a+20>>1]+i[a+56>>1]|0)+1>>>0>m[a+8>>2]){a=yf(a,0,1);if(a){break a}}d=b;c=l[b>>1];a=c<<16>>16;if((a|0)>=1){i[(j[b+12>>2]+(c<<1)|0)-2>>1]=l[b+2>>1]-1;a=l[b>>1]}i[d>>1]=a+1}a=0}return a|0}function OA(a,b){var c=0,d=0;c=oe+ -64|0;oe=c;a:{if(!k[j[a+40>>2]+b|0]|j[a+36>>2]<=(b|0)){break a}b:{if(k[268304]){break b}d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(!d){break b}}h[j[a+40>>2]+b|0]=0;if((We(1538,-1)|0)!=1){break a}j[c+8>>2]=1538;a=j[a>>2];h[c+21|0]=0;h[c+20|0]=b;j[c+16>>2]=a;gf(c+8|0)}oe=c- -64|0}function CL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-16|0;oe=b;Pf(a,j[a+8>>2]);e=j[a+8>>2];d=j[a>>2];j[b+12>>2]=d;f=Rg(b+12|0,e,10);c=j[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(k[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;j[b+12>>2]=d;f=Rg(b+12|0,e,f);c=j[b+12>>2];if((d|0)==(c|0)){break a}}j[a>>2]=c;g=f}oe=b+16|0;return g|0}function Bk(){var a=0,b=0,c=0;a=j[67093];if(a){while(1){c=j[a+1320>>2];b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[67093]=0;j[67092]=0;j[67090]=0;j[67091]=0;_(0,0,0,2)|0;Z(0,0,0,2)|0}function _m(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=(e|0)<(f|0);g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=(g|0)<(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=(b|0)<(a|0);a=(p(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((p(i?e:f,3)>>>3|0)+(i?f:e)+((p(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function ZF(a,b,c){var d=0,e=0,f=0;if(!(!a|!b)){if((l[b+20>>1]-1&65535)>>>0>=256){Ze(a,206894);return}fj(a,b,8,0);d=fg(a,512);j[b+204>>2]=d;if(!d){Ze(a,206940);return}j[b+232>>2]=j[b+232>>2]|8;e=l[b+20>>1];if(e){a=0;while(1){f=a<<1;i[f+d>>1]=l[c+f>>1];a=a+1|0;if(e>>>0>a>>>0){continue}break}}j[b+8>>2]=j[b+8>>2]|64}}function Vt(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b+144>>2];if(c){_t(c);d=j[c>>2];if(d){a:{if(!d){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+80>>2]](j[a+8>>2],d)|0}j[c>>2]=0}J(j[c+12>>2],0,0)|0;a=j[c+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+144>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[b+144>>2]=0}}function bJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+356>>2];if(b){d=j[j[a+96>>2]+8>>2];e=d;c=j[a+348>>2];if(c){while(1){f=j[b+16>>2];if(f){qe[j[d+8>>2]](d,f)}i[b+8>>1]=0;j[b+16>>2]=0;b=b+20|0;c=c-1|0;if(c){continue}break}b=j[a+356>>2]}if(b){qe[j[e+8>>2]](e,b)}j[a+356>>2]=0}i[a+344>>1]=0;j[a+348>>2]=0;j[a+352>>2]=0}function _k(a,b,c){var d=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return-1}d=j[a+316>>2];a:{if(d){if(j[d>>2]!=268306){ve(73666,0);return-1}if(b){j[b>>2]=j[d+12>>2]}a=0;if(!c){break a}j[c>>2]=j[d+16>>2];return 0}d=j[a+8>>2];if(d){return qe[d|0](a,b,c)|0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}a=ve(73438,0)}return a}function oA(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;g=j[c>>2];f=j[c+4>>2];a=j[b+76>>2];c=j[a+20>>2];f=j[a+16>>2]+p(c,f)|0;a=j[b+4>>2];a:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break a}b=(a|0)==1431918169?2:1;break a}b=a&255}j[d>>2]=f+p(b,g);j[e>>2]=c;return 0}function Yq(a){a=a|0;var b=0;a:{if(!(a&1)){break a}if(!(h[262136]&1)){ve(2185,0);break a}b=1}if(a&2){if(!(k[262136]&2)){j[65535]=j[65535]+1}b=b|2}b:{if(!(a&4)){break b}if(!(k[262136]&4)){ve(2373,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(k[262136]&8)){ve(2403,0);break c}b=b|8}a=j[65534]|b;j[65534]=a;return a|0}function Ij(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){j[d>>2]=86607;ve(86581,d);break a}c=Un();b:{if(c){e=j[c>>2];if(e>>>0>=a>>>0){break b}}c=mf(c,(a<<3)+36|0);if(!c){Be(0);break a}f=a+4|0;j[c>>2]=f;if(e>>>0>>0){Ee((e<<3|4)+c|0,0,f-e<<3)}if(Xy(c)){break a}}a=(a<<3)+c|0;j[a>>2]=0;j[a-4>>2]=b}oe=d+16|0}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+11|0]+7>>>3|0;e=j[a+4>>2]-d|0;if(d){a=0;while(1){h[b|0]=k[b|0]+(k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(e){a=0;d=0-d|0;while(1){h[b|0]=k[b|0]+(k[b+d|0]+k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ji(a,b);a:{if(d){break a}c=j[a+24>>2];if((c|0)<1){break a}a=j[a+28>>2];f=a+p(c,40)|0;c=j[b+4>>2];b=j[b+8>>2];while(1){j[c>>2]=j[a+16>>2];j[c+4>>2]=j[a+20>>2];e=l[a>>1];h[b|0]=e&1?0:e&2?2:1;b=b+1|0;c=c+8|0;a=a+40|0;if(f>>>0>a>>>0){continue}break}}return d|0}function yO(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}b=i[a+2>>1];c=i[a>>1];if(!((b|c)&65535)){return 0}if((b|0)<1|(c|0)<1){break b}f=j[a+12>>2];d=-1;a=0;while(1){e=i[(a<<1)+f>>1];if((e|0)>=(b|0)|(d|0)>=(e|0)){break b}d=e;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a}return 6}return(b-1|0)==(d|0)?0:6}function rh(a,b,c){var d=0,e=0;e=b-1|0;a:{if(k[a+436|0]==8){b:{if(e>>>0>253){break b}d=v(Bg(+(b|0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=v(Bg(+(b|0)/65535,+(c|0)*1e-5)*65535+.5);if(d<4294967296&d>=0){b=~~d>>>0;break a}b=0}return b&65535}function LI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+16>>2];a=l[a+8>>1];b=xe(b,1,0,a+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=k[e|0];if(!c){break a}h[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}h[b+d|0]=0}return b|0}function EF(a,b){var c=0,d=0;a:{c=l[b+114>>1];if(c&32768){c=j[b+8>>2]&-6150;j[b+8>>2]=c;if(!a){break a}d=j[b+232>>2];if(d&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=c}j[b+232>>2]=d&-17;return}a=c<<1&4|(j[b+8>>2]&-2053|c<<4&2048);if(c&1){j[b+8>>2]=a|1;return}j[b+8>>2]=a&-2}}function zu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=0;a:{a=j[b+144>>2];if(!a){break a}if(c){e=q(n[a+16>>2]*q(j[b+24>>2]));b:{if(q(r(e))>2]=f}if(!d){break a}e=q(n[a+16>>2]*q(j[b+28>>2]));c:{if(q(r(e))>2]=a}}function aN(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+4>>2];if((c|0)>=1){while(1){d=j[j[a+20>>2]+(b<<2)>>2];if(d){ze(d);c=j[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}ze(j[a+20>>2]);if(j[a+24>>2]>=1){b=0;while(1){ze(j[j[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(j[a+28>>2]);ze(a)}}function Zx(){var a=0,b=0,c=0,d=0,e=0;a=oe-16|0;oe=a;a:{if(!az()){No();b:{if(j[57816]==5){b=1;if(j[57818]){break b}}b=j[57795]==5&j[57797]!=0}c:{if(b){c=16;break c}ve(3236,0)}if(!(c&16)){break a}Lo(25);d=242880,e=jC(),j[d>>2]=e;if(IB()){break a}RB(j[60720]);break a}d=a,e=Jg(),j[d>>2]=e;ji(1259,a)}oe=a+16|0}function Qk(a){var b=0,c=0,d=0,e=0;a:{b=j[a+4>>2];if(!b){break a}d=j[a+104>>2];if(!d){break a}b=j[b+28>>2];if(!b){break a}c=j[b+4>>2];b=j[b+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;c=c>>b+1;j[a+48>>2]=c;j[a+20>>2]=c>>b;j[d+128>>2]=-1;j[d+132>>2]=-1}}function cN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=j[a+656>>2];e=j[a+2956>>2];if(!e){return 11}b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}b:{if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}a=j[j[a+1316>>2]+(b<<2)>>2];break b}a=qe[j[e+20>>2]](b)|0}if(!a){break a}Am(c,a,d)}return 0}function Qr(a,b,c,d,e){if((b|1|c)<0){j[e>>2]=6;return d}a:{if(!c){if(!d){break a}qe[j[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){j[e>>2]=c?6:0;return 0}a=qe[j[a+4>>2]](a,c)|0;if(!a){j[e>>2]=64;return 0}a=Ee(a,0,c);j[e>>2]=0;return a}a=qe[j[a+12>>2]](a,b,c,d)|0;j[e>>2]=!a<<6;return a?a:d}j[e>>2]=0;return 0}function $f(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=s(e);Nf(d,e,0,0,0,c+81|0);e=0+j[d+8>>2]|0;c=(j[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=j[d+4>>2];b=j[d>>2]}j[h>>2]=b;j[g+4>>2]=c;j[a+8>>2]=e;j[a+12>>2]=f;oe=d+16|0}function Tp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(k[b+8|0]&16)|(!a|!b)){break a}b:{if(k[b+25|0]==3){if(c){j[c>>2]=j[b+156>>2];f=16}else{f=0}if(!e){break b}j[e>>2]=b+160;break b}if(e){j[e>>2]=b+160;f=16}else{f=0}if(!c){break b}j[c>>2]=0}if(!d){break a}j[d>>2]=l[b+22>>1];f=16}return f|0}function fl(a){var b=0,c=0;if(!j[67021]){Be(4);return}b=j[66371];if(b){c=j[b+48>>2]>>>14&1}else{c=0}a:{if((c|0)==(a|0)){break a}b:{if(a){if(!b){ve(71566,0);return}if((qe[j[67021]](b)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]|16384;break b}if((qe[j[67021]](0)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]&-16385}}}function bD(a){a=a|0;var b=0,c=0,d=0,e=0;c=oe-16|0;oe=c;if(a){d=qe[j[a+4>>2]](a,0,0,1)|0;e=pe;b=0;a:{if((qe[j[a+8>>2]](a,c+12|0,1,4)|0)!=4){break a}b=0;if(k[c+12|0]!=137){break a}b=0;if(k[c+13|0]!=80){break a}b=0;if(k[c+14|0]!=78){break a}b=k[c+15|0]==71}qe[j[a+4>>2]](a,d,e,0)|0}oe=c+16|0;return b|0}function Ah(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=i[a+2>>1];if((c|0)<1){break a}a=j[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=ye(j[a>>2],j[b>>2]);e=ye(j[a+4>>2],j[b+4>>2]);f=ye(j[a>>2],j[b+8>>2]);g=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=d+e;j[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function lH(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[a>>2];c=j[b+548>>2];b=Kf(j[j[b+96>>2]+4>>2],201664);a:{if(!c|!b){break a}c=j[c>>2];if(!c){break a}c=qe[c|0](b)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function iz(){var a=0,b=0;if(j[65551]>=1){while(1){b=j[j[65552]+(a<<2)>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=a+1|0;if((a|0)>2];b=j[a+436>>2];e=Vg();c=j[b>>2];a:{if((e|0)!=(c|0)){j[b+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[b+20>>2]](j[d+4>>2],0);j[b+360>>2]=0;return 0}function hg(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;h[c+15|0]=0;j[b>>2]=0;d=j[a+8>>2];a:{b:{e=j[a+20>>2];c:{if(e){if((qe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=j[a+8>>2];b=c+15|0;break c}if(m[a+4>>2]<=d>>>0){break b}b=j[a>>2]+d|0}b=k[b|0];j[a+8>>2]=d+1;break a}j[b>>2]=85;b=0}oe=c+16|0;return b<<24>>24}function os(a,b){var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=j[a>>2];j[c+12>>2]=0;f=j[a+12>>2];b=j[a+84>>2]+(j[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=xe(d,32,f,b,j[a+52>>2],c+12|0);j[a+52>>2]=d;e=j[c+12>>2];if(e){break a}j[a+12>>2]=b;j[a+88>>2]=d+(j[a+48>>2]<<5);e=0}oe=c+16|0;return e}function fH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=j[c+284>>2];if((e|0)<1){break a}f=j[c+288>>2];while(1){c=j[(d<<2)+f>>2];b:{if(!c|k[c|0]!=k[a|0]){break b}if((Le(c)|0)!=(b|0)){break b}if(!Qe(c,a,b)){break a}}d=d+1|0;if((e|0)>(d|0)){continue}break}d=0}return d|0}function bg(a){var b=0,c=0;b=oe-16|0;oe=b;a:{b:{if(!(S()|0)){break b}if(!yg(111871,1)){break b}R(a|0);break a}c=(a>>>0)/1e3|0;j[b+8>>2]=c;j[b+12>>2]=p(a-p(c,1e3)|0,1e6);while(1){j[67100]=0;a=j[b+12>>2];j[b>>2]=j[b+8>>2];j[b+4>>2]=a;if(!AD(b)){break a}if(j[67100]==27){continue}break}}oe=b+16|0}function RA(a){var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=-1;f=qe[j[58771]]()|0;a:{if((f|0)<1){break a}while(1){b=qe[j[58771]]()|0;b:{if((b|0)<=(c|0)){j[d>>2]=b;ve(73058,d);b=-1;break b}b=qe[j[58776]](c)|0}if((b|0)==(a|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+16|0;return e}function Pu(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;if((c|0)==372645892){return hn(a,b,d,e,f,g,h)}k=a<<2;i=p(k,b);i=qe[j[57972]](i?i:1)|0;if(i){j[57976]=j[57976]+1}if(!i){return Be(0)}l=-1;if((fh(a,b,c,d,e,372645892,i,k)|0)!=-1){l=hn(a,b,i,k,f,g,h)}if(i){qe[j[57975]](i);j[57976]=j[57976]-1}return l}function BH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+16>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2];e=j[b+24>>2]+c|0;h[e|0]=k[e|0]|8}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);d=j[b+16>>2]+(c<<3)|0;j[d+4>>2]=a+j[d+4>>2];a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}}function Dp(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+40>>2];c=qe[b|0](a,0,0,k[a|0]&128?m[a+20>>2]>m[a+28>>2]?2:1:1)|0;b=pe;d=b;if((b|0)>0?1:(b|0)>=0){e=j[a+20>>2]-j[a+28>>2]|0;a=j[a+8>>2]-j[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}pe=d;return c}function cg(a,b){var c=0,d=0,e=0;if(!a){return}d=j[a+52>>2];e=j[d+68>>2];c=e&-113;j[d+68>>2]=c;a:{b:{c:{switch(b|0){case 1:c=c|16;break b;case 2:c=c|32;break b;case 4:c=c|64;break b;case 0:break a;default:break c}}Be(4);d=j[a+52>>2];c=j[d+68>>2];break a}j[d+68>>2]=c}if((c|0)!=(e|0)){vf(d)}}function Qi(a,b){var c=0,d=0,e=0,f=0,g=0;d=j[a+24>>2];a:{if((d|0)<0){break a}e=j[a+20>>2];if((e|0)<=(d|0)){break a}if(b){f=j[j[a+4>>2]+4>>2];if((f|0)>=1){while(1){g=c<<2;j[g+j[a+12>>2]>>2]=j[j[a+8>>2]+g>>2]+(d<<2);c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[b>>2]=j[a+12>>2]}c=e-d|0}return c}function rL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+20>>2];if(k[a+68|0]){g=j[e+8>>2];f=i[e+2>>1];a=j[e+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[g+f|0]=d?1:2}i[e+2>>1]=l[e+2>>1]+1}function _r(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];if(!a){return}if(h[b+16|0]&1){c=j[b+4>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+4>>2]=0;c=j[b+8>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+8>>2]=0;c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}function Mi(a){var b=0,c=0,d=0;if(a){b=j[a>>2];if(b){c=j[a+8>>2];if((c|0)>=1){while(1){b=j[(d<<2)+b>>2];if(b){ze(b);c=j[a+8>>2]}d=d+1|0;if((d|0)<(c|0)){b=j[a>>2];continue}break}b=j[a>>2]}ze(b)}b=j[a+4>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function nh(a){var b=0,c=0;if(a){b=j[a>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+8>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function bs(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=0;a:{if(!a){break a}f=j[a+92>>2];d=0;if(!f){break a}d=0;if(!j[a+16>>2]){break a}j[e+12>>2]=b;while(1){g=qe[j[j[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=m[a+16>>2]){continue}break}d=g?j[e+12>>2]:0}a=d;if(c){j[c>>2]=g}oe=e+16|0;return a}function Vu(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return 0}if(!(k[a+48|0]&2)){ve(99029,0);return 0}b=qe[j[b+180>>2]](b,a)|0;if(!b){return 0}c=j[67085];j[c+700>>2]=b;j[c+696>>2]=a;Ij(j[c+704>>2],a);Ij(j[j[67085]+708>>2],b);return b}function GI(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(k[a+292|0]?a+296|0:0)|0;case 2:return(l[a+364>>1]==65535?0:a+364|0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=j[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function yD(a){var b=0,c=0,d=0,e=0;e=Le(a);a:{if(!j[67124]|!k[a|0]){break a}if(ah(a,61)){break a}b=j[j[67124]>>2];if(!b){break a}b:{while(1){d=Qe(a,b,e);b=j[67124];if(!d){d=j[b+(c<<2)>>2]+e|0;if(k[d|0]==61){break b}}c=c+1|0;b=j[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function ni(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=s(b);Nf(c,d,0,0,0,b+81|0);d=0+j[c+8>>2]|0;b=(j[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=j[c+4>>2];e=j[c>>2]}j[h>>2]=e;j[g+4>>2]=b;j[a+8>>2]=f;j[a+12>>2]=d;oe=c+16|0}function Ih(a){var b=0;if(a){b=j[a+260>>2];if(b){qe[b|0](a)}nh(j[a+168>>2]);b=j[a+176>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+188>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function EB(){var a=0;Zg();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Hg();a=j[65536];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65536]=0}}function mK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+16>>2];j[a+32>>2]=b;c=j[a+20>>2];j[a+36>>2]=c;d=j[a+8>>2];e=(d+j[a>>2]|0)/2|0;j[a+8>>2]=e;b=(b+d|0)/2|0;j[a+24>>2]=b;d=j[a+12>>2];f=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=f;c=(c+d|0)/2|0;j[a+28>>2]=c;j[a+16>>2]=(b+e|0)/2;j[a+20>>2]=(c+f|0)/2}function Lh(a){var b=0,c=0,d=0,e=0,f=0;f=j[a+76>>2]>=0;d=j[a>>2]&1;if(!d){b=j[a+52>>2];if(b){j[b+56>>2]=j[a+56>>2]}c=j[a+56>>2];if(c){j[c+52>>2]=b}if(j[67123]==(a|0)){j[67123]=c}}b=zp(a);c=qe[j[a+12>>2]](a)|0;e=j[a+96>>2];if(e){ze(e)}a:{if(!d){ze(a);break a}if(!f){break a}}return b|c}function qA(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a+356>>2]=1;if(!b){qe[j[a+188>>2]](36160,j[a+236>>2]);return 0}b=j[b+76>>2];qe[j[a+188>>2]](36160,j[j[b+40>>2]+8>>2]);qe[j[a+192>>2]](36160,36064,j[b+4>>2],j[b>>2],0);if((qe[j[a+196>>2]](36160)|0)!=36053){a=ve(75501,0)}else{a=0}return a|0}function fv(){var a=0,b=0,c=0;a:{b=j[67085];if(!b|!j[b+288>>2]){break a}b=1;if((We(4096,-1)|0)!=1){b=(We(4097,-1)|0)==1}c=j[67085];a=j[c+308>>2];if(!a){break a}qe[j[c+288>>2]](a,b);a=j[a+152>>2];if(!a){break a}while(1){qe[j[j[67085]+288>>2]](a,b);a=j[a+152>>2];if(a){continue}break}}}function Rk(a,b){var c=0,d=0,e=0;b=Ee(b,0,112);j[b+76>>2]=0;j[b+64>>2]=a;j[b+68>>2]=0;if(j[a>>2]){c=bf(1,72);j[b+104>>2]=c;j[c+4>>2]=-971228160;a=b+4|0;e=c+12|0;while(1){a:{if((d|0)==7){j[c+40>>2]=a;b=a;break a}b=bf(1,20);j[(d<<2)+e>>2]=b}jE(b);d=d+1|0;if((d|0)!=15){continue}break}}}function jG(a,b){var c=0,d=0;a:{d=k[a+9|0];if(d>>>0>7){break a}c=j[a+4>>2];a=205968;b:{c:{switch(d-1|0){case 1:a=206224;break b;case 0:break b;case 3:break c;default:break a}}a=206480}if((c|0)<1){break a}c=b+c|0;while(1){h[b|0]=k[k[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(j[b>>2]){a=j[c+24>>2];b=j[c+4>>2];d=j[b+48>>2];j[c+24>>2]=0;j[b+48>>2]=a|d|1;return 0}a=j[c+4>>2];j[a+48>>2]=j[a+48>>2]&-4098;a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(j[a+60>>2]==j[c+4>>2]){j[a+60>>2]=0}return 0}function TA(){var a=0;if(k[268300]){while(1){bg(1);if(k[268300]){continue}break}}a=j[67074];if(a){while(1){j[a+88>>2]=1;cl(a);a=j[67074];if(a){continue}break}}qe[j[58781]]();Xj(16384);li(73021,189,0);a=j[67073];if(a){j[67073]=0;if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}ZA()}function Gj(a,b){var c=0,d=0;c=j[65565];if((a|0)==-1){if((c|0)>=1){a=0;while(1){d=Gj(a,b)+d|0;a=a+1|0;c=j[65565];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=j[65566]+p(a,60)|0;d=j[a+16>>2];if((b|0)<0){break a}j[a+16>>2]=(b|0)<128?b:128}return d}function vG(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];b=j[a+132>>2];if(b){if(j[b+160>>2]){jf(j[a+104>>2],b+160|0)}d=c;e=j[b+168>>2];if(e){qe[j[d+8>>2]](d,e)}j[b+168>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0}d=j[a+32>>2];if(d){qe[j[c+8>>2]](c,d)}j[a+28>>2]=0;j[a+32>>2]=0}}function fL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=qe[j[a+20>>2]](l[j[a+16>>2]+(b<<1)>>1])|0;d=j[a+24>>2];if(!d){break a}e=j[a+28>>2];while(1){a=j[(c<<2)+e>>2];if(!(!a|k[a|0]!=k[b|0])){if(!we(a,b)){break a}}c=c+1|0;if(d>>>0>c>>>0){continue}break}c=0}return c|0}function QK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=j[c+4>>2];c=d+32768&-65536;if((d|0)<0){c=0-(32768-d&-65536)|0}a:{if(j[a+4>>2]){break a}b=hj((p((b|0)!=0,36)+a|0)+16|0,e>>16,c>>16,j[a>>2],0);if(!b){break a}j[a+4>>2]=b}}function sH(a){var b=0,c=0;b=oe-16|0;oe=b;c=hb(a|0,b+12|0,b+8|0)|0;a:{if(c){a=ug(0,j[b+12>>2],j[b+8>>2],32,255,65280,16711680,-16777216);if(a){Ae(j[a+20>>2],c,p(j[b+12>>2],j[b+8>>2])<<2)}ze(c);break a}c=hi(a,1847);a=zl(a,46);if(!c){a=0;break a}a=WF(c,a?a+1|0:0)}oe=b+16|0;return a}function mi(a,b,c,d){var e=0,f=0,g=0;f=j[67125]+1|0;j[67125]=f;j[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!j[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=mi(e,b,Vf(c,d<<4|8),a);D(a|0);return b}j[g>>2]=f;a=(e<<3)+c|0;j[a+4>>2]=b;j[a+8>>2]=0;D(d|0);return c}function Pj(a){var b=0;a:{b=j[67024];if((b|0)==(a|0)){break a}if(b){zf(b,11,0,0)}j[67024]=a;j[67034]=0;b:{if(a){zf(a,10,0,0);b=268200;if(j[67024]){break b}}b=268196}a=j[67015];b=j[b>>2];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;return}if(!a){break a}qe[a|0](0)|0}}function yg(a,b){var c=0,d=0;d=Mf(a);c=j[66036];a:{b:{c:{if(!c){break c}while(1){if(!cf(a,j[c>>2])){if(j[c+8>>2]!=2?d:0){break b}d=j[c+4>>2];break c}c=j[c+16>>2];if(c){continue}break}}if(!d){break a}}a=k[d|0];if(!a){break a}if((a|0)!=48){b=1;if(Me(d,64280)){break a}}b=0}return b}function ye(a,b){var c=0,d=0;if(!(!a|(b|0)==65536)){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=p(a,b)+32768>>>16|0;break a}c=a&65535;a=p(c,b>>>16|0)+p(b,a>>>16|0)+(p(c,b&65535)+32768>>>16)|0}a=(d|0)<0?0-a|0:a}return a}function pE(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=k[a+2|0];e=!c;a=k[a+1|0]<<16|k[a|0]<<24|c<<8;f=k[b+1|0]<<16|k[b|0]<<24|k[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=k[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function qJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=l[a+152>>1];a:{if(!e){break a}a=j[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(j[a>>2]==(b|0)){g=j[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){j[d>>2]=g}f=Fe(c,j[a+8>>2])}return f|0}function PF(a,b,c){if(!(!a|!b|(!c|k[a+209|0]&2))){a:{if(!((k[c+2|0]-1&255)>>>0>11|(k[c+3|0]-1&255)>>>0>30|(k[c+4|0]>23|k[c+5|0]>59))){if(k[c+6|0]<61){break a}}Ze(a,207445);return}a=l[c+4>>1]|l[c+6>>1]<<16;j[b+140>>2]=l[c>>1]|l[c+2>>1]<<16;j[b+144>>2]=a;j[b+8>>2]=j[b+8>>2]|512}}function Xf(a,b){var c=0,d=0;c=h[b|0];if(!c){return a}a=ah(a,c);a:{if(!a){break a}if(!k[b+1|0]){return a}if(!k[a+1|0]){break a}if(!k[b+2|0]){return qE(a,b)}if(!k[a+2|0]){break a}if(!k[b+3|0]){return pE(a,b)}if(!k[a+3|0]){break a}if(!k[b+4|0]){return oE(a,b)}d=nE(a,b)}return d}function XG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=b>>>0<4?b:4;if(f){b=0;while(1){d=b<<2;h=d+e|0;d=j[c+d>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[h>>2]=g>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=fq(a,f,e);oe=e+16|0;return a|0}function lA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=mo(b);d=ko(b);if(!(23>>>b&1)|b>>>0>=5){c=b&15}else{c=1}e=lo(b);f=jo(b);if(!(23>>>b&1)|b>>>0>=5){b=b>>>16&15}else{b=1}a:{if(a-1>>>0>9|d-1>>>0>9|(c-1>>>0>2|e-1>>>0>9)){break a}if(f-1>>>0>9){break a}return b-1>>>0<3|0}return 0}function Yp(a,b){var c=0,d=0,e=0;if(a){Ee(a+8|0,0,352);j[a+24>>2]=1024;j[a+4>>2]=16384;d=Te(16384);j[a>>2]=d;c=Te(4096);j[a+16>>2]=c;e=Te(8192);j[a+20>>2]=e;a:{if(d){if(c?e:0){break a}ze(d);c=j[a+16>>2]}if(c){ze(c)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return}j[a+336>>2]=b}}function Yh(a){var b=0,c=0;j[a+20>>2]=0;j[a+48>>2]=0;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;j[a+88>>2]=j[a+52>>2];b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b}function Wt(a){a=a|0;var b=0,c=0,d=0;b=oe-32|0;oe=b;h[b+7|0]=0;j[b+8>>2]=370546692;c=E(105238,b+7|0,0)|0;h[b+6|0]=0;j[b+12>>2]=c;c=E(105265,b+6|0,0)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=c;a:{if((ov(b+8|0)|0)<0){d=-1;break a}mv(j[a+304>>2],b+8|0);vu()}oe=b+32|0;return d|0}function pi(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=jP(a,b,10);e=pe;f=e;e=hP(d,e,10,0);c=c-1|0;h[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;h[c|0]=d-p(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Qt(a){a=a|0;var b=0,c=0,d=0;b=oe-16|0;oe=b;j[a+76>>2]=1;j[a+44>>2]=520;j[a+4>>2]=521;j[a+64>>2]=1;j[a+68>>2]=1;h[b+15|0]=0;c=E(105537,b+15|0,0)|0;a:{if(!c){ve(105676,0);break a}h[b+14|0]=0;d=(E(105703,b+14|0,0)|0)!=0}j[a+80>>2]=d;j[a+72>>2]=d;oe=b+16|0;return c|0}function yl(a){var b=0;if(j[a+76>>2]<0){a:{if(h[a+75|0]==10){break a}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break a}j[a+20>>2]=b+1;h[b|0]=10;return}ap(a);return}b:{c:{if(h[a+75|0]==10){break c}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break c}j[a+20>>2]=b+1;h[b|0]=10;break b}ap(a)}}function pn(a,b){var c=0,d=0,e=0;a:{c=j[67085];if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}d=b&4097;c=j[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}j[a+48>>2]=c&-4098|d;if(!Xg(a,(c>>>6^-1)&c>>>2&b&1)){break a}j[a+48>>2]=j[a+48>>2]&-4098|e}}function nu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(j[c+28>>2]){H(j[c+12>>2],a+8|0,a|0)|0;c=j[c+4>>2];d=o[a>>3];a:{if(r(d)<2147483648){b=~~d;break a}b=-2147483648}d=o[a+8>>3];b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function _u(a){var b=0,c=0;b=oe-16|0;oe=b;c=j[67085];a:{if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+24>>2];j[b+12>>2]=j[a+28>>2];if(!j[a+112>>2]){ve(98631,0);break a}qe[j[c+140>>2]](c,a,b,1)|0}oe=b+16|0}function wl(a){var b=0,c=0;a:{if(m[a+20>>2]<=m[a+28>>2]){break a}qe[j[a+36>>2]](a,0,0)|0;if(j[a+20>>2]){break a}return-1}b=j[a+4>>2];c=j[a+8>>2];if(b>>>0>>0){b=b-c|0;qe[j[a+40>>2]](a,b,b>>31,1)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;return 0}function _E(a,b){var c=0,d=0;a:{c=k[a+441|0];b:{if(c>>>0>7){break b}j[a+800>>2]=17;b=b+32|0;d=8-c|0;pf(a,b+c|0,d);h[a+441|0]=8;if(bq(b,c,d)){if(c>>>0<=3){if(bq(b,c,4-c|0)){break a}}Ye(a,211002);z()}if(c>>>0>2){break b}j[a+208>>2]=j[a+208>>2]|4096}return}Ye(a,210987);z()}function cj(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function Mu(a){a=a|0;var b=0,c=0;b=j[a+992>>2];if(b){c=j[b+8>>2];if(c){qe[j[b+52>>2]](c)|0;b=j[a+992>>2];j[b+8>>2]=0}c=j[b+4>>2];if(c){en(c);b=j[a+992>>2];j[b+4>>2]=0}c=j[b>>2];if(c){en(c);b=j[a+992>>2];j[b>>2]=0}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a+992>>2]=0}}function wv(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;b=a- -64|0;c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b>>2]=0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Bo(a){var b=0,c=0;c=j[67051];a:{if((a|0)<0){break a}b=(a|0)!=0;j[67051]=b;if((b|0)==(c|0)){break a}b=j[67015];b:{if(j[67035]|!a){break b}a=j[(j[67024]?268200:268196)>>2];if(!a){break b}if(!b){break a}qe[b|0](a)|0;return c}if(!b){break a}qe[b|0](0)|0}return c}function tO(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0;while(1){h=g<<2;k=h+d|0;j[k>>2]=0;a:{b:{if(!b){i=f+h|0;j[i>>2]=0;break b}i=f+h|0;l=Fe(b,0);j[i>>2]=l;if(l){break a}}m=i,n=qe[j[(g<<3)+116496>>2]](a,b,c,k,e+h|0)|0,j[m>>2]=n}g=g+1|0;if((g|0)!=9){continue}break}}function hK(a,b){a=a|0;b=b|0;var c=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;if(!(m[b+160>>2]>=a+c>>>0?c>>>0>=262:0)){Pe(b,8)}if(j[b+164>>2]){a=a+6|0;c=0;while(1){if(m[b+172>>2]<=k[a|0]){Pe(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function hJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[a+508>>2];e=b;a:{b:{if(c){c=qe[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=qe[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=$e(e,198448,a);if(c){break a}j[a+36>>2]=0;j[a+40>>2]=0;c=0}return c|0}function ex(a){a=a|0;var b=0;b=j[a+68>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+60>>2];if(b){Ih(b)}b=j[a+56>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Of(a,b,c){var d=0,e=0;d=oe-224|0;oe=d;a:{b:{if(k[a+209|0]&128){if(k[a+214|0]&16|(c|0)<=1){break b}hf(a,b);z()}e=j[a+212>>2];c:{d:{if((c|0)<=0){if(e&2097152){break d}break c}if(!(e&4194304)){break c}}Ze(a,b);break a}Ye(a,b);z()}gj(a,d,b);Ze(a,d)}oe=d+224|0}function OL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=j[a+88>>2];if(b){j[b>>2]=j[a+300>>2]}if(c){j[c>>2]=j[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=De(l[f+12>>1]<<6,j[a+304>>2]);a=De(l[f+14>>1]<<6,j[a+304>>2])}if(d){j[d>>2]=b}if(e){j[e>>2]=a}return 0}function CG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=j[a+416>>2];if((d|0)>=1){f=j[a+420>>2];g=k[b|0];while(1){a:{e=j[(c<<2)+f>>2];if(k[e|0]!=(g|0)){break a}if(we(b,e)){break a}return rf(j[j[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)>(c|0)){continue}break}}return 0}function Ex(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=j[a+64>>2];if((e|0)>=1){f=j[a+68>>2];while(1){d=p(c,20)+f|0;j[d>>2]=1;j[d+16>>2]=j[d+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=b;b=j[a>>2];qe[j[b+4>>2]](b,j[a+40>>2],j[a+44>>2],0)|0;return pe>>31}function $r(a,b){var c=0;a:{if(!a|!b){break a}c=l[a+2>>1];if((c|0)!=l[b+2>>1]|l[a>>1]!=l[b>>1]|(a|0)==(b|0)){break a}Ae(j[b+4>>2],j[a+4>>2],c<<16>>16<<3);Ae(j[b+8>>2],j[a+8>>2],i[a+2>>1]);Ae(j[b+12>>2],j[a+12>>2],i[a>>1]<<1);j[b+16>>2]=j[a+16>>2]&-2|j[b+16>>2]&1}}function Gn(a){var b=0,c=0,d=0,e=0;b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}c=j[a+80>>2];if(c){d=a,e=Vf(j[a+68>>2],c+j[a+76>>2]|0),j[d+68>>2]=e;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0}function vs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b=qi(b,1024);if(b){aj(b,0,2);c=Bp(b);aj(b,0,0);d=Te(c+1|0);if(d){e=dk(d,1,c,b);if(e>>>0>c>>>0){break a}h[d+e|0]=0;Lh(b)}j[a>>2]=d;j[a+4>>2]=c;return}f=a,g=bf(1,1),j[f>>2]=g;j[a+4>>2]=1;return}za(1027,1050,45,1069);z()}function ZN(a,b){var c=0;if(!a){return 40}j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;b=qi(b,116636);if(!b){return 1}aj(b,0,2);c=Bp(b);j[a+4>>2]=c;if(!c){Lh(b);return 81}aj(b,0,0);j[a+24>>2]=595;j[a+20>>2]=596;j[a+12>>2]=b;return 0}function KH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];c=j[a+484>>2]+(c-b|0)|0;a=(c-((c|0)%j[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];c=j[a+484>>2]+c-(d+b)|0;a=(((c|0)%j[a+476>>2]|0)-c|0)-b|0;return((a|0)>0?0-b|0:a)|0}function Hp(a,b){var c=0,d=0,e=0;sP(+a);c=pP(1)|0;d=pP(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=Hp(a*0x10000000000000000,b);b=j[b>>2]+ -64|0}j[c>>2]=b;return a}j[b>>2]=c-1022;qP(0,d|0);qP(1,e&-2146435073|1071644672);a=+rP()}return a}function vu(){var a=0,b=0;j[67018]=474;j[67017]=475;j[67015]=476;j[67013]=477;j[67020]=478;j[67014]=479;a=Xe(1,8);a:{if(a){b=Xe(1,8);if(!b){Be(0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Co(0);return}j[b+4>>2]=0;j[b>>2]=104082;j[a+4>>2]=b;break a}Be(0)}Co(a)}function iN(a,b){a=a|0;b=b|0;var c=0;a=j[a+656>>2];b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}return j[j[a+1316>>2]+(b<<2)>>2]}a=j[a+2956>>2];if(!a){break a}c=qe[j[a+20>>2]](b)|0}return c|0}function aM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=j[a>>2];c=j[b+408>>2];j[a+16>>2]=c;d=j[b+416>>2];j[a+20>>2]=d;a:{if(c>>>0<2){break a}b=j[d>>2];a=1;while(1){e=b;b=j[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function su(a){a=a|0;var b=0;b=oe-16|0;oe=b;a:{if(!j[67024]){break a}b:{if(!a){break b}a=j[a+4>>2];if(!a){break b}a=j[a>>2];if(!a){break a}h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=a;E(103920,b+14|0,b|0)|0;break a}h[b+13|0]=0;E(104013,b+13|0,0)|0}oe=b+16|0;return 0}function XD(a,b){var c=0,d=0;c=oe-160|0;oe=c;Ae(c+8|0,226824,144);j[c+52>>2]=a;j[c+28>>2]=a;d=-2-a|0;d=d>>>0<2147483647?d:2147483647;j[c+56>>2]=d;a=a+d|0;j[c+36>>2]=a;j[c+24>>2]=a;rp(c+8|0,118451,b);if(d){a=j[c+28>>2];h[a-((a|0)==j[c+24>>2])|0]=0}oe=c+160|0}function Hh(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;a:{if(!a){j[d>>2]=65611;e=ve(65309,d);break a}if(!b){j[d+16>>2]=65618;e=ve(65309,d+16|0);break a}e=0;if((c|0)<1){break a}if((c|0)%j[a+208>>2]|0){e=ve(65654,0);break a}e=Vo(j[a+168>>2],b,c)}a=e;oe=d+32|0;return a}function zD(){var a=0,b=0;a=oe-16|0;oe=a;a:{if(La(a+12|0,a+8|0)|0){break a}b=Te((j[a+12>>2]<<2)+4|0);j[67124]=b;if(!b){break a}b=Te(j[a+8>>2]);if(!b){j[67124]=0;break a}j[j[67124]+(j[a+12>>2]<<2)>>2]=0;if(!(Ka(j[67124],b|0)|0)){break a}j[67124]=0}oe=a+16|0}function qi(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;a:{b:{if(!ah(226820,h[b|0])){j[67100]=28;break b}e=CD(b);j[c>>2]=438;a=Pa(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}if((a|0)<0){break a}d=_D(a,b);if(d){break a}X(a|0)|0}d=0}oe=c+16|0;return d}function oM(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 i=0;a:{if((f|0)<1){break a}b=0;h=0;while(1){i=h<<2;if(j[i+e>>2]){j[(b<<2)+d>>2]=j[d+i>>2];b=b+1|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!b){break a}sr(a,c,d,b,g)}return 0}function cH(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=j[a>>2];c=j[d+548>>2];d=Kf(j[j[d+96>>2]+4>>2],201664);if(!(!c|!d)){c=j[c>>2];if(c){break a}}Ei(j[a>>2],b);return 0}c=qe[c|0](d)|0;Ei(j[a>>2],b);if(c){qe[j[c+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Te(b)|0}if(b>>>0>=4294967232){j[67100]=48;return 0}c=tD(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Te(b);if(!c){return 0}d=j[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;Ae(c,a,b>>>0>d>>>0?d:b);ze(a);return c|0}function RO(a){var b=0;j[a+56>>2]=0;j[a+84>>2]=0;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(j[a+48>>2]<<5)}function yB(){var a=0,b=0;a=j[67055];if(a){while(1){a=a-1|0;b=j[j[67056]+(a<<2)>>2];AB(j[b>>2],j[b+4>>2]);if(a){continue}break}}a=j[67056];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67056]=0;a=j[66370];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66370]=0}function To(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=a+60|0;a:{if(j[a+56>>2]|!j[c>>2]){break a}qe[j[66053]](a);j[c>>2]=0;qe[j[66054]](a);if((We(4353,-1)|0)!=1){break a}Oe(b+8|0,0,56);j[b+8>>2]=4353;j[b+16>>2]=j[a>>2];h[b+20|0]=j[a+68>>2]!=0;gf(b+8|0)}oe=b- -64|0}function PL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;pr(a,b,c,d);b=j[a+300>>2];c=j[a+304>>2];a:{if((b|0)==(c|0)){break a}e=j[d>>2];if(e){f=d,g=Ne(e,b,c),j[f>>2]=g}b=j[d+4>>2];if(!b){break a}f=d,g=Ne(b,j[a+300>>2],j[a+304>>2]),j[f+4>>2]=g}return 0}function ap(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;h[c+15|0]=10;b=j[a+16>>2];a:{if(!b){if(bp(a)){break a}b=j[a+16>>2]}d=b;b=j[a+20>>2];if(!(h[a+75|0]==10|d>>>0<=b>>>0)){j[a+20>>2]=b+1;h[b|0]=10;break a}if((qe[j[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}oe=c+16|0}function Km(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[j[a+4>>2]+100>>2];c=j[a+156>>2];f=j[c+4>>2];a:{if(f&1){c=j[a+88>>2];if(c){qe[j[e+8>>2]](e,c)}j[a+88>>2]=0;break a}j[c+4>>2]=f|1}g=a,h=He(e,b,d+12|0),j[g+88>>2]=h;oe=d+16|0;return j[d+12>>2]}function BD(a,b){var c=0,d=0,e=0;c=oe-160|0;oe=c;Ee(c+16|0,0,144);j[c+92>>2]=-1;j[c+60>>2]=b;j[c+24>>2]=-1;j[c+20>>2]=b;kg(c+16|0,0,0);op(c,c+16|0,1,1);b=j[c+8>>2];d=j[c+12>>2];e=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=e;j[a+8>>2]=b;j[a+12>>2]=d;oe=c+160|0}function vg(a,b){var c=0;c=oe-16|0;oe=c;a:{if(!a){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[a+8>>2];j[c+12>>2]=j[a+12>>2];a=a+36|0;if(!b){b=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=b;b=j[c+12>>2];j[a+8>>2]=j[c+8>>2];j[a+12>>2]=b;break a}Fg(b,c,a)}oe=c+16|0}function wp(a){var b=0,c=0;b=k[a+74|0];h[a+74|0]=b-1|b;if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;b=j[a>>2];if(b&4){j[a>>2]=b|32;return-1}c=j[a+44>>2]+j[a+48>>2]|0;j[a+8>>2]=c;j[a+4>>2]=c;return b<<27>>31}function CN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1&65535}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function Yj(a,b){var c=0,d=0,e=0;j[a+28>>2]=b;b=0;while(1){c=p(b,84)+a|0;e=c;if(l[c+136>>1]){j[c+56>>2]=0;j[c+60>>2]=0;d=j[c+76>>2];if(d){ze(d);j[c+76>>2]=0}d=j[c+100>>2];if(d){ze(d);j[c+100>>2]=0}i[e+136>>1]=0}b=b+1|0;if((b|0)!=257){continue}break}}function TL(a){a=a|0;var b=0,c=0,d=0;c=j[j[a+188>>2]>>2];b=c;d=j[a+168>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+172>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;b=j[a+184>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+192|0]=0;j[a+184>>2]=0;j[a+188>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0}function VO(a){Lf(a,116020);Lf(a,199604);Lf(a,201312);Lf(a,119884);Lf(a,123992);Lf(a,133044);Lf(a,204008);Lf(a,205332);Lf(a,132272);Lf(a,133720);Lf(a,135120);Lf(a,135044);Lf(a,197364);Lf(a,198016);Lf(a,199364);Lf(a,199436);Lf(a,199508);Lf(a,116732)}function QA(a){var b=0,c=0;c=oe+ -64|0;oe=c;j[c+8>>2]=1542;if((We(1542,-1)|0)==1){j[c+16>>2]=a;gf(c+8|0)}PA();b=j[67074];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[b+72>>2]=1;j[b+60>>2]=0;break a}b=j[b+92>>2];if(b){continue}break}}oe=c- -64|0}function $K(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[a+16>>2];c=j[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+j[a+20>>2]|0;a:{if(c>>>0>>0){e=j[a+24>>2];while(1){a=l[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}}a=0;c=0}j[b>>2]=c;return a|0}function cM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1|0}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function VA(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;a:{b:{if((a|0)>=0){c=qe[j[58771]]()|0;if((c|0)>(a|0)){break b}}j[b>>2]=c;ve(73058,b);break a}a=qe[j[58773]](a)|0;if(!a){break a}if(Qe(a,73123,Le(73123))){d=a;break a}d=Le(73123)+a|0}oe=b+16|0;return d}function ML(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+80>>2]){break a}b=b-a|0;f=He(j[c>>2],b+1|0,d+12|0);j[c+80>>2]=f;e=j[d+12>>2];if(e){break a}Ae(f,a,b);h[b+j[c+80>>2]|0]=0;e=j[d+12>>2]}oe=d+16|0;return e|0}function bj(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function _z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=lh(a,d<<3,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){e=(b<<3)+c|0;n[a>>2]=n[e>>2]+q(.5);n[a+4>>2]=n[e+4>>2]+q(.5);a=a+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Yf(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=b-1|0;if(e>>>0<=c>>>0){break a}b=k[d|0];if(!b){break a}while(1){h[a+c|0]=b;c=c+1|0;if(e>>>0<=c>>>0){break a}b=k[d+1|0];d=d+1|0;if(b&255){continue}break}}h[a+c|0]=0}return c}function nt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=j[a+96>>2];bg(j[e+4>>2]);d=j[e>>2];a:{if(!d){d=c;break a}d=qe[j[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<1){break a}f=j[e>>2];qe[j[f+16>>2]](f)|0;j[e>>2]=0}Oe(b,k[a+11|0],d);return c|0}function EM(a,b){a=a|0;b=b|0;var c=0;Ei(j[a>>2],b);c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function $M(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[j[j[a>>2]+96>>2]+4>>2];j[b>>2]=0;j[b+4>>2]=0;d=j[a+12>>2];a:{if((d|0)==119980|(d|0)==120020){break a}c=Bh(Kf(c,120128),120236);if(!c){break a}c=j[c>>2];if(!c){break a}e=qe[c|0](a,b)|0}return e|0}function Ef(a,b){var c=0,d=0,e=0;d=j[a+68>>2];c=j[a+72>>2];b=b+7&-8;if(j[a+76>>2]<(c+b|0)){if(d){e=Te(8);j[a+80>>2]=j[a+80>>2]+c;c=j[a+84>>2];j[e>>2]=d;j[e+4>>2]=c;j[a+84>>2]=e}j[a+76>>2]=b;d=Te(b);j[a+68>>2]=d;c=0}j[a+72>>2]=b+c;return c+d|0}function kp(a,b,c,d){var e=0;e=oe-144|0;oe=e;j[e+44>>2]=a;j[e+4>>2]=a;j[e>>2]=0;j[e+76>>2]=-1;j[e+8>>2]=(a|0)<0?-1:a+2147483647|0;kg(e,0,0);c=mp(e,0,1,c,d);d=pe;if(b){j[b>>2]=((j[e+4>>2]+j[e+120>>2]|0)-j[e+8>>2]|0)+a}oe=e+144|0;pe=d;return c}function cP(){var a=0;a=j[58882];if(a){Xk(a)}a=j[58883];if(a){Jk(a)}a=j[58904];if(a){jh(a)}a=j[58905];if(a){jh(a)}a=j[60720];if(a){XB(a)}a=j[60721];if(a){ip(a)}Ap();ze(j[58908]);ze(j[58909]);ze(j[58913]);ze(j[58917]);UI();Wn();qB();fD();eD()}function Uo(a,b,c){var d=0;d=oe+ -64|0;oe=d;a:{if(a){b=Vj(b,c,264276,264268);break a}b=Vj(b,c,264272,264264)}b:{if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(d+8|0,0,56);h[d+20|0]=a;j[d+16>>2]=b;j[d+8>>2]=4352;gf(d+8|0)}oe=d- -64|0}function FL(a){a=a|0;var b=0,c=0,d=0;if(j[a+12>>2]==-559038737){c=j[a+32>>2];b=c;d=j[a>>2];if(d){qe[j[b+8>>2]](b,d)}j[a>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;j[a+28>>2]=0}}function zv(a){var b=0,c=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=97215;ve(97052,c);break a}b=j[a+12>>2];j[a+12>>2]=b-1;if((b|0)>1){break a}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=c+16|0}function kD(a){a=a|0;var b=0;a=Ip(Te(Le(a)+1|0),a);b=Xf(a,231124);if(b){h[b|0]=0}b=Xf(a,231128);if(b){h[b|0]=0}b=Xf(a,231132);if(b){h[b|0]=0}b=Xf(a,231136);if(b){h[b|0]=0}b=Xf(a,231142);if(b){h[b|0]=0}b=lD(a);if(!b){b=mD(a)}ze(a);return b|0}function jq(a,b){a=a|0;b=b|0;var c=0;c=j[a+136>>2];j[b>>2]=j[a+132>>2];j[b+4>>2]=c;c=j[a+160>>2];j[b+24>>2]=j[a+156>>2];j[b+28>>2]=c;c=j[a+152>>2];j[b+16>>2]=j[a+148>>2];j[b+20>>2]=c;c=j[a+144>>2];j[b+8>>2]=j[a+140>>2];j[b+12>>2]=c;return 0}function CO(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;d=6;a:{if(!a){break a}b=He(a,192,c+12|0);d=j[c+12>>2];if(d){break a}j[b>>2]=a;j[b+164>>2]=0;j[b+168>>2]=0;j[b+188>>2]=1;d=0;j[b+12>>2]=0;j[b+4>>2]=2;j[b+8>>2]=6;j[65573]=b}oe=c+16|0;return d} +function zw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}e=(p(c,e)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;f=(p(b,f)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;e=A+((p(c,e)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;f=((p(c,f)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;e=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+f|0;f=b>>>0<255?b:255}j[i>>2]=d<<8|f<<16|e;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=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=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){q=k[a+63|0];r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&48;v=b&2;w=b&1;b=b&112;x=b-16|0;y=(b|0)==64;h=j[a+20>>2];i=h;l=j[a>>2];n=l;while(1){z=a;o=j[a+24>>2];if(o){while(1){e=j[i>>2];d=j[n>>2];b=d>>>24|0;c=d>>>8&255;g=d>>>16&255;if(w){c=(p(c,r)>>>0)/255|0;g=(p(g,s)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}d=d&255;m=v?(p(d,q)>>>0)/255|0:d;d=e>>>8|0;f=e>>>16|0;if(!(!u|m>>>0>254)){c=(p(c,m)>>>0)/255|0;g=(p(g,m)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}o=o-1|0;e=e&255;d=d&255;f=f&255;a:{b:{switch(x|0){default:if(!y){break a}f=(p(c,f)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;e=(p(b,e)>>>0)/255|0;break a;case 0:A=c;c=255-m|0;f=A+((p(c,f)>>>0)/255|0)|0;d=((p(c,d)>>>0)/255|0)+g|0;e=((p(c,e)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;f=c>>>0<255?c:255;c=d+g|0;d=c>>>0<255?c:255;b=b+e|0;e=b>>>0<255?b:255}j[i>>2]=d<<8|e|f<<16;i=i+4|0;n=n+4|0;if(o){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[z+28>>2]=c;h=j[a+32>>2]+h|0;i=h;l=j[a+12>>2]+l|0;n=l;if(b){continue}break}j[a+20>>2]=h;j[a>>2]=l}}function IF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-1072|0;oe=e;h=Te(40);j[h>>2]=0;Ee(e+168|0,0,900);j[e+924>>2]=1e3;j[e+928>>2]=8e6;j[e+916>>2]=1e6;j[e+920>>2]=1e6;j[67126]=0;f=e+168|0;if(f){j[f+724>>2]=0;j[f+720>>2]=0;j[f+716>>2]=0}f=j[67126];j[67126]=0;g=-1;i=4;a:{if(!f){break a}k=j[67127];if(!k){break a}g=ef(j[f>>2],h,4);if(!g){F(f|0,k|0);z()}D(k|0)}b:{f=C()|0;c:{if((g|0)==1){break c}j[67126]=0;f=e+168|0;if(f){j[f+172>>2]=d;j[f+168>>2]=c;j[f+176>>2]=b}b=j[67126];j[67126]=0;g=-1;d:{if(!b){break d}c=j[67127];if(!c){break d}g=ef(j[b>>2],h,4);if(!g){break b}D(c|0)}f=C()|0;if((g|0)==1){break c}h=mi(e,1,h,4);i=C()|0;f=0}b=f;e:{while(1){if(b){d=0;break e}j[e+332>>2]=0;j[e+324>>2]=37;j[67126]=0;j[e+328>>2]=e;d=L(1051,e+168|0,a|0)|0;b=j[67126];j[67126]=0;g=-1;f:{if(!b){break f}c=j[67127];if(!c){break f}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}if(!d){d=0;break e}j[67126]=0;d=L(1052,e+168|0,900)|0;b=j[67126];j[67126]=0;g=-1;g:{if(!b){break g}c=j[67127];if(!c){break g}g=ef(j[b>>2],h,i);if(!g){break b}D(c|0)}b=C()|0;if((g|0)==1){continue}break}if(!d){d=0;break e}j[e+432>>2]=d;j[e+428>>2]=1053;j[e+424>>2]=1054;j[e+332>>2]=0;j[e+324>>2]=0;j[e+328>>2]=0;Ae(d,e+168|0,900)}ze(h);oe=e+1072|0;return d}F(b|0,c|0);z()}function hx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){s=k[a+62|0];t=k[a+61|0];u=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;v=(b&48)!=0&(i|0)!=255;w=b&1;o=i^255;b=b&112;x=b-16|0;y=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){z=a;q=j[a+24>>2];if(q){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(w){f=(p(f,t)>>>0)/255|0;g=(p(g,u)>>>0)/255|0;b=(p(b,s)>>>0)/255|0}if(v){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}q=q-1|0;r=d>>>24|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(x|0){default:if(!y){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:r=((p(o,r)>>>0)/255|0)+i|0;c=((p(c,o)>>>0)/255|0)+b|0;h=((p(h,o)>>>0)/255|0)+f|0;d=((p(d,o)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c|r<<24;m=m+4|0;e=e+4|0;if(q){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[z+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function xm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;h=oe-16|0;oe=h;n=j[c+12>>2];i=k[a|0];if(i){g=i;e=a;while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}a:{b:{l=j[c+4>>2];e=n+((f>>>0)%(l>>>0)<<2)|0;g=j[e>>2];if(g){f=(n+(l<<2)|0)-4|0;while(1){l=j[g>>2];if((i|0)==k[l|0]){if(!we(l,a)){break b}}e=e-4|0;e=e>>>0>>0?f:e;g=j[e>>2];if(g){continue}break}}j[h+8>>2]=0;i=He(d,8,h+8|0);f=j[h+8>>2];if(f){break a}j[e>>2]=i;j[i+4>>2]=b;j[i>>2]=a;b=c;a=j[c+8>>2];if(a>>>0>=m[c>>2]){l=j[c+12>>2];o=j[c+4>>2];j[h+12>>2]=0;a=o<<1;j[c>>2]=(a>>>0)/3;j[c+4>>2]=a;t=c,u=xe(d,4,0,a,0,h+12|0),j[t+12>>2]=u;f=j[h+12>>2];if(f){j[h+8>>2]=f;break a}if(o){a=l;while(1){q=j[a>>2];if(q){r=j[c+12>>2];f=0;i=j[q>>2];n=k[i|0];g=n;e=i;if(g){while(1){f=p(f,31)+(g<<24>>24)|0;g=k[e+1|0];e=e+1|0;if(g){continue}break}}e=f;f=j[c+4>>2];g=((e>>>0)%(f>>>0)<<2)+r|0;e=j[g>>2];c:{if(!e){break c}f=((f<<2)+r|0)-4|0;while(1){e=j[e>>2];if((n|0)==k[e|0]){if(!we(e,i)){break c}}e=g-4|0;g=e>>>0>>0?f:e;e=j[g>>2];if(e){continue}break}}j[g>>2]=q}a=a+4|0;s=s+1|0;if((s|0)!=(o|0)){continue}break}}if(l){qe[j[d+8>>2]](d,l)}f=j[h+12>>2];j[h+8>>2]=f;if(f){break a}a=j[c+8>>2]}j[b+8>>2]=a+1;f=0;break a}f=0;j[h+8>>2]=0;j[g+4>>2]=b}oe=h+16|0;return f}function sm(a,b,c,d,e){var f=0,g=0,i=0,l=0,m=0,n=0,o=0;i=oe-32|0;oe=i;g=j[b+392>>2];l=b+8|0;m=g-l|0;o=m&8;if(!(k[e|0]|!o)){a:{if(!m){n=j[b+4>>2];if(!n|j[n>>2]){break a}j[n>>2]=130;break a}b:{switch(j[b+12>>2]-1|0){case 1:f=j[l>>2]<<16;break a;case 0:f=j[l>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break a}f=f- -8192>>14;break a;default:break b}}f=j[l>>2]}j[d>>2]=(j[j[j[a+132>>2]+736>>2]+532>>2]<<16)+f}if(!k[j[a+132>>2]+561|0]){c:{a=(o|0)!=0;m=m>>3;if(a>>>0>=m>>>0){break c}f=0;while(1){n=g-l>>3;d:{if(n>>>0<=a>>>0){d=0;g=j[b+4>>2];if(!g|j[g>>2]){break d}j[g>>2]=130;break d}e:{f:{g:{d=(a<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break f;case 1:break g;default:break e}}d=j[d+8>>2]<<16;break d}d=j[d+8>>2];if((d|0)<=-1){d=0-(8192-d>>14)|0;break d}d=d- -8192>>14;break d}d=j[d+8>>2]}f=d+f|0;j[i+12>>2]=f;d=a+1|0;h:{if(d>>>0>=n>>>0){g=0;d=j[b+4>>2];if(!d|j[d>>2]){break h}j[d>>2]=130;break h}i:{j:{k:{d=(d<<3)+b|0;switch(j[d+12>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=j[d+8>>2]<<16;break h}d=j[d+8>>2];if((d|0)<=-1){g=0-(8192-d>>14)|0;break h}g=d- -8192>>14;break h}g=j[d+8>>2]}j[i+20>>2]=0;j[i+24>>2]=0;h[i+8|0]=0;f=f+g|0;j[i+16>>2]=f;Fr(c,i+8|0);a=a+2|0;if(m>>>0<=a>>>0){break c}g=j[b+392>>2];continue}}j[b+392>>2]=l}h[e|0]=1;oe=i+32|0}function Ll(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;a:{if(!(!b|(!c|!a))){d=j[b+128>>2];if((j[b+132>>2]-d|0)<1){b:{if((2147483647-d|0)>=1){f=d+1|0;f=(f|0)<2147483639?f+8&-8:2147483647;d=Gl(a,j[b+136>>2],d,f-d|0,28);if(d){break b}}Of(a,207360,1);return 1}Ke(a,j[b+136>>2]);j[b+136>>2]=d;j[b+132>>2]=f;j[b+232>>2]=j[b+232>>2]|16384}while(1){l=p(o,28)+c|0;d=j[l+4>>2];c:{if(!d){break c}i=j[l>>2];if(i+1>>>0>=4){Of(a,207381,1);break c}e=p(j[b+128>>2],28);g=j[b+136>>2];f=Le(d);q=(i|0)<1;d:{if(q){m=0;d=0;break d}d=0;m=0;n=j[l+20>>2];if(n){m=Le(n)}n=j[l+24>>2];if(!n){break d}d=Le(n)}e=e+g|0;g=j[l+8>>2];e:{if(!(k[g|0]?g:0)){if(!q){j[e>>2]=1;g=0;break e}j[e>>2]=-1;g=0;break e}g=Le(g);j[e>>2]=i}i=ag(a,(((f+m|0)+d|0)+g|0)+4|0);j[e+4>>2]=i;if(!i){break a}Ae(i,j[l+4>>2],f);i=e+4|0;h[f+j[i>>2]|0]=0;f:{if(j[l>>2]>=1){f=(f+j[e+4>>2]|0)+1|0;j[e+20>>2]=f;Ae(f,j[l+20>>2],m);h[j[e+20>>2]+m|0]=0;f=(j[e+20>>2]+m|0)+1|0;j[e+24>>2]=f;Ae(f,j[l+24>>2],d);h[j[e+24>>2]+d|0]=0;i=e+24|0;break f}j[e+20>>2]=0;j[e+24>>2]=0;d=f}d=(j[i>>2]+d|0)+1|0;j[e+8>>2]=d;if(g){Ae(d,j[l+8>>2],g);d=j[e+8>>2]}h[d+g|0]=0;d=j[e>>2]>0;j[e+16>>2]=d?g:0;j[e+12>>2]=d?0:g;j[b+128>>2]=j[b+128>>2]+1}o=o+1|0;if((o|0)!=1){continue}break}}return 0}Of(a,207419,1);return 1}function OM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(m[a+404>>2]>=a+24>>>0){g=j[a+412>>2];c=j[a+20>>2];d=j[a+16>>2];f=k[d|0];a:{b:{if((f|0)==30){b=Jf(d,c,0,0)>>16;break b}c:{switch(f-28|0){case 0:if(d+3>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8;b=(b<<24|b<<8&16711680)>>16;break b;case 1:if(d+5>>>0>c>>>0){break a}b=k[d+1|0]|k[d+2|0]<<8|(k[d+3|0]<<16|k[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break c}}b=f-139|0;if(f>>>0<=246){break b}b=d+2|0;if(f>>>0<=250){if(c>>>0>>0){break a}b=(k[d+1|0]|f<<8)-63124|0;break b}if(c>>>0>>0){break a}b=64148-(k[d+1|0]|f<<8)|0}e=b;if((e|0)<0){return 3}c=j[a+20>>2]}j[g+120>>2]=e;e=j[a+24>>2];d:{b=k[c|0];e:{if((b|0)==30){a=Jf(c,e,0,0)>>16;break e}f:{switch(b-28|0){case 0:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8;a=(a<<24|a<<8&16711680)>>16;break e;case 1:a=0;if(e>>>0>>0){break d}a=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e;default:break f}}a=b-139|0;if(b>>>0<=246){break e}d=c+2|0;if(b>>>0<=250){a=0;if(d>>>0>e>>>0){break d}a=(k[c+1|0]|b<<8)-63124|0;break e}a=0;if(d>>>0>e>>>0){break d}a=64148-(k[c+1|0]|b<<8)|0}if((a|0)>=0){break d}return 3}j[g+116>>2]=a;a=0}else{a=161}return a|0}function jC(){var a=0,b=0,c=0,d=0;d=oe-16|0;oe=d;a:{b:{c:{if(!j[57818]){break c}a=j[57822];if(!a){break c}c=231256;b=qe[a|0](1222)|0;if(b){break b}}d:{if(!j[57797]){break d}a=j[57801];if(!a){break d}c=231172;b=qe[a|0](1222)|0;if(b){break b}}c=hi(1222,2500);if(c){b=0;a=zl(1222,46);e:{if(!a){break e}a=a+1|0;if(!Me(a,2522)){b=2;break e}b=4;if(!Me(a,2526)){break e}if(!Me(a,2458)){break e}if(!Me(a,2530)){break e}if(!Me(a,2534)){b=5;break e}if(!Me(a,2538)){b=8;break e}b=6;if(!Me(a,2543)){break e}if(!Me(a,2547)){break e}if(!Me(a,2463)){break e}if(!Me(a,2552)){break e}f:{if(!Me(a,2556)){break f}if(!Me(a,2560)){break f}if(!Me(a,2564)){break f}if(!Me(a,2568)){break f}if(!Me(a,2572)){break f}if(!Me(a,2576)){break f}if(!Me(a,2580)){break f}if(!Me(a,2583)){break f}if(!Me(a,2587)){break f}if(!Me(a,2454)){break f}if(!Me(a,2591)){break f}if(!Me(a,2595)){break f}if(!Me(a,2599)){break f}if(!Me(a,2603)){break f}if(!Me(a,2607)){break f}if(!Me(a,2611)){break f}if(!Me(a,2615)){break f}if(!Me(a,2619)){break f}if(!Me(a,2623)){break f}if(!Me(a,2627)){break f}b=0;if(Me(a,2631)){break e}}b=3}a=_B(c,b);break a}j[d>>2]=1222;ve(2503,d);a=0;break a}a=Xe(1,24);if(!a){a=0;ve(2486,0);break a}j[a+4>>2]=b;j[a>>2]=c}oe=d+16|0;return a}function Kj(a,b,c,d,e){var f=0,g=0,i=0;a:{g=c<<8|b<<16|d|e<<24;b:{if(!((g|0)==j[a+356>>2]?j[a+396>>2]:0)){c:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break c}f=Xe(1,28);if(f){break c}break a}i=j[a+344>>2];j[(i?i+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=3;j[f+4>>2]=0;h[f+11|0]=e;h[f+10|0]=d;h[f+9|0]=c;h[f+8|0]=b;e=qe[j[a+24>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}j[a+396>>2]=1;j[a+356>>2]=g;if(e){break b}}d:{if(j[a+400>>2]){if(!wf(a+216|0,a+360|0,16)){break d}}e:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break e}f=Xe(1,28);if(f){break e}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=1;j[f+4>>2]=0;b=a+216|0;Ge(f+8|0,b,16);e=qe[j[a+20>>2]](a,f)|0;if((e|0)<=-1){j[f>>2]=0;return e}Ge(a+360|0,b,16);j[a+400>>2]=1;if(e){break b}}f:{if(!(!j[a+404>>2]|j[a+280>>2]!=j[a+392>>2])){if(!wf(a+248|0,a+376|0,16)){break f}}g:{f=j[a+348>>2];if(f){j[a+348>>2]=j[f+24>>2];j[f+24>>2]=0;break g}f=Xe(1,28);if(f){break g}break a}b=j[a+344>>2];j[(b?b+24|0:a+340|0)>>2]=f;j[a+344>>2]=f;if(!f){return-1}j[f>>2]=2;j[f+4>>2]=j[a+280>>2];b=a+248|0;Ge(f+8|0,b,16);Ge(a+376|0,b,16);j[a+404>>2]=1;j[a+392>>2]=j[a+280>>2]}e=0}return e}Be(0);return-1}function yr(a,b,c,d,e){var f=0,g=0,h=0,i=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,x=0,y=0,z=0,A=0;f=oe;u=f;k=j[b>>2];g=j[k+4>>2];h=j[a+36>>2]>>1;g=((g|0)<(h|0)?g:h)-j[k>>2]|0;a:{if((g|0)<1){break a}m=j[j[b+16>>2]>>2];q=j[k+8>>2];g=(g|0)/(q|0)|0;n=f-((d<<2)+15&-16)|0;oe=n;if((d|0)>=1){h=((g+m|0)-1|0)/(m|0)<<2;f=0;while(1){z=(f<<2)+n|0,A=Ef(a,h),j[z>>2]=A;f=f+1|0;if((f|0)!=(d|0)){continue}break}}f=j[b+8>>2];if((f|0)<1){break a}r=a+4|0;h=0;v=(g|0)<1;while(1){if(!v){a=0;s=(d|0)<1;w=s|(h|0)!=0;x=1<>2],r);if((i|0)==-1|(i|0)>=j[k+16>>2]){break a}i=j[j[b+28>>2]+(i<<2)>>2];j[j[(f<<2)+n>>2]+(o<<2)>>2]=i;if(!i){break a}f=f+1|0;if((f|0)!=(d|0)){continue}break}}b:{if((m|0)<1){break b}i=0;if((a|0)>=(g|0)){break b}while(1){if(!s){y=p(a,q);f=0;while(1){t=f<<2;l=j[j[j[t+n>>2]+(o<<2)>>2]+(i<<2)>>2]<<2;c:{if(!(j[(l+k|0)+24>>2]&x)){break c}l=j[j[l+j[b+20>>2]>>2]+(h<<2)>>2];if(!l){break c}if((qe[e|0](l,j[c+t>>2]+(j[k>>2]+y<<2)|0,r,q)|0)==-1){break a}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+1|0;i=i+1|0;if((m|0)<=(i|0)){break b}if((a|0)<(g|0)){continue}break}}o=o+1|0;if((a|0)<(g|0)){continue}break}f=j[b+8>>2]}h=h+1|0;if((h|0)<(f|0)){continue}break}}oe=u}function pr(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,n=0,o=0,q=0,r=0,t=0;j[d>>2]=0;j[d+4>>2]=0;g=b?b-1|0:0;b=j[a+408>>2];a:{if(g>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=j[a+424>>2];if(!b){break a}f=c<<4;c=j[a+416>>2];g=l[f+c>>1]|j[c+(g<<4)>>2]<<16;o=j[a+104>>2];while(1){if(!(g>>>0<=m[b+20>>2]?g>>>0>=m[b+16>>2]:0)){b=j[b>>2];if(b){continue}break a}break}e=Fe(o,j[b+12>>2]);if(e){break a}e=_e(o,p(j[b+8>>2],k[b+4|0]));if(e){break a}a=k[b+5|0];t=a&2;r=a&1;q=j[b+8>>2];e=j[o+32>>2];a=k[b+4|0];c=-2147483648>>>s(a)|0;a=a-c|0;b:{c:{d:{if(!a){break d}a=p(a,q)+e|0;e:{if(r){h=k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8;n=a+3|0;a=a+4|0;break e}n=a+1|0;h=k[a|0]<<16;a=a+2|0}f=k[n|0]|h;if((f|0)==(g|0)){break c}if(g>>>0<=f>>>0){break d}e=(t?2:1)+a|0}f=p(c,q);if(q>>>0>>0){while(1){f=f>>>1|0;c=f+e|0;f:{if(r){h=k[c+1|0]<<16|k[c|0]<<24|k[c+2|0]<<8;n=c+3|0;a=c+4|0;break f}n=c+1|0;h=k[c|0]<<16;a=c+2|0}h=k[n|0]|h;if((h|0)==(g|0)){break c}e=g>>>0>h>>>0?c:e;if(f>>>0>q>>>0){continue}break}}g:{if(r){f=3;c=k[e+1|0]<<16|k[e|0]<<24|k[e+2|0]<<8;a=e+4|0;break g}f=1;c=k[e|0]<<16;a=e+2|0}if((g|0)!=(c|k[e+f|0])){break b}}c=k[a|0];if(t){c=(k[a+1|0]|c<<8)<<16>>16}j[d>>2]=i[b+6>>1]+c}Ve(o);e=0}return e|0}function ky(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0;b=j[a+36>>2]/2|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];m=f&7;n=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];o=b<<1;b:while(1){f=n;c:{d:{switch(m-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}a=a+2|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){i[a>>1]=l[(b<<1)+e>>1]}b=g-1|0;a=a+2|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+o|0;g=b;if(b){continue b}break a}b=0;continue}}}}function iy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;b=j[a+36>>2]/4|0;a:{g=j[a+28>>2];if(!g){break a}d=j[a+56>>2];e=j[a+48>>2];h=j[a+16>>2];f=j[a+24>>2];i=f&7;l=(f+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<2;b:while(1){f=l;c:{d:{switch(i-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=1;continue;case 1:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=2;continue;case 2:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=3;continue;case 3:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=4;continue;case 4:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=5;continue;case 5:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=6;continue;case 6:b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}a=a+4|0;c=c+1|0;b=7;continue;default:break e}}b=k[c|0];if((b|0)!=(d|0)){j[a>>2]=j[(b<<2)+e>>2]}b=g-1|0;a=a+4|0;c=c+1|0;f:{if((f|0)>1){f=f-1|0;break f}c=c+h|0;a=a+m|0;g=b;if(b){continue b}break a}b=0;continue}}}}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(b,c)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;d=(p(d,g)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;d=((p(d,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=b+c|0;c=c>>>0<255?c:255;b=f+h|0;h=b>>>0<255?b:255;b=d+g|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];e=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[e>>2];b=c&255;f=c>>>8&255;g=c>>>16&255;if(v){f=(p(f,s)>>>0)/255|0;g=(p(g,t)>>>0)/255|0;b=(p(b,r)>>>0)/255|0}if(u){f=(p(f,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(b,d)>>>0)/255|0;h=(p(f,h)>>>0)/255|0;c=(p(c,g)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+b|0;h=((p(h,q)>>>0)/255|0)+f|0;c=((p(c,q)>>>0)/255|0)+g|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+d|0;d=b>>>0<255?b:255;b=f+h|0;h=b>>>0<255?b:255;c=c+g|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;e=e+4|0;if(o){continue}break}e=j[a+28>>2]}else{e=c}b=e;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;e=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function cx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];f=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[f>>2];b=c&255;e=c>>>8&255;g=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;g=(p(g,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;g=(p(g,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}c=(p(c,g)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;d=(p(b,d)>>>0)/255|0;break a;case 0:c=((p(c,q)>>>0)/255|0)+g|0;h=((p(h,q)>>>0)/255|0)+e|0;d=((p(d,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+g|0;c=c>>>0<255?c:255;e=e+h|0;h=e>>>0<255?e:255;b=b+d|0;d=b>>>0<255?b:255}j[m>>2]=h<<8|d<<16|c;m=m+4|0;f=f+4|0;if(o){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;f=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function _w(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];i=b&2?k[a+63|0]:255;u=(b&48)!=0&(i|0)!=255;v=b&1;q=i^255;b=b&112;w=b-16|0;x=(b|0)==64;l=j[a+20>>2];m=l;n=j[a>>2];g=n;while(1){y=a;o=j[a+24>>2];if(o){while(1){d=j[m>>2];c=j[g>>2];b=c&255;e=c>>>8&255;f=c>>>16&255;if(v){e=(p(e,s)>>>0)/255|0;f=(p(f,r)>>>0)/255|0;b=(p(b,t)>>>0)/255|0}if(u){e=(p(e,i)>>>0)/255|0;f=(p(f,i)>>>0)/255|0;b=(p(b,i)>>>0)/255|0}o=o-1|0;c=d&255;h=d>>>8&255;d=d>>>16&255;a:{b:{switch(w|0){default:if(!x){break a}d=(p(d,f)>>>0)/255|0;h=(p(e,h)>>>0)/255|0;c=(p(b,c)>>>0)/255|0;break a;case 0:d=((p(d,q)>>>0)/255|0)+f|0;h=((p(h,q)>>>0)/255|0)+e|0;c=((p(c,q)>>>0)/255|0)+b|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}f=d+f|0;d=f>>>0<255?f:255;e=e+h|0;h=e>>>0<255?e:255;c=b+c|0;c=c>>>0<255?c:255}j[m>>2]=h<<8|c|d<<16;m=m+4|0;g=g+4|0;if(o){continue}break}g=j[a+28>>2]}else{g=c}b=g;c=b-1|0;j[y+28>>2]=c;l=j[a+32>>2]+l|0;m=l;n=j[a+12>>2]+n|0;g=n;if(b){continue}break}j[a+20>>2]=l;j[a>>2]=n}}function fq(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,m=0,n=0,o=0,q=0,r=0,s=0,t=0;m=oe+ -64|0;oe=m;q=6;e=j[a+528>>2];a:{if(!e){break a}d=j[e+4>>2];b:{if(!d){d=0;break b}t=b>>>0>d>>>0?d:b;while(1){b=p(f,12)+e|0;o=b;i=j[b+96>>2];n=j[b+92>>2];c:{if(f>>>0>>0){b=k[o+88|0];h=j[(f<<2)+c>>2];break c}b=k[o+88|0];h=(j[((b<<2)+n|0)-4>>2]-j[n>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;g=-1;g:{while(1){l=b<<2;r=l+n|0;s=j[r>>2];if((h|0)==(s|0)){break e}if((h|0)<(s|0)){break g}g=b;b=b+1|0;l=k[o+88|0];if(b>>>0>>0){continue}break}b=j[(i+(l<<2)|0)-4>>2];break d}if((g|0)>-1){break f}}b=j[i>>2];break d}b=g<<2;g=j[b+n>>2];b=Ne(h-g|0,j[i+l>>2]-j[b+i>>2]|0,j[r>>2]-g|0);d=j[e+4>>2];break d}b=j[i+l>>2]}j[(f<<2)+m>>2]=b;f=f+1|0;if(f>>>0>>0){continue}break}e=j[a+528>>2];if(!e){break a}}q=0;f=j[e>>2];if(!f){break a}c=j[e+4>>2];i=c>>>0>>0?c:d;d=0;while(1){g=65536;b=0;h=0;a=65536;if(c){while(1){a=32768;h:{i:{if(b>>>0>=i>>>0){break i}a=j[(b<<2)+m>>2];if((a|0)<1){a=0;break i}c=65536;if((a|0)>65535){break h}}c=a}g=ye(g,d>>>b&1?c:65536-c|0);b=b+1|0;h=j[e+4>>2];if(b>>>0>>0){continue}break}f=j[e>>2];a=g}j[j[e+136>>2]+(d<<2)>>2]=a;c=h;d=d+1|0;if(f>>>0>d>>>0){continue}break}}oe=m- -64|0;return q|0}function mH(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+100>>2];b=j[a+544>>2];if(b){if(b){qe[j[c+8>>2]](c,b)}j[a+540>>2]=0;j[a+544>>2]=0}Ql(a);j[a+528>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+408>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+408>>2]=0;b=j[a+412>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+412>>2]=0;b=j[a+392>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+392>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){d=j[b+36>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+36>>2]=0;j[b+40>>2]=0;d=j[b+28>>2];if(d){qe[j[c+8>>2]](c,d)}j[b+28>>2]=0;j[b+32>>2]=0;if(b){qe[j[c+8>>2]](c,b)}}j[a+20>>2]=0;j[a+24>>2]=0}}function RN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(!a|!b){break a}f=j[a+4>>2];c=j[a>>2];if(!(f|c)){break a}d=f>>31;e=c>>31;l=d+f^d|e+c^e;i=s(l);k=i-2|0;b:{if(l>>>0<=1073741823){d=f<>f;c=c>>f}c:{if((b|0)>=-2949120){e=b;f=c;break c}while(1){f=d;d=0-c|0;g=(b|0)<-8847360;c=f;e=b+5898240|0;b=e;if(g){continue}break}}d:{if((e|0)<=2949120){b=d;c=e;break d}while(1){b=f;f=0-d|0;g=(e|0)>8847360;d=b;c=e-5898240|0;e=c;if(g){continue}break}}g=116640;e=1;d=1;while(1){h=b+e>>d;e:{if((c|0)<=-1){c=j[g>>2]+c|0;b=b-(e+f>>d)|0;f=f+h|0;break e}c=c-j[g>>2]|0;b=(e+f>>d)+b|0;f=f-h|0}e=e<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}c=b>>31;d=c+b^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;b=(b|0)<0?0-c|0:c;c=f>>31;d=c+f^c;e=d&65535;c=p(e,56281);g=d>>>16|0;d=c+p(g,23318)|0;h=d<<16;e=h+p(e,23318)|0;c=(((p(g,56281)+(d>>>16|0)|0)+((c>>>0>d>>>0)<<16)|0)+(e>>>0>>0)|0)+(e>>>0>3221225471)|0;f=(f|0)<0?0-c|0:c;if(l>>>0<=536870911){c=1<>2]=(c+b|0)+(b>>31)>>k;j[a>>2]=(c+f|0)+(f>>31)>>k;return}c=b;b=2-i|0;j[a+4>>2]=c<>2]=f<>2]=b;b=j[e+28>>2];h[a+8|0]=b;h[a+9|0]=(b+7|0)/8;b=j[e+24>>2];h[a+32|0]=0;j[a+12>>2]=b;h[a+28|0]=8;b:{if(!b){break b}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+32|0]=c;if(!(d&2)){break b}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+28|0]=c}b=j[e+20>>2];c=0;h[a+33|0]=0;j[a+16>>2]=b;h[a+29|0]=8;c:{if(!b){break c}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+33|0]=c;if(!(d&2)){break c}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+29|0]=c}b=j[e+16>>2];c=0;h[a+34|0]=0;j[a+20>>2]=b;h[a+30|0]=8;d:{if(!b){break d}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+34|0]=c;if(!(d&2)){break d}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+30|0]=c}b=j[e+12>>2];c=0;h[a+35|0]=0;j[a+24>>2]=b;h[a+31|0]=8;e:{if(!b){break e}if(!(b&1)){while(1){d=b;b=b>>>1|0;c=c+1|0;if(!(d&2)){continue}break}h[a+35|0]=c;if(!(d&2)){break e}}c=8;while(1){c=c-1|0;d=b&2;b=b>>>1|0;if(d){continue}break}h[a+31|0]=c}j[a+36>>2]=1;j[a+40>>2]=0;j[a+4>>2]=0;d=0}oe=e+32|0;return d}function kx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:r=255;l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function Ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];s=(j[a+4>>2]<<16)/(g|0)|0;t=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;u=c-16|0;v=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];r=e>>>24|0;h=e&255;b=j[q>>2];n=b&255;i=e>>>8&255;k=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(u|0){default:if(!v){break a}h=(p(b,h)>>>0)/255|0;i=(p(e,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:r=255;k=n;i=e;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=e+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h|r<<24;c=c+4|0;d=d+s|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){f=f+t|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function yx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>8&63488|b>>>5&2016|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>8&63488|g>>>5&2016|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function jk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;e=oe-16|0;oe=e;f=j[a+100>>2];j[e+12>>2]=0;d=j[a+528>>2];a:{if(!d){d=He(f,420,e+12|0);if(j[e+12>>2]){break a}j[d+416>>2]=0;j[a+528>>2]=d}b:{c:{if(!b){break c}g=j[d>>2];if(!g){l=d,m=xe(f,32,0,b,0,e+12|0),j[l+148>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,196,0,b,0,e+12|0),j[l+216>>2]=m;if(j[e+12>>2]){break a}l=d,m=xe(f,16,0,b,0,e+12|0),j[l+288>>2]=m;if(j[e+12>>2]){break a}g=xe(f,4,0,b<<1,0,e+12|0);j[d+136>>2]=g;if(j[e+12>>2]){break a}j[d+284>>2]=a+460;j[d+212>>2]=a+168;j[d+144>>2]=a+132;j[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=j[d+288>>2];h=j[d+216>>2];i=j[d+148>>2];a=2;while(1){k=(a<<2)+d|0;g=g+16|0;j[k+284>>2]=g;h=h+196|0;j[k+212>>2]=h;i=i+32|0;j[k+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}j[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=j[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}j[d+4>>2]=c}b=j[d>>2];if(j[d+24>>2]|(!b|!c)){break a}f=xe(f,4,0,p(b,c),0,e+12|0);j[d+24>>2]=f;if(j[e+12>>2]){break a}a=2;if(b>>>0<2){break a}j[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){j[f+(a<<2)>>2]=j[d+24>>2]+(p(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}j[e+12>>2]=3}oe=e+16|0;return j[e+12>>2]}function Nj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-48|0;oe=e;a:{if(!a){ve(73188,0);break a}if(Jk(a,73378)){ve(73203,0);break a}b:{if(!dg(73243)){break b}if(yg(73243,1)){c=c|4;break b}c=c&-5}c:{d:{e:{if((b|0)<=-1){b=1;d=dg(73260);f:{if(!d){break f}g=a;h=c;f=231392;g:{if(!Me(d,j[57849])){break g}if(Me(d,j[57951])){break f}f=231800}d=qe[j[f>>2]](g,h)|0;b=!d;if(d){break d}}if((j[57850]&c)==(c|0)){d=qe[j[57848]](a,c)|0;if(d){break d}}if((j[57952]&c)==(c|0)){break e}break c}if((b|0)>=2){j[e+16>>2]=1;ve(73315,e+16|0);break a}c=qe[j[j[(b<<2)+73180>>2]>>2]](a,c)|0;if(!c){break a}b=0;d=c;break d}d=qe[j[57950]](a,c)|0;if(!d){break c}}c=1;h:{if(j[d+332>>2]){break h}c=b;if(!dg(73358)){break h}c=yg(73358,1)}j[d+188>>2]=a;j[d>>2]=268305;j[d+336>>2]=c;b=Ki();j[d+352>>2]=1;j[d+304>>2]=1065353216;j[d+308>>2]=1065353216;j[d+288>>2]=1065353216;j[d+292>>2]=1065353216;j[d+320>>2]=b;b=j[d+8>>2];i:{if(!b){break i}if(qe[b|0](d,e+36|0,e+32|0)|0){break i}Wg(j[d+188>>2],e+44|0,e+40|0);n[d+304>>2]=q(j[e+44>>2])/q(j[e+36>>2]);n[d+308>>2]=q(j[e+40>>2])/q(j[e+32>>2])}i=d,k=(Ni(a)&72)!=0,j[i+192>>2]=k;uj(a,73378,d);kh(d,0);Ho(190,d);j[e>>2]=j[d+104>>2];WC(e);break a}d=0;ve(73278,0)}oe=e+48|0;return d}function Fj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];l=d<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:d=0;break c;case 0:d=7;break c;case 1:d=6;break c;case 2:d=5;break c;case 3:d=4;break c;case 4:d=3;break c;case 5:d=2;break c;case 6:break d}}d=1}while(1){e:{switch(d|0){case 0:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=1;continue;case 1:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=2;continue;case 2:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=3;continue;case 3:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=4;continue;case 4:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=5;continue;case 5:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=6;continue;case 6:j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;d=7;continue;default:break e}}d=f-1|0;j[a>>2]=j[(k[c+1|0]<<3|4)+b>>2]+j[(k[c|0]<<3)+b>>2];c=c+2|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}c=c+g|0;a=a+l|0;f=d;if(d){continue b}break a}d=0;continue}}}}function Rp(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=k[a+9|0];if(c>>>0<8){break a}d=k[a+8|0];if(d&2){break a}e=j[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}c=(b+e|0)-1|0;b=c+(e<<1)|0;d=0;while(1){h[b|0]=k[c|0];h[b-1|0]=k[c|0];h[b-2|0]=k[c|0];b=b-3|0;c=c-1|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[b|0];h[c-3|0]=k[f|0];h[c-4|0]=k[b|0];h[c-5|0]=k[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];f=b-1|0;h[c-1|0]=k[f|0];h[c-2|0]=k[f|0];h[c-3|0]=k[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){h[c|0]=k[b|0];h[c-1|0]=k[b-1|0];f=b-2|0;h[c-2|0]=k[f|0];g=b-3|0;h[c-3|0]=k[g|0];h[c-4|0]=k[f|0];h[c-5|0]=k[g|0];h[c-6|0]=k[f|0];h[c-7|0]=k[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=k[a+10|0]+2|0;h[a+10|0]=b;h[a+8|0]=k[a+8|0]|2;b=p(b,k[a+9|0]);h[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=p(b>>>3|0,e);break d}b=p(b,e)+7>>>3|0}j[a+4>>2]=b}}function xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;b=j[a+36>>2]/2|0;d=j[a+16>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}e=j[a+24>>2];h=e&7;e=(e+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];k=b<<1;l=d<<2;b:while(1){d=e;c:{d:{switch(h-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=1;continue;case 1:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=2;continue;case 2:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=3;continue;case 3:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=4;continue;case 4:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=5;continue;case 5:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=6;continue;case 6:b=j[c>>2];i[a>>1]=b>>>9&31744|b>>>6&992|b>>>3&31;a=a+2|0;c=c+4|0;b=7;continue;default:break e}}b=f-1|0;g=j[c>>2];i[a>>1]=g>>>9&31744|g>>>6&992|g>>>3&31;a=a+2|0;c=c+4|0;f:{if((d|0)>1){d=d-1|0;break f}a=a+k|0;c=c+l|0;f=b;if(b){continue b}break a}b=0;continue}}}}function vO(a,b,c,d){var e=0,f=0,g=0,i=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;e=oe-48|0;oe=e;f=Fe(a,b);j[e+44>>2]=f;a:{if(f){break a}f=uf(a,e+16|0,16);j[e+44>>2]=f;if(f){break a}f=d;d=j[e+16>>2];g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;j[f>>2]=g;f=2;d=j[e+20>>2];i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i){break a}b=b+i|0;d=j[e+24>>2];if((b|0)!=(g+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)){break a}f=Fe(a,b);j[e+44>>2]=f;if(f){break a}h[e+15|0]=k[e+31|0]+1;f=uf(a,e,16);j[e+44>>2]=f;if(f){break a}d=k[e+1|0];g=k[e|0];i=k[e+2|0];l=k[e+3|0];m=k[e+4|0];n=k[e+5|0];o=k[e+6|0];p=k[e+7|0];q=k[e+8|0];r=k[e+9|0];s=k[e+10|0];t=k[e+11|0];u=k[e+12|0];v=k[e+13|0];w=k[e+14|0];x=k[e+15|0];if(!((d|0)==k[e+17|0]&(g|0)==k[e+16|0]&(i|0)==k[e+18|0]&(l|0)==k[e+19|0]&(m|0)==k[e+20|0]&(n|0)==k[e+21|0]&(o|0)==k[e+22|0]&(p|0)==k[e+23|0]&(q|0)==k[e+24|0]&(r|0)==k[e+25|0]&(s|0)==k[e+26|0]&(t|0)==k[e+27|0]&(u|0)==k[e+28|0]&(v|0)==k[e+29|0]&(w|0)==k[e+30|0]&(x|0)==k[e+31|0])){f=2;if(d|g|i|l|m|n|o|p|q|r|s|t|u|v|w|x){break a}}y=e,z=xf(a,8),j[y+44>>2]=z;d=qf(a,e+44|0);f=j[e+44>>2];if(f){break a}f=a;a=b+d|0;f=Fe(f,a);if(f){break a}j[c>>2]=a;f=0}oe=e+48|0;return f}function QI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;j[a+724>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0;j[a+736>>2]=0;g=a+724|0;a:{b:{c:{if(!(qe[j[a+508>>2]](a,1128418371,b,f+12|0)|0)){e=2;break c}e=1;if(!(qe[j[a+508>>2]](a,1161972803,b,f+12|0)|0)){break c}if(!(qe[j[a+508>>2]](a,1651273571,b,f+12|0)|0)){break c}d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break b}e=3}j[a+732>>2]=e;d=3;c=j[f+12>>2];if(c>>>0<8){break b}d:{switch(e-1|0){case 0:case 1:d=_f(b,c,g);if(d){break b}e=j[f+12>>2];j[a+728>>2]=e;d=2;c=j[a+724>>2];if((k[c+1|0]<<16|k[c|0]<<24)!=131072){break b}d=3;c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>65535){break b}j[a+736>>2]=e>>>0<(p(c,48)|8)>>>0?(e-8>>>0)/48|0:c;break a;case 2:break d;default:break a}}d=_e(b,8);if(d){break b}d=af(b);c=af(b);e=Ff(b);Ve(b);if(!d){d=2;break b}d=3;e:{switch(c-1|0){case 0:case 2:break e;default:break b}}if(e>>>0>65535){break b}c=j[f+12>>2];d=Fe(b,j[b+8>>2]-8|0);if(d){break b}c=c>>>0<(e<<2)+8>>>0?c-8>>>2|0:e;d=(c<<2)+8|0;j[a+728>>2]=d;d=_f(b,d,g);if(d){break b}j[a+736>>2]=c;break a}if(j[g>>2]){jf(b,g)}j[a+728>>2]=0;j[a+732>>2]=0;h=d}oe=f+16|0;return h|0}function vL(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,i=0,l=0,n=0;e=oe-464|0;oe=e;f=b+8|0;g=j[f+4>>2];j[e+16>>2]=j[f>>2];j[e+20>>2]=g;j[e+40>>2]=j[b+32>>2];f=j[b+28>>2];j[e+32>>2]=j[b+24>>2];j[e+36>>2]=f;f=j[b+20>>2];j[e+24>>2]=j[b+16>>2];j[e+28>>2]=f;f=j[b+4>>2];g=j[b>>2];j[e+16>>2]=2;j[e+8>>2]=g;j[e+12>>2]=f;a:{switch(j[b+8>>2]-7|0){case 0:case 3:j[e+16>>2]=3;break;default:break a}}Nh(a,e+448|0);b:{if(j[e+456>>2]!=3){b=162;break b}l=j[a>>2];g=j[e+448>>2]+1|0;j[a>>2]=g;n=j[a+8>>2];i=j[e+452>>2]-1|0;j[a+8>>2]=i;f=e+48|0;c:{if(g>>>0>=i>>>0){break c}g=e+432|0;f=e+48|0;while(1){Nh(a,e+432|0);if(!j[e+440>>2]){break c}if(f>>>0>>0){i=j[e+436>>2];j[f>>2]=j[e+432>>2];j[f+4>>2]=i;j[f+8>>2]=j[e+440>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[a+8>>2]=n;j[a>>2]=l;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=j[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(j[b+8>>2]==7){break d}b=j[b+28>>2];if(!b){break d}h[b+j[c>>2]|0]=g}e:{if((g|0)>=1){i=k[e+28|0];f=e+48|0;while(1){j[a>>2]=j[f>>2];j[a+8>>2]=j[f+4>>2];b=lr(a,e+8|0,c,d,0);if(b){break e}j[e+24>>2]=i+j[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}j[a+8>>2]=n;j[a>>2]=l}oe=e+464|0;return b|0}function sn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;if(!(c?b:0)){ve(99470,0);return 0}k=j[b>>2];if(!k){k=j[a+16>>2]}m=j[b+12>>2];if(!m){m=j[a+28>>2]}n=k>>>8&255;i=j[a+8>>2];while(1){a:{if(i){break a}i=0;h=j[67085];d=j[h+28>>2];if(!d){break a}qe[d|0](h,a);un(j[a+12>>2],j[a+8>>2]);i=j[a+8>>2]}b:{c:{d:{e:{if((e|0)>=(i|0)){break e}g=j[a+12>>2];h=p(e,20);d=g+h|0;l=j[d+4>>2];if(j[b+4>>2]>(l|0)?l:0){break e}h=g+h|0;g=j[h+8>>2];if(!g|(g|0)>=j[b+8>>2]){break d}if(!l|j[b+4>>2]!=(l|0)){break c}}if(f){break b}return 0}if(!f){f=d;e=e+1|0;continue}if(j[f+4>>2]>(l|0)){f=d;e=e+1|0;continue}if((g|0)>2]){f=d;e=e+1|0;continue}g=j[d>>2];if((g|0)!=j[f>>2]){if((g|0)==(k|0)){f=d;e=e+1|0;continue}if((g^k)&251658240|(g>>>8&255)>>>0>>0){break c}f=d;e=e+1|0;continue}g=d;d=j[h+12>>2];f=(d|0)<(m|0)?f:(d|0)==j[f+12>>2]?f:g}e=e+1|0;continue}break}e=j[f>>2];if(!e){e=j[b>>2]}j[c>>2]=e;f:{g:{a=j[f+4>>2];if(!a){break g}i=j[f+8>>2];if(!i){break g}j[c+4>>2]=a;a=1;d=1;break f}a=j[b+4>>2];j[c+4>>2]=a;i=j[b+8>>2];d=i}g=d;j[c+8>>2]=i;h=c;d=j[f+12>>2];if(!d){d=j[b+12>>2]}j[h+12>>2]=d;j[c+16>>2]=j[f+16>>2];if(!e){j[c>>2]=370546692}if(!a){j[c+4>>2]=640}if(!g){j[c+8>>2]=480}return c}function xr(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}j[a+24>>2]=0;d=j[a+32>>2];if(!d){j[a+40>>2]=0;j[a+32>>2]=683;d=683}if(!j[a+36>>2]){j[a+36>>2]=684}c=qe[d|0](j[a+40>>2],1,24)|0;j[a+28>>2]=c;d=-4;if(!c){break a}j[c+20>>2]=0;j[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d|0)<=7){pk(a);return-2}j[c+16>>2]=d;b:{c=qe[j[a+32>>2]](j[a+40>>2],1,64)|0;c:{if(!c){break c}e=qe[j[a+32>>2]](j[a+40>>2],8,1440)|0;j[c+36>>2]=e;if(!e){qe[j[a+36>>2]](j[a+40>>2],c);break c}e=1<>2]](j[a+40>>2],1,e)|0;j[c+40>>2]=d;if(d){break b}qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c)}j[j[a+28>>2]+20>>2]=0;pk(a);return-4}f=(b|0)>-1?685:0;j[c+56>>2]=f;j[c+52>>2]=d;j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;j[c+48>>2]=d;j[c+44>>2]=d+e;d=0;if((b|0)>=0){b=qe[f|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=j[c>>2]}b=j[a+28>>2];j[b+20>>2]=c;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b>>2]=j[b+12>>2]?7:0;if((d&-2)==4){qe[j[a+36>>2]](j[a+40>>2],j[c+12>>2]);d=j[c>>2]}if((d|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;b=j[c+56>>2];d=0;if(!b){break a}b=qe[b|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;d=0}return d}function QJ(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,n=0,o=0;d=a+8208|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=j[b+160>>2]-a>>>0:0)){Pe(b,8)}c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(j[b+160>>2]-d>>>0)/12>>>0){Pe(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);l=k[d+1|0]<<16|k[d|0]<<24;a=k[d+3|0]|(l|k[d+2|0]<<8);n=k[d+5|0]<<16|k[d+4|0]<<24;c=k[d+7|0]|(n|k[d+6|0]<<8);if(a>>>0>c>>>0){Pe(b,8)}if(!(!i|a>>>0>e>>>0)){Pe(b,8)}c:{if(!j[b+164>>2]){break c}o=j[b+172>>2];e=c-a|0;if(!(o-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?o>>>0>=e>>>0:0)){Pe(b,16)}e=e+1|0;if(l){if(!e){break c}while(1){if(!(k[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Pe(b,8)}if(!(k[(a>>>3&8191)+h|0]<<(a&7)&128)){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(n){Pe(b,8)}if(!e){break c}while(1){if(k[(a>>>3&8191)+h|0]<<(a&7)&128){Pe(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function ei(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,r=0,s=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(!(c&2)){break a}j[a>>2]=c&-3;b:{if(!b|c&1){break b}c:{b=j[a+52>>2];if(k[b+69|0]&32){c=Uk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;b=j[a>>2];if(c){break c}j[a>>2]=b|2;break a}m=j[a+8>>2];n=j[a+4>>2];g=j[b+12>>2];b=k[g|0];c=Uk(p(j[a+16>>2],j[a+12>>2]));j[a+20>>2]=c;d=j[a>>2];if(c){i=(b|0)==2;q=i?263:264;r=i?265:264;j[a>>2]=d|8;Oe(c,0,p(j[a+16>>2],j[a+12>>2]));c=g+28|0;h=j[a+20>>2];s=(b|0)!=2;while(1){b=0;while(1){d:{if(!s){f=k[c|0];o=2;d=k[c+1|0];break d}f=l[c>>1];o=4;d=l[c+2>>1]}b=b+f|0;c=c+o|0;e:{if(d){c=(qe[r|0]((b<<2)+h|0,c,d,g,n)|0)+c|0;b=b+d|0;break e}if(!b){break b}}if((b|0)<(m|0)){continue}break}c=i?(c&2)+c|0:c;b=0;while(1){d=c+4|0;f=l[c>>1]+b|0;c=l[c+2>>1];f:{if(!c){b=f;break f}b=c+f|0;d=(qe[q|0]((f<<2)+h|0,d,c,g,n)|0)+d|0}c=d;if((b|0)<(m|0)){continue}break}h=(j[a+16>>2]&-4)+h|0;continue}}j[a>>2]=d|2;break a}j[a>>2]=b|8;Dh(a,0,j[j[a+52>>2]+72>>2]);j[e>>2]=0;j[e+4>>2]=0;j[e+8>>2]=j[a+8>>2];j[e+12>>2]=j[a+12>>2];Sn(a,e,a,e)}b=j[a+52>>2];j[b+68>>2]=j[b+68>>2]&-24577;b=j[b+12>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[j[a+52>>2]+12>>2]=0}oe=e+16|0}function KE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0,o=0,p=0;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);return}if(!(!b|!(k[b+9|0]&4))){Ie(a,c);Je(a,211085);return}d=c+1|0;e=j[a+788>>2];c:{if(e){if(d>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,d);if(!e){break b}j[a+792>>2]=d;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);if(!Ie(a,0)){i=c+e|0;h[i|0]=0;d=e;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}if(c+12>>>0>=i>>>0){Je(a,211064);return}l=k[c+5|0]|k[c+6|0]<<8|(k[c+7|0]<<16|k[c+8|0]<<24);n=k[c+1|0]|k[c+2|0]<<8|(k[c+3|0]<<16|k[c+4|0]<<24);g=k[c+9|0];f=k[c+10|0];if(!((f|0)==4|(g|0)!=3?!(((f|0)!=2?!g:0)|((f|0)!=3?(g-1&255)>>>0<=1:0)):0)){Je(a,211478);return}if(g>>>0>=4){Je(a,211502)}p=c+11|0;d=p;while(1){c=d;d=c+1|0;if(k[c|0]){continue}break}d=fg(a,f<<2);if(!d){break a}if(f){while(1){c=c+1|0;j[d+(o<<2)>>2]=c;d:{if(c>>>0<=i>>>0){while(1){if(!k[c|0]){break d}c=c+1|0;if(i>>>0>=c>>>0){continue}break}}Ke(a,d);Je(a,211529);return}o=o+1|0;if((o|0)!=(f|0)){continue}break}}UF(a,b,e,n>>>8&65280|n>>>24|(n<<8&16711680|n<<24),l>>>8&65280|l>>>24|(l<<8&16711680|l<<24),g,f,p,d);Ke(a,d)}return}hf(a,211072);z()}Ie(a,c);Je(a,211242);return}Je(a,211242)}function ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(h,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;l=(p(b,l)>>>0)/255|0;break a;case 0:l=b;k=e;h=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=h+i|0;h=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+l|0;l=b>>>0<255?b:255}j[c>>2]=k<<8|l<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;m=j[a+20>>2];c=m;while(1){if((f|0)>=65536){b=(f-((f|0)<131071?f:131071)|0)+65535|0;f=(f-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){n=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;n=((b>>>16|0)+n|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(n<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;e=j[c>>2];h=e&255;b=j[q>>2];i=b&255;k=e>>>8&255;l=e>>>16&255;e=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}l=(p(l,i)>>>0)/255|0;k=(p(e,k)>>>0)/255|0;h=(p(b,h)>>>0)/255|0;break a;case 0:h=b;k=e;l=i;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}i=l+i|0;l=i>>>0<255?i:255;e=e+k|0;k=e>>>0<255?e:255;b=b+h|0;h=b>>>0<255?b:255}j[c>>2]=k<<8|h|l<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;m=j[a+32>>2]+m|0;if(d){f=f+s|0;g=j[a+24>>2];d=c;c=m;continue}break}j[a+20>>2]=m}}function dx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}h=(p(b,h)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;k=(p(k,n)>>>0)/255|0;break a;case 0:k=n;i=f;h=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+h|0;h=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=k+n|0;k=b>>>0<255?b:255}j[c>>2]=i<<8|k<<16|h;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function $w(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;c=j[a+28>>2];d=c-1|0;j[a+28>>2]=d;g=j[a+24>>2];r=(j[a+4>>2]<<16)/(g|0)|0;s=(j[a+8>>2]<<16)/(c|0)|0;if(c){c=j[a+52>>2]&112;t=c-16|0;u=(c|0)==64;l=j[a+20>>2];c=l;while(1){if((e|0)>=65536){b=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(b&-65536)|0)-65536|0;o=((b>>>16|0)+o|0)+1|0}if(g){m=-1;d=65536;q=0;while(1){if((d|0)>=65536){b=(d-((d|0)<131071?d:131071)|0)+65535|0;m=((b>>>16|0)+m|0)+1|0;q=(j[a>>2]+p(j[a+12>>2],o)|0)+(m<<2)|0;d=(d-(b&-65536)|0)-65536|0}g=g-1|0;f=j[c>>2];h=f&255;b=j[q>>2];n=b&255;i=f>>>8&255;k=f>>>16&255;f=b>>>8&255;b=b>>>16&255;a:{b:{switch(t|0){default:if(!u){break a}k=(p(b,k)>>>0)/255|0;i=(p(f,i)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;break a;case 0:h=n;i=f;k=b;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}b=b+k|0;k=b>>>0<255?b:255;b=f+i|0;i=b>>>0<255?b:255;b=h+n|0;h=b>>>0<255?b:255}j[c>>2]=i<<8|h|k<<16;c=c+4|0;d=d+r|0;if(g){continue}break}d=j[a+28>>2]}c=d-1|0;j[a+28>>2]=c;l=j[a+32>>2]+l|0;if(d){e=e+s|0;g=j[a+24>>2];d=c;c=l;continue}break}j[a+20>>2]=l}}function hB(a,b,c){var d=0,e=0,f=0,g=0,m=0,n=0;d=oe-96|0;oe=d;j[a+12>>2]=0;j[a+8>>2]=b;Oe(j[a+20>>2],0,j[j[a>>2]+28>>2]<<2);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);a:{b:{if(!c){break b}g=1;while(1){m=0;b=0;c:{d:{e:{f:{g:{e=k[c|0];switch(e-32|0){case 26:break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break d;case 0:break f;case 12:break g;default:break e}}uo(a,d- -64|0,d+32|0);Oe(d- -64|0,0,20);Oe(d+32|0,0,20);m=1;break c}m=g;b=f;break c}if(!e){break b}}if(g){if(f>>>0>=20){j[d+16>>2]=d- -64;ve(72895,d+16|0);break a}h[(d- -64|0)+f|0]=e;m=1;b=f+1|0;break c}if(f>>>0>=20){j[d>>2]=d+32;ve(72921,d);break a}h[(d+32|0)+f|0]=e;b=f+1|0}c=c+1|0;f=b;g=m;continue}}if(!(k[d+32|0]|k[d+64|0])){break a}uo(a,d- -64|0,d+32|0)}f=j[a+12>>2];if((f|0)>=1){m=j[a+16>>2];c=0;while(1){b=m+(c<<5)|0;h:{if(j[b>>2]!=2|j[b+16>>2]!=2|(j[b+20>>2]&-2)!=4){break h}e=j[b+4>>2];g=j[a>>2];if((e|0)>=j[g+28>>2]){break h}g=j[g+32>>2];n=g+(e<<4)|0;e=l[b+8>>1];i[n+4>>1]=e;i[(g+(j[b+4>>2]<<4)|0)+2>>1]=e}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+96|0}function uo(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{b:{e=k[b|0];switch(e-43|0){case 0:case 2:break b;default:break a}}b=b+1|0;f=e}i=lB(b);e=kB(b);c:{d:{e:{if((i|0)!=-1){e=32767;m=2;if((i&-2)==4){break d}f:{switch(f-43|0){case 0:break d;case 2:break e;default:break f}}n=-32768;break d}if((e|0)!=-1){m=1;i=e;break d}j[g>>2]=b;ve(72956,g);break c}e=-32768}f=0;g:{h:{b=k[c|0];switch(b-43|0){case 0:case 2:break h;default:break g}}c=c+1|0;f=b}d=Le(c);i:{j:{b=k[c|0];if((b|0)==97){o=k[(c+d|0)-1|0];if(h[c+1|0]-48>>>0<10){d=0;b=32767;l=rf(c+1|0);k:{l:{switch(f-43|0){case 2:b=-32768;break k;case 0:break k;default:break l}}d=-32768}c=(o|0)==126;f=c?b:d;b=c?d:b;c=2;break i}b=k[c|0]}if((b&255)==98){if(h[c+1|0]-48>>>0<10){break j}b=k[c|0]}if(!((b&255)!=104|h[c+1|0]-48>>>0>=10|(k[c+2|0]!=46|h[c+3|0]-48>>>0>=10))){l=rf(c+1|0);f=rf(c+3|0);c=3;break i}j[g+16>>2]=c;ve(72989,g+16|0);break c}l=rf(c+1|0);c=1}d=j[a+12>>2]+1|0;j[a+12>>2]=d;d=mf(j[a+16>>2],d<<5);j[a+16>>2]=d;if(!d){j[a+12>>2]=0;Be(0);break c}a=(d+(j[a+12>>2]<<5)|0)-32|0;j[a+20>>2]=i;j[a+16>>2]=m;j[a+4>>2]=l;j[a>>2]=c;j[a+28>>2]=e;j[a+24>>2]=n;j[a+12>>2]=b;j[a+8>>2]=f}oe=g+32|0}function gl(a){var b=0,c=0,d=0,e=0;c=j[66371];a:{if(j[67035]==(a|0)){break a}b:{c:{d:{e:{f:{if(j[67036]?!a:0){break f}g:{h:{if(a){if(j[67018]){b=1;if(yg(71609,0)){break f}}b=j[67020];if(b){break h}break g}b=j[67020];if(!b){break d}}if(!a|(qe[b|0](a)|0)>-1){break e}}b=1;if(j[67018]){break f}ve(71524,0);return}j[67036]=b}j[67039]=0;j[67040]=0;j[67035]=a;i:{if(!a|!c){break i}b=j[67024];j:{if((b|0)==(c|0)){break j}if(b){zf(b,11,0,0)}j[67024]=c;j[67034]=0;zf(c,10,0,0);b=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!b){break j}qe[b|0](d)|0;break j}if(!b){break j}qe[b|0](0)|0}b=j[c+28>>2]/2|0;d=j[c+24>>2]/2|0;e=j[67018];if(e){qe[e|0](c,d,b);break i}e=j[67023];if(!Gh(c,d,b,(e|0)!=-1)){break i}Fh(c,e,0,d,b)}c=j[67024];if(!c){break b}nn(c);if(!a){break c}break b}j[67039]=0;j[67040]=0;j[67035]=a;a=j[67024];if(!a){break b}nn(a)}a=j[67024];if(!a){break b}c=j[67026];b=j[67025];d=j[67018];if(d){qe[d|0](a,b,c);break b}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break b}Fh(a,d,0,b,c)}Xi(1024,1024);a=j[67015];c=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!c|!j[67051]))){if(!a){break a}qe[a|0](c)|0;return}if(!a){break a}qe[a|0](0)|0}}function np(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=j[a+4>>2];d:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break d}c=ff(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}d=c-48|0;break a}f=(c|0)==45;b=!b;c=j[a+4>>2];e:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break e}c=ff(a)}d=c-48|0;if(!(b|d>>>0<10|!j[a+104>>2])){j[a+4>>2]=j[a+4>>2]-1}}f:{if(d>>>0<10){d=0;while(1){d=p(d,10)+c|0;b=j[a+4>>2];g:{if(b>>>0>2]){j[a+4>>2]=b+1;c=k[b|0];break g}c=ff(a)}e=c-48|0;d=d-48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=hP(b,d,10,0);b=d+c|0;c=pe;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=j[a+4>>2];i:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break i}c=ff(a)}e=c-48|0;if(e>>>0>9){break h}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){c=j[a+4>>2];j:{if(c>>>0>2]){j[a+4>>2]=c+1;c=k[c|0];break j}c=ff(a)}if(c-48>>>0<10){continue}break}}if(j[a+104>>2]){j[a+4>>2]=j[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!j[a+104>>2]){break f}j[a+4>>2]=j[a+4>>2]-1;pe=-2147483648;return 0}pe=d;return b}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;f=oe-16|0;oe=f;h=j[a+100>>2];j[f+12>>2]=0;q=l[a+340>>1];a:{if(!q){break a}g=-1;k=-1;n=-1;o=-1;m=j[a+356>>2];e=m;while(1){b:{if(!l[e+8>>1]|l[e+6>>1]!=(b|0)){break b}c:{switch(l[e>>1]){case 0:case 2:g=d;break b;case 1:if(!l[e+4>>1]){n=d;break b}o=l[e+2>>1]?o:d;break b;case 3:break c;default:break b}}if((l[e+4>>1]&1023)!=9?(k|0)!=-1:0){break b}r=l[e+2>>1];if(r>>>0>10|!(1<>1]&1023)==9;k=d}e=e+20|0;d=d+1|0;if((q|0)!=(d|0)){continue}break}d=(n|0)>-1?n:o;d:{e:{f:{if((k|0)>=0){if((d|0)>=0){b=813;if(!s){break f}}e=0;d=p(k,20)+m|0;g=l[d+2>>1];if(g>>>0>10){break a}b=814;if(1<-1){break f}e=0;b=814;d=g;if((d|0)<0){break a}}if(!m){break d}d=p(d,20)+m|0}g:{if(j[d+16>>2]){break g}a=j[a+360>>2];e=0;t=d,u=xe(h,1,0,l[d+8>>1],0,f+12|0),j[t+16>>2]=u;h:{if(j[f+12>>2]){break h}g=Fe(a,j[d+12>>2]);j[f+12>>2]=g;if(g){break h}a=uf(a,j[d+16>>2],l[d+8>>1]);j[f+12>>2]=a;if(!a){break g}}a=j[d+16>>2];if(a){qe[j[h+8>>2]](h,a)}i[d+8>>1]=0;j[d+16>>2]=0;break a}e=qe[b|0](d,h)|0;break a}e=0}j[c>>2]=e;oe=f+16|0;return j[f+12>>2]}function Jw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Iv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function $v(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];r=b&48;b=b&112;s=b-16|0;t=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){u=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;o=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!r|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;q=b>>>24|0;c=b&255;b=d&255;d=o&255;a:{b:{switch(s|0){default:if(!t){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:o=e;e=e^255;q=o+((p(e,q)>>>0)/255|0)|0;c=((p(c,e)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c|q<<24;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[u+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Eq(a,b,c,d,e,f,g,h,i){var k=0,l=0,m=0,s=0,t=q(0),u=0,v=q(0),w=0,x=q(0),z=0,A=0;l=oe;A=l;z=j[a+4>>2];l=l-((h<<2)+15&-16)|0;oe=l;a=h;a=j[z+500>>2]?j[z+504>>2]-g|0:a;a=(a|0)>(h|0)?h:a;a:{if((a|0)<1){a=0;break a}while(1){if(!(j[(m<<2)+f>>2]?f:0)){s=m<<2;k=kP(y(+q(n[s+d>>2]/n[e+s>>2])));k=n[c+s>>2]>2]=w}m=m+1|0;if((m|0)!=(a|0)){continue}break}}c:{if((a|0)>=(h|0)){break c}m=b-g|0;s=(f|0)!=0;while(1){d:{if(j[(a<<2)+f>>2]?f:0){break d}b=a<<2;g=b+d|0;v=n[b+e>>2];t=q(n[g>>2]/v);if(!(s&(a|0)<(m|0)|t>2]=g;u=u+1|0;x=q(x+t);break d}w=b+i|0;k=kP(y(+t));k=n[b+c>>2]>2]=b;n[g>>2]=v*q(p(b,b)|0)}a=a+1|0;if((h|0)!=(a|0)){continue}break}if(!u){break c}eg(l,u,4,103);if((u|0)<1){break c}k=o[z+512>>3];a=0;while(1){t=q(0);f=j[l+(a<<2)>>2];b=f-d>>2;g=(b<<2)+i|0;if(k<=+x^1){b=0}else{b=b<<2;t=n[b+e>>2];x=q(x+q(-1));v=(qP(2,j[b+c>>2]&-2147483648|1065353216),tP());f:{if(q(r(v))>2]=b;n[f>>2]=t;a=a+1|0;if((u|0)!=(a|0)){continue}break}}oe=A}function Jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0;b=j[a+36>>2]/2|0;f=j[a+16>>2]/2|0;a:{h=j[a+28>>2];if(!h){break a}d=j[j[a+40>>2]+24>>2]^-1;e=d&j[a+56>>2];g=j[a+24>>2];k=g&7;g=(g+7|0)/8|0;c=j[a>>2];a=j[a+20>>2];m=b<<1;n=f<<1;b:while(1){f=g;c:{d:{switch(k-1|0){default:b=0;break c;case 0:b=7;break c;case 1:b=6;break c;case 2:b=5;break c;case 3:b=4;break c;case 4:b=3;break c;case 5:b=2;break c;case 6:break d}}b=1}while(1){e:{switch(b|0){case 0:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=1;continue;case 1:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=2;continue;case 2:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=3;continue;case 3:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=4;continue;case 4:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=5;continue;case 5:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=6;continue;case 6:b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}c=c+2|0;a=a+2|0;b=7;continue;default:break e}}b=l[c>>1];if((b&d)!=(e|0)){i[a>>1]=b}b=h-1|0;c=c+2|0;a=a+2|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+m|0;c=c+n|0;h=b;if(b){continue b}break a}b=0;continue}}}}function qm(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=j[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Fe(j[a>>2],j[a+68>>2])){break a}e=j[a+40>>2];c:{if(!e){break c}j[a+20>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[e>>2]=j[e+12>>2]?7:0;f=j[e+20>>2];e=j[f>>2];if((e&-2)==4){qe[j[a+48>>2]](j[a+52>>2],j[f+12>>2]);e=j[f>>2]}if((e|0)==6){qe[j[a+48>>2]](j[a+52>>2],j[f+4>>2])}j[f+28>>2]=0;j[f+32>>2]=0;j[f>>2]=0;e=j[f+40>>2];j[f+52>>2]=e;j[f+48>>2]=e;e=j[f+56>>2];if(!e){break c}e=qe[e|0](0,0,0)|0;j[f+60>>2]=e;j[a+60>>2]=e}j[a+28>>2]=0;j[a+12>>2]=a+72;j[a+16>>2]=0;e=a+8264|0;j[a+8272>>2]=e;j[a+24>>2]=a+4168;j[a+8268>>2]=e;j[e>>2]=0}if(b>>>0>g>>>0){f=j[a+8268>>2];e=j[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(wr(a)){return 0}f=j[a+8268>>2];e=j[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;j[a+8268>>2]=e+f;j[a+8264>>2]=e+j[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=j[a+8268>>2];b=j[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Ae(c,e,f);j[a+8268>>2]=f+j[a+8268>>2];j[a+8264>>2]=f+j[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!wr(a)){continue}break}}return g}function Qg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=oe-16|0;oe=g;a:{if((c|0)<1){break a}l=j[a+4>>2];while(1){i=(n<<3)+b|0;b:{if(!j[i>>2]){bh(l);if(j[l+12>>2]>1){break a}d=j[l>>2];f=d-1|0;o=j[l+8>>2];c:{while(1){m=3;if(d>>>0>=o>>>0){e=d;break c}e=d+1|0;j[l>>2]=e;p=k[d|0];d=e;d:{switch(p-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}m=2}j[l+12>>2]=m;j[g+8>>2]=f;break b}f=vh(l);j[g+8>>2]=f;if(!f){break a}e=j[l>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(j[i>>2]){case 0:case 1:d=jj(j[a>>2],d,g+4|0);j[i+4>>2]=d;if(j[g+4>>2]){break e}Ae(d,f,e);h[e+j[i+4>>2]|0]=0;break e;case 2:q=i,r=xh(g+8|0,e+f|0,0),j[q+4>>2]=r;break e;case 3:j[g+12>>2]=f;o=e+f|0;m=Rg(g+12|0,o,10);e=0;d=j[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(k[d|0]!=35|d>>>0>=o>>>0)){f=d+1|0;j[g+12>>2]=f;m=Rg(g+12|0,o,m);d=j[g+12>>2];if((f|0)==(d|0)){break g}}j[g+8>>2]=d;e=m}j[i+4>>2]=e;break e;case 4:if((e|0)==4){e=!Qe(f,135016,4)}else{e=0}h[i+4|0]=e;break e;case 5:break f;default:break e}}d=j[a+12>>2];if(d){q=i,r=qe[d|0](f,e,j[a+16>>2])|0,j[q+4>>2]=r;break e}j[i+4>>2]=0}n=n+1|0;if((n|0)!=(c|0)){continue}break}n=c}oe=g+16|0;return n}function Hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;i=j[a+2984>>2];a:{if(!(i&4)){break a}g=j[a+2988>>2];if(k[(g+p(b,1572)|0)+256|0]){break a}a=c>>31;f=a+c^a;b:{c:{d:{if((b|0)==1){if(i&2){break d}if(!(e&2)|(f|0)>191){break c}a=f;break b}if(!(i&1)){break c}}l=g+p(b,1572)|0;m=j[l+52>>2];e:{f:{if(m){a=98;d=0;e=f;while(1){n=j[(l+p(d,12)|0)+60>>2];h=f-n|0;g=h>>31;h=g^g+h;g=(h|0)<(a|0);a=g?h:a;e=g?n:e;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=e+32&-64;a=d;if((e|0)<=(f|0)){break f}d=(d-48|0)<(f|0)?e:f;break e}e=f;a=f+32&2147483584}d=(a|48)>(f|0)?e:f}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(i&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-f|0;b=d>>31;if((b^b+d)<16){break b}if((f|0)>47){a=f;break b}a=f- -64>>>1|0;break b}a=d+32&-64;break b}a=d&1?(f|0)<80?64:f:(f|0)>56?f:56;b=g+p(b,1572)|0;if(!j[b+52>>2]){break b}b=j[b+60>>2];e=a-b|0;d=e>>31;if((d^d+e)<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}a=a+32&2147483584}c=(c|0)<0?0-a|0:a}return c}function TE(a,b,c){var d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;d=oe+ -64|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=32){Ie(a,c);Je(a,211064);break a}pf(a,d+32|0,32);tf(a,d+32|0,32);if(Ie(a,0)){break a}c=k[d+32|0]<<24;e=k[d+35|0]|(c|k[d+33|0]<<16|k[d+34|0]<<8);j[d+24>>2]=(e|0)>-1?e:-1;e=k[d+36|0]<<24;f=k[d+39|0]|(e|k[d+37|0]<<16|k[d+38|0]<<8);j[d+28>>2]=(f|0)>-1?f:-1;f=k[d+40|0]<<24;g=k[d+43|0]|(f|k[d+41|0]<<16|k[d+42|0]<<8);j[d>>2]=(g|0)>-1?g:-1;g=k[d+44|0]<<24;h=k[d+47|0]|(g|k[d+45|0]<<16|k[d+46|0]<<8);j[d+4>>2]=(h|0)>-1?h:-1;h=k[d+48|0]<<24;m=k[d+51|0]|(h|k[d+49|0]<<16|k[d+50|0]<<8);j[d+8>>2]=(m|0)>-1?m:-1;m=k[d+52|0]<<24;n=k[d+55|0]|(m|k[d+53|0]<<16|k[d+54|0]<<8);j[d+12>>2]=(n|0)>-1?n:-1;n=k[d+56|0]<<24;o=k[d+59|0]|(n|k[d+57|0]<<16|k[d+58|0]<<8);j[d+16>>2]=(o|0)>-1?o:-1;o=k[d+60|0]<<24;p=k[d+63|0]|(o|k[d+61|0]<<16|k[d+62|0]<<8);j[d+20>>2]=(p|0)>-1?p:-1;if((o|(n|(m|(h|(g|(f|(c|e)))))))<=-1){Je(a,211177);break a}c=l[a+898>>1];if(c&32768){break a}if(c&16){i[a+898>>1]=c|32768;sh(a,b);Je(a,211085);break a}i[a+898>>1]=c|16;DF(a,a+824|0,d);sh(a,b)}oe=d- -64|0;return}hf(a,211072);z()}function hy(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+4>>2];d=j[a+52>>2];c=j[j[d>>2]+4>>2];a=0;a:{b:{c:{d:{e=j[d+68>>2]&-28673;switch(e-16|0){case 1:break a;case 2:break b;case 0:break c;default:break d}}if(j[b+24>>2]|(e|0)!=274){break a}a=290;if(k[c+9|0]!=1){break a}return j[c+4>>2]?291:290}a=292;e:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?293:292;case 1:if(k[b+9|0]!=4|j[b+24>>2]!=-16777216|j[b+16>>2]!=65280){break a}if(j[b+20>>2]!=255|j[c+20>>2]!=31?!(j[c+12>>2]==31?j[b+12>>2]==255:0):0){break a}a=j[c+16>>2];return(a|0)==2016?294:(a|0)==992?295:292;case 3:break e;default:break a}}if(!(j[b+12>>2]!=j[c+12>>2]|j[b+16>>2]!=j[c+16>>2]|(j[b+20>>2]!=j[c+20>>2]|k[b+9|0]!=4))){a=296;if(j[b+24>>2]==-16777216){break a}}return 292}if(j[b+24>>2]){break a}a=297;f:{switch(k[c+9|0]-1|0){case 0:return j[c+4>>2]?298:297;case 1:if(!j[d+4>>2]){break a}a=j[c+16>>2];return(a|0)==2016?299:(a|0)==992?300:297;case 3:break f;default:break a}}d=j[b+12>>2];g:{if((d|0)!=j[c+12>>2]){break g}e=j[b+16>>2];if((e|0)!=j[c+16>>2]){break g}f=j[b+20>>2];if((f|0)!=j[c+20>>2]|k[b+9|0]!=4){break g}a=301;if((d|e|f)==16777215){break a}}a=297}return a}function Li(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+28>>2];if(c){d=j[c+8>>2];if((d|0)>=1){e=c+32|0;while(1){f=j[e+(b<<2)>>2];if(f){ze(f);d=j[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+12>>2];if((d|0)>=1){e=c+288|0;f=c+544|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3836>>2]+8>>2]](h);d=j[c+12>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+16>>2];if((d|0)>=1){e=c+800|0;f=c+1056|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3816>>2]+12>>2]](h);d=j[c+16>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=j[c+20>>2];if((d|0)>=1){e=c+1312|0;f=c+1568|0;b=0;while(1){g=b<<2;h=j[g+f>>2];if(h){qe[j[j[(j[e+g>>2]<<2)+3824>>2]+12>>2]](h);d=j[c+20>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}if(j[c+24>>2]>=1){d=c+1824|0;b=0;while(1){e=j[d+(b<<2)>>2];if(e){sk(e)}e=j[c+2848>>2];if(e){dO(e+p(b,56)|0)}b=b+1|0;if((b|0)>2]){continue}break}}b=j[c+2848>>2];if(b){ze(b)}if(j[c+28>>2]>=1){d=c+2852|0;b=0;while(1){Sh(j[d+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function LC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[262188];a:{if(a&1|(!j[65546]|(c|0)<1)){break a}while(1){b:{if(!j[j[65546]+12>>2]){break b}d=j[65546];a=j[d+16>>2];j[d+16>>2]=a+1;d=j[65546];if((a|0)>2]){if(!j[j[j[65546]>>2]+36>>2]){break b}a=j[j[65546]+20>>2];d=j[d+16>>2];qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],(p(j[57792],j[j[65546]+12>>2]==1?a-d|0:d)|0)/(a|0)|0);break b}a=j[65546];if(j[d+12>>2]==1){if(j[j[a>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]();return}j[a+12>>2]=0}if(j[j[j[65546]>>2]+48>>2]){a=qe[j[j[j[65546]>>2]+48>>2]](j[j[65546]+4>>2],b,c)|0;if(a){j[j[65546]+8>>2]=0}d=(c-a|0)+b|0;c=(a|0)>0;b=c?d:b;c=c?a:0}else{c=0}c:{if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}if(j[j[65546]+8>>2]){break c}}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break c}qe[a|0]()}if(!c|!j[65546]){break a}if(!(h[262188]&1)){continue}break}}}function zi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,n=0;l=oe-16|0;oe=l;g=6;a:{if(!a){break a}i=j[a+8>>2];if(i>>>0<=b>>>0){break a}n=j[a>>2];b:{c:{d:{e:{f:{g:{e=j[a+24>>2];if(!e){g=Fe(n,(j[a+4>>2]+p(k[a+12|0],b)|0)+3|0);if(g){break a}g=uf(j[a>>2],l+12|0,k[a+12|0]);if(g){break a}e=k[a+12|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=k[(l+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=uf(j[a>>2],l+12|0,e&255);h:{if(g){break h}f=k[a+12|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=k[(l+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=m[a+8>>2]){break e}e=k[a+12|0];continue}}g=0;h=j[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=j[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=j[n+4>>2];e=b+1|0;if(e>>>0>=f>>>0){break d}i=j[a+16>>2];break c}h=0;g=0}b=j[n+4>>2];f=0}i=j[a+16>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;j[d>>2]=b;d=j[a+28>>2];if(d){j[c>>2]=(d+h|0)-1;break a}g=Fe(n,(j[a+16>>2]+h|0)-1|0);if(g){break a}g=_f(n,b,c);break a}j[c>>2]=0;j[d>>2]=0}oe=l+16|0;return g}function zo(a,b,c,d,e,f){var g=0,i=0,k=0,l=0,m=q(0),o=0,p=q(0),s=0;k=oe+ -64|0;oe=k;o=dl(a,b);a:{if(!o){break a}b:{if(!(!j[67043]|(a|0)==-1&(b|0)==-1)){g=j[67024];if(!g|!(h[268228]&1)|((a|0)!=j[67058]|(b|0)!=j[67059]|((c|0)!=j[67060]|(d|0)!=j[67061]))){break b}l=j[g+28>>2];m=q(q(l|0)*f);c:{if(q(r(m))0?i:0;i=(l|0)>(i|0)?i:l-1|0;s=g;l=j[g+24>>2];m=q(q(l|0)*e);d:{if(q(r(m))0?g:0;Pj(s,-1,0,(g|0)<(l|0)?g:l-1|0,i);break b}if((a|0)!=-1|(b|0)!=-1){break b}if(!j[67044]){break a}}e:{l=j[o+12>>2];f:{if((l|0)<1){break f}o=j[o+20>>2];i=0;while(1){g=j[o+(i<<2)>>2];if(j[g>>2]!=(c|0)|j[g+4>>2]!=(d|0)){i=i+1|0;if((l|0)!=(i|0)){continue}break f}break}if((l|0)>(i|0)){break e}}Oj(a,b,c,d,1,e,f);break a}p=q(e-n[g+8>>2]);m=q(f-n[g+12>>2]);if(q(q(1)-n[g+16>>2])==q(0)?!(p!=q(0)|m!=q(0)):0){break a}n[g+16>>2]=1;n[g+12>>2]=f;n[g+8>>2]=e;if((We(1794,-1)|0)!=1){break a}n[k+48>>2]=1;n[k+44>>2]=m;n[k+40>>2]=p;n[k+36>>2]=f;n[k+32>>2]=e;j[k+24>>2]=c;j[k+28>>2]=d;j[k+16>>2]=a;j[k+20>>2]=b;j[k+8>>2]=1794;gf(k+8|0)}oe=k- -64|0}function Bj(a,b,c){var d=0,e=0,f=0;d=Xe(1,60);if(!d){Be(0);return 0}f=Qk(c);j[d+4>>2]=f;a:{b:{if(!f){break b}j[d+12>>2]=b;j[d+8>>2]=a;c:{if(!(!c|(c&-268435456)==268435456)){e=2;if((c|0)==844715353|(c|0)==1498831189){break c}e=(c|0)==1431918169?2:1;break c}e=c&255}e=p(e,a);d:{e:{switch((c>>>8&255)-1|0){case 0:e=(e+7|0)/8|0;break d;case 3:break e;default:break d}}e=(e+1|0)/2|0}j[d+48>>2]=b;j[d+44>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e+3&-4;b=j[f>>2];if(!(((b&-268435456)!=268435456?b:0)|(b>>>24&15)-1>>>0>2)){b=yv(1<>2]==2){a=j[b+4>>2];h[a+4|0]=0;h[a+5|0]=0;h[a+2|0]=255;h[a|0]=255;h[a+1|0]=255;h[a+6|0]=0}if((Nk(j[d+4>>2],b)|0)>=0){vf(j[d+52>>2])}zv(b);a=j[d+8>>2]}f:{if(!a){break f}a=j[d+12>>2];if(!a){break f}b=j[d+16>>2];a=hP(b,b>>31,a,a>>31);b=pe;if(!b&a>>>0>=2147483648|b){break a}a=Uk(a);j[d+20>>2]=a;if(!a){break a}j[d>>2]=j[d>>2]|8;Oe(a,0,p(j[d+16>>2],j[d+12>>2]))}a=xv();j[d+52>>2]=a;if(!a){break b}g:{if(!j[j[d+4>>2]+24>>2]){break g}b=j[a+68>>2];c=b&-113|16;j[a+68>>2]=c;if((b|0)==(c|0)){break g}vf(a)}j[d+56>>2]=1;return d}kf(d);return 0}kf(d);Be(0);return 0}function $L(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,k=0,l=0,m=0,n=0,o=0,s=0,t=0,u=q(0),v=q(0),w=0,x=0,y=0;a:{if((e|0)<1){break a}while(1){f=g<<2;if(j[f+d>>2]){j[(h<<2)+c>>2]=j[c+f>>2];h=h+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!h){break a}i=j[b>>2];k=j[i+8>>2];n=(j[i+4>>2]-j[i>>2]|0)/(k|0)|0;s=j[i+12>>2];o=Ef(a,h<<2);if((h|0)>=1){e=n<<2;g=0;while(1){d=Ef(a,e);j[(g<<2)+o>>2]=d;Ee(d,0,e);g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((n|0)>=1){v=q(100/+(k|0));e=s-1|0;w=(h|0)<1;while(1){if(!w){x=j[i>>2]+p(k,m)|0;l=0;while(1){b:{if((k|0)<1){g=0;d=0;break b}y=j[(l<<2)+c>>2];d=0;g=0;a=0;while(1){f=j[(a+x<<2)+y>>2];t=f>>31;f=t^f+t;g=(g|0)<(f|0)?f:g;d=d+f|0;a=a+1|0;if((k|0)!=(a|0)){continue}break}}f=(s|0)<2;u=q(v*q(d|0));c:{if(q(r(u))>2]>=(g|0)){f=j[f+2584>>2];if((f|0)<0|(d|0)<(f|0)){break d}}a=a+1|0;if((e|0)!=(a|0)){continue}break}a=e}j[j[(l<<2)+o>>2]+(m<<2)>>2]=a;l=l+1|0;if((l|0)!=(h|0)){continue}break}}m=m+1|0;if((n|0)!=(m|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return o|0}function xO(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;d=oe-144|0;oe=d;m=Te((c?c:b)<<2);g=Ee(d,0,132);a:{b:{c:{d:{if((b|0)<1){break d}p=!c;while(1){i=p;d=h[a+q|0];e:{if((d|0)<1){break e}o=(d|0)>31;i=(d<<2)+g|0;l=j[i>>2];if(l>>>d|0?!o:0){break c}j[(n<<2)+m>>2]=l;e=d;f=l;f:{if(!(l&1)){while(1){j[i>>2]=f+1;if((e|0)<2){break f}e=e-1|0;i=(e<<2)+g|0;f=j[i>>2];if(!(f&1)){continue}break}}if((e|0)==1){j[g+4>>2]=j[g+4>>2]+1;break f}j[i>>2]=j[((e<<2)+g|0)-4>>2]<<1}i=1;if(o){break e}while(1){o=l;e=d+1|0;f=(e<<2)+g|0;l=j[f>>2];if((o|0)!=(l>>>1|0)){break e}j[f>>2]=j[(d<<2)+g>>2]<<1;d=e;if((d|0)!=32){continue}break}}n=i+n|0;q=q+1|0;if((q|0)!=(b|0)){continue}break}if((n|0)!=1){break d}if(j[g+8>>2]==2){break b}}d=1;while(1){if(j[(d<<2)+g>>2]<<32-d){break c}d=d+1|0;if((d|0)!=33){continue}break}break b}ze(m);m=0;break a}if((b|0)<1){break a}f=0;i=(c|0)!=0;c=0;while(1){e=0;d=k[a+f|0];l=d<<24>>24;if((l|0)>=1){p=d>>>0>1?d:1;n=j[(c<<2)+m>>2];d=0;while(1){e=n>>>d&1|e<<1;d=d+1|0;if((p|0)!=(d|0)){continue}break}}if(!(i&!l)){j[(c<<2)+m>>2]=e;c=c+1|0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}oe=g+144|0;return m}function Ae(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ia(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){j[c>>2]=j[b>>2];j[c+4>>2]=j[b+4>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=j[b+12>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=j[b+20>>2];j[c+24>>2]=j[b+24>>2];j[c+28>>2]=j[b+28>>2];j[c+32>>2]=j[b+32>>2];j[c+36>>2]=j[b+36>>2];j[c+40>>2]=j[b+40>>2];j[c+44>>2]=j[b+44>>2];j[c+48>>2]=j[b+48>>2];j[c+52>>2]=j[b+52>>2];j[c+56>>2]=j[b+56>>2];j[c+60>>2]=j[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){j[c>>2]=j[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){h[c|0]=k[b|0];h[c+1|0]=k[b+1|0];h[c+2|0]=k[b+2|0];h[c+3|0]=k[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){h[c|0]=k[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function qs(a,b,c,d,e){var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;l=oe-16|0;oe=l;j[l+12>>2]=0;f=j[a+12>>2];a:{b:{c:{d:{if((f|0)<=11){if(j[a+20>>2]){break d}j[a+16>>2]=12;j[a+20>>2]=a+892;break d}m=j[a+16>>2];if((m|0)>(f|0)){d=j[a+20>>2];k=d+p(f,48)|0;break c}f=64;if((m|0)>44739241){break a}f=((m>>2)+m|0)+4|0;h=(m|0)<-16?44739242:(f|0)>44739242?44739242:f;g=j[a+20>>2];e:{if((g|0)==(a+892|0)){d=xe(d,48,0,h,0,l+12|0);j[a+20>>2]=d;f=j[l+12>>2];if(f){break a}Ae(d,g,576);break e}n=a,o=xe(d,48,m,h,g,l+12|0),j[n+20>>2]=o;f=j[l+12>>2];if(f){break a}}j[a+16>>2]=h;f=j[a+12>>2]}d=j[a+20>>2];k=d+p(f,48)|0;if((f|0)<1){break b}}f=k;while(1){f:{k=f-48|0;g=i[k>>1];if((g|0)<(b|0)){k=f;break f}if(!((b|0)!=(g|0)|j[a+24>>2]!=(c|0))){k=f;break f}g=k;h=j[g+4>>2];j[f>>2]=j[g>>2];j[f+4>>2]=h;h=j[g+44>>2];j[f+40>>2]=j[g+40>>2];j[f+44>>2]=h;h=j[g+36>>2];j[f+32>>2]=j[g+32>>2];j[f+36>>2]=h;h=j[g+28>>2];j[f+24>>2]=j[g+24>>2];j[f+28>>2]=h;h=j[g+20>>2];j[f+16>>2]=j[g+16>>2];j[f+20>>2]=h;h=j[g+12>>2];j[f+8>>2]=j[g+8>>2];j[f+12>>2]=h;f=g;if(f>>>0>d>>>0){continue}}break}f=j[a+12>>2]}j[a+12>>2]=f+1;f=0}j[e>>2]=k;oe=l+16|0;return f}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=lh(a,d<<4,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){b=0;while(1){a=f;g=n[c>>2];a:{if(q(r(g))>2]=e;a=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;e=f;g=n[c+8>>2];c:{if(q(r(g))>2]=(a|0)>1?a:1;e=f;g=n[c+12>>2];d:{if(q(r(g))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);b=0;while(1){a=f;h=q(n[c>>2]+i);e:{if(q(r(h))>2]=e;a=f;h=q(n[c+4>>2]+g);f:{if(q(r(h))>2]=e;e=f;h=n[c+8>>2];g:{if(q(r(h))>2]=(a|0)>1?a:1;e=f;h=n[c+12>>2];h:{if(q(r(h))>2]=(a|0)>1?a:1;c=c+16|0;f=f+16|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function iw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+m|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,m)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+m|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+k|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Vv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;d=((p(d,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;d=((p(d,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+k|0;c=c>>>0<255?c:255;b=b+l|0;b=b>>>0<255?b:255;d=d+m|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Pv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){m=(p(e,m)>>>0)/255|0;l=(p(e,l)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;c=((p(c,l)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+m|0;c=((p(c,e)>>>0)/255|0)+l|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Nw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c>>>24|0;k=c&255;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}d=((p(d,k)&65535)>>>0)/255|0;b=((p(b,l)&65535)>>>0)/255|0;c=((p(c,m)&65535)>>>0)/255|0;break a;case 0:e=e^255;d=((p(e,d)>>>0)/255|0)+k|0;b=((p(b,e)>>>0)/255|0)+l|0;c=((p(c,e)>>>0)/255|0)+m|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+k|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255;c=c+m|0;c=c>>>0<255?c:255}j[h>>2]=b<<8|c|d<<16;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2];o=b&48;b=b&112;q=b-16|0;r=(b|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];f=i;while(1){s=a;n=j[a+24>>2];if(n){while(1){c=j[f>>2];e=c&255;k=c>>>24|0;b=j[h>>2];d=b>>>8|0;t=b>>>16|0;l=c>>>8&255;m=c>>>16&255;if(!(!o|(e|0)==255)){l=(p(e,l)>>>0)/255|0;m=(p(e,m)>>>0)/255|0;k=(p(e,k)>>>0)/255|0}n=n-1|0;c=b&255;b=d&255;d=t&255;a:{b:{switch(q|0){default:if(!r){break a}c=((p(c,l)&65535)>>>0)/255|0;b=((p(b,m)&65535)>>>0)/255|0;d=((p(d,k)&65535)>>>0)/255|0;break a;case 0:e=e^255;c=((p(e,c)>>>0)/255|0)+l|0;b=((p(b,e)>>>0)/255|0)+m|0;d=((p(d,e)>>>0)/255|0)+k|0;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+k|0;d=d>>>0<255?d:255}j[h>>2]=b<<8|d<<16|c;h=h+4|0;f=f+4|0;if(n){continue}break}f=j[a+28>>2]}else{f=c}b=f;c=b-1|0;j[s+28>>2]=c;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;f=i;if(b){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function BO(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;if(!a){return}b=j[a+188>>2];j[a+188>>2]=b-1;if((b|0)<=1){k=j[a>>2];b=j[a+16>>2];a:{if(!b){break a}while(1){g=j[((f<<2)+a|0)+20>>2];c=j[g>>2];b:{if(we(j[c+8>>2],116472)|!(h[c|0]&1)){break b}c=j[g+16>>2];if(!c){break b}while(1){b=j[c+8>>2];c:{if(!b){break c}c=j[b+96>>2];if(!c){break c}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break c}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break c}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}f=0;while(1){g=j[((f<<2)+a|0)+20>>2];d:{if(!(h[j[g>>2]]&1)){break d}c=j[g+16>>2];if(!c){break d}while(1){b=j[c+8>>2];e:{if(!b){break e}c=j[b+96>>2];if(!c){break e}d=j[b+128>>2];e=j[d+56>>2];j[d+56>>2]=e-1;if((e|0)>1){break e}e=j[c+8>>2];i=c+16|0;d=zh(i,b);if(!d){break e}Th(i,d);if(d){qe[j[e+8>>2]](e,d)}Vh(e,b,c)}c=j[g+16>>2];if(c){continue}break}b=j[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}while(1){as(a,j[((b<<2)+a|0)+16>>2]);b=j[a+16>>2];if(b){continue}break}}if(a){qe[j[k+8>>2]](k,a)}}}function Nr(a,b,c,d,e,f){var g=0,i=0,l=0;g=oe-432|0;oe=g;j[g+12>>2]=0;l=Ee(g+16|4,0,400);j[g+428>>2]=a;j[g+424>>2]=4096;i=g+32|0;j[g+420>>2]=i;j[g+16>>2]=f;Ee(a+24|0,0,148);j[a+156>>2]=8720;j[a+60>>2]=65536;j[a+44>>2]=2;j[a+48>>2]=65536;j[a+32>>2]=-6553600;j[a+36>>2]=3276800;j[a+172>>2]=65535;j[a+136>>2]=65535;j[a+128>>2]=65535;j[a+132>>2]=65535;j[a+16>>2]=65535;j[a+20>>2]=65535;j[a+8>>2]=65535;j[a+12>>2]=65535;j[a>>2]=65535;j[a+4>>2]=65535;c=zi(b,c,g+12|0,g+8|0);if(!c){c=j[g+12>>2];c=Dr(g+16|0,c,c+j[g+8>>2]|0)}if(!j[b+28>>2]){jf(j[b>>2],g+12|0)}a:{if(c){break a}c=0;if(j[a+132>>2]!=65535){break a}c=j[a+116>>2];if(!(!c|!j[a+120>>2])){b=Ee(a+176|0,0,360);j[a+516>>2]=3932;j[a+508>>2]=-1;j[a+380>>2]=1;j[a+372>>2]=2596864;j[a+376>>2]=7;Ee(l,0,400);j[g+428>>2]=b;j[g+424>>2]=8192;j[g+420>>2]=i;j[g+16>>2]=f;c=Fe(d,c+e|0);if(c){break a}c=_e(d,j[a+120>>2]);if(c){break a}c=Dr(g+16|0,j[d+32>>2],j[d+36>>2]);Ve(d);if(c){break a}h[b|0]=k[b|0]&254}c=0;b=j[a+524>>2];if(!b){break a}c=Fe(d,j[a+116>>2]+(b+e|0)|0);if(c){break a}b=a+536|0;c=Qh(b,d,1);if(c){break a}c=vm(b,a+568|0,0)}oe=g+432|0;return c}function RM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;d=bf(1,2840);h=j[a+28>>2];m=d,n=Ce(b,24),j[m>>2]=n;m=d,n=Ce(b,24),j[m+4>>2]=n;m=d,n=Ce(b,24)+1|0,j[m+8>>2]=n;i=Ce(b,6);k=i+1|0;j[d+12>>2]=k;g=Ce(b,8);j[d+20>>2]=g;a:{if((g|0)<0){break a}b:{if((i|0)>=0){l=d+24|0;while(1){a=Ce(b,3);c=Ce(b,1);if((c|0)<0){break a}if(c){c=Ce(b,5);if((c|0)<0){break a}a=c<<3|a}j[(e<<2)+l>>2]=a;c=0;if(a){while(1){c=(a&1)+c|0;a=a>>>1|0;if(a){continue}break}}f=c+f|0;a=(e|0)<(i|0);e=e+1|0;if(a){continue}break}c:{if((f|0)>=1){c=d+280|0;a=0;while(1){e=Ce(b,8);if((e|0)<0){break c}j[c+(a<<2)>>2]=e;a=a+1|0;if((f|0)!=(a|0)){continue}break}}b=j[h+24>>2];if((b|0)<=(g|0)){break a}if((f|0)<1){break b}c=d+280|0;a=0;while(1){e=j[c+(a<<2)>>2];if((e|0)>=(b|0)|!j[j[((e<<2)+h|0)+1824>>2]+12>>2]){break a}a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(d){break a}return 0}if(j[h+24>>2]<=(g|0)){break a}}c=1;b=j[((g<<2)+h|0)+1824>>2];a=j[b>>2];if((a|0)<1){break a}b=j[b+4>>2];while(1){c=p(c,k);if((b|0)<(c|0)){break a}f=(a|0)<2;a=a-1|0;if(!f){continue}break}j[d+16>>2]=c;return d|0}ze(d);return 0}function jv(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;a=oe-160|0;oe=a;if(ti(1352,a+72|0)){b=Le(j[58911]);i=bf(b+5|0,1);e=j[58910];d=j[65532];j[a+56>>2]=1387;j[a+52>>2]=d;j[a+48>>2]=e;fk(i,b+4|0,1379,a+48|0);l=qi(i,1392);m=qi(j[58911],1392);n=qi(1352,1392);c=j[58906];b=j[58907];e=bf(p(c,b)+1|0,1);a:{if((c|0)<1){break a}f=j[58908];d=j[f>>2];if((b|0)<(d|0)){break a}b=0;while(1){b:{if((d|0)<1){break b}d=0;k=g<<2;if(j[k+f>>2]<=0){break b}while(1){j[a+72>>2]=0;c=j[j[j[58909]+k>>2]+(d<<2)>>2];c:{if((c|0)==-1){j[a+72>>2]=6234144;break c}j[a+32>>2]=c;fk(a+72|0,4,1395,a+32|0)}c=Le(a+72|0);if(c){Ae(b+e|0,a+72|0,c);b=b+c|0}d=d+1|0;f=j[58908];c=j[k+f>>2];if((d|0)!=(c|0)){h[b+e|0]=44;b=b+1|0}if((d|0)<(c|0)){continue}break}c=j[58906]}h[b+e|0]=10;g=g+1|0;if((g|0)>=(c|0)){break a}b=b+1|0;d=j[(g<<2)+f>>2];if((d|0)<=j[58907]){continue}break}}d=Le(e);b=pl(e,1,d,l);if((b|0)!=(d|0)){j[a+20>>2]=d;j[a+16>>2]=b;ji(1399,a+16|0)}b=1;c=j[65532];j[65532]=(c|0)==99?0:c+1|0;Lh(l);c=pl(e,1,d,m);if((c|0)!=(d|0)){j[a+4>>2]=d;j[a>>2]=c;ji(1399,a)}Lh(m);ze(i);ze(e);Lh(n);Ap()}oe=a+160|0;return b}function cv(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,i=0;a:{if(j[a+8>>2]<1){break a}b:{if(j[a>>2]<=8){if((d|0)<1){break a}i=-1;while(1){e=ai(a,c);if((e|0)==-1){break a}g=j[a>>2];h=j[a+16>>2]+(p(g,e)<<2)|0;e=0;c:{switch(g-1|0){case 7:e=(f<<2)+b|0;n[e>>2]=n[h>>2]+n[e>>2];e=1;f=f+1|0;case 6:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 5:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 4:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 3:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 2:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 1:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;case 0:g=(f<<2)+b|0;n[g>>2]=n[h+(e<<2)>>2]+n[g>>2];f=f+1|0;break;default:break c}}if((d|0)>(f|0)){continue}break}break b}if((d|0)<1){break a}while(1){i=-1;e=ai(a,c);if((e|0)==-1){break a}h=j[a>>2];if((h|0)>=1){i=j[a+16>>2]+(p(e,h)<<2)|0;e=0;while(1){g=(f<<2)+b|0;n[g>>2]=n[i+(e<<2)>>2]+n[g>>2];f=f+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if((d|0)>(f|0)){continue}break}}i=0}return i|0}function kN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0,s=q(0),t=0,u=0,w=0;m=j[b+20>>2];g=j[b+8>>2];h=j[a+28>>2];e=h<<2;i=g+e|0;if(!j[i>>2]){l=j[b>>2];g=j[m+4>>2];a=j[e+j[j[j[a+64>>2]+4>>2]+28>>2]>>2];e=(a|0)/2|0;u=i,w=Te((e<<2)+4|0),j[u>>2]=w;a:{if((a|0)<=1){g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;break a}f=q(q(g|0)*q(.5));p=+q(+(l|0)/(ri(+q(f*q(.0007399999885819852)))*13.100000381469727+ri(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20))));s=q(f/q(e|0));g=j[b+8>>2];i=j[g+(h<<2)>>2];a=0;while(1){t=(a<<2)+i|0;f=q(s*q(a|0));o=v((ri(+q(f*q(.0007399999885819852)))*13.100000381469727+ri(+q(q(f*f)*q(1.8499999754340024e-8)))*2.240000009536743+ +q(f*q(9999999747378752e-20)))*p);b:{if(r(o)<2147483648){k=~~o;break b}k=-2147483648}j[t>>2]=(l|0)>(k|0)?k:l-1|0;a=a+1|0;if((e|0)==(a|0)){a=e}else{l=j[b>>2];continue}break}}j[(a<<2)+i>>2]=-1;j[((h<<2)+b|0)+12>>2]=e}if(c){a=h<<2;e=j[a+g>>2];k=j[(a+b|0)+12>>2];a=j[b+4>>2];nH(d,e,k,j[b>>2],c,a,n[(a<<2)+c>>2],q(j[m+16>>2]));return 1}Ee(d,0,j[((h<<2)+b|0)+12>>2]<<2);return 0}function Ul(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0;l=oe-16|0;oe=l;e=j[a+28>>2];j[l+12>>2]=0;j[b>>2]=0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;d=h[c|0]}else{d=0}d=d<<24>>24;c=-1;a:{if(!d){break a}f=d&255;if(f&128){d=f<<8&32512;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}f=d|c<<24>>24&255}e=xe(e,2,0,f,0,l+12|0);c=0;if(j[l+12>>2]){break a}j[b>>2]=f;b:{if(!f){break b}b=0;while(1){c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}c=c<<24>>24;k=c&255;c:{if(c&128){d=af(a);i[e+(b<<1)>>1]=d;k=k&127;if(!k){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){d=af(a)+d|0;i[e+(b<<1)>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break c}g=e+(b<<1)|0;d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;d=h[d|0]}else{d=0}d=d<<24>>24&255;i[g>>1]=d;if(!c){break b}g=0;b=b+1|0;c=e;if(k+b>>>0>f>>>0){break a}while(1){n=e+(b<<1)|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}d=(c<<24>>24&255)+d|0;i[n>>1]=d;b=b+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(b>>>0>>0){continue}break}}c=e}oe=l+16|0;return c}function Xx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Qn(a,63454);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&132184095;a=l[b>>1];a=(a<<16|a)&132184095;a=(p(c-a|0,f)>>>5|0)+a&132184095;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&132184095;c=l[b>>1];c=(c<<16|c)&132184095;c=(p(q-c|0,f)>>>5|0)+c&132184095;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function uG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,n=0,o=0;g=oe-16|0;oe=g;b=j[b>>2];j[g+12>>2]=0;a:{if(!b){d=35;break a}d=6;f=j[b+132>>2];if(!f|m[b+16>>2]<=c>>>0){break a}d=3;e=l[f+4>>1];b=(e|0)==768;c=p(c?c-1|0:k[f+106|0],b?6:4)+(b?148:118)|0;i=j[f+8>>2];if(c>>>0>=(i+(b?-4:-2)|0)-2>>>0){break a}o=j[f+160>>2];b=c+o|0;c=k[b|0]|k[b+1|0]<<8;j[a+80>>2]=c;b=b+2|0;n=k[b|0];if((e|0)==768){b=k[b+2|0]<<16|k[b+3|0]<<24|k[b+1|0]<<8}else{b=k[b+1|0]<<8}b=n|b;if(b>>>0>=i>>>0){break a}n=j[j[a+4>>2]+100>>2];e=c+7>>>3|0;j[a+84>>2]=e;c=l[f+96>>1];j[a+76>>2]=c;h[a+94|0]=1;if(i>>>0>>0){break a}c=xe(n,c,0,e,0,g+12|0);j[a+88>>2]=c;d=j[g+12>>2];if(d){break a}if(e){b=b+o|0;while(1){d=j[a+76>>2];if((d|0)>=1){i=b+d|0;d=c;while(1){h[d|0]=k[b|0];d=j[a+84>>2]+d|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}c=c+1|0;e=e-1|0;if(e){continue}break}}j[j[a+156>>2]+4>>2]=1;j[a+100>>2]=0;b=l[f+80>>1];j[a+72>>2]=1651078259;j[a+104>>2]=b;c=j[a+80>>2]<<6;j[a+24>>2]=c;j[a+40>>2]=c;c=j[a+76>>2]<<6;j[a+28>>2]=c;j[a+32>>2]=0;j[a+36>>2]=b<<6;Fi(a+24|0,c);d=j[g+12>>2]}oe=g+16|0;return d|0}function qI(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,k=0,l=0,m=0;k=j[b>>2]<<2;j[c+232>>2]=k;h=j[b+4>>2]<<2;j[c+236>>2]=h;f=j[a>>2];j[c+240>>2]=f<<2;e=j[a+4>>2];d=j[c+220>>2];j[c+248>>2]=d;i=j[c+224>>2];j[c+252>>2]=i;g=e<<2;j[c+244>>2]=g;a=c+232|0;b=0;e=i+(h-(e<<3)|0)|0;l=e>>31;d=(k-(f<<3)|0)+d|0;f=d>>31;a:{b:{e=l^e+l;d=f^d+f;d=(d|0)<(e|0)?e:d;c:{if((d|0)<64){break c}e=(g|0)<(h|0)?g:h;if(j[c+176>>2]<=((e|0)>(i|0)?i:e)>>8){break c}b=(g|0)>(h|0)?g:h;if(j[c+172>>2]<=((b|0)<(i|0)?i:b)>>8){break b}b=0}d=0;break a}while(1){m=m+1|0;b=(d|0)>259;d=d>>2;if(b){continue}break}j[c+1008>>2]=m;b=0;d=1}while(1){d:{if(!d){bm(c,k,j[a+4>>2]);b=b-1|0;a=a-16|0;break d}e=j[a+16>>2];j[a+32>>2]=e;g=j[a+20>>2];j[a+36>>2]=g;d=j[a+8>>2];l=(d+k|0)/2|0;j[a+8>>2]=l;f=(d+e|0)/2|0;j[a+24>>2]=f;d=j[a+12>>2];e=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=e;d=(d+g|0)/2|0;j[a+28>>2]=d;j[a+16>>2]=(f+l|0)/2;j[a+20>>2]=(d+e|0)/2;e=c+1008|0;d=m-1|0;j[e+(b<<2)>>2]=d;b=b+1|0;j[e+(b<<2)>>2]=d;a=a+16|0}e:{if((b|0)>-1){k=j[a>>2];m=j[((b<<2)+c|0)+1008>>2];if((m|0)<1){break e}d=1;continue}return 0}d=0;continue}}function Rl(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if((a|0)>(b|0)){break a}g=j[(c<<3)+e>>2]>j[(d<<3)+e>>2];l=g?c:d;i=l<<3;h=j[i+f>>2];i=j[e+i>>2];n=h-i|0;m=g?d:c;c=m<<3;k=j[c+f>>2];g=j[c+e>>2];o=k-g|0;c=a;b:{if(!((h|0)!=(k|0)?(g|0)!=(i|0):0)){while(1){h=c<<3;d=j[h+e>>2];j[f+h>>2]=(d|0)>(g|0)?(d|0)<(i|0)?k:d+n|0:d+o|0;d=(b|0)==(c|0);c=c+1|0;if(!d){continue}break}break b}q=De(h-k|0,i-g|0);d=a;while(1){c=d;p=c<<3;d=j[p+e>>2];c:{if((d|0)<=(g|0)){h=d+o|0;break c}h=d+n|0;if((d|0)>=(i|0)){break c}h=ye(d-g|0,q)+k|0}j[f+p>>2]=h;d=c+1|0;if((b|0)!=(c|0)){continue}break}}i=f+4|0;d=e+4|0;e=j[d+(m<<3)>>2]>j[d+(l<<3)>>2];f=(e?m:l)<<3;c=j[i+f>>2];f=j[d+f>>2];h=c-f|0;e=(e?l:m)<<3;g=j[e+i>>2];e=j[d+e>>2];l=g-e|0;if(!((e|0)==(f|0)|(c|0)==(g|0))){m=De(c-g|0,f-e|0);while(1){c=a;n=c<<3;a=j[n+d>>2];d:{if((a|0)<=(e|0)){k=a+l|0;break d}k=a+h|0;if((a|0)>=(f|0)){break d}k=ye(a-e|0,m)+g|0}j[i+n>>2]=k;a=c+1|0;if((b|0)!=(c|0)){continue}break}break a}while(1){k=a<<3;c=j[k+d>>2];j[i+k>>2]=(c|0)>(e|0)?(c|0)<(f|0)?g:c+h|0:c+l|0;c=(a|0)==(b|0);a=a+1|0;if(!c){continue}break}}}function KC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0;h=j[a+44>>2];i=j[a+48>>2];d=j[a+16>>2];o=k[a+11|0];b=j[a+4>>2];c=l[a+12>>1];j[a+88>>2]=0;qe[j[66043]](a);m=(p(c,1e3)|0)/(b|0)|0;if(!j[a+56>>2]){f=a- -64|0;n=(d|0)<1;while(1){qe[j[66045]](a);a:{if(j[f>>2]){bg(m);b=j[a+52>>2];if(b){Sj(b)}qe[j[66050]](a);break a}e=j[a+72>>2];b:{c:{if(j[a+60>>2]){b=d;c=e;if(n){break b}while(1){g=qe[j[66049]](a,c,b)|0;if((g|0)<=0){To(a);break c}c=c+g|0;b=b-g|0;if((b|0)>0){continue}break}break b}bg(m);b=d;c=e;if(n){break b}}Oe(c,o,b)}b=j[a+52>>2];if(b){ii(b,e,d);b=j[a+52>>2];c=0;d:{if(!b){break d}b=j[b+168>>2];c=0;e:{if(!b){break e}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)<(b|0)){break a}while(1){c=Hh(j[a+52>>2],j[a+72>>2],b);b=j[a+40>>2];if((c|0)!=(b|0)){Oe(j[a+72>>2],k[a+11|0],b)}if(!j[f>>2]){qe[h|0](i,j[a+72>>2],j[a+40>>2])}b=j[a+52>>2];c=0;f:{if(!b){break f}b=j[b+168>>2];c=0;g:{if(!b){break g}c=j[b+16>>2]}}b=j[a+40>>2];if((c|0)>=(b|0)){continue}break}break a}if(!j[f>>2]){qe[h|0](i,e,j[a+40>>2])}}if(!j[a+56>>2]){continue}break}}qe[j[66050]](a);qe[j[66044]](a);return 0}function $h(a,b){var c=0,d=0;d=oe-32|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}b:{switch(a|0){case 0:j[c+328>>2]=b;break a;case 1:j[c+332>>2]=b;break a;case 2:j[c+336>>2]=b;break a;case 3:j[c+340>>2]=b;break a;case 5:j[c+356>>2]=b;break a;case 4:j[c+348>>2]=b;break a;case 6:j[c+344>>2]=b;break a;case 7:j[c+352>>2]=b;break a;case 8:j[c+360>>2]=b;break a;case 9:j[c+364>>2]=b;break a;case 10:j[c+368>>2]=b;break a;case 11:j[c+372>>2]=b;break a;case 12:j[c+376>>2]=b;break a;case 13:j[c+380>>2]=b;break a;case 14:j[c+384>>2]=b;break a;case 15:j[c+388>>2]=b;break a;case 16:j[c+428>>2]=b;break a;case 17:j[c+392>>2]=b;break a;case 18:j[c+396>>2]=b;break a;case 19:if(b){j[c+404>>2]=4;break a}j[c+404>>2]=0;break a;case 20:if(b>>>0>=16){j[d>>2]=b;ve(98842,d);break a}j[c+400>>2]=b;break a;case 21:if(!((b|0)!=3?b>>>0<=4:0)){j[d+16>>2]=b;ve(98873,d+16|0);break a}j[c+404>>2]=b;break a;case 22:j[c+408>>2]=b;break a;case 23:j[c+420>>2]=b;break a;case 24:j[c+412>>2]=b;break a;case 25:j[c+416>>2]=b;break a;case 26:j[c+424>>2]=b;break a;default:break b}}ve(98907,0)}oe=d+32|0}function Yj(a){var b=0;a:{if(!(a&32768)){break a}b=k[262319];if(!(!b|!((k[262336]|(b|0)==1)&1))){dz();b=k[262319]}if(!b){break a}h[262319]=b-1}b:{if(!(a&8192)){break b}a=a|512;b=k[262317];if(!(!b|!((k[262336]|(b|0)==1)&1))){b=j[67069];if(b){while(1){j[b+4>>2]=1;_A(b);b=j[67069];if(b){continue}break}}b=k[262317]}if(!b){break b}h[262317]=b-1}c:{if(!(a&512)){break c}a=a|16384;b=k[262313];if(!(!b|!((k[262336]|(b|0)==1)&1))){TA();b=k[262313]}if(!b){break c}h[262313]=b-1}d:{if(!(a&16)){break d}b=k[262308];if(!(!b|!((k[262336]|(b|0)==1)&1))){Ro();b=k[262308]}if(!b){break d}h[262308]=b-1}e:{if(!(a&32)){break e}a=a|16384;b=k[262309];if(!(!b|!((k[262336]|(b|0)==1)&1))){vj();b=k[262309]}if(!b){break e}h[262309]=b-1}f:{if(!(a&1)){break f}b=k[262304];if(!(!b|!((k[262336]|(b|0)==1)&1))){while(1){b=j[67081];if(b){j[67081]=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}b=k[262304]}if(!b){break f}h[262304]=b-1}g:{if(!(a&16384)){break g}a=k[262318];if(!(!a|!((k[262336]|(a|0)==1)&1))){BB();ZB();li(66627,170,0);a=k[262318]}if(!(a&255)){break g}h[262318]=a-1}}function hj(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;i=oe-16|0;oe=i;if(e){j[e>>2]=-1}o=(c|0)==-21;q=o?b-21|0:b;r=(c|0)<0?0:c;l=j[a+8>>2];g=j[a>>2];a:{b:{if(g){b=l;while(1){if(!(j[b>>2]!=(q|0)|j[b+4>>2]!=(r|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}n=g+1|0;b=j[a+4>>2];c:{if(n>>>0>>0){break c}j[i+4>>2]=0;if(b>>>0>=n>>>0){break c}f=b;b=g+8&-8;l=xe(d,12,f,b,l,i+4|0);j[a+8>>2]=l;f=j[i+4>>2];if(f){break a}j[a+4>>2]=b}j[a>>2]=n;b=p(g,12)+l|0;j[b+8>>2]=c>>31&(o?3:1);j[b+4>>2]=r;j[b>>2]=q}b=j[a+12>>2];d:{e:{if(!b){f:{if(j[a+16>>2]){b=j[a+20>>2];break f}j[i+8>>2]=0;b=xe(d,16,0,8,j[a+20>>2],i+8|0);j[a+20>>2]=b;f=j[i+8>>2];if(f){break a}j[a+16>>2]=8}j[b+12>>2]=0;j[b>>2]=0;j[a+12>>2]=1;break e}b=(j[a+20>>2]+(b<<4)|0)-16|0;if(m[b>>2]>g>>>0){break d}}a=j[b+4>>2];j[i+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;s=b,t=xe(d,1,f,a,j[b+8>>2],i+12|0),j[s+8>>2]=t;f=j[i+12>>2];if(f){break a}j[b+4>>2]=a<<3}j[b>>2]=g+1}a=j[b+8>>2]+(g>>>3|0)|0;h[a|0]=k[a|0]|128>>>(g&7);f=0;if(!e){break a}j[e>>2]=g}oe=i+16|0;return f}function II(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,i=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=3;a:{if((d|0)<0){break a}f=j[a+8>>2];i=j[a+12>>2];o=l[i>>1];if((e|0)<0|m[f>>2]>>0){break a}i=l[i+2>>1];if(m[f+4>>2]>>0){break a}q=p(i,k[a+18|0]);if((p(q,o)+7>>>3|0)+b>>>0>c>>>0){break a}if(o){r=d&7;a=8-r|0;n=a>>>0>q>>>0?q:a;v=(255<>2];i=j[f+12>>2]+(p(t,e)+(d>>>3|0)|0)|0;w=q-n|0;u=8-n|0;e=0;f=0;d=o;while(1){s=d;b:{if(!r){g=b;d=i;a=q;break b}c:{if((o|0)==(s|0)){e=k[b|0];b=b+1|0;a=r;break c}if((f|0)<(n|0)){a=f+u|0;if(b>>>0>=c>>>0){break c}e=k[b|0]|e;b=b+1|0;a=f+u|0;break c}e=(e&65280)>>>8|0;a=f-n|0}f=a;g=b;h[i|0]=k[i|0]|(e&65535)>>>f&v;e=e<<8;d=i+1|0;a=w}if((a|0)>=8){while(1){b=k[g|0]|e;h[d|0]=k[d|0]|(b&65535)>>>f;d=d+1|0;g=g+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(f|0)){if(c>>>0<=g>>>0){b=g}else{e=k[g|0]|e;b=g+1|0}h[d|0]=k[d|0]|(e&65535)>>>f&65280>>>a;e=e<<8;f=(f-a|0)+8|0;break d}h[d|0]=k[d|0]|65280>>>a&(e&65535)>>>f;f=f-a|0}b=g}i=i+t|0;d=s-1|0;if((s|0)>1){continue}break}}g=0}return g|0}function Wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,q=0;e=k[a+63|0];if((e|0)==128){Qn(a,64478);return}a:{g=j[a+28>>2];if(!g){break a}f=e>>>3|0;e=j[a+24>>2];h=e&3;m=(e+3|0)/4|0;d=j[a>>2];b=j[a+20>>2];n=j[a+36>>2]>>1<<1;o=j[a+16>>2]>>1<<1;b:while(1){e=m;c:{d:{switch(h-1|0){default:a=0;break c;case 0:a=3;break c;case 1:a=2;break c;case 2:break d}}a=1}while(1){e:{switch(a|0){case 0:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=1;continue;case 1:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=2;continue;case 2:a=l[d>>1];c=(a<<16|a)&65043487;a=l[b>>1];a=(a<<16|a)&65043487;a=(p(c-a|0,f)>>>5|0)+a&65043487;i[b>>1]=a>>>16|a;b=b+2|0;d=d+2|0;a=3;continue;default:break e}}a=g-1|0;c=l[d>>1];q=(c<<16|c)&65043487;c=l[b>>1];c=(c<<16|c)&65043487;c=(p(q-c|0,f)>>>5|0)+c&65043487;i[b>>1]=c>>>16|c;b=b+2|0;d=d+2|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+n|0;d=d+o|0;g=a;if(a){continue b}break a}a=0;continue}}}}function JC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=j[a+44>>2];f=j[a+48>>2];j[a+88>>2]=0;qe[j[66043]](a);if(!j[a+56>>2]){g=a- -64|0;while(1){qe[j[66045]](a);c=j[a+40>>2];a:{if(!(j[a+52>>2]|!j[a+60>>2])){b=qe[j[66048]](a)|0;if(b){break a}}b=j[a+72>>2]}b:{if(j[g>>2]){Oe(b,k[a+11|0],c);break b}qe[e|0](f,b,c)}d=j[a+52>>2];c:{if(d){ii(d,b,c);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>2]){break c}while(1){f:{g:{h:{if(!j[a+60>>2]){b=j[a+52>>2];break h}c=qe[j[66048]](a)|0;b=j[a+52>>2];if(c){break g}}Hh(b,j[a+72>>2],j[a+16>>2]);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break f}d=Hh(b,c,j[a+16>>2]);b=j[a+16>>2];if((d|0)!=(b|0)){Oe(c,k[a+11|0],b)}qe[j[66047]](a);qe[j[66046]](a)}c=j[a+52>>2];b=0;i:{if(!c){break i}c=j[c+168>>2];b=0;j:{if(!c){break j}b=j[c+16>>2]}}if((b|0)>=j[a+16>>2]){continue}break}break c}if(j[a+72>>2]==(b|0)){bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);break c}qe[j[66047]](a);qe[j[66046]](a)}if(!j[a+56>>2]){continue}break}}qe[j[66051]](a);bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]<<1);qe[j[66044]](a);return 0}function dE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;sP(+b);c=pP(1)|0;c=c&2147483647;e=!(pP(0)|0)&(c|0)==2146435072|c>>>0<2146435072;sP(+a);c=pP(1)|0;d=pP(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}sP(+b);d=pP(1)|0;e=pP(0)|0;c=d;h=c;if(!(e|c-1072693248)){return ri(a)}sP(+a);d=pP(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(pP(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return o[(c<<3)+226640>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=ri(r(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return o[(c<<3)+226672>>3]}a=3.141592653589793}return a}sP(1.5707963267948966);c=pP(1)|0;e=pP(0)|0;sP(+a);d=pP(1)|0;pP(0)|0;qP(0,e|0);qP(1,c&2147483647|d&-2147483648);return+rP()}function HH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;c=bf(1,3208);k=j[a+28>>2];e=Ee(c,0,3208);a:{if(j[a+4>>2]<1){break a}c=Ce(b,1);if((c|0)<0){break a}b:{if(c){c=Ce(b,4);h=c+1|0;j[e>>2]=h;if((c|0)>=0){break b}break a}h=1;j[e>>2]=1}c=Ce(b,1);if((c|0)<0){break a}if(c){i=Ce(b,8);j[e+1156>>2]=i+1;if((i|0)<0){break a}l=e+2184|0;m=e+1160|0;d=j[a+4>>2];c=0;while(1){f=c<<2;d=d-1|0;g=Ce(b,d?32-s(d)|0:0);j[f+m>>2]=g;n=f+l|0;d=j[a+4>>2]-1|0;f=Ce(b,d?32-s(d)|0:0);j[n>>2]=f;if((g|0)==(f|0)|(g|f)<0){break a}d=j[a+4>>2];if((g|0)>=(d|0)|(d|0)<=(f|0)){break a}g=(c|0)>=(i|0);c=c+1|0;if(!g){continue}break}}if(Ce(b,2)){break a}c:{if((h|0)>=2){if(j[a+4>>2]<1){break c}g=e+4|0;c=0;while(1){d=Ce(b,4);j[g+(c<<2)>>2]=d;if((d|0)<0|(d|0)>=(h|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}if((h|0)>=1){break c}return e|0}d=e+1092|0;g=e+1028|0;c=0;while(1){Ce(b,8);f=c<<2;a=Ce(b,8);j[f+g>>2]=a;if((a|0)<0|(a|0)>=j[k+16>>2]){break a}a=Ce(b,8);j[d+f>>2]=a;if((a|0)<0|(a|0)>=j[k+20>>2]){break a}c=c+1|0;if((h|0)>(c|0)){continue}break}return e|0}ze(e);return 0}function nj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;e=oe-16|0;d=1;a:{b:{c:{switch(j[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){f=d;while(1){i=p(f,12)+b|0;h=i-12|0;if(j[i>>2]>2]){j[e+8>>2]=j[i+8>>2];g=j[i+4>>2];j[e>>2]=j[i>>2];j[e+4>>2]=g;j[i+8>>2]=j[h+8>>2];g=j[h+4>>2];j[i>>2]=j[h>>2];j[i+4>>2]=g;j[h+8>>2]=j[e+8>>2];g=j[e+4>>2];j[h>>2]=j[e>>2];j[h+4>>2]=g;f=f-1|0;if(f){continue}}break}d=d+1|0;k=j[a>>2];if(d>>>0>>0){continue}break}d=1;if(k>>>0<2){break b}m=k-1|0;n=j[b>>2];e=0;while(1){i=(d|0)==(m|0);h=j[p(d,12)+b>>2]-n|0;d:{if((h|0)<=(c|0)?!i:0){break d}l=0;f=e;g=e;d=((c|0)>=(h|0)&i)+d|0;if(e>>>0>>0){while(1){h=p(f,12)+b|0;g=j[h>>2];j[h>>2]=0;l=g+l|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}g=d}j[p(e,12)+b>>2]=(l|0)/(g|0);if(d>>>0>=m>>>0){break d}e=d+1|0;n=j[p(e,12)+b>>2]}d=d+1|0;if(k>>>0>d>>>0){continue}break}d=1;if(k>>>0<=1){break b}f=1;while(1){e=p(f,12)+b|0;if(j[e>>2]){c=j[e+4>>2];g=p(d,12)+b|0;j[g>>2]=j[e>>2];j[g+4>>2]=c;j[g+8>>2]=j[e+8>>2];k=j[a>>2];d=d+1|0}f=f+1|0;if(k>>>0>f>>>0){continue}break}}j[a>>2]=d}}function Er(a,b){var c=0,d=0,e=0,f=0,g=0,l=0,m=0;d=oe-48|0;oe=d;j[d+40>>2]=1;c=j[a+11732>>2];j[d+8>>2]=j[a+11728>>2];j[d+12>>2]=c;f=a+8|0;if(!k[a+20|0]){c=j[a+11740>>2];e=j[a+11736>>2];a:{b:{c:{if(k[a+11664|0]){h[a+11665|0]=1;ch(a,e,c);if(k[a+11744|0]){g=j[a+11716>>2];j[d>>2]=j[a+11712>>2];j[d+4>>2]=g;Ph(a,f,a+11704|0,d,1)}h[a+11744|0]=0;i[a+11664>>1]=0;j[a+11736>>2]=e;j[a+11740>>2]=c;j[a+11720>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c;if(!k[a+20|0]){break c}c=j[a+11676>>2];if(k[c+5|0]){break b}break a}j[a+11740>>2]=c;j[a+11720>>2]=e;j[a+11736>>2]=e;h[a+11667|0]=1;j[a+11724>>2]=c}c=j[a+11676>>2]}yh(f,j[a+11668>>2],j[a+11672>>2],c,j[a+11680>>2],0)}Ae(a+3876|0,f,3868)}c=j[b+4>>2];e=ye(j[a+11644>>2],j[b>>2]);g=ye(j[a+11648>>2],c);c=Sg(f,c);e=e+g|0;l=d,m=(ye(j[j[a>>2]+60>>2],e)+ye(j[j[a>>2]+68>>2],c)|0)+j[a+11656>>2]|0,j[l+16>>2]=m;l=d,m=(ye(j[j[a>>2]- -64>>2],e)+ye(j[j[a>>2]+72>>2],c)|0)+j[a+11660>>2]|0,j[l+20>>2]=m;c=j[a+4>>2];qe[j[c>>2]](c,d+8|0);c=j[d+20>>2];j[a+11728>>2]=j[d+16>>2];j[a+11732>>2]=c;c=j[b+4>>2];j[a+11704>>2]=j[b>>2];j[a+11708>>2]=c;oe=d+48|0}function Yi(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);m=k[a+20|0]|k[a+21|0]<<8|(k[a+22|0]<<16|k[a+23|0]<<24);n=k[a+28|0]|k[a+29|0]<<8|(k[a+30|0]<<16|k[a+31|0]<<24);e=k[a+72|0]|k[a+73|0]<<8|(k[a+74|0]<<16|k[a+75|0]<<24);f=k[a+76|0]|k[a+77|0]<<8|(k[a+78|0]<<16|k[a+79|0]<<24);d=0;a:{if((e|0)==(f|0)){break a}d=512;if((e|0)<=(f|0)){break a}l=w(+q(q(e<<9)/q(f|0)));if(r(l)<2147483648){d=~~l;break a}d=-2147483648}d=(d|0)<(2147483647/(b|0)|0)?p(d,b):0;d=Xe(d?d:1,4);if(!d){Be(0);return}o=e;e=g+i|0;b=Mo(b,o,f,d,d,i,g,e,p(m,n)-g|0);h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;if(d){qe[j[57975]](d);j[57976]=j[57976]-1}Ri(k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24),e,k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24));b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,c)}}function Ro(){var a=0,b=0,c=0;if(j[66039]){Af(j[66072]);Af(j[66073]);Af(j[66074]);Af(j[66075]);Af(j[66076]);Af(j[66077]);Af(j[66078]);Af(j[66079]);Af(j[66080]);Af(j[66081]);Af(j[66082]);Af(j[66083]);Af(j[66084]);Af(j[66085]);Af(j[66086]);Af(j[66087]);a=j[66068];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66066]=0;j[66068]=0;a=j[66069];if(a){while(1){c=j[a+16>>2];b=j[a>>2];if(b){qe[j[66055]](b)}b=j[a+4>>2];if((b|0)!=j[a+8>>2]){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[66067]=0;j[66069]=0;qe[j[66056]]();a=j[66063];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}Oe(264156,0,124);Oe(264288,0,64);a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[66092];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66092]=0;j[66091]=0}}function WL(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,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;i=j[c>>2];j[g+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=k[a+3|0];h=k[a+4|0];a=j[c+92>>2];d=h+a|0;if(d>>>0>m[c+96>>2]){l=a;a=d+3&-4;t=c,u=xe(i,36,l,a,j[c+100>>2],g+12|0),j[t+100>>2]=u;d=j[g+12>>2];if(d){break a}j[c+96>>2]=a}d=8;l=f&1;n=f&2;o=f&4;q=f&8;r=f&16;if(p((l|8)+(n>>>1|0)+(o>>>2)+(q>>>3)+(r>>>4)|0,h)+e>>>0>b>>>0){break a}i=j[c+92>>2];if(h){a=j[c+100>>2]+p(i,36)|0;while(1){b=a;b:{if(l){d=e+2|0;e=k[e+1|0]|k[e|0]<<8;break b}d=e+1|0;e=k[e|0]}j[b>>2]=e;b=a;c:{if(n){e=d+2|0;d=k[d+1|0]|k[d|0]<<8;break c}e=d+1|0;d=k[d|0]}j[b+4>>2]=d;j[a+8>>2]=k[e|0];d:{if(o){d=e+4|0;f=3;b=k[e+2|0]<<8|k[e+1|0]<<16;break d}d=e+3|0;f=2;b=k[e+1|0]<<8}j[a+20>>2]=b|k[e+f|0];e:{if(q){e=k[d+1|0]<<8|k[d|0]<<16;f=2;b=d+3|0;break e}e=k[d|0]<<8;f=1;b=d+2|0}j[a+24>>2]=k[d+f|0]|e;d=a;f:{if(r){e=b+2|0;b=k[b+1|0]|k[b|0]<<8;break f}e=b+1|0;b=k[b|0]}j[d+28>>2]=b;a=a+36|0;s=s+1|0;if((s|0)!=(h|0)){continue}break}d=j[g+12>>2]}else{d=0}j[c+92>>2]=i+h}oe=g+16|0;return d|0}function PC(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(_i(16)){Ro()}Oe(264156,0,124);Oe(264288,0,64);a=Mf(64464);a:{b:{while(1){if((b|0)==3){break b}c=j[(b<<2)+64448>>2];c:{d:{if(a){e=0;if(!Vk(j[c>>2],a,Le(a))){break d}break c}e=0;if(j[c+12>>2]){break c}}Oe(264156,0,124);j[66039]=j[c>>2];j[66040]=j[c+4>>2];f=1;e=qe[j[c+8>>2]](264164)|0}b=b+1|0;if(!e){continue}break}g=264252,h=Ki(),j[g>>2]=h;e:{if(!j[66058]){break e}if(!j[66053]){j[66053]=120}if(j[66054]){break e}j[66054]=120}a=j[66041];if(!a){j[66041]=121;a=121}if(!j[66042]){j[66042]=122}if(!j[66043]){j[66043]=123}if(!j[66044]){j[66044]=124}if(!j[66045]){j[66045]=125}if(!j[66046]){j[66046]=126}if(!j[66047]){j[66047]=127}if(!j[66048]){j[66048]=128}if(!j[66049]){j[66049]=129}if(!j[66050]){j[66050]=130}if(!j[66051]){j[66051]=131}if(!j[66052]){j[66052]=132}if(!j[66053]){j[66053]=133}if(!j[66054]){j[66054]=134}if(!j[66055]){j[66055]=135}b=0;if(!j[66056]){j[66056]=136}qe[a|0]();break a}f:{if(f){break f}if(a){j[d>>2]=a;ve(64480,d);break f}ve(64512,0)}Oe(264156,0,124);b=-1}oe=d+16|0;return b}function Sm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=p(b,1468)+a|0;g=j[c+56>>2];if((g|0)<1){break a}d=j[a+24>>2];if((d|0)<1){break a}a=j[a+28>>2];q=a+p(d,40)|0;k=b?8:4;r=k|16;e=j[c- -64>>2];m=e+p(g,48)|0;h=m-48|0;c=(b|0)==1;s=c?14:12;t=c?8:4;u=b?20:16;while(1){if(!(l[a>>1]&r)){b=j[a+t>>2];v=a+u|0;d=i[e>>1];f=i[a+s>>1];c=(b+j[e+8>>2]|0)-j[e+4>>2]|0;b:{if((d|0)>=(f|0)){break b}c=(b+j[h+8>>2]|0)-j[h+4>>2]|0;if(i[h>>1]<=(f|0)){break b}b=0;c:{c=g;d:{if((c|0)<=8){e:{if((d|0)>=(f|0)){break e}while(1){b=b+1|0;if((g|0)==(b|0)){d=l[m>>1];b=g;break e}d=i[p(b,48)+e>>1];if((f|0)>(d|0)){continue}break}}if((d&65535)!=(f&65535)){break d}c=j[(p(b,48)+e|0)+8>>2];break b}while(1){d=b+c>>1;n=p(d,48)+e|0;o=i[n>>1];f:{if((o|0)>(f|0)){c=d;break f}if((f|0)<=(o|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=p(b,48)+e|0;b=c-48|0;d=j[c-32>>2];if(!d){d=De(j[c+8>>2]-j[b+8>>2]|0,i[c>>1]-i[b>>1]|0);j[b+16>>2]=d}c=j[b+8>>2]+ye(f-i[b>>1]|0,d)|0;break b}c=j[n+8>>2]}j[v>>2]=c;i[a>>1]=l[a>>1]|k}a=a+40|0;if(q>>>0>a>>>0){continue}break}}}function FB(){var a=0,b=0,c=0,d=0;a:{if(!j[67021]){break a}a=j[66371];if(!a|!(k[a+49|0]&64)){break a}if((qe[j[67021]](0)|0)==-1){break a}j[a+48>>2]=j[a+48>>2]&-16385}gl(0);a=j[67051];j[67051]=1;b:{if((a|0)==1){break b}b=j[67015];c:{if(j[67035]){break c}a=j[(j[67024]?268200:268196)>>2];if(!a){break c}if(!b){break b}qe[b|0](a)|0;break b}if(!b){break b}qe[b|0](0)|0}b=j[67048];if(b){while(1){d=b;b=j[b>>2];c=j[67049];d:{if((d|0)==(c|0)){break d}e:{if(j[67050]!=(d|0)){break e}f:{if(c){j[67050]=c;break f}c=j[67024]?d:0}a=j[67015];if(!(j[67035]|(!c|!j[67051]))){if(!a){break e}qe[a|0](c)|0;break e}if(!a){break e}qe[a|0](0)|0}c=j[67048];if(!c){break d}g:{if((c|0)==(d|0)){j[67048]=j[d>>2];break g}while(1){a=c;c=j[a>>2];if(!c){break d}if((c|0)!=(d|0)){continue}break}j[a>>2]=j[d>>2]}a=j[67017];if(!a){break d}qe[a|0](d)}if(b){continue}break}}j[67050]=0;j[67048]=0;b=j[67049];h:{if(!b){break h}a=j[67017];if(!a){break h}qe[a|0](b);j[67049]=0}a=j[67047];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67047]=0}li(71418,173,268052);li(71447,174,268052)}function kJ(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];d=j[a+532>>2];a:{if(!d){break a}b=j[d+80>>2];if(b){qe[b|0](a)}b=j[d+100>>2];if(!b){break a}qe[b|0](a)}if(k[a+780|0]){if(j[a+760>>2]){jf(j[a+104>>2],a+760|0)}j[a+772>>2]=0;j[a+764>>2]=0;j[a+768>>2]=0}jf(j[a+104>>2],a+740|0);j[a+752>>2]=0;j[a+756>>2]=0;j[a+744>>2]=0;j[a+748>>2]=0;b=c;e=j[a+144>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+140>>2]=0;j[a+144>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+152>>1]=0;j[a+156>>2]=0;jf(j[a+104>>2],a+500|0);j[a+504>>2]=0;b=j[a+104>>2];jf(b,a+680|0);jf(b,a+688|0);j[a+692>>2]=0;j[a+684>>2]=0;if(k[a+292|0]){b=c;e=j[a+332>>2];if(e){qe[j[b+8>>2]](b,e)}j[a+332>>2]=0;b=j[a+336>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+292|0]=0;j[a+336>>2]=0}b=j[a+544>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+542>>1]=0;j[a+544>>2]=0;if(d){qe[j[d+52>>2]](a)}b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;j[a+32>>2]=0;b=j[a+664>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+532>>2]=0;j[a+664>>2]=0}}function Ig(a,b,c){var d=0,e=0,f=0,g=0;g=oe-32|0;oe=g;a:{if(!(k[a|0]?a:0)){j[g>>2]=64312;ve(64286,g);break a}if(!b){j[g+16>>2]=64317;ve(64286,g+16|0);break a}d=j[66036];b:{if(!d){break b}while(1){if(!cf(a,j[d>>2])){e=j[d+12>>2];if(!e){break b}f=d+12|0;d=0;while(1){if(!(j[e>>2]!=(b|0)|j[e+4>>2]!=(c|0))){j[(d?d+8|0:f)>>2]=j[e+8>>2];if(e){qe[j[57975]](e);j[57976]=j[57976]-1}break b}d=e;e=j[d+8>>2];if(e){continue}break}break b}d=j[d+16>>2];if(d){continue}break}}f=qe[j[57972]](12)|0;if(f){j[57976]=j[57976]+1}if(!f){Be(0);break a}j[f+4>>2]=c;j[f>>2]=b;d=j[66036];c:{if(d){while(1){if(!cf(a,j[d>>2])){break c}d=j[d+16>>2];if(d){continue}break}}d=qe[j[57972]](20)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);if(f){qe[j[57975]](f);j[57976]=j[57976]-1}break a}e=Uf(a);j[d+12>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d>>2]=e;j[d+16>>2]=j[66036];j[66036]=d}j[f+8>>2]=j[d+12>>2];j[d+12>>2]=f;e=Mf(a);d=j[66036];d:{if(!d){break d}while(1){if(!cf(a,j[d>>2])){if(j[d+8>>2]!=2?e:0){break d}e=j[d+4>>2];break d}d=j[d+16>>2];if(d){continue}break}}qe[b|0](c,a,e,e)}oe=g+32|0}function Zr(a,b,c,d,e,f,g,h){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=oe-16|0;oe=k;m=j[a>>2];a=Fe(b,c);j[k+12>>2]=a;a:{if(a){break a}n=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}while(1){o=sf(b,k+12|0);a=j[k+12>>2];if(a){break a}p=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}q=qf(b,k+12|0);a=j[k+12>>2];if(a){break a}if((e|0)!=(o|0)){a=1;o=(l|0)==(n|0);l=l+1|0;if(o){break a}continue}break}j[h>>2]=p+1;a=Fe(b,c+q|0);j[k+12>>2]=a;if(a){break a}l=0;c=xe(m,8,0,j[h>>2],0,k+12|0);a=j[k+12>>2];if(a){break a}e=j[h>>2];b:{if((e|0)>=1){while(1){a=c+(l<<3)|0;r=a,s=qf(b,k+12|0),i[r>>1]=s;if(j[k+12>>2]){break b}e=xf(b,2);j[k+12>>2]=e;if(e){break b}e=sf(b,k+12|0);if(j[k+12>>2]){break b}n=xf(b,4);j[k+12>>2]=n;if(n){break b}j[a+4>>2]=e&16777215;e=j[h>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}}a=0;b=m;if(f){eg(c,e,8,585);e=j[h>>2]}b=xe(b,4,0,e,0,k+12|0);if(j[k+12>>2]){break b}if(j[h>>2]>=1){while(1){j[b+(a<<2)>>2]=j[(c+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}j[g>>2]=b;j[k+12>>2]=0}if(c){qe[j[m+8>>2]](m,c)}a=j[k+12>>2]}oe=k+16|0;return a}function eg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;e=oe-208|0;oe=e;j[e+8>>2]=1;j[e+12>>2]=0;a:{i=p(b,c);if(!i){break a}j[e+16>>2]=c;j[e+20>>2]=c;k=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;j[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+k|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){tl(a,c,d,b,e+16|0);bk(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(m[(e+16|0)+(h<<2)>>2]>=f-a>>>0){ak(a,c,d,e+8|0,b,0,e+16|0);break d}tl(a,c,d,b,e+16|0)}if((b|0)==1){$j(e+8|0,1);b=0;break c}$j(e+8|0,h);b=1}g=j[e+8>>2]|1;j[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}ak(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(j[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=gP(j[e+8>>2]-1|0);if(!f){f=gP(j[e+12>>2]);f=f?f+32|0:0}bk(h,f);g=j[e+8>>2];b=b+f|0;break e}$j(e+8|0,2);j[e+8>>2]=j[e+8>>2]^7;bk(e+8|0,1);h=a+k|0;f=b-2|0;ak(h-j[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);$j(e+8|0,1);g=j[e+8>>2]|1;j[e+8>>2]=g;ak(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+k|0;continue}}oe=e+208|0}function pt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;e=oe-16|0;oe=e;b=-131;a:{if(j[a+88>>2]!=1){break a}j[a+88>>2]=2;b:{if(j[a+4>>2]){b=j[a+60>>2];g=j[b>>2];h=j[b+4>>2];j[e+8>>2]=-1;j[e+12>>2]=-1;i=j[a+456>>2];j[e+4>>2]=i;f=cn(a,j[a+72>>2]);k=pe;b=j[a+708>>2];c:{if(!(j[a+716>>2]?b:0)){j[a+8>>2]=-1;j[a+12>>2]=-1;j[a+16>>2]=-1;j[a+20>>2]=-1;b=-131;break c}qe[b|0](j[a>>2],0,0,2)|0;c=qe[j[a+716>>2]](j[a>>2])|0;b=c>>31;d=c;c=b;j[a+8>>2]=d;j[a+12>>2]=b;j[a+16>>2]=d;j[a+20>>2]=b;if((d|0)==-1){b=-131;break c}b=j[a+64>>2];b=Bk(a,d,c,b+8|0,j[b+4>>2],e+4|0,e+8|0);c=pe;d=c;if(!((c|0)<-1?1:(c|0)<=-1)){c=b;b=j[a+64>>2];if((Zm(a,0,0,g,h,c,d,j[e+8>>2],j[e+12>>2],j[e+4>>2],b+8|0,j[b+4>>2],0)|0)<0){b=-128;break c}b=j[a+56>>2];j[b>>2]=0;j[b+4>>2]=0;j[j[a+64>>2]>>2]=i;b=j[a+60>>2];j[b>>2]=g;j[b+4>>2]=h;b=j[a+68>>2];j[b>>2]=f;j[b+4>>2]=k;d=j[b+8>>2];c=j[b+12>>2]-(k+(f>>>0>d>>>0)|0)|0;f=d-f|0;d=f;f=(c|0)>0?1:(c|0)>=0?!!f:0;j[b+8>>2]=f?d:0;j[b+12>>2]=f?c:0;b=Xm(a,g,h)}if(!b){break b}}j[a>>2]=0;pj(a);break a}j[a+88>>2]=3}b=0}oe=e+16|0;return b}function DO(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,s=0,t=0,u=0,w=0;l=oe-16|0;oe=l;f=-131;e=j[a+88>>2];a:{if((e|0)<2){break a}m=a+480|0;b:{while(1){if((e|0)==4){e=Qi(m,l+12|0);if(e){break b}}e=rs(a);g=(e|0)<1;h=(e|0)==-2?0:g?e:h;if(!g){e=j[a+88>>2];continue}break}f=h;break a}if((e|0)<1){f=e;break a}c:{if(j[a+4>>2]){g=j[a+72>>2];k=g;if(j[a+88>>2]<3){break c}k=g+(j[a+96>>2]<<5)|0;break c}k=j[a+72>>2]}o=j[k+4>>2];s=o<<1;c=(c|0)/(s|0)|0;g=(c|0)<(e|0)?c:e;if((g|0)<1){break a}if((o|0)>=1){f=0;u=j[l+12>>2];while(1){e=(f<<1)+b|0;w=j[(f<<2)+u>>2];h=0;while(1){k=e;t=v(+q(n[(h<<2)+w>>2]*q(32768))+.5);d:{if(r(t)<2147483648){c=~~t;break d}c=-2147483648}c=(c|0)>-32768?c:-32768;i[k>>1]=(c|0)<32767?c:32767;e=(o<<1)+e|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}f=f+1|0;if((o|0)!=(f|0)){continue}break}}b=g+j[m+24>>2]|0;if(!((b|0)>j[m+20>>2]?g:0)){j[m+24>>2]=b}c=g<>2]+28>>2]+3656>>2];e=c;f=e+j[a+80>>2]|0;c=j[a+84>>2]+(e>>31)|0;j[a+80>>2]=f;j[a+84>>2]=e>>>0>f>>>0?c+1|0:c;if(d){j[d>>2]=j[a+96>>2]}f=p(g,s)}oe=l+16|0;return f}function uL(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;h=j[b>>2];f=j[h+4>>2];g=p(j[a+36>>2],e)>>1;g=((f|0)<(g|0)?f:g)-j[h>>2]|0;a:{if((g|0)<1){break a}f=0;k=j[j[b+16>>2]>>2];m=j[h+8>>2];g=(g|0)/(m|0)|0;n=Ef(a,((k+g|0)-1|0)/(k|0)<<2);b:{if((e|0)<1){break b}while(1){if(j[(f<<2)+d>>2]){break b}f=f+1|0;if((f|0)!=(e|0)){continue}break}break a}if((e|0)==(f|0)){break a}f=j[b+8>>2];if((f|0)<1){break a}o=a+4|0;a=0;q=(g|0)<1;while(1){if(!q){r=1<>2],o);if((d|0)==-1|(d|0)>=j[h+16>>2]){break a}d=j[j[b+28>>2]+(d<<2)>>2];j[(l<<2)+n>>2]=d;if(!d){break a}}c:{if((k|0)<1|(f|0)>=(g|0)){break c}s=(l<<2)+n|0;d=0;while(1){i=j[j[s>>2]+(d<<2)>>2]<<2;d:{if(!(j[(i+h|0)+24>>2]&r)){break d}i=j[j[i+j[b+20>>2]>>2]+(a<<2)>>2];if(!i){break d}if((Uu(i,c,j[h>>2]+p(f,m)|0,e,o,m)|0)==-1){break a}}f=f+1|0;d=d+1|0;if((k|0)<=(d|0)){break c}if((f|0)<(g|0)){continue}break}}l=l+1|0;if((f|0)<(g|0)){continue}break}f=j[b+8>>2]}a=a+1|0;if((f|0)>(a|0)){continue}break}}return 0}function yq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=q(0),m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=q(0),y=q(0),z=q(0),A=q(0),B=0;s=a<<1;r=p(a,b);if((b|0)>=1){j=s-1|0;g=r;while(1){h=(f<<2)+c|0;k=(g<<2)+c|0;n[(f<<3)+d>>2]=n[h>>2]+n[k>>2];n[(j+(f<<1)<<2)+d>>2]=n[h>>2]-n[k>>2];g=a+g|0;f=a+f|0;i=i+1|0;if((i|0)!=(b|0)){continue}break}}a:{if((a|0)<2){break a}if((a|0)!=2){if((b|0)>=1){f=0;j=r;while(1){g=f<<1;k=a+f|0;i=k<<1;h=j;m=2;while(1){o=h<<2;t=g+2|0;u=f+2|0;v=(u<<2)+c|0;w=(m<<2)+e|0;l=n[w-8>>2];h=h+2|0;x=n[(h<<2)+c>>2];y=n[(c+o|0)+4>>2];z=n[w-4>>2];A=q(q(l*x)-q(y*z));n[(t<<2)+d>>2]=n[v>>2]+A;o=i-2|0;n[(o<<2)+d>>2]=A-n[v>>2];l=q(q(l*y)+q(z*x));f=(f<<2)+c|0;n[(g<<2|4)+d>>2]=l+n[f+4>>2];n[((i<<2)+d|0)-12>>2]=n[f+4>>2]-l;g=t;f=u;i=o;m=m+2|0;if((m|0)<(a|0)){continue}break}j=a+j|0;f=k;B=B+1|0;if((B|0)!=(b|0)){continue}break}}if(((a|0)%2|0)==1){break a}}if((b|0)<1){break a}f=a-1|0;g=r+f|0;h=0;i=a;while(1){e=(i<<2)+d|0;n[e>>2]=-n[(g<<2)+c>>2];n[e-4>>2]=n[(f<<2)+c>>2];f=a+f|0;g=a+g|0;i=i+s|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function Dt(a,b,c,d,e,f,g,h,j,l){var m=0,n=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;if(b){u=a-1|0;a=p(l,12);v=a+110882|0;w=a+110880|0;x=a+110890|0;y=a+110888|0;z=a+110886|0;A=a+110884|0;while(1){a=p(j,o)+h|0;l=p(g,o);t=l+e|0;n=d+l|0;l=p(f,o)+c|0;a:{if(!u){q=0;break a}B=i[v>>1];C=k[w|0];E=i[x>>1];F=i[y>>1];G=i[z>>1];H=i[A>>1];q=0;while(1){r=k[t|0]-128|0;s=k[n|0]-128|0;D=p(r,F)+p(s,G)|0;m=p(k[l|0]-C|0,B)- -8192|0;r=p(r,H);s=p(s,E);i[a>>1]=k[(D+m>>6)+110928|0]<<3&2016|k[(r+m>>6)+110928|0]<<8&63488|k[(s+m>>6)+110928|0]>>>3;m=p(k[l+2|0]-C|0,B)- -8192|0;i[a+2>>1]=k[(m+D>>6)+110928|0]<<3&2016|k[(m+r>>6)+110928|0]<<8&63488|k[(m+s>>6)+110928|0]>>>3;t=t+4|0;n=n+4|0;l=l+4|0;a=a+4|0;q=q+2|0;if(u>>>0>q>>>0){continue}break}}o=o+1|0;if((q|0)==(u|0)){m=a;a=p(i[v>>1],k[l|0]-k[w|0]|0)- -8192|0;n=k[n|0]-128|0;l=k[t|0]-128|0;i[m>>1]=k[((a+p(n,i[z>>1])|0)+p(l,i[y>>1])>>6)+110928|0]<<3&2016|k[(a+p(l,i[A>>1])>>6)+110928|0]<<8&63488|k[(a+p(n,i[x>>1])>>6)+110928|0]>>>3}if((b|0)!=(o|0)){continue}break}}}function aJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{b:{if(!a){break b}c=j[a+64>>2];if(!c){break b}f=j[c+104>>2];e=j[c+4>>2];if(!e){e=0;c=1;break a}g=j[e+28>>2];d=1;c=1;break a}c=0}c:{if(!a|!g|(!d|!c)){break c}if(!f){break c}Gn(a);d=j[b+4>>2];c=a?a+4|0:0;h=j[b>>2];j[c+12>>2]=h;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=d;j[c+8>>2]=h;d=-135;d:{if(Ce(c,1)){break d}d=Ce(c,j[f+44>>2]);if((d|0)==-1){break c}j[a+40>>2]=d;f=(d<<2)+g|0;d=j[f+32>>2];if(!d){break c}d=j[d>>2];j[a+28>>2]=d;e:{if(d){i=a,k=Ce(c,1),j[i+24>>2]=k;c=Ce(c,1);j[a+32>>2]=c;d=-136;if((c|0)==-1){break d}c=j[a+28>>2];break e}j[a+32>>2]=0;j[a+24>>2]=0;c=0}d=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=d;d=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=d;j[a+44>>2]=j[b+12>>2];j[a+36>>2]=j[(c<<2)+g>>2];i=a,k=Ef(a,j[e+4>>2]<<2),j[i>>2]=k;if(j[e+4>>2]>=1){b=0;while(1){c=Ef(a,j[a+36>>2]<<2);j[j[a>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}b=a;a=(j[j[f+32>>2]+12>>2]<<2)+g|0;d=qe[j[j[(j[a+288>>2]<<2)+3836>>2]+16>>2]](b,j[a+544>>2])|0}return d}return-136}function St(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),h=0,i=0,l=0,m=0,p=0,s=0,t=0;f=oe-16|0;oe=f;c=Xe(1,36);a:{if(!c){a=Be(0);break a}s=c,t=Uf(105358),j[s+12>>2]=t;b:{if(k[b+49|0]&32){g=q(+K());n[c+16>>2]=g;l=c+16|0;break b}j[c+16>>2]=1065353216;g=q(1);l=c+16|0}d=v(+q(g*q(j[b+24>>2])));h=v(+q(n[c+16>>2]*q(j[b+28>>2])));e=1;J(j[c+12>>2],1,1)|0;H(j[c+12>>2],f+8|0,f|0)|0;e=v(o[f+8>>3])==1?v(o[f>>3])!=1:e;j[c+20>>2]=e;if(!(!(k[b+48|0]&32)|!e)){g=n[l>>2];d=o[f>>3];c:{if(r(d)<2147483648){e=~~d;break c}e=-2147483648}m=b;p=o[f+8>>3];d:{if(r(p)<2147483648){i=~~p;break d}i=-2147483648}zf(m,5,i,e);h=d;d=+g;h=h*d;d=p*d}m=j[c+12>>2];if(r(h)<2147483648){e=~~h}else{e=-2147483648}if(r(d)<2147483648){i=~~d}else{i=-2147483648}J(m|0,i|0,e|0)|0;if(!(j[c+20>>2]|n[l>>2]==q(1))){Q(j[c+12>>2],+j[b+24>>2],+j[b+28>>2])|0}e:{if(!(k[b+48|0]&2)){break e}f:{if(j[a+992>>2]){break f}if((dv()|0)>=0){break f}a=-1;break a}a=Eu(a);j[c>>2]=a;if(a){break e}a=ve(105366,0);break a}j[c+4>>2]=b;j[b+144>>2]=c;Qj(b);Do(b);mu(c);a=0}oe=f+16|0;return a|0}function rl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-32|0;oe=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Nf(g+16|0,a,b,c,e,h-15233|0);oi(g,a,b,c,e,15361-h|0);e=j[g+4>>2];h=e;a=j[g+8>>2];c=j[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=j[g>>2]|((j[g+16>>2]|j[g+24>>2])!=0|(j[g+20>>2]|j[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}oe=g+32|0;qP(0,f|0);qP(1,d&-2147483648|e);return+rP()}function yt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+110928|0]<<16|k[(q+u>>6)+110928|0]<<8|k[(n+q>>6)+110928|0]|-16777216;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+110928|0]<<16|k[(q+u>>6)+110928|0]<<8|k[(n+q>>6)+110928|0]|-16777216;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+110928|0]<<16|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+110928|0]<<8|k[(a+p(m,i[y>>1])>>6)+110928|0]|-16777216}if((b|0)!=(r|0)){continue}break}}}function FG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=j[j[j[a+4>>2]+96>>2]+28>>2];e=j[a+160>>2];PO(e);j[e+24>>2]=0;j[e+28>>2]=0;j[e+152>>2]=0;j[e+32>>2]=0;j[e+36>>2]=0;j[e+40>>2]=0;j[e+44>>2]=0;j[e+48>>2]=0;j[e+52>>2]=0;j[e+56>>2]=0;j[e+60>>2]=0;Ee(e+72|0,0,72);c=qe[j[f+72>>2]](j[a+160>>2],j[b+44>>2],c,d|8)|0;if(!c){b=j[a+160>>2];d=j[b+28>>2];j[a+24>>2]=j[b+24>>2];j[a+28>>2]=d;d=j[b+36>>2];j[a+32>>2]=j[b+32>>2];j[a+36>>2]=d;d=j[b+44>>2];j[a+40>>2]=j[b+40>>2];j[a+44>>2]=d;d=j[b+52>>2];j[a+48>>2]=j[b+48>>2];j[a+52>>2]=d;j[a+56>>2]=j[b+56>>2];j[a+60>>2]=j[b+60>>2];j[a+72>>2]=j[b+72>>2];j[a+124>>2]=j[b+124>>2];d=j[b+120>>2];j[a+116>>2]=j[b+116>>2];j[a+120>>2]=d;d=j[b+112>>2];j[a+108>>2]=j[b+108>>2];j[a+112>>2]=d;d=j[b+96>>2];j[a+92>>2]=j[b+92>>2];j[a+96>>2]=d;d=j[b+88>>2];j[a+84>>2]=j[b+84>>2];j[a+88>>2]=d;d=j[b+80>>2];j[a+76>>2]=j[b+76>>2];j[a+80>>2]=d;j[a+100>>2]=j[b+100>>2];j[a+104>>2]=j[b+104>>2];j[a+128>>2]=j[b+128>>2];j[a+132>>2]=j[b+132>>2];j[a+136>>2]=j[b+136>>2];j[a+140>>2]=j[b+140>>2]}return c|0}function Ct(a,b,c,d,e,f,g,j,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,s)+j|0;m=p(g,s);n=m+e|0;o=d+m|0;m=p(f,s)+c|0;a:{if(!v){t=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];t=0;while(1){q=k[n|0];u=k[o|0]-128|0;E=p(u,F);r=p(k[m|0]-D|0,C)- -8192|0;h[a+2|0]=k[(E+r>>6)+110928|0];q=q-128|0;u=p(q,G)+p(u,H)|0;h[a+1|0]=k[(u+r>>6)+110928|0];q=p(q,I);h[a|0]=k[(q+r>>6)+110928|0];r=p(k[m+2|0]-D|0,C)- -8192|0;h[a+5|0]=k[(r+E>>6)+110928|0];h[a+4|0]=k[(r+u>>6)+110928|0];h[a+3|0]=k[(q+r>>6)+110928|0];n=n+4|0;o=o+4|0;m=m+4|0;a=a+6|0;t=t+2|0;if(v>>>0>t>>>0){continue}break}}s=s+1|0;if((t|0)==(v|0)){n=k[n|0];m=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;h[a+2|0]=k[(m+p(o,i[y>>1])>>6)+110928|0];n=n-128|0;h[a|0]=k[(m+p(n,i[B>>1])>>6)+110928|0];h[a+1|0]=k[((m+p(o,i[A>>1])|0)+p(n,i[z>>1])>>6)+110928|0]}if((b|0)!=(s|0)){continue}break}}}function my(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;a:{f=j[a+28>>2];if(!f){break a}d=j[a+48>>2];g=j[a+16>>2];e=j[a+24>>2];h=e&7;i=(e+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];l=c<<2;b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=1;continue;case 1:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=2;continue;case 2:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=3;continue;case 3:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=4;continue;case 4:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=5;continue;case 5:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=6;continue;case 6:j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;c=7;continue;default:break e}}c=f-1|0;j[a>>2]=j[(k[b|0]<<2)+d>>2];a=a+4|0;b=b+1|0;f:{if((e|0)>1){e=e-1|0;break f}b=b+g|0;a=a+l|0;f=c;if(c){continue b}break a}c=0;continue}}}}function xt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+110928|0]<<16|k[(s+n>>6)+110928|0]<<8|k[(t+n>>6)+110928|0]|-16777216;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+110928|0]<<16|k[(n+s>>6)+110928|0]<<8|k[(n+t>>6)+110928|0]|-16777216;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+110928|0]<<16|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+110928|0]<<8|k[(a+p(m,i[B>>1])>>6)+110928|0]|-16777216}if((b|0)!=(q|0)){continue}break}}}function cA(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;g=g|0;h=h|0;var i=q(0),k=q(0),l=q(0),m=q(0),o=q(0),p=q(0),r=q(0),s=q(0),t=0,u=0,v=0;f=+q((360-f)*3.141592653589793/180);t=Mg(f);f=lg(f);k=n[e+4>>2];i=n[g+4>>2];p=n[e>>2];o=n[g>>2];a=lh(a,128,b+4|0);if(!a){return-1}g=j[d+8>>2];u=j[d+12>>2];r=n[e+8>>2];l=n[e>>2];s=n[e+12>>2];m=n[e+4>>2];e=j[d+4>>2];v=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];j[b+8>>2]=1;k=q(i+k);n[a+124>>2]=k;i=q(o+p);n[a+120>>2]=i;n[a+116>>2]=k;n[a+112>>2]=i;n[a+108>>2]=k;n[a+104>>2]=i;n[a+100>>2]=k;n[a+96>>2]=i;k=q(q(f)+q(-1));n[a+92>>2]=k;i=q(t);n[a+88>>2]=i;n[a+84>>2]=k;n[a+80>>2]=i;n[a+76>>2]=k;n[a+72>>2]=i;n[a+68>>2]=k;n[a+64>>2]=i;k=q(c|0);i=q(q(d|0)/k);n[a+48>>2]=i;p=q(v|0);o=q(q(e|0)/p);n[a+44>>2]=o;n[a+36>>2]=o;n[a+32>>2]=i;i=q(m+s);b=h&2;o=b?m:i;n[a+28>>2]=o;r=q(l+r);c=h&1;s=c?l:r;n[a+24>>2]=s;n[a+20>>2]=o;l=c?r:l;n[a+16>>2]=l;m=b?i:m;n[a+12>>2]=m;n[a+8>>2]=s;n[a+4>>2]=m;n[a>>2]=l;l=q(q(e+u|0)/p);n[a+60>>2]=l;m=q(q(d+g|0)/k);n[a+56>>2]=m;n[a+52>>2]=l;n[a+40>>2]=m;return 0}function VI(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,m=0,n=0,o=0,q=0,r=0;d=j[a+744>>2];a:{if((d|0)<10){break a}g=j[a+748>>2];if(!g){break a}e=j[a+740>>2];i=e+d|0;d=e+4|0;f=e+10|0;l=b<<16|c;o=j[a+752>>2];h=1;while(1){b=(k[d+3|0]|k[d+2|0]<<8)+d|0;c=b>>>0>i>>>0?i:b;b:{if(!(h&o)){break b}e=d+14|0;if(k[d+4|0]|c>>>0>>0){break b}q=k[d+5|0];b=c-e|0;f=k[d+7|0]|k[f|0]<<8;b=(b|0)<(p(f,6)|0)?(b|0)/6|0:f;c:{if(j[a+756>>2]&h){if(!b){break b}r=d+18|0;e=0;while(1){m=b+e>>>1|0;f=p(m,6)+r|0;d=f-4|0;d=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;e=d?m+1|0:e;b=d?b:m;if(e>>>0>>0){continue}break b}break}b=f+1|0;break c}if(!b){break b}while(1){d=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){e=e+6|0;b=b-1|0;if(b){continue}break b}break}f=e+4|0;b=e+5|0}n=((k[b|0]|k[f|0]<<8)<<16>>16)+(q&8?0:n)|0}f=c+6|0;if(i>>>0>>0){break a}h=h<<1;d=c;g=g-1|0;if(g){continue}break}}return n|0}function dq(a,b){var c=0,d=0,e=0,f=0;c=j[a+4>>2];e=c+b|0;a:{b:{c:{switch(k[a+10|0]-2|0){case 0:d:{e:{switch(k[a+9|0]-8|0){case 0:d=b+1|0;f=8;c=b+2|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(e>>>0>c>>>0){continue}break}break d;case 8:break e;default:break a}}d=b+2|0;f=16;c=b+4|0;if(e>>>0<=c>>>0){break d}while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];d=d+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=1;h[a+11|0]=f;if(k[a+8|0]!=4){break b}h[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(k[a+9|0]-8|0){case 0:d=b+3|0;f=24;if((c|0)<=4){break f}c=b+4|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];d=d+3|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}break f;case 8:break g;default:break a}}d=b+6|0;f=48;if((c|0)<=8){break f}c=b+8|0;while(1){h[d|0]=k[c|0];h[d+1|0]=k[c+1|0];h[d+2|0]=k[c+2|0];h[d+3|0]=k[c+3|0];h[d+4|0]=k[c+4|0];h[d+5|0]=k[c+5|0];d=d+6|0;c=c+8|0;if(e>>>0>c>>>0){continue}break}}h[a+10|0]=3;h[a+11|0]=f;if(k[a+8|0]!=6){break b}h[a+8|0]=2}j[a+4>>2]=d-b}}function Bt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,r)+h|0;m=p(g,r);o=m+e|0;t=d+m|0;m=p(f,r)+c|0;a:{if(!v){s=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];s=0;while(1){n=k[o|0]-128|0;E=p(n,I);q=p(k[m|0]-D|0,C)- -8192|0;u=p(n,G);n=k[t|0]-128|0;u=u+p(n,H)|0;n=p(n,F);j[a>>2]=k[(E+q>>6)+110928|0]<<24|k[(q+u>>6)+110928|0]<<16|k[(n+q>>6)+110928|0]<<8|255;q=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(q+E>>6)+110928|0]<<24|k[(q+u>>6)+110928|0]<<16|k[(n+q>>6)+110928|0]<<8|255;o=o+4|0;t=t+4|0;m=m+4|0;a=a+8|0;s=s+2|0;if(v>>>0>s>>>0){continue}break}}r=r+1|0;if((s|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[t|0]-128|0;j[n>>2]=k[(a+p(o,i[B>>1])>>6)+110928|0]<<24|k[((a+p(m,i[A>>1])|0)+p(o,i[z>>1])>>6)+110928|0]<<16|k[(a+p(m,i[y>>1])>>6)+110928|0]<<8|255}if((b|0)!=(r|0)){continue}break}}}function zt(a,b,c,d,e,f,g,h,l,m){var n=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,I=0;if(b){v=a-1|0;a=p(m,12);w=a+110882|0;x=a+110880|0;y=a+110890|0;z=a+110888|0;A=a+110886|0;B=a+110884|0;while(1){a=p(l,q)+h|0;m=p(g,q);u=m+e|0;o=d+m|0;m=p(f,q)+c|0;a:{if(!v){r=0;break a}C=i[w>>1];D=k[x|0];F=i[y>>1];G=i[z>>1];H=i[A>>1];I=i[B>>1];r=0;while(1){s=k[o|0]-128|0;E=p(s,F);n=p(k[m|0]-D|0,C)- -8192|0;t=k[u|0]-128|0;s=p(t,G)+p(s,H)|0;t=p(t,I);j[a>>2]=k[(E+n>>6)+110928|0]<<24|k[(s+n>>6)+110928|0]<<16|k[(t+n>>6)+110928|0]<<8|255;n=p(k[m+2|0]-D|0,C)- -8192|0;j[a+4>>2]=k[(n+E>>6)+110928|0]<<24|k[(n+s>>6)+110928|0]<<16|k[(n+t>>6)+110928|0]<<8|255;u=u+4|0;o=o+4|0;m=m+4|0;a=a+8|0;r=r+2|0;if(v>>>0>r>>>0){continue}break}}q=q+1|0;if((r|0)==(v|0)){n=a;a=p(i[w>>1],k[m|0]-k[x|0]|0)- -8192|0;o=k[o|0]-128|0;m=k[u|0]-128|0;j[n>>2]=k[(a+p(o,i[y>>1])>>6)+110928|0]<<24|k[((a+p(o,i[A>>1])|0)+p(m,i[z>>1])>>6)+110928|0]<<16|k[(a+p(m,i[B>>1])>>6)+110928|0]<<8|255}if((b|0)!=(q|0)){continue}break}}}function sD(a,b,c,d){var e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;g=oe-16|0;oe=g;j[g+12>>2]=b;a:{if(!j[65572]){ve(63202,0);b=-1;break a}if(!b){ve(63357,0);b=-1;break a}e=k[j[a>>2]+8|0]&64?j[a+32>>2]!=0:e;o=j[a+28>>2];b=Le(b);j[g+8>>2]=b;b:{if(!b){break b}p=e^1;e=0;while(1){c:{b=$o(g+12|0,g+8|0)&65535;if(!((b|0)==65279|(b|0)==65534)){if(ep(a,b,16)){break c}b=j[a+52>>2];d:{if(!i|p){break d}f=j[b+4>>2];if(!f){break d}cs(j[a>>2],i,f,g);e=(j[g>>2]>>6)+e|0}i=j[b+56>>2]+e|0;f=(i|0)<(l|0);l=f?i:l;e=!(h[a+24|0]&1)|h[a+20|0]&1?e:j[a+36>>2]+e|0;i=j[b+76>>2];f=j[b+60>>2];f=e+((f|0)<(i|0)?i:f)|0;m=(f|0)>(m|0)?f:m;e=e+i|0;i=j[b+4>>2];f=j[b+64>>2];n=(f|0)<(n|0)?f:n}if(j[g+8>>2]){continue}break b}break}ve(63337,0);b=-1;break a}e=(o|0)>0?o<<1:0;if(c){j[c>>2]=(e+m|0)-l}b=0;if(!d){break a}c=e+(j[a+8>>2]-n|0)|0;j[d>>2]=c;e=j[a+4>>2];c=(c|0)<(e|0)?e:c;j[d>>2]=c;if(!(k[a+24|0]&4)){break a}e=j[a+48>>2]+(j[a+8>>2]+(j[a+44>>2]^-1)|0)|0;a=j[a+28>>2];a=e+((a|0)>0?a<<1:0)|0;if((a|0)<=(c|0)){break a}j[d>>2]=a}oe=g+16|0;return b}function JM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=j[a+100>>2];d=j[a+316>>2];if(d){g=c;b=j[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=j[e+4>>2];if(d){b=c;d=j[d>>2];if(d){qe[j[b+8>>2]](b,d)}j[j[e+4>>2]>>2]=0;b=j[e+4>>2];if(b){qe[j[c+8>>2]](c,b)}j[e+4>>2]=0;b=j[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=j[a+316>>2];continue}break}d=j[a+316>>2]}if(d){qe[j[g+8>>2]](g,d)}j[a+316>>2]=0}b=j[a+164>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+164>>2]=0;b=j[a+168>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+168>>2]=0;b=j[a+172>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+172>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;b=j[a+304>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+300>>2]=0;j[a+304>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+152>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+152>>2]=0;b=j[a+156>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+24>>2]=0;j[a+156>>2]=0;b=j[a+324>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+324>>2]=0;b=j[a+328>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+328>>2]=0}}function oy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];h=j[a+16>>2];c=j[a+24>>2];m=c&7;n=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=n;c:{d:{switch(m-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=1;continue;case 1:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=2;continue;case 2:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=3;continue;case 3:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=4;continue;case 4:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=5;continue;case 5:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=6;continue;case 6:i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;c=7;continue;default:break e}}c=e-1|0;i[a>>1]=l[(k[b|0]<<1)+d>>1];a=a+2|0;b=b+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+h|0;e=c;if(c){continue b}break a}c=0;continue}}}}function nM(a,b){var c=0,d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=40;a:{if(!a|!b){break a}g=j[b+28>>2];e=Fe(b,0);if(e){break a}e=uf(b,d+14|0,2);if(e){break a}e=3;if(k[d+14|0]!=31|k[d+15|0]!=157){break a}j[d+8>>2]=0;c=a;j[c+24>>2]=0;j[c+28>>2]=0;j[c+32>>2]=0;j[c+36>>2]=0;j[c+16>>2]=0;j[c+20>>2]=0;j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;j[c+28>>2]=g;c=He(g,4292,d+8|0);e=j[d+8>>2];if(!e){j[c>>2]=b;j[c+4>>2]=a;f=j[a+28>>2];i=c+4280|0;j[c+4288>>2]=i;j[c+8>>2]=f;j[c+4284>>2]=i;j[c+4280>>2]=0;b:{f=Fe(b,0);c:{if(f){break c}f=uf(b,d+14|0,2);if(f){break c}f=3;if(k[d+14|0]!=31){break c}if(k[d+15|0]==157){break b}}j[d+8>>2]=f;if(c){qe[j[g+8>>2]](g,c)}e=j[d+8>>2];break a}Ee(c+20|0,0,156);j[c+176>>2]=b;b=j[b+28>>2];j[c+100>>2]=c+112;j[c+96>>2]=0;j[c+88>>2]=0;j[c+92>>2]=0;j[c+180>>2]=b;j[c+104>>2]=0;j[c+108>>2]=64;j[c+48>>2]=0;j[c+36>>2]=0;j[c+40>>2]=0;h[c+44|0]=0;j[c+64>>2]=9;j[c+12>>2]=0;j[c+16>>2]=0;j[a+12>>2]=c}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=2147483647;j[a+24>>2]=686;j[a+20>>2]=687}oe=d+16|0;return e}function Mr(a,b){var c=0,d=0;b=Ee(b,0,196);d=k[a+176|0];h[b+8|0]=d;if(d){while(1){i[(b+(c<<1)|0)+12>>1]=j[((c<<2)+a|0)+180>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+177|0];h[b+9|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+40>>1]=j[((c<<2)+a|0)+236>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+178|0];h[b+10|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+60>>1]=j[((c<<2)+a|0)+276>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+179|0];h[b+11|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+88>>1]=j[((c<<2)+a|0)+332>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}j[b+108>>2]=j[a+372>>2];j[b+112>>2]=j[a+376>>2];j[b+116>>2]=j[a+380>>2];i[b+120>>1]=j[a+384>>2];i[b+122>>1]=j[a+388>>2];d=k[a+392|0];h[b+124|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+128>>1]=j[((c<<2)+a|0)+396>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=k[a+393|0];h[b+125|0]=d;if(d){c=0;while(1){i[(b+(c<<1)|0)+154>>1]=j[((c<<2)+a|0)+448>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}h[b+126|0]=k[a+500|0];j[b+184>>2]=j[a+512>>2];j[b+4>>2]=j[a+508>>2]}function xF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!(k[a+701|0]|!(k[a+898|0]&2))){b=j[a+864>>2];if((b|0)<0){break a}c=j[a+888>>2];d=j[a+876>>2];g=c+(d+b|0)|0;if((g|0)<1){break a}h=(d|0)<0;f=0;c:{if(!b){break c}e=v(+(b|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}f=~~e;if(r(e)<2147483648){break c}f=-2147483648}if(h|f>>>0>32768){break a}h=(c|0)<0;b=0;d:{if(!d){break d}e=v(+(d|0)*32768/+(g|0)+.5);if(e<=2147483647^1|e>=-2147483648^1){break a}b=~~e;if(r(e)<2147483648){break d}b=-2147483648}if(h|b>>>0>32768){break a}e:{if(!c){d=0;break e}e=v(+(c|0)*32768/+(g|0)+.5);c=e<=2147483647^1;if(r(e)<2147483648){d=~~e}else{d=-2147483648}if(e>=-2147483648^1|c|d>>>0>32768){break a}}c=(b+f|0)+d|0;if((c|0)>32769){break a}g=(c|0)<32768;c=(c|0)==32769;f:{if((g|0)==(c|0)){break f}c=c?-1:g;if(!((b|0)<(f|0)|(b|0)<(d|0))){b=c+b|0;break f}if(!((b|0)>(f|0)|(d|0)>(f|0))){f=c+f|0;break f}d=c+d|0}if(((b+f|0)+d|0)!=32768){break b}i[a+704>>1]=b;i[a+702>>1]=f}return}Ye(a,208908);z()}Ye(a,208950);z()}function oK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=oe-80|0;oe=f;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}e=19;if((c|0)!=2){break a}c=b+108|0;if(d){Tf(c,j[d>>2],j[d+4>>2])}Ug(c,f+56|0);e=6;g=j[f+68>>2];n=g+32&-64;k=j[f+60>>2];o=k+32&-64;d=n-o|0;p=g+63&-64;q=k&-64;g=(d?d:p-q|0)>>6;i=j[f+64>>2];l=j[f+56>>2];r=l+32&-64;k=(i+32&-64)-r|0;l=l&-64;i=(k?k:(i+63&-64)-l|0)>>6;if((g|i)>>>0>65535){break a}e=j[a+8>>2];if(h[j[b+156>>2]+4|0]&1){m=j[b+88>>2];if(m){qe[j[e+8>>2]](e,m)}j[b+88>>2]=0;m=j[b+156>>2];j[m+4>>2]=j[m+4>>2]&-2}j[b+76>>2]=g;j[b+80>>2]=i;h[b+94|0]=1;i=i+15>>>3&536870910;j[b+84>>2]=i;s=b,t=xe(e,g,0,i,0,f+76|0),j[s+88>>2]=t;e=j[f+76>>2];if(e){break a}e=j[b+156>>2];j[e+4>>2]=j[e+4>>2]|1;g=k?r:l;e=d?o:q;Tf(c,0-g|0,0-e|0);j[f+16>>2]=0;j[f+12>>2]=c;j[f+8>>2]=b+76;s=f,t=qe[j[a+56>>2]](j[a+52>>2],f+8|0)|0,j[s+76>>2]=t;Tf(c,g,e);e=j[f+76>>2];if(e){break a}j[b+72>>2]=1651078259;j[b+104>>2]=(d?n:p)>>6;j[b+100>>2]=g>>6;e=0}oe=f+80|0;return e|0}function Ii(a,b,c,d){var e=0,f=0,g=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;f=p(d,1468)+a|0;g=j[f+44>>2];l=b?j[(p(b,12)+c|0)-12>>2]:0;e=j[j[a+2988>>2]+40>>2];b=(e|0)/256|0;o=(p(e,6e3)|0)/2048|0;a:{if((g|0)<1){break a}c=j[f+52>>2];k=c+p(g,48)|0;q=e+255>>>0<511?1:b;m=j[(p(d,1468)+a|0)+68>>2];b=c;while(1){if((m|0)==h[b+1|0]){n=i[b+2>>1];a=c;while(1){e=i[a+2>>1];b:{if((m|0)!=(0-h[a+1|0]|0)|(e|0)<=(n|0)){break b}f=i[a+6>>1];d=i[b+6>>1];r=(d|0)>(f|0)?f:d;f=i[a+4>>1];d=i[b+4>>1];f=r-((d|0)<(f|0)?f:d)|0;if((f|0)<(q|0)){break b}d=e-n|0;e=d;c:{if(!l){break c}d=(d<<10)/(l|0)|0;e=32e3;if((d|0)>11024){break c}e=0;if((d|0)<1025){break c}d=d-1024|0;e=(p(d,d)>>>0)/3e3|0}d=e+((o|0)/(f|0)|0)|0;if((d|0)>2]){j[b+20>>2]=a;j[b+32>>2]=d}if((d|0)>=j[a+32>>2]){break b}j[a+20>>2]=b;j[a+32>>2]=d}a=a+48|0;if(k>>>0>a>>>0){continue}break}}b=b+48|0;if(k>>>0>b>>>0){continue}break}if((g|0)<=0){break a}while(1){a=j[c+20>>2];if(!(!a|j[a+20>>2]==(c|0))){j[c+20>>2]=0;j[c+24>>2]=j[a+20>>2]}c=c+48|0;if(k>>>0>c>>>0){continue}break}}}function ir(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=q(0),p=0,s=0,t=0,u=q(0);i=(b|0)/4|0;m=Te(i<<2);f=Te(b+i<<2);j[a+12>>2]=m;j[a+8>>2]=f;j[a>>2]=b;d=a;o=q(b|0);g=kP(aE(+o)/.6931471805599453);a:{if(r(g)<2147483648){e=~~g;break a}e=-2147483648}j[d+4>>2]=e;b:{if((b|0)<4){break b}d=b>>1;g=+(b|0);l=3.141592653589793/g;s=3.141592653589793/+(b<<1);while(1){k=l*+(c<<2);t=f+(c<<3)|0,u=q(lg(k)),n[t>>2]=u;h=c<<1;p=h|1;t=f+(p<<2)|0,u=q(-q(Mg(k))),n[t>>2]=u;h=f+(d+h<<2)|0;k=s*+(p|0);t=h,u=q(Mg(k)),n[t+4>>2]=u;t=h,u=q(lg(k)),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}i=(b|0)/8|0;g=3.141592653589793/g;c=0;while(1){d=f+((c<<1)+b<<2)|0;l=g*+(c<<2|2);t=d,u=q(Mg(l)*-.5),n[t+4>>2]=u;t=d,u=q(lg(l)*.5),n[t>>2]=u;c=c+1|0;if((i|0)!=(c|0)){continue}break}if((b|0)<8){break b}b=1<>c;if(e){continue}break}e=d<<3;j[e+m>>2]=-2-(f|h);j[(e|4)+m>>2]=f;d=d+1|0;if((i|0)!=(d|0)){continue}break}}n[a+16>>2]=q(4)/o}function Ol(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,s=0,t=q(0);if((b|0)>=1){t=n[e+1108>>2];while(1){e=p(f,56)+a|0;o=j[e+28>>2];s=j[e+52>>2];k=+q(q(t*q(o+s|0))/q(o+1|0))+1;h=h+(k*+(o|0)+ +(s|0));l=l+(k*+j[e+24>>2]+ +j[e+48>>2]);i=i+(k*+j[e+16>>2]+ +j[e+40>>2]);m=m+(k*+j[e+12>>2]+ +j[e+36>>2]);g=g+(k*+j[e+8>>2]+ +j[e+32>>2]);f=f+1|0;if((f|0)!=(b|0)){continue}break}}e=j[a>>2];f=j[c>>2];if((f|0)>=0){h=h+1;m=m+ +(f|0);l=l+ +(p(e,f)|0);i=i+ +(p(e,e)|0);g=g+ +(e|0)}f=j[(p(b,56)+a|0)-52>>2];a=j[d>>2];if((a|0)>=0){h=h+1;m=m+ +(a|0);l=l+ +(p(a,f)|0);i=i+ +(p(f,f)|0);g=g+ +(f|0)}b=1;k=h*i-g*g;a:{b:{if(!(k>0^1)){a=c;i=(i*m-l*g)/k;g=(h*l-m*g)/k;h=kP(i+g*+(e|0));c:{if(r(h)<2147483648){b=~~h;break c}b=-2147483648}j[a>>2]=b;a=d;g=kP(i+g*+(f|0));d:{if(r(g)<2147483648){e=~~g;break d}e=-2147483648}j[a>>2]=e;f=j[c>>2];if((f|0)>=1024){f=1023;j[c>>2]=1023;e=j[d>>2]}if((e|0)>=1024){j[d>>2]=1023;f=j[c>>2];e=1023}b=0;if((f|0)<=-1){j[c>>2]=0;e=j[d>>2]}if((e|0)<0){break b}break a}j[c>>2]=0}j[d>>2]=0}return b}function KM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0;f=1;d=bf(1,44);h=j[j[a+4>>2]+28>>2];j[d>>2]=b;g=j[b+12>>2];j[d+4>>2]=g;a=j[h+2848>>2];j[d+12>>2]=a;a=a+p(j[b+20>>2],56)|0;j[d+16>>2]=a;i=j[a>>2];l=bf(g,4);j[d+20>>2]=l;if((g|0)>=1){m=b+280|0;n=b+24|0;a=0;while(1){b=k<<2;o=b+n|0;c=j[o>>2];c=c?32-s(c)|0:0;a:{if(!c){break a}q=b+l|0;t=q,u=bf(c,4),j[t>>2]=u;e=(c|0)>(e|0)?c:e;if((c|0)<1){break a}o=j[o>>2];b=0;while(1){if(o>>>b&1){j[j[q>>2]+(b<<2)>>2]=j[h+2848>>2]+p(j[m+(a<<2)>>2],56);a=a+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}k=k+1|0;if((k|0)!=(g|0)){continue}break}}j[d+24>>2]=1;if((i|0)>=1){while(1){f=p(f,g);r=r+1|0;if((r|0)!=(i|0)){continue}break}j[d+24>>2]=f}j[d+8>>2]=e;h=Te(f<<2);j[d+28>>2]=h;if((f|0)>=1){k=i<<2;e=0;l=(i|0)<1;while(1){m=Te(k);j[h+(e<<2)>>2]=m;b=f;a=e;c=0;if(!l){while(1){b=(b|0)/(g|0)|0;n=(a|0)/(b|0)|0;j[m+(c<<2)>>2]=n;a=a-p(b,n)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}return d|0}function GF(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,i=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=q(0);k=j[j[j[j[a+64>>2]+4>>2]+28>>2]+(j[a+28>>2]<<2)>>2]/2|0;a:{if(c){s=j[b+1296>>2];t=j[s+832>>2];a=p(t,j[c>>2]);a=(a|0)<255?a:255;g=(a|0)>0?a:0;u=j[b+1284>>2];if((u|0)>=2){x=b+260|0;a=0;m=1;while(1){h=j[(m<<2)+x>>2]<<2;b=j[h+c>>2];if(b>>>0<=32767){b=p(b,t);b=(b|0)<255?b:255;b=(b|0)>0?b:0;e=b-g|0;f=j[(h+s|0)+836>>2];h=f-a|0;v=(e|0)/(h|0)|0;r=(f|0)<(k|0)?f:k;if((r|0)>(a|0)){i=(a<<2)+d|0;n[i>>2]=n[(g<<2)+60976>>2]*n[i>>2]}a=a+1|0;if((r|0)>(a|0)){o=p(h,v);i=o>>31;l=e>>31;i=(l+e^l)-(i^i+o)|0;o=(e|0)>-1?1:-1;e=0;while(1){l=(a<<2)+d|0;e=e+i|0;w=(e|0)<(h|0);g=(g+v|0)+(w?0:o)|0;n[l>>2]=n[(g<<2)+60976>>2]*n[l>>2];e=e-(w?0:h)|0;a=a+1|0;if((r|0)!=(a|0)){continue}break}}g=b;a=f}m=m+1|0;if((u|0)!=(m|0)){continue}break}}a=1;if((f|0)>=(k|0)){break a}y=n[(g<<2)+60976>>2];while(1){a=(f<<2)+d|0;n[a>>2]=y*n[a>>2];a=1;f=f+1|0;if((k|0)!=(f|0)){continue}break}break a}a=0;Ee(d,0,k<<2)}return a|0}function lM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,i=0,k=0;a:{b:{c:{a=j[a+12>>2];f=j[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=j[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){j[a+4280>>2]=b;j[a+4284>>2]=e-f;break c}f=0;if(Fe(j[a>>2],0)){break a}j[a+12>>2]=0;j[a+16>>2]=0;j[a+104>>2]=0;j[a+48>>2]=0;j[a+36>>2]=0;j[a+40>>2]=0;h[a+44|0]=0;j[a- -64>>2]=9;e=a+4280|0;j[a+4288>>2]=e;j[a+4284>>2]=e;j[e>>2]=0}if(b>>>0<=f>>>0){break c}g=j[a+4284>>2];i=j[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;j[a+4284>>2]=b+g;j[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(ur(g,0,e)>>>0>>0){break a}j[a+4280>>2]=e+j[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;k=a+12|0;e=j[a+4284>>2];b=j[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Ae(c+f|0,e,b);j[a+4284>>2]=b+j[a+4284>>2];j[a+4280>>2]=b+j[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}j[a+4284>>2]=g;i=ur(k,g,4096);e=j[a+4284>>2];b=i+e|0;j[a+4288>>2]=b;if(i){continue}break}}return f|0}function rm(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;i=k[j[a>>2]+192|0];j[g>>2]=0;j[f>>2]=0;if(k[a+11666|0]){h=e-c|0;e=i?0-h|0:h;l=j[a+4>>2];h=p(h>>16,b>>16);b=d-b|0;j[l+16>>2]=j[l+16>>2]+(h-p(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=j[a+11688>>2];if((e|0)>b<<1){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=j[a+11688>>2];if((0-e|0)>b<<1){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(19661,j[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((e|0)>(0-(b<<1)|0)){j[f>>2]=c;a=j[a+11692>>2];break a}m=f,n=ye(45875,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){j[f>>2]=0;a=j[a+11692>>2]<<1;break a}c=j[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){j[f>>2]=0-c;a=j[a+11692>>2];break a}m=f,n=ye(-45874,c),j[m>>2]=n;a=ye(111411,j[a+11692>>2]);break a}j[f>>2]=0;a=0}j[g>>2]=a}}function Ti(a,b){var c=0;c=oe-240|0;oe=c;a:{b:{switch(b+138|0){case 137:j[c+20>>2]=2950;j[c+16>>2]=a;ve(2943,c+16|0);break a;case 136:j[c+36>>2]=2959;j[c+32>>2]=a;ve(2943,c+32|0);break a;case 135:j[c+52>>2]=2966;j[c+48>>2]=a;ve(2943,c+48|0);break a;case 10:j[c+68>>2]=2974;j[c+64>>2]=a;ve(2943,c- -64|0);break a;case 9:j[c+84>>2]=2983;j[c+80>>2]=a;ve(2943,c+80|0);break a;case 8:j[c+100>>2]=2993;j[c+96>>2]=a;ve(2943,c+96|0);break a;case 7:j[c+116>>2]=3002;j[c+112>>2]=a;ve(2943,c+112|0);break a;case 6:j[c+132>>2]=3012;j[c+128>>2]=a;ve(2943,c+128|0);break a;case 5:j[c+148>>2]=3026;j[c+144>>2]=a;ve(2943,c+144|0);break a;case 4:j[c+164>>2]=3040;j[c+160>>2]=a;ve(2943,c+160|0);break a;case 3:j[c+180>>2]=3052;j[c+176>>2]=a;ve(2943,c+176|0);break a;case 2:j[c+196>>2]=3065;j[c+192>>2]=a;ve(2943,c+192|0);break a;case 1:j[c+212>>2]=3079;j[c+208>>2]=a;ve(2943,c+208|0);break a;case 0:j[c+228>>2]=3091;j[c+224>>2]=a;ve(2943,c+224|0);break a;default:break b}}j[c+4>>2]=b;j[c>>2]=a;ve(3102,c)}oe=c+240|0}function $I(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,m=0,n=0,o=0,q=0;f=oe-16|0;oe=f;e=qe[j[a+508>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=j[f+12>>2];if(c>>>0<4){break a}e=_f(b,c,a+740|0);if(e){break a}c=j[f+12>>2];j[a+744>>2]=c;e=0;d=j[a+740>>2];b=k[d+2|0]<<8|k[d+3|0];l=b>>>0<32?b:32;b:{if(!l){break b}h=c+d|0;m=d+4|0;while(1){b=m;if(b+6>>>0>h>>>0){break b}c=k[b+3|0]|k[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;m=c>>>0>h>>>0?h:c;c=b+14|0;c:{if((k[b+5|0]&247|k[b+4|0]<<8)!=1|c>>>0>h>>>0){break c}n=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}q=q|n}g=g+1|0;if((l|0)!=(g|0)){continue}break}g=l}j[a+756>>2]=q;j[a+752>>2]=o;j[a+748>>2]=g}oe=f+16|0;return e|0}function ls(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;e=oe-16|0;oe=e;a:{if(!a){c=35;break a}c=j[a+96>>2];if(!c){c=6;break a}l=j[c+8>>2];d=He(l,j[j[c+12>>2]+44>>2],e+8|0);b:{c:{c=j[e+8>>2];if(!c){j[d+4>>2]=a;i=j[a+96>>2];c=j[i+12>>2];m=j[i+8>>2];j[e+12>>2]=0;j[d>>2]=j[i+4>>2];f=He(m,40,e+12|0);g=j[e+12>>2];if(g){break c}j[d+156>>2]=f;if(!(k[j[i>>2]+1|0]&2)){g=TO(m,f);j[e+12>>2]=g;if(g){break c}}c=j[c+64>>2];if(c){c=qe[c|0](d)|0;j[e+8>>2]=c;if(c){break b}}j[d+8>>2]=j[a+84>>2];j[a+84>>2]=d;c=0;if(!b){break a}j[b>>2]=d;break a}if(!b){break a}j[b>>2]=0;break a}j[e+8>>2]=g}f=j[j[d+4>>2]+96>>2];c=j[f+8>>2];a=j[j[f+12>>2]+68>>2];if(a){qe[a|0](d)}a=j[d+156>>2];d:{if(!a){j[d+88>>2]=0;break d}e:{if(h[a+4|0]&1){b=j[j[d+4>>2]+100>>2];a=j[d+88>>2];if(a){qe[j[b+8>>2]](b,a)}j[d+88>>2]=0;a=j[d+156>>2];j[a+4>>2]=j[a+4>>2]&-2;break e}j[d+88>>2]=0}if(!(k[j[f>>2]+1|0]&2)){ps(j[a>>2]);a=j[d+156>>2];j[a>>2]=0}if(a){qe[j[c+8>>2]](c,a)}j[d+156>>2]=0}if(d){qe[j[l+8>>2]](l,d)}c=j[e+8>>2]}oe=e+16|0;return c}function FE(a,b,c){var d=0,e=0,f=0,g=0;f=oe-32|0;oe=f;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}e=j[a+788>>2];f:{if(e){if(m[a+792>>2]>=c>>>0){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,e)}e=ag(a,c);if(!e){break e}j[a+792>>2]=c;j[a+788>>2]=e}pf(a,e,c);tf(a,e,c);d=0;if(Ie(a,0)){break a}g=211289;g:{if(!c){break g}h:{while(1){if(!k[d+e|0]){break h}d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(d-1>>>0>78){break g}g=211256;if(d+3>>>0>c>>>0){break g}g=211695;if(k[(d+e|0)+1|0]){break g}j[f+28>>2]=-1;e=c;c=d+2|0;if((Pp(a,e,c,f+28|0)|0)==1){e=j[f+28>>2];g=e+c|0;c=j[a+788>>2];h[g+c|0]=0;j[f+24>>2]=0;j[f+16>>2]=0;j[f+20>>2]=0;j[f+12>>2]=e;j[f+8>>2]=(c+d|0)+2;j[f+4>>2]=c;j[f>>2]=0;g=211720;if(Ll(a,b,f)){break g}break a}g=j[a+248>>2];if(!g){break a}}Je(a,g);break a}hf(a,211072);z()}Ie(a,c);Je(a,211242)}oe=f+32|0}function dn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{a=j[b+1300>>2];b:{c:{if((a|0)<0){break c}c=j[67093];if(!c){break c}while(1){if((a|0)==j[c>>2]){break b}c=j[c+1320>>2];if(c){continue}break}}a=qe[j[57972]](1328)|0;if(a){j[57976]=j[57976]+1}if(!a){break b}Oe(a,0,1328);j[a>>2]=j[b+1300>>2];c=Uf(b+1304|0);j[a+4>>2]=c;if(!c){break a}c=Uf(b+1368|0);j[a+8>>2]=c;if(!c){b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}break a}e=j[b+8>>2];j[a+24>>2]=e;f=j[b+12>>2];j[a+20>>2]=f;c=0;g=j[67091];j[67091]=g+1;j[a+12>>2]=g;o[a+32>>3]=o[b>>3];if((e|0)>=1){h=a+40|0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+16>>3];c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((f|0)>=1){e=a+1064|0;h=a+552|0;c=0;while(1){d=c<<3;o[d+h>>3]=o[(b+d|0)+528>>3];d=c<<2;j[d+e>>2]=j[(b+d|0)+1040>>2];c=c+1|0;if((f|0)>(c|0)){continue}break}}b=j[67092];d:{if(!b){j[67092]=a;b=268372;break d}j[b+1320>>2]=a;b=268368}j[b>>2]=a;j[67090]=j[67090]+1;SA(g)}return 1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 1}function Xk(a,b,c,d,e,f,g){var h=0,i=0,k=0,m=0,n=0;h=oe-32|0;oe=h;a:{if(j[a+4>>2]==(c|0)){break a}i=j[a+44>>2];if(!i){break a}kf(i);j[a+44>>2]=0}b:{c:{d:{if(j[b>>2]|j[b+4>>2]){break d}i=j[a+8>>2];k=j[b+8>>2];if((i|0)>(k|0)){break d}m=j[a+12>>2];n=j[b+12>>2];if((d|0)!=(k|0)|(m|0)>(n|0)){break d}k=1;if((e|0)==(n|0)){break c}}e:{f:{i=j[a+44>>2];if(i){j[i+20>>2]=f;j[i+12>>2]=e;j[i+8>>2]=d;j[i+16>>2]=g;break f}ci(c,h,h+28|0,h+24|0,h+20|0,h+16|0);d=Aj(f,d,e,j[h>>2],g,j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+44>>2]=d;if(d){break f}d=0;break e}i=j[a+40>>2];if(!i){ci(c,h,h+28|0,h+24|0,h+20|0,h+16|0);i=ug(0,j[a+8>>2],j[a+12>>2],j[h>>2],j[h+28>>2],j[h+24>>2],j[h+20>>2],j[h+16>>2]);j[a+40>>2]=i;d=0;if(!i){break e}}g=j[i+16>>2];f=j[i+20>>2];d=1}if(!d){break b}m=j[a+12>>2];i=j[a+8>>2];k=0}if(k|(fh(i,m,j[a>>2],j[a+28>>2],l[a+20>>1],c,f,g)|0)<0){break b}c=j[b+12>>2];j[h+8>>2]=j[b+8>>2];j[h+12>>2]=c;c=j[b+4>>2];j[h>>2]=j[b>>2];j[h+4>>2]=c;yn(j[a+40>>2],h,j[a+44>>2],0)}oe=h+32|0}function Qn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=j[a+28>>2];if(h){k=b^-1;m=j[a+24>>2];n=m-1|0;g=b<<16|b;o=g^-1;d=j[a>>2];c=j[a+20>>2];r=j[a+36>>2]>>1<<1;p=j[a+16>>2]>>1;s=p-1<<1;while(1){h=h-1|0;a:{if((c^d)&2){if(c&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);d=d+2|0;c=c+2|0;a=n}else{a=m}e=a;a=d+2|0;d=j[d-2>>2];if((e|0)>=2){while(1){f=d>>>16|0;d=j[a>>2];f=f|d<<16;q=j[c>>2];j[c>>2]=(((f&g)>>>1)+((q&g)>>>1)|0)+(f&(o&q));a=a+4|0;c=c+4|0;f=(e|0)>3;e=e-2|0;if(f){continue}break}}if(e){e=d>>>16|0;d=l[c>>1];i[c>>1]=((e&b)+(d&b)>>>1|0)+(d&(e&k));c=c+2|0;a=a+2|0}d=a+s|0;break a}if(d&2){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0;a=n}else{a=m}if((a|0)>=2){while(1){e=j[c>>2];f=j[d>>2];j[c>>2]=(((e&g)>>>1)+((f&g)>>>1)|0)+(e&(f&o));c=c+4|0;d=d+4|0;e=(a|0)>3;a=a-2|0;if(e){continue}break}}if(a){e=l[d>>1];a=l[c>>1];i[c>>1]=(e&(a&k))+((b&e)+(a&b)>>>1|0);c=c+2|0;d=d+2|0}d=d+(p<<1)|0}c=c+r|0;if(h){continue}break}}}function Vz(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,i=0,k=0,l=0;f=oe-16|0;oe=f;b=Hh(j[a+772>>2],b,c);a:{if(b){break a}if(!j[a+8>>2]){j[d>>2]=1;b=0;break a}j[f+12>>2]=j[a+768>>2];b=-1;e=a+16|0;c=DO(e,j[a+776>>2],j[a+780>>2],f+12|0);if((c|0)<=-1){Ti(2923,c);break a}b:{b=j[f+12>>2];if((b|0)==j[a+768>>2]){break b}j[a+768>>2]=b;if((qo(a)|0)>=0){break b}b=-1;break a}if(j[e+88>>2]>=2){g=j[e+84>>2];d=j[e+80>>2]}else{g=-1;d=-131}c:{d:{e:{if(j[a+784>>2]!=1){break e}h=j[a+800>>2];i=j[a+804>>2];b=i;if((b|0)>(g|0)?1:(g|0)<=(b|0)?d>>>0>>0:0){break e}k=j[a+816>>2];l=j[a+820>>2];b=-1;e=Wm(e,j[a+792>>2],j[a+796>>2]);if((e|0)<=-1){Ti(2931,e);break a}c=(hP(k,l,h-d|0,i-(g+(d>>>0>h>>>0)|0)|0)<<1)+c|0;if((c|0)<1){break c}break d}if((c|0)>0){break d}c=j[a+8>>2];if((c|0)==1){j[a+8>>2]=0;Ko(j[a+772>>2]);break c}b=-1;j[a+8>>2]=(c|0)>0?c-1|0:-1;a=Im(e,0);if((a|0)>-1){break c}Ti(3124,a);break a}if((ii(j[a+772>>2],j[a+776>>2],c)|0)>=0){break c}b=-1;break a}b=0}oe=f+16|0;return b|0}function Mp(a,b,c){var d=0,e=0,f=0,g=0;f=oe-1024|0;oe=f;j[a+240>>2]=0;j[a+236>>2]=b;e=b?c:0;g=a+224|0;a:{b:{c:{while(1){if(!j[a+228>>2]){c=j[a+408>>2];d:{while(1){if(c){break d}Ie(a,0);c=Fl(a);j[a+408>>2]=c;if(j[a+376>>2]==1229209940){continue}break}Ye(a,212300);z()}d=j[a+796>>2];c=c>>>0>>0?c:d;d=j[a+788>>2];e:{if(d){if(c>>>0<=m[a+792>>2]){break e}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,c);if(!d){break c}j[a+792>>2]=c;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);j[a+228>>2]=c;j[a+224>>2]=d;j[a+408>>2]=j[a+408>>2]-c}f:{if(b){j[a+240>>2]=e;e=0;c=ui(g,0);d=j[a+240>>2];break f}j[a+240>>2]=1024;j[a+236>>2]=f;c=ui(g,0);d=1024-j[a+240>>2]|0}j[a+240>>2]=0;e=d+e|0;g:{if(c){if((c|0)==1){j[a+236>>2]=0;j[a+208>>2]=j[a+208>>2]|8;j[a+212>>2]=j[a+212>>2]|8;if(!(j[a+408>>2]?0:!j[a+228>>2])){Je(a,212322)}if(!e){break g}if(b){break a}Je(a,212344);break g}th(a,c);c=j[a+248>>2];if(b){break b}Je(a,c);break g}if(e){continue}}break}oe=f+1024|0;return}hf(a,212476);z()}hf(a,c);z()}Ye(a,212300);z()}function _B(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;a:{if(!a){b=0;ve(2634,0);break a}f=qe[j[a+4>>2]](a,0,0,1)|0;g=pe;b:{c:{d:{if(b){break d}if((qe[j[a+8>>2]](a,c+4|0,1,12)|0)!=12){break c}qe[j[a+4>>2]](a,-12,-1,1)|0;e:{if(wf(c+4|0,2822,4)){break e}if(wf(c+12|0,2827,4)){break e}b=2;break d}if(!wf(c+4|0,2832,4)){b=2;break d}if(!wf(c+4|0,2467,4)){b=5;break d}if(!wf(c+4|0,2472,4)){b=8;break d}b=4;if(!wf(c+4|0,2477,4)){break d}b=6;if(!wf(c+4|0,2482,3)|((k[c+5|0]&254)==250?k[c+4|0]==255:0)){break d}b=3}j[65586]=0;f:{if(!j[57818]|j[57816]!=(b|0)){break f}d=j[57821];if(!d){break f}e=231256;d=qe[d|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}g:{if(!j[57797]|j[57795]!=(b|0)){break g}b=j[57800];if(!b){break g}e=231172;d=qe[b|0](a,1)|0;if(d){break b}qe[j[a+4>>2]](a,f,g,0)|0}if(!k[Jg()|0]){ve(2656,0)}qe[j[a+16>>2]](a)|0;b=0;break a}b=0;ve(2779,0);qe[j[a+16>>2]](a)|0;break a}b=Xe(1,24);if(!b){qe[j[e+68>>2]](d);b=0;ve(2486,0);break a}j[b+4>>2]=d;j[b>>2]=e}oe=c+16|0;return b}function zk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;f=oe-16|0;oe=f;j[f+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}g=j[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=j[b+8>>2];k=(e|0)<0?-1:1;if(!j[b+12>>2]){a=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=a;a=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=a;a=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=a;if((i|0)==(k|0)){break a}j[c+8>>2]=0-j[c+8>>2];break a}d=e>>31;e=d+e^d;h=p(e,j[b>>2]);d=j[a>>2];m=c;a=j[c+12>>2];b:{c:{if(a){l=g>>31;g=p(j[c>>2],l^g+l);if((g|0)==(h|0)){break b}a=Qr(d,g,h,a,f+12|0);break c}a=jj(d,h,f+12|0)}j[m+12>>2]=a}d:{if(j[f+12>>2]){break d}d=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=d;d=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=d;d=j[b+20>>2];j[c+16>>2]=j[b+16>>2];j[c+20>>2]=d;j[c+12>>2]=a;if((i|0)==(k|0)){Ae(a,j[b+12>>2],h);break d}c=j[c>>2];if(!c){break d}d=0-e|0;a=p(e,c-1|0)+a|0;b=j[b+12>>2];while(1){a=Ae(a,b,e)+d|0;b=b+e|0;c=c-1|0;if(c){continue}break}}d=j[f+12>>2]}oe=f+16|0;return d}function mk(a,b,c,d,e){var f=0,g=0,i=0,l=0,n=0,o=0,q=0,r=0;f=j[a+40>>2];a:{l=j[a+52>>2];r=b<<3;n=j[(l+r|0)+4>>2];b:{if((n|0)>(e|0)){break b}g=j[l+4>>2];if((g|0)<(d|0)){break b}i=g;o=j[a+4>>2];g=0-o|0;q=i&g;i=(q|0)>(e|0);c:{if((d|0)>(n|0)){g=d;break c}g=g&(n+o|0)-1;if(n&o-1&65535){d=g;break c}if(k[a+87|0]){h[a+87|0]=0;f=f-4|0}j[f>>2]=j[(b<<3)+l>>2];d=g+o|0;f=f+4|0}if(k[a+86|0]){j[j[a+88>>2]+20>>2]=g>>j[a>>2];h[a+86|0]=0}g=i?e:q;if((g|0)<(d|0)){break b}if(m[a+36>>2]<=((g-d>>j[a>>2]<<2)+f|0)+4>>>0){break a}n=0-b|0;o=b<<3;e=l;while(1){h[a+87|0]=0;b=j[e+4>>2];d:{if((b|0)>(d|0)){i=b;b=e+o|0;q=j[b+4>>2];i=i-q|0;if((i|0)>=j[a+16>>2]){qe[c|0](e);break d}b=j[b>>2];j[f>>2]=((p(j[e>>2]-b|0,d-q|0)|0)/(i|0)|0)+b;f=f+4|0;d=j[a+4>>2]+d|0;b=(n<<3)+e|0;break d}if((b|0)==(d|0)){h[a+87|0]=1;j[f>>2]=j[e>>2];f=f+4|0;d=j[a+4>>2]+d|0}b=(n<<3)+e|0}e=b;if(e>>>0>=l>>>0?(d|0)<=(g|0):0){continue}break}l=j[a+52>>2]}j[a+40>>2]=f;j[a+52>>2]=l-r;return 0}j[a+44>>2]=98;j[a+40>>2]=f;return 1}function wk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;h=j[a+2984>>2];if(h&4){e=j[a+2988>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+p(b,1572)|0;if(!j[a+52>>2]){break d}e=j[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}k=e+p(b,1572)|0;l=j[k+52>>2];e:{f:{if(l){a=98;e=d;while(1){m=j[(p(i,12)+k|0)+60>>2];f=d-m|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?m:e;i=i+1|0;if((l|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((d|0)>=(e|0)){break f}a=(a-48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function Qf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,n=0,o=0,p=0,q=0;if((d|0)>0?1:(d|0)>=0?c>>>0>=1:0){d=d+j[a+12>>2]|0;h=c+j[a+8>>2]|0;d=h>>>0>>0?d+1|0:d;c=h}i=a+24|0;a:{while(1){h=f;k=e;while(1){b:{if((d|0)<0?1:(d|0)<=0?c>>>0<1:0){break b}e=j[a+12>>2];if((d|0)>(e|0)?1:(d|0)>=(e|0)?c>>>0>m[a+8>>2]:0){break b}pe=-1;return-1}e=ZE(i,b);if((e|0)<=-1){g=j[a+8>>2];f=e;e=j[a+12>>2]-((e>>31)+(g>>>0>>0)|0)|0;j[a+8>>2]=g-f;j[a+12>>2]=e;continue}break}if(!e){if(!(c|d)){pe=-1;return-1}j[67100]=0;f=-128;e=-1;if(!j[a+704>>2]){break a}if(!j[a>>2]){pe=-1;return-2}g=(n=eF(i),o=1,p=2048,q=j[a>>2],l=j[a+704>>2],qe[l](n|0,o|0,p|0,q|0)|0);c:{if((g|0)>=1){e=j[i+4>>2];if((e|0)<0){break c}f=e;e=g+j[i+8>>2]|0;if((f|0)<(e|0)){break c}j[i+8>>2]=e;break c}if(g){break c}if(j[67100]){break a}}f=h;h=(g|0)<0;e=h;f=g?e?-128:f:-2;e=g?e?-1:k:-1;if((h|0)==(!g|0)){continue}break a}break}b=a;f=j[a+8>>2];c=e;d=f+e|0;e=j[a+12>>2];j[b+8>>2]=d;j[b+12>>2]=c>>>0>d>>>0?e+1|0:e}pe=e;return f}function nk(a,b,c,d,e,f){var g=0,i=0,l=0,m=0,n=0;i=oe-16|0;oe=i;l=j[a+12>>2];if(l){j[(j[a+20>>2]+(l<<4)|0)-4>>2]=e}a:{b:{c:{n=l+1|0;g=j[a+16>>2];if(n>>>0>g>>>0){j[i+4>>2]=0;m=l+8&-8;e=xe(f,16,g,m,j[a+20>>2],i+4|0);j[a+20>>2]=e;g=j[i+4>>2];if(g){break a}j[a+16>>2]=m;g=(l<<4)+e|0;j[g+12>>2]=0;j[g>>2]=0;j[a+12>>2]=n;break c}e=j[a+20>>2];m=e+(l<<4)|0;j[m+12>>2]=0;j[m>>2]=0;j[a+12>>2]=n;if(n){break c}if(!g){j[i+8>>2]=0;e=xe(f,16,0,8,e,i+8|0);j[a+20>>2]=e;g=j[i+8>>2];if(g){break a}j[a+16>>2]=8}j[e+12>>2]=0;j[e>>2]=0;j[a+12>>2]=1;break b}e=(l<<4)+e|0}a=j[e+4>>2];j[i+12>>2]=0;l=d+7>>>3|0;a=a+7>>>3|0;d:{if(l>>>0<=a>>>0){a=j[e+8>>2];break d}g=f;f=l+7&1073741816;a=xe(g,1,a,f,j[e+8>>2],i+12|0);j[e+8>>2]=a;g=j[i+12>>2];if(g){break a}j[e+4>>2]=f<<3}j[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=k[a|0];h[a|0]=k[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d-1|0;if(d){continue}break}}oe=i+16|0;return g}function ZB(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=dg(66491);j[57840]=0;a:{if(!a){break a}if(!rf(a)){break a}j[c>>2]=j[57842];$g(66518,c)}a=j[57843];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57845];if(a){while(1){b=j[a+72>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57846];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}a=j[57847];if(a){while(1){b=j[a+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[57841]=0;j[57846]=0;j[57847]=0;j[57844]=0;j[57845]=0;j[57842]=0;j[57843]=0;a=0;while(1){b=(a<<2)+264416|0;d=j[b>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}j[b>>2]=0;a=a+1|0;if((a|0)!=256){continue}break}a=j[66360];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66361]=0;j[66360]=0}Oe(265448,0,12);if(j[57839]){a=j[57839];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[57839]=0}oe=c+16|0}function Oo(){var a=0,b=0,c=0,d=0,e=0,f=q(0),g=0,h=0,i=0,k=0,l=0,m=0,o=q(0);Xj(264360);a:{if(!j[66091]){a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}j[66091]=a;if(!a){break a}a=qe[j[57972]](10244)|0;if(a){j[57976]=j[57976]+1}k=a;j[66092]=a;if(!a){a=j[66091];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66091]=0;break a}g=j[66091];j[g>>2]=1065353216;b=1;while(1){i=1;h=y(1-Si(+(b-2560|0)*.5/1280,2))*7.85726*.5;d=1;c=1;e=1;while(1){a=1;m=e;l=Si(h,+(c<<1))/Si(d,2);e=e+l;c=c+1|0;d=d*+(c|0);if(l<9.999999682655225e-22^1){continue}break}d=1;while(1){e=d;h=Si(3.92863,+(a<<1))/Si(i,2);d=e+h;a=a+1|0;i=i*+(a|0);if(h<9.999999682655225e-22^1){continue}break}n[(2561-b<<2)+g>>2]=m/e;b=b+1|0;if((b|0)!=2561){continue}break}a=1;while(1){f=q(q(q(a|0)*q(.001953125))*q(3.1415927410125732));o=fE(f);b=a<<2;c=b+g|0;f=q(n[c>>2]*q(o/f));n[c>>2]=f;b=b-4|0;n[b+k>>2]=f-n[b+g>>2];a=a+1|0;if((a|0)!=2561){continue}break}j[k+10240>>2]=0}j[66090]=0;return 0}j[66090]=0;return Be(0)}function hs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;f=oe-16|0;oe=f;p=j[a>>2];k=j[b+8>>2];g=sf(b,f+12|0);e=j[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}l=qf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,6);j[f+12>>2]=e;if(e){break c}if(!l){e=142;break c}h=-1;d:{while(1){m=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e=xf(b,4);j[f+12>>2]=e;if(e){break c}i=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}g=sf(b,f+12|0);e=j[f+12>>2];if(e){break c}e:{if((m|0)!=1415139377){if((m|0)!=1128875040){break e}g=g-22|0;i=i+22|0;n=1;if((c|0)<0){break d}h=h+1|0;break e}g=g-24|0;i=i+24|0;n=0;if((c|0)<0){break d}h=h+1|0}if((c|0)==(h|0)?(c|0)>=0:0){break d}o=o+1|0;if((o|0)!=(l|0)){continue}break}e=142;break c}e=0;j[f+8>>2]=0;if(Fe(b,i+k|0)){break a}h=He(p,g,f+8|0);e=j[f+8>>2];if(e){break b}e=uf(b,h,g);j[f+8>>2]=e;if(e){break b}e=Gm(a,h,g,c>>31&c,n?116433:116437,d)}j[f+8>>2]=e}if((e&255)!=2){break a}a=Fe(b,k);e=a?a:j[f+8>>2]}oe=f+16|0;return e}function ri(a){var b=0,c=0,d=0,e=0,f=0,g=0;sP(+a);b=pP(1)|0;pP(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=r(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=o[b+226704>>3]-(a*(e+c)-o[b+226736>>3]-a);a=(f|0)>-1?a:-a}return a}sP(1.5707963267948966);b=pP(1)|0;f=pP(0)|0;sP(+a);d=pP(1)|0;pP(0)|0;qP(0,f|0);qP(1,b&2147483647|d&-2147483648);e=+rP();sP(+a);b=pP(1)|0;d=pP(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function GL(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,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;if((e|0)>=1){while(1){h=(j[(f<<2)+d>>2]!=0)+h|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if(!h){return 0}i=j[b>>2];d=j[i>>2];l=j[i+4>>2];m=j[i+8>>2];r=j[i+12>>2];h=Ef(a,4);f=a;n=(l-d|0)/(m|0)|0;a=n<<2;d=Ef(f,a);j[h>>2]=d;Ee(d,0,a);if((n|0)>=1){l=r-1|0;o=j[i>>2]/(e|0)|0;v=j[h>>2];w=(m|0)<1;while(1){a=0;a:{if(w){k=0;d=0;break a}x=j[c>>2];d=0;k=0;p=0;while(1){s=o<<2;g=j[s+x>>2];f=g>>31;t=f^f+g;y=(t|0)>(k|0);f=1;if((e|0)>=2){while(1){u=j[j[(f<<2)+c>>2]+s>>2];g=u>>31;g=g^g+u;d=(d|0)<(g|0)?g:d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}k=y?t:k;o=o+1|0;p=e+p|0;if((p|0)<(m|0)){continue}break}}b:{if((r|0)<=1){break b}while(1){f=(a<<2)+i|0;if(j[f+2584>>2]>=(d|0)?j[f+2328>>2]>=(k|0):0){break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}a=l}j[(q<<2)+v>>2]=a;q=q+1|0;if((n|0)!=(q|0)){continue}break}}j[b+40>>2]=j[b+40>>2]+1}return h|0}function il(a,b){var c=0,d=0,e=0,f=0,g=0,m=0;d=oe+ -64|0;oe=d;a:{if(!b){break a}b:{c:{switch(a|0){case 0:c=k[b+265490|0];g=769;e=0;break b;case 1:break c;default:break a}}c=k[b+265490|0];m=(c|0)!=0;g=768;e=1}if((a|0)==(c|0)?!m:0){break a}h[b+265490|0]=a;c=64;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{f=j[(b<<2)+266004>>2];switch(f-1073742048|0){case 6:break i;case 2:break j;case 5:break k;case 1:break l;case 4:break m;case 0:break d;case 33:break f;case 7:break g;case 3:break h;default:break e}}c=128;break d}c=1;break d}c=2;break d}c=256;break d}c=512;break d}c=1024;break d}c=2048;break d}c=16384;break d}c=0}n:{if(e){o:{if((f|0)!=1073741881){if((f|0)!=1073741907){break o}e=l[132744]^4096;break n}e=l[132744]^8192;break n}e=l[132744]|c;break n}e=l[132744]&(c^-1)}i[132744]=e;if((We(g,-1)|0)!=1){break a}j[d+28>>2]=f;i[d+32>>1]=l[132744];j[d+24>>2]=b;h[d+21|0]=m;h[d+20|0]=a;j[d+8>>2]=g;a=d;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[a+16>>2]=b;gf(d+8|0)}oe=d- -64|0}function py(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{e=j[a+28>>2];if(!e){break a}d=j[a+48>>2];g=j[a+36>>2];i=j[a+16>>2];c=j[a+24>>2];l=c&7;m=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){f=m;c:{d:{switch(l-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=1;continue;case 1:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=2;continue;case 2:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=3;continue;case 3:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=4;continue;case 4:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=5;continue;case 5:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=6;continue;case 6:h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;c=7;continue;default:break e}}c=e-1|0;h[a|0]=k[k[b|0]+d|0];b=b+1|0;a=a+1|0;f:{if((f|0)>1){f=f-1|0;break f}a=a+g|0;b=b+i|0;e=c;if(c){continue b}break a}c=0;continue}}}}function qK(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,i=0,n=0,o=0,q=0,r=0,s=0;a:{g=j[a+4>>2];i=0-g|0;q=c-1|0;n=i&g+q;o=d&i;b:{if((n|0)<=(o|0)){e=j[a>>2];d=n;break b}if((g+o|0)!=(n|0)){break a}g=o;c:{d:{e:{r=l[e+12>>1];s=r&7;switch(s|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+q|0)/2|0)&i;break c}if((!(r&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(r&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((s|0)==1){break c}g=j[a+8>>2]+((d+q|0)/2|0)&i}e=j[a>>2];i=j[a+112>>2];d=n;d=(g|0)>=0?m[a+104>>2]>g>>>e>>>0?g:o:d;c=((n|0)==(d|0)?o:n)>>e;f=(j[a+60>>2]+(b>>3)|0)-p(i,c)|0;f=(i|0)>=1?p(i,j[a+104>>2]-1|0)+f|0:f;if((c|0)<0|c>>>0>=m[a+104>>2]){break b}if(k[f|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function Yv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}h=j[o>>2];l=h&255;m=h>>>8&255;d=h>>>16&255;z=b;if(y){m=(p(m,v)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;q=(p(d,u)>>>0)/255|0}else{q=d}d=h>>>24|0;j[z>>2]=q|m<<8|l<<16|(x?(p(d,t)>>>0)/255|0:d)<<24;b=b+4|0;c=c+r|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function Oh(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0;i=oe-48|0;oe=i;l=a+11724|0;rm(a,j[a+11720>>2],j[l>>2],b,c,i+44|0,i+40|0);rm(a,d,e,f,g,i+36|0,i+32|0);m=j[a+4>>2];j[m+16>>2]=j[m+16>>2]+(p(e-c>>16,b>>16)-p(d-b>>16,c>>16)|0);m=j[i+44>>2];j[i+24>>2]=m+j[a+11720>>2];l=j[l>>2];n=c;c=j[i+40>>2];j[i+20>>2]=n+c;j[i+16>>2]=b+m;j[i+28>>2]=c+l;b=j[i+32>>2];c=j[i+36>>2];if(k[a+11667|0]){l=j[i+28>>2];j[i+8>>2]=j[i+24>>2];j[i+12>>2]=l;Er(a,i+8|0);h[a+11664|0]=1;h[a+11667|0]=0;l=j[i+20>>2];j[a+11712>>2]=j[i+16>>2];j[a+11716>>2]=l}if(k[a+11744|0]){l=j[i+20>>2];j[i>>2]=j[i+16>>2];j[i+4>>2]=l;Ph(a,a+8|0,i+24|0,i,0)}j[a+11748>>2]=4;h[a+11744|0]=1;l=j[i+28>>2];j[a+11752>>2]=j[i+24>>2];j[a+11756>>2]=l;l=j[i+20>>2];m=j[i+16>>2];j[a+11780>>2]=b+g;j[a+11776>>2]=c+f;j[a+11772>>2]=b+e;j[a+11768>>2]=c+d;j[a+11760>>2]=m;j[a+11764>>2]=l;b=j[a+11676>>2];if(k[b+5|0]){yh(a+8|0,j[a+11668>>2],j[a+11672>>2],b,j[a+11680>>2],0)}j[a+11724>>2]=g;j[a+11720>>2]=f;oe=i+48|0}function Xl(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=oe-16|0;oe=g;a:{if(h[a+368|0]&1){n=j[a+52>>2];o=j[a+48>>2];p=l[a+46>>1];m=l[a+44>>1];q=j[a+36>>2];r=j[a+40>>2];f=a- -64|0;s=j[f+4>>2];j[g+8>>2]=j[f>>2];j[g+12>>2]=s;f=j[a+60>>2];j[g>>2]=j[a+56>>2];j[g+4>>2]=f;f=a+286|0;break a}n=j[a+88>>2];o=j[a+84>>2];p=l[a+82>>1];m=l[a+80>>1];q=j[a+72>>2];r=j[a+76>>2];f=j[a+104>>2];j[g+8>>2]=j[a+100>>2];j[g+12>>2]=f;f=j[a+96>>2];j[g>>2]=j[a+92>>2];j[g+4>>2]=f;f=a+288|0}f=l[f>>1];b:{if(f>>>0>=m>>>0){if(k[a+561|0]){j[a+12>>2]=134}i[e>>1]=0;a=1;break b}j[d+16>>2]=n;j[d+12>>2]=o;i[d+10>>1]=p;i[d+8>>1]=m;j[d>>2]=q;j[d+4>>2]=r;m=j[g+4>>2];j[d+20>>2]=j[g>>2];j[d+24>>2]=m;m=j[g+12>>2];j[d+28>>2]=j[g+8>>2];j[d+32>>2]=m;i[e>>1]=f;e=b;b=f<<3;d=b+n|0;b=b+o|0;b=qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0;t=e,u=Ne(b,i[a+298>>1],j[a+564>>2]),j[t>>2]=u;t=c,u=Ne(b,i[a+300>>1],j[a+564>>2]),j[t>>2]=u;a=0}oe=g+16|0;return a}function GB(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe+ -64|0;oe=f;a:{if(!a){break a}d=j[67024];if((d|0)==(a|0)){break a}if(d){zf(d,11,0,0)}j[67024]=a;j[67034]=0;zf(a,10,0,0);a=j[67015];d=j[(j[67024]?268200:268196)>>2];if(!(j[67035]|(!d|!j[67051]))){if(!a){break a}qe[a|0](d)|0;break a}if(!a){break a}qe[a|0](0)|0}b:{if(c==q(0)?b==q(0):0){break b}a=0;b=q(n[67031]+b);n[67031]=b;c:{d:{if(!(b>q(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break d}a=~~e;break c}if(bq(0)^1)){e=v(+b);if(!(r(e)<2147483648)){break f}d=~~e;break e}if(b>2]=1027;g=j[67024];if(g){h=j[g+4>>2]}j[f+32>>2]=0;j[f+28>>2]=d;j[f+24>>2]=a;j[f+20>>2]=0;j[f+16>>2]=h;gf(f+8|0)}oe=f- -64|0}function ok(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=j[a+100>>2];d=c;b=j[a+300>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+300>>2]=0;b=j[a+292>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+292>>2]=0;d=j[a+284>>2];if(d){b=c;if(j[a+280>>2]>=1){while(1){b:{if(!d){break b}e=p(f,12)+d|0;d=j[e>>2];if(d){qe[j[c+8>>2]](c,d)}j[e>>2]=0;if(!k[e+4|0]){break b}d=j[e+8>>2];if(d){qe[j[c+8>>2]](c,d)}j[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=j[a+284>>2];continue}break}d=j[a+284>>2]}if(d){qe[j[b+8>>2]](b,d)}j[a+284>>2]=0}b=j[a+192>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+192>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+176>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+176>>2]=0;b=j[a+180>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+180>>2]=0;c=j[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=j[c+24>>2];if(!b){break c}qe[b|0](c)}j[a+104>>2]=j[a+172>>2]}}function lw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){m=(p(m,u)>>>0)/255|0;l=(p(l,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|m|l<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function Fv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];r=(j[a+4>>2]<<16)/(f|0)|0;s=(j[a+8>>2]<<16)/(b|0)|0;if(b){t=k[a+63|0];u=k[a+62|0];v=k[a+61|0];w=k[a+60|0];b=j[a+52>>2];x=b&2;y=b&1;h=j[a+20>>2];b=h;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){i=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;i=((d>>>16|0)+i|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(i<<2)|0;c=(c-(d&-65536)|0)-65536|0}g=j[o>>2];l=g>>>24|0;m=g>>>8&255;d=g>>>16&255;f=f-1|0;q=g&255;g=b;if(y){l=(p(l,u)>>>0)/255|0;m=(p(m,w)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}j[g>>2]=d<<8|l|m<<16|(x?(p(q,t)>>>0)/255|0:q)<<24;b=b+4|0;c=c+r|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;h=j[a+32>>2]+h|0;if(c){e=e+s|0;f=j[a+24>>2];c=b;b=h;continue}break}j[a+20>>2]=h}}function OE(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{b:{if(!(e&4)){f=e&2;e=k[a+435|0];if(f|(e|0)!=3){break b}}Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&32))){Ie(a,c);Je(a,211085);break a}if((((e|0)==3?1:e&2?6:2)|0)!=(c|0)){Ie(a,c);Je(a,211064);break a}pf(a,d+10|0,c);tf(a,d+10|0,c);if(Ie(a,0)){break a}e=k[a+435|0];c:{if((e|0)==3){c=k[d+10|0];h[d|0]=c;d:{e:{if(!b){break e}e=l[b+20>>1];if(!e){break e}if(c>>>0>=e>>>0){Je(a,211464);break a}c=j[a+416>>2]+p(c,3)|0;i[d+2>>1]=k[c|0];i[d+4>>1]=k[c+1|0];i[d+6>>1]=k[c+2|0];break d}i[d+6>>1]=0;i[d+2>>1]=0;i[d+4>>1]=0}i[d+8>>1]=0;break c}h[d|0]=0;c=k[d+10|0]|k[d+11|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(!(e&2)){i[d+6>>1]=c;i[d+8>>1]=c;i[d+4>>1]=c;i[d+2>>1]=c;break c}i[d+2>>1]=c;i[d+8>>1]=0;c=k[d+12|0]|k[d+13|0]<<8;i[d+4>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+14|0]|k[d+15|0]<<8;i[d+6>>1]=(c<<24|c<<8&16711680)>>>16}_F(a,b,d)}oe=d+16|0;return}hf(a,211072);z()}function Gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];q=(j[a+4>>2]<<16)/(f|0)|0;r=(j[a+8>>2]<<16)/(b|0)|0;if(b){s=k[a+63|0];t=k[a+62|0];u=k[a+61|0];v=k[a+60|0];b=j[a+52>>2];w=b&2;x=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;n=((d>>>16|0)+n|0)+1|0}if(f){l=-1;c=65536;o=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;l=((d>>>16|0)+l|0)+1|0;o=(j[a>>2]+p(j[a+12>>2],n)|0)+(l<<2)|0;c=(c-(d&-65536)|0)-65536|0}i=j[o>>2];h=i&255;m=i>>>8&255;d=i>>>16&255;if(x){h=(p(h,t)>>>0)/255|0;m=(p(m,u)>>>0)/255|0;d=(p(d,v)>>>0)/255|0}h=m<<8|h|d<<16;d=i>>>24|0;j[b>>2]=h|(w?(p(d,s)>>>0)/255|0:d)<<24;b=b+4|0;c=c+q|0;f=f-1|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+r|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function RG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,m=0,n=0;c=oe-336|0;oe=c;j[c+332>>2]=0;k=j[a+100>>2];qe[j[b+60>>2]](b,c+272|0,4,c+268|0);g=j[c+268>>2];a:{if((g|0)<0){d=162;break a}d=3;if(!g|(g|0)>4){break a}l=j[b+8>>2];m=j[b>>2];d=jk(a,0,g);j[c+332>>2]=d;if(d){break a}if(j[c+268>>2]>=1){n=j[a+528>>2];a=0;while(1){d=p(a,12);e=d+(c+272|0)|0;j[b>>2]=j[e>>2];j[b+8>>2]=j[e+4>>2];qe[j[b+60>>2]](b,c+16|0,20,c+12|0);g=j[c+12>>2];if(g-1>>>0>=20){d=3;break a}e=d+n|0;i=xe(k,4,0,g<<1,0,c+332|0);j[e+92>>2]=i;d=j[c+332>>2];if(d){break a}g=e;f=j[c+12>>2];h[e+88|0]=f;j[e+96>>2]=i+(f<<2);d=0;if((f|0)>=1){while(1){f=(c+16|0)+p(d,12)|0;j[b>>2]=j[f>>2]+1;j[b+8>>2]=j[f+4>>2]-1;f=qe[j[b+36>>2]](b)|0;i=d<<2;j[i+j[g+92>>2]>>2]=f;f=qe[j[b+40>>2]](b,0)|0;j[i+j[e+96>>2]>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}e=j[c+332>>2]}j[b+8>>2]=l;j[b>>2]=m;d=e}j[b+12>>2]=d;oe=c+336|0}function gv(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;a:{b:{if(b){j[c+56>>2]=j[b+16>>2];d=j[b+12>>2];j[c+48>>2]=j[b+8>>2];j[c+52>>2]=d;d=j[b+4>>2];b=j[b>>2];j[c+40>>2]=b;j[c+44>>2]=d;if(!b){j[c+40>>2]=j[a+36>>2]}if(!j[c+44>>2]){j[c+44>>2]=j[a+40>>2]}if(!j[c+48>>2]){j[c+48>>2]=j[a+44>>2]}if(!j[c+52>>2]){j[c+52>>2]=j[a+48>>2]}if(sn(a,c+40|0,c+40|0)){break b}a=j[c+48>>2];j[c>>2]=j[c+44>>2];j[c+4>>2]=a;e=ve(99517,c);break a}j[c+56>>2]=j[a+32>>2];b=j[a+28>>2];j[c+48>>2]=j[a+24>>2];j[c+52>>2]=b;b=j[a+20>>2];j[c+40>>2]=j[a+16>>2];j[c+44>>2]=b}j[c+32>>2]=j[a+52>>2];b=j[a+48>>2];j[c+24>>2]=j[a+44>>2];j[c+28>>2]=b;b=j[a+40>>2];j[c+16>>2]=j[a+36>>2];j[c+20>>2]=b;if(wf(c+40|0,c+16|0,20)){d=j[67085];b=j[d+32>>2];if(!b){e=ve(99554,0);break a}e=-1;if((qe[b|0](d,a,c+40|0)|0)<0){break a}b=j[c+44>>2];a=a+36|0;j[a>>2]=j[c+40>>2];j[a+4>>2]=b;j[a+16>>2]=j[c+56>>2];b=j[c+52>>2];j[a+8>>2]=j[c+48>>2];j[a+12>>2]=b}e=0}b=e;oe=c- -64|0;return b}function dK(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,n=0,o=0,p=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;i=c+a|0;if(!(m[b+160>>2]>=i>>>0?c>>>0>=518:0)){Pe(b,8)}c=a+6|0;while(1){d=k[c+1|0];f=d|k[c|0]<<8;if(!(!(d&7)|m[b+164>>2]<2)){Pe(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;l=(c+(g<<3)|0)+8|0;if(l>>>0>m[b+160>>2]){Pe(b,8)}a=0;while(1){d=c+8|0;f=k[c+3|0]|k[c+2|0]<<8;a:{if(!f){c=d;break a}e=k[c+7|0]|k[c+6|0]<<8;n=k[c+4|0];o=k[c+5|0];h=k[c|0];p=k[c+1|0];b:{if(m[b+164>>2]<2){break b}h=h<<8|p;if(f+h>>>0<257?h>>>0<=255:0){break b}Pe(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=l>>>0:0)){Pe(b,9)}if(!j[b+164>>2]){c=d;break a}e=n<<8|o;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=k[d+1|0]|k[d|0]<<8;if(!(!d|m[b+172>>2]>(d+e&65535)>>>0)){Pe(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function NI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(m[a+736>>2]<=b>>>0){break a}d=2;b:{c:{switch(j[a+732>>2]-1|0){case 0:case 1:a=j[a+724>>2]+p(b,48)|0;i[c>>1]=k[a+52|0];i[c+2>>1]=k[a+53|0];b=h[a+24|0]<<6;j[c+12>>2]=b;d=h[a+25|0]<<6;j[c+16>>2]=d;j[c+20>>2]=b-d;j[c+24>>2]=h[a+31|0]+(k[a+26|0]+h[a+30|0]|0)<<6;break b;case 2:break c;default:break a}}b=j[a+724>>2]+(b<<2)|0;e=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);b=j[a+104>>2];d=qe[j[a+508>>2]](a,1935829368,b,f+12|0)|0;if(d){break a}d=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(m[f+12>>2]>>0){break a}d=Fe(b,e+j[b+8>>2]|0);if(d){break a}d=_e(b,4);if(d){break a}d=af(b);af(b);Ve(b);b=l[a+178>>1];i[c+2>>1]=d;i[c>>1]=d;d=d<<6;e=i[a+220>>1];j[c+12>>2]=(p(d,e)|0)/(b|0);g=i[a+222>>1];j[c+16>>2]=(p(d,g)|0)/(b|0);j[c+20>>2]=(p(d,i[a+224>>1]+(e-g|0)|0)|0)/(b|0);j[c+24>>2]=(p(d,l[a+226>>1])>>>0)/(b>>>0)}d=0}oe=f+16|0;return d|0}function jh(a){var b=0,c=0,d=0;if(!(j[a>>2]==268306?a:0)){ve(73666,0);return}b=j[a+36>>2];a:{if(j[b+316>>2]==(a|0)){al(b,0);break a}if(j[a+72>>2]!=j[b+352>>2]){break a}c=j[b+340>>2];if(!c){break a}qe[j[b+48>>2]](b,c,j[b+408>>2],j[b+412>>2])|0;c=b+420|0;while(1){d=c;c=j[c+8>>2];if(c){continue}break}j[d+8>>2]=j[b+432>>2];j[b+432>>2]=j[b+428>>2];j[b+428>>2]=0;c=j[b+344>>2];if(c){j[c+24>>2]=j[b+348>>2];j[b+344>>2]=0;j[b+348>>2]=j[b+340>>2];j[b+340>>2]=0}j[b+412>>2]=0;j[b+404>>2]=0;j[b+396>>2]=0;j[b+400>>2]=0;j[b+352>>2]=j[b+352>>2]+1}j[a>>2]=0;c=j[a+84>>2];if(c){j[c+80>>2]=j[a+80>>2]}d=j[a+80>>2];j[(d?d+84|0:b+312|0)>>2]=c;c=j[a+40>>2];if(c){jh(c)}c=j[a+44>>2];if(c){if(c){d=j[c+16>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}kf(j[c+40>>2]);kf(j[c+44>>2]);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}}c=j[a+48>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}qe[j[b+80>>2]](b,a);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function VM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,n=0,o=0;a:{b:{c:{e=j[a+28>>2];if(!k[e+64|0]){g=j[b+4>>2];o=j[b>>2];h[e+64|0]=1;c=j[e+20>>2];d:{if(k[e+65|0]){d=j[e+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break c}}f=l[c>>1];d=f<<16>>16;if((d|0)<1){break d}i[(j[c+12>>2]+(f<<1)|0)-2>>1]=l[c+2>>1]-1}d=l[c>>1]}i[c>>1]=d+1;c=j[e+12>>2];if((i[c+22>>1]+i[c+58>>1]|0)+1>>>0>m[c+4>>2]){d=yf(c,1,0);if(d){break c}}c=j[e+20>>2];if(k[e+65|0]){d=j[c+8>>2];f=i[c+2>>1];n=j[c+4>>2]+(f<<3)|0;j[n+4>>2]=g>>10;j[n>>2]=o>>10;h[d+f|0]=1}i[c+2>>1]=l[c+2>>1]+1}c=j[b+12>>2];d=j[b+8>>2];b=j[e+12>>2];if((i[b+22>>1]+i[b+58>>1]|0)+1>>>0>m[b+4>>2]){b=yf(b,1,0);if(b){break b}}a=j[e+20>>2];if(k[e+65|0]){b=j[a+8>>2];e=i[a+2>>1];g=j[a+4>>2]+(e<<3)|0;j[g+4>>2]=c>>10;j[g>>2]=d>>10;h[b+e|0]=1}i[a+2>>1]=l[a+2>>1]+1;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=d;return}a=j[a+24>>2];if(j[a>>2]){break a}j[a>>2]=b}}function Zp(a,b,c){var d=0,e=0,f=0;d=l[b+74>>1];if(!(d&32768)){if(c>>>0>=4){If(a,b,208184,c,208189);return}if(!(!(d&4)|l[b+72>>1]==(c|0))){If(a,b,208184,c,208219);return}if(d&32){Ml(a,208250);return}a:{if(!(d&2)){break a}if(ik(208288,b+4|0,100)){break a}Of(a,208320,2);d=l[b+74>>1]}b:{if(!(d&1)){break b}e=j[b>>2];c:{if(!e){break c}f=v(+(e|0)*1e5/45455+.5);if(f<=2147483647^1|f>=-2147483648^1){break c}if(r(f)<2147483648){e=~~f}else{e=-2147483648}if(e-95e3>>>0<10001){break b}}Of(a,209547,2);d=l[b+74>>1]}i[b+72>>1]=c;a=j[52073];j[b+4>>2]=j[52072];j[b+8>>2]=a;a=j[52075];j[b+12>>2]=j[52074];j[b+16>>2]=a;a=j[52077];j[b+20>>2]=j[52076];j[b+24>>2]=a;a=j[52079];j[b+28>>2]=j[52078];j[b+32>>2]=a;a=j[52038];j[b+36>>2]=j[52037];j[b+40>>2]=a;a=j[52040];j[b+44>>2]=j[52039];j[b+48>>2]=a;a=j[52042];j[b+52>>2]=j[52041];j[b+56>>2]=a;a=j[52044];j[b+60>>2]=j[52043];j[b+64>>2]=a;j[b+68>>2]=j[52045];i[b+74>>1]=d|231;j[b>>2]=45455}}function vD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0;h=oe-32|0;oe=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;k=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|k)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;Nf(h+16|0,a,b,g,e,f-16129|0);oi(h,a,b,g,e,16257-f|0);b=j[h+8>>2];e=(j[h+12>>2]&33554431)<<7|b>>>25;g=j[h+4>>2];f=g;a=0;i=a;k=j[h>>2]|((j[h+16>>2]|j[h+24>>2])!=0|(j[h+20>>2]|j[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|k):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|k|(f|i)){break a}e=(e&1)+e|0}oe=h+32|0;return qP(2,d&-2147483648|e),tP()}function Iq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;f=j[a+16>>2];d=k[f+12|0]|k[f+13|0]<<8|(k[f+14|0]<<16|k[f+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=f+20|0;g=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){i=d+n>>>1|0;l=p(i,12)+q|0;e=l;f=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=i;e=e-4|0;e=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=g>>>0){if(g>>>0<=o>>>0){break b}n=i+1|0}else{d=f}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=(g-e|0)+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0}if(!c){return d}c:{if(g>>>0>o>>>0){f=0;i=i+1|0;if((m|0)==(i|0)){break c}}h[a+24|0]=1;j[a+36>>2]=i;j[a+28>>2]=g;d:{if(!d){Hq(a);f=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}g=j[a+28>>2];break d}j[a+32>>2]=d;c=d}f=c;j[b>>2]=g}return f}function PE(a,b,c){var d=0,e=0;d=oe-256|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&16))){Ie(a,c);Je(a,211085);break a}b:{c:{d:{switch(k[a+435|0]){case 0:if((c|0)==2){pf(a,d,2);tf(a,d,2);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+540>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,211064);break a;case 2:if((c|0)==6){pf(a,d,6);tf(a,d,6);i[a+428>>1]=1;c=k[d|0]|k[d+1|0]<<8;i[a+534>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+2|0]|k[d+3|0]<<8;i[a+536>>1]=(c<<24|c<<8&16711680)>>>16;c=k[d+4|0]|k[d+5|0]<<8;i[a+538>>1]=(c<<24|c<<8&16711680)>>>16;break b}Ie(a,c);Je(a,211064);break a;case 3:if(!(e&2)){Ie(a,c);Je(a,211051);break a}if(l[a+420>>1]>c-1>>>0?c>>>0<=256:0){break c}Ie(a,c);Je(a,211064);break a;default:break d}}Ie(a,c);Je(a,211437);break a}pf(a,d,c);tf(a,d,c);i[a+428>>1]=c}if(Ie(a,0)){i[a+428>>1]=0;break a}OF(a,b,d,l[a+428>>1],a+532|0)}oe=d+256|0;return}hf(a,211072);z()}function KL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,l=0,m=0,n=0,o=0,q=0;g=oe-16|0;oe=g;j[g+12>>2]=0;m=j[c>>2];d=He(m,24,g+12|0);e=j[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}l=k[a|0];h[d+4|0]=l;f=k[a+1|0]|k[a+2|0]<<8;i[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=k[a+3|0];h[d+5|0]=f;o=j[c+148>>2];q=j[c+4>>2];n=f&1;f=(f>>>1&1)+(n?5:3)|0;j[d+8>>2]=f;j[d+12>>2]=(e+q|0)-o;if(e+p(f,l)>>>0>b>>>0){break b}if(l){c:{if(n){a=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);j[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+p(f,l-1|0)|0;a=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}j[d+16>>2]=k[a+5|0]|k[a+4|0]<<16;a=e+p(f,l-1|0)|0;a=k[a|0]<<16|k[a+1|0]}e=0;j[d>>2]=0;j[d+20>>2]=a;j[j[c+140>>2]>>2]=d;j[c+140>>2]=d;j[c+132>>2]=j[c+132>>2]+l;break a}if(d){qe[j[m+8>>2]](m,d)}e=j[g+12>>2];break a}if(d){qe[j[m+8>>2]](m,d)}e=8}oe=g+16|0;return e|0}function KG(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];b=j[a+500>>2];if(b){es(b)}b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0;b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+148>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+148>>2]=0;b=j[a+428>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+428>>2]=0;b=j[a+424>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+424>>2]=0;b=j[a+420>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+420>>2]=0;b=j[a+396>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+396>>2]=0;b=j[a+400>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+400>>2]=0;b=j[a+384>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+384>>2]=0;b=j[a+388>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+388>>2]=0;b=j[a+364>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+364>>2]=0;b=j[a+492>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+492>>2]=0;b=j[a+556>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+552>>2]=0;j[a+556>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}}function Ch(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-32|0;oe=d;b=j[67085];a:{if(!b){ve(99429,0);b=-1;break a}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);b=-1;break a}f=j[a+16>>2];c=f&-65536;if(!((c|0)!=536805376?(c|0)!=805240832:0)){a=f&65535;b=(a|0)>2]?a:0;break a}c=j[a+20>>2];e=c&-65536;if(!((e|0)==536805376|(e|0)==805240832)){e=j[b+300>>2];g=(e|0)<1;if(!g){h=j[b+304>>2];b=0;while(1){if(j[(p(b,72)+h|0)+60>>2]==(a|0)){break a}b=b+1|0;if((e|0)>(b|0)){continue}break}}j[d+24>>2]=f+(j[a+24>>2]/2|0);j[d+28>>2]=c+(j[a+28>>2]/2|0);b=-1;if(!g){f=2147483647;a=0;while(1){Ik(a,d+8|0);if(vv(d+24|0,d+8|0)){b=a;break a}c=(j[d+28>>2]-j[d+12>>2]|0)+(j[d+20>>2]/-2|0)|0;e=p(c,c);c=(j[d+24>>2]-j[d+8>>2]|0)+(j[d+16>>2]/-2|0)|0;e=e+p(c,c)|0;c=(e|0)<(f|0);f=c?e:f;b=c?a:b;a=a+1|0;if((a|0)>2]){continue}break}if((b|0)>-1){break a}}ve(98144,0);break a}a=c&65535;b=(a|0)>2]?a:0}oe=d+32|0;return b}function JE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,n=0;e=oe-16|0;oe=e;a:{b:{d=j[a+208>>2];if(d&1){if(d&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+9|0]&64))){Ie(a,c);Je(a,211085);break a}if(c>>>0<=3){Ie(a,c);Je(a,211064);break a}f=c+1|0;d=j[a+788>>2];c:{if(d){if(f>>>0<=m[a+792>>2]){break c}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,f);if(!d){break b}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);h[c+d|0]=0;if(Ie(a,0)){break a}if((k[d|0]-1&255)>>>0>=2){Je(a,211542);break a}j[e+8>>2]=0;j[e+12>>2]=1;d:{e:{if(!Kl(d,c,e+8|0,e+12|0)){break e}f=j[e+12>>2];if(f>>>0>=c>>>0){break e}g=f+1|0;j[e+12>>2]=g;if(!k[d+f|0]){break d}}Je(a,211555);break a}if((j[e+8>>2]&392)!=264){Je(a,211572);break a}j[e+8>>2]=0;if(!(i=Kl(d,c,e+8|0,e+12|0),l=0,n=j[e+12>>2]==(c|0),n?i:l)){Je(a,211591);break a}if((j[e+8>>2]&392)!=264){Je(a,211609);break a}TF(a,b,k[d|0],d+1|0,d+g|0);break a}hf(a,211072);z()}Je(a,211242);Ie(a,c)}oe=e+16|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;Pf(a,j[a+8>>2]);c=j[a>>2];j[d+12>>2]=c;f=j[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=k[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}j[b>>2]=c;j[b+8>>2]=2;if(mm(d+12|0,f)){break e}break d}j[b>>2]=c;j[b+8>>2]=3;if(!or(d+12|0,f)){break d}break e}j[b>>2]=c;j[b+8>>2]=3;j[a>>2]=c+1;Pf(a,f);c=j[a>>2];j[d+12>>2]=c;if(c>>>0>=f>>>0){break e}e=1;while(1){if(!j[a+12>>2]){h:{i:{switch(k[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break h}c=c+1|0;j[d+12>>2]=c;j[b+4>>2]=c;break a;case 0:break i;default:break h}}e=e+1|0}nm(a);Pf(a,j[a+8>>2]);c=j[a>>2];if(f>>>0>c>>>0){continue}}break}j[d+12>>2]=c;break e}j[b>>2]=c;j[b+8>>2]=k[c|0]==47?4:1;nm(a);c=j[a>>2];j[d+12>>2]=c;if(!j[a+12>>2]){break c}}c=j[b+4>>2];break b}c=j[d+12>>2]}j[b+4>>2]=c}if(c){break a}j[b+8>>2]=0;j[b>>2]=0}j[a>>2]=j[d+12>>2]}oe=d+16|0}function Mq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=j[a+16>>2];g=k[e+6|0]<<8|k[e+7|0]&254;a:{if(!g){break a}f=j[b>>2]+((c|0)!=0)|0;if(f>>>0>65535){break a}d=g>>>1|0;p=d>>>0>1?d:1;q=d-1|0;r=e+14|0;s=(e+g|0)+16|0;b:{while(1){m=0;h=s;d=r;c:{while(1){d:{e=d+2|0;e:{o=k[d+1|0]|k[d|0]<<8;if(o>>>0>>0){d=e;break e}d=e;n=k[h+1|0]|k[h|0]<<8;if(n>>>0>f>>>0){break e}i=h+g|0;d=i+g|0;l=k[d|0]<<8|k[d+1|0];f:{g:{h:{if((o|0)!=65535|m>>>0>>0|(n|0)!=65535){break h}if(!l){break g}e=j[a>>2];if((d+l|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break h}d=1;break f}if((l|0)==65535){break e}if(!l){break g}d=((f-n<<1)+l|0)+d|0;d=k[d|0]<<8|k[d+1|0];if(!d){break d}d=d+(k[i+1|0]|k[i|0]<<8)&65535;break c}d=k[i+1|0]|k[i|0]<<8}d=d+f&65535;break c}h=h+2|0;m=m+1|0;if((p|0)!=(m|0)){continue}}break}d=0}if(d|!c){break b}f=f+1|0;if((f|0)!=65536){continue}break}return 0}if(!c|!d){break a}j[b>>2]=f}return d}function rr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;d=3;f=j[b+188>>2];a:{if(!f){break a}g=j[b+192>>2];while(1){if(j[g+(h<<4)>>2]==(c|0)){d=83;c=j[(g+(h<<4)|0)+12>>2];h=j[a+8>>2];if(c>>>0>>0){break a}if(xf(a,c-h|0)){break a}j[e+12>>2]=0;c=Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=e;g=a;b:{if(c&4){d=$e(a,132704,d);j[e+12>>2]=d;if(d){break a}c=132832;break b}d=$e(a,132768,d);j[e+12>>2]=d;if(d){break a}c=132864}h=b+216|0;d=$e(g,c,h);j[f+12>>2]=d;if(d){break a}f=b+232|0;d=$e(a,c,f);j[e+12>>2]=d;if(d){break a}g=b+248|0;if((i|0)==256){d=$e(a,c,g);j[e+12>>2]=d;if(d){break a}d=$e(a,c,b+264|0);break a}a=h;c=j[a+4>>2];j[g>>2]=j[a>>2];j[g+4>>2]=c;c=j[a+12>>2];j[g+8>>2]=j[a+8>>2];j[g+12>>2]=c;a=j[f+12>>2];j[b+272>>2]=j[f+8>>2];j[b+276>>2]=a;a=j[f+4>>2];j[b+264>>2]=j[f>>2];j[b+268>>2]=a}d=0;break a}h=h+1|0;if((f|0)!=(h|0)){continue}break}}oe=e+16|0;return d}function Gq(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0;e=j[a+16>>2];d=k[e+12|0]|k[e+13|0]<<8|(k[e+14|0]<<16|k[e+15|0]<<24);m=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!m){return 0}q=e+20|0;i=j[b>>2]+((c|0)!=0)|0;d=m;a:{b:{while(1){g=d+n>>>1|0;l=p(g,12)+q|0;f=l;e=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);o=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g;f=f-4|0;f=k[f|0]|k[f+1|0]<<8|(k[f+2|0]<<16|k[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(i>>>0<=o>>>0){break b}n=g+1|0}else{d=e}if(d>>>0>n>>>0){continue}break}d=0;break a}d=k[l+4|0]|k[l+5|0]<<8|(k[l+6|0]<<16|k[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!c){return d}c:{if(i>>>0>o>>>0){e=0;g=g+1|0;if((m|0)==(g|0)){break c}}h[a+24|0]=1;j[a+36>>2]=g;j[a+28>>2]=i;d:{if(!d){Fq(a);e=0;if(!k[a+24|0]){break c}c=j[a+32>>2];if(!c){break c}i=j[a+28>>2];break d}j[a+32>>2]=d;c=d}e=c;j[b>>2]=i}return e}function YE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;d=oe-16|0;oe=d;a:{b:{c:{f=j[a+208>>2];if(!(f&1)){if((c|0)!=13){break c}j[a+208>>2]=f|1;pf(a,d+3|0,13);tf(a,d+3|0,13);Ie(a,0);c=k[d+3|0]|k[d+4|0]<<8|(k[d+5|0]<<16|k[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}m=k[d+15|0];i=k[d+12|0];n=k[d+14|0];o=k[d+13|0];l=k[d+11|0];h[a+436|0]=l;j[a+352>>2]=g;j[a+348>>2]=f;h[a+744|0]=o;h[a+712|0]=n;h[a+435|0]=i;h[a+432|0]=m;c=1;e=i-2|0;if((e&255)>>>0<=4){e=(e&255)<<3;c=e&31;c=(e&63)>>>0>=32?4>>>c|0:((1<>>c}h[a+439|0]=c;e=p(c,l);h[a+438|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=p(f,e>>>3|0);break d}e=p(e,f)+7>>>3|0}j[c+364>>2]=e;YF(a,b,f,g,l,i,m,o,n);oe=d+16|0;return}hf(a,211051);z()}hf(a,211064);z()}Ye(a,210953);z()}Ye(a,210953);z()}function Uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;w=b;if(v){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;d=(p(d,r)>>>0)/255|0}j[w>>2]=l<<8|u|d|i<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,l)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,f)>>>0)/255|0;break a;case 0:n=255;b=f;d=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+f|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function ci(a,b,c,d,e,f){var g=0,h=0,i=0;if(!(!a|(a&-268435456)==268435456)){ve(96992,0);return 0}j[b>>2]=(a&255)>>>0<3?a>>>8&255:a<<3&2040;j[f>>2]=0;j[e>>2]=0;j[d>>2]=0;j[c>>2]=0;a:{b:{if((a|0)!=390076419){if((a|0)!=386930691){break b}j[c>>2]=255;j[d>>2]=65280;j[e>>2]=16711680;break a}j[c>>2]=16711680;j[d>>2]=65280;j[e>>2]=255;break a}if((a>>>24&15)-4>>>0<=2){b=(a>>>16&15)-1|0;if(b>>>0>=8){ve(97031,0);return 0}g=b<<2;b=j[g+97320>>2];h=j[g+97288>>2];i=j[g+97256>>2];g=j[g+97224>>2];c:{switch((a>>>20&15)-1|0){case 1:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;break a;case 2:j[f>>2]=b;case 0:j[c>>2]=h;j[d>>2]=i;j[e>>2]=g;break a;case 3:j[c>>2]=b;j[d>>2]=h;j[e>>2]=i;j[f>>2]=g;break a;case 5:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;break a;case 7:j[e>>2]=b;j[d>>2]=h;j[c>>2]=i;j[f>>2]=g;break a;case 6:j[f>>2]=b;case 4:j[e>>2]=h;j[d>>2]=i;j[c>>2]=g;break a;default:break c}}ve(97031,0);a=0}else{a=1}return a}return 1}function Xw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){c=j[a+52>>2]&112;o=c-16|0;q=(c|0)==64;g=j[a+20>>2];h=g;i=j[a>>2];e=i;while(1){r=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;b=j[h>>2];n=b>>>24|0;c=b&255;f=j[e>>2];l=f&255;d=b>>>8&255;b=b>>>16&255;m=f>>>8&255;f=f>>>16&255;a:{b:{switch(o|0){default:if(!q){break a}c=(p(c,f)>>>0)/255|0;d=(p(d,m)>>>0)/255|0;b=(p(b,l)>>>0)/255|0;break a;case 0:n=255;b=l;d=m;c=f;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+f|0;c=c>>>0<255?c:255;d=d+m|0;d=d>>>0<255?d:255;b=b+l|0;b=b>>>0<255?b:255}j[h>>2]=d<<8|b<<16|c|n<<24;h=h+4|0;e=e+4|0;if(k){continue}break}e=j[a+28>>2]}else{e=b}c=e;b=c-1|0;j[r+28>>2]=b;g=j[a+32>>2]+g|0;h=g;i=j[a+12>>2]+i|0;e=i;if(c){continue}break}j[a+20>>2]=g;j[a>>2]=i}}function JI(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,i=0,n=0,o=0,q=0;n=3;a:{if((d|0)<0){break a}f=j[a+8>>2];g=j[a+12>>2];i=l[g>>1];if((e|0)<0|m[f>>2]>>0){break a}g=l[g+2>>1];if(m[f+4>>2]>>0){break a}g=p(g,k[a+18|0]);if(p(g+7>>>3|0,i)+b>>>0>c>>>0){break a}o=j[f+8>>2];c=j[f+12>>2]+(p(o,e)+(d>>>3|0)|0)|0;f=d&7;if(f){if(i){n=g>>>0<8;while(1){e=0;a=g;d=c;if(!n){while(1){e=k[b|0]|e;h[d|0]=k[d|0]|e>>>f;d=d+1|0;b=b+1|0;e=e<<8;q=(a|0)>15;a=a-8|0;if(q){continue}break}}if((a|0)>=1){e=k[b|0]&65280>>>a|e;b=b+1|0}h[d|0]=k[d|0]|e>>>f;if((a+f|0)>=9){h[d+1|0]=k[d+1|0]|e<<8>>>f}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return 0}n=0;if(!i){break a}e=g>>>0<8;while(1){a=g;d=c;if(!e){while(1){h[d|0]=k[b|0]|k[d|0];d=d+1|0;b=b+1|0;f=(a|0)>15;a=a-8|0;if(f){continue}break}}if((a|0)>=1){h[d|0]=k[d|0]|k[b|0]&65280>>>a;b=b+1|0}c=c+o|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}}return n|0}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{d=j[a+28>>2];if(!d){break a}f=j[a+36>>2];g=j[a+16>>2];c=j[a+24>>2];h=c&7;i=(c+7|0)/8|0;b=j[a>>2];a=j[a+20>>2];b:while(1){e=i;c:{d:{switch(h-1|0){default:c=0;break c;case 0:c=7;break c;case 1:c=6;break c;case 2:c=5;break c;case 3:c=4;break c;case 4:c=3;break c;case 5:c=2;break c;case 6:break d}}c=1}while(1){e:{switch(c|0){case 0:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=1;continue;case 1:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=2;continue;case 2:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=3;continue;case 3:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=4;continue;case 4:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=5;continue;case 5:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=6;continue;case 6:j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;c=7;continue;default:break e}}c=d-1|0;j[a>>2]=j[b>>2];b=b+4|0;a=a+4|0;f:{if((e|0)>1){e=e-1|0;break f}a=a+f|0;b=b+g|0;d=c;if(c){continue b}break a}c=0;continue}}}}function kk(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;d=j[a+4>>2];g=j[j[d+128>>2]+48>>2];e=j[d+440>>2];j[a+1376>>2]=j[d+436>>2];j[a+1380>>2]=e;h=j[d+448>>2];e=a+1384|0;j[e>>2]=j[d+444>>2];j[e+4>>2]=h;e=j[d+456>>2];j[a+1392>>2]=j[d+452>>2];j[a+1396>>2]=e;a:{b:{if(!g){h=b<<2;e=j[h+j[d+424>>2]>>2];j[c>>2]=e;d=j[j[d+428>>2]+h>>2];j[c+4>>2]=d;break b}d=qe[j[j[g>>2]>>2]](j[g+4>>2],b,c)|0;if(d){break a}d=j[c+4>>2];e=j[c>>2]}d=qe[j[a+1484>>2]](a,e,d)|0;if(d|!g){break a}if(!j[j[g>>2]+8>>2]){d=0;break a}c=j[a+32>>2];d=c+32768&-65536;if((c|0)<0){d=0-(32768-c&-65536)|0}j[f+4>>2]=0;j[f>>2]=d>>16;c=f;d=j[a+40>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+8>>2]=e>>16;d=j[a+44>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}j[c+12>>2]=e>>16;d=qe[j[j[g>>2]+8>>2]](j[g+4>>2],b,0,f)|0;j[a+32>>2]=j[f>>2]<<16;j[a+40>>2]=j[f+8>>2]<<16;j[a+44>>2]=j[f+12>>2]<<16}oe=f+16|0;return d}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,k=0,l=0;f=j[a+840>>2];df(b,j[a>>2],5);a:{if(j[a>>2]<1){break a}g=a+4|0;e=-1;while(1){c=g+(d<<2)|0;df(b,j[c>>2],4);c=j[c>>2];e=(c|0)>(e|0)?c:e;d=d+1|0;if((d|0)>2]){continue}break}c=0;if((e|0)<0){break a}i=a+320|0;k=a+256|0;l=a+192|0;g=a+128|0;while(1){d=c<<2;df(b,j[d+g>>2]-1|0,3);h=d+l|0;df(b,j[h>>2],2);b:{if(j[h>>2]){df(b,j[d+k>>2],8);if(j[h>>2]==31){break b}}d=0;while(1){df(b,j[(i+(c<<5)|0)+(d<<2)>>2]+1|0,8);d=d+1|0;if((d|0)<1<>2]){continue}break}}d=(c|0)!=(e|0);c=c+1|0;if(d){continue}break}}df(b,j[a+832>>2]-1|0,2);c=f-1|0;df(b,c?32-s(c)|0:0,4);i=c?32-s(c)|0:0;f=j[a>>2];if((f|0)>=1){k=a+836|0;l=a+4|0;g=a+128|0;e=0;d=0;c=0;while(1){c=j[g+(j[l+(e<<2)>>2]<<2)>>2]+c|0;if((c|0)>(d|0)){while(1){df(b,j[(k+(d<<2)|0)+8>>2],i);d=d+1|0;if((c|0)!=(d|0)){continue}break}f=j[a>>2];d=c}e=e+1|0;if((f|0)>(e|0)){continue}break}}}function ix(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(b|0)|0;if(b){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];b=j[a+52>>2];u=b&2?k[a+63|0]<<24:-16777216;v=b&1;g=j[a+20>>2];b=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;m=((d>>>16|0)+m|0)+1|0}if(f){h=-1;c=65536;n=0;while(1){if((c|0)>=65536){d=(c-((c|0)<131071?c:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;c=(c-(d&-65536)|0)-65536|0}f=f-1|0;d=j[n>>2];i=d&255;l=d>>>8&255;d=d>>>16&255;if(v){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;d=(p(d,t)>>>0)/255|0}j[b>>2]=l<<8|u|i|d<<16;b=b+4|0;c=c+o|0;if(f){continue}break}c=j[a+28>>2]}b=c-1|0;j[a+28>>2]=b;g=j[a+32>>2]+g|0;if(c){e=e+q|0;f=j[a+24>>2];c=b;b=g;continue}break}j[a+20>>2]=g}}function gj(a,b,c){var d=0,e=0,f=0,g=0;a=j[a+376>>2];d=a>>>24|0;a:{if(!(d-91>>>0>5?d-65>>>0<=57:0)){h[b+3|0]=93;h[b|0]=91;h[b+2|0]=k[(d&15)+206832|0];h[b+1|0]=k[(a>>>28|0)+206832|0];d=4;break a}h[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}h[(b+d|0)+1|0]=k[(a>>>20&15)+206832|0];h[(d|2)+b|0]=k[(e&15)+206832|0];f=d+3|0;h[f+b|0]=93;e=91}h[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;h[e+b|0]=93;f=b+f|0;h[f+3|0]=k[(d&15)+206832|0];h[f+2|0]=k[(a>>>12&15)+206832|0];d=91}h[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;h[d+b|0]=93;e=b+e|0;h[e+3|0]=k[(a&15)+206832|0];h[e+2|0]=k[(a>>>4&15)+206832|0];a=91}h[b+f|0]=a;a=d+1|0;e:{if(!c){break e}h[a+b|0]=58;h[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){e=k[c+d|0];if(!e){break e}h[a+b|0]=e;a=a+1|0;d=d+1|0;if((d|0)!=195){continue}break}}h[a+b|0]=0}function eo(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;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;b=h^255;c=j[58747];i[d>>1]=((p(b,k[j[58746]+(a>>>5&63)|0])>>>0)/255|0)+f<<3&8160|((p(b,k[c+(a>>>11|0)|0])>>>0)/255|0)+e<<8&63488|((p(b,k[c+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:c=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[c>>1];b=k[j[58746]+(a>>>5&63)|0]+f|0;d=c;f=(b>>>0<255?b:255)<<3&4064;b=j[58747];c=k[b+(a>>>11|0)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<8&63488|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[j[58746]+(a>>>5&63)|0],f)>>>0)/255<<3&4064|(p(k[b+(a>>>11|0)|0],e)>>>0)/255<<8&63488|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<3&2016|e<<8&63488|g>>>3;return 0}function UF(a,b,c,d,e,f,g,i,k){var l=0,m=0,n=0,o=0;a:{b:{if(!a|!b|(!c|!i)){break b}if(k?0:(g|0)>=1){break b}n=Le(c);if(f>>>0>=4){break a}c:{d:{if(g>>>0<=255){if(!g){break c}o=(g|0)>1?g:1;break d}Ye(a,207007);z()}while(1){e:{m=j[(l<<2)+k>>2];if(!m){break e}if(!Jl(m,Le(m))){break e}l=l+1|0;if((o|0)!=(l|0)){continue}break c}break}Ye(a,207036);z()}m=n+1|0;l=fg(a,m);j[b+208>>2]=l;if(!l){Ze(a,207070);return}Ae(l,c,m);h[b+229|0]=g;h[b+228|0]=f;j[b+216>>2]=e;j[b+212>>2]=d;d=Le(i)+1|0;c=fg(a,d);j[b+220>>2]=c;if(!c){Ze(a,207107);return}Ae(c,i,d);d=(g<<2)+4|0;c=fg(a,d);j[b+224>>2]=c;if(!c){Ze(a,207142);return}l=0;Ee(c,0,d);if((g|0)>=1){while(1){c=l<<2;d=c+k|0;e=Le(j[d>>2])+1|0;f=fg(a,e);j[c+j[b+224>>2]>>2]=f;c=j[c+j[b+224>>2]>>2];if(!c){Ze(a,207178);return}Ae(c,j[d>>2],e);l=l+1|0;if((l|0)!=(g|0)){continue}break}}j[b+8>>2]=j[b+8>>2]|1024;j[b+232>>2]=j[b+232>>2]|128}return}Ye(a,206980);z()}function IJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c-16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(h){c=0;a=0;while(1){f=c;g=k[d+8|0]|k[d+9|0]<<8|(k[d+10|0]<<16|k[d+11|0]<<24);c=k[d+4|0]|k[d+5|0]<<8|(k[d+6|0]<<16|k[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=k[d|0]|k[d+1|0]<<8|(k[d+2|0]<<16|k[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Pe(b,8)}if(!(!a|e>>>0>f>>>0)){Pe(b,8)}a:{if(!j[b+164>>2]){break a}f=j[b+172>>2];e=c-e|0;if(f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?f>>>0>=e>>>0:0){break a}Pe(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function gI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=j[a+532>>2];c=j[a+104>>2];e=j[a+100>>2];d=j[a+660>>2];if(d){qe[d|0](j[a+656>>2])}if(b){qe[j[b+12>>2]](a)}jf(j[a+104>>2],a+700|0);j[a+696>>2]=0;d=j[a+104>>2];b=j[d+28>>2];f=j[a+720>>2];if(f){qe[j[b+8>>2]](b,f)}j[a+720>>2]=0;jf(d,a+704|0);b=e;d=j[a+648>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+644>>2]=0;j[a+648>>2]=0;jf(c,a+632|0);jf(c,a+640|0);j[a+636>>2]=0;j[a+628>>2]=0;c=j[a+676>>2];if(c){d=j[c+4>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+4>>2]=0;b=j[c+8>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+8>>2]=0;b=j[c+20>>2];if(b){if(j[c>>2]){d=0;while(1){f=d<<3;b=j[(f+b|0)+4>>2];if(b){qe[j[e+8>>2]](e,b)}b=j[c+20>>2];j[(f+b|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(b){qe[j[e+8>>2]](e,b)}j[c+20>>2]=0}b=j[c+28>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+28>>2]=0;b=j[c+36>>2];if(b){qe[j[e+8>>2]](e,b)}j[c+36>>2]=0;if(c){qe[j[e+8>>2]](e,c)}}j[a+676>>2]=0}}function cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;d=oe-48|0;oe=d;i=j[a+456>>2];Qf(a,d+32|0,-1,-1);a:{if((pe|0)>-1){h=a+120|0;f=-1;while(1){b:{if(k[j[d+32>>2]+5|0]&2){break b}c:{c=j[d+32>>2];if((k[c+14|0]|k[c+15|0]<<8|(k[c+16|0]<<16|k[c+17|0]<<24))!=(i|0)){break c}Ng(h,d+32|0);while(1){c=mg(h,d);if(c){if((c|0)<1){continue}c=fm(b,d);if((c|0)<0){continue}l=e;e=(f|0)==-1?0:c+f>>2;f=l+e|0;g=(e>>31)+g|0;g=f>>>0>>0?g+1|0:g;e=f;f=c;continue}break}c=j[d+32>>2];if((k[c+6|0]|k[c+7|0]<<8|(k[c+8|0]<<16|k[c+9|0]<<24))==-1&(k[c+10|0]|k[c+11|0]<<8|(k[c+12|0]<<16|k[c+13|0]<<24))==-1){break c}b=j[d+32>>2];f=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);a=e;e=f-e|0;g=(k[b+10|0]|k[b+11|0]<<8|(k[b+12|0]<<16|k[b+13|0]<<24))-(g+(a>>>0>f>>>0)|0)|0;break b}Qf(a,d+32|0,-1,-1);if((pe|0)>-1){continue}}break}b=(g|0)>0?1:(g|0)>=0?!!e:0;a=b?e:0;b=b?g:0;break a}a=0;b=0}oe=d+48|0;pe=b;return a}function eu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=j[b+28>>2];a:{if(c>>>0>222){break a}c=j[(c<<2)+104272>>2];if(!c){break a}b:{c:{switch(j[b>>2]-2|0){case 0:c=(c&-4)==224?c+4|0:c;break b;case 1:break c;default:break b}}d:{switch(c-30|0){case 9:case 43:c=98;break b;case 0:case 47:c=89;break b;case 1:case 51:c=90;break b;case 2:case 48:c=91;break b;case 3:case 50:c=92;break b;case 4:c=93;break b;case 5:case 49:c=94;break b;case 6:case 44:c=95;break b;case 7:case 52:c=96;break b;case 8:case 45:c=97;break b;case 10:c=88;break b;case 46:break d;default:break b}}c=99}il((a|0)==2,c)}f=We((a|0)==2?768:769,-1);g=j[b+28>>2];e=g-8|0;e:{if(e>>>0<33){c=e&31;d=1;if(((e&63)>>>0>=32?1>>>c|0:((1<>>c)&1){break e}}d=1;if(g-112>>>0<24){break e}d=1;if(j[b+4>>2]){break e}d=j[b+12>>2]!=0}c=d;if((a|0)!=2){return(f|0)==1|0}return(c|(We(771,-1)|0)!=1)&(f|0)==1}function wO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0;a:{if(!a){break a}c=l[a+2>>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}m=j[a+4>>2];c=m+(c<<3)|0;d=m+8|0;e=j[m>>2];f=e;b=m;h=j[b+4>>2];k=h;while(1){b=j[b+12>>2];k=(b|0)>(k|0)?b:k;h=(b|0)<(h|0)?b:h;b=j[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(c>>>0>d>>>0){continue}break}if((e|0)==(f|0)|(h|0)==(k|0)){break a}c=i[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-s(f|b+e^b)|0;o=(b|0)>0?b:0;b=17-s(k-h|0)|0;q=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;k=j[a+12>>2];b=0;a=0;while(1){n=i[(a<<1)+k>>1];if((n|0)>=(b|0)){c=(n<<3)+m|0;e=j[c>>2];f=j[c+4>>2];while(1){g=e;r=d;d=(b<<3)+m|0;c=j[d+4>>2];e=j[d>>2];d=r+p(c-f>>q,g+e>>o)|0;g=(b|0)!=(n|0);b=b+1|0;f=c;if(g){continue}break}}b=n+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g}function Ql(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;c=j[a+528>>2];if(c){i=j[c+4>>2];g=j[c>>2];f=j[a+100>>2];b=f;d=j[c+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+24>>2]=0;if(g>>>0>=2){Ee(c+28|0,0,(g<<2)-4|0)}b=f;d=j[c+216>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+216>>2]=0;d=j[c+148>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+148>>2]=0;d=j[c+288>>2];if(d){qe[j[b+8>>2]](b,d)}j[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;j[b+284>>2]=0;j[b+144>>2]=0;j[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=j[c+136>>2];if(b){qe[j[f+8>>2]](f,b)}j[c+136>>2]=0;j[c+140>>2]=0;a:{if(!i){break a}e=0;while(1){b=(e<<2)+c|0;g=j[b+8>>2];if(g){qe[j[f+8>>2]](f,g)}j[b+8>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!i){break a}e=0;while(1){b=p(e,12)+c|0;g=b;d=j[b+92>>2];if(d){qe[j[f+8>>2]](f,d)}h[b+88|0]=0;j[g+92>>2]=0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=j[a+528>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+528>>2]=0}}function fo(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;a:{switch(d-1|0){case 0:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];d=b;c=h^255;b=j[58747];i[d>>1]=((p(c,k[b+(a>>>5&31)|0])>>>0)/255|0)+f<<2&4064|((p(c,k[b+(a>>>10&31)|0])>>>0)/255|0)+e<<7&64512|((p(c,k[b+(a&31)|0])>>>0)/255|0)+g>>>3;return 0;case 1:d=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[d>>1];b=j[58747];c=k[(a>>>5&31)+b|0]+f|0;f=(c>>>0<255?c:255)<<2&2016;c=k[b+(a>>>10&31)|0]+e|0;a=k[b+(a&31)|0]+g|0;i[d>>1]=f|(c>>>0<255?c:255)<<7&64512|(a>>>0<255?a:255)>>>3;return 0;case 3:b=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)|0;a=l[b>>1];c=b;b=j[58747];i[c>>1]=(p(k[b+(a>>>5&31)|0],f)>>>0)/255<<2&2016|(p(k[b+(a>>>10&31)|0],e)>>>0)/255<<7&64512|(p(k[b+(a&31)|0],g)>>>0)/255>>>3;return 0;default:break a}}i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=f<<2&992|e<<7&31744|g>>>3;return 0}function wx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,e)>>>0)/255|0;break a;case 0:d=e;b=m;c=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+l|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+e|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,l)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,e)>>>0)/255|0;break a;case 0:c=e;b=m;d=l;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+l|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+e|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function fx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}c=(p(c,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;d=(p(d,l)>>>0)/255|0;break a;case 0:d=l;b=m;c=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}c=c+e|0;c=c>>>0<255?c:255;b=b+m|0;b=b>>>0<255?b:255;d=d+l|0;d=d>>>0<255?d:255}j[g>>2]=b<<8|d<<16|c;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){b=j[a+52>>2]&112;n=b-16|0;o=(b|0)==64;f=j[a+20>>2];g=f;h=j[a>>2];i=h;while(1){q=a;k=j[a+24>>2];if(k){while(1){k=k-1|0;d=j[g>>2];c=d&255;e=j[i>>2];l=e&255;b=d>>>8&255;d=d>>>16&255;m=e>>>8&255;e=e>>>16&255;a:{b:{switch(n|0){default:if(!o){break a}d=(p(d,e)>>>0)/255|0;b=(p(b,m)>>>0)/255|0;c=(p(c,l)>>>0)/255|0;break a;case 0:c=l;b=m;d=e;break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 16:break b}}d=d+e|0;d=d>>>0<255?d:255;b=b+m|0;b=b>>>0<255?b:255;c=c+l|0;c=c>>>0<255?c:255}j[g>>2]=b<<8|c|d<<16;g=g+4|0;i=i+4|0;if(k){continue}break}b=j[a+28>>2]}else{b=c}c=b-1|0;j[q+28>>2]=c;f=j[a+32>>2]+f|0;g=f;h=j[a+12>>2]+h|0;i=h;if(b){continue}break}j[a+20>>2]=f;j[a>>2]=h}}function Sv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|i|l<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[v>>2]=c<<8|l|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function as(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0;if(!a){return}a:{if(!b){break a}e=j[a+16>>2];if((e|0)<1){break a}f=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(j[c>>2]==(b|0)){j[a+16>>2]=e-1;a=f-4|0;if(a>>>0>c>>>0){while(1){j[c>>2]=j[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}j[a>>2]=0;i=j[b>>2];f=j[b+8>>2];d=j[b+4>>2];b:{if(!d){break b}if(j[d+160>>2]==(b|0)){j[d+160>>2]=0}if(!(k[i|0]&2)){break b}l=j[d>>2];c=d+148|0;g=zh(c,b);if(!g){break b}e=j[b+12>>2];c:{if(j[e+36>>2]!=1869968492){break c}a=j[b+52>>2];if(!a){break c}qe[j[j[e+56>>2]+20>>2]](a)}Th(c,g);if(g){qe[j[l+8>>2]](l,g)}c=j[d+148>>2];d:{if(c){while(1){a=j[c+8>>2];if(j[a+16>>2]==1869968492){break d}c=j[c+4>>2];if(c){continue}break}}a=0}j[d+156>>2]=a}if(h[j[b>>2]]&1){Pr(b+16|0,584,j[b+8>>2],b)}a=j[i+28>>2];if(a){qe[a|0](b)}if(b){qe[j[f+8>>2]](f,b)}return}c=c+4|0;if(f>>>0>c>>>0){continue}break}}}function fP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}a=(a>>>0)/(c>>>0)|0;pe=0;return a}if(!a){break g}break f}if(!(e-1&e)){break e}h=(s(e)+33|0)-s(d)|0;i=0-h|0;break c}a=(d>>>0)/0|0;pe=0;return a}d=32-s(d)|0;if(d>>>0<31){break d}break b}if((e|0)==1){break a}d=gP(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}pe=e;return a}h=d+1|0;i=63-d|0}d=b;e=h&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=g;e=e<<1|f>>>31;g=i-(e+(d>>>0>>0)|0)>>31;k=c&g;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;g=g&1;l=g;h=h-1|0;if(h){continue}break}}pe=b<<1|a>>>31;return g|a<<1}a=0;b=0}pe=b;return a}function Mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[v>>2]=i<<16|l<<8|c;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Kn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;v=d;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[v>>2]=c|l<<8|i<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function eE(a){var b=0,c=0,d=0,e=0,f=0,g=0;sP(+a);e=pP(1)|0;pP(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){sP(+a);b=pP(1)|0;b=b&2147483647;if((b|0)==2146435072&(pP(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+o[(e<<3)+223776>>3];if(r(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Kg(c,b)}return c}return a+1}function uw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,r)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=l<<16|c<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c>>>24|0;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,t)>>>0)/255|0;c=(p(c,s)>>>0)/255|0}j[d>>2]=i<<16|c<<8|l;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Kt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){a=j[a+52>>2];if(!a){break a}Sj(a);break a}b=j[a+52>>2];b:{if(b){if(b){b=j[b+168>>2];c=0;c:{if(!b){break c}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];d:{if((c|0)>=(b|0)){break d}while(1){e:{qe[f|0](j[a+48>>2],j[a+72>>2],e);c=ii(j[a+52>>2],j[a+72>>2],e);b=j[a+52>>2];if((c|0)==-1){break e}if(b){b=j[b+168>>2];c=0;f:{if(!b){break f}c=j[b+16>>2]}}else{c=0}b=j[a+16>>2];if((c|0)<(b|0)){continue}break d}break}Sj(b);j[a+60>>2]=0;b=j[a+16>>2]}b=Hh(j[a+52>>2],j[a+72>>2],b);c=j[a+16>>2];if((b|0)==(c|0)){break b}Oe(j[a+72>>2],k[a+11|0],c);break b}qe[f|0](j[a+48>>2],j[a+72>>2],e)}c=j[a+16>>2];e=j[a+72>>2];b=k[a+10|0];a=l[a+8>>1];h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;j[d>>2]=e;j[d+4>>2]=(c|0)/(p(b,a>>>3&31)|0);E(109219,d+13|0,d|0)|0}oe=d+16|0}function On(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){i=(p(i,r)>>>0)/255|0;l=(p(l,s)>>>0)/255|0;c=(p(c,t)>>>0)/255|0}j[d>>2]=l<<8|i|c<<16;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function In(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;d=j[a+28>>2];b=d-1|0;j[a+28>>2]=b;f=j[a+24>>2];o=(j[a+4>>2]<<16)/(f|0)|0;q=(j[a+8>>2]<<16)/(d|0)|0;if(d){r=k[a+62|0];s=k[a+61|0];t=k[a+60|0];u=j[a+52>>2]&1;g=j[a+20>>2];d=g;while(1){if((e|0)>=65536){c=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(c&-65536)|0)-65536|0;m=((c>>>16|0)+m|0)+1|0}if(f){h=-1;b=65536;n=0;while(1){if((b|0)>=65536){c=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((c>>>16|0)+h|0)+1|0;n=(j[a>>2]+p(j[a+12>>2],m)|0)+(h<<2)|0;b=(b-(c&-65536)|0)-65536|0}f=f-1|0;c=j[n>>2];i=c&255;l=c>>>8&255;c=c>>>16&255;if(u){l=(p(l,s)>>>0)/255|0;i=(p(i,t)>>>0)/255|0;c=(p(c,r)>>>0)/255|0}j[d>>2]=c<<16|l<<8|i;d=d+4|0;b=b+o|0;if(f){continue}break}b=j[a+28>>2]}d=b-1|0;j[a+28>>2]=d;g=j[a+32>>2]+g|0;if(b){e=e+q|0;f=j[a+24>>2];b=d;d=g;continue}break}j[a+20>>2]=g}}function Yl(a){var b=0,c=0,d=0,e=0,f=0,g=0;h[a+108|0]=0;b=j[a+16>>2];c=j[a+12>>2];j[a+44>>2]=c;j[a+48>>2]=b;b=j[a+24>>2];j[a+52>>2]=j[a+20>>2];j[a+56>>2]=b;b=j[a+32>>2];j[a+60>>2]=j[a+28>>2];j[a+64>>2]=b;j[a+68>>2]=j[a+36>>2];b=151;e=c&65535;a:{if(!e){break a}d=l[a+46>>1];if(!d){break a}b=j[a>>2];if(k[b+176|0]&8){f=a,g=De(e<<6,l[b+68>>1]),j[f+48>>2]=g;c=De(l[a+46>>1]<<6,l[b+68>>1]);j[a+52>>2]=c;f=a,g=ye(i[b+70>>1],c)+32&-64,j[f+56>>2]=g;f=a,g=ye(i[b+72>>1],j[a+52>>2])+32&-64,j[f+60>>2]=g;f=a- -64|0,g=ye(i[b+74>>1],j[a+52>>2])+32&-64,j[f>>2]=g;f=a,g=ye(i[b+76>>1],j[a+48>>2])+32&-64,j[f+68>>2]=g;d=l[a+46>>1];c=l[a+44>>1]}b=c&65535;b:{if(b>>>0>=d>>>0){j[a+72>>2]=65536;i[a+80>>1]=c;j[a+88>>2]=j[a+48>>2];c=De(d,b);break b}i[a+80>>1]=d;j[a+88>>2]=j[a+52>>2];f=a,g=De(b,d),j[f+72>>2]=g;c=65536}j[a+300>>2]=-1;h[a+108|0]=1;j[a+76>>2]=c;b=0}return b}function nH(a,b,c,d,e,f,g,h){var i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=0,t=0,u=q(0),v=0,w=0;if((f|0)>0){while(1){l=(i<<2)+e|0;m=lg(+n[l>>2]);n[l>>2]=m+m;i=i+1|0;if((i|0)!=(f|0)){continue}break}}if((c|0)>=1){u=q(3.141592653589793/+(d|0));v=((f<<2)+e|0)-4|0;l=(f-2&-2)+3|0;m=+h;w=+g;i=0;while(1){r=i<<2;o=j[r+b>>2];s=lg(+q(u*q(o|0)));k=q(s+s);d=1;h=q(.5);g=q(.5);p=q(.5);if((f|0)>=2){while(1){t=(d<<2)+e|0;g=q(g*q(k-n[t>>2]));h=q(h*q(k-n[t-4>>2]));d=d+2|0;if((f|0)>(d|0)){continue}break}p=g;d=l}else{d=1}a:{if((d|0)==(f|0)){h=q(h*q(k-n[v>>2]));h=q(h*h);g=q(q(4)-q(k*k));break a}h=q(h*q(q(k+q(2))*h));g=q(q(2)-k)}d=a+r|0;k=n[d>>2];g=q(eE((w/y(+q(h+q(p*q(p*g))))-m)*.1151292473077774));n[d>>2]=k*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){while(1){d=(i<<2)+a|0;n[d>>2]=n[d>>2]*g;i=i+1|0;if(j[(i<<2)+b>>2]==(o|0)){continue}break}}if((c|0)>(i|0)){continue}break}}}function tK(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,i=0,m=0,n=0,o=0,p=0,q=0;a:{g=j[a+4>>2];n=0-g|0;o=c-1|0;i=n&g+o;m=d&n;b:{if((i|0)<=(m|0)){c=j[a>>2];d=i;break b}if((g+m|0)!=(i|0)){break a}g=m;c:{d:{e:{p=l[e+12>>1];q=p&7;switch(q|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}g=j[a+8>>2]+((d+o|0)/2|0)&n;break c}if((!(p&16)|j[a+8>>2]>(d-c|0)?!(j[e+28>>2]!=(f|0)|j[e+16>>2]>0):0)|(!(p&32)|j[a+8>>2]>(d-c|0)?!(j[f+28>>2]!=(e|0)|j[e+20>>2]!=(b|0)):0)){break a}if((q|0)==1){break c}g=j[a+8>>2]+((d+o|0)/2|0)&n}c=j[a>>2];d=i;d=(g|0)>=0?l[a+56>>1]>(g>>>c|0)?g:m:d;b=((i|0)==(d|0)?m:i)>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break b}if(k[j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=l[a+56>>1]){break a}a=j[a+60>>2]+(j[a+148>>2]+(b<<13>>16)|0)|0;h[a|0]=k[a|0]|128>>>(b&7)}}function hv(a,b){var c=0,d=0,e=0;c=oe-32|0;oe=c;d=j[67085];a:{if(!d){ve(99429,0);a=-1;break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);a=-1;break a}if(!b){j[c>>2]=98197;a=ve(98171,c);break a}j[c+24>>2]=j[a+88>>2];d=j[a+84>>2];j[c+16>>2]=j[a+80>>2];j[c+20>>2]=d;d=j[a+76>>2];j[c+8>>2]=j[a+72>>2];j[c+12>>2]=d;if(!j[c+12>>2]){j[c+12>>2]=j[a- -64>>2]}if(!j[c+16>>2]){j[c+16>>2]=j[a+68>>2]}d=0;e=Ch(a);if((e|0)>=0){d=j[j[67085]+304>>2]+p(e,72)|0}b:{if((j[a+48>>2]&4097)==4097){j[c+24>>2]=j[d+32>>2];a=j[d+28>>2];j[c+16>>2]=j[d+24>>2];j[c+20>>2]=a;a=j[d+20>>2];j[c+8>>2]=j[d+16>>2];j[c+12>>2]=a;break b}a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(sn(a,c+8|0,c+8|0)){break b}a=ve(98202,0);break a}a=j[c+12>>2];j[b>>2]=j[c+8>>2];j[b+4>>2]=a;j[b+16>>2]=j[c+24>>2];a=j[c+20>>2];j[b+8>>2]=j[c+16>>2];j[b+12>>2]=a;a=0}oe=c+32|0;return a}function _N(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;o=oe-16|0;oe=o;a:{if(!a){break a}c=j[a>>2];if(!c|j[c+4>>2]!=112004){break a}e=Is(c,o+12|0);if(e){break a}b:{m=e?c:j[o+12>>2];l=m+20|0;if($N(b,l)){break b}if(b){c:{d:{e=j[b+64>>2];if(e){d=j[b+76>>2];c=e;while(1){g=k[d|0];e:{if(g&4){if(!f){break e}break d}if(!f){break d}}d=d+1|0;g=g>>>3&1;f=g^1;i=i+g|0;c=c-1|0;if(c){continue}break}c=0;if(f){break c}}h[b+92|0]=1;p=i;c=e;break c}c=0}g=c;f:{g:{e=j[b+96>>2];h:{if(!e){i=0;break h}d=j[b+108>>2];f=0;c=e;i=0;while(1){n=k[d|0];i:{if(n&4){if(!f){break i}break g}if(!f){break g}}d=d+1|0;n=n>>>3&1;f=n^1;i=i+n|0;c=c-1|0;if(c){continue}break}d=0;c=0;if(f){break f}}h[b+124|0]=1;d=i;c=e;break f}d=0;c=0}f=c+g|0;d=d+p|0}_r(j[m>>2],l);if(Em(j[m>>2],f,d,l)){break b}j[l>>2]=0;Sr(b,0,l);Sr(b,1,l);oj(j[a>>2]);j[a>>2]=m;break a}oj(m)}oe=o+16|0}function iG(a,b){var c=0,d=0,e=0;a:{c=k[a+8|0];if(!(c&2)){break a}d=j[a>>2];b:{switch(k[a+9|0]-8|0){case 0:c:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break c;default:break a}}if(!d){break a}a=0;while(1){c=k[b+2|0];h[b+2|0]=k[b|0];h[b|0]=c;b=b+3|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 8:break b;default:break a}}d:{switch(c-2|0){case 4:if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a;case 0:break d;default:break a}}if(!d){break a}a=0;while(1){c=k[b|0]|k[b+1|0]<<8;e=k[b+4|0]|k[b+5|0]<<8;h[b|0]=e;h[b+1|0]=e>>>8;h[b+4|0]=c;h[b+5|0]=c>>>8;b=b+6|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function At(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=-1;a:{if(!a){break a}f=j[c+4>>2];if(!f){break a}e=qe[f|0](a,0,0,1)|0}j[d+12>>2]=0;j[d+8>>2]=0;b=Ee(b,0,704);j[b>>2]=a;a=j[c+4>>2];j[b+704>>2]=j[c>>2];j[b+708>>2]=a;a=j[c+12>>2];j[b+712>>2]=j[c+8>>2];j[b+716>>2]=a;a=b+24|0;if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}if((e|0)!=-1){j[b+4>>2]=1}j[b+52>>2]=1;g=b,h=bf(1,32),j[g+72>>2]=h;g=b,h=bf(1,16),j[g+76>>2]=h;Yp(b+120|0,-1);f=Dk(b,j[b+72>>2],j[b+76>>2],d+12|0,d+8|0,0);b:{if((f|0)<=-1){j[b>>2]=0;pj(b);c=j[d+12>>2];break b}e=j[d+8>>2];a=bf(e+2|0,4);j[b+64>>2]=a;c=j[b+456>>2];j[b+92>>2]=c;j[a+4>>2]=e;j[a>>2]=c;c=j[d+12>>2];Ae(a+8|0,c,e<<2);g=b,h=bf(1,8),j[g+56>>2]=h;a=bf(1,8);j[b+60>>2]=a;e=j[b+12>>2];j[a>>2]=j[b+8>>2];j[a+4>>2]=e;j[b+88>>2]=1}if(c){ze(c)}oe=d+16|0;return f}function nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;g=oe-16|0;oe=g;a:{if(!a){j[g>>2]=64429;i=ve(64403,g);break a}f=j[a+4>>2];if(f){l=j[f>>2]}if(!c){break a}m=j[a>>2];k=j[a+12>>2];d=f;while(1){b:{c:{if(d){e=j[d>>2];if(k>>>0>e>>>0){break c}}d=j[a+8>>2];d:{if(d){j[a+8>>2]=j[d+8>>2];break d}d=j[a+12>>2]+12|0;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){break b}}e=0;j[d+8>>2]=0;j[d>>2]=0;j[d+4>>2]=0;h=j[a+4>>2];j[(h?h+8|0:a)>>2]=d;j[a+4>>2]=d}h=(d+e|0)+12|0;e=k-e|0;e=c>>>0>>0?c:e;Ge(h,b,e);j[d>>2]=e+j[d>>2];j[a+16>>2]=e+j[a+16>>2];c=c-e|0;if(!c){break a}b=b+e|0;d=j[a+4>>2];continue}break}e:{if(!f){d=j[a>>2];break e}j[f>>2]=l;d=j[f+8>>2];j[f+8>>2]=0}j[a+8>>2]=0;j[a+4>>2]=f;j[a>>2]=m;if(d){while(1){a=j[d+8>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=a;if(d){continue}break}}i=Be(0)}oe=g+16|0;return i}function ch(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-48|0;oe=d;g=a+11724|0;e=j[g>>2];if(k[j[a+11676>>2]+5|0]){i=!k[a+11665|0]}else{i=0}f=j[a+11720>>2];if(!((c|0)==(e|0)?!(i|(f|0)!=(b|0)):0)){rm(a,f,e,b,c,d+44|0,d+40|0);e=j[d+44>>2];j[d+32>>2]=e+j[a+11720>>2];g=j[g>>2];f=j[d+40>>2];j[d+28>>2]=f+c;j[d+24>>2]=b+e;j[d+36>>2]=g+f;if(k[a+11667|0]){e=j[d+36>>2];j[d+16>>2]=j[d+32>>2];j[d+20>>2]=e;Er(a,d+16|0);h[a+11664|0]=1;h[a+11667|0]=0;e=j[d+28>>2];j[a+11712>>2]=j[d+24>>2];j[a+11716>>2]=e}if(k[a+11744|0]){e=j[d+28>>2];j[d+8>>2]=j[d+24>>2];j[d+12>>2]=e;Ph(a,a+8|0,d+32|0,d+8|0,0)}j[a+11748>>2]=2;h[a+11744|0]=1;e=j[d+36>>2];j[a+11752>>2]=j[d+32>>2];j[a+11756>>2]=e;e=j[d+28>>2];j[a+11760>>2]=j[d+24>>2];j[a+11764>>2]=e;if(i){yh(a+8|0,j[a+11668>>2],j[a+11672>>2],j[a+11676>>2],j[a+11680>>2],0)}j[a+11724>>2]=c;j[a+11720>>2]=b}oe=d+48|0}function UJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=q(0),l=q(0),m=0;f=(c<<2)+15&-16;h=oe-f|0;i=h-f|0;a:{if((c|0)<=0){break a}while(1){b:{if((d|0)>=2){k=n[(e<<2)+a>>2];while(1){f=d;d=d-1|0;g=d<<2;l=n[g+i>>2];if(!(l>k^1)){j[(f<<2)+h>>2]=e;break b}c:{if((f|0)<2|(j[h+g>>2]+b|0)<=(e|0)){break c}g=f-2<<2;if(n[g+i>>2]>=l^1){break c}if((j[h+g>>2]+b|0)>(e|0)){continue}}break}j[(f<<2)+h>>2]=e;break b}j[(d<<2)+h>>2]=e;k=n[(e<<2)+a>>2];f=d}n[(f<<2)+i>>2]=k;d=f+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}d=0;if((f|0)<0){break a}m=b+1|0;e=0;while(1){b=c;d:{e:{if((d|0)>=(f|0)){break e}g=d+1<<2;if(n[g+i>>2]>n[(d<<2)+i>>2]^1){break e}g=j[h+g>>2];break d}g=j[(d<<2)+h>>2]+m|0}b=(c|0)<(g|0)?b:g;if((b|0)>(e|0)){k=n[(d<<2)+i>>2];while(1){n[(e<<2)+a>>2]=k;e=e+1|0;if((b|0)!=(e|0)){continue}break}e=b}b=(d|0)!=(f|0);d=d+1|0;if(b){continue}break}}}function Wy(a,b,c){var d=0;d=qe[j[57972]](808)|0;if(d){j[57976]=j[57976]+1}if(!d){Be(0);return 0}Oe(d,0,808);j[d+8>>2]=-1;j[d+12>>2]=0;a:{b:{if(!a){break b}a=Uf(a);j[d+792>>2]=a;if(a){break b}Be(0);break a}a=qe[j[57972]](16)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);a=j[d+792>>2];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}break a}j[a+8>>2]=d;j[a+4>>2]=c;j[a>>2]=140;c=an();j[a+12>>2]=c;if(!c){b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}j[d+796>>2]=b;c:{if((ve(111929,0)|0)>=0){ve(111895,0);break c}b=j[d+792>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return d}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}return 0}function DJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d-16>>>0)/12>>>0>=g>>>0?!(d>>>0<16|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(g){a=0;while(1){d=a;f=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);a=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Pe(b,8)}if(!(!h|d>>>0>>0)){Pe(b,8)}if(!(!j[b+164>>2]|m[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Pe(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function nL(a,b,c,d,e,f,g,i,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;k=k|0;var l=0;a=Ee(a,0,1500);l=Bh(j[b+96>>2],133996);if(!l){return 7}h[a+68|0]=1;j[a+64>>2]=0;j[a+1348>>2]=l;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}l=j[j[d+156>>2]>>2];j[a+12>>2]=l;j[a+20>>2]=l+56;j[a+16>>2]=l+20;Yh(l);c=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=c;if(!g){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;c=j[33364];j[a+80>>2]=j[33363];j[a+84>>2]=c;c=j[33366];j[a+88>>2]=j[33365];j[a+92>>2]=c;c=j[33368];j[a+96>>2]=j[33367];j[a+100>>2]=c;c=j[33370];j[a+104>>2]=j[33369];j[a+108>>2]=c;j[a+1352>>2]=j[b+16>>2];j[a+1464>>2]=f;j[a+1472>>2]=k;j[a+1356>>2]=e;j[a+1468>>2]=i;j[a+1484>>2]=j[33373];b=j[33372];j[a+1476>>2]=j[33371];j[a+1480>>2]=b;return 0}function RB(a){var b=0;b=j[65548];if(!b){ve(2682,0);return}if(!a){ve(2714,0);return}j[a+16>>2]=0;j[a+20>>2]=0/(b|0);j[a+12>>2]=0;Zg();a:{if(!j[65546]){break a}while(1){if(j[j[65546]+12>>2]!=1){break a}Hg();bg(100);Zg();if(j[65546]){continue}break}}if(j[65546]){if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}j[65546]=a;j[j[65546]+8>>2]=1;b:{if(j[j[65546]+12>>2]==2){if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],0);break b}if(!j[j[j[65546]>>2]+36>>2]){break b}qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}b=qe[j[j[a>>2]+40>>2]](j[a+4>>2],-1)|0;c:{if(!b){if(!j[j[j[65546]>>2]+52>>2]){break c}qe[j[j[j[65546]>>2]+52>>2]](j[j[65546]+4>>2],0)|0;Hg();return}if((b|0)>-1){break c}j[a+8>>2]=0;j[65546]=0}Hg()}function Qh(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-16|0;oe=e;g=j[b+28>>2];j[a+28>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+12>>2]=0;j[a+16>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=b;j[a+4>>2]=j[b+8>>2];f=qf(b,e+8|0);d=j[e+8>>2];a:{b:{if(!(!f|d)){d=hg(b,e+8|0);if(j[e+8>>2]){break b}if((d-1&255)>>>0>=4){j[e+8>>2]=8;break b}h[a+12|0]=d;j[a+8>>2]=f;d=d&255;j[a+16>>2]=(j[a+4>>2]+p(d,f+1|0)|0)+3;d=xf(b,p(d,f));j[e+8>>2]=d;if(d){break b}d=uf(j[a>>2],e+12|0,k[a+12|0]);if(d){j[e+8>>2]=d;break b}c:{d=k[a+12|0];if(d){i=d>>>0>1?d:1;f=0;d=0;while(1){d=k[(e+12|0)+f|0]|d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}j[e+8>>2]=0;if(d){break c}}j[e+8>>2]=8;break b}d=d-1|0;j[a+20>>2]=d;f=e;d:{if(c){d=_f(b,d,a+28|0);break d}d=xf(b,d)}j[f+8>>2]=d}if(!d){break a}}b=j[a+24>>2];if(b){qe[j[g+8>>2]](g,b)}j[a+24>>2]=0;l=j[e+8>>2]}oe=e+16|0;return l}function cJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0;d=oe-16|0;oe=d;g=j[b+28>>2];j[a+360>>2]=b;c=qe[j[a+508>>2]](a,1851878757,b,d+8|0)|0;j[d+12>>2]=c;a:{if(c){break a}h=j[b+8>>2];c=$e(b,198896,a+344|0);j[d+12>>2]=c;if(c){break a}c=145;f=j[a+348>>2];e=p(f,12);k=(e+h|0)+6|0;m=j[d+8>>2]+h|0;if(k>>>0>m>>>0){break a}j[a+348>>2]=0;n=a,o=xe(g,20,0,f,0,d+12|0),j[n+356>>2]=o;c=j[d+12>>2];if(c){break a}c=_e(b,e);j[d+12>>2]=c;if(c){break a}c=j[a+356>>2];if(f){while(1){e=$e(b,198928,c);j[d+12>>2]=e;b:{if(e){break b}e=l[c+8>>1];if(!e){break b}g=j[c+12>>2]+(j[a+352>>2]+h|0)|0;j[c+12>>2]=g;if(!(e+g>>>0<=m>>>0?g>>>0>=k>>>0:0)){i[c+8>>1]=0;j[c+12>>2]=0;break b}c=c+20|0}f=f-1|0;if(f){continue}break}e=j[a+356>>2]}else{e=c}j[a+348>>2]=(c-e|0)/20;Ve(b);i[a+340>>1]=j[a+348>>2];c=j[d+12>>2]}oe=d+16|0;return c|0}function Lj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=oe-32|0;oe=b;a:{if(!(j[a>>2]==268306?a:0)){ve(73666,0);break a}if(j[a+8>>2]!=1){break a}c=j[a+40>>2];if(j[a+44>>2]){j[b+28>>2]=0;j[b+24>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=j[a+12>>2];j[b+20>>2]=j[a+16>>2];if((Mj(c,b+8|0,b+28|0,b+24|0)|0)<0){break a}Xk(j[a+44>>2],b+8|0,j[c+4>>2],j[b+16>>2],j[b+20>>2],j[b+28>>2],j[b+24>>2]);Lj(c);break a}if(c){j[b+8>>2]=0;j[b+28>>2]=0;f=a+56|0;d=j[a+4>>2];b:{if(!(!d|(d&-268435456)==268435456)){e=2;if((d|0)==844715353|(d|0)==1498831189){break b}e=(d|0)==1431918169?2:1;break b}e=d&255}g=j[a+60>>2];d=j[a+52>>2];h=j[a+48>>2];i=j[a+56>>2];if((Mj(c,f,b+8|0,b+28|0)|0)<0){break a}fh(j[a- -64>>2],j[a+68>>2],j[a+4>>2],(p(d,g)+h|0)+p(e,i)|0,d,j[c+4>>2],j[b+8>>2],j[b+28>>2]);Lj(c);break a}c=j[a+36>>2];qe[j[c+64>>2]](c,a)}oe=b+32|0}function WF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;a:{if(!a){ve(1850,0);break a}qe[j[a+4>>2]](a,0,0,1)|0;c=pe;if((c|0)<-1?1:(c|0)<=-1){ve(1876,0);qe[j[a+16>>2]](a)|0;break a}b:{if(j[a+20>>2]!=2){break b}c=Za(j[a+28>>2],e+12|0,e+8|0)|0;if(!c){break b}d=ug(0,j[e+12>>2],j[e+8>>2],32,255,65280,16711680,-16777216);if(d){Ae(j[d+20>>2],c,p(j[e+12>>2],j[e+8>>2])<<2)}ze(c);qe[j[a+16>>2]](a)|0;break a}while(1){c:{d:{if(f){if(qe[j[p(f,12)+1924>>2]](a)|0){break d}break c}if(!b){break c}d=2125;c=b;g=k[c|0];if(g){while(1){h=k[d|0];if(!h|((g-97>>>0<26?g&95:g)|0)!=((h-97>>>0<26?h&95:h)|0)){break c}d=d+1|0;g=k[c+1|0];c=c+1|0;if(g){continue}break}}if(k[d|0]){break c}f=0}d=qe[j[p(f,12)+1928>>2]](a)|0;qe[j[a+16>>2]](a)|0;break a}f=f+1|0;if((f|0)!=15){continue}break}qe[j[a+16>>2]](a)|0;d=0;ve(2100,0)}oe=e+16|0;return d}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0),i=0,j=q(0),l=q(0),m=q(0),o=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);i=(e<<2)/3|0;if(e>>>0>=24){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c+e|0;d=c+i|0;e=(e>>>0)/24|0;while(1){j=n[f-8>>2];c=f-24|0;l=n[c>>2];m=n[f-4>>2];o=n[f-20>>2];n[d-20>>2]=n[f-12>>2];g=n[f-16>>2];n[d-4>>2]=q(o+m)*q(.5);n[d-24>>2]=g;g=q(q(l+j)*q(.5));n[d-8>>2]=g;n[d-12>>2]=m+q(m-g);n[d-16>>2]=j+q(j-g);n[d-28>>2]=o+q(o-g);d=d-32|0;n[d>>2]=l+q(l-g);f=c;e=e-1|0;if(e){continue}break}}h[a+24|0]=i;h[a+25|0]=i>>>8;h[a+26|0]=i>>>16;h[a+27|0]=i>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function XE(a,b,c){var d=0,e=0,f=0,g=0;e=oe-784|0;oe=e;a:{b:{c:{d:{d=j[a+208>>2];if(d&1){if(d&2){break d}if(d&4){Ie(a,c);Je(a,211051);break a}j[a+208>>2]=d|2;if(!(k[a+435|0]&2)){Ie(a,c);Je(a,211095);break a}if(!((c>>>0)%3|0?0:c>>>0<=768)){Ie(a,c);if(k[a+435|0]!=3){Je(a,211064);break a}hf(a,211064);z()}c=c&65535;f=(c>>>0)/3|0;if(c>>>0>=3){g=f>>>0>1?f:1;c=0;d=e+16|0;while(1){pf(a,e+13|0,3);tf(a,e+13|0,3);h[d|0]=k[e+13|0];h[d+1|0]=k[e+14|0];h[d+2|0]=k[e+15|0];d=d+3|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Ie(a,0);RF(a,b,e+16|0,f);if(!l[a+428>>1]){if(!b){break a}d=j[b+8>>2];if(!(d&16)){break b}i[a+428>>1]=0;break c}i[a+428>>1]=0;if(b){break c}Je(a,211120);break a}hf(a,211072);z()}hf(a,211085);z()}i[b+22>>1]=0;Je(a,211120);d=j[b+8>>2]}if(d&64){Je(a,211139)}if(!(k[b+8|0]&32)){break a}Je(a,211158)}oe=e+784|0}function ss(a,b,c,d,e){var f=0,g=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0;p=j[a+2984>>2]&4;f=64;a:{if(p){break a}k=1;f=(e|0)==1?55:49;if(!(!(h[b+12|0]&1)|!(h[c+12|0]&1))){break a}f=(e|0)==1?61:59}n=j[c+4>>2];o=j[b+4>>2];m=wk(a,e,n-o|0);a=(((n+o|0)/2|0)+d|0)+((m|0)/-2|0)|0;d=a&63;b:{if(!d){break b}i=a+m&63;if(!i){break b}g=64-d|0;if((f|0)>=(m|0)){if((i|0)>=(m|0)){break b}l=g>>>0>i>>>0?0-i|0:g;break b}if(k){if(f>>>0<=64-i>>>0|f>>>0<=i>>>0|(d>>>0>=f>>>0|g>>>0>=f>>>0)){break b}}k=m&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(i>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;l=g>>31;e=f-i|0;d=i-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;l=(l^g+l)>(d^d+e)?e:g}e=b;d=l;d:{if(p){break d}d=14;if((l|0)>14){break d}d=(l|0)>-14?l:-14}a=d+a|0;b=(n|0)>(o|0);j[e+8>>2]=a+(b?0:m);j[c+8>>2]=a+(b?m:0);return d}function Oq(a,b,c,d,e,f,g){var i=0,l=0,n=0;n=e-c|0;a:{if((n|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=Ne(i,f-c|0,n)+b|0;l=j[a>>2];f=f>>l;c=0;break b}l=j[a>>2];f=c>>l;c=j[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=j[a+4>>2]-1&e}e=g>>l;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=Ne(i,j[a+4>>2]-c|0,n)+b|0;break c}if(!k[a+87|0]){break c}j[a+40>>2]=j[a+40>>2]-4}h[a+87|0]=!d;if(k[a+86|0]){j[j[a+88>>2]+20>>2]=f;h[a+86|0]=0}g=e-f|0;c=g+1|0;if(m[a+36>>2]<=j[a+40>>2]+(c<<2)>>>0){j[a+44>>2]=98;return 1}d=1;e=j[a+4>>2];d:{if((i|0)>=1){f=Ak(e,i,n);break d}d=-1;i=0-i|0;f=0-Ak(e,i,n)|0}i=(p(j[a+4>>2],i)|0)%(n|0)|0;e=j[a+40>>2];if((g|0)>=0){g=0-n|0;while(1){j[e>>2]=b;g=g+i|0;l=(g|0)>-1;g=g-(l?n:0)|0;b=(b+f|0)+(l?d:0)|0;e=e+4|0;l=(c|0)>1;c=c-1|0;if(l){continue}break}}j[a+40>>2]=e}return 0}function Hz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=oe-16|0;oe=i;a:{if(!a){ve(86193,0);break a}b:{c:{d:{e:{l=j[a+4>>2];switch(k[l+9|0]-2|0){case 2:break d;case 0:break e;default:break b}}m=j[l+12>>2];m=(m|0)==31744?222:(m|0)==63488?223:224;break c}n=j[l+24>>2];m=n?225:226;if(j[l+12>>2]==16711680){break c}m=n?227:228}if((c|0)>=2){r=a+36|0;l=1;while(1){n=(l<<3)+b|0;o=n-8|0;j[i+12>>2]=j[o>>2];j[i+8>>2]=j[o+4>>2];j[i+4>>2]=j[n>>2];j[i>>2]=j[n+4>>2];if(zn(r,i+12|0,i+8|0,i+4|0,i)){o=1;p=j[i>>2];q=j[i+4>>2];o=(q|0)==j[n>>2]?j[n+4>>2]!=(p|0):o;qe[m|0](a,j[i+12>>2],j[i+8>>2],q,p,d,e,f,g,h,o)}l=l+1|0;if((l|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;m=j[c>>2];f:{if((m|0)!=j[b>>2]){l=j[c+4>>2];break f}l=j[c+4>>2];if((l|0)==j[b+4>>2]){break a}}Wz(a,m,l,d,e,f,g,h);break a}ve(86243,0)}oe=i+16|0}function or(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];j[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){f=0;c:{d:{e:{f:{g:{g=k[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(g-123|0){case 0:e=e+1|0;break c;case 2:break h;default:break c}}e=e-1|0;if(e){break c}c=c+1|0;break b}f=mm(d+12|0,b);break c}f=nr(d+12|0,b);break c}i:{while(1){j:{switch(g-10|0){case 0:case 3:break i;default:break j}}c=c+1|0;if((c|0)!=(b|0)){g=k[c|0];continue}break}c=b}j[d+12>>2]=c}c=j[d+12>>2]+1|0;j[d+12>>2]=c;if(f?0:b>>>0>c>>>0){continue}break}b=3;if(e){break a}}b=f}j[a>>2]=c;oe=d+16|0;return b}function DF(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=oe-48|0;oe=f;a:{b:{c:{switch(CF(f+8|0,c)|0){case 0:e=l[b+74>>1];if(e&32768){break a}if(!(e&2)){break b}if(!ik(c,b+4|0,100)){i[b+74>>1]=e|32768;Ml(a,209622);break a}break b;case 1:i[b+74>>1]=l[b+74>>1]|32768;Ml(a,208084);break a;default:break c}}i[b+74>>1]=l[b+74>>1]|32768;Ye(a,208107);z()}a=j[c+4>>2];j[b+4>>2]=j[c>>2];j[b+8>>2]=a;a=j[c+28>>2];j[b+28>>2]=j[c+24>>2];j[b+32>>2]=a;a=j[c+20>>2];j[b+20>>2]=j[c+16>>2];j[b+24>>2]=a;a=j[c+12>>2];j[b+12>>2]=j[c+8>>2];j[b+16>>2]=a;a=f;d=j[a+12>>2];j[b+36>>2]=j[a+8>>2];j[b+40>>2]=d;d=j[a+20>>2];j[b+44>>2]=j[a+16>>2];j[b+48>>2]=d;d=j[a+28>>2];j[b+52>>2]=j[a+24>>2];j[b+56>>2]=d;d=j[a+36>>2];j[b+60>>2]=j[a+32>>2];j[b+64>>2]=d;j[b+68>>2]=j[a+40>>2];g=b,h=ik(c,208288,1e3)?e|66:e&65469|2,i[g+74>>1]=h}oe=f+48|0}function ai(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0,n=0;d=j[a+40>>2];n=b;c=xl(b,j[a+36>>2]);a:{b:{c:{if((c|0)>=0){c=j[j[a+32>>2]+(c<<2)>>2];if((c|0)>=0){g=c-1|0;a=h[g+j[a+28>>2]|0];break b}i=c>>>15&32767;c=j[a+8>>2]-(c&32767)|0;break c}c=j[a+8>>2]}k=c;f=xl(b,d);l=f>>>31|0;g=-1;d:{if((f|0)>-1){c=d;break d}if((d|0)<2){c=d;break d}while(1){c=d-1|0;f=xl(b,c);l=f>>>31|0;if((f|0)>-1){break d}e=(d|0)>2;d=c;if(e){continue}break}}if(l){break a}d=k-i|0;if((d|0)>=2){e=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);e=e>>>4&252645135|e<<4&-252645136;e=e>>>2&858993459|e<<2&-858993460;l=e>>>1&1431655765|e<<1&-1431655766;e=j[a+20>>2];while(1){g=d>>>1|0;d=l>>>0>2];k=k-(d?g:0)|0;i=(d?0:g)+i|0;d=k-i|0;if((d|0)>1){continue}break}}a=h[j[a+28>>2]+i|0];k=(a|0)>(c|0);g=k?-1:i;a=k?c:a}ZD(n,a)}return g}function Xp(a,b,c,d,e,f,g,h){var i=0,l=0;a:{b:{if(!b){i=208984;break b}i=209040;if((b|0)<=-1){Ze(a,209012);l=1}else{l=0}if((b+7&-8)>>>0<536870905){break a}}Ze(a,i);l=1}i=l;if(m[a+748>>2]>>0){Ze(a,209087);i=1}b=a;c:{if(c){if((c|0)>-1){break c}l=209155}else{l=209126}Ze(b,l);i=1}if(m[a+752>>2]>>0){Ze(a,209184);i=1}if(!(1<>>0<=16:0)){Ze(a,209224);i=1}b=e&-5;if(!((b|0)!=1?e>>>0<=6:0)){Ze(a,209250);i=1}if(!(!((e|0)==4|(b|0)==2)|(d|0)>7?!((e|0)==3?(d|0)>=9:0):0)){Ze(a,209277);i=1}if((f|0)>=2){Ze(a,209326);i=1}if(g){Ze(a,209359);i=1}if(!(!(k[a+209|0]&16)|!j[a+708>>2])){Ze(a,209394)}d:{e:{f:{if(!h){break f}if(!(!(j[a+708>>2]&4)|(h|0)!=64|(b|0)!=2)){if(!(j[a+208>>2]&4096)){break f}}Ze(a,209443);if(!(k[a+209|0]&16)){break e}Ze(a,209473);break e}if(!i){break d}}Ye(a,209503);z()}}function SG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=oe-272|0;oe=d;qe[j[b+60>>2]](b,d+80|0,16,d+76|0);e=j[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}k=j[b+8>>2];l=j[b>>2];if((e|0)>=1){i=j[a+528>>2];e=0;while(1){c=(d+80|0)+p(g,12)|0;j[b>>2]=j[c>>2];j[b+8>>2]=j[c+4>>2];qe[j[b+60>>2]](b,d+16|0,4,d+12|0);f=j[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=jk(a,j[d+76>>2],f);if(c){break a}i=j[a+528>>2];c=j[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+p(c,12)|0;j[b>>2]=j[h>>2];j[b+8>>2]=j[h+4>>2];h=qe[j[b+40>>2]](b,0)|0;j[j[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}j[b+8>>2]=k;j[b>>2]=l;c=0}j[b+12>>2]=c;oe=d+272|0}function ED(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,k=0;e=oe-32|0;oe=e;g=j[a+28>>2];j[e+16>>2]=g;d=j[a+20>>2];j[e+28>>2]=c;j[e+24>>2]=b;b=d-g|0;j[e+20>>2]=b;g=b+c|0;k=2;b=e+16|0;a:{b:{f=W(j[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}j[67100]=f;d=-1}d:{if(!d){while(1){d=j[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=j[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;j[i>>2]=h+j[i>>2];i=(f?12:4)+b|0;j[i>>2]=j[i>>2]-h;g=g-d|0;b=f?b+8|0:b;k=k-f|0;f=W(j[a+60>>2],b|0,k|0,e+12|0)|0;d=0;e:{if(!f){break e}j[67100]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];a=c;break a}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a>>2]=j[a>>2]|32;a=0;if((k|0)==2){break a}a=c-j[b+4>>2]|0}oe=e+32|0;return a|0}function bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=q(0),l=0,m=0,p=q(0);a=oe-16|0;oe=a;b=1;a:{if(!(k[j[c+4>>2]+49|0]&32)){break a}i=n[c+16>>2];if(+K()==+i){break a}m=c,p=q(+K()),n[m+16>>2]=p;b=0}e=j[c+4>>2];if((j[e+48>>2]&4129)==32){d=+j[e+24>>2];o[a+8>>3]=d;f=+j[e+28>>2];o[a>>3]=f;if(j[c+20>>2]){H(j[c+12>>2],a+8|0,a|0)|0;f=o[a>>3];d=o[a+8>>3]}g=f;f=+n[c+16>>2];g=g*f;b:{if(r(g)<2147483648){e=~~g;break b}e=-2147483648}l=j[c+12>>2];d=d*f;c:{if(r(d)<2147483648){h=~~d;break c}h=-2147483648}J(l|0,h|0,e|0)|0;if(!(j[c+20>>2]|n[c+16>>2]==q(1))){Q(j[c+12>>2],+o[a+8>>3],+o[a>>3])|0}c=j[c+4>>2];if(!b){j[c+24>>2]=0;j[c+28>>2]=0}d=o[a>>3];d:{if(r(d)<2147483648){b=~~d;break d}b=-2147483648}d=o[a+8>>3];e:{if(r(d)<2147483648){e=~~d;break e}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function zI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;a:{h=j[a>>2];if((h|0)==1){break a}q=j[a+8>>2];l=j[q+4>>2];if((l|0)<1){break a}s=l+1|0;d=j[a+4>>2];k=(d+(h<<2)|0)-4|0;e=1;a=h;i=a;while(1){c=(h|0)/(a|0)|0;f=j[(s-m<<2)+q>>2];a=(a|0)/(f|0)|0;i=i-p(c,f-1|0)|0;o=1-e|0;b:{c:{d:{e:{switch(f-2|0){case 2:e=(i<<2)+k|0;g=c+i|0;f=(g<<2)+k|0;g=(c+g<<2)+k|0;if(o){Aq(c,a,d,b,e,f,g);break c}Aq(c,a,b,d,e,f,g);break d;case 0:e=(i<<2)+k|0;if(!o){yq(c,a,b,d,e);break d}yq(c,a,d,b,e);break c;default:break e}}g=p(a,c);r=(i<<2)+k|0;if(!((c|0)==1?e:o)){wq(c,f,a,g,b,b,b,d,d,r);break c}wq(c,f,a,g,d,d,d,b,b,r)}e=0;c=1;break b}e=1;c=0}m=m+1|0;if((l|0)!=(m|0)){continue}break}if(c^1|(h|0)<1){break a}a=0;while(1){c=a<<2;n[c+b>>2]=n[c+d>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}}function pM(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=k[b|0]+a|0;e=c+k[b+1|0]|0;g=e+k[b+2|0]|0;h=g+k[b+3|0]|0;i=h+k[b+4|0]|0;j=i+k[b+5|0]|0;l=j+k[b+6|0]|0;m=l+k[b+7|0]|0;n=m+k[b+8|0]|0;o=n+k[b+9|0]|0;p=o+k[b+10|0]|0;q=p+k[b+11|0]|0;r=q+k[b+12|0]|0;s=r+k[b+13|0]|0;t=s+k[b+14|0]|0;a=t+k[b+15|0]|0;f=a+(t+(s+(r+(q+(p+(o+(n+(m+(l+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d-16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=k[d|0]+a|0;f=f+a|0;d=d+1|0;e=e-1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function Vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=j[c+12>>2];d=j[b+120>>2];if(d){qe[d|0](j[b+116>>2])}while(1){d=j[b+84>>2];if(d){ks(d);continue}break}Pr(b+108|0,582,a,c);j[b+88>>2]=0;c=j[b+48>>2];if(c){qe[c|0](b)}if(j[b+36>>2]>=1){c=0;while(1){g=c<<2;d=j[g+j[b+40>>2]>>2];f=j[j[d>>2]+100>>2];h=j[j[d+12>>2]+8>>2];if(h){qe[h|0](d)}if(d){qe[j[f+8>>2]](f,d)}j[j[b+40>>2]+g>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+36>>2]=0;j[b+40>>2]=0;c=j[e+52>>2];if(c){qe[c|0](b)}c=j[b+104>>2];a:{if(!c){break a}d=j[c+28>>2];f=j[b+8>>2];b:{if(!c){break b}e=j[c+24>>2];if(!e){break b}qe[e|0](c)}if(f&1024){break a}if(c){qe[j[d+8>>2]](d,c)}}j[b+104>>2]=0;c=j[b+128>>2];if(c){if(c){qe[j[a+8>>2]](a,c)}j[b+128>>2]=0}if(b){qe[j[a+8>>2]](a,b)}}function VL(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=j[j[a+96>>2]+8>>2];j[a+20>>2]=0;j[a+24>>2]=0;d=j[a+100>>2];b=d;c=j[a+368>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+368>>2]=0;b=d;c=j[a+372>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+372>>2]=0;c=j[a+376>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+376>>2]=0;c=j[a+364>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+360>>2]=0;j[a+364>>2]=0;j[a+348>>2]=0;j[a+352>>2]=0;c=j[a+388>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+380>>2]=0;j[a+384>>2]=0;j[a+388>>2]=0;c=j[a+416>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+408>>2]=0;j[a+412>>2]=0;j[a+416>>2]=0;b=j[a+396>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+392>>2]=0;j[a+396>>2]=0;b=j[a+424>>2];if(b){while(1){c=j[b>>2];if(b){qe[j[d+8>>2]](d,b)}b=c;if(b){continue}break}}j[a+428>>2]=0;j[a+420>>2]=0;j[a+424>>2]=0;b=j[a+32>>2];if(b){qe[j[e+8>>2]](e,b)}j[a+32>>2]=0}}function Kl(a,b,c,d){var e=0,f=0,g=0,i=0;e=j[c>>2];i=j[d>>2];a:{if(i>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(h[a+i|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;i=i+1|0;if((i|0)!=(b|0)){continue}break}i=b}j[c>>2]=e;j[d>>2]=i;return e>>>3&1}function Wp(a){var b=0,c=0,d=0,e=0;Ke(a,j[a+492>>2]);j[a+492>>2]=0;b=j[a+496>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+496>>2]}Ke(e,b);j[a+496>>2]=0}Ke(a,j[a+500>>2]);j[a+500>>2]=0;Ke(a,j[a+504>>2]);j[a+504>>2]=0;b=j[a+508>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+508>>2]}Ke(e,b);j[a+508>>2]=0}b=j[a+512>>2];if(b){e=a;d=8-j[a+484>>2]|0;if((d|0)!=31){c=1;Ke(a,j[b>>2]);b=1<>2]+(c<<2)>>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=j[a+512>>2]}Ke(e,b);j[a+512>>2]=0}}function mg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=j[a>>2];if(!i){break a}f=j[a+36>>2];if((f|0)>=j[a+32>>2]){break a}d=j[a+16>>2];g=j[d+(f<<2)>>2];if(g&1024){j[a+36>>2]=f+1;b=a;c=j[a+348>>2];a=j[a+344>>2]+1|0;c=a>>>0<1?c+1|0:c;j[b+344>>2]=a;j[b+348>>2]=c;return-1}e=g&512;h=255;c=g&255;b:{if((c|0)!=255){h=c;break b}while(1){f=f+1|0;c=j[(f<<2)+d>>2];e=c&512?512:e;c=c&255;h=c+h|0;if((c|0)==255){continue}break}}c:{if(!b){e=j[a+344>>2];c=j[a+348>>2];g=j[a+12>>2];break c}j[b+8>>2]=g&256;j[b+12>>2]=e;g=j[a+12>>2];j[b>>2]=i+g;d=j[a+348>>2];c=d;e=j[a+344>>2];j[b+24>>2]=e;j[b+28>>2]=c;d=j[a+20>>2]+(f<<3)|0;i=j[d+4>>2];d=j[d>>2];j[b+4>>2]=h;j[b+16>>2]=d;j[b+20>>2]=i}d=e+1|0;c=d>>>0<1?c+1|0:c;j[a+344>>2]=d;j[a+348>>2]=c;e=1;j[a+36>>2]=f+1;j[a+12>>2]=g+h}return e}function bo(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;a:{b:{switch(d-1|0){case 0:d=h;h=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=d+((p(h,c>>>24|0)>>>0)/255|0)<<24|((p(h,c&255)>>>0)/255|0)+g;b=((p(h,c>>>8&255)>>>0)/255|0)+f<<8;g=((p(h,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;d=(b>>>0<255?b:255)|c&-16777216;b=(c>>>8&255)+f|0;b=(b>>>0<255?b:255)<<8;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];d=c&-16777216|(p(c&255,g)>>>0)/255;b=(p(c>>>8&255,f)>>>0)/255<<8;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}d=f<<8|e<<16;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=h<<24}j[a>>2]=d|g|b;return 0}function HL(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,i=0,k=0,l=0,m=0,n=0,o=0;i=oe-16|0;oe=i;e=6;a:{if((b|0)<0|j[a+16>>2]<=(b|0)){break a}f=j[a+8>>2];e=j[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=j[a>>2];k=c-g|0;n=(k|0)>-1&f>>>0>k>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}l=j[a+32>>2];h=He(l,f,i+12|0);j[a>>2]=h;e=j[i+12>>2];if(e){j[a>>2]=g;break a}if(g){Ae(h,g,j[a+8>>2]);h=j[a+16>>2];if((h|0)>=1){o=j[a>>2]-g|0;e=j[a+24>>2];h=e+(h<<2)|0;while(1){m=j[e>>2];if(m){j[e>>2]=o+m}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){qe[j[l+8>>2]](l,g)}}j[a+8>>2]=f;e=n?k:-1;if((e|0)<0){break b}c=e+j[a>>2]|0}b=b<<2;e=j[a+4>>2];j[b+j[a+24>>2]>>2]=e+j[a>>2];j[b+j[a+28>>2]>>2]=d;Ae(e+j[a>>2]|0,c,d);j[a+4>>2]=j[a+4>>2]+d;e=0}oe=i+16|0;return e|0}function CC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=q(0),g=0,i=q(0);g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>5|0;if(e){d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){f=n[c+28>>2];i=q(n[c+24>>2]*q(.5));n[d>>2]=q(i+n[c>>2])/q(1.5);f=q(f*q(.5));n[d+4>>2]=q(f+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+8>>2]/q(1.5);n[d+12>>2]=n[c+12>>2]/q(1.5);n[d+16>>2]=q(i+n[c+16>>2])/q(1.5);n[d+20>>2]=q(f+n[c+20>>2])/q(1.5);d=d+24|0;c=c+32|0;e=e-1|0;if(e){continue}break}}c=p((g|0)/8|0,6);h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function mv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+12>>2];f=j[a+8>>2];a:{if((f|0)>=1){while(1){g=p(h,20)+c|0;if((g|0)==(b|0)){break a}d=j[g+4>>2];e=j[b+4>>2];b:{if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[g+8>>2];e=j[b+8>>2];if((d|0)!=(e|0)){if(d-e|0){break b}break a}d=j[b>>2];e=d>>>8&255;i=j[g>>2];k=i>>>8&255;if((e|0)!=(k|0)){if(k-e|0){break b}break a}e=i>>>16&15;d=d>>>16&15;if((e|0)!=(d|0)){if(e-d|0){break b}break a}if(j[g+12>>2]==j[b+12>>2]){break a}}h=h+1|0;if((h|0)!=(f|0)){continue}break}}if(j[a+4>>2]==(f|0)){c=mf(c,p(f,20)+640|0);if(!c){return}j[a+12>>2]=c;j[a+4>>2]=j[a+4>>2]+32}c=p(f,20)+c|0;f=j[b+4>>2];j[c>>2]=j[b>>2];j[c+4>>2]=f;j[c+16>>2]=j[b+16>>2];f=j[b+12>>2];j[c+8>>2]=j[b+8>>2];j[c+12>>2]=f;b=j[a+8>>2]+1|0;j[a+8>>2]=b;un(j[a+12>>2],b)}}function fE(a){var b=0,c=0,d=0,e=0;b=oe-16|0;oe=b;e=(uP(a),pP(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=dj(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=q(-si(d+1.5707963267948966));break a}a=si(d+ -1.5707963267948966);break a}a=dj(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=si(d+4.71238898038469);break a}a=q(-si(d+ -4.71238898038469));break a}a=dj(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=q(a-a);break a}b:{switch(cE(a,b+8|0)&3){case 0:a=dj(o[b+8>>3]);break a;case 1:a=si(o[b+8>>3]);break a;case 2:a=dj(-o[b+8>>3]);break a;default:break b}}a=q(-si(o[b+8>>3]))}oe=b+16|0;return a}function Tl(a,b){var c=0,d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,p=0;g=oe-16|0;oe=g;n=j[a+28>>2];j[g+12>>2]=0;f=xe(n,2,0,b,0,g+12|0);a:{if(!j[g+12>>2]){while(1){if(b>>>0<=e>>>0){break a}d=j[a+32>>2];if(d>>>0>2]){j[a+32>>2]=d+1;c=h[d|0]}else{c=0}c=c<<24>>24;k=c&63;b:{if(c&128){d=(e^-1)+b|0;d=d>>>0>>0?d:k;Ee((e<<1)+f|0,0,(d<<1)+2|0);c=d+1|0;e=(d+e|0)+1|0;break b}d=0;if(c&64){while(1){o=(e<<1)+f|0,p=af(a),i[o>>1]=p;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}l=d>>>0>>0;d=c;if(l){continue}break b}}while(1){l=(e<<1)+f|0;c=j[a+32>>2];if(c>>>0>2]){j[a+32>>2]=c+1;c=h[c|0]}else{c=0}i[l>>1]=c<<24>>24;c=d+1|0;e=e+1|0;if(e>>>0>=b>>>0){break b}l=d>>>0>>0;d=c;if(l){continue}break}}if(c>>>0>k>>>0){continue}break}if(f){qe[j[n+8>>2]](n,f)}}f=0}oe=g+16|0;return f}function Yk(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}Go(190,a);c=j[a+344>>2];b=a+348|0;a:{if(!c){break a}j[c+24>>2]=j[a+348>>2];b=a+340|0}b=j[b>>2];j[a+348>>2]=0;j[a+340>>2]=0;j[a+344>>2]=0;if(b){while(1){c=j[b+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+408>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+428>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+432>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}while(1){b=j[a+312>>2];if(b){jh(b);continue}break}b=j[a+188>>2];if(b){uj(b,73378,0)}j[a>>2]=0;b=j[a+320>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}j[a+320>>2]=0;qe[j[a+84>>2]](a)}function Cl(a,b,c,d){var e=0;a:{b:{c:{d:{e:{if(j[a+684>>2]){if(!Op(a,c)){c=1;break a}e=qe[j[a+684>>2]](a,a+764|0)|0;if((e|0)<=-1){break d}c=0;if(e){break a}if((d|0)>1){break e}if(j[a+688>>2]>1){break c}yi(a,211781);cq(a,211803);break c}f:{g:{h:{d=d?d:j[a+688>>2];switch(d-2|0){case 1:break g;case 0:break h;default:break f}}if(!(k[a+379|0]&32)){break f}}if(Op(a,c)){break e}c=1;break a}Ie(a,c)}c=1;switch(d-2|0){case 1:break b;case 0:break c;default:break a}}hf(a,211761);z()}c=1;if(!(k[a+379|0]&32)){break a}}i:{j:{k:{d=j[a+756>>2];switch(d|0){case 1:break a;case 0:break i;case 2:break k;default:break j}}j[a+756>>2]=1;Je(a,211629);break a}j[a+756>>2]=d-1}MF(a,b,a+764|0);c=0}b=j[a+772>>2];if(b){Ke(a,b)}j[a+772>>2]=0;if(!(k[a+379|0]&32?0:c)){return}hf(a,211879);z()}function vq(a,b){var c=0,d=0,e=0,f=0;c=j[a+292>>2];e=j[a>>2];d=Zl(c,e,a);if(!d){h[c+561|0]=b;h[c+488|0]=0;j[c+16>>2]=0;j[c+428>>2]=0;f=j[e+640>>2];b=j[e+636>>2];j[c+460>>2]=0;j[c+464>>2]=0;j[c+456>>2]=b;j[c+452>>2]=f;d=0;if(b){j[c+364>>2]=b;j[c+356>>2]=f;j[c+360>>2]=0;j[c+352>>2]=2;d=qe[j[e+652>>2]](c)|0}j[a+300>>2]=d;i[c+300>>1]=0;i[c+292>>1]=0;i[c+294>>1]=16384;i[c+296>>1]=0;i[c+298>>1]=16384;j[c+284>>2]=0;j[c+288>>2]=1073741824;i[c+348>>1]=1;j[c+344>>2]=65537;j[c+304>>2]=1;Ae(a+172|0,c+284|0,68);j[a+116>>2]=j[c+396>>2];j[a+128>>2]=j[c+408>>2];j[a+140>>2]=j[c+420>>2];j[a+144>>2]=j[c+424>>2];b=j[c+448>>2];j[a+148>>2]=j[c+444>>2];j[a+152>>2]=b;b=j[c+456>>2];j[a+156>>2]=j[c+452>>2];j[a+160>>2]=b;b=j[c+464>>2];j[a+164>>2]=j[c+460>>2];j[a+168>>2]=b}return d}function If(a,b,c,d,e){var f=0,g=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;f=oe-240|0;oe=f;if(b){i[b+74>>1]=l[b+74>>1]|32768}g=Yf(f+32|0,196,0,209650);j=Yf(f+32|0,196,Yf(f+32|0,g+79|0,g,c),209660);q=f+32|0;a:{b:{g=d>>>24|0;if(g-48>>>0>9?!((g&223)-65>>>0<26|(g|0)==32):0){break b}k=d>>>16|0;m=k&255;if(m-48>>>0>9?!((m|0)==32|(k&223)-65>>>0<26):0){break b}n=d>>>8|0;o=n&255;if(o-48>>>0>9?!((o|0)==32|(n&223)-65>>>0<26):0){break b}p=d&255;if(p-48>>>0>9?!((p|0)==32|(d&223)-65>>>0<26):0){break b}c=(f+32|0)+j|0;h[c+5|0]=39;h[c+6|0]=58;h[c|0]=39;h[c+7|0]=32;h[c+4|0]=p-32>>>0<95?d:63;h[c+3|0]=o-32>>>0<95?n:63;h[c+2|0]=m-32>>>0<95?k:63;h[c+1|0]=g-32>>>0<95?g:63;c=j+8|0;break a}c=Yf(f+32|0,196,Yf(f+32|0,196,j,dG(f,f+24|0,d)),209664)}Yf(q,196,c,e);Of(a,f+32|0,b?2:1);oe=f+240|0}function $o(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=65533;f=j[b>>2];a:{if(!f){break a}b:{c:{d:{g=j[a>>2];d=k[g|0];e:{if(d>>>0>=252){c=65533;if((d&254)!=252){break e}e=5;c=1;break d}if(d>>>0>=248){c=65533;if((d&252)!=248){break e}e=4;c=3;break d}if(d>>>0>=240){c=65533;if((d&248)!=240){break e}e=3;c=7;break d}if(d>>>0>=224){c=65533;if((d&240)!=224){break e}e=2;c=15;break d}if(d>>>0>=192){c=65533;if((d&224)!=192){break e}e=1;c=31;break d}c=d&128?65533:d}j[a>>2]=g+1;j[b>>2]=f-1;break c}i=g+1|0;j[a>>2]=i;h=f-1|0;j[b>>2]=h;c=c&d;while(1){if(!h){break b}f=k[g+1|0];if((f&192)!=128){break b}g=g+1|0;i=i+1|0;j[a>>2]=i;h=h-1|0;j[b>>2]=h;c=f&63|c<<6;e=e-1|0;if(e){continue}break}}if((c&-2)==65534|c>>>0>1114111){break b}if((c&-2048)!=55296){break a}}c=65533}return c}function NA(){var a=0,b=0,c=0,d=0;a:{if(!_i(512)){break a}if(k[268300]){if(!j[67073]){break a}return}h[268300]=1;a=j[67074];if(a){while(1){b:{if(!j[a+60>>2]){break b}b=j[a+80>>2];if(b){qe[j[b+36>>2]](a)}if(!j[a+68>>2]){break b}YA(a)}if(j[a+72>>2]){c=j[a+28>>2];if((c|0)>=1){b=0;while(1){d=j[a+32>>2]+(b<<4)|0;if(j[d+8>>2]){bl(a,b&255,i[d+4>>1]);c=j[a+28>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}b=0;if(j[a+52>>2]>0){while(1){to(a,b&255,0);b=b+1|0;if((b|0)>2]){continue}break}}b=0;if(j[a+36>>2]>0){while(1){OA(a,b&255);b=b+1|0;if((b|0)>2]){continue}break}}j[a+72>>2]=0}a=j[a+92>>2];if(a){continue}break}}h[268300]=0;a=j[67074];if(a){while(1){if(j[a+88>>2]<=0){cl(a)}a=j[a+92>>2];if(a){continue}break}}qe[j[58772]]();if(!j[67073]){break a}}}function HE(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;e=oe-32|0;oe=e;a:{b:{c:{d:{d=j[a+756>>2];switch(d|0){case 0:break b;case 1:break d;default:break c}}Ie(a,c);break a}d=d-1|0;j[a+756>>2]=d;if((d|0)!=1){break b}Ie(a,c);Je(a,211629);break a}e:{d=j[a+208>>2];if(d&1){if(d&4){j[a+208>>2]=d|8}f=c+1|0;d=j[a+788>>2];f:{if(d){if(f>>>0<=m[a+792>>2]){break f}j[a+788>>2]=0;j[a+792>>2]=0;Ke(a,d)}d=ag(a,f);if(!d){break e}j[a+792>>2]=f;j[a+788>>2]=d}pf(a,d,c);tf(a,d,c);if(Ie(a,0)){break a}g=c+d|0;h[g|0]=0;c=d;while(1){f=c;c=c+1|0;if(k[f|0]){continue}break}j[e+24>>2]=0;j[e+4>>2]=d;j[e>>2]=-1;j[e+16>>2]=0;j[e+20>>2]=0;c=(f|0)==(g|0)?f:c;j[e+8>>2]=c;i=e,l=Le(c),j[i+12>>2]=l;if(!Ll(a,b,e)){break a}Ze(a,211653);break a}hf(a,211072);z()}yi(a,212476);Je(a,211242)}oe=e+32|0}function bl(a,b,c){var d=0,e=0,f=0,g=0;f=oe+ -64|0;oe=f;a:{if(j[a+28>>2]<=(b|0)){break a}e=j[a+32>>2];d=e+(b<<4)|0;if(!j[d+8>>2]){i[d+4>>1]=c;i[d+2>>1]=c;i[d>>1]=c;j[d+8>>2]=1;break a}d=l[d+2>>1];if((d|0)==(c&65535)){break a}if(!j[(e+(b<<4)|0)+12>>2]){e=c-(d<<16>>16)|0;d=e>>31;if((d^d+e)<410){break a}d=j[a+32>>2]+(b<<4)|0;i[d+2>>1]=c;j[d+12>>2]=1;bl(a,b,i[d>>1])}b:{if(k[268304]){break b}e=j[66371];d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(e|!d){break b}d=j[a+32>>2];e=d+(b<<4)|0;g=i[e+4>>1];if(i[e+2>>1]<=(c|0)?(g|0)<(c|0):0){break a}if((c|0)>=(g|0)){break b}if(i[(d+(b<<4)|0)+2>>1]>=(c|0)){break a}}i[(j[a+32>>2]+(b<<4)|0)+2>>1]=c;if((We(1536,-1)|0)!=1){break a}j[f+8>>2]=1536;a=j[a>>2];i[f+24>>1]=c;h[f+20|0]=b;j[f+16>>2]=a;gf(f+8|0)}oe=f- -64|0}function Wl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(b>>>0>c>>>0){break a}f=j[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=j[a+8>>2];f=j[g+(d<<3)>>2];g=j[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}k=j[a+4>>2];f=f<<3;h=j[k+f>>2];d=j[a>>2];m=j[f+d>>2];o=h-m|0;e=e<<3;l=j[e+k>>2];n=j[d+e>>2];p=l-n|0;if(!((g|0)==(i|0)|(h|0)==(l|0))){q=i-g|0;e=h-l|0;i=0;f=0;while(1){h=b<<3;d=j[h+d>>2];c:{if((d|0)<=(n|0)){d=d+p|0;break c}if((d|0)>=(m|0)){d=d+o|0;break c}if(!(i&255)){f=De(e,q)}d=ye(j[j[a+8>>2]+h>>2]-g|0,f)+l|0;k=j[a+4>>2];i=1}j[h+k>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=j[a>>2];continue}}while(1){a=b<<3;e=j[a+d>>2];j[a+k>>2]=(e|0)>(n|0)?(e|0)<(m|0)?l:e+o|0:e+p|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Wz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;if(!a){ve(85977,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86009,0);return}m=j[a+36>>2];a:{if((m|0)>(b|0)){break a}n=j[a+40>>2];if((j[a+44>>2]+m|0)<=(b|0)|(n|0)>(c|0)|(j[a+48>>2]+n|0)<=(c|0)){break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{switch(l-15|0){case 0:if(j[i+12>>2]!=31744){break b}fo(a,b,c,d,e&255,f&255,g&255,h);return;case 1:if(j[i+12>>2]!=63488){break b}eo(a,b,c,d,e&255,f&255,g&255,h);return;case 17:break c;default:break b}}if(j[i+12>>2]!=16711680){break b}if(!j[i+24>>2]){co(a,b,c,d,e&255,f&255,g&255,h);return}bo(a,b,c,d,e&255,f&255,g&255,h);return}if(!j[i+24>>2]){ao(a,b,c,d,e&255,f&255,g&255,h);return}$n(a,b,c,d,e&255,f&255,g&255,h)}}function rk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=j[a+4>>2];c=j[a>>2];if(!c){a=b>>31;return a+b^a}a=c>>31;a=a+c^a;if(b){d=a;a=b>>31;g=d|a+b^a;f=s(g);h=f-2|0;a:{if(g>>>0<=1073741823){a=b<>b;b=c>>b}c=0-b|0;b:{if((a|0)>(b|0)){d=(a|0)>(c|0);b=d?c:0-a|0;c=d?a:c;break b}d=(a|0)<(c|0);c=d?0-a|0:b;b=d?b:a}a=1;d=1;while(1){e=a+b>>d;c:{if((b|0)>=1){b=b-(a+c>>d)|0;c=c+e|0;break c}b=(a+c>>d)+b|0;c=c-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=c>>31;b=a+c^a;d=b&65535;a=p(d,56281);e=b>>>16|0;b=a+p(e,23318)|0;i=b<<16;d=i+p(d,23318)|0;a=(((p(e,56281)+(b>>>16|0)|0)+((a>>>0>b>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(c|0)<0?0-a|0:a;if(g>>>0<=536870911){return a+(1<>h}a=a<<2-f}return a}function df(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0>32){break b}d=j[a+12>>2];e=j[a+16>>2];if(j[a>>2]>=(e-4|0)){if(!d){break a}if((e|0)>2147483391){break b}d=Vf(j[a+8>>2],e+256|0);if(!d){break b}j[a+8>>2]=d;j[a+16>>2]=j[a+16>>2]+256;d=d+j[a>>2]|0;j[a+12>>2]=d}e=d;f=k[d|0];d=j[(c<<2)+63040>>2]&b;b=j[a+4>>2];h[e|0]=f|d<>2]+1|0]=d>>>8-j[a+4>>2];if((b|0)<16){break c}h[j[a+12>>2]+2|0]=d>>>16-j[a+4>>2];if((b|0)<24){break c}h[j[a+12>>2]+3|0]=d>>>24-j[a+4>>2];if((b|0)<32){break c}c=j[a+4>>2];if(c){h[j[a+12>>2]+4|0]=d>>>32-c;break c}h[j[a+12>>2]+4|0]=0}j[a+4>>2]=b&7;b=(b|0)/8|0;j[a>>2]=b+j[a>>2];j[a+12>>2]=b+j[a+12>>2];return}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Uz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;if(!a){ve(85977,0);return}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86054,0);return}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}a:{b:{c:{switch(l-15|0){case 0:l=213;if(j[i+12>>2]!=31744){break b}break a;case 17:if(j[i+12>>2]!=16711680){break b}l=j[i+24>>2]?214:215;break a;case 1:break c;default:break b}}l=216;if(j[i+12>>2]==63488){break a}}l=j[i+24>>2]?217:218}if((c|0)>=1){i=j[a+40>>2];n=i+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;q=g&255;r=f&255;s=e&255;e=0;while(1){g=(e<<3)+b|0;f=j[g+4>>2];d:{if((f|0)>=(n|0)){break d}g=j[g>>2];if((g|0)<(m|0)|(g|0)>=(o|0)|(f|0)<(i|0)){break d}qe[l|0](a,g,f,d,s,r,q,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function xq(a){var b=0,c=0,d=0,e=0,f=0;c=j[j[a>>2]+100>>2];b=j[a+292>>2];if(b){j[b+440>>2]=0;e=j[b+8>>2];d=e;f=j[b+24>>2];if(f){qe[j[d+8>>2]](d,f)}j[b+20>>2]=0;j[b+24>>2]=0;d=j[b+436>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+436>>2]=0;j[b+428>>2]=0;j[b+432>>2]=0;d=j[b+392>>2];if(d){qe[j[e+8>>2]](e,d)}j[b+388>>2]=0;j[b+392>>2]=0;j[b>>2]=0;j[b+4>>2]=0;if(b){qe[j[e+8>>2]](e,b)}j[a+292>>2]=0}b=j[a+244>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+240>>2]=0;j[a+244>>2]=0;b=j[a+252>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+248>>1]=0;j[a+252>>2]=0;_l(a+256|0);b=j[a+124>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+124>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;j[a+132>>2]=0;j[a+116>>2]=0;j[a+120>>2]=0;j[a+136>>2]=0;j[a+140>>2]=0;j[a+144>>2]=0;j[a+296>>2]=-1;j[a+300>>2]=-1}function CA(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}a:{b=j[a+348>>2];if(b){j[a+348>>2]=j[b+24>>2];j[b+24>>2]=0;break a}b=Xe(1,28);if(b){break a}Be(0);return}c=j[a+344>>2];j[(c?c+24|0:a+340|0)>>2]=b;j[a+344>>2]=b;if(!b){return}j[b>>2]=4;j[b+4>>2]=0;h[b+8|0]=k[a+324|0];h[b+9|0]=k[a+325|0];h[b+10|0]=k[a+326|0];h[b+11|0]=k[a+327|0];b:{if(j[a+336>>2]){break b}c=j[a+340>>2];if(!c){break b}b=a+420|0;qe[j[a+48>>2]](a,c,j[a+408>>2],j[a+412>>2])|0;while(1){c=b;b=j[b+8>>2];if(b){continue}break}j[c+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;c=j[a+344>>2];if(c){j[c+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}}function aE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;sP(+a);b=pP(1)|0;e=pP(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}sP(+(a*0x40000000000000));b=pP(1)|0;e=pP(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);qP(0,e|0);qP(1,(b&1048575)+1072079006|0);a=+rP()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a}function Rg(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;a:{b:{if(c-2>>>0>34){break b}d=j[a>>2];if(d>>>0>=b>>>0){break b}c:{d:{e=k[d|0];switch(e-43|0){case 0:case 2:break d;default:break c}}d=d+1|0;if((d|0)==(b|0)){break a}n=(e|0)==45}i=2147483647/(c>>>0)|0;e:{f:{if(b>>>0<=d>>>0){j[a>>2]=d;e=0;break f}o=2147483647-p(c,i)|0;g:{while(1){m=l;e=f;h:{f=k[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(f<<24>>24<0){break g}f=h[f+133760|0];if((f|0)<0|(c|0)<=(f|0)){break g}l=1;g=e;i:{if((e|0)>(i|0)){break i}if((e|0)==(i|0)){g=i;if((f|0)>(o|0)){break i}}l=m;g=f+p(c,e)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}m=l;e=f;d=b}j[a>>2]=d;a=2147483647;if(m&255){break e}}a=e}e=n?0-a|0:a}return e}return 0}function Nt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=j[a+40>>2];f=j[a+44>>2];a:{if(!(j[a- -64>>2]?0:j[a+60>>2])){Sj(j[a+52>>2]);break a}h[d+15|0]=0;h[d+13|0]=105;h[d+14|0]=105;b=k[a+10|0];c=j[a+16>>2];j[d>>2]=j[a+72>>2];j[d+4>>2]=(c>>>2>>>0)/(b>>>0);E(108614,d+13|0,d|0)|0;b=j[a+52>>2];if(!b){qe[f|0](j[a+48>>2],j[a+72>>2],e);break a}if((ii(b,j[a+72>>2],j[a+16>>2])|0)==-1){j[a+60>>2]=0}c=j[a+52>>2];b=0;b:{if(!c){break b}c=j[c+168>>2];b=0;c:{if(!c){break c}b=j[c+16>>2]}}if((b|0)<(e|0)){break a}while(1){if((Hh(j[a+52>>2],j[a+72>>2],e)|0)!=(e|0)){Oe(j[a+72>>2],k[a+35|0],e)}qe[f|0](j[a+48>>2],j[a+72>>2],e);c=j[a+52>>2];b=0;d:{if(!c){break d}c=j[c+168>>2];b=0;e:{if(!c){break e}b=j[c+16>>2]}}if((b|0)>=(e|0)){continue}break}}oe=d+16|0}function Ys(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=oe-1440|0;oe=f;a=j[a+84>>2];aa()|0;a:{if(!a){break a}if($(j[a>>2],f+8|0)|0){break a}d=o[f+8>>3];if(d==o[a+32>>3]?d!=0:0){break a}e=j[a+20>>2];if((e|0)>=1){while(1){b=c<<2;h=(b+a|0)+1064|0;g=j[h>>2];b=(b+f|0)+1048|0;i=j[b>>2];if((g|0)!=(i|0)){to(j[a+16>>2],c&255,(i|0)!=0);g=j[b>>2];e=j[a+20>>2]}b=c<<3;o[(b+a|0)+552>>3]=o[(b+f|0)+536>>3];j[h>>2]=g;c=c+1|0;if((e|0)>(c|0)){continue}break}}e=j[a+24>>2];if((e|0)>=1){c=0;while(1){b=c<<3;g=b+a|0;b=b+f|0;d=o[b+24>>3];if(d!=o[g+40>>3]){h=j[a+16>>2];i=c&255;d=d*32767;b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}bl(h,i,e);d=o[b+24>>3];e=j[a+24>>2]}o[g+40>>3]=d;c=c+1|0;if((e|0)>(c|0)){continue}break}}o[a+32>>3]=o[f+8>>3]}oe=f+1440|0}function wC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0),o=0,r=0;c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=(p(c,3)|0)/2|0;g=c>>>4|0;if(g){d=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d+c|0;e=c+f|0;while(1){i=n[d-12>>2];c=d-16|0;l=n[c>>2];d=d-8|0;o=j[d+4>>2];r=j[d>>2];j[e-12>>2]=0;d=e-8|0;j[d>>2]=r;j[d+4>>2]=o;m=q(q(l+i)*q(.5));n[e-16>>2]=m;n[e-20>>2]=i+q(i-m);e=e-24|0;n[e>>2]=l+q(l-m);d=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=f;h[a+25|0]=f>>>8;h[a+26|0]=f>>>16;h[a+27|0]=f>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Ot(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0;e=oe+ -64|0;oe=e;h[e+62|0]=105;h[e+63|0]=0;j[e+32>>2]=d;a:{if((E(105929,e+62|0,e+32|0)|0)<=-1){b=ve(106422,0);break a}b:{b=HC(l[a+8>>1]);if(b){g=a+4|0;while(1){c=b;f=(b&65535)!=33056;if(!f){i[a+8>>1]=33056}b=GC();if(f?b:0){continue}break}if((c&65535)==33056){break b}}b=ve(106454,0);break a}j[a+96>>2]=1;b=0;h[e+61|0]=0;m=a,n=E(106482,e+61|0,0)|0,j[m+4>>2]=n;FC(g);if(d){h[e+60|0]=0;j[e+56>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+28>>2]=a;j[e+24>>2]=522;j[e+20>>2]=d;j[e+16>>2]=c;E(106552,e+56|0,e+16|0)|0;break a}h[e+52|0]=0;j[e+48>>2]=1768515945;c=k[a+10|0];d=l[a+12>>1];j[e+12>>2]=a;j[e+8>>2]=523;j[e+4>>2]=d;j[e>>2]=c;E(108204,e+48|0,e|0)|0}oe=e- -64|0;return b|0}function dC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=127;a:{if(c>=q(1)){break a}d=128;if(c<=q(-1)){break a}c=q(c*q(127));if(q(r(c))>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32776)}}function zg(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return Ae(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}h[d|0]=k[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;h[d|0]=k[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;j[c+a>>2]=j[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;h[c+a|0]=k[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){j[d>>2]=j[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){h[d|0]=k[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function cC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,i=0;e=a;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);f=b>>>2|0;if(f){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=b;while(1){i=g;c=n[b>>2];d=255;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(127));if(c=q(0)){d=~~c>>>0;break a}d=0}h[i|0]=d;g=g+1|0;b=b+4|0;f=f-1|0;if(f){continue}break}b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24)}b=(b|0)/4|0;h[e+24|0]=b;h[e+25|0]=b>>>8;h[e+26|0]=b>>>16;h[e+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,8)}}function Gr(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0;j[d>>2]=0;if(!(!(e|f)|(a|0)<655)){q=d;r=(e|0)/2|0;if(f){o=j[g+28>>2];i=j[g+20>>2];h=j[g+16>>2];k=j[g+12>>2];l=j[g+8>>2];m=j[g+4>>2];p=j[g>>2];t=d;n=j[g+24>>2];f=n<<16;d=ye(c+e|0,a);if((62-(s(b)+s(d)|0)|0)<46){f=ye(d,b)}c=f;e=p<<16;a:{if((c|0)<(e|0)){b=De(m<<16,b);break a}b:{c:{d:{g=l<<16;e:{if((g|0)>(c|0)){e=De(e,b);c=l-p|0;if(!c){break e}b=Ne(d-e|0,k-m|0,c)+De(m<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}e=De(g,b);c=h-l|0;if(!c){f=h<<16;break c}b=Ne(d-e|0,i-k|0,c)+De(k<<16,b)|0;break a}if((c|0)>=n<<16){break b}}e=De(f,b);c=n-h|0;if(!c){break b}b=Ne(d-e|0,o-i|0,c)+De(i<<16,b)|0;break a}b=De(o<<16,b)}j[t>>2]=b;a=De(b,a<<1)}else{a=0}j[q>>2]=r+a}}function cl(a){var b=0,c=0,d=0;if(!a){ve(73091,0);return}b=j[a+88>>2];j[a+88>>2]=b-1;a:{if((b|0)>=2){if(!j[67073]){break a}return}if(k[268300]){if(!j[67073]){break a}return}qe[j[j[a+80>>2]+40>>2]](a);j[a+84>>2]=0;b=j[67074];b:{if(!b){break b}if((a|0)!=(b|0)){while(1){c=j[b+92>>2];if(!c){break b}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+92>>2];if(d){j[d+92>>2]=b;break b}j[67074]=b}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+32>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+40>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+48>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+56>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(!j[67073]){break a}}}function Xq(a){var b=0,c=0,d=0;if(a){b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+8>>2];if(b){while(1){d=b;b=c<<2;ze(j[j[d+b>>2]>>2]);ze(j[j[b+j[a+8>>2]>>2]+4>>2]);ze(j[j[b+j[a+8>>2]>>2]+8>>2]);ze(j[j[b+j[a+8>>2]>>2]+12>>2]);ze(j[j[b+j[a+8>>2]>>2]+16>>2]);ze(j[j[b+j[a+8>>2]>>2]+20>>2]);ze(j[j[b+j[a+8>>2]>>2]+24>>2]);ze(j[j[b+j[a+8>>2]>>2]+28>>2]);ze(j[b+j[a+8>>2]>>2]);c=c+1|0;if((c|0)!=17){b=j[a+8>>2];continue}break}ze(j[a+8>>2])}b=j[a+12>>2];if(b){ze(j[b>>2]);ze(j[j[a+12>>2]+4>>2]);ze(j[j[a+12>>2]+8>>2]);ze(j[a+12>>2])}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0;f=oe-16|0;oe=f;a:{b:{if(!a|k[a+49|0]&64){break b}Wg(a,f+12|0,f+8|0);if(j[f+8>>2]>(c|0)?!((b|c)<0|j[f+12>>2]<=(b|0)):0){break b}if(j[67024]!=(a|0)){break a}if(d){Fh(a,j[67023],0,b,c);a=j[67024];if(!a){break a}}zf(a,11,0,0);j[67034]=0;j[67024]=0;a=j[67015];b=j[67049];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;break a}if(!a){break a}qe[a|0](0)|0;break a}h=1;e=j[67024];if((e|0)==(a|0)){break a}if(e){zf(e,11,0,0)}j[67024]=a;j[67034]=0;c:{if(a){zf(a,10,0,0);g=268200;if(j[67024]){break c}}g=268196}e=j[67015];g=j[g>>2];d:{if(!(j[67035]|(!g|!j[67051]))){if(!e){break d}qe[e|0](g)|0;break d}if(!e){break d}qe[e|0](0)|0}if(!d){break a}Fh(a,j[67023],0,b,c)}oe=f+16|0;return h}function sN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=q(0);e=a+4|0;c=j[b+20>>2];g=Ce(e,j[c+12>>2]);a:{if((g|0)<1){break a}i=j[c+12>>2];k=j[c+16>>2];d=j[c+20>>2];d=Ce(e,d?32-s(d)|0:0);if((d|0)==-1|(d|0)>=j[c+20>>2]){break a}d=j[j[j[j[a+64>>2]+4>>2]+28>>2]+2848>>2]+p(j[(c+(d<<2)|0)+24>>2],56)|0;c=Ef(a,(j[d>>2]+j[b+4>>2]<<2)+4|0);if((Zu(d,c,e,j[b+4>>2])|0)==-1){break a}e=j[b+4>>2];if((e|0)>=1){a=0;while(1){b:{if((a|0)>=(e|0)){break b}l=e-a|0;b=0;f=j[d>>2];f=((f|0)>0?f:0)+a|0;while(1){if((a|0)==(f|0)){a=f;break b}h=c+(a<<2)|0;n[h>>2]=m+n[h>>2];a=a+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}m=n[(c+(a<<2)|0)-4>>2];if((a|0)<(e|0)){continue}break}}n[c+(e<<2)>>2]=q(q(g|0)/q(-1<>>31|0;f=(e^-1)>>>31|0}a:{b:{e=k[a|0]&2;if(!e){break b}if((Eg(a)|0)>=0){break b}m=1;f=-1;break a}m=!e;if(!f){f=-1;break a}f=0;if(!b){break a}g=j[b+8>>2];if((g|0)<1){break a}n=j[b+12>>2];if((n|0)<1){break a}e=j[a+52>>2];h=k[j[e+56>>2]+9|0];o=l[b>>1];q=j[a+20>>2];r=l[b+4>>1];b=j[a+16>>2];j[e+28>>2]=b;j[e+24>>2]=n;j[e+20>>2]=g;j[e+32>>2]=b-p(g,h);j[e+16>>2]=(p(b,r)+q|0)+p(h,o);b=j[c+16>>2];g=k[j[e+60>>2]+9|0];j[e+36>>2]=(j[c+20>>2]+p(b,l[d+4>>1])|0)+p(g,l[d>>1]);h=j[d+8>>2];j[e+40>>2]=h;j[e+44>>2]=j[d+12>>2];j[e+52>>2]=b-p(g,h);j[e+48>>2]=b;qe[j[e+12>>2]](e+16|0)}if(!i){jg(c)}if(!m){jg(a)}return f|0}function rw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];m=(j[a+4>>2]<<16)/(f|0)|0;n=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];l=d>>>8|0;o=c,q=l&255|(mP(d,24)&-65536|l&65280),j[o>>2]=q;c=c+4|0;b=b+m|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+n|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function rn(a,b){var c=0,d=0,e=0;c=j[j[67085]+288>>2];if(c){d=a;if((We(4096,-1)|0)!=1){e=(We(4097,-1)|0)==1}else{e=1}qe[c|0](d,e)}a:{if(!(b&128)){break a}c=j[67085];if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}if(k[a+48|0]&128){break a}d=j[c+96>>2];if(!d){break a}qe[d|0](c,a)}b:{if(!(b&64)){break b}c=j[67085];if(!c){ve(99429,0);break b}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break b}if(!j[c+100>>2]|k[a+48|0]&64){break b}Xg(a,0);c=j[67085];d=j[c+100>>2];if(!d){break b}qe[d|0](c,a)}if(b&1){pn(a,b)}if(b&256){bv(a)}c:{if(b&8){break c}b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(k[a+48|0]&4){break c}c=j[b+84>>2];if(c){qe[c|0](b,a)}zf(a,1,0,0)}}function Wj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=oe-16|0;oe=g;e=qe[j[57972]](20)|0;if(e){j[57976]=j[57976]+1}a:{if(!e){b=Be(0);break a}f=Uf(a);j[e+8>>2]=f;if(!f){if(e){qe[j[57975]](e);j[57976]=j[57976]-1}b=Be(0);break a}j[e+4>>2]=f;j[e+12>>2]=0;j[e>>2]=b;b=j[c>>2];b:{if(!b){break b}while(1){if(cf(a,j[b+8>>2])){b=j[b+16>>2];if(b){continue}break b}break}f=j[b+12>>2];h=f+1|0;if(h>>>0>>0){break b}i=Le(a)+16|0;b=i;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(!b){a=j[e+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(e){qe[j[57975]](e);j[57976]=j[57976]-1}Be(0);b=-1;break a}j[g>>2]=a;j[g+4>>2]=f+2;Ue(b,i,64808,g);j[e+4>>2]=b;j[e+12>>2]=h}j[e+16>>2]=j[c>>2];j[c>>2]=e;b=j[d>>2];j[d>>2]=b+1}oe=g+16|0;return b}function uh(a){var b=0,c=0,d=0;d=l[a+298>>1];a:{if((d|0)==16384){b=i[a+294>>1];j[a+564>>2]=b;c=b;break a}c=i[a+300>>1];if((c|0)==16384){b=i[a+296>>1];j[a+564>>2]=b;c=l[a+294>>1];break a}b=p(c,i[a+296>>1]);c=i[a+294>>1];b=b+p(c,d<<16>>16)>>14;j[a+564>>2]=b}b:{if((c&65535)==16384){j[a+572>>2]=945;break b}if(l[a+296>>1]==16384){j[a+572>>2]=946;break b}j[a+572>>2]=947}c:{if(l[a+290>>1]==16384){j[a+576>>2]=945;break c}if(l[a+292>>1]==16384){j[a+576>>2]=946;break c}j[a+576>>2]=948}j[a+588>>2]=949;j[a+584>>2]=950;d:{if((b|0)!=16384){break d}if((d|0)==16384){j[a+588>>2]=951;j[a+584>>2]=952;break d}if(l[a+300>>1]!=16384){break d}j[a+588>>2]=953;j[a+584>>2]=954}c=b>>31;if((c+b^c)<=1023){j[a+564>>2]=16384}j[a+256>>2]=0}function gz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=q(0),h=q(0),i=q(0);f=lh(a,d<<3,b+4|0);if(!f){return-1}j[b+8>>2]=d;b=j[a+216>>2];if(!(b|j[a+220>>2])){if((d|0)>0){a=0;while(1){b=f;g=n[c>>2];a:{if(q(r(g))>2]=e;b=f;g=n[c+4>>2];b:{if(q(r(g))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 0}if((d|0)<1){return 0}g=q(j[a+220>>2]);i=q(b|0);a=0;while(1){b=f;h=q(n[c>>2]+i);c:{if(q(r(h))>2]=e;b=f;h=q(n[c+4>>2]+g);d:{if(q(r(h))>2]=e;c=c+8|0;f=f+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}function QH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(j[b>>2]>=2){df(c,1,1);df(c,j[b>>2]-1|0,4);break a}df(c,0,1)}b:{if(j[b+1156>>2]>=1){df(c,1,1);df(c,j[b+1156>>2]-1|0,8);if(j[b+1156>>2]<1){break b}g=b+2184|0;h=b+1160|0;while(1){f=d<<2;e=j[a+4>>2]-1|0;df(c,j[f+h>>2],e?32-s(e)|0:0);e=j[a+4>>2]-1|0;df(c,j[f+g>>2],e?32-s(e)|0:0);d=d+1|0;if((d|0)>2]){continue}break}break b}df(c,0,1)}df(c,0,2);e=j[b>>2];c:{d:{if((e|0)>=2){if(j[a+4>>2]<1){break d}e=b+4|0;d=0;while(1){df(c,j[e+(d<<2)>>2],4);d=d+1|0;if((d|0)>2]){continue}break}e=j[b>>2]}if((e|0)<1){break c}}f=b+1092|0;e=b+1028|0;d=0;while(1){df(c,0,8);a=d<<2;df(c,j[a+e>>2],8);df(c,j[a+f>>2],8);d=d+1|0;if((d|0)>2]){continue}break}}}function TK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(j[a+4>>2]){break a}d=6;b:{if(j[a+12>>2]!=1){break b}g=j[a>>2];c=j[a+28>>2];if(c){j[(j[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=j[a+32>>2];c:{if(h>>>0<=d>>>0){f=j[a+36>>2];break c}j[e+8>>2]=0;i=c+8&-8;f=xe(g,16,d,i,j[a+36>>2],e+8|0);j[a+36>>2]=f;d=j[e+8>>2];if(d){break b}j[a+32>>2]=i}c=(c<<4)+f|0;j[c+12>>2]=0;j[c>>2]=0;j[a+28>>2]=h;c=j[a- -64>>2];if(c){j[(j[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=j[a+68>>2];d:{if(f>>>0<=b>>>0){b=j[a+72>>2];break d}j[e+12>>2]=0;d=g;g=c+8&-8;b=xe(d,16,b,g,j[a+72>>2],e+12|0);j[a+72>>2]=b;d=j[e+12>>2];if(d){break b}j[a+68>>2]=g}b=(c<<4)+b|0;j[b+12>>2]=0;j[b>>2]=0;j[a+64>>2]=f;break a}j[a+4>>2]=d}oe=e+16|0}function oh(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+372>>2]+1|0;j[a+372>>2]=b;a:{if(b>>>0>2]){break a}if(k[a+432|0]){j[a+372>>2]=0;Ee(j[a+380>>2],0,j[a+364>>2]+1|0);b=k[a+433|0];b:{while(1){b=b+1|0;c=b&255;if(c>>>0>6){break b}d=k[c+212385|0];f=(d+j[a+348>>2]|0)+(k[c+212378|0]^-1)|0;j[a+368>>2]=(f>>>0)/(d>>>0);if(!(k[a+216|0]&2)){e=k[c+212371|0];c=(e+j[a+352>>2]|0)+(k[c+212364|0]^-1)|0;j[a+356>>2]=(c>>>0)/(e>>>0);if(c>>>0>>0|d>>>0>f>>>0){continue}}break}h[a+433|0]=b;return}h[a+433|0]=b}c:{if(k[a+212|0]&8){break c}Mp(a,0,0);j[a+236>>2]=0;b=j[a+212>>2];if(b&8){break c}j[a+212>>2]=b|8;j[a+208>>2]=j[a+208>>2]|8}if(j[a+220>>2]!=1229209940){break a}j[a+220>>2]=0;j[a+224>>2]=0;j[a+228>>2]=0;Ie(a,j[a+408>>2])}}function Qz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;e=oe-16|0;oe=e;a:{if(!a){ve(86100,0);break a}i=219;b:{c:{d:{e:{f=j[a+4>>2];switch(k[f+9|0]-1|0){case 1:break b;case 0:break d;case 3:break e;default:break c}}i=220;break b}i=221;if(k[f+8|0]>=8){break b}}ve(86149,0);break a}if((c|0)>=2){n=a+36|0;f=1;while(1){g=(f<<3)+b|0;h=g-8|0;j[e+12>>2]=j[h>>2];j[e+8>>2]=j[h+4>>2];j[e+4>>2]=j[g>>2];j[e>>2]=j[g+4>>2];if(zn(n,e+12|0,e+8|0,e+4|0,e)){h=1;l=j[e>>2];m=j[e+4>>2];h=(m|0)==j[g>>2]?j[g+4>>2]!=(l|0):h;qe[i|0](a,j[e+12>>2],j[e+8>>2],m,l,d,h)}f=f+1|0;if((f|0)!=(c|0)){continue}break}}c=(c-1<<3)+b|0;g=j[c>>2];f:{if((g|0)!=j[b>>2]){f=j[c+4>>2];break f}f=j[c+4>>2];if((f|0)==j[b+4>>2]){break a}}Yz(a,g,f,d)}oe=e+16|0}function oO(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,i=0;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+18|0,b+12|0);g=j[b+12>>2];if(!g){i=Ae(f,c,a);c=i+a|0;a=k[116587]|k[116588]<<8;h[c+16|0]=a;h[c+17|0]=a>>>8;a=k[116583]|k[116584]<<8|(k[116585]<<16|k[116586]<<24);f=k[116579]|k[116580]<<8|(k[116581]<<16|k[116582]<<24);h[c+8|0]=f;h[c+9|0]=f>>>8;h[c+10|0]=f>>>16;h[c+11|0]=f>>>24;h[c+12|0]=a;h[c+13|0]=a>>>8;h[c+14|0]=a>>>16;h[c+15|0]=a>>>24;a=k[116575]|k[116576]<<8|(k[116577]<<16|k[116578]<<24);f=k[116571]|k[116572]<<8|(k[116573]<<16|k[116574]<<24);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;h[c+4|0]=a;h[c+5|0]=a>>>8;h[c+6|0]=a>>>16;h[c+7|0]=a>>>24;j[d>>2]=i;j[e>>2]=0}oe=b+16|0;return g|0}function pp(a,b,c,d,e,f){var g=0;g=oe-80|0;oe=g;a:{if((f|0)>=16384){lf(g+32|0,b,c,d,e,0,0,0,2147352576);d=j[g+40>>2];e=j[g+44>>2];b=j[g+32>>2];c=j[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}lf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=j[g+24>>2];e=j[g+28>>2];b=j[g+16>>2];c=j[g+20>>2];break a}if((f|0)>-16383){break a}lf(g- -64|0,b,c,d,e,0,0,0,65536);d=j[g+72>>2];e=j[g+76>>2];b=j[g+64>>2];c=j[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}lf(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=j[g+56>>2];e=j[g+60>>2];b=j[g+48>>2];c=j[g+52>>2]}lf(g,b,c,d,e,0,0,0,f+16383<<16);b=j[g+12>>2];j[a+8>>2]=j[g+8>>2];j[a+12>>2]=b;b=j[g+4>>2];j[a>>2]=j[g>>2];j[a+4>>2]=b;oe=g+80|0}function UE(a,b,c){var d=0,e=0,f=0,g=0,i=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&2))){Ie(a,c);Je(a,211085);break a}f=3;e=8;if(k[a+435|0]!=3){f=k[a+439|0];e=k[a+436|0]}if(!((c|0)==(f|0)?c>>>0<=4:0)){Je(a,211064);Ie(a,c);break a}j[d+12>>2]=p(e,16843009);pf(a,d+12|0,c);tf(a,d+12|0,c);f=0;if(Ie(a,0)){break a}b:{if(!c){break b}while(1){if(e>>>0>(k[(d+12|0)+f|0]-1&255)>>>0){f=f+1|0;if((f|0)!=(c|0)){continue}break b}break}Je(a,211064);break a}e=k[d+12|0];i=a;c:{if(k[a+435|0]&2){c=k[d+13|0];f=k[d+14|0];g=d+12|3;break c}h[a+519|0]=e;c=e;f=c;g=d+12|1}h[i+520|0]=k[g|0];h[a+518|0]=f;h[a+517|0]=c;h[a+516|0]=e;QF(a,b,a+516|0)}oe=d+16|0;return}hf(a,211072);z()}function Fm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}g=6;a:{b:{if(!b){break b}e=j[b+4>>2];if((e|0)<0){break b}f=j[b+8>>2];if((f|0)<0){break b}d=j[b>>2];if(d>>>0>4){break b}i=j[j[a+96>>2]+12>>2];c=j[i+88>>2];if(c){break a}c:{if((j[a+8>>2]&3)==2){g=7;if(d){break b}d=e;c=j[b+12>>2];if(c){d=(p(c,e)+36|0)/72|0}c=f;b=j[b+16>>2];if(b){c=(p(b,f)+36|0)/72|0}g=23;h=j[a+28>>2];if((h|0)<1){break b}b=f?c:d;c=(e?b:c)+32|0;e=(e?d:b)+32|0;f=j[a+32>>2];b=0;while(1){d=f+(b<<4)|0;if(!((e^j[d+8>>2]+32)>>>0<64?(j[d+12>>2]+32^c)>>>0<=63:0)){b=b+1|0;if((h|0)!=(b|0)){continue}break b}break}g=6;if((b|0)>=(h|0)){break b}c=j[i+92>>2];if(c){break a}Dg(a,b);break c}Ei(a,b)}g=0}return g}return qe[c|0](j[a+88>>2],b)|0}function eK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=j[b>>2]+1|0;if(d>>>0<=65535){a=j[a+16>>2];g=a+518|0;h=a+6|0;while(1){a=d>>>8|0;a:{b:{if(!a){c=(d<<1&510)+h|0;a=g;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}a=(a<<1)+h|0;a=k[a|0]<<8|k[a+1|0]&248;if(!a){break a}a=a+g|0}f=k[a+7|0]|k[a+6|0]<<8;if(!f){break a}e=k[a+1|0]|k[a|0]<<8;c=d&255;d=(d&-256)+(c>>>0>>0?e:c)|0;e=c-e|0;c=c>>>0>>0?0:e;e=k[a+3|0]|k[a+2|0]<<8;if(c>>>0>=e>>>0){break a}i=k[a+5|0]|k[a+4|0]<<8;a=a+6+(f+(c<<1))|0;while(1){c:{f=k[a+1|0]|k[a|0]<<8;if(!f){break c}f=f+i&65535;if(!f){break c}j[b>>2]=d;return f|0}a=a+2|0;d=d+1|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}d=d+256&-256;if(d>>>0<65536){continue}break}}j[b>>2]=0;return 0}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(p(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=b>>>16|0;d=a&65535;g=b&65535;h=a>>>16|0;i=p(f,d)+p(g,h)|0;b=i<<16;d=b+p(d,g)|0;a=d+(c>>>1|0)|0;b=((p(f,h)+(i>>>16|0)|0)+(b>>>0>d>>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=s(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-p(c,e)|0;a=a<>>31;b=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;f=f-1|0;if(f){continue}break}}a=(j|0)<0?0-e|0:e}return a}function js(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=6;a:{b:{if(!a){break b}d=j[a+4>>2];if(!d){break b}f=j[a+72>>2];if((f|0)==1651078259){return 0}g=j[j[d+96>>2]+4>>2];c:{if((f|0)!=1869968492){e=7;if(!g){break b}c=j[g+148>>2];if(!c){break b}while(1){d=j[c+8>>2];if((f|0)==j[d+16>>2]){break c}c=j[c+4>>2];if(c){continue}break}break b}d=j[g+156>>2];if(!d){break a}c=j[g+148>>2]}e=0;f=qe[j[d+60>>2]](d,a,b,0)|0;if(!f){break b}i=g+148|0;d=f;while(1){d:{e:{if((d&255)!=19){break e}if(!g){return f}c=j[(c?c+4|0:i)>>2];if(!c){break e}e=j[a+72>>2];while(1){h=j[c+8>>2];if((e|0)==j[h+16>>2]){break d}c=j[c+4>>2];if(c){continue}break}}e=d;break b}e=0;d=qe[j[h+60>>2]](h,a,b,0)|0;if(d){continue}break}}return e}return 7}function fr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;h=j[b>>2];f=j[b+8>>2];e=j[a>>2];if(e){b=j[a+8>>2];c=e;while(1){j[b+24>>2]=-1;j[b+16>>2]=j[b+16>>2]&-5;b=b+28|0;c=c-1|0;if(c){continue}break}}if(!h){j[a+4>>2]=0;return}b=0;c=0;while(1){if(!b){i=k[f|0];f=f+1|0;b=128}a:{if(!(b&i)){break a}d=j[a+8>>2]+p(c,28)|0;l=j[d+16>>2];if(l&4){break a}j[d+16>>2]=l|4;if(e>>>0<=g>>>0){break a}j[j[a+12>>2]+(g<<2)>>2]=d;g=g+1|0}b=b>>1;c=c+1|0;if((h|0)!=(c|0)){continue}break}j[a+4>>2]=g;if((g|0)>=2){e=j[a+12>>2];a=1;while(1){f=j[e+(a<<2)>>2];h=j[f>>2];b=a;while(1){c=b-1|0;d=e+(c<<2)|0;i=j[d>>2];if((h|0)<=j[i>>2]){j[e+(b<<2)>>2]=i;j[d>>2]=f;d=(b|0)>1;b=c;if(d){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function jB(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0;f=oe+ -64|0;oe=f;a:{if(!a){ve(71857,0);break a}d=qe[j[a>>2]](a)|0;c=d+1|0;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}if(!c){qe[j[a+16>>2]](a)|0;ve(71871,0);break a}if((qe[j[a+8>>2]](a,c,d,1)|0)!=1){qe[j[a+16>>2]](a)|0;if(c){qe[j[57975]](c);j[57976]=j[57976]-1}ve(71919,0);break a}qe[j[a+16>>2]](a)|0;g=c+d|0;h[g|0]=0;if((d|0)>=1){a=c;while(1){d=g;b=xg(a,10);if(b){h[b|0]=0;d=b}b=ih(a,71937);b:{if(!b){break b}b=Le(71937)+b|0;e=xg(b,44);if(!e){break b}e=e-b|0;if(e+2>>>0>63){break b}i=b;b=e+1|0;Re(f,i,b);if(Vk(f,63450,b)){break b}k=((Vi(a,1)|0)>0)+k|0}a=d+1|0;if(g>>>0>a>>>0){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}oe=f- -64|0}function _q(a,b){var c=0,d=0,e=0,f=0,g=0,i=0,j=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=h[a|0];a=0;e=52;b:{while(1){i=a+e|0;c=i&-2;c=(k[c+136194|0]<<8|k[c+136195|0])+136192|0;d=k[c|0];j=d&127;if((g|0)==(j|0)){break b}c=i>>1;d=(g|0)>(j|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){while(1){a=c+1|0;e=d<<24;d=k[c+1|0];g=h[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(k[a+1|0]|k[a|0]<<8)+136192|0;d=k[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|h[c+1|0]>-1){break a}return k[c+3|0]|k[c+2|0]<<8}return 0}function sp(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];return;case 1:b=j[c>>2];j[c>>2]=b+4;b=j[b>>2];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 2:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=j[b>>2];j[a+4>>2]=0;return;case 3:b=j[c>>2]+7&-8;j[c>>2]=b+8;c=j[b+4>>2];j[a>>2]=j[b>>2];j[a+4>>2]=c;return;case 4:b=j[c>>2];j[c>>2]=b+4;b=i[b>>1];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 5:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=l[b>>1];j[a+4>>2]=0;return;case 6:b=j[c>>2];j[c>>2]=b+4;b=h[b|0];j[a>>2]=b;j[a+4>>2]=b>>31;return;case 7:b=j[c>>2];j[c>>2]=b+4;j[a>>2]=k[b|0];j[a+4>>2]=0;return;case 8:b=j[c>>2]+7&-8;j[c>>2]=b+8;o[a>>3]=o[b>>3];return;case 9:break b;default:break a}}qe[d|0](a,c)}}function MI(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,m=0,n=0;f=oe-16|0;oe=f;a:{b:{h=l[(b?a+296|0:a+216|0)+34>>1];if(!h){break b}g=j[(b?788:784)+a>>2];b=g+j[(b?692:684)+a>>2]|0;a=j[a+104>>2];if(c>>>0>>0){h=b;b=g+(c<<2)|0;if(h>>>0>>0){break b}b=Fe(a,b);j[f+12>>2]=b;if(b){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}m=d,n=qf(a,f+12|0),i[m>>1]=n;if(!j[f+12>>2]){break a}break b}g=g+(h<<2)|0;if(g>>>0>b>>>0){break b}k=Fe(a,g-4|0);j[f+12>>2]=k;if(k){break b}m=e,n=qf(a,f+12|0),i[m>>1]=n;if(j[f+12>>2]){break b}c=g+(c-h<<1)|0;if(b>>>0>>0){i[d>>1]=0;break a}b=Fe(a,c);j[f+12>>2]=b;if(b){break a}m=d,n=qf(a,f+12|0),i[m>>1]=n;break a}i[d>>1]=0;i[e>>1]=0}oe=f+16|0}function Jv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function eH(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,i=0;f=oe-1520|0;oe=f;a:{b:{if(d&16){if(!c){break b}d=0;Ee(e,0,c<<2);break a}d=qe[j[j[j[a+488>>2]+12>>2]>>2]](f+8|0,a,0,0,j[a+420>>2],j[a+528>>2],0,0,974)|0;if(d){break a}h[f+76|0]=0;h[f+78|0]=1;j[f+1372>>2]=j[a+404>>2];j[f+1376>>2]=j[a+408>>2];j[f+1380>>2]=j[a+412>>2];j[f+1496>>2]=j[a+544>>2];j[f+1500>>2]=j[a+540>>2];d=0;if(!c){break a}a=0;while(1){i=(a<<2)+e|0;c:{if(!kk(f+8|0,a+b|0,f+1512|0)){d=j[j[j[f+12>>2]+128>>2]+48>>2];if(d){qe[j[j[d>>2]+4>>2]](j[d+4>>2],f+1512|0)}d=j[f+48>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}d=g>>16;break c}d=0}j[i>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}oe=f+1520|0;return d|0}function zO(a,b,c,d){var e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=6;a:{if(!a|!d){break a}j[d>>2]=0;j[d+4>>2]=0;j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}f=10;if(b>>>0>32767){break a}g=d,h=xe(a,8,0,b,0,e+12|0),j[g+4>>2]=h;b:{if(j[e+12>>2]){break b}g=d,h=xe(a,1,0,b,0,e+12|0),j[g+8>>2]=h;if(j[e+12>>2]){break b}f=0;g=d,h=xe(a,2,0,c,0,e+12|0),j[g+12>>2]=h;if(j[e+12>>2]){break b}i[d>>1]=c;i[d+2>>1]=b;j[d+16>>2]=j[d+16>>2]|1;break a}j[d+16>>2]=j[d+16>>2]|1;b=j[d+4>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+4>>2]=0;b=j[d+8>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+8>>2]=0;b=j[d+12>>2];if(b){qe[j[a+8>>2]](a,b)}j[d+16>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;j[d>>2]=0;j[d+4>>2]=0;f=j[e+12>>2]}oe=e+16|0;return f}function aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&-16711936|d<<16&16711680|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function qN(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;f=oe-16|0;oe=f;c=j[a>>2];a:{if(k[c+8|0]&2){if(!(qe[j[j[c+532>>2]+104>>2]](c,b,f+12|0)|0)){Ir(a,j[f+12>>2]);break a}j[a+44>>2]=-1;c=j[a>>2]}Ei(c,b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);if(!b|!c){break a}b=j[b>>2];if(!b){break a}g=qe[b|0](c)|0;if(!g){break a}h=j[j[a>>2]+656>>2];c=j[h+1392>>2];i=j[a+40>>2];qe[j[g+4>>2]](j[i>>2],j[a+16>>2],j[a+20>>2],0,0);e=j[h+1896>>2];if(!e){break a}while(1){b=j[a+16>>2];e=e-1|0;l=e<<2;d=j[j[(l+h|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){b=Ne(b,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[g+4>>2]](j[(i+l|0)+4>>2],b,d,0,0);if(e){continue}break}}oe=f+16|0;return 0}function ks(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}g=j[a+4>>2];b=j[g+84>>2];if(!b){break a}d=j[g+96>>2];e=j[d+8>>2];if((a|0)!=(b|0)){while(1){f=j[b+8>>2];if(!f){break a}c=b;b=f;if((b|0)!=(a|0)){continue}break}}j[(c?c+8|0:g+84|0)>>2]=j[a+8>>2];c=e;b=j[a+20>>2];if(b){qe[b|0](a);d=j[j[a+4>>2]+96>>2];c=j[d+8>>2]}b=j[j[d+12>>2]+68>>2];if(b){qe[b|0](a)}b=j[a+156>>2];if(!b){j[a+88>>2]=0;if(a){qe[j[e+8>>2]](e,a)}return}b:{if(h[b+4|0]&1){f=j[j[a+4>>2]+100>>2];b=j[a+88>>2];if(b){qe[j[f+8>>2]](f,b)}j[a+88>>2]=0;b=j[a+156>>2];j[b+4>>2]=j[b+4>>2]&-2;break b}j[a+88>>2]=0}if(!(k[j[d>>2]+1|0]&2)){ps(j[b>>2]);b=j[a+156>>2];j[b>>2]=0}if(b){qe[j[c+8>>2]](c,b)}j[a+156>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function co(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;a:{b:{switch(d-1|0){case 0:d=h^255;a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=((p(d,c&255)>>>0)/255|0)+g|0;f=((p(d,c>>>8&255)>>>0)/255|0)+f|0;g=((p(d,c>>>16&255)>>>0)/255|0)+e<<16;break a;case 1:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(c&255)+g|0;b=b>>>0<255?b:255;d=(c>>>8&255)+f|0;f=d>>>0<255?d:255;c=(c>>>16&255)+e|0;g=(c>>>0<255?c:255)<<16;break a;case 3:a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;c=j[a>>2];b=(p(c&255,g)>>>0)/255|0;f=(p(c>>>8&255,f)>>>0)/255|0;g=(p(c>>>16&255,e)>>>0)/255<<16;break a;default:break b}}a=(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)|0;b=e<<16}j[a>>2]=f<<8|b|g;return 0}function om(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=j[a+52>>2];c=k[a+32|0];a:{b:{c:{if(c){break c}b=j[a+24>>2];if(b>>>0>=m[a+28>>2]){break c}if(m[a+56>>2]>2]){break b}}if(m[a+56>>2]>=m[a+60>>2]){d=d+1|0;j[a+52>>2]=d;b=a;if(m[a+40>>2]>d>>>0){e=(1<>2]+1|0}j[b+60>>2]=e}if(c){j[a+60>>2]=256;j[a+52>>2]=9;h[a+32|0]=0;d=9}e=-1;if(j[a+4>>2]){break a}b=0;c=Dm(j[a+164>>2],a+8|0,d);j[a+24>>2]=0;j[a+36>>2]=c+j[a+36>>2];f=j[a+52>>2];j[a+4>>2]=f>>>0>c>>>0;j[a+28>>2]=(c<<3|1)-f;if(!c){break a}}j[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=k[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a-8|0;e=k[c+1|0]<>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d&65280|d<<16|d>>>16&255|-16777216;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function Ee(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;h[d-1|0]=b;h[a|0]=b;if(c>>>0<3){break a}h[d-2|0]=b;h[a+1|0]=b;h[d-3|0]=b;h[a+2|0]=b;if(c>>>0<7){break a}h[d-4|0]=b;h[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=p(b&255,16843009);j[e>>2]=b;c=c-d&-4;d=c+e|0;j[d-4>>2]=b;if(c>>>0<9){break a}j[e+8>>2]=b;j[e+4>>2]=b;j[d-8>>2]=b;j[d-12>>2]=b;if(c>>>0<25){break a}j[e+24>>2]=b;j[e+20>>2]=b;j[e+16>>2]=b;j[e+12>>2]=b;j[d-16>>2]=b;j[d-20>>2]=b;j[d-24>>2]=b;j[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){j[b+24>>2]=f;j[b+28>>2]=d;j[b+16>>2]=f;j[b+20>>2]=d;j[b+8>>2]=f;j[b+12>>2]=d;j[b>>2]=f;j[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function kz(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;g=g|0;h=h|0;var i=q(0),k=0;c=lh(a,56,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){k=c;i=q(n[e>>2]+q(d|0));b:{if(q(r(i))>2]=d;i=q(n[e+4>>2]+q(a|0));break a}a=c;i=n[e>>2];c:{if(q(r(i))>2]=d;i=n[e+4>>2]}d:{if(q(r(i))>2]=a;a=c;i=n[e+8>>2];e:{if(q(r(i))>2]=b;i=n[e+12>>2];o[c+32>>3]=f;a=c;if(q(r(i))>2]=b;Ge(c+40|0,g,8);j[c+48>>2]=h;return 0}function Ej(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d<<16&16711680|d&65280|d>>>16&255;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function An(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;if(c){a:{f=j[a>>2];if((f|0)>j[b>>2]){break a}if((a|0)!=(b|0)){if(wf(j[a+4>>2],j[b+4>>2],f<<2)){break a}}j[c>>2]=1;return 0}j[c>>2]=0}c=j[a>>2];f=qe[j[57972]](c?c:1)|0;if(f){j[57976]=j[57976]+1}if(f){if(j[a>>2]>=1){while(1){l=0;m=j[b>>2];if((m|0)>=1){c=j[a+4>>2]+(g<<2)|0;o=k[c+3|0];q=k[c+2|0];r=k[c+1|0];s=k[c|0];t=j[b+4>>2];n=-1;c=0;while(1){b:{d=(c<<2)+t|0;e=k[d+1|0]-r|0;i=p(e,e);e=k[d|0]-s|0;i=i+p(e,e)|0;e=k[d+2|0]-q|0;d=k[d+3|0]-o|0;d=(i+p(e,e)|0)+p(d,d)|0;if(d>>>0>>0){l=c;n=d;if(!d){break b}}c=c+1|0;if((m|0)!=(c|0)){continue}}break}}h[f+g|0]=l;g=g+1|0;if((g|0)>2]){continue}break}}return f}Be(0);return 0}function En(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;f=j[a+24>>2];l=(j[a+4>>2]<<16)/(f|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){g=j[a+20>>2];c=g;while(1){if((e|0)>=65536){d=(e-((e|0)<131071?e:131071)|0)+65535|0;e=(e-(d&-65536)|0)-65536|0;i=((d>>>16|0)+i|0)+1|0}if(f){b=65536;h=-1;k=0;while(1){f=f-1|0;if((b|0)>=65536){d=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((d>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(d&-65536)|0)-65536|0}d=j[k>>2];j[c>>2]=d>>>8&65280|d>>>24|d<<8&16711680;c=c+4|0;b=b+l|0;if(f){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;g=j[a+32>>2]+g|0;if(b){e=e+m|0;f=j[a+24>>2];b=c;c=g;continue}break}j[a+20>>2]=g}}function xk(a){var b=0,c=0;a:{if(!a){break a}c=j[a>>2];if(!c){break a}j[a+44>>2]=0;j[a+48>>2]=0;b=j[a+52>>2];if((b|0)!=(a+72|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+52>>2]=0}j[a+56>>2]=0;j[a+60>>2]=0;b=j[a- -64>>2];if((b|0)!=(a+936|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+64>>2]=0}b=a+1512|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1520>>2];if((b|0)!=(a+1540|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1520>>2]=0}b=a+1524|0;j[b>>2]=0;j[b+4>>2]=0;b=j[a+1532>>2];if((b|0)!=(a+2404|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+1532>>2]=0}b=j[a+40>>2];if((b|0)!=(a+3e3|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0;b=j[a+28>>2];if((b|0)!=(a+3032|0)){if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0}j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0}}function hh(a,b,c,d,e,f,g){var h=0,i=0,l=0,m=0,n=0;l=j[(k[a+30|0]<<2)+234976>>2]+((j[a+20>>2]&67305985)>>>k[a+34|0]|0)|0;m=j[(k[a+29|0]<<2)+234976>>2]+((j[a+16>>2]&67305985)>>>k[a+33|0]|0)|0;n=j[(k[a+28|0]<<2)+234976>>2]+((j[a+12>>2]&67305985)>>>k[a+32|0]|0)|0;i=j[a+24>>2];h=0;a:{if(!i){break a}h=k[j[(k[a+31|0]<<2)+234976>>2]+((i&67305985)>>>k[a+35|0]|0)|0]}a=k[m|0]>>>k[b+29|0]<>>k[b+28|0]<>>k[b+30|0]<>2]|!i?a:h>>>k[b+31|0]<>>24|0;i=a>>>16&255;l=a>>>8&255;a=a&255;b:{if(!a){a=1;h=0;break b}if(!l){h=1;l=1;break b}if(!i){i=1;h=2;break b}h=b?0:3;b=b?b:1}j[c>>2]=a-1;j[d>>2]=l-1;j[e>>2]=i-1;j[f>>2]=b-1;if(g){j[g>>2]=h}}function LN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,k=0,n=0,o=0;d=j[b>>2];if(m[d+16>>2]>c>>>0){b=j[d+140>>2];f=l[b+278662>>1];e=j[b+56>>2];if(c){b=c-1|0}else{b=j[d+164>>2]}b=e+p(b,36)|0;g=l[b+10>>1];c=i[b+20>>1];e=i[b+16>>1];k=j[b+24>>2];n=l[b+14>>1];o=l[b+12>>1];j[a+84>>2]=j[b+28>>2];j[a+80>>2]=o;j[a+76>>2]=n;ms(a,k);a:{b:{switch(f-1|0){case 0:h[a+94|0]=1;break a;case 1:h[a+94|0]=3;break a;case 3:h[a+94|0]=4;break a;case 7:break b;default:break a}}i[a+92>>1]=256;h[a+94|0]=2}j[a+104>>2]=c;j[a+100>>2]=e;j[a+72>>2]=1651078259;j[a+40>>2]=g<<6;j[a+36>>2]=c<<6;j[a+32>>2]=e<<6;j[a+24>>2]=j[a+80>>2]<<6;j[a+28>>2]=j[a+76>>2]<<6;Fi(a+24|0,l[j[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function HN(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;l=6;g=j[a+140>>2];a:{if(!g|!b|!j[g+72>>2]){break a}h=k[b|0];if(!h){break a}f=j[g+128>>2];i=j[f+12>>2];a=h;d=b;while(1){e=p(e,31)+(a<<24>>24)|0;a=k[d+1|0];d=d+1|0;if(a){continue}break}a=e;e=j[f+4>>2];d=((a>>>0)%(e>>>0)<<2)+i|0;a=j[d>>2];if(!a){break a}e=((e<<2)+i|0)-4|0;while(1){b:{f=j[a>>2];if(k[f|0]==(h|0)){if(!we(f,b)){break b}}a=d-4|0;d=a>>>0>>0?e:a;a=j[d>>2];if(a){continue}break a}break}b=j[g+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(j[a+4>>2]<<4)|0;switch(j[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}j[c>>2]=1;break c}j[c>>2]=2;break c}j[c>>2]=3}j[c+4>>2]=j[a+12>>2];l=0}return l|0}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),l=q(0),m=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=p(c,3);g=c>>>3|0;if(g){f=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=f+c|0;d=c+e|0;while(1){c=f-8|0;i=n[c>>2];l=n[f-4>>2];n[d-4>>2]=l;n[d-8>>2]=i;j[d-12>>2]=0;m=q(q(i+l)*q(.5));n[d-16>>2]=m;n[d-20>>2]=l+q(l-m);d=d-24|0;n[d>>2]=i+q(i-m);f=c;g=g-1|0;if(g){continue}break}}h[a+24|0]=e;h[a+25|0]=e>>>8;h[a+26|0]=e>>>16;h[a+27|0]=e>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function bC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=32767;a:{if(c>=q(1)){break a}d=32768;if(c<=q(-1)){break a}c=q(c*q(32767));if(q(r(c))>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32784)}}function Gm(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;i=oe-32|0;oe=i;k=j[a>>2];a:{if(!b){g=6;if(b){qe[j[k+8>>2]](k,b)}break a}h=He(k,40,i);b:{g=j[i>>2];if(!g){j[h+32>>2]=0;j[h+8>>2]=0;j[h+4>>2]=c;j[h>>2]=b;j[h+20>>2]=0;j[h+24>>2]=0;j[h+24>>2]=583;g=j[i>>2];if(!g){break b}}if(b){qe[j[k+8>>2]](k,b)}break a}j[i+16>>2]=h;j[i>>2]=2;if(e){j[i>>2]=10;b=j[a+16>>2];c:{if((b|0)<1){g=0;break c}c=((b<<2)+a|0)+20|0;b=a+20|0;while(1){g=j[b>>2];if(!we(j[j[g>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}g=0}j[i+20>>2]=g}g=Jm(a,i,d,f);if(!g){a=j[f>>2];j[a+8>>2]=j[a+8>>2]&-1025;g=0;break a}d:{if(!h){break d}a=j[h+24>>2];if(!a){break d}qe[a|0](h)}if(h){qe[j[k+8>>2]](k,h)}}oe=i+32|0;return g}function aC(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=0,f=0,g=0,j=0;g=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);e=g>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=b;while(1){j=f;c=n[b>>2];d=65535;a:{if(c>=q(1)){break a}d=0;if(c<=q(-1)){break a}c=q(q(c+q(1))*q(32767));if(c=q(0)){d=~~c>>>0;break a}d=0}i[j>>1]=d;f=f+2|0;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(g|0)/2|0;h[a+24|0]=b;h[a+25|0]=b>>>8;h[a+26|0]=b>>>16;h[a+27|0]=b>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,16)}}function yz(a){var b=0,c=0;if(!a){ve(86369,0);return 0}b=Xe(1,440);if(!b){Be(0);return 0}c=Xe(1,8);if(!c){a=j[b+436>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Be(0);return 0}j[c+4>>2]=a;j[c>>2]=a;j[b+68>>2]=235;j[b+64>>2]=236;j[b+60>>2]=237;j[b+52>>2]=238;j[b+16>>2]=239;j[b+8>>2]=240;j[b+4>>2]=241;j[b+84>>2]=242;j[b+80>>2]=243;j[b+76>>2]=244;j[b+72>>2]=245;j[b+48>>2]=246;j[b+44>>2]=247;j[b+40>>2]=248;j[b+36>>2]=249;j[b+32>>2]=250;j[b+28>>2]=250;j[b+24>>2]=251;j[b+20>>2]=251;Ae(b+104|0,231804,84);j[b+436>>2]=c;a:{if(j[c>>2]){break a}a=j[c+4>>2];j[c>>2]=a;if(a){break a}a=tj(j[b+188>>2]);if(!a){break a}j[c>>2]=a;j[c+4>>2]=a}return b}function Om(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=j[(c?16:12)+b>>2];b=j[(c?8:4)+b>>2];f=p(c,1572)+a|0;g=f+1608|0;a:{if(j[f+1612>>2]==(h|0)?(b|0)==j[g>>2]:0){break a}j[g>>2]=b;j[f+48>>2]=h;j[f+44>>2]=b;j[f+1612>>2]=h;if(!j[f+260>>2]){break a}g=0;i=p(c,1572)+a|0;while(1){a=p(g,28)+i|0;c=a;d=ye(j[a+264>>2],b)+h|0;j[a+272>>2]=d;j[a+268>>2]=d;d=ye(j[a+276>>2],b)+h|0;j[a+284>>2]=d;j[a+280>>2]=d;j[a+288>>2]=j[a+288>>2]&-2;if(ye(j[a+264>>2]-j[a+276>>2]|0,b)+48>>>0<=96){d=j[a+268>>2]+32&-64;j[c+272>>2]=d;d=De(d,b)-j[a+276>>2]|0;e=d>>31;e=ye(e^d+e,b);e=(e|0)<32?0:e+32&-64;j[a+284>>2]=((d|0)<0?e:0-e|0)+j[c+272>>2];j[a+288>>2]=j[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function AC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(n[c>>2]+g)/q(1.5);n[d+4>>2]=q(g+n[c+4>>2])/q(1.5);n[d+8>>2]=n[c+16>>2]/q(1.5);n[d+12>>2]=n[c+20>>2]/q(1.5);d=d+16|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/6<<2;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function $i(a){var b=0,c=0,d=0;j[65586]=0;bn();a=a>>>4&512|a;b=a&544?a|16384:a;if(b&16384){a=k[262318];if(!a){Ig(66627,170,0);YB();DB();a=k[262318]}h[262318]=a+1}if(b&1){a=k[262304];if(!a){a=k[262304]}h[262304]=a+1}a:{if(b&32){a=k[262309];if(!a){if((tn()|0)<0){break a}a=k[262309]}h[262309]=a+1}if(b&16){a=k[262308];if(!a){if((PC()|0)<0){break a}a=k[262308]}h[262308]=a+1}if(b&512){a=k[262313];if(!a){if((XA()|0)<0){break a}a=k[262313]}h[262313]=a+1}if(b&8192){a=k[262317];if(!a){if((dB()|0)<0){break a}a=k[262317]}h[262317]=a+1}if(b&4096){return ve(63399,0)}if(b&32768){a=k[262319];if(!a){if(!j[67077]){c=268308,d=Ki(),j[c>>2]=d}$i(16384);break a}h[262319]=a+1}return 0}return-1}function MF(a,b,c){var d=0,e=0,f=0,g=0,i=0;g=1;a:{if(!(!b|(!c|!a))){d=Gl(a,j[b+236>>2],j[b+240>>2],1,20);if(!d){Of(a,207590,1);return}Ke(a,j[b+236>>2]);j[b+236>>2]=d;j[b+232>>2]=j[b+232>>2]|512;f=d+p(j[b+240>>2],20)|0;while(1){d=j[c>>2];h[f+4|0]=0;j[f>>2]=d;e=k[c+16|0]&11;if(!e){if(k[a+209|0]&128){break a}cq(a,207643);e=j[a+208>>2]&11;if(!e){break a}}while(1){d=e;i=0-d&d;e=d^i;if((d|0)!=(i|0)){continue}break}h[f+16|0]=d;d=j[c+12>>2];b:{c:{if(!d){e=0;j[f+8>>2]=0;break c}d=ag(a,d);j[f+8>>2]=d;if(!d){Of(a,207614,1);break b}e=j[c+12>>2];Ae(d,j[c+8>>2],e)}j[f+12>>2]=e;j[b+240>>2]=j[b+240>>2]+1;f=f+20|0}c=c+20|0;d=(g|0)>1;g=g-1|0;if(d){continue}break}}return}Ye(a,207695);z()}function rN(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,m=0;g=oe-16|0;oe=g;h=j[a+84>>2];a:{b:{c:{if(!(k[a+8|0]&8)){break c}if(d&16){if(!k[a+292|0]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,1,b+f|0,g+14|0,g+12|0);j[(f<<2)+e>>2]=l[g+12>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!l[a+250>>1]){break c}if(!c){break b}while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+f|0,g+14|0,g+10|0);j[(f<<2)+e>>2]=l[g+10>>1];f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}if(!c){break b}i=d|256;m=(d&16?60:56)+h|0;while(1){d=Lr(h,j[a+88>>2],b+f|0,i);if(d){break a}j[(f<<2)+e>>2]=j[m>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}d=0}oe=g+16|0;return d|0}function Hq(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0;b=j[a+28>>2];a:{if((b|0)==-1){break a}e=j[a+36>>2];g=j[a+40>>2];if(e>>>0>=g>>>0){break a}d=b+1|0;i=j[a+16>>2]+20|0;while(1){b=p(e,12)+i|0;c=b-4|0;c=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0<=c>>>0){b=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);b=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))-f|0;while(1){f=b+d|0;if(f){j[a+36>>2]=e;j[a+32>>2]=f;j[a+28>>2]=d;return}d=d+1|0;if(c>>>0>=d>>>0){continue}break}}e=e+1|0;if(g>>>0>e>>>0){continue}break}}h[a+24|0]=0}function mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]|-16777216;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Qu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;a:{if(!a){j[e>>2]=99203;a=ve(98171,e);break a}if(j[a+16>>2]<=-1){a=ve(99218,0);break a}d=j[66371];b:{if(!d){break b}c=j[67085];if(!c){ve(99429,0);break b}if(j[d>>2]!=(c+316|0)){ve(98129,0);break b}g=(k[d+49|0]&64)>>>6|0}h=j[67035];fl(0);gl(0);i=Bo(1);Eo();c=j[67085];c:{d:{if(!c){break d}f=j[c+280>>2];if(!f){break d}a=qe[f|0](c,a,b?b:e+12|0)|0;if((a|0)!=-1){break c}}ve(99244,0);a=-1}e:{if(!d){break e}b=j[67085];f:{if(!b){ve(99429,0);break f}if(j[d>>2]!=(b+316|0)){ve(98129,0);break f}if(!(k[d+48|0]&4)){break f}c=j[b+92>>2];if(!c){break f}qe[c|0](b,d)}if(!g){break e}fl(1)}Bo(i);gl(h)}oe=e+16|0;return a}function ak(a,b,c,d,e,f,g){var h=0,i=0,k=0,l=0,m=0;h=oe-240|0;oe=h;i=j[d>>2];j[h+232>>2]=i;d=j[d+4>>2];j[h>>2]=a;j[h+236>>2]=d;k=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,a)|0)<1){break d}m=0-b|0;l=!f;while(1){e:{d=i;if(!(!l|(e|0)<2)){f=j[((e<<2)+g|0)-8>>2];i=a+m|0;if((qe[c|0](i,d)|0)>-1){break e}if((qe[c|0](i-f|0,d)|0)>-1){break e}}j[(k<<2)+h>>2]=d;f=h+232|0;a=gP(j[h+232>>2]-1|0);if(!a){a=gP(j[h+236>>2]);a=a?a+32|0:0}bk(f,a);k=k+1|0;e=a+e|0;if(j[h+236>>2]?0:j[h+232>>2]==1){break b}f=0;l=1;a=d;i=a-j[(e<<2)+g>>2]|0;if((qe[c|0](i,j[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}jp(b,h,k);tl(d,b,c,e,g)}oe=h+240|0}function Hn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]&16777215;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function gn(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;g=(b+1|0)/2|0;h=(a+1|0)/2|0;a=p(b,d)+c|0;c=p(b,f)+e|0;if((a|0)==(c|0)){c=qe[j[57972]](h?h:1)|0;if(c){j[57976]=j[57976]+1}if(!c){return Be(0)}d=(f+1|0)/2|0;if((b|0)>=1){b=(g|0)>1?g:1;f=p(d,g)+a|0;e=0;while(1){Ge(c,a,h);Ge(a,f,h);Ge(f,c,h);f=d+f|0;a=a+d|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}return 0}if((b|0)<1){return 0}e=(d+1|0)/2|0;k=(g|0)>1?g:1;i=(f+1|0)/2|0;f=p(i,g)+c|0;d=0;while(1){Ge(f,a,h);f=f+i|0;a=a+e|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}if((b|0)<1){return 0}b=(g|0)>1?g:1;f=0;while(1){Ge(c,a,h);c=c+i|0;a=a+e|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}return 0}function wy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0;f=j[a+24>>2];l=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;m=j[a+56>>2];n=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}i=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!i){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}o=a>>>7&1;if((o|0)!=(m|0)){h[b|0]=k[g+o|0]}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;a=0;d=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}i=a>>>7&1;if((i|0)!=(m|0)){h[b|0]=i}a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+n|0;c=c+l|0;if(e){continue}break}}}function Fn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2]>>>8;c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function Xu(a){var b=0,c=0,d=0,e=0;a:{if(!j[a+100>>2]){break a}b=j[67085];c=j[b+120>>2];if(!c){break a}qe[c|0](b,a,j[a+104>>2])|0}b=j[67085];c=j[b+312>>2];d=j[a+48>>2];b:{if(!(!(j[67035]|d&256)|!(d&512))){c:{if(!c|(a|0)==(c|0)){break c}j[c+48>>2]=j[c+48>>2]&-257;d=j[b+128>>2];if(!d){break c}qe[d|0](b,c,0);b=j[67085]}j[b+312>>2]=a;e=1;break b}if((a|0)!=(c|0)){break b}j[b+312>>2]=0}c=j[b+128>>2];if(c){qe[c|0](b,a,e)}d:{if(j[a+120>>2]|!(h[a+48|0]&1)){break d}if(!yg(99609,1)){break d}b=j[67085];if(!b){ve(99429,0);return}if(j[a>>2]!=(b+316|0)){ve(98129,0);return}if(!j[b+100>>2]|k[a+48|0]&64){break d}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break d}qe[c|0](b,a)}}function mm(a,b){var c=0,d=0,e=0,f=0,g=0;e=j[a>>2];if(e>>>0>>0){while(1){c=e+1|0;a:{b:{c:{d:{e:{f=k[e|0];switch(f-40|0){case 1:break c;case 0:break d;default:break e}}d=c;if((f|0)!=92){break a}if((b|0)==(c|0)){j[a>>2]=b;return 3}f:{f=k[c|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}d=c;if(b>>>0<=c>>>0){break a}e=0;d=c;if((f&248)!=48){break a}while(1){c=c+1|0;d=c;if(e>>>0>1){break a}d=c;if(b>>>0<=c>>>0){break a}e=e+1|0;if((k[c|0]&248)==48){continue}break}d=c;break a}g=g+1|0;d=c;break a}g=g-1|0;d=c;if(g){break a}j[a>>2]=c;return 0}d=e+2|0}e=d;if(e>>>0>>0){continue}break}}j[a>>2]=e;return 3}function Tk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;e=j[a+24>>2];l=(j[a+4>>2]<<16)/(e|0)|0;m=(j[a+8>>2]<<16)/(c|0)|0;if(c){f=j[a+20>>2];c=f;while(1){if((d|0)>=65536){g=(d-((d|0)<131071?d:131071)|0)+65535|0;d=(d-(g&-65536)|0)-65536|0;i=((g>>>16|0)+i|0)+1|0}if(e){b=65536;h=-1;k=0;while(1){e=e-1|0;if((b|0)>=65536){g=(b-((b|0)<131071?b:131071)|0)+65535|0;h=((g>>>16|0)+h|0)+1|0;k=(j[a>>2]+p(j[a+12>>2],i)|0)+(h<<2)|0;b=(b-(g&-65536)|0)-65536|0}j[c>>2]=j[k>>2];c=c+4|0;b=b+l|0;if(e){continue}break}b=j[a+28>>2]}c=b-1|0;j[a+28>>2]=c;f=j[a+32>>2]+f|0;if(b){d=d+m|0;e=j[a+24>>2];b=c;c=f;continue}break}j[a+20>>2]=f}}function vN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-208|0;oe=d;j[d+204>>2]=0;a:{b:{c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);c:{if(!b|!c){break c}b=j[b>>2];if(!b){break c}e=qe[b|0](c)|0;if(!e){break c}b=j[a>>2];f=j[b+656>>2];g=He(j[b+100>>2],1028,d+204|0);b=j[d+204>>2];if(b){break b}Mr(f+1324|0,d+8|0);b=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,g)|0;j[d+204>>2]=b;if(b){break b}i=g+4|0;b=j[f+1896>>2];d:{while(1){if(!b){break d}b=b-1|0;c=b<<2;Mr(j[(c+f|0)+1900>>2],d+8|0);c=qe[j[e>>2]](j[j[a>>2]+100>>2],d+8|0,c+i|0)|0;j[d+204>>2]=c;if(!c){continue}break}h=c;break a}j[a+40>>2]=g}j[a+44>>2]=-1;break a}h=b}oe=d+208|0;return h|0}function _M(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;e=j[a+656>>2];a:{b:{if(!e){break b}f=j[e+1456>>2];a=6;if((f|0)==65535){break a}if(b){a=j[e+2964>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=m[e+1312>>2]){break c}g=j[j[e+1316>>2]+(f<<2)>>2];break c}a=j[e+2956>>2];g=0;if(!a){break c}g=qe[j[a+20>>2]](f)|0}a=g;j[h+2964>>2]=a}j[b>>2]=a}if(c){a=j[e+2968>>2];if(!a){a=0;b=j[e+1460>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[e+1312>>2]){break d}a=j[j[e+1316>>2]+(b<<2)>>2];break d}f=j[e+2956>>2];if(!f){break d}a=qe[j[f+20>>2]](b)|0}j[e+2968>>2]=a}j[c>>2]=a}if(!d){break b}j[d>>2]=j[e+1464>>2]}a=0}return a|0}function wh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(j[a+64>>2]!=3){j[a+64>>2]=3;e=j[a+20>>2];if(!e){break a}b:{if(k[a+68|0]){d=j[a+12>>2];if((i[d+20>>1]+i[d+56>>1]|0)+1>>>0>m[d+8>>2]){d=yf(d,0,1);if(d){break a}}f=l[e>>1];d=f<<16>>16;if((d|0)<1){break b}i[(j[e+12>>2]+(f<<1)|0)-2>>1]=l[e+2>>1]-1}d=l[e>>1]}i[e>>1]=d+1;d=j[a+12>>2];if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){e=j[d+8>>2];f=i[d+2>>1];a=j[d+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[e+f|0]=1}i[d+2>>1]=l[d+2>>1]+1}d=0}return d|0}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|(b|0)==(c|0))){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;j=(c|0)<0?0-d|0:d;d=2147483647;f=c;c=c>>31;c=f+c^c;a:{if(!c){break a}f=b;b=b>>31;b=f+b^b;f=a;a=a>>31;a=f+a^a;if(b+a>>>0<=131071){d=(p(a,b)>>>0)/(c>>>0)|0;break a}e=b>>>16|0;g=a&65535;b=b&65535;h=a>>>16|0;i=p(e,g)+p(b,h)|0;a=i<<16;f=a;a=a+p(b,g)|0;b=(p(e,h)+(i>>>16|0)|0)+(f>>>0>a>>>0)|0;if(!b){d=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}e=s(b);g=32-e|0;b=a>>>g|b<>>0)/(c>>>0)|0;b=b-p(c,d)|0;a=a<>>31;b=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}a=(j|0)<0?0-d|0:d}return a}function ff(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,n=0;a:{c=j[a+112>>2];d=j[a+116>>2];b:{if(c|d){b=c>>>0<=m[a+120>>2];c=j[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=OD(a);if((g|0)>-1){break a}}j[a+104>>2]=0;return-1}i=a;b=j[a+116>>2];l=b;d=j[a+8>>2];c=d;f=j[a+112>>2];c:{if(!(b|f)){break c}c=d;e=j[a+120>>2]^-1;f=e+f|0;b=(j[a+124>>2]^-1)+l|0;b=f>>>0>>0?b+1|0:b;l=j[a+4>>2];e=d-l|0;n=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?n:0){break c}c=f+l|0}j[i+104>>2]=c;i=j[a+4>>2];if(d){c=a;b=(d-i|0)+1|0;d=b+j[a+120>>2]|0;a=j[a+124>>2]+(b>>31)|0;j[c+120>>2]=d;j[c+124>>2]=d>>>0>>0?a+1|0:a}a=i-1|0;if(k[a|0]!=(g|0)){h[a|0]=g}return g}function bI(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}b=j[a+8>>2];a=He(b,612,d+8|0);if(j[d+8>>2]){break b}j[a+432>>2]=32;j[a+8>>2]=b;f=a,g=xe(b,16,0,32,0,d+12|0),j[f+436>>2]=g;if(!j[d+12>>2]){j[a+440>>2]=0;j[a+388>>2]=0;j[a+392>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;j[a+4>>2]=0;break a}j[a+440>>2]=0;b=j[a+8>>2];c=b;e=j[a+24>>2];if(e){qe[j[c+8>>2]](c,e)}j[a+20>>2]=0;j[a+24>>2]=0;c=j[a+436>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+436>>2]=0;j[a+428>>2]=0;j[a+432>>2]=0;c=j[a+392>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+388>>2]=0;j[a+392>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[b+8>>2]](b,a)}if(!j[d+12>>2]){break a}}a=0}oe=d+16|0;return a}function Kh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=q(0);e=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(e>>>0>=24){f=(e>>>0)/24|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=d;while(1){g=q(n[c+8>>2]*q(.5));n[d>>2]=q(q(n[c>>2]+g)+n[c+16>>2])/q(2.5);n[d+4>>2]=q(q(g+n[c+4>>2])+n[c+20>>2])/q(2.5);d=d+8|0;c=c+24|0;f=f-1|0;if(f){continue}break}}c=(e|0)/3|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function Kp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;a:{if(!a){break a}g=j[a>>2];if(!g){break a}e=j[a+36>>2];if((e|0)>=j[a+32>>2]){break a}h=j[a+16>>2];c=j[h+(e<<2)>>2];if(c&1024){j[a+36>>2]=e+1;b=a;d=j[a+348>>2];a=j[a+344>>2]+1|0;d=a>>>0<1?d+1|0:d;j[b+344>>2]=a;j[b+348>>2]=d;return-1}i=1;if(!b){break a}k=c&256;f=c&512;d=255;c=c&255;b:{if((c|0)!=255){d=c;break b}while(1){e=e+1|0;c=j[(e<<2)+h>>2];f=c&512?512:f;c=c&255;d=c+d|0;if((c|0)==255){continue}break}}j[b+8>>2]=k;j[b+12>>2]=f;j[b>>2]=j[a+12>>2]+g;c=j[a+348>>2];j[b+24>>2]=j[a+344>>2];j[b+28>>2]=c;a=j[a+20>>2]+(e<<3)|0;c=j[a+4>>2];a=j[a>>2];j[b+4>>2]=d;j[b+16>>2]=a;j[b+20>>2]=c}return i}function vM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;d=j[b+96>>2];a:{if((d|0)<0|j[a+300>>2]<=(d|0)){break a}f=j[a+304>>2];if((qe[j[b+52>>2]](b,6,c,3)|0)<6){break a}e=j[c+12>>2];b=e>>31;b=b^b+e;if(!b){break a}g=a,h=De(1e3,b),i[g+68>>1]=h;if((b|0)!=65536){g=c,h=De(j[c>>2],b),j[g>>2]=h;g=c,h=De(j[c+4>>2],b),j[g+4>>2]=h;g=c,h=De(j[c+8>>2],b),j[g+8>>2]=h;g=c,h=De(j[c+16>>2],b),j[g+16>>2]=h;g=c,h=De(j[c+20>>2],b),j[g+20>>2]=h;j[c+12>>2]=j[c+12>>2]<0?-65536:65536}a=p(d,252)+f|0;j[a+216>>2]=j[c>>2];j[a+224>>2]=j[c+4>>2];j[a+220>>2]=j[c+8>>2];j[a+228>>2]=j[c+12>>2];j[a+232>>2]=j[c+16>>2]>>16;j[a+236>>2]=j[c+20>>2]>>16}oe=c+32|0}function OF(a,b,c,d,e){var f=0;a:{if(!a|!b){break a}b:{if(!c){break b}fj(a,b,8192,0);f=qh(a,256);j[b+156>>2]=f;j[a+528>>2]=f;if(d-1>>>0>255){break b}Ae(f,c,d)}c:{if(e){c=k[b+24|0];d:{if(c>>>0>15){break d}c=-1<>1]){break e}break d;case 2:break f;default:break d}}if((c|0)>1]|(c|0)>1]){break e}if((c|0)>=l[e+6>>1]){break d}}Ze(a,207473)}a=l[e+4>>1]|l[e+6>>1]<<16;c=l[e>>1]|l[e+2>>1]<<16;i[b+160>>1]=c;i[b+162>>1]=c>>>16;i[b+164>>1]=a;i[b+166>>1]=a>>>16;i[b+168>>1]=l[e+8>>1];i[b+22>>1]=d?d:1;break c}i[b+22>>1]=d;if(!d){break a}}j[b+8>>2]=j[b+8>>2]|16;j[b+232>>2]=j[b+232>>2]|8192}}function WO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=k[a+20|0];f=j[a+16>>2];g=j[a+12>>2];a:{b:{if(!we(b,116413)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+8>>2]=b;if(!b){a=vk(d,e+8|0,a);if(a){break a}b=j[e+8>>2];j[d+116>>2]=b;j[d+120>>2]=561}j[c+4>>2]=j[b+8>>2];break b}if(!we(b,116356)){j[c>>2]=j[j[(g<<2)+114864>>2]+8>>2];break b}if(!we(b,116372)){j[c>>2]=f;break b}if(!we(b,116387)){d=j[c>>2];if(!d){a=35;break a}b=j[d+116>>2];j[e+12>>2]=b;if(!b){a=vk(d,e+12|0,a);if(a){break a}b=j[e+12>>2];j[d+116>>2]=b;j[d+120>>2]=561}j[c+4>>2]=j[b+12>>2];break b}a=12;if(we(b,116405)){break a}h[c|0]=d}a=0}oe=e+16|0;return a|0}function Fg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;f=oe-48|0;oe=f;a:{if(!a){j[f>>2]=97378;ve(97352,f);a=0;break a}if(!b){j[f+16>>2]=97380;ve(97352,f+16|0);a=0;break a}if(!c){j[f+32>>2]=97382;ve(97352,f+32|0);a=0;break a}b:{g=j[a+8>>2];c:{if((g|0)<1){break c}h=j[a+12>>2];if((h|0)<1){break c}i=j[b+8>>2];if((i|0)<1){break c}k=j[b+12>>2];if((k|0)>0){break b}}j[c+8>>2]=0;j[c+12>>2]=0;a=0;break a}d=j[b>>2];e=j[a>>2];l=(d|0)>(e|0)?d:e;j[c>>2]=l;d=d+i|0;e=e+g|0;d=((d|0)<(e|0)?d:e)-l|0;j[c+8>>2]=d;b=j[b+4>>2];a=j[a+4>>2];e=(a|0)<(b|0)?b:a;j[c+4>>2]=e;b=b+k|0;a=a+h|0;a=((a|0)>(b|0)?b:a)-e|0;j[c+12>>2]=a;a=(d|0)>0&(a|0)>0}oe=f+48|0;return a}function uj(a,b,c){var d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;e=j[67085];a:{if(!e){ve(99429,0);break a}if(!(j[a>>2]==(e+316|0)?a:0)){ve(98129,0);break a}if(!(k[b|0]?b:0)){j[f>>2]=98626;ve(98171,f);break a}g=a+140|0;d=j[a+140>>2];if(d){e=0;while(1){b:{a=d;d=j[a>>2];if(!d){break b}if(cf(d,b)){break b}d=j[a+4>>2];if(c){j[a+4>>2]=c;break a}j[(e?e+8|0:g)>>2]=j[a+8>>2];b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}break a}e=a;d=j[a+8>>2];if(d){continue}break}}d=0;if(!c){break a}a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}b=Uf(b);j[a+4>>2]=c;j[a>>2]=b;j[a+8>>2]=j[g>>2];j[g>>2]=a}oe=f+16|0;return d}function ii(a,b,c){var d=0,e=0,f=0;f=oe-32|0;oe=f;a:{if(!a){j[f>>2]=65611;d=ve(65309,f);break a}if(!b){j[f+16>>2]=65618;d=ve(65309,f+16|0);break a}if(!c){break a}if((c|0)%j[a+196>>2]|0){d=ve(65622,0);break a}if(!(j[a+84>>2]|(j[a>>2]|j[a+216>>2]!=j[a+204>>2]))){d=nl(j[a+168>>2],b,c);break a}if((c|0)<1){break a}while(1){d=j[a+184>>2];e=j[a+180>>2];if(!(d|(e|0)>(c|0))){d=Tj(a,b,c,0);break a}if((e|0)>(c+d|0)){Ge(d+j[a+176>>2]|0,b,c);j[a+184>>2]=j[a+184>>2]+c;d=0;break a}e=e-d|0;Ge(d+j[a+176>>2]|0,b,e);j[a+184>>2]=0;if((Tj(a,j[a+176>>2],j[a+180>>2],0)|0)<0){d=-1;break a}b=b+e|0;d=0;c=c-e|0;if((c|0)>0){continue}break}}oe=f+32|0;return d}function RJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];d=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e){a=a+8208|0;d=j[b>>2]+1|0;while(1){a:{c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d>>>0>>0?f:d;c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if(d>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}c=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);c=(d-f|0)+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(!c){break a}j[b>>2]=d;return c|0}a=a+12|0;e=e-1|0;if(e){continue}break}}j[b>>2]=0;return 0}function Cf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;i=j[b+12>>2];g=b;e=j[b+16>>2];k=e;f=e;h=j[a+48>>2];d=j[a+52>>2];if(h>>>0>d>>>0){d=j[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;j[g+16>>2]=k-e;j[b+20>>2]=e+j[b+20>>2];d=j[a+56>>2];if(d){d=qe[d|0](j[a+60>>2],h,e)|0;j[a+60>>2]=d;j[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Ae(i,h,e)+e|0;f=e+h|0;if((f|0)==j[a+44>>2]){e=j[a+40>>2];d=j[a+52>>2];if((f|0)==(d|0)){j[a+52>>2]=e;d=e}f=j[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;j[b+16>>2]=f-d;j[b+20>>2]=d+j[b+20>>2];f=j[a+56>>2];if(f){f=qe[f|0](j[a+60>>2],e,d)|0;j[a+60>>2]=f;j[b+48>>2]=f}f=d+e|0;g=Ae(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}j[b+12>>2]=g;j[a+48>>2]=f;return c}function Im(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;i=-131;a:{if(j[a+88>>2]<2){break a}if(!j[a+4>>2]){return-138}if(b<0){break a}g=j[a+52>>2];b:{if((g|0)<1){break b}while(1){e=k+ns(a,d);if(e>b){e=k;break b}l=j[a+68>>2]+(d<<4|8)|0;f=j[l>>2]+h|0;c=j[l+4>>2]+c|0;c=h>>>0>f>>>0?c+1|0:c;h=f;k=e;d=d+1|0;if((g|0)>(d|0)){continue}break}}if((d|0)==(g|0)){break a}f=a;b=(b-e)*+j[(j[a+72>>2]+(d<<5)|0)+8>>2]+(+(h>>>0)+ +(c|0)*4294967296);c:{if(r(b)<0x8000000000000000){c=r(b)>=1?b>0?~~t(v(b*2.3283064365386963e-10),4294967295)>>>0:~~w((b- +(~~b>>>0>>>0))*2.3283064365386963e-10)>>>0:0;a=~~b>>>0;break c}c=-2147483648;a=0}i=Wm(f,a,c)}return i}function nK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;d=oe;k=d;e=j[a>>2];g=d-((e<<2)+15&-16)|0;oe=g;Nq(e,j[a+24>>2],b,c,q(140),-1);if((e|0)>=1){d=0;while(1){f=d<<2;n[f+g>>2]=n[b+f>>2]-n[c+f>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}Nq(e,j[a+24>>2],g,c,q(0),j[j[a+4>>2]+128>>2]);d=0;a:{if((e|0)<=0){break a}while(1){f=d<<2;h=f+g|0;n[h>>2]=n[b+f>>2]-n[h>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}if((e|0)<1){break a}b=j[a+4>>2];d=0;while(1){f=d<<2;h=f+c|0;i=+n[h>>2]+.5;b:{if(r(i)<2147483648){a=~~i;break b}a=-2147483648}a=(a|0)<39?a:39;n[h>>2]=n[f+g>>2]+n[(b+(((a|0)>0?a:0)<<2)|0)+336>>2];d=d+1|0;if((e|0)!=(d|0)){continue}break}}oe=k}function jz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=q(0),g=0;c=lh(a,32,b+4|0);if(!c){return-1}j[b+8>>2]=1;Ge(c,d,16);b=c;d=j[a+216>>2];a=j[a+220>>2];a:{if(d|a){g=c;f=q(n[e>>2]+q(d|0));b:{if(q(r(f))>2]=d;f=q(n[e+4>>2]+q(a|0));break a}a=c;f=n[e>>2];c:{if(q(r(f))>2]=d;f=n[e+4>>2]}d:{if(q(r(f))>2]=a;a=c;f=n[e+8>>2];e:{if(q(r(f))>2]=b;f=n[e+12>>2];f:{if(q(r(f))>2]=a;return 0}function pq(a,b){var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a>>2];f=j[a+24>>2];i[d+14>>1]=0;i[d+12>>1]=0;i[d+10>>1]=0;i[d+8>>1]=0;g=j[f+8>>2];qe[j[j[c+532>>2]+112>>2]](c,0,b,d+14|0,d+10|0);a:{if(k[c+292|0]){qe[j[j[c+532>>2]+112>>2]](c,1,b,d+12|0,d+8|0);break a}b=j[a+48>>2];if(l[c+364>>1]!=65535){e=i[c+434>>1];i[d+12>>1]=e-b;c=e-i[c+436>>1]|0;b=c>>31;i[d+8>>1]=b^b+c;break a}e=i[c+220>>1];i[d+12>>1]=e-b;c=e-i[c+222>>1]|0;b=c>>31;i[d+8>>1]=b^b+c}b=Fe(f,g);b:{if(b){break b}j[a+52>>2]=i[d+14>>1];c=l[d+10>>1];j[a+56>>2]=c;j[a+176>>2]=i[d+12>>1];j[a+180>>2]=l[d+8>>1];if(k[a+64|0]){break b}j[a+60>>2]=c;h[a+64|0]=1}oe=d+16|0;return b}function kf(a){a=a|0;var b=0,c=0;a:{if(!a|k[a|0]&4){break a}vf(j[a+52>>2]);b=j[a+56>>2];j[a+56>>2]=b-1;if((b|0)>1){break a}b=j[a+28>>2];b:{if((b|0)<1){break b}while(1){c=b-1|0;j[a+28>>2]=c;if((b|0)==1){b=j[a>>2];if(!(b&2)){break b}j[a>>2]=b&-3;Hj(a);b=j[a+28>>2]}else{b=c}if((b|0)>0){continue}break}}if(k[a|0]&2){ei(a,0)}b=j[a+4>>2];if(b){if((Nk(b,0)|0)>=0){vf(j[a+52>>2])}Ok(j[a+4>>2]);j[a+4>>2]=0}c=j[a>>2];c:{if(c&1){break c}b=j[a+20>>2];if(c&8){if(b){b=j[b-4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}break c}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+52>>2];if(b){wv(b)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function dm(a,b,c,d,e){var f=0,g=0,m=0,n=0,o=0,q=0;f=d>>9;d=(d|0)<0?0-f|0:f;a:{if(k[a+1152|0]&2){d=d&511;if(d>>>0>=257){d=512-d|0;break a}d=(d|0)==256?255:d;break a}d=(d|0)<255?d:255}m=d;if(m){b=j[a+164>>2]+b|0;o=(b|0)<32767?b:32767;b=a+1196|0;d=j[a+1388>>2];g=b+p(d,6)|0;b:{f=j[a+1400>>2];c=j[a+172>>2]+c|0;if((f|0)!=(c|0)|(d|0)<1){break b}f=c;n=g-6|0;q=l[n+2>>1];if((q+i[n>>1]|0)!=(o|0)|k[g-2|0]!=(m|0)){break b}i[n+2>>1]=e+q;return}c:{if(!((c|0)!=(f|0)|(d|0)>31)){b=g;break c}d:{if((d|0)<1){break d}g=j[a+1392>>2];if(!g){break d}qe[g|0](f,d,b,j[a+1396>>2])}j[a+1400>>2]=c;d=0}h[b+4|0]=m;i[b+2>>1]=e;i[b>>1]=o;j[a+1388>>2]=d+1}}function gm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0;if(!a){return 35}f=16;a:{b:{if(l[a+264>>1]<=b>>>0){break b}d=j[a+536>>2];if(!d){return 7}f=0;g=c,i=qe[j[d+16>>2]](0)|0,j[g>>2]=i;e=j[a+468>>2];if((e|0)!=163840){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!k[a+612|0]){if(Bq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}b=l[j[a+620>>2]+(b<<1)>>1];if(b>>>0<=257){break a}j[c>>2]=j[(j[a+624>>2]+(b<<2)|0)-1032>>2];return 0}if(!k[a+612|0]){if(Bq(a)){break b}}if(l[a+616>>1]<=b>>>0){break b}g=c,i=qe[j[d+16>>2]](h[j[a+620>>2]+b|0]+b|0)|0,j[g>>2]=i}return f|0}g=c,i=qe[j[d+16>>2]](b)|0,j[g>>2]=i;return 0}function zz(a,b,c,d,e,f,g,h){var i=0,l=0,m=0,n=0;m=oe-16|0;oe=m;a:{if(!a){ve(86288,0);break a}i=j[a+4>>2];l=k[i+8|0];if(l>>>0<=7){ve(86320,0);break a}if(d-1>>>0<=1){g=(p(g,h)>>>0)/255|0;f=(p(f,h)>>>0)/255|0;e=(p(e,h)>>>0)/255|0}b:{c:{d:{switch(l-15|0){case 0:l=229;if(j[i+12>>2]!=31744){break c}break b;case 17:if(j[i+12>>2]!=16711680){break c}l=j[i+24>>2]?230:231;break b;case 1:break d;default:break c}}l=232;if(j[i+12>>2]==63488){break b}}l=j[i+24>>2]?233:234}if((c|0)<1){break a}i=a+36|0;g=g&255;f=f&255;n=e&255;e=0;while(1){if(Fg((e<<4)+b|0,i,m)){qe[l|0](a,m,d,n,f,g,h)|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}oe=m+16|0}function ts(a,b,c){var d=0,e=0,f=0,g=0,k=0,l=0,n=0,o=0,q=0,r=0,s=0,t=0;l=p(c,1468)+a|0;f=j[l- -64>>2];a=j[l+56>>2];g=p(c,1572)+b|0;n=j[g+44>>2];b=ye(m[b+40>>2]/40|0,n);if((a|0)>=1){s=(b|0)<32?b:32;t=p(a,48)+f|0;a=j[g+260>>2];b=a;while(1){if(b){b=0;c=s;k=0;while(1){e=p(b,28)+g|0;d=j[e+288>>2];if(!(!(d&1)|(d&2)>>>1^j[l+68>>2]!=h[f+13|0])){a=i[f>>1];o=a-j[e+264>>2]|0;d=o>>31;q=a-j[e+276>>2]|0;r=q>>31;e=(d^d+o)>(r^r+q)?e+276|0:e+264|0;d=a-j[e>>2]|0;a=d>>31;d=ye(a^a+d,n);a=(d|0)<(c|0);c=a?d:c;k=a?e:k;a=j[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(k){j[f+20>>2]=k}b=a}else{b=0}f=f+48|0;if(t>>>0>f>>>0){continue}break}}}function Hw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b&255;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,o)>>>0)/255|0;l=(p(l,q)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b>>>24|0;j[u>>2]=c|(i<<8|l<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Gv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;u=f;if(s){i=(p(i,q)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}b=b&255;j[u>>2]=c|(l<<8|i<<16)|(r?(p(b,m)>>>0)/255|0:b)<<24;f=f+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[t+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Fq(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}d=j[a+36>>2];f=j[a+40>>2];if(d>>>0>=f>>>0){break a}e=c+1|0;g=j[a+16>>2]+20|0;while(1){b:{c=p(d,12)+g|0;b=c-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=k[c+4|0]|k[c+5|0]<<8|(k[c+6|0]<<16|k[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break b}j[a+36>>2]=d;j[a+32>>2]=c;j[a+28>>2]=e;return}d=d+1|0;if(f>>>0>d>>>0){continue}break}}h[a+24|0]=0}function mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+63|0];n=k[a+62|0];o=k[a+61|0];q=k[a+60|0];b=j[a+52>>2];r=b&2;s=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){t=a;h=j[a+24>>2];if(h){while(1){b=j[g>>2];c=b>>>24|0;i=b>>>8&255;l=b>>>16&255;if(s){i=(p(i,n)>>>0)/255|0;l=(p(l,o)>>>0)/255|0;c=(p(c,q)>>>0)/255|0}b=b&255;j[d>>2]=l<<8|c<<16|i|(r?(p(b,m)>>>0)/255|0:b)<<24;d=d+4|0;g=g+4|0;h=h-1|0;if(h){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[t+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function am(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=c;f=j[a+696>>2];a:{if(f>>>0>b>>>0){d=j[a+700>>2];b:{if(l[a+210>>1]){b=d+(b<<2)|0;c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c;b=b+8|0;if(b>>>0>d+(f<<2)>>>0){break b}b=b-4|0;b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}e=d+(b<<1)|0;b=k[e|0]<<8|k[e+1|0];c=b<<1;f=d+(f<<1)|0;d=e+4|0;if(f>>>0>=d>>>0){b=d-2|0;b=k[b|0]<<8|k[b+1|0]}e=b<<1}d=0;a=j[a+668>>2];b=0;if(a>>>0>>0){break a}b=a;a=a>>>0>>0?a:e;d=c;a=a>>>0>>0?b:a}else{a=0}b=a-d|0}j[g>>2]=b;return d|0}function Zv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){n=k[a+63|0];o=k[a+62|0];q=k[a+61|0];r=k[a+60|0];b=j[a+52>>2];s=b&2;t=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){u=a;h=j[a+24>>2];if(h){while(1){c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;h=h-1|0;m=c>>>24|0;c=f;if(t){l=(p(l,q)>>>0)/255|0;i=(p(i,r)>>>0)/255|0;b=(p(b,o)>>>0)/255|0}j[c>>2]=l<<8|i<<16|b|(s?(p(m,n)>>>0)/255|0:m)<<24;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[u+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function yL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;f=oe-16|0;oe=f;Pf(a,j[a+8>>2]);g=j[a+8>>2];d=j[a>>2];j[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}l=k[d|0];e=93;b:{c:{if((l|0)==91){break c}e=1;if((l|0)!=123){break b}e=125}m=e;d=d+1|0;j[f+12>>2]=d;e=0}l=e;if(d>>>0>=g>>>0){break a}while(1){Pf(f+12|0,g);e=j[f+12>>2];if(e>>>0>=g>>>0){d=e;break a}if(k[e|0]==(m|0)){d=e+1|0;break a}if(!(!c|(b|0)>(h|0))){d=e;break a}n=c?(h<<1)+c|0:f+10|0,o=xh(f+12|0,g,0)>>>16|0,i[n>>1]=o;d=j[f+12>>2];if((e|0)==(d|0)){h=-1;d=e;break a}h=h+1|0;if(l){break a}if(d>>>0>>0){continue}break}}j[a>>2]=d;oe=f+16|0;return h|0}function xL(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,i=0,l=0,m=0,n=0,o=0;g=oe-16|0;oe=g;Pf(a,j[a+8>>2]);h=j[a+8>>2];e=j[a>>2];j[g+12>>2]=e;a:{if(e>>>0>=h>>>0){break a}l=k[e|0];f=93;b:{c:{if((l|0)==91){break c}f=1;if((l|0)!=123){break b}f=125}m=f;e=e+1|0;j[g+12>>2]=e;f=0}l=f;if(e>>>0>=h>>>0){break a}while(1){Pf(g+12|0,h);f=j[g+12>>2];if(f>>>0>=h>>>0){e=f;break a}if(k[f|0]==(m|0)){e=f+1|0;break a}if(!(!c|(b|0)>(i|0))){e=f;break a}n=c?(i<<2)+c|0:g+8|0,o=xh(g+12|0,h,d),j[n>>2]=o;e=j[g+12>>2];if((f|0)==(e|0)){i=-1;e=f;break a}i=i+1|0;if(l){break a}if(e>>>0>>0){continue}break}}j[a>>2]=e;oe=g+16|0;return i|0}function qg(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,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=j[c>>2];if(!g){break a}h=j[g+100>>2];e=He(h,j[a>>2],f+12|0);b:{if(j[f+12>>2]){break b}i=j[c+4>>2];j[e>>2]=j[c>>2];j[e+4>>2]=i;j[e+8>>2]=j[c+8>>2];j[e+12>>2]=a;c:{a=j[a+4>>2];if(a){a=qe[a|0](e,b)|0;j[f+12>>2]=a;if(a){break c}}a=j[g+36>>2];a=xe(h,4,a,a+1|0,j[g+40>>2],f+12|0);j[g+40>>2]=a;if(j[f+12>>2]){break c}b=j[g+36>>2];j[g+36>>2]=b+1;j[a+(b<<2)>>2]=e;break b}a=j[j[e>>2]+100>>2];b=j[j[e+12>>2]+8>>2];if(b){qe[b|0](e)}if(e){qe[j[a+8>>2]](a,e)}e=0}if(d){j[d>>2]=e}e=j[f+12>>2]}oe=f+16|0;return e|0}function uC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0),j=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);g=c<<1;f=c>>>3|0;if(f){e=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=e+c|0;d=e+g|0;while(1){e=c-8|0;i=n[e>>2];j=n[c-4>>2];n[d-4>>2]=j;n[d-8>>2]=i;n[d-12>>2]=j;d=d-16|0;n[d>>2]=i;c=e;f=f-1|0;if(f){continue}break}}c=g;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function jM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=oe-16|0;oe=d;a:{b:{if(tr(a,b)){ok(b);e=b+132|0;f=tM(e,a);if((f&255)==7){break b}if(f){f=nM(e,a);if(f|(f&255)==7){break b}}j[b+104>>2]=e;j[b+172>>2]=a;if(tr(e,b)){break b}}if((c|0)>=1){ok(b);a=6;break a}a=d;f=a;c:{d:{c=j[b+180>>2];e:{if(!c){break e}e=j[b+176>>2];if(!e|(k[c|0]|32)!=105|((k[c+1|0]|32)!=115|(k[c+2|0]|32)!=111)){break e}c=c+3|0;if(!we(c,132420)){break d}if(we(c,132426)){break e}if(!we(e,132431)){break d}}j[d>>2]=b;c=0;b=0;break c}j[d>>2]=b;c=65539;b=1970170211}j[f+4>>2]=b;j[a+8>>2]=c;a=qg(132436,0,d,0);break a}ok(b);a=2}oe=d+16|0;return a|0}function up(a,b,c,d,e){var f=0,g=0,i=0;f=oe-208|0;oe=f;j[f+204>>2]=c;Ee(f+160|0,0,40);j[f+200>>2]=j[f+204>>2];a:{if((ul(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=j[a+76>>2]>=0;c=j[a>>2];if(h[a+74|0]<=0){j[a>>2]=c&-33}i=c&32;b:{if(j[a+48>>2]){b=ul(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}j[a+48>>2]=80;j[a+16>>2]=f+80;j[a+28>>2]=f;j[a+20>>2]=f;c=j[a+44>>2];j[a+44>>2]=f;d=ul(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}qe[j[a+36>>2]](a,0,0)|0;j[a+48>>2]=0;j[a+44>>2]=c;j[a+28>>2]=0;j[a+16>>2]=0;b=j[a+20>>2];j[a+20>>2]=0;b=b?d:-1}c=a;a=j[a>>2];j[c>>2]=a|i;b=a&32?-1:b;if(!g){break a}}oe=f+208|0;return b}function ps(a){var b=0,c=0,d=0;if(a){c=j[a>>2];b=c;d=j[a+24>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+40>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+40>>2]=0;b=j[a+52>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;j[a+44>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+12>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+88>>2]=0;d=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=d;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b;if(a){qe[j[c+8>>2]](c,a)}}}function JK(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,i=0,k=0,l=0,m=0;f=oe-128|0;oe=f;if((c|0)>=1){l=(p((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){e=b<<2;m=e+f|0;k=j[d+e>>2]+k|0;e=k;h=e+32768&-65536;if((e|0)<0){h=0-(32768-e&-65536)|0}j[m>>2]=h>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;j[h>>2]=j[h>>2]-j[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(j[a+4>>2]){break a}b=f;g=i;while(1){e=hj(l,j[b>>2],j[b+4>>2],j[a>>2],0);if(e){j[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}oe=f+128|0}function wI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=oe-16|0;oe=e;b=Te(40);j[b>>2]=0;j[e+12>>2]=0;f=mi(a,1,b,4);g=C()|0;h=a+1136|0;while(1){a:{b:{c:{if(!c){j[67126]=0;i=T(905,h|0,199568,a|0)|0;c=j[67126];j[67126]=0;b=-1;if(!c){break b}d=j[67127];if(!d){break b}b=ef(j[c>>2],f,g);if(b){break c}F(c|0,d|0);z()}j[e+12>>2]=64;break a}D(d|0)}c=C()|0;if((b|0)==1){continue}j[e+12>>2]=i;if(j[a+196>>2]){break a}j[67126]=0;I(906,a|0);c=j[67126];j[67126]=0;b=-1;d:{if(!c){break d}d=j[67127];if(!d){break d}b=ef(j[c>>2],f,g);if(!b){F(c|0,d|0);z()}D(d|0)}c=C()|0;if((b|0)==1){continue}}break}a=j[e+12>>2];ze(f);oe=e+16|0;return a}function Fl(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[a+800>>2]=33;pf(a,c+8|0,8);a:{b=k[c+8|0]|k[c+9|0]<<8|(k[c+10|0]<<16|k[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=k[c+12|0]|k[c+13|0]<<8|(k[c+14|0]<<16|k[c+15|0]<<24);j[a+376>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=a,g=Sf(0,0,0),j[f+412>>2]=g;tf(a,c+12|0,4);b=j[a+376>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}j[a+800>>2]=65;oe=c+16|0;return e}Ye(a,210953);z()}hf(a,211904);z()}function _D(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{c:{if(!ah(226816,h[b|0])){j[67100]=28;break c}c=Te(1176);if(c){break b}}c=0;break a}Ee(c,0,144);if(!ah(b,43)){j[c>>2]=k[b|0]==114?8:4}d:{if(k[b|0]!=97){b=j[c>>2];break d}b=Y(a|0,3,0)|0;if(!(b&1024)){j[d+16>>2]=b|1024;Y(a|0,4,d+16|0)|0}b=j[c>>2]|128;j[c>>2]=b}h[c+75|0]=255;j[c+48>>2]=1024;j[c+60>>2]=a;j[c+44>>2]=c+152;e:{if(b&8){break e}j[d>>2]=d+24;if(Oa(a|0,21523,d|0)|0){break e}h[c+75|0]=10}j[c+40>>2]=1063;j[c+36>>2]=1064;j[c+32>>2]=1065;j[c+12>>2]=1066;if(!j[67102]){j[c+76>>2]=-1}j[c+56>>2]=j[67123];a=j[67123];if(a){j[a+52>>2]=c}j[67123]=c}oe=d+32|0;return c}function jt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=oe-16|0;oe=e;if(!(c?!b:0)){b=Mf(d?111577:111597);c=b?b:d?111615:111631}f=Mf(111466);b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}j[a+96>>2]=b;a:{if(!b){b=Be(0);break a}Oe(b,0,12);b:{if(f){b=rf(f);break b}b=(p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0}j[j[a+96>>2]+4>>2]=b;f=hi(c,d?111485:111488);j[j[a+96>>2]>>2]=f;b=-1;if(!f){break a}b=111553;if(!d){b=j[a+16>>2];b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[j[a+96>>2]+8>>2]=b;if(!b){b=Be(0);break a}Oe(b,k[a+11|0],j[a+16>>2]);b=111566}Xo(111491,0);j[e+4>>2]=c;j[e>>2]=b;Xo(111537,e);b=0}oe=e+16|0;return b|0}function _y(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)<=-1){h[b|0]=45;a=0-a|0;e=b+1|0;c=e;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+86544|0];c=c+1|0;f=a>>>0>=10;a=d;if(f){continue}break}h[c|0]=0;c=Le(e);a=c>>>1|0;if(!a){break a}d=b+c|0;while(1){b=k[e|0];h[e|0]=k[d|0];h[d|0]=b;d=d-1|0;e=e+1|0;a=a-1|0;if(a){continue}break}break a}b:{if(a){c=b;while(1){d=(a>>>0)/10|0;h[c|0]=k[(a-p(d,10)|0)+86544|0];c=c+1|0;e=a>>>0<10;a=d;if(!e){continue}break}break b}h[b|0]=48;c=b+1|0}h[c|0]=0;a=Le(b);c=a>>>1|0;if(!c){break a}d=(a+b|0)-1|0;a=b;while(1){b=k[a|0];h[a|0]=k[d|0];h[d|0]=b;d=d-1|0;a=a+1|0;c=c-1|0;if(c){continue}break}}}function NF(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{if(!b|(!c|!a)){break a}d=Gl(a,j[b+244>>2],j[b+248>>2],1,16);if(!d){Of(a,207523,1);return}Ke(a,j[b+244>>2]);j[b+244>>2]=d;j[b+232>>2]=j[b+232>>2]|32;d=d+(j[b+248>>2]<<4)|0;while(1){e=j[c>>2];b:{if(!(j[c+8>>2]?e:0)){xi(a,207544);break b}h[d+4|0]=k[c+4|0];f=Le(e)+1|0;e=ag(a,f);j[d>>2]=e;c:{if(e){Ae(e,j[c>>2],f);e=sF(a,j[c+12>>2]);j[d+8>>2]=e;if(e){break c}Ke(a,j[d>>2]);j[d>>2]=0}if((g|0)<1){break a}Of(a,207571,1);return}f=j[c+12>>2];j[d+12>>2]=f;Ae(e,j[c+8>>2],p(f,10));j[b+8>>2]=j[b+8>>2]|8192;j[b+248>>2]=j[b+248>>2]+1;d=d+16|0}c=c+16|0;g=g-1|0;if(g){continue}break}}}function EO(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=j[b+72>>2];if((f|0)==1651078259){return 0}a:{b:{c:{if((f|0)!=1869968492){g=7;if(!a){break b}d=j[a+148>>2];if(!d){break b}while(1){e=j[d+8>>2];if((f|0)==j[e+16>>2]){break c}d=j[d+4>>2];if(d){continue}break}break b}e=j[a+156>>2];if(!e){break a}d=j[a+148>>2]}g=0;e=qe[j[e+60>>2]](e,b,c,0)|0;if(!e){break b}h=a+148|0;while(1){d:{e:{if(!a|(e&255)!=19){break e}d=j[(d?d+4|0:h)>>2];if(!d){break e}g=j[b+72>>2];while(1){f=j[d+8>>2];if((g|0)==j[f+16>>2]){break d}d=j[d+4>>2];if(d){continue}break}}g=e;break b}g=0;e=qe[j[f+60>>2]](f,b,c,0)|0;if(e){continue}break}}return g}return 7}function Dq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0;a:{b:{f=j[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;l=g+2|0;m=j[a+16>>2]+14|0;while(1){c=(b<<1)+m|0;e=k[c|0]<<8|k[c+1|0];j[a+44>>2]=e;c=c+l|0;h=k[c|0]<<8|k[c+1|0];j[a+40>>2]=h;c=c+g|0;d=k[c|0]|k[c+1|0]<<8;j[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=k[d|0]<<8|k[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=j[a>>2];if((c+d|0)+2>>>0<=j[e+500>>2]+j[e+504>>2]>>>0){break c}j[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}j[a+36>>2]=b;j[a+52>>2]=c;return 0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;a:{if((qe[j[b+52>>2]](b,6,c,3)|0)<=5){j[b+12>>2]=3;break a}e=j[c+12>>2];d=e>>31;d=d^d+e;if(!d){j[b+12>>2]=3;break a}f=a,g=De(1e3,d),i[f+68>>1]=g;b:{if((d|0)==65536){b=j[c+20>>2];d=j[c+12>>2];break b}f=c,g=De(j[c>>2],d),j[f>>2]=g;f=c,g=De(j[c+4>>2],d),j[f+4>>2]=g;f=c,g=De(j[c+8>>2],d),j[f+8>>2]=g;f=c,g=De(j[c+16>>2],d),j[f+16>>2]=g;b=De(j[c+20>>2],d);j[c+20>>2]=b;d=j[c+12>>2]<0?-65536:65536;j[c+12>>2]=d}j[a+436>>2]=j[c>>2];j[a+444>>2]=j[c+4>>2];e=j[c+8>>2];j[a+448>>2]=d;j[a+440>>2]=e;d=j[c+16>>2];j[a+456>>2]=b>>16;j[a+452>>2]=d>>16}oe=c+32|0}function $B(a,b){a=a|0;b=b|0;var c=0,d=q(0),e=0,f=0;e=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(e){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){f=b;d=n[b>>2];c=2147483647;a:{if(d>=q(1)){break a}c=-2147483648;if(d<=q(-1)){break a}d=q(d*q(8388607));b:{if(q(r(d))>2]=c;b=b+4|0;e=e-1|0;if(e){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,32800)}}function Ze(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;a:{b:{if(!a){break b}c=0;c:{if(k[b|0]!=35){break c}c=1;if(k[b+1|0]==32){break c}c=2;if(k[b+2|0]==32){break c}c=3;if(k[b+3|0]==32){break c}c=4;if(k[b+4|0]==32){break c}c=5;if(k[b+5|0]==32){break c}c=6;if(k[b+6|0]==32){break c}c=7;if(k[b+7|0]==32){break c}c=8;if(k[b+8|0]==32){break c}c=9;if(k[b+9|0]==32){break c}c=10;if(k[b+10|0]==32){break c}c=11;if(k[b+11|0]==32){break c}c=12;if(k[b+12|0]==32){break c}c=13;if(k[b+13|0]==32){break c}c=k[b+14|0]==32?14:15}e=j[a+172>>2];if(!e){break b}qe[e|0](a,b+c|0);break a}j[d>>2]=b+c;a=j[56878];ck(a,206875,d);yl(a)}oe=d+16|0}function Ay(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0;f=j[a+24>>2];i=j[a+16>>2]+(f+((f+7|0)/-8|0)|0)|0;l=j[a+36>>2];b=j[a+20>>2];c=j[a>>2];e=j[a+28>>2];g=j[a+48>>2];a:{if(g){if(!e){break a}m=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!m){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=k[g+((a&128)>>>7|0)|0];a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}break a}if(!e){break a}g=(f|0)<1;while(1){e=e-1|0;d=0;a=0;if(!g){while(1){if(!(d&7)){a=k[c|0];c=c+1|0}h[b|0]=(a&128)>>>7;a=a<<1;b=b+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=b+l|0;c=c+i|0;if(e){continue}break}}}function xo(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-16|0;oe=c;j[b>>2]=0;a:{if(!a){break a}b:{if(k[a|0]!=64){j[c+12>>2]=a;break b}d=oB(hi(a+1|0,71827));j[c+12>>2]=d;a=d;if(!a){break a}}a=ih(a,72843);j[c+12>>2]=a;c:{if(!a){break c}while(1){f=Vn(a,c+12|0);a=ih(j[c+12>>2],72843);j[c+12>>2]=a;if(!a){break c}g=Vn(a,c+12|0);a=j[b>>2];d:{if((a|0)!=j[b+4>>2]){e=j[b+8>>2];break d}a=a+16|0;e=mf(j[b+8>>2],a<<2);if(!e){break c}j[b+4>>2]=a;j[b+8>>2]=e;a=j[b>>2]}j[b>>2]=a+1;j[(a<<2)+e>>2]=g&65535|f<<16;a=ih(j[c+12>>2],72843);j[c+12>>2]=a;if(a){continue}break}}if(!d){break a}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}}oe=c+16|0}function dH(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,o=0,p=0;g=(e?f:0)<<2;i=j[g+c>>2];m=(i|0)/-4|0;h=j[(e<<2)+c>>2];o=(h|0)/2|0;f=(i|0)/2|0;k=(h|0)/4|0;p=c;c=(e?d:0)<<2;e=j[p+c>>2];d=k+((e|0)/-4|0)|0;e=d+((e|0)/2|0)|0;g=j[b+g>>2];b=j[b+c>>2];c=0;if((d|0)>=1){Ee(a,0,d<<2);c=d}if((c|0)<(e|0)){b=j[(b<<2)+28272>>2];while(1){d=(c<<2)+a|0;n[d>>2]=n[b+(l<<2)>>2]*n[d>>2];l=l+1|0;c=c+1|0;if((e|0)>(c|0)){continue}break}}c=(o+k|0)+m|0;if((i|0)>1){b=c+f|0;d=j[(g<<2)+28272>>2];while(1){e=(c<<2)+a|0;f=f-1|0;n[e>>2]=n[d+(f<<2)>>2]*n[e>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}if((c|0)<(h|0)){Ee((c<<2)+a|0,0,h-c<<2)}}function KD(a,b,c){var d=0,e=0,f=0,g=0,i=0,l=0;g=oe-16|0;oe=g;e=c?c:268480;c=j[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;i=a?a:g+12|0;d:{if(c){a=1;break d}a=k[b|0];c=a<<24>>24;if((c|0)>=0){j[i>>2]=a;d=(c|0)!=0;break a}a=h[b|0];if(!j[j[58825]>>2]){j[i>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=j[(a<<2)+227888>>2];break b}f=k[b|0];l=f>>>3|0;if((l-16|(c>>26)+l)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){j[e>>2]=0;j[i>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=k[b|0];if((f&192)==128){continue}break}}j[e>>2]=0;j[67100]=25;d=-1;break a}j[e>>2]=c}oe=g+16|0;return d}function Br(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;c=Fe(a,0);j[b+12>>2]=c;a:{if(c){break a}c=uf(a,b+8|0,4);j[b+12>>2]=c;if(c){break a}c=3;if(k[b+8|0]!=31|k[b+9|0]!=139|(k[b+10|0]!=8|k[b+11|0]>31)){break a}c=xf(a,6);j[b+12>>2]=c;d=k[b+11|0];if(d&4){d=Xr(a,b+12|0);c=j[b+12>>2];if(c){break a}c=xf(a,d);j[b+12>>2]=c;if(c){break a}c=0;d=k[b+11|0]}if(d&8){while(1){d=hg(a,b+12|0)?0:3;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=k[b+11|0]}if(d&16){while(1){d=hg(a,b+12|0)?0:5;c=j[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=k[b+11|0]}if(!(d&2)){break a}c=xf(a,2)}oe=b+16|0;return c}function tq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=qe[j[a+592>>2]](a)|0;f=j[b>>2];a:{if(!f){break a}h=a+36|0;e=1;while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break a}c=b-2|0;j[a+28>>2]=c;d=b<<2;b=j[a+24>>2];d=l[(d+b|0)-4>>1];b:{if(d>>>0>1]){c=j[b+(c<<2)>>2];b=c>>>4&15;c:{d:{switch(k[a+368|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((l[a+332>>1]+b|0)!=(g|0)){break b}b=c&15;qe[j[a+584>>2]](a,h,d,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1]);break b}if(!k[a+561|0]){break b}j[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}j[a+32>>2]=j[a+28>>2]}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0;i=a,l=sg(),j[i+4>>2]=l;b=j[66362];d=j[66361];a:{b:{if((d|0)<1?!b:0){break b}if(b){if(!(qe[b|0](j[66363],a)|0)){break a}d=j[66361]}if((d|0)<1){break b}h[265460]=1;while(1){b=j[66360]+p(c,12)|0;if(!j[b+8>>2]){qe[j[b>>2]](j[b+4>>2],a)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}h[265460]=0;if(!k[265464]){break b}c=j[66361];if(c){while(1){e=j[66360];b=c;c=b-1|0;f=e+p(c,12)|0;c:{if(!j[f+8>>2]){break c}g=j[66361];d=g-1|0;j[66361]=d;if((b|0)>=(g|0)){break c}Ri(f,p(b,12)+e|0,p(d-c|0,12))}if(c){continue}break}}h[265464]=0}if((mh(a,1,0,0,0)|0)<1){return}SB(a)}}function QG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=oe+ -64|0;oe=d;j[d+8>>2]=0;qe[j[b+60>>2]](b,d+16|0,4,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=jk(a,0,c);j[d+8>>2]=c;if(c){break a}if(j[d+12>>2]<1){c=0;break a}i=j[a+100>>2];l=j[a+528>>2];while(1){a=(d+16|0)+p(e,12)|0;c=j[a>>2];if(k[c|0]==47){c=c+1|0;j[a>>2]=c}f=j[a+4>>2]-c|0;if(!f){c=3;break a}g=He(i,f+1|0,d+8|0);j[((e<<2)+l|0)+8>>2]=g;c=j[d+8>>2];if(c){break a}m=Ae(g,j[a>>2],f)+f|0,n=0,h[m|0]=n;e=e+1|0;if((e|0)>2]){continue}break}c=j[d+8>>2]}j[b+12>>2]=c;oe=d- -64|0}function Xz(a,b,c,d){var e=0,f=0,g=0,l=0,m=0,n=0,o=0;if(!a){ve(85856,0);return}if(k[j[a+4>>2]+8|0]<=7){ve(85932,0);return}if((c|0)>=1){l=j[a+40>>2];n=l+j[a+48>>2]|0;m=j[a+36>>2];o=m+j[a+44>>2]|0;while(1){e=(g<<3)+b|0;f=j[e+4>>2];a:{if((n|0)<=(f|0)){break a}e=j[e>>2];if((e|0)<(m|0)|(e|0)>=(o|0)|(f|0)<(l|0)){break a}b:{switch(k[j[a+4>>2]+9|0]-1|0){case 0:h[e+(j[a+20>>2]+p(j[a+16>>2],f)|0)|0]=d;break a;case 1:i[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<1)>>1]=d;break a;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],f)|0)+(e<<2)>>2]=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function $m(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(b){if(!a){return(b|0)>-1?0-c|0:c}if(!d){return(c|0)>-1?b:0-b|0}if(!c){return(d|0)>-1?0-a|0:a}e=d>>>16|0;f=a&65535;g=p(e,f);h=d&65535;i=a>>>16|0;d=g+p(h,i)|0;a=d<<16;j=c>>>16|0;k=b&65535;l=p(j,k);m=c&65535;n=b>>>16|0;b=l+p(m,n)|0;c=b<<16;e=(p(i,e)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=a+p(h,f)|0;a=e+(d>>>0>>0)|0;e=(p(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+p(m,k)|0;c=e+(b>>>0>>0)|0;e=1;a:{if(a>>>0>c>>>0){break a}e=-1;if(a>>>0>>0){break a}e=1;if(b>>>0>>0){break a}e=b>>>0>d>>>0?-1:0}return e}return(a|0)>-1?d:0-d|0}function TI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=j[a+64>>2];f=j[c+104>>2];g=j[j[c+4>>2]+28>>2];Gn(a);h=j[b+4>>2];d=a+4|0;c=d;e=j[b>>2];j[c+12>>2]=e;j[c>>2]=0;j[c+4>>2]=0;j[c+16>>2]=h;j[c+8>>2]=e;a:{if(Ce(c,1)){break a}c=Ce(d,j[f+44>>2]);if((c|0)==-1){break a}j[a+40>>2]=c;c=j[((c<<2)+g|0)+32>>2];if(!c){break a}c=j[c>>2];j[a+28>>2]=c;b:{if(c){i=a,k=Ce(d,1),j[i+24>>2]=k;c=Ce(d,1);j[a+32>>2]=c;if((c|0)!=-1){break b}break a}j[a+32>>2]=0;j[a+24>>2]=0}c=j[b+20>>2];j[a+48>>2]=j[b+16>>2];j[a+52>>2]=c;c=j[b+28>>2];j[a+56>>2]=j[b+24>>2];j[a+60>>2]=c;b=j[b+12>>2];j[a+36>>2]=0;j[a+44>>2]=b;j[a>>2]=0}}function Ky(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((c|0)>=1){h=j[(k[d+22|0]<<2)+234976>>2];i=j[(k[d+21|0]<<2)+234976>>2];l=j[(k[d+20|0]<<2)+234976>>2];m=k[e+35|0];n=k[e+31|0];o=k[e+34|0];p=k[e+30|0];q=k[e+33|0];r=k[e+29|0];s=k[e+32|0];t=k[e+28|0];u=k[d+26|0];v=k[d+25|0];w=k[d+24|0];e=0;while(1){f=j[b>>2];g=f&-993|f>>>16;j[a>>2]=k[((g&j[d+8>>2])>>>v|0)+i|0]>>>r<>2]&g)>>>w|0)+l|0]>>>t<>2]&g)>>>u|0)+h|0]>>>p<>>2&248)>>>n<=(b|0)){break a}Vj(j[65564]);d=j[65566];e=p(a,60);if(j[(d+e|0)+4>>2]){b=j[65570];if(b){qe[b|0](a);d=j[65566]}f=p(a,60);b=f+d|0;g=b;c=j[b+56>>2];if(c){while(1){b=j[c+12>>2];d=j[c+4>>2];if(d){qe[d|0](a,j[c+8>>2])}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=b;if(b){continue}break}d=j[65566]}j[g+56>>2]=0;b=d+f|0;j[b+20>>2]=0;j[b+4>>2]=0}b=d+e|0;j[b+28>>2]=0;if(j[b+36>>2]){a=p(a,60)+d|0;j[a+16>>2]=j[a+44>>2]}j[b+36>>2]=0;Uj(j[65564])}}function SJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=j[a+16>>2];c=k[a+8204|0]|k[a+8205|0]<<8|(k[a+8206|0]<<16|k[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);f=(b-e|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0}return f|0}function zC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=f>>>4|0;if(d){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c;while(1){n[e>>2]=q(n[c>>2]+n[c+8>>2])*q(.5);n[e+4>>2]=q(n[c+4>>2]+n[c+12>>2])*q(.5);e=e+8|0;c=c+16|0;d=d-1|0;if(d){continue}break}}c=(f|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function XM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0;a:{b:{if(!we(b,120305)){d=6;b=j[c+16>>2];e=j[c+8>>2];if((b|0)<(e|0)){break a}f=j[c>>2];if((e|0)<(f|0)){break a}g=j[c+28>>2];i=j[c+24>>2];l=j[c+20>>2];m=j[c+12>>2];c=j[c+4>>2];if((g|(i|(l|(m|(e|(c|f))|b))))<0|(g|0)>500|((l|0)>500|(m|0)>500)){break a}if((c|0)>500|(b|0)>(i|0)){break a}j[a+60>>2]=i;j[a+48>>2]=m;j[a+36>>2]=f;j[a- -64>>2]=g;j[a+56>>2]=l;j[a+52>>2]=b;j[a+44>>2]=e;j[a+40>>2]=c;break b}if(!we(b,120326)){d=7;if(j[c>>2]!=1){break a}j[a+28>>2]=1;break b}d=12;if(we(b,120341)){break a}h[a+32|0]=k[c|0]}d=0}return d|0}function aD(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}if(Mf(a)){break a}d=j[66036];b:{if(d){while(1){if(!cf(a,j[d>>2])){if(m[d+8>>2]>1){break a}c=j[d+4>>2];c:{if(c){if(!cf(c,b)){break c}}c=j[d+12>>2];if(c){while(1){e=j[c+8>>2];qe[j[c>>2]](j[c+4>>2],a,j[d+4>>2],b);c=e;if(c){continue}break}}a=j[d+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}f=d,g=Uf(b),j[f+4>>2]=g}j[d+8>>2]=1;break b}d=j[d+16>>2];if(d){continue}break}}c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){break a}f=c,g=Uf(a),j[f>>2]=g;a=Uf(b);j[c+12>>2]=0;j[c+8>>2]=1;j[c+4>>2]=a;j[c+16>>2]=j[66036];j[66036]=c}}}function jx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];b=j[a+52>>2];o=b&2?k[a+63|0]<<24:-16777216;q=b&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){r=a;b=j[a+24>>2];if(b){while(1){b=b-1|0;c=j[g>>2];h=c&255;i=c>>>8&255;c=c>>>16&255;if(q){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;c=(p(c,n)>>>0)/255|0}j[d>>2]=c<<16|o|i<<8|h;d=d+4|0;g=g+4|0;if(b){continue}break}d=j[a+28>>2]}else{d=c}b=d;c=b-1|0;j[r+28>>2]=c;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(b){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function cr(a,b){var c=0,d=0,e=0,f=0;c=j[a+32>>2];e=b;d=j[a+28>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+32>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+24>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;c=j[a+20>>2];d=j[a+16>>2];if(d){while(1){f=j[c+8>>2];if(f){qe[j[b+8>>2]](b,f)}j[c+8>>2]=0;j[c+12>>2]=0;j[c>>2]=0;j[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=j[a+20>>2]}if(c){qe[j[e+8>>2]](e,c)}j[a+12>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;e=j[a+8>>2];if(e){qe[j[b+8>>2]](b,e)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}function YH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);a=j[a+384>>2]+(b<<2)|0;j[a>>2]=c+j[a>>2]}function Vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;b=j[a+28>>2];c=b-1|0;j[a+28>>2]=c;if(b){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];b=j[a+52>>2];q=b&2?k[a+63|0]<<24:-16777216;r=b&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){s=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;c=j[g>>2];i=c&255;l=c>>>8&255;b=c>>>16&255;c=f;if(r){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[c>>2]=i<<16|q|l<<8|b;f=f+4|0;g=g+4|0;if(h){continue}break}c=j[a+28>>2]}b=c;c=b-1|0;j[s+28>>2]=c;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(b){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function PG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-208|0;oe=d;f=j[a+528>>2];qe[j[b+60>>2]](b,d+16|0,16,d+12|0);c=j[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=j[f>>2];if(g){break c}}e=jk(a,c,0);if(e){break a}f=j[a+528>>2];c=j[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=j[b+8>>2];g=j[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+p(c,12)|0;j[b>>2]=j[a>>2];j[b+8>>2]=j[a+4>>2];a=qe[j[b+40>>2]](b,0)|0;h=c<<2;j[h+j[f+136>>2]>>2]=a;j[j[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}j[b+8>>2]=e;j[b>>2]=g;e=0}j[b+12>>2]=e;oe=d+208|0}function HI(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,r=0;g=3;f=b+2|0;a:{if(f>>>0>c>>>0){break a}h=k[b+1|0]|k[b|0]<<8;if((h<<2)+f>>>0>c>>>0){break a}c=j[a+12>>2];m=k[c+14|0];n=l[c+12>>1];o=l[c+10>>1];p=k[c+8|0];q=l[c+6>>1];r=l[c+4>>1];b=0;b:{if(!h){g=0;break b}while(1){g=Cq(a,k[f+1|0]|k[f|0]<<8,k[f+2|0]+d|0,k[f+3|0]+e|0);if(!g){f=f+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}}break}c=j[a+12>>2]}i[c+14>>1]=m;i[c+8>>1]=p;i[c+12>>1]=n<<24>>24;i[c+10>>1]=o<<24>>24;i[c+6>>1]=q<<24>>24;i[c+4>>1]=r<<24>>24;a=j[a+8>>2];i[c+2>>1]=k[a+4|0];i[c>>1]=k[a|0]}return g|0}function fC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(q(l[b>>1])*q(30517578125e-15))+q(-1);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function mj(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;j[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}f=j[a>>2];d=He(f,40,e+12|0);a=j[e+12>>2];if(a){break a}j[d+28>>2]=f;b:{c:{d:{a=j[b>>2];e:{f:{if(a&1){a=j[b+4>>2];b=j[b+8>>2];j[d+32>>2]=0;j[d+8>>2]=0;j[d+4>>2]=b;j[d>>2]=a;j[d+20>>2]=0;j[d+24>>2]=0;break f}if(a&4){a=ZN(d,j[b+12>>2]);j[e+12>>2]=a;j[d+16>>2]=j[b+12>>2];break e}if(!(a&2)|!j[b+16>>2]){break d}if(d){qe[j[f+8>>2]](f,d)}d=j[b+16>>2]}a=j[e+12>>2]}if(a){break c}j[d+28>>2]=f;a=0;break b}j[e+12>>2]=6}if(d){qe[j[f+8>>2]](f,d)}d=0;a=j[e+12>>2]}j[c>>2]=d}oe=e+16|0;return a}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0;if(!(a|b)){return 0}c=b>>31;d=c+b^c;c=a>>31;d=d|c+a^c;c=s(d);a:{if(d>>>0<=1073741823){c=c-2|0;b=b<>c;a=a>>c}c=0-a|0;b:{if((a|0)<(b|0)){e=5898240;if((b|0)>(c|0)){d=c;c=b;break b}e=(b|0)>0?11796480:-11796480;d=0-b|0;break b}if((b|0)>=(c|0)){d=b;c=a;break b}c=0-b|0;e=-5898240;d=a}f=116640;b=1;a=1;while(1){g=b+d>>a;c:{if((d|0)>=1){e=j[f>>2]+e|0;d=d-(b+c>>a)|0;c=c+g|0;break c}e=e-j[f>>2]|0;d=(b+c>>a)+d|0;c=c-g|0}b=b<<1;f=f+4|0;a=a+1|0;if((a|0)!=23){continue}break}if((e|0)>=0){return e+8&-16}return 0-(8-e&-16)|0}function mD(a){if(!we(a,228092)){return 1071}if(!we(a,228105)){return 1072}if(!we(a,228121)){return 1073}if(!we(a,228131)){return 1074}if(!we(a,228144)){return 1075}if(!we(a,228155)){return 1076}if(!we(a,228170)){return 1077}if(!we(a,228183)){return 1078}if(!we(a,228202)){return 1079}if(!we(a,228222)){return 1080}if(!we(a,228243)){return 1081}if(!we(a,228265)){return 1082}if(!we(a,228283)){return 1083}if(!we(a,228304)){return 1084}if(!we(a,228322)){return 1085}if(!we(a,228338)){return 1086}if(!we(a,228352)){return 1087}if(!we(a,228374)){return 1088}return we(a,228398)?0:1089}function tv(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;f=oe-80|0;oe=f;a:{if((a|0)<=0){j[f>>2]=97419;ve(97352,f);break a}if((b|0)<=0){j[f+16>>2]=97425;ve(97352,f+16|0);break a}if(!d){j[f+32>>2]=97432;ve(97352,f+32|0);break a}if(!e){j[f+48>>2]=97438;ve(97352,f+48|0);break a}if((c|0)>0){g=b;while(1){i=(h<<4)+d|0;k=j[i+4>>2];i=k+j[i+12>>2]|0;l=(b|0)<(i|0)?b:(i|0)>(l|0)?i:l;g=(k|0)<0?0:(g|0)>(k|0)?k:g;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=0;if((g|0)>=(l|0)){break a}j[e+8>>2]=a;j[e+4>>2]=g;j[e>>2]=0;j[e+12>>2]=l-g;h=1;break a}j[f+64>>2]=97443;ve(97352,f- -64|0)}oe=f+80|0;return h}function zF(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,l=0;f=k[e+128|0]|k[e+129|0]<<8|(k[e+130|0]<<16|k[e+131|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!h){return 1}e=e+132|0;while(1){f=k[e+8|0]|k[e+9|0]<<8|(k[e+10|0]<<16|k[e+11|0]<<24);g=k[e|0]|k[e+1|0]<<8|(k[e+2|0]<<16|k[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=k[e+7|0];j=i|(k[e+5|0]<<16|k[e+4|0]<<24|k[e+6|0]<<8);if(i&3){If(a,0,c,g,208834)}if(!(d-j>>>0>=(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?d>>>0>=j>>>0:0)){If(a,b,c,g,208876);return 0}e=e+12|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}return 1}function _I(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[b+28>>2];c=qe[j[a+508>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=_e(b,4);j[d+12>>2]=c;if(c){break a}g=a,h=af(b),i[g+540>>1]=h;g=a,h=af(b),i[g+542>>1]=h;Ve(b);if(l[a+540>>1]>=2){i[a+542>>1]=0;c=8;break a}c=e;e=l[a+542>>1];g=a,h=xe(c,4,0,e,0,d+12|0),j[g+544>>2]=h;c=j[d+12>>2];if(c){break a}c=_e(b,e<<2);j[d+12>>2]=c;if(c){break a}if(e){c=j[a+544>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=af(b),i[g>>1]=h;g=f,h=af(b),i[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Ve(b);c=j[d+12>>2]}oe=d+16|0;return c|0}function XH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0;f=j[a+256>>2];if(!f){t=a;f=i[a+296>>1];g=j[a+244>>2];a:{if(!f){break a}e=i[a+294>>1];g=j[a+248>>2];if(!e){break a}k=j[a+244>>2];d=k>>31;m=d^d+k;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;l=j[a+248>>2];h=l>>31;q=h^h+l;h=f>>31;r=h+f^h;s=p(q>>>16|0,r);h=s<<16|8192;g=d;d=d+p(n,m&65535)|0;d=(o>>>16|0)+(g>>>0>d>>>0)<<18|d>>>14;g=(e^k)>-1?d:0-d|0;e=h+p(r,q&65535)|0;e=(s>>>16|0)+(e>>>0>>0)<<18|e>>>14;g=ig(g,(f^l)>-1?e:0-e|0)}f=g;j[t+256>>2]=f}c=De(c,f);j[j[a+384>>2]+(b<<2)>>2]=c}function lh(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+420|0;f=j[a+412>>2];d=j[a+428>>2];if(d){while(1){h=j[d>>2];g=j[d+4>>2];if(!(!g|b>>>0>g>>>0)){a:{if((b|0)==(g|0)){j[e+8>>2]=j[d+8>>2];j[d+8>>2]=j[a+432>>2];j[a+432>>2]=d;break a}j[d+4>>2]=g-b;j[d>>2]=b+h}if(c){j[c>>2]=h}return h+j[a+408>>2]|0}e=d;d=j[d+8>>2];if(d){continue}break}}d=j[a+416>>2];f=b+f|0;if(d>>>0>>0){e=j[a+408>>2];while(1){d=e?d<<1:2048;e=mf(e,d);if(!e){Be(0);return 0}j[a+416>>2]=d;j[a+408>>2]=e;if(d>>>0>>0){continue}break}}d=j[a+412>>2];e=j[a+408>>2];if(c){j[c>>2]=d}j[a+412>>2]=j[a+412>>2]+b;return d+e|0}function Wn(){var a=0,b=0,c=0;a:{b:{c:{b=j[65557];switch(b|0){case 0:break a;case 1:break c;default:break b}}if(j[65565]>=1){while(1){Sy(a);a=a+1|0;if((a|0)>2];c=j[a+4>>2];if(c){qe[c|0](-2,j[a+8>>2])}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=b;if(a){continue}break}}j[65571]=0;Uj(j[65564]);zB();EB();Rn(-1);iz();Po(j[65564]);j[65564]=0;b=j[65566];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65566]=0;b=j[65556];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[65555]=0;j[65556]=0;b=j[65557]}j[65557]=b-1}}function Hl(a,b,c,d){var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0;e=b;f=8-c|0;b=1<>2]=l;n=b>>>0>1?b:1;o=+(d|0)*1e-5;q=1<<15-c;m=-1<<16-c^-1;r=1/+(m|0);b=0;s=d-95e3>>>0<10001;while(1){g=qh(a,512);j[(b<<2)+l>>2]=g;d=0;e=0;a:{if(!s){while(1){h=(d<<1)+g|0;k=v(Bg(r*+((d<>>0),o)*65535+.5);b:{if(k<4294967296&k>=0){e=~~k>>>0;break b}e=0}i[h>>1]=e;d=d+1|0;if((d|0)!=256){continue}break a}}while(1){d=(e<>>0)/(m>>>0)|0}i[h>>1]=d;e=e+1|0;if((e|0)!=256){continue}break}}b=b+1|0;if((n|0)!=(b|0)){continue}break}}function DC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=q(0);c=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=c<<1;f=c>>>2|0;if(f){e=c;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);g=e+c|0;e=c+d|0;while(1){c=e-8|0;g=g-4|0;i=n[g>>2];n[c>>2]=i;n[e-4>>2]=i;e=c;f=f-1|0;if(f){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function $H(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;g=oe-16|0;oe=g;a:{if(d&16){if(!c){break a}d=0;while(1){m=(d<<2)+e|0;b:{if(k[a+292|0]){qe[j[j[a+532>>2]+112>>2]](a,1,b+d|0,g+14|0,g+12|0);f=l[g+12>>1];break b}if(l[a+364>>1]!=65535){f=i[a+434>>1]-i[a+436>>1]|0;h=f>>31;f=h^h+f;break b}f=i[a+220>>1]-i[a+222>>1]|0;h=f>>31;f=h^h+f}j[m>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!c){break a}d=0;while(1){qe[j[j[a+532>>2]+112>>2]](a,0,b+d|0,g+10|0,g+8|0);j[(d<<2)+e>>2]=l[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}oe=g+16|0;return 0}function gC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<1;e=b>>>1|0;if(e){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);b=(c+b|0)-2|0;c=(d+c|0)-4|0;while(1){n[c>>2]=q(i[b>>1])*q(30517578125e-15);c=c-4|0;b=b-2|0;e=e-1|0;if(e){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Iy(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=(j[e+24>>2]?255:0)>>>k[e+31|0]<>2];i=j[(k[d+21|0]<<2)+234976>>2];m=j[(k[d+20|0]<<2)+234976>>2];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=l[b>>1];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+i|0]>>>q<>2])>>>v|0)+m|0]>>>s<>2])>>>t|0)+h|0]>>>o<>2],k[j[a+44>>2]+9|0]);e=j[a+32>>2];d=j[a+12>>2];b=j[a+28>>2];c=j[a>>2];a:{b:{a=j[a+20>>2];c:{if(c>>>0>>0){if(p(b,d)+c>>>0>a>>>0){break c}break b}if(p(b,e)+a>>>0<=c>>>0){break b}}if(a>>>0>>0){if(!b){break a}while(1){Ri(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}g=0-e|0;h=0-d|0;i=d;d=b-1|0;c=p(i,d)+c|0;a=p(d,e)+a|0;while(1){Ri(a,c,f);a=a+g|0;c=c+h|0;b=b-1|0;if(b){continue}break}break a}if(!b){break a}while(1){Ge(a,c,f);a=a+e|0;c=c+d|0;b=b-1|0;if(b){continue}break}}}function XO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=oe-16|0;oe=e;a:{b:{if(!we(b,116356)){d=j[c>>2];b=0;c=113632;while(1){if(j[c+16>>2]==10?(d|0)==j[c+8>>2]:0){break a}b=b+1|0;c=j[(b<<2)+114864>>2];if((b|0)!=49){continue}break}d=6;break b}c:{if(!we(b,116372)){j[a+16>>2]=j[c>>2];break c}if(!we(b,116387)){b=j[c>>2];if(!b){d=35;break b}d=j[b+116>>2];j[e+12>>2]=d;if(!d){d=vk(b,e+12|0,a);if(d){break b}d=j[e+12>>2];j[b+116>>2]=d;j[b+120>>2]=561}j[d+12>>2]=j[c+4>>2];break c}d=12;if(we(b,116405)){break b}h[a+20|0]=k[c|0]}d=0}oe=e+16|0;return d|0}j[a+12>>2]=b;oe=e+16|0;return 0}function WH(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,q=0,r=0;q=j[j[a+384>>2]+(b<<2)>>2];b=j[a+256>>2];if(!b){r=a;b=i[a+296>>1];e=j[a+244>>2];a:{if(!b){break a}d=i[a+294>>1];e=j[a+248>>2];if(!d){break a}g=j[a+244>>2];c=g>>31;h=c^c+g;c=d>>31;k=c+d^c;l=p(h>>>16|0,k);c=l<<16|8192;a=j[a+248>>2];f=a>>31;m=f^a+f;f=b>>31;n=f+b^f;o=p(m>>>16|0,n);f=o<<16|8192;e=c;c=c+p(k,h&65535)|0;c=(l>>>16|0)+(e>>>0>c>>>0)<<18|c>>>14;e=(d^g)>-1?c:0-c|0;d=f+p(n,m&65535)|0;d=(o>>>16|0)+(d>>>0>>0)<<18|d>>>14;e=ig(e,(a^b)>-1?d:0-d|0)}b=e;j[r+256>>2]=b}return ye(q,b)|0}function zA(a,b){var c=q(0),d=0,e=q(0),f=q(0),g=q(0),h=0;d=oe-48|0;oe=d;a:{if(!(j[a>>2]==268305?a:0)){ve(73421,0);break a}h=d;b:{if(b){e=n[b+12>>2];g=n[b+8>>2];f=n[b>>2];c=n[b+4>>2];break b}c=q(q(j[a+228>>2])/n[a+292>>2]);c:{if(q(r(c))>2])/n[a+288>>2]);d:{if(q(r(c))>2]=c;e=q(q(c+e)+q(-1));n[d+28>>2]=e;n[d+20>>2]=e;n[d+32>>2]=f;n[d+24>>2]=f;n[d+12>>2]=c;n[d+4>>2]=c;n[d>>2]=f;c=q(q(f+g)+q(-1));n[d+16>>2]=c;n[d+8>>2]=c;BA(a,d)}oe=d+48|0}function jF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!a){break a}d=j[a>>2];if(!d){break a}$p(d,c);$p(d,b);j[a>>2]=0;Wp(d);Ke(d,j[d+728>>2]);j[d+728>>2]=0;Ke(d,j[d+804>>2]);j[d+804>>2]=0;Ke(d,j[d+788>>2]);j[d+788>>2]=0;Ke(d,j[d+612>>2]);j[d+612>>2]=0;Ke(d,j[d+616>>2]);j[d+616>>2]=0;a=j[d+676>>2];if(a&4096){aq(d,j[d+416>>2]);j[d+416>>2]=0;a=j[d+676>>2]}c=a&-4097;j[d+676>>2]=c;b=d;if(a&8192){Ke(d,j[d+528>>2]);j[d+528>>2]=0;c=j[d+676>>2]}j[b+676>>2]=c&-8193;tE(d+224|0);Ke(d,j[d+568>>2]);j[d+568>>2]=0;Ke(d,j[d+772>>2]);j[d+772>>2]=0;Ke(d,j[d+696>>2]);j[d+696>>2]=0;uF(d)}}function Jy(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((c|0)>=1){g=j[(k[d+22|0]<<2)+234976>>2];h=j[(k[d+21|0]<<2)+234976>>2];i=j[(k[d+20|0]<<2)+234976>>2];l=k[e+35|0];m=k[e+31|0];n=k[e+34|0];o=k[e+30|0];p=k[e+33|0];q=k[e+29|0];r=k[e+32|0];s=k[e+28|0];t=k[d+26|0];u=k[d+25|0];v=k[d+24|0];while(1){e=j[b>>2];j[a>>2]=k[((e&j[d+8>>2])>>>u|0)+h|0]>>>q<>2])>>>v|0)+i|0]>>>s<>2])>>>t|0)+g|0]>>>o<>>24>>>m<>2]=1;k=j[d+8>>2];l=j[d+12>>2];b=j[d+4>>2];m=j[c+16>>2];d=j[d>>2];c=j[c+12>>2];h=n[e+8>>2];i=n[e+12>>2];f=n[e+4>>2];g=n[e>>2];n[a+16>>2]=g;n[a+12>>2]=f;n[a+4>>2]=f;n[a>>2]=g;f=q(f+i);n[a+28>>2]=f;g=q(g+h);n[a+24>>2]=g;n[a+20>>2]=f;n[a+8>>2]=g;f=q(c|0);g=q(q(d|0)/f);n[a+48>>2]=g;h=q(m|0);i=q(q(b|0)/h);n[a+44>>2]=i;n[a+36>>2]=i;n[a+32>>2]=g;g=q(q(b+l|0)/h);n[a+60>>2]=g;f=q(q(d+k|0)/f);n[a+56>>2]=f;n[a+52>>2]=g;n[a+40>>2]=f;return 0}function My(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if((c|0)>=1){f=j[(k[d+30|0]<<2)+234976>>2];g=j[(k[d+29|0]<<2)+234976>>2];h=j[(k[d+28|0]<<2)+234976>>2];l=j[e+24>>2];m=k[e+34|0];n=k[e+30|0];o=k[e+33|0];p=k[e+29|0];q=k[e+32|0];r=k[e+28|0];s=k[d+34|0];t=j[d+20>>2];u=k[d+33|0];v=j[d+16>>2];w=k[d+32|0];x=j[d+12>>2];e=0;while(1){d=j[b>>2];i[a>>1]=k[((d&v)>>>u|0)+g|0]>>>p<>>w|0)+h|0]>>>r<>>s|0)+f|0]>>>n<>2]=97078;ve(97052,d);break a}Xj(268332);c=j[a+36>>2];j[a+36>>2]=c-1;if((c|0)>=2){j[67083]=0;break a}b=j[67084];b:{if((b|0)==(a|0)){j[67084]=j[a+40>>2];break b}if(!b){break b}while(1){c=b;b=j[b+40>>2];if(!b){break b}if((a|0)!=(b|0)){continue}break}j[c+40>>2]=j[a+40>>2]}j[67083]=0;b=j[a+4>>2];c:{if(!b){break c}c=j[b+12>>2];j[b+12>>2]=c-1;if((c|0)>1){break c}c=j[b+4>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=d+16|0}function Ir(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;j[a+44>>2]=b;Dg(j[a>>2],b);c=j[a>>2];b=j[j[c+656>>2]+2952>>2];c=Kf(j[j[c+96>>2]+4>>2],120928);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}e=qe[b|0](c)|0;if(!e){break a}f=j[j[a>>2]+656>>2];c=j[f+1392>>2];h=j[a+40>>2];qe[j[e+4>>2]](j[h>>2],j[a+16>>2],j[a+20>>2],0,0);b=j[f+1896>>2];if(!b){break a}while(1){g=j[a+16>>2];b=b-1|0;i=b<<2;d=j[j[(i+f|0)+1900>>2]+68>>2];b:{if((d|0)!=(c|0)){g=Ne(g,c,d);d=Ne(j[a+20>>2],c,d);break b}d=j[a+20>>2]}qe[j[e+4>>2]](j[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function vv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;g=oe-32|0;oe=g;a:{if(!a){j[g>>2]=97389;ve(97352,g);break a}if(b){b:{c=j[b+8>>2];if((c|0)<1){break a}f=j[b+12>>2];if((f|0)<1){break a}i=j[b+4>>2];n=f+i|0;k=j[b>>2];o=c+k|0;f=0;b=0;while(1){d=(h<<3)+a|0;c=j[d+4>>2];c:{if((c|0)>=(n|0)){break c}d=j[d>>2];if((d|0)<(k|0)|(d|0)>=(o|0)|(c|0)<(i|0)){break c}if(!e){e=1;break a}e=(d|0)<(l|0);b=e?b:(b|0)<(d|0)?d:b;l=e?d:l;e=1;if((c|0)<(f|0)){f=c;break c}m=(c|0)>(m|0)?c:m}h=h+1|0;if((h|0)!=1){continue}break}if(e){break b}e=0;break a}}e=1}oe=g+32|0;return e}function Og(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{g=j[a+192>>2];h=j[a+188>>2];if(g|h){b=j[a+180>>2];c=j[a+156>>2];d=(b|0)<(c|0)?b:c;f=j[a+1420>>2]+(j[a+160>>2]<<2)|0;c=j[f>>2];b:{c:{if(!c){c=0;break c}e=j[c>>2];if((e|0)>(d|0)){break c}d:{while(1){b=c;if((d|0)==(e|0)){break b}c=j[b+12>>2];if(c){e=j[c>>2];if((e|0)>(d|0)){break d}continue}break}c=0}f=b+12|0}b=j[a+208>>2];if((b|0)>=j[a+204>>2]){break a}j[a+208>>2]=b+1;b=j[a+200>>2]+(b<<4)|0;j[b>>2]=d;j[b+12>>2]=c;j[b+4>>2]=0;j[b+8>>2]=0;j[f>>2]=b}j[b+8>>2]=j[b+8>>2]+h;j[b+4>>2]=j[b+4>>2]+g}return}F(a|0,1);z()}function yC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);if(d+7>>>0>=15){e=(d|0)/8|0;c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);f=c;while(1){n[f>>2]=q(n[c>>2]+n[c+4>>2])*q(.5);c=c+8|0;f=f+4|0;e=e-1|0;if(e){continue}break}}c=(d|0)/2|0;h[a+24|0]=c;h[a+25|0]=c>>>8;h[a+26|0]=c>>>16;h[a+27|0]=c>>>24;c=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=c;h[a+81|0]=c>>>8;h[a+82|0]=c>>>16;h[a+83|0]=c>>>24;c=(c<<2)+a|0;c=k[c+40|0]|k[c+41|0]<<8|(k[c+42|0]<<16|k[c+43|0]<<24);if(c){qe[c|0](a,b)}}function tj(a){var b=0,c=0,d=0,e=0,f=0;b=oe-32|0;oe=b;d=j[67085];a:{if(!d){ve(99429,0);break a}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);break a}c=j[a+108>>2];if(j[a+112>>2]){break a}if(c){j[c>>2]=j[c>>2]&-5;kf(c);d=j[67085]}c=0;f=j[d+136>>2];b:{if(!f|!j[d+140>>2]){break b}if((qe[f|0](d,a,b+28|0,b+24|0,b+20|0)|0)<0){break b}if(!ci(j[b+28>>2],b+16|0,b+12|0,b+8|0,b+4|0,b)){break b}e=Aj(j[b+24>>2],j[a+24>>2],j[a+28>>2],j[b+16>>2],j[b+20>>2],j[b+12>>2],j[b+8>>2],j[b+4>>2],j[b>>2])}j[a+108>>2]=e;if(!e){break a}j[a+112>>2]=1;j[e>>2]=j[e>>2]|4;c=e}oe=b+32|0;return c}function Ie(a,b){var c=0,d=0;c=oe-1024|0;oe=c;if(b){while(1){d=b>>>0<1024?b:1024;b=b-d|0;if(a){pf(a,c,d);tf(a,c,d)}if(b){continue}break}}b=j[a+212>>2];a:{b:{c:{d:{if(k[a+379|0]&32){j[a+800>>2]=129;pf(a,c,4);if((b&768)==768){break d}break c}j[a+800>>2]=129;pf(a,c,4);if(!(b&2048)){break c}}b=0;break b}d=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);b=0;if(j[a+412>>2]==(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}b=j[a+212>>2];e:{if(k[a+379|0]&32){if(!(b&512)){break e}break a}if(!(b&1024)){break a}}yi(a,211041);b=1}oe=c+1024|0;return b}hf(a,211041);z()}function sj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;i=(d+1|0)/2|0;o=(f+1|0)/2|0;l=(b+1|0)/2|0;f=p(b,f)+e|0;c=p(b,d)+c|0;a:{if((f|0)!=(c|0)){d=c;break a}e=p(i,l)<<1;d=e;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,e);n=d}if(b+2>>>0>=3){c=i-m|0;e=o-m<<1;i=p(i,l)+d|0;b=g?i:d;d=g?d:i;g=a+2>>>0<3;while(1){l=l-1|0;a=m;if(!g){while(1){h[f|0]=k[b|0];h[f+1|0]=k[d|0];f=f+2|0;d=d+1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=e+f|0;d=c+d|0;b=b+c|0;if(l){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function rj(a,b,c,d,e,f,g){var i=0,l=0,m=0,n=0,o=0;m=(a+1|0)/2|0;o=(f+1|0)/2|0;l=(d+1|0)/2|0;i=(b+1|0)/2|0;c=p(b,d)+c|0;e=p(b,f)+e|0;a:{if((c|0)!=(e|0)){d=c;break a}f=p(i,l)<<1;d=f;d=qe[j[57972]](d?d:1)|0;if(d){j[57976]=j[57976]+1}if(!d){return Be(0)}Ge(d,c,f);n=d}if(b+2>>>0>=3){c=o-m|0;l=l-m<<1;f=e+p(i,o)|0;b=g?f:e;f=g?e:f;e=a+2>>>0<3;while(1){i=i-1|0;a=m;if(!e){while(1){h[b|0]=k[d|0];h[f|0]=k[d+1|0];f=f+1|0;d=d+2|0;b=b+1|0;a=a-1|0;if(a){continue}break}}f=c+f|0;b=b+c|0;d=d+l|0;if(i){continue}break}}if(n){if(n){qe[j[57975]](n);j[57976]=j[57976]-1}}return 0}function iC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(q(k[e|0])*q(.0078125))+q(-1);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function uE(a,b,c){var d=0,e=0,f=0;a:{d=j[a+28>>2];e=j[d+52>>2];b:{if(!e){f=1;e=qe[j[a+32>>2]](j[a+40>>2],1<>2],1)|0;j[d+52>>2]=e;if(!e){break b}}a=j[d+40>>2];if(!a){j[d+44>>2]=0;j[d+48>>2]=0;a=1<>2];j[d+40>>2]=a}if(a>>>0<=c>>>0){Ae(e,b-a|0,a);j[d+48>>2]=0;break a}f=j[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;Ae(e+f|0,b-c|0,a);c=c-a|0;if(c){Ae(j[d+52>>2],b-c|0,c);j[d+48>>2]=c;break a}f=0;b=a+j[d+48>>2]|0;c=b;b=j[d+40>>2];j[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=j[d+44>>2];if(c>>>0<=b>>>0){break b}j[d+44>>2]=a+b}return f}j[d+44>>2]=j[d+40>>2];return 0}function _H(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=oe-16|0;oe=e;c=j[a>>2];a:{if(k[c+8|0]&2){d=qe[j[j[c+532>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=j[e+12>>2];j[a+112>>2]=c;b=j[a>>2];if(h[b+8|0]&1){Dg(b,c);Yl(a);d=0;break a}d=qe[j[j[b+532>>2]+108>>2]](b,c,a+12|0)|0;if(!d){d=0;break a}j[a+112>>2]=-1;break a}j[a+112>>2]=-1;c=j[a>>2]}Ei(c,b);if(!(h[j[a>>2]+8|0]&1)){break a}d=Yl(a);j[a+36>>2]=j[a+68>>2];b=j[a+64>>2];j[a+28>>2]=j[a+60>>2];j[a+32>>2]=b;b=j[a+56>>2];j[a+20>>2]=j[a+52>>2];j[a+24>>2]=b;b=j[a+48>>2];j[a+12>>2]=j[a+44>>2];j[a+16>>2]=b}oe=e+16|0;return d|0}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=oe-16|0;oe=f;sP(+b);h=pP(1)|0;e=pP(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?s(e)+32|0:s(c);Nf(f,d,g,0,0,c+49|0);k=j[f>>2];i=j[f+4>>2];e=15372-c<<16;c=j[f+8>>2];d=e|j[f+12>>2]^65536}j[a>>2]=k;j[a+4>>2]=i;j[a+8>>2]=c;j[a+12>>2]=h&-2147483648|d;oe=f+16|0}function Af(a){var b=0,c=0;if(a){qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=1;j[a+56>>2]=1;j[a+60>>2]=0;qe[j[66054]](a);b=j[a+84>>2];if(b){if(b){c=j[b+792>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+80>>2];if(b){if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}}b=j[a+72>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Ih(j[a+52>>2]);b=j[a>>2];a:{if(!b){break a}b=(b<<2)+264284|0;if(j[b>>2]!=(a|0)){break a}j[b>>2]=0}if(j[a+96>>2]){qe[j[66052]](a)}nh(j[a+92>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function ik(a,b,c){var d=0,e=0;a:{d=j[a+24>>2];e=j[b+24>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+28>>2];e=j[b+28>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a>>2];e=j[b>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+4>>2];e=j[b+4>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+8>>2];e=j[b+8>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+12>>2];e=j[b+12>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}d=j[a+16>>2];e=j[b+16>>2];if((d|0)<(e-c|0)|(d|0)>(c+e|0)){break a}a=j[a+20>>2];b=j[b+20>>2];return(a|0)>=(b-c|0)&(a|0)<=(b+c|0)}return 0}function SM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;df(b,j[a>>2],24);df(b,j[a+4>>2],24);df(b,j[a+8>>2]-1|0,24);df(b,j[a+12>>2]-1|0,6);df(b,j[a+20>>2],8);a:{if(j[a+12>>2]<1){break a}h=a+24|0;while(1){c=(e<<2)+h|0;d=j[c>>2];g=j[c>>2];b:{if(((d?32-s(d)|0:0)|0)>=4){df(b,g,3);df(b,1,1);df(b,j[c>>2]>>3,5);break b}df(b,g,4)}d=0;c=j[c>>2];if(c){while(1){d=(c&1)+d|0;c=c>>>1|0;if(c){continue}break}}f=d+f|0;e=e+1|0;if((e|0)>2]){continue}break}if((f|0)<1){break a}a=a+280|0;c=0;while(1){df(b,j[a+(c<<2)>>2],8);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function vE(a){var b=0;if(k[212452]==49){if(!a){return-2}j[a+24>>2]=0;b=j[a+32>>2];if(!b){j[a+40>>2]=0;j[a+32>>2]=1061;b=1061}if(!j[a+36>>2]){j[a+36>>2]=1062}b=qe[b|0](j[a+40>>2],1,7116)|0;if(!b){return-4}j[a+28>>2]=b;j[b+44>>2]=0;j[b+48>>2]=0;j[b+36>>2]=15;j[b+40>>2]=0;j[b+8>>2]=1;j[b+52>>2]=0;j[b+28>>2]=0;j[a+48>>2]=1;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+80>>2]=a;j[b+12>>2]=0;j[b+20>>2]=32768;j[b+32>>2]=0;j[b+108>>2]=a;j[b>>2]=0;j[b+4>>2]=0;j[b+56>>2]=0;j[b+60>>2]=0;j[b+76>>2]=a;a=0}else{a=-6}return a}function vw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h|i<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Tv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|i|h<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b>>>24|0;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,l)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,m)>>>0)/255|0}j[d>>2]=b<<8|h<<16|i;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function tL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;h[a+68|0]=1;j[a+64>>2]=0;j[a+8>>2]=d;j[a+4>>2]=b;j[a>>2]=j[b+100>>2];a:{if(!d){break a}b=j[j[d+156>>2]>>2];j[a+12>>2]=b;j[a+20>>2]=b+56;j[a+16>>2]=b+20;Yh(b);b=j[c+40>>2];j[a+72>>2]=0;j[a+76>>2]=b;if(!e){break a}j[a+72>>2]=j[j[d+156>>2]+36>>2]}j[a+24>>2]=0;j[a+28>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;b=j[33364];j[a+80>>2]=j[33363];j[a+84>>2]=b;b=j[33366];j[a+88>>2]=j[33365];j[a+92>>2]=b;b=j[33368];j[a+96>>2]=j[33367];j[a+100>>2]=b;b=j[33370];j[a+104>>2]=j[33369];j[a+108>>2]=b}function lu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=oe-16|0;oe=a;h=j[c+32>>2];H(j[c+12>>2],a+8|0,a|0)|0;g=j[c+4>>2];d=+j[g+28>>2]/o[a>>3];e=+j[g+24>>2]/o[a+8>>3];a:{if(h){e=o[33543]+e*+j[b+36>>2];b:{if(r(e)<2147483648){c=~~e;break b}c=-2147483648}b=j[b+40>>2];o[33543]=e- +(c|0);d=o[33544]+d*+(b|0);c:{if(r(d)<2147483648){f=~~d;break c}f=-2147483648}o[33544]=d- +(f|0);break a}d=d*+j[b+48>>2];d:{if(r(d)<2147483648){f=~~d;break d}f=-2147483648}d=e*+j[b+44>>2];if(r(d)<2147483648){c=~~d;break a}c=-2147483648}Pj(g,0,h,c,f);oe=a+16|0;return 0}function iv(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,i=0,k=0;e=oe;k=e;a:{if(j[a+8>>2]>=1){f=e;g=j[a>>2];e=(d|0)/(g|0)|0;i=f-((e<<2)+15&-16)|0;oe=i;if((e|0)>=1){d=0;while(1){h=ai(a,c);f=-1;if((h|0)==-1){break a}g=j[a>>2];j[(d<<2)+i>>2]=j[a+16>>2]+(p(h,g)<<2);d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=0;f=0;if((g|0)<=0){break a}f=(e|0)<1;c=0;while(1){a=0;if(!f){while(1){h=(a+d<<2)+b|0;n[h>>2]=n[j[(a<<2)+i>>2]+(c<<2)>>2]+n[h>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=d+e|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=0}oe=k;return f|0}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24);d=b<<2;if(b){c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);e=c+b|0;c=(d+c|0)-4|0;while(1){e=e-1|0;n[c>>2]=q(h[e|0])*q(.0078125);c=c-4|0;b=b-1|0;if(b){continue}break}}h[a+24|0]=d;h[a+25|0]=d>>>8;h[a+26|0]=d>>>16;h[a+27|0]=d>>>24;b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function VH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0;q=l[a+252>>1];b=j[a+256>>2];if(!b){r=a;e=i[a+296>>1];b=j[a+244>>2];a:{if(!e){break a}c=i[a+294>>1];b=j[a+248>>2];if(!c){break a}f=j[a+244>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;k=p(g>>>16|0,h);b=k<<16|8192;a=j[a+248>>2];d=a>>31;m=d^a+d;d=e>>31;n=d+e^d;o=p(m>>>16|0,n);d=o<<16|8192;s=b;b=b+p(h,g&65535)|0;b=(k>>>16|0)+(s>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+p(n,m&65535)|0;c=(o>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=ig(b,(a^e)>-1?c:0-c|0)}j[r+256>>2]=b}return ye(q,b)|0}function Pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){h=(p(h,l)>>>0)/255|0;i=(p(i,m)>>>0)/255|0;b=(p(b,n)>>>0)/255|0}j[d>>2]=i<<8|b<<16|h;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){l=k[a+62|0];m=k[a+61|0];n=k[a+60|0];o=j[a+52>>2]&1;e=j[a+20>>2];d=e;f=j[a>>2];g=f;while(1){q=a;c=j[a+24>>2];if(c){while(1){c=c-1|0;b=j[g>>2];h=b&255;i=b>>>8&255;b=b>>>16&255;if(o){i=(p(i,m)>>>0)/255|0;h=(p(h,n)>>>0)/255|0;b=(p(b,l)>>>0)/255|0}j[d>>2]=i<<8|h|b<<16;d=d+4|0;g=g+4|0;if(c){continue}break}d=j[a+28>>2]}else{d=b}c=d;b=c-1|0;j[q+28>>2]=b;e=j[a+32>>2]+e|0;d=e;f=j[a+12>>2]+f|0;g=f;if(c){continue}break}j[a+20>>2]=e;j[a>>2]=f}}function Ce(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b>>>0>=33){c=j[a+16>>2];break a}f=j[a+4>>2];d=f+b|0;b:{g=j[a>>2];c=j[a+16>>2];if((g|0)<(c-4|0)){break b}if((c-(d+7>>3)|0)<(g|0)){break a}if(d){break b}return 0}h=j[(b<<2)+63040>>2];c=j[a+12>>2];b=k[c|0]>>>f|0;e=b;c:{if((d|0)<9){break c}b=k[c+1|0]<<8-f|b;e=b;if((d|0)<17){break c}b=k[c+2|0]<<16-f|b;e=b;if((d|0)<25){break c}b=k[c+3|0]<<24-f|b;e=b;if(!f|(d|0)<33){break c}e=k[c+4|0]<<32-f|b}b=e;j[a+4>>2]=d&7;d=(d|0)/8|0;j[a>>2]=d+g;j[a+12>>2]=d+c;return b&h}j[a+4>>2]=1;j[a>>2]=c;j[a+12>>2]=0;return-1}function $A(a,b){var c=0,d=0;d=oe-16|0;oe=d;c=j[67062];a:{if(c){while(1){if(!wf(b,c,16)){break a}c=j[c+28>>2];if(c){continue}break}}c=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);j[d+8>>2]=k[b+8|0]|k[b+9|0]<<8|(k[b+10|0]<<16|k[b+11|0]<<24);j[d+12>>2]=c;c=k[b+4|0]|k[b+5|0]<<8|(k[b+6|0]<<16|k[b+7|0]<<24);j[d>>2]=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[d+4>>2]=c;c=k[d+14|0]==104?j[67071]:0;if(c|!a){break a}b:{if(ih(a,72879)){break b}if(ih(a,72884)){break b}if(ih(a,72890)){break b}c=0;break a}c=j[67072]}oe=d+16|0;return c?c:j[67070]}function Nn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){i=(p(i,m)>>>0)/255|0;l=(p(l,n)>>>0)/255|0;c=(p(c,o)>>>0)/255|0}j[b>>2]=l<<8|c|i<<16;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,q=0,r=0;c=j[a+28>>2];b=c-1|0;j[a+28>>2]=b;if(c){m=k[a+62|0];n=k[a+61|0];o=k[a+60|0];q=j[a+52>>2]&1;d=j[a+20>>2];f=d;e=j[a>>2];g=e;while(1){r=a;h=j[a+24>>2];if(h){while(1){h=h-1|0;b=j[g>>2];i=b&255;l=b>>>8&255;c=b>>>16&255;b=f;if(q){l=(p(l,n)>>>0)/255|0;i=(p(i,o)>>>0)/255|0;c=(p(c,m)>>>0)/255|0}j[b>>2]=l<<8|i<<16|c;f=f+4|0;g=g+4|0;if(h){continue}break}b=j[a+28>>2]}c=b;b=c-1|0;j[r+28>>2]=b;d=j[a+32>>2]+d|0;f=d;e=j[a+12>>2]+e|0;g=e;if(c){continue}break}j[a+20>>2]=d;j[a>>2]=e}}function sK(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,i=0;g=j[a+4>>2];i=0-g|0;b=j[a>>2];f=(i&(c+g|0)-1)>>b;a:{if((l[e+12>>1]&7)!=2){e=f;if(j[a+20>>2]>=((d-c|0)-g|0)){break a}}e=(d&i)>>b}b=e;b:{if((b|0)<0){break b}c=l[a+56>>1];if((c|0)<=(f|0)){break b}g=(b|0)<(c|0)?b:c-1|0;c=-128>>(g&7);f=(f|0)>0?f:0;b=f<<13>>16;d=j[a+60>>2];e=j[a+148>>2];a=b+(d+e|0)|0;f=255>>>(f&7)|0;g=g<<13>>16;i=g-b|0;if((i|0)>=1){h[a|0]=f|k[a|0];if((i|0)!=1){Ee((d+(b+e|0)|0)+1|0,255,g+(b^-1)|0);a=(d+(e+g|0)|0)-1|0}h[a+1|0]=c|k[a+1|0];return}h[a|0]=k[a|0]|c&f}}function pk(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}d=j[a+36>>2];if(!d){break a}c=j[b+20>>2];if(c){b=j[c>>2];if((b&-2)==4){qe[d|0](j[a+40>>2],j[c+12>>2]);b=j[c>>2]}if((b|0)==6){qe[j[a+36>>2]](j[a+40>>2],j[c+4>>2])}j[c+28>>2]=0;j[c+32>>2]=0;j[c>>2]=0;b=j[c+40>>2];j[c+52>>2]=b;j[c+48>>2]=b;d=j[c+56>>2];if(d){b=qe[d|0](0,0,0)|0;j[c+60>>2]=b;j[a+48>>2]=b;b=j[c+40>>2]}qe[j[a+36>>2]](j[a+40>>2],b);qe[j[a+36>>2]](j[a+40>>2],j[c+36>>2]);qe[j[a+36>>2]](j[a+40>>2],c);d=j[a+36>>2];b=j[a+28>>2]}qe[d|0](j[a+40>>2],b);j[a+28>>2]=0}}function Bn(a,b,c,d,e,f){var g=0;g=j[b+4>>2];if(!g){h[c|0]=k[j[(k[b+28|0]<<2)+234976>>2]+((j[b+12>>2]&a)>>>k[b+32|0]|0)|0];h[d|0]=k[j[(k[b+29|0]<<2)+234976>>2]+((j[b+16>>2]&a)>>>k[b+33|0]|0)|0];h[e|0]=k[j[(k[b+30|0]<<2)+234976>>2]+((j[b+20>>2]&a)>>>k[b+34|0]|0)|0];h[f|0]=k[j[(k[b+31|0]<<2)+234976>>2]+((j[b+24>>2]&a)>>>k[b+35|0]|0)|0];return}if(m[g>>2]>a>>>0){a=a<<2;h[c|0]=k[a+j[g+4>>2]|0];h[d|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+1|0];h[e|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+2|0];h[f|0]=k[(a+j[j[b+4>>2]+4>>2]|0)+3|0];return}h[f|0]=0;h[e|0]=0;h[d|0]=0;h[c|0]=0}function oB(a){var b=0,c=0,d=0,e=0,f=0,g=0,i=0,k=0,l=0;f=oe-16|0;oe=f;a:{if(!a){j[f>>2]=71823;ve(71797,f);break a}g=qe[j[a>>2]](a)|0;d=pe;b=(d|0)<0;i=b?1024:g;g=b?0:d;b=i+1|0;c=qe[j[57972]](b?b:1)|0;if(c){j[57976]=j[57976]+1}b:{while(1){d=a;b=g;k=0;l=e+1024|0;k=l>>>0<1024?1:k;if((b|0)<(k|0)?1:(b|0)<=(k|0)?i>>>0>>0:0){b=mf(c,e+1025|0);if(!b){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}c=0;Be(0);break b}i=e+1024|0;c=b;g=0}b=d;d=c+e|0;b=qe[j[a+8>>2]](b,d,1,i-e|0)|0;e=b+e|0;if(b){continue}break}h[d|0]=0}qe[j[a+16>>2]](a)|0}oe=f+16|0;return c}function hm(a,b,c,d,e,f,g){var h=q(0),i=0,k=q(0),l=0,m=0,o=0,p=q(0),r=0,s=q(0),t=0;l=j[a>>2];if((l|0)>=1){m=j[a+4>>2];i=d<<2;s=n[(m+i|0)+12>>2];t=j[i+j[a+12>>2]>>2];o=+n[a+48>>2];i=0;d=(d|0)!=1;while(1){a=i<<2;h=q(s+n[a+c>>2]);k=n[m+108>>2];p=q(n[a+b>>2]+n[a+t>>2]);k=k>2]=h>k?h:k;if(!d){h=q(k-n[a+g>>2]);r=+q(h+q(17.200000762939453));a:{if(!(h>q(-17.200000762939453)^1)){h=q(r*-.005*o+1);if(h>2]=h*n[a>>2]}i=i+1|0;if((l|0)!=(i|0)){continue}break}}}function Fr(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{b:{d=j[a+20>>2];if((d|0)!=j[a+12>>2]){e=j[a+28>>2];break b}c=j[a+16>>2];j[f+12>>2]=0;c:{c=c+d|0;e=j[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=p(c,e);e=xe(j[a>>2],1,j[a+24>>2],d,j[a+28>>2],f+12|0);j[a+28>>2]=e;if(j[f+12>>2]){break c}j[a+24>>2]=d;j[a+12>>2]=c;d=j[a+20>>2];if(c>>>0>=d>>>0){break b}b=j[a+4>>2];if(!(!b|j[b>>2])){j[b>>2]=130}j[a+20>>2]=c;break a}a=j[a+4>>2];if(!a|j[a>>2]){break a}j[a>>2]=64;break a}c=j[a+8>>2];Ae(p(c,d)+e|0,b,c);j[a+20>>2]=j[a+20>>2]+1}oe=f+16|0}function gA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+76>>2];d=j[a+436>>2];f=Vg();e=j[d>>2];a:{if((f|0)!=(e|0)){j[d+424>>2]=0;if((tg(j[a+188>>2],e)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}if(j[d+360>>2]==(b|0)){j[d+360>>2]=0}if(j[d+364>>2]==(b|0)){j[d+364>>2]=0}if(c){qe[j[d+60>>2]](1,c);if(j[c+32>>2]){qe[j[d+60>>2]](1,c+32|0)}if(j[c+36>>2]){qe[j[d+60>>2]](1,c+36|0)}a=j[c+16>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b+76>>2]=0}}function AB(a,b){var c=0,d=0,e=0,f=0,g=0;e=-1;g=j[67055];a:{if((g|0)<1){break a}d=j[67056];while(1){f=j[d+(c<<2)>>2];if((a|0)==j[f>>2]&j[f+4>>2]==(b|0)){e=c;break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}d=dl(a,b);if(d){if(j[d+16>>2]>=1){c=0;while(1){f=j[j[d+20>>2]+(c<<2)>>2];if(f){qe[j[57975]](f);j[57976]=j[57976]-1}c=c+1|0;if((c|0)>2]){continue}break}}c=j[d+20>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}if(d){qe[j[57975]](d);j[57976]=j[57976]-1}c=j[67055]-1|0;j[67055]=c;g=e<<2;e=j[67056];j[g+e>>2]=j[e+(c<<2)>>2];TB(a,b)}}function Kq(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=-1;b=j[a+24>>2];a:{if(b>>>0>65534){break a}c=j[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){b:{e=j[a+44>>2];c:{if(e>>>0>>0){break c}g=j[a+48>>2];d=j[a+52>>2];if(d){c=d+(b-c<<1)|0;while(1){d=k[c+1|0]|k[c|0]<<8;if(d){d=d+g&65535;if(d){break b}}c=c+2|0;b=b+1|0;if(e>>>0>=b>>>0){continue}break}break c}while(1){d=b+g&65535;if(d){break b}b=b+1|0;if(e>>>0>=b>>>0){continue}break}}d=0;if((Dq(a,j[a+36>>2]+1|0)|0)<0){break a}c=j[a+40>>2];b=b>>>0>>0?c:b;continue}break}f=b}j[a+28>>2]=d;j[a+24>>2]=f}function Ko(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=65611;ve(65309,c);break a}b:{d=j[a+184>>2];if((d|0)<1){break b}b=(d|0)/j[a+196>>2]|0;b=j[a+172>>2]?b:(j[a+240>>2]/k[a+232|0]|0)+b|0;if((b|0)<1){break b}f=c;e=w(o[a+224>>3]*+(b|0));c:{if(r(e)<2147483648){b=~~e;break c}b=-2147483648}j[f+12>>2]=p(b,j[a+208>>2]);Oe(j[a+176>>2]+d|0,0,j[a+180>>2]-d|0);if((Tj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>=0){Oe(j[a+176>>2],0,d);if((Tj(a,j[a+176>>2],j[a+180>>2],c+12|0)|0)>-1){break b}}break a}j[a+172>>2]=1;j[a+184>>2]=0}oe=c+16|0}function gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=q(0),i=q(0),k=0;d=oe-16|0;oe=d;a:{if((Ao(1,0)|0)<0){break a}H(j[c+12>>2],d+8|0,d|0)|0;c=0;if(j[b>>2]<1){break a}k=a-22|0;while(1){f=p(c,52)+b|0;a=g;b:{if(!j[f+48>>2]){break b}e=j[f+20>>2];a=e;e=e>>31;h=q(+j[f+60>>2]/o[d>>3]);i=q(+j[f+56>>2]/o[d+8>>3]);c:{switch(k|0){case 0:Oj(1,0,a,e,1,i,h);a=1;if(g){break b}a=(We(1792,-1)|0)==1;break b;case 2:zo(1,0,a,e,i,h);a=g;break b;default:break c}}Oj(1,0,a,e,0,i,h);a=1}g=a;c=c+1|0;if((c|0)>2]){continue}break}}oe=d+16|0;return g|0}function Du(a,b){a=a|0;b=b|0;var c=0,d=0;c=Xe(1,120);j[a+992>>2]=c;if(!c){return Be(0)|0}j[c+100>>2]=456;j[c+60>>2]=457;j[c+52>>2]=458;j[c+48>>2]=459;j[c+36>>2]=460;j[c+56>>2]=461;j[c+112>>2]=462;j[c+108>>2]=463;j[c+104>>2]=464;j[c+92>>2]=465;j[c+88>>2]=466;j[c+84>>2]=467;j[c+80>>2]=468;j[c+76>>2]=469;j[c+68>>2]=470;j[c+64>>2]=471;j[c+116>>2]=472;j[c+96>>2]=473;c=wa(0)|0;d=j[a+992>>2];j[d+8>>2]=c;if(!c){return ve(101332,0)|0}if((qe[j[d+48>>2]](c,0,0)|0)!=1){return ve(101358,0)|0}a=a+436|0;if(b){Re(a,b,255);return 0}h[a|0]=0;return 0}function lj(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;f=sf(a,e+12|0);d=j[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}sf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=xf(a,16);j[e+12>>2]=d;if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=sf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((g|0)==2){d=sf(a,e+12|0);if(j[e+12>>2]){break b}sf(a,e+12|0);if(j[e+12>>2]){break b}j[c>>2]=d;d=0;break a}d=xf(a,8);j[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}oe=e+16|0;return d}function Sr(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c|(!a|b>>>0>1)){break a}g=(b<<5)+a|0;if(!k[g+92|0]){break a}e=g- -64|0;Ae(j[c+4>>2]+(i[c+2>>1]<<3)|0,j[g+72>>2],j[e>>2]<<3);a=i[c+2>>1];d=j[e>>2];b:{if(!d){break b}b=j[c+8>>2]+a|0;a=j[g+76>>2];while(1){f=k[a|0];h[b|0]=f&1?1:f&2;b=b+1|0;a=a+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1];f=j[e>>2];if(!f){f=0;break b}e=j[c+12>>2]+(i[c>>1]<<1)|0;b=j[g+76>>2];d=f;while(1){if(k[b|0]&8){i[e>>1]=a;i[c>>1]=l[c>>1]+1;e=e+2|0}a=a+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}a=l[c+2>>1]}i[c+2>>1]=a+f}}function ki(a,b,c,d){var e=0,f=0,g=0,i=0;g=oe;i=g;a:{if(!j[57838]|b>>>0>6){break a}e=j[66037];b:{c:{if(e){while(1){if(j[e>>2]==(a|0)){f=e+4|0;break c}e=j[e+8>>2];if(e){continue}break}}f=231348;e=1;d:{switch(a|0){case 2:f=231344;break c;case 8:break b;case 0:break c;default:break d}}f=231340}e=j[f>>2]}if(b>>>0>>0){break a}e=g-4096|0;oe=e;vl(e,4096,c?c:86580,d);c=Le(e);e:{if(!c){break e}d=c-1|0;f=d+e|0;if(k[f|0]!=10){break e}h[f|0]=0;if(!d){break e}c=(c+e|0)-2|0;if(k[c|0]!=13){break e}h[c|0]=0}qe[j[57838]](j[66038],a,b,e)}oe=i}function Xh(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=i[a+56>>1];c=b+l[a+20>>1]|0;i[a+20>>1]=c;e=l[a+22>>1];d=e+l[a+58>>1]|0;i[a+22>>1]=d;f=j[a+48>>2]+j[a+84>>2]|0;j[a+48>>2]=f;if((b|0)>=1){d=j[a+68>>2];c=0;while(1){g=d+(c<<1)|0;i[g>>1]=l[g>>1]+e;c=c+1|0;if((b|0)!=(c|0)){continue}break}d=i[a+22>>1];c=l[a+20>>1]}j[a+84>>2]=0;j[a+56>>2]=0;b=d<<16>>16;j[a- -64>>2]=b+j[a+28>>2];b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+68>>2]=j[a+32>>2]+(c<<16>>16<<1);if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(f<<5)}}function ol(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;vs(d+8|0,j[58911]);e=j[d+12>>2];f=j[d+8>>2];j[58913]=f;j[58914]=e;a:{if(e){j[58906]=0;j[58907]=0;while(1){b:{if(k[b+f|0]==10){if((a|0)>(g|0)){j[58907]=a;g=a}c=c+1|0;j[58906]=c;a=0;break b}a=a+1|0}b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}$g(1079,0);U(1);z()}h=235632,i=bf(c,4),j[h>>2]=i;a=bf(c,4);j[58909]=a;if(a){b=0;if((c|0)>0){while(1){a=bf(g,4);j[j[58909]+(b<<2)>>2]=a;b=b+1|0;if((c|0)!=(b|0)){continue}break}}oe=d+16|0;return}za(1110,1135,42,1148);z()}function Eu(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{if(Lu(a)){break a}b:{e=b+20|0;if(j[a+420>>2]){if(!qj(a,100887)){break b}j[b+20>>2]=12445;j[b+24>>2]=12425;d=2}else{d=0}j[e+(d<<2)>>2]=12344;c=j[a+992>>2];f=qe[j[c+76>>2]](j[c+8>>2],j[c+12>>2],0,b+20|0)|0;if(f){break a}c=101268;e=b;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){c=j[(d<<2)+101272>>2]}if(!k[c|0]){j[b+16>>2]=a;Ue(b+32|0,32,100323,b+16|0);c=b+32|0}j[e+8>>2]=c;j[b+4>>2]=100410;j[b>>2]=100970;ve(100328,b);break a}ve(100909,0)}oe=b- -64|0;return f}function tA(a,b,c,d){var e=0,f=0;e=c;a:{b:{c:{d:{e:{f:{c=j[a>>2];switch(c-842094158|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break d;case 0:case 11:break e;default:break f}}if((c|0)==1448433993){break e}if((c|0)!=825382478){break d}}if(!b){break b}if(!(j[b>>2]|j[b+4>>2]|j[b+8>>2]!=j[a+8>>2])){c=0;if(j[b+12>>2]==j[a+12>>2]){break c}}return ve(74131,0)}if(!b){break b}f=j[b>>2]<<1;c=j[b+4>>2]}b=l[a+20>>1];a=(j[a+28>>2]+p(c,b)|0)+f|0;break a}b=l[a+20>>1];a=j[a+28>>2]}j[e>>2]=a;j[d>>2]=b;return 0}function Lm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0;a:{if(a>>>0>b>>>0){break a}f=j[c+28>>2]>j[d+28>>2];g=f?c:d;e=j[g+24>>2];g=j[g+28>>2];h=e-g|0;c=f?d:c;f=j[c+24>>2];d=j[c+28>>2];i=f-d|0;if(!((e|0)!=(f|0)?(d|0)!=(g|0):0)){while(1){c=j[a+28>>2];j[a+24>>2]=(c|0)>(d|0)?(c|0)<(g|0)?f:c+h|0:c+i|0;a=a+40|0;if(b>>>0>=a>>>0){continue}break a}}k=De(e-f|0,g-d|0);while(1){c=a;l=c;e=j[c+28>>2];b:{if((e|0)<=(d|0)){c=e+i|0;break b}c=e+h|0;if((e|0)>=(g|0)){break b}c=ye(e-d|0,k)+f|0}j[l+24>>2]=c;a=a+40|0;if(b>>>0>=a>>>0){continue}break}}}function sI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(!j[b+196>>2]){Og(b)}c=j[a>>2];a=j[a+4>>2];j[b+188>>2]=0;j[b+192>>2]=0;j[b+196>>2]=0;e=a<<2;j[b+228>>2]=e&-256;f=(e>>8)-j[b+172>>2]|0;j[b+160>>2]=f;a=j[b+164>>2];d=j[b+168>>2];g=c<<2;c=g>>8;c=(c|0)>(d|0)?d:c;c=(a|0)>(c|0)?a-1|0:c;h=c-a|0;j[b+156>>2]=h;a=((c|0)>(d|0)?d:c)-a|0;d=(a|0)>-1?a:-1;if((d|0)!=(h|0)){Og(b);j[b+188>>2]=0;j[b+192>>2]=0;j[b+160>>2]=f;j[b+156>>2]=d}a=1;a=m[b+184>>2]>f>>>0?(d|0)>=j[b+180>>2]:a;j[b+224>>2]=e;j[b+220>>2]=g;j[b+196>>2]=a;return 0}function mu(a){var b=0;ua(j[a+12>>2],a|0,0,480,2)|0;ta(j[a+12>>2],a|0,0,481,2)|0;sa(1,a|0,0,481,2)|0;ra(j[a+12>>2],a|0,0,482,2)|0;qa(j[a+12>>2],a|0,0,482,2)|0;pa(j[a+12>>2],a|0,0,483,2)|0;oa(2,a|0,0,484,2)|0;na(2,a|0,0,484,2)|0;ma(j[a+12>>2],a|0,0,485,2)|0;la(j[a+12>>2],a|0,0,485,2)|0;ka(j[a+12>>2],a|0,0,485,2)|0;ja(j[a+12>>2],a|0,0,485,2)|0;ia(1,a|0,0,486,2)|0;b=dg(104236);b=b?b:2;ha(b|0,a|0,0,487,2)|0;ga(b|0,a|0,0,487,2)|0;fa(b|0,a|0,0,488,2)|0;ea(1,a|0,0,489,2)|0;da(2,a|0,0,490,2)|0;ca(a|0,0,491,2)|0;ba(a|0,492,1)|0}function mz(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,l=0;a:{g=j[a+436>>2];f=j[g>>2];if(f){break a}f=j[g+4>>2];j[g>>2]=f;if(f){break a}f=tj(j[a+188>>2]);if(f){j[g>>2]=f;j[g+4>>2]=f;break a}f=j[g>>2];if(f){break a}return-1}b:{a=j[b>>2];c:{if((a|0)<0){break c}h=j[b+8>>2];if(j[f+8>>2]<(a+h|0)){break c}g=j[b+4>>2];if((g|0)<0){break c}b=j[b+12>>2];if(j[f+12>>2]>=(b+g|0)){break b}}return ve(86489,0)|0}i=b;b=j[f+4>>2];l=j[f+20>>2];f=j[f+16>>2];return fh(h,i,j[b>>2],(l+p(f,g)|0)+p(a,k[b+9|0])|0,f,c,d,e)|0}function zq(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;c=j[b+28>>2];d=qe[j[a+508>>2]](a,1668707360,b,e+8|0)|0;j[e+12>>2]=d;a:{if(d){j[a+644>>2]=0;j[a+648>>2]=0;c=0;break a}d=j[e+8>>2]>>>1|0;j[a+644>>2]=d;f=a,g=xe(c,2,0,d,0,e+12|0),j[f+648>>2]=g;c=j[e+12>>2];if(c){break a}c=_e(b,j[a+644>>2]<<1);j[e+12>>2]=c;if(c){break a}d=j[a+644>>2];if((d|0)>=1){c=j[a+648>>2];d=c+(d<<1)|0;while(1){f=c,g=af(b),i[f>>1]=g;c=c+2|0;if(d>>>0>c>>>0){continue}break}}Ve(b);if(!k[a+672|0]){c=j[e+12>>2];break a}c=rq(a,b)}oe=e+16|0;return c}function pj(a){var b=0,c=0,d=0;if(a){Yg(a+592|0);wg(a+480|0);hk(a+120|0);b=j[a+72>>2];a:{if(!b){break a}d=j[a+52>>2];if(!d){break a}c=1;if((d|0)>=1){Li(b);Mi(j[a+76>>2]);if(j[a+52>>2]>=2){while(1){Li(j[a+72>>2]+(c<<5)|0);Mi(j[a+76>>2]+(c<<4)|0);c=c+1|0;if((c|0)>2]){continue}break}}b=j[a+72>>2]}ze(b);ze(j[a+76>>2])}b=j[a+60>>2];if(b){ze(b)}b=j[a+68>>2];if(b){ze(b)}b=j[a+64>>2];if(b){ze(b)}b=j[a+56>>2];if(b){ze(b)}nF(a+24|0);b=j[a>>2];b:{if(!b){break b}c=j[a+712>>2];if(!c){break b}qe[c|0](b)|0}Ee(a,0,720)}}function fJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=$e(b,198528,d);if(c){break a}i[a+290>>1]=0;i[a+282>>1]=0;i[a+284>>1]=0;i[a+286>>1]=0;i[a+288>>1]=0;i[a+274>>1]=0;i[a+276>>1]=0;i[a+278>>1]=0;i[a+280>>1]=0;i[a+266>>1]=0;i[a+268>>1]=0;i[a+270>>1]=0;i[a+272>>1]=0;b:{if(j[a+260>>2]<65536){break b}c=$e(b,198544,d);if(c){break a}if(l[a+280>>1]<=63){i[a+280>>1]=64}if(l[a+276>>1]>=65532){i[a+276>>1]=65531}if(l[a+290>>1]<101){break b}i[a+290>>1]=100}c=0}return c|0}function Dg(a,b){var c=0,d=0,e=0,f=0,g=0;c=j[a+88>>2];b=j[a+32>>2]+(b<<4)|0;d=j[b+8>>2];i[c+12>>1]=d+32>>>6;e=j[b+12>>2];i[c+14>>1]=e+32>>>6;a:{if(h[a+8|0]&1){f=c,g=De(d,l[a+68>>1]),j[f+16>>2]=g;b=De(j[b+12>>2],l[a+68>>1]);j[c+20>>2]=b;f=c,g=ye(i[a+70>>1],b)+63&-64,j[f+24>>2]=g;f=c,g=ye(i[a+72>>1],j[c+20>>2])&-64,j[f+28>>2]=g;f=c,g=ye(i[a+74>>1],j[c+20>>2])+32&-64,j[f+32>>2]=g;d=ye(i[a+76>>1],j[c+16>>2])+32&-64;break a}j[c+28>>2]=0;j[c+24>>2]=e;j[c+16>>2]=65536;j[c+20>>2]=65536;j[c+32>>2]=i[b>>1]<<6}j[c+36>>2]=d}function _e(a,b){var c=0,d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;j[e+12>>2]=0;a:{if(j[a+20>>2]){d=85;if(m[a+4>>2]>>0){break a}f=j[a+28>>2];c=jj(f,b,e+12|0);j[a>>2]=c;d=j[e+12>>2];if(d){break a}g=qe[j[a+20>>2]](a,j[a+8>>2],c,b)|0;c=j[a>>2];if(b>>>0<=g>>>0){d=j[e+12>>2]}else{if(c){qe[j[f+8>>2]](f,c)}c=0;j[a>>2]=0;d=85}j[a+32>>2]=c;j[a+36>>2]=b+c;j[a+8>>2]=j[a+8>>2]+g;break a}d=85;f=j[a+4>>2];c=j[a+8>>2];if(f>>>0<=c>>>0|f-c>>>0>>0){break a}j[a+8>>2]=b+c;d=c+j[a>>2]|0;j[a+32>>2]=d;j[a+36>>2]=b+d;d=0}oe=e+16|0;return d}function SN(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=116640;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return De(a+128>>8,c+128>>8)}function TF(a,b,c,d,e){var f=0,g=0;a:{b:{c:{if(!(!a|!b)){if(c-1>>>0>=2){break c}if(!d){break b}f=Le(d);if(!f|k[d|0]==45){break b}if(!Jl(d,f)){break b}if(!e){break a}g=Le(e);if(!g|k[e|0]==45){break a}if(!Jl(e,g)){break a}h[b+252|0]=c;f=f+1|0;c=fg(a,f);j[b+256>>2]=c;if(!c){Ze(a,207274);return}Ae(c,d,f);d=g+1|0;c=fg(a,d);j[b+260>>2]=c;if(!c){Ke(a,j[b+256>>2]);j[b+256>>2]=0;Ze(a,207274);return}Ae(c,e,d);j[b+8>>2]=j[b+8>>2]|16384;j[b+232>>2]=j[b+232>>2]|256}return}Ye(a,207217);z()}Ye(a,207235);z()}Ye(a,207254);z()}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=j[d+1164>>2];e=j[d+1168>>2]-p(e,a)|0;e=(a|0)>=0?p(a,j[d+1156>>2]-1|0)+e|0:e;if((b|0)>=1){while(1){a=b;d=k[c+4|0];a:{if(!d){break a}f=l[c+2>>1];if(f>>>0>=8){Ee(i[c>>1]+e|0,d,f);break a}b=i[c>>1]+e|0;b:{switch(f-1|0){case 6:h[b|0]=d;b=b+1|0;case 5:h[b|0]=d;b=b+1|0;case 4:h[b|0]=d;b=b+1|0;case 3:h[b|0]=d;b=b+1|0;case 2:h[b|0]=d;b=b+1|0;case 1:h[b|0]=d;b=b+1|0;break;case 0:break b;default:break a}}h[b|0]=d}c=c+6|0;b=a-1|0;if((a|0)>1){continue}break}}}function WI(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!k[a+612|0]){break a}c=j[a+100>>2];b=j[a+468>>2];if((b|0)!=163840){if((b|0)!=131072){break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0;if(l[a+618>>1]){b=0;while(1){d=b<<2;e=j[d+j[a+624>>2]>>2];if(e){qe[j[c+8>>2]](c,e)}j[j[a+624>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=j[a+624>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+618>>1]=0;j[a+624>>2]=0;break a}b=j[a+620>>2];if(b){qe[j[c+8>>2]](c,b)}i[a+616>>1]=0;j[a+620>>2]=0}h[a+612|0]=0}function oi(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){c=f+ -64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;k=64-f|0;g=k&31;if((k&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=k|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function kF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{if(!(k[a+212|0]&64)){c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c;if(!(k[a+212|0]&64)){Bl(a);break b}xi(a,210379);break b}if(!(!k[a+432|0]|k[a+216|0]&2)){Ze(a,210567);j[a+356>>2]=j[a+352>>2]}c=1;if(!(!a|!k[a+432|0])){j[a+216>>2]=j[a+216>>2]|2;c=7}d=c}if((d|0)<1){break a}f=j[a+352>>2];while(1){c=b;e=0;if(f){while(1){lF(a,j[c>>2]);c=c+4|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function Dy(a){var b=0,c=0,d=0;a:{if(k[j[a+4>>2]+8|0]!=1){break a}a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+86784>>2]}return j[(b<<2)+86816>>2]}return b>>>0>1?270:0}d=b>>>0>1?271:0}return d}function gE(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!k[b|0]){break a}if(c>>>0<4){break c}while(1){d=j[b>>2];if((d^-1)&d-16843009&-2139062144){break c}j[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=k[b|0];h[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Ee(a,0,c)}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=14408027;a:{if((a|0)>=-2949120){b=a;c=14408027;break a}while(1){c=d;d=0-e|0;f=(a|0)<-8847360;e=c;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=d;e=b;break b}while(1){a=c;c=0-d|0;f=(b|0)>8847360;d=a;e=b-5898240|0;b=e;if(f){continue}break}}g=116640;b=1;d=1;while(1){f=a+b>>d;c:{if((e|0)<=-1){e=j[g>>2]+e|0;a=a-(b+c>>d)|0;c=c+f|0;break c}e=e-j[g>>2]|0;a=(b+c>>d)+a|0;c=c-f|0}b=b<<1;g=g+4|0;d=d+1|0;if((d|0)!=23){continue}break}return c+128>>8}function Ai(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=14408027;a:{if((a|0)>=-2949120){b=a;e=14408027;break a}while(1){e=c;c=0-d|0;f=(a|0)<-8847360;d=e;b=a+5898240|0;a=b;if(f){continue}break}}b:{if((b|0)<=2949120){a=c;d=b;break b}while(1){a=e;e=0-c|0;f=(b|0)>8847360;c=a;d=b-5898240|0;b=d;if(f){continue}break}}f=116640;b=1;c=1;while(1){g=a+b>>c;c:{if((d|0)<=-1){d=j[f>>2]+d|0;a=a-(b+e>>c)|0;e=e+g|0;break c}d=d-j[f>>2]|0;a=(b+e>>c)+a|0;e=e-g|0}b=b<<1;f=f+4|0;c=c+1|0;if((c|0)!=23){continue}break}return a+128>>8}function lG(a,b){var c=0;a:{b:{switch(k[a+8|0]){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a;case 4:break b;default:break a}}c:{switch(k[a+9|0]-8|0){case 0:c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;b=b+2|0;a=a+2|0;if(c>>>0>a>>>0){continue}break}break a;case 8:break c;default:break a}}c=j[a+4>>2];if(!c){break a}a=0;while(1){h[b|0]=k[b|0]^-1;h[b+1|0]=k[b+1|0]^-1;b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}}function dD(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=oe-32|0;oe=b;a=j[65585];if(!(!a|j[57834]==118)){Zi(63461,0);Zi(63486,0);while(1){d=j[a+8>>2];e=j[a+16>>2];f=j[a+12>>2];g=j[a+20>>2];h=j[a>>2];c=j[a+4>>2];j[b+16>>2]=c;j[b+24>>2]=h?63609:63613;j[b+20>>2]=(c|0)==1?63606:63607;j[b+4>>2]=g;j[b+8>>2]=f;j[b+12>>2]=e;j[b>>2]=d;Zi(63531,b);a=j[a+24>>2];if(a){continue}break}Zi(63616,0);a=j[65585];if(a){while(1){j[a>>2]=0;j[a+4>>2]=0;c=j[a+24>>2];j[a+24>>2]=0;a=c;if(a){continue}break}}j[65585]=0}oe=b+32|0}function QN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+28>>2];a=Te(96);d=Ce(b,8);j[a>>2]=d;c=Ce(b,16);j[a+4>>2]=c;e=Ce(b,16);j[a+8>>2]=e;h=a,i=Ce(b,6),j[h+12>>2]=i;h=a,i=Ce(b,8),j[h+16>>2]=i;f=Ce(b,4);j[a+20>>2]=f+1;a:{b:{if((d|0)<1|(c|0)<1|((e|0)<1|(f|0)<0)){break b}e=a+24|0;d=0;while(1){c=Ce(b,8);j[e+(d<<2)>>2]=c;if((c|0)<0|(c|0)>=j[g+24>>2]){break b}c=j[((c<<2)+g|0)+1824>>2];if(!j[c+12>>2]|j[c>>2]<=0){break b}c=(d|0)>=(f|0);d=d+1|0;if(!c){continue}break}break a}ze(a);a=0}return a|0}function ME(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&128))){Ie(a,c);Je(a,211085);break a}if((c|0)!=9){Ie(a,c);Je(a,211064);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);SF(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,211072);z()}function tg(a,b){var c=0,d=0;c=j[67085];a:{if(!c){ve(99429,0);break a}d=Eh(j[c+704>>2])}b:{if((a|0)!=(d|0)){break b}d=0;c=j[67085];c:{if(!c){ve(99429,0);break c}d=Eh(j[c+708>>2])}if((b|0)!=(d|0)){break b}return 0}d=0;c=j[67085];d:{if(!b){break d}if(!c){ve(99429,0);return-1}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);return-1}d=a;if(k[a+48|0]&2){break d}return ve(99029,0)}a=qe[j[c+184>>2]](c,d,b)|0;if(!a){a=j[67085];j[a+700>>2]=b;j[a+696>>2]=d;Ij(j[a+704>>2],d);Ij(j[j[67085]+708>>2],b);a=0}return a}function wr(a){var b=0,c=0,d=0,e=0,f=0;j[a+28>>2]=4096;b=a+4168|0;j[a+24>>2]=b;j[a+8268>>2]=b;d=a+72|0;f=a+12|0;while(1){if(!j[a+16>>2]){b=j[a>>2];c=j[b+20>>2];a:{if(c){c=qe[c|0](b,j[b+8>>2],d,4096)|0;if(c){break a}return 85}e=j[b+8>>2];c=j[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){return 85}Ae(d,j[b>>2]+e|0,c)}j[b+8>>2]=j[b+8>>2]+c;j[a+16>>2]=c;j[a+12>>2]=d}b=vr(f,0);if(b){if((b|0)==1){b=j[a+24>>2];j[a+8272>>2]=b;a=(b|0)==j[a+8268>>2]?85:0}else{a=85}return a}if(j[a+28>>2]){continue}break}return 0}function LE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&4){Ie(a,c);Je(a,211051);break a}if(!(!b|!(h[b+9|0]&1))){Ie(a,c);Je(a,211085);break a}if((c|0)!=9){Ie(a,c);Je(a,211064);break a}pf(a,d+7|0,9);tf(a,d+7|0,9);if(Ie(a,0)){break a}c=a;a=k[d+7|0]|k[d+8|0]<<8|(k[d+9|0]<<16|k[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);XF(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),k[d+15|0])}oe=d+16|0;return}hf(a,211072);z()}function cE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=(uP(a),pP(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;o[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(r(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){o[b>>3]=q(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;o[e+8>>3]=(qP(2,h-(c<<23)|0),tP());c=Fp(e+8|0,e,c,1,0);d=o[e>>3];if((f|0)<=-1){o[b>>3]=-d;c=0-c|0;break a}o[b>>3]=d}oe=e+16|0;return c}function Nf(a,b,c,d,e,f){var g=0,h=0,i=0,k=0;a:{if(f&64){d=b;e=f+ -64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=k|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e}function NJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=b;a=j[a+16>>2];c=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=j[b>>2]+1|0;c=c>>>0>>0?e:c;f=c-e|0;d=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>>0){e=d+e|0;a=(a+(f<<1)|0)+20|0;while(1){g=k[a+1|0]|k[a|0]<<8;if(g){j[b>>2]=c;return g|0}c=c+1|0;a=a+2|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}a=e}else{a=c}j[h>>2]=a;return 0}function gs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;a:{if(!a){g=35;break a}if(!b){g=6;break a}if(!j[a+96>>2]){g=34;break a}j[b>>2]=0;f=j[a+100>>2];d=j[j[a+96>>2]+12>>2];e=He(f,j[d+40>>2],c+12|0);b:{if(j[c+12>>2]){break b}h=He(f,12,c+12|0);if(j[c+12>>2]){break b}j[e+40>>2]=0;j[e>>2]=a;d=j[d+56>>2];if(d){d=qe[d|0](e)|0;j[c+12>>2]=d;if(d){break b}}j[b>>2]=e;j[h+8>>2]=e;zm(a+108|0,h);if(!j[c+12>>2]){break a}}if(h){qe[j[f+8>>2]](f,h)}if(e){qe[j[f+8>>2]](f,e)}g=j[c+12>>2]}oe=c+16|0;return g}function dt(a,b,c){a=a|0;b=b|0;c=c|0;c=0;a=j[67093];a:{if(!a){break a}b=j[b+1300>>2];if((b|0)!=j[a>>2]){while(1){c=a;a=j[a+1320>>2];if(!a){break a}if((b|0)!=j[a>>2]){continue}break}}b=j[a+16>>2];if(b){j[b+84>>2]=0}b=j[a+1320>>2];b:{if(c){j[c+1320>>2]=b;break b}j[67093]=b}if(j[67092]==(a|0)){j[67092]=c}j[67090]=j[67090]-1;QA(j[a+12>>2]);b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}return 1}function Sg(a,b){var c=0,d=0,e=0;c=j[a+20>>2];if(!(k[a+13|0]?c:0)){return ye(b,j[a+16>>2])}d=j[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(j[(p(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=j[(p(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;j[a+24>>2]=0;d=j[a+36>>2];if((d|0)<=(b|0)){break b}return ye(b-d|0,j[a+16>>2])+j[a+40>>2]|0}j[a+24>>2]=c}a=p(c,20)+a|0;return ye(b-d|0,j[a+44>>2])+j[a+40>>2]|0}function vo(a,b,c){var d=0,e=0,f=0,g=0,i=0,k=0;d=oe+ -64|0;oe=d;a:{if((b|0)==-1){break a}b:{c:{switch(c|0){case 1:f=1617;j[d+8>>2]=1617;if((b|0)!=5){break b}i=a,k=sg(),j[i+28>>2]=k;if(!j[j[a>>2]+68>>2]){break b}break a;case 0:break c;default:break a}}f=1618;j[d+8>>2]=1618;if((b|0)!=5){break b}e=sg();g=((j[a+28>>2]-e|0)+250|0)<1;e=j[a>>2];if(!(g|j[e+72>>2])){j[e+68>>2]=1;break a}j[e+68>>2]=0}if((We(f,-1)|0)!=1){break a}a=j[j[a>>2]>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function Qk(a){var b=0,c=0;c=oe-16|0;oe=c;Xj(268332);b=j[67084];a:{if(b){while(1){if(j[b>>2]==(a|0)){j[b+36>>2]=j[b+36>>2]+1;j[67083]=0;break a}b=j[b+40>>2];if(b){continue}break}}b=qe[j[57972]](44)|0;if(b){j[57976]=j[57976]+1}if(!b){j[67083]=0;b=0;Be(0);break a}if((Pk(b,a)|0)<=-1){j[67083]=0;if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[c>>2]=97078;ve(97052,c);b=0;break a}if(!((a>>>24&15)-1>>>0<3?!((a&-268435456)!=268435456?a:0):0)){j[b+40>>2]=j[67084];j[67084]=b}j[67083]=0}oe=c+16|0;return b}function qo(a){var b=0,c=0;b=MO(a+16|0);if(!b){ve(2901,0);return-1}a:{b:{if(j[b+4>>2]==j[a+740>>2]){c=0;if(j[b+8>>2]==j[a+744>>2]){break b}}Ge(a+736|0,b,32);c=j[a+776>>2];if(c){if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[a+776>>2]=0}c=j[a+772>>2];if(c){Ih(c);j[a+772>>2]=0}c=ll(32784,k[b+4|0],j[b+8>>2],l[131082],k[262166],j[65540]);j[a+772>>2]=c;if(c){break a}c=-1}return c}b=p(l[131084],j[b+4>>2])<<1;j[a+780>>2]=b;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}j[a+776>>2]=b;return b?0:-1}function NE(a,b,c){var d=0,e=0,f=0;d=oe-528|0;oe=d;a:{b:{e=j[a+208>>2];if(e&1){if((e&6)!=2){Ie(a,c);Je(a,211051);break a}if(!(!b|!(k[b+8|0]&64))){Ie(a,c);Je(a,211085);break a}if(c>>>0>513){break b}e=c>>>1|0;if((e|0)!=l[a+420>>1]){break b}if(e){c=0;while(1){pf(a,d+14|0,2);tf(a,d+14|0,2);f=k[d+14|0]|k[d+15|0]<<8;i[(d+16|0)+(c<<1)>>1]=(f<<24|f<<8&16711680)>>>16;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(Ie(a,0)){break a}ZF(a,b,d+16|0);break a}hf(a,211072);z()}Ie(a,c);Je(a,211064)}oe=d+528|0}function HC(a){var b=0,c=0;j[66088]=0;a:{b:{if((a|0)==8){break b}b=1;j[66088]=1;if((a|0)==32776){break b}b=2;j[66088]=2;if((a|0)==32784){break b}b=3;j[66088]=3;if((a|0)==36880){break b}b=4;j[66088]=4;if((a|0)==16){break b}b=5;j[66088]=5;if((a|0)==4112){break b}b=6;j[66088]=6;if((a|0)==32800){break b}b=7;j[66088]=7;if((a|0)==36896){break b}b=8;j[66088]=8;if((a|0)==33056){break b}b=9;j[66088]=9;if((a|0)==37152){break b}j[66088]=10;j[66089]=0;break a}j[66089]=1;c=l[p(b,20)+64608>>1]}return c}function De(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=(a|0)<0?-1:1;e=2147483647;c=b>>31;c=c+b^c;a:{if(!c){break a}d=a;a=a>>31;a=d+a^a;if(a>>>0<=(c>>>17^65535)>>>0){e=((a<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=c>>>1|0;d=f+(a<<16)|0;a=(a>>>16|0)+(d>>>0>>0)|0;if(a>>>0>=c>>>0){break a}f=s(a);g=32-f|0;a=d>>>g|a<>>0)/(c>>>0)|0;i=a-p(c,e)|0;a=d<>>31;i=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}return(((b|0)<0?0-h|0:h)|0)<0?0-e|0:e}function Hs(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;a:{if(!a|!b){break a}f=j[a>>2];c=j[a+72>>2];d=111972;b:{c:{if((c|0)==1651078259){break c}d=112004;if((c|0)==1869968492){break c}d=FO(f,c);if(!d){break b}d=d+20|0}c=He(j[f>>2],j[d>>2],e+12|0);if(j[e+12>>2]){break a}j[c+4>>2]=d;j[c>>2]=f;j[c+8>>2]=j[d+4>>2];j[c+12>>2]=j[a+64>>2]<<10;j[c+16>>2]=j[a+68>>2]<<10;if(qe[j[d+8>>2]](c,a)|0){a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c}}oe=e+16|0}function FF(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c-16>>>0>=624999985){e=l[b+74>>1];d=208049;break a}g=l[b+74>>1];e=g<<16>>16;if(k[a+209|0]&128){d=208074;if(g&8){break a}}b:{if((e|0)>=0){c:{if(!(e&1)){break c}d=j[b>>2];d:{if(!d){break d}f=v(+(d|0)*1e5/+(c|0)+.5);if(f<=2147483647^1|f>=-2147483648^1){break d}if(r(f)<2147483648){d=~~f}else{d=-2147483648}if(d-95e3>>>0<10001){break c}}if(e&32){break b}Of(a,209579,0)}j[b>>2]=c;i[b+74>>1]=e|9}return}Of(a,209547,2);return}i[b+74>>1]=e|32768;Of(a,d,1)}function sv(a,b,c,d){var e=0,f=0;f=j[a+52>>2];e=j[f+68>>2];if(!(e&512)){j[f+68>>2]=e|512;vf(f);f=j[a+52>>2];e=j[f+68>>2]}a:{if(e&371){break a}e=j[j[a+4>>2]>>2];if((e|0)!=j[j[c+4>>2]>>2]|((e>>>24&15)-1>>>0<3?!((e&-268435456)!=268435456?e:0):0)){break a}return yn(a,b,c,d)}b:{c:{if(j[f>>2]!=(c|0)){break c}e=j[j[c+4>>2]+4>>2];if(j[f+80>>2]!=j[e+8>>2]?e:0){break c}e=j[j[a+4>>2]+4>>2];if(!e|j[f+84>>2]==j[e+8>>2]){break b}}if((Cj(a,c)|0)<0){return-1}f=j[a+52>>2]}return qe[j[f+8>>2]](a,b,c,d)|0}function Is(a,b){var c=0,d=0,e=0,f=0,g=0;f=oe-16|0;oe=f;d=6;a:{if(!j[a+4>>2]|(!a|!b)){break a}j[b>>2]=0;e=j[a+4>>2];if(!e){break a}g=j[a>>2];c=He(j[g>>2],j[e>>2],f+12|0);d=j[f+12>>2];if(d){break a}j[c+4>>2]=e;j[c>>2]=g;j[c+8>>2]=j[e+4>>2];d=j[a+16>>2];j[c+12>>2]=j[a+12>>2];j[c+16>>2]=d;j[c+8>>2]=j[a+8>>2];b:{d=j[e+16>>2];if(!d){break b}d=qe[d|0](a,c)|0;if(!d){break b}a=j[j[c>>2]>>2];b=j[j[c+4>>2]+12>>2];if(b){qe[b|0](c)}if(c){qe[j[a+8>>2]](a,c)}break a}j[b>>2]=c;d=0}oe=f+16|0;return d}function bv(a){var b=0,c=0,d=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}b=j[a+48>>2];a:{if(!(b&256)^1){break a}j[a+48>>2]=b&-257|256;b=j[67085];d=j[b+312>>2];c=j[a+48>>2];b:{if(!(!(j[67035]|c&256)|!(c&512))){c:{if(!d|(a|0)==(d|0)){break c}j[d+48>>2]=j[d+48>>2]&-257;c=j[b+128>>2];if(!c){break c}qe[c|0](b,d,0);b=j[67085]}j[b+312>>2]=a;c=1;break b}c=0;if((a|0)!=(d|0)){break b}j[b+312>>2]=0;c=0}d=j[b+128>>2];if(!d){break a}qe[d|0](b,a,c)}}function ZG(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,k=0;e=j[a+528>>2];if(!e){return 6}h=j[e>>2];if(h){f=j[e+4>>2];k=b>>>0>f>>>0?f:b;while(1){i=65536;a=0;b=0;d=65536;if(f){while(1){d=32768;a:{b:{if(a>>>0>=k>>>0){break b}d=j[(a<<2)+c>>2];if((d|0)<1){d=0;break b}b=65536;if((d|0)>65535){break a}}b=d}i=ye(i,g>>>a&1?b:65536-b|0);a=a+1|0;b=j[e+4>>2];if(a>>>0>>0){continue}break}h=j[e>>2];d=i}j[j[e+136>>2]+(g<<2)>>2]=d;f=b;g=g+1|0;if(h>>>0>g>>>0){continue}break}}return 0}function Oy(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&63519|(j[d+24>>2]&f)>>>q<<2&2016|g<<16&132120576;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function zB(){var a=0;Zg();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Hg();if(j[57818]){a=j[57832];if(a){qe[a|0]()}j[57818]=0}if(j[57797]){a=j[57811];if(a){qe[a|0]()}j[57797]=0}a=j[65549];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65549]=0}a=j[65538];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65538]=0}j[65548]=0;j[65537]=0}function tk(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=j[a+40>>2];a:{if(!c){break a}d=(j[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=j[e>>2];c:{if(j[b+4>>2]!=1970170211){break c}d:{switch(l[b+8>>1]){case 0:if(l[b+10>>1]!=4){break c}break b;case 3:break d;default:break c}}if(l[b+10>>1]==10){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=j[d>>2];if(j[b+4>>2]!=1970170211){continue}break}}j[a+92>>2]=b;f=0}return f}function UM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[a+28>>2];a=j[g+20>>2];a:{if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){c=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}d=j[a+4>>2];f=d+(c<<3)|0;d=(d+(b<<3)|0)-8|0;if(j[f>>2]!=j[d>>2]|j[f+4>>2]!=j[d+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}f=c;c=(b<<16>>16)-1|0;if((f|0)==(c|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;break a}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=c}h[g+64|0]=0}function Pi(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0,n=0;h=j[a+4>>2];if(!h){return j[a+24>>2]&e>>>k[a+31|0]<>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((l|0)<1){h=0;break a}n=j[h+4>>2];m=-1;h=0;a=0;while(1){b:{f=(a<<2)+n|0;g=k[f+1|0]-c|0;i=p(g,g);g=k[f|0]-b|0;i=i+p(g,g)|0;g=k[f+2|0]-d|0;f=k[f+3|0]-e|0;f=(i+p(g,g)|0)+p(f,f)|0;if(f>>>0>>0){h=a;m=f;if(!f){break b}}a=a+1|0;if((l|0)!=(a|0)){continue}}break}}return h&255}function Ny(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((c|0)>=1){i=k[e+34|0];l=k[e+30|0];m=k[e+33|0];n=k[e+29|0];o=k[e+32|0];p=k[e+28|0];q=k[d+35|0];r=k[d+34|0];s=k[d+33|0];t=k[d+32|0];while(1){f=j[b>>2];g=j[e+24>>2]|((f&j[d+16>>2])>>>s>>>n<>2]&f)>>>t>>>p<>2]&f)>>>r>>>l<>2]=g&64543|(j[d+24>>2]&f)>>>q<<2&992|g<<16&65011712;a=a+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}return c<<2}function JL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[a+32>>2]=c;e=a,f=xe(c,4,0,b,0,d+12|0),j[e+24>>2]=f;a:{b:{if(j[d+12>>2]){break b}e=a,f=xe(c,4,0,b,0,d+12|0),j[e+28>>2]=f;if(j[d+12>>2]){break b}j[a+20>>2]=0;j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=-559038737;j[a>>2]=0;j[a+4>>2]=0;b=j[33347];j[a+36>>2]=j[33346];j[a+40>>2]=b;b=j[33349];j[a+44>>2]=j[33348];j[a+48>>2]=b;a=0;break a}b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;a=j[d+12>>2]}oe=d+16|0;return a|0}function bP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,i=0,k=0;e=oe-16|0;oe=e;g=j[b+92>>2];j[a+40>>2]=l[b+68>>1];a:{if(tk(b)){j[b+92>>2]=0;break a}Qm(a,b);d=48;while(1){b:{f=d;d=0;c=j[j[a+36>>2]>>2];c:{if(!c){break c}c=j[c+92>>2];if(!c){break c}d=qe[j[j[c+12>>2]+12>>2]](c,f)|0}d:{if(!d){break d}if(yk(b,d,e+12|0)){break d}c=i;i=1;d=j[e+12>>2];if(!c){k=d;break d}if((d|0)==(k|0)){break d}c=0;break b}c=1;d=f+1|0;if((d|0)!=58){continue}}break}h[a+32|0]=c}Uh(b,g);oe=e+16|0;return 0}function MJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>m[b+160>>2]){Pe(b,8)}c=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=k[a+4|0]|k[a+5|0]<<8|(k[a+6|0]<<16|k[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d-20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>j[b+160>>2]-a>>>0):0)){Pe(b,8)}if(!(!j[b+164>>2]|!c)){while(1){if(m[b+172>>2]<=(k[e+1|0]|k[e|0]<<8)>>>0){Pe(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function Cn(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,i=0,l=0,m=0;g=j[a+4>>2];if(!g){return j[a+24>>2]|(c>>>k[a+29|0]<>>k[a+28|0]<>>k[a+30|0]<>2];a:{if((i|0)<1){g=0;break a}m=j[g+4>>2];l=-1;g=0;a=0;while(1){b:{e=(a<<2)+m|0;f=k[e+1|0]-c|0;h=p(f,f);f=k[e|0]-b|0;h=h+p(f,f)|0;f=k[e+2|0]-d|0;e=k[e+3|0]-255|0;e=(h+p(f,f)|0)+p(e,e)|0;if(e>>>0>>0){g=a;l=e;if(!e){break b}}a=a+1|0;if((i|0)!=(a|0)){continue}}break}}return g&255}function aG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=oe-160|0;oe=d;b=Te(40);j[b>>2]=0;if(a){e=j[a+160>>2];a:{if(!j[a+164>>2]|(!e|(a|0)==(e|0))){break a}b=mi(d,1,b,4);h=C()|0;while(1){if(c){break a}j[a+164>>2]=0;j[a+156>>2]=37;j[a+160>>2]=d;j[67126]=0;M(1048,a|0,e|0);c=j[67126];j[67126]=0;f=-1;b:{if(!c){break b}g=j[67127];if(!g){break b}f=ef(j[c>>2],b,h);if(!f){F(c|0,g|0);z()}D(g|0)}c=C()|0;if((f|0)==1){continue}break}}j[a+164>>2]=0;j[a+156>>2]=0;j[a+160>>2]=0}ze(b);oe=d+160|0}function $D(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=oe-32|0;oe=d;j[d+16>>2]=b;e=j[a+48>>2];j[d+20>>2]=c-((e|0)!=0);f=j[a+44>>2];j[d+28>>2]=e;j[d+24>>2]=f;e=-1;a:{b:{g=Na(j[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}j[67100]=g;f=-1}if(!f){e=j[d+12>>2];if((e|0)>0){break b}}j[a>>2]=j[a>>2]|e&48^16;break a}g=j[d+20>>2];if(g>>>0>=e>>>0){break a}f=j[a+44>>2];j[a+4>>2]=f;j[a+8>>2]=f+(e-g|0);if(j[a+48>>2]){j[a+4>>2]=f+1;h[(b+c|0)-1|0]=k[f|0]}e=c}oe=d+32|0;return e|0}function nr(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2]+1|0;j[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Pf(d+12|0,b);c=j[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=k[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;j[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(k[c|0]!=62){break c}}c=c+1|0;b=0}j[a>>2]=c;oe=d+16|0;return b}function JA(a,b){var c=0,d=0;d=oe-32|0;oe=d;a:{b:{if((b|0)<0){break b}c=qe[j[58771]]()|0;if((c|0)<=(b|0)){break b}qe[j[58775]](d+16|0,b);b=j[d+28>>2];c=j[d+24>>2];h[a+8|0]=c;h[a+9|0]=c>>>8;h[a+10|0]=c>>>16;h[a+11|0]=c>>>24;h[a+12|0]=b;h[a+13|0]=b>>>8;h[a+14|0]=b>>>16;h[a+15|0]=b>>>24;b=j[d+20>>2];c=j[d+16>>2];h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;h[a+4|0]=b;h[a+5|0]=b>>>8;h[a+6|0]=b>>>16;h[a+7|0]=b>>>24;break a}j[d>>2]=c;ve(73058,d);Oe(a,0,16)}oe=d+32|0}function wL(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,i=0,k=0;e=oe-32|0;oe=e;j[d>>2]=-1;Nh(a,e+16|0);if(j[e+24>>2]==3){i=j[a>>2];g=j[e+16>>2]+1|0;j[a>>2]=g;k=j[a+8>>2];h=j[e+20>>2]-1|0;j[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}c=p(c,12)+b|0;while(1){Nh(a,e);if(!j[e+8>>2]){break a}if(!(!b|c>>>0<=f>>>0)){g=j[e+4>>2];j[f>>2]=j[e>>2];j[f+4>>2]=g;j[f+8>>2]=j[e+8>>2]}f=f+12|0;if(m[a>>2]>2]){continue}break}}j[d>>2]=(f-b|0)/12;j[a+8>>2]=k;j[a>>2]=i}oe=e+32|0}function sy(a){var b=0,c=0,d=0;a=j[a+52>>2];c=j[j[a>>2]+4>>2];if(k[c+8|0]>=8){b=k[c+9|0]}a:{b:{c:{d:{e:{f:{a=j[a+68>>2]&-28673;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break c;case 0:break e;default:break f}}a=a-256|0;if(!a){break d}if((a|0)==18){break b}break a}return j[(b<<2)+86848>>2]}return j[(b<<2)+86880>>2]}return b>>>0>1?280:0}d=b>>>0>1?281:0}return d}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;e=k[a+11|0]+7>>>3|0;a:{if(!e){d=b;break a}f=b+e|0;d=b;while(1){h[d|0]=k[c|0]+k[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}i=j[a+4>>2]+b|0;if(i>>>0>d>>>0){a=0-e|0;while(1){l=k[a+d|0];b=k[a+c|0];e=l-b|0;f=e>>31;m=k[c|0];g=m-b|0;n=g>>31;o=e+g|0;p=o>>31;q=b;b=f^e+f;e=n^g+n;f=(b|0)<(e|0);h[d|0]=k[d|0]+((p^p+o)<((f?b:e)|0)?q:f?m:l);c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}}function _A(a){var b=0,c=0,d=0;if(a){b=j[a+4>>2];j[a+4>>2]=b-1;if((b|0)<=1){cl(j[a>>2]);b=j[67069];a:{if(!b){break a}if((a|0)!=(b|0)){while(1){c=j[b+32>>2];if(!c){break a}d=b;b=c;if((b|0)!=(a|0)){continue}break}}b=j[a+32>>2];if(d){j[d+32>>2]=b;break a}j[67069]=b}b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+24>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}}function ow(a,b,c,d){var e=0,f=0;e=oe-48|0;oe=e;j[e+36>>2]=c;j[e+32>>2]=b;j[e+20>>2]=c;j[e+16>>2]=b;j[e+24>>2]=16;j[e+28>>2]=28;j[e+4>>2]=c;j[e>>2]=b;f=(c|0)%4|0;c=f>>31;c=c^c+f;f=(b|0)%4|0;b=f>>31;f=b^b+f;b=e;a:{b:{c:{switch(d|0){case 0:j[e>>2]=c<<4;c=64;break b;case 1:j[e>>2]=f<<4;c=32;break b;case 2:j[e>>2]=c<<4;c=0;break b;case 3:break c;default:break a}}j[e>>2]=f<<4;c=96}j[b+4>>2]=c}j[e+8>>2]=16;j[e+12>>2]=28;ro(a,e+40|0,e+44|0);Ui(j[58882],a,e,e+16|0);oe=e+48|0}function Yz(a,b,c,d){var e=0,f=0,g=0;if(!a){ve(85856,0);return}e=j[a+4>>2];if(k[e+8|0]<=7){ve(85888,0);return}f=j[a+36>>2];a:{if((f|0)>(b|0)){break a}g=j[a+40>>2];if((j[a+44>>2]+f|0)<=(b|0)|(g|0)>(c|0)|(j[a+48>>2]+g|0)<=(c|0)){break a}b:{switch(k[e+9|0]-1|0){case 0:h[(j[a+20>>2]+p(j[a+16>>2],c)|0)+b|0]=d;return;case 1:i[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<1)>>1]=d;return;case 2:Be(4);return;case 3:break b;default:break a}}j[(j[a+20>>2]+p(j[a+16>>2],c)|0)+(b<<2)>>2]=d}}function Yu(a){var b=0,c=0,d=0,e=0;c=j[a+100>>2];a:{if(!c){break a}b=j[67085];d=j[b+120>>2];if(!d){break a}qe[d|0](b,a,c)|0}if(j[67035]){Qj(a);el(a,j[a+24>>2]/2|0,j[a+28>>2]/2|0)}d=0;c=j[67085];b=j[c+312>>2];e=j[a+48>>2];b:{if(!(!(j[67035]|e&256)|!(e&512))){c:{if(!b|(a|0)==(b|0)){break c}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break c}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;d=1;break b}if((a|0)!=(b|0)){break b}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,d)}}function LO(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=35;a:{if(!(k[a+8|0]&2)){break a}e=7;if(j[b>>2]){break a}f=j[b+4>>2];g=f;e=j[b+12>>2];if(e){g=(p(e,f)+36|0)/72|0}d=j[b+8>>2];h=d;b=j[b+16>>2];if(b){h=(p(b,d)+36|0)/72|0}e=23;b=j[a+28>>2];if((b|0)<1){break a}d=d?h:g;h=(f?d:h)+32|0;f=(f?g:d)+32|0;g=j[a+32>>2];a=0;while(1){d=g+(a<<4)|0;if(!((h^j[d+12>>2]+32)>>>0>63|(f^j[d+8>>2]+32)>>>0>63)){e=0;if(!c){break a}j[c>>2]=a;return 0}a=a+1|0;if((b|0)>(a|0)){continue}break}}return e}function LL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+76>>2]){break a}f=8;e=a+1|0;if(e>>>0>b>>>0){break a}h=b;a=k[a|0];g=a&15;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+e>>>0){break a}a=xe(j[c>>2],4,0,b,0,d+12|0);f=j[d+12>>2];if(f){break a}j[c+76>>2]=a;j[c- -64>>2]=(g<<2)+a;f=0;if(!b){break a}while(1){c=k[e|0]|k[e+1|0]<<8;j[a>>2]=(c<<24|c<<8&16711680)>>16;a=a+4|0;e=e+2|0;b=b-1|0;if(b){continue}break}f=j[d+12>>2]}oe=d+16|0;return f|0}function eC(a,b){a=a|0;b=b|0;var c=0;c=(k[a+24|0]|k[a+25|0]<<8|(k[a+26|0]<<16|k[a+27|0]<<24))>>>2|0;if(c){b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);while(1){n[b>>2]=q(j[b>>2]>>8)*q(1.1920930376163597e-7);b=b+4|0;c=c-1|0;if(c){continue}break}}b=(k[a+80|0]|k[a+81|0]<<8|(k[a+82|0]<<16|k[a+83|0]<<24))+1|0;h[a+80|0]=b;h[a+81|0]=b>>>8;h[a+82|0]=b>>>16;h[a+83|0]=b>>>24;b=(b<<2)+a|0;b=k[b+40|0]|k[b+41|0]<<8|(k[b+42|0]<<16|k[b+43|0]<<24);if(b){qe[b|0](a,33056)}}function Mh(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==k[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(k[a|0]==(b&255)|c>>>0<4){break d}d=p(b&255,16843009);while(1){e=d^j[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==k[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function Ao(a,b){var c=0,d=0,e=0,f=0;e=j[67055];a:{b:{if((e|0)<=0){c=j[67056];break b}c=j[67056];while(1){f=j[(d<<2)+c>>2];if(j[f>>2]==(a|0)&j[f+4>>2]==(b|0)){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=mf(c,(e<<2)+4|0);if(!c){return Be(0)}j[67056]=c;d=j[67055];c=qe[j[57972]](24)|0;if(c){j[57976]=j[57976]+1}j[j[67056]+(d<<2)>>2]=c;if(!c){return Be(0)}j[67055]=j[67055]+1;j[c+20>>2]=0;j[c+12>>2]=0;j[c+16>>2]=0;j[c+8>>2]=0;j[c>>2]=a;j[c+4>>2]=b;UB(a,b)}return d}function no(a){var b=0,c=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}b=j[a+340>>2];if(b){qe[j[a+48>>2]](a,b,j[a+408>>2],j[a+412>>2])|0;c=a+420|0;while(1){b=c;c=j[b+8>>2];if(c){continue}break}j[b+8>>2]=j[a+432>>2];j[a+432>>2]=j[a+428>>2];j[a+428>>2]=0;b=j[a+344>>2];if(b){j[b+24>>2]=j[a+348>>2];j[a+344>>2]=0;j[a+348>>2]=j[a+340>>2];j[a+340>>2]=0}j[a+412>>2]=0;j[a+404>>2]=0;j[a+396>>2]=0;j[a+400>>2]=0;j[a+352>>2]=j[a+352>>2]+1}if(!j[a+192>>2]){qe[j[a+76>>2]](a)}}function mr(a,b,c,d){var e=0,f=0,g=0,i=0;i=j[a>>2];if(i>>>0>>0){f=1;b=b-i|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=k[b+i|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=k[e+133760|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}h[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}h[c+g|0]=f<<4;g=g+1|0}j[a>>2]=b+i}return g}function gB(){var a=0,b=0,c=0,d=0,e=0;d=oe-1024|0;oe=d;Vi(72312,0);Vi(72559,0);a=dg(72788);a:{if(!a|!k[a|0]){break a}if(Re(d,a,1024)>>>0>1023){break a}jB(hi(d,71947))}e=dg(72818);if(!(!e|!k[e|0])){b=Le(e);a=b+1|0;c=qe[j[57972]](a?a:1)|0;if(c){j[57976]=j[57976]+1}Ge(c,e,b);h[b+c|0]=0;a=c;b=xg(a,10);if(b){while(1){h[b|0]=0;Vi(a,2);a=b+1|0;b=xg(a,10);if(b){continue}break}}Vi(a,2);if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}Ig(71950,186,0);Ig(71984,187,0);oe=d+1024|0}function Dl(a,b,c,d,e,f){var g=0,h=0,i=0;if(j[a+220>>2]==j[a+376>>2]){j[a+240>>2]=0;j[a+236>>2]=d;h=f?4:2;i=a+224|0;d=1024;f=e;a:{while(1){if(!j[a+228>>2]){g=j[c>>2];d=d>>>0>g>>>0?g:d;j[c>>2]=g-d;if(d){pf(a,b,d);tf(a,b,d)}j[a+228>>2]=d;j[a+224>>2]=b}if(!j[a+240>>2]){g=j[e>>2];j[e>>2]=0;j[a+240>>2]=g}g=ui(i,j[c>>2]?0:h);if(g){d=j[e>>2];b=j[a+240>>2];break a}if(j[e>>2]|j[a+240>>2]){continue}break}d=0;b=0}j[f>>2]=b+d;j[a+240>>2]=0;th(a,g);return}j[a+248>>2]=212458}function yK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;k=j[a+16>>2];a:{if(k){c=j[b>>2]+1|0;l=j[a+20>>2];h=k;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+l|0;f=j[e>>2];if((f|0)==(c|0)){a=j[((i<<3)+l|0)+4>>2];j[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?j[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=k>>>0){break a}a=j[a+20>>2]+(d<<3)|0;c=j[a>>2]&2147483647;g=j[a+4>>2]}j[b>>2]=c;return g|0}function Uh(a,b){var c=0,d=0,e=0,f=0;f=oe-16|0;oe=f;a:{if(!a){c=35;break a}c=38;if(!b){break a}e=j[a+40>>2];if(!e){break a}c=j[b>>2];b:{if(!c){break b}c=j[c+96>>2];d=j[j[c>>2]+32>>2];if(!d){break b}c=qe[d|0](c,116463)|0;if(!c){break b}if(qe[j[c>>2]](b,f+8|0)|0){break b}c=6;if(j[f+12>>2]==14){break a}}c=6;d=j[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+e|0;while(1){if(j[e>>2]!=(b|0)){e=e+4|0;if(d>>>0>e>>>0){continue}break a}break}j[a+92>>2]=b;c=0}oe=f+16|0;return c}function BL(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 i=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;i=oe-16|0;oe=i;l=j[b+36>>2];m=(l|0)/2|0;n=Ef(b,p(m,f)<<2);j[i+12>>2]=n;a:{if((f|0)<1){break a}h=0;while(1){b=h<<2;q=j[b+e>>2]!=0;if((l|0)>=2){r=j[b+d>>2];b=h;k=0;while(1){j[(b<<2)+n>>2]=j[(k<<2)+r>>2];b=b+f|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}o=o+q|0;h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!o){break a}sr(a,c,i+12|0,1,g)}oe=i+16|0;return 0}function qq(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,n=0;if(!j[a>>2]){return 65536}n=b&16384;f=65536;b=0;while(1){a:{k=f;h=b<<2;i=j[h+c>>2];b:{if(!i){break b}f=0;g=j[h+j[a+4>>2]>>2];if(!g|((g|0)<0?(i|0)>=1:0)|((g|0)>0?(i|0)<=-1:0)){break a}if(!n){f=g>>31;f=ye(k,f+g^f);break b}l=j[d+h>>2];if((l|0)>(g|0)){break a}h=j[e+h>>2];if((h|0)<(g|0)){break a}if((g|0)<(i|0)){f=Ne(k,g-l|0,i-l|0);break b}f=Ne(k,h-g|0,h-i|0)}b=b+1|0;if(b>>>0>2]){continue}}break}return f}function eF(a){var b=0,c=0,d=0;c=j[a+4>>2];if((c|0)>=0){b=j[a+12>>2];if(b){d=j[a+8>>2]-b|0;j[a+8>>2]=d;if((d|0)>=1){c=j[a>>2];zg(c,c+b|0,d);c=j[a+4>>2]}j[a+12>>2]=0}b=c;c=j[a+8>>2];a:{if((b-c|0)>=2048){b=j[a>>2];break a}c=c+6144|0;b=j[a>>2];b:{if(b){b=Vf(b,c);break b}b=Te(c)}if(!b){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;return 0}j[a+4>>2]=c;j[a>>2]=b;c=j[a+8>>2]}a=c+b|0}else{a=0}return a}function Yt(a){a=a|0;a=Xe(1,1004);if(!a){Be(0);return 0}Yo(105203,105236);j[a+232>>2]=493;j[a+32>>2]=494;j[a+20>>2]=495;j[a+8>>2]=496;j[a+4>>2]=497;j[a+132>>2]=498;j[a+56>>2]=499;j[a+44>>2]=500;j[a+36>>2]=501;j[a+204>>2]=502;j[a+200>>2]=503;j[a+196>>2]=504;j[a+192>>2]=505;j[a+184>>2]=506;j[a+180>>2]=507;j[a+176>>2]=508;j[a+172>>2]=509;j[a+168>>2]=510;j[a+144>>2]=511;j[a+140>>2]=512;j[a+136>>2]=513;j[a+116>>2]=514;j[a+1e3>>2]=515;j[a+188>>2]=516;return a|0}function fK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=j[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(k[c|0]<<8|k[c+1|0])){break b}break a}c=c+(d<<1)|0;c=k[c|0]<<8|k[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(k[a+1|0]|k[a|0]<<8)|0;if(b>>>0>=(k[a+3|0]|k[a+2|0]<<8)>>>0){break a}c=k[a+7|0]|k[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=k[b|0]<<8|k[b+1|0];if(!b){break a}e=b+(k[a+5|0]|k[a+4|0]<<8)&65535}return e|0}function cs(a,b,c,d){var e=0,f=0,g=0;if(!a){return}if(!d){return}e=j[a+96>>2];j[d>>2]=0;j[d+4>>2]=0;e=j[j[e+12>>2]+76>>2];if(e){if(!(qe[e|0](a,b,c,d)|0)){f=d,g=ye(j[d>>2],j[j[a+88>>2]+16>>2]),j[f>>2]=g;f=d,g=ye(j[d+4>>2],j[j[a+88>>2]+20>>2]),j[f+4>>2]=g;c=d;b=j[a+88>>2];e=l[b+12>>1];if(e>>>0<=24){f=d,g=Ne(j[d>>2],e,25),j[f>>2]=g;b=j[a+88>>2]}a=l[b+14>>1];b=j[d+4>>2];a:{if(a>>>0>=25){break a}b=Ne(j[d+4>>2],a,25)}j[c+4>>2]=b+32&-64;j[d>>2]=j[d>>2]+32&-64}}}function ru(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=oe-32|0;oe=e;d=Qk(376840196);if(d){f=Lk(a,d);Ok(d)}d=0;a:{if(!f){break a}i[e+28>>1]=105;j[e+24>>2]=1768515945;d=j[a+12>>2];a=j[a+8>>2];j[e+16>>2]=j[f+20>>2];j[e+12>>2]=c;j[e+8>>2]=b;j[e>>2]=a;j[e+4>>2]=d;a=E(102931,e+24|0,e|0)|0;kf(f);d=Xe(1,8);b:{if(d){b=Xe(1,8);if(!b){Be(0);if(d){qe[j[57975]](d);j[57976]=j[57976]-1}d=0;break a}j[b+4>>2]=1;j[b>>2]=a;j[d+4>>2]=b;break b}Be(0)}}oe=e+32|0;return d|0}function Ss(a,b){a=a|0;b=b|0;var c=0;if(j[b+72>>2]==1651078259){c=j[a>>2];j[a+20>>2]=j[b+100>>2];j[a+24>>2]=j[b+104>>2];a=a+28|0;if(h[j[b+156>>2]+4|0]&1){c=j[b+80>>2];j[a>>2]=j[b+76>>2];j[a+4>>2]=c;c=j[b+96>>2];j[a+16>>2]=j[b+92>>2];j[a+20>>2]=c;c=j[b+88>>2];j[a+8>>2]=j[b+84>>2];j[a+12>>2]=c;a=j[b+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return 0}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}a=zk(c,b+76|0,a)}else{a=18}return a|0}function du(a,b,c){a=a|0;b=b|0;c=c|0;a=oe-16|0;oe=a;b=j[b+24>>2];a:{b:{if(b>>>0<=127){h[a+11|0]=b;b=1;break b}if(b>>>0<=2047){h[a+12|0]=b&63|128;h[a+11|0]=b>>>6|192;b=2;break b}if(b>>>0<=65535){h[a+13|0]=b&63|128;h[a+11|0]=b>>>12|224;h[a+12|0]=b>>>6&63|128;b=3;break b}if(b>>>0>1114111){break a}h[a+14|0]=b&63|128;h[a+11|0]=b>>>18|240;h[a+13|0]=b>>>6&63|128;h[a+12|0]=b>>>12&63|128;b=4}h[b+(a+11|0)|0]=0;QB(a+11|0)}b=We(771,-1);oe=a+16|0;return(b|0)==1|0}function kB(a){var b=0;b=-1;a:{if(!(!a|!k[a|0])){if(!Me(a,72076)){return 0}if(Me(a,72078)){break a}b=1}return b}if(!Me(a,72080)){return 2}if(!Me(a,72082)){return 3}if(!Me(a,72084)){return 4}if(!Me(a,72089)){return 5}if(!Me(a,72095)){return 6}if(!Me(a,72101)){return 7}if(!Me(a,72111)){return 8}if(!Me(a,72122)){return 9}if(!Me(a,72135)){return 10}if(!Me(a,72149)){return 11}if(!Me(a,72154)){return 12}if(!Me(a,72161)){return 13}return Me(a,72168)?-1:14}function Mk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=oe-32|0;oe=e;a:{if(!a){j[e>>2]=97712;a=ve(97686,e);break a}d=j[j[a+4>>2]+4>>2];if(!(!d|m[d>>2]>c>>>0)){j[e+16>>2]=97720;a=ve(97686,e+16|0);break a}b:{if(!(b&2)){break b}d=j[a+52>>2];g=j[d+68>>2];f=g|4096;j[d+68>>2]=f;if((f|0)==(g|0)){break b}vf(d)}d=j[a+52>>2];f=j[d+68>>2];a=d;c:{if(b){j[d+72>>2]=c;b=f|256;break c}b=f&-257}j[a+68>>2]=b;a=0;if((b|0)==(f|0)){break a}vf(d)}oe=e+32|0;return a|0}function cO(a){var b=0,c=0,d=0,e=0;if(a){e=j[j[a+128>>2]>>2];c=j[a+88>>2];b=c;d=j[a+72>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+72>>2]=0;b=j[a+76>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+92|0]=0;j[a+84>>2]=-1;j[a+64>>2]=0;j[a+68>>2]=0;j[a+76>>2]=0;c=j[a+120>>2];b=c;d=j[a+104>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+104>>2]=0;b=j[a+108>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+128>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;j[a+100>>2]=0;j[a+108>>2]=0;if(a){qe[j[e+8>>2]](e,a)}}}function lK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=j[a+24>>2];j[a+48>>2]=c;b=j[a+28>>2];j[a+52>>2]=b;d=j[a+8>>2]+1|0;e=d+j[a>>2]>>1;j[a+8>>2]=e;f=j[a+16>>2];c=(c+f|0)+1>>1;j[a+40>>2]=c;g=j[a+12>>2]+1|0;h=g+j[a+4>>2]>>1;j[a+12>>2]=h;i=j[a+20>>2];b=(b+i|0)+1>>1;j[a+44>>2]=b;d=(d+f>>1)+1|0;e=d+e>>1;j[a+16>>2]=e;c=c+d>>1;j[a+32>>2]=c;f=b;b=(g+i>>1)+1|0;d=f+b>>1;j[a+36>>2]=d;b=b+h>>1;j[a+20>>2]=b;j[a+24>>2]=(c+e|0)+1>>1;j[a+28>>2]=(b+d|0)+1>>1}function oL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=j[a+20>>2];if(!a){break a}b=l[a>>1];e=b<<16>>16;if((e|0)>=2){d=i[(j[a+12>>2]+(b<<1)|0)-4>>1]+1|0}b=i[a+2>>1];b:{if((b|0)<2){break b}c=j[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(j[f>>2]!=j[c>>2]|j[f+4>>2]!=j[c+4>>2]|k[(j[a+8>>2]+b|0)-1|0]!=1){break b}b=b-1|0;i[a+2>>1]=b}if((e|0)<1){break a}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){i[a+2>>1]=b-1;i[a>>1]=e-1;return}i[(j[a+12>>2]+(e<<1)|0)-2>>1]=d}}function wJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-16|0;oe=d;c=j[a+28>>2];g=j[a+16>>2];e=j[a+24>>2];j[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=j[a+32>>2];break c}j[a+36>>2]=b;b=xe(b,4,c,f,j[a+32>>2],d+12|0);j[a+32>>2]=b;if(j[d+12>>2]){break b}j[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){j[(c<<2)+b>>2]=k[a+2|0]|(k[a+1|0]<<8|k[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[(e<<2)+b>>2]=0;break a}b=0}oe=d+16|0;return b|0}function gp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function YB(){var a=0,b=0;a:{b:{c:{a=j[66107];d:{e:{f:{if(a){b=j[a>>2];if(!(b&8)){break f}break d}a=Xe(1,32);j[66107]=a;if(!a){break e}b=j[a>>2]}j[a>>2]=b|8;Xi(771,771);a=j[66107]}if(!a){break c}}b=j[a>>2];if(!(b&4)){break b}break a}a=Xe(1,32);j[66107]=a;if(!a){break a}b=j[a>>2]}j[a>>2]=b|4;Xi(770,770)}a=j[66106];g:{h:{if(a){b=j[a>>2];if(!(b&2)){break h}break g}a=Xe(1,32);j[66106]=a;if(!a){break g}b=j[a>>2]}j[a>>2]=b|2;Xi(513,513)}j[57840]=1}function Fk(a,b,c){var d=0,e=0,f=0,g=0;e=oe+ -64|0;oe=e;d=j[a+992>>2];a:{if(!d){f=ve(100722,0);break a}g=j[d+8>>2];d=j[d+84>>2];if(!(c?b:0)){qe[d|0](g,0,0,0)|0;f=0;break a}f=0;if(qe[d|0](g,b,b,c)|0){break a}b=101268;c=e;a=qe[j[j[a+992>>2]+116>>2]]()|0;d=a-12288|0;if(d>>>0<=14){b=j[(d<<2)+101272>>2]}if(!k[b|0]){j[e+16>>2]=a;Ue(e+32|0,32,100323,e+16|0);b=e+32|0}j[c+8>>2]=b;j[e+4>>2]=100433;j[e>>2]=100745;f=ve(100328,e)}d=f;oe=e- -64|0;return d}function Ut(a,b){a=a|0;b=b|0;var c=q(0),d=0,e=q(0),f=0,g=0,h=0;a:{a=j[b+144>>2];if(!a){break a}b:{if(!(k[b+49|0]&32)){c=n[a+16>>2];d=a+16|0;break b}c=q(+K());n[a+16>>2]=c;d=a+16|0}e=q(c*q(j[b+28>>2]));c:{if(q(r(e))>2];c=q(c*q(j[b+24>>2]));d:{if(q(r(c))>2]|n[d>>2]==q(1)){break a}Q(j[a+12>>2],+j[b+24>>2],+j[b+28>>2])|0}}function IE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(!(!b|!(k[b+9|0]&2))){Ie(a,c);Je(a,211085);break a}if(e&4){j[a+208>>2]=e|8}if((c|0)!=7){Ie(a,c);Je(a,211064);break a}pf(a,d+9|0,7);tf(a,d+9|0,7);if(Ie(a,0)){break a}h[d+6|0]=k[d+15|0];c=k[d+11|0]|k[d+12|0]<<8|(k[d+13|0]<<16|k[d+14|0]<<24);i[d+2>>1]=c;i[d+4>>1]=c>>>16;c=k[d+9|0]|k[d+10|0]<<8;i[d>>1]=(c<<24|c<<8&16711680)>>>16;PF(a,b,d)}oe=d+16|0;return}hf(a,211072);z()}function xe(a,b,c,d,e,f){var g=0;if((b|c|d)<0){j[f>>2]=6;return e}a:{b:{c:{if(!(d?b:0)){if(!e){break c}qe[j[a+8>>2]](a,e);break c}g=10;if((2147483647/(b|0)|0)<(d|0)){break a}if(!c){e=0;g=p(b,d);if((g|0)<=0){g=g?6:0;break b}e=qe[j[a+4>>2]](a,g)|0;if(!e){j[f>>2]=64;return 0}Ee(e,0,g);g=0;break b}a=qe[j[a+12>>2]](a,p(b,c),p(b,d),e)|0;e=a?a:e;g=!a<<6;break b}e=0;g=0}if(g|(c|0)>=(d|0)){break a}g=0;Ee(p(b,c)+e|0,0,p(d-c|0,b))}j[f>>2]=g;return e}function VD(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!j[j[58825]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){h[a+1|0]=b&63|128;h[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){h[a+2|0]=b&63|128;h[a|0]=b>>>12|224;h[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){h[a+3|0]=b&63|128;h[a|0]=b>>>18|240;h[a+2|0]=b>>>6&63|128;h[a+1|0]=b>>>12&63|128;return 4}}j[67100]=25;a=-1}else{a=1}return a}h[a|0]=b;return 1}function xl(a,b){var c=0,d=0,e=0,f=0,g=0;f=-1;a:{if(b>>>0>32){break a}d=j[a+4>>2];e=d+b|0;b:{c=j[a>>2];g=j[a+16>>2];if((c|0)<(g-4|0)){break b}if((g-(e+7>>3)|0)<(c|0)){break a}if(e){break b}return 0}f=j[(b<<2)+63040>>2];b=j[a+12>>2];a=k[b|0]>>>d|0;c=a;c:{if((e|0)<9){break c}a=k[b+1|0]<<8-d|a;c=a;if((e|0)<17){break c}a=k[b+2|0]<<16-d|a;c=a;if((e|0)<25){break c}a=k[b+3|0]<<24-d|a;c=a;if(!d|(e|0)<33){break c}c=k[b+4|0]<<32-d|a}f=c&f}return f}function to(a,b,c){var d=0,e=0;d=oe+ -64|0;oe=d;a:{b:{c:{switch(c|0){case 1:j[d+8>>2]=1539;break b;case 0:break c;default:break a}}j[d+8>>2]=1540}if(k[j[a+56>>2]+b|0]==(c|0)|j[a+52>>2]<=(b|0)){break a}d:{if(k[268304]){break d}e=j[67085];if(e){e=j[e+308>>2]!=0}else{e=0}if(!e|(c|0)!=1){break d}if(!j[66371]){break a}}h[j[a+56>>2]+b|0]=c;if((We(j[d+8>>2],-1)|0)!=1){break a}a=j[a>>2];h[d+21|0]=c;h[d+20|0]=b;j[d+16>>2]=a;gf(d+8|0)}oe=d- -64|0}function iE(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=k[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=j[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=p(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=j[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=k[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Le(a)+a|0}return a}function SC(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=j[a+12>>2];e=(d+b|0)-1|0;f=(e>>>0)/(d>>>0)|0;c=j[a+8>>2];b=j[a>>2];b:{if(!b){b=c;break b}j[j[a+4>>2]+8>>2]=c}c=0;j[a+16>>2]=0;j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;a=a+8|0;if(!(!b|d>>>0>e>>>0)){while(1){a=b;b=j[a+8>>2];if(b){c=c+1|0;if(f>>>0>c>>>0){continue}}break}a=a+8|0}j[a>>2]=0;if(!b){break a}while(1){a=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=a;if(a){continue}break}}}function Do(a){var b=0,c=0;b=j[66371];if(!(!b|a)){while(1){if(k[c+265490|0]==1){il(0,c)}c=c+1|0;if((c|0)!=512){continue}break}b=j[66371]}a:{if(!b|(a|0)==(b|0)){break a}if(k[b+49|0]&64){fl(0);b=j[66371]}zf(b,13,0,0);if(!We(771,-1)){break a}c=j[67085];if(!c){break a}b=j[c+244>>2];if(!b){break a}qe[b|0](c)}j[66371]=a;b:{if(!a){break b}zf(a,12,0,0);if(!We(771,-1)){break b}b=j[67085];if(!b){break b}a=j[b+240>>2];if(!a){break b}qe[a|0](b)}}function wA(a,b){var c=0,d=0;a:{if(Kj(a,k[b+32|0],k[b+33|0],k[b+34|0],k[b+35|0])){break a}b:{c=j[a+348>>2];if(c){j[a+348>>2]=j[c+24>>2];j[c+24>>2]=0;break b}c=Xe(1,28);if(c){break b}Be(0);break a}d=j[a+344>>2];j[(d?d+24|0:a+340|0)>>2]=c;j[a+344>>2]=c;if(!c){break a}j[c+4>>2]=0;j[c+8>>2]=0;j[c>>2]=8;h[c+12|0]=k[b+32|0];h[c+13|0]=k[b+33|0];h[c+14|0]=k[b+34|0];h[c+15|0]=k[b+35|0];a=j[b+24>>2];j[c+20>>2]=b;j[c+16>>2]=a;return c}return 0}function _t(a){ua(j[a+12>>2],0,0,0,2)|0;ta(j[a+12>>2],0,0,0,2)|0;sa(1,0,0,0,2)|0;ra(j[a+12>>2],0,0,0,2)|0;qa(j[a+12>>2],0,0,0,2)|0;pa(j[a+12>>2],0,0,0,2)|0;oa(2,0,0,0,2)|0;na(2,0,0,0,2)|0;ma(j[a+12>>2],0,0,0,2)|0;la(j[a+12>>2],0,0,0,2)|0;ka(j[a+12>>2],0,0,0,2)|0;ja(j[a+12>>2],0,0,0,2)|0;ia(1,0,0,0,2)|0;a=dg(104236);a=a?a:2;ha(a|0,0,0,0,2)|0;ga(a|0,0,0,0,2)|0;fa(a|0,0,0,0,2)|0;ea(1,0,0,0,2)|0;da(2,0,0,0,2)|0;ca(0,0,0,2)|0;ba(0,0,1)|0}function vy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;m=j[a+48>>2];n=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];o=(e|0)<1;p=c<<1;while(1){f=f-1|0;a=0;c=0;if(!o){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(n|0)){i[d>>1]=l[(g<<1)+m>>1]}d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+p|0;if(f){continue}break}}}function ty(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){h=j[a+16>>2]+(b+e|0)|0;i=j[a+48>>2];l=j[a+56>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<2;while(1){f=f-1|0;a=0;c=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){j[d>>2]=j[(g<<2)+i>>2]}d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+h|0;d=d+n|0;if(f){continue}break}}}function ym(a){a=a|0;var b=0,c=0;if(a){c=j[a+100>>2];Or(j[a+140>>2]);b=j[a+144>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+144>>2]=0;b=j[a+132>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0;b=j[a+136>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+136>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+20>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+32>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+32>>2]=0;b=j[a+140>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+140>>2]=0}}function ZA(){var a=0,b=0;while(1){a=j[67062];if(a){j[67062]=j[a+28>>2];b=j[a+16>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+20>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}Go(188,0);li(71950,186,0);li(71984,187,0);a=j[67065];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268252,0,12)}a=j[67068];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Oe(268264,0,12)}}function Ly(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)>=1){g=k[e+34|0];h=k[e+30|0];i=k[e+33|0];l=k[e+29|0];m=k[e+32|0];n=k[e+28|0];o=k[d+35|0];p=k[d+34|0];q=k[d+33|0];r=k[d+32|0];while(1){e=j[b>>2];j[a>>2]=(e&j[d+12>>2])>>>r>>>n<>2])>>>o<<24|(e&j[d+16>>2])>>>q>>>l<>2])>>>p>>>h<>>0<10){break b}if((c-65&255)>>>0<=5){d=c-55|0;break b}d=(c-97&255)>>>0<6?c-87|0:0}i=d<<4;c=k[(f|1)+b|0];d=c-48|0;c:{if((d&255)>>>0<10){break c}if((c-65&255)>>>0<=5){d=c-55|0;break c}d=(c-97&255)>>>0<6?c-87|0:0}h[e|0]=d|i;f=f+2|0;if(g>>>0<=f>>>0){break a}e=e+1|0;if((e-a|0)<16){continue}break}}}function $G(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,i=0,k=0,l=0;f=j[a+492>>2];if(!f){return 6}g=j[f+32>>2];if(g){a=0;while(1){e=j[f+28>>2]+p(a,20)|0;a:{if(j[e>>2]!=(c|0)){break a}h=j[e+4>>2];if((h|0)>(b|0)){j[d>>2]=j[e+8>>2];break a}i=j[e+12>>2];if((i|0)<(b|0)){j[d>>2]=j[e+16>>2];break a}k=d,l=Ne(b-h|0,j[e+16>>2]-j[e+8>>2]|0,i-h|0)+j[e+8>>2]|0,j[k>>2]=l;g=j[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function yy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){l=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];m=j[a+36>>2];b=j[a>>2];a=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;f=0;g=0;if(!n){while(1){if(!(f&7)){g=k[b|0];b=b+1|0}c=g>>>5&4;h[a|0]=k[c+i|0];c=(c|1)+i|0;h[a+1|0]=k[c|0];h[a+2|0]=k[c+1|0];a=a+3|0;g=g<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=a+m|0;b=b+l|0;if(e){continue}break}}}function ds(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=j[a>>2];if(!b){return}e=j[b+96>>2];if(!e){return}d=j[e+8>>2];f=b+108|0;c=zh(f,a);if(!c){break a}Th(f,c);if(c){qe[j[d+8>>2]](d,c)}b:{if(j[b+88>>2]!=(a|0)){break b}j[b+88>>2]=0;c=j[b+108>>2];if(!c){break b}j[b+88>>2]=j[c+8>>2]}b=j[a+8>>2];if(b){qe[b|0](a)}b=j[j[e+12>>2]+60>>2];if(b){qe[b|0](a)}b=j[a+40>>2];if(b){qe[j[d+8>>2]](d,b)}j[a+40>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function xD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=oe-16|0;oe=d;f=(uP(b),pP(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=s(c);Nf(d,e,0,0,0,c+81|0);h=j[d>>2];i=j[d+4>>2];g=j[d+8>>2];c=j[d+12>>2]^65536|16265-c<<16}j[a>>2]=h;j[a+4>>2]=i;j[a+8>>2]=g;j[a+12>>2]=f&-2147483648|c;oe=d+16|0}function ou(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-32|0;oe=b;a:{if(!a){break a}d=j[a+4>>2];c=j[a>>2];j[b+20>>2]=c;j[b+8>>2]=0;j[b+12>>2]=0;j[b+24>>2]=d;j[b+16>>2]=c;if(!j[a+8>>2]){break a}if((Ce(b+8|0,8)|0)!=1){break a}f=b,g=Ce(b+8|0,8),h[f+2|0]=g;f=b,g=Ce(b+8|0,8),h[f+3|0]=g;f=b,g=Ce(b+8|0,8),h[f+4|0]=g;f=b,g=Ce(b+8|0,8),h[f+5|0]=g;f=b,g=Ce(b+8|0,8),h[f+6|0]=g;f=b,g=Ce(b+8|0,8),h[f+7|0]=g;e=!Cg(b+2|0,3685,6)}oe=b+32|0;return e}function Uu(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0;a:{if(j[a+8>>2]<1){break a}h=(c|0)/(d|0)|0;k=(c+f|0)/(d|0)|0;if((h|0)>=(k|0)){break a}f=0;while(1){g=-1;c=ai(a,e);if((c|0)==-1){break a}g=j[a>>2];if((g|0)>=1){l=j[a+16>>2]+(p(c,g)<<2)|0;c=0;while(1){i=j[(f<<2)+b>>2]+(h<<2)|0;n[i>>2]=n[(c<<2)+l>>2]+n[i>>2];f=f+1|0;i=(f|0)==(d|0);f=i?0:f;h=h+i|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((h|0)<(k|0)){continue}break}g=0}return g}function ZL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=j[a+16>>2];f=j[b>>2];a:while(1){if(!e){j[b>>2]=0;return 0}f=f+1|0;i=j[a+20>>2];c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=j[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}j[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){j[b>>2]=0;return 0}e=0;if(c){e=j[j[a+20>>2]+(c<<4)>>2];d=c+1|0}j[b>>2]=e;return d|0}function zL(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,l=0,m=0,n=0;f=oe-16|0;oe=f;Pf(a,j[a+8>>2]);g=j[a>>2];j[f+12>>2]=g;h=j[a+8>>2];a:{if(h>>>0<=g>>>0){break a}l=a;b:{if(e){i=3;if(k[g|0]!=60){break a}j[f+12>>2]=g+1;m=d,n=mr(f+12|0,h,b,c),j[m>>2]=n;b=j[a+8>>2];a=j[f+12>>2];if(k[a|0]!=62?b>>>0>a>>>0:0){break a}a=a+1|0;break b}m=d,n=mr(f+12|0,h,b,c),j[m>>2]=n;a=j[f+12>>2]}j[l>>2]=a;i=0}oe=f+16|0;return i|0}function aB(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=mh(0,0,1,1619,1619);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=mh(a,b,2,1619,1619);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}mh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function PA(){var a=0,b=0,c=0,d=0,e=0,f=0;a=oe;f=a;b=mh(0,0,1,1541,1541);a:{if((b|0)<1){break a}c=p(b,56);b:{if(c>>>0<=127){a=a-(c+15&-16)|0;oe=a;break b}a=qe[j[57972]](c?c:1)|0;if(a){j[57976]=j[57976]+1}if(!a){break a}}b=mh(a,b,2,1541,1541);if((b|0)>=1){while(1){e=p(d,56)+a|0;j[e+8>>2]=j[e+8>>2]-1;d=d+1|0;if((b|0)!=(d|0)){continue}break}}mh(a,b,0,0,0);if(c>>>0<128){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=f}function _p(a,b){var c=0,d=0,e=0;d=oe-16|0;c=d;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);h[c+11|0]=b;h[c+12|0]=b>>>8;h[c+13|0]=b>>>16;h[c+14|0]=b>>>24;a:{if(!a){break a}b=j[a+692>>2];if(!b){break a}c=j[a+696>>2];a=c+p(b,5)|0;while(1){b=d;e=k[b+11|0]|k[b+12|0]<<8|(k[b+13|0]<<16|k[b+14|0]<<24);b=a-5|0;if((e|0)==(k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24))){return k[a-1|0]}a=b;if(b>>>0>c>>>0){continue}break}}return 0}function GO(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}h[c|0]=0;e=16;a:{if(j[a+16>>2]<=(b|0)){break a}if(!(k[a+9|0]&2)){return 6}e=6;b:{c:{f=j[a+128>>2];d=j[f+36>>2];switch(d+2|0){case 0:break a;case 2:break c;default:break b}}d=j[a+96>>2];e=j[j[d>>2]+32>>2];d:{if(!e){d=0;break d}d=qe[e|0](d,116452)|0;f=j[a+128>>2]}j[f+36>>2]=d?d:-2}if(!d){return 6}e=6;d=j[d>>2];if(!d){break a}e=qe[d|0](a,b,c,8)|0}return e}function Yg(a){var b=0,c=0,d=0,e=0;d=j[a+104>>2];b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}b=j[a+68>>2];c=j[a+80>>2];if(c){b=Vf(b,c+j[a+76>>2]|0);j[a+68>>2]=b;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0;if(b){ze(b)}if(d){e=d+12|0;b=0;while(1){c=(b<<2)+e|0;bE(j[c>>2]);if((b|0)!=7){ze(j[c>>2])}b=b+1|0;if((b|0)!=15){continue}break}ze(d)}Ee(a,0,112)}function uy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0;d=j[a+24>>2];b=(d+7|0)/-8|0;e=j[a+28>>2];if(e){h=j[a+16>>2]+(b+d|0)|0;i=j[a+48>>2];l=j[a+56>>2];m=j[a+36>>2];b=j[a>>2];c=j[a+20>>2];n=(d|0)<1;while(1){e=e-1|0;a=0;f=0;if(!n){while(1){if(!(f&7)){a=k[b|0];b=b+1|0}g=a>>>7&1;if((g|0)!=(l|0)){Ge(c,(g<<2)+i|0,3)}c=c+3|0;a=a<<1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}c=c+m|0;b=b+h|0;if(e){continue}break}}}function jI(a){a=a|0;var b=0,c=0,d=0;b=j[a+200>>2];d=b+10|0;if(d>>>0<=m[a+204>>2]){c=k[b|0]|k[b+1|0]<<8;i[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=k[b+2|0]|k[b+3|0]<<8;j[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+4|0]|k[b+5|0]<<8;j[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=k[b+6|0]|k[b+7|0]<<8;j[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=k[b+8|0]|k[b+9|0]<<8;j[a+200>>2]=d;j[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function hH(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[d>>2]=0;j[d+4>>2]=0;e=j[a+492>>2];if(e){h=d;a=j[e+36>>2];e=(a+(j[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=j[b>>2]<<16|j[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;j[d>>2]=j[a+8>>2];a=j[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}j[d>>2]=0;a=0}j[h+4>>2]=a}return 0}function KN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=j[a>>2];d=j[f+140>>2];c=j[b+8>>2];g=j[f+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+44>>2]+j[d+40>>2]|0)){break a}}c=0;Dg(f,0);j[a+24>>2]=j[d+40>>2]<<6;j[a+28>>2]=0-(j[d+44>>2]<<6);j[a+36>>2]=l[d+4>>1]<<6}return c|0}function Hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe+ -64|0;oe=c;d=j[a+992>>2];a:{if(!d){a=ve(100780,0);break a}e=qe[j[d+92>>2]](j[d+8>>2],b)|0;d=j[a+992>>2];if((e|0)==1){j[d+16>>2]=b;a=0;break a}a=101268;b=c;d=qe[j[d+116>>2]]()|0;e=d-12288|0;if(e>>>0<=14){a=j[(e<<2)+101272>>2]}if(!k[a|0]){j[c+16>>2]=d;Ue(c+32|0,32,100323,c+16|0);a=c+32|0}j[b+8>>2]=a;j[c+4>>2]=100463;j[c>>2]=100800;a=ve(100328,c)}oe=c- -64|0;return a|0}function We(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=(a&-2)==4096&b>>>0<2;e=(a>>>6&1020)+264416|0;c=j[e>>2];a:{if(c){d=0;if(j[(a>>>3&28)+c>>2]>>>a&1){break a}}d=1}g=d;b:{if((b|0)==(d|0)){break b}c:{switch(b|0){case 0:if(!c){c=Xe(1,32);j[e>>2]=c;if(!c){break b}}b=(a>>>3&28)+c|0;j[b>>2]=j[b>>2]|1<>>3&28)+c|0;d=j[b>>2];h=b,i=mP(-2,a)&d,j[h>>2]=i}if(f){fv()}return g}function _j(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;g=e;oe=e;a:{if(!j[65572]){ve(63202,0);break a}if(!b){ve(63357,0);break a}e=e-((Le(b)<<1)+16&-16)|0;oe=e;d=e;f=k[b|0];if(f){while(1){b=b+1|0;b:{if(f<<24>>24>=0){h[d|0]=f;d=d+1|0;break b}h[d+1|0]=f&63|128;h[d|0]=(f&192)>>>6|192;d=d+2|0}f=k[b|0];if(f){continue}break}}h[d|0]=0;j[g+12>>2]=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);d=gD(a,e,g+12|0)}oe=g+16|0;return d}function $y(a,b){var c=0,d=0,e=0,f=0;d=Le(b);d=d>>>0<31?d:31;if(d){c=d-1|0;e=k[c+b|0];a:{if((e- -64&255)>>>0<53){break a}if(e<<24>>24>-1){c=d;break a}if(e>>>0>191){c=d;break a}if(!c){c=d;break a}f=2;b:{if((e&224)==192){break b}while(1){if((e&240)==224){f=3;break b}if((e+16&255)>>>0<=4){f=4;break b}c=c-1|0;if(!c){c=d;break a}e=k[b+c|0];if((e&224)!=192){continue}break}}c=(d-c|0)==(f|0)?d:c}Ae(a,b,c)}h[a+c|0]=0}function Xy(a){var b=0,c=0,d=0;a:{b:{c:{b=j[67080];if(!b){break c}d:{if(!j[b>>2]){c=b;break d}while(1){c=j[b+8>>2];if(!c){break c}d=b;b=c;if(j[b>>2]){continue}break}}if(a){j[c+4>>2]=a;break b}j[(d?d+8|0:268320)>>2]=j[c+8>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}break b}b=qe[j[57972]](12)|0;if(b){j[57976]=j[57976]+1}if(!b){break a}j[b+4>>2]=a;j[b>>2]=0;j[b+8>>2]=j[67080];j[67080]=b}return 0}return Be(0)}function tG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[b+8>>2];f=j[a>>2];g=j[f+32>>2];e=j[f+132>>2];d=j[b+16>>2];if(d){c=(p(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((d|0)==j[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=l[e+96>>1]){break a}}c=0;Dg(f,0);b=l[e+80>>1];j[a+24>>2]=b<<6;j[a+28>>2]=b-l[e+96>>1]<<6;j[a+36>>2]=l[e+102>>1]<<6}return c|0}function hM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[b+8>>2];d=j[a>>2];f=j[d+32>>2];e=j[b+16>>2];if(e){c=(p(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(j[b>>2]){case 0:c=23;if((e|0)==j[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(j[d+208>>2]+j[d+204>>2]|0)){break a}}c=0;Dg(d,0);j[a+24>>2]=j[d+204>>2]<<6;j[a+28>>2]=0-(j[d+208>>2]<<6);j[a+36>>2]=i[d+236>>1]<<6}return c|0}function JF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=oe-128|0;oe=d;a:{if(b){c=-1;while(1){g=c+207782|0;c=c+1|0;f=k[c+b|0];if((f|0)!=k[g|0]){j[a+212>>2]=j[a+212>>2]|131072}e=((f|0)==46)+e|0;if(f?!((c|0)==6|e>>>0>1):0){continue}break}e=j[a+212>>2];break a}e=j[a+212>>2]|131072;j[a+212>>2]=e}c=1;if(e&131072){Yf(d,128,Yf(d,128,Yf(d,128,Yf(d,128,0,207788),b),207819),207781);Ze(a,d);c=0}oe=d+128|0;return c|0}function lg(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;sP(+a);d=pP(1)|0;pP(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=bj(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Ep(a,b)&3){case 0:c=bj(o[b>>3],o[b+8>>3]);break a;case 1:c=-cj(o[b>>3],o[b+8>>3],1);break a;case 2:c=-bj(o[b>>3],o[b+8>>3]);break a;default:break b}}c=cj(o[b>>3],o[b+8>>3],1)}a=c;oe=b+16|0;return a}function Zu(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(j[a+8>>2]<=0){if((d|0)<1){break a}Ee(b,0,d<<2);break a}if((d|0)<1){break a}while(1){e=-1;g=ai(a,c);if((g|0)==-1){break a}h=j[a>>2];b:{if((h|0)<1|(d|0)<=(f|0)){break b}g=j[a+16>>2]+(p(g,h)<<2)|0;e=0;while(1){n[(f<<2)+b>>2]=n[g+(e<<2)>>2];f=f+1|0;e=e+1|0;if((h|0)<=(e|0)){break b}if((d|0)>(f|0)){continue}break}}if((d|0)>(f|0)){continue}break}return 0}return e}function Ik(a,b){var c=0,d=0,e=0,f=0;e=oe-16|0;oe=e;c=j[67085];a:{if(!c){ve(99429,0);break a}d=j[c+300>>2];if(!((d|0)>(a|0)?(a|0)>=0:0)){j[e>>2]=d-1;ve(98088,e);break a}if(!b){break a}d=j[c+304>>2];f=j[c+16>>2];if(f){if(!(qe[f|0](c,d+p(a,72)|0,b)|0)){break a}}b:{if(!a){j[b>>2]=0;j[b+4>>2]=0;break b}Ik(a-1|0,b);j[b>>2]=j[b>>2]+j[b+8>>2]}a=d+p(a,72)|0;j[b+8>>2]=j[a+40>>2];j[b+12>>2]=j[a+44>>2]}oe=e+16|0}function ju(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;if(!j[c+32>>2]){g=j[b+44>>2];f=j[b+48>>2];H(j[c+12>>2],d+8|0,d|0)|0;b=j[c+4>>2];e=+j[b+28>>2]/o[d>>3]*+(f|0);a:{if(r(e)<2147483648){f=~~e;break a}f=-2147483648}h=b;e=+j[b+24>>2]/o[d+8>>3]*+(g|0);b:{if(r(e)<2147483648){b=~~e;break b}b=-2147483648}Pj(h,0,0,b,f)}Qj((a|0)==33?j[c+4>>2]:0);a=We(512,-1);oe=d+16|0;return(a|0)==1|0}function jJ(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;a:{b:{c:{if(b){h=142;g=l[a+152>>1];if(!g){break b}f=j[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(j[f>>2]==(b|0)){g=j[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=j[f+8>>2]+c|0;break c}g=j[j[a+104>>2]+4>>2]}if(!e){f=g;break a}f=j[e>>2];if(f){break a}j[e>>2]=g;h=0}return h|0}return Yr(j[a+104>>2],c,d,f)|0}function qj(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!k[b|0]){break a}if(xg(b,32)){break a}c=Mf(b);if(c){if(rf(c)&1){break a}}d=Le(b);a=j[a+992>>2];c=qe[j[a+96>>2]](j[a+8>>2],12373)|0;if(!c|!k[c|0]){break a}a=c;b:while(1){a=ih(a,b);if(!a){break a}if(!((k[a+d|0]|32)!=32|(k[a-1|0]!=32?(a|0)!=(c|0):0))){f=1;break a}a=a+d|0;while(1){e=k[a|0];if(!e){break a}if((e|0)==32){continue b}a=a+1|0;continue}}}return f}function sz(a,b){a=a|0;b=b|0;var c=0;a=oe-32|0;oe=a;a:{if(!ci(j[b+4>>2],a+28|0,a+24|0,a+20|0,a+16|0,a+12|0)){b=ve(86466,0);break a}c=ug(0,j[b+12>>2],j[b+16>>2],j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2]);j[b+76>>2]=c;bi(c,k[b+32|0],k[b+33|0],k[b+34|0]);Oi(j[b+76>>2],k[b+35|0]);cg(j[b+76>>2],j[b+24>>2]);if(!(j[a+12>>2]|j[b+8>>2])){zj(j[b+76>>2],1)}b=j[b+76>>2]?0:-1}oe=a+32|0;return b|0}function Rt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=oe-32|0;oe=a;c=j[b+144>>2];a:{if(!c){break a}if(d){e=j[b+48>>2];f=e&4097;d=(f|0)==4097;j[a+8>>2]=d?1:2;b:{if(!d){j[a+12>>2]=0;break b}if(e&8192){j[a+12>>2]=2;break b}j[a+12>>2]=1}j[a+24>>2]=c;j[a+20>>2]=517;j[a+16>>2]=0;j[c+28>>2]=d;j[c+24>>2]=f;if(Xa(j[c+12>>2],1,a+8|0)>>>0<2){break a}j[b+48>>2]=j[b+48>>2]&-4098;break a}Wa()|0}oe=a+32|0}function sf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function zy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0;c=j[a+36>>2]/2|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];m=(e|0)<1;n=c<<1;while(1){f=f-1|0;c=0;a=0;if(!m){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}i[d>>1]=l[((a&128)>>>6|0)+h>>1];d=d+2|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+n|0;if(f){continue}break}}}function xy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;c=j[a+36>>2]/4|0;e=j[a+24>>2];b=(e+7|0)/-8|0;f=j[a+28>>2];if(f){g=j[a+16>>2]+(b+e|0)|0;h=j[a+48>>2];b=j[a>>2];d=j[a+20>>2];i=(e|0)<1;l=c<<2;while(1){f=f-1|0;a=0;c=0;if(!i){while(1){if(!(c&7)){a=k[b|0];b=b+1|0}j[d>>2]=j[((a&128)>>>5|0)+h>>2];d=d+4|0;a=a<<1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}b=b+g|0;d=d+l|0;if(f){continue}break}}}function hE(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=k[b|0];h[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=j[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){j[a>>2]=c;c=j[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=k[b|0];h[a|0]=c;if(!c){break a}while(1){c=k[b+1|0];h[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Mg(a){var b=0,c=0;b=oe-16|0;oe=b;sP(+a);c=pP(1)|0;pP(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=cj(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Ep(a,b)&3){case 0:a=cj(o[b>>3],o[b+8>>3],1);break a;case 1:a=bj(o[b>>3],o[b+8>>3]);break a;case 2:a=-cj(o[b>>3],o[b+8>>3],1);break a;default:break b}}a=-bj(o[b>>3],o[b+8>>3])}oe=b+16|0;return a}function Zz(a,b,c,d,e,f,g,h,i,k,l){var m=0,n=0,o=0,q=0;a:{b:{if(!l|(!e|!f)){break b}o=e;q=f;e=p(e,l);if((e|0)!=(k|0)){l=p(e,f);l=qe[j[57972]](l?l:1)|0;if(l){j[57976]=j[57976]+1}m=l;if(!l){break a}if((f|0)>0){while(1){Ge(l,i,e);i=i+k|0;l=e+l|0;n=n+1|0;if((n|0)!=(f|0)){continue}break}}i=m}qe[j[a+160>>2]](b,0,c,d,o,q,g,h,i);if(!m){break b}if(m){qe[j[57975]](m);j[57976]=j[57976]-1}}return}Be(0)}function ql(a,b,c){var d=0,e=0,f=0;f=j[c+16>>2];a:{if(f){d=f}else{if(bp(c)){break a}d=j[c+16>>2]}f=j[c+20>>2];if(d-f>>>0>>0){return qe[j[c+36>>2]](c,a,b)|0}b:{if(h[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(k[d+a|0]!=10){continue}break}d=qe[j[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=j[c+20>>2]}Ae(f,a,b);j[c+20>>2]=j[c+20>>2]+b;d=b+e|0}return d}function TB(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66369];if((d|0)<1){break a}f=j[66370];while(1){e=f+p(c,8232)|0;if(j[e>>2]==(a|0)&j[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return}if((c|0)!=(d|0)){a=p(c,8232);b=j[(a+j[66370]|0)+8224>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}Oe(a+j[66370]|0,0,8232);b=j[66369]-1|0;j[66369]=b;c=a;a=j[66370];Ge(c+a|0,a+p(b,8232)|0,8232)}}function Lp(a){var b=0,c=0,d=0;c=-2;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=0;j[b+48>>2]=0;j[b+40>>2]=0;j[b+44>>2]=0;j[b+28>>2]=0;j[a+8>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;d=j[b+8>>2];if(d){j[a+48>>2]=d&1}j[b+56>>2]=0;j[b+60>>2]=0;j[b+32>>2]=0;j[b+20>>2]=32768;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+7104>>2]=1;j[b+7108>>2]=-1;a=b+1328|0;j[b+108>>2]=a;j[b+80>>2]=a;j[b+76>>2]=a}return c}function eJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=qe[j[a+508>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+364|0;c=$e(b,198608,d);if(c){break a}j[a+460>>2]=0;j[a+452>>2]=0;j[a+456>>2]=0;j[a+444>>2]=0;j[a+448>>2]=0;i[a+464>>1]=65535;if(!l[a+364>>1]){return 0}c=$e(b,198784,d);if(c){break a}if(l[d>>1]<2){return 0}c=$e(b,198800,d);if(c){break a}c=0;if(l[d>>1]<5){break a}c=$e(b,198832,d)}return c|0}function Uk(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[57977];a:{if((b&j[57978])!=-1){break a}if(!k[268328]){h[268328]=1}b=4;j[57977]=4;j[57978]=0;j[d+12>>2]=0;if(!j[d+12>>2]){break a}b=16;j[57977]=16;j[57978]=2}e=a+b|0;a=(a>>>0)%(b>>>0)|0;a=(e+(a?b-a|0:0)|0)+4|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}if(a){c=a+4|0;c=(b-((c>>>0)%(b>>>0)|0)|0)+c|0;j[c-4>>2]=a}oe=d+16|0;return c}function $z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=q(0),g=0,h=q(0),i=q(0);a=lh(a,d<<5,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){g=(b<<4)+c|0;h=n[g+8>>2];i=n[g+12>>2];e=n[g+4>>2];f=n[g>>2];n[a+16>>2]=f;n[a+12>>2]=e;n[a+4>>2]=e;n[a>>2]=f;e=q(e+i);n[a+28>>2]=e;f=q(f+h);n[a+24>>2]=f;n[a+20>>2]=e;n[a+8>>2]=f;a=a+32|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Fs(a,b,c){var d=0,e=0,f=0;if(!a){return 35}if(!c){return 6}e=16;f=b+1|0;d=j[a+16>>2];a:{if(f>>>0>d>>>0|f>>>0<1|b>>>0>=d>>>0){break a}e=0;d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){break a}e=d;if((d&255)!=7){break a}}d=0;while(1){e=Wh(a,b+d|0,2307);if(e){break a}j[(d<<2)+c>>2]=j[j[a+84>>2]- -64>>2]<<10;e=0;d=d+1|0;if((d|0)!=1){continue}break}}return e}function EL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+8>>2]=c;j[a+4>>2]=b;j[a+12>>2]=0;j[a+16>>2]=d;j[a>>2]=b;b=j[33351];j[a+20>>2]=j[33350];j[a+24>>2]=b;b=j[33353];j[a+28>>2]=j[33352];j[a+32>>2]=b;b=j[33355];j[a+36>>2]=j[33354];j[a+40>>2]=b;b=j[33357];j[a+44>>2]=j[33356];j[a+48>>2]=b;b=j[33359];j[a+52>>2]=j[33358];j[a+56>>2]=b;b=j[33361];j[a+60>>2]=j[33360];j[a+64>>2]=b;j[a+68>>2]=j[33362]}function lE(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{c=c-1|0;if(!c){break b}e=k[b|0];if(!e){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=k[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=k[a|0];break a}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=k[b|0];return c-(a-65>>>0<26?a|32:a)|0}function Wo(a,b){var c=0,d=0,e=0,f=0;c=qe[j[57972]](20)|0;if(c){j[57976]=j[57976]+1}if(!c){Be(0);return 0}Oe(c,0,20);a=a?a:1024;j[c+12>>2]=a;d=b-1|0;e=d+a|0;b=(e>>>0)/(a>>>0)|0;if(d>>>0<=e>>>0){d=b>>>0>1?b:1;b=a+12|0;while(1){a=qe[j[57972]](b?b:1)|0;if(a){j[57976]=j[57976]+1}if(a){j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=j[c+8>>2];j[c+8>>2]=a}f=f+1|0;if((d|0)!=(f|0)){continue}break}}return c}function Op(a,b){var c=0;c=j[a+772>>2];if(c){Ke(a,c);j[a+772>>2]=0}a:{b:{c=j[a+760>>2];if(!(b>>>0>c>>>0?c+1>>>0>=2:0)){j[a+776>>2]=b;h[a+768|0]=0;c=j[a+376>>2];h[a+767|0]=c;h[a+780|0]=j[a+208>>2];h[a+766|0]=c>>>8;h[a+765|0]=c>>>16;h[a+764|0]=c>>>24;if(!b){j[a+772>>2]=0;break a}c=fg(a,b);j[a+772>>2]=c;if(c){break b}}Ie(a,b);Je(a,212510);return 0}pf(a,c,b);tf(a,c,b)}Ie(a,0);return 1}function IL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;d=j[a>>2];a:{if(!d){break a}f=j[a+32>>2];b=He(f,j[a+4>>2],e+12|0);j[a>>2]=b;if(j[e+12>>2]){break a}Ae(b,d,j[a+4>>2]);b=j[a+16>>2];if((b|0)>=1){g=j[a>>2]-d|0;c=j[a+24>>2];h=c+(b<<2)|0;while(1){b=j[c>>2];if(b){j[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}j[a+8>>2]=j[a+4>>2];if(d){qe[j[f+8>>2]](f,d)}}oe=e+16|0}function El(a,b){var c=0,d=0;d=oe+ -64|0;oe=d;c=j[a+220>>2];if(c){j[d>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);Yf(d,64,4,212437);yi(a,d);j[a+220>>2]=0}j[a+224>>2]=0;j[a+228>>2]=0;j[a+236>>2]=0;j[a+240>>2]=0;c=a+224|0;a:{b:{c:{if(!(k[a+212|0]&2)){c=vE(c);if(c){break b}j[a+212>>2]=j[a+212>>2]|2;break c}c=Lp(c);if(c){break b}}j[a+220>>2]=b;c=0;break a}th(a,c)}oe=d- -64|0;return c}function OO(a,b,c,d){var e=0,f=0,g=0;e=oe-128|0;oe=e;a:{if(!b){f=85;break a}f=Fe(b,0);if(f){break a}f=uf(b,e,128);if(f){break a}f=2;if(k[e+82|0]|(k[e|0]|k[e+74|0])){break a}g=k[e+1|0];if(k[e+63|0]|(g-1&255)>>>0>32|k[(e+g|0)+2|0]){break a}f=a;a=k[e+83|0]|k[e+84|0]<<8|(k[e+85|0]<<16|k[e+86|0]<<24);f=Hm(f,b,(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+255&-128,c,d)}oe=e+128|0;return f}function qL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=j[a+12>>2];a:{if((i[d+22>>1]+i[d+58>>1]|0)+1>>>0>m[d+4>>2]){d=yf(d,1,0);if(d){break a}}d=j[a+20>>2];if(k[a+68|0]){f=j[d+8>>2];e=i[d+2>>1];a=j[d+4>>2]+(e<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[f+e|0]=1}i[d+2>>1]=l[d+2>>1]+1;d=0}return d|0}function Xi(a,b){var c=0,d=0,e=0,f=0;a:{if(!j[57840]){break a}e=j[57843];if(e){while(1){c=e;e=j[c+72>>2];d=j[c>>2];if(!(d>>>0>>0|b>>>0>>0)){d=e;f=j[c+68>>2];if(f){j[f+72>>2]=e;d=j[c+72>>2]}if(d){j[d+68>>2]=f}if(j[57843]==(c|0)){j[57843]=d}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}if(e){continue}break}}if(!j[57839]){break a}}}function ku(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=l[b+32>>1];a:{if(e>>>0>2){break a}f=1026;if((a|0)==5){f=1025;if(!(j[c+32>>2]|!j[67035])){va(j[c+12>>2],0)|0}g=1}hl(j[c+4>>2],0,g,e+1&255);H(j[c+12>>2],d+8|0,d|0)|0;a=j[b+44>>2];if((a|0)<0|o[d+8>>3]<=+(a|0)){break a}a=j[b+48>>2];if((a|0)<0|o[d>>3]<=+(a|0)){break a}h=(We(f,-1)|0)==1}oe=d+16|0;return h|0}function wo(a){var b=0,c=0,d=0,e=0,f=0;b=oe+ -64|0;oe=b;a:{b:{if((a|0)>=0){if((qe[j[58771]]()|0)>(a|0)){break b}}e=b,f=qe[j[58771]]()|0,j[e>>2]=f;ve(72846,b);break a}d=VA(a);JA(b+32|0,a);a=j[b+44>>2];c=j[b+40>>2];j[b+56>>2]=c;j[b+60>>2]=a;j[b+24>>2]=c;j[b+28>>2]=a;a=j[b+36>>2];c=j[b+32>>2];j[b+48>>2]=c;j[b+52>>2]=a;j[b+16>>2]=c;j[b+20>>2]=a;c=$A(d,b+16|0)}oe=b- -64|0;return c}function dl(a,b){var c=0,d=0,e=0,f=0,g=0;c=oe-32|0;oe=c;f=j[67055];a:{b:{if((f|0)<1){break b}g=j[67056];while(1){e=j[(d<<2)+g>>2];if((a|0)!=j[e>>2]|j[e+4>>2]!=(b|0)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}if((d|0)<(f|0)){break a}}c:{if(j[j[67085]+12>>2]){j[c+16>>2]=a;ve(71661,c+16|0);qe[j[j[67085]+12>>2]](j[67085]);break c}j[c>>2]=a;ve(71692,c)}e=0}oe=c+32|0;return e}function YF(a,b,c,d,e,f,g,i,l){if(!(!a|!b)){h[b+28|0]=g;h[b+27|0]=l;h[b+26|0]=i;h[b+25|0]=f;h[b+24|0]=e;j[b+4>>2]=d;j[b>>2]=c;Xp(a,c,d,e&255,f&255,g&255,i&255,l&255);d=b;e=k[b+25|0];a=1;a:{b:{if((e|0)==3){break b}a=e&2|1;h[b+29|0]=a;if(!(e&4)){break a}a=a+1|0}h[d+29|0]=a}a=p(k[b+24|0],a);h[b+30|0]=a;a=a&255;c:{if(a>>>0>=8){a=p(a>>>3|0,c);break c}a=p(a,c)+7>>>3|0}j[b+12>>2]=a}}function Ug(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=i[a+2>>1];a:{if(!c){c=0;break a}a=j[a+4>>2];d=j[a+4>>2];e=j[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=j[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=j[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}j[b+8>>2]=f;j[b>>2]=e;j[b+12>>2]=c;j[b+4>>2]=d}}function MA(a,b){var c=0,d=0,e=0;c=oe-48|0;oe=c;if(k[242924]){j[c+32>>2]=0;j[c+36>>2]=0;j[c+40>>2]=16;j[c+44>>2]=16;d=j[58884]+j[a>>2]|0;j[c+16>>2]=d+2;e=j[58885];a=j[a+4>>2];j[c+24>>2]=10;j[c+28>>2]=9;a=a+e|0;j[c+20>>2]=a+2;j[c+4>>2]=a;j[c>>2]=d;j[c+8>>2]=16;j[c+12>>2]=16;po(j[58882]);oo(j[58882],c);Ui(j[58882],j[(((b|0)<0?b+300|0:b)<<2)+260928>>2],c+32|0,c+16|0)}oe=c+48|0}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=j[b+4>>2];j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];e=j[b+24>>2];c=(e&-2)==2;f=c|2;c=(e|0)==2?f:(e|0)==4?f:c;f=(e|0)==1;c=f?c:c|4;d=(h[g+12|0]&1?0:!f)?d:d|1;b=k[j[j[b+36>>2]+212>>2]+20|0];j[a+2984>>2]=(e|0)==2?c|8:c;j[a+2980>>2]=b?d:d|8;return 0}function OC(){var a=0,b=0;a=oe+ -64|0;oe=a;b=Wj(64840,1,264272,264264);a:{if((b|0)==-1){break a}if((We(4352,-1)|0)!=1){break a}Oe(a+8|0,0,56);h[a+20|0]=0;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}b:{if(!j[66059]){break b}b=Wj(64867,2,264276,264268);if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(a+8|0,0,56);h[a+20|0]=1;j[a+16>>2]=b;j[a+8>>2]=4352;gf(a+8|0)}oe=a- -64|0}function fO(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){e=33;break a}if(!b){e=6;break a}f=j[a>>2];c=He(f,132,d+12|0);e=j[d+12>>2];if(!e){j[c+88>>2]=f;j[c+128>>2]=a;j[c+64>>2]=0;j[c+68>>2]=0;j[c+120>>2]=f;h[c+92|0]=0;j[c+84>>2]=-1;j[c+96>>2]=0;j[c+100>>2]=0;h[c+124|0]=0;j[c+116>>2]=-1;j[c+72>>2]=0;j[c+76>>2]=0;j[c+104>>2]=0;j[c+108>>2]=0}j[b>>2]=c}oe=d+16|0;return e}function hA(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;f=j[b+76>>2];e=j[a+436>>2];h=Vg();g=j[e>>2];a:{if((h|0)!=(g|0)){j[e+424>>2]=0;if((tg(j[a+188>>2],g)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[e+20>>2]](j[f+4>>2],j[f>>2]);j[e+360>>2]=b;if(c){j[c>>2]=1065353216}if(d){j[d>>2]=1065353216}return 0}function Vo(a,b,c){var d=0,e=0,f=0,g=0;if(!a){return 0}f=b;a:{b:{if(c){while(1){d=j[a>>2];if(!d){break b}g=j[d+4>>2];e=j[d>>2]-g|0;e=c>>>0>>0?c:e;Ge(f,(d+g|0)+12|0,e);j[d+4>>2]=e+j[d+4>>2];j[a+16>>2]=j[a+16>>2]-e;c=c-e|0;if(j[d+4>>2]==j[d>>2]){j[a>>2]=j[d+8>>2];j[d+8>>2]=j[a+8>>2];j[a+8>>2]=d}f=e+f|0;if(c){continue}break}}if(j[a>>2]){break a}}j[a+4>>2]=0}return f-b|0}function yv(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;a:{if((a|0)<=0){j[d>>2]=97085;ve(97052,d);break a}b=qe[j[57972]](16)|0;if(b){j[57976]=j[57976]+1}if(!b){b=0;Be(0);break a}e=a<<2;c=e;c=qe[j[57972]](c?c:1)|0;if(c){j[57976]=j[57976]+1}j[b+4>>2]=c;if(!c){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=0;break a}j[b+8>>2]=1;j[b+12>>2]=1;j[b>>2]=a;Oe(c,255,e)}oe=d+16|0;return b}function EH(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;d=i[a+294>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+296>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function DH(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;d=i[a+290>>1];e=p(d,b>>16);b=p(d,b&65535);d=e<<16;f=b+d|0;a=i[a+292>>1];g=p(a,c&65535);c=p(a,c>>16);h=c<<16;a=g+h|0;j=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>j>>>0)|0;b=c>>31;a=j+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function yu(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;a=oe-32|0;oe=a;f=j[b+144>>2];kf(j[f+8>>2]);ci(374740996,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0);Wg(b,a+28|0,a+24|0);b=ug(0,j[a+28>>2],j[a+24>>2],j[a+20>>2],j[a+16>>2],j[a+12>>2],j[a+8>>2],j[a+4>>2]);a:{if(!b){g=-1;break a}j[f+8>>2]=b;j[c>>2]=374740996;j[d>>2]=j[b+20>>2];j[e>>2]=j[b+16>>2]}oe=a+32|0;return g|0}function XB(a){if(a){Zg();a:{if(j[65546]!=(a|0)){break a}if(j[a+12>>2]==1){while(1){Hg();bg(100);Zg();if(j[a+12>>2]==1){continue}break}}if(j[65546]!=(a|0)){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0}Hg();qe[j[j[a>>2]+68>>2]](j[a+4>>2]);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function VE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=4){Ie(a,c);Je(a,211064);break a}pf(a,d+12|0,4);tf(a,d+12|0,4);if(Ie(a,0)){break a}c=k[d+12|0]|k[d+13|0]<<8|(k[d+14|0]<<16|k[d+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);FF(a,a+824|0,(c|0)>-1?c:-1);sh(a,b)}oe=d+16|0;return}hf(a,211072);z()}function Nk(a,b){var c=0,d=0;if(!a){return ve(97093,0)}if(!(!b|j[b>>2]<=1<>2];a:{if((c|0)==(b|0)){break a}b:{if(!c){break b}d=j[c+12>>2];j[c+12>>2]=d-1;if((d|0)>1){break b}d=j[c+4>>2];if(d){qe[j[57975]](d);j[57976]=j[57976]-1}if(c){qe[j[57975]](c);j[57976]=j[57976]-1}}j[a+4>>2]=b;if(!b){break a}j[b+12>>2]=j[b+12>>2]+1}return 0}function bN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+656>>2];e=Bh(j[a+96>>2],120288);a:{if(!e|!j[c+12>>2]){break a}while(1){a=l[j[c+1160>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=m[c+1312>>2]){break b}a=j[j[c+1316>>2]+(a<<2)>>2];break c}a=qe[j[e+20>>2]](a)|0}if(!a){break b}if(!we(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,i=0,l=0,m=0,n=0,o=0,p=0;e=j[a+4>>2];a=k[c|0];d=a+k[b|0]|0;h[b|0]=d;if((e|0)>=2){o=b+e|0;b=b+1|0;while(1){i=d&255;d=i-a|0;f=d>>31;e=k[c+1|0];g=e-a|0;l=g>>31;m=d+g|0;n=m>>31;p=a;a=f^d+f;d=l^g+l;f=(a|0)<(d|0);d=k[b|0]+((n^n+m)<((f?a:d)|0)?p:f?e:i)|0;h[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(o>>>0>b>>>0){continue}break}}}function bG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{if(!a){break c}d=j[a+160>>2];if(!d){j[a+164>>2]=0;if(c>>>0<=156){j[a+160>>2]=a;j[a+156>>2]=b;return a|0}d=fg(a,c);j[a+160>>2]=d;if(!d){break c}j[a+164>>2]=c;break a}e=j[a+164>>2];if(!e){e=156;if((a|0)!=(d|0)){break b}}if((c|0)==(e|0)){break a}Ze(a,206784)}return 0}Ye(a,206753);z()}j[a+156>>2]=b;return d|0}function fm(a,b){var c=0,d=0;c=oe-32|0;oe=c;d=-129;a=j[a+28>>2];a:{if(!a|j[a+8>>2]<1){break a}d=j[b+4>>2];b=j[b>>2];j[c+20>>2]=b;j[c+8>>2]=0;j[c+12>>2]=0;j[c+24>>2]=d;j[c+16>>2]=b;d=-135;if(Ce(c+8|0,1)){break a}d=-136;b=j[a+8>>2]-1|0;b=Ce(c+8|0,b?32-s(b)|0:0);if((b|0)==-1){break a}b=j[(a+(b<<2)|0)+32>>2];if(!b){break a}d=j[a+(j[b>>2]<<2)>>2]}oe=c+32|0;return d}function Rj(a,b,c){var d=0,e=0,f=0,g=q(0),h=0,i=0,j=q(0),k=0,l=q(0),m=0,o=q(0),p=0,r=q(0);e=+c;c=q(0);while(1){h=f<<3;d=h+a|0;g=n[d>>2];i=lg(e);j=n[d+4>>2];k=Mg(e);l=n[d>>2];m=Mg(e);o=n[d+4>>2];p=lg(e);r=c;d=b+h|0;c=q(q(i*+g-k*+j)-n[d>>2]);g=q(c*c);c=q(q(m*+l+p*+o)-n[d+4>>2]);c=q(r+q(y(+q(g+q(c*c)))));f=f+1|0;if((f|0)!=64){continue}break}return q(c*q(.015625))}function nO(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;b=oe-16|0;oe=b;f=j[a>>2];a=Le(c);f=He(f,a+6|0,b+12|0);g=j[b+12>>2];if(!g){f=Ae(f,c,a);a=f+a|0;c=k[116593]|k[116594]<<8;h[a+4|0]=c;h[a+5|0]=c>>>8;c=k[116589]|k[116590]<<8|(k[116591]<<16|k[116592]<<24);h[a|0]=c;h[a+1|0]=c>>>8;h[a+2|0]=c>>>16;h[a+3|0]=c>>>24;j[d>>2]=f;j[e>>2]=0}oe=b+16|0;return g|0}function ek(a,b,c,d){var e=0,f=0,g=0,i=0;e=k[d+74|0];h[d+74|0]=e-1|e;g=p(b,c);e=j[d+4>>2];f=j[d+8>>2]-e|0;i=g;a:{if((f|0)<1){break a}i=e;e=f>>>0>>0?f:g;Ae(a,i,e);j[d+4>>2]=e+j[d+4>>2];a=a+e|0;i=g-e|0}e=i;if(e){while(1){b:{if(!wp(d)){f=qe[j[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function eL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=j[b>>2];while(1){d=d+1|0;if(d>>>0>255){j[b>>2]=0;return 0}f=qe[j[a+20>>2]](l[j[a+16>>2]+(d<<1)>>1])|0;g=j[a+24>>2];a:{if(g){h=j[a+28>>2];c=0;while(1){e=j[(c<<2)+h>>2];if(!(!e|k[e|0]!=k[f|0])){if(!we(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}j[b>>2]=d;return c|0}function hi(a,b){var c=0;c=oe-16|0;oe=c;a:{b:{if(!(!k[a|0]|(!a|!b))){if(k[b|0]){break b}}a=0;ve(71733,0);break a}b=qi(a,b);if(!b){j[c>>2]=a;ve(71780,c);a=0;break a}a=qe[j[57972]](36)|0;if(a){j[57976]=j[57976]+1}if(!a){Be(0);break a}j[a+28>>2]=b;j[a+16>>2]=181;j[a+12>>2]=182;j[a+8>>2]=183;j[a+4>>2]=184;j[a>>2]=185;j[a+20>>2]=2;j[a+24>>2]=1}oe=c+16|0;return a}function Pf(a,b){var c=0,d=0;c=j[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{d=k[c|0];switch(d|0){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=k[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}j[a>>2]=c}function Gl(a,b,c,d,e){var f=0,g=0,h=0;if(!((c|0)<0|(d|0)<1|(!e|((c|0)>=1?!b:0)))){a:{if((2147483647-c|0)<(d|0)){break a}f=c+d|0;hP(e,0,f,0);if(pe){break a}f=p(e,f);if(!f){break a}b:{c:{if(!a){break c}h=j[a+720>>2];if(!h){break c}a=qe[h|0](a,f)|0;break b}a=Te(f)}if(!a){break a}if((c|0)>=1){g=p(c,e);Ae(a,b,g)}Ee(a+g|0,0,p(d,e));g=a}return g}Ye(a,210100);z()}function qf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}b=k[b|0]|k[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function YA(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=j[67069];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[c+8>>2]=1618;a=sg();d=((j[b+28>>2]-a|0)+250|0)<1;a=j[b>>2];if(!(d|j[a+72>>2])){j[a+68>>2]=1;break a}j[a+68>>2]=0;if((We(1618,-1)|0)!=1){break a}a=j[j[b>>2]>>2];i[c+20>>1]=5;j[c+16>>2]=a;gf(c+8|0);break a}b=j[b+32>>2];if(b){continue}break}}oe=c- -64|0}function gF(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var l=0;if(!(!a|!b)){if(c){j[c>>2]=j[b>>2]}if(d){j[d>>2]=j[b+4>>2]}if(e){j[e>>2]=k[b+24|0]}if(f){j[f>>2]=k[b+25|0]}if(h){j[h>>2]=k[b+26|0]}if(i){j[i>>2]=k[b+27|0]}c=k[b+28|0];if(g){j[g>>2]=c}Xp(a,j[b>>2],j[b+4>>2],k[b+24|0],k[b+25|0],c,k[b+26|0],k[b+27|0]);l=1}return l|0}function WM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!we(b,120305)){j[c>>2]=j[a+36>>2];j[c+4>>2]=j[a+40>>2];j[c+8>>2]=j[a+44>>2];j[c+12>>2]=j[a+48>>2];j[c+16>>2]=j[a+52>>2];j[c+20>>2]=j[a+56>>2];j[c+24>>2]=j[a+60>>2];j[c+28>>2]=j[a- -64>>2];break b}if(!we(b,120326)){j[c>>2]=j[a+28>>2];break b}d=12;if(we(b,120341)){break a}h[c|0]=k[a+32|0]}d=0}return d|0}function SE(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[a+208>>2];if(e&1){a:{if(e&6){Ie(a,c);Je(a,211051);break a}if((c|0)!=1){Ie(a,c);Je(a,211064);break a}pf(a,d+15|0,1);tf(a,d+15|0,1);if(Ie(a,0)){break a}c=l[a+898>>1];if(c&32768){break a}if(c&4){i[a+898>>1]=c|32768;sh(a,b);Je(a,211192);break a}Zp(a,a+824|0,k[d+15|0]);sh(a,b)}oe=d+16|0;return}hf(a,211072);z()}function vl(a,b,c,d){var e=0,f=0;e=oe-160|0;oe=e;Ae(e+8|0,226824,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}j[e+52>>2]=a;j[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;j[e+56>>2]=b;a=a+b|0;j[e+36>>2]=a;j[e+24>>2]=a;a=up(e+8|0,c,d,1068,1069);if(!b){break a}b=j[e+28>>2];h[b-((b|0)==j[e+24>>2])|0]=0;break a}j[67100]=61;a=-1}oe=e+160|0;return a}function mM(a){a=a|0;var b=0,c=0,d=0,e=0;b=j[a+12>>2];if(b){e=j[a+28>>2];j[b+104>>2]=0;j[b+48>>2]=0;j[b+36>>2]=0;j[b+40>>2]=0;h[b+44|0]=0;j[b+64>>2]=9;j[b+12>>2]=0;j[b+16>>2]=0;d=j[b+180>>2];c=j[b+100>>2];if((c|0)!=(b+112|0)){if(c){qe[j[d+8>>2]](d,c)}j[b+100>>2]=0}c=j[b+88>>2];if(c){qe[j[d+8>>2]](d,c)}b=Ee(b,0,184);if(b){qe[j[e+8>>2]](e,b)}j[a+12>>2]=0}}function UK(a){a=a|0;var b=0;b=j[a+8>>2];Ee(a+16|0,0,84);j[a+136>>2]=765;j[a+132>>2]=766;j[a+128>>2]=767;j[a+124>>2]=768;j[a+120>>2]=769;j[a+116>>2]=770;j[a+108>>2]=771;j[a+104>>2]=772;j[a+100>>2]=773;j[a+12>>2]=b;j[a+164>>2]=765;j[a+160>>2]=774;j[a+156>>2]=775;j[a+152>>2]=776;j[a+148>>2]=769;j[a+144>>2]=777;b=a+12|0;j[a+112>>2]=b;j[a+140>>2]=b;return 0}function Zf(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+3>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+12|0,4)|0)!=4){break d}c=j[a+8>>2];b=d+12|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+4}oe=d+16|0;return f}function Bh(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}c=j[j[a>>2]+32>>2];if(c){c=qe[c|0](a,b)|0;if(c){break a}}c=j[a+4>>2];d=j[c+16>>2];if((d|0)<1){break b}f=(c+(d<<2)|0)+20|0;d=c+20|0;while(1){c=j[d>>2];c:{if((c|0)==(a|0)){break c}e=j[j[c>>2]+32>>2];if(!e){break c}c=qe[e|0](c,b)|0;if(c){break a}}d=d+4|0;if(f>>>0>d>>>0){continue}break}}c=0}return c}function WJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=j[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=j[a+16>>2];c=k[a+6|0]<<8|k[a+7|0];d=d>>>0>>0?c:d;c=d-c|0;e=k[a+9|0]|k[a+8|0]<<8;if(c>>>0>=e>>>0){break a}a=(a+(c<<1)|0)+10|0;while(1){f=k[a+1|0]|k[a|0]<<8;if(f){j[b>>2]=d;return f|0}d=d+1|0;a=a+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[b>>2]=0;return 0}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=Jk(b,99334);a:{if(!(j[a+4>>2]?a:0)){b=ve(99406,0);break a}if(tv(j[b+24>>2],j[b+28>>2],d,c,e)){b=-1;c=j[a+12>>2];if((gi(j[a+4>>2],e,(j[a+8>>2]+p(c,j[e+4>>2])|0)+p(j[a+16>>2],j[e>>2])|0,c)|0)<0){break a}if((Ui(j[a>>2],j[a+4>>2],0,0)|0)<0){break a}no(j[a>>2])}b=0}oe=e+16|0;return b|0}function pO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116568);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}uk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function kO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116620);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}uk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function jO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=oe-48|0;oe=b;f=j[a>>2];c=kj(f,c,116622);a:{if(!c){a=64;break a}j[b+28>>2]=c;j[b+16>>2]=4;b:{a=mj(a,b+16|0,b+12|0);if(a){break b}a=j[b+12>>2];c:{if(!a){a=81;e=0;break c}a=lj(a,333319,e);e=j[b+12>>2]}uk(e,0);if(a){break b}j[d>>2]=c;a=0;break a}if(c){qe[j[f+8>>2]](f,c)}}oe=b+48|0;return a|0}function bM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=j[a+20>>2];g=j[a+16>>2];a:{b:{if(g){h=j[b>>2]+1|0;a=g;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(h|0)){c=e;a=h;break b}d=h>>>0>>0;c=d?c:e+1|0;a=d?e:a;if(c>>>0>>0){continue}break}}a=0;if(c>>>0>=g>>>0){break a}a=j[(c<<3)+f>>2]}i=a;a=l[((c<<3)+f|0)+4>>1]+1|0}j[b>>2]=i;return a|0}function tF(a,b){var c=0;a:{c=j[a+24>>2];if(j[a+28>>2]>=(c-b|0)){if((c|0)>(2147483647-b|0)){break a}b=b+c|0;b=(b|0)<2147483615?b+32|0:b;c=Vf(j[a+16>>2],b<<2);if(!c){break a}j[a+16>>2]=c;c=Vf(j[a+20>>2],b<<3);if(!c){break a}j[a+24>>2]=b;j[a+20>>2]=c}return 0}b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return-1}function ip(a){var b=0,c=0,d=0,e=0;if(a){while(1){b=p(d,84)+a|0;e=b;if(l[b+136>>1]){j[b+56>>2]=0;j[b+60>>2]=0;c=j[b+76>>2];if(c){ze(c);j[b+76>>2]=0}c=j[b+100>>2];if(c){ze(c);j[b+100>>2]=0}i[e+136>>1]=0}d=d+1|0;if((d|0)!=257){continue}break}b=j[a>>2];if(b){es(b)}b=j[a+21668>>2];if(b){ze(b)}if(j[a+21648>>2]){b=j[a+21644>>2];qe[j[b+16>>2]](b)|0}ze(a)}}function vh(a){var b=0,c=0,d=0,e=0;bh(a);a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=b-1|0;d=j[a+8>>2];b:{c:{while(1){if(b>>>0>=d>>>0){break b}e=b;b=b+1|0;j[a>>2]=b;d:{switch(k[e|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}j[a+12>>2]=2;return c}j[a+12>>2]=1;return c}j[a+12>>2]=3}return c}function Vs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0;if(!(!a|!b)){e=j[a>>2];g=j[b>>2];c=c<<16;i=Ne(e,g,c);f=j[a+4>>2];h=j[b+8>>2];k=Ne(f,h,c);d=e;e=j[b+4>>2];l=Ne(d,e,c);d=f;f=j[b+12>>2];m=Ne(d,f,c);d=j[a+8>>2];g=Ne(d,g,c);a=j[a+12>>2];n=b,o=g+Ne(a,h,c)|0,j[n+8>>2]=o;j[b+4>>2]=l+m;j[b>>2]=i+k;n=b,o=Ne(d,e,c)+Ne(a,f,c)|0,j[n+12>>2]=o}}function Jk(a,b){var c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}if(!(k[b|0]?b:0)){j[d>>2]=98626;ve(98171,d);break a}a=j[a+140>>2];if(!a){break a}while(1){b:{c=j[a>>2];if(!c){break b}if(cf(c,b)){break b}e=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=d+16|0;return e}function BN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=j[a+20>>2];h=j[a+16>>2];a:{b:{if(h){d=j[b>>2]+1|0;a=h;while(1){f=a+c>>>1|0;e=j[(f<<3)+g>>2];if((e|0)==(d|0)){c=f;break b}e=d>>>0>>0;c=e?c:f+1|0;a=e?f:a;if(c>>>0>>0){continue}break}}d=0;if(c>>>0>=h>>>0){break a}d=j[(c<<3)+g>>2]}i=l[((c<<3)+g|0)+4>>1]+1&65535}j[b>>2]=d;return i|0}function $C(){var a=0,b=0,c=0;while(1){b=j[66036];if(b){j[66036]=j[b+16>>2];a=j[b>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+4>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+12>>2];if(a){while(1){c=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}continue}break}}function tl(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0;g=oe-240|0;oe=g;j[g>>2]=a;h=1;a:{if((d|0)<2){break a}l=0-b|0;f=a;while(1){f=f+l|0;k=d-2|0;i=f-j[(k<<2)+e>>2]|0;if((qe[c|0](a,i)|0)>=0){if((qe[c|0](a,f)|0)>-1){break a}}a=(qe[c|0](i,f)|0)>-1;f=a?i:f;j[(h<<2)+g>>2]=f;h=h+1|0;d=a?d-1|0:k;if((d|0)<2){break a}a=j[g>>2];continue}}jp(b,g,h);oe=g+240|0}function EG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=Fm(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function DG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a>>2];d=j[a+44>>2];if(d){e=j[d>>2];if(!(!e|!j[e+96>>2])){j[e+88>>2]=d}}d=KO(j[c+500>>2],b);if(!d){b=j[j[c+500>>2]+88>>2];c=j[b+16>>2];j[a+12>>2]=j[b+12>>2];j[a+16>>2]=c;j[a+36>>2]=j[b+36>>2];c=j[b+32>>2];j[a+28>>2]=j[b+28>>2];j[a+32>>2]=c;c=j[b+24>>2];j[a+20>>2]=j[b+20>>2];j[a+24>>2]=c}return d|0}function WB(a,b){var c=0,d=0,e=0,f=0;a:{c=j[57843];if(c){while(1){f=j[c+72>>2];if(!(qe[a|0](b,c)|0)){d=j[c+68>>2];if(d){j[d+72>>2]=j[c+72>>2]}e=j[c+72>>2];if(e){j[e+68>>2]=d}if(j[57843]==(c|0)){j[57843]=e}if(j[57844]==(c|0)){j[57844]=j[c+68>>2]}j[c+72>>2]=j[57845];j[57845]=c;j[57841]=j[57841]-1}c=f;if(c){continue}break}}if(!j[57839]){break a}}}function ng(a,b,c,d,e){var f=0,g=0,h=0,i=0,l=0,m=0;a:{if(!c|!d){break a}b=j[b+1284>>2];g=Ef(a,b<<2);if((b|0)<1){break a}m=65536-e|0;a=0;while(1){f=a<<2;h=f+g|0;i=c+f|0;f=d+f|0;l=(p(j[i>>2]&32767,m)+p(j[f>>2]&32767,e)|0)+32768>>16;j[h>>2]=l;if(!(!(k[i+1|0]&128)|!(k[f+1|0]&128))){j[h>>2]=l|32768}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return g}function Kg(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}qP(0,0);qP(1,b+1023<<20);return a*+rP()}function xj(a,b){if(!a){return}a:{if(b){b:{c:{d:{e:{a=j[j[a+52>>2]+68>>2]&112;switch(a-16|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break b;case 16:break d;case 0:break e;default:break c}}j[b>>2]=1;return}j[b>>2]=2;return}if((a|0)==64){break a}}j[b>>2]=0}return}j[b>>2]=4}function lv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((a|0)==(b|0)){return 0}a:{c=j[b+4>>2];d=j[a+4>>2];if((c|0)!=(d|0)){break a}c=j[b+8>>2];d=j[a+8>>2];if((c|0)!=(d|0)){break a}d=j[a>>2];c=d>>>8&255;e=j[b>>2];f=e>>>8&255;if((c|0)!=(f|0)){return f-c|0}c=e>>>16&15;d=d>>>16&15;if((c|0)!=(d|0)){break a}return j[b+12>>2]-j[a+12>>2]|0}return c-d|0}function RF(a,b,c,d){var e=0;a:{b:{if(!(!a|!b)){if(d>>>0>=257){if(k[b+25|0]==3){break b}Ze(a,207321);return}if((d?!c:0)|(h[a+708|0]&1?0:!d)){break a}fj(a,b,4096,0);e=gk(a,768);j[a+416>>2]=e;if(d){Ae(e,c,p(d,3))}j[b+16>>2]=e;i[a+420>>1]=d;i[b+20>>1]=d;j[b+232>>2]=j[b+232>>2]|4096;j[b+8>>2]=j[b+8>>2]|8}return}Ye(a,207321);z()}Ye(a,207344);z()}function No(){var a=0,b=0;a=oe-160|0;oe=a;a:{if(j[57817]){break a}j[a+16>>2]=j[57814];Ue(a+32|0,128,2433,a+16|0);if(yg(a+32|0,0)){break a}b=j[57819];if(b){if(qe[b|0]()|0){break a}}j[57817]=1}b:{if(j[57796]){break b}j[a>>2]=j[57793];Ue(a+32|0,128,2433,a);if(yg(a+32|0,0)){break b}b=j[57798];if(b){if(qe[b|0]()|0){break b}}j[57796]=1}oe=a+160|0}function oE(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=k[a+3|0];f=!c;e=c|(k[a+1|0]<<16|k[a|0]<<24|k[a+2|0]<<8);a=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=k[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function gO(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+2>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+13|0,3)|0)!=3){break d}c=j[a+8>>2];b=d+13|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b+2|0]|(k[b+1|0]<<8|k[b|0]<<16);break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+3}oe=d+16|0;return f}function uN(a){a=a|0;var b=0,c=0,d=0;a:{c=j[a+40>>2];if(!c){break a}b=j[a>>2];d=j[b+656>>2];a=j[d+2952>>2];b=Kf(j[j[b+96>>2]+4>>2],120928);if(!a|!b){break a}a=j[a>>2];if(!a){break a}b=qe[a|0](b)|0;if(!b){break a}qe[j[b+8>>2]](j[c>>2]);a=j[d+1896>>2];if(!a){break a}while(1){a=a-1|0;qe[j[b+8>>2]](j[((a<<2)+c|0)+4>>2]);if(a){continue}break}}}function di(a,b){var c=0,d=0,e=0;if(nw(a,b)){wg(a);return 1}c=j[a+4>>2];a:{if(!c){break a}b=j[a+104>>2];if(!b){break a}c=j[c+28>>2];if(!c){break a}d=j[c+4>>2];c=j[c+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;d=d>>c+1;j[a+48>>2]=d;j[a+20>>2]=d>>c;j[b+128>>2]=-1;j[b+132>>2]=-1}return 0}function yp(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=j[a+8>>2]-j[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0;if(!j[a+20>>2]){break a}}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;qe[j[a+40>>2]](a,b,c,d)|0;if((pe|0)<0){break a}j[a+4>>2]=0;j[a+8>>2]=0;j[a>>2]=j[a>>2]&-17;return 0}return-1}function qO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=j[a+4>>2];d=j[a>>2];g=v(Bg(+q(c|0),+q(q(1)/q(d|0))));a:{if(r(g)<2147483648){b=~~g;break a}b=-2147483648}while(1){a=1;e=1;if((d|0)>=1){h=b+1|0;f=0;while(1){e=p(e,h);a=p(a,b);f=f+1|0;if((f|0)!=(d|0)){continue}break}}a=(a|0)>(c|0);if(!((e|0)>(c|0)?!a:0)){b=(a?-1:1)+b|0;continue}break}return b}function zK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=j[a+20>>2];a=(c+(j[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=j[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return j[f+4>>2]}function So(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=oe-16|0;oe=f;j[f+12>>2]=0;g=b;if((d|0)!=128){g=f-(c+15&-16)|0;oe=g}a:{if((c|0)<1){break a}i=(d|0)!=128;while(1){h=qe[e|0](a,g,c,f+12|0)|0;if((h|0)<0){break a}b:{if(!i){g=g+h|0;break b}kl(b,g,l[131082],h,d);b=b+h|0}c=c-h|0;if((c|0)<1){break a}if(!j[f+12>>2]){continue}break}}oe=f+16|0;return c}function Gi(a,b){var c=0,d=0,e=0,f=0;d=-131;c=-1;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}e=j[a+52>>2];if((e|0)<=(b|0)){break a}if((b|0)<=-1){d=0;c=0;if((e|0)<1){break a}b=0;while(1){f=Gi(a,b)+d|0;c=c+pe|0;c=d>>>0>f>>>0?c+1|0:c;d=f;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}a=j[a+68>>2]+(b<<4|8)|0;d=j[a>>2];c=j[a+4>>2]}pe=c;return d}function Ag(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0;h=e;e=0;i=e;f=c;c=0;e=hP(h,e,f,c);k=pe;g=b;l=hP(d,0,b,0);b=pe;d=hP(d,m,f,c);c=b+d|0;b=pe;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=k;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=hP(g,n,h,i)+c|0;d=pe;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;j[a+8>>2]=d;j[a+12>>2]=d>>>0>>0?e+1|0:e;j[a>>2]=l;j[a+4>>2]=b}function xu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;b=j[j[b+144>>2]+8>>2];a:{if(!b){b=ve(101407,0);break a}h[a+12|0]=105;h[a+13|0]=105;h[a+14|0]=105;h[a+15|0]=0;c=j[b+12>>2];d=j[b+8>>2];j[a+8>>2]=j[b+20>>2];j[a>>2]=d;j[a+4>>2]=c;E(101452,a+12|0,a|0)|0;b=0;if(!(S()|0)){break a}if(!yg(102907,1)){break a}R(0)}oe=a+16|0;return b|0}function sg(){var a=0,b=0;a=oe-16|0;oe=a;a:{b:{c:{if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;break c}O(268392,0)|0}if(!k[268388]){break b}}P(4,a+8|0)|0;b=p(j[a+8>>2]-j[67095]|0,1e3)+((j[a+12>>2]-j[67096]|0)/1e6|0)|0;break a}O(a+8|0,0)|0;b=p(j[a+8>>2]-j[67098]|0,1e3)+((j[a+12>>2]-j[67099]|0)/1e3|0)|0}oe=a+16|0;return b}function Fu(a,b){var c=0,d=0,e=0;c=oe+ -64|0;oe=c;e=j[a+992>>2];if(!(qe[j[e+88>>2]](j[e+8>>2],b)|0)){d=101268;b=c;a=qe[j[j[a+992>>2]+116>>2]]()|0;e=a-12288|0;if(e>>>0<=14){d=j[(e<<2)+101272>>2]}if(!k[d|0]){j[c+16>>2]=a;Ue(c+32|0,32,100323,c+16|0);d=c+32|0}j[b+8>>2]=d;j[c+4>>2]=100448;j[c>>2]=100836;d=ve(100328,c)}oe=c- -64|0;return d}function li(a,b,c){var d=0,e=0;a:{d=j[66036];if(!d){break a}while(1){if(!cf(a,j[d>>2])){a=j[d+12>>2];if(!a){break a}e=d+12|0;d=0;while(1){if(!(j[a>>2]!=(b|0)|j[a+4>>2]!=(c|0))){j[(d?d+8|0:e)>>2]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return}d=a;a=j[a+8>>2];if(a){continue}break}break a}d=j[d+16>>2];if(d){continue}break}}}function kE(a,b){var c=0,d=0,e=0;c=k[a|0];a:{if(!c){break a}while(1){d=k[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=k[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=k[a|0];break a}b=b+1|0;c=k[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=k[b|0];return e-(a-65>>>0<26?a|32:a)|0}function KI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;e=j[a+16>>2];d=b;b=l[a+8>>1]>>>1|0;d=xe(d,1,0,b+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=k[e+1|0];c=f|k[e|0]<<8;if(!c){break a}h[a+d|0]=c-32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}h[a+d|0]=0;a=d}return a|0}function jp(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=oe-256|0;oe=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;j[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ae(d,j[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ae(j[g>>2],j[(d<<2)+b>>2],f);j[g>>2]=j[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=j[h>>2];continue}}oe=e+256|0}function et(){var a=0,b=0,c=0;b=oe-1440|0;oe=b;j[67090]=0;a:{if((aa()|0)==-1){a=ve(111728,0);break a}c=Ua()|0;if((c|0)>=1){while(1){if(!($(a|0,b+8|0)|0)){dn(26,b+8|0,0)}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0;if(_(0,0,537,2)|0){Ck();a=ve(111751,0);break a}if(!(Z(0,0,538,2)|0)){break a}Ck();a=ve(111790,0)}oe=b+1440|0;return a|0}function _l(a){var b=0,c=0;c=j[a>>2];if(c){b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+28>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+16>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+16>>2]=0;b=j[a+12>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;b=j[a+20>>2];if(b){qe[j[c+8>>2]](c,b)}j[a>>2]=0;j[a+4>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0}}function Go(a,b){var c=0,d=0,e=0,f=0;a:{d=j[66361];if((d|0)<1){break a}e=j[66360];while(1){f=p(c,12)+e|0;if(!(j[f>>2]!=(a|0)|j[f+4>>2]!=(b|0))){if(k[265460]){j[(p(c,12)+e|0)+8>>2]=1;h[265464]=1;return}a=d-1|0;j[66361]=a;if((a|0)<=(c|0)){break a}b=p(c,12)+e|0;Ri(b,b+12|0,p(a-c|0,12));return}c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function _O(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=j[j[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=j[f+16>>2];if(c){b=j[j[(j[j[b+114864>>2]+4>>2]<<2)+114736>>2]+16>>2];if(b){qe[b|0](c);c=j[f+16>>2]}if(c){qe[j[d+8>>2]](d,c)}j[f+16>>2]=0}e=e+1|0;if((e|0)!=49){continue}break}j[a+8>>2]=0;j[a>>2]=0;j[a+4>>2]=0;if(a){qe[j[d+8>>2]](d,a)}}}function SO(a){var b=0,c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=xe(j[a>>2],8,0,j[a+4>>2]<<1,0,c+12|0);j[a+40>>2]=d;e=j[c+12>>2];if(!e){h[a+16|0]=1;f=(j[a+4>>2]<<3)+d|0;j[a+44>>2]=f;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];j[a+80>>2]=b+f;j[a+76>>2]=b+d}oe=c+16|0;return e}function Nm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;j[a+2988>>2]=b;d=j[b+28>>2];j[a+4>>2]=j[b+44>>2];j[a+8>>2]=j[b+48>>2];j[a+12>>2]=j[b+1616>>2];j[a+16>>2]=j[b+1620>>2];c=j[b+24>>2];j[a+2980>>2]=(k[j[j[b+36>>2]+212>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|0)==1?b:b|4;j[d+2984>>2]=a?b|8:b;return 0}function wM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+100>>2];j[c+12>>2]=0;d=qe[j[b+36>>2]](b)|0;a:{if((d|0)<0|j[a+304>>2]){break a}b=0;e=xe(e,252,0,d,0,c+12|0);j[a+304>>2]=e;if(j[c+12>>2]){break a}j[a+300>>2]=d;if((d|0)<1){break a}while(1){j[(e+p(b,252)|0)+4>>2]=4;b=b+1|0;if((d|0)!=(b|0)){continue}break}}oe=c+16|0}function rf(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=h[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=h[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=h[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(p(d,10)-h[b|0]|0)+48|0;a=h[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function nv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=oe-32|0;oe=c;b=j[67085];e=mf(j[b+304>>2],p(j[b+300>>2],72)+72|0);a:{if(e){d=j[67085];b=j[d+300>>2];j[d+300>>2]=b+1;f=Ae(p(b,72)+e|0,a,72);j[f+64>>2]=d;j[d+304>>2]=e;a=j[a>>2];if(a){g=f,h=Uf(a),j[g>>2]=h;break a}_y(b,c);g=f,h=Uf(c),j[g>>2]=h;break a}Be(0);b=-1}oe=c+32|0;return b}function OJ(a,b){a=a|0;b=b|0;var c=0;c=b;a=j[a+16>>2];b=k[a+12|0]|k[a+13|0]<<8|(k[a+14|0]<<16|k[a+15|0]<<24);c=c-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=k[a+16|0]|k[a+17|0]<<8|(k[a+18|0]<<16|k[a+19|0]<<24);if(c>>>0<(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){a=a+(c<<1)|0;a=k[a+20|0]<<8|k[a+21|0]}else{a=0}return a|0}function Xr(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;j[b>>2]=0;a:{b:{c:{d:{c=j[a+8>>2];if(m[a+4>>2]<=c+1>>>0){break d}e=j[a+20>>2];e:{if(e){if((qe[e|0](a,c,d+14|0,2)|0)!=2){break d}c=j[a+8>>2];b=d+14|0;break e}b=j[a>>2];if(!b){break c}b=b+c|0}f=k[b|0]|k[b+1|0]<<8;break b}j[b>>2]=85;break a}f=0}j[a+8>>2]=c+2}oe=d+16|0;return f}function Le(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!k[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(k[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=j[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=k[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function bh(a){var b=0,c=0,d=0;a:{if(j[a+12>>2]>0){break a}b=j[a>>2];c=j[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;j[a>>2]=d;c:{switch(k[b|0]-9|0){case 1:case 4:j[a+12>>2]=2;return;case 50:j[a+12>>2]=1;return;case 17:break b;case 0:case 23:break c;default:break a}}b=d;if(c>>>0>b>>>0){continue}break}}j[a+12>>2]=3}}function pK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{e=j[a+4>>2];if((e|0)<=(d-c|0)){break a}f=0-e|0;c=f&(c+e|0)-1;if((c|0)!=(d&f)){break a}c=c>>j[a>>2];if((c|0)<0){break a}d=j[a+104>>2];if(d>>>0<=c>>>0){break a}e=j[a+60>>2]+(b>>3)|0;a=j[a+112>>2];c=e-p(a,c)|0;a=(a|0)>0?c+p(a,d-1|0)|0:c;h[a|0]=k[a|0]|128>>>(b&7)}}function ov(a){var b=0,c=0;b=oe-80|0;oe=b;Oe(b+8|0,0,72);if(a){j[b+40>>2]=j[a+16>>2];c=j[a+12>>2];j[b+32>>2]=j[a+8>>2];j[b+36>>2]=c;c=j[a+4>>2];j[b+24>>2]=j[a>>2];j[b+28>>2]=c}j[b+60>>2]=j[b+40>>2];a=j[b+36>>2];j[b+52>>2]=j[b+32>>2];j[b+56>>2]=a;a=j[b+28>>2];j[b+44>>2]=j[b+24>>2];j[b+48>>2]=a;a=nv(b+8|0);oe=b+80|0;return a}function nq(a,b,c){var d=0,e=0,f=0;e=oe-16|0;oe=e;d=Fe(a,0);a:{if(d){break a}f=qf(a,e+12|0);d=j[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Zf(a,e+12|0);d=j[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Fe(a,0);if(d){break a}}d=_e(a,c);if(d){break a}b=Cg(j[a+32>>2],b,c);Ve(a);d=((b|0)!=0)<<1}oe=e+16|0;return d}function dO(a){var b=0;b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}b=j[a+24>>2];if(b){ze(b)}b=j[a+28>>2];if(b){ze(b)}b=j[a+32>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+48>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+44>>2]=0;j[a+32>>2]=0;j[a+36>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function uz(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;a=j[b+76>>2];if(k[a|0]&2){Eg(a)}if(j[c+12>>2]>=1){b=k[j[a+4>>2]+9|0];g=p(b,j[c+8>>2]);b=(j[a+20>>2]+p(j[a+16>>2],j[c+4>>2])|0)+p(b,j[c>>2])|0;while(1){Ge(b,d,g);d=d+e|0;b=j[a+16>>2]+b|0;f=f+1|0;if((f|0)>2]){continue}break}}if(k[a|0]&2){jg(a)}return 0}function ns(a,b){var c=0,d=0;d=-131;a:{if(!j[a+4>>2]|j[a+88>>2]<2){break a}c=j[a+52>>2];if((c|0)<=(b|0)){break a}if((b|0)<=-1){d=0;if((c|0)<1){break a}b=0;while(1){d=d+ns(a,b);b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}c=j[a+68>>2]+(b<<4|8)|0;d=(+m[c>>2]+ +j[c+4>>2]*4294967296)/+j[(j[a+72>>2]+(b<<5)|0)+8>>2]}return d}function nn(a){var b=0,c=0,d=0,e=0;c=j[67085];b=j[c+312>>2];d=j[a+48>>2];a:{if(!(!(j[67035]|d&256)|!(d&512))){b:{if(!b|(a|0)==(b|0)){break b}j[b+48>>2]=j[b+48>>2]&-257;d=j[c+128>>2];if(!d){break b}qe[d|0](c,b,0);c=j[67085]}j[c+312>>2]=a;e=1;break a}if((a|0)!=(b|0)){break a}j[c+312>>2]=0}b=j[c+128>>2];if(b){qe[b|0](c,a,e)}}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}if(!c){return ve(111832,0)|0}if(j[c+16>>2]){return ve(111847,0)|0}b=j[c+12>>2];j[a+84>>2]=c;j[a>>2]=b;j[c+16>>2]=a;j[a+44>>2]=0;j[a+36>>2]=0;j[a+52>>2]=j[c+20>>2];j[a+28>>2]=j[c+24>>2];return 0}function VJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>m[b+160>>2]){Pe(b,8)}d=k[a+3|0]|k[a+2|0]<<8;e=m[b+160>>2]>=d+a>>>0;a=k[a+9|0]|k[a+8|0]<<8;if(!((a<<1)+10>>>0<=d>>>0?e:0)){Pe(b,8)}if(!(!j[b+164>>2]|!a)){while(1){if(m[b+172>>2]<=(k[c+1|0]|k[c|0]<<8)>>>0){Pe(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function eM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=j[a+280>>2];a:{if((e|0)<1){break a}f=j[a+284>>2];a=0;while(1){b:{h=a;g=we(j[p(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=p(h,12)+f|0;c:{if(k[a+4|0]){j[c>>2]=1;break c}j[c>>2]=2}j[c+4>>2]=j[a+8>>2];d=0}return d|0}function dv(){var a=0,b=0,c=0,d=0;c=oe-16|0;oe=c;a=j[67085];a:{if(!a){a=ve(99429,0);break a}b:{if(!j[a+432>>2]){b=j[a+168>>2];if(!b){j[c>>2]=j[a>>2];a=ve(98744,c);break a}a=qe[b|0](a,0)|0;if(a){break b}}a=0;b=j[67085];j[b+432>>2]=j[b+432>>2]+1;break a}b=j[67085];d=j[b+176>>2];if(!d){break a}qe[d|0](b)}oe=c+16|0;return a}function Sy(a){var b=0,c=0,d=0,e=0;Vj(j[65564]);c=262284;a:{if((a|0)!=-2){if(!(j[65565]>(a|0)?(a|0)>=0:0)){ve(3324,0);break a}c=(j[65566]+p(a,60)|0)+56|0}b=j[c>>2];if(b){while(1){e=j[b+12>>2];d=j[b+4>>2];if(d){qe[d|0](a,j[b+8>>2])}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=e;if(b){continue}break}}j[c>>2]=0}Uj(j[65564])}function IM(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}c=qe[b|0](c)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],j[b+304>>2]+p(j[b+4>>2],252)|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function lB(a){var b=0,c=0;c=-1;a:{b:{if(!a){break b}c:{d:{b=k[a|0];switch(b-43|0){case 0:case 2:break d;default:break c}}b=k[a+1|0];a=a+1|0}if(!b){break b}if(!Me(a,72025)){return 0}if(Me(a,72031)){break a}c=1}return c}if(!Me(a,72037)){return 2}if(!Me(a,72044)){return 3}if(!Me(a,72051)){return 4}return Me(a,72063)?-1:5}function kv(a){var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[67085];a:{if(!b){ve(99429,0);e=-1;break a}c=j[b+300>>2];if((c|0)<=0){e=-1;j[d>>2]=c-1;ve(98088,d);break a}if(!a){break a}b=j[b+304>>2];c=j[b+20>>2];j[a>>2]=j[b+16>>2];j[a+4>>2]=c;j[a+16>>2]=j[b+32>>2];c=j[b+28>>2];j[a+8>>2]=j[b+24>>2];j[a+12>>2]=c}oe=d+16|0;return e}function _G(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=j[a+528>>2];if(!c){return 6}e=j[c+4>>2];j[b>>2]=e;j[b+4>>2]=j[c>>2];if(e){a=0;while(1){d=p(a,12);f=d+b|0;j[f+8>>2]=j[((a<<2)+c|0)+8>>2];d=c+d|0;g=j[d+92>>2];j[f+12>>2]=j[g>>2];j[f+16>>2]=j[((k[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Nl(a,b){var c=0,d=0;c=Fe(b,j[a>>2]);a:{if(c){break a}c=$e(b,205808,a+4|0);if(c){break a}c=2;d=l[a+4>>1];if((d|256)!=768|m[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){j[a+140>>2]=0;j[a+132>>2]=0;j[a+136>>2]=0}if(h[a+72|0]&1){break a}c=Fe(b,j[a>>2]);if(c){break a}c=_f(b,j[a+8>>2],a+160|0)}return c}function pL(a){a=a|0;var b=0,c=0,d=0;b=j[a+20>>2];if(!b){return 3}a:{b:{if(!k[a+68|0]){i[b>>1]=l[b>>1]+1;break b}a=j[a+12>>2];if((i[a+20>>1]+i[a+56>>1]|0)+1>>>0>m[a+8>>2]){a=yf(a,0,1);if(a){break a}}d=b;c=l[b>>1];a=c<<16>>16;if((a|0)>=1){i[(j[b+12>>2]+(c<<1)|0)-2>>1]=l[b+2>>1]-1;a=l[b>>1]}i[d>>1]=a+1}a=0}return a|0}function OA(a,b){var c=0,d=0;c=oe+ -64|0;oe=c;a:{if(!k[j[a+40>>2]+b|0]|j[a+36>>2]<=(b|0)){break a}b:{if(k[268304]){break b}d=j[67085];if(d){d=j[d+308>>2]!=0}else{d=0}if(!d){break b}}h[j[a+40>>2]+b|0]=0;if((We(1538,-1)|0)!=1){break a}j[c+8>>2]=1538;a=j[a>>2];h[c+21|0]=0;h[c+20|0]=b;j[c+16>>2]=a;gf(c+8|0)}oe=c- -64|0}function Ck(){var a=0,b=0,c=0;a=j[67093];if(a){while(1){c=j[a+1320>>2];b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=c;if(a){continue}break}}j[67093]=0;j[67092]=0;j[67090]=0;j[67091]=0;_(0,0,0,2)|0;Z(0,0,0,2)|0}function CL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=oe-16|0;oe=b;Pf(a,j[a+8>>2]);e=j[a+8>>2];d=j[a>>2];j[b+12>>2]=d;f=Rg(b+12|0,e,10);c=j[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(k[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;j[b+12>>2]=d;f=Rg(b+12|0,e,f);c=j[b+12>>2];if((d|0)==(c|0)){break a}}j[a>>2]=c;g=f}oe=b+16|0;return g|0}function _m(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=(e|0)<(f|0);g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=(g|0)<(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=(b|0)<(a|0);a=(p(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((p(i?e:f,3)>>>3|0)+(i?f:e)+((p(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function ZF(a,b,c){var d=0,e=0,f=0;if(!(!a|!b)){if((l[b+20>>1]-1&65535)>>>0>=256){Ze(a,206894);return}fj(a,b,8,0);d=fg(a,512);j[b+204>>2]=d;if(!d){Ze(a,206940);return}j[b+232>>2]=j[b+232>>2]|8;e=l[b+20>>1];if(e){a=0;while(1){f=a<<1;i[f+d>>1]=l[c+f>>1];a=a+1|0;if(e>>>0>a>>>0){continue}break}}j[b+8>>2]=j[b+8>>2]|64}}function Vt(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b+144>>2];if(c){_t(c);d=j[c>>2];if(d){a:{if(!d){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+80>>2]](j[a+8>>2],d)|0}j[c>>2]=0}J(j[c+12>>2],0,0)|0;a=j[c+12>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}a=j[b+144>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[b+144>>2]=0}}function bJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+356>>2];if(b){d=j[j[a+96>>2]+8>>2];e=d;c=j[a+348>>2];if(c){while(1){f=j[b+16>>2];if(f){qe[j[d+8>>2]](d,f)}i[b+8>>1]=0;j[b+16>>2]=0;b=b+20|0;c=c-1|0;if(c){continue}break}b=j[a+356>>2]}if(b){qe[j[e+8>>2]](e,b)}j[a+356>>2]=0}i[a+344>>1]=0;j[a+348>>2]=0;j[a+352>>2]=0}function $k(a,b,c){var d=0;if(!(j[a>>2]==268305?a:0)){ve(73421,0);return-1}d=j[a+316>>2];a:{if(d){if(j[d>>2]!=268306){ve(73666,0);return-1}if(b){j[b>>2]=j[d+12>>2]}a=0;if(!c){break a}j[c>>2]=j[d+16>>2];return 0}d=j[a+8>>2];if(d){return qe[d|0](a,b,c)|0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}a=ve(73438,0)}return a}function oA(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;g=j[c>>2];f=j[c+4>>2];a=j[b+76>>2];c=j[a+20>>2];f=j[a+16>>2]+p(c,f)|0;a=j[b+4>>2];a:{if(!(!a|(a&-268435456)==268435456)){b=2;if((a|0)==844715353|(a|0)==1498831189){break a}b=(a|0)==1431918169?2:1;break a}b=a&255}j[d>>2]=f+p(b,g);j[e>>2]=c;return 0}function Yq(a){a=a|0;var b=0;a:{if(!(a&1)){break a}if(!(h[262136]&1)){ve(2185,0);break a}b=1}if(a&2){if(!(k[262136]&2)){j[65535]=j[65535]+1}b=b|2}b:{if(!(a&4)){break b}if(!(k[262136]&4)){ve(2373,0);break b}b=b|4}c:{if(!(a&8)){break c}if(!(k[262136]&8)){ve(2403,0);break c}b=b|8}a=j[65534]|b;j[65534]=a;return a|0}function Ij(a,b){var c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;a:{if(!a){j[d>>2]=86607;ve(86581,d);break a}c=Un();b:{if(c){e=j[c>>2];if(e>>>0>=a>>>0){break b}}c=mf(c,(a<<3)+36|0);if(!c){Be(0);break a}f=a+4|0;j[c>>2]=f;if(e>>>0>>0){Ee((e<<3|4)+c|0,0,f-e<<3)}if(Xy(c)){break a}}a=(a<<3)+c|0;j[a>>2]=0;j[a-4>>2]=b}oe=d+16|0}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+11|0]+7>>>3|0;e=j[a+4>>2]-d|0;if(d){a=0;while(1){h[b|0]=k[b|0]+(k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(e){a=0;d=0-d|0;while(1){h[b|0]=k[b|0]+(k[b+d|0]+k[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ji(a,b);a:{if(d){break a}c=j[a+24>>2];if((c|0)<1){break a}a=j[a+28>>2];f=a+p(c,40)|0;c=j[b+4>>2];b=j[b+8>>2];while(1){j[c>>2]=j[a+16>>2];j[c+4>>2]=j[a+20>>2];e=l[a>>1];h[b|0]=e&1?0:e&2?2:1;b=b+1|0;c=c+8|0;a=a+40|0;if(f>>>0>a>>>0){continue}break}}return d|0}function yO(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}b=i[a+2>>1];c=i[a>>1];if(!((b|c)&65535)){return 0}if((b|0)<1|(c|0)<1){break b}f=j[a+12>>2];d=-1;a=0;while(1){e=i[(a<<1)+f>>1];if((e|0)>=(b|0)|(d|0)>=(e|0)){break b}d=e;a=a+1|0;if((c|0)!=(a|0)){continue}break}break a}return 6}return(b-1|0)==(d|0)?0:6}function rh(a,b,c){var d=0,e=0;e=b-1|0;a:{if(k[a+436|0]==8){b:{if(e>>>0>253){break b}d=v(Bg(+(b|0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=v(Bg(+(b|0)/65535,+(c|0)*1e-5)*65535+.5);if(d<4294967296&d>=0){b=~~d>>>0;break a}b=0}return b&65535}function LI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;e=j[a+16>>2];a=l[a+8>>1];b=xe(b,1,0,a+1|0,0,c+12|0);oe=c+16|0;if(j[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=k[e|0];if(!c){break a}h[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}h[b+d|0]=0}return b|0}function EF(a,b){var c=0,d=0;a:{c=l[b+114>>1];if(c&32768){c=j[b+8>>2]&-6150;j[b+8>>2]=c;if(!a){break a}d=j[b+232>>2];if(d&16){Ke(a,j[b+116>>2]);Ke(a,j[b+120>>2]);j[b+116>>2]=0;j[b+120>>2]=0;j[b+8>>2]=c}j[b+232>>2]=d&-17;return}a=c<<1&4|(j[b+8>>2]&-2053|c<<4&2048);if(c&1){j[b+8>>2]=a|1;return}j[b+8>>2]=a&-2}}function zu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0),f=0;a:{a=j[b+144>>2];if(!a){break a}if(c){e=q(n[a+16>>2]*q(j[b+24>>2]));b:{if(q(r(e))>2]=f}if(!d){break a}e=q(n[a+16>>2]*q(j[b+28>>2]));c:{if(q(r(e))>2]=a}}function aN(a){a=a|0;var b=0,c=0,d=0;if(a){c=j[a+4>>2];if((c|0)>=1){while(1){d=j[j[a+20>>2]+(b<<2)>>2];if(d){ze(d);c=j[a+4>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}ze(j[a+20>>2]);if(j[a+24>>2]>=1){b=0;while(1){ze(j[j[a+28>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}ze(j[a+28>>2]);ze(a)}}function Zx(){var a=0,b=0,c=0,d=0,e=0;a=oe-16|0;oe=a;a:{if(!az()){No();b:{if(j[57816]==5){b=1;if(j[57818]){break b}}b=j[57795]==5&j[57797]!=0}c:{if(b){c=16;break c}ve(3236,0)}if(!(c&16)){break a}Lo(25);d=242880,e=jC(),j[d>>2]=e;if(IB()){break a}RB(j[60720]);break a}d=a,e=Jg(),j[d>>2]=e;ji(1259,a)}oe=a+16|0}function Rk(a){var b=0,c=0,d=0,e=0;a:{b=j[a+4>>2];if(!b){break a}d=j[a+104>>2];if(!d){break a}b=j[b+28>>2];if(!b){break a}c=j[b+4>>2];b=j[b+3656>>2];j[a+56>>2]=-1;j[a+60>>2]=-1;j[a+24>>2]=-1;e=a- -64|0;j[e>>2]=-1;j[e+4>>2]=-1;j[a+32>>2]=0;c=c>>b+1;j[a+48>>2]=c;j[a+20>>2]=c>>b;j[d+128>>2]=-1;j[d+132>>2]=-1}}function cN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=j[a+656>>2];e=j[a+2956>>2];if(!e){return 11}b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}b:{if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}a=j[j[a+1316>>2]+(b<<2)>>2];break b}a=qe[j[e+20>>2]](b)|0}if(!a){break a}Am(c,a,d)}return 0}function Qr(a,b,c,d,e){if((b|1|c)<0){j[e>>2]=6;return d}a:{if(!c){if(!d){break a}qe[j[a+8>>2]](a,d);break a}if(!b){if((c|0)<=0){j[e>>2]=c?6:0;return 0}a=qe[j[a+4>>2]](a,c)|0;if(!a){j[e>>2]=64;return 0}a=Ee(a,0,c);j[e>>2]=0;return a}a=qe[j[a+12>>2]](a,b,c,d)|0;j[e>>2]=!a<<6;return a?a:d}j[e>>2]=0;return 0}function $f(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=s(e);Nf(d,e,0,0,0,c+81|0);e=0+j[d+8>>2]|0;c=(j[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=j[d+4>>2];b=j[d>>2]}j[h>>2]=b;j[g+4>>2]=c;j[a+8>>2]=e;j[a+12>>2]=f;oe=d+16|0}function Tp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(k[b+8|0]&16)|(!a|!b)){break a}b:{if(k[b+25|0]==3){if(c){j[c>>2]=j[b+156>>2];f=16}else{f=0}if(!e){break b}j[e>>2]=b+160;break b}if(e){j[e>>2]=b+160;f=16}else{f=0}if(!c){break b}j[c>>2]=0}if(!d){break a}j[d>>2]=l[b+22>>1];f=16}return f|0}function fl(a){var b=0,c=0;if(!j[67021]){Be(4);return}b=j[66371];if(b){c=j[b+48>>2]>>>14&1}else{c=0}a:{if((c|0)==(a|0)){break a}b:{if(a){if(!b){ve(71566,0);return}if((qe[j[67021]](b)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]|16384;break b}if((qe[j[67021]](0)|0)==-1){break a}j[b+48>>2]=j[b+48>>2]&-16385}}}function bD(a){a=a|0;var b=0,c=0,d=0,e=0;c=oe-16|0;oe=c;if(a){d=qe[j[a+4>>2]](a,0,0,1)|0;e=pe;b=0;a:{if((qe[j[a+8>>2]](a,c+12|0,1,4)|0)!=4){break a}b=0;if(k[c+12|0]!=137){break a}b=0;if(k[c+13|0]!=80){break a}b=0;if(k[c+14|0]!=78){break a}b=k[c+15|0]==71}qe[j[a+4>>2]](a,d,e,0)|0}oe=c+16|0;return b|0}function Ah(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=i[a+2>>1];if((c|0)<1){break a}a=j[a+4>>2];c=a+(c<<3)|0;while(1){if(a){d=ye(j[a>>2],j[b>>2]);e=ye(j[a+4>>2],j[b+4>>2]);f=ye(j[a>>2],j[b+8>>2]);g=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=d+e;j[a+4>>2]=f+g}a=a+8|0;if(c>>>0>a>>>0){continue}break}}}function lH(a){a=a|0;var b=0,c=0,d=0,e=0;d=oe-16|0;oe=d;b=j[a>>2];c=j[b+548>>2];b=Kf(j[j[b+96>>2]+4>>2],201664);a:{if(!c|!b){break a}c=j[c>>2];if(!c){break a}c=qe[c|0](b)|0;if(!c){break a}b=j[a>>2];e=qe[j[c>>2]](j[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}j[a+40>>2]=j[d+12>>2]}oe=d+16|0;return e|0}function iz(){var a=0,b=0;if(j[65551]>=1){while(1){b=j[j[65552]+(a<<2)>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=a+1|0;if((a|0)>2];b=j[a+436>>2];e=Vg();c=j[b>>2];a:{if((e|0)!=(c|0)){j[b+424>>2]=0;if((tg(j[a+188>>2],c)|0)<0){break a}}a=j[a+436>>2];if(!j[a+4>>2]){break a}while(1){if(qe[j[a+104>>2]]()|0){continue}break}}qe[j[b+20>>2]](j[d+4>>2],0);j[b+360>>2]=0;return 0}function hg(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;h[c+15|0]=0;j[b>>2]=0;d=j[a+8>>2];a:{b:{e=j[a+20>>2];c:{if(e){if((qe[e|0](a,d,c+15|0,1)|0)!=1){break b}d=j[a+8>>2];b=c+15|0;break c}if(m[a+4>>2]<=d>>>0){break b}b=j[a>>2]+d|0}b=k[b|0];j[a+8>>2]=d+1;break a}j[b>>2]=85;b=0}oe=c+16|0;return b<<24>>24}function os(a,b){var c=0,d=0,e=0,f=0;c=oe-16|0;oe=c;d=j[a>>2];j[c+12>>2]=0;f=j[a+12>>2];b=j[a+84>>2]+(j[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=xe(d,32,f,b,j[a+52>>2],c+12|0);j[a+52>>2]=d;e=j[c+12>>2];if(e){break a}j[a+12>>2]=b;j[a+88>>2]=d+(j[a+48>>2]<<5);e=0}oe=c+16|0;return e}function fH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=j[c+284>>2];if((e|0)<1){break a}f=j[c+288>>2];while(1){c=j[(d<<2)+f>>2];b:{if(!c|k[c|0]!=k[a|0]){break b}if((Le(c)|0)!=(b|0)){break b}if(!Qe(c,a,b)){break a}}d=d+1|0;if((e|0)>(d|0)){continue}break}d=0}return d|0}function bg(a){var b=0,c=0;b=oe-16|0;oe=b;a:{b:{if(!(S()|0)){break b}if(!yg(111871,1)){break b}R(a|0);break a}c=(a>>>0)/1e3|0;j[b+8>>2]=c;j[b+12>>2]=p(a-p(c,1e3)|0,1e6);while(1){j[67100]=0;a=j[b+12>>2];j[b>>2]=j[b+8>>2];j[b+4>>2]=a;if(!AD(b)){break a}if(j[67100]==27){continue}break}}oe=b+16|0}function RA(a){var b=0,c=0,d=0,e=0,f=0;d=oe-16|0;oe=d;e=-1;f=qe[j[58771]]()|0;a:{if((f|0)<1){break a}while(1){b=qe[j[58771]]()|0;b:{if((b|0)<=(c|0)){j[d>>2]=b;ve(73058,d);b=-1;break b}b=qe[j[58776]](c)|0}if((b|0)==(a|0)){e=c;break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}oe=d+16|0;return e}function Pu(a,b,c,d,e,f,g,h){var i=0,k=0,l=0;if((c|0)==372645892){return hn(a,b,d,e,f,g,h)}k=a<<2;i=p(k,b);i=qe[j[57972]](i?i:1)|0;if(i){j[57976]=j[57976]+1}if(!i){return Be(0)}l=-1;if((fh(a,b,c,d,e,372645892,i,k)|0)!=-1){l=hn(a,b,i,k,f,g,h)}if(i){qe[j[57975]](i);j[57976]=j[57976]-1}return l}function BH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+16>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2];e=j[b+24>>2]+c|0;h[e|0]=k[e|0]|8}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);d=j[b+16>>2]+(c<<3)|0;j[d+4>>2]=a+j[d+4>>2];a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16}}function Dp(a){var b=0,c=0,d=0,e=0,f=0;b=j[a+40>>2];c=qe[b|0](a,0,0,k[a|0]&128?m[a+20>>2]>m[a+28>>2]?2:1:1)|0;b=pe;d=b;if((b|0)>0?1:(b|0)>=0){e=j[a+20>>2]-j[a+28>>2]|0;a=j[a+8>>2]-j[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}pe=d;return c}function cg(a,b){var c=0,d=0,e=0;if(!a){return}d=j[a+52>>2];e=j[d+68>>2];c=e&-113;j[d+68>>2]=c;a:{b:{c:{switch(b|0){case 1:c=c|16;break b;case 2:c=c|32;break b;case 4:c=c|64;break b;case 0:break a;default:break c}}Be(4);d=j[a+52>>2];c=j[d+68>>2];break a}j[d+68>>2]=c}if((c|0)!=(e|0)){vf(d)}}function Qi(a,b){var c=0,d=0,e=0,f=0,g=0;d=j[a+24>>2];a:{if((d|0)<0){break a}e=j[a+20>>2];if((e|0)<=(d|0)){break a}if(b){f=j[j[a+4>>2]+4>>2];if((f|0)>=1){while(1){g=c<<2;j[g+j[a+12>>2]>>2]=j[j[a+8>>2]+g>>2]+(d<<2);c=c+1|0;if((f|0)!=(c|0)){continue}break}}j[b>>2]=j[a+12>>2]}c=e-d|0}return c}function rL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+20>>2];if(k[a+68|0]){g=j[e+8>>2];f=i[e+2>>1];a=j[e+4>>2]+(f<<3)|0;j[a>>2]=((b|0)>=0?b+32768&-65536:0-(32768-b&-65536)|0)>>16;j[a+4>>2]=((c|0)>=0?c+32768&-65536:0-(32768-c&-65536)|0)>>16;h[g+f|0]=d?1:2}i[e+2>>1]=l[e+2>>1]+1}function _r(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];if(!a){return}if(h[b+16|0]&1){c=j[b+4>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+4>>2]=0;c=j[b+8>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+8>>2]=0;c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0;j[b+4>>2]=0;j[b+16>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0}function Mi(a){var b=0,c=0,d=0;if(a){b=j[a>>2];if(b){c=j[a+8>>2];if((c|0)>=1){while(1){b=j[(d<<2)+b>>2];if(b){ze(b);c=j[a+8>>2]}d=d+1|0;if((d|0)<(c|0)){b=j[a>>2];continue}break}b=j[a>>2]}ze(b)}b=j[a+4>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function nh(a){var b=0,c=0;if(a){b=j[a>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}b=j[a+8>>2];if(b){while(1){c=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=c;if(b){continue}break}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function bs(a,b,c){var d=0,e=0,f=0,g=0;e=oe-16|0;oe=e;d=0;a:{if(!a){break a}f=j[a+92>>2];d=0;if(!f){break a}d=0;if(!j[a+16>>2]){break a}j[e+12>>2]=b;while(1){g=qe[j[j[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=m[a+16>>2]){continue}break}d=g?j[e+12>>2]:0}a=d;if(c){j[c>>2]=g}oe=e+16|0;return a}function Vu(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return 0}if(!(k[a+48|0]&2)){ve(99029,0);return 0}b=qe[j[b+180>>2]](b,a)|0;if(!b){return 0}c=j[67085];j[c+700>>2]=b;j[c+696>>2]=a;Ij(j[c+704>>2],a);Ij(j[j[67085]+708>>2],b);return b}function GI(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(k[a+292|0]?a+296|0:0)|0;case 2:return(l[a+364>>1]==65535?0:a+364|0)|0;case 5:return a+468|0;case 1:return a+260|0;case 6:c=j[a+548>>2]?a+548|0:0;break;default:break a}}return c|0}function yD(a){var b=0,c=0,d=0,e=0;e=Le(a);a:{if(!j[67124]|!k[a|0]){break a}if(ah(a,61)){break a}b=j[j[67124]>>2];if(!b){break a}b:{while(1){d=Qe(a,b,e);b=j[67124];if(!d){d=j[b+(c<<2)>>2]+e|0;if(k[d|0]==61){break b}}c=c+1|0;b=j[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function ni(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=oe-16|0;oe=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=s(b);Nf(c,d,0,0,0,b+81|0);d=0+j[c+8>>2]|0;b=(j[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=j[c+4>>2];e=j[c>>2]}j[h>>2]=e;j[g+4>>2]=b;j[a+8>>2]=f;j[a+12>>2]=d;oe=c+16|0}function Ih(a){var b=0;if(a){b=j[a+260>>2];if(b){qe[b|0](a)}nh(j[a+168>>2]);b=j[a+176>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+188>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+244>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function EB(){var a=0;Zg();a:{if(!j[65546]){break a}if(j[j[j[65546]>>2]+64>>2]){qe[j[j[j[65546]>>2]+64>>2]](j[j[65546]+4>>2])}j[j[65546]+8>>2]=0;j[j[65546]+12>>2]=0;j[65546]=0;a=j[65539];if(!a){break a}qe[a|0]()}Hg();a=j[65536];if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[65536]=0}}function mK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+16>>2];j[a+32>>2]=b;c=j[a+20>>2];j[a+36>>2]=c;d=j[a+8>>2];e=(d+j[a>>2]|0)/2|0;j[a+8>>2]=e;b=(b+d|0)/2|0;j[a+24>>2]=b;d=j[a+12>>2];f=(d+j[a+4>>2]|0)/2|0;j[a+12>>2]=f;c=(c+d|0)/2|0;j[a+28>>2]=c;j[a+16>>2]=(b+e|0)/2;j[a+20>>2]=(c+f|0)/2}function Lh(a){var b=0,c=0,d=0,e=0,f=0;f=j[a+76>>2]>=0;d=j[a>>2]&1;if(!d){b=j[a+52>>2];if(b){j[b+56>>2]=j[a+56>>2]}c=j[a+56>>2];if(c){j[c+52>>2]=b}if(j[67123]==(a|0)){j[67123]=c}}b=zp(a);c=qe[j[a+12>>2]](a)|0;e=j[a+96>>2];if(e){ze(e)}a:{if(!d){ze(a);break a}if(!f){break a}}return b|c}function qA(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a+356>>2]=1;if(!b){qe[j[a+188>>2]](36160,j[a+236>>2]);return 0}b=j[b+76>>2];qe[j[a+188>>2]](36160,j[j[b+40>>2]+8>>2]);qe[j[a+192>>2]](36160,36064,j[b+4>>2],j[b>>2],0);if((qe[j[a+196>>2]](36160)|0)!=36053){a=ve(75501,0)}else{a=0}return a|0}function fv(){var a=0,b=0,c=0;a:{b=j[67085];if(!b|!j[b+288>>2]){break a}b=1;if((We(4096,-1)|0)!=1){b=(We(4097,-1)|0)==1}c=j[67085];a=j[c+308>>2];if(!a){break a}qe[j[c+288>>2]](a,b);a=j[a+152>>2];if(!a){break a}while(1){qe[j[j[67085]+288>>2]](a,b);a=j[a+152>>2];if(a){continue}break}}}function Sk(a,b){var c=0,d=0,e=0;b=Ee(b,0,112);j[b+76>>2]=0;j[b+64>>2]=a;j[b+68>>2]=0;if(j[a>>2]){c=bf(1,72);j[b+104>>2]=c;j[c+4>>2]=-971228160;a=b+4|0;e=c+12|0;while(1){a:{if((d|0)==7){j[c+40>>2]=a;b=a;break a}b=bf(1,20);j[(d<<2)+e>>2]=b}jE(b);d=d+1|0;if((d|0)!=15){continue}break}}}function jG(a,b){var c=0,d=0;a:{d=k[a+9|0];if(d>>>0>7){break a}c=j[a+4>>2];a=205968;b:{c:{switch(d-1|0){case 1:a=206224;break b;case 0:break b;case 3:break c;default:break a}}a=206480}if((c|0)<1){break a}c=b+c|0;while(1){h[b|0]=k[k[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(j[b>>2]){a=j[c+24>>2];b=j[c+4>>2];d=j[b+48>>2];j[c+24>>2]=0;j[b+48>>2]=a|d|1;return 0}a=j[c+4>>2];j[a+48>>2]=j[a+48>>2]&-4098;a=Ch(a);if((a|0)>=0){a=j[j[67085]+304>>2]+p(a,72)|0}else{a=0}if(j[a+60>>2]==j[c+4>>2]){j[a+60>>2]=0}return 0}function TA(){var a=0;if(k[268300]){while(1){bg(1);if(k[268300]){continue}break}}a=j[67074];if(a){while(1){j[a+88>>2]=1;cl(a);a=j[67074];if(a){continue}break}}qe[j[58781]]();Yj(16384);li(73021,189,0);a=j[67073];if(a){j[67073]=0;if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}ZA()}function Gj(a,b){var c=0,d=0;c=j[65565];if((a|0)==-1){if((c|0)>=1){a=0;while(1){d=Gj(a,b)+d|0;a=a+1|0;c=j[65565];if((a|0)<(c|0)){continue}break}}return(d|0)/(c|0)|0}a:{if((a|0)>=(c|0)){break a}a=j[65566]+p(a,60)|0;d=j[a+16>>2];if((b|0)<0){break a}j[a+16>>2]=(b|0)<128?b:128}return d}function vG(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=j[a+100>>2];b=j[a+132>>2];if(b){if(j[b+160>>2]){jf(j[a+104>>2],b+160|0)}d=c;e=j[b+168>>2];if(e){qe[j[d+8>>2]](d,e)}j[b+168>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+132>>2]=0}d=j[a+32>>2];if(d){qe[j[c+8>>2]](c,d)}j[a+28>>2]=0;j[a+32>>2]=0}}function fL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=qe[j[a+20>>2]](l[j[a+16>>2]+(b<<1)>>1])|0;d=j[a+24>>2];if(!d){break a}e=j[a+28>>2];while(1){a=j[(c<<2)+e>>2];if(!(!a|k[a|0]!=k[b|0])){if(!we(a,b)){break a}}c=c+1|0;if(d>>>0>c>>>0){continue}break}c=0}return c|0}function QK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c>>2];e=d+32768&-65536;if((d|0)<0){e=0-(32768-d&-65536)|0}d=j[c+4>>2];c=d+32768&-65536;if((d|0)<0){c=0-(32768-d&-65536)|0}a:{if(j[a+4>>2]){break a}b=hj((p((b|0)!=0,36)+a|0)+16|0,e>>16,c>>16,j[a>>2],0);if(!b){break a}j[a+4>>2]=b}}function sH(a){var b=0,c=0;b=oe-16|0;oe=b;c=hb(a|0,b+12|0,b+8|0)|0;a:{if(c){a=ug(0,j[b+12>>2],j[b+8>>2],32,255,65280,16711680,-16777216);if(a){Ae(j[a+20>>2],c,p(j[b+12>>2],j[b+8>>2])<<2)}ze(c);break a}c=hi(a,1847);a=zl(a,46);if(!c){a=0;break a}a=WF(c,a?a+1|0:0)}oe=b+16|0;return a}function mi(a,b,c,d){var e=0,f=0,g=0;f=j[67125]+1|0;j[67125]=f;j[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!j[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=mi(e,b,Vf(c,d<<4|8),a);D(a|0);return b}j[g>>2]=f;a=(e<<3)+c|0;j[a+4>>2]=b;j[a+8>>2]=0;D(d|0);return c}function Qj(a){var b=0;a:{b=j[67024];if((b|0)==(a|0)){break a}if(b){zf(b,11,0,0)}j[67024]=a;j[67034]=0;b:{if(a){zf(a,10,0,0);b=268200;if(j[67024]){break b}}b=268196}a=j[67015];b=j[b>>2];if(!(j[67035]|(!b|!j[67051]))){if(!a){break a}qe[a|0](b)|0;return}if(!a){break a}qe[a|0](0)|0}}function yg(a,b){var c=0,d=0;d=Mf(a);c=j[66036];a:{b:{c:{if(!c){break c}while(1){if(!cf(a,j[c>>2])){if(j[c+8>>2]!=2?d:0){break b}d=j[c+4>>2];break c}c=j[c+16>>2];if(c){continue}break}}if(!d){break a}}a=k[d|0];if(!a){break a}if((a|0)!=48){b=1;if(Me(d,64280)){break a}}b=0}return b}function ye(a,b){var c=0,d=0;if(!(!a|(b|0)==65536)){d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=p(a,b)+32768>>>16|0;break a}c=a&65535;a=p(c,b>>>16|0)+p(b,a>>>16|0)+(p(c,b&65535)+32768>>>16)|0}a=(d|0)<0?0-a|0:a}return a}function pE(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=k[a+2|0];e=!c;a=k[a+1|0]<<16|k[a|0]<<24|c<<8;f=k[b+1|0]<<16|k[b|0]<<24|k[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=k[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function qJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=l[a+152>>1];a:{if(!e){break a}a=j[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(j[a>>2]==(b|0)){g=j[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){j[d>>2]=g}f=Fe(c,j[a+8>>2])}return f|0}function PF(a,b,c){if(!(!a|!b|(!c|k[a+209|0]&2))){a:{if(!((k[c+2|0]-1&255)>>>0>11|(k[c+3|0]-1&255)>>>0>30|(k[c+4|0]>23|k[c+5|0]>59))){if(k[c+6|0]<61){break a}}Ze(a,207445);return}a=l[c+4>>1]|l[c+6>>1]<<16;j[b+140>>2]=l[c>>1]|l[c+2>>1]<<16;j[b+144>>2]=a;j[b+8>>2]=j[b+8>>2]|512}}function Xf(a,b){var c=0,d=0;c=h[b|0];if(!c){return a}a=ah(a,c);a:{if(!a){break a}if(!k[b+1|0]){return a}if(!k[a+1|0]){break a}if(!k[b+2|0]){return qE(a,b)}if(!k[a+2|0]){break a}if(!k[b+3|0]){return pE(a,b)}if(!k[a+3|0]){break a}if(!k[b+4|0]){return oE(a,b)}d=nE(a,b)}return d}function XG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=oe-16|0;oe=e;f=b>>>0<4?b:4;if(f){b=0;while(1){d=b<<2;h=d+e|0;d=j[c+d>>2];g=d+32768&-65536;if((d|0)<0){g=0-(32768-d&-65536)|0}j[h>>2]=g>>16;b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=fq(a,f,e);oe=e+16|0;return a|0}function lA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=mo(b);d=ko(b);if(!(23>>>b&1)|b>>>0>=5){c=b&15}else{c=1}e=lo(b);f=jo(b);if(!(23>>>b&1)|b>>>0>=5){b=b>>>16&15}else{b=1}a:{if(a-1>>>0>9|d-1>>>0>9|(c-1>>>0>2|e-1>>>0>9)){break a}if(f-1>>>0>9){break a}return b-1>>>0<3|0}return 0}function Yp(a,b){var c=0,d=0,e=0;if(a){Ee(a+8|0,0,352);j[a+24>>2]=1024;j[a+4>>2]=16384;d=Te(16384);j[a>>2]=d;c=Te(4096);j[a+16>>2]=c;e=Te(8192);j[a+20>>2]=e;a:{if(d){if(c?e:0){break a}ze(d);c=j[a+16>>2]}if(c){ze(c)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360);return}j[a+336>>2]=b}}function Yh(a){var b=0,c=0;j[a+20>>2]=0;j[a+48>>2]=0;b=j[a+24>>2];j[a+56>>2]=j[a+20>>2];j[a+60>>2]=b;c=j[a+32>>2];b=a- -64|0;j[b>>2]=j[a+28>>2];j[b+4>>2]=c;b=j[a+40>>2];j[a+72>>2]=j[a+36>>2];j[a+76>>2]=b;j[a+88>>2]=j[a+52>>2];b=j[a+48>>2];j[a+80>>2]=j[a+44>>2];j[a+84>>2]=b}function Wt(a){a=a|0;var b=0,c=0,d=0;b=oe-32|0;oe=b;h[b+7|0]=0;j[b+8>>2]=370546692;c=E(105238,b+7|0,0)|0;h[b+6|0]=0;j[b+12>>2]=c;c=E(105265,b+6|0,0)|0;j[b+20>>2]=0;j[b+24>>2]=0;j[b+16>>2]=c;a:{if((ov(b+8|0)|0)<0){d=-1;break a}mv(j[a+304>>2],b+8|0);vu()}oe=b+32|0;return d|0}function pi(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=jP(a,b,10);e=pe;f=e;e=hP(d,e,10,0);c=c-1|0;h[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;h[c|0]=d-p(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Qt(a){a=a|0;var b=0,c=0,d=0;b=oe-16|0;oe=b;j[a+76>>2]=1;j[a+44>>2]=520;j[a+4>>2]=521;j[a+64>>2]=1;j[a+68>>2]=1;h[b+15|0]=0;c=E(105537,b+15|0,0)|0;a:{if(!c){ve(105676,0);break a}h[b+14|0]=0;d=(E(105703,b+14|0,0)|0)!=0}j[a+80>>2]=d;j[a+72>>2]=d;oe=b+16|0;return c|0}function yl(a){var b=0;if(j[a+76>>2]<0){a:{if(h[a+75|0]==10){break a}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break a}j[a+20>>2]=b+1;h[b|0]=10;return}ap(a);return}b:{c:{if(h[a+75|0]==10){break c}b=j[a+20>>2];if(b>>>0>=m[a+16>>2]){break c}j[a+20>>2]=b+1;h[b|0]=10;break b}ap(a)}}function pn(a,b){var c=0,d=0,e=0;a:{c=j[67085];if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}d=b&4097;c=j[a+48>>2];e=c&4097;if((d|0)==(e|0)){break a}j[a+48>>2]=c&-4098|d;if(!Xg(a,(c>>>6^-1)&c>>>2&b&1)){break a}j[a+48>>2]=j[a+48>>2]&-4098|e}}function nu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(j[c+28>>2]){H(j[c+12>>2],a+8|0,a|0)|0;c=j[c+4>>2];d=o[a>>3];a:{if(r(d)<2147483648){b=~~d;break a}b=-2147483648}d=o[a+8>>3];b:{if(r(d)<2147483648){e=~~d;break b}e=-2147483648}zf(c,5,e,b)}oe=a+16|0;return 0}function _u(a){var b=0,c=0;b=oe-16|0;oe=b;c=j[67085];a:{if(!c){ve(99429,0);break a}if(!(j[a>>2]==(c+316|0)?a:0)){ve(98129,0);break a}j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=j[a+24>>2];j[b+12>>2]=j[a+28>>2];if(!j[a+112>>2]){ve(98631,0);break a}qe[j[c+140>>2]](c,a,b,1)|0}oe=b+16|0}function wl(a){var b=0,c=0;a:{if(m[a+20>>2]<=m[a+28>>2]){break a}qe[j[a+36>>2]](a,0,0)|0;if(j[a+20>>2]){break a}return-1}b=j[a+4>>2];c=j[a+8>>2];if(b>>>0>>0){b=b-c|0;qe[j[a+40>>2]](a,b,b>>31,1)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0;return 0}function _E(a,b){var c=0,d=0;a:{c=k[a+441|0];b:{if(c>>>0>7){break b}j[a+800>>2]=17;b=b+32|0;d=8-c|0;pf(a,b+c|0,d);h[a+441|0]=8;if(bq(b,c,d)){if(c>>>0<=3){if(bq(b,c,4-c|0)){break a}}Ye(a,211002);z()}if(c>>>0>2){break b}j[a+208>>2]=j[a+208>>2]|4096}return}Ye(a,210987);z()}function cj(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function Mu(a){a=a|0;var b=0,c=0;b=j[a+992>>2];if(b){c=j[b+8>>2];if(c){qe[j[b+52>>2]](c)|0;b=j[a+992>>2];j[b+8>>2]=0}c=j[b+4>>2];if(c){en(c);b=j[a+992>>2];j[b+4>>2]=0}c=j[b>>2];if(c){en(c);b=j[a+992>>2];j[b>>2]=0}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a+992>>2]=0}}function wv(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;b=a- -64|0;c=j[b>>2];if(c){qe[j[57975]](c);j[57976]=j[57976]-1}j[b>>2]=0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function Bo(a){var b=0,c=0;c=j[67051];a:{if((a|0)<0){break a}b=(a|0)!=0;j[67051]=b;if((b|0)==(c|0)){break a}b=j[67015];b:{if(j[67035]|!a){break b}a=j[(j[67024]?268200:268196)>>2];if(!a){break b}if(!b){break a}qe[b|0](a)|0;return c}if(!b){break a}qe[b|0](0)|0}return c}function tO(a,b,c,d,e,f){var g=0,h=0,i=0,k=0,l=0,m=0,n=0;while(1){h=g<<2;k=h+d|0;j[k>>2]=0;a:{b:{if(!b){i=f+h|0;j[i>>2]=0;break b}i=f+h|0;l=Fe(b,0);j[i>>2]=l;if(l){break a}}m=i,n=qe[j[(g<<3)+116496>>2]](a,b,c,k,e+h|0)|0,j[m>>2]=n}g=g+1|0;if((g|0)!=9){continue}break}}function hK(a,b){a=a|0;b=b|0;var c=0;if(m[b+160>>2]>>0){Pe(b,8)}c=k[a+3|0]|k[a+2|0]<<8;if(!(m[b+160>>2]>=a+c>>>0?c>>>0>=262:0)){Pe(b,8)}if(j[b+164>>2]){a=a+6|0;c=0;while(1){if(m[b+172>>2]<=k[a|0]){Pe(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function hJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[a+508>>2];e=b;a:{b:{if(c){c=qe[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=qe[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=$e(e,198448,a);if(c){break a}j[a+36>>2]=0;j[a+40>>2]=0;c=0}return c|0}function ex(a){a=a|0;var b=0;b=j[a+68>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}b=j[a+60>>2];if(b){Ih(b)}b=j[a+56>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function Of(a,b,c){var d=0,e=0;d=oe-224|0;oe=d;a:{b:{if(k[a+209|0]&128){if(k[a+214|0]&16|(c|0)<=1){break b}hf(a,b);z()}e=j[a+212>>2];c:{d:{if((c|0)<=0){if(e&2097152){break d}break c}if(!(e&4194304)){break c}}Ze(a,b);break a}Ye(a,b);z()}gj(a,d,b);Ze(a,d)}oe=d+224|0}function OL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=j[a+88>>2];if(b){j[b>>2]=j[a+300>>2]}if(c){j[c>>2]=j[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=De(l[f+12>>1]<<6,j[a+304>>2]);a=De(l[f+14>>1]<<6,j[a+304>>2])}if(d){j[d>>2]=b}if(e){j[e>>2]=a}return 0}function CG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=j[a+416>>2];if((d|0)>=1){f=j[a+420>>2];g=k[b|0];while(1){a:{e=j[(c<<2)+f>>2];if(k[e|0]!=(g|0)){break a}if(we(b,e)){break a}return rf(j[j[a+424>>2]+(c<<2)>>2])|0}c=c+1|0;if((d|0)>(c|0)){continue}break}}return 0}function Ex(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=j[a+64>>2];if((e|0)>=1){f=j[a+68>>2];while(1){d=p(c,20)+f|0;j[d>>2]=1;j[d+16>>2]=j[d+12>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}j[a+36>>2]=b;b=j[a>>2];qe[j[b+4>>2]](b,j[a+40>>2],j[a+44>>2],0)|0;return pe>>31}function $r(a,b){var c=0;a:{if(!a|!b){break a}c=l[a+2>>1];if((c|0)!=l[b+2>>1]|l[a>>1]!=l[b>>1]|(a|0)==(b|0)){break a}Ae(j[b+4>>2],j[a+4>>2],c<<16>>16<<3);Ae(j[b+8>>2],j[a+8>>2],i[a+2>>1]);Ae(j[b+12>>2],j[a+12>>2],i[a>>1]<<1);j[b+16>>2]=j[a+16>>2]&-2|j[b+16>>2]&1}}function Gn(a){var b=0,c=0,d=0,e=0;b=j[a+84>>2];if(b){while(1){c=j[b+4>>2];ze(j[b>>2]);ze(b);b=c;if(b){continue}break}}c=j[a+80>>2];if(c){d=a,e=Vf(j[a+68>>2],c+j[a+76>>2]|0),j[d+68>>2]=e;c=j[a+80>>2];j[a+80>>2]=0;j[a+76>>2]=c+j[a+76>>2]}j[a+84>>2]=0;j[a+72>>2]=0}function vs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b=qi(b,1024);if(b){aj(b,0,2);c=Bp(b);aj(b,0,0);d=Te(c+1|0);if(d){e=ek(d,1,c,b);if(e>>>0>c>>>0){break a}h[d+e|0]=0;Lh(b)}j[a>>2]=d;j[a+4>>2]=c;return}f=a,g=bf(1,1),j[f>>2]=g;j[a+4>>2]=1;return}za(1027,1050,45,1069);z()}function ZN(a,b){var c=0;if(!a){return 40}j[a+16>>2]=b;j[a+8>>2]=0;j[a+12>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a>>2]=0;b=qi(b,116636);if(!b){return 1}aj(b,0,2);c=Bp(b);j[a+4>>2]=c;if(!c){Lh(b);return 81}aj(b,0,0);j[a+24>>2]=595;j[a+20>>2]=596;j[a+12>>2]=b;return 0}function KH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];c=j[a+484>>2]+(c-b|0)|0;a=(c-((c|0)%j[a+476>>2]|0)|0)+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];c=j[a+484>>2]+c-(d+b)|0;a=(((c|0)%j[a+476>>2]|0)-c|0)-b|0;return((a|0)>0?0-b|0:a)|0}function Hp(a,b){var c=0,d=0,e=0;sP(+a);c=pP(1)|0;d=pP(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=Hp(a*0x10000000000000000,b);b=j[b>>2]+ -64|0}j[c>>2]=b;return a}j[b>>2]=c-1022;qP(0,d|0);qP(1,e&-2146435073|1071644672);a=+rP()}return a}function vu(){var a=0,b=0;j[67018]=474;j[67017]=475;j[67015]=476;j[67013]=477;j[67020]=478;j[67014]=479;a=Xe(1,8);a:{if(a){b=Xe(1,8);if(!b){Be(0);if(a){qe[j[57975]](a);j[57976]=j[57976]-1}Co(0);return}j[b+4>>2]=0;j[b>>2]=104082;j[a+4>>2]=b;break a}Be(0)}Co(a)}function iN(a,b){a=a|0;b=b|0;var c=0;a=j[a+656>>2];b=l[j[a+1160>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=m[a+1312>>2]){break a}return j[j[a+1316>>2]+(b<<2)>>2]}a=j[a+2956>>2];if(!a){break a}c=qe[j[a+20>>2]](b)|0}return c|0}function aM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=j[a>>2];c=j[b+408>>2];j[a+16>>2]=c;d=j[b+416>>2];j[a+20>>2]=d;a:{if(c>>>0<2){break a}b=j[d>>2];a=1;while(1){e=b;b=j[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function su(a){a=a|0;var b=0;b=oe-16|0;oe=b;a:{if(!j[67024]){break a}b:{if(!a){break b}a=j[a+4>>2];if(!a){break b}a=j[a>>2];if(!a){break a}h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=a;E(103920,b+14|0,b|0)|0;break a}h[b+13|0]=0;E(104013,b+13|0,0)|0}oe=b+16|0;return 0}function XD(a,b){var c=0,d=0;c=oe-160|0;oe=c;Ae(c+8|0,226824,144);j[c+52>>2]=a;j[c+28>>2]=a;d=-2-a|0;d=d>>>0<2147483647?d:2147483647;j[c+56>>2]=d;a=a+d|0;j[c+36>>2]=a;j[c+24>>2]=a;rp(c+8|0,118451,b);if(d){a=j[c+28>>2];h[a-((a|0)==j[c+24>>2])|0]=0}oe=c+160|0}function Hh(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;a:{if(!a){j[d>>2]=65611;e=ve(65309,d);break a}if(!b){j[d+16>>2]=65618;e=ve(65309,d+16|0);break a}e=0;if((c|0)<1){break a}if((c|0)%j[a+208>>2]|0){e=ve(65654,0);break a}e=Vo(j[a+168>>2],b,c)}a=e;oe=d+32|0;return a}function zD(){var a=0,b=0;a=oe-16|0;oe=a;a:{if(La(a+12|0,a+8|0)|0){break a}b=Te((j[a+12>>2]<<2)+4|0);j[67124]=b;if(!b){break a}b=Te(j[a+8>>2]);if(!b){j[67124]=0;break a}j[j[67124]+(j[a+12>>2]<<2)>>2]=0;if(!(Ka(j[67124],b|0)|0)){break a}j[67124]=0}oe=a+16|0}function qi(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;a:{b:{if(!ah(226820,h[b|0])){j[67100]=28;break b}e=CD(b);j[c>>2]=438;a=Pa(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}if((a|0)<0){break a}d=_D(a,b);if(d){break a}X(a|0)|0}d=0}oe=c+16|0;return d}function oM(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 i=0;a:{if((f|0)<1){break a}b=0;h=0;while(1){i=h<<2;if(j[i+e>>2]){j[(b<<2)+d>>2]=j[d+i>>2];b=b+1|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}if(!b){break a}sr(a,c,d,b,g)}return 0}function cH(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=j[a>>2];c=j[d+548>>2];d=Kf(j[j[d+96>>2]+4>>2],201664);if(!(!c|!d)){c=j[c>>2];if(c){break a}}Ei(j[a>>2],b);return 0}c=qe[c|0](d)|0;Ei(j[a>>2],b);if(c){qe[j[c+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Te(b)|0}if(b>>>0>=4294967232){j[67100]=48;return 0}c=tD(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Te(b);if(!c){return 0}d=j[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;Ae(c,a,b>>>0>d>>>0?d:b);ze(a);return c|0}function RO(a){var b=0;j[a+56>>2]=0;j[a+84>>2]=0;b=i[a+22>>1];j[a- -64>>2]=b+j[a+28>>2];j[a+68>>2]=j[a+32>>2]+(i[a+20>>1]<<1);b=b<<3;j[a+60>>2]=b+j[a+24>>2];if(k[a+16|0]){j[a+76>>2]=b+j[a+40>>2];j[a+80>>2]=b+j[a+44>>2]}j[a+88>>2]=j[a+52>>2]+(j[a+48>>2]<<5)}function yB(){var a=0,b=0;a=j[67055];if(a){while(1){a=a-1|0;b=j[j[67056]+(a<<2)>>2];AB(j[b>>2],j[b+4>>2]);if(a){continue}break}}a=j[67056];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[67056]=0;a=j[66370];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}j[66370]=0}function To(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=a+60|0;a:{if(j[a+56>>2]|!j[c>>2]){break a}qe[j[66053]](a);j[c>>2]=0;qe[j[66054]](a);if((We(4353,-1)|0)!=1){break a}Oe(b+8|0,0,56);j[b+8>>2]=4353;j[b+16>>2]=j[a>>2];h[b+20|0]=j[a+68>>2]!=0;gf(b+8|0)}oe=b- -64|0}function PL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;pr(a,b,c,d);b=j[a+300>>2];c=j[a+304>>2];a:{if((b|0)==(c|0)){break a}e=j[d>>2];if(e){f=d,g=Ne(e,b,c),j[f>>2]=g}b=j[d+4>>2];if(!b){break a}f=d,g=Ne(b,j[a+300>>2],j[a+304>>2]),j[f+4>>2]=g}return 0}function ap(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;h[c+15|0]=10;b=j[a+16>>2];a:{if(!b){if(bp(a)){break a}b=j[a+16>>2]}d=b;b=j[a+20>>2];if(!(h[a+75|0]==10|d>>>0<=b>>>0)){j[a+20>>2]=b+1;h[b|0]=10;break a}if((qe[j[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}oe=c+16|0}function Km(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=oe-16|0;oe=d;e=j[j[a+4>>2]+100>>2];c=j[a+156>>2];f=j[c+4>>2];a:{if(f&1){c=j[a+88>>2];if(c){qe[j[e+8>>2]](e,c)}j[a+88>>2]=0;break a}j[c+4>>2]=f|1}g=a,h=He(e,b,d+12|0),j[g+88>>2]=h;oe=d+16|0;return j[d+12>>2]}function BD(a,b){var c=0,d=0,e=0;c=oe-160|0;oe=c;Ee(c+16|0,0,144);j[c+92>>2]=-1;j[c+60>>2]=b;j[c+24>>2]=-1;j[c+20>>2]=b;kg(c+16|0,0,0);op(c,c+16|0,1,1);b=j[c+8>>2];d=j[c+12>>2];e=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=e;j[a+8>>2]=b;j[a+12>>2]=d;oe=c+160|0}function vg(a,b){var c=0;c=oe-16|0;oe=c;a:{if(!a){break a}j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[a+8>>2];j[c+12>>2]=j[a+12>>2];a=a+36|0;if(!b){b=j[c+4>>2];j[a>>2]=j[c>>2];j[a+4>>2]=b;b=j[c+12>>2];j[a+8>>2]=j[c+8>>2];j[a+12>>2]=b;break a}Fg(b,c,a)}oe=c+16|0}function wp(a){var b=0,c=0;b=k[a+74|0];h[a+74|0]=b-1|b;if(m[a+20>>2]>m[a+28>>2]){qe[j[a+36>>2]](a,0,0)|0}j[a+28>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;b=j[a>>2];if(b&4){j[a>>2]=b|32;return-1}c=j[a+44>>2]+j[a+48>>2]|0;j[a+8>>2]=c;j[a+4>>2]=c;return b<<27>>31}function CN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1&65535}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function Zj(a,b){var c=0,d=0,e=0;j[a+28>>2]=b;b=0;while(1){c=p(b,84)+a|0;e=c;if(l[c+136>>1]){j[c+56>>2]=0;j[c+60>>2]=0;d=j[c+76>>2];if(d){ze(d);j[c+76>>2]=0}d=j[c+100>>2];if(d){ze(d);j[c+100>>2]=0}i[e+136>>1]=0}b=b+1|0;if((b|0)!=257){continue}break}}function TL(a){a=a|0;var b=0,c=0,d=0;c=j[j[a+188>>2]>>2];b=c;d=j[a+168>>2];if(d){qe[j[b+8>>2]](b,d)}j[a+172>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;b=j[a+184>>2];if(b){qe[j[c+8>>2]](c,b)}h[a+192|0]=0;j[a+184>>2]=0;j[a+188>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0}function VO(a){Lf(a,116020);Lf(a,199604);Lf(a,201312);Lf(a,119884);Lf(a,123992);Lf(a,133044);Lf(a,204008);Lf(a,205332);Lf(a,132272);Lf(a,133720);Lf(a,135120);Lf(a,135044);Lf(a,197364);Lf(a,198016);Lf(a,199364);Lf(a,199436);Lf(a,199508);Lf(a,116732)}function QA(a){var b=0,c=0;c=oe+ -64|0;oe=c;j[c+8>>2]=1542;if((We(1542,-1)|0)==1){j[c+16>>2]=a;gf(c+8|0)}PA();b=j[67074];a:{if(!b){break a}while(1){if(j[b>>2]==(a|0)){j[b+72>>2]=1;j[b+60>>2]=0;break a}b=j[b+92>>2];if(b){continue}break}}oe=c- -64|0}function $K(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=j[a+16>>2];c=j[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+j[a+20>>2]|0;a:{if(c>>>0>>0){e=j[a+24>>2];while(1){a=l[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}}a=0;c=0}j[b>>2]=c;return a|0}function cM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=a+c>>>1|0;d=j[(e<<3)+f>>2];if((d|0)==(b|0)){return l[((e<<3)+f|0)+4>>1]+1|0}d=b>>>0>>0;a=d?a:e+1|0;c=d?e:c;if(a>>>0>>0){continue}break}}return 0}function VA(a){var b=0,c=0,d=0;b=oe-16|0;oe=b;a:{b:{if((a|0)>=0){c=qe[j[58771]]()|0;if((c|0)>(a|0)){break b}}j[b>>2]=c;ve(73058,b);break a}a=qe[j[58773]](a)|0;if(!a){break a}if(Qe(a,73123,Le(73123))){d=a;break a}d=Le(73123)+a|0}oe=b+16|0;return d}function ML(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a:{if(j[c+80>>2]){break a}b=b-a|0;f=He(j[c>>2],b+1|0,d+12|0);j[c+80>>2]=f;e=j[d+12>>2];if(e){break a}Ae(f,a,b);h[b+j[c+80>>2]|0]=0;e=j[d+12>>2]}oe=d+16|0;return e|0}function bj(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function _z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=lh(a,d<<3,b+4|0);if(!a){return-1}j[b+8>>2]=d;if((d|0)>=1){b=0;while(1){e=(b<<3)+c|0;n[a>>2]=n[e>>2]+q(.5);n[a+4>>2]=n[e+4>>2]+q(.5);a=a+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Yf(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=b-1|0;if(e>>>0<=c>>>0){break a}b=k[d|0];if(!b){break a}while(1){h[a+c|0]=b;c=c+1|0;if(e>>>0<=c>>>0){break a}b=k[d+1|0];d=d+1|0;if(b&255){continue}break}}h[a+c|0]=0}return c}function nt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=j[a+96>>2];bg(j[e+4>>2]);d=j[e>>2];a:{if(!d){d=c;break a}d=qe[j[d+8>>2]](d,b,1,c)|0;b=d+b|0;d=c-d|0;if((d|0)<1){break a}f=j[e>>2];qe[j[f+16>>2]](f)|0;j[e>>2]=0}Oe(b,k[a+11|0],d);return c|0}function EM(a,b){a=a|0;b=b|0;var c=0;Ei(j[a>>2],b);c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+4>>2]](j[a+40>>2],j[a+16>>2],j[a+20>>2],0,0)}return 0}function $M(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[j[j[a>>2]+96>>2]+4>>2];j[b>>2]=0;j[b+4>>2]=0;d=j[a+12>>2];a:{if((d|0)==119980|(d|0)==120020){break a}c=Bh(Kf(c,120128),120236);if(!c){break a}c=j[c>>2];if(!c){break a}e=qe[c|0](a,b)|0}return e|0}function Ef(a,b){var c=0,d=0,e=0;d=j[a+68>>2];c=j[a+72>>2];b=b+7&-8;if(j[a+76>>2]<(c+b|0)){if(d){e=Te(8);j[a+80>>2]=j[a+80>>2]+c;c=j[a+84>>2];j[e>>2]=d;j[e+4>>2]=c;j[a+84>>2]=e}j[a+76>>2]=b;d=Te(b);j[a+68>>2]=d;c=0}j[a+72>>2]=b+c;return c+d|0}function kp(a,b,c,d){var e=0;e=oe-144|0;oe=e;j[e+44>>2]=a;j[e+4>>2]=a;j[e>>2]=0;j[e+76>>2]=-1;j[e+8>>2]=(a|0)<0?-1:a+2147483647|0;kg(e,0,0);c=mp(e,0,1,c,d);d=pe;if(b){j[b>>2]=((j[e+4>>2]+j[e+120>>2]|0)-j[e+8>>2]|0)+a}oe=e+144|0;pe=d;return c}function cP(){var a=0;a=j[58882];if(a){Yk(a)}a=j[58883];if(a){Kk(a)}a=j[58904];if(a){jh(a)}a=j[58905];if(a){jh(a)}a=j[60720];if(a){XB(a)}a=j[60721];if(a){ip(a)}Ap();ze(j[58908]);ze(j[58909]);ze(j[58913]);ze(j[58917]);UI();Wn();qB();fD();eD()}function Uo(a,b,c){var d=0;d=oe+ -64|0;oe=d;a:{if(a){b=Wj(b,c,264276,264268);break a}b=Wj(b,c,264272,264264)}b:{if((b|0)==-1){break b}if((We(4352,-1)|0)!=1){break b}Oe(d+8|0,0,56);h[d+20|0]=a;j[d+16>>2]=b;j[d+8>>2]=4352;gf(d+8|0)}oe=d- -64|0}function FL(a){a=a|0;var b=0,c=0,d=0;if(j[a+12>>2]==-559038737){c=j[a+32>>2];b=c;d=j[a>>2];if(d){qe[j[b+8>>2]](b,d)}j[a>>2]=0;b=j[a+24>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+24>>2]=0;b=j[a+28>>2];if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0;j[a+28>>2]=0}}function zv(a){var b=0,c=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=97215;ve(97052,c);break a}b=j[a+12>>2];j[a+12>>2]=b-1;if((b|0)>1){break a}b=j[a+4>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}oe=c+16|0}function kD(a){a=a|0;var b=0;a=Ip(Te(Le(a)+1|0),a);b=Xf(a,231124);if(b){h[b|0]=0}b=Xf(a,231128);if(b){h[b|0]=0}b=Xf(a,231132);if(b){h[b|0]=0}b=Xf(a,231136);if(b){h[b|0]=0}b=Xf(a,231142);if(b){h[b|0]=0}b=lD(a);if(!b){b=mD(a)}ze(a);return b|0}function jq(a,b){a=a|0;b=b|0;var c=0;c=j[a+136>>2];j[b>>2]=j[a+132>>2];j[b+4>>2]=c;c=j[a+160>>2];j[b+24>>2]=j[a+156>>2];j[b+28>>2]=c;c=j[a+152>>2];j[b+16>>2]=j[a+148>>2];j[b+20>>2]=c;c=j[a+144>>2];j[b+8>>2]=j[a+140>>2];j[b+12>>2]=c;return 0}function CO(a){var b=0,c=0,d=0;c=oe-16|0;oe=c;d=6;a:{if(!a){break a}b=He(a,192,c+12|0);d=j[c+12>>2];if(d){break a}j[b>>2]=a;j[b+164>>2]=0;j[b+168>>2]=0;j[b+188>>2]=1;d=0;j[b+12>>2]=0;j[b+4>>2]=2;j[b+8>>2]=6;j[65573]=b}oe=c+16|0;return d} -function CM(a,b){a=a|0;b=b|0;var c=0;c=j[a+192>>2];j[b+24>>2]=j[a+188>>2];j[b+28>>2]=c;c=j[a+184>>2];j[b+16>>2]=j[a+180>>2];j[b+20>>2]=c;c=j[a+176>>2];j[b+8>>2]=j[a+172>>2];j[b+12>>2]=c;c=j[a+168>>2];j[b>>2]=j[a+164>>2];j[b+4>>2]=c;return 0}function sM(a){a=a|0;var b=0,c=0;b=j[a+12>>2];if(b){c=j[a+28>>2];ok(b+12|0);j[b+52>>2]=0;j[b+44>>2]=0;j[b+48>>2]=0;j[b+24>>2]=0;j[b+28>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0}}function qE(a,b){var c=0,d=0,e=0,f=0;c=k[a+1|0];e=!c;d=c|k[a|0]<<8;f=k[b+1|0]|k[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=k[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function Kf(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=j[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=j[a>>2];if(!we(j[j[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function KK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}e=c;g=a+52|0;f=j[g>>2];c=j[a+16>>2];if((e|0)!=(f+c|0)){break a}e=j[a>>2];c=mk(a+16|0,d,f,c,b,e);if(!c){c=mk(g,d,0,f,b,e);if(!c){break a}}j[a+4>>2]=c}}function JH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];a=(j[a+484>>2]+(c-b|0)&0-j[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];a=0-((j[a+484>>2]+c-(d+b)&0-j[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function FI(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;f=6;a:{if(!d|!e){break a}g=l[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=j[a+156>>2]+(b<<4)|0;j[c>>2]=j[a>>2];j[d>>2]=j[a+8>>2];g=j[a+12>>2]}j[e>>2]=g;f=0}return f|0}function BI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=em(a,199252,d);a:{if(e){break a}e=em(a,199269,d+8|0);if(e){break a}e=6;if(j[d>>2]!=1|j[d+8>>2]!=1){break a}j[b>>2]=j[d+12>>2];j[c>>2]=j[d+4>>2];e=0}oe=d+16|0;return e|0}function _L(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=j[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function QL(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;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}yr(a,b,c,f,90)}return 0}function AM(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;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}yr(a,b,c,f,89)}return 0}function kj(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a=He(a,(Le(b)+Le(c)|0)+1|0,d+12|0);if(!j[d+12>>2]){e=zl(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;gE(a,f,b);h[a+b|0]=0;b=e+1|0;break a}h[a|0]=0}e=Jp(Jp(a,c),b)}oe=d+16|0;return e}function Qe(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{e=k[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-k[b|0]|0}function Aj(a,b,c,d,e,f,g,h,i){d=Dj(d,f,g,h,i);if(!d){ve(97619,0);return 0}d=Bj(0,0,d);if(d){j[d+20>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e;j[d+12>>2]=c;j[d+8>>2]=b;j[d+48>>2]=c;j[d+44>>2]=b;j[d>>2]=j[d>>2]|1}else{d=0}return d}function Ru(a){var b=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(!(k[a+48|0]&2)){ve(99029,0);return}if((Eh(j[b+704>>2])|0)!=(a|0)){ve(99156,0);return}b=j[67085];qe[j[b+200>>2]](b,a)|0}function KA(){a:{if((We(1536,-1)|0)==1){break a}if((We(1537,-1)|0)==1){break a}if((We(1538,-1)|0)==1){break a}if((We(1539,-1)|0)==1){break a}if((We(1540,-1)|0)==1){break a}if((We(1541,-1)|0)==1){break a}return We(1542,-1)}return 1}function dh(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=j[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=j[j[a>>2]>>2];if(we(j[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=j[d+20>>2]}return e}function kL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=oe-16|0;oe=f;e=He(b,16,f+12|0);g=j[f+12>>2];if(!g){j[e+12>>2]=2;j[e+8>>2]=d;j[e>>2]=c;j[e+4>>2]=c;j[a+8>>2]=0;j[a+12>>2]=0;j[a+4>>2]=e;j[a>>2]=b}oe=f+16|0;return g|0}function uf(a,b,c){var d=0,e=0,f=0;d=j[a+8>>2];f=j[a+4>>2];if(d>>>0>>0){e=j[a+20>>2];a:{if(e){b=qe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Ae(e,j[a>>2]+d|0,b)}j[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function ph(a,b){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+336>>2]=b;j[a+352>>2]=0;j[a+356>>2]=0}}function RL(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)>0){while(1){d=j[(c<<2)+b>>2];a:{if(we(d,1831)){if(we(d,1834)){break a}}j[58880]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}j[58882]=0;j[58883]=0;Ee(235536,0,26600);lN();return 0}function LK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}d=j[a+16>>2];e=a+52|0;f=j[e>>2];if((d+f|0)!=(b|0)){break a}g=j[a>>2];b=mk(a+16|0,c,0,d,0,g);if(!b){b=mk(e,c,d,f,0,g);if(!b){break a}}j[a+4>>2]=b}}function AK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=j[a>>2];d=a&2147483647;b=j[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function es(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=j[a+96>>2];if(!d){break a}b=j[a+128>>2];c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)<=1){c=j[d+8>>2];e=d+16|0;b=zh(e,a);if(!b){break a}Th(e,b);if(b){qe[j[c+8>>2]](c,b)}Vh(c,a,d)}}}function QB(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=k[a|0];a:{if(b>>>0<32|(b|0)==127){break a}if((We(771,-1)|0)!=1){break a}j[c+8>>2]=771;d=c;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[d+16>>2]=b;$y(c+20|0,a);gf(c+8|0)}oe=c- -64|0}function CH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+12>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2]}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);b=j[b+12>>2]+(c<<3)|0;j[b+4>>2]=a+j[b+4>>2]}}function xk(a,b,c){var d=0;if(!a){return 35}if(!c){return 6}d=16;a:{if(m[a+16>>2]<=b>>>0){break a}d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){d=0;break a}if((d&255)!=7){break a}}d=Fs(a,b,c)}return d}function vf(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;a=a- -64|0;b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a>>2]=0}}function IO(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;j[d+20>>2]=0;j[d+24>>2]=0;j[d+8>>2]=0;e=b?b:c;e=e?e:1;j[d+12>>2]=(e>>>0<65535?e:65535)<<6;b=b?c?c:b:c;b=b?b:1;j[d+16>>2]=(b>>>0<65535?b:65535)<<6;a=Fm(a,d+8|0);oe=d+32|0;return a}function dP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=p(e,f);g=c&65535;h=a&65535;i=p(g,h);f=(i>>>16|0)+p(f,g)|0;e=(f&65535)+p(e,h)|0;a=(p(b,c)+j|0)+p(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;pe=a;return b}function Ml(a,b){var c=0,d=0;c=oe-224|0;oe=c;d=j[a+208>>2]&32768;a:{b:{c:{if(k[a+214|0]&16){if(!d|!j[a+376>>2]){break c}gj(a,c,b);Ze(a,c);break b}if(j[a+376>>2]?d:0){break a}Ye(a,b);z()}Ze(a,b)}oe=c+224|0;return}hf(a,b);z()}function qC(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;h=j[a+240>>2];f=j[a+248>>2];g=b+c|0;d=Mo(k[a+232|0],j[a+204>>2],j[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)>(c|0)?c:b;Ge((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function Se(a){var b=0,c=0,d=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}b=j[c+172>>2];if(b){if(j[c+432>>2]){b=qe[b|0](c,a)|0;break a}b=0;ve(98799,0);break a}j[d>>2]=j[c>>2];ve(98744,d);b=0}oe=d+16|0;return b}function _J(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];a:{if(c>>>0>65534){break a}if(h[a+20|0]&1){return Mq(a,b,1)|0}if((c|0)==j[a+24>>2]){Kq(a);c=j[a+28>>2];if(!c){break a}j[b>>2]=j[a+24>>2];return c|0}d=Lq(a,b,1)}return d|0}function JJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){Hq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=Iq(a,b,1)}return d|0}function FJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){Fq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=Gq(a,b,1)}return d|0}function qn(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(k[a+48|0]&4){j[a+116>>2]=1;Xg(a,0);b=j[67085];c=j[b+88>>2];if(c){qe[c|0](b,a)}j[a+116>>2]=0;zf(a,2,0,0)}}function kH(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+548>>2];c=Kf(j[j[c+96>>2]+4>>2],201664);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function HM(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function tu(a){a=a|0;var b=0;if(a){b=j[a+4>>2];if(b){if(j[b+4>>2]){b=j[b>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function pu(a){a=a|0;var b=0,c=0;if(a>>>0<=11){a:{b=Xe(1,8);if(b){c=Xe(1,8);if(!c){Be(0);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}return 0}j[c+4>>2]=0;j[c>>2]=j[(a<<2)+104188>>2];j[b+4>>2]=c;break a}Be(0)}}return b|0}function nI(a,b){a=a|0;b=b|0;var c=0,d=0;d=rg(200288,b);a:{if(d){break a}d=0;if(!a){break a}c=j[a+4>>2];if(!c){break a}c=Kf(c,200336);if(!c){break a}c=j[j[c>>2]+20>>2];if(!c){break a}d=qe[j[c+16>>2]](a,b)|0}return d|0}function _i(a){var b=0,c=0,d=0;if((lP(a)|0)==1){return k[(a?s(a)^31:-1)+262304|0]?a:0}a=a?a:62001;d=32-s(a)|0;if(d){while(1){c=!(a&1)|!k[b+262304|0]?c:1<>>1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c}function UL(a){a=a|0;var b=0;b=j[j[a+156>>2]>>2];j[a+184>>2]=0;j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;j[a+172>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0;j[a+188>>2]=b;h[a+192|0]=0;Yh(b);return 0}function av(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}a:{if(!j[b+100>>2]|k[a+48|0]&64){break a}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break a}qe[c|0](b,a)}}function Us(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;if(!(!a|!b)){f=j[b+8>>2];g=j[b+12>>2];d=j[a>>2];c=c<<16;h=Ne(d,j[b>>2],c);e=j[a+4>>2];i=a,k=h+Ne(e,j[b+4>>2],c)|0,j[i>>2]=k;i=a,k=Ne(d,f,c)+Ne(e,g,c)|0,j[i+4>>2]=k}}function Pm(a,b){a=a|0;b=b|0;var c=0;c=j[b+4>>2];j[a+4>>2]=j[b>>2];j[a+8>>2]=c;j[a+28>>2]=j[b+24>>2];c=j[b+20>>2];j[a+20>>2]=j[b+16>>2];j[a+24>>2]=c;c=j[b+12>>2];j[a+12>>2]=j[b+8>>2];j[a+16>>2]=c;Om(a,b,0);Om(a,b,1)}function Js(a,b){a=a|0;b=b|0;var c=0,d=0;j[b+72>>2]=1869968492;d=j[a+36>>2];j[b+124>>2]=d;c=j[a+24>>2];j[b+108>>2]=j[a+20>>2];j[b+112>>2]=c;c=j[a+32>>2];j[b+116>>2]=j[a+28>>2];j[b+120>>2]=c;j[b+124>>2]=d&-2;return 0}function Ez(a){a=a|0;var b=0;pj(a+16|0);b=j[a+772>>2];if(b){Ih(b)}b=j[a+776>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function CI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=oe-16|0;oe=d;e=j[a+16>>2];a:{if((e|0)>=1){while(1){if(!gm(a,c,d+12|0)){if(!we(b,j[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}oe=d+16|0;return c|0}function Yr(a,b,c,d){var e=0,f=0;f=j[a+4>>2];if(f>>>0>b>>>0){e=j[a+20>>2];a:{if(e){c=qe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ae(e,j[a>>2]+b|0,c)}j[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(c){j[c>>2]=0;j[c+4>>2]=0;h[a+15|0]=0;d=c,e=E(105293,a+15|0,0)|0,j[d+8>>2]=e;h[a+14|0]=0;d=c,e=E(105325,a+14|0,0)|0,j[d+12>>2]=e}oe=a+16|0;return 0}function rz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[j[a+436>>2]>>2];a:{if(d){if(b){j[b>>2]=j[d+8>>2]}a=0;if(!c){break a}j[c>>2]=j[d+12>>2];return 0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}ve(86417,0);a=-1}return a|0}function kn(a,b,c){var d=0,e=0;d=j[67085];if(!d){ve(99429,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);return}e=j[d+188>>2];if(e){qe[e|0](d,a,b,c);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function GE(a){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+352>>2]=0;j[a+356>>2]=0}}function Dm(a,b,c){var d=0,e=0,f=0,g=0;e=j[a+8>>2];f=j[a+4>>2];if(e>>>0>>0){d=j[a+20>>2];a:{if(d){d=qe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Ae(g,j[a>>2]+e|0,d)}j[a+8>>2]=j[a+8>>2]+d}return d}function dB(){var a=0,b=0;a=oe+ -64|0;oe=a;Ho(188,0);if((qe[j[58771]]()|0)>=1){while(1){if(wo(b)){j[a+16>>2]=b;j[a+8>>2]=1619;gf(a+8|0)}b=b+1|0;if((qe[j[58771]]()|0)>(b|0)){continue}break}}oe=a- -64|0;return 0}function RI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=qe[j[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){j[(c?692:684)+a>>2]=j[d+12>>2];j[(c?788:784)+a>>2]=j[b+8>>2]}oe=d+16|0;return e|0}function zp(a){var b=0;if(a){if(j[a+76>>2]<=-1){return wl(a)}return wl(a)}if(j[67117]){b=zp(j[67117])}a=j[67123];if(a){while(1){if(m[a+20>>2]>m[a+28>>2]){b=wl(a)|b}a=j[a+56>>2];if(a){continue}break}}return b}function tE(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=j[a+36>>2];if(!c){break a}d=j[b+52>>2];if(d){qe[c|0](j[a+40>>2],d);c=j[a+36>>2];b=j[a+28>>2]}qe[c|0](j[a+40>>2],b);j[a+28>>2]=0}}function wF(a,b,c){var d=0,e=0;a:{b:{if(!(c?b:0)){j[a>>2]=0;break b}d=v(+(b|0)*+(c|0)/1e5+.5);if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){b=~~d}else{b=-2147483648}j[a>>2]=b}e=1}return e}function _F(a,b,c){var d=0;if(!(!c|(!a|!b))){a=l[c+4>>1]|l[c+6>>1]<<16;d=l[c>>1]|l[c+2>>1]<<16;i[b+170>>1]=d;i[b+172>>1]=d>>>16;i[b+174>>1]=a;i[b+176>>1]=a>>>16;i[b+178>>1]=l[c+8>>1];j[b+8>>2]=j[b+8>>2]|32}}function Tf(a,b,c){var d=0,e=0;a:{if(!a){break a}d=i[a+2>>1];if((d|0)<1){break a}a=j[a+4>>2];while(1){j[a>>2]=j[a>>2]+b;j[a+4>>2]=j[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function Ki(){var a=0,b=0;a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}a:{if(a){b=an();j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;if(b){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}a=0;Be(0)}return a}function Un(){var a=0,b=0,c=0;b=oe-16|0;oe=b;j[b+12>>2]=0;Wj(b+12|0);j[b+12>>2]=0;a=j[67080];a:{if(!a){break a}while(1){if(!j[a>>2]){c=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=b+16|0;return c}function ot(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if(c){qe[j[c+16>>2]](c)|0;b=j[a+96>>2]}b=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=j[a+96>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function kg(a,b,c){var d=0,e=0,f=0,g=0;j[a+112>>2]=b;j[a+116>>2]=c;d=j[a+8>>2];g=j[a+4>>2];e=d-g|0;f=e>>31;j[a+120>>2]=e;j[a+124>>2]=f;j[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function Uy(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>1&1}function Ty(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>3&1}function Tn(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>2&1}function Ry(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>4&1}function Rf(a,b,c,d,e){var f=0;f=oe-256|0;oe=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Ee(f,b&255,d?c:256);if(!d){while(1){Hf(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Hf(a,f,c)}oe=f+256|0}function Qy(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>5&1}function WD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=mb(j[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}j[67100]=a;b=-1}a=b;oe=e+16|0;pe=a?-1:j[e+12>>2];return(a?-1:j[e+8>>2])|0}function $s(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}b=j[c+4>>2];Oe(a,0,16);c=b;if(Le(b)>>>0<=16){b=Le(b)}else{b=16}Ge(a,c,b)}function xn(a,b){var c=0,d=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=97712;a=ve(97686,c);break a}d=j[a+52>>2];if(!(h[d+69|0]&1)){a=ve(97724,0);break a}a=0;if(!b){break a}j[b>>2]=j[d+72>>2]}oe=c+16|0;return a}function Ff(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+3>>>0){b=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}j[c+32>>2]=a;return b}function Df(a,b){var c=0;c=b-a|0;c=(((c|0)>-11796479?c:-11796479)+a|0)+23592959|0;a=c-(((c-b>>>0)%23592960|0)+a|0)|0;b=(a-((a|0)<11796480?a:11796480)|0)+23592959|0;return(((b>>>0)%23592960|0)-b|0)+a|0}function dG(a,b,c){var d=0;b=b-1|0;h[b|0]=0;a:{if(a>>>0>=b>>>0){break a}while(1){if((d|0)>=1?!c:0){break a}b=b-1|0;h[b|0]=k[(c&15)+206736|0];d=d+1|0;c=c>>>4|0;if(a>>>0>>0){continue}break}}return b}function UB(a,b){var c=0,d=0;c=mf(j[66370],p(j[66369],8232)+8232|0);if(!c){Be(0);return}j[66370]=c;Oe(c+p(j[66369],8232)|0,0,8232);c=j[66369];d=j[66370]+p(c,8232)|0;j[d>>2]=a;j[d+4>>2]=b;j[66369]=c+1}function dN(a){a=a|0;var b=0,c=0;c=j[a+656>>2];a:{if(!j[a+532>>2]){break a}b=Bh(Kf(j[j[a+96>>2]+4>>2],120128),120188);if(!b){break a}b=j[b>>2];if(!b){break a}return qe[b|0](a)|0}return j[c+1304>>2]}function ZD(a,b){var c=0,d=0;d=j[a>>2];c=j[a+16>>2];b=j[a+4>>2]+b|0;if((d|0)<=(c-(b+7>>3)|0)){c=(b|0)/8|0;j[a>>2]=c+d;j[a+12>>2]=c+j[a+12>>2];j[a+4>>2]=b&7;return}j[a>>2]=c;j[a+12>>2]=0;j[a+4>>2]=1}function sF(a,b){var c=0;if((b|0)>=1){hP(b,0,10,0);a:{if(pe){break a}b=p(b,10);if(!b){break a}b:{if(!a){break b}c=j[a+720>>2];if(!c){break b}return qe[c|0](a,b)|0}c=Te(b)}return c}Ye(a,210072);z()}function YM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=j[a+656>>2];a:{b:{if(!a){break b}d=6;if(j[a+1456>>2]==65535|m[a+12>>2]>>0){break a}if(!c){break b}j[c>>2]=l[j[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function Io(a){var b=0;b=j[67085];if(b){qe[j[b+232>>2]](b)}a:{if(j[66110]){if(!KA()){break a}}NA()}if(!j[66122]){cz()}if(k[268216]){h[268216]=0;jl(256)}a=mh(a,1,2,0,65535);return!!((a|0)!=-1?a:0)}function rv(a,b){a=a|0;b=b|0;a=uj(b,99334,0);if(a){b=j[a+4>>2];if(b){jh(b)}b=j[a>>2];if(b){Xk(b)}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function lL(a){lm(a+16|0);ze(j[a+48>>2]);ze(j[a- -64>>2]);ze(j[a+80>>2]);ze(j[a+96>>2]);ze(j[a+112>>2]);ze(j[a+128>>2]);ze(j[a+144>>2]);ze(j[a+36>>2]);ze(j[a+152>>2]);ze(j[a+160>>2]);Ee(a,0,180)}function QF(a,b,c){if(!(!c|(!a|!b))){a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h[b+148|0]=a;h[b+149|0]=a>>>8;h[b+150|0]=a>>>16;h[b+151|0]=a>>>24;h[b+152|0]=k[c+4|0];j[b+8>>2]=j[b+8>>2]|2}}function PO(a){var b=0,c=0;b=j[a+156>>2];if(!(!b|!(h[b+4|0]&1))){b=j[j[a+4>>2]+100>>2];c=j[a+88>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+88>>2]=0;a=j[a+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return}j[a+88>>2]=0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=k[a+11|0]+7>>>3|0;d=j[a+4>>2];if(c>>>0>>0){e=0-c|0;a=b+c|0;while(1){h[a|0]=k[a+e|0]+k[a|0];a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function mN(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];j[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=l[j[a+16>>2]+(c<<1)>>1];if(!d){continue}break}j[b>>2]=c;return d|0}function kG(a,b){var c=0,d=0;a:{if(k[a+9|0]!=16){break a}c=p(j[a>>2],k[a+10|0]);if(!c){break a}a=0;while(1){d=k[b+1|0];h[b+1|0]=k[b|0];h[b|0]=d;b=b+2|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function Jl(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;j[c+12>>2]=0;j[c+8>>2]=0;a:{if(!Kl(a,b,c+12|0,c+8|0)){break a}d=b;b=j[c+8>>2];if(k[a+b|0]?(d|0)!=(b|0):0){break a}e=j[c+12>>2]}oe=c+16|0;return e}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(d){b=k[d|0];if((b|0)==49){break a}if(b){break b}}j[a+124>>2]=0;return}if(!Me(d,71592)){break a}j[a+124>>2]=0;return}j[a+124>>2]=1;Ao(-1,-1)}function Il(a,b){var c=0;a:{b:{if(!a|!b){break b}c=v(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647^1;if(r(c)<2147483648){a=~~c}else{a=-2147483648}if(b){break b}if(c>=-2147483648){break a}}a=0}return a}function KO(a,b){var c=0;c=35;a:{if(!a|!(k[a+8|0]&2)){break a}c=6;if((b|0)<0|j[a+28>>2]<=(b|0)){break a}c=j[j[j[a+96>>2]+12>>2]+92>>2];if(c){return qe[c|0](j[a+88>>2],b)|0}Dg(a,b);c=0}return c}function xf(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=j[a+8>>2]+b|0;d=j[a+20>>2];b:{if(d){if(!(qe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>m[a+4>>2]){break a}}j[a+8>>2]=b;c=0}return c}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!xp(j[a+28>>2],b,c,d)){b=Cp(j[a+28>>2]);a=pe;c=a;if((a|0)>-1){break a}a=ve(71830,0);pe=a>>31;return a|0}a=Be(3);b=a;c=a>>31}pe=c;return b|0}function CE(a,b,c,d,e){e=e-1|0;if(e>>>0<=3){if(!j[a+808>>2]){j[a+808>>2]=1056;j[a+816>>2]=1057;j[a+812>>2]=1058;j[a+820>>2]=(k[a+438|0]+7&504)==8?1059:1060}qe[j[((e<<2)+a|0)+808>>2]](b,c,d)}}function NO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[b+8>>2];if(d){qe[d|0](b)}c=j[j[c+12>>2]+60>>2];if(c){qe[c|0](b)}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+40>>2]=0;if(b){qe[j[a+8>>2]](a,b)}}function oH(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;b=jk(a,b,c+8|0);a:{if(b){break a}a=j[j[j[a+4>>2]+128>>2]+48>>2];if(!a){break a}qe[j[j[a>>2]+4>>2]](j[a+4>>2],c+8|0)}oe=c+16|0;return b|0}function lp(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:h[a|0]=c;return;case 1:i[a>>1]=c;return;case 2:case 3:j[a>>2]=c;return;case 5:break b;default:break a}}j[a>>2]=c;j[a+4>>2]=d}}function tN(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[j[b+656>>2]+2952>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],120928);if(!b){break a}b=qe[j[c+8>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function tB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=pl(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(2)}return b|0}function sB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=dk(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(1)}return b|0}function PB(){Oe(268052,0,160);Ig(71360,171,268052);Ig(71388,172,268052);Ig(71418,173,268052);Ig(71447,174,268052);Ig(71478,175,268052);Ig(71501,176,268052);j[67051]=1;j[67045]=0;return 0}function $u(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}a:{if(!(k[a+48|0]&192)){break a}c=j[b+104>>2];if(!c){break a}qe[c|0](b,a)}}function bp(a){var b=0;b=k[a+74|0];h[a+74|0]=b-1|b;b=j[a>>2];if(b&8){j[a>>2]=b|32;return-1}j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];return 0}function bH(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+416>>2];a:{if((c|0)>=1){d=j[a+420>>2];a=0;while(1){if(!we(b,j[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)>(a|0)){continue}break}}a=0}return a|0}function DB(){var a=0;a=oe-144|0;oe=a;a:{if(yg(71638,0)){break a}G(2,0,a|0)|0;if(!j[a>>2]){j[a>>2]=177;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]){break a}j[a>>2]=177;G(15,a|0,0)|0}oe=a+144|0}function zN(a,b){a=a|0;b=b|0;var c=0;c=rg(120064,b);a:{if(c){break a}c=0;if(!a){break a}a=j[a+4>>2];if(!a){break a}a=Kf(a,120128);if(!a){break a}c=qe[j[j[a>>2]+32>>2]](a,b)|0}return c|0}function we(a,b){var c=0,d=0;c=k[a|0];d=k[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=k[b+1|0];c=k[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function Rj(a){var b=0,c=0;b=oe-16|0;oe=b;a:{if(!a){j[b>>2]=65611;ve(65309,b);break a}SC(j[a+168>>2],j[a+236>>2]<<1);c=j[a+256>>2];if(c){qe[c|0](a)}j[a+184>>2]=0;j[a+172>>2]=1}oe=b+16|0}function JG(a){a=a|0;var b=0,c=0,d=0;c=oe-16|0;oe=c;d=gs(j[j[a>>2]+500>>2],c+12|0);b=a;a=j[c+12>>2];j[b+44>>2]=a;if(a){b=j[a>>2];if(!(!b|!j[b+96>>2])){j[b+88>>2]=a}}oe=c+16|0;return d|0}function gg(a,b,c){var d=0,e=0,f=0;f=c;a:{if(b){d=Le(b)+1|0;b:{if((d|0)>=1){e=qe[j[a+4>>2]](a,d)|0;if(e){break b}j[c>>2]=64;return 0}a=6;if(d){break a}}Ae(e,b,d)}a=0}j[f>>2]=a;return e}function ef(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=j[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return j[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function sl(a,b,c,d,e,f,g,h,i){var k=0;k=oe-16|0;oe=k;Wf(k,b,c,d,e,f,g,h,i^-2147483648);b=j[k+4>>2];j[a>>2]=j[k>>2];j[a+4>>2]=b;b=j[k+12>>2];j[a+8>>2]=j[k+8>>2];j[a+12>>2]=b;oe=k+16|0}function bf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=hP(a,0,b,0);e=pe;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Te(b);if(!(!a|!(k[a-4|0]&3))){Ee(a,0,b)}return a|0}function VB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(!d){break a}a=0;if(!k[d|0]){break a}if((rf(d)|0)<=1){a=0;if((rf(d)|0)<1){break a}}a=2;if((rf(d)|0)>1){break a}a=rf(d)}j[66367]=a}function Jh(a){var b=0,c=0;b=j[58876];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>wP()<<16>>>0){if(!(Ja(a|0)|0)){break a}}j[58876]=a;return b}j[67100]=48;return-1}function kr(a){a=a|0;var b=0,c=0;b=j[a+8>>2];if(b){a=j[a+16>>2];c=j[a+4>>2];j[b+108>>2]=j[a>>2];j[b+112>>2]=c;j[b+124>>2]=j[a+16>>2];c=j[a+12>>2];j[b+116>>2]=j[a+8>>2];j[b+120>>2]=c}}function ZH(a,b){a=a|0;b=b|0;var c=0;j[a+112>>2]=b;c=j[a>>2];if(h[c+8|0]&1){Dg(c,b);Yl(a);return 0}b=qe[j[j[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}j[a+112>>2]=-1;return b|0}function HG(a){a=a|0;var b=0,c=0,d=0;d=oe-16|0;oe=d;b=j[a+4>>2];c=j[b+500>>2];a:{if(!j[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=ls(c,d+12|0)}j[a+160>>2]=j[b>>2];oe=d+16|0;return c|0}function $J(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;j[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(h[a+20|0]&1){d=Mq(a,c+12|0,0);break a}d=Lq(a,c+12|0,0)}a=d;oe=c+16|0;return a|0}function dg(a){var b=0,c=0;c=Mf(a);b=j[66036];a:{if(!b){break a}while(1){if(!cf(a,j[b>>2])){if(j[b+8>>2]!=2?c:0){break a}return j[b+4>>2]}b=j[b+16>>2];if(b){continue}break}}return c}function Fi(a,b){var c=0,d=0;c=j[a+12>>2];d=j[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(p(c,12)|0)/10|0;j[a+28>>2]=b;j[a+24>>2]=(b-c|0)/2;j[a+20>>2]=j[a+8>>2]+(j[a+16>>2]/-2|0)}function Co(a){var b=0;j[67049]=a;a:{if(j[67050]){break a}if(a){j[67050]=a}b=j[67015];if(!(j[67035]|(!a|!j[67051]))){if(!b){break a}qe[b|0](a)|0;return}if(!b){break a}qe[b|0](0)|0}}function yj(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=j[a+12>>2];if(j[d+4>>2]<=(b|0)){break a}df(c,j[j[a+20>>2]+(b<<2)>>2],h[j[d+8>>2]+b|0]);e=h[j[j[a+12>>2]+8>>2]+b|0]}return e}function Pr(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=j[a>>2];if(e){while(1){f=j[e+4>>2];if(b){qe[b|0](c,j[e+8>>2],d)}qe[j[c+8>>2]](c,e);e=f;if(e){continue}break}}j[a>>2]=0;j[a+4>>2]=0}}function BJ(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);j[a+28>>2]=0;j[a+32>>2]=0;j[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function WK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)>=1){while(1){e=a+d|0;f=k[e|0];h[e|0]=f^c>>>8;c=p(c+f|0,52845)+22719&65535;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function Lt(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=e;e=j[c+4>>2];j[d>>2]=j[c>>2];j[d+4>>2]=e;c=At(a,b,d);if(!c){c=pt(b)}oe=d+16|0;return c}function pB(a){a=a|0;var b=0,c=0,d=0,e=0;c=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;d=b;if((b|0)<0){pe=-1;return-1}b=qe[j[a+4>>2]](a,0,0,2)|0;e=pe;qe[j[a+4>>2]](a,c,d,0)|0;pe=e;return b|0}function ms(a,b){var c=0,d=0;c=j[a+156>>2];if(!(!c|!(h[c+4|0]&1))){c=j[j[a+4>>2]+100>>2];d=j[a+88>>2];if(d){qe[j[c+8>>2]](c,d)}c=j[a+156>>2];j[c+4>>2]=j[c+4>>2]&-2}j[a+88>>2]=b}function jH(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+548>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],201664);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function cz(){a:{if(!_i(32768)){break a}if(k[268312]){if(!j[67077]){break a}return}h[268312]=1;if(!(j[67077]?j[67077]:0)){h[268312]=0;return}h[268312]=0;if(!j[67077]){break a}}}function GM(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+320>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],124242);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function pA(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;d=j[b+76>>2];j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[b+12>>2];j[c+12>>2]=j[b+16>>2];ho(a,b,c,j[d+16>>2],j[d+20>>2]);oe=c+16|0}function Os(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(j[b+72>>2]!=1869968492){break a}c=j[a>>2];a=a+20|0;c=Em(c,i[b+110>>1],i[b+108>>1],a);if(c){break a}$r(b+108|0,a);c=0}return c|0}function AD(a){var b=0;a:{b:{if(!a){break b}b=j[a+4>>2];if(b>>>0>999999999){break b}a=j[a>>2];if((a|0)>-1){break a}}j[67100]=28;return-1}Ma(+(+(b|0)/1e6+ +(a|0)*1e3));return 0}function Tq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}if(c){Ah(b+108|0,c)}e=0;if(!d){break a}Tf(b+108|0,j[d>>2],j[d+4>>2])}return e|0}function AN(a){a=a|0;j[a+60>>2]=2333;j[a+64>>2]=0;j[a+36>>2]=500;j[a+40>>2]=400;j[a+52>>2]=1667;j[a+56>>2]=275;j[a+44>>2]=1e3;j[a+48>>2]=275;h[a+32|0]=0;j[a+28>>2]=1;return 0}function Ym(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}function Ui(a,b,c,d){var e=0;e=oe-16|0;oe=e;if(d){n[e>>2]=j[d>>2];n[e+4>>2]=j[d+4>>2];n[e+8>>2]=j[d+8>>2];n[e+12>>2]=j[d+12>>2];d=e}else{d=0}a=yA(a,b,c,d);oe=e+16|0;return a}function eO(a,b){if(a){j[a+48>>2]=0;j[a+44>>2]=1;j[a+60>>2]=b;j[a+64>>2]=0;j[a+52>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;j[a+56>>2]=65536}}function NL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;j[c>>2]=0;d=6;a:{if(!a|!b){break a}b=b-1|0;if(b>>>0>=m[a+408>>2]){break a}j[c>>2]=j[(j[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function IB(){var a=0;Zg();if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}a=j[j[65546]+8>>2]!=0}Hg();return a}function FO(a,b){var c=0;a:{b:{if(!a){break b}a=j[a+148>>2];if(!a){break b}while(1){c=j[a+8>>2];if(j[c+16>>2]==(b|0)){break a}a=j[a+4>>2];if(a){continue}break}}c=0}return c}function CD(a){var b=0;b=2;if(!ah(a,43)){b=k[a|0]!=114}b=ah(a,120)?b|128:b;b=ah(a,101)?b|524288:b;a=k[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function qt(a){a=a|0;j[a+44>>2]=525;j[a+36>>2]=526;j[a+32>>2]=527;j[a+28>>2]=528;j[a+24>>2]=529;j[a+20>>2]=530;j[a+4>>2]=531;j[a+84>>2]=1;j[a>>2]=532;j[a+72>>2]=1;return 1}function kC(){if(!k[264412]){j[66094]=160;j[66093]=161;j[66095]=162;j[66096]=163;j[66097]=164;j[66098]=165;j[66099]=166;j[66100]=167;j[66101]=168;j[66102]=169;h[264412]=1}}function iK(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a+16>>2]+6|0;a=j[b>>2];while(1){a=a+1|0;if(a>>>0>255){j[b>>2]=0;return 0}c=k[a+d|0];if(!c){continue}break}j[b>>2]=a;return c|0}function Tg(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=ye(j[a>>2],j[b>>2]);d=ye(j[a+4>>2],j[b+4>>2]);e=ye(j[a>>2],j[b+8>>2]);b=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=c+d;j[a+4>>2]=b+e}}function qu(a){a=a|0;var b=0;a:{b:{if(a){b=j[67024];if(!b){break b}a=0;if((va(j[j[b+144>>2]+12>>2],1)|0)<=-1){break b}break a}a=0;if((Ya()|0)>-1){break a}}a=-1}return a|0}function iI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=j[a+24>>2];c=Fe(b,c);a:{if(c){break a}c=_e(b,d);if(c){break a}j[a+200>>2]=j[b+32>>2];j[a+204>>2]=j[b+36>>2];c=0}return c|0}function Jq(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);h[a+24|0]=0;j[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Tu(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!Eh(j[b+708>>2])){ve(99073,0);return}b=j[67085];c=j[b+192>>2];if(c){qe[c|0](b,a)|0;return}ve(99113,0)}function Cg(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=k[a|0];e=k[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function eP(a,b,c){var d=0,e=0,f=0;d=b>>31;a=a^d;f=b>>31;e=b>>31;a=jP(a-d|0,(f^b)-((a>>>0>>0)+f|0)|0,c)^e;c=a-e|0;b=b>>31;pe=(b^pe)-((a>>>0>>0)+b|0)|0;return c}function XJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];b=b-(k[a+6|0]<<8|k[a+7|0])|0;if(b>>>0<(k[a+9|0]|k[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=k[a+10|0]<<8|k[a+11|0]}else{a=0}return a|0}function LJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=10;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function HJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=12;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function HD(a,b,c){var d=0,e=0,f=0;e=j[a+84>>2];d=c+256|0;f=Mh(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Ae(b,e,c);b=e+d|0;j[a+84>>2]=b;j[a+8>>2]=b;j[a+4>>2]=c+e;return c}function CJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=13;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function tp(a){var b=0,c=0,d=0;if(h[j[a>>2]]-48>>>0<10){while(1){b=j[a>>2];d=h[b|0];j[a>>2]=b+1;c=(p(c,10)+d|0)-48|0;if(h[b+1|0]-48>>>0<10){continue}break}}return c}function XN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(m[a+4>>2]>>0){break a}}e=j[a+12>>2];if(j[a+8>>2]!=(b|0)){aj(e,b,0)}e=dk(c,1,d,e)}return e|0}function PJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=8;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Gk(a){var b=0;b=j[67085];a:{if(!b){break a}b=j[b+308>>2];if(!b){break a}while(1){if(j[b+4>>2]==(a|0)){return b}b=j[b+152>>2];if(b){continue}break}}return 0}function vz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=j[b+76>>2];b=j[a+16>>2];j[d>>2]=(j[a+20>>2]+p(b,j[c+4>>2])|0)+p(j[c>>2],k[j[a+4>>2]+9|0]);j[e>>2]=b;return 0}function nG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=j[b>>2]+1|0;b=j[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}j[e>>2]=b;return d|0}function fk(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(!c){break a}return Ee(c,0,b)}Ye(a,210130);z()}function Wg(a,b,c){var d=0;d=j[67085];if(!d){ve(99429,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function uM(a,b){a=a|0;b=b|0;var c=0;c=j[b+96>>2];if(!((c|0)<0|j[a+300>>2]<=(c|0))){a=j[a+304>>2]+p(c,252)|0;b=qe[j[b+40>>2]](b,0)|0;j[a+180>>2]=b;j[a+208>>2]=b}}function bi(a,b,c,d){var e=0;if(!a){return}a=j[a+52>>2];h[a+78|0]=d;h[a+77|0]=c;h[a+76|0]=b;e=j[a+68>>2];b=e&-2|(b&c&d)!=255;j[a+68>>2]=b;if((b|0)!=(e|0)){vf(a)}}function Es(a,b){a=a|0;b=b|0;j[a+2988>>2]=b;j[a+2980>>2]=j[b+28>>2];j[a+4>>2]=j[b+8>>2];j[a+12>>2]=j[b+12>>2];j[a+8>>2]=j[b+16>>2];j[a+16>>2]=j[b+20>>2];return 0}function uB(a){a=a|0;var b=0;if(!a){return 0}a:{if(!j[a+24>>2]){break a}if(!Lh(j[a+28>>2])){break a}b=Be(2)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return b|0}function rg(a,b){var c=0;a:{if(!a|!b){break a}c=j[a>>2];if(!c){break a}while(1){if(!we(c,b)){return j[a+4>>2]}c=j[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function af(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+1>>>0){b=k[a|0]|k[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a=a+2|0}j[c+32>>2]=a;return b}function Lo(a){if((a|0)>=0){j[57792]=(a|0)<128?a:128;Zg();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Hg()}}function tf(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=j[a+212>>2];if(!(k[a+379|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Sf(j[a+412>>2],b,c),j[e+412>>2]=f}}function sG(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];b=j[c+132>>2];Dg(c,0);c=l[b+80>>1];j[a+24>>2]=c<<6;j[a+28>>2]=c-l[b+96>>1]<<6;j[a+36>>2]=l[b+102>>1]<<6;return 0}function hL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+24>>2];return 0}function fg(a,b){a=a|0;b=b|0;var c=0;a:{if(!a){break a}if(b){c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(c){break a}}Ze(a,210130);c=0}return c|0}function dL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+28>>2];return 0}function JN(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a>>2];c=j[d+140>>2];Dg(d,b);j[a+24>>2]=j[c+40>>2]<<6;j[a+28>>2]=0-(j[c+44>>2]<<6);j[a+36>>2]=l[c+4>>1]<<6;return 0}function Fe(a,b){var c=0,d=0;d=j[a+20>>2];a:{b:{if(d){c=85;if(!(qe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(m[a+4>>2]>>0){break a}}j[a+8>>2]=b;c=0}return c}function Wu(){var a=0;a=j[67085];a:{if(!a){break a}a=j[a+308>>2];if(!a){break a}while(1){if(k[a+49|0]&2){return a}a=j[a+152>>2];if(a){continue}break}}return 0}function IC(a){var b=0;a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=0;qe[j[66054]](a)}function Cm(a){var b=0,c=0;b=j[a+32>>2];if(m[a+36>>2]<=b+3>>>0){j[a+32>>2]=b;return 0}c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[a+32>>2]=b+4;return c}function tk(a,b){var c=0,d=0;a:{if(!a){break a}c=j[a+28>>2];b:{if(!a){break b}d=j[a+24>>2];if(!d){break b}qe[d|0](a)}if(b){break a}if(a){qe[j[c+8>>2]](c,a)}}}function jN(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+656>>2];if(!j[c+1160>>2]){return 163}return qe[j[j[c+2956>>2]+4>>2]](j[b+100>>2],a,j[c+12>>2],620,0,b)|0}function el(a,b,c){var d=0;a:{a=a?a:j[67024];if(!a){break a}d=j[67018];if(d){qe[d|0](a,b,c);return}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break a}Fh(a,d,0,b,c)}}function gJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=_f(b,j[a+504>>2],a+500|0);if(!c){return 0}j[a+504>>2]=0}return c|0}function dj(a){var b=0,c=0;b=a*a;c=b*a;return q(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function YC(){var a=0;while(1){a=j[66037];if(a){j[66037]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}j[57836]=4;j[57835]=6;j[57837]=3}function BB(){var a=0;a=oe-144|0;oe=a;G(2,0,a|0)|0;if(j[a>>2]==177){j[a>>2]=0;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]==177){j[a>>2]=0;G(15,a|0,0)|0}oe=a+144|0}function NK(a){a=a|0;var b=0;if(a){j[a+412>>2]=0;j[a+4>>2]=0;j[a+1960>>2]=0;j[a+1444>>2]=0;j[a+928>>2]=0;j[a+208>>2]=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[a+4>>2];if(d){a=0;while(1){h[b|0]=k[c|0]+k[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function oo(a,b){var c=0;c=oe-16|0;oe=c;if(b){n[c>>2]=j[b>>2];n[c+4>>2]=j[b+4>>2];n[c+8>>2]=j[b+8>>2];n[c+12>>2]=j[b+12>>2];b=c}else{b=0}zA(a,b);oe=c+16|0}function uF(a){var b=0,c=0;b=oe-912|0;oe=b;if(a){Ae(b+8|0,a,900);a=Ee(a,0,900);c=j[b+732>>2];a:{if(c){qe[c|0](b+8|0,a);break a}ze(a)}aG(b+8|0)}oe=b+912|0}function pl(a,b,c,d){var e=0,f=0;e=p(b,c);f=e;a:{if(j[d+76>>2]<=-1){a=ql(a,e,d);break a}a=ql(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function bq(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=Cg(a+b|0,b+207738|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function Ho(a,b){var c=0,d=0;c=mf(j[66360],p(j[66361],12)+12|0);if(c){j[66360]=c;d=j[66361];c=c+p(d,12)|0;j[c+8>>2]=0;j[c+4>>2]=b;j[c>>2]=a;j[66361]=d+1}}function GC(){var a=0,b=0,c=0;b=j[66088];a:{if((b|0)==10){break a}a=j[66089];if((a|0)==10){break a}j[66089]=a+1;c=l[(p(b,20)+(a<<1)|0)+64608>>1]}return c}function pF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=IF(a,b,c,d);if(a){j[a+796>>2]=8192;j[a+208>>2]=32768;j[a+212>>2]=j[a+212>>2]|3145728;Vp(a,0,0)}return a|0}function Am(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=k[b|0];if(!d){break a}h[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}h[a|0]=0}function Wi(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;a=j[b+12>>2];return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function Su(){var a=0,b=0,c=0;a=j[67085];a:{if(!a){break a}if(!Eh(j[a+708>>2])){break a}a=j[67085];b=j[a+196>>2];if(!b){break a}c=qe[b|0](a)|0}return c}function SA(a){var b=0;b=oe+ -64|0;oe=b;a=RA(a);a:{if((a|0)<0){break a}j[b+8>>2]=1541;if((We(1541,-1)|0)!=1){break a}j[b+16>>2]=a;gf(b+8|0)}oe=b- -64|0}function Jr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+532>>2];j[d>>2]=0;j[d+4>>2]=0;if(e){f=d,g=qe[j[e+84>>2]](a,b,c)|0,j[f>>2]=g}return 0}function qh(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=j[a+720>>2];b:{if(c){b=qe[c|0](a,b)|0;break b}b=Te(b)}if(b){break a}}Ye(a,210130);z()}return b}function wi(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=v(Bg(+(a|0)/255,+(b|0)*1e-5)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break a}a=0}return a&255}function Zq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;j[b>>2]=0;d=He(a,4,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e|0}function Wj(a){var b=0,c=0;b=j[a>>2];j[a>>2]=1;if(b){b=0;while(1){a:{if((b|0)<=31){b=b+1|0;break a}bg(0)}c=j[a>>2];j[a>>2]=1;if(c){continue}break}}}function rK(a,b,c){a=a|0;b=b|0;c=c|0;c=j[a+112>>2];i[a+156>>1]=0-c;b=p(i[b>>1],c);j[a+148>>2]=0-b;if((c|0)>=1){j[a+148>>2]=p(j[a+104>>2]-1|0,c)-b}}function sL(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=j[a+12>>2];if((i[a+22>>1]+b|0)+i[a+58>>1]>>>0<=m[a+4>>2]){break a}c=yf(a,b,0)}return c|0}function gM(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];Dg(c,b);j[a+24>>2]=j[c+204>>2]<<6;j[a+28>>2]=0-(j[c+208>>2]<<6);j[a+36>>2]=i[c+236>>1]<<6;return 0}function MN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=bf(1,32);j[a+4>>2]=j[b>>2];c=j[b+8>>2];j[a+20>>2]=b;j[a>>2]=c;d=a,e=bf(2,4),j[d+8>>2]=e;return a|0}function Vy(a,b,c,d){var e=0,f=0;if(b){if((c|0)>0){while(1){f=Dh(a,(e<<4)+b|0,d)+f|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}ve(86727,0)}function OD(a){var b=0,c=0;b=oe-16|0;oe=b;c=-1;a:{if(wp(a)){break a}if((qe[j[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=k[b+15|0]}oe=b+16|0;return c}function Ps(a,b){a=a|0;b=b|0;var c=0;c=j[a+20>>2];j[b>>2]=c<<6;j[b+8>>2]=c+j[a+32>>2]<<6;c=j[a+24>>2];j[b+12>>2]=c<<6;j[b+4>>2]=c-j[a+28>>2]<<6}function Eg(a){var b=0;b=j[a+28>>2];a:{if(b){break a}b=0;if(!(k[a|0]&2)){break a}ei(a,1);j[a>>2]=j[a>>2]|2;b=j[a+28>>2]}j[a+28>>2]=b+1;return 0}function AJ(a){a=a|0;var b=0,c=0;j[a+28>>2]=0;b=j[a+36>>2];a:{if(!b){break a}c=j[a+32>>2];if(!c){break a}if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0}}function Ju(a){var b=0,c=0;j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;b=a,c=bf(1,3664),j[b+28>>2]=c}function zh(a,b){a:{if(!a){break a}a=j[a>>2];if(!a){break a}while(1){if(j[a+8>>2]==(b|0)){return a}a=j[a+4>>2];if(a){continue}break}}return 0}function jl(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=j[(a>>>6&1020)+264416>>2];if(!(j[(a>>>3&28)+c>>2]>>>a&1?c:0)){j[b+8>>2]=a;gf(b+8|0)}oe=b- -64|0}function YD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+20>>2];d=j[a+16>>2]-e|0;d=c>>>0>>0?c:d;Ae(e,b,d);j[a+20>>2]=d+j[a+20>>2];return c|0}function XA(){var a=0,b=0;gB();if(!j[67073]){a=268292,b=Ki(),j[a>>2]=b}Ig(73021,189,0);if(($i(16384)|0)<0){return-1}return qe[j[58770]]()>>31}function rD(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function JO(a){var b=0;b=oe-32|0;oe=b;j[b+8>>2]=0;j[b+20>>2]=72;j[b+24>>2]=72;j[b+12>>2]=640;j[b+16>>2]=640;a=Fm(a,b+8|0);oe=b+32|0;return a}function yi(a,b){var c=0;c=oe-240|0;oe=c;a:{if(!a){j[c>>2]=b;a=j[56878];bk(a,206875,c);yl(a);break a}gj(a,c+16|0,b);Ze(a,c+16|0)}oe=c+240|0}function xN(a){a=a|0;var b=0,c=0;if(a){b=j[a+8>>2];if(b){c=j[b>>2];if(c){ze(c);b=j[a+8>>2]}c=j[b+4>>2];if(c){ze(c);b=j[a+8>>2]}ze(b)}ze(a)}}function ug(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;a=Dj(d,e,f,g,h);if(!a){ve(97619,0);return 0}return Bj(b,c,a)|0}function DD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[a+12>>2];qe[j[a+4>>2]](a,b,b>>31,0)|0;if(d){a=qe[j[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function yo(a){var b=0;b=oe-16|0;oe=b;i[b+14>>1]=0;qe[j[a+8>>2]](a,b+14|0,2,1)|0;oe=b+16|0;a=l[b+14>>1];return(a<<8&16711680|a<<24)>>>16|0}function si(a){var b=0;a=a*a;b=a*a;return q(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function lm(a){var b=0;if(a){b=j[a+8>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function _s(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+12>>2]}function Up(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(j[b+8>>2]&8)))){j[c>>2]=j[b+16>>2];j[d>>2]=l[b+20>>1];e=8}return e|0}function PK(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+4>>2];a:{if(c){break a}d=j[a>>2];c=ar(a+16|0,b,d);if(c){break a}c=ar(a+52|0,b,d)}return c|0}function Fk(a){var b=0;a:{if(!a){break a}b=j[67085];if(!b){break a}if((Eh(j[b+708>>2])|0)==(a|0)){tg(0,0)}b=j[67085];qe[j[b+204>>2]](b,a)}}function nF(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function jg(a){var b=0;a:{b=j[a+28>>2];if(!b){break a}j[a+28>>2]=b-1;if((b|0)>1){break a}b=j[a>>2];if(!(b&2)){break a}j[a>>2]=b&-3;Hj(a)}}function ej(a){var b=0,c=0;b=v(1e10/+(a|0)+.5);a=b>=-2147483648;if(r(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function bt(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+4>>2]}function Sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if(j[b+72>>2]==j[a+16>>2]){Ug(b+108|0,c)}}function RD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=j[b>>2]+15&-16;j[c>>2]=b+16;d=a,e=rl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]),o[d>>3]=e}function xB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|(k[b+12|0]-5&255)>>>0>1)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function uH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(we(b,200607)){break a}d=7;if(j[c>>2]!=35){break a}j[a- -64>>2]=35;d=0}return d|0}function Oi(a,b){var c=0;if(!a){return}a=j[a+52>>2];h[a+79|0]=b;c=j[a+68>>2];b=c&-3|((b|0)!=255)<<1;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function Vp(a,b,c){a=a|0;b=b|0;c=c|0;if(a){j[a+188>>2]=b;j[a+184>>2]=c?c:1055;if(j[a+180>>2]){j[a+180>>2]=0;Ze(a,210182)}j[a+472>>2]=0}}function UD(a,b,c,d){if(a|b){while(1){c=c-1|0;h[c|0]=k[(a&15)+227456|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function He(a,b,c){if((b|0)<=0){j[c>>2]=b?6:0;return 0}a=qe[j[a+4>>2]](a,b)|0;if(!a){j[c>>2]=64;return 0}a=Ee(a,0,b);j[c>>2]=0;return a}function ak(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=j[c>>2];j[a+4>>2]=d>>>b;j[a>>2]=d<<32-b|c>>>b}function MO(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+72>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<5)+c|0}b=j[a+72>>2]}return b}function KF(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(4294967295/(c>>>0)>>>0<=b>>>0){Ze(a,207746);return 0}a=fg(a,p(b,c))}else{a=0}return a|0}function HO(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+76>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<4)+c|0}b=j[a+76>>2]}return b}function zM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){j[b>>2]=j[a+152>>2]}if(c){j[c>>2]=j[a+156>>2]}if(d){j[d>>2]=j[a+160>>2]}return 0}function wn(a,b,c,d){if(!a){return}if(b){h[b|0]=k[j[a+52>>2]+76|0]}if(c){h[c|0]=k[j[a+52>>2]+77|0]}if(d){h[d|0]=k[j[a+52>>2]+78|0]}}function dF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|33558528}}function bK(a,b){a=a|0;b=b|0;var c=0;j[a+16>>2]=b;c=k[b+7|0];b=k[b+6|0];j[a+24>>2]=-1;j[a+28>>2]=0;j[a+32>>2]=(b<<8|c)>>>1;return 0}function _j(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=j[c>>2];j[a>>2]=d<>2]=c<>>32-b}function PH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+32&-64;return((a|0)<0?0:0-a|0)|0}function MH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+63&-64;return((a|0)<0?0:0-a|0)|0}function IH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=(c-b|0)+16&-32;return((a|0)<0?0:0-a|0)|0}function DI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=gm(a,b,e+12|0);if(!a){Am(c,j[e+12>>2],d)}oe=e+16|0;return a|0}function cL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+376>>2];j[a+16>>2]=c;j[a+20>>2]=j[b+380>>2]-c;j[a+24>>2]=j[b+384>>2];return 0}function Ni(a){var b=0;b=j[67085];if(!b){ve(99429,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return 0}return j[a+48>>2]}function pg(a){var b=0,c=0,d=0;b=a;c=j[a+36>>2];a=j[a+32>>2];if(c>>>0>a+1>>>0){d=k[a|0]|k[a+1|0]<<8;a=a+2|0}j[b+32>>2]=a;return d}function jr(a,b){a=a|0;b=b|0;a=j[a+4>>2]|j[a>>2]<<16;b=j[b+4>>2]|j[b>>2]<<16;if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function ZC(){var a=0;a=j[66037];if(a){while(1){if(j[a>>2]==1){return j[a+4>>2]}a=j[a+8>>2];if(a){continue}break}}return j[57835]}function VC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;j[a+4>>2]=d;j[a>>2]=j[(c<<2)+64336>>2];bk(j[56878],64326,a);oe=a+16|0}function GD(a,b){var c=0;c=oe-144|0;oe=c;c=Ee(c,0,144);j[c+76>>2]=-1;j[c+44>>2]=a;j[c+32>>2]=1070;j[c+84>>2]=a;JD(c,b);oe=c+144|0}function fD(){var a=0,b=0;a:{a=j[65572];if(!a){break a}a=a-1|0;j[65572]=a;if(a){break a}a=j[65573];if(a){b=j[a>>2];BO(a);ze(b)}}}function cF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|20480}}function so(a,b){var c=0;c=oe-16|0;oe=c;a:{if(a>>>0>=2){j[c>>2]=1;ve(73143,c);break a}Ae(b,j[(a<<2)+73180>>2]+4|0,84)}oe=c+16|0}function pz(a){a=a|0;var b=0;b=j[a+436>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function fF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|1024}}function OH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function zj(a,b){var c=0;if(!a){return}a=j[a+52>>2];c=j[a+68>>2];b=c&-4097|((b|0)!=0)<<12;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function wH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16} +function CM(a,b){a=a|0;b=b|0;var c=0;c=j[a+192>>2];j[b+24>>2]=j[a+188>>2];j[b+28>>2]=c;c=j[a+184>>2];j[b+16>>2]=j[a+180>>2];j[b+20>>2]=c;c=j[a+176>>2];j[b+8>>2]=j[a+172>>2];j[b+12>>2]=c;c=j[a+168>>2];j[b>>2]=j[a+164>>2];j[b+4>>2]=c;return 0}function sM(a){a=a|0;var b=0,c=0;b=j[a+12>>2];if(b){c=j[a+28>>2];pk(b+12|0);j[b+52>>2]=0;j[b+44>>2]=0;j[b+48>>2]=0;j[b+24>>2]=0;j[b+28>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b+16>>2]=0;if(b){qe[j[c+8>>2]](c,b)}j[a+12>>2]=0}}function qE(a,b){var c=0,d=0,e=0,f=0;c=k[a+1|0];e=!c;d=c|k[a|0]<<8;f=k[b+1|0]|k[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=k[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function Kf(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=j[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=j[a>>2];if(!we(j[j[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function KK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}e=c;g=a+52|0;f=j[g>>2];c=j[a+16>>2];if((e|0)!=(f+c|0)){break a}e=j[a>>2];c=nk(a+16|0,d,f,c,b,e);if(!c){c=nk(g,d,0,f,b,e);if(!c){break a}}j[a+4>>2]=c}}function JH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>=0){c=b+c|0;b=j[a+480>>2];a=(j[a+484>>2]+(c-b|0)&0-j[a+476>>2])+b|0;return((a|0)<0?b:a)|0}d=b;b=j[a+480>>2];a=0-((j[a+484>>2]+c-(d+b)&0-j[a+476>>2])+b|0)|0;return((a|0)>0?0-b|0:a)|0}function FI(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;f=6;a:{if(!d|!e){break a}g=l[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=j[a+156>>2]+(b<<4)|0;j[c>>2]=j[a>>2];j[d>>2]=j[a+8>>2];g=j[a+12>>2]}j[e>>2]=g;f=0}return f|0}function BI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=em(a,199252,d);a:{if(e){break a}e=em(a,199269,d+8|0);if(e){break a}e=6;if(j[d>>2]!=1|j[d+8>>2]!=1){break a}j[b>>2]=j[d+12>>2];j[c>>2]=j[d+4>>2];e=0}oe=d+16|0;return e|0}function _L(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=j[a+16>>2];if(c){f=j[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=j[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function QL(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;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}yr(a,b,c,f,90)}return 0}function AM(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;a:{if((e|0)<1){break a}while(1){h=g<<2;if(j[h+d>>2]){j[(f<<2)+c>>2]=j[c+h>>2];f=f+1|0}g=g+1|0;if((g|0)!=(e|0)){continue}break}if(!f){break a}yr(a,b,c,f,89)}return 0}function kj(a,b,c){var d=0,e=0,f=0;d=oe-16|0;oe=d;j[d+12>>2]=0;a=He(a,(Le(b)+Le(c)|0)+1|0,d+12|0);if(!j[d+12>>2]){e=zl(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;gE(a,f,b);h[a+b|0]=0;b=e+1|0;break a}h[a|0]=0}e=Jp(Jp(a,c),b)}oe=d+16|0;return e}function Qe(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=k[a|0];a:{if(!d){break a}while(1){b:{e=k[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=k[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-k[b|0]|0}function Aj(a,b,c,d,e,f,g,h,i){d=Dj(d,f,g,h,i);if(!d){ve(97619,0);return 0}d=Bj(0,0,d);if(d){j[d+20>>2]=a;j[d+36>>2]=0;j[d+40>>2]=0;j[d+16>>2]=e;j[d+12>>2]=c;j[d+8>>2]=b;j[d+48>>2]=c;j[d+44>>2]=b;j[d>>2]=j[d>>2]|1}else{d=0}return d}function Ru(a){var b=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(!(k[a+48|0]&2)){ve(99029,0);return}if((Eh(j[b+704>>2])|0)!=(a|0)){ve(99156,0);return}b=j[67085];qe[j[b+200>>2]](b,a)|0}function KA(){a:{if((We(1536,-1)|0)==1){break a}if((We(1537,-1)|0)==1){break a}if((We(1538,-1)|0)==1){break a}if((We(1539,-1)|0)==1){break a}if((We(1540,-1)|0)==1){break a}if((We(1541,-1)|0)==1){break a}return We(1542,-1)}return 1}function dh(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=j[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=j[j[a>>2]>>2];if(we(j[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=j[d+20>>2]}return e}function kL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=oe-16|0;oe=f;e=He(b,16,f+12|0);g=j[f+12>>2];if(!g){j[e+12>>2]=2;j[e+8>>2]=d;j[e>>2]=c;j[e+4>>2]=c;j[a+8>>2]=0;j[a+12>>2]=0;j[a+4>>2]=e;j[a>>2]=b}oe=f+16|0;return g|0}function uf(a,b,c){var d=0,e=0,f=0;d=j[a+8>>2];f=j[a+4>>2];if(d>>>0>>0){e=j[a+20>>2];a:{if(e){b=qe[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Ae(e,j[a>>2]+d|0,b)}j[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function ph(a,b){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+336>>2]=b;j[a+352>>2]=0;j[a+356>>2]=0}}function RL(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)>0){while(1){d=j[(c<<2)+b>>2];a:{if(we(d,1831)){if(we(d,1834)){break a}}j[58880]=1}c=c+1|0;if((c|0)!=(a|0)){continue}break}}j[58882]=0;j[58883]=0;Ee(235536,0,26600);lN();return 0}function LK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(j[a+4>>2]){break a}d=j[a+16>>2];e=a+52|0;f=j[e>>2];if((d+f|0)!=(b|0)){break a}g=j[a>>2];b=nk(a+16|0,c,0,d,0,g);if(!b){b=nk(e,c,d,f,0,g);if(!b){break a}}j[a+4>>2]=b}}function AK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=j[a>>2];d=a&2147483647;b=j[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function es(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=j[a+96>>2];if(!d){break a}b=j[a+128>>2];c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)<=1){c=j[d+8>>2];e=d+16|0;b=zh(e,a);if(!b){break a}Th(e,b);if(b){qe[j[c+8>>2]](c,b)}Vh(c,a,d)}}}function QB(a){var b=0,c=0,d=0;c=oe+ -64|0;oe=c;b=k[a|0];a:{if(b>>>0<32|(b|0)==127){break a}if((We(771,-1)|0)!=1){break a}j[c+8>>2]=771;d=c;b=j[66371];if(b){b=j[b+4>>2]}else{b=0}j[d+16>>2]=b;$y(c+20|0,a);gf(c+8|0)}oe=c- -64|0}function CH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i[a+298>>1];if(e){e=Ne(d,e,j[a+564>>2]);f=j[b+12>>2]+(c<<3)|0;j[f>>2]=e+j[f>>2]}e=i[a+300>>1];if(e){a=Ne(d,e,j[a+564>>2]);b=j[b+12>>2]+(c<<3)|0;j[b+4>>2]=a+j[b+4>>2]}}function yk(a,b,c){var d=0;if(!a){return 35}if(!c){return 6}d=16;a:{if(m[a+16>>2]<=b>>>0){break a}d=j[j[j[a+96>>2]+12>>2]+84>>2];if(d){d=qe[d|0](a,b,1,2051,c)|0;if(!d){d=0;break a}if((d&255)!=7){break a}}d=Fs(a,b,c)}return d}function vf(a){var b=0,c=0;if(a){b=j[a>>2];a:{if(!b){break a}c=j[b+56>>2];j[b+56>>2]=c-1;if((c|0)>1){break a}kf(b)}j[a>>2]=0;j[a+80>>2]=0;j[a+84>>2]=0;a=a- -64|0;b=j[a>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}j[a>>2]=0}}function IO(a,b,c){var d=0,e=0;d=oe-32|0;oe=d;j[d+20>>2]=0;j[d+24>>2]=0;j[d+8>>2]=0;e=b?b:c;e=e?e:1;j[d+12>>2]=(e>>>0<65535?e:65535)<<6;b=b?c?c:b:c;b=b?b:1;j[d+16>>2]=(b>>>0<65535?b:65535)<<6;a=Fm(a,d+8|0);oe=d+32|0;return a}function dP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=p(e,f);g=c&65535;h=a&65535;i=p(g,h);f=(i>>>16|0)+p(f,g)|0;e=(f&65535)+p(e,h)|0;a=(p(b,c)+j|0)+p(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;pe=a;return b}function Ml(a,b){var c=0,d=0;c=oe-224|0;oe=c;d=j[a+208>>2]&32768;a:{b:{c:{if(k[a+214|0]&16){if(!d|!j[a+376>>2]){break c}gj(a,c,b);Ze(a,c);break b}if(j[a+376>>2]?d:0){break a}Ye(a,b);z()}Ze(a,b)}oe=c+224|0;return}hf(a,b);z()}function qC(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;h=j[a+240>>2];f=j[a+248>>2];g=b+c|0;d=Mo(k[a+232|0],j[a+204>>2],j[a+216>>2],f,g,b,c,d,e);b=h<<2;a=(b|0)>(c|0)?c:b;Ge((b+f|0)-(a&-4)|0,g-a|0,a);return d|0}function Se(a){var b=0,c=0,d=0;d=oe-16|0;oe=d;c=j[67085];a:{if(!c){ve(99429,0);break a}b=j[c+172>>2];if(b){if(j[c+432>>2]){b=qe[b|0](c,a)|0;break a}b=0;ve(98799,0);break a}j[d>>2]=j[c>>2];ve(98744,d);b=0}oe=d+16|0;return b}function _J(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];a:{if(c>>>0>65534){break a}if(h[a+20|0]&1){return Mq(a,b,1)|0}if((c|0)==j[a+24>>2]){Kq(a);c=j[a+28>>2];if(!c){break a}j[b>>2]=j[a+24>>2];return c|0}d=Lq(a,b,1)}return d|0}function JJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){Hq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=Iq(a,b,1)}return d|0}function FJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+28>>2];a:{if((c|0)==-1){break a}if(!(!k[a+24|0]|(c|0)!=j[b>>2])){Fq(a);if(!k[a+24|0]){break a}c=j[a+32>>2];if(!c){break a}j[b>>2]=j[a+28>>2];return c|0}d=Gq(a,b,1)}return d|0}function qn(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}if(k[a+48|0]&4){j[a+116>>2]=1;Xg(a,0);b=j[67085];c=j[b+88>>2];if(c){qe[c|0](b,a)}j[a+116>>2]=0;zf(a,2,0,0)}}function kH(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+548>>2];c=Kf(j[j[c+96>>2]+4>>2],201664);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function HM(a){a=a|0;var b=0,c=0;if(j[a+40>>2]){c=j[a>>2];b=j[c+320>>2];c=Kf(j[j[c+96>>2]+4>>2],124242);a:{if(!b|!c){break a}b=j[b>>2];if(!b){break a}b=qe[b|0](c)|0;if(!b){break a}qe[j[b+8>>2]](j[a+40>>2])}j[a+40>>2]=0}}function tu(a){a=a|0;var b=0;if(a){b=j[a+4>>2];if(b){if(j[b+4>>2]){b=j[b>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}b=j[a+4>>2]}if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function pu(a){a=a|0;var b=0,c=0;if(a>>>0<=11){a:{b=Xe(1,8);if(b){c=Xe(1,8);if(!c){Be(0);if(b){qe[j[57975]](b);j[57976]=j[57976]-1}return 0}j[c+4>>2]=0;j[c>>2]=j[(a<<2)+104188>>2];j[b+4>>2]=c;break a}Be(0)}}return b|0}function nI(a,b){a=a|0;b=b|0;var c=0,d=0;d=rg(200288,b);a:{if(d){break a}d=0;if(!a){break a}c=j[a+4>>2];if(!c){break a}c=Kf(c,200336);if(!c){break a}c=j[j[c>>2]+20>>2];if(!c){break a}d=qe[j[c+16>>2]](a,b)|0}return d|0}function _i(a){var b=0,c=0,d=0;if((lP(a)|0)==1){return k[(a?s(a)^31:-1)+262304|0]?a:0}a=a?a:62001;d=32-s(a)|0;if(d){while(1){c=!(a&1)|!k[b+262304|0]?c:1<>>1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c}function UL(a){a=a|0;var b=0;b=j[j[a+156>>2]>>2];j[a+184>>2]=0;j[a+188>>2]=0;j[a+192>>2]=0;j[a+160>>2]=0;j[a+164>>2]=0;j[a+168>>2]=0;j[a+172>>2]=0;j[a+176>>2]=0;j[a+180>>2]=0;j[a+188>>2]=b;h[a+192|0]=0;Yh(b);return 0}function av(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}a:{if(!j[b+100>>2]|k[a+48|0]&64){break a}Xg(a,0);b=j[67085];c=j[b+100>>2];if(!c){break a}qe[c|0](b,a)}}function Us(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;if(!(!a|!b)){f=j[b+8>>2];g=j[b+12>>2];d=j[a>>2];c=c<<16;h=Ne(d,j[b>>2],c);e=j[a+4>>2];i=a,k=h+Ne(e,j[b+4>>2],c)|0,j[i>>2]=k;i=a,k=Ne(d,f,c)+Ne(e,g,c)|0,j[i+4>>2]=k}}function Pm(a,b){a=a|0;b=b|0;var c=0;c=j[b+4>>2];j[a+4>>2]=j[b>>2];j[a+8>>2]=c;j[a+28>>2]=j[b+24>>2];c=j[b+20>>2];j[a+20>>2]=j[b+16>>2];j[a+24>>2]=c;c=j[b+12>>2];j[a+12>>2]=j[b+8>>2];j[a+16>>2]=c;Om(a,b,0);Om(a,b,1)}function Js(a,b){a=a|0;b=b|0;var c=0,d=0;j[b+72>>2]=1869968492;d=j[a+36>>2];j[b+124>>2]=d;c=j[a+24>>2];j[b+108>>2]=j[a+20>>2];j[b+112>>2]=c;c=j[a+32>>2];j[b+116>>2]=j[a+28>>2];j[b+120>>2]=c;j[b+124>>2]=d&-2;return 0}function Ez(a){a=a|0;var b=0;pj(a+16|0);b=j[a+772>>2];if(b){Ih(b)}b=j[a+776>>2];if(b){if(b){qe[j[57975]](b);j[57976]=j[57976]-1}}if(j[a+4>>2]){b=j[a>>2];qe[j[b+16>>2]](b)|0}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function CI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=oe-16|0;oe=d;e=j[a+16>>2];a:{if((e|0)>=1){while(1){if(!gm(a,c,d+12|0)){if(!we(b,j[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}oe=d+16|0;return c|0}function Yr(a,b,c,d){var e=0,f=0;f=j[a+4>>2];if(f>>>0>b>>>0){e=j[a+20>>2];a:{if(e){c=qe[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ae(e,j[a>>2]+b|0,c)}j[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=oe-16|0;oe=a;if(c){j[c>>2]=0;j[c+4>>2]=0;h[a+15|0]=0;d=c,e=E(105293,a+15|0,0)|0,j[d+8>>2]=e;h[a+14|0]=0;d=c,e=E(105325,a+14|0,0)|0,j[d+12>>2]=e}oe=a+16|0;return 0}function rz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[j[a+436>>2]>>2];a:{if(d){if(b){j[b>>2]=j[d+8>>2]}a=0;if(!c){break a}j[c>>2]=j[d+12>>2];return 0}a=j[a+188>>2];if(a){Wg(a,b,c);return 0}ve(86417,0);a=-1}return a|0}function kn(a,b,c){var d=0,e=0;d=j[67085];if(!d){ve(99429,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);return}e=j[d+188>>2];if(e){qe[e|0](d,a,b,c);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function GE(a){if(!(!a|!j[a>>2])){j[a+344>>2]=0;j[a+348>>2]=0;j[a+340>>2]=-1;j[a+332>>2]=0;j[a+324>>2]=0;j[a+328>>2]=0;j[a+36>>2]=0;j[a+28>>2]=0;j[a+32>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;j[a+352>>2]=0;j[a+356>>2]=0}}function Dm(a,b,c){var d=0,e=0,f=0,g=0;e=j[a+8>>2];f=j[a+4>>2];if(e>>>0>>0){d=j[a+20>>2];a:{if(d){d=qe[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Ae(g,j[a>>2]+e|0,d)}j[a+8>>2]=j[a+8>>2]+d}return d}function dB(){var a=0,b=0;a=oe+ -64|0;oe=a;Ho(188,0);if((qe[j[58771]]()|0)>=1){while(1){if(wo(b)){j[a+16>>2]=b;j[a+8>>2]=1619;gf(a+8|0)}b=b+1|0;if((qe[j[58771]]()|0)>(b|0)){continue}break}}oe=a- -64|0;return 0}function RI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=oe-16|0;oe=d;e=qe[j[a+508>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){j[(c?692:684)+a>>2]=j[d+12>>2];j[(c?788:784)+a>>2]=j[b+8>>2]}oe=d+16|0;return e|0}function zp(a){var b=0;if(a){if(j[a+76>>2]<=-1){return wl(a)}return wl(a)}if(j[67117]){b=zp(j[67117])}a=j[67123];if(a){while(1){if(m[a+20>>2]>m[a+28>>2]){b=wl(a)|b}a=j[a+56>>2];if(a){continue}break}}return b}function tE(a){var b=0,c=0,d=0;a:{if(!a){break a}b=j[a+28>>2];if(!b){break a}c=j[a+36>>2];if(!c){break a}d=j[b+52>>2];if(d){qe[c|0](j[a+40>>2],d);c=j[a+36>>2];b=j[a+28>>2]}qe[c|0](j[a+40>>2],b);j[a+28>>2]=0}}function wF(a,b,c){var d=0,e=0;a:{b:{if(!(c?b:0)){j[a>>2]=0;break b}d=v(+(b|0)*+(c|0)/1e5+.5);if(d<=2147483647^1|d>=-2147483648^1){break a}if(r(d)<2147483648){b=~~d}else{b=-2147483648}j[a>>2]=b}e=1}return e}function _F(a,b,c){var d=0;if(!(!c|(!a|!b))){a=l[c+4>>1]|l[c+6>>1]<<16;d=l[c>>1]|l[c+2>>1]<<16;i[b+170>>1]=d;i[b+172>>1]=d>>>16;i[b+174>>1]=a;i[b+176>>1]=a>>>16;i[b+178>>1]=l[c+8>>1];j[b+8>>2]=j[b+8>>2]|32}}function Tf(a,b,c){var d=0,e=0;a:{if(!a){break a}d=i[a+2>>1];if((d|0)<1){break a}a=j[a+4>>2];while(1){j[a>>2]=j[a>>2]+b;j[a+4>>2]=j[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function Ki(){var a=0,b=0;a=qe[j[57972]](12)|0;if(a){j[57976]=j[57976]+1}a:{if(a){b=an();j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=b;if(b){break a}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return 0}a=0;Be(0)}return a}function Un(){var a=0,b=0,c=0;b=oe-16|0;oe=b;j[b+12>>2]=0;Xj(b+12|0);j[b+12>>2]=0;a=j[67080];a:{if(!a){break a}while(1){if(!j[a>>2]){c=j[a+4>>2];break a}a=j[a+8>>2];if(a){continue}break}}oe=b+16|0;return c}function ot(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if(c){qe[j[c+16>>2]](c)|0;b=j[a+96>>2]}b=j[b+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}a=j[a+96>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function kg(a,b,c){var d=0,e=0,f=0,g=0;j[a+112>>2]=b;j[a+116>>2]=c;d=j[a+8>>2];g=j[a+4>>2];e=d-g|0;f=e>>31;j[a+120>>2]=e;j[a+124>>2]=f;j[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function Uy(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>1&1}function Ty(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>3&1}function Tn(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>2&1}function Ry(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>4&1}function Rf(a,b,c,d,e){var f=0;f=oe-256|0;oe=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Ee(f,b&255,d?c:256);if(!d){while(1){Hf(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Hf(a,f,c)}oe=f+256|0}function Qy(){var a=0,b=0;b=oe-16|0;a=j[57978];a:{if((a|0)!=-1){break a}if(!k[268328]){h[268328]=1}a=0;j[57977]=4;j[57978]=0;j[b+12>>2]=0;if(!j[b+12>>2]){break a}j[57977]=16;a=2;j[57978]=2}return a>>>5&1}function WD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=mb(j[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}j[67100]=a;b=-1}a=b;oe=e+16|0;pe=a?-1:j[e+12>>2];return(a?-1:j[e+8>>2])|0}function $s(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[67093];if((b|0)>=1){while(1){d=(b|0)>1;c=j[c+1320>>2];b=b-1|0;if(d){continue}break}}b=j[c+4>>2];Oe(a,0,16);c=b;if(Le(b)>>>0<=16){b=Le(b)}else{b=16}Ge(a,c,b)}function xn(a,b){var c=0,d=0;c=oe-16|0;oe=c;a:{if(!a){j[c>>2]=97712;a=ve(97686,c);break a}d=j[a+52>>2];if(!(h[d+69|0]&1)){a=ve(97724,0);break a}a=0;if(!b){break a}j[b>>2]=j[d+72>>2]}oe=c+16|0;return a}function Ff(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+3>>>0){b=k[a|0]|k[a+1|0]<<8|(k[a+2|0]<<16|k[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}j[c+32>>2]=a;return b}function Df(a,b){var c=0;c=b-a|0;c=(((c|0)>-11796479?c:-11796479)+a|0)+23592959|0;a=c-(((c-b>>>0)%23592960|0)+a|0)|0;b=(a-((a|0)<11796480?a:11796480)|0)+23592959|0;return(((b>>>0)%23592960|0)-b|0)+a|0}function dG(a,b,c){var d=0;b=b-1|0;h[b|0]=0;a:{if(a>>>0>=b>>>0){break a}while(1){if((d|0)>=1?!c:0){break a}b=b-1|0;h[b|0]=k[(c&15)+206736|0];d=d+1|0;c=c>>>4|0;if(a>>>0>>0){continue}break}}return b}function UB(a,b){var c=0,d=0;c=mf(j[66370],p(j[66369],8232)+8232|0);if(!c){Be(0);return}j[66370]=c;Oe(c+p(j[66369],8232)|0,0,8232);c=j[66369];d=j[66370]+p(c,8232)|0;j[d>>2]=a;j[d+4>>2]=b;j[66369]=c+1}function dN(a){a=a|0;var b=0,c=0;c=j[a+656>>2];a:{if(!j[a+532>>2]){break a}b=Bh(Kf(j[j[a+96>>2]+4>>2],120128),120188);if(!b){break a}b=j[b>>2];if(!b){break a}return qe[b|0](a)|0}return j[c+1304>>2]}function ZD(a,b){var c=0,d=0;d=j[a>>2];c=j[a+16>>2];b=j[a+4>>2]+b|0;if((d|0)<=(c-(b+7>>3)|0)){c=(b|0)/8|0;j[a>>2]=c+d;j[a+12>>2]=c+j[a+12>>2];j[a+4>>2]=b&7;return}j[a>>2]=c;j[a+12>>2]=0;j[a+4>>2]=1}function sF(a,b){var c=0;if((b|0)>=1){hP(b,0,10,0);a:{if(pe){break a}b=p(b,10);if(!b){break a}b:{if(!a){break b}c=j[a+720>>2];if(!c){break b}return qe[c|0](a,b)|0}c=Te(b)}return c}Ye(a,210072);z()}function YM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=j[a+656>>2];a:{b:{if(!a){break b}d=6;if(j[a+1456>>2]==65535|m[a+12>>2]>>0){break a}if(!c){break b}j[c>>2]=l[j[a+1160>>2]+(b<<1)>>1]}d=0}return d|0}function Io(a){var b=0;b=j[67085];if(b){qe[j[b+232>>2]](b)}a:{if(j[66110]){if(!KA()){break a}}NA()}if(!j[66122]){cz()}if(k[268216]){h[268216]=0;jl(256)}a=mh(a,1,2,0,65535);return!!((a|0)!=-1?a:0)}function rv(a,b){a=a|0;b=b|0;a=uj(b,99334,0);if(a){b=j[a+4>>2];if(b){jh(b)}b=j[a>>2];if(b){Yk(b)}b=j[a+8>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}}function lL(a){lm(a+16|0);ze(j[a+48>>2]);ze(j[a- -64>>2]);ze(j[a+80>>2]);ze(j[a+96>>2]);ze(j[a+112>>2]);ze(j[a+128>>2]);ze(j[a+144>>2]);ze(j[a+36>>2]);ze(j[a+152>>2]);ze(j[a+160>>2]);Ee(a,0,180)}function QF(a,b,c){if(!(!c|(!a|!b))){a=k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24);h[b+148|0]=a;h[b+149|0]=a>>>8;h[b+150|0]=a>>>16;h[b+151|0]=a>>>24;h[b+152|0]=k[c+4|0];j[b+8>>2]=j[b+8>>2]|2}}function PO(a){var b=0,c=0;b=j[a+156>>2];if(!(!b|!(h[b+4|0]&1))){b=j[j[a+4>>2]+100>>2];c=j[a+88>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+88>>2]=0;a=j[a+156>>2];j[a+4>>2]=j[a+4>>2]&-2;return}j[a+88>>2]=0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=k[a+11|0]+7>>>3|0;d=j[a+4>>2];if(c>>>0>>0){e=0-c|0;a=b+c|0;while(1){h[a|0]=k[a+e|0]+k[a|0];a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function mN(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[b>>2];j[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=l[j[a+16>>2]+(c<<1)>>1];if(!d){continue}break}j[b>>2]=c;return d|0}function kG(a,b){var c=0,d=0;a:{if(k[a+9|0]!=16){break a}c=p(j[a>>2],k[a+10|0]);if(!c){break a}a=0;while(1){d=k[b+1|0];h[b+1|0]=k[b|0];h[b|0]=d;b=b+2|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function Jl(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;j[c+12>>2]=0;j[c+8>>2]=0;a:{if(!Kl(a,b,c+12|0,c+8|0)){break a}d=b;b=j[c+8>>2];if(k[a+b|0]?(d|0)!=(b|0):0){break a}e=j[c+12>>2]}oe=c+16|0;return e}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(d){b=k[d|0];if((b|0)==49){break a}if(b){break b}}j[a+124>>2]=0;return}if(!Me(d,71592)){break a}j[a+124>>2]=0;return}j[a+124>>2]=1;Ao(-1,-1)}function Il(a,b){var c=0;a:{b:{if(!a|!b){break b}c=v(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647^1;if(r(c)<2147483648){a=~~c}else{a=-2147483648}if(b){break b}if(c>=-2147483648){break a}}a=0}return a}function KO(a,b){var c=0;c=35;a:{if(!a|!(k[a+8|0]&2)){break a}c=6;if((b|0)<0|j[a+28>>2]<=(b|0)){break a}c=j[j[j[a+96>>2]+12>>2]+92>>2];if(c){return qe[c|0](j[a+88>>2],b)|0}Dg(a,b);c=0}return c}function xf(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=j[a+8>>2]+b|0;d=j[a+20>>2];b:{if(d){if(!(qe[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>m[a+4>>2]){break a}}j[a+8>>2]=b;c=0}return c}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!xp(j[a+28>>2],b,c,d)){b=Cp(j[a+28>>2]);a=pe;c=a;if((a|0)>-1){break a}a=ve(71830,0);pe=a>>31;return a|0}a=Be(3);b=a;c=a>>31}pe=c;return b|0}function CE(a,b,c,d,e){e=e-1|0;if(e>>>0<=3){if(!j[a+808>>2]){j[a+808>>2]=1056;j[a+816>>2]=1057;j[a+812>>2]=1058;j[a+820>>2]=(k[a+438|0]+7&504)==8?1059:1060}qe[j[((e<<2)+a|0)+808>>2]](b,c,d)}}function NO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[b+8>>2];if(d){qe[d|0](b)}c=j[j[c+12>>2]+60>>2];if(c){qe[c|0](b)}c=j[b+40>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+40>>2]=0;if(b){qe[j[a+8>>2]](a,b)}}function oH(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;b=kk(a,b,c+8|0);a:{if(b){break a}a=j[j[j[a+4>>2]+128>>2]+48>>2];if(!a){break a}qe[j[j[a>>2]+4>>2]](j[a+4>>2],c+8|0)}oe=c+16|0;return b|0}function lp(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:h[a|0]=c;return;case 1:i[a>>1]=c;return;case 2:case 3:j[a>>2]=c;return;case 5:break b;default:break a}}j[a>>2]=c;j[a+4>>2]=d}}function tN(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[j[b+656>>2]+2952>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],120928);if(!b){break a}b=qe[j[c+8>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function tB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=pl(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(2)}return b|0}function sB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=ek(b,c,d,j[a+28>>2]);a:{if(b){break a}a=j[a+28>>2];b:{if(j[a+76>>2]<=-1){a=j[a>>2];break b}a=j[a>>2]}if(!(a>>>5&1)){break a}Be(1)}return b|0}function PB(){Oe(268052,0,160);Ig(71360,171,268052);Ig(71388,172,268052);Ig(71418,173,268052);Ig(71447,174,268052);Ig(71478,175,268052);Ig(71501,176,268052);j[67051]=1;j[67045]=0;return 0}function $u(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return}a:{if(!(k[a+48|0]&192)){break a}c=j[b+104>>2];if(!c){break a}qe[c|0](b,a)}}function bp(a){var b=0;b=k[a+74|0];h[a+74|0]=b-1|b;b=j[a>>2];if(b&8){j[a>>2]=b|32;return-1}j[a+4>>2]=0;j[a+8>>2]=0;b=j[a+44>>2];j[a+28>>2]=b;j[a+20>>2]=b;j[a+16>>2]=b+j[a+48>>2];return 0}function bH(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+416>>2];a:{if((c|0)>=1){d=j[a+420>>2];a=0;while(1){if(!we(b,j[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)>(a|0)){continue}break}}a=0}return a|0}function DB(){var a=0;a=oe-144|0;oe=a;a:{if(yg(71638,0)){break a}G(2,0,a|0)|0;if(!j[a>>2]){j[a>>2]=177;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]){break a}j[a>>2]=177;G(15,a|0,0)|0}oe=a+144|0}function zN(a,b){a=a|0;b=b|0;var c=0;c=rg(120064,b);a:{if(c){break a}c=0;if(!a){break a}a=j[a+4>>2];if(!a){break a}a=Kf(a,120128);if(!a){break a}c=qe[j[j[a>>2]+32>>2]](a,b)|0}return c|0}function we(a,b){var c=0,d=0;c=k[a|0];d=k[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=k[b+1|0];c=k[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function Sj(a){var b=0,c=0;b=oe-16|0;oe=b;a:{if(!a){j[b>>2]=65611;ve(65309,b);break a}SC(j[a+168>>2],j[a+236>>2]<<1);c=j[a+256>>2];if(c){qe[c|0](a)}j[a+184>>2]=0;j[a+172>>2]=1}oe=b+16|0}function JG(a){a=a|0;var b=0,c=0,d=0;c=oe-16|0;oe=c;d=gs(j[j[a>>2]+500>>2],c+12|0);b=a;a=j[c+12>>2];j[b+44>>2]=a;if(a){b=j[a>>2];if(!(!b|!j[b+96>>2])){j[b+88>>2]=a}}oe=c+16|0;return d|0}function gg(a,b,c){var d=0,e=0,f=0;f=c;a:{if(b){d=Le(b)+1|0;b:{if((d|0)>=1){e=qe[j[a+4>>2]](a,d)|0;if(e){break b}j[c>>2]=64;return 0}a=6;if(d){break a}}Ae(e,b,d)}a=0}j[f>>2]=a;return e}function ef(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=j[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return j[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function sl(a,b,c,d,e,f,g,h,i){var k=0;k=oe-16|0;oe=k;Wf(k,b,c,d,e,f,g,h,i^-2147483648);b=j[k+4>>2];j[a>>2]=j[k>>2];j[a+4>>2]=b;b=j[k+12>>2];j[a+8>>2]=j[k+8>>2];j[a+12>>2]=b;oe=k+16|0}function bf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=hP(a,0,b,0);e=pe;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Te(b);if(!(!a|!(k[a-4|0]&3))){Ee(a,0,b)}return a|0}function VB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(!d){break a}a=0;if(!k[d|0]){break a}if((rf(d)|0)<=1){a=0;if((rf(d)|0)<1){break a}}a=2;if((rf(d)|0)>1){break a}a=rf(d)}j[66367]=a}function Jh(a){var b=0,c=0;b=j[58876];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>wP()<<16>>>0){if(!(Ja(a|0)|0)){break a}}j[58876]=a;return b}j[67100]=48;return-1}function kr(a){a=a|0;var b=0,c=0;b=j[a+8>>2];if(b){a=j[a+16>>2];c=j[a+4>>2];j[b+108>>2]=j[a>>2];j[b+112>>2]=c;j[b+124>>2]=j[a+16>>2];c=j[a+12>>2];j[b+116>>2]=j[a+8>>2];j[b+120>>2]=c}}function ZH(a,b){a=a|0;b=b|0;var c=0;j[a+112>>2]=b;c=j[a>>2];if(h[c+8|0]&1){Dg(c,b);Yl(a);return 0}b=qe[j[j[c+532>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}j[a+112>>2]=-1;return b|0}function HG(a){a=a|0;var b=0,c=0,d=0;d=oe-16|0;oe=d;b=j[a+4>>2];c=j[b+500>>2];a:{if(!j[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=ls(c,d+12|0)}j[a+160>>2]=j[b>>2];oe=d+16|0;return c|0}function $J(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;j[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(h[a+20|0]&1){d=Mq(a,c+12|0,0);break a}d=Lq(a,c+12|0,0)}a=d;oe=c+16|0;return a|0}function dg(a){var b=0,c=0;c=Mf(a);b=j[66036];a:{if(!b){break a}while(1){if(!cf(a,j[b>>2])){if(j[b+8>>2]!=2?c:0){break a}return j[b+4>>2]}b=j[b+16>>2];if(b){continue}break}}return c}function Fi(a,b){var c=0,d=0;c=j[a+12>>2];d=j[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(p(c,12)|0)/10|0;j[a+28>>2]=b;j[a+24>>2]=(b-c|0)/2;j[a+20>>2]=j[a+8>>2]+(j[a+16>>2]/-2|0)}function Co(a){var b=0;j[67049]=a;a:{if(j[67050]){break a}if(a){j[67050]=a}b=j[67015];if(!(j[67035]|(!a|!j[67051]))){if(!b){break a}qe[b|0](a)|0;return}if(!b){break a}qe[b|0](0)|0}}function yj(a,b,c){var d=0,e=0;a:{if((b|0)<0){break a}d=j[a+12>>2];if(j[d+4>>2]<=(b|0)){break a}df(c,j[j[a+20>>2]+(b<<2)>>2],h[j[d+8>>2]+b|0]);e=h[j[j[a+12>>2]+8>>2]+b|0]}return e}function Pr(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=j[a>>2];if(e){while(1){f=j[e+4>>2];if(b){qe[b|0](c,j[e+8>>2],d)}qe[j[c+8>>2]](c,e);e=f;if(e){continue}break}}j[a>>2]=0;j[a+4>>2]=0}}function BJ(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+6|0]|k[b+7|0]<<8|(k[b+8|0]<<16|k[b+9|0]<<24);j[a+28>>2]=0;j[a+32>>2]=0;j[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function WK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)>=1){while(1){e=a+d|0;f=k[e|0];h[e|0]=f^c>>>8;c=p(c+f|0,52845)+22719&65535;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function Lt(a,b,c){var d=0,e=0;d=oe-16|0;oe=d;e=j[c+12>>2];j[d+8>>2]=j[c+8>>2];j[d+12>>2]=e;e=j[c+4>>2];j[d>>2]=j[c>>2];j[d+4>>2]=e;c=At(a,b,d);if(!c){c=pt(b)}oe=d+16|0;return c}function pB(a){a=a|0;var b=0,c=0,d=0,e=0;c=qe[j[a+4>>2]](a,0,0,1)|0;b=pe;d=b;if((b|0)<0){pe=-1;return-1}b=qe[j[a+4>>2]](a,0,0,2)|0;e=pe;qe[j[a+4>>2]](a,c,d,0)|0;pe=e;return b|0}function ms(a,b){var c=0,d=0;c=j[a+156>>2];if(!(!c|!(h[c+4|0]&1))){c=j[j[a+4>>2]+100>>2];d=j[a+88>>2];if(d){qe[j[c+8>>2]](c,d)}c=j[a+156>>2];j[c+4>>2]=j[c+4>>2]&-2}j[a+88>>2]=b}function jH(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+548>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],201664);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function cz(){a:{if(!_i(32768)){break a}if(k[268312]){if(!j[67077]){break a}return}h[268312]=1;if(!(j[67077]?j[67077]:0)){h[268312]=0;return}h[268312]=0;if(!j[67077]){break a}}}function GM(a){a=a|0;var b=0,c=0;b=j[a+4>>2];c=j[b+320>>2];a:{if(!c){break a}b=Kf(j[j[b+96>>2]+4>>2],124242);if(!b){break a}b=qe[j[c+4>>2]](b)|0;j[j[a+156>>2]+36>>2]=b}return 0}function pA(a,b){a=a|0;b=b|0;var c=0,d=0;c=oe-16|0;oe=c;d=j[b+76>>2];j[c>>2]=0;j[c+4>>2]=0;j[c+8>>2]=j[b+12>>2];j[c+12>>2]=j[b+16>>2];ho(a,b,c,j[d+16>>2],j[d+20>>2]);oe=c+16|0}function Os(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(j[b+72>>2]!=1869968492){break a}c=j[a>>2];a=a+20|0;c=Em(c,i[b+110>>1],i[b+108>>1],a);if(c){break a}$r(b+108|0,a);c=0}return c|0}function AD(a){var b=0;a:{b:{if(!a){break b}b=j[a+4>>2];if(b>>>0>999999999){break b}a=j[a>>2];if((a|0)>-1){break a}}j[67100]=28;return-1}Ma(+(+(b|0)/1e6+ +(a|0)*1e3));return 0}function Tq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(j[b+72>>2]!=j[a+16>>2]){break a}if(c){Ah(b+108|0,c)}e=0;if(!d){break a}Tf(b+108|0,j[d>>2],j[d+4>>2])}return e|0}function AN(a){a=a|0;j[a+60>>2]=2333;j[a+64>>2]=0;j[a+36>>2]=500;j[a+40>>2]=400;j[a+52>>2]=1667;j[a+56>>2]=275;j[a+44>>2]=1e3;j[a+48>>2]=275;h[a+32|0]=0;j[a+28>>2]=1;return 0}function Ym(a,b){var c=0;if(!a){return}if(!b){return}a=j[a>>2];c=j[b+12>>2];if(c){qe[j[a+8>>2]](a,c)}j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0}function Ui(a,b,c,d){var e=0;e=oe-16|0;oe=e;if(d){n[e>>2]=j[d>>2];n[e+4>>2]=j[d+4>>2];n[e+8>>2]=j[d+8>>2];n[e+12>>2]=j[d+12>>2];d=e}else{d=0}a=yA(a,b,c,d);oe=e+16|0;return a}function eO(a,b){if(a){j[a+48>>2]=0;j[a+44>>2]=1;j[a+60>>2]=b;j[a+64>>2]=0;j[a+52>>2]=0;h[a+124|0]=0;j[a+116>>2]=-1;j[a+96>>2]=0;h[a+92|0]=0;j[a+84>>2]=-1;j[a+56>>2]=65536}}function NL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;j[c>>2]=0;d=6;a:{if(!a|!b){break a}b=b-1|0;if(b>>>0>=m[a+408>>2]){break a}j[c>>2]=j[(j[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function IB(){var a=0;Zg();if(j[65546]){if(j[j[j[65546]>>2]+44>>2]){a=qe[j[j[j[65546]>>2]+44>>2]](j[j[65546]+4>>2])|0;j[j[65546]+8>>2]=a}a=j[j[65546]+8>>2]!=0}Hg();return a}function FO(a,b){var c=0;a:{b:{if(!a){break b}a=j[a+148>>2];if(!a){break b}while(1){c=j[a+8>>2];if(j[c+16>>2]==(b|0)){break a}a=j[a+4>>2];if(a){continue}break}}c=0}return c}function CD(a){var b=0;b=2;if(!ah(a,43)){b=k[a|0]!=114}b=ah(a,120)?b|128:b;b=ah(a,101)?b|524288:b;a=k[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function qt(a){a=a|0;j[a+44>>2]=525;j[a+36>>2]=526;j[a+32>>2]=527;j[a+28>>2]=528;j[a+24>>2]=529;j[a+20>>2]=530;j[a+4>>2]=531;j[a+84>>2]=1;j[a>>2]=532;j[a+72>>2]=1;return 1}function kC(){if(!k[264412]){j[66094]=160;j[66093]=161;j[66095]=162;j[66096]=163;j[66097]=164;j[66098]=165;j[66099]=166;j[66100]=167;j[66101]=168;j[66102]=169;h[264412]=1}}function iK(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a+16>>2]+6|0;a=j[b>>2];while(1){a=a+1|0;if(a>>>0>255){j[b>>2]=0;return 0}c=k[a+d|0];if(!c){continue}break}j[b>>2]=a;return c|0}function Tg(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=ye(j[a>>2],j[b>>2]);d=ye(j[a+4>>2],j[b+4>>2]);e=ye(j[a>>2],j[b+8>>2]);b=ye(j[a+4>>2],j[b+12>>2]);j[a>>2]=c+d;j[a+4>>2]=b+e}}function qu(a){a=a|0;var b=0;a:{b:{if(a){b=j[67024];if(!b){break b}a=0;if((va(j[j[b+144>>2]+12>>2],1)|0)<=-1){break b}break a}a=0;if((Ya()|0)>-1){break a}}a=-1}return a|0}function iI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=j[a+24>>2];c=Fe(b,c);a:{if(c){break a}c=_e(b,d);if(c){break a}j[a+200>>2]=j[b+32>>2];j[a+204>>2]=j[b+36>>2];c=0}return c|0}function Jq(a,b){a=a|0;b=b|0;j[a+16>>2]=b;b=k[b+12|0]|k[b+13|0]<<8|(k[b+14|0]<<16|k[b+15|0]<<24);h[a+24|0]=0;j[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Tu(a){var b=0,c=0;b=j[67085];if(!b){ve(99429,0);return}if(!Eh(j[b+708>>2])){ve(99073,0);return}b=j[67085];c=j[b+192>>2];if(c){qe[c|0](b,a)|0;return}ve(99113,0)}function Cg(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=k[a|0];e=k[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function eP(a,b,c){var d=0,e=0,f=0;d=b>>31;a=a^d;f=b>>31;e=b>>31;a=jP(a-d|0,(f^b)-((a>>>0>>0)+f|0)|0,c)^e;c=a-e|0;b=b>>31;pe=(b^pe)-((a>>>0>>0)+b|0)|0;return c}function XJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];b=b-(k[a+6|0]<<8|k[a+7|0])|0;if(b>>>0<(k[a+9|0]|k[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=k[a+10|0]<<8|k[a+11|0]}else{a=0}return a|0}function LJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=10;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function HJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=12;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function HD(a,b,c){var d=0,e=0,f=0;e=j[a+84>>2];d=c+256|0;f=Mh(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Ae(b,e,c);b=e+d|0;j[a+84>>2]=b;j[a+8>>2]=b;j[a+4>>2]=c+e;return c}function CJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=13;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function tp(a){var b=0,c=0,d=0;if(h[j[a>>2]]-48>>>0<10){while(1){b=j[a>>2];d=h[b|0];j[a>>2]=b+1;c=(p(c,10)+d|0)-48|0;if(h[b+1|0]-48>>>0<10){continue}break}}return c}function XN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(m[a+4>>2]>>0){break a}}e=j[a+12>>2];if(j[a+8>>2]!=(b|0)){aj(e,b,0)}e=ek(c,1,d,e)}return e|0}function PJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=8;a=k[a+8|0]|k[a+9|0]<<8|(k[a+10|0]<<16|k[a+11|0]<<24);j[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Hk(a){var b=0;b=j[67085];a:{if(!b){break a}b=j[b+308>>2];if(!b){break a}while(1){if(j[b+4>>2]==(a|0)){return b}b=j[b+152>>2];if(b){continue}break}}return 0}function vz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=j[b+76>>2];b=j[a+16>>2];j[d>>2]=(j[a+20>>2]+p(b,j[c+4>>2])|0)+p(j[c>>2],k[j[a+4>>2]+9|0]);j[e>>2]=b;return 0}function nG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=j[b>>2]+1|0;b=j[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}j[e>>2]=b;return d|0}function gk(a,b){var c=0;if(!a){return 0}a:{if(!b){break a}c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(!c){break a}return Ee(c,0,b)}Ye(a,210130);z()}function Wg(a,b,c){var d=0;d=j[67085];if(!d){ve(99429,0);return}if(!(j[a>>2]==(d+316|0)?a:0)){ve(98129,0);return}if(b){j[b>>2]=j[a+24>>2]}if(c){j[c>>2]=j[a+28>>2]}}function uM(a,b){a=a|0;b=b|0;var c=0;c=j[b+96>>2];if(!((c|0)<0|j[a+300>>2]<=(c|0))){a=j[a+304>>2]+p(c,252)|0;b=qe[j[b+40>>2]](b,0)|0;j[a+180>>2]=b;j[a+208>>2]=b}}function bi(a,b,c,d){var e=0;if(!a){return}a=j[a+52>>2];h[a+78|0]=d;h[a+77|0]=c;h[a+76|0]=b;e=j[a+68>>2];b=e&-2|(b&c&d)!=255;j[a+68>>2]=b;if((b|0)!=(e|0)){vf(a)}}function Es(a,b){a=a|0;b=b|0;j[a+2988>>2]=b;j[a+2980>>2]=j[b+28>>2];j[a+4>>2]=j[b+8>>2];j[a+12>>2]=j[b+12>>2];j[a+8>>2]=j[b+16>>2];j[a+16>>2]=j[b+20>>2];return 0}function uB(a){a=a|0;var b=0;if(!a){return 0}a:{if(!j[a+24>>2]){break a}if(!Lh(j[a+28>>2])){break a}b=Be(2)}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}return b|0}function rg(a,b){var c=0;a:{if(!a|!b){break a}c=j[a>>2];if(!c){break a}while(1){if(!we(c,b)){return j[a+4>>2]}c=j[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function af(a){var b=0,c=0,d=0;c=a;d=j[a+36>>2];a=j[a+32>>2];if(d>>>0>a+1>>>0){b=k[a|0]|k[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a=a+2|0}j[c+32>>2]=a;return b}function Lo(a){if((a|0)>=0){j[57792]=(a|0)<128?a:128;Zg();if(!(!j[65546]|!j[j[j[65546]>>2]+36>>2])){qe[j[j[j[65546]>>2]+36>>2]](j[j[65546]+4>>2],j[57792])}Hg()}}function tf(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}d=j[a+212>>2];if(!(k[a+379|0]&32?(d&768)!=768:!(d&2048))){break a}e=a,f=Sf(j[a+412>>2],b,c),j[e+412>>2]=f}}function sG(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];b=j[c+132>>2];Dg(c,0);c=l[b+80>>1];j[a+24>>2]=c<<6;j[a+28>>2]=c-l[b+96>>1]<<6;j[a+36>>2]=l[b+102>>1]<<6;return 0}function hL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+24>>2];return 0}function fg(a,b){a=a|0;b=b|0;var c=0;a:{if(!a){break a}if(b){c=j[a+720>>2];b:{if(c){c=qe[c|0](a,b)|0;break b}c=Te(b)}if(c){break a}}Ze(a,210130);c=0}return c|0}function dL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+484>>2];j[a+24>>2]=j[b+416>>2];j[a+28>>2]=j[b+420>>2];j[a+20>>2]=j[c+20>>2];j[a+16>>2]=j[c+28>>2];return 0}function JN(a,b){a=a|0;b=b|0;var c=0,d=0;d=j[a>>2];c=j[d+140>>2];Dg(d,b);j[a+24>>2]=j[c+40>>2]<<6;j[a+28>>2]=0-(j[c+44>>2]<<6);j[a+36>>2]=l[c+4>>1]<<6;return 0}function Fe(a,b){var c=0,d=0;d=j[a+20>>2];a:{b:{if(d){c=85;if(!(qe[d|0](a,b,0,0)|0)){break b}break a}c=85;if(m[a+4>>2]>>0){break a}}j[a+8>>2]=b;c=0}return c}function Wu(){var a=0;a=j[67085];a:{if(!a){break a}a=j[a+308>>2];if(!a){break a}while(1){if(k[a+49|0]&2){return a}a=j[a+152>>2];if(a){continue}break}}return 0}function IC(a){var b=0;a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66053]](a);b=a- -64|0;b;j[b>>2]=0;qe[j[66054]](a)}function Cm(a){var b=0,c=0;b=j[a+32>>2];if(m[a+36>>2]<=b+3>>>0){j[a+32>>2]=b;return 0}c=k[b|0]|k[b+1|0]<<8|(k[b+2|0]<<16|k[b+3|0]<<24);j[a+32>>2]=b+4;return c}function uk(a,b){var c=0,d=0;a:{if(!a){break a}c=j[a+28>>2];b:{if(!a){break b}d=j[a+24>>2];if(!d){break b}qe[d|0](a)}if(b){break a}if(a){qe[j[c+8>>2]](c,a)}}}function jN(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+656>>2];if(!j[c+1160>>2]){return 163}return qe[j[j[c+2956>>2]+4>>2]](j[b+100>>2],a,j[c+12>>2],620,0,b)|0}function el(a,b,c){var d=0;a:{a=a?a:j[67024];if(!a){break a}d=j[67018];if(d){qe[d|0](a,b,c);return}d=j[67023];if(!Gh(a,b,c,(d|0)!=-1)){break a}Fh(a,d,0,b,c)}}function gJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1668112752,b,a+504|0)|0;if(!c){c=_f(b,j[a+504>>2],a+500|0);if(!c){return 0}j[a+504>>2]=0}return c|0}function dj(a){var b=0,c=0;b=a*a;c=b*a;return q(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function YC(){var a=0;while(1){a=j[66037];if(a){j[66037]=j[a+8>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}continue}break}j[57836]=4;j[57835]=6;j[57837]=3}function BB(){var a=0;a=oe-144|0;oe=a;G(2,0,a|0)|0;if(j[a>>2]==177){j[a>>2]=0;G(2,a|0,0)|0}G(15,0,a|0)|0;if(j[a>>2]==177){j[a>>2]=0;G(15,a|0,0)|0}oe=a+144|0}function NK(a){a=a|0;var b=0;if(a){j[a+412>>2]=0;j[a+4>>2]=0;j[a+1960>>2]=0;j[a+1444>>2]=0;j[a+928>>2]=0;j[a+208>>2]=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=j[a+4>>2];if(d){a=0;while(1){h[b|0]=k[c|0]+k[b|0];b=b+1|0;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function oo(a,b){var c=0;c=oe-16|0;oe=c;if(b){n[c>>2]=j[b>>2];n[c+4>>2]=j[b+4>>2];n[c+8>>2]=j[b+8>>2];n[c+12>>2]=j[b+12>>2];b=c}else{b=0}zA(a,b);oe=c+16|0}function uF(a){var b=0,c=0;b=oe-912|0;oe=b;if(a){Ae(b+8|0,a,900);a=Ee(a,0,900);c=j[b+732>>2];a:{if(c){qe[c|0](b+8|0,a);break a}ze(a)}aG(b+8|0)}oe=b+912|0}function pl(a,b,c,d){var e=0,f=0;e=p(b,c);f=e;a:{if(j[d+76>>2]<=-1){a=ql(a,e,d);break a}a=ql(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function bq(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=Cg(a+b|0,b+207738|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function Ho(a,b){var c=0,d=0;c=mf(j[66360],p(j[66361],12)+12|0);if(c){j[66360]=c;d=j[66361];c=c+p(d,12)|0;j[c+8>>2]=0;j[c+4>>2]=b;j[c>>2]=a;j[66361]=d+1}}function GC(){var a=0,b=0,c=0;b=j[66088];a:{if((b|0)==10){break a}a=j[66089];if((a|0)==10){break a}j[66089]=a+1;c=l[(p(b,20)+(a<<1)|0)+64608>>1]}return c}function pF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=IF(a,b,c,d);if(a){j[a+796>>2]=8192;j[a+208>>2]=32768;j[a+212>>2]=j[a+212>>2]|3145728;Vp(a,0,0)}return a|0}function Am(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=k[b|0];if(!d){break a}h[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}h[a|0]=0}function Wi(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;a=j[b+12>>2];return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function Su(){var a=0,b=0,c=0;a=j[67085];a:{if(!a){break a}if(!Eh(j[a+708>>2])){break a}a=j[67085];b=j[a+196>>2];if(!b){break a}c=qe[b|0](a)|0}return c}function SA(a){var b=0;b=oe+ -64|0;oe=b;a=RA(a);a:{if((a|0)<0){break a}j[b+8>>2]=1541;if((We(1541,-1)|0)!=1){break a}j[b+16>>2]=a;gf(b+8|0)}oe=b- -64|0}function Jr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=j[a+532>>2];j[d>>2]=0;j[d+4>>2]=0;if(e){f=d,g=qe[j[e+84>>2]](a,b,c)|0,j[f>>2]=g}return 0}function qh(a,b){var c=0;a:{if(!a){b=0;break a}if(b){c=j[a+720>>2];b:{if(c){b=qe[c|0](a,b)|0;break b}b=Te(b)}if(b){break a}}Ye(a,210130);z()}return b}function wi(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=v(Bg(+(a|0)/255,+(b|0)*1e-5)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break a}a=0}return a&255}function Zq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=oe-16|0;oe=c;j[b>>2]=0;d=He(a,4,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e|0}function Xj(a){var b=0,c=0;b=j[a>>2];j[a>>2]=1;if(b){b=0;while(1){a:{if((b|0)<=31){b=b+1|0;break a}bg(0)}c=j[a>>2];j[a>>2]=1;if(c){continue}break}}}function rK(a,b,c){a=a|0;b=b|0;c=c|0;c=j[a+112>>2];i[a+156>>1]=0-c;b=p(i[b>>1],c);j[a+148>>2]=0-b;if((c|0)>=1){j[a+148>>2]=p(j[a+104>>2]-1|0,c)-b}}function sL(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=j[a+12>>2];if((i[a+22>>1]+b|0)+i[a+58>>1]>>>0<=m[a+4>>2]){break a}c=yf(a,b,0)}return c|0}function gM(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];Dg(c,b);j[a+24>>2]=j[c+204>>2]<<6;j[a+28>>2]=0-(j[c+208>>2]<<6);j[a+36>>2]=i[c+236>>1]<<6;return 0}function MN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=bf(1,32);j[a+4>>2]=j[b>>2];c=j[b+8>>2];j[a+20>>2]=b;j[a>>2]=c;d=a,e=bf(2,4),j[d+8>>2]=e;return a|0}function Vy(a,b,c,d){var e=0,f=0;if(b){if((c|0)>0){while(1){f=Dh(a,(e<<4)+b|0,d)+f|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}ve(86727,0)}function OD(a){var b=0,c=0;b=oe-16|0;oe=b;c=-1;a:{if(wp(a)){break a}if((qe[j[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=k[b+15|0]}oe=b+16|0;return c}function Ps(a,b){a=a|0;b=b|0;var c=0;c=j[a+20>>2];j[b>>2]=c<<6;j[b+8>>2]=c+j[a+32>>2]<<6;c=j[a+24>>2];j[b+12>>2]=c<<6;j[b+4>>2]=c-j[a+28>>2]<<6}function Eg(a){var b=0;b=j[a+28>>2];a:{if(b){break a}b=0;if(!(k[a|0]&2)){break a}ei(a,1);j[a>>2]=j[a>>2]|2;b=j[a+28>>2]}j[a+28>>2]=b+1;return 0}function AJ(a){a=a|0;var b=0,c=0;j[a+28>>2]=0;b=j[a+36>>2];a:{if(!b){break a}c=j[a+32>>2];if(!c){break a}if(c){qe[j[b+8>>2]](b,c)}j[a+32>>2]=0}}function Ju(a){var b=0,c=0;j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0;b=a,c=bf(1,3664),j[b+28>>2]=c}function zh(a,b){a:{if(!a){break a}a=j[a>>2];if(!a){break a}while(1){if(j[a+8>>2]==(b|0)){return a}a=j[a+4>>2];if(a){continue}break}}return 0}function jl(a){var b=0,c=0;b=oe+ -64|0;oe=b;c=j[(a>>>6&1020)+264416>>2];if(!(j[(a>>>3&28)+c>>2]>>>a&1?c:0)){j[b+8>>2]=a;gf(b+8|0)}oe=b- -64|0}function YD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=j[a+20>>2];d=j[a+16>>2]-e|0;d=c>>>0>>0?c:d;Ae(e,b,d);j[a+20>>2]=d+j[a+20>>2];return c|0}function XA(){var a=0,b=0;gB();if(!j[67073]){a=268292,b=Ki(),j[a>>2]=b}Ig(73021,189,0);if(($i(16384)|0)<0){return-1}return qe[j[58770]]()>>31}function rD(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function JO(a){var b=0;b=oe-32|0;oe=b;j[b+8>>2]=0;j[b+20>>2]=72;j[b+24>>2]=72;j[b+12>>2]=640;j[b+16>>2]=640;a=Fm(a,b+8|0);oe=b+32|0;return a}function yi(a,b){var c=0;c=oe-240|0;oe=c;a:{if(!a){j[c>>2]=b;a=j[56878];ck(a,206875,c);yl(a);break a}gj(a,c+16|0,b);Ze(a,c+16|0)}oe=c+240|0}function xN(a){a=a|0;var b=0,c=0;if(a){b=j[a+8>>2];if(b){c=j[b>>2];if(c){ze(c);b=j[a+8>>2]}c=j[b+4>>2];if(c){ze(c);b=j[a+8>>2]}ze(b)}ze(a)}}function ug(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;a=Dj(d,e,f,g,h);if(!a){ve(97619,0);return 0}return Bj(b,c,a)|0}function DD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[a+12>>2];qe[j[a+4>>2]](a,b,b>>31,0)|0;if(d){a=qe[j[a+8>>2]](a,c,1,d)|0}else{a=0}return a|0}function yo(a){var b=0;b=oe-16|0;oe=b;i[b+14>>1]=0;qe[j[a+8>>2]](a,b+14|0,2,1)|0;oe=b+16|0;a=l[b+14>>1];return(a<<8&16711680|a<<24)>>>16|0}function si(a){var b=0;a=a*a;b=a*a;return q(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function lm(a){var b=0;if(a){b=j[a+8>>2];if(b){ze(b)}b=j[a+12>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function _s(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+12>>2]}function Up(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!(!a|!b|(!c|!(j[b+8>>2]&8)))){j[c>>2]=j[b+16>>2];j[d>>2]=l[b+20>>1];e=8}return e|0}function PK(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+4>>2];a:{if(c){break a}d=j[a>>2];c=ar(a+16|0,b,d);if(c){break a}c=ar(a+52|0,b,d)}return c|0}function Gk(a){var b=0;a:{if(!a){break a}b=j[67085];if(!b){break a}if((Eh(j[b+708>>2])|0)==(a|0)){tg(0,0)}b=j[67085];qe[j[b+204>>2]](b,a)}}function nF(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}}function jg(a){var b=0;a:{b=j[a+28>>2];if(!b){break a}j[a+28>>2]=b-1;if((b|0)>1){break a}b=j[a>>2];if(!(b&2)){break a}j[a>>2]=b&-3;Hj(a)}}function ej(a){var b=0,c=0;b=v(1e10/+(a|0)+.5);a=b>=-2147483648;if(r(b)<2147483648){c=~~b}else{c=-2147483648}return b<=2147483647?a?c:0:0}function bt(a){a=a|0;var b=0,c=0;b=j[67093];if((a|0)>=1){while(1){c=(a|0)>1;b=j[b+1320>>2];a=a-1|0;if(c){continue}break}}return j[b+4>>2]}function Sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;j[d>>2]=0;j[d+4>>2]=0;j[d+8>>2]=0;j[d+12>>2]=0;if(j[b+72>>2]==j[a+16>>2]){Ug(b+108|0,c)}}function RD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=j[b>>2]+15&-16;j[c>>2]=b+16;d=a,e=rl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]),o[d>>3]=e}function xB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|(k[b+12|0]-5&255)>>>0>1)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function uH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=12;a:{if(we(b,200607)){break a}d=7;if(j[c>>2]!=35){break a}j[a- -64>>2]=35;d=0}return d|0}function Oi(a,b){var c=0;if(!a){return}a=j[a+52>>2];h[a+79|0]=b;c=j[a+68>>2];b=c&-3|((b|0)!=255)<<1;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function Vp(a,b,c){a=a|0;b=b|0;c=c|0;if(a){j[a+188>>2]=b;j[a+184>>2]=c?c:1055;if(j[a+180>>2]){j[a+180>>2]=0;Ze(a,210182)}j[a+472>>2]=0}}function UD(a,b,c,d){if(a|b){while(1){c=c-1|0;h[c|0]=k[(a&15)+227456|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function He(a,b,c){if((b|0)<=0){j[c>>2]=b?6:0;return 0}a=qe[j[a+4>>2]](a,b)|0;if(!a){j[c>>2]=64;return 0}a=Ee(a,0,b);j[c>>2]=0;return a}function bk(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=j[c>>2];j[a+4>>2]=d>>>b;j[a>>2]=d<<32-b|c>>>b}function MO(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+72>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<5)+c|0}b=j[a+72>>2]}return b}function KF(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(4294967295/(c>>>0)>>>0<=b>>>0){Ze(a,207746);return 0}a=fg(a,p(b,c))}else{a=0}return a|0}function HO(a){var b=0,c=0;a:{if(j[a+4>>2]){c=j[a+76>>2];b=c;if(j[a+88>>2]<3){break a}return(j[a+96>>2]<<4)+c|0}b=j[a+76>>2]}return b}function zM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){j[b>>2]=j[a+152>>2]}if(c){j[c>>2]=j[a+156>>2]}if(d){j[d>>2]=j[a+160>>2]}return 0}function wn(a,b,c,d){if(!a){return}if(b){h[b|0]=k[j[a+52>>2]+76|0]}if(c){h[c|0]=k[j[a+52>>2]+77|0]}if(d){h[d|0]=k[j[a+52>>2]+78|0]}}function dF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|33558528}}function bK(a,b){a=a|0;b=b|0;var c=0;j[a+16>>2]=b;c=k[b+7|0];b=k[b+6|0];j[a+24>>2]=-1;j[a+28>>2]=0;j[a+32>>2]=(b<<8|c)>>>1;return 0}function PH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+32&-64;return((a|0)<0?0:0-a|0)|0}function MH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=(c-b|0)+63&-64;return((a|0)<0?0:0-a|0)|0}function IH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=(c-b|0)+16&-32;return((a|0)<0?0:0-a|0)|0}function DI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=oe-16|0;oe=e;a=gm(a,b,e+12|0);if(!a){Am(c,j[e+12>>2],d)}oe=e+16|0;return a|0}function $j(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=j[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=j[c>>2];j[a>>2]=d<>2]=c<>>32-b}function cL(a,b){a=a|0;b=b|0;var c=0;b=j[a>>2];c=j[b+376>>2];j[a+16>>2]=c;j[a+20>>2]=j[b+380>>2]-c;j[a+24>>2]=j[b+384>>2];return 0}function Ni(a){var b=0;b=j[67085];if(!b){ve(99429,0);return 0}if(!(j[a>>2]==(b+316|0)?a:0)){ve(98129,0);return 0}return j[a+48>>2]}function pg(a){var b=0,c=0,d=0;b=a;c=j[a+36>>2];a=j[a+32>>2];if(c>>>0>a+1>>>0){d=k[a|0]|k[a+1|0]<<8;a=a+2|0}j[b+32>>2]=a;return d}function jr(a,b){a=a|0;b=b|0;a=j[a+4>>2]|j[a>>2]<<16;b=j[b+4>>2]|j[b>>2]<<16;if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function ZC(){var a=0;a=j[66037];if(a){while(1){if(j[a>>2]==1){return j[a+4>>2]}a=j[a+8>>2];if(a){continue}break}}return j[57835]}function VC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=oe-16|0;oe=a;j[a+4>>2]=d;j[a>>2]=j[(c<<2)+64336>>2];ck(j[56878],64326,a);oe=a+16|0}function GD(a,b){var c=0;c=oe-144|0;oe=c;c=Ee(c,0,144);j[c+76>>2]=-1;j[c+44>>2]=a;j[c+32>>2]=1070;j[c+84>>2]=a;JD(c,b);oe=c+144|0}function fD(){var a=0,b=0;a:{a=j[65572];if(!a){break a}a=a-1|0;j[65572]=a;if(a){break a}a=j[65573];if(a){b=j[a>>2];BO(a);ze(b)}}}function cF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|20480}}function so(a,b){var c=0;c=oe-16|0;oe=c;a:{if(a>>>0>=2){j[c>>2]=1;ve(73143,c);break a}Ae(b,j[(a<<2)+73180>>2]+4|0,84)}oe=c+16|0}function pz(a){a=a|0;var b=0;b=j[a+436>>2];if(b){qe[j[57975]](b);j[57976]=j[57976]-1}if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function fF(a){a=a|0;var b=0;if(a){b=j[a+212>>2];if(b&64){xi(a,210857);return}j[a+212>>2]=b|16384;j[a+216>>2]=j[a+216>>2]|1024}}function OH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function zj(a,b){var c=0;if(!a){return}a=j[a+52>>2];c=j[a+68>>2];b=c&-4097|((b|0)!=0)<<12;j[a+68>>2]=b;if((b|0)!=(c|0)){vf(a)}}function wH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|16} -function wB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=4)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function vB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=3)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function aL(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+16>>2];return(c>>>0>b>>>0|j[a+20>>2]+c>>>0<=b>>>0?d:l[j[a+24>>2]+(b<<1)>>1])|0}function Ve(a){var b=0,c=0;if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}function OK(a){a=a|0;j[a+12>>2]=1;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function IK(a){a=a|0;j[a+12>>2]=2;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function qB(){var a=0;if(j[57817]){a=j[57833];if(a){qe[a|0]()}j[57817]=0}if(j[57796]){a=j[57812];if(a){qe[a|0]()}j[57796]=0}}function TO(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;d=He(a,96,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e}function KB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){b=0;if(k[d|0]==48){break a}if(!Me(d,71586)){break a}}b=1}j[a+120>>2]=b}function lt(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if((qe[j[c+12>>2]](c,j[b+8>>2],1,j[a+16>>2])|0)!=j[a+16>>2]){To(a)}}function HK(a){a=a|0;var b=0;j[a+140>>2]=0;j[a+112>>2]=0;b=j[a+12>>2];cr(a+28|0,b);cr(a- -64|0,b);j[a+12>>2]=0;j[a+16>>2]=0}function dJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1886352244,b,0)|0;if(!c){return $e(b,198848,a+468|0)|0}return c|0}function ag(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=j[a+720>>2];if(!c){break a}return qe[c|0](a,b)|0}return Te(b)}function wj(a,b){var c=0;c=-1;a:{if(j[a+8>>2]<1){break a}b=ai(a,b);if((b|0)<0){break a}c=j[j[a+24>>2]+(b<<2)>>2]}return c}function qG(a,b){a=a|0;b=b|0;var c=0;b=j[j[a>>2]+132>>2];c=k[b+104|0];j[a+16>>2]=c;j[a+20>>2]=(k[b+105|0]-c|0)+1;return 0}function mO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kj(j[a>>2],c,116595);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function lO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kj(j[a>>2],c,116609);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function Pt(a){a=a|0;var b=0;b=oe-16|0;oe=b;h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=j[a+68>>2];E(109699,b+14|0,b|0)|0;oe=b+16|0}function fi(a,b,c,d,e){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}h[a+327|0]=e;h[a+326|0]=d;h[a+325|0]=c;h[a+324|0]=b}function eG(a){var b=0;a:{if(!a){break a}b=j[a+156>>2];if(!b){break a}a=j[a+160>>2];if(!a){break a}qe[b|0](a,1)}Ta();z()}function Tt(a,b){a=a|0;b=b|0;a=oe-16|0;oe=a;h[a+14|0]=105;h[a+15|0]=0;j[a>>2]=j[b+8>>2];E(105403,a+14|0,a|0)|0;oe=a+16|0}function Re(a,b,c){var d=0,e=0,f=0,g=0;d=Le(b);if(c){e=a;a=c-1|0;a=a>>>0>d>>>0?d:a;f=Ae(e,b,a)+a|0,g=0,h[f|0]=g}return d}function Au(a,b){a=a|0;b=b|0;a=Fu(a,j[j[b+144>>2]>>2]);a:{if(!(S()|0)){break a}if(!yg(101383,1)){break a}R(0)}return a|0}function WE(a,b){var c=0;c=j[a+208>>2];if((c&5)==5){j[a+208>>2]=c|24;Ie(a,b);if(b){Je(a,211064)}return}hf(a,211051);z()}function Qs(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];j[b+20>>2]=j[a+20>>2];j[b+24>>2]=j[a+24>>2];return yk(c,a+28|0,b+28|0)|0}function TD(a,b,c){if(a|b){while(1){c=c-1|0;h[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function zH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|8}function qF(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((dk(b,1,c,j[a+188>>2])|0)==(c|0)){break a}Ye(a,210171);z()}}function oJ(a,b){a=a|0;b=b|0;a=j[j[a>>2]+4>>2];b=j[j[b>>2]+4>>2];if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function mE(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=k[d|0]){continue}break}return d}function Uq(a){a=a|0;var b=0;b=j[a+4>>2];qe[j[j[j[a+12>>2]+56>>2]+8>>2]](j[a+52>>2],j[b+164>>2],j[b+168>>2]);return 0}function Uf(a){var b=0,c=0;c=Le(a)+1|0;b=c;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Ae(b,a,c)}return b}function NH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=c-b&-64;return((a|0)<0?0:0-a|0)|0}function Hr(a){a=a|0;var b=0,c=0;b=j[j[a>>2]+100>>2];c=j[a+20>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+16>>2]=0;j[a+20>>2]=0}function $p(a,b){var c=0;a:{if(!a|!b){break a}c=j[b>>2];if(!c){break a}j[b>>2]=0;fj(a,c,32767,-1);Ke(a,Ee(c,0,268))}}function ro(a,b,c){if(!(j[a>>2]==268306?a:0)){ve(73666,0);return}if(b){j[b>>2]=j[a+12>>2]}if(c){j[c>>2]=j[a+16>>2]}}function qp(a,b,c,d,e,f,g,h,i){j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function iJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=$e(b,198352,a+160|0)}return c|0}function hu(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){Eo()}zf(j[c+4>>2],(a|0)==13?12:13,0,0);return(We(512,-1)|0)==1|0}function fs(a){a=a|0;var b=0,c=0;b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0}function ZI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=$e(b,198960,a+548|0)}return c|0}function YI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=$e(b,198352,a+160|0)}return c|0}function Ms(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Em(j[a>>2],i[a+22>>1],i[a+20>>1],b);if(!c){$r(a+20|0,b)}return c|0}function oj(a){var b=0,c=0;if(a){b=j[j[a>>2]>>2];c=j[j[a+4>>2]+12>>2];if(c){qe[c|0](a)}if(a){qe[j[b+8>>2]](b,a)}}}function hp(a){var b=0,c=0;b=oe-16|0;oe=b;BD(b,a);c=rl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]);oe=b+16|0;return c}function gk(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}}function Xe(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=qe[j[57973]](a?c:1,a?b:1)|0;if(a){j[57976]=j[57976]+1}return a}function RC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Vo(j[a+92>>2],b,c);d=d-c|0;if((d|0)>=1){Oe(b+c|0,k[a+11|0],d)}}function QD(){var a=0;a:{a=j[65572];if(!a){if(UO()){break a}a=j[65572]}j[65572]=a+1;return 0}ve(63172,0);return-1}function kP(a){var b=0,c=0;b=v(a);c=a-b;if(!(c<.5)){a=w(a);if(c>.5){return a}c=a;a=b*.5;b=a-v(a)==0?b:c}return b}function uq(a){var b=0;if(a){b=j[a+4>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}}function Uj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66053]](a)}function UI(){var a=0;a=j[65534];if(a&1){a=j[65534]}if(a&2){a=j[65535];if(a){j[65535]=a-1}a=j[65534]}j[65534]=0}function Tj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66054]](a)}function Bs(a,b){a=a|0;b=b|0;j[a+24>>2]=j[b+20>>2];j[a+4>>2]=j[b>>2];j[a+28>>2]=j[b+24>>2];Vm(a,b,0);Vm(a,b,1)}function iu(a,b,c){a=a|0;b=b|0;c=c|0;GB(j[c+4>>2],q(o[b+64>>3]),q(-q(o[b+72>>3])));return(We(1027,-1)|0)==1|0}function dz(){var a=0;Xj(16384);a=j[67077];if(a){if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[67077]=0}}function _g(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;return j[b+12>>2]}function Bp(a){var b=0;a=Cp(a);b=pe;if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){j[67100]=61;return-1}return a}function bE(a){var b=0;b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function _K(a,b){a=a|0;b=b|0;b=j[a>>2];return qe[j[j[b+484>>2]+4>>2]](j[b+100>>2],a,j[b+416>>2],719,0,b)|0}function Je(a,b){var c=0;c=oe-224|0;oe=c;if(k[a+214|0]&16){gj(a,c,b);Ze(a,c);oe=c+224|0;return}hf(a,b);z()}function Iu(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+68>>2]](j[a+8>>2],b)|0}}function th(a,b){if(!j[a+248>>2]){b=b+7|0;if(b>>>0<=9){b=j[(b<<2)+210032>>2]}else{b=207838}j[a+248>>2]=b}}function sA(a,b){a=a|0;b=b|0;j[a+8>>2]=b;a=Im(a+16|0,0);if((a|0)<=-1){Ti(3124,a);a=-1}else{a=0}return a|0}function jf(a,b){var c=0;if(!(!a|!j[a+20>>2])){a=j[a+28>>2];c=j[b>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0}function Nu(a,b){a=a|0;b=b|0;a=j[j[a+992>>2]+56>>2];a:{if(a){a=qe[a|0](b)|0;if(a){break a}}a=0}return a|0}function LB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(hp(d))}n[a+100>>2]=e}function ID(a,b){var c=0;c=oe-16|0;j[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;j[c+8>>2]=a+4;return j[a>>2]}function zm(a,b){var c=0;if(!(!a|!b)){c=j[a+4>>2];j[b>>2]=c;j[b+4>>2]=0;j[(c?c+4|0:a)>>2]=b;j[a+4>>2]=b}}function MB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(hp(d))}n[a+96>>2]=e}function sO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return lj(b,333319,e)|0}function rO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return lj(b,333312,e)|0}function jE(a){var b=0;j[a>>2]=0;j[a+4>>2]=0;b=Te(256);j[a+12>>2]=b;j[a+8>>2]=b;h[b|0]=0;j[a+16>>2]=256}function gt(a,b,c){a=a|0;b=b|0;c=c|0;bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);Oe(b,k[a+11|0],c);return c|0}function Bu(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!c)){return Ek(a,j[j[b+144>>2]>>2],c)|0}return Ek(a,0,0)|0}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=oe-16|0;oe=d;a=He(a,p(b,c),d+12|0);oe=d+16|0;return a|0}function LH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c|0;return((a|0)>0?a:0)|0}a=b-c|0;return a>>31&a}function KJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=Iq(a,c+12|0,0);oe=c+16|0;return a|0}function GJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=Gq(a,c+12|0,0);oe=c+16|0;return a|0}function FC(a){var b=0;b=l[a+4>>1];h[a+7|0]=((b|0)==8)<<7;j[a+12>>2]=p(l[a+8>>1],p(k[a+6|0],b>>>3&31))}function DN(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[j[b+140>>2]+52>>2];j[a+20>>2]=j[b+144>>2];return 0}function XF(a,b,c,d,e){if(!(!a|!b)){h[b+188|0]=e;j[b+184>>2]=d;j[b+180>>2]=c;j[b+8>>2]=j[b+8>>2]|256}}function SF(a,b,c,d,e){if(!(!a|!b)){h[b+200|0]=e;j[b+196>>2]=d;j[b+192>>2]=c;j[b+8>>2]=j[b+8>>2]|128}}function jj(a,b,c){if((b|0)>=1){a=qe[j[a+4>>2]](a,b)|0;j[c>>2]=!a<<6;return a}j[c>>2]=b?6:0;return 0}function fG(a,b){var c=0;c=oe-16|0;oe=c;j[c>>2]=b?b:206865;b=j[56878];bk(b,206848,c);yl(b);eG(a);z()}function Th(a,b){var c=0;if(!(!a|!b)){c=j[b>>2];b=j[b+4>>2];j[(c?c+4|0:a)>>2]=b;j[(b?b:a+4|0)>>2]=c}}function QO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+156>>2]=b;j[a+160>>2]=c;j[a+164>>2]=d;j[a+168>>2]=0}function tH(a,b,c){a=a|0;b=b|0;c=c|0;if(we(b,200607)){a=12}else{j[c>>2]=j[a- -64>>2];a=0}return a|0}function ZM(a,b){a=a|0;b=b|0;a=j[a+656>>2];h[b|0]=0;if(!(!a|j[a+1456>>2]==65535)){h[b|0]=1}return 0}function UO(){var a=0,b=0;a=WN();if(!a){return 7}b=CO(a);if(b){ze(a);return b}VO(j[65573]);return 0}function lJ(a,b){a=a|0;b=b|0;var c=q(0),d=q(0);c=n[j[a>>2]>>2];d=n[j[b>>2]>>2];return(cd)|0}function WN(){var a=0;a=Te(16);if(a){j[a+12>>2]=597;j[a+4>>2]=598;j[a>>2]=0;j[a+8>>2]=599}return a}function Po(a){a=a-1|0;a:{if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}a=0;ve(64816,0)}Af(a)}function Eo(){var a=0;while(1){if(k[a+265490|0]==1){il(0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function EN(a,b){a=a|0;b=b|0;a=j[a+4>>2];b=j[b+4>>2];if((a|0)>=(b|0)){return(a|0)>(b|0)|0}return-1}function Ap(){var a=0;a=Ra(1352)|0;if((a|0)==-31){a=Qa(1352)|0}if(a>>>0>=4294963201){j[67100]=0-a}}function ht(a){a=a|0;j[a+80>>2]=1;j[a+32>>2]=534;j[a+4>>2]=535;j[a+72>>2]=1;j[a+76>>2]=1;return 1}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){a=1;if(k[d|0]==49){break a}}a=0}h[268304]=a}function Ue(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;a=vl(a,b,c?c:86580,d);oe=e+16|0;return a}function Ye(a,b){var c=0;a:{if(!a){break a}c=j[a+168>>2];if(!c){break a}qe[c|0](a,b)}fG(a,b);z()}function TN(a,b){a=a|0;b=b|0;a=j[j[a>>2]>>2];b=j[j[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function NG(a){a=a|0;var b=0;b=Kf(j[a+4>>2],204104);if(!b){return 11}j[a+28>>2]=j[b>>2];return 0}function Ke(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=j[a+724>>2];if(c){qe[c|0](a,b);return}ze(b)}}function uO(a,b){a=a|0;b=b|0;a=l[a>>1];b=l[b>>1];if(a>>>0>=b>>>0){return a>>>0>b>>>0|0}return-1}function ig(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;j[c+8>>2]=a;a=qk(c+8|0);oe=c+16|0;return a}function bn(){if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;return}O(268392,0)|0}}function Oj(a,b,c,d,e){a:{if(c|!a){break a}if(Gh(a,d,e,(b|0)!=-1)){break a}return}Fh(a,b,c,d,e)}function Rq(a,b,c){a=a|0;b=b|0;c=c|0;return qe[j[j[j[a+12>>2]+56>>2]+12>>2]](j[a+52>>2],b,c)|0}function rk(a){var b=0;if(j[a+36>>2]){b=j[a+32>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}ze(a)}}function rF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+724>>2]=d;j[a+720>>2]=c;j[a+716>>2]=b}}function dM(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[b+296>>2];j[a+20>>2]=j[b+300>>2];return 0}function $F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+172>>2]=d;j[a+168>>2]=c;j[a+176>>2]=b}}function iD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=qe[a|0](b,c,d,e)|0;D(pe|0);return a|0}function Pz(a,b){a=a|0;b=+b;a=Im(a+16|0,b);if((a|0)<=-1){Ti(3124,a);a=-1}else{a=0}return a|0}function IG(a){a=a|0;if(zh(j[j[a>>2]+500>>2]+108|0,j[a+44>>2])){ds(j[a+44>>2]);j[a+44>>2]=0}}function Eh(a){var b=0,c=0;b=Un();if(!(!a|!b|m[b>>2]>>0)){c=j[((a<<3)+b|0)-4>>2]}return c}function jL(a){a=a|0;var b=0,c=0;b=j[a>>2];c=j[a+4>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+4>>2]=0}function gK(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=0;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function cK(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=2;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function YJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=4;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function TJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=6;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function Ls(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Ah(a+20|0,b)}if(c){Tf(a+20|0,j[c>>2],j[c+4>>2])}}function uI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=cm(a,b,c,d,3);if(!a){h[b+94|0]=5}return a|0}function tI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=cm(a,b,c,d,4);if(!a){h[b+94|0]=6}return a|0}function mF(a,b){a=a|0;b=b|0;if(a){if(!(k[a+212|0]&64)){Bl(a);aF(a,b);return}xi(a,210321)}}function eD(){h[262336]=1;Xj(62001);h[268376]=0;$C();dD();YC();Oe(262304,0,32);h[262336]=0}function OB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!k[d|0])){b=rf(d)}j[a+112>>2]=b}function EA(a,b){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return-1}Ae(b,a+104|0,84);return 0}function _f(a,b,c){b=_e(a,b);if(!b){j[c>>2]=j[a+32>>2];j[a+32>>2]=0;j[a+36>>2]=0}return b}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!k[d|0])){b=rf(d)}j[a+116>>2]=b}function yH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d}function DA(a){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}n[a+288>>2]=2;n[a+292>>2]=2}function mP(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function fI(a){a=a|0;j[a+296>>2]=-1;j[a+300>>2]=-1;j[a+112>>2]=-1;h[a+108|0]=0;return 0}function kq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Am(c,j[j[a+420>>2]+(b<<2)>>2],d);return 0}function PI(a){a=a|0;jf(j[a+104>>2],a+724|0);j[a+736>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0}function OG(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=qe[j[b+52>>2]](b,0,0,0)|0,j[c+540>>2]=d}function pf(a,b,c){var d=0;d=j[a+184>>2];if(d){qe[d|0](a,b,c);return}Ye(a,210144);z()}function mf(a,b){b=qe[j[57974]](a,a|b?b:1)|0;if(!(!b|a)){j[57976]=j[57976]+1}return b}function lP(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function ko(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74068>>2]}return a>>>20&15}function jo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74088>>2]}return a>>>24&15}function fM(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+176>>2];j[c>>2]=j[a+180>>2];return 0}function IN(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+132>>2];j[c>>2]=j[a+136>>2];return 0}function mo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74028>>2]}return a>>>4&15}function lo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74048>>2]}return a>>>8&15}function gN(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function AH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d}function mG(a){a=a|0;if(!(!a|k[a+436|0]>7)){h[a+437|0]=8;j[a+216>>2]=j[a+216>>2]|4}}function hN(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function Vg(){var a=0;a=j[67085];if(!a){ve(99429,0);return 0}return Eh(j[a+708>>2])}function xz(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a>>2]=j[(b?b+76|0:a+4|0)>>2];return 0}function qz(a,b){a=a|0;b=b|0;if(k[b+12|0]==6){a=j[a+436>>2];j[a>>2]=0;j[a+4>>2]=0}}function nB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qe[j[a+4>>2]](a,b,c,d)|0;return a|0}function ti(a,b){a=Sa(a|0,b|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}return a}function hf(a,b){var c=0;c=oe-224|0;oe=c;if(!a){Ye(0,b);z()}gj(a,c,b);Ye(a,c);z()}function bz(a){a=a|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}return a|0}function Gu(a){a=a|0;a=j[a+992>>2];if(!a){ve(100780,0);return 0}return j[a+16>>2]}function oG(a,b){a=a|0;b=b|0;b=b-j[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function UC(a,b,c){a=a|0;b=b|0;c=c|0;a=a?j[a+188>>2]:0;qe[j[a+8>>2]](a,b,c,1)|0}function wD(){var a=0;a=hi(1700,63334);if(!a){ve(Jg(),0);return 0}return LD(a)}function vI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return cm(a,b,(c|0)==1?0:c,d,0)|0}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return qe[a|0](b,c,d,e)|0}function ek(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;vl(a,b,c,d);oe=e+16|0}function DM(a){a=a|0;a=j[a+140>>2];if(a){return(k[a|0]==47?a+1|0:a)|0}return 0}function xv(){var a=0;a=Xe(1,88);if(!a){Be(0);return 0}j[a+76>>2]=-1;return a}function xp(a,b,c,d){if(j[a+76>>2]<=-1){return yp(a,b,c,d)}return yp(a,b,c,d)}function sC(a){a=a|0;a=j[a+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function UH(a,b,c){a=a|0;b=b|0;c=c|0;a=j[a+384>>2]+(b<<2)|0;j[a>>2]=j[a>>2]+c}function HF(a){a=a|0;if(!a){return 0}a=ag(a,268);if(a){Ee(a,0,268)}return a|0}function XC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ki(1,2,64106,a);oe=b+16|0}function WC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ki(6,3,73400,a);oe=b+16|0}function LA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[a+4>>2]](a,b,c,d)|0}function FA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[d+8>>2]](d,a,b,c)|0}function nN(a,b){a=a|0;b=b|0;return(b>>>0<=255?l[j[a+16>>2]+(b<<1)>>1]:0)|0}function jK(a,b){a=a|0;b=b|0;return(b>>>0<=255?k[(j[a+16>>2]+b|0)+6|0]:0)|0}function au(a,b,c){a=a|0;b=b|0;c=c|0;zf(j[c+4>>2],j[b>>2]?2:1,0,0);return 0}function rM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qm(j[a+12>>2],b,c,d)|0}function po(a){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}j[a+328>>2]=1}function ji(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(1,5,a,b);oe=c+16|0}function iF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:j[b+8>>2]&c)|0}function bk(a,b,c){var d=0;d=oe-16|0;oe=d;j[d+12>>2]=c;rp(a,b,c);oe=d+16|0}function Zi(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(2,4,a,b);oe=c+16|0}function Xo(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(4,6,a,b);oe=c+16|0}function $g(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(0,3,a,b);oe=c+16|0}function jA(a,b){a=a|0;b=b|0;if(k[b+12|0]==7){qe[j[j[a+436>>2]+84>>2]]()}}function XK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+12>>2]](a,b)|0}function wK(a){a=a|0;return(a>>>0<=390?i[(a<<1)+196512>>1]+192288|0:0)|0}function gL(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0}function YK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+8>>2]](a,b)|0}function CB(a){a=a|0;sc(a|0,177)|0;a=a-2|0;if(!a|(a|0)==13){h[268216]=1}}function AL(a,b){a=a|0;b=b|0;Pf(a,j[a+8>>2]);return xh(a,j[a+8>>2],b)|0}function xK(a){a=a|0;return i[((a>>>0>257?0:a)<<1)+195984>>1]+192288|0}function pN(a,b){a=a|0;b=b|0;j[a+16>>2]=j[j[a>>2]+656>>2]+640;return 0}function ck(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;XD(a,b);oe=c+16|0}function Zy(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;GD(a,b);oe=c+16|0}function YN(a){a=a|0;Lh(j[a+12>>2]);j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}function vx(a,b,c){a=a|0;b=b|0;c=c|0;return So(a,b,c,j[a+32>>2],76)|0}function aA(a,b,c){a=a|0;b=b|0;c=c|0;return So(a,b,c,j[a+12>>2],65)|0}function wu(a,b){a=a|0;b=b|0;a=j[b+144>>2];kf(j[a+8>>2]);j[a+8>>2]=0}function ZO(a){a=a|0;j[a+12>>2]=48;j[a+16>>2]=5;h[a+20|0]=0;return 0}function rI(a,b){a=a|0;b=b|0;bm(b,j[a>>2]<<2,j[a+4>>2]<<2);return 0}function fz(a,b){a=a|0;b=b|0;a=tj(a);if(!a){return 0}return yz(a)|0}function Cp(a){if(j[a+76>>2]<=-1){a=Dp(a);return a}a=Dp(a);return a}function AI(a,b){a=a|0;b=b|0;return qe[j[j[a+12>>2]+48>>2]](a,b)|0}function uD(a,b){a=a|0;b=b|0;if(!j[67126]){j[67127]=b;j[67126]=a}}function kA(a,b,c){a=a|0;b=b|0;c=c|0;kn(j[a+188>>2],b,c);return 0}function cG(a,b){a=a|0;b=b|0;return j[j[a>>2]>>2]-j[j[b>>2]>>2]|0}function Qp(a,b){b=sH(b);if(!b){return 0}a=Yk(a,b);kf(b);return a}function hF(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:k[b+29|0])|0}function fu(a,b,c){a=a|0;b=b|0;c=c|0;j[c+32>>2]=j[b>>2];return 0}function Vq(a){a=a|0;var b=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}function rG(a,b){a=a|0;b=b|0;Ae(b,j[a+132>>2]+4|0,156);return 0}function Yn(a){a=a|0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function TH(a,b,c){a=a|0;b=b|0;c=c|0;j[j[a+384>>2]+(b<<2)>>2]=c}function Be(a){ve(a>>>0<=4?j[(a<<2)+64260>>2]:64241,0);return-1}function jD(a,b){a=a|0;b=b|0;a=qe[a|0](b)|0;D(pe|0);return a|0}function Em(a,b,c,d){if(!a){return 33}return zO(j[a>>2],b,c,d)}function xi(a,b){if(k[a+214|0]&64){Ze(a,b);return}Ye(a,b);z()}function xM(a,b,c){a=a|0;b=b|0;c=c|0;if(c){j[c>>2]=b}return 0}function sJ(a,b){a=a|0;b=b|0;j[b>>2]=-1;j[b+4>>2]=14;return 0}function cq(a,b){if(k[a+214|0]&32){Ze(a,b);return}Ye(a,b);z()}function VN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vf(d,c)|0}function Cu(a,b){a=a|0;b=b|0;return Ku(a,j[j[b+144>>2]>>2])|0}function ZK(a,b){a=a|0;b=b|0;return j[j[a+420>>2]+(b<<2)>>2]}function SH(a,b){a=a|0;b=b|0;return j[j[a+384>>2]+(b<<2)>>2]}function bL(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}function Qo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Be(4)|0}function Fy(a){a=a|0;return k[a|0]|k[a+1|0]<<8|k[a+2|0]<<16}function mB(a){a=a|0;a=qe[j[a+4>>2]](a,0,0,1)|0;return a|0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;jl(257);return 104268}function iq(a,b){a=a|0;b=b|0;i[b>>1]=l[a+164>>1];return 0}function fB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xo(d,268264)}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xo(d,268252)}function Mf(a){var b=0;if(!(!a|!k[a|0])){b=yD(a)}return b}function BM(a,b){a=a|0;b=b|0;i[b>>1]=l[a+312>>1];return 0}function uK(a){a=a|0;j[a+148>>2]=j[a+148>>2]+i[a+156>>1]}function sE(a,b,c){a=a|0;b=b|0;c=c|0;return Te(p(b,c))|0}function of(a,b,c){if(a){j[a+4>>2]=0;j[a>>2]=b;RN(a,c)}}function gq(a,b){a=a|0;b=b|0;Ae(b,a+168|0,196);return 0}function aP(a,b,c){a=a|0;b=b|0;c=c|0;return Mm(a,b,c)|0}function QC(a,b,c){a=a|0;b=b|0;c=c|0;nl(j[a+92>>2],b,c)}function OI(a,b,c){a=a|0;b=b|0;c=c|0;return LO(a,b,c)|0}function FD(a,b,c){a=a|0;b=b|0;c=c|0;return HD(a,b,c)|0}function TG(a,b){a=a|0;b=b|0;j[b+372>>2]=j[b+372>>2]|1}function Ar(a,b){a=a|0;b=b|0;if(b){qe[j[a+8>>2]](a,b)}}function sh(a,b){if(b){Ae(b+40|0,a+824|0,76);EF(a,b)}}function rC(a){a=a|0;Oe(j[a+248>>2],0,j[a+240>>2]<<2)}function ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function ah(a,b){a=iE(a,b);return k[a|0]==(b&255)?a:0}function Xs(a){a=a|0;a=j[a+84>>2];if(a){j[a+16>>2]=0}}function yM(a,b){a=a|0;b=b|0;if(b){h[b|0]=1}return 0}function tz(){var a=0;a=j[65550];if(a){j[65550]=a-1}}function UA(a){a=a|0;return qe[j[a+4>>2]](a,0,0,1)|0}function gP(a){if(a){return 31-s(a-1^a)|0}return 32}function dI(a){a=a|0;return SO(j[j[a+156>>2]>>2])|0}function xG(a,b){a=a|0;b=b|0;return rg(205440,b)|0}function rJ(a,b){a=a|0;b=b|0;return rg(199104,b)|0}function qH(a,b){a=a|0;b=b|0;return rg(201408,b)|0}function kM(a,b){a=a|0;b=b|0;return rg(132368,b)|0}function kK(a,b){a=a|0;b=b|0;j[a+16>>2]=b;return 0}function YO(a,b){a=a|0;b=b|0;return rg(116320,b)|0}function YL(a,b){a=a|0;b=b|0;return rg(133152,b)|0}function PN(a,b){a=a|0;b=b|0;return rg(116832,b)|0}function MM(a,b){a=a|0;b=b|0;return rg(124096,b)|0}function MG(a,b){a=a|0;b=b|0;return rg(204128,b)|0}function DK(a,b){a=a|0;b=b|0;return rg(197296,b)|0}function zJ(a,b){a=a|0;b=b|0;j[b>>2]=0;return 0}function vp(a,b){if(!a){return 0}return VD(a,b)}function oD(a){a=a|0;a=oe-a&-16;oe=a;return a|0}function nz(a){a=a|0;a=j[a+188>>2];if(a){_u(a)}}function GH(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function FH(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function wm(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0}function mt(a){a=a|0;return j[j[a+96>>2]+8>>2]}function mn(a){if((j[a+48>>2]&69)==5){Xg(a,1)}}function Hf(a,b,c){if(!(k[a|0]&32)){ql(b,c,a)}}function oI(a){a=a|0;j[a- -64>>2]=35;return 0}function Vn(a,b){return kp(a,b,-2147483648,0)}function NC(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Dk(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function um(a){a=a|0;j[j[a+156>>2]+36>>2]=0}function oz(a,b){a=a|0;b=b|0;kf(j[b+76>>2])}function kt(a){a=a|0;bg(j[j[a+96>>2]+4>>2])}function it(){Uo(0,111644,1);Uo(1,111671,2)}function hP(a,b,c,d){a=dP(a,b,c,d);return a}function eN(a){a=a|0;return j[a+8>>2]>>>9&1}function UN(a,b){a=a|0;b=b|0;return Te(b)|0}function Pe(a,b){j[a+168>>2]=b;F(a|0,1);z()}function PD(a){a=a|0;return X(j[a+60>>2])|0}function uu(a,b,c){a=a|0;b=b|0;c=c|0;Be(4)}function iB(){j[65550]=j[65550]+1;return 0}function zl(a,b){return mE(a,b,Le(a)+1|0)}function xA(a,b){a=a|0;b=b|0;j[a+12>>2]=b}function Ox(a,b){a=a|0;b=b|0;j[a+32>>2]=b}function Ks(a,b){a=a|0;b=b|0;Ug(a+20|0,b)}function Jp(a,b){Ip(Le(a)+a|0,b);return a}function lq(a){a=a|0;return j[a+364>>2]}function eI(a){a=a|0;xq(a);h[a+108|0]=0}function Rs(a){a=a|0;Ym(j[a>>2],a+28|0)}function RH(a){a=a|0;return l[a+252>>1]}function Ns(a){a=a|0;_r(j[a>>2],a+20|0)}function pC(a,b){a=a|0;b=b|0;Yi(a,1,b)}function oC(a,b){a=a|0;b=b|0;Yi(a,2,b)}function nD(a){a=a|0;return j[a+60>>2]}function nC(a,b){a=a|0;b=b|0;Yi(a,4,b)}function mC(a,b){a=a|0;b=b|0;Yi(a,6,b)}function lC(a,b){a=a|0;b=b|0;Yi(a,8,b)}function Jg(){Zo(263120);return 263120}function Vk(a,b){a=a|0;b=b|0;return 0}function jm(a,b,c){a=a|0;b=b|0;c=c|0}function fA(a){a=a|0;Ru(j[a+188>>2])}function aq(a,b){a=a|0;b=b|0;Ke(a,b)}function GG(a){a=a|0;ks(j[a+160>>2])}function DL(a){a=a|0;Pf(a,j[a+8>>2])}function wf(a,b,c){return Cg(a,b,c)}function jP(a,b,c){return fP(a,b,c)}function iP(a,b,c){return eP(a,b,c)}function hI(a){a=a|0;Ve(j[a+24>>2])}function an(){ve(111895,0);return 0}function Uk(a,b,c){return lE(a,b,c)}function TC(a){a=a|0;return j[a>>2]}function Gy(a){a=a|0;return l[a>>1]}function GK(a){a=a|0;return a+100|0}function FK(a){a=a|0;return a+112|0}function EK(a){a=a|0;return a+140|0}function nP(a,b){pe=a;return b} +function wB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=4)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function vB(a,b){a=a|0;b=b|0;var c=0;a:{if(!(j[b>>2]!=512|k[b+12|0]!=3)){c=0;if(j[b+8>>2]==j[a+8>>2]){break a}}c=1}return c|0}function aL(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+16>>2];return(c>>>0>b>>>0|j[a+20>>2]+c>>>0<=b>>>0?d:l[j[a+24>>2]+(b<<1)>>1])|0}function Ve(a){var b=0,c=0;if(j[a+20>>2]){b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0}j[a+32>>2]=0;j[a+36>>2]=0}function OK(a){a=a|0;j[a+12>>2]=1;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function IK(a){a=a|0;j[a+12>>2]=2;j[a+16>>2]=0;j[a+4>>2]=0;j[a+76>>2]=0;j[a- -64>>2]=0;j[a+52>>2]=0;j[a+40>>2]=0;j[a+28>>2]=0}function qB(){var a=0;if(j[57817]){a=j[57833];if(a){qe[a|0]()}j[57817]=0}if(j[57796]){a=j[57812];if(a){qe[a|0]()}j[57796]=0}}function TO(a,b){var c=0,d=0,e=0;c=oe-16|0;oe=c;d=He(a,96,c+12|0);e=j[c+12>>2];if(!e){j[d>>2]=a;j[b>>2]=d}oe=c+16|0;return e}function KB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){b=0;if(k[d|0]==48){break a}if(!Me(d,71586)){break a}}b=1}j[a+120>>2]=b}function lt(a){a=a|0;var b=0,c=0;b=j[a+96>>2];c=j[b>>2];if((qe[j[c+12>>2]](c,j[b+8>>2],1,j[a+16>>2])|0)!=j[a+16>>2]){To(a)}}function HK(a){a=a|0;var b=0;j[a+140>>2]=0;j[a+112>>2]=0;b=j[a+12>>2];cr(a+28|0,b);cr(a- -64|0,b);j[a+12>>2]=0;j[a+16>>2]=0}function dJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1886352244,b,0)|0;if(!c){return $e(b,198848,a+468|0)|0}return c|0}function ag(a,b){var c=0;if(!b){return 0}a:{if(!a){break a}c=j[a+720>>2];if(!c){break a}return qe[c|0](a,b)|0}return Te(b)}function wj(a,b){var c=0;c=-1;a:{if(j[a+8>>2]<1){break a}b=ai(a,b);if((b|0)<0){break a}c=j[j[a+24>>2]+(b<<2)>>2]}return c}function qG(a,b){a=a|0;b=b|0;var c=0;b=j[j[a>>2]+132>>2];c=k[b+104|0];j[a+16>>2]=c;j[a+20>>2]=(k[b+105|0]-c|0)+1;return 0}function mO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kj(j[a>>2],c,116595);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function lO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kj(j[a>>2],c,116609);if(!a){return 64}j[d>>2]=a;j[e>>2]=0;return 0}function Pt(a){a=a|0;var b=0;b=oe-16|0;oe=b;h[b+14|0]=105;h[b+15|0]=0;j[b>>2]=j[a+68>>2];E(109699,b+14|0,b|0)|0;oe=b+16|0}function fi(a,b,c,d,e){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}h[a+327|0]=e;h[a+326|0]=d;h[a+325|0]=c;h[a+324|0]=b}function eG(a){var b=0;a:{if(!a){break a}b=j[a+156>>2];if(!b){break a}a=j[a+160>>2];if(!a){break a}qe[b|0](a,1)}Ta();z()}function Tt(a,b){a=a|0;b=b|0;a=oe-16|0;oe=a;h[a+14|0]=105;h[a+15|0]=0;j[a>>2]=j[b+8>>2];E(105403,a+14|0,a|0)|0;oe=a+16|0}function Re(a,b,c){var d=0,e=0,f=0,g=0;d=Le(b);if(c){e=a;a=c-1|0;a=a>>>0>d>>>0?d:a;f=Ae(e,b,a)+a|0,g=0,h[f|0]=g}return d}function Au(a,b){a=a|0;b=b|0;a=Fu(a,j[j[b+144>>2]>>2]);a:{if(!(S()|0)){break a}if(!yg(101383,1)){break a}R(0)}return a|0}function WE(a,b){var c=0;c=j[a+208>>2];if((c&5)==5){j[a+208>>2]=c|24;Ie(a,b);if(b){Je(a,211064)}return}hf(a,211051);z()}function Qs(a,b){a=a|0;b=b|0;var c=0;c=j[a>>2];j[b+20>>2]=j[a+20>>2];j[b+24>>2]=j[a+24>>2];return zk(c,a+28|0,b+28|0)|0}function TD(a,b,c){if(a|b){while(1){c=c-1|0;h[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function zH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+16>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d;a=j[b+24>>2]+c|0;h[a|0]=k[a|0]|8}function qF(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((ek(b,1,c,j[a+188>>2])|0)==(c|0)){break a}Ye(a,210171);z()}}function oJ(a,b){a=a|0;b=b|0;a=j[j[a>>2]+4>>2];b=j[j[b>>2]+4>>2];if(a>>>0<=b>>>0){return(a>>>0>>0?-1:0)|0}return 1}function mE(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=k[d|0]){continue}break}return d}function Uq(a){a=a|0;var b=0;b=j[a+4>>2];qe[j[j[j[a+12>>2]+56>>2]+8>>2]](j[a+52>>2],j[b+164>>2],j[b+168>>2]);return 0}function Uf(a){var b=0,c=0;c=Le(a)+1|0;b=c;b=qe[j[57972]](b?b:1)|0;if(b){j[57976]=j[57976]+1}if(b){Ae(b,a,c)}return b}function NH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=c-b&-64;return((a|0)<0?0:0-a|0)|0}function Hr(a){a=a|0;var b=0,c=0;b=j[j[a>>2]+100>>2];c=j[a+20>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+16>>2]=0;j[a+20>>2]=0}function $p(a,b){var c=0;a:{if(!a|!b){break a}c=j[b>>2];if(!c){break a}j[b>>2]=0;fj(a,c,32767,-1);Ke(a,Ee(c,0,268))}}function ro(a,b,c){if(!(j[a>>2]==268306?a:0)){ve(73666,0);return}if(b){j[b>>2]=j[a+12>>2]}if(c){j[c>>2]=j[a+16>>2]}}function qp(a,b,c,d,e,f,g,h,i){j[a>>2]=b;j[a+4>>2]=c;j[a+8>>2]=d;j[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function iJ(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1751474532,b,0)|0;if(!c){c=$e(b,198352,a+160|0)}return c|0}function hu(a,b,c){a=a|0;b=b|0;c=c|0;if((a|0)==12){Eo()}zf(j[c+4>>2],(a|0)==13?12:13,0,0);return(We(512,-1)|0)==1|0}function fs(a){a=a|0;var b=0,c=0;b=j[a+28>>2];c=j[a>>2];if(c){qe[j[b+8>>2]](b,c)}j[a>>2]=0;j[a+4>>2]=0;j[a+24>>2]=0}function ZI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1346587732,b,0)|0;if(!c){c=$e(b,198960,a+548|0)}return c|0}function YI(a,b){a=a|0;b=b|0;var c=0;c=qe[j[a+508>>2]](a,1651008868,b,0)|0;if(!c){c=$e(b,198352,a+160|0)}return c|0}function Ms(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Em(j[a>>2],i[a+22>>1],i[a+20>>1],b);if(!c){$r(a+20|0,b)}return c|0}function oj(a){var b=0,c=0;if(a){b=j[j[a>>2]>>2];c=j[j[a+4>>2]+12>>2];if(c){qe[c|0](a)}if(a){qe[j[b+8>>2]](b,a)}}}function hp(a){var b=0,c=0;b=oe-16|0;oe=b;BD(b,a);c=rl(j[b>>2],j[b+4>>2],j[b+8>>2],j[b+12>>2]);oe=b+16|0;return c}function hk(a){var b=0;if(a){b=j[a>>2];if(b){ze(b)}b=j[a+16>>2];if(b){ze(b)}b=j[a+20>>2];if(b){ze(b)}Ee(a,0,360)}}function Xe(a,b){var c=0;c=a;a=(a|0)!=0&(b|0)!=0;a=qe[j[57973]](a?c:1,a?b:1)|0;if(a){j[57976]=j[57976]+1}return a}function RC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Vo(j[a+92>>2],b,c);d=d-c|0;if((d|0)>=1){Oe(b+c|0,k[a+11|0],d)}}function QD(){var a=0;a:{a=j[65572];if(!a){if(UO()){break a}a=j[65572]}j[65572]=a+1;return 0}ve(63172,0);return-1}function kP(a){var b=0,c=0;b=v(a);c=a-b;if(!(c<.5)){a=w(a);if(c>.5){return a}c=a;a=b*.5;b=a-v(a)==0?b:c}return b}function uq(a){var b=0;if(a){b=j[a+4>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+8>>2]=0}}function Vj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66053]](a)}function Uj(a){a:{a=a-1|0;if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}ve(64816,0);return}qe[j[66054]](a)}function UI(){var a=0;a=j[65534];if(a&1){a=j[65534]}if(a&2){a=j[65535];if(a){j[65535]=a-1}a=j[65534]}j[65534]=0}function Bs(a,b){a=a|0;b=b|0;j[a+24>>2]=j[b+20>>2];j[a+4>>2]=j[b>>2];j[a+28>>2]=j[b+24>>2];Vm(a,b,0);Vm(a,b,1)}function iu(a,b,c){a=a|0;b=b|0;c=c|0;GB(j[c+4>>2],q(o[b+64>>3]),q(-q(o[b+72>>3])));return(We(1027,-1)|0)==1|0}function dz(){var a=0;Yj(16384);a=j[67077];if(a){if(a){if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}j[67077]=0}}function _g(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=0;qe[j[a+8>>2]](a,b+12|0,4,1)|0;oe=b+16|0;return j[b+12>>2]}function Bp(a){var b=0;a=Cp(a);b=pe;if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){j[67100]=61;return-1}return a}function bE(a){var b=0;b=j[a+8>>2];if(b){ze(b)}j[a>>2]=0;j[a+4>>2]=0;j[a+16>>2]=0;j[a+8>>2]=0;j[a+12>>2]=0}function _K(a,b){a=a|0;b=b|0;b=j[a>>2];return qe[j[j[b+484>>2]+4>>2]](j[b+100>>2],a,j[b+416>>2],719,0,b)|0}function Je(a,b){var c=0;c=oe-224|0;oe=c;if(k[a+214|0]&16){gj(a,c,b);Ze(a,c);oe=c+224|0;return}hf(a,b);z()}function Iu(a,b){a=a|0;b=b|0;a:{if(!b){break a}a=j[a+992>>2];if(!a){break a}qe[j[a+68>>2]](j[a+8>>2],b)|0}}function th(a,b){if(!j[a+248>>2]){b=b+7|0;if(b>>>0<=9){b=j[(b<<2)+210032>>2]}else{b=207838}j[a+248>>2]=b}}function sA(a,b){a=a|0;b=b|0;j[a+8>>2]=b;a=Im(a+16|0,0);if((a|0)<=-1){Ti(3124,a);a=-1}else{a=0}return a|0}function jf(a,b){var c=0;if(!(!a|!j[a+20>>2])){a=j[a+28>>2];c=j[b>>2];if(c){qe[j[a+8>>2]](a,c)}}j[b>>2]=0}function Nu(a,b){a=a|0;b=b|0;a=j[j[a+992>>2]+56>>2];a:{if(a){a=qe[a|0](b)|0;if(a){break a}}a=0}return a|0}function LB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(hp(d))}n[a+100>>2]=e}function ID(a,b){var c=0;c=oe-16|0;j[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;j[c+8>>2]=a+4;return j[a>>2]}function zm(a,b){var c=0;if(!(!a|!b)){c=j[a+4>>2];j[b>>2]=c;j[b+4>>2]=0;j[(c?c+4|0:a)>>2]=b;j[a+4>>2]=b}}function MB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=q(0);e=q(1);if(!(!d|!k[d|0])){e=q(hp(d))}n[a+96>>2]=e}function sO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return lj(b,333319,e)|0}function rO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;j[d>>2]=0;if(!b){return 81}return lj(b,333312,e)|0}function jE(a){var b=0;j[a>>2]=0;j[a+4>>2]=0;b=Te(256);j[a+12>>2]=b;j[a+8>>2]=b;h[b|0]=0;j[a+16>>2]=256}function gt(a,b,c){a=a|0;b=b|0;c=c|0;bg((p(l[a+12>>1],1e3)|0)/j[a+4>>2]|0);Oe(b,k[a+11|0],c);return c|0}function Bu(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!c)){return Fk(a,j[j[b+144>>2]>>2],c)|0}return Fk(a,0,0)|0}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=oe-16|0;oe=d;a=He(a,p(b,c),d+12|0);oe=d+16|0;return a|0}function LH(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c|0;return((a|0)>0?a:0)|0}a=b-c|0;return a>>31&a}function KJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=Iq(a,c+12|0,0);oe=c+16|0;return a|0}function GJ(a,b){a=a|0;b=b|0;var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;a=Gq(a,c+12|0,0);oe=c+16|0;return a|0}function FC(a){var b=0;b=l[a+4>>1];h[a+7|0]=((b|0)==8)<<7;j[a+12>>2]=p(l[a+8>>1],p(k[a+6|0],b>>>3&31))}function DN(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[j[b+140>>2]+52>>2];j[a+20>>2]=j[b+144>>2];return 0}function XF(a,b,c,d,e){if(!(!a|!b)){h[b+188|0]=e;j[b+184>>2]=d;j[b+180>>2]=c;j[b+8>>2]=j[b+8>>2]|256}}function SF(a,b,c,d,e){if(!(!a|!b)){h[b+200|0]=e;j[b+196>>2]=d;j[b+192>>2]=c;j[b+8>>2]=j[b+8>>2]|128}}function jj(a,b,c){if((b|0)>=1){a=qe[j[a+4>>2]](a,b)|0;j[c>>2]=!a<<6;return a}j[c>>2]=b?6:0;return 0}function fG(a,b){var c=0;c=oe-16|0;oe=c;j[c>>2]=b?b:206865;b=j[56878];ck(b,206848,c);yl(b);eG(a);z()}function Th(a,b){var c=0;if(!(!a|!b)){c=j[b>>2];b=j[b+4>>2];j[(c?c+4|0:a)>>2]=b;j[(b?b:a+4|0)>>2]=c}}function QO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;j[a+156>>2]=b;j[a+160>>2]=c;j[a+164>>2]=d;j[a+168>>2]=0}function tH(a,b,c){a=a|0;b=b|0;c=c|0;if(we(b,200607)){a=12}else{j[c>>2]=j[a- -64>>2];a=0}return a|0}function ZM(a,b){a=a|0;b=b|0;a=j[a+656>>2];h[b|0]=0;if(!(!a|j[a+1456>>2]==65535)){h[b|0]=1}return 0}function UO(){var a=0,b=0;a=WN();if(!a){return 7}b=CO(a);if(b){ze(a);return b}VO(j[65573]);return 0}function lJ(a,b){a=a|0;b=b|0;var c=q(0),d=q(0);c=n[j[a>>2]>>2];d=n[j[b>>2]>>2];return(cd)|0}function WN(){var a=0;a=Te(16);if(a){j[a+12>>2]=597;j[a+4>>2]=598;j[a>>2]=0;j[a+8>>2]=599}return a}function Po(a){a=a-1|0;a:{if(a>>>0<=15){a=j[(a<<2)+264288>>2];if(a){break a}}a=0;ve(64816,0)}Af(a)}function Eo(){var a=0;while(1){if(k[a+265490|0]==1){il(0,a)}a=a+1|0;if((a|0)!=512){continue}break}}function EN(a,b){a=a|0;b=b|0;a=j[a+4>>2];b=j[b+4>>2];if((a|0)>=(b|0)){return(a|0)>(b|0)|0}return-1}function Ap(){var a=0;a=Ra(1352)|0;if((a|0)==-31){a=Qa(1352)|0}if(a>>>0>=4294963201){j[67100]=0-a}}function ht(a){a=a|0;j[a+80>>2]=1;j[a+32>>2]=534;j[a+4>>2]=535;j[a+72>>2]=1;j[a+76>>2]=1;return 1}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d){a=1;if(k[d|0]==49){break a}}a=0}h[268304]=a}function Ue(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;a=vl(a,b,c?c:86580,d);oe=e+16|0;return a}function Ye(a,b){var c=0;a:{if(!a){break a}c=j[a+168>>2];if(!c){break a}qe[c|0](a,b)}fG(a,b);z()}function TN(a,b){a=a|0;b=b|0;a=j[j[a>>2]>>2];b=j[j[b>>2]>>2];return(a>>>0>b>>>0)-(a>>>0>>0)|0}function NG(a){a=a|0;var b=0;b=Kf(j[a+4>>2],204104);if(!b){return 11}j[a+28>>2]=j[b>>2];return 0}function Ke(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=j[a+724>>2];if(c){qe[c|0](a,b);return}ze(b)}}function uO(a,b){a=a|0;b=b|0;a=l[a>>1];b=l[b>>1];if(a>>>0>=b>>>0){return a>>>0>b>>>0|0}return-1}function ig(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;j[c+8>>2]=a;a=rk(c+8|0);oe=c+16|0;return a}function bn(){if(!k[268376]){h[268376]=1;if(!(P(4,268380)|0)){h[268388]=1;return}O(268392,0)|0}}function Pj(a,b,c,d,e){a:{if(c|!a){break a}if(Gh(a,d,e,(b|0)!=-1)){break a}return}Fh(a,b,c,d,e)}function Rq(a,b,c){a=a|0;b=b|0;c=c|0;return qe[j[j[j[a+12>>2]+56>>2]+12>>2]](j[a+52>>2],b,c)|0}function sk(a){var b=0;if(j[a+36>>2]){b=j[a+32>>2];if(b){ze(b)}b=j[a+8>>2];if(b){ze(b)}ze(a)}}function rF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+724>>2]=d;j[a+720>>2]=c;j[a+716>>2]=b}}function dM(a,b){a=a|0;b=b|0;b=j[a>>2];j[a+16>>2]=j[b+296>>2];j[a+20>>2]=j[b+300>>2];return 0}function $F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){j[a+172>>2]=d;j[a+168>>2]=c;j[a+176>>2]=b}}function iD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=qe[a|0](b,c,d,e)|0;D(pe|0);return a|0}function Pz(a,b){a=a|0;b=+b;a=Im(a+16|0,b);if((a|0)<=-1){Ti(3124,a);a=-1}else{a=0}return a|0}function IG(a){a=a|0;if(zh(j[j[a>>2]+500>>2]+108|0,j[a+44>>2])){ds(j[a+44>>2]);j[a+44>>2]=0}}function Eh(a){var b=0,c=0;b=Un();if(!(!a|!b|m[b>>2]>>0)){c=j[((a<<3)+b|0)-4>>2]}return c}function jL(a){a=a|0;var b=0,c=0;b=j[a>>2];c=j[a+4>>2];if(c){qe[j[b+8>>2]](b,c)}j[a+4>>2]=0}function gK(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=0;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function cK(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=2;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function YJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=4;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function TJ(a,b){a=a|0;b=b|0;a=j[a+16>>2];j[b+4>>2]=6;j[b>>2]=k[a+5|0]|k[a+4|0]<<8;return 0}function Ls(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Ah(a+20|0,b)}if(c){Tf(a+20|0,j[c>>2],j[c+4>>2])}}function uI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=cm(a,b,c,d,3);if(!a){h[b+94|0]=5}return a|0}function tI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=cm(a,b,c,d,4);if(!a){h[b+94|0]=6}return a|0}function mF(a,b){a=a|0;b=b|0;if(a){if(!(k[a+212|0]&64)){Bl(a);aF(a,b);return}xi(a,210321)}}function eD(){h[262336]=1;Yj(62001);h[268376]=0;$C();dD();YC();Oe(262304,0,32);h[262336]=0}function OB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=500;if(!(!d|!k[d|0])){b=rf(d)}j[a+112>>2]=b}function EA(a,b){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return-1}Ae(b,a+104|0,84);return 0}function _f(a,b,c){b=_e(a,b);if(!b){j[c>>2]=j[a+32>>2];j[a+32>>2]=0;j[a+36>>2]=0}return b}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=32;if(!(!d|!k[d|0])){b=rf(d)}j[a+116>>2]=b}function yH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a+4>>2]=j[a+4>>2]+d}function DA(a){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}n[a+288>>2]=2;n[a+292>>2]=2}function mP(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function fI(a){a=a|0;j[a+296>>2]=-1;j[a+300>>2]=-1;j[a+112>>2]=-1;h[a+108|0]=0;return 0}function kq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Am(c,j[j[a+420>>2]+(b<<2)>>2],d);return 0}function PI(a){a=a|0;jf(j[a+104>>2],a+724|0);j[a+736>>2]=0;j[a+728>>2]=0;j[a+732>>2]=0}function OG(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=qe[j[b+52>>2]](b,0,0,0)|0,j[c+540>>2]=d}function pf(a,b,c){var d=0;d=j[a+184>>2];if(d){qe[d|0](a,b,c);return}Ye(a,210144);z()}function mf(a,b){b=qe[j[57974]](a,a|b?b:1)|0;if(!(!b|a)){j[57976]=j[57976]+1}return b}function lP(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function ko(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74068>>2]}return a>>>20&15}function jo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74088>>2]}return a>>>24&15}function fM(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+176>>2];j[c>>2]=j[a+180>>2];return 0}function IN(a,b,c){a=a|0;b=b|0;c=c|0;j[b>>2]=j[a+132>>2];j[c>>2]=j[a+136>>2];return 0}function mo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74028>>2]}return a>>>4&15}function lo(a){if(!(!(23>>>a&1)|a>>>0>=5)){return j[(a<<2)+74048>>2]}return a>>>8&15}function gN(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+12>>2]](a,b)|0}function AH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=j[b+12>>2]+(c<<3)|0;j[a>>2]=j[a>>2]+d}function mG(a){a=a|0;if(!(!a|k[a+436|0]>7)){h[a+437|0]=8;j[a+216>>2]=j[a+216>>2]|4}}function hN(a,b){a=a|0;b=b|0;return qe[j[j[j[j[a>>2]+656>>2]+2956>>2]+8>>2]](a,b)|0}function Vg(){var a=0;a=j[67085];if(!a){ve(99429,0);return 0}return Eh(j[a+708>>2])}function xz(a,b){a=a|0;b=b|0;a=j[a+436>>2];j[a>>2]=j[(b?b+76|0:a+4|0)>>2];return 0}function qz(a,b){a=a|0;b=b|0;if(k[b+12|0]==6){a=j[a+436>>2];j[a>>2]=0;j[a+4>>2]=0}}function nB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qe[j[a+4>>2]](a,b,c,d)|0;return a|0}function ti(a,b){a=Sa(a|0,b|0)|0;if(a>>>0>=4294963201){j[67100]=0-a;a=-1}return a}function hf(a,b){var c=0;c=oe-224|0;oe=c;if(!a){Ye(0,b);z()}gj(a,c,b);Ye(a,c);z()}function bz(a){a=a|0;a=qe[j[57972]](a?a:1)|0;if(a){j[57976]=j[57976]+1}return a|0}function Gu(a){a=a|0;a=j[a+992>>2];if(!a){ve(100780,0);return 0}return j[a+16>>2]}function oG(a,b){a=a|0;b=b|0;b=b-j[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function UC(a,b,c){a=a|0;b=b|0;c=c|0;a=a?j[a+188>>2]:0;qe[j[a+8>>2]](a,b,c,1)|0}function wD(){var a=0;a=hi(1700,63334);if(!a){ve(Jg(),0);return 0}return LD(a)}function vI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return cm(a,b,(c|0)==1?0:c,d,0)|0}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return qe[a|0](b,c,d,e)|0}function fk(a,b,c,d){var e=0;e=oe-16|0;oe=e;j[e+12>>2]=d;vl(a,b,c,d);oe=e+16|0}function DM(a){a=a|0;a=j[a+140>>2];if(a){return(k[a|0]==47?a+1|0:a)|0}return 0}function xv(){var a=0;a=Xe(1,88);if(!a){Be(0);return 0}j[a+76>>2]=-1;return a}function xp(a,b,c,d){if(j[a+76>>2]<=-1){return yp(a,b,c,d)}return yp(a,b,c,d)}function sC(a){a=a|0;a=j[a+248>>2];if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function UH(a,b,c){a=a|0;b=b|0;c=c|0;a=j[a+384>>2]+(b<<2)|0;j[a>>2]=j[a>>2]+c}function HF(a){a=a|0;if(!a){return 0}a=ag(a,268);if(a){Ee(a,0,268)}return a|0}function XC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ki(1,2,64106,a);oe=b+16|0}function WC(a){var b=0;b=oe-16|0;oe=b;j[b+12>>2]=a;ki(6,3,73400,a);oe=b+16|0}function LA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[a+4>>2]](a,b,c,d)|0}function FA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qe[j[d+8>>2]](d,a,b,c)|0}function nN(a,b){a=a|0;b=b|0;return(b>>>0<=255?l[j[a+16>>2]+(b<<1)>>1]:0)|0}function jK(a,b){a=a|0;b=b|0;return(b>>>0<=255?k[(j[a+16>>2]+b|0)+6|0]:0)|0}function au(a,b,c){a=a|0;b=b|0;c=c|0;zf(j[c+4>>2],j[b>>2]?2:1,0,0);return 0}function rM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qm(j[a+12>>2],b,c,d)|0}function po(a){if(!(j[a>>2]==268305?a:0)){ve(73421,0);return}j[a+328>>2]=1}function ji(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(1,5,a,b);oe=c+16|0}function iF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;return(!a|!b?d:j[b+8>>2]&c)|0}function ck(a,b,c){var d=0;d=oe-16|0;oe=d;j[d+12>>2]=c;rp(a,b,c);oe=d+16|0}function Zi(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(2,4,a,b);oe=c+16|0}function Xo(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(4,6,a,b);oe=c+16|0}function $g(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;ki(0,3,a,b);oe=c+16|0}function jA(a,b){a=a|0;b=b|0;if(k[b+12|0]==7){qe[j[j[a+436>>2]+84>>2]]()}}function XK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+12>>2]](a,b)|0}function wK(a){a=a|0;return(a>>>0<=390?i[(a<<1)+196512>>1]+192288|0:0)|0}function gL(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0;j[a+28>>2]=0}function YK(a,b){a=a|0;b=b|0;return qe[j[j[j[a>>2]+484>>2]+8>>2]](a,b)|0}function CB(a){a=a|0;sc(a|0,177)|0;a=a-2|0;if(!a|(a|0)==13){h[268216]=1}}function AL(a,b){a=a|0;b=b|0;Pf(a,j[a+8>>2]);return xh(a,j[a+8>>2],b)|0}function xK(a){a=a|0;return i[((a>>>0>257?0:a)<<1)+195984>>1]+192288|0}function pN(a,b){a=a|0;b=b|0;j[a+16>>2]=j[j[a>>2]+656>>2]+640;return 0}function dk(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;XD(a,b);oe=c+16|0}function Zy(a,b){var c=0;c=oe-16|0;oe=c;j[c+12>>2]=b;GD(a,b);oe=c+16|0}function YN(a){a=a|0;Lh(j[a+12>>2]);j[a+12>>2]=0;j[a>>2]=0;j[a+4>>2]=0}function vx(a,b,c){a=a|0;b=b|0;c=c|0;return So(a,b,c,j[a+32>>2],76)|0}function aA(a,b,c){a=a|0;b=b|0;c=c|0;return So(a,b,c,j[a+12>>2],65)|0}function wu(a,b){a=a|0;b=b|0;a=j[b+144>>2];kf(j[a+8>>2]);j[a+8>>2]=0}function ZO(a){a=a|0;j[a+12>>2]=48;j[a+16>>2]=5;h[a+20|0]=0;return 0}function rI(a,b){a=a|0;b=b|0;bm(b,j[a>>2]<<2,j[a+4>>2]<<2);return 0}function fz(a,b){a=a|0;b=b|0;a=tj(a);if(!a){return 0}return yz(a)|0}function Cp(a){if(j[a+76>>2]<=-1){a=Dp(a);return a}a=Dp(a);return a}function AI(a,b){a=a|0;b=b|0;return qe[j[j[a+12>>2]+48>>2]](a,b)|0}function uD(a,b){a=a|0;b=b|0;if(!j[67126]){j[67127]=b;j[67126]=a}}function kA(a,b,c){a=a|0;b=b|0;c=c|0;kn(j[a+188>>2],b,c);return 0}function cG(a,b){a=a|0;b=b|0;return j[j[a>>2]>>2]-j[j[b>>2]>>2]|0}function Qp(a,b){b=sH(b);if(!b){return 0}a=Zk(a,b);kf(b);return a}function hF(a,b){a=a|0;b=b|0;var c=0;return(!a|!b?c:k[b+29|0])|0}function fu(a,b,c){a=a|0;b=b|0;c=c|0;j[c+32>>2]=j[b>>2];return 0}function Vq(a){a=a|0;var b=0;b=j[a>>2];if(a){qe[j[b+8>>2]](b,a)}}function rG(a,b){a=a|0;b=b|0;Ae(b,j[a+132>>2]+4|0,156);return 0}function Yn(a){a=a|0;if(a){qe[j[57975]](a);j[57976]=j[57976]-1}}function TH(a,b,c){a=a|0;b=b|0;c=c|0;j[j[a+384>>2]+(b<<2)>>2]=c}function Be(a){ve(a>>>0<=4?j[(a<<2)+64260>>2]:64241,0);return-1}function jD(a,b){a=a|0;b=b|0;a=qe[a|0](b)|0;D(pe|0);return a|0}function Em(a,b,c,d){if(!a){return 33}return zO(j[a>>2],b,c,d)}function xi(a,b){if(k[a+214|0]&64){Ze(a,b);return}Ye(a,b);z()}function xM(a,b,c){a=a|0;b=b|0;c=c|0;if(c){j[c>>2]=b}return 0}function sJ(a,b){a=a|0;b=b|0;j[b>>2]=-1;j[b+4>>2]=14;return 0}function cq(a,b){if(k[a+214|0]&32){Ze(a,b);return}Ye(a,b);z()}function VN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vf(d,c)|0}function Cu(a,b){a=a|0;b=b|0;return Ku(a,j[j[b+144>>2]>>2])|0}function ZK(a,b){a=a|0;b=b|0;return j[j[a+420>>2]+(b<<2)>>2]}function SH(a,b){a=a|0;b=b|0;return j[j[a+384>>2]+(b<<2)>>2]}function bL(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0;j[a+24>>2]=0}function Qo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Be(4)|0}function Fy(a){a=a|0;return k[a|0]|k[a+1|0]<<8|k[a+2|0]<<16}function mB(a){a=a|0;a=qe[j[a+4>>2]](a,0,0,1)|0;return a|0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;jl(257);return 104268}function iq(a,b){a=a|0;b=b|0;i[b>>1]=l[a+164>>1];return 0}function fB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xo(d,268264)}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xo(d,268252)}function Mf(a){var b=0;if(!(!a|!k[a|0])){b=yD(a)}return b}function BM(a,b){a=a|0;b=b|0;i[b>>1]=l[a+312>>1];return 0}function uK(a){a=a|0;j[a+148>>2]=j[a+148>>2]+i[a+156>>1]}function sE(a,b,c){a=a|0;b=b|0;c=c|0;return Te(p(b,c))|0}function of(a,b,c){if(a){j[a+4>>2]=0;j[a>>2]=b;RN(a,c)}}function gq(a,b){a=a|0;b=b|0;Ae(b,a+168|0,196);return 0}function aP(a,b,c){a=a|0;b=b|0;c=c|0;return Mm(a,b,c)|0}function QC(a,b,c){a=a|0;b=b|0;c=c|0;nl(j[a+92>>2],b,c)}function OI(a,b,c){a=a|0;b=b|0;c=c|0;return LO(a,b,c)|0}function FD(a,b,c){a=a|0;b=b|0;c=c|0;return HD(a,b,c)|0}function TG(a,b){a=a|0;b=b|0;j[b+372>>2]=j[b+372>>2]|1}function Ar(a,b){a=a|0;b=b|0;if(b){qe[j[a+8>>2]](a,b)}}function sh(a,b){if(b){Ae(b+40|0,a+824|0,76);EF(a,b)}}function rC(a){a=a|0;Oe(j[a+248>>2],0,j[a+240>>2]<<2)}function ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function ah(a,b){a=iE(a,b);return k[a|0]==(b&255)?a:0}function Xs(a){a=a|0;a=j[a+84>>2];if(a){j[a+16>>2]=0}}function yM(a,b){a=a|0;b=b|0;if(b){h[b|0]=1}return 0}function tz(){var a=0;a=j[65550];if(a){j[65550]=a-1}}function UA(a){a=a|0;return qe[j[a+4>>2]](a,0,0,1)|0}function gP(a){if(a){return 31-s(a-1^a)|0}return 32}function dI(a){a=a|0;return SO(j[j[a+156>>2]>>2])|0}function xG(a,b){a=a|0;b=b|0;return rg(205440,b)|0}function rJ(a,b){a=a|0;b=b|0;return rg(199104,b)|0}function qH(a,b){a=a|0;b=b|0;return rg(201408,b)|0}function kM(a,b){a=a|0;b=b|0;return rg(132368,b)|0}function kK(a,b){a=a|0;b=b|0;j[a+16>>2]=b;return 0}function YO(a,b){a=a|0;b=b|0;return rg(116320,b)|0}function YL(a,b){a=a|0;b=b|0;return rg(133152,b)|0}function PN(a,b){a=a|0;b=b|0;return rg(116832,b)|0}function MM(a,b){a=a|0;b=b|0;return rg(124096,b)|0}function MG(a,b){a=a|0;b=b|0;return rg(204128,b)|0}function DK(a,b){a=a|0;b=b|0;return rg(197296,b)|0}function zJ(a,b){a=a|0;b=b|0;j[b>>2]=0;return 0}function vp(a,b){if(!a){return 0}return VD(a,b)}function oD(a){a=a|0;a=oe-a&-16;oe=a;return a|0}function nz(a){a=a|0;a=j[a+188>>2];if(a){_u(a)}}function GH(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function FH(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function wm(a){a=a|0;j[a+16>>2]=0;j[a+20>>2]=0}function mt(a){a=a|0;return j[j[a+96>>2]+8>>2]}function mn(a){if((j[a+48>>2]&69)==5){Xg(a,1)}}function Hf(a,b,c){if(!(k[a|0]&32)){ql(b,c,a)}}function oI(a){a=a|0;j[a- -64>>2]=35;return 0}function Vn(a,b){return kp(a,b,-2147483648,0)}function NC(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Ek(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function um(a){a=a|0;j[j[a+156>>2]+36>>2]=0}function oz(a,b){a=a|0;b=b|0;kf(j[b+76>>2])}function kt(a){a=a|0;bg(j[j[a+96>>2]+4>>2])}function it(){Uo(0,111644,1);Uo(1,111671,2)}function hP(a,b,c,d){a=dP(a,b,c,d);return a}function eN(a){a=a|0;return j[a+8>>2]>>>9&1}function UN(a,b){a=a|0;b=b|0;return Te(b)|0}function Pe(a,b){j[a+168>>2]=b;F(a|0,1);z()}function PD(a){a=a|0;return X(j[a+60>>2])|0}function uu(a,b,c){a=a|0;b=b|0;c=c|0;Be(4)}function iB(){j[65550]=j[65550]+1;return 0}function zl(a,b){return mE(a,b,Le(a)+1|0)}function xA(a,b){a=a|0;b=b|0;j[a+12>>2]=b}function Ox(a,b){a=a|0;b=b|0;j[a+32>>2]=b}function Ks(a,b){a=a|0;b=b|0;Ug(a+20|0,b)}function Jp(a,b){Ip(Le(a)+a|0,b);return a}function lq(a){a=a|0;return j[a+364>>2]}function eI(a){a=a|0;xq(a);h[a+108|0]=0}function Rs(a){a=a|0;Ym(j[a>>2],a+28|0)}function RH(a){a=a|0;return l[a+252>>1]}function Ns(a){a=a|0;_r(j[a>>2],a+20|0)}function pC(a,b){a=a|0;b=b|0;Yi(a,1,b)}function oC(a,b){a=a|0;b=b|0;Yi(a,2,b)}function nD(a){a=a|0;return j[a+60>>2]}function nC(a,b){a=a|0;b=b|0;Yi(a,4,b)}function mC(a,b){a=a|0;b=b|0;Yi(a,6,b)}function lC(a,b){a=a|0;b=b|0;Yi(a,8,b)}function Jg(){Zo(263120);return 263120}function Wk(a,b){a=a|0;b=b|0;return 0}function jm(a,b,c){a=a|0;b=b|0;c=c|0}function fA(a){a=a|0;Ru(j[a+188>>2])}function aq(a,b){a=a|0;b=b|0;Ke(a,b)}function GG(a){a=a|0;ks(j[a+160>>2])}function DL(a){a=a|0;Pf(a,j[a+8>>2])}function wf(a,b,c){return Cg(a,b,c)}function jP(a,b,c){return fP(a,b,c)}function iP(a,b,c){return eP(a,b,c)}function hI(a){a=a|0;Ve(j[a+24>>2])}function an(){ve(111895,0);return 0}function Vk(a,b,c){return lE(a,b,c)}function TC(a){a=a|0;return j[a>>2]}function Gy(a){a=a|0;return l[a>>1]}function GK(a){a=a|0;return a+100|0}function FK(a){a=a|0;return a+112|0}function EK(a){a=a|0;return a+140|0}function nP(a,b){pe=a;return b} -function aj(a,b,c){xp(a,b,b>>31,c)}function Rr(a,b){a=a|0;b=b|0;ze(b)}function Hy(a){a=a|0;return k[a|0]}function oN(a){a=a|0;j[a+16>>2]=0}function Sh(a){a=a|0;if(a){ze(a)}}function Ip(a,b){hE(a,b);return a}function rp(a,b,c){up(a,b,c,0,0)}function hl(a,b,c,d){HB(a,b,c,d)}function Fx(a){a=a|0;Fj(a,87840)}function Dx(a){a=a|0;Fj(a,89888)}function Cx(a){a=a|0;Fj(a,91936)}function Bx(a){a=a|0;Fj(a,93984)}function xg(a,b){return ah(a,b)}function un(a,b){eg(a,b,20,455)}function ih(a,b){return Xf(a,b)}function en(a){if(a){Va(a|0)|0}}function cf(a,b){return we(a,b)}function Xn(a,b){return dE(a,b)}function Si(a,b){return Bg(a,b)}function Me(a,b){return kE(a,b)}function Gp(a,b){return Kg(a,b)}function nf(a){a=a|0;return 0}function hq(a){a=a|0;return 1}function ct(){return j[67090]}function at(a){a=a|0;return-1}function wz(a,b){a=a|0;b=b|0}function Ri(a,b,c){zg(a,b,c)}function Oe(a,b,c){Ee(a,b,c)}function Ge(a,b,c){Ae(a,b,c)}function rE(){return 268400}function Zg(){Uj(j[65564])}function Hg(){Tj(j[65564])}function qD(){return oe|0}function pD(a){a=a|0;oe=a}function Yo(a,b){aD(a,b)}function ln(a){Xg(a,0)}function Zt(){return 1}function Bf(a){a=a|0}function ws(){zD()}function iO(){Mt()}function _o(){} +function aj(a,b,c){xp(a,b,b>>31,c)}function Rr(a,b){a=a|0;b=b|0;ze(b)}function Hy(a){a=a|0;return k[a|0]}function oN(a){a=a|0;j[a+16>>2]=0}function Sh(a){a=a|0;if(a){ze(a)}}function Ip(a,b){hE(a,b);return a}function rp(a,b,c){up(a,b,c,0,0)}function hl(a,b,c,d){HB(a,b,c,d)}function Fx(a){a=a|0;Fj(a,87840)}function Dx(a){a=a|0;Fj(a,89888)}function Cx(a){a=a|0;Fj(a,91936)}function Bx(a){a=a|0;Fj(a,93984)}function xg(a,b){return ah(a,b)}function un(a,b){eg(a,b,20,455)}function ih(a,b){return Xf(a,b)}function en(a){if(a){Va(a|0)|0}}function cf(a,b){return we(a,b)}function Xn(a,b){return dE(a,b)}function Si(a,b){return Bg(a,b)}function Me(a,b){return kE(a,b)}function Gp(a,b){return Kg(a,b)}function nf(a){a=a|0;return 0}function hq(a){a=a|0;return 1}function ct(){return j[67090]}function at(a){a=a|0;return-1}function wz(a,b){a=a|0;b=b|0}function Ri(a,b,c){zg(a,b,c)}function Oe(a,b,c){Ee(a,b,c)}function Ge(a,b,c){Ae(a,b,c)}function rE(){return 268400}function Zg(){Vj(j[65564])}function Hg(){Uj(j[65564])}function qD(){return oe|0}function pD(a){a=a|0;oe=a}function Yo(a,b){aD(a,b)}function ln(a){Xg(a,0)}function Zt(){return 1}function Bf(a){a=a|0}function ws(){zD()}function iO(){Mt()}function _o(){} // EMSCRIPTEN_END_FUNCS -a=k;var qe=oP([null,iO,cP,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,bD,_C,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,nf,mB,Yq,pF,HF,bG,F,Yn,Vp,UC,jF,oF,nB,kf,ve,gF,fF,mG,dF,iF,Tp,cF,mF,hF,ug,Jg,Cn,Lk,bz,kF,Up,UA,LA,FA,Vz,iB,bB,xA,sA,aA,Pz,Ez,tz,Yy,LC,px,Yx,Ox,Ex,vx,ex,TN,QN,MN,Sh,xN,sN,kN,iv,cv,RM,KM,Sh,aN,AM,SM,$L,oM,QL,GL,BL,uL,lJ,QH,HH,Sh,xH,rH,cG,pG,gG,VF,Sh,Sh,LF,GF,DD,cD,VC,Bf,OC,Qo,Bf,Bf,Bf,Bf,Bf,nf,NC,Bf,Bf,Bf,Bf,Bf,Bf,_o,QC,RC,KC,JC,EC,DC,CC,BC,AC,zC,yC,xC,wC,uC,tC,sC,rC,qC,pC,oC,nC,mC,lC,iC,hC,gC,fC,eC,dC,cC,bC,aC,$B,VB,OB,NB,MB,LB,KB,JB,CB,xB,wB,vB,uB,tB,sB,rB,pB,fB,eB,cB,WA,HA,qA,pA,oA,nA,ho,mA,lA,kA,jA,iA,hA,io,gA,fA,eA,dA,cA,bA,$z,_z,Vk,rA,fo,bo,co,eo,$n,ao,Tz,Sz,Rz,Kz,Jz,Iz,Oz,Nz,Mz,Lz,Gz,Cz,Dz,Fz,Az,Bz,xz,wz,vz,uz,sz,rz,qz,pz,oz,nz,mz,lz,kz,jz,hz,gz,Vk,fz,Te,bf,Vf,ze,Sn,Oy,Ny,My,Ly,Py,Ky,Jy,Iy,Hy,Gy,Fy,TC,Cy,By,Ay,zy,yy,xy,wy,vy,uy,ty,ry,qy,py,oy,ny,my,ly,ky,jy,iy,gy,fy,ey,dy,cy,by,ay,$x,_x,Xx,Wx,Vx,Tx,Sx,Rx,Qx,Px,Nx,Mx,Lx,Kx,Jx,Ix,Hx,Gx,Fx,Dx,Cx,Bx,Ax,zx,yx,xx,Sk,wx,ux,Pn,On,tx,sx,Ej,rx,qx,Nn,Mn,ox,nx,mx,lx,kx,jx,ix,hx,gx,Ej,fx,dx,Ln,Kn,cx,bx,Sk,ax,$w,Jn,In,_w,Zw,Yw,Xw,Ww,Vw,Uw,Tw,Sw,Hn,Rw,Qw,Pn,On,Pw,Ow,Ej,Nw,Mw,Nn,Mn,Lw,Kw,Sk,Jw,Iw,Hw,Gw,Fw,Ew,Fn,Dw,Cw,Bw,Aw,zw,yw,En,xw,ww,vw,uw,tw,sw,rw,qw,pw,mw,lw,kw,jw,Ej,iw,hw,Ln,Kn,gw,fw,Hn,ew,dw,Jn,In,cw,bw,aw,$v,_v,Zv,Yv,Xv,Wv,En,Vv,Uv,Tv,Sv,Rv,Qv,Fn,Pv,Ov,Nv,Mv,Lv,Kv,Jv,Iv,Hv,Gv,Fv,Ev,Dv,Av,Ey,Cv,rv,qv,pv,lv,hc,Yb,Nb,Cb,wa,lb,kb,jb,ib,gb,fb,eb,db,cb,bb,ab,$a,_a,uu,tu,su,ru,qu,pu,lu,ku,ju,iu,hu,gu,fu,eu,du,cu,bu,au,$t,Bf,Dk,Xt,Bf,Wt,Vt,Ut,Tt,St,Iu,Au,Gu,Hu,Bu,Cu,Mu,Nu,Du,wu,xu,yu,Rt,Yn,zu,nu,Zt,Yt,Pt,Ot,Nt,Kt,Qt,ot,Bf,nt,mt,lt,kt,jt,it,qt,gt,ft,ht,dn,dt,et,ct,_o,bt,at,$s,_s,Zs,Qo,Ys,Xs,Bk,Ss,Rs,Qs,Ps,Os,Ns,Ms,Ls,Ks,Js,_O,Es,Ds,Cs,Bs,As,zs,xs,Pm,Nm,Mm,bP,Pm,Nm,aP,$O,ZO,Bf,YO,XO,WO,NO,fs,Vh,uO,sO,rO,pO,oO,nO,mO,lO,kO,jO,YN,XN,VN,UN,Rr,NN,GN,FN,EN,PN,ON,ym,LN,KN,JN,IN,HN,DN,wm,CN,BN,Bf,VM,UM,TM,iN,AN,Bf,zN,yN,wN,vN,uN,tN,um,Lr,Jr,rN,qN,Ir,pN,oN,nN,mN,jN,Hr,hN,gN,fN,eN,dN,cN,bN,$M,_M,ZM,YM,XM,WM,QM,PM,OM,NM,Cr,nf,Bf,MM,LM,JM,IM,HM,GM,um,FM,EM,DM,CM,BM,zM,yM,xM,wM,vM,uM,Ar,zr,sM,rM,zr,Ar,pM,mM,lM,kM,jM,nk,iM,hM,gM,fM,eM,dM,wm,cM,bM,WL,aM,wm,_L,ZL,YL,XL,VL,UL,TL,SL,PL,OL,pr,NL,ML,LL,KL,jr,ZK,JL,IL,HL,FL,EL,Bf,DL,nm,CL,AL,zL,yL,xL,Nh,wL,lr,vL,tL,kr,sL,rL,qL,pL,wh,oL,nL,kr,mL,kL,jL,iL,hL,gL,fL,eL,dL,cL,bL,aL,$K,_K,Hr,YK,XK,WK,VK,TK,SK,QK,PK,OK,NK,km,MK,LK,KK,JK,IK,GK,FK,EK,UK,HK,AK,$q,BK,zK,yK,xK,wK,DK,uK,tK,sK,rK,Bf,qK,pK,jm,mK,lK,Zq,jm,Dk,vK,Vq,Uq,oK,Tq,Sq,Rq,oJ,fs,LI,KI,QO,qg,JI,II,HI,kK,jK,iK,hK,gK,fK,eK,dK,cK,bK,$J,_J,ZJ,YJ,XJ,WJ,VJ,TJ,SJ,RJ,QJ,PJ,OJ,NJ,MJ,LJ,Jq,KJ,JJ,IJ,HJ,Jq,GJ,FJ,DJ,CJ,BJ,AJ,Vk,zJ,yJ,xJ,wJ,vJ,uJ,tJ,sJ,qJ,pJ,nJ,kJ,rJ,jJ,iJ,hJ,gJ,fJ,eJ,dJ,cJ,bJ,$I,_I,ZI,YI,XI,gm,WI,VI,SI,RI,QI,PI,OI,NI,MI,GI,FI,EI,DI,CI,BI,em,AI,xI,AO,Og,Zq,jm,Dk,yI,Vq,Uq,vI,Tq,Sq,Rq,uI,tI,sI,rI,qI,pI,lI,kI,jI,iI,hI,aI,YH,XH,WH,VH,UH,TH,SH,RH,PH,OH,NH,MH,LH,KH,JH,IH,GH,FH,EH,DH,CH,BH,AH,zH,yH,wH,oI,Bf,nI,mI,gI,fI,eI,dI,cI,Jr,$H,_H,ZH,sq,Vl,vH,am,uH,tH,oH,fH,jr,nf,Bf,qH,pH,mH,lH,kH,jH,um,iH,hH,gH,eH,cH,lq,kq,bH,jq,iq,hq,gq,aH,$G,_G,fq,ZG,YG,XG,eq,WG,VG,UG,TG,SG,RG,QG,PG,OG,NG,Bf,MG,LG,KG,JG,IG,HG,GG,FG,EG,DG,kq,CG,lq,jq,iq,hq,gq,eq,BG,AG,yG,xG,wG,vG,uG,tG,sG,rG,qG,oG,nG,Ke,rF,$F,JF,fg,aq,KF,qF,BE,AE,zE,yE,xE,sE,Rr,WD,ED,$D,PD,YD,SD,RD,FD,Ha,Ga,Fa,Ea,Da,Ca,Ba,Aa,ne,me,le,ke,je,ie,he,ge,fe,ee,de,ce,be,ae,$d,_d,Zd,Yd,Xd,Wd,Vd,Ud,Td,Sd,Rd,Qd,Pd,Od,Nd,Md,Ld,Kd,Jd,Id,Hd,Gd,Fd,Ed,Dd,Cd,Bd,Ad,zd,yd,xd,wd,vd,ud,td,sd,rd,qd,pd,od,nd,md,ld,kd,jd,id,gd,fd,ed,dd,cd,bd,ad,$c,_c,Zc,Xc,Wc,Vc,Uc,Tc,Sc,Rc,Qc,Pc,Oc,Nc,Mc,Lc,Kc,Jc,Ic,Hc,Gc,Fc,Ec,Dc,Cc,Bc,Ac,zc,yc,xc,wc,vc,uc,rc,qc,pc,oc,nc,mc,lc,kc,jc,ic,gc,fc,ec,dc,cc,bc,ac,$b,_b,Zb,Xb,Wb,Vb,Ub,Tb,Sb,Rb,Qb,Pb,Ob,Mb,Lb,Kb,Jb,Ib,Hb,Gb,Fb,Eb,Db,Bb,Ab,zb,yb,xb,wb,vb,ub,tb,sb,rb,qb,pb]);function wP(){return g.byteLength/65536|0}function xP(FP){FP=FP|0;var re=wP()|0;var se=re+FP|0;if(re